@locus-ui/components 0.0.16 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +1 -1
- package/dist/index.css.map +0 -1
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { GetPropDefTypes } from './prop-def.mjs';
|
|
2
|
+
|
|
3
|
+
declare const radii: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
4
|
+
declare const RadiusPropDefs: {
|
|
5
|
+
/**
|
|
6
|
+
* Sets the border-radius of the element.
|
|
7
|
+
* Supports scaled, inherit, custom, and responsive values.
|
|
8
|
+
*
|
|
9
|
+
* @example radius="md" // medium border-radius
|
|
10
|
+
* @example radius="26px" // 26px border-radius custom value
|
|
11
|
+
* @example radius={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
12
|
+
*
|
|
13
|
+
* @default "theme" // uses the theme's default border-radius value or none if not set
|
|
14
|
+
*
|
|
15
|
+
* @link
|
|
16
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius
|
|
17
|
+
*/
|
|
18
|
+
radius: {
|
|
19
|
+
type: "enum | string";
|
|
20
|
+
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
21
|
+
default: "theme";
|
|
22
|
+
dataAttr: string;
|
|
23
|
+
className: string;
|
|
24
|
+
responsive: true;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Sets the top border-radius of the element.
|
|
28
|
+
* Supports scaled, inherit, custom, and responsive values.
|
|
29
|
+
*
|
|
30
|
+
* @example radius-t="md" // medium border-radius
|
|
31
|
+
* @example radius-t="26px" // 26px border-radius custom value
|
|
32
|
+
* @example radius-t={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
33
|
+
*
|
|
34
|
+
* @link
|
|
35
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-left-radius
|
|
36
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-right-radius
|
|
37
|
+
*/
|
|
38
|
+
"radius-t": {
|
|
39
|
+
type: "enum | string";
|
|
40
|
+
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
41
|
+
dataAttr: string;
|
|
42
|
+
className: string;
|
|
43
|
+
responsive: true;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Sets the right border-radius of the element.
|
|
47
|
+
* Supports scaled, inherit, custom, and responsive values.
|
|
48
|
+
*
|
|
49
|
+
* @example radius-r="md" // medium border-radius
|
|
50
|
+
* @example radius-r="26px" // 26px border-radius custom value
|
|
51
|
+
* @example radius-r={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
52
|
+
*
|
|
53
|
+
* @link
|
|
54
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-right-radius
|
|
55
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius
|
|
56
|
+
*/
|
|
57
|
+
"radius-r": {
|
|
58
|
+
type: "enum | string";
|
|
59
|
+
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
60
|
+
dataAttr: string;
|
|
61
|
+
className: string;
|
|
62
|
+
responsive: true;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Sets the bottom border-radius of the element.
|
|
66
|
+
* Supports scaled, inherit, custom, and responsive values.
|
|
67
|
+
*
|
|
68
|
+
* @example radius-b="md" // medium border-radius
|
|
69
|
+
* @example radius-b="26px" // 26px border-radius custom value
|
|
70
|
+
* @example radius-b={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
71
|
+
*
|
|
72
|
+
* @link
|
|
73
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-left-radius
|
|
74
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius
|
|
75
|
+
*/
|
|
76
|
+
"radius-b": {
|
|
77
|
+
type: "enum | string";
|
|
78
|
+
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
79
|
+
dataAttr: string;
|
|
80
|
+
className: string;
|
|
81
|
+
responsive: true;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Sets the left border-radius of the element.
|
|
85
|
+
* Supports scaled, inherit, custom, and responsive values.
|
|
86
|
+
*
|
|
87
|
+
* @example radius-l="md" // medium border-radius
|
|
88
|
+
* @example radius-l="26px" // 26px border-radius custom value
|
|
89
|
+
* @example radius-l={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
90
|
+
*
|
|
91
|
+
* @link
|
|
92
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-left-top-radius
|
|
93
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-left-bottom-radius
|
|
94
|
+
*/
|
|
95
|
+
"radius-l": {
|
|
96
|
+
type: "enum | string";
|
|
97
|
+
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
98
|
+
dataAttr: string;
|
|
99
|
+
className: string;
|
|
100
|
+
responsive: true;
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* Sets the top-left border-radius of the element.
|
|
104
|
+
* Supports scaled, inherit, custom, and responsive values.
|
|
105
|
+
*
|
|
106
|
+
* @example radius-tl="md" // medium border-radius
|
|
107
|
+
* @example radius-tl="26px" // 26px border-radius custom value
|
|
108
|
+
* @example radius-tl={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
109
|
+
*
|
|
110
|
+
* @link
|
|
111
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-left-radius
|
|
112
|
+
*/
|
|
113
|
+
"radius-tl": {
|
|
114
|
+
type: "enum | string";
|
|
115
|
+
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
116
|
+
dataAttr: string;
|
|
117
|
+
className: string;
|
|
118
|
+
responsive: true;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* Sets the top-right border-radius of the element.
|
|
122
|
+
* Supports scaled, inherit, custom, and responsive values.
|
|
123
|
+
*
|
|
124
|
+
* @example "radius-tr"="md" // medium border-radius
|
|
125
|
+
* @example "radius-tr"="26px" // 26px border-radius custom value
|
|
126
|
+
* @example "radius-tr"={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
127
|
+
*
|
|
128
|
+
* @link
|
|
129
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-right-radius
|
|
130
|
+
*/
|
|
131
|
+
"radius-tr": {
|
|
132
|
+
type: "enum | string";
|
|
133
|
+
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
134
|
+
dataAttr: string;
|
|
135
|
+
className: string;
|
|
136
|
+
responsive: true;
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* Sets the bottom-right border-radius of the element.
|
|
140
|
+
* Supports scaled, inherit, custom, and responsive values.
|
|
141
|
+
*
|
|
142
|
+
* @example "radius-br"="md" // medium border-radius
|
|
143
|
+
* @example "radius-br"="26px" // 26px border-radius custom value
|
|
144
|
+
* @example "radius-br"={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
145
|
+
*
|
|
146
|
+
* @link
|
|
147
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius
|
|
148
|
+
*/
|
|
149
|
+
"radius-br": {
|
|
150
|
+
type: "enum | string";
|
|
151
|
+
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
152
|
+
dataAttr: string;
|
|
153
|
+
className: string;
|
|
154
|
+
responsive: true;
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* Sets the bottom-left border-radius of the element.
|
|
158
|
+
* Supports scaled, inherit, custom, and responsive values.
|
|
159
|
+
*
|
|
160
|
+
* @example "radius-bl"="md" // medium border-radius
|
|
161
|
+
* @example "radius-bl"="26px" // 26px border-radius custom value
|
|
162
|
+
* @example "radius-bl"={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
163
|
+
*
|
|
164
|
+
* @link
|
|
165
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-left-radius
|
|
166
|
+
*/
|
|
167
|
+
"radius-bl": {
|
|
168
|
+
type: "enum | string";
|
|
169
|
+
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
170
|
+
dataAttr: string;
|
|
171
|
+
className: string;
|
|
172
|
+
responsive: true;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
type RadiusProps = GetPropDefTypes<typeof RadiusPropDefs>;
|
|
176
|
+
|
|
177
|
+
export { RadiusPropDefs, type RadiusProps, radii };
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { GetPropDefTypes } from './prop-def.js';
|
|
2
|
+
|
|
3
|
+
declare const radii: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
4
|
+
declare const RadiusPropDefs: {
|
|
5
|
+
/**
|
|
6
|
+
* Sets the border-radius of the element.
|
|
7
|
+
* Supports scaled, inherit, custom, and responsive values.
|
|
8
|
+
*
|
|
9
|
+
* @example radius="md" // medium border-radius
|
|
10
|
+
* @example radius="26px" // 26px border-radius custom value
|
|
11
|
+
* @example radius={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
12
|
+
*
|
|
13
|
+
* @default "theme" // uses the theme's default border-radius value or none if not set
|
|
14
|
+
*
|
|
15
|
+
* @link
|
|
16
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius
|
|
17
|
+
*/
|
|
18
|
+
radius: {
|
|
19
|
+
type: "enum | string";
|
|
20
|
+
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
21
|
+
default: "theme";
|
|
22
|
+
dataAttr: string;
|
|
23
|
+
className: string;
|
|
24
|
+
responsive: true;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Sets the top border-radius of the element.
|
|
28
|
+
* Supports scaled, inherit, custom, and responsive values.
|
|
29
|
+
*
|
|
30
|
+
* @example radius-t="md" // medium border-radius
|
|
31
|
+
* @example radius-t="26px" // 26px border-radius custom value
|
|
32
|
+
* @example radius-t={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
33
|
+
*
|
|
34
|
+
* @link
|
|
35
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-left-radius
|
|
36
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-right-radius
|
|
37
|
+
*/
|
|
38
|
+
"radius-t": {
|
|
39
|
+
type: "enum | string";
|
|
40
|
+
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
41
|
+
dataAttr: string;
|
|
42
|
+
className: string;
|
|
43
|
+
responsive: true;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Sets the right border-radius of the element.
|
|
47
|
+
* Supports scaled, inherit, custom, and responsive values.
|
|
48
|
+
*
|
|
49
|
+
* @example radius-r="md" // medium border-radius
|
|
50
|
+
* @example radius-r="26px" // 26px border-radius custom value
|
|
51
|
+
* @example radius-r={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
52
|
+
*
|
|
53
|
+
* @link
|
|
54
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-right-radius
|
|
55
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius
|
|
56
|
+
*/
|
|
57
|
+
"radius-r": {
|
|
58
|
+
type: "enum | string";
|
|
59
|
+
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
60
|
+
dataAttr: string;
|
|
61
|
+
className: string;
|
|
62
|
+
responsive: true;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Sets the bottom border-radius of the element.
|
|
66
|
+
* Supports scaled, inherit, custom, and responsive values.
|
|
67
|
+
*
|
|
68
|
+
* @example radius-b="md" // medium border-radius
|
|
69
|
+
* @example radius-b="26px" // 26px border-radius custom value
|
|
70
|
+
* @example radius-b={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
71
|
+
*
|
|
72
|
+
* @link
|
|
73
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-left-radius
|
|
74
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius
|
|
75
|
+
*/
|
|
76
|
+
"radius-b": {
|
|
77
|
+
type: "enum | string";
|
|
78
|
+
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
79
|
+
dataAttr: string;
|
|
80
|
+
className: string;
|
|
81
|
+
responsive: true;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Sets the left border-radius of the element.
|
|
85
|
+
* Supports scaled, inherit, custom, and responsive values.
|
|
86
|
+
*
|
|
87
|
+
* @example radius-l="md" // medium border-radius
|
|
88
|
+
* @example radius-l="26px" // 26px border-radius custom value
|
|
89
|
+
* @example radius-l={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
90
|
+
*
|
|
91
|
+
* @link
|
|
92
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-left-top-radius
|
|
93
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-left-bottom-radius
|
|
94
|
+
*/
|
|
95
|
+
"radius-l": {
|
|
96
|
+
type: "enum | string";
|
|
97
|
+
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
98
|
+
dataAttr: string;
|
|
99
|
+
className: string;
|
|
100
|
+
responsive: true;
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* Sets the top-left border-radius of the element.
|
|
104
|
+
* Supports scaled, inherit, custom, and responsive values.
|
|
105
|
+
*
|
|
106
|
+
* @example radius-tl="md" // medium border-radius
|
|
107
|
+
* @example radius-tl="26px" // 26px border-radius custom value
|
|
108
|
+
* @example radius-tl={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
109
|
+
*
|
|
110
|
+
* @link
|
|
111
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-left-radius
|
|
112
|
+
*/
|
|
113
|
+
"radius-tl": {
|
|
114
|
+
type: "enum | string";
|
|
115
|
+
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
116
|
+
dataAttr: string;
|
|
117
|
+
className: string;
|
|
118
|
+
responsive: true;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* Sets the top-right border-radius of the element.
|
|
122
|
+
* Supports scaled, inherit, custom, and responsive values.
|
|
123
|
+
*
|
|
124
|
+
* @example "radius-tr"="md" // medium border-radius
|
|
125
|
+
* @example "radius-tr"="26px" // 26px border-radius custom value
|
|
126
|
+
* @example "radius-tr"={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
127
|
+
*
|
|
128
|
+
* @link
|
|
129
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-right-radius
|
|
130
|
+
*/
|
|
131
|
+
"radius-tr": {
|
|
132
|
+
type: "enum | string";
|
|
133
|
+
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
134
|
+
dataAttr: string;
|
|
135
|
+
className: string;
|
|
136
|
+
responsive: true;
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* Sets the bottom-right border-radius of the element.
|
|
140
|
+
* Supports scaled, inherit, custom, and responsive values.
|
|
141
|
+
*
|
|
142
|
+
* @example "radius-br"="md" // medium border-radius
|
|
143
|
+
* @example "radius-br"="26px" // 26px border-radius custom value
|
|
144
|
+
* @example "radius-br"={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
145
|
+
*
|
|
146
|
+
* @link
|
|
147
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius
|
|
148
|
+
*/
|
|
149
|
+
"radius-br": {
|
|
150
|
+
type: "enum | string";
|
|
151
|
+
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
152
|
+
dataAttr: string;
|
|
153
|
+
className: string;
|
|
154
|
+
responsive: true;
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* Sets the bottom-left border-radius of the element.
|
|
158
|
+
* Supports scaled, inherit, custom, and responsive values.
|
|
159
|
+
*
|
|
160
|
+
* @example "radius-bl"="md" // medium border-radius
|
|
161
|
+
* @example "radius-bl"="26px" // 26px border-radius custom value
|
|
162
|
+
* @example "radius-bl"={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
163
|
+
*
|
|
164
|
+
* @link
|
|
165
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-left-radius
|
|
166
|
+
*/
|
|
167
|
+
"radius-bl": {
|
|
168
|
+
type: "enum | string";
|
|
169
|
+
values: readonly ["none", "xs", "sm", "md", "lg", "xl", "full", "inherit"];
|
|
170
|
+
dataAttr: string;
|
|
171
|
+
className: string;
|
|
172
|
+
responsive: true;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
type RadiusProps = GetPropDefTypes<typeof RadiusPropDefs>;
|
|
176
|
+
|
|
177
|
+
export { RadiusPropDefs, type RadiusProps, radii };
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var radius_prop_exports = {};
|
|
20
|
+
__export(radius_prop_exports, {
|
|
21
|
+
RadiusPropDefs: () => RadiusPropDefs,
|
|
22
|
+
radii: () => radii
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(radius_prop_exports);
|
|
25
|
+
const radii = [
|
|
26
|
+
"none",
|
|
27
|
+
"xs",
|
|
28
|
+
"sm",
|
|
29
|
+
"md",
|
|
30
|
+
"lg",
|
|
31
|
+
"xl",
|
|
32
|
+
"full",
|
|
33
|
+
"inherit"
|
|
34
|
+
];
|
|
35
|
+
const RadiusPropDefs = {
|
|
36
|
+
/**
|
|
37
|
+
* Sets the border-radius of the element.
|
|
38
|
+
* Supports scaled, inherit, custom, and responsive values.
|
|
39
|
+
*
|
|
40
|
+
* @example radius="md" // medium border-radius
|
|
41
|
+
* @example radius="26px" // 26px border-radius custom value
|
|
42
|
+
* @example radius={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
43
|
+
*
|
|
44
|
+
* @default "theme" // uses the theme's default border-radius value or none if not set
|
|
45
|
+
*
|
|
46
|
+
* @link
|
|
47
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius
|
|
48
|
+
*/
|
|
49
|
+
radius: {
|
|
50
|
+
type: "enum | string",
|
|
51
|
+
values: radii,
|
|
52
|
+
default: "theme",
|
|
53
|
+
dataAttr: "radius",
|
|
54
|
+
className: "lcs-radius",
|
|
55
|
+
responsive: true
|
|
56
|
+
},
|
|
57
|
+
/**
|
|
58
|
+
* Sets the top border-radius of the element.
|
|
59
|
+
* Supports scaled, inherit, custom, and responsive values.
|
|
60
|
+
*
|
|
61
|
+
* @example radius-t="md" // medium border-radius
|
|
62
|
+
* @example radius-t="26px" // 26px border-radius custom value
|
|
63
|
+
* @example radius-t={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
64
|
+
*
|
|
65
|
+
* @link
|
|
66
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-left-radius
|
|
67
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-right-radius
|
|
68
|
+
*/
|
|
69
|
+
"radius-t": {
|
|
70
|
+
type: "enum | string",
|
|
71
|
+
values: radii,
|
|
72
|
+
dataAttr: "radius-t",
|
|
73
|
+
className: "lcs-radius-t",
|
|
74
|
+
responsive: true
|
|
75
|
+
},
|
|
76
|
+
/**
|
|
77
|
+
* Sets the right border-radius of the element.
|
|
78
|
+
* Supports scaled, inherit, custom, and responsive values.
|
|
79
|
+
*
|
|
80
|
+
* @example radius-r="md" // medium border-radius
|
|
81
|
+
* @example radius-r="26px" // 26px border-radius custom value
|
|
82
|
+
* @example radius-r={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
83
|
+
*
|
|
84
|
+
* @link
|
|
85
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-right-radius
|
|
86
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius
|
|
87
|
+
*/
|
|
88
|
+
"radius-r": {
|
|
89
|
+
type: "enum | string",
|
|
90
|
+
values: radii,
|
|
91
|
+
dataAttr: "radius-r",
|
|
92
|
+
className: "lcs-radius-r",
|
|
93
|
+
responsive: true
|
|
94
|
+
},
|
|
95
|
+
/**
|
|
96
|
+
* Sets the bottom border-radius of the element.
|
|
97
|
+
* Supports scaled, inherit, custom, and responsive values.
|
|
98
|
+
*
|
|
99
|
+
* @example radius-b="md" // medium border-radius
|
|
100
|
+
* @example radius-b="26px" // 26px border-radius custom value
|
|
101
|
+
* @example radius-b={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
102
|
+
*
|
|
103
|
+
* @link
|
|
104
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-left-radius
|
|
105
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius
|
|
106
|
+
*/
|
|
107
|
+
"radius-b": {
|
|
108
|
+
type: "enum | string",
|
|
109
|
+
values: radii,
|
|
110
|
+
dataAttr: "radius-b",
|
|
111
|
+
className: "lcs-radius-b",
|
|
112
|
+
responsive: true
|
|
113
|
+
},
|
|
114
|
+
/**
|
|
115
|
+
* Sets the left border-radius of the element.
|
|
116
|
+
* Supports scaled, inherit, custom, and responsive values.
|
|
117
|
+
*
|
|
118
|
+
* @example radius-l="md" // medium border-radius
|
|
119
|
+
* @example radius-l="26px" // 26px border-radius custom value
|
|
120
|
+
* @example radius-l={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
121
|
+
*
|
|
122
|
+
* @link
|
|
123
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-left-top-radius
|
|
124
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-left-bottom-radius
|
|
125
|
+
*/
|
|
126
|
+
"radius-l": {
|
|
127
|
+
type: "enum | string",
|
|
128
|
+
values: radii,
|
|
129
|
+
dataAttr: "radius-l",
|
|
130
|
+
className: "lcs-radius-l",
|
|
131
|
+
responsive: true
|
|
132
|
+
},
|
|
133
|
+
/**
|
|
134
|
+
* Sets the top-left border-radius of the element.
|
|
135
|
+
* Supports scaled, inherit, custom, and responsive values.
|
|
136
|
+
*
|
|
137
|
+
* @example radius-tl="md" // medium border-radius
|
|
138
|
+
* @example radius-tl="26px" // 26px border-radius custom value
|
|
139
|
+
* @example radius-tl={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
140
|
+
*
|
|
141
|
+
* @link
|
|
142
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-left-radius
|
|
143
|
+
*/
|
|
144
|
+
"radius-tl": {
|
|
145
|
+
type: "enum | string",
|
|
146
|
+
values: radii,
|
|
147
|
+
dataAttr: "radius-tl",
|
|
148
|
+
className: "lcs-radius-tl",
|
|
149
|
+
responsive: true
|
|
150
|
+
},
|
|
151
|
+
/**
|
|
152
|
+
* Sets the top-right border-radius of the element.
|
|
153
|
+
* Supports scaled, inherit, custom, and responsive values.
|
|
154
|
+
*
|
|
155
|
+
* @example "radius-tr"="md" // medium border-radius
|
|
156
|
+
* @example "radius-tr"="26px" // 26px border-radius custom value
|
|
157
|
+
* @example "radius-tr"={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
158
|
+
*
|
|
159
|
+
* @link
|
|
160
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-right-radius
|
|
161
|
+
*/
|
|
162
|
+
"radius-tr": {
|
|
163
|
+
type: "enum | string",
|
|
164
|
+
values: radii,
|
|
165
|
+
dataAttr: "radius-tr",
|
|
166
|
+
className: "lcs-radius-tr",
|
|
167
|
+
responsive: true
|
|
168
|
+
},
|
|
169
|
+
/**
|
|
170
|
+
* Sets the bottom-right border-radius of the element.
|
|
171
|
+
* Supports scaled, inherit, custom, and responsive values.
|
|
172
|
+
*
|
|
173
|
+
* @example "radius-br"="md" // medium border-radius
|
|
174
|
+
* @example "radius-br"="26px" // 26px border-radius custom value
|
|
175
|
+
* @example "radius-br"={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
176
|
+
*
|
|
177
|
+
* @link
|
|
178
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius
|
|
179
|
+
*/
|
|
180
|
+
"radius-br": {
|
|
181
|
+
type: "enum | string",
|
|
182
|
+
values: radii,
|
|
183
|
+
dataAttr: "radius-br",
|
|
184
|
+
className: "lcs-radius-br",
|
|
185
|
+
responsive: true
|
|
186
|
+
},
|
|
187
|
+
/**
|
|
188
|
+
* Sets the bottom-left border-radius of the element.
|
|
189
|
+
* Supports scaled, inherit, custom, and responsive values.
|
|
190
|
+
*
|
|
191
|
+
* @example "radius-bl"="md" // medium border-radius
|
|
192
|
+
* @example "radius-bl"="26px" // 26px border-radius custom value
|
|
193
|
+
* @example "radius-bl"={{ initial: "none", lg: "full" }} // responsive border-radius
|
|
194
|
+
*
|
|
195
|
+
* @link
|
|
196
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-left-radius
|
|
197
|
+
*/
|
|
198
|
+
"radius-bl": {
|
|
199
|
+
type: "enum | string",
|
|
200
|
+
values: radii,
|
|
201
|
+
dataAttr: "radius-bl",
|
|
202
|
+
className: "lcs-radius-bl",
|
|
203
|
+
responsive: true
|
|
204
|
+
}
|
|
205
|
+
};
|
|
206
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
207
|
+
0 && (module.exports = {
|
|
208
|
+
RadiusPropDefs,
|
|
209
|
+
radii
|
|
210
|
+
});
|
|
211
|
+
//# sourceMappingURL=radius.prop.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/props/radius.prop.ts"],"sourcesContent":["import { GetPropDefTypes, PropDef } from \"./prop-def\";\n\nconst radii = [\n \"none\",\n \"xs\",\n \"sm\",\n \"md\",\n \"lg\",\n \"xl\",\n \"full\",\n \"inherit\",\n] as const;\n\nconst RadiusPropDefs = {\n /**\n * Sets the border-radius of the element.\n * Supports scaled, inherit, custom, and responsive values.\n *\n * @example radius=\"md\" // medium border-radius\n * @example radius=\"26px\" // 26px border-radius custom value\n * @example radius={{ initial: \"none\", lg: \"full\" }} // responsive border-radius\n *\n * @default \"theme\" // uses the theme's default border-radius value or none if not set\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius\n */\n radius: {\n type: \"enum | string\",\n values: radii,\n default: \"theme\",\n dataAttr: \"radius\",\n className: \"lcs-radius\",\n responsive: true,\n } satisfies PropDef<(typeof radii)[number]>,\n\n /**\n * Sets the top border-radius of the element.\n * Supports scaled, inherit, custom, and responsive values.\n *\n * @example radius-t=\"md\" // medium border-radius\n * @example radius-t=\"26px\" // 26px border-radius custom value\n * @example radius-t={{ initial: \"none\", lg: \"full\" }} // responsive border-radius\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-left-radius\n * https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-right-radius\n */\n \"radius-t\": {\n type: \"enum | string\",\n values: radii,\n dataAttr: \"radius-t\",\n className: \"lcs-radius-t\",\n responsive: true,\n } satisfies PropDef<(typeof radii)[number]>,\n\n /**\n * Sets the right border-radius of the element.\n * Supports scaled, inherit, custom, and responsive values.\n *\n * @example radius-r=\"md\" // medium border-radius\n * @example radius-r=\"26px\" // 26px border-radius custom value\n * @example radius-r={{ initial: \"none\", lg: \"full\" }} // responsive border-radius\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-right-radius\n * https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius\n */\n \"radius-r\": {\n type: \"enum | string\",\n values: radii,\n dataAttr: \"radius-r\",\n className: \"lcs-radius-r\",\n responsive: true,\n } satisfies PropDef<(typeof radii)[number]>,\n\n /**\n * Sets the bottom border-radius of the element.\n * Supports scaled, inherit, custom, and responsive values.\n *\n * @example radius-b=\"md\" // medium border-radius\n * @example radius-b=\"26px\" // 26px border-radius custom value\n * @example radius-b={{ initial: \"none\", lg: \"full\" }} // responsive border-radius\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-left-radius\n * https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius\n */\n \"radius-b\": {\n type: \"enum | string\",\n values: radii,\n dataAttr: \"radius-b\",\n className: \"lcs-radius-b\",\n responsive: true,\n } satisfies PropDef<(typeof radii)[number]>,\n\n /**\n * Sets the left border-radius of the element.\n * Supports scaled, inherit, custom, and responsive values.\n *\n * @example radius-l=\"md\" // medium border-radius\n * @example radius-l=\"26px\" // 26px border-radius custom value\n * @example radius-l={{ initial: \"none\", lg: \"full\" }} // responsive border-radius\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/border-left-top-radius\n * https://developer.mozilla.org/en-US/docs/Web/CSS/border-left-bottom-radius\n */\n \"radius-l\": {\n type: \"enum | string\",\n values: radii,\n dataAttr: \"radius-l\",\n className: \"lcs-radius-l\",\n responsive: true,\n } satisfies PropDef<(typeof radii)[number]>,\n\n /**\n * Sets the top-left border-radius of the element.\n * Supports scaled, inherit, custom, and responsive values.\n *\n * @example radius-tl=\"md\" // medium border-radius\n * @example radius-tl=\"26px\" // 26px border-radius custom value\n * @example radius-tl={{ initial: \"none\", lg: \"full\" }} // responsive border-radius\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-left-radius\n */\n \"radius-tl\": {\n type: \"enum | string\",\n values: radii,\n dataAttr: \"radius-tl\",\n className: \"lcs-radius-tl\",\n responsive: true,\n } satisfies PropDef<(typeof radii)[number]>,\n\n /**\n * Sets the top-right border-radius of the element.\n * Supports scaled, inherit, custom, and responsive values.\n *\n * @example \"radius-tr\"=\"md\" // medium border-radius\n * @example \"radius-tr\"=\"26px\" // 26px border-radius custom value\n * @example \"radius-tr\"={{ initial: \"none\", lg: \"full\" }} // responsive border-radius\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-right-radius\n */\n \"radius-tr\": {\n type: \"enum | string\",\n values: radii,\n dataAttr: \"radius-tr\",\n className: \"lcs-radius-tr\",\n responsive: true,\n } satisfies PropDef<(typeof radii)[number]>,\n\n /**\n * Sets the bottom-right border-radius of the element.\n * Supports scaled, inherit, custom, and responsive values.\n *\n * @example \"radius-br\"=\"md\" // medium border-radius\n * @example \"radius-br\"=\"26px\" // 26px border-radius custom value\n * @example \"radius-br\"={{ initial: \"none\", lg: \"full\" }} // responsive border-radius\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius\n */\n \"radius-br\": {\n type: \"enum | string\",\n values: radii,\n dataAttr: \"radius-br\",\n className: \"lcs-radius-br\",\n responsive: true,\n } satisfies PropDef<(typeof radii)[number]>,\n\n /**\n * Sets the bottom-left border-radius of the element.\n * Supports scaled, inherit, custom, and responsive values.\n *\n * @example \"radius-bl\"=\"md\" // medium border-radius\n * @example \"radius-bl\"=\"26px\" // 26px border-radius custom value\n * @example \"radius-bl\"={{ initial: \"none\", lg: \"full\" }} // responsive border-radius\n *\n * @link\n * https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-left-radius\n */\n \"radius-bl\": {\n type: \"enum | string\",\n values: radii,\n dataAttr: \"radius-bl\",\n className: \"lcs-radius-bl\",\n responsive: true,\n } satisfies PropDef<(typeof radii)[number]>,\n};\n\ntype RadiusProps = GetPropDefTypes<typeof RadiusPropDefs>;\n\nexport { radii, RadiusPropDefs, RadiusProps };\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,MAAM,QAAQ;AAAA,EACZ;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEA,MAAM,iBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAcrB,QAAQ;AAAA,IACN,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,UAAU;AAAA,IACV,WAAW;AAAA,IACX,YAAY;AAAA,EACd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAcA,YAAY;AAAA,IACV,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,WAAW;AAAA,IACX,YAAY;AAAA,EACd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAcA,YAAY;AAAA,IACV,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,WAAW;AAAA,IACX,YAAY;AAAA,EACd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAcA,YAAY;AAAA,IACV,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,WAAW;AAAA,IACX,YAAY;AAAA,EACd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAcA,YAAY;AAAA,IACV,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,WAAW;AAAA,IACX,YAAY;AAAA,EACd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAaA,aAAa;AAAA,IACX,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,WAAW;AAAA,IACX,YAAY;AAAA,EACd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAaA,aAAa;AAAA,IACX,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,WAAW;AAAA,IACX,YAAY;AAAA,EACd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAaA,aAAa;AAAA,IACX,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,WAAW;AAAA,IACX,YAAY;AAAA,EACd;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAaA,aAAa;AAAA,IACX,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,WAAW;AAAA,IACX,YAAY;AAAA,EACd;AACF;","names":[]}
|