@stealthscale/component-screen 0.2.1 → 0.2.3

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 (44) hide show
  1. package/dist/cyclonedx/bom.json +1 -1
  2. package/dist/index.d.ts +3 -3
  3. package/dist/index.js +1 -8216
  4. package/dist/pages/action-bar/action-bar.js +471 -0
  5. package/dist/pages/action-bar/action-bar.props.js +3 -0
  6. package/dist/pages/app-shell/app-shell.js +4899 -0
  7. package/dist/pages/app-shell/app-shell.props.js +3 -0
  8. package/dist/pages/floating-panel/floating-panel.js +995 -0
  9. package/dist/pages/floating-panel/floating-panel.props.js +3 -0
  10. package/dist/pages/locale-switcher/locale-switcher.js +180 -0
  11. package/dist/pages/locale-switcher/locale-switcher.props.js +3 -0
  12. package/dist/pages/page/page.js +2308 -0
  13. package/dist/pages/page/page.props.js +3 -0
  14. package/dist/pages/pages.json +123 -0
  15. package/dist/pages/section/section.js +1241 -0
  16. package/dist/pages/section/section.props.js +3 -0
  17. package/dist/pages/sidebar/sidebar.js +1743 -0
  18. package/dist/pages/sidebar/sidebar.props.js +3 -0
  19. package/dist/pages/splitter/splitter.js +1563 -0
  20. package/dist/pages/splitter/splitter.props.js +3 -0
  21. package/dist/pages/switcher/switcher.js +900 -0
  22. package/dist/pages/switcher/switcher.props.js +3 -0
  23. package/dist/pages/theme-switcher/theme-switcher.js +180 -0
  24. package/dist/pages/theme-switcher/theme-switcher.props.js +3 -0
  25. package/dist/pages/toolbar/toolbar.js +1045 -0
  26. package/dist/pages/toolbar/toolbar.props.js +3 -0
  27. package/dist/{recipe-sZAQY6Kq.js → recipes-Cmy1leBm.js} +312 -30
  28. package/dist/shared-DxlFabHA.js +9547 -0
  29. package/dist/shell.js +1 -165
  30. package/dist/theme.js +3 -4
  31. package/locales/en/specimen/action-bar.json +46 -0
  32. package/locales/en/specimen/app-shell.json +288 -0
  33. package/locales/en/specimen/floating-panel.json +70 -0
  34. package/locales/en/specimen/locale-switcher.json +15 -0
  35. package/locales/en/specimen/page.json +198 -0
  36. package/locales/en/specimen/section.json +91 -0
  37. package/locales/en/specimen/sidebar.json +87 -0
  38. package/locales/en/specimen/splitter.json +93 -0
  39. package/locales/en/specimen/switcher.json +61 -0
  40. package/locales/en/specimen/theme-switcher.json +15 -0
  41. package/locales/en/specimen/toolbar.json +80 -0
  42. package/package.json +25 -24
  43. package/dist/recipe-DRMsitrw.js +0 -283
  44. package/dist/root-qEh4u7y5.js +0 -1182
@@ -0,0 +1,3 @@
1
+ export const dropped = {"PanelProps": {"conditions": 284, "foreign": 1040}, "ResizeTriggerIndicatorProps": {"conditions": 284, "foreign": 1041}, "ResizeTriggerSeparatorProps": {"conditions": 284, "foreign": 1041}, "ResizeTriggerProps": {"conditions": 284, "foreign": 1040}, "RootProps": {"conditions": 284, "foreign": 1041}};
2
+ export const parts = {"PanelProps": [{"accepts": "string", "fallback": "", "kind": "option", "name": "id", "refers": [], "required": true, "says": "Id of the panel in the `panels` passed to `useSplitter`. The machine derives the element's id from it."}], "ResizeTriggerIndicatorProps": [], "ResizeTriggerSeparatorProps": [], "ResizeTriggerProps": [{"accepts": "boolean", "fallback": "", "kind": "option", "name": "disabled", "refers": [], "required": false, "says": "Whether the trigger ignores the pointer and the keys. A disabled trigger leaves the tab order."}, {"accepts": "`${string}:${string}`", "fallback": "", "kind": "option", "name": "id", "refers": [], "required": true, "says": "Ids of the panels before and after the trigger, joined by a colon, such as `files:editor`."}, {"accepts": "string", "fallback": "", "kind": "option", "name": "label", "refers": [], "required": false, "says": "Accessible name of the trigger. Defaults to \"Resize\"."}], "RootProps": [{"accepts": "\"accent\" | \"error\" | \"info\" | \"neutral\" | \"primary\" | \"secondary\" | \"success\" | \"warning\"", "fallback": "", "kind": "variant", "name": "palette", "refers": [], "required": false, "says": "Semantic palette of the line and the pill while the pointer is over a trigger, while it has focus and while it drags, and of the focus ring. Without a value the root reads `primary`."}, {"accepts": "SplitterApi<PropTypes>", "fallback": "", "kind": "option", "name": "splitter", "refers": ["splitter.PanelProps", "splitter.ResizeTriggerProps", "splitter.SplitterApi", "types.Dict", "types.PropTypes"], "required": true, "says": "Api `useSplitter` returns, which every part reads."}]};
3
+ export const shapes = {"types.PropTypes": [{"accepts": "Dict<any>", "name": "button", "says": ""}, {"accepts": "Dict<any>", "name": "circle", "says": ""}, {"accepts": "Dict<any>", "name": "element", "says": ""}, {"accepts": "Dict<any>", "name": "img", "says": ""}, {"accepts": "Dict<any>", "name": "input", "says": ""}, {"accepts": "Dict<any>", "name": "label", "says": ""}, {"accepts": "Dict<any>", "name": "output", "says": ""}, {"accepts": "Dict<any>", "name": "path", "says": ""}, {"accepts": "Dict<any>", "name": "rect", "says": ""}, {"accepts": "Dict<any>", "name": "select", "says": ""}, {"accepts": "Dict<any>", "name": "style", "says": ""}, {"accepts": "Dict<any>", "name": "svg", "says": ""}, {"accepts": "Dict<any>", "name": "textarea", "says": ""}], "splitter.SplitterApi": [{"accepts": "boolean", "name": "dragging", "says": "Whether the splitter is currently being resized."}, {"accepts": "\"horizontal\" | \"vertical\"", "name": "orientation", "says": "The orientation of the splitter."}, {"accepts": "() => number[]", "name": "getSizes", "says": "Returns the current sizes of the panels."}, {"accepts": "(size: PanelSize[]) => void", "name": "setSizes", "says": "Sets the sizes of the panels."}, {"accepts": "() => SplitterItem[]", "name": "getItems", "says": "Returns the items of the splitter."}, {"accepts": "() => PanelData[]", "name": "getPanels", "says": "Returns the panels of the splitter."}, {"accepts": "(id: string) => PanelData", "name": "getPanelById", "says": "Returns the panel with the specified id."}, {"accepts": "(id: string) => number", "name": "getPanelSize", "says": "Returns the size of the specified panel."}, {"accepts": "(id: string) => boolean", "name": "isPanelCollapsed", "says": "Returns whether the specified panel is collapsed."}, {"accepts": "(id: string) => boolean", "name": "isPanelExpanded", "says": "Returns whether the specified panel is expanded."}, {"accepts": "(id: string) => void", "name": "collapsePanel", "says": "Collapses the specified panel."}, {"accepts": "(id: string, minSize?: number) => void", "name": "expandPanel", "says": "Expands the specified panel."}, {"accepts": "(id: string, unsafePanelSize: number) => void", "name": "resizePanel", "says": "Resizes the specified panel."}, {"accepts": "() => string", "name": "getLayout", "says": "Returns the layout of the splitter."}, {"accepts": "VoidFunction", "name": "resetSizes", "says": "Resets the splitter to its initial state."}, {"accepts": "(props: ResizeTriggerProps) => ResizeTriggerState", "name": "getResizeTriggerState", "says": "Returns the state of the resize trigger."}, {"accepts": "() => Dict<any>", "name": "getRootProps", "says": ""}, {"accepts": "(props: PanelProps) => Dict<any>", "name": "getPanelProps", "says": ""}, {"accepts": "(props: ResizeTriggerProps) => Dict<any>", "name": "getResizeTriggerProps", "says": ""}, {"accepts": "(props: ResizeTriggerProps) => Dict<any>", "name": "getResizeTriggerIndicator", "says": ""}], "splitter.ResizeTriggerProps": [{"accepts": "ResizeTriggerId", "name": "id", "says": ""}, {"accepts": "boolean", "name": "disabled", "says": ""}], "splitter.PanelProps": [{"accepts": "string", "name": "id", "says": ""}]};