react-cosmos-ui 6.0.0-alpha.9 → 6.0.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/BaseSvg.d.ts +1 -1
- package/dist/components/Icon.d.ts +7 -3
- package/dist/components/Icon.js +2 -2
- package/dist/components/Illustration.d.ts +2 -1
- package/dist/components/KeyBox.d.ts +2 -1
- package/dist/components/SidePanel.d.ts +2 -1
- package/dist/components/SidePanel.js +1 -1
- package/dist/components/Space.d.ts +2 -1
- package/dist/components/TreeView.d.ts +2 -2
- package/dist/components/ValueInputTree/ExpandCollapseValues.d.ts +2 -1
- package/dist/components/ValueInputTree/ValueInput/BooleanValueInput.d.ts +2 -1
- package/dist/components/ValueInputTree/ValueInput/NullValueInput.d.ts +2 -1
- package/dist/components/ValueInputTree/ValueInput/NumberValueInput.d.ts +2 -1
- package/dist/components/ValueInputTree/ValueInput/StringValueInput.d.ts +2 -1
- package/dist/components/ValueInputTree/ValueInput/UndefinedValueInput.d.ts +2 -1
- package/dist/components/ValueInputTree/ValueInput/UnserializableValueInput.d.ts +2 -1
- package/dist/components/ValueInputTree/ValueInput/ValueInput.d.ts +2 -1
- package/dist/components/ValueInputTree/ValueInput/ValueInput.js +1 -1
- package/dist/components/ValueInputTree/ValueInputDir.d.ts +4 -2
- package/dist/components/ValueInputTree/ValueInputDir.js +2 -6
- package/dist/components/ValueInputTree/ValueInputTree.js +17 -2
- package/dist/components/ValueInputTree/index.d.ts +3 -3
- package/dist/components/ValueInputTree/index.js +2 -2
- package/dist/components/ValueInputTree/shared.d.ts +2 -2
- package/dist/components/ValueInputTree/shared.js +0 -4
- package/dist/components/ValueInputTree/valueTree.d.ts +1 -1
- package/dist/components/ValueInputTree/valueTree.js +10 -5
- package/dist/components/ValueInputTree/valueTreeExpansion.js +2 -1
- package/dist/components/buttons/Button32.d.ts +1 -1
- package/dist/components/buttons/Button8.d.ts +1 -1
- package/dist/components/buttons/IconButton32.d.ts +1 -1
- package/dist/components/buttons/IconButton8.d.ts +1 -1
- package/dist/components/buttons/shared.js +4 -1
- package/dist/components/icons/index.d.ts +31 -33
- package/dist/components/icons/index.js +1 -1
- package/dist/components/illustrations/ArtificialIntelligence.d.ts +2 -1
- package/dist/components/illustrations/Astronaut.d.ts +2 -1
- package/dist/components/illustrations/BlankCanvas.d.ts +2 -1
- package/dist/components/inputs/NumberInput.d.ts +2 -1
- package/dist/components/inputs/Select.d.ts +2 -1
- package/dist/cosmos.decorator.d.ts +1 -1
- package/dist/cosmos.loadPlugins.js +14 -10
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -2
- package/dist/playground.bundle.js +598 -586
- package/dist/playground.bundle.js.map +1 -1
- package/dist/playground.js +15 -4
- package/dist/playgroundConfig.d.ts +2 -0
- package/dist/pluginMocks.d.ts +1 -0
- package/dist/pluginMocks.js +1 -0
- package/dist/plugins/ClassStatePanel/ClassStatePanel/ComponentClassState.d.ts +6 -4
- package/dist/plugins/ClassStatePanel/ClassStatePanel/ComponentClassState.js +11 -11
- package/dist/plugins/ClassStatePanel/ClassStatePanel/index.d.ts +4 -3
- package/dist/plugins/ClassStatePanel/ClassStatePanel/index.js +5 -5
- package/dist/plugins/ClassStatePanel/ClassStatePanel/shared.d.ts +2 -2
- package/dist/plugins/ClassStatePanel/ClassStatePanel/shared.js +6 -9
- package/dist/plugins/ClassStatePanel/index.js +5 -3
- package/dist/plugins/ClassStatePanel/shared.d.ts +2 -0
- package/dist/plugins/ControlPanel/ControlPanel.d.ts +6 -4
- package/dist/plugins/ControlPanel/ControlPanel.js +4 -4
- package/dist/plugins/ControlPanel/index.js +4 -2
- package/dist/plugins/ControlPanel/shared.d.ts +2 -0
- package/dist/plugins/ControlSelect/SelectValueInput.d.ts +5 -4
- package/dist/plugins/ControlSelect/SelectValueInput.js +1 -1
- package/dist/plugins/ControlSelect/index.js +3 -6
- package/dist/plugins/Core/index.js +0 -5
- package/dist/plugins/Core/spec.d.ts +0 -2
- package/dist/plugins/FixtureBookmark/BookmarkFixtureButton.d.ts +2 -1
- package/dist/plugins/FixtureBookmark/FixtureBookmarks.d.ts +5 -5
- package/dist/plugins/FixtureBookmark/FixtureBookmarks.js +10 -7
- package/dist/plugins/FixtureBookmark/index.js +7 -17
- package/dist/plugins/FixtureSearch/FixtureSearchHeader.d.ts +3 -2
- package/dist/plugins/FixtureSearch/FixtureSearchHeader.js +3 -3
- package/dist/plugins/FixtureSearch/FixtureSearchOverlay.d.ts +2 -1
- package/dist/plugins/FixtureSearch/FixtureSearchOverlay.js +12 -6
- package/dist/plugins/FixtureSearch/FixtureSearchResult.d.ts +2 -1
- package/dist/plugins/FixtureSearch/FixtureSearchShortcuts.d.ts +2 -1
- package/dist/plugins/FixtureSearch/index.js +2 -1
- package/dist/plugins/FixtureTree/BlankState.d.ts +2 -1
- package/dist/plugins/FixtureTree/BlankState.js +23 -24
- package/dist/plugins/FixtureTree/FixtureTree/FixtureButton.d.ts +3 -3
- package/dist/plugins/FixtureTree/FixtureTree/FixtureButton.js +2 -2
- package/dist/plugins/FixtureTree/FixtureTree/FixtureDir.d.ts +2 -1
- package/dist/plugins/FixtureTree/FixtureTree/FixtureLink.d.ts +2 -2
- package/dist/plugins/FixtureTree/FixtureTree/FixtureTree.js +6 -8
- package/dist/plugins/FixtureTree/FixtureTree/MultiFixtureButton.d.ts +4 -3
- package/dist/plugins/FixtureTree/FixtureTree/MultiFixtureButton.js +16 -11
- package/dist/plugins/FixtureTree/FixtureTree/MultiFixtureChildButton.d.ts +2 -2
- package/dist/plugins/FixtureTree/FixtureTreeContainer.d.ts +2 -2
- package/dist/plugins/FixtureTree/FixtureTreeContainer.js +1 -3
- package/dist/plugins/FixtureTree/FixtureTreeHeader.d.ts +2 -1
- package/dist/plugins/FixtureTree/index.js +1 -1
- package/dist/plugins/FixtureTree/revealFixture.js +2 -2
- package/dist/plugins/FixtureTree/shared.d.ts +1 -1
- package/dist/plugins/FullScreenButton/FullScreenButton.d.ts +2 -1
- package/dist/plugins/FullScreenButton/index.js +11 -5
- package/dist/plugins/MessageHandler/socket.js +1 -1
- package/dist/plugins/Notifications/Notifications.d.ts +2 -1
- package/dist/plugins/PluginList/PluginList.d.ts +2 -1
- package/dist/plugins/PropsPanel/BlankState.d.ts +2 -1
- package/dist/plugins/PropsPanel/BlankState.js +14 -12
- package/dist/plugins/PropsPanel/PropsPanel/ComponentProps.d.ts +6 -4
- package/dist/plugins/PropsPanel/PropsPanel/ComponentProps.js +14 -12
- package/dist/plugins/PropsPanel/PropsPanel/index.d.ts +4 -3
- package/dist/plugins/PropsPanel/PropsPanel/index.js +5 -5
- package/dist/plugins/PropsPanel/PropsPanel/shared.d.ts +2 -2
- package/dist/plugins/PropsPanel/PropsPanel/shared.js +6 -9
- package/dist/plugins/PropsPanel/index.js +14 -12
- package/dist/plugins/PropsPanel/shared.d.ts +2 -0
- package/dist/plugins/RemoteRenderer/RemoteButton/index.d.ts +3 -2
- package/dist/plugins/RemoteRenderer/RemoteButton/index.js +5 -4
- package/dist/plugins/RemoteRenderer/index.js +2 -1
- package/dist/plugins/RendererCore/index.js +34 -8
- package/dist/plugins/RendererCore/onRouterFixtureReselect.d.ts +3 -0
- package/dist/plugins/RendererCore/onRouterFixtureReselect.js +7 -0
- package/dist/plugins/RendererCore/onRouterFixtureSelect.d.ts +3 -0
- package/dist/plugins/RendererCore/onRouterFixtureSelect.js +9 -0
- package/dist/plugins/RendererCore/onRouterFixtureUnselect.d.ts +2 -0
- package/dist/plugins/RendererCore/onRouterFixtureUnselect.js +9 -0
- package/dist/plugins/RendererCore/receiveResponse/fixtureStateChange.js +4 -4
- package/dist/plugins/RendererCore/receiveResponse/rendererReady.js +21 -22
- package/dist/plugins/RendererCore/reloadRenderer.d.ts +2 -0
- package/dist/plugins/RendererCore/reloadRenderer.js +5 -0
- package/dist/plugins/RendererCore/setFixtureState.d.ts +2 -2
- package/dist/plugins/RendererCore/setFixtureState.js +5 -4
- package/dist/plugins/RendererCore/setGlobalFixtureState.d.ts +2 -0
- package/dist/plugins/RendererCore/setGlobalFixtureState.js +15 -0
- package/dist/plugins/RendererCore/shared/postRequest.d.ts +2 -1
- package/dist/plugins/RendererCore/shared/postRequest.js +8 -0
- package/dist/plugins/RendererCore/spec.d.ts +14 -4
- package/dist/plugins/RendererPreview/RendererOverlay/RemoteRendererConnected.d.ts +2 -0
- package/dist/plugins/RendererPreview/RendererOverlay/RemoteRendererConnected.js +19 -0
- package/dist/plugins/RendererPreview/RendererOverlay/RemoteRendererOverlay.d.ts +6 -0
- package/dist/plugins/RendererPreview/RendererOverlay/RemoteRendererOverlay.js +6 -0
- package/dist/plugins/RendererPreview/RendererOverlay/RendererOverlay.d.ts +7 -0
- package/dist/plugins/RendererPreview/RendererOverlay/RendererOverlay.js +11 -0
- package/dist/plugins/RendererPreview/RendererOverlay/WaitingForRenderer.d.ts +2 -0
- package/dist/plugins/RendererPreview/RendererOverlay/WaitingForRenderer.js +65 -0
- package/dist/plugins/RendererPreview/RendererOverlay/rendererOverlayShared.d.ts +3 -0
- package/dist/plugins/RendererPreview/RendererOverlay/rendererOverlayShared.js +27 -0
- package/dist/plugins/RendererPreview/RendererPreview.d.ts +3 -0
- package/dist/plugins/RendererPreview/RendererPreview.js +10 -3
- package/dist/plugins/RendererPreview/handleRendererRequests.js +7 -6
- package/dist/plugins/RendererPreview/handleWindowMessages.js +10 -1
- package/dist/plugins/RendererPreview/index.js +7 -13
- package/dist/plugins/RendererPreview/shared.d.ts +0 -6
- package/dist/plugins/RendererPreview/spec.d.ts +0 -3
- package/dist/plugins/ResponsivePreview/ResponsivePreview/{Header.d.ts → ResponsiveHeader.d.ts} +5 -4
- package/dist/plugins/ResponsivePreview/ResponsivePreview/{Header.js → ResponsiveHeader.js} +2 -2
- package/dist/plugins/ResponsivePreview/ResponsivePreview/ResponsivePreview.d.ts +6 -6
- package/dist/plugins/ResponsivePreview/ResponsivePreview/ResponsivePreview.js +4 -4
- package/dist/plugins/ResponsivePreview/ResponsivePreview/style.d.ts +4 -4
- package/dist/plugins/ResponsivePreview/ToggleButton/index.d.ts +2 -1
- package/dist/plugins/ResponsivePreview/index.js +15 -21
- package/dist/plugins/ResponsivePreview/shared.d.ts +3 -6
- package/dist/plugins/ResponsivePreview/shared.js +13 -10
- package/dist/plugins/ResponsivePreview/spec.d.ts +2 -5
- package/dist/plugins/Root/GlobalHeader.d.ts +2 -4
- package/dist/plugins/Root/GlobalHeader.js +2 -23
- package/dist/plugins/{ContentOverlay/shared.d.ts → Root/HomeOverlay/ContentOverlay.d.ts} +1 -4
- package/dist/plugins/{ContentOverlay/shared.js → Root/HomeOverlay/ContentOverlay.js} +3 -3
- package/dist/plugins/Root/HomeOverlay/HomeOverlay.d.ts +8 -0
- package/dist/plugins/Root/HomeOverlay/HomeOverlay.js +6 -0
- package/dist/plugins/Root/HomeOverlay/KeyShortcut.d.ts +7 -0
- package/dist/plugins/{ContentOverlay → Root/HomeOverlay}/KeyShortcut.js +2 -2
- package/dist/plugins/{ContentOverlay → Root/HomeOverlay}/NoFixtureSelected.d.ts +2 -1
- package/dist/plugins/{ContentOverlay → Root/HomeOverlay}/NoFixtureSelected.js +5 -5
- package/dist/plugins/{ContentOverlay → Root/HomeOverlay}/WelcomeCosmos.d.ts +2 -1
- package/dist/plugins/Root/HomeOverlay/WelcomeCosmos.js +159 -0
- package/dist/plugins/Root/HomeOverlay/welcomeDismiss.d.ts +7 -0
- package/dist/plugins/{ContentOverlay → Root/HomeOverlay}/welcomeDismiss.js +6 -4
- package/dist/plugins/Root/RendererHeader.d.ts +1 -1
- package/dist/plugins/Root/RendererHeader.js +13 -5
- package/dist/plugins/Root/Root.d.ts +11 -8
- package/dist/plugins/Root/Root.js +10 -11
- package/dist/plugins/Root/SidePanel.d.ts +4 -3
- package/dist/plugins/Root/SidePanel.js +2 -2
- package/dist/plugins/Root/ToggleNavButton.d.ts +2 -1
- package/dist/plugins/Root/index.js +6 -5
- package/dist/plugins/Root/navOpen.js +1 -1
- package/dist/plugins/Root/panelOpen.js +1 -6
- package/dist/plugins/Router/index.js +31 -12
- package/dist/plugins/Router/spec.d.ts +8 -3
- package/dist/plugins/StandardControl/index.js +3 -6
- package/dist/plugins/StandardControl/storage.d.ts +1 -1
- package/dist/plugins/pluginEntry.d.ts +0 -1
- package/dist/plugins/pluginEntry.js +0 -1
- package/dist/shared/fixtureTree.d.ts +1 -2
- package/dist/shared/fixtureTree.js +5 -10
- package/dist/shared/url.d.ts +6 -5
- package/dist/shared/url.js +6 -6
- package/dist/slots/ControlActionSlot.d.ts +4 -3
- package/dist/slots/ControlSlot.d.ts +5 -4
- package/dist/slots/FixtureActionSlot.d.ts +4 -3
- package/dist/slots/NavRowSlot.d.ts +2 -1
- package/dist/slots/RendererActionSlot.d.ts +2 -1
- package/dist/slots/SidePanelRowSlot.d.ts +6 -4
- package/dist/slots/ValueInputSlot.d.ts +2 -2
- package/dist/testHelpers/pluginMocks.d.ts +16 -11
- package/dist/testHelpers/pluginMocks.js +9 -5
- package/package.json +8 -8
- package/pluginMocks.d.ts +1 -0
- package/pluginMocks.js +1 -0
- package/dist/plugins/ContentOverlay/ContentOverlay.d.ts +0 -13
- package/dist/plugins/ContentOverlay/ContentOverlay.js +0 -34
- package/dist/plugins/ContentOverlay/KeyShortcut.d.ts +0 -6
- package/dist/plugins/ContentOverlay/RendererNotResponding.d.ts +0 -1
- package/dist/plugins/ContentOverlay/RendererNotResponding.js +0 -109
- package/dist/plugins/ContentOverlay/WelcomeCosmos.js +0 -158
- package/dist/plugins/ContentOverlay/cosmos.decorator.d.ts +0 -5
- package/dist/plugins/ContentOverlay/cosmos.decorator.js +0 -13
- package/dist/plugins/ContentOverlay/index.d.ts +0 -2
- package/dist/plugins/ContentOverlay/index.js +0 -19
- package/dist/plugins/ContentOverlay/spec.d.ts +0 -3
- package/dist/plugins/ContentOverlay/welcomeDismiss.d.ts +0 -7
- package/dist/plugins/RendererCore/isValidFixtureSelected.d.ts +0 -2
- package/dist/plugins/RendererCore/isValidFixtureSelected.js +0 -16
- package/dist/plugins/RendererCore/onRouterFixtureChange.d.ts +0 -3
- package/dist/plugins/RendererCore/onRouterFixtureChange.js +0 -18
- package/dist/plugins/RendererPreview/checkRendererStatus.d.ts +0 -2
- package/dist/plugins/RendererPreview/checkRendererStatus.js +0 -31
- /package/dist/plugins/{ContentOverlay/spec.js → ControlPanel/shared.js} +0 -0
|
@@ -1,7 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { SvgChildren } from './BaseSvg.js';
|
|
2
|
-
type IconProps = {
|
|
3
|
-
children: SvgChildren;
|
|
3
|
+
export type IconProps = {
|
|
4
4
|
size?: number | string;
|
|
5
|
+
strokeWidth?: number;
|
|
6
|
+
};
|
|
7
|
+
type Props = IconProps & {
|
|
8
|
+
children: SvgChildren;
|
|
5
9
|
};
|
|
6
|
-
export declare function Icon({ children, size }:
|
|
10
|
+
export declare function Icon({ children, size, strokeWidth }: Props): React.JSX.Element;
|
|
7
11
|
export {};
|
package/dist/components/Icon.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BaseSvg } from './BaseSvg.js';
|
|
3
|
-
export function Icon({ children, size = '100%' }) {
|
|
4
|
-
return (React.createElement(BaseSvg, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth:
|
|
3
|
+
export function Icon({ children, size = '100%', strokeWidth = 1.5 }) {
|
|
4
|
+
return (React.createElement(BaseSvg, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: strokeWidth, strokeLinecap: "round", strokeLinejoin: "round" }, children));
|
|
5
5
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { SvgChildren } from './BaseSvg.js';
|
|
2
3
|
type Props = {
|
|
3
4
|
children: SvgChildren;
|
|
4
5
|
viewBox: string;
|
|
5
6
|
size?: number | string;
|
|
6
7
|
};
|
|
7
|
-
export declare function Illustration({ children, viewBox, size }: Props): JSX.Element;
|
|
8
|
+
export declare function Illustration({ children, viewBox, size }: Props): React.JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
type Props = {
|
|
2
3
|
value: string;
|
|
3
4
|
bgColor: string;
|
|
@@ -5,5 +6,5 @@ type Props = {
|
|
|
5
6
|
size?: number;
|
|
6
7
|
fontSize?: number;
|
|
7
8
|
};
|
|
8
|
-
export declare function KeyBox({ value, bgColor, textColor, size, fontSize, }: Props): JSX.Element;
|
|
9
|
+
export declare function KeyBox({ value, bgColor, textColor, size, fontSize, }: Props): React.JSX.Element;
|
|
9
10
|
export {};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export declare const SidePanelContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
3
|
export declare const SidePanelHeader: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
4
|
type TitleProps = {
|
|
4
5
|
label: string;
|
|
5
6
|
componentName?: string;
|
|
6
7
|
};
|
|
7
|
-
export declare function SidePanelTitle({ label, componentName }: TitleProps): JSX.Element;
|
|
8
|
+
export declare function SidePanelTitle({ label, componentName }: TitleProps): React.JSX.Element;
|
|
8
9
|
export declare const SidePanelActions: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
10
|
export declare const SidePanelBody: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
11
|
export {};
|
|
@@ -20,7 +20,7 @@ export const SidePanelHeader = styled.div `
|
|
|
20
20
|
export function SidePanelTitle({ label, componentName }) {
|
|
21
21
|
return (React.createElement(TitleContainer, null,
|
|
22
22
|
React.createElement(TitleLabel, null, label),
|
|
23
|
-
typeof componentName === 'string' && (React.createElement(ComponentName, null, componentName ? componentName :
|
|
23
|
+
typeof componentName === 'string' && (React.createElement(ComponentName, null, componentName ? componentName : `(anonymous)`))));
|
|
24
24
|
}
|
|
25
25
|
export const SidePanelActions = styled.div `
|
|
26
26
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
2
|
import { TreeNode } from 'react-cosmos-core';
|
|
3
3
|
import { TreeExpansion } from '../shared/treeExpansion.js';
|
|
4
4
|
type Props<Item> = {
|
|
@@ -15,5 +15,5 @@ type Props<Item> = {
|
|
|
15
15
|
onToggle: () => unknown;
|
|
16
16
|
}) => ReactNode;
|
|
17
17
|
};
|
|
18
|
-
export declare function TreeView<Item>({ node, name, parents, expansion, setExpansion, renderNode, }: Props<Item>): JSX.Element;
|
|
18
|
+
export declare function TreeView<Item>({ node, name, parents, expansion, setExpansion, renderNode, }: Props<Item>): React.JSX.Element;
|
|
19
19
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { FixtureStateValues } from 'react-cosmos-core';
|
|
2
3
|
import { TreeExpansion } from '../../shared/treeExpansion.js';
|
|
3
4
|
type Props = {
|
|
@@ -5,5 +6,5 @@ type Props = {
|
|
|
5
6
|
expansion: TreeExpansion;
|
|
6
7
|
setExpansion: (treeExpansion: TreeExpansion) => unknown;
|
|
7
8
|
};
|
|
8
|
-
export declare function ExpandCollapseValues({ values, expansion, setExpansion, }: Props): JSX.Element | null;
|
|
9
|
+
export declare function ExpandCollapseValues({ values, expansion, setExpansion, }: Props): React.JSX.Element | null;
|
|
9
10
|
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
type Props = {
|
|
2
3
|
id: string;
|
|
3
4
|
name: string;
|
|
4
5
|
data: boolean;
|
|
5
6
|
onChange: (data: boolean) => unknown;
|
|
6
7
|
};
|
|
7
|
-
export declare function BooleanValueInput({ id, name, data, onChange }: Props): JSX.Element;
|
|
8
|
+
export declare function BooleanValueInput({ id, name, data, onChange }: Props): React.JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
type Props = {
|
|
2
3
|
id: string;
|
|
3
4
|
name: string;
|
|
4
5
|
data: number;
|
|
5
6
|
onChange: (newValue: number) => unknown;
|
|
6
7
|
};
|
|
7
|
-
export declare function NumberValueInput({ id, name, data, onChange }: Props): JSX.Element;
|
|
8
|
+
export declare function NumberValueInput({ id, name, data, onChange }: Props): React.JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
type Props = {
|
|
2
3
|
id: string;
|
|
3
4
|
name: string;
|
|
4
5
|
data: string;
|
|
5
6
|
onChange: (data: string) => unknown;
|
|
6
7
|
};
|
|
7
|
-
export declare function StringValueInput({ id, name, data, onChange }: Props): JSX.Element;
|
|
8
|
+
export declare function StringValueInput({ id, name, data, onChange }: Props): React.JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
type Props = {
|
|
2
3
|
name: string;
|
|
3
4
|
data: string;
|
|
4
5
|
};
|
|
5
|
-
export declare function UnserializableValueInput({ name, data }: Props): JSX.Element;
|
|
6
|
+
export declare function UnserializableValueInput({ name, data }: Props): React.JSX.Element;
|
|
6
7
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { PrimitiveData } from 'react-cosmos-core';
|
|
2
3
|
import { LeafValue } from '../shared.js';
|
|
3
4
|
type Props = {
|
|
@@ -7,5 +8,5 @@ type Props = {
|
|
|
7
8
|
indentLevel: number;
|
|
8
9
|
onChange: (data: PrimitiveData) => unknown;
|
|
9
10
|
};
|
|
10
|
-
export declare function ValueInput({ value, name, id, indentLevel, onChange }: Props): JSX.Element;
|
|
11
|
+
export declare function ValueInput({ value, name, id, indentLevel, onChange }: Props): React.JSX.Element;
|
|
11
12
|
export {};
|
|
@@ -4,10 +4,10 @@ import { ValueTreeItem } from '../shared.js';
|
|
|
4
4
|
import { BooleanValueInput } from './BooleanValueInput.js';
|
|
5
5
|
import { NullValueInput } from './NullValueInput.js';
|
|
6
6
|
import { NumberValueInput } from './NumberValueInput.js';
|
|
7
|
-
import { ValueInputContainer } from './shared.js';
|
|
8
7
|
import { StringValueInput } from './StringValueInput.js';
|
|
9
8
|
import { UndefinedValueInput } from './UndefinedValueInput.js';
|
|
10
9
|
import { UnserializableValueInput } from './UnserializableValueInput.js';
|
|
10
|
+
import { ValueInputContainer } from './shared.js';
|
|
11
11
|
export function ValueInput({ value, name, id, indentLevel, onChange }) {
|
|
12
12
|
return (React.createElement(ValueInputSlot, { slotProps: { id, name, value, indentLevel, onChange } },
|
|
13
13
|
React.createElement(ValueTreeItem, { indentLevel: indentLevel },
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
type Props = {
|
|
2
3
|
name: string;
|
|
3
|
-
|
|
4
|
+
childrenText: string;
|
|
5
|
+
disabled: boolean;
|
|
4
6
|
expanded: boolean;
|
|
5
7
|
indentLevel: number;
|
|
6
8
|
onToggle: () => unknown;
|
|
7
9
|
};
|
|
8
|
-
export declare function ValueInputDir({ name,
|
|
10
|
+
export declare function ValueInputDir({ name, childrenText, disabled, expanded, indentLevel, onToggle, }: Props): React.JSX.Element;
|
|
9
11
|
export {};
|
|
@@ -3,8 +3,7 @@ import styled from 'styled-components';
|
|
|
3
3
|
import { blue, disabledColors, grey128, grey160, grey224, } from '../../style/colors.js';
|
|
4
4
|
import { ChevronDownIcon, ChevronRightIcon } from '../icons/index.js';
|
|
5
5
|
import { ValueTreeItem } from './shared.js';
|
|
6
|
-
export function ValueInputDir({ name,
|
|
7
|
-
const disabled = childNames.length === 0;
|
|
6
|
+
export function ValueInputDir({ name, childrenText, disabled, expanded, indentLevel, onToggle, }) {
|
|
8
7
|
return (React.createElement(ValueTreeItem, { indentLevel: indentLevel },
|
|
9
8
|
React.createElement(ButtonContainer, null,
|
|
10
9
|
React.createElement(Button, { disabled: disabled, onClick: onToggle },
|
|
@@ -12,10 +11,7 @@ export function ValueInputDir({ name, childNames, expanded, indentLevel, onToggl
|
|
|
12
11
|
!disabled && (React.createElement(ChevronContainer, null, expanded ? React.createElement(ChevronDownIcon, null) : React.createElement(ChevronRightIcon, null))),
|
|
13
12
|
React.createElement(Text, null,
|
|
14
13
|
React.createElement(DirName, { disabled: disabled }, name),
|
|
15
|
-
React.createElement(ChildrenInfo, null,
|
|
16
|
-
}
|
|
17
|
-
function getChildInfo(childNames) {
|
|
18
|
-
return childNames.length > 0 ? `{ ${childNames.join(', ')} }` : `{}`;
|
|
14
|
+
React.createElement(ChildrenInfo, null, childrenText)))))));
|
|
19
15
|
}
|
|
20
16
|
const ButtonContainer = styled.div `
|
|
21
17
|
padding: 2px 0;
|
|
@@ -11,9 +11,16 @@ export const ValueInputTree = React.memo(function ValueInputTree({ id, values, e
|
|
|
11
11
|
return (React.createElement(Container, null,
|
|
12
12
|
React.createElement(TreeView, { node: rootNode, expansion: expansion, setExpansion: setExpansion, renderNode: ({ node, name, parents, expanded, onToggle }) => {
|
|
13
13
|
const { data, children } = node;
|
|
14
|
-
if (data.type === 'item')
|
|
14
|
+
if (data.type === 'item') {
|
|
15
15
|
return (React.createElement(ValueInput, { value: data.value, name: name, id: getInputId(id, parents, name), indentLevel: parents.length, onChange: newData => onValueChange(setValueAtPath(values, { type: 'primitive', data: newData }, getValuePath(name, parents))) }));
|
|
16
|
-
|
|
16
|
+
}
|
|
17
|
+
if (children) {
|
|
18
|
+
const childKeys = Object.keys(children);
|
|
19
|
+
return (React.createElement(ValueInputDir, { name: name, childrenText: getChildrenText(childKeys, data.isArray), disabled: childKeys.length === 0, expanded: expanded, indentLevel: parents.length, onToggle: onToggle }));
|
|
20
|
+
}
|
|
21
|
+
else {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
17
24
|
} })));
|
|
18
25
|
});
|
|
19
26
|
function getInputId(treeId, parents, name) {
|
|
@@ -26,6 +33,14 @@ function setValueAtPath(values, newValue, valuePath) {
|
|
|
26
33
|
// Inspired by https://github.com/lodash/lodash/issues/1696#issuecomment-328335502
|
|
27
34
|
return setWith(clone(values), valuePath, newValue, clone);
|
|
28
35
|
}
|
|
36
|
+
function getChildrenText(childKeys, isArray) {
|
|
37
|
+
if (childKeys.length > 0) {
|
|
38
|
+
return isArray ? `[ ${childKeys.length} ]` : `{ ${childKeys.join(', ')} }`;
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
return isArray ? `[]` : `{}`;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
29
44
|
const Container = styled.div `
|
|
30
45
|
background: ${grey32};
|
|
31
46
|
color: ${grey248};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { stringifyElementId, stringifyFixtureId } from './shared.js';
|
|
2
|
-
export { hasFsValues, sortFsValueGroups } from './valueGroups.js';
|
|
3
1
|
export { ValueInputTree } from './ValueInputTree.js';
|
|
4
|
-
export {
|
|
2
|
+
export { stringifyElementId } from './shared.js';
|
|
3
|
+
export { hasFsValues, sortFsValueGroups } from './valueGroups.js';
|
|
4
|
+
export { FixtureExpansion, FixtureExpansionGroup, OnElementExpansionChange, getFixtureExpansion, updateElementExpansion, } from './valueTreeExpansion.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { stringifyElementId, stringifyFixtureId } from './shared.js';
|
|
2
|
-
export { hasFsValues, sortFsValueGroups } from './valueGroups.js';
|
|
3
1
|
export { ValueInputTree } from './ValueInputTree.js';
|
|
2
|
+
export { stringifyElementId } from './shared.js';
|
|
3
|
+
export { hasFsValues, sortFsValueGroups } from './valueGroups.js';
|
|
4
4
|
export { getFixtureExpansion, updateElementExpansion, } from './valueTreeExpansion.js';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { FixtureElementId,
|
|
1
|
+
import { FixtureElementId, FixtureStatePrimitiveValue, FixtureStateUnserializableValue, TreeNode } from 'react-cosmos-core';
|
|
2
2
|
export type LeafValue = FixtureStatePrimitiveValue | FixtureStateUnserializableValue;
|
|
3
3
|
export type ValueNodeData = {
|
|
4
4
|
type: 'collection';
|
|
5
|
+
isArray: boolean;
|
|
5
6
|
} | {
|
|
6
7
|
type: 'item';
|
|
7
8
|
value: LeafValue;
|
|
@@ -12,5 +13,4 @@ type ValueTreeItemProps = {
|
|
|
12
13
|
};
|
|
13
14
|
export declare const ValueTreeItem: import("styled-components").StyledComponent<"div", any, ValueTreeItemProps, never>;
|
|
14
15
|
export declare function stringifyElementId(elementId: FixtureElementId): string;
|
|
15
|
-
export declare function stringifyFixtureId(fixtureId: FixtureId): string;
|
|
16
16
|
export {};
|
|
@@ -6,10 +6,6 @@ export function stringifyElementId(elementId) {
|
|
|
6
6
|
const { decoratorId, elPath } = elementId;
|
|
7
7
|
return elPath ? `${decoratorId}-${elPath}` : decoratorId;
|
|
8
8
|
}
|
|
9
|
-
export function stringifyFixtureId(fixtureId) {
|
|
10
|
-
const { path, name } = fixtureId;
|
|
11
|
-
return name ? `${path}-${name}` : path;
|
|
12
|
-
}
|
|
13
9
|
function getLeftPadding(depth) {
|
|
14
10
|
return depth * 12;
|
|
15
11
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FixtureStateValues } from 'react-cosmos-core';
|
|
2
2
|
import { ValueNode } from './shared.js';
|
|
3
|
-
export declare function createValueTree(values: FixtureStateValues): ValueNode;
|
|
3
|
+
export declare function createValueTree(values: FixtureStateValues, isArray?: boolean): ValueNode;
|
|
@@ -1,20 +1,25 @@
|
|
|
1
|
-
export function createValueTree(values) {
|
|
1
|
+
export function createValueTree(values, isArray = false) {
|
|
2
2
|
const children = {};
|
|
3
3
|
Object.keys(values).forEach(key => {
|
|
4
4
|
const value = values[key];
|
|
5
5
|
if (value.type === 'object') {
|
|
6
|
-
children[key] = createValueTree(value.values);
|
|
6
|
+
children[key] = createValueTree(value.values, false);
|
|
7
7
|
}
|
|
8
8
|
else if (value.type === 'array') {
|
|
9
9
|
const objValues = {};
|
|
10
10
|
value.values.forEach((v, idx) => {
|
|
11
11
|
objValues[idx] = v;
|
|
12
12
|
});
|
|
13
|
-
children[key] = createValueTree(objValues);
|
|
13
|
+
children[key] = createValueTree(objValues, true);
|
|
14
14
|
}
|
|
15
15
|
else {
|
|
16
|
-
children[key] = {
|
|
16
|
+
children[key] = {
|
|
17
|
+
data: { type: 'item', value },
|
|
18
|
+
};
|
|
17
19
|
}
|
|
18
20
|
});
|
|
19
|
-
return {
|
|
21
|
+
return {
|
|
22
|
+
data: { type: 'collection', isArray },
|
|
23
|
+
children,
|
|
24
|
+
};
|
|
20
25
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { clone, setWith } from 'lodash-es';
|
|
2
|
-
import {
|
|
2
|
+
import { stringifyFixtureId, } from 'react-cosmos-core';
|
|
3
|
+
import { stringifyElementId } from './shared.js';
|
|
3
4
|
const DEFAULT_EXPANSION = {};
|
|
4
5
|
export function getFixtureExpansion(groupExpansion, fixtureId) {
|
|
5
6
|
return groupExpansion[stringifyFixtureId(fixtureId)] || DEFAULT_EXPANSION;
|
|
@@ -7,5 +7,5 @@ type Props = {
|
|
|
7
7
|
selected?: boolean;
|
|
8
8
|
onClick?: () => unknown;
|
|
9
9
|
};
|
|
10
|
-
export declare function Button32({ icon, label, title, disabled, selected, onClick, }: Props): JSX.Element;
|
|
10
|
+
export declare function Button32({ icon, label, title, disabled, selected, onClick, }: Props): React.JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -7,5 +7,5 @@ type Props = {
|
|
|
7
7
|
selected?: boolean;
|
|
8
8
|
onClick?: () => unknown;
|
|
9
9
|
};
|
|
10
|
-
export declare function Button8({ icon, label, title, disabled, selected, onClick, }: Props): JSX.Element;
|
|
10
|
+
export declare function Button8({ icon, label, title, disabled, selected, onClick, }: Props): React.JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -6,5 +6,5 @@ type Props = {
|
|
|
6
6
|
selected?: boolean;
|
|
7
7
|
onClick?: () => unknown;
|
|
8
8
|
};
|
|
9
|
-
export declare function IconButton32({ icon, title, disabled, selected, onClick, }: Props): JSX.Element;
|
|
9
|
+
export declare function IconButton32({ icon, title, disabled, selected, onClick, }: Props): React.JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -6,5 +6,5 @@ type Props = {
|
|
|
6
6
|
selected?: boolean;
|
|
7
7
|
onClick?: () => unknown;
|
|
8
8
|
};
|
|
9
|
-
export declare function IconButton8({ icon, title, disabled, selected, onClick, }: Props): JSX.Element;
|
|
9
|
+
export declare function IconButton8({ icon, title, disabled, selected, onClick, }: Props): React.JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -14,7 +14,10 @@ export const StyledButton = styled.button `
|
|
|
14
14
|
white-space: nowrap;
|
|
15
15
|
user-select: none;
|
|
16
16
|
outline: none;
|
|
17
|
-
transition:
|
|
17
|
+
transition:
|
|
18
|
+
background ${quick}s,
|
|
19
|
+
color ${quick}s,
|
|
20
|
+
opacity ${quick}s;
|
|
18
21
|
|
|
19
22
|
:hover {
|
|
20
23
|
background: ${props => (props.selected ? props.bgSelect : props.bgHover)};
|
|
@@ -1,33 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const
|
|
12
|
-
export declare const
|
|
13
|
-
export declare const
|
|
14
|
-
export declare const
|
|
15
|
-
export declare const
|
|
16
|
-
export declare const
|
|
17
|
-
export declare const
|
|
18
|
-
export declare const
|
|
19
|
-
export declare const
|
|
20
|
-
export declare const
|
|
21
|
-
export declare const
|
|
22
|
-
export declare const
|
|
23
|
-
export declare const
|
|
24
|
-
export declare const
|
|
25
|
-
export declare const
|
|
26
|
-
export declare const
|
|
27
|
-
export declare const
|
|
28
|
-
export declare const
|
|
29
|
-
export declare const
|
|
30
|
-
export declare const
|
|
31
|
-
export declare const
|
|
32
|
-
export declare const StarIcon: () => JSX.Element;
|
|
33
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IconProps } from '../Icon.js';
|
|
3
|
+
export declare const ChevronLeftIcon: () => React.JSX.Element;
|
|
4
|
+
export declare const ChevronRightIcon: () => React.JSX.Element;
|
|
5
|
+
export declare const ChevronDownIcon: () => React.JSX.Element;
|
|
6
|
+
export declare const FolderIcon: () => React.JSX.Element;
|
|
7
|
+
export declare const XIcon: () => React.JSX.Element;
|
|
8
|
+
export declare const XCircleIcon: () => React.JSX.Element;
|
|
9
|
+
export declare const MaximizeIcon: () => React.JSX.Element;
|
|
10
|
+
export declare const SmartphoneIcon: () => React.JSX.Element;
|
|
11
|
+
export declare const Minimize2Icon: () => React.JSX.Element;
|
|
12
|
+
export declare const RefreshCwIcon: () => React.JSX.Element;
|
|
13
|
+
export declare const RefreshCcwIcon: (props: IconProps) => React.JSX.Element;
|
|
14
|
+
export declare const HomeIcon: () => React.JSX.Element;
|
|
15
|
+
export declare const CastIcon: () => React.JSX.Element;
|
|
16
|
+
export declare const EditIcon: () => React.JSX.Element;
|
|
17
|
+
export declare const CheckCircleIcon: (props: IconProps) => React.JSX.Element;
|
|
18
|
+
export declare const AlertCircleIcon: () => React.JSX.Element;
|
|
19
|
+
export declare const InfoIcon: () => React.JSX.Element;
|
|
20
|
+
export declare const LoaderIcon: () => React.JSX.Element;
|
|
21
|
+
export declare const SlidersIcon: () => React.JSX.Element;
|
|
22
|
+
export declare const CopyIcon: () => React.JSX.Element;
|
|
23
|
+
export declare const RotateCcwIcon: () => React.JSX.Element;
|
|
24
|
+
export declare const FileIcon: () => React.JSX.Element;
|
|
25
|
+
export declare const SearchIcon: () => React.JSX.Element;
|
|
26
|
+
export declare const MenuIcon: () => React.JSX.Element;
|
|
27
|
+
export declare const ExternalIcon: () => React.JSX.Element;
|
|
28
|
+
export declare const HelpCircleIcon: () => React.JSX.Element;
|
|
29
|
+
export declare const MinusSquareIcon: () => React.JSX.Element;
|
|
30
|
+
export declare const PlusSquareIcon: () => React.JSX.Element;
|
|
31
|
+
export declare const StarIcon: () => React.JSX.Element;
|
|
@@ -42,7 +42,7 @@ export const CastIcon = () => (React.createElement(Icon, null,
|
|
|
42
42
|
export const EditIcon = () => (React.createElement(Icon, null,
|
|
43
43
|
React.createElement("path", { d: "M20 14.66V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5.34" }),
|
|
44
44
|
React.createElement("polygon", { points: "18 2 22 6 12 16 8 16 8 12 18 2" })));
|
|
45
|
-
export const CheckCircleIcon = () => (React.createElement(Icon,
|
|
45
|
+
export const CheckCircleIcon = (props) => (React.createElement(Icon, { ...props },
|
|
46
46
|
React.createElement("path", { d: "M22 11.08V12a10 10 0 1 1-5.93-9.14" }),
|
|
47
47
|
React.createElement("polyline", { points: "22 4 12 14.01 9 11.01" })));
|
|
48
48
|
export const AlertCircleIcon = () => (React.createElement(Icon, null,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export type NumberInputStyles = {
|
|
2
3
|
focusedColor: string;
|
|
3
4
|
focusedBg: string;
|
|
@@ -11,5 +12,5 @@ type Props = {
|
|
|
11
12
|
styles: NumberInputStyles;
|
|
12
13
|
onChange: (newValue: number) => unknown;
|
|
13
14
|
};
|
|
14
|
-
export declare function NumberInput({ id, value, minValue, maxValue, styles, onChange, }: Props): JSX.Element;
|
|
15
|
+
export declare function NumberInput({ id, value, minValue, maxValue, styles, onChange, }: Props): React.JSX.Element;
|
|
15
16
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
type BaseOption = {
|
|
2
3
|
value: string;
|
|
3
4
|
label: string;
|
|
@@ -12,5 +13,5 @@ type Props<Option extends BaseOption> = {
|
|
|
12
13
|
padding: number;
|
|
13
14
|
onChange: (newValue: Option) => unknown;
|
|
14
15
|
};
|
|
15
|
-
export declare function Select<Option extends BaseOption>({ id, testId, options, value, color, height, padding, onChange, }: Props<Option>): JSX.Element;
|
|
16
|
+
export declare function Select<Option extends BaseOption>({ id, testId, options, value, color, height, padding, onChange, }: Props<Option>): React.JSX.Element;
|
|
16
17
|
export {};
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
import { loadPlugins } from 'react-plugin';
|
|
2
2
|
import './plugins/pluginEntry.js';
|
|
3
3
|
import { DEFAULT_PLUGIN_CONFIG } from './shared/defaultPluginConfig.js';
|
|
4
|
+
const rendererConfig = {
|
|
5
|
+
...DEFAULT_PLUGIN_CONFIG,
|
|
6
|
+
core: {
|
|
7
|
+
projectId: 'testProjectId',
|
|
8
|
+
fixturesDir: '__fixtures__',
|
|
9
|
+
fixtureFileSuffix: 'fixture',
|
|
10
|
+
devServerOn: true,
|
|
11
|
+
},
|
|
12
|
+
rendererCore: {
|
|
13
|
+
fixtures: {},
|
|
14
|
+
rendererUrl: '/renderer.html',
|
|
15
|
+
},
|
|
16
|
+
};
|
|
4
17
|
// This file is required to run globally with side effects for the "inception"
|
|
5
18
|
// fixture to work.
|
|
6
19
|
loadPlugins({
|
|
7
|
-
config:
|
|
8
|
-
...DEFAULT_PLUGIN_CONFIG,
|
|
9
|
-
core: {
|
|
10
|
-
projectId: 'testProjectId',
|
|
11
|
-
fixturesDir: '__fixtures__',
|
|
12
|
-
fixtureFileSuffix: 'fixture',
|
|
13
|
-
devServerOn: true,
|
|
14
|
-
webRendererUrl: '/_renderer.html',
|
|
15
|
-
},
|
|
16
|
-
},
|
|
20
|
+
config: rendererConfig,
|
|
17
21
|
});
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ export * from './components/icons/index.js';
|
|
|
3
3
|
export * from './playgroundConfig.js';
|
|
4
4
|
export * from './plugins/BuildNotifications/spec.js';
|
|
5
5
|
export * from './plugins/ClassStatePanel/spec.js';
|
|
6
|
-
export * from './plugins/ContentOverlay/spec.js';
|
|
7
6
|
export * from './plugins/ControlPanel/spec.js';
|
|
8
7
|
export * from './plugins/ControlSelect/spec.js';
|
|
9
8
|
export * from './plugins/Core/spec.js';
|
|
@@ -33,4 +32,3 @@ export * from './slots/SidePanelRowSlot.js';
|
|
|
33
32
|
export * from './slots/ValueInputSlot.js';
|
|
34
33
|
export * from './style/colors.js';
|
|
35
34
|
export * from './style/vars.js';
|
|
36
|
-
export * from './testHelpers/pluginMocks.js';
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,6 @@ export * from './components/icons/index.js';
|
|
|
3
3
|
export * from './playgroundConfig.js';
|
|
4
4
|
export * from './plugins/BuildNotifications/spec.js';
|
|
5
5
|
export * from './plugins/ClassStatePanel/spec.js';
|
|
6
|
-
export * from './plugins/ContentOverlay/spec.js';
|
|
7
6
|
export * from './plugins/ControlPanel/spec.js';
|
|
8
7
|
export * from './plugins/ControlSelect/spec.js';
|
|
9
8
|
export * from './plugins/Core/spec.js';
|
|
@@ -33,4 +32,3 @@ export * from './slots/SidePanelRowSlot.js';
|
|
|
33
32
|
export * from './slots/ValueInputSlot.js';
|
|
34
33
|
export * from './style/colors.js';
|
|
35
34
|
export * from './style/vars.js';
|
|
36
|
-
export * from './testHelpers/pluginMocks.js';
|