@locus-ui/components 0.0.16 → 0.1.1
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/accordion/accordion-context.d.mts +15 -0
- package/dist/components/accordion/accordion-context.d.ts +15 -0
- package/dist/components/accordion/accordion-context.js +52 -0
- package/dist/components/accordion/accordion-context.js.map +1 -0
- package/dist/components/accordion/accordion-context.mjs +17 -0
- package/dist/components/accordion/accordion-context.mjs.map +1 -0
- package/dist/components/accordion/accordion.d.mts +22 -0
- package/dist/components/accordion/accordion.d.ts +22 -0
- package/dist/components/accordion/accordion.js +38 -0
- package/dist/components/accordion/accordion.js.map +1 -0
- package/dist/components/accordion/accordion.mjs +14 -0
- package/dist/components/accordion/accordion.mjs.map +1 -0
- package/dist/components/accordion/accordion.props.d.mts +40 -0
- package/dist/components/accordion/accordion.props.d.ts +40 -0
- package/dist/components/accordion/accordion.props.js +65 -0
- package/dist/components/accordion/accordion.props.js.map +1 -0
- package/dist/components/accordion/accordion.props.mjs +40 -0
- package/dist/components/accordion/accordion.props.mjs.map +1 -0
- package/dist/components/accordion/content/accordion-content.d.mts +14 -0
- package/dist/components/accordion/content/accordion-content.d.ts +14 -0
- package/dist/components/accordion/content/accordion-content.js +61 -0
- package/dist/components/accordion/content/accordion-content.js.map +1 -0
- package/dist/components/accordion/content/accordion-content.mjs +29 -0
- package/dist/components/accordion/content/accordion-content.mjs.map +1 -0
- package/dist/components/accordion/content/accordion-content.props.d.mts +6 -0
- package/dist/components/accordion/content/accordion-content.props.d.ts +6 -0
- package/dist/components/accordion/content/accordion-content.props.js +31 -0
- package/dist/components/accordion/content/accordion-content.props.js.map +1 -0
- package/dist/components/accordion/content/accordion-content.props.mjs +7 -0
- package/dist/components/accordion/content/accordion-content.props.mjs.map +1 -0
- package/dist/components/accordion/header/accordion-header.d.mts +14 -0
- package/dist/components/accordion/header/accordion-header.d.ts +14 -0
- package/dist/components/accordion/header/accordion-header.js +86 -0
- package/dist/components/accordion/header/accordion-header.js.map +1 -0
- package/dist/components/accordion/header/accordion-header.mjs +54 -0
- package/dist/components/accordion/header/accordion-header.mjs.map +1 -0
- package/dist/components/accordion/header/accordion-header.props.d.mts +11 -0
- package/dist/components/accordion/header/accordion-header.props.d.ts +11 -0
- package/dist/components/accordion/header/accordion-header.props.js +34 -0
- package/dist/components/accordion/header/accordion-header.props.js.map +1 -0
- package/dist/components/accordion/header/accordion-header.props.mjs +10 -0
- package/dist/components/accordion/header/accordion-header.props.mjs.map +1 -0
- package/dist/components/accordion/index.d.mts +14 -0
- package/dist/components/accordion/index.d.ts +14 -0
- package/dist/components/accordion/index.js +29 -0
- package/dist/components/accordion/index.js.map +1 -0
- package/dist/components/accordion/index.mjs +5 -0
- package/dist/components/accordion/index.mjs.map +1 -0
- package/dist/components/accordion/item/accordion-item.d.mts +15 -0
- package/dist/components/accordion/item/accordion-item.d.ts +15 -0
- package/dist/components/accordion/item/accordion-item.js +97 -0
- package/dist/components/accordion/item/accordion-item.js.map +1 -0
- package/dist/components/accordion/item/accordion-item.mjs +68 -0
- package/dist/components/accordion/item/accordion-item.mjs.map +1 -0
- package/dist/components/accordion/item/accordion-item.props.d.mts +19 -0
- package/dist/components/accordion/item/accordion-item.props.d.ts +19 -0
- package/dist/components/accordion/item/accordion-item.props.js +42 -0
- package/dist/components/accordion/item/accordion-item.props.js.map +1 -0
- package/dist/components/accordion/item/accordion-item.props.mjs +18 -0
- package/dist/components/accordion/item/accordion-item.props.mjs.map +1 -0
- package/dist/components/accordion/root/accordion-root.d.mts +17 -0
- package/dist/components/accordion/root/accordion-root.d.ts +17 -0
- package/dist/components/accordion/root/accordion-root.js +102 -0
- package/dist/components/accordion/root/accordion-root.js.map +1 -0
- package/dist/components/accordion/root/accordion-root.mjs +72 -0
- package/dist/components/accordion/root/accordion-root.mjs.map +1 -0
- package/dist/components/accordion/root/accordion-root.props.d.mts +30 -0
- package/dist/components/accordion/root/accordion-root.props.d.ts +30 -0
- package/dist/components/accordion/root/accordion-root.props.js +59 -0
- package/dist/components/accordion/root/accordion-root.props.js.map +1 -0
- package/dist/components/accordion/root/accordion-root.props.mjs +34 -0
- package/dist/components/accordion/root/accordion-root.props.mjs.map +1 -0
- package/dist/components/badge/badge.d.mts +15 -0
- package/dist/components/badge/badge.d.ts +15 -0
- package/dist/components/badge/badge.js +64 -0
- package/dist/components/badge/badge.js.map +1 -0
- package/dist/components/badge/badge.mjs +35 -0
- package/dist/components/badge/badge.mjs.map +1 -0
- package/dist/components/badge/badge.props.d.mts +16 -0
- package/dist/components/badge/badge.props.d.ts +16 -0
- package/dist/components/badge/badge.props.js +41 -0
- package/dist/components/badge/badge.props.js.map +1 -0
- package/dist/components/badge/badge.props.mjs +16 -0
- package/dist/components/badge/badge.props.mjs.map +1 -0
- package/dist/components/badge/index.d.mts +9 -0
- package/dist/components/badge/index.d.ts +9 -0
- package/dist/components/badge/index.js +29 -0
- package/dist/components/badge/index.js.map +1 -0
- package/dist/components/badge/index.mjs +5 -0
- package/dist/components/badge/index.mjs.map +1 -0
- package/dist/components/box/box.d.mts +16 -0
- package/dist/components/box/box.d.ts +16 -0
- package/dist/components/box/box.js +66 -0
- package/dist/components/box/box.js.map +1 -0
- package/dist/components/box/box.mjs +38 -0
- package/dist/components/box/box.mjs.map +1 -0
- package/dist/components/box/box.props.d.mts +6 -0
- package/dist/components/box/box.props.d.ts +6 -0
- package/dist/components/box/box.props.js +43 -0
- package/dist/components/box/box.props.js.map +1 -0
- package/dist/components/box/box.props.mjs +19 -0
- package/dist/components/box/box.props.mjs.map +1 -0
- package/dist/components/box/index.d.mts +8 -0
- package/dist/components/box/index.d.ts +8 -0
- package/dist/components/box/index.js +29 -0
- package/dist/components/box/index.js.map +1 -0
- package/dist/components/box/index.mjs +5 -0
- package/dist/components/box/index.mjs.map +1 -0
- package/dist/components/button/button.d.mts +16 -0
- package/dist/components/button/button.d.ts +16 -0
- package/dist/components/button/button.js +85 -0
- package/dist/components/button/button.js.map +1 -0
- package/dist/components/button/button.mjs +57 -0
- package/dist/components/button/button.mjs.map +1 -0
- package/dist/components/button/button.props.d.mts +40 -0
- package/dist/components/button/button.props.d.ts +40 -0
- package/dist/components/button/button.props.js +65 -0
- package/dist/components/button/button.props.js.map +1 -0
- package/dist/components/button/button.props.mjs +40 -0
- package/dist/components/button/button.props.mjs.map +1 -0
- package/dist/components/button/index.d.mts +10 -0
- package/dist/components/button/index.d.ts +10 -0
- package/dist/components/button/index.js +29 -0
- package/dist/components/button/index.js.map +1 -0
- package/dist/components/button/index.mjs +5 -0
- package/dist/components/button/index.mjs.map +1 -0
- package/dist/components/checkbox/checkbox-context.d.mts +26 -0
- package/dist/components/checkbox/checkbox-context.d.ts +26 -0
- package/dist/components/checkbox/checkbox-context.js +52 -0
- package/dist/components/checkbox/checkbox-context.js.map +1 -0
- package/dist/components/checkbox/checkbox-context.mjs +17 -0
- package/dist/components/checkbox/checkbox-context.mjs.map +1 -0
- package/dist/components/checkbox/checkbox.d.mts +24 -0
- package/dist/components/checkbox/checkbox.d.ts +24 -0
- package/dist/components/checkbox/checkbox.js +36 -0
- package/dist/components/checkbox/checkbox.js.map +1 -0
- package/dist/components/checkbox/checkbox.mjs +12 -0
- package/dist/components/checkbox/checkbox.mjs.map +1 -0
- package/dist/components/checkbox/index.d.mts +15 -0
- package/dist/components/checkbox/index.d.ts +15 -0
- package/dist/components/checkbox/index.js +29 -0
- package/dist/components/checkbox/index.js.map +1 -0
- package/dist/components/checkbox/index.mjs +5 -0
- package/dist/components/checkbox/index.mjs.map +1 -0
- package/dist/components/checkbox/indicator/checkbox-indicator.d.mts +15 -0
- package/dist/components/checkbox/indicator/checkbox-indicator.d.ts +15 -0
- package/dist/components/checkbox/indicator/checkbox-indicator.js +114 -0
- package/dist/components/checkbox/indicator/checkbox-indicator.js.map +1 -0
- package/dist/components/checkbox/indicator/checkbox-indicator.mjs +82 -0
- package/dist/components/checkbox/indicator/checkbox-indicator.mjs.map +1 -0
- package/dist/components/checkbox/indicator/checkbox-indicator.props.d.mts +15 -0
- package/dist/components/checkbox/indicator/checkbox-indicator.props.d.ts +15 -0
- package/dist/components/checkbox/indicator/checkbox-indicator.props.js +39 -0
- package/dist/components/checkbox/indicator/checkbox-indicator.props.js.map +1 -0
- package/dist/components/checkbox/indicator/checkbox-indicator.props.mjs +15 -0
- package/dist/components/checkbox/indicator/checkbox-indicator.props.mjs.map +1 -0
- package/dist/components/checkbox/label/checkbox-label.d.mts +15 -0
- package/dist/components/checkbox/label/checkbox-label.d.ts +15 -0
- package/dist/components/checkbox/label/checkbox-label.js +69 -0
- package/dist/components/checkbox/label/checkbox-label.js.map +1 -0
- package/dist/components/checkbox/label/checkbox-label.mjs +37 -0
- package/dist/components/checkbox/label/checkbox-label.mjs.map +1 -0
- package/dist/components/checkbox/label/checkbox-label.props.d.mts +20 -0
- package/dist/components/checkbox/label/checkbox-label.props.d.ts +20 -0
- package/dist/components/checkbox/label/checkbox-label.props.js +44 -0
- package/dist/components/checkbox/label/checkbox-label.props.js.map +1 -0
- package/dist/components/checkbox/label/checkbox-label.props.mjs +19 -0
- package/dist/components/checkbox/label/checkbox-label.props.mjs.map +1 -0
- package/dist/components/checkbox/root/checkbox-root.d.mts +23 -0
- package/dist/components/checkbox/root/checkbox-root.d.ts +23 -0
- package/dist/components/checkbox/root/checkbox-root.js +160 -0
- package/dist/components/checkbox/root/checkbox-root.js.map +1 -0
- package/dist/components/checkbox/root/checkbox-root.mjs +142 -0
- package/dist/components/checkbox/root/checkbox-root.mjs.map +1 -0
- package/dist/components/checkbox/root/checkbox-root.props.d.mts +92 -0
- package/dist/components/checkbox/root/checkbox-root.props.d.ts +92 -0
- package/dist/components/checkbox/root/checkbox-root.props.js +119 -0
- package/dist/components/checkbox/root/checkbox-root.props.js.map +1 -0
- package/dist/components/checkbox/root/checkbox-root.props.mjs +94 -0
- package/dist/components/checkbox/root/checkbox-root.props.mjs.map +1 -0
- package/dist/components/container/container.d.mts +11 -0
- package/dist/components/container/container.d.ts +11 -0
- package/dist/components/container/container.js +55 -0
- package/dist/components/container/container.js.map +1 -0
- package/dist/components/container/container.mjs +21 -0
- package/dist/components/container/container.mjs.map +1 -0
- package/dist/components/container/container.props.d.mts +10 -0
- package/dist/components/container/container.props.d.ts +10 -0
- package/dist/components/container/container.props.js +32 -0
- package/dist/components/container/container.props.js.map +1 -0
- package/dist/components/container/container.props.mjs +8 -0
- package/dist/components/container/container.props.mjs.map +1 -0
- package/dist/components/container/index.d.mts +5 -0
- package/dist/components/container/index.d.ts +5 -0
- package/dist/components/container/index.js +29 -0
- package/dist/components/container/index.js.map +1 -0
- package/dist/components/container/index.mjs +5 -0
- package/dist/components/container/index.mjs.map +1 -0
- package/dist/components/flex/flex.d.mts +45 -0
- package/dist/components/flex/flex.d.ts +45 -0
- package/dist/components/flex/flex.js +55 -0
- package/dist/components/flex/flex.js.map +1 -0
- package/dist/components/flex/flex.mjs +25 -0
- package/dist/components/flex/flex.mjs.map +1 -0
- package/dist/components/flex/flex.props.d.mts +52 -0
- package/dist/components/flex/flex.props.d.ts +52 -0
- package/dist/components/flex/flex.props.js +98 -0
- package/dist/components/flex/flex.props.js.map +1 -0
- package/dist/components/flex/flex.props.mjs +74 -0
- package/dist/components/flex/flex.props.mjs.map +1 -0
- package/dist/components/flex/index.d.mts +6 -0
- package/dist/components/flex/index.d.ts +6 -0
- package/dist/components/flex/index.js +29 -0
- package/dist/components/flex/index.js.map +1 -0
- package/dist/components/flex/index.mjs +5 -0
- package/dist/components/flex/index.mjs.map +1 -0
- package/dist/components/index.d.mts +81 -0
- package/dist/components/index.d.ts +81 -0
- package/dist/components/index.js +75 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/index.mjs +35 -0
- package/dist/components/index.mjs.map +1 -0
- package/dist/components/panel/index.d.mts +10 -0
- package/dist/components/panel/index.d.ts +10 -0
- package/dist/components/panel/index.js +29 -0
- package/dist/components/panel/index.js.map +1 -0
- package/dist/components/panel/index.mjs +5 -0
- package/dist/components/panel/index.mjs.map +1 -0
- package/dist/components/panel/panel.d.mts +29 -0
- package/dist/components/panel/panel.d.ts +29 -0
- package/dist/components/panel/panel.js +67 -0
- package/dist/components/panel/panel.js.map +1 -0
- package/dist/components/panel/panel.mjs +40 -0
- package/dist/components/panel/panel.mjs.map +1 -0
- package/dist/components/panel/panel.props.d.mts +27 -0
- package/dist/components/panel/panel.props.d.ts +27 -0
- package/dist/components/panel/panel.props.js +52 -0
- package/dist/components/panel/panel.props.js.map +1 -0
- package/dist/components/panel/panel.props.mjs +27 -0
- package/dist/components/panel/panel.props.mjs.map +1 -0
- package/dist/components/portal/backdrop/portal-backdrop.d.mts +10 -0
- package/dist/components/portal/backdrop/portal-backdrop.d.ts +10 -0
- package/dist/components/portal/backdrop/portal-backdrop.js +71 -0
- package/dist/components/portal/backdrop/portal-backdrop.js.map +1 -0
- package/dist/components/portal/backdrop/portal-backdrop.mjs +39 -0
- package/dist/components/portal/backdrop/portal-backdrop.mjs.map +1 -0
- package/dist/components/portal/backdrop/portal-backdrop.props.d.mts +62 -0
- package/dist/components/portal/backdrop/portal-backdrop.props.d.ts +62 -0
- package/dist/components/portal/backdrop/portal-backdrop.props.js +65 -0
- package/dist/components/portal/backdrop/portal-backdrop.props.js.map +1 -0
- package/dist/components/portal/backdrop/portal-backdrop.props.mjs +41 -0
- package/dist/components/portal/backdrop/portal-backdrop.props.mjs.map +1 -0
- package/dist/components/portal/content/portal-content.d.mts +12 -0
- package/dist/components/portal/content/portal-content.d.ts +12 -0
- package/dist/components/portal/content/portal-content.js +163 -0
- package/dist/components/portal/content/portal-content.js.map +1 -0
- package/dist/components/portal/content/portal-content.mjs +133 -0
- package/dist/components/portal/content/portal-content.mjs.map +1 -0
- package/dist/components/portal/content/portal-content.props.d.mts +45 -0
- package/dist/components/portal/content/portal-content.props.d.ts +45 -0
- package/dist/components/portal/content/portal-content.props.js +80 -0
- package/dist/components/portal/content/portal-content.props.js.map +1 -0
- package/dist/components/portal/content/portal-content.props.mjs +56 -0
- package/dist/components/portal/content/portal-content.props.mjs.map +1 -0
- package/dist/components/portal/index.d.mts +14 -0
- package/dist/components/portal/index.d.ts +14 -0
- package/dist/components/portal/index.js +47 -0
- package/dist/components/portal/index.js.map +1 -0
- package/dist/components/portal/index.mjs +25 -0
- package/dist/components/portal/index.mjs.map +1 -0
- package/dist/components/portal/portal-context.d.mts +16 -0
- package/dist/components/portal/portal-context.d.ts +16 -0
- package/dist/components/portal/portal-context.js +52 -0
- package/dist/components/portal/portal-context.js.map +1 -0
- package/dist/components/portal/portal-context.mjs +17 -0
- package/dist/components/portal/portal-context.mjs.map +1 -0
- package/dist/components/portal/portal.d.mts +24 -0
- package/dist/components/portal/portal.d.ts +24 -0
- package/dist/components/portal/portal.js +42 -0
- package/dist/components/portal/portal.js.map +1 -0
- package/dist/components/portal/portal.mjs +18 -0
- package/dist/components/portal/portal.mjs.map +1 -0
- package/dist/components/portal/root/portal-root.d.mts +18 -0
- package/dist/components/portal/root/portal-root.d.ts +18 -0
- package/dist/components/portal/root/portal-root.js +74 -0
- package/dist/components/portal/root/portal-root.js.map +1 -0
- package/dist/components/portal/root/portal-root.mjs +56 -0
- package/dist/components/portal/root/portal-root.mjs.map +1 -0
- package/dist/components/portal/root/portal-root.props.d.mts +23 -0
- package/dist/components/portal/root/portal-root.props.d.ts +23 -0
- package/dist/components/portal/root/portal-root.props.js +48 -0
- package/dist/components/portal/root/portal-root.props.js.map +1 -0
- package/dist/components/portal/root/portal-root.props.mjs +24 -0
- package/dist/components/portal/root/portal-root.props.mjs.map +1 -0
- package/dist/components/portal/trigger/portal-trigger.d.mts +9 -0
- package/dist/components/portal/trigger/portal-trigger.d.ts +9 -0
- package/dist/components/portal/trigger/portal-trigger.js +89 -0
- package/dist/components/portal/trigger/portal-trigger.js.map +1 -0
- package/dist/components/portal/trigger/portal-trigger.mjs +55 -0
- package/dist/components/portal/trigger/portal-trigger.mjs.map +1 -0
- package/dist/components/portal/utils/use-anchor-position.d.mts +31 -0
- package/dist/components/portal/utils/use-anchor-position.d.ts +31 -0
- package/dist/components/portal/utils/use-anchor-position.js +137 -0
- package/dist/components/portal/utils/use-anchor-position.js.map +1 -0
- package/dist/components/portal/utils/use-anchor-position.mjs +103 -0
- package/dist/components/portal/utils/use-anchor-position.mjs.map +1 -0
- package/dist/components/progress-bar/fill/progress-bar-fill.d.mts +17 -0
- package/dist/components/progress-bar/fill/progress-bar-fill.d.ts +17 -0
- package/dist/components/progress-bar/fill/progress-bar-fill.js +61 -0
- package/dist/components/progress-bar/fill/progress-bar-fill.js.map +1 -0
- package/dist/components/progress-bar/fill/progress-bar-fill.mjs +29 -0
- package/dist/components/progress-bar/fill/progress-bar-fill.mjs.map +1 -0
- package/dist/components/progress-bar/fill/progress-bar-fill.props.d.mts +14 -0
- package/dist/components/progress-bar/fill/progress-bar-fill.props.d.ts +14 -0
- package/dist/components/progress-bar/fill/progress-bar-fill.props.js +37 -0
- package/dist/components/progress-bar/fill/progress-bar-fill.props.js.map +1 -0
- package/dist/components/progress-bar/fill/progress-bar-fill.props.mjs +13 -0
- package/dist/components/progress-bar/fill/progress-bar-fill.props.mjs.map +1 -0
- package/dist/components/progress-bar/index.d.mts +12 -0
- package/dist/components/progress-bar/index.d.ts +12 -0
- package/dist/components/progress-bar/index.js +29 -0
- package/dist/components/progress-bar/index.js.map +1 -0
- package/dist/components/progress-bar/index.mjs +5 -0
- package/dist/components/progress-bar/index.mjs.map +1 -0
- package/dist/components/progress-bar/progress-bar-context.d.mts +11 -0
- package/dist/components/progress-bar/progress-bar-context.d.ts +11 -0
- package/dist/components/progress-bar/progress-bar-context.js +52 -0
- package/dist/components/progress-bar/progress-bar-context.js.map +1 -0
- package/dist/components/progress-bar/progress-bar-context.mjs +17 -0
- package/dist/components/progress-bar/progress-bar-context.mjs.map +1 -0
- package/dist/components/progress-bar/progress-bar.d.mts +27 -0
- package/dist/components/progress-bar/progress-bar.d.ts +27 -0
- package/dist/components/progress-bar/progress-bar.js +40 -0
- package/dist/components/progress-bar/progress-bar.js.map +1 -0
- package/dist/components/progress-bar/progress-bar.mjs +16 -0
- package/dist/components/progress-bar/progress-bar.mjs.map +1 -0
- package/dist/components/progress-bar/root/progress-bar-root.d.mts +17 -0
- package/dist/components/progress-bar/root/progress-bar-root.d.ts +17 -0
- package/dist/components/progress-bar/root/progress-bar-root.js +93 -0
- package/dist/components/progress-bar/root/progress-bar-root.js.map +1 -0
- package/dist/components/progress-bar/root/progress-bar-root.mjs +69 -0
- package/dist/components/progress-bar/root/progress-bar-root.mjs.map +1 -0
- package/dist/components/progress-bar/root/progress-bar-root.props.d.mts +23 -0
- package/dist/components/progress-bar/root/progress-bar-root.props.d.ts +23 -0
- package/dist/components/progress-bar/root/progress-bar-root.props.js +48 -0
- package/dist/components/progress-bar/root/progress-bar-root.props.js.map +1 -0
- package/dist/components/progress-bar/root/progress-bar-root.props.mjs +23 -0
- package/dist/components/progress-bar/root/progress-bar-root.props.mjs.map +1 -0
- package/dist/components/select/content/select-content.d.mts +16 -0
- package/dist/components/select/content/select-content.d.ts +16 -0
- package/dist/components/select/content/select-content.js +163 -0
- package/dist/components/select/content/select-content.js.map +1 -0
- package/dist/components/select/content/select-content.mjs +129 -0
- package/dist/components/select/content/select-content.mjs.map +1 -0
- package/dist/components/select/content/select-content.props.d.mts +28 -0
- package/dist/components/select/content/select-content.props.d.ts +28 -0
- package/dist/components/select/content/select-content.props.js +54 -0
- package/dist/components/select/content/select-content.props.js.map +1 -0
- package/dist/components/select/content/select-content.props.mjs +30 -0
- package/dist/components/select/content/select-content.props.mjs.map +1 -0
- package/dist/components/select/group/select-group.d.mts +10 -0
- package/dist/components/select/group/select-group.d.ts +10 -0
- package/dist/components/select/group/select-group.js +67 -0
- package/dist/components/select/group/select-group.js.map +1 -0
- package/dist/components/select/group/select-group.mjs +35 -0
- package/dist/components/select/group/select-group.mjs.map +1 -0
- package/dist/components/select/group/select-group.props.d.mts +10 -0
- package/dist/components/select/group/select-group.props.d.ts +10 -0
- package/dist/components/select/group/select-group.props.js +33 -0
- package/dist/components/select/group/select-group.props.js.map +1 -0
- package/dist/components/select/group/select-group.props.mjs +9 -0
- package/dist/components/select/group/select-group.props.mjs.map +1 -0
- package/dist/components/select/index.d.mts +22 -0
- package/dist/components/select/index.d.ts +22 -0
- package/dist/components/select/index.js +29 -0
- package/dist/components/select/index.js.map +1 -0
- package/dist/components/select/index.mjs +5 -0
- package/dist/components/select/index.mjs.map +1 -0
- package/dist/components/select/item/select-item-indicator.d.mts +5 -0
- package/dist/components/select/item/select-item-indicator.d.ts +5 -0
- package/dist/components/select/item/select-item-indicator.js +50 -0
- package/dist/components/select/item/select-item-indicator.js.map +1 -0
- package/dist/components/select/item/select-item-indicator.mjs +26 -0
- package/dist/components/select/item/select-item-indicator.mjs.map +1 -0
- package/dist/components/select/item/select-item.d.mts +14 -0
- package/dist/components/select/item/select-item.d.ts +14 -0
- package/dist/components/select/item/select-item.js +120 -0
- package/dist/components/select/item/select-item.js.map +1 -0
- package/dist/components/select/item/select-item.mjs +88 -0
- package/dist/components/select/item/select-item.mjs.map +1 -0
- package/dist/components/select/item/select-item.props.d.mts +14 -0
- package/dist/components/select/item/select-item.props.d.ts +14 -0
- package/dist/components/select/item/select-item.props.js +37 -0
- package/dist/components/select/item/select-item.props.js.map +1 -0
- package/dist/components/select/item/select-item.props.mjs +13 -0
- package/dist/components/select/item/select-item.props.mjs.map +1 -0
- package/dist/components/select/label/select-label.d.mts +15 -0
- package/dist/components/select/label/select-label.d.ts +15 -0
- package/dist/components/select/label/select-label.js +69 -0
- package/dist/components/select/label/select-label.js.map +1 -0
- package/dist/components/select/label/select-label.mjs +37 -0
- package/dist/components/select/label/select-label.mjs.map +1 -0
- package/dist/components/select/label/select-label.props.d.mts +15 -0
- package/dist/components/select/label/select-label.props.d.ts +15 -0
- package/dist/components/select/label/select-label.props.js +39 -0
- package/dist/components/select/label/select-label.props.js.map +1 -0
- package/dist/components/select/label/select-label.props.mjs +14 -0
- package/dist/components/select/label/select-label.props.mjs.map +1 -0
- package/dist/components/select/root/select-root.d.mts +21 -0
- package/dist/components/select/root/select-root.d.ts +21 -0
- package/dist/components/select/root/select-root.js +195 -0
- package/dist/components/select/root/select-root.js.map +1 -0
- package/dist/components/select/root/select-root.mjs +175 -0
- package/dist/components/select/root/select-root.mjs.map +1 -0
- package/dist/components/select/root/select-root.props.d.mts +33 -0
- package/dist/components/select/root/select-root.props.d.ts +33 -0
- package/dist/components/select/root/select-root.props.js +57 -0
- package/dist/components/select/root/select-root.props.js.map +1 -0
- package/dist/components/select/root/select-root.props.mjs +33 -0
- package/dist/components/select/root/select-root.props.mjs.map +1 -0
- package/dist/components/select/select-context.d.mts +33 -0
- package/dist/components/select/select-context.d.ts +33 -0
- package/dist/components/select/select-context.js +52 -0
- package/dist/components/select/select-context.js.map +1 -0
- package/dist/components/select/select-context.mjs +17 -0
- package/dist/components/select/select-context.mjs.map +1 -0
- package/dist/components/select/select.d.mts +43 -0
- package/dist/components/select/select.d.ts +43 -0
- package/dist/components/select/select.js +46 -0
- package/dist/components/select/select.js.map +1 -0
- package/dist/components/select/select.mjs +22 -0
- package/dist/components/select/select.mjs.map +1 -0
- package/dist/components/select/separator/select-separator.d.mts +7 -0
- package/dist/components/select/separator/select-separator.d.ts +7 -0
- package/dist/components/select/separator/select-separator.js +55 -0
- package/dist/components/select/separator/select-separator.js.map +1 -0
- package/dist/components/select/separator/select-separator.mjs +21 -0
- package/dist/components/select/separator/select-separator.mjs.map +1 -0
- package/dist/components/select/trigger/select-trigger-icon.d.mts +5 -0
- package/dist/components/select/trigger/select-trigger-icon.d.ts +5 -0
- package/dist/components/select/trigger/select-trigger-icon.js +64 -0
- package/dist/components/select/trigger/select-trigger-icon.js.map +1 -0
- package/dist/components/select/trigger/select-trigger-icon.mjs +30 -0
- package/dist/components/select/trigger/select-trigger-icon.mjs.map +1 -0
- package/dist/components/select/trigger/select-trigger.d.mts +18 -0
- package/dist/components/select/trigger/select-trigger.d.ts +18 -0
- package/dist/components/select/trigger/select-trigger.js +119 -0
- package/dist/components/select/trigger/select-trigger.js.map +1 -0
- package/dist/components/select/trigger/select-trigger.mjs +87 -0
- package/dist/components/select/trigger/select-trigger.mjs.map +1 -0
- package/dist/components/select/trigger/select-trigger.props.d.mts +7 -0
- package/dist/components/select/trigger/select-trigger.props.d.ts +7 -0
- package/dist/components/select/trigger/select-trigger.props.js +29 -0
- package/dist/components/select/trigger/select-trigger.props.js.map +1 -0
- package/dist/components/select/trigger/select-trigger.props.mjs +5 -0
- package/dist/components/select/trigger/select-trigger.props.mjs.map +1 -0
- package/dist/components/select/utils/user-composed-refs.d.mts +5 -0
- package/dist/components/select/utils/user-composed-refs.d.ts +5 -0
- package/dist/components/select/utils/user-composed-refs.js +53 -0
- package/dist/components/select/utils/user-composed-refs.js.map +1 -0
- package/dist/components/select/utils/user-composed-refs.mjs +19 -0
- package/dist/components/select/utils/user-composed-refs.mjs.map +1 -0
- package/dist/components/select/value/select-value.d.mts +8 -0
- package/dist/components/select/value/select-value.d.ts +8 -0
- package/dist/components/select/value/select-value.js +61 -0
- package/dist/components/select/value/select-value.js.map +1 -0
- package/dist/components/select/value/select-value.mjs +27 -0
- package/dist/components/select/value/select-value.mjs.map +1 -0
- package/dist/components/select/viewport/select-viewport.d.mts +7 -0
- package/dist/components/select/viewport/select-viewport.d.ts +7 -0
- package/dist/components/select/viewport/select-viewport.js +49 -0
- package/dist/components/select/viewport/select-viewport.js.map +1 -0
- package/dist/components/select/viewport/select-viewport.mjs +15 -0
- package/dist/components/select/viewport/select-viewport.mjs.map +1 -0
- package/dist/components/separator/index.d.mts +6 -0
- package/dist/components/separator/index.d.ts +6 -0
- package/dist/components/separator/index.js +29 -0
- package/dist/components/separator/index.js.map +1 -0
- package/dist/components/separator/index.mjs +5 -0
- package/dist/components/separator/index.mjs.map +1 -0
- package/dist/components/separator/separator.d.mts +15 -0
- package/dist/components/separator/separator.d.ts +15 -0
- package/dist/components/separator/separator.js +57 -0
- package/dist/components/separator/separator.js.map +1 -0
- package/dist/components/separator/separator.mjs +23 -0
- package/dist/components/separator/separator.mjs.map +1 -0
- package/dist/components/separator/separator.props.d.mts +29 -0
- package/dist/components/separator/separator.props.d.ts +29 -0
- package/dist/components/separator/separator.props.js +54 -0
- package/dist/components/separator/separator.props.js.map +1 -0
- package/dist/components/separator/separator.props.mjs +30 -0
- package/dist/components/separator/separator.props.mjs.map +1 -0
- package/dist/components/switch/index.d.mts +15 -0
- package/dist/components/switch/index.d.ts +15 -0
- package/dist/components/switch/index.js +29 -0
- package/dist/components/switch/index.js.map +1 -0
- package/dist/components/switch/index.mjs +5 -0
- package/dist/components/switch/index.mjs.map +1 -0
- package/dist/components/switch/indicator/switch-indicator.d.mts +15 -0
- package/dist/components/switch/indicator/switch-indicator.d.ts +15 -0
- package/dist/components/switch/indicator/switch-indicator.js +97 -0
- package/dist/components/switch/indicator/switch-indicator.js.map +1 -0
- package/dist/components/switch/indicator/switch-indicator.mjs +65 -0
- package/dist/components/switch/indicator/switch-indicator.mjs.map +1 -0
- package/dist/components/switch/indicator/switch-indicator.props.d.mts +15 -0
- package/dist/components/switch/indicator/switch-indicator.props.d.ts +15 -0
- package/dist/components/switch/indicator/switch-indicator.props.js +39 -0
- package/dist/components/switch/indicator/switch-indicator.props.js.map +1 -0
- package/dist/components/switch/indicator/switch-indicator.props.mjs +15 -0
- package/dist/components/switch/indicator/switch-indicator.props.mjs.map +1 -0
- package/dist/components/switch/label/switch-label.d.mts +15 -0
- package/dist/components/switch/label/switch-label.d.ts +15 -0
- package/dist/components/switch/label/switch-label.js +69 -0
- package/dist/components/switch/label/switch-label.js.map +1 -0
- package/dist/components/switch/label/switch-label.mjs +37 -0
- package/dist/components/switch/label/switch-label.mjs.map +1 -0
- package/dist/components/switch/label/switch-label.props.d.mts +20 -0
- package/dist/components/switch/label/switch-label.props.d.ts +20 -0
- package/dist/components/switch/label/switch-label.props.js +44 -0
- package/dist/components/switch/label/switch-label.props.js.map +1 -0
- package/dist/components/switch/label/switch-label.props.mjs +19 -0
- package/dist/components/switch/label/switch-label.props.mjs.map +1 -0
- package/dist/components/switch/root/switch-root.d.mts +23 -0
- package/dist/components/switch/root/switch-root.d.ts +23 -0
- package/dist/components/switch/root/switch-root.js +180 -0
- package/dist/components/switch/root/switch-root.js.map +1 -0
- package/dist/components/switch/root/switch-root.mjs +163 -0
- package/dist/components/switch/root/switch-root.mjs.map +1 -0
- package/dist/components/switch/root/switch-root.props.d.mts +76 -0
- package/dist/components/switch/root/switch-root.props.d.ts +76 -0
- package/dist/components/switch/root/switch-root.props.js +103 -0
- package/dist/components/switch/root/switch-root.props.js.map +1 -0
- package/dist/components/switch/root/switch-root.props.mjs +78 -0
- package/dist/components/switch/root/switch-root.props.mjs.map +1 -0
- package/dist/components/switch/switch-context.d.mts +26 -0
- package/dist/components/switch/switch-context.d.ts +26 -0
- package/dist/components/switch/switch-context.js +52 -0
- package/dist/components/switch/switch-context.js.map +1 -0
- package/dist/components/switch/switch-context.mjs +17 -0
- package/dist/components/switch/switch-context.mjs.map +1 -0
- package/dist/components/switch/switch.d.mts +24 -0
- package/dist/components/switch/switch.d.ts +24 -0
- package/dist/components/switch/switch.js +36 -0
- package/dist/components/switch/switch.js.map +1 -0
- package/dist/components/switch/switch.mjs +12 -0
- package/dist/components/switch/switch.mjs.map +1 -0
- package/dist/components/text/index.d.mts +7 -0
- package/dist/components/text/index.d.ts +7 -0
- package/dist/components/text/index.js +29 -0
- package/dist/components/text/index.js.map +1 -0
- package/dist/components/text/index.mjs +5 -0
- package/dist/components/text/index.mjs.map +1 -0
- package/dist/components/text/text.d.mts +25 -0
- package/dist/components/text/text.d.ts +25 -0
- package/dist/components/text/text.js +66 -0
- package/dist/components/text/text.js.map +1 -0
- package/dist/components/text/text.mjs +36 -0
- package/dist/components/text/text.mjs.map +1 -0
- package/dist/components/text/text.props.d.mts +24 -0
- package/dist/components/text/text.props.d.ts +24 -0
- package/dist/components/text/text.props.js +48 -0
- package/dist/components/text/text.props.js.map +1 -0
- package/dist/components/text/text.props.mjs +24 -0
- package/dist/components/text/text.props.mjs.map +1 -0
- package/dist/components/theme/index.d.mts +8 -0
- package/dist/components/theme/index.d.ts +8 -0
- package/dist/components/theme/index.js +35 -0
- package/dist/components/theme/index.js.map +1 -0
- package/dist/components/theme/index.mjs +9 -0
- package/dist/components/theme/index.mjs.map +1 -0
- package/dist/components/theme/theme-context.d.mts +25 -0
- package/dist/components/theme/theme-context.d.ts +25 -0
- package/dist/components/theme/theme-context.js +52 -0
- package/dist/components/theme/theme-context.js.map +1 -0
- package/dist/components/theme/theme-context.mjs +17 -0
- package/dist/components/theme/theme-context.mjs.map +1 -0
- package/dist/components/theme/theme-control.d.mts +9 -0
- package/dist/components/theme/theme-control.d.ts +9 -0
- package/dist/components/theme/theme-control.js +156 -0
- package/dist/components/theme/theme-control.js.map +1 -0
- package/dist/components/theme/theme-control.mjs +132 -0
- package/dist/components/theme/theme-control.mjs.map +1 -0
- package/dist/components/theme/theme.d.mts +14 -0
- package/dist/components/theme/theme.d.ts +14 -0
- package/dist/components/theme/theme.js +132 -0
- package/dist/components/theme/theme.js.map +1 -0
- package/dist/components/theme/theme.mjs +100 -0
- package/dist/components/theme/theme.mjs.map +1 -0
- package/dist/components/theme/theme.props.d.mts +24 -0
- package/dist/components/theme/theme.props.d.ts +24 -0
- package/dist/components/theme/theme.props.js +54 -0
- package/dist/components/theme/theme.props.js.map +1 -0
- package/dist/components/theme/theme.props.mjs +30 -0
- package/dist/components/theme/theme.props.mjs.map +1 -0
- package/dist/icons/check-mark.icon.d.mts +6 -0
- package/dist/icons/check-mark.icon.d.ts +6 -0
- package/dist/icons/check-mark.icon.js +51 -0
- package/dist/icons/check-mark.icon.js.map +1 -0
- package/dist/icons/check-mark.icon.mjs +27 -0
- package/dist/icons/check-mark.icon.mjs.map +1 -0
- package/dist/icons/chevron-down.icon.d.mts +6 -0
- package/dist/icons/chevron-down.icon.d.ts +6 -0
- package/dist/icons/chevron-down.icon.js +53 -0
- package/dist/icons/chevron-down.icon.js.map +1 -0
- package/dist/icons/chevron-down.icon.mjs +29 -0
- package/dist/icons/chevron-down.icon.mjs.map +1 -0
- package/dist/icons/chevron-left.icon.d.mts +6 -0
- package/dist/icons/chevron-left.icon.d.ts +6 -0
- package/dist/icons/chevron-left.icon.js +53 -0
- package/dist/icons/chevron-left.icon.js.map +1 -0
- package/dist/icons/chevron-left.icon.mjs +29 -0
- package/dist/icons/chevron-left.icon.mjs.map +1 -0
- package/dist/icons/chevron-right.icon.d.mts +6 -0
- package/dist/icons/chevron-right.icon.d.ts +6 -0
- package/dist/icons/chevron-right.icon.js +53 -0
- package/dist/icons/chevron-right.icon.js.map +1 -0
- package/dist/icons/chevron-right.icon.mjs +29 -0
- package/dist/icons/chevron-right.icon.mjs.map +1 -0
- package/dist/icons/chevron-up.icon.d.mts +6 -0
- package/dist/icons/chevron-up.icon.d.ts +6 -0
- package/dist/icons/chevron-up.icon.js +51 -0
- package/dist/icons/chevron-up.icon.js.map +1 -0
- package/dist/icons/chevron-up.icon.mjs +27 -0
- package/dist/icons/chevron-up.icon.mjs.map +1 -0
- package/dist/icons/icon-colors.d.mts +7 -0
- package/dist/icons/icon-colors.d.ts +7 -0
- package/dist/icons/icon-colors.js +34 -0
- package/dist/icons/icon-colors.js.map +1 -0
- package/dist/icons/icon-colors.mjs +10 -0
- package/dist/icons/icon-colors.mjs.map +1 -0
- package/dist/icons/index.d.mts +4 -0
- package/dist/icons/index.d.ts +4 -0
- package/dist/icons/index.js +32 -0
- package/dist/icons/index.js.map +1 -0
- package/dist/icons/index.mjs +7 -0
- package/dist/icons/index.mjs.map +1 -0
- package/dist/icons/minus.icon.d.mts +6 -0
- package/dist/icons/minus.icon.d.ts +6 -0
- package/dist/icons/minus.icon.js +51 -0
- package/dist/icons/minus.icon.js.map +1 -0
- package/dist/icons/minus.icon.mjs +27 -0
- package/dist/icons/minus.icon.mjs.map +1 -0
- package/dist/index.css +79 -67
- package/dist/index.d.mts +81 -1524
- package/dist/index.d.ts +81 -1524
- package/dist/index.js +59 -3757
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +18 -3738
- package/dist/index.mjs.map +1 -1
- package/dist/props/align.prop.d.mts +16 -0
- package/dist/props/align.prop.d.ts +16 -0
- package/dist/props/align.prop.js +41 -0
- package/dist/props/align.prop.js.map +1 -0
- package/dist/props/align.prop.mjs +16 -0
- package/dist/props/align.prop.mjs.map +1 -0
- package/dist/props/color.prop.d.mts +26 -0
- package/dist/props/color.prop.d.ts +26 -0
- package/dist/props/color.prop.js +60 -0
- package/dist/props/color.prop.js.map +1 -0
- package/dist/props/color.prop.mjs +35 -0
- package/dist/props/color.prop.mjs.map +1 -0
- package/dist/props/direction.prop.d.mts +11 -0
- package/dist/props/direction.prop.d.ts +11 -0
- package/dist/props/direction.prop.js +39 -0
- package/dist/props/direction.prop.js.map +1 -0
- package/dist/props/direction.prop.mjs +14 -0
- package/dist/props/direction.prop.mjs.map +1 -0
- package/dist/props/index.d.mts +11 -0
- package/dist/props/index.d.ts +11 -0
- package/dist/props/index.js +82 -0
- package/dist/props/index.js.map +1 -0
- package/dist/props/index.mjs +43 -0
- package/dist/props/index.mjs.map +1 -0
- package/dist/props/margin.prop.d.mts +135 -0
- package/dist/props/margin.prop.d.ts +135 -0
- package/dist/props/margin.prop.js +177 -0
- package/dist/props/margin.prop.js.map +1 -0
- package/dist/props/margin.prop.mjs +153 -0
- package/dist/props/margin.prop.mjs.map +1 -0
- package/dist/props/padding.prop.d.mts +135 -0
- package/dist/props/padding.prop.d.ts +135 -0
- package/dist/props/padding.prop.js +169 -0
- package/dist/props/padding.prop.js.map +1 -0
- package/dist/props/padding.prop.mjs +145 -0
- package/dist/props/padding.prop.mjs.map +1 -0
- package/dist/props/prop-def.d.mts +66 -0
- package/dist/props/prop-def.d.ts +66 -0
- package/dist/props/prop-def.js +18 -0
- package/dist/props/prop-def.js.map +1 -0
- package/dist/props/prop-def.mjs +2 -0
- package/dist/props/prop-def.mjs.map +1 -0
- package/dist/props/radius.prop.d.mts +177 -0
- package/dist/props/radius.prop.d.ts +177 -0
- package/dist/props/radius.prop.js +211 -0
- package/dist/props/radius.prop.js.map +1 -0
- package/dist/props/radius.prop.mjs +186 -0
- package/dist/props/radius.prop.mjs.map +1 -0
- package/dist/props/roundness.prop.d.mts +23 -0
- package/dist/props/roundness.prop.d.ts +23 -0
- package/dist/props/roundness.prop.js +48 -0
- package/dist/props/roundness.prop.js.map +1 -0
- package/dist/props/roundness.prop.mjs +23 -0
- package/dist/props/roundness.prop.mjs.map +1 -0
- package/dist/props/size.prop.d.mts +19 -0
- package/dist/props/size.prop.d.ts +19 -0
- package/dist/props/size.prop.js +44 -0
- package/dist/props/size.prop.js.map +1 -0
- package/dist/props/size.prop.mjs +19 -0
- package/dist/props/size.prop.mjs.map +1 -0
- package/dist/props/spacing.prop.d.mts +24 -0
- package/dist/props/spacing.prop.d.ts +24 -0
- package/dist/props/spacing.prop.js +49 -0
- package/dist/props/spacing.prop.js.map +1 -0
- package/dist/props/spacing.prop.mjs +24 -0
- package/dist/props/spacing.prop.mjs.map +1 -0
- package/dist/utils/filter-children.d.mts +50 -0
- package/dist/utils/filter-children.d.ts +50 -0
- package/dist/utils/filter-children.js +121 -0
- package/dist/utils/filter-children.js.map +1 -0
- package/dist/utils/filter-children.mjs +86 -0
- package/dist/utils/filter-children.mjs.map +1 -0
- package/dist/utils/get-component-props.d.mts +14 -0
- package/dist/utils/get-component-props.d.ts +14 -0
- package/dist/utils/get-component-props.js +126 -0
- package/dist/utils/get-component-props.js.map +1 -0
- package/dist/utils/get-component-props.mjs +92 -0
- package/dist/utils/get-component-props.mjs.map +1 -0
- package/dist/utils/get-props.d.mts +29 -0
- package/dist/utils/get-props.d.ts +29 -0
- package/dist/utils/get-props.js +17 -0
- package/dist/utils/get-props.js.map +1 -0
- package/dist/utils/get-props.mjs +1 -0
- package/dist/utils/get-props.mjs.map +1 -0
- package/dist/utils/parse-color.d.mts +14 -0
- package/dist/utils/parse-color.d.ts +14 -0
- package/dist/utils/parse-color.js +49 -0
- package/dist/utils/parse-color.js.map +1 -0
- package/dist/utils/parse-color.mjs +25 -0
- package/dist/utils/parse-color.mjs.map +1 -0
- package/dist/utils/use-controllable-state.d.mts +7 -0
- package/dist/utils/use-controllable-state.d.ts +7 -0
- package/dist/utils/use-controllable-state.js +58 -0
- package/dist/utils/use-controllable-state.js.map +1 -0
- package/dist/utils/use-controllable-state.mjs +24 -0
- package/dist/utils/use-controllable-state.mjs.map +1 -0
- package/package.json +2 -1
- package/dist/index.css.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,1524 +1,81 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
* Parses a color string (hex, rgb, or raw r,g,b) into a raw "r, g, b" string
|
|
83
|
-
* suitable for use with CSS rgba().
|
|
84
|
-
*
|
|
85
|
-
* Supported formats:
|
|
86
|
-
* - Hex: "#7BEB34", "#7beb34", "#abc"
|
|
87
|
-
* - RGB function: "rgb(125, 235, 52)"
|
|
88
|
-
* - Raw: "125, 235, 52"
|
|
89
|
-
*
|
|
90
|
-
* Returns the original string unchanged if parsing fails.
|
|
91
|
-
*/
|
|
92
|
-
declare function parseColor(value: string): string;
|
|
93
|
-
|
|
94
|
-
declare const ColorPropDef: {
|
|
95
|
-
/**
|
|
96
|
-
* Sets the color of the component.
|
|
97
|
-
*
|
|
98
|
-
* Uses predefined theme colors ("primary", "secondary", etc.) or accepts custom color values in hex, rgb, or raw rgb formats.
|
|
99
|
-
*
|
|
100
|
-
* @example color="primary" // primary color
|
|
101
|
-
* @example color="#7BEB34" // hex color
|
|
102
|
-
* @example color="rgb(125, 235, 52)" // rgb color
|
|
103
|
-
* @example color="125, 235, 52" // raw rgb values
|
|
104
|
-
*/
|
|
105
|
-
color: {
|
|
106
|
-
type: "enum | string";
|
|
107
|
-
values: readonly ["primary", "secondary", "tertiary", "accent", "success", "warning", "danger", "info"];
|
|
108
|
-
dataAttr: string;
|
|
109
|
-
className: string;
|
|
110
|
-
transform: typeof parseColor;
|
|
111
|
-
};
|
|
112
|
-
};
|
|
113
|
-
type ColorProp = GetPropDefTypes<typeof ColorPropDef>;
|
|
114
|
-
|
|
115
|
-
declare const MarginPropDefs: {
|
|
116
|
-
/**
|
|
117
|
-
* Sets margin on all sides of the element.
|
|
118
|
-
* Supports scale, auto, inherit, custom, and responsive values.
|
|
119
|
-
*
|
|
120
|
-
* @example m="4" // 16px margin on all sides
|
|
121
|
-
* @example m="-26px" // -26px negative margin custom value
|
|
122
|
-
* @example m={{ initial: "2", md: "4", lg: "8" }} // responsive margins
|
|
123
|
-
*
|
|
124
|
-
* @link
|
|
125
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/margin
|
|
126
|
-
*/
|
|
127
|
-
m: {
|
|
128
|
-
type: "enum | string";
|
|
129
|
-
values: readonly ["auto", "inherit", "-8", "-6", "-5", "-4", "-3", "-2", "-1", "0", "1", "2", "3", "4", "5", "6", "8"];
|
|
130
|
-
dataAttr: string;
|
|
131
|
-
className: string;
|
|
132
|
-
responsive: true;
|
|
133
|
-
};
|
|
134
|
-
/**
|
|
135
|
-
* Sets margin on the top of the element.
|
|
136
|
-
* Supports scale, auto, inherit, custom, and responsive values.
|
|
137
|
-
*
|
|
138
|
-
* @example mt="4" // 16px margin on all sides
|
|
139
|
-
* @example mt="-26px" // -26px negative margin custom value
|
|
140
|
-
* @example mt={{ initial: "2", md: "4", lg: "8" }} // responsive margins
|
|
141
|
-
*
|
|
142
|
-
* @link
|
|
143
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top
|
|
144
|
-
*/
|
|
145
|
-
mt: {
|
|
146
|
-
type: "enum | string";
|
|
147
|
-
values: readonly ["auto", "inherit", "-8", "-6", "-5", "-4", "-3", "-2", "-1", "0", "1", "2", "3", "4", "5", "6", "8"];
|
|
148
|
-
dataAttr: string;
|
|
149
|
-
className: string;
|
|
150
|
-
responsive: true;
|
|
151
|
-
};
|
|
152
|
-
/**
|
|
153
|
-
* Sets margin on the bottom of the element.
|
|
154
|
-
* Supports scale, auto, inherit, custom, and responsive values.
|
|
155
|
-
*
|
|
156
|
-
* @example mb="4" // 16px margin on all sides
|
|
157
|
-
* @example mb="-26px" // -26px negative margin custom value
|
|
158
|
-
* @example mb={{ initial: "2", md: "4", lg: "8" }} // responsive margins
|
|
159
|
-
*
|
|
160
|
-
* @link
|
|
161
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom
|
|
162
|
-
*/
|
|
163
|
-
mb: {
|
|
164
|
-
type: "enum | string";
|
|
165
|
-
values: readonly ["auto", "inherit", "-8", "-6", "-5", "-4", "-3", "-2", "-1", "0", "1", "2", "3", "4", "5", "6", "8"];
|
|
166
|
-
dataAttr: string;
|
|
167
|
-
className: string;
|
|
168
|
-
responsive: true;
|
|
169
|
-
};
|
|
170
|
-
/**
|
|
171
|
-
* Sets margin on the left of the element.
|
|
172
|
-
* Supports scale, auto, inherit, custom, and responsive values.
|
|
173
|
-
*
|
|
174
|
-
* @example ml="4" // 16px margin on all sides
|
|
175
|
-
* @example ml="-26px" // -26px negative margin custom value
|
|
176
|
-
* @example ml={{ initial: "2", md: "4", lg: "8" }} // responsive margins
|
|
177
|
-
*
|
|
178
|
-
* @link
|
|
179
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left
|
|
180
|
-
*/
|
|
181
|
-
ml: {
|
|
182
|
-
type: "enum | string";
|
|
183
|
-
values: readonly ["auto", "inherit", "-8", "-6", "-5", "-4", "-3", "-2", "-1", "0", "1", "2", "3", "4", "5", "6", "8"];
|
|
184
|
-
dataAttr: string;
|
|
185
|
-
className: string;
|
|
186
|
-
responsive: true;
|
|
187
|
-
};
|
|
188
|
-
/**
|
|
189
|
-
* Sets margin on the right of the element.
|
|
190
|
-
* Supports scale, auto, inherit, custom, and responsive values.
|
|
191
|
-
*
|
|
192
|
-
* @example mr="4" // 16px margin on all sides
|
|
193
|
-
* @example mr="-26px" // -26px negative margin custom value
|
|
194
|
-
* @example mr={{ initial: "2", md: "4", lg: "8" }} // responsive margins
|
|
195
|
-
*
|
|
196
|
-
* @link
|
|
197
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right
|
|
198
|
-
*/
|
|
199
|
-
mr: {
|
|
200
|
-
type: "enum | string";
|
|
201
|
-
values: readonly ["auto", "inherit", "-8", "-6", "-5", "-4", "-3", "-2", "-1", "0", "1", "2", "3", "4", "5", "6", "8"];
|
|
202
|
-
dataAttr: string;
|
|
203
|
-
className: string;
|
|
204
|
-
responsive: true;
|
|
205
|
-
};
|
|
206
|
-
/**
|
|
207
|
-
* Sets margin on the left and right (horizontal) sides of the element.
|
|
208
|
-
* Supports scale, auto, inherit, custom, and responsive values.
|
|
209
|
-
*
|
|
210
|
-
* @example mx="4" // 16px horizontal margin
|
|
211
|
-
* @example mx="-26px" // -26px negative horizontal margin custom value
|
|
212
|
-
* @example mx={{ initial: "2", md: "4", lg: "8" }} // responsive horizontal margins
|
|
213
|
-
*
|
|
214
|
-
* @link
|
|
215
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left
|
|
216
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right
|
|
217
|
-
*/
|
|
218
|
-
mx: {
|
|
219
|
-
type: "enum | string";
|
|
220
|
-
values: readonly ["auto", "inherit", "-8", "-6", "-5", "-4", "-3", "-2", "-1", "0", "1", "2", "3", "4", "5", "6", "8"];
|
|
221
|
-
dataAttr: string;
|
|
222
|
-
className: string;
|
|
223
|
-
responsive: true;
|
|
224
|
-
};
|
|
225
|
-
/**
|
|
226
|
-
* Sets margin on the top and bottom (vertical) sides of the element.
|
|
227
|
-
* Supports scale, auto, inherit, custom, and responsive values.
|
|
228
|
-
*
|
|
229
|
-
* @example my="4" // 16px vertical margin
|
|
230
|
-
* @example my="-26px" // -26px negative vertical margin custom value
|
|
231
|
-
* @example my={{ initial: "2", md: "4", lg: "8" }} // responsive vertical margins
|
|
232
|
-
*
|
|
233
|
-
* @link
|
|
234
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top
|
|
235
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom
|
|
236
|
-
*/
|
|
237
|
-
my: {
|
|
238
|
-
type: "enum | string";
|
|
239
|
-
values: readonly ["auto", "inherit", "-8", "-6", "-5", "-4", "-3", "-2", "-1", "0", "1", "2", "3", "4", "5", "6", "8"];
|
|
240
|
-
dataAttr: string;
|
|
241
|
-
className: string;
|
|
242
|
-
responsive: true;
|
|
243
|
-
};
|
|
244
|
-
};
|
|
245
|
-
type MarginProps = GetPropDefTypes<typeof MarginPropDefs>;
|
|
246
|
-
|
|
247
|
-
declare const PaddingPropDefs: {
|
|
248
|
-
/**
|
|
249
|
-
* Sets padding on all sides of the element.
|
|
250
|
-
* Supports scale, inherit, custom, and responsive values.
|
|
251
|
-
*
|
|
252
|
-
* @example p="4" // 16px padding on all sides
|
|
253
|
-
* @example p="26px" // 26px padding custom value
|
|
254
|
-
* @example p={{ initial: "2", md: "4", lg: "8" }} // responsive padding
|
|
255
|
-
*
|
|
256
|
-
* @link
|
|
257
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/padding
|
|
258
|
-
*/
|
|
259
|
-
p: {
|
|
260
|
-
type: "enum | string";
|
|
261
|
-
values: readonly ["inherit", "0", "1", "2", "3", "4", "5", "6", "8"];
|
|
262
|
-
dataAttr: string;
|
|
263
|
-
className: string;
|
|
264
|
-
responsive: true;
|
|
265
|
-
};
|
|
266
|
-
/**
|
|
267
|
-
* Sets padding on the top of the element.
|
|
268
|
-
* Supports scale, inherit, custom, and responsive values.
|
|
269
|
-
*
|
|
270
|
-
* @example pt="4" // 16px top padding
|
|
271
|
-
* @example pt="26px" // 26px top padding custom value
|
|
272
|
-
* @example pt={{ initial: "2", md: "4", lg: "8" }} // responsive top padding
|
|
273
|
-
*
|
|
274
|
-
* @link
|
|
275
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/padding-top
|
|
276
|
-
*/
|
|
277
|
-
pt: {
|
|
278
|
-
type: "enum | string";
|
|
279
|
-
values: readonly ["inherit", "0", "1", "2", "3", "4", "5", "6", "8"];
|
|
280
|
-
dataAttr: string;
|
|
281
|
-
className: string;
|
|
282
|
-
responsive: true;
|
|
283
|
-
};
|
|
284
|
-
/**
|
|
285
|
-
* Sets padding on the bottom of the element.
|
|
286
|
-
* Supports scale, inherit, custom, and responsive values.
|
|
287
|
-
*
|
|
288
|
-
* @example pb="4" // 16px bottom padding
|
|
289
|
-
* @example pb="26px" // 26px bottom padding custom value
|
|
290
|
-
* @example pb={{ initial: "2", md: "4", lg: "8" }} // responsive bottom padding
|
|
291
|
-
*
|
|
292
|
-
* @link
|
|
293
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/padding-bottom
|
|
294
|
-
*/
|
|
295
|
-
pb: {
|
|
296
|
-
type: "enum | string";
|
|
297
|
-
values: readonly ["inherit", "0", "1", "2", "3", "4", "5", "6", "8"];
|
|
298
|
-
dataAttr: string;
|
|
299
|
-
className: string;
|
|
300
|
-
responsive: true;
|
|
301
|
-
};
|
|
302
|
-
/**
|
|
303
|
-
* Sets padding on the left of the element.
|
|
304
|
-
* Supports scale, inherit, custom, and responsive values.
|
|
305
|
-
*
|
|
306
|
-
* @example pl="4" // 16px left padding
|
|
307
|
-
* @example pl="26px" // 26px left padding custom value
|
|
308
|
-
* @example pl={{ initial: "2", md: "4", lg: "8" }} // responsive left padding
|
|
309
|
-
*
|
|
310
|
-
* @link
|
|
311
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/padding-left
|
|
312
|
-
*/
|
|
313
|
-
pl: {
|
|
314
|
-
type: "enum | string";
|
|
315
|
-
values: readonly ["inherit", "0", "1", "2", "3", "4", "5", "6", "8"];
|
|
316
|
-
dataAttr: string;
|
|
317
|
-
className: string;
|
|
318
|
-
responsive: true;
|
|
319
|
-
};
|
|
320
|
-
/**
|
|
321
|
-
* Sets padding on the right of the element.
|
|
322
|
-
* Supports scale, inherit, custom, and responsive values.
|
|
323
|
-
*
|
|
324
|
-
* @example pr="4" // 16px right padding
|
|
325
|
-
* @example pr="26px" // 26px right padding custom value
|
|
326
|
-
* @example pr={{ initial: "2", md: "4", lg: "8" }} // responsive right padding
|
|
327
|
-
*
|
|
328
|
-
* @link
|
|
329
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/padding-right
|
|
330
|
-
*/
|
|
331
|
-
pr: {
|
|
332
|
-
type: "enum | string";
|
|
333
|
-
values: readonly ["inherit", "0", "1", "2", "3", "4", "5", "6", "8"];
|
|
334
|
-
dataAttr: string;
|
|
335
|
-
className: string;
|
|
336
|
-
responsive: true;
|
|
337
|
-
};
|
|
338
|
-
/**
|
|
339
|
-
* Sets padding on the left and right (horizontal) sides of the element.
|
|
340
|
-
* Supports scale, inherit, custom, and responsive values.
|
|
341
|
-
*
|
|
342
|
-
* @example px="4" // 16px horizontal padding
|
|
343
|
-
* @example px="26px" // 26px horizontal padding custom value
|
|
344
|
-
* @example px={{ initial: "2", md: "4", lg: "8" }} // responsive horizontal padding
|
|
345
|
-
*
|
|
346
|
-
* @link
|
|
347
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/padding-left
|
|
348
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/padding-right
|
|
349
|
-
*/
|
|
350
|
-
px: {
|
|
351
|
-
type: "enum | string";
|
|
352
|
-
values: readonly ["inherit", "0", "1", "2", "3", "4", "5", "6", "8"];
|
|
353
|
-
dataAttr: string;
|
|
354
|
-
className: string;
|
|
355
|
-
responsive: true;
|
|
356
|
-
};
|
|
357
|
-
/**
|
|
358
|
-
* Sets padding on the top and bottom (vertical) sides of the element.
|
|
359
|
-
* Supports scale, inherit, custom, and responsive values.
|
|
360
|
-
*
|
|
361
|
-
* @example py="4" // 16px vertical padding
|
|
362
|
-
* @example py="26px" // 26px vertical padding custom value
|
|
363
|
-
* @example py={{ initial: "2", md: "4", lg: "8" }} // responsive vertical padding
|
|
364
|
-
*
|
|
365
|
-
* @link
|
|
366
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/padding-top
|
|
367
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/padding-bottom
|
|
368
|
-
*/
|
|
369
|
-
py: {
|
|
370
|
-
type: "enum | string";
|
|
371
|
-
values: readonly ["inherit", "0", "1", "2", "3", "4", "5", "6", "8"];
|
|
372
|
-
dataAttr: string;
|
|
373
|
-
className: string;
|
|
374
|
-
responsive: true;
|
|
375
|
-
};
|
|
376
|
-
};
|
|
377
|
-
type PaddingProps = GetPropDefTypes<typeof PaddingPropDefs>;
|
|
378
|
-
|
|
379
|
-
declare const RadiusPropDefs: {
|
|
380
|
-
/**
|
|
381
|
-
* Sets the border-radius of the element.
|
|
382
|
-
* Supports scaled, inherit, custom, and responsive values.
|
|
383
|
-
*
|
|
384
|
-
* @example radius="md" // medium border-radius
|
|
385
|
-
* @example radius="26px" // 26px border-radius custom value
|
|
386
|
-
* @example radius={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
387
|
-
*
|
|
388
|
-
* @default "theme" // uses the theme's default border-radius value or none if not set
|
|
389
|
-
*
|
|
390
|
-
* @link
|
|
391
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius
|
|
392
|
-
*/
|
|
393
|
-
radius: {
|
|
394
|
-
type: "enum | string";
|
|
395
|
-
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
396
|
-
default: "theme";
|
|
397
|
-
dataAttr: string;
|
|
398
|
-
className: string;
|
|
399
|
-
responsive: true;
|
|
400
|
-
};
|
|
401
|
-
/**
|
|
402
|
-
* Sets the top border-radius of the element.
|
|
403
|
-
* Supports scaled, inherit, custom, and responsive values.
|
|
404
|
-
*
|
|
405
|
-
* @example radius-t="md" // medium border-radius
|
|
406
|
-
* @example radius-t="26px" // 26px border-radius custom value
|
|
407
|
-
* @example radius-t={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
408
|
-
*
|
|
409
|
-
* @link
|
|
410
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-left-radius
|
|
411
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-right-radius
|
|
412
|
-
*/
|
|
413
|
-
"radius-t": {
|
|
414
|
-
type: "enum | string";
|
|
415
|
-
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
416
|
-
dataAttr: string;
|
|
417
|
-
className: string;
|
|
418
|
-
responsive: true;
|
|
419
|
-
};
|
|
420
|
-
/**
|
|
421
|
-
* Sets the right border-radius of the element.
|
|
422
|
-
* Supports scaled, inherit, custom, and responsive values.
|
|
423
|
-
*
|
|
424
|
-
* @example radius-r="md" // medium border-radius
|
|
425
|
-
* @example radius-r="26px" // 26px border-radius custom value
|
|
426
|
-
* @example radius-r={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
427
|
-
*
|
|
428
|
-
* @link
|
|
429
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-right-radius
|
|
430
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius
|
|
431
|
-
*/
|
|
432
|
-
"radius-r": {
|
|
433
|
-
type: "enum | string";
|
|
434
|
-
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
435
|
-
dataAttr: string;
|
|
436
|
-
className: string;
|
|
437
|
-
responsive: true;
|
|
438
|
-
};
|
|
439
|
-
/**
|
|
440
|
-
* Sets the bottom border-radius of the element.
|
|
441
|
-
* Supports scaled, inherit, custom, and responsive values.
|
|
442
|
-
*
|
|
443
|
-
* @example radius-b="md" // medium border-radius
|
|
444
|
-
* @example radius-b="26px" // 26px border-radius custom value
|
|
445
|
-
* @example radius-b={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
446
|
-
*
|
|
447
|
-
* @link
|
|
448
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-left-radius
|
|
449
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius
|
|
450
|
-
*/
|
|
451
|
-
"radius-b": {
|
|
452
|
-
type: "enum | string";
|
|
453
|
-
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
454
|
-
dataAttr: string;
|
|
455
|
-
className: string;
|
|
456
|
-
responsive: true;
|
|
457
|
-
};
|
|
458
|
-
/**
|
|
459
|
-
* Sets the left border-radius of the element.
|
|
460
|
-
* Supports scaled, inherit, custom, and responsive values.
|
|
461
|
-
*
|
|
462
|
-
* @example radius-l="md" // medium border-radius
|
|
463
|
-
* @example radius-l="26px" // 26px border-radius custom value
|
|
464
|
-
* @example radius-l={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
465
|
-
*
|
|
466
|
-
* @link
|
|
467
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-left-top-radius
|
|
468
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-left-bottom-radius
|
|
469
|
-
*/
|
|
470
|
-
"radius-l": {
|
|
471
|
-
type: "enum | string";
|
|
472
|
-
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
473
|
-
dataAttr: string;
|
|
474
|
-
className: string;
|
|
475
|
-
responsive: true;
|
|
476
|
-
};
|
|
477
|
-
/**
|
|
478
|
-
* Sets the top-left border-radius of the element.
|
|
479
|
-
* Supports scaled, inherit, custom, and responsive values.
|
|
480
|
-
*
|
|
481
|
-
* @example radius-tl="md" // medium border-radius
|
|
482
|
-
* @example radius-tl="26px" // 26px border-radius custom value
|
|
483
|
-
* @example radius-tl={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
484
|
-
*
|
|
485
|
-
* @link
|
|
486
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-left-radius
|
|
487
|
-
*/
|
|
488
|
-
"radius-tl": {
|
|
489
|
-
type: "enum | string";
|
|
490
|
-
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
491
|
-
dataAttr: string;
|
|
492
|
-
className: string;
|
|
493
|
-
responsive: true;
|
|
494
|
-
};
|
|
495
|
-
/**
|
|
496
|
-
* Sets the top-right border-radius of the element.
|
|
497
|
-
* Supports scaled, inherit, custom, and responsive values.
|
|
498
|
-
*
|
|
499
|
-
* @example "radius-tr"="md" // medium border-radius
|
|
500
|
-
* @example "radius-tr"="26px" // 26px border-radius custom value
|
|
501
|
-
* @example "radius-tr"={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
502
|
-
*
|
|
503
|
-
* @link
|
|
504
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-right-radius
|
|
505
|
-
*/
|
|
506
|
-
"radius-tr": {
|
|
507
|
-
type: "enum | string";
|
|
508
|
-
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
509
|
-
dataAttr: string;
|
|
510
|
-
className: string;
|
|
511
|
-
responsive: true;
|
|
512
|
-
};
|
|
513
|
-
/**
|
|
514
|
-
* Sets the bottom-right border-radius of the element.
|
|
515
|
-
* Supports scaled, inherit, custom, and responsive values.
|
|
516
|
-
*
|
|
517
|
-
* @example "radius-br"="md" // medium border-radius
|
|
518
|
-
* @example "radius-br"="26px" // 26px border-radius custom value
|
|
519
|
-
* @example "radius-br"={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
520
|
-
*
|
|
521
|
-
* @link
|
|
522
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius
|
|
523
|
-
*/
|
|
524
|
-
"radius-br": {
|
|
525
|
-
type: "enum | string";
|
|
526
|
-
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
527
|
-
dataAttr: string;
|
|
528
|
-
className: string;
|
|
529
|
-
responsive: true;
|
|
530
|
-
};
|
|
531
|
-
/**
|
|
532
|
-
* Sets the bottom-left border-radius of the element.
|
|
533
|
-
* Supports scaled, inherit, custom, and responsive values.
|
|
534
|
-
*
|
|
535
|
-
* @example "radius-bl"="md" // medium border-radius
|
|
536
|
-
* @example "radius-bl"="26px" // 26px border-radius custom value
|
|
537
|
-
* @example "radius-bl"={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
538
|
-
*
|
|
539
|
-
* @link
|
|
540
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-left-radius
|
|
541
|
-
*/
|
|
542
|
-
"radius-bl": {
|
|
543
|
-
type: "enum | string";
|
|
544
|
-
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
545
|
-
dataAttr: string;
|
|
546
|
-
className: string;
|
|
547
|
-
responsive: true;
|
|
548
|
-
};
|
|
549
|
-
};
|
|
550
|
-
type RadiusProps = GetPropDefTypes<typeof RadiusPropDefs>;
|
|
551
|
-
|
|
552
|
-
declare const RoundnessPropDef: {
|
|
553
|
-
/**
|
|
554
|
-
* Sets the roundness multiplier for the element's radius.
|
|
555
|
-
* Supports scaled and inherit values.
|
|
556
|
-
*
|
|
557
|
-
* @example roundness="4" // 8px base roundness
|
|
558
|
-
* @example roundness="inherit" // inherits roundness from parent
|
|
559
|
-
*
|
|
560
|
-
* @default "theme" // uses the theme's default roundness value or none if not set
|
|
561
|
-
*/
|
|
562
|
-
roundness: {
|
|
563
|
-
type: "enum";
|
|
564
|
-
values: readonly ["1", "2", "3", "4", "5", "6", "inherit"];
|
|
565
|
-
default: "theme";
|
|
566
|
-
dataAttr: string;
|
|
567
|
-
};
|
|
568
|
-
};
|
|
569
|
-
type RoundnessProp = GetPropDefTypes<typeof RoundnessPropDef>;
|
|
570
|
-
|
|
571
|
-
declare const SizePropDef: {
|
|
572
|
-
/**
|
|
573
|
-
* Sets the size of the component.
|
|
574
|
-
*
|
|
575
|
-
* @example size="md" // medium sized component
|
|
576
|
-
*/
|
|
577
|
-
size: {
|
|
578
|
-
type: "enum | string";
|
|
579
|
-
values: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
580
|
-
dataAttr: string;
|
|
581
|
-
className: string;
|
|
582
|
-
};
|
|
583
|
-
};
|
|
584
|
-
type SizeProp = GetPropDefTypes<typeof SizePropDef>;
|
|
585
|
-
|
|
586
|
-
declare const SpacingPropDef: {
|
|
587
|
-
/**
|
|
588
|
-
* Sets the spacing scale for the component.
|
|
589
|
-
* This multiplier affects various layout properties such as margin, padding, and gap values.
|
|
590
|
-
*
|
|
591
|
-
* @example spacing="md" // medium spacing scale (1)
|
|
592
|
-
* @example spacing={{ initial: "sm", lg: "xl" }} // responsive spacing
|
|
593
|
-
*
|
|
594
|
-
* @default "theme" // uses the theme's default spacing value or none if not set
|
|
595
|
-
*/
|
|
596
|
-
spacing: {
|
|
597
|
-
type: "enum";
|
|
598
|
-
values: readonly ["xs", "sm", "md", "lg", "xl", "inherit"];
|
|
599
|
-
dataAttr: string;
|
|
600
|
-
default: "theme";
|
|
601
|
-
responsive: true;
|
|
602
|
-
};
|
|
603
|
-
};
|
|
604
|
-
type SpacingProp = GetPropDefTypes<typeof SpacingPropDef>;
|
|
605
|
-
|
|
606
|
-
declare const AccordionContentPropDefs: {};
|
|
607
|
-
type AccordionContentInternalProps = GetPropDefTypes<typeof AccordionContentPropDefs>;
|
|
608
|
-
|
|
609
|
-
interface AllAccordionContentProps extends AccordionContentInternalProps, PaddingProps {
|
|
610
|
-
}
|
|
611
|
-
type AccordionContentProps = AllAccordionContentProps & Omit<React.HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
612
|
-
children?: React.ReactNode;
|
|
613
|
-
};
|
|
614
|
-
|
|
615
|
-
declare const AccordionHeaderPropDefs: {
|
|
616
|
-
/** The value of the parent AccordionItem — injected automatically */
|
|
617
|
-
value: {
|
|
618
|
-
type: "string";
|
|
619
|
-
};
|
|
620
|
-
};
|
|
621
|
-
type AccordionHeaderInternalProps = GetPropDefTypes<typeof AccordionHeaderPropDefs>;
|
|
622
|
-
|
|
623
|
-
interface AllAccordionHeaderProps extends AccordionHeaderInternalProps, PaddingProps {
|
|
624
|
-
}
|
|
625
|
-
type AccordionHeaderProps = AllAccordionHeaderProps & Omit<React.HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
626
|
-
children?: React.ReactNode;
|
|
627
|
-
};
|
|
628
|
-
|
|
629
|
-
declare const AccordionItemPropDefs: {
|
|
630
|
-
/**
|
|
631
|
-
* Sets the accordion item to be open by default.
|
|
632
|
-
*/
|
|
633
|
-
readonly open: {
|
|
634
|
-
type: "boolean";
|
|
635
|
-
};
|
|
636
|
-
/**
|
|
637
|
-
* The value of the accordion item. Automatically generated if not provided.
|
|
638
|
-
*/
|
|
639
|
-
readonly value: {
|
|
640
|
-
type: "string";
|
|
641
|
-
};
|
|
642
|
-
};
|
|
643
|
-
type AccordionItemInternalProps = GetPropDefTypes<typeof AccordionItemPropDefs>;
|
|
644
|
-
|
|
645
|
-
interface AllAccordionItemProps extends AccordionItemInternalProps {
|
|
646
|
-
}
|
|
647
|
-
/**
|
|
648
|
-
* An individual item within an accordion. Contains the header and content for a single section of the accordion.
|
|
649
|
-
*/
|
|
650
|
-
type AccordionItemProps = AllAccordionItemProps & Omit<React__default.HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
651
|
-
children?: React__default.ReactNode;
|
|
652
|
-
};
|
|
653
|
-
|
|
654
|
-
/**
|
|
655
|
-
* Type utility to restrict children to specific React element types.
|
|
656
|
-
* Use with Omit<Props, 'children'> & StrictChildren<AllowedProps>
|
|
657
|
-
*
|
|
658
|
-
* @example
|
|
659
|
-
* type MyComponentProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>
|
|
660
|
-
* & StrictChildren<ChildAProps | ChildBProps>;
|
|
661
|
-
*/
|
|
662
|
-
type StrictChildren<AllowedChildProps> = {
|
|
663
|
-
children: React$1.ReactElement<AllowedChildProps> | React$1.ReactElement<AllowedChildProps>[];
|
|
664
|
-
};
|
|
665
|
-
/**
|
|
666
|
-
* Type utility to replace the children prop with strictly typed children.
|
|
667
|
-
* Combines Omit and StrictChildren in one step.
|
|
668
|
-
*
|
|
669
|
-
* @example
|
|
670
|
-
* type MyComponentProps = WithStrictChildren<
|
|
671
|
-
* React.HTMLAttributes<HTMLDivElement>,
|
|
672
|
-
* ChildAProps | ChildBProps
|
|
673
|
-
* >;
|
|
674
|
-
*/
|
|
675
|
-
type WithStrictChildren<Props extends {
|
|
676
|
-
children?: React$1.ReactNode;
|
|
677
|
-
}, AllowedChildProps> = Omit<Props, "children"> & StrictChildren<AllowedChildProps>;
|
|
678
|
-
/**
|
|
679
|
-
* Like WithStrictChildren, but children are optional.
|
|
680
|
-
* When provided, children are still restricted to the allowed types.
|
|
681
|
-
*/
|
|
682
|
-
type WithOptionalStrictChildren<Props extends {
|
|
683
|
-
children?: React$1.ReactNode;
|
|
684
|
-
}, AllowedChildProps> = Omit<Props, "children"> & Partial<StrictChildren<AllowedChildProps>>;
|
|
685
|
-
|
|
686
|
-
declare const AccordionRootPropsDefs: {
|
|
687
|
-
/**
|
|
688
|
-
* Sets the variant style of the accordion ("solid", "outlined", or "muted").
|
|
689
|
-
*/
|
|
690
|
-
variant: {
|
|
691
|
-
type: "enum";
|
|
692
|
-
values: readonly ["solid", "outlined", "muted"];
|
|
693
|
-
dataAttr: string;
|
|
694
|
-
};
|
|
695
|
-
/**
|
|
696
|
-
* Allows multiple accordion items to be expanded simultaneously when set to true.
|
|
697
|
-
*/
|
|
698
|
-
multiple: {
|
|
699
|
-
type: "boolean";
|
|
700
|
-
};
|
|
701
|
-
/**
|
|
702
|
-
* The value of the accordion.
|
|
703
|
-
*/
|
|
704
|
-
value: ValueOrArrayPropDef<string>;
|
|
705
|
-
/**
|
|
706
|
-
* Callback fired when the value of the accordion changes.
|
|
707
|
-
*/
|
|
708
|
-
onValueChange: FunctionPropDef<(value: string | string[] | null) => void>;
|
|
709
|
-
};
|
|
710
|
-
type AccordionRootInternalProps = GetPropDefTypes<typeof AccordionRootPropsDefs>;
|
|
711
|
-
|
|
712
|
-
interface AllAccordionRootProps extends AccordionRootInternalProps, SizeProp {
|
|
713
|
-
}
|
|
714
|
-
/**
|
|
715
|
-
* A versatile Accordion component, managing state, context, and styling.
|
|
716
|
-
*/
|
|
717
|
-
type AccordionRootProps = AllAccordionRootProps & WithStrictChildren<HTMLAttributes<HTMLDivElement>, AccordionItemProps>;
|
|
718
|
-
|
|
719
|
-
declare const Accordion: React$1.FC<AccordionRootProps> & {
|
|
720
|
-
Root: React$1.FC<AccordionRootProps>;
|
|
721
|
-
Item: React$1.FC<AccordionItemProps>;
|
|
722
|
-
Header: React$1.FC<AccordionHeaderProps>;
|
|
723
|
-
Content: React$1.FC<AccordionContentProps>;
|
|
724
|
-
};
|
|
725
|
-
|
|
726
|
-
declare const BadgeRootPropsDefs: {
|
|
727
|
-
/**
|
|
728
|
-
* Sets the variant style of the badge ("solid", "outlined", "muted", or "clear").
|
|
729
|
-
*/
|
|
730
|
-
readonly variant: {
|
|
731
|
-
type: "enum";
|
|
732
|
-
values: readonly ["solid", "outlined", "muted", "clear"];
|
|
733
|
-
dataAttr: string;
|
|
734
|
-
};
|
|
735
|
-
};
|
|
736
|
-
type BadgeRootInternalProps = GetPropDefTypes<typeof BadgeRootPropsDefs>;
|
|
737
|
-
|
|
738
|
-
interface AllBadgeRootProps extends BadgeRootInternalProps, ColorProp, MarginProps, PaddingProps, RadiusProps, SizeProp {
|
|
739
|
-
}
|
|
740
|
-
type BadgeRootProps = AllBadgeRootProps & React.HTMLAttributes<HTMLDivElement>;
|
|
741
|
-
declare const Badge: React.FC<BadgeRootProps>;
|
|
742
|
-
|
|
743
|
-
interface BoxExternalProps extends MarginProps, PaddingProps, SpacingProp, RadiusProps, RoundnessProp {
|
|
744
|
-
}
|
|
745
|
-
/**
|
|
746
|
-
* A versatile container used to provide layout and styling capabilities.
|
|
747
|
-
*/
|
|
748
|
-
declare const Box: React$1.ForwardRefExoticComponent<GetPropDefTypes<{}> & BoxExternalProps & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
749
|
-
|
|
750
|
-
declare const ButtonRootPropsDefs: {
|
|
751
|
-
/**
|
|
752
|
-
* Sets the variant style of the button ("solid", "outlined", "muted", or "clear").
|
|
753
|
-
*/
|
|
754
|
-
readonly variant: {
|
|
755
|
-
type: "enum";
|
|
756
|
-
values: readonly ["solid", "outlined", "muted", "clear"];
|
|
757
|
-
dataAttr: string;
|
|
758
|
-
};
|
|
759
|
-
/**
|
|
760
|
-
* Enables high contrast mode for better visibility.
|
|
761
|
-
* @default undefined
|
|
762
|
-
*/
|
|
763
|
-
readonly highContrast: {
|
|
764
|
-
type: "boolean";
|
|
765
|
-
dataAttr: string;
|
|
766
|
-
};
|
|
767
|
-
/**
|
|
768
|
-
* Disables the button component.
|
|
769
|
-
* @default undefined
|
|
770
|
-
*/
|
|
771
|
-
readonly disabled: {
|
|
772
|
-
type: "boolean";
|
|
773
|
-
dataAttr: string;
|
|
774
|
-
};
|
|
775
|
-
/**
|
|
776
|
-
* Makes the button read-only.
|
|
777
|
-
* @default undefined
|
|
778
|
-
*/
|
|
779
|
-
readonly readonly: {
|
|
780
|
-
type: "boolean";
|
|
781
|
-
dataAttr: string;
|
|
782
|
-
};
|
|
783
|
-
};
|
|
784
|
-
type ButtonRootInternalProps = GetPropDefTypes<typeof ButtonRootPropsDefs>;
|
|
785
|
-
|
|
786
|
-
interface AllButtonRootProps extends ButtonRootInternalProps, ColorProp, MarginProps, PaddingProps, RadiusProps, SizeProp {
|
|
787
|
-
}
|
|
788
|
-
type ButtonRootProps = AllButtonRootProps & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
789
|
-
declare const Button: React.FC<ButtonRootProps>;
|
|
790
|
-
|
|
791
|
-
declare const CheckboxIndicatorPropDefs: {
|
|
792
|
-
/**
|
|
793
|
-
* Sets the variant style of the checkbox ("solid" or "outlined").
|
|
794
|
-
*/
|
|
795
|
-
readonly variant: {
|
|
796
|
-
type: "enum";
|
|
797
|
-
values: readonly ["solid", "outlined", "muted"];
|
|
798
|
-
dataAttr: string;
|
|
799
|
-
};
|
|
800
|
-
};
|
|
801
|
-
type CheckboxIndicatorInternalProps = GetPropDefTypes<typeof CheckboxIndicatorPropDefs>;
|
|
802
|
-
|
|
803
|
-
interface AllCheckboxIndicatorProps extends CheckboxIndicatorInternalProps, SizeProp {
|
|
804
|
-
}
|
|
805
|
-
type CheckboxIndicatorProps = AllCheckboxIndicatorProps & Omit<React__default.HTMLAttributes<HTMLSpanElement>, "children">;
|
|
806
|
-
|
|
807
|
-
declare const CheckboxLabelPropDefs: {
|
|
808
|
-
/**
|
|
809
|
-
* Sets the position of the label relative to the checkbox.
|
|
810
|
-
*
|
|
811
|
-
* @example position="left" // positions the label to the left of the checkbox
|
|
812
|
-
* @example position="top" // positions the label above the checkbox
|
|
813
|
-
*/
|
|
814
|
-
readonly position: {
|
|
815
|
-
type: "enum";
|
|
816
|
-
values: readonly ["top", "left", "right", "bottom"];
|
|
817
|
-
dataAttr: string;
|
|
818
|
-
};
|
|
819
|
-
};
|
|
820
|
-
type CheckboxLabelInternalProps = GetPropDefTypes<typeof CheckboxLabelPropDefs>;
|
|
821
|
-
|
|
822
|
-
interface AllCheckboxLabelProps extends CheckboxLabelInternalProps {
|
|
823
|
-
}
|
|
824
|
-
type CheckboxLabelProps = AllCheckboxLabelProps & Omit<React__default.HTMLAttributes<HTMLLabelElement>, "children"> & {
|
|
825
|
-
children?: React__default.ReactNode;
|
|
826
|
-
};
|
|
827
|
-
|
|
828
|
-
declare const CheckboxRootPropsDefs: {
|
|
829
|
-
/**
|
|
830
|
-
* Sets the variant style of the checkbox ("solid" or "outlined").
|
|
831
|
-
*/
|
|
832
|
-
readonly variant: {
|
|
833
|
-
type: "enum";
|
|
834
|
-
values: readonly ["solid", "outlined", "muted"];
|
|
835
|
-
dataAttr: string;
|
|
836
|
-
};
|
|
837
|
-
/**
|
|
838
|
-
* Sets the checked state of the checkbox.
|
|
839
|
-
*
|
|
840
|
-
* When using an uncontrolled checkbox, use `defaultChecked` instead.
|
|
841
|
-
* @default undefined
|
|
842
|
-
*/
|
|
843
|
-
readonly checked: {
|
|
844
|
-
type: "boolean";
|
|
845
|
-
dataAttr: string;
|
|
846
|
-
};
|
|
847
|
-
/**
|
|
848
|
-
* Sets the indeterminate state of the checkbox.
|
|
849
|
-
* @default undefined
|
|
850
|
-
*/
|
|
851
|
-
readonly indeterminate: {
|
|
852
|
-
type: "boolean";
|
|
853
|
-
dataAttr: string;
|
|
854
|
-
};
|
|
855
|
-
/**
|
|
856
|
-
* Enables high contrast mode for better visibility.
|
|
857
|
-
* @default undefined
|
|
858
|
-
*/
|
|
859
|
-
readonly highContrast: {
|
|
860
|
-
type: "boolean";
|
|
861
|
-
dataAttr: string;
|
|
862
|
-
};
|
|
863
|
-
/**
|
|
864
|
-
* The value of the checkbox (checked state).
|
|
865
|
-
*/
|
|
866
|
-
readonly value: {
|
|
867
|
-
type: "boolean";
|
|
868
|
-
};
|
|
869
|
-
/**
|
|
870
|
-
* Sets the default checked state of the checkbox.
|
|
871
|
-
* @default undefined
|
|
872
|
-
*/
|
|
873
|
-
readonly defaultChecked: {
|
|
874
|
-
type: "boolean";
|
|
875
|
-
};
|
|
876
|
-
/**
|
|
877
|
-
* Disables the checkbox component.
|
|
878
|
-
* @default undefined
|
|
879
|
-
*/
|
|
880
|
-
readonly disabled: {
|
|
881
|
-
type: "boolean";
|
|
882
|
-
dataAttr: string;
|
|
883
|
-
};
|
|
884
|
-
/**
|
|
885
|
-
* Makes the checkbox read-only.
|
|
886
|
-
* @default undefined
|
|
887
|
-
*/
|
|
888
|
-
readonly readonly: {
|
|
889
|
-
type: "boolean";
|
|
890
|
-
dataAttr: string;
|
|
891
|
-
};
|
|
892
|
-
/**
|
|
893
|
-
* Marks the checkbox as required.
|
|
894
|
-
* @default undefined
|
|
895
|
-
*/
|
|
896
|
-
readonly required: {
|
|
897
|
-
type: "boolean";
|
|
898
|
-
dataAttr: string;
|
|
899
|
-
};
|
|
900
|
-
/**
|
|
901
|
-
* Sets the name attribute of the checkbox input for form control.
|
|
902
|
-
* @default undefined
|
|
903
|
-
*/
|
|
904
|
-
readonly name: {
|
|
905
|
-
type: "string";
|
|
906
|
-
};
|
|
907
|
-
/**
|
|
908
|
-
* Callback fired when the checked state changes.
|
|
909
|
-
*
|
|
910
|
-
* @param value - The new checked state.
|
|
911
|
-
*/
|
|
912
|
-
readonly onCheckedChange: FunctionPropDef<(value: boolean) => void>;
|
|
913
|
-
};
|
|
914
|
-
type CheckboxRootInternalProps = GetPropDefTypes<typeof CheckboxRootPropsDefs>;
|
|
915
|
-
|
|
916
|
-
interface AllCheckboxRootProps extends CheckboxRootInternalProps, AlignProp, ColorProp, MarginProps, SizeProp {
|
|
917
|
-
}
|
|
918
|
-
/**
|
|
919
|
-
* A versatile Checkbox, managing state, context, and styling.
|
|
920
|
-
*/
|
|
921
|
-
type CheckboxRootProps = AllCheckboxRootProps & WithStrictChildren<HTMLAttributes<HTMLDivElement>, CheckboxLabelProps | CheckboxIndicatorProps>;
|
|
922
|
-
|
|
923
|
-
declare const Checkbox: React$1.FC<CheckboxRootProps> & {
|
|
924
|
-
Root: React$1.FC<CheckboxRootProps>;
|
|
925
|
-
Label: React$1.ForwardRefExoticComponent<AllCheckboxLabelProps & Omit<React$1.HTMLAttributes<HTMLLabelElement>, "children"> & {
|
|
926
|
-
children?: React.ReactNode;
|
|
927
|
-
} & React$1.RefAttributes<HTMLLabelElement>>;
|
|
928
|
-
Indicator: React$1.FC<CheckboxIndicatorProps>;
|
|
929
|
-
};
|
|
930
|
-
|
|
931
|
-
declare const Container: React$1.ForwardRefExoticComponent<{} & {
|
|
932
|
-
direction?: "row" | "column" | undefined;
|
|
933
|
-
} & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
934
|
-
|
|
935
|
-
interface FlexExternalProps extends MarginProps, PaddingProps, SpacingProp {
|
|
936
|
-
}
|
|
937
|
-
/**
|
|
938
|
-
* A versatile container used to provide layout and styling capabilities.
|
|
939
|
-
*/
|
|
940
|
-
declare const Flex: React$1.ForwardRefExoticComponent<GetPropDefTypes<{
|
|
941
|
-
readonly gap: {
|
|
942
|
-
type: "enum | string";
|
|
943
|
-
values: readonly ["0", "1", "2", "3", "4", "5", "6", "8"];
|
|
944
|
-
dataAttr: string;
|
|
945
|
-
responsive: true;
|
|
946
|
-
};
|
|
947
|
-
readonly justify: {
|
|
948
|
-
type: "enum";
|
|
949
|
-
values: readonly ["start", "end", "center", "between", "around", "evenly"];
|
|
950
|
-
dataAttr: string;
|
|
951
|
-
responsive: true;
|
|
952
|
-
};
|
|
953
|
-
readonly direction: {
|
|
954
|
-
type: "enum";
|
|
955
|
-
values: readonly ["row", "row-reverse", "column", "column-reverse"];
|
|
956
|
-
dataAttr: string;
|
|
957
|
-
responsive: true;
|
|
958
|
-
};
|
|
959
|
-
readonly align: {
|
|
960
|
-
type: "enum";
|
|
961
|
-
values: readonly ["start", "end", "center", "stretch", "baseline"];
|
|
962
|
-
dataAttr: string;
|
|
963
|
-
responsive: true;
|
|
964
|
-
};
|
|
965
|
-
readonly wrap: {
|
|
966
|
-
type: "enum";
|
|
967
|
-
values: readonly ["nowrap", "wrap", "wrap-reverse"];
|
|
968
|
-
dataAttr: string;
|
|
969
|
-
responsive: true;
|
|
970
|
-
};
|
|
971
|
-
}> & FlexExternalProps & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
972
|
-
|
|
973
|
-
interface PanelExternalProps extends MarginProps, PaddingProps, SpacingProp, RadiusProps, RoundnessProp, ColorProp {
|
|
974
|
-
}
|
|
975
|
-
/**
|
|
976
|
-
* A versatile container used to provide layout and styling capabilities.
|
|
977
|
-
*/
|
|
978
|
-
declare const Panel: React$1.ForwardRefExoticComponent<GetPropDefTypes<{
|
|
979
|
-
readonly variant: {
|
|
980
|
-
type: "enum";
|
|
981
|
-
values: readonly ["solid", "outlined", "muted"];
|
|
982
|
-
dataAttr: string;
|
|
983
|
-
};
|
|
984
|
-
readonly blur: {
|
|
985
|
-
type: "string";
|
|
986
|
-
default: string;
|
|
987
|
-
cssProperty: string;
|
|
988
|
-
};
|
|
989
|
-
}> & PanelExternalProps & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
990
|
-
|
|
991
|
-
declare const variants: readonly ["clear", "shadow", "blurred"];
|
|
992
|
-
type PortalBackdropInternalProps = {
|
|
993
|
-
/**
|
|
994
|
-
* The visual style variant of the backdrop.
|
|
995
|
-
*
|
|
996
|
-
* @example variant="blurred" // Applies a blurred effect to the backdrop
|
|
997
|
-
* @default "clear"
|
|
998
|
-
*/
|
|
999
|
-
variant?: (typeof variants)[number];
|
|
1000
|
-
/**
|
|
1001
|
-
* The opacity level of the backdrop.
|
|
1002
|
-
*
|
|
1003
|
-
* @example opacity="0.5" // Sets the backdrop opacity to 50%
|
|
1004
|
-
* @default "0.3"
|
|
1005
|
-
*/
|
|
1006
|
-
opacity?: string;
|
|
1007
|
-
/**
|
|
1008
|
-
* The blur amount applied to the backdrop when the "blurred" variant is used.
|
|
1009
|
-
*
|
|
1010
|
-
* @example blur="4px" // Sets the backdrop blur to 4 pixels
|
|
1011
|
-
* @default "2px"
|
|
1012
|
-
*/
|
|
1013
|
-
blur?: string;
|
|
1014
|
-
};
|
|
1015
|
-
|
|
1016
|
-
interface AllPortalBackdropProps extends PortalBackdropInternalProps {
|
|
1017
|
-
}
|
|
1018
|
-
type PortalBackdropProps = AllPortalBackdropProps & Omit<React$1.HTMLAttributes<HTMLDivElement>, "children">;
|
|
1019
|
-
|
|
1020
|
-
declare const PortalContentPropsDefs: {
|
|
1021
|
-
/**
|
|
1022
|
-
* The position of the portal content relative to the screen if no anchor is used.
|
|
1023
|
-
*
|
|
1024
|
-
* @example position="bl" // Portal renders at bottom-left of the screen
|
|
1025
|
-
*/
|
|
1026
|
-
position: {
|
|
1027
|
-
type: "enum";
|
|
1028
|
-
values: readonly ["tl", "top", "tr", "left", "center", "right", "bl", "bottom", "br"];
|
|
1029
|
-
default: "center";
|
|
1030
|
-
dataAttr: string;
|
|
1031
|
-
};
|
|
1032
|
-
/**
|
|
1033
|
-
* Whether the portal content is anchored to an element.
|
|
1034
|
-
*
|
|
1035
|
-
* When anchored, the portal content is positioned relative to the trigger element unless a custom anchorRef is provided.
|
|
1036
|
-
*/
|
|
1037
|
-
anchored: {
|
|
1038
|
-
type: "boolean";
|
|
1039
|
-
dataAttr: string;
|
|
1040
|
-
};
|
|
1041
|
-
/**
|
|
1042
|
-
* The side of the anchor element to position the portal content on.
|
|
1043
|
-
*
|
|
1044
|
-
* @default "bottom"
|
|
1045
|
-
*/
|
|
1046
|
-
side: {
|
|
1047
|
-
type: "enum";
|
|
1048
|
-
values: readonly ["top", "right", "bottom", "left"];
|
|
1049
|
-
default: "bottom";
|
|
1050
|
-
};
|
|
1051
|
-
/** Offset in pixels from the anchor element along the side axis. */
|
|
1052
|
-
sideOffset: {
|
|
1053
|
-
type: "string";
|
|
1054
|
-
};
|
|
1055
|
-
/** Offset in pixels along the alignment axis. */
|
|
1056
|
-
alignOffset: {
|
|
1057
|
-
type: "string";
|
|
1058
|
-
};
|
|
1059
|
-
};
|
|
1060
|
-
type PortalContentInternalProps = GetPropDefTypes<typeof PortalContentPropsDefs>;
|
|
1061
|
-
|
|
1062
|
-
interface AllPortalContentProps extends PortalContentInternalProps, AlignProp {
|
|
1063
|
-
}
|
|
1064
|
-
type PortalContentProps = AllPortalContentProps & React$1.HTMLAttributes<HTMLDivElement>;
|
|
1065
|
-
|
|
1066
|
-
interface PortalTriggerProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
1067
|
-
asChild?: boolean;
|
|
1068
|
-
}
|
|
1069
|
-
|
|
1070
|
-
declare const PortalRootPropsDefs: {
|
|
1071
|
-
/** Whether the portal is open. */
|
|
1072
|
-
open: {
|
|
1073
|
-
type: "boolean";
|
|
1074
|
-
default: false;
|
|
1075
|
-
};
|
|
1076
|
-
/** Callback fired when the open state changes. */
|
|
1077
|
-
onOpenChange: {
|
|
1078
|
-
type: "function";
|
|
1079
|
-
};
|
|
1080
|
-
/** Whether the portal is open by default (uncontrolled). */
|
|
1081
|
-
defaultOpen: {
|
|
1082
|
-
type: "boolean";
|
|
1083
|
-
default: false;
|
|
1084
|
-
};
|
|
1085
|
-
/** Custom anchor element ref. If not provided, the trigger is used as anchor. */
|
|
1086
|
-
anchorRef: ReactNodePropDef<React.RefObject<HTMLElement | null>>;
|
|
1087
|
-
};
|
|
1088
|
-
type PortalRootInternalProps = GetPropDefTypes<typeof PortalRootPropsDefs>;
|
|
1089
|
-
|
|
1090
|
-
interface AllPortalRootProps extends PortalRootInternalProps {
|
|
1091
|
-
}
|
|
1092
|
-
type PortalRootProps = AllPortalRootProps & WithStrictChildren<React$1.HTMLAttributes<HTMLDivElement>, PortalTriggerProps | PortalBackdropProps | PortalContentProps>;
|
|
1093
|
-
|
|
1094
|
-
declare const Portal: {
|
|
1095
|
-
/** The root component that provides context for the portal. */
|
|
1096
|
-
Root: React$1.FC<PortalRootProps>;
|
|
1097
|
-
/** The trigger element that opens the portal when interacted with. */
|
|
1098
|
-
Trigger: React$1.ForwardRefExoticComponent<PortalTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1099
|
-
/** The content displayed inside the portal when open. */
|
|
1100
|
-
Content: React$1.ForwardRefExoticComponent<AllPortalContentProps & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1101
|
-
/** A backdrop optionally displayed behind portal content when open. */
|
|
1102
|
-
Backdrop: React$1.ForwardRefExoticComponent<AllPortalBackdropProps & Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1103
|
-
};
|
|
1104
|
-
|
|
1105
|
-
declare const ProgressBarFillPropsDefs: {
|
|
1106
|
-
/**
|
|
1107
|
-
* The value of the progress bar (filled state).
|
|
1108
|
-
* Should be a number between 0 and 1 representing the percentage of completion.
|
|
1109
|
-
*/
|
|
1110
|
-
readonly value: {
|
|
1111
|
-
type: "number";
|
|
1112
|
-
};
|
|
1113
|
-
};
|
|
1114
|
-
type ProgressBarFillInternalProps = GetPropDefTypes<typeof ProgressBarFillPropsDefs>;
|
|
1115
|
-
|
|
1116
|
-
interface AllProgressBarFillProps extends ProgressBarFillInternalProps, ColorProp, MarginProps, SizeProp {
|
|
1117
|
-
}
|
|
1118
|
-
/**
|
|
1119
|
-
* A ProgressBarFill.
|
|
1120
|
-
*/
|
|
1121
|
-
type ProgressBarFillProps = AllProgressBarFillProps & HTMLAttributes<HTMLDivElement>;
|
|
1122
|
-
|
|
1123
|
-
declare const ProgressBarRootPropsDefs: {
|
|
1124
|
-
/**
|
|
1125
|
-
* Sets the variant style of the progress bar ("solid", "outlined", or "muted").
|
|
1126
|
-
*/
|
|
1127
|
-
readonly variant: {
|
|
1128
|
-
type: "enum";
|
|
1129
|
-
values: readonly ["solid", "outlined", "muted"];
|
|
1130
|
-
dataAttr: string;
|
|
1131
|
-
};
|
|
1132
|
-
/**
|
|
1133
|
-
* The value of the progress bar (filled state).
|
|
1134
|
-
* Should be a number between 0 and 1 representing the percentage of completion.
|
|
1135
|
-
*/
|
|
1136
|
-
readonly value: {
|
|
1137
|
-
type: "number";
|
|
1138
|
-
};
|
|
1139
|
-
};
|
|
1140
|
-
type ProgressBarRootInternalProps = GetPropDefTypes<typeof ProgressBarRootPropsDefs>;
|
|
1141
|
-
|
|
1142
|
-
interface AllProgressBarRootProps extends ProgressBarRootInternalProps, ColorProp, MarginProps, SizeProp {
|
|
1143
|
-
}
|
|
1144
|
-
type ProgressBarRootProps = AllProgressBarRootProps & WithOptionalStrictChildren<HTMLAttributes<HTMLDivElement>, ProgressBarFillProps>;
|
|
1145
|
-
|
|
1146
|
-
/**
|
|
1147
|
-
* A Progress Bar component to display single or stacked progress bars.
|
|
1148
|
-
*/
|
|
1149
|
-
declare const ProgressBar: React$1.FC<ProgressBarRootProps> & {
|
|
1150
|
-
/**
|
|
1151
|
-
* The root component for the Progress Bar.
|
|
1152
|
-
*/
|
|
1153
|
-
Root: React$1.FC<ProgressBarRootProps>;
|
|
1154
|
-
/**
|
|
1155
|
-
* The fill component for the Progress Bar, representing the filled portion.
|
|
1156
|
-
*/
|
|
1157
|
-
Fill: React$1.FC<ProgressBarFillProps>;
|
|
1158
|
-
};
|
|
1159
|
-
|
|
1160
|
-
interface SelectSeparatorProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1161
|
-
}
|
|
1162
|
-
|
|
1163
|
-
declare const SelectItemPropDefs: {
|
|
1164
|
-
readonly value: {
|
|
1165
|
-
type: "string";
|
|
1166
|
-
};
|
|
1167
|
-
readonly disabled: {
|
|
1168
|
-
type: "boolean";
|
|
1169
|
-
default: false;
|
|
1170
|
-
};
|
|
1171
|
-
};
|
|
1172
|
-
type SelectItemInternalProps = GetPropDefTypes<typeof SelectItemPropDefs>;
|
|
1173
|
-
|
|
1174
|
-
interface AllSelectItemProps extends SelectItemInternalProps {
|
|
1175
|
-
}
|
|
1176
|
-
|
|
1177
|
-
declare const SelectLabelPropDefs: {
|
|
1178
|
-
readonly position: {
|
|
1179
|
-
type: "enum";
|
|
1180
|
-
values: readonly ["top", "left", "inside"];
|
|
1181
|
-
default: "top";
|
|
1182
|
-
dataAttr: string;
|
|
1183
|
-
};
|
|
1184
|
-
};
|
|
1185
|
-
type SelectLabelInternalProps = GetPropDefTypes<typeof SelectLabelPropDefs>;
|
|
1186
|
-
|
|
1187
|
-
interface AllSelectLabelProps extends SelectLabelInternalProps {
|
|
1188
|
-
}
|
|
1189
|
-
type SelectLabelProps = AllSelectLabelProps & Omit<React$1.HTMLAttributes<HTMLLabelElement>, "children"> & {
|
|
1190
|
-
children?: React$1.ReactNode;
|
|
1191
|
-
};
|
|
1192
|
-
|
|
1193
|
-
declare const SelectGroupsPropDefs: {
|
|
1194
|
-
readonly title: {
|
|
1195
|
-
type: "string";
|
|
1196
|
-
};
|
|
1197
|
-
};
|
|
1198
|
-
type SelectGroupInternalProps = GetPropDefTypes<typeof SelectGroupsPropDefs>;
|
|
1199
|
-
|
|
1200
|
-
interface AllSelectGroupProps extends SelectGroupInternalProps {
|
|
1201
|
-
}
|
|
1202
|
-
|
|
1203
|
-
interface SelectViewportProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
|
-
declare const SelectContentPropDefs: {
|
|
1207
|
-
readonly position: {
|
|
1208
|
-
type: "enum";
|
|
1209
|
-
values: readonly ["popper", "inline"];
|
|
1210
|
-
default: "popper";
|
|
1211
|
-
dataAttr: string;
|
|
1212
|
-
};
|
|
1213
|
-
readonly side: {
|
|
1214
|
-
type: "enum";
|
|
1215
|
-
values: readonly ["top", "bottom"];
|
|
1216
|
-
default: "bottom";
|
|
1217
|
-
dataAttr: string;
|
|
1218
|
-
};
|
|
1219
|
-
readonly offset: {
|
|
1220
|
-
type: "string";
|
|
1221
|
-
};
|
|
1222
|
-
readonly align: {
|
|
1223
|
-
type: "enum";
|
|
1224
|
-
values: readonly ["start", "center", "end"];
|
|
1225
|
-
default: "center";
|
|
1226
|
-
dataAttr: string;
|
|
1227
|
-
};
|
|
1228
|
-
};
|
|
1229
|
-
type SelectContentInternalProps = GetPropDefTypes<typeof SelectContentPropDefs>;
|
|
1230
|
-
|
|
1231
|
-
interface AllSelectContentProps extends SelectContentInternalProps, RadiusProps, SpacingProp {
|
|
1232
|
-
}
|
|
1233
|
-
type SelectContentProps = AllSelectContentProps & Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
1234
|
-
children?: React$1.ReactNode;
|
|
1235
|
-
};
|
|
1236
|
-
|
|
1237
|
-
declare const SelectTriggerPropsDefs: {};
|
|
1238
|
-
type SelectTriggerInternalProps = GetPropDefTypes<typeof SelectTriggerPropsDefs>;
|
|
1239
|
-
|
|
1240
|
-
interface AllSelectTriggerProps extends SelectTriggerInternalProps, RadiusProps, RoundnessProp {
|
|
1241
|
-
}
|
|
1242
|
-
type SelectTriggerProps = AllSelectTriggerProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "children"> & {
|
|
1243
|
-
asChild?: boolean;
|
|
1244
|
-
children?: React$1.ReactNode;
|
|
1245
|
-
};
|
|
1246
|
-
|
|
1247
|
-
declare const SelectRootPropsDefs: {
|
|
1248
|
-
readonly variant: {
|
|
1249
|
-
type: "enum";
|
|
1250
|
-
values: readonly ["outlined", "solid", "clear"];
|
|
1251
|
-
dataAttr: string;
|
|
1252
|
-
};
|
|
1253
|
-
readonly value: {
|
|
1254
|
-
type: "string";
|
|
1255
|
-
};
|
|
1256
|
-
readonly defaultValue: {
|
|
1257
|
-
type: "string";
|
|
1258
|
-
};
|
|
1259
|
-
readonly disabled: {
|
|
1260
|
-
type: "boolean";
|
|
1261
|
-
};
|
|
1262
|
-
readonly required: {
|
|
1263
|
-
type: "boolean";
|
|
1264
|
-
};
|
|
1265
|
-
readonly placeholder: {
|
|
1266
|
-
type: "string";
|
|
1267
|
-
};
|
|
1268
|
-
readonly name: {
|
|
1269
|
-
type: "string";
|
|
1270
|
-
};
|
|
1271
|
-
readonly onValueChange: FunctionPropDef<(value: string) => void>;
|
|
1272
|
-
};
|
|
1273
|
-
type SelectRootInternalProps = GetPropDefTypes<typeof SelectRootPropsDefs>;
|
|
1274
|
-
|
|
1275
|
-
interface AllSelectRootProps extends SelectRootInternalProps, MarginProps, RadiusProps {
|
|
1276
|
-
}
|
|
1277
|
-
type SelectRootProps = AllSelectRootProps & WithStrictChildren<HTMLAttributes<HTMLSelectElement>, SelectLabelProps | SelectTriggerProps | SelectContentProps>;
|
|
1278
|
-
|
|
1279
|
-
declare const Select: {
|
|
1280
|
-
Root: React$1.FC<SelectRootProps>;
|
|
1281
|
-
Trigger: React$1.ForwardRefExoticComponent<AllSelectTriggerProps & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "children"> & {
|
|
1282
|
-
asChild?: boolean;
|
|
1283
|
-
children?: React.ReactNode;
|
|
1284
|
-
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1285
|
-
Content: React$1.ForwardRefExoticComponent<AllSelectContentProps & Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
1286
|
-
children?: React.ReactNode;
|
|
1287
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1288
|
-
Viewport: React$1.ForwardRefExoticComponent<SelectViewportProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1289
|
-
Group: React$1.ForwardRefExoticComponent<AllSelectGroupProps & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1290
|
-
Label: React$1.ForwardRefExoticComponent<AllSelectLabelProps & Omit<React$1.HTMLAttributes<HTMLLabelElement>, "children"> & {
|
|
1291
|
-
children?: React.ReactNode;
|
|
1292
|
-
} & React$1.RefAttributes<HTMLLabelElement>>;
|
|
1293
|
-
Item: React$1.ForwardRefExoticComponent<AllSelectItemProps & Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
1294
|
-
children?: React.ReactNode;
|
|
1295
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1296
|
-
Separator: React$1.ForwardRefExoticComponent<SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1297
|
-
};
|
|
1298
|
-
|
|
1299
|
-
declare const SeparatorPropsDefs: {
|
|
1300
|
-
/**
|
|
1301
|
-
* The direction of the separator.
|
|
1302
|
-
*
|
|
1303
|
-
* @example direction="vertical" // positions the separator vertically
|
|
1304
|
-
*/
|
|
1305
|
-
direction: {
|
|
1306
|
-
type: "enum";
|
|
1307
|
-
values: readonly ["horizontal", "vertical"];
|
|
1308
|
-
default: "horizontal";
|
|
1309
|
-
dataAttr: string;
|
|
1310
|
-
};
|
|
1311
|
-
/**
|
|
1312
|
-
* The variant of the separator.
|
|
1313
|
-
*
|
|
1314
|
-
* @example variant="dashed" // makes the separator dashed
|
|
1315
|
-
*/
|
|
1316
|
-
variant: {
|
|
1317
|
-
type: "enum";
|
|
1318
|
-
values: readonly ["solid", "dashed", "dotted"];
|
|
1319
|
-
default: "solid";
|
|
1320
|
-
dataAttr: string;
|
|
1321
|
-
};
|
|
1322
|
-
};
|
|
1323
|
-
type SeparatorInternalProps = GetPropDefTypes<typeof SeparatorPropsDefs>;
|
|
1324
|
-
|
|
1325
|
-
interface AllSeparatorProps extends SeparatorInternalProps, MarginProps, PaddingProps {
|
|
1326
|
-
}
|
|
1327
|
-
type SeparatorProps = AllSeparatorProps & React__default.HTMLAttributes<HTMLDivElement>;
|
|
1328
|
-
/**
|
|
1329
|
-
* A component for visually separating content with a line
|
|
1330
|
-
*/
|
|
1331
|
-
declare const Separator: FC<SeparatorProps>;
|
|
1332
|
-
|
|
1333
|
-
declare const SwitchIndicatorPropDefs: {
|
|
1334
|
-
/**
|
|
1335
|
-
* Sets the variant style of the switch ("solid" or "outlined").
|
|
1336
|
-
*/
|
|
1337
|
-
readonly variant: {
|
|
1338
|
-
type: "enum";
|
|
1339
|
-
values: readonly ["solid", "outlined", "muted"];
|
|
1340
|
-
dataAttr: string;
|
|
1341
|
-
};
|
|
1342
|
-
};
|
|
1343
|
-
type SwitchIndicatorInternalProps = GetPropDefTypes<typeof SwitchIndicatorPropDefs>;
|
|
1344
|
-
|
|
1345
|
-
interface AllSwitchIndicatorProps extends SwitchIndicatorInternalProps, SizeProp {
|
|
1346
|
-
}
|
|
1347
|
-
type SwitchIndicatorProps = AllSwitchIndicatorProps & Omit<React__default.HTMLAttributes<HTMLSpanElement>, "children">;
|
|
1348
|
-
|
|
1349
|
-
declare const SwitchLabelPropDefs: {
|
|
1350
|
-
/**
|
|
1351
|
-
* Sets the position of the label relative to the switch.
|
|
1352
|
-
*
|
|
1353
|
-
* @example position="left" // positions the label to the left of the switch
|
|
1354
|
-
* @example position="top" // positions the label above the switch
|
|
1355
|
-
*/
|
|
1356
|
-
readonly position: {
|
|
1357
|
-
type: "enum";
|
|
1358
|
-
values: readonly ["top", "left", "right", "bottom"];
|
|
1359
|
-
dataAttr: string;
|
|
1360
|
-
};
|
|
1361
|
-
};
|
|
1362
|
-
type SwitchLabelInternalProps = GetPropDefTypes<typeof SwitchLabelPropDefs>;
|
|
1363
|
-
|
|
1364
|
-
interface AllSwitchLabelProps extends SwitchLabelInternalProps {
|
|
1365
|
-
}
|
|
1366
|
-
type SwitchLabelProps = AllSwitchLabelProps & Omit<React__default.HTMLAttributes<HTMLLabelElement>, "children"> & {
|
|
1367
|
-
children?: React__default.ReactNode;
|
|
1368
|
-
};
|
|
1369
|
-
|
|
1370
|
-
declare const SwitchRootPropsDefs: {
|
|
1371
|
-
/**
|
|
1372
|
-
* Sets the variant style of the switch ("solid" or "outlined").
|
|
1373
|
-
*/
|
|
1374
|
-
readonly variant: {
|
|
1375
|
-
type: "enum";
|
|
1376
|
-
values: readonly ["solid", "outlined", "muted"];
|
|
1377
|
-
dataAttr: string;
|
|
1378
|
-
};
|
|
1379
|
-
/**
|
|
1380
|
-
* Sets the checked state of the switch.
|
|
1381
|
-
*
|
|
1382
|
-
* When using an uncontrolled switch, use `defaultChecked` instead.
|
|
1383
|
-
* @default undefined
|
|
1384
|
-
*/
|
|
1385
|
-
readonly checked: {
|
|
1386
|
-
type: "boolean";
|
|
1387
|
-
dataAttr: string;
|
|
1388
|
-
};
|
|
1389
|
-
/**
|
|
1390
|
-
* The value of the switch (checked state).
|
|
1391
|
-
*/
|
|
1392
|
-
readonly value: {
|
|
1393
|
-
type: "boolean";
|
|
1394
|
-
};
|
|
1395
|
-
/**
|
|
1396
|
-
* Sets the default checked state of the switch.
|
|
1397
|
-
* @default undefined
|
|
1398
|
-
*/
|
|
1399
|
-
readonly defaultChecked: {
|
|
1400
|
-
type: "boolean";
|
|
1401
|
-
};
|
|
1402
|
-
/**
|
|
1403
|
-
* Disables the switch component.
|
|
1404
|
-
* @default undefined
|
|
1405
|
-
*/
|
|
1406
|
-
readonly disabled: {
|
|
1407
|
-
type: "boolean";
|
|
1408
|
-
dataAttr: string;
|
|
1409
|
-
};
|
|
1410
|
-
/**
|
|
1411
|
-
* Makes the switch read-only.
|
|
1412
|
-
* @default undefined
|
|
1413
|
-
*/
|
|
1414
|
-
readonly readonly: {
|
|
1415
|
-
type: "boolean";
|
|
1416
|
-
dataAttr: string;
|
|
1417
|
-
};
|
|
1418
|
-
/**
|
|
1419
|
-
* Marks the switch as required.
|
|
1420
|
-
* @default undefined
|
|
1421
|
-
*/
|
|
1422
|
-
readonly required: {
|
|
1423
|
-
type: "boolean";
|
|
1424
|
-
dataAttr: string;
|
|
1425
|
-
};
|
|
1426
|
-
/**
|
|
1427
|
-
* Sets the name attribute of the switch input for form control.
|
|
1428
|
-
* @default undefined
|
|
1429
|
-
*/
|
|
1430
|
-
readonly name: {
|
|
1431
|
-
type: "string";
|
|
1432
|
-
};
|
|
1433
|
-
/**
|
|
1434
|
-
* Callback fired when the checked state changes.
|
|
1435
|
-
*
|
|
1436
|
-
* @param value - The new checked state.
|
|
1437
|
-
*/
|
|
1438
|
-
readonly onCheckedChange: FunctionPropDef<(value: boolean) => void>;
|
|
1439
|
-
};
|
|
1440
|
-
type SwitchRootInternalProps = GetPropDefTypes<typeof SwitchRootPropsDefs>;
|
|
1441
|
-
|
|
1442
|
-
interface AllSwitchRootProps extends SwitchRootInternalProps, AlignProp, ColorProp, MarginProps, SizeProp {
|
|
1443
|
-
}
|
|
1444
|
-
/**
|
|
1445
|
-
* A versatile Switch, managing state, context, and styling.
|
|
1446
|
-
*/
|
|
1447
|
-
type SwitchRootProps = AllSwitchRootProps & WithStrictChildren<HTMLAttributes<HTMLDivElement>, SwitchLabelProps | SwitchIndicatorProps>;
|
|
1448
|
-
|
|
1449
|
-
declare const Switch: React$1.FC<SwitchRootProps> & {
|
|
1450
|
-
Root: React$1.FC<SwitchRootProps>;
|
|
1451
|
-
Label: React$1.ForwardRefExoticComponent<AllSwitchLabelProps & Omit<React$1.HTMLAttributes<HTMLLabelElement>, "children"> & {
|
|
1452
|
-
children?: React.ReactNode;
|
|
1453
|
-
} & React$1.RefAttributes<HTMLLabelElement>>;
|
|
1454
|
-
Indicator: React$1.FC<SwitchIndicatorProps>;
|
|
1455
|
-
};
|
|
1456
|
-
|
|
1457
|
-
interface TextExternalProps extends MarginProps, PaddingProps, ColorProp {
|
|
1458
|
-
}
|
|
1459
|
-
/**
|
|
1460
|
-
* A component for displaying text with customizable styling and layout.
|
|
1461
|
-
*/
|
|
1462
|
-
declare const Text: React__default.ForwardRefExoticComponent<GetPropDefTypes<{
|
|
1463
|
-
disabled: {
|
|
1464
|
-
type: "boolean";
|
|
1465
|
-
default: false;
|
|
1466
|
-
dataAttr: string;
|
|
1467
|
-
};
|
|
1468
|
-
}> & TextExternalProps & React__default.HTMLAttributes<HTMLParagraphElement> & React__default.RefAttributes<HTMLParagraphElement>>;
|
|
1469
|
-
|
|
1470
|
-
declare const ThemePropsDefs: {
|
|
1471
|
-
appearance: {
|
|
1472
|
-
type: "enum";
|
|
1473
|
-
values: readonly ["inherit", "light", "dark"];
|
|
1474
|
-
default: "inherit";
|
|
1475
|
-
};
|
|
1476
|
-
radius: {
|
|
1477
|
-
type: "enum";
|
|
1478
|
-
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
1479
|
-
default: "md";
|
|
1480
|
-
};
|
|
1481
|
-
roundness: {
|
|
1482
|
-
type: "enum";
|
|
1483
|
-
values: readonly ["1", "2", "3", "4", "5", "6", "inherit"];
|
|
1484
|
-
default: "3";
|
|
1485
|
-
};
|
|
1486
|
-
spacing: {
|
|
1487
|
-
type: "enum";
|
|
1488
|
-
values: readonly ["xs", "sm", "md", "lg", "xl", "inherit"];
|
|
1489
|
-
default: "md";
|
|
1490
|
-
};
|
|
1491
|
-
};
|
|
1492
|
-
|
|
1493
|
-
declare const Theme: React$1.ForwardRefExoticComponent<{} & {
|
|
1494
|
-
radius?: "xs" | "sm" | "md" | "lg" | "xl" | "inherit" | "none" | "full" | undefined;
|
|
1495
|
-
roundness?: "inherit" | "1" | "2" | "3" | "4" | "5" | "6" | undefined;
|
|
1496
|
-
spacing?: "xs" | "sm" | "md" | "lg" | "xl" | "inherit" | undefined;
|
|
1497
|
-
appearance?: "inherit" | "dark" | "light" | undefined;
|
|
1498
|
-
} & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1499
|
-
|
|
1500
|
-
type ThemeAppearance = (typeof ThemePropsDefs.appearance.values)[number];
|
|
1501
|
-
type ThemeRadius = (typeof ThemePropsDefs.radius.values)[number];
|
|
1502
|
-
type ThemeRoundness = (typeof ThemePropsDefs.roundness.values)[number];
|
|
1503
|
-
type ThemeSpacing = (typeof ThemePropsDefs.spacing.values)[number];
|
|
1504
|
-
interface ThemeChangeHandlers {
|
|
1505
|
-
onAppearanceChange?: (appearance: ThemeAppearance) => void;
|
|
1506
|
-
onRadiusChange?: (radius: ThemeRadius) => void;
|
|
1507
|
-
onRoundnessChange?: (roundness: ThemeRoundness) => void;
|
|
1508
|
-
onSpacingChange?: (spacing: ThemeSpacing) => void;
|
|
1509
|
-
}
|
|
1510
|
-
interface ThemeContextValue extends ThemeChangeHandlers {
|
|
1511
|
-
appearance: ThemeAppearance;
|
|
1512
|
-
radius: ThemeRadius;
|
|
1513
|
-
roundness: ThemeRoundness;
|
|
1514
|
-
spacing: ThemeSpacing;
|
|
1515
|
-
}
|
|
1516
|
-
declare function useTheme(): ThemeContextValue;
|
|
1517
|
-
|
|
1518
|
-
declare const ThemeControlPosition: readonly ["tl", "top", "tr", "left", "center", "right", "bl", "bottom", "br"];
|
|
1519
|
-
interface ThemeControlProps {
|
|
1520
|
-
position?: (typeof ThemeControlPosition)[number];
|
|
1521
|
-
}
|
|
1522
|
-
declare function ThemeControl({ position }: ThemeControlProps): react_jsx_runtime.JSX.Element;
|
|
1523
|
-
|
|
1524
|
-
export { Accordion, Badge, Box, Button, Checkbox, Container, Flex, Panel, Portal, ProgressBar, Select, Separator, Switch, Text, Theme, type ThemeAppearance, ThemeControl, type ThemeRadius, type ThemeRoundness, type ThemeSpacing, useTheme };
|
|
1
|
+
export { Accordion } from './components/accordion/accordion.js';
|
|
2
|
+
export { Badge } from './components/badge/badge.js';
|
|
3
|
+
export { Box } from './components/box/box.js';
|
|
4
|
+
export { Button } from './components/button/button.js';
|
|
5
|
+
export { Checkbox } from './components/checkbox/checkbox.js';
|
|
6
|
+
export { Container } from './components/container/container.js';
|
|
7
|
+
export { Flex } from './components/flex/flex.js';
|
|
8
|
+
export { Panel } from './components/panel/panel.js';
|
|
9
|
+
export { Portal } from './components/portal/portal.js';
|
|
10
|
+
export { ProgressBar } from './components/progress-bar/progress-bar.js';
|
|
11
|
+
export { Select } from './components/select/select.js';
|
|
12
|
+
export { Separator } from './components/separator/separator.js';
|
|
13
|
+
export { Switch } from './components/switch/switch.js';
|
|
14
|
+
export { Text } from './components/text/text.js';
|
|
15
|
+
export { Theme } from './components/theme/theme.js';
|
|
16
|
+
export { ThemeAppearance, ThemeRadius, ThemeRoundness, ThemeSpacing, useTheme } from './components/theme/theme-context.js';
|
|
17
|
+
export { ThemeControl } from './components/theme/theme-control.js';
|
|
18
|
+
import './components/accordion/content/accordion-content.js';
|
|
19
|
+
import 'react';
|
|
20
|
+
import './props/padding.prop.js';
|
|
21
|
+
import './props/prop-def.js';
|
|
22
|
+
import './components/accordion/content/accordion-content.props.js';
|
|
23
|
+
import './components/accordion/header/accordion-header.js';
|
|
24
|
+
import './components/accordion/header/accordion-header.props.js';
|
|
25
|
+
import './components/accordion/item/accordion-item.js';
|
|
26
|
+
import './components/accordion/item/accordion-item.props.js';
|
|
27
|
+
import './components/accordion/root/accordion-root.js';
|
|
28
|
+
import './props/size.prop.js';
|
|
29
|
+
import './utils/filter-children.js';
|
|
30
|
+
import './components/accordion/root/accordion-root.props.js';
|
|
31
|
+
import './props/color.prop.js';
|
|
32
|
+
import './utils/parse-color.js';
|
|
33
|
+
import './props/margin.prop.js';
|
|
34
|
+
import './props/radius.prop.js';
|
|
35
|
+
import './components/badge/badge.props.js';
|
|
36
|
+
import './props/roundness.prop.js';
|
|
37
|
+
import './props/spacing.prop.js';
|
|
38
|
+
import './components/button/button.props.js';
|
|
39
|
+
import './components/checkbox/indicator/checkbox-indicator.js';
|
|
40
|
+
import './components/checkbox/indicator/checkbox-indicator.props.js';
|
|
41
|
+
import './components/checkbox/label/checkbox-label.js';
|
|
42
|
+
import './components/checkbox/label/checkbox-label.props.js';
|
|
43
|
+
import './components/checkbox/root/checkbox-root.js';
|
|
44
|
+
import './props/align.prop.js';
|
|
45
|
+
import './components/checkbox/root/checkbox-root.props.js';
|
|
46
|
+
import './utils/get-props.js';
|
|
47
|
+
import './components/container/container.props.js';
|
|
48
|
+
import './components/portal/backdrop/portal-backdrop.js';
|
|
49
|
+
import './components/portal/backdrop/portal-backdrop.props.js';
|
|
50
|
+
import './components/portal/content/portal-content.js';
|
|
51
|
+
import './components/portal/content/portal-content.props.js';
|
|
52
|
+
import './components/portal/trigger/portal-trigger.js';
|
|
53
|
+
import './components/portal/root/portal-root.js';
|
|
54
|
+
import './components/portal/root/portal-root.props.js';
|
|
55
|
+
import './components/progress-bar/fill/progress-bar-fill.js';
|
|
56
|
+
import './components/progress-bar/fill/progress-bar-fill.props.js';
|
|
57
|
+
import './components/progress-bar/root/progress-bar-root.js';
|
|
58
|
+
import './components/progress-bar/root/progress-bar-root.props.js';
|
|
59
|
+
import './components/select/separator/select-separator.js';
|
|
60
|
+
import './components/select/item/select-item.js';
|
|
61
|
+
import './components/select/item/select-item.props.js';
|
|
62
|
+
import './components/select/label/select-label.js';
|
|
63
|
+
import './components/select/label/select-label.props.js';
|
|
64
|
+
import './components/select/group/select-group.js';
|
|
65
|
+
import './components/select/group/select-group.props.js';
|
|
66
|
+
import './components/select/viewport/select-viewport.js';
|
|
67
|
+
import './components/select/content/select-content.js';
|
|
68
|
+
import './components/select/content/select-content.props.js';
|
|
69
|
+
import './components/select/trigger/select-trigger.js';
|
|
70
|
+
import './components/select/trigger/select-trigger.props.js';
|
|
71
|
+
import './components/select/root/select-root.js';
|
|
72
|
+
import './components/select/root/select-root.props.js';
|
|
73
|
+
import './components/separator/separator.props.js';
|
|
74
|
+
import './components/switch/indicator/switch-indicator.js';
|
|
75
|
+
import './components/switch/indicator/switch-indicator.props.js';
|
|
76
|
+
import './components/switch/label/switch-label.js';
|
|
77
|
+
import './components/switch/label/switch-label.props.js';
|
|
78
|
+
import './components/switch/root/switch-root.js';
|
|
79
|
+
import './components/switch/root/switch-root.props.js';
|
|
80
|
+
import './components/theme/theme.props.js';
|
|
81
|
+
import 'react/jsx-runtime';
|