Initial move to flipper-plugin

Summary:
This diff moves the core of ElementsInspector to flipper-plugin and decouples it from legacy design system and Electron, without any significant improvements or API changes yet, which will follow later.

Colors and docs will be added later in this stack.

Reviewed By: passy

Differential Revision: D27660300

fbshipit-source-id: 96abfa3b3174fa852cf04ae119c23c3d629fee74
This commit is contained in:
Michel Weststrate
2021-04-15 07:46:28 -07:00
committed by Facebook GitHub Bot
parent ca7b331e3b
commit 69de9bc92d
13 changed files with 183 additions and 137 deletions

View File

@@ -173,20 +173,17 @@ export {
} from './ui/components/searchable/SearchableTable';
export {default as SearchableTable_immutable} from './ui/components/searchable/SearchableTable_immutable';
export {
ElementID,
ElementData,
ElementFramework,
ElementAttribute,
Element,
ElementSearchResultSet,
ElementsInspector,
ElementsInspectorElement as Element,
// TODO: clean up or create namespace
ElementsInspectorProps,
} from './ui/components/elements-inspector/ElementsInspector';
export {
Elements,
ElementsConstants,
} from './ui/components/elements-inspector/elements';
export {ContextMenuExtension} from './ui/components/elements-inspector/elements';
export {default as ElementsInspector} from './ui/components/elements-inspector/ElementsInspector';
ElementExtraInfo,
ElementAttribute,
ElementData,
ElementSearchResultSet,
ElementID,
} from 'flipper-plugin';
export {ElementFramework} from './ui/components/elements-inspector/ElementFramework';
export {InspectorSidebar} from './ui/components/elements-inspector/sidebar';
export {default as Sheet} from './ui/components/Sheet';
export {default as FileSelector} from './ui/components/FileSelector';