@brucesantos/design-space 0.6.0 → 0.9.0
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/CHANGELOG.md +264 -0
- package/README.md +249 -122
- package/dist/adapters/useScenarioData.d.ts +2 -0
- package/dist/controls/params.d.ts +13 -5
- package/dist/controls/state.d.ts +44 -11
- package/dist/deploy/index.d.ts +4 -4
- package/dist/design-space.css +1 -1
- package/dist/frame/index.d.ts +93 -0
- package/dist/handoff/index.d.ts +3 -2
- package/dist/index-DxIx4GAk.js +439 -0
- package/dist/index-DxIx4GAk.js.map +1 -0
- package/dist/index.d.ts +7 -10
- package/dist/index.js +2107 -1993
- package/dist/index.js.map +1 -1
- package/dist/registry/index.d.ts +115 -27
- package/dist/shell/Canvas.d.ts +19 -0
- package/dist/shell/FrameView.d.ts +9 -0
- package/dist/shell/Panel.d.ts +38 -0
- package/dist/shell/Resizer.d.ts +14 -0
- package/dist/shell/Sidebar.d.ts +15 -7
- package/dist/shell/Stage.d.ts +0 -20
- package/dist/shell/Topbar.d.ts +20 -12
- package/dist/shell/icons.d.ts +9 -0
- package/dist/shell/labels.d.ts +85 -119
- package/dist/shell/prMarkdown.d.ts +43 -0
- package/dist/shell/storage.d.ts +14 -0
- package/dist/testing/index.d.ts +9 -11
- package/dist/testing.js +20 -31
- package/dist/testing.js.map +1 -1
- package/dist/types/index.d.ts +115 -119
- package/dist/version.d.ts +2 -0
- package/package.json +3 -3
- package/dist/a11y/accessible-tree.d.ts +0 -37
- package/dist/a11y/contrast.d.ts +0 -62
- package/dist/a11y/useKeyboardMode.d.ts +0 -23
- package/dist/contrast-B8xa1UIu.js +0 -389
- package/dist/contrast-B8xa1UIu.js.map +0 -1
- package/dist/shell/Controls.d.ts +0 -11
- package/dist/shell/Home.d.ts +0 -12
- package/dist/shell/Inspector.d.ts +0 -13
package/dist/shell/Home.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Registry } from '../registry/index.js';
|
|
2
|
-
import { HandoffScope, ScenarioView } from '../types/index.js';
|
|
3
|
-
export type HomeProps = {
|
|
4
|
-
registry: Registry;
|
|
5
|
-
onOpenScenario: (scenarioId: string) => void;
|
|
6
|
-
view?: ScenarioView;
|
|
7
|
-
onViewChange?: (view: ScenarioView) => void;
|
|
8
|
-
handoff?: HandoffScope;
|
|
9
|
-
/** @deprecated Use `view="ported"`. */
|
|
10
|
-
showPorted?: boolean;
|
|
11
|
-
};
|
|
12
|
-
export declare function Home({ registry, onOpenScenario, view: requestedView, onViewChange, handoff, showPorted, }: HomeProps): import("react").JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ComponentFixtureResolution, Registry } from '../registry/index.js';
|
|
2
|
-
import { AccessibleNode } from '../a11y/accessible-tree.js';
|
|
3
|
-
import { ComponentPreview, ControlsState, Scenario } from '../types/index.js';
|
|
4
|
-
export type InspectorProps = {
|
|
5
|
-
registry: Registry;
|
|
6
|
-
scenario: Scenario | undefined;
|
|
7
|
-
component?: ComponentPreview;
|
|
8
|
-
componentFixture?: ComponentFixtureResolution;
|
|
9
|
-
controls: ControlsState;
|
|
10
|
-
focusedNode: AccessibleNode | undefined;
|
|
11
|
-
tabStopCount: number;
|
|
12
|
-
};
|
|
13
|
-
export declare function Inspector({ registry, scenario, component, componentFixture, controls, focusedNode, tabStopCount, }: InspectorProps): import("react").JSX.Element;
|