@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.
Files changed (40) hide show
  1. package/CHANGELOG.md +264 -0
  2. package/README.md +249 -122
  3. package/dist/adapters/useScenarioData.d.ts +2 -0
  4. package/dist/controls/params.d.ts +13 -5
  5. package/dist/controls/state.d.ts +44 -11
  6. package/dist/deploy/index.d.ts +4 -4
  7. package/dist/design-space.css +1 -1
  8. package/dist/frame/index.d.ts +93 -0
  9. package/dist/handoff/index.d.ts +3 -2
  10. package/dist/index-DxIx4GAk.js +439 -0
  11. package/dist/index-DxIx4GAk.js.map +1 -0
  12. package/dist/index.d.ts +7 -10
  13. package/dist/index.js +2107 -1993
  14. package/dist/index.js.map +1 -1
  15. package/dist/registry/index.d.ts +115 -27
  16. package/dist/shell/Canvas.d.ts +19 -0
  17. package/dist/shell/FrameView.d.ts +9 -0
  18. package/dist/shell/Panel.d.ts +38 -0
  19. package/dist/shell/Resizer.d.ts +14 -0
  20. package/dist/shell/Sidebar.d.ts +15 -7
  21. package/dist/shell/Stage.d.ts +0 -20
  22. package/dist/shell/Topbar.d.ts +20 -12
  23. package/dist/shell/icons.d.ts +9 -0
  24. package/dist/shell/labels.d.ts +85 -119
  25. package/dist/shell/prMarkdown.d.ts +43 -0
  26. package/dist/shell/storage.d.ts +14 -0
  27. package/dist/testing/index.d.ts +9 -11
  28. package/dist/testing.js +20 -31
  29. package/dist/testing.js.map +1 -1
  30. package/dist/types/index.d.ts +115 -119
  31. package/dist/version.d.ts +2 -0
  32. package/package.json +3 -3
  33. package/dist/a11y/accessible-tree.d.ts +0 -37
  34. package/dist/a11y/contrast.d.ts +0 -62
  35. package/dist/a11y/useKeyboardMode.d.ts +0 -23
  36. package/dist/contrast-B8xa1UIu.js +0 -389
  37. package/dist/contrast-B8xa1UIu.js.map +0 -1
  38. package/dist/shell/Controls.d.ts +0 -11
  39. package/dist/shell/Home.d.ts +0 -12
  40. package/dist/shell/Inspector.d.ts +0 -13
@@ -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;