react-cosmos-ui 6.0.0-alpha.9 → 6.0.0-beta.2
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/Icon.d.ts +7 -3
- package/dist/components/Icon.js +2 -2
- package/dist/components/Illustration.d.ts +1 -0
- package/dist/components/KeyBox.d.ts +1 -0
- package/dist/components/SidePanel.d.ts +1 -0
- package/dist/components/SidePanel.js +1 -1
- package/dist/components/Space.d.ts +1 -0
- package/dist/components/ValueInputTree/ExpandCollapseValues.d.ts +1 -0
- package/dist/components/ValueInputTree/ValueInput/BooleanValueInput.d.ts +1 -0
- package/dist/components/ValueInputTree/ValueInput/NullValueInput.d.ts +1 -0
- package/dist/components/ValueInputTree/ValueInput/NumberValueInput.d.ts +1 -0
- package/dist/components/ValueInputTree/ValueInput/StringValueInput.d.ts +1 -0
- package/dist/components/ValueInputTree/ValueInput/UndefinedValueInput.d.ts +1 -0
- package/dist/components/ValueInputTree/ValueInput/UnserializableValueInput.d.ts +1 -0
- package/dist/components/ValueInputTree/ValueInput/ValueInput.d.ts +1 -0
- package/dist/components/ValueInputTree/ValueInput/ValueInput.js +1 -1
- package/dist/components/ValueInputTree/ValueInputDir.d.ts +1 -0
- package/dist/components/ValueInputTree/index.d.ts +3 -3
- package/dist/components/ValueInputTree/index.js +2 -2
- package/dist/components/ValueInputTree/shared.d.ts +1 -2
- package/dist/components/ValueInputTree/shared.js +0 -4
- package/dist/components/ValueInputTree/valueTreeExpansion.js +2 -1
- package/dist/components/icons/index.d.ts +4 -6
- package/dist/components/icons/index.js +1 -1
- package/dist/components/illustrations/ArtificialIntelligence.d.ts +1 -0
- package/dist/components/illustrations/Astronaut.d.ts +1 -0
- package/dist/components/illustrations/BlankCanvas.d.ts +1 -0
- package/dist/components/inputs/NumberInput.d.ts +1 -0
- package/dist/components/inputs/Select.d.ts +1 -0
- package/dist/cosmos.loadPlugins.js +14 -10
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/playground.bundle.js +602 -599
- package/dist/playground.bundle.js.map +1 -1
- package/dist/playground.js +13 -2
- package/dist/playgroundConfig.d.ts +2 -0
- package/dist/plugins/ClassStatePanel/ClassStatePanel/ComponentClassState.d.ts +1 -0
- package/dist/plugins/ClassStatePanel/ClassStatePanel/ComponentClassState.js +3 -3
- package/dist/plugins/ControlPanel/ControlPanel.d.ts +1 -0
- package/dist/plugins/ControlPanel/ControlPanel.js +1 -1
- package/dist/plugins/ControlSelect/SelectValueInput.d.ts +1 -0
- package/dist/plugins/ControlSelect/SelectValueInput.js +1 -1
- package/dist/plugins/Core/index.js +0 -5
- package/dist/plugins/Core/spec.d.ts +0 -2
- package/dist/plugins/FixtureBookmark/BookmarkFixtureButton.d.ts +1 -0
- 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 +1 -0
- package/dist/plugins/FixtureSearch/FixtureSearchOverlay.js +2 -2
- package/dist/plugins/FixtureSearch/FixtureSearchResult.d.ts +1 -0
- package/dist/plugins/FixtureSearch/FixtureSearchShortcuts.d.ts +1 -0
- package/dist/plugins/FixtureSearch/index.js +2 -1
- package/dist/plugins/FixtureTree/BlankState.d.ts +1 -0
- package/dist/plugins/FixtureTree/BlankState.js +23 -24
- package/dist/plugins/FixtureTree/FixtureTree/FixtureButton.d.ts +2 -2
- package/dist/plugins/FixtureTree/FixtureTree/FixtureButton.js +2 -2
- package/dist/plugins/FixtureTree/FixtureTree/FixtureDir.d.ts +1 -0
- package/dist/plugins/FixtureTree/FixtureTree/FixtureTree.js +6 -8
- package/dist/plugins/FixtureTree/FixtureTree/MultiFixtureButton.d.ts +3 -2
- package/dist/plugins/FixtureTree/FixtureTree/MultiFixtureButton.js +16 -11
- package/dist/plugins/FixtureTree/FixtureTreeContainer.d.ts +2 -2
- package/dist/plugins/FixtureTree/FixtureTreeContainer.js +1 -3
- package/dist/plugins/FixtureTree/FixtureTreeHeader.d.ts +1 -0
- 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 +1 -0
- package/dist/plugins/FullScreenButton/index.js +11 -5
- package/dist/plugins/Notifications/Notifications.d.ts +1 -0
- package/dist/plugins/PluginList/PluginList.d.ts +1 -0
- package/dist/plugins/PropsPanel/BlankState.d.ts +1 -0
- package/dist/plugins/PropsPanel/BlankState.js +14 -12
- package/dist/plugins/PropsPanel/PropsPanel/ComponentProps.d.ts +1 -0
- package/dist/plugins/PropsPanel/index.js +1 -4
- 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 +23 -5
- 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 +15 -21
- package/dist/plugins/RendererCore/reloadRenderer.d.ts +2 -0
- package/dist/plugins/RendererCore/reloadRenderer.js +5 -0
- package/dist/plugins/RendererCore/shared/postRequest.d.ts +1 -0
- package/dist/plugins/RendererCore/shared/postRequest.js +8 -0
- package/dist/plugins/RendererCore/spec.d.ts +6 -1
- 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} +1 -1
- package/dist/plugins/ResponsivePreview/ResponsivePreview/{Header.js → ResponsiveHeader.js} +2 -2
- package/dist/plugins/ResponsivePreview/ResponsivePreview/ResponsivePreview.d.ts +1 -2
- package/dist/plugins/ResponsivePreview/ResponsivePreview/ResponsivePreview.js +4 -4
- package/dist/plugins/ResponsivePreview/ToggleButton/index.d.ts +1 -0
- package/dist/plugins/ResponsivePreview/index.js +5 -6
- package/dist/plugins/ResponsivePreview/shared.js +13 -10
- 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/{ContentOverlay → Root/HomeOverlay}/KeyShortcut.d.ts +1 -0
- package/dist/plugins/{ContentOverlay → Root/HomeOverlay}/KeyShortcut.js +2 -2
- package/dist/plugins/{ContentOverlay → Root/HomeOverlay}/NoFixtureSelected.d.ts +1 -0
- package/dist/plugins/{ContentOverlay → Root/HomeOverlay}/NoFixtureSelected.js +5 -5
- package/dist/plugins/{ContentOverlay → Root/HomeOverlay}/WelcomeCosmos.d.ts +1 -0
- 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 +7 -5
- package/dist/plugins/Root/Root.js +9 -10
- package/dist/plugins/Root/ToggleNavButton.d.ts +1 -0
- package/dist/plugins/Root/index.js +6 -5
- package/dist/plugins/Root/panelOpen.js +0 -5
- package/dist/plugins/Router/index.js +23 -11
- package/dist/plugins/Router/spec.d.ts +5 -3
- 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 +1 -0
- package/dist/slots/ControlSlot.d.ts +1 -0
- package/dist/slots/FixtureActionSlot.d.ts +3 -2
- package/dist/slots/NavRowSlot.d.ts +1 -0
- package/dist/slots/RendererActionSlot.d.ts +1 -0
- package/dist/slots/SidePanelRowSlot.d.ts +1 -0
- package/dist/testHelpers/pluginMocks.d.ts +8 -7
- package/dist/testHelpers/pluginMocks.js +5 -3
- package/package.json +4 -4
- package/dist/plugins/ContentOverlay/ContentOverlay.d.ts +0 -13
- package/dist/plugins/ContentOverlay/ContentOverlay.js +0 -34
- 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/spec.js +0 -1
- 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
|
@@ -1,7 +1,11 @@
|
|
|
1
|
+
/// <reference types="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): 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
|
}
|
|
@@ -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;
|
|
@@ -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,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,4 +1,4 @@
|
|
|
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';
|
|
@@ -12,5 +12,4 @@ type ValueTreeItemProps = {
|
|
|
12
12
|
};
|
|
13
13
|
export declare const ValueTreeItem: import("styled-components").StyledComponent<"div", any, ValueTreeItemProps, never>;
|
|
14
14
|
export declare function stringifyElementId(elementId: FixtureElementId): string;
|
|
15
|
-
export declare function stringifyFixtureId(fixtureId: FixtureId): string;
|
|
16
15
|
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,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;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IconProps } from '../Icon.js';
|
|
4
3
|
export declare const ChevronLeftIcon: () => JSX.Element;
|
|
5
4
|
export declare const ChevronRightIcon: () => JSX.Element;
|
|
6
5
|
export declare const ChevronDownIcon: () => JSX.Element;
|
|
@@ -11,11 +10,11 @@ export declare const MaximizeIcon: () => JSX.Element;
|
|
|
11
10
|
export declare const SmartphoneIcon: () => JSX.Element;
|
|
12
11
|
export declare const Minimize2Icon: () => JSX.Element;
|
|
13
12
|
export declare const RefreshCwIcon: () => JSX.Element;
|
|
14
|
-
export declare const RefreshCcwIcon: (props:
|
|
13
|
+
export declare const RefreshCcwIcon: (props: IconProps) => JSX.Element;
|
|
15
14
|
export declare const HomeIcon: () => JSX.Element;
|
|
16
15
|
export declare const CastIcon: () => JSX.Element;
|
|
17
16
|
export declare const EditIcon: () => JSX.Element;
|
|
18
|
-
export declare const CheckCircleIcon: () => JSX.Element;
|
|
17
|
+
export declare const CheckCircleIcon: (props: IconProps) => JSX.Element;
|
|
19
18
|
export declare const AlertCircleIcon: () => JSX.Element;
|
|
20
19
|
export declare const InfoIcon: () => JSX.Element;
|
|
21
20
|
export declare const LoaderIcon: () => JSX.Element;
|
|
@@ -30,4 +29,3 @@ export declare const HelpCircleIcon: () => JSX.Element;
|
|
|
30
29
|
export declare const MinusSquareIcon: () => JSX.Element;
|
|
31
30
|
export declare const PlusSquareIcon: () => JSX.Element;
|
|
32
31
|
export declare const StarIcon: () => JSX.Element;
|
|
33
|
-
export {};
|
|
@@ -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,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';
|
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';
|