mainbase-ui 1.2.5 → 3.37.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/README.md +59 -23
- package/dist/cjs/anatomy.cjs +349 -0
- package/dist/cjs/collection.cjs +22 -0
- package/dist/cjs/components/absolute-center/absolute-center.cjs +42 -0
- package/dist/cjs/components/absolute-center/index.cjs +7 -0
- package/dist/cjs/components/accordion/accordion.cjs +49 -0
- package/dist/cjs/components/accordion/index.cjs +32 -0
- package/dist/cjs/components/accordion/namespace.cjs +16 -0
- package/dist/cjs/components/action-bar/action-bar.cjs +46 -0
- package/dist/cjs/components/action-bar/index.cjs +27 -0
- package/dist/cjs/components/action-bar/namespace.cjs +15 -0
- package/dist/cjs/components/alert/alert.cjs +70 -0
- package/dist/cjs/components/alert/index.cjs +15 -0
- package/dist/cjs/components/alert/namespace.cjs +12 -0
- package/dist/cjs/components/aspect-ratio/aspect-ratio.cjs +54 -0
- package/dist/cjs/components/aspect-ratio/index.cjs +7 -0
- package/dist/cjs/components/avatar/avatar.cjs +105 -0
- package/dist/cjs/components/avatar/index.cjs +26 -0
- package/dist/cjs/components/avatar/namespace.cjs +13 -0
- package/dist/cjs/components/badge/badge.cjs +15 -0
- package/dist/cjs/components/badge/index.cjs +8 -0
- package/dist/cjs/components/bleed/bleed.cjs +48 -0
- package/dist/cjs/components/bleed/index.cjs +7 -0
- package/dist/cjs/components/blockquote/blockquote.cjs +30 -0
- package/dist/cjs/components/blockquote/index.cjs +14 -0
- package/dist/cjs/components/blockquote/namespace.cjs +11 -0
- package/dist/cjs/components/box/index.cjs +9 -0
- package/dist/cjs/components/breadcrumb/breadcrumb.cjs +59 -0
- package/dist/cjs/components/breadcrumb/index.cjs +17 -0
- package/dist/cjs/components/breadcrumb/namespace.cjs +14 -0
- package/dist/cjs/components/button/button-group.cjs +22 -0
- package/dist/cjs/components/button/button.cjs +60 -0
- package/dist/cjs/components/button/close-button.cjs +32 -0
- package/dist/cjs/components/button/icon-button.cjs +24 -0
- package/dist/cjs/components/button/index.cjs +14 -0
- package/dist/cjs/components/card/card.cjs +42 -0
- package/dist/cjs/components/card/index.cjs +16 -0
- package/dist/cjs/components/card/namespace.cjs +13 -0
- package/dist/cjs/components/carousel/carousel.cjs +86 -0
- package/dist/cjs/components/carousel/index.cjs +33 -0
- package/dist/cjs/components/carousel/namespace.cjs +21 -0
- package/dist/cjs/components/center/center.cjs +22 -0
- package/dist/cjs/components/center/index.cjs +7 -0
- package/dist/cjs/components/checkbox/checkbox.cjs +101 -0
- package/dist/cjs/components/checkbox/index.cjs +35 -0
- package/dist/cjs/components/checkbox/namespace.cjs +15 -0
- package/dist/cjs/components/checkbox-card/checkbox-card.cjs +72 -0
- package/dist/cjs/components/checkbox-card/index.cjs +29 -0
- package/dist/cjs/components/checkbox-card/namespace.cjs +17 -0
- package/dist/cjs/components/checkmark/checkmark.cjs +46 -0
- package/dist/cjs/components/checkmark/index.cjs +7 -0
- package/dist/cjs/components/circle/index.cjs +16 -0
- package/dist/cjs/components/client-only/client-only.cjs +17 -0
- package/dist/cjs/components/client-only/index.cjs +7 -0
- package/dist/cjs/components/clipboard/clipboard.cjs +51 -0
- package/dist/cjs/components/clipboard/index.cjs +29 -0
- package/dist/cjs/components/clipboard/namespace.cjs +17 -0
- package/dist/cjs/components/code/code.cjs +13 -0
- package/dist/cjs/components/code/index.cjs +8 -0
- package/dist/cjs/components/code-block/adapters.cjs +100 -0
- package/dist/cjs/components/code-block/code-block-adapter-context.cjs +17 -0
- package/dist/cjs/components/code-block/code-block-adapter-provider.cjs +14 -0
- package/dist/cjs/components/code-block/code-block-context.cjs +12 -0
- package/dist/cjs/components/code-block/code-block.cjs +260 -0
- package/dist/cjs/components/code-block/index.cjs +29 -0
- package/dist/cjs/components/code-block/namespace.cjs +23 -0
- package/dist/cjs/components/code-block/types.cjs +2 -0
- package/dist/cjs/components/code-block/use-code-highlight.cjs +30 -0
- package/dist/cjs/components/collapsible/collapsible.cjs +28 -0
- package/dist/cjs/components/collapsible/index.cjs +25 -0
- package/dist/cjs/components/collapsible/namespace.cjs +13 -0
- package/dist/cjs/components/color-picker/color-picker.cjs +152 -0
- package/dist/cjs/components/color-picker/index.cjs +57 -0
- package/dist/cjs/components/color-picker/namespace.cjs +40 -0
- package/dist/cjs/components/color-swatch/index.cjs +57 -0
- package/dist/cjs/components/combobox/combobox.cjs +98 -0
- package/dist/cjs/components/combobox/index.cjs +42 -0
- package/dist/cjs/components/combobox/namespace.cjs +27 -0
- package/dist/cjs/components/container/container.cjs +13 -0
- package/dist/cjs/components/container/index.cjs +8 -0
- package/dist/cjs/components/data-list/data-list.cjs +29 -0
- package/dist/cjs/components/data-list/index.cjs +14 -0
- package/dist/cjs/components/data-list/namespace.cjs +11 -0
- package/dist/cjs/components/date-picker/date-picker.cjs +196 -0
- package/dist/cjs/components/date-picker/index.cjs +61 -0
- package/dist/cjs/components/date-picker/namespace.cjs +47 -0
- package/dist/cjs/components/dialog/dialog.cjs +82 -0
- package/dist/cjs/components/dialog/index.cjs +33 -0
- package/dist/cjs/components/dialog/namespace.cjs +21 -0
- package/dist/cjs/components/download-trigger/index.cjs +14 -0
- package/dist/cjs/components/drawer/drawer.cjs +82 -0
- package/dist/cjs/components/drawer/index.cjs +33 -0
- package/dist/cjs/components/drawer/namespace.cjs +21 -0
- package/dist/cjs/components/editable/editable.cjs +65 -0
- package/dist/cjs/components/editable/index.cjs +30 -0
- package/dist/cjs/components/editable/namespace.cjs +19 -0
- package/dist/cjs/components/em/index.cjs +13 -0
- package/dist/cjs/components/empty-state/empty-state.cjs +28 -0
- package/dist/cjs/components/empty-state/index.cjs +15 -0
- package/dist/cjs/components/empty-state/namespace.cjs +12 -0
- package/dist/cjs/components/environment/index.cjs +14 -0
- package/dist/cjs/components/field/field.cjs +69 -0
- package/dist/cjs/components/field/index.cjs +29 -0
- package/dist/cjs/components/field/namespace.cjs +22 -0
- package/dist/cjs/components/fieldset/fieldset.cjs +23 -0
- package/dist/cjs/components/fieldset/index.cjs +19 -0
- package/dist/cjs/components/fieldset/namespace.cjs +12 -0
- package/dist/cjs/components/file-upload/file-upload.cjs +129 -0
- package/dist/cjs/components/file-upload/index.cjs +39 -0
- package/dist/cjs/components/file-upload/namespace.cjs +27 -0
- package/dist/cjs/components/flex/flex.cjs +43 -0
- package/dist/cjs/components/flex/index.cjs +7 -0
- package/dist/cjs/components/float/float.cjs +75 -0
- package/dist/cjs/components/float/index.cjs +7 -0
- package/dist/cjs/components/floating-panel/floating-panel.cjs +58 -0
- package/dist/cjs/components/floating-panel/index.cjs +37 -0
- package/dist/cjs/components/floating-panel/namespace.cjs +26 -0
- package/dist/cjs/components/focus-trap/focus-trap.cjs +9 -0
- package/dist/cjs/components/focus-trap/index.cjs +7 -0
- package/dist/cjs/components/for/for.cjs +11 -0
- package/dist/cjs/components/for/index.cjs +7 -0
- package/dist/cjs/components/format/index.cjs +9 -0
- package/dist/cjs/components/grid/grid-item.cjs +46 -0
- package/dist/cjs/components/grid/grid.cjs +47 -0
- package/dist/cjs/components/grid/index.cjs +9 -0
- package/dist/cjs/components/group/group.cjs +147 -0
- package/dist/cjs/components/group/index.cjs +7 -0
- package/dist/cjs/components/heading/index.cjs +13 -0
- package/dist/cjs/components/highlight/highlight.cjs +26 -0
- package/dist/cjs/components/highlight/index.cjs +12 -0
- package/dist/cjs/components/hover-card/hover-card.cjs +42 -0
- package/dist/cjs/components/hover-card/index.cjs +27 -0
- package/dist/cjs/components/hover-card/namespace.cjs +15 -0
- package/dist/cjs/components/icon/create-icon.cjs +31 -0
- package/dist/cjs/components/icon/icon.cjs +53 -0
- package/dist/cjs/components/icon/index.cjs +10 -0
- package/dist/cjs/components/icons.cjs +254 -0
- package/dist/cjs/components/image/image.cjs +26 -0
- package/dist/cjs/components/image/index.cjs +7 -0
- package/dist/cjs/components/index.cjs +1588 -0
- package/dist/cjs/components/input/index.cjs +8 -0
- package/dist/cjs/components/input/input.cjs +14 -0
- package/dist/cjs/components/input-addon/index.cjs +7 -0
- package/dist/cjs/components/input-addon/input-addon.cjs +19 -0
- package/dist/cjs/components/input-element/index.cjs +7 -0
- package/dist/cjs/components/input-element/input-element.cjs +30 -0
- package/dist/cjs/components/input-group/index.cjs +7 -0
- package/dist/cjs/components/input-group/input-group.cjs +54 -0
- package/dist/cjs/components/kbd/index.cjs +7 -0
- package/dist/cjs/components/kbd/kbd.cjs +13 -0
- package/dist/cjs/components/link/index.cjs +11 -0
- package/dist/cjs/components/link/link-box.cjs +65 -0
- package/dist/cjs/components/link/link.cjs +13 -0
- package/dist/cjs/components/list/index.cjs +13 -0
- package/dist/cjs/components/list/list.cjs +28 -0
- package/dist/cjs/components/list/namespace.cjs +10 -0
- package/dist/cjs/components/listbox/index.cjs +37 -0
- package/dist/cjs/components/listbox/listbox.cjs +79 -0
- package/dist/cjs/components/listbox/namespace.cjs +21 -0
- package/dist/cjs/components/loader/index.cjs +9 -0
- package/dist/cjs/components/loader/loader-overlay.cjs +19 -0
- package/dist/cjs/components/loader/loader.cjs +57 -0
- package/dist/cjs/components/locale/index.cjs +18 -0
- package/dist/cjs/components/mark/index.cjs +13 -0
- package/dist/cjs/components/marquee/index.cjs +25 -0
- package/dist/cjs/components/marquee/marquee.cjs +42 -0
- package/dist/cjs/components/marquee/namespace.cjs +13 -0
- package/dist/cjs/components/menu/index.cjs +45 -0
- package/dist/cjs/components/menu/menu.cjs +116 -0
- package/dist/cjs/components/menu/namespace.cjs +29 -0
- package/dist/cjs/components/native-select/index.cjs +13 -0
- package/dist/cjs/components/native-select/namespace.cjs +10 -0
- package/dist/cjs/components/native-select/native-select.cjs +79 -0
- package/dist/cjs/components/number-input/index.cjs +29 -0
- package/dist/cjs/components/number-input/namespace.cjs +17 -0
- package/dist/cjs/components/number-input/number-input.cjs +52 -0
- package/dist/cjs/components/pagination/index.cjs +28 -0
- package/dist/cjs/components/pagination/namespace.cjs +16 -0
- package/dist/cjs/components/pagination/pagination.cjs +81 -0
- package/dist/cjs/components/pin-input/index.cjs +26 -0
- package/dist/cjs/components/pin-input/namespace.cjs +14 -0
- package/dist/cjs/components/pin-input/pin-input.cjs +42 -0
- package/dist/cjs/components/popover/index.cjs +34 -0
- package/dist/cjs/components/popover/namespace.cjs +23 -0
- package/dist/cjs/components/popover/popover.cjs +79 -0
- package/dist/cjs/components/portal/index.cjs +10 -0
- package/dist/cjs/components/presence/index.cjs +9 -0
- package/dist/cjs/components/progress/index.cjs +26 -0
- package/dist/cjs/components/progress/namespace.cjs +14 -0
- package/dist/cjs/components/progress/progress.cjs +45 -0
- package/dist/cjs/components/progress-circle/index.cjs +18 -0
- package/dist/cjs/components/progress-circle/namespace.cjs +14 -0
- package/dist/cjs/components/progress-circle/progress-circle.cjs +32 -0
- package/dist/cjs/components/qr-code/index.cjs +24 -0
- package/dist/cjs/components/qr-code/namespace.cjs +18 -0
- package/dist/cjs/components/qr-code/qr-code.cjs +48 -0
- package/dist/cjs/components/quote/index.cjs +14 -0
- package/dist/cjs/components/radio-card/index.cjs +35 -0
- package/dist/cjs/components/radio-card/namespace.cjs +20 -0
- package/dist/cjs/components/radio-card/radio-card.cjs +105 -0
- package/dist/cjs/components/radio-group/index.cjs +32 -0
- package/dist/cjs/components/radio-group/namespace.cjs +17 -0
- package/dist/cjs/components/radio-group/radio-group.cjs +60 -0
- package/dist/cjs/components/radiomark/index.cjs +7 -0
- package/dist/cjs/components/radiomark/radiomark.cjs +29 -0
- package/dist/cjs/components/rating-group/index.cjs +33 -0
- package/dist/cjs/components/rating-group/namespace.cjs +18 -0
- package/dist/cjs/components/rating-group/rating-group.cjs +71 -0
- package/dist/cjs/components/scroll-area/index.cjs +27 -0
- package/dist/cjs/components/scroll-area/namespace.cjs +15 -0
- package/dist/cjs/components/scroll-area/scroll-area.cjs +42 -0
- package/dist/cjs/components/segment-group/index.cjs +32 -0
- package/dist/cjs/components/segment-group/namespace.cjs +16 -0
- package/dist/cjs/components/segment-group/segment-group.cjs +65 -0
- package/dist/cjs/components/select/index.cjs +43 -0
- package/dist/cjs/components/select/namespace.cjs +27 -0
- package/dist/cjs/components/select/select.cjs +108 -0
- package/dist/cjs/components/separator/index.cjs +8 -0
- package/dist/cjs/components/separator/separator.cjs +36 -0
- package/dist/cjs/components/show/index.cjs +7 -0
- package/dist/cjs/components/show/show.cjs +17 -0
- package/dist/cjs/components/simple-grid/index.cjs +7 -0
- package/dist/cjs/components/simple-grid/simple-grid.cjs +36 -0
- package/dist/cjs/components/skeleton/index.cjs +10 -0
- package/dist/cjs/components/skeleton/skeleton.cjs +62 -0
- package/dist/cjs/components/skip-nav/index.cjs +9 -0
- package/dist/cjs/components/skip-nav/skip-nav-content.cjs +26 -0
- package/dist/cjs/components/skip-nav/skip-nav-link.cjs +30 -0
- package/dist/cjs/components/slider/index.cjs +34 -0
- package/dist/cjs/components/slider/namespace.cjs +24 -0
- package/dist/cjs/components/slider/slider.cjs +97 -0
- package/dist/cjs/components/spacer/index.cjs +7 -0
- package/dist/cjs/components/spacer/spacer.cjs +15 -0
- package/dist/cjs/components/span/index.cjs +9 -0
- package/dist/cjs/components/spinner/index.cjs +8 -0
- package/dist/cjs/components/spinner/spinner.cjs +13 -0
- package/dist/cjs/components/splitter/index.cjs +34 -0
- package/dist/cjs/components/splitter/namespace.cjs +14 -0
- package/dist/cjs/components/splitter/splitter.cjs +50 -0
- package/dist/cjs/components/square/index.cjs +31 -0
- package/dist/cjs/components/stack/get-separator-style.cjs +38 -0
- package/dist/cjs/components/stack/h-stack.cjs +15 -0
- package/dist/cjs/components/stack/index.cjs +13 -0
- package/dist/cjs/components/stack/stack-separator.cjs +17 -0
- package/dist/cjs/components/stack/stack.cjs +65 -0
- package/dist/cjs/components/stack/v-stack.cjs +15 -0
- package/dist/cjs/components/stat/index.cjs +18 -0
- package/dist/cjs/components/stat/namespace.cjs +14 -0
- package/dist/cjs/components/stat/stat.cjs +82 -0
- package/dist/cjs/components/status/index.cjs +12 -0
- package/dist/cjs/components/status/namespace.cjs +9 -0
- package/dist/cjs/components/status/status.cjs +22 -0
- package/dist/cjs/components/steps/index.cjs +40 -0
- package/dist/cjs/components/steps/namespace.cjs +24 -0
- package/dist/cjs/components/steps/steps.cjs +100 -0
- package/dist/cjs/components/sticky/index.cjs +14 -0
- package/dist/cjs/components/strong/index.cjs +11 -0
- package/dist/cjs/components/switch/index.cjs +28 -0
- package/dist/cjs/components/switch/namespace.cjs +16 -0
- package/dist/cjs/components/switch/switch.cjs +75 -0
- package/dist/cjs/components/table/index.cjs +21 -0
- package/dist/cjs/components/table/namespace.cjs +18 -0
- package/dist/cjs/components/table/table.cjs +92 -0
- package/dist/cjs/components/tabs/index.cjs +30 -0
- package/dist/cjs/components/tabs/namespace.cjs +19 -0
- package/dist/cjs/components/tabs/tabs.cjs +50 -0
- package/dist/cjs/components/tag/index.cjs +15 -0
- package/dist/cjs/components/tag/namespace.cjs +12 -0
- package/dist/cjs/components/tag/tag.cjs +36 -0
- package/dist/cjs/components/tags-input/index.cjs +36 -0
- package/dist/cjs/components/tags-input/namespace.cjs +22 -0
- package/dist/cjs/components/tags-input/tags-input.cjs +72 -0
- package/dist/cjs/components/text/index.cjs +13 -0
- package/dist/cjs/components/textarea/index.cjs +8 -0
- package/dist/cjs/components/textarea/textarea.cjs +16 -0
- package/dist/cjs/components/theme.cjs +33 -0
- package/dist/cjs/components/timeline/index.cjs +18 -0
- package/dist/cjs/components/timeline/namespace.cjs +15 -0
- package/dist/cjs/components/timeline/timeline.cjs +42 -0
- package/dist/cjs/components/toast/index.cjs +21 -0
- package/dist/cjs/components/toast/namespace.cjs +12 -0
- package/dist/cjs/components/toast/toast.cjs +73 -0
- package/dist/cjs/components/toggle/index.cjs +22 -0
- package/dist/cjs/components/toggle/namespace.cjs +10 -0
- package/dist/cjs/components/toggle/toggle.cjs +31 -0
- package/dist/cjs/components/tooltip/index.cjs +27 -0
- package/dist/cjs/components/tooltip/namespace.cjs +15 -0
- package/dist/cjs/components/tooltip/tooltip.cjs +45 -0
- package/dist/cjs/components/tree-view/index.cjs +54 -0
- package/dist/cjs/components/tree-view/namespace.cjs +39 -0
- package/dist/cjs/components/tree-view/tree-view.cjs +96 -0
- package/dist/cjs/components/visually-hidden/index.cjs +8 -0
- package/dist/cjs/components/visually-hidden/visually-hidden.cjs +23 -0
- package/dist/cjs/components/wrap/index.cjs +8 -0
- package/dist/cjs/components/wrap/wrap.cjs +50 -0
- package/dist/cjs/create-context.cjs +35 -0
- package/dist/cjs/hooks/index.cjs +38 -0
- package/dist/cjs/hooks/use-breakpoint.cjs +47 -0
- package/dist/cjs/hooks/use-callback-ref.cjs +16 -0
- package/dist/cjs/hooks/use-const.cjs +14 -0
- package/dist/cjs/hooks/use-controllable-state.cjs +42 -0
- package/dist/cjs/hooks/use-disclosure.cjs +37 -0
- package/dist/cjs/hooks/use-element-rect.cjs +26 -0
- package/dist/cjs/hooks/use-force-update.cjs +10 -0
- package/dist/cjs/hooks/use-list-collection.cjs +10 -0
- package/dist/cjs/hooks/use-live-ref.cjs +12 -0
- package/dist/cjs/hooks/use-media-query.cjs +56 -0
- package/dist/cjs/hooks/use-overlay.cjs +177 -0
- package/dist/cjs/hooks/use-previous.cjs +16 -0
- package/dist/cjs/hooks/use-safe-layout-effect.cjs +8 -0
- package/dist/cjs/hooks/use-update-effect.cjs +25 -0
- package/dist/cjs/index.cjs +1687 -0
- package/dist/cjs/merge-props.cjs +34 -0
- package/dist/cjs/merge-refs.cjs +70 -0
- package/dist/cjs/preset-base.cjs +1101 -0
- package/dist/cjs/preset.cjs +13 -0
- package/dist/cjs/styled-system/breakpoints.cjs +112 -0
- package/dist/cjs/styled-system/calc.cjs +42 -0
- package/dist/cjs/styled-system/color-mix.cjs +35 -0
- package/dist/cjs/styled-system/composition.cjs +2 -0
- package/dist/cjs/styled-system/conditions.cjs +43 -0
- package/dist/cjs/styled-system/config.cjs +38 -0
- package/dist/cjs/styled-system/create-recipe-context.cjs +76 -0
- package/dist/cjs/styled-system/create-slot-recipe-context.cjs +143 -0
- package/dist/cjs/styled-system/css-var.cjs +20 -0
- package/dist/cjs/styled-system/css.cjs +71 -0
- package/dist/cjs/styled-system/css.types.cjs +2 -0
- package/dist/cjs/styled-system/cva.cjs +124 -0
- package/dist/cjs/styled-system/display-name.cjs +22 -0
- package/dist/cjs/styled-system/empty.cjs +9 -0
- package/dist/cjs/styled-system/esc.cjs +14 -0
- package/dist/cjs/styled-system/expand-reference.cjs +135 -0
- package/dist/cjs/styled-system/factory.cjs +267 -0
- package/dist/cjs/styled-system/factory.types.cjs +2 -0
- package/dist/cjs/styled-system/generated/conditions.gen.cjs +2 -0
- package/dist/cjs/styled-system/generated/prop-types.gen.cjs +2 -0
- package/dist/cjs/styled-system/generated/recipes.gen.cjs +2 -0
- package/dist/cjs/styled-system/generated/system.gen.cjs +2 -0
- package/dist/cjs/styled-system/generated/token.gen.cjs +2 -0
- package/dist/cjs/styled-system/index.cjs +44 -0
- package/dist/cjs/styled-system/layers.cjs +30 -0
- package/dist/cjs/styled-system/map-to-json.cjs +15 -0
- package/dist/cjs/styled-system/merge-config.cjs +42 -0
- package/dist/cjs/styled-system/normalize.cjs +16 -0
- package/dist/cjs/styled-system/preflight.cjs +165 -0
- package/dist/cjs/styled-system/provider.cjs +23 -0
- package/dist/cjs/styled-system/recipe-props.cjs +16 -0
- package/dist/cjs/styled-system/recipe.types.cjs +2 -0
- package/dist/cjs/styled-system/references.cjs +39 -0
- package/dist/cjs/styled-system/resolve-token-value.cjs +28 -0
- package/dist/cjs/styled-system/selectors.cjs +2 -0
- package/dist/cjs/styled-system/serialize.cjs +69 -0
- package/dist/cjs/styled-system/singleton.cjs +15 -0
- package/dist/cjs/styled-system/sort-at-params.cjs +71 -0
- package/dist/cjs/styled-system/sort-at-rules.cjs +33 -0
- package/dist/cjs/styled-system/sva.cjs +85 -0
- package/dist/cjs/styled-system/system.cjs +283 -0
- package/dist/cjs/styled-system/token-dictionary.cjs +438 -0
- package/dist/cjs/styled-system/token-middleware.cjs +150 -0
- package/dist/cjs/styled-system/token-transforms.cjs +81 -0
- package/dist/cjs/styled-system/types.cjs +2 -0
- package/dist/cjs/styled-system/unit-conversion.cjs +58 -0
- package/dist/cjs/styled-system/use-recipe.cjs +17 -0
- package/dist/cjs/styled-system/use-resolved-props.cjs +67 -0
- package/dist/cjs/styled-system/use-slot-recipe.cjs +17 -0
- package/dist/cjs/styled-system/use-token.cjs +15 -0
- package/dist/cjs/styled-system/utility.cjs +174 -0
- package/dist/cjs/theme/breakpoints.cjs +11 -0
- package/dist/cjs/theme/global-css.cjs +58 -0
- package/dist/cjs/theme/index.cjs +237 -0
- package/dist/cjs/theme/layer-styles.cjs +116 -0
- package/dist/cjs/theme/motion-styles.cjs +54 -0
- package/dist/cjs/theme/recipes/accordion.cjs +144 -0
- package/dist/cjs/theme/recipes/action-bar.cjs +86 -0
- package/dist/cjs/theme/recipes/alert.cjs +155 -0
- package/dist/cjs/theme/recipes/avatar.cjs +142 -0
- package/dist/cjs/theme/recipes/badge.cjs +73 -0
- package/dist/cjs/theme/recipes/blockquote.cjs +82 -0
- package/dist/cjs/theme/recipes/breadcrumb.cjs +99 -0
- package/dist/cjs/theme/recipes/button.cjs +184 -0
- package/dist/cjs/theme/recipes/card.cjs +102 -0
- package/dist/cjs/theme/recipes/carousel.cjs +66 -0
- package/dist/cjs/theme/recipes/checkbox-card.cjs +209 -0
- package/dist/cjs/theme/recipes/checkbox.cjs +68 -0
- package/dist/cjs/theme/recipes/checkmark.cjs +95 -0
- package/dist/cjs/theme/recipes/code-block.cjs +227 -0
- package/dist/cjs/theme/recipes/code.cjs +19 -0
- package/dist/cjs/theme/recipes/collapsible.cjs +30 -0
- package/dist/cjs/theme/recipes/color-picker.cjs +262 -0
- package/dist/cjs/theme/recipes/color-swatch.cjs +43 -0
- package/dist/cjs/theme/recipes/combobox.cjs +292 -0
- package/dist/cjs/theme/recipes/container.cjs +30 -0
- package/dist/cjs/theme/recipes/data-list.cjs +98 -0
- package/dist/cjs/theme/recipes/date-picker.cjs +392 -0
- package/dist/cjs/theme/recipes/dialog.cjs +232 -0
- package/dist/cjs/theme/recipes/drawer.cjs +214 -0
- package/dist/cjs/theme/recipes/editable.cjs +88 -0
- package/dist/cjs/theme/recipes/empty-state.cjs +90 -0
- package/dist/cjs/theme/recipes/field.cjs +70 -0
- package/dist/cjs/theme/recipes/fieldset.cjs +64 -0
- package/dist/cjs/theme/recipes/file-upload.cjs +111 -0
- package/dist/cjs/theme/recipes/floating-panel.cjs +80 -0
- package/dist/cjs/theme/recipes/heading.cjs +31 -0
- package/dist/cjs/theme/recipes/hover-card.cjs +71 -0
- package/dist/cjs/theme/recipes/icon.cjs +30 -0
- package/dist/cjs/theme/recipes/input-addon.cjs +45 -0
- package/dist/cjs/theme/recipes/input.cjs +103 -0
- package/dist/cjs/theme/recipes/kbd.cjs +61 -0
- package/dist/cjs/theme/recipes/link.cjs +39 -0
- package/dist/cjs/theme/recipes/list.cjs +66 -0
- package/dist/cjs/theme/recipes/listbox.cjs +132 -0
- package/dist/cjs/theme/recipes/mark.cjs +30 -0
- package/dist/cjs/theme/recipes/marquee.cjs +93 -0
- package/dist/cjs/theme/recipes/menu.cjs +148 -0
- package/dist/cjs/theme/recipes/native-select.cjs +156 -0
- package/dist/cjs/theme/recipes/number-input.cjs +115 -0
- package/dist/cjs/theme/recipes/pin-input.cjs +50 -0
- package/dist/cjs/theme/recipes/popover.cjs +91 -0
- package/dist/cjs/theme/recipes/progress-circle.cjs +96 -0
- package/dist/cjs/theme/recipes/progress.cjs +127 -0
- package/dist/cjs/theme/recipes/qr-code.cjs +64 -0
- package/dist/cjs/theme/recipes/radio-card.cjs +219 -0
- package/dist/cjs/theme/recipes/radio-group.cjs +66 -0
- package/dist/cjs/theme/recipes/radiomark.cjs +106 -0
- package/dist/cjs/theme/recipes/rating-group.cjs +89 -0
- package/dist/cjs/theme/recipes/scroll-area.cjs +140 -0
- package/dist/cjs/theme/recipes/segment-group.cjs +128 -0
- package/dist/cjs/theme/recipes/select.cjs +296 -0
- package/dist/cjs/theme/recipes/separator.cjs +53 -0
- package/dist/cjs/theme/recipes/skeleton.cjs +54 -0
- package/dist/cjs/theme/recipes/skip-nav-link.cjs +36 -0
- package/dist/cjs/theme/recipes/slider.cjs +200 -0
- package/dist/cjs/theme/recipes/spinner.cjs +36 -0
- package/dist/cjs/theme/recipes/splitter.cjs +80 -0
- package/dist/cjs/theme/recipes/stat.cjs +84 -0
- package/dist/cjs/theme/recipes/status.cjs +48 -0
- package/dist/cjs/theme/recipes/steps.cjs +219 -0
- package/dist/cjs/theme/recipes/switch.cjs +164 -0
- package/dist/cjs/theme/recipes/table.cjs +165 -0
- package/dist/cjs/theme/recipes/tabs.cjs +275 -0
- package/dist/cjs/theme/recipes/tag.cjs +130 -0
- package/dist/cjs/theme/recipes/tags-input.cjs +239 -0
- package/dist/cjs/theme/recipes/textarea.cjs +90 -0
- package/dist/cjs/theme/recipes/timeline.cjs +159 -0
- package/dist/cjs/theme/recipes/toast.cjs +102 -0
- package/dist/cjs/theme/recipes/tooltip.cjs +44 -0
- package/dist/cjs/theme/recipes/tree-view.cjs +168 -0
- package/dist/cjs/theme/recipes.cjs +45 -0
- package/dist/cjs/theme/recipes.export.cjs +43 -0
- package/dist/cjs/theme/semantic-tokens/colors.cjs +355 -0
- package/dist/cjs/theme/semantic-tokens/radii.cjs +11 -0
- package/dist/cjs/theme/semantic-tokens/shadows.cjs +56 -0
- package/dist/cjs/theme/slot-recipes.cjs +119 -0
- package/dist/cjs/theme/slot-recipes.export.cjs +115 -0
- package/dist/cjs/theme/text-styles.cjs +50 -0
- package/dist/cjs/theme/tokens/animations.cjs +12 -0
- package/dist/cjs/theme/tokens/aspect-ratios.cjs +14 -0
- package/dist/cjs/theme/tokens/blurs.cjs +16 -0
- package/dist/cjs/theme/tokens/borders.cjs +13 -0
- package/dist/cjs/theme/tokens/colors.cjs +168 -0
- package/dist/cjs/theme/tokens/cursor.cjs +16 -0
- package/dist/cjs/theme/tokens/durations.cjs +15 -0
- package/dist/cjs/theme/tokens/easings.cjs +12 -0
- package/dist/cjs/theme/tokens/font-sizes.cjs +22 -0
- package/dist/cjs/theme/tokens/font-weights.cjs +17 -0
- package/dist/cjs/theme/tokens/fonts.cjs +18 -0
- package/dist/cjs/theme/tokens/keyframes.cjs +171 -0
- package/dist/cjs/theme/tokens/letter-spacing.cjs +13 -0
- package/dist/cjs/theme/tokens/line-heights.cjs +13 -0
- package/dist/cjs/theme/tokens/radius.cjs +19 -0
- package/dist/cjs/theme/tokens/sizes.cjs +71 -0
- package/dist/cjs/theme/tokens/spacing.cjs +42 -0
- package/dist/cjs/theme/tokens/z-indices.cjs +21 -0
- package/dist/cjs/utils/attr.cjs +5 -0
- package/dist/cjs/utils/call-all.cjs +9 -0
- package/dist/cjs/utils/clone.cjs +13 -0
- package/dist/cjs/utils/compact.cjs +11 -0
- package/dist/cjs/utils/create-props.cjs +5 -0
- package/dist/cjs/utils/cx.cjs +16 -0
- package/dist/cjs/utils/entries.cjs +12 -0
- package/dist/cjs/utils/flatten.cjs +19 -0
- package/dist/cjs/utils/index.cjs +46 -0
- package/dist/cjs/utils/interop.cjs +7 -0
- package/dist/cjs/utils/is.cjs +11 -0
- package/dist/cjs/utils/memo.cjs +66 -0
- package/dist/cjs/utils/merge.cjs +35 -0
- package/dist/cjs/utils/omit.cjs +13 -0
- package/dist/cjs/utils/ref.cjs +32 -0
- package/dist/cjs/utils/split-props.cjs +29 -0
- package/dist/cjs/utils/types.cjs +2 -0
- package/dist/cjs/utils/uniq.cjs +11 -0
- package/dist/cjs/utils/unit.cjs +10 -0
- package/dist/cjs/utils/walk-object.cjs +40 -0
- package/dist/esm/anatomy.js +244 -0
- package/dist/esm/collection.js +1 -0
- package/dist/esm/components/absolute-center/absolute-center.js +40 -0
- package/dist/esm/components/absolute-center/index.js +1 -0
- package/dist/esm/components/accordion/accordion.js +37 -0
- package/dist/esm/components/accordion/index.js +4 -0
- package/dist/esm/components/accordion/namespace.js +1 -0
- package/dist/esm/components/action-bar/action-bar.js +35 -0
- package/dist/esm/components/action-bar/index.js +4 -0
- package/dist/esm/components/action-bar/namespace.js +1 -0
- package/dist/esm/components/alert/alert.js +60 -0
- package/dist/esm/components/alert/index.js +3 -0
- package/dist/esm/components/alert/namespace.js +1 -0
- package/dist/esm/components/aspect-ratio/aspect-ratio.js +52 -0
- package/dist/esm/components/aspect-ratio/index.js +1 -0
- package/dist/esm/components/avatar/avatar.js +95 -0
- package/dist/esm/components/avatar/index.js +4 -0
- package/dist/esm/components/avatar/namespace.js +1 -0
- package/dist/esm/components/badge/badge.js +10 -0
- package/dist/esm/components/badge/index.js +1 -0
- package/dist/esm/components/bleed/bleed.js +46 -0
- package/dist/esm/components/bleed/index.js +1 -0
- package/dist/esm/components/blockquote/blockquote.js +23 -0
- package/dist/esm/components/blockquote/index.js +3 -0
- package/dist/esm/components/blockquote/namespace.js +1 -0
- package/dist/esm/components/box/index.js +7 -0
- package/dist/esm/components/breadcrumb/breadcrumb.js +49 -0
- package/dist/esm/components/breadcrumb/index.js +3 -0
- package/dist/esm/components/breadcrumb/namespace.js +1 -0
- package/dist/esm/components/button/button-group.js +20 -0
- package/dist/esm/components/button/button.js +57 -0
- package/dist/esm/components/button/close-button.js +11 -0
- package/dist/esm/components/button/icon-button.js +22 -0
- package/dist/esm/components/button/index.js +4 -0
- package/dist/esm/components/card/card.js +33 -0
- package/dist/esm/components/card/index.js +3 -0
- package/dist/esm/components/card/namespace.js +1 -0
- package/dist/esm/components/carousel/carousel.js +69 -0
- package/dist/esm/components/carousel/index.js +4 -0
- package/dist/esm/components/carousel/namespace.js +1 -0
- package/dist/esm/components/center/center.js +20 -0
- package/dist/esm/components/center/index.js +1 -0
- package/dist/esm/components/checkbox/checkbox.js +90 -0
- package/dist/esm/components/checkbox/index.js +4 -0
- package/dist/esm/components/checkbox/namespace.js +1 -0
- package/dist/esm/components/checkbox-card/checkbox-card.js +59 -0
- package/dist/esm/components/checkbox-card/index.js +4 -0
- package/dist/esm/components/checkbox-card/namespace.js +1 -0
- package/dist/esm/components/checkmark/checkmark.js +44 -0
- package/dist/esm/components/checkmark/index.js +1 -0
- package/dist/esm/components/circle/index.js +14 -0
- package/dist/esm/components/client-only/client-only.js +15 -0
- package/dist/esm/components/client-only/index.js +1 -0
- package/dist/esm/components/clipboard/clipboard.js +38 -0
- package/dist/esm/components/clipboard/index.js +4 -0
- package/dist/esm/components/clipboard/namespace.js +1 -0
- package/dist/esm/components/code/code.js +10 -0
- package/dist/esm/components/code/index.js +1 -0
- package/dist/esm/components/code-block/adapters.js +96 -0
- package/dist/esm/components/code-block/code-block-adapter-context.js +14 -0
- package/dist/esm/components/code-block/code-block-adapter-provider.js +12 -0
- package/dist/esm/components/code-block/code-block-context.js +9 -0
- package/dist/esm/components/code-block/code-block.js +242 -0
- package/dist/esm/components/code-block/index.js +5 -0
- package/dist/esm/components/code-block/namespace.js +2 -0
- package/dist/esm/components/code-block/types.js +1 -0
- package/dist/esm/components/code-block/use-code-highlight.js +28 -0
- package/dist/esm/components/collapsible/collapsible.js +19 -0
- package/dist/esm/components/collapsible/index.js +4 -0
- package/dist/esm/components/collapsible/namespace.js +1 -0
- package/dist/esm/components/color-picker/color-picker.js +115 -0
- package/dist/esm/components/color-picker/index.js +4 -0
- package/dist/esm/components/color-picker/namespace.js +1 -0
- package/dist/esm/components/color-swatch/index.js +53 -0
- package/dist/esm/components/combobox/combobox.js +76 -0
- package/dist/esm/components/combobox/index.js +4 -0
- package/dist/esm/components/combobox/namespace.js +1 -0
- package/dist/esm/components/container/container.js +10 -0
- package/dist/esm/components/container/index.js +1 -0
- package/dist/esm/components/data-list/data-list.js +22 -0
- package/dist/esm/components/data-list/index.js +3 -0
- package/dist/esm/components/data-list/namespace.js +1 -0
- package/dist/esm/components/date-picker/date-picker.js +158 -0
- package/dist/esm/components/date-picker/index.js +4 -0
- package/dist/esm/components/date-picker/namespace.js +2 -0
- package/dist/esm/components/dialog/dialog.js +65 -0
- package/dist/esm/components/dialog/index.js +4 -0
- package/dist/esm/components/dialog/namespace.js +1 -0
- package/dist/esm/components/download-trigger/index.js +9 -0
- package/dist/esm/components/drawer/drawer.js +65 -0
- package/dist/esm/components/drawer/index.js +4 -0
- package/dist/esm/components/drawer/namespace.js +1 -0
- package/dist/esm/components/editable/editable.js +50 -0
- package/dist/esm/components/editable/index.js +4 -0
- package/dist/esm/components/editable/namespace.js +1 -0
- package/dist/esm/components/em/index.js +11 -0
- package/dist/esm/components/empty-state/empty-state.js +20 -0
- package/dist/esm/components/empty-state/index.js +3 -0
- package/dist/esm/components/empty-state/namespace.js +1 -0
- package/dist/esm/components/environment/index.js +1 -0
- package/dist/esm/components/field/field.js +60 -0
- package/dist/esm/components/field/index.js +4 -0
- package/dist/esm/components/field/namespace.js +2 -0
- package/dist/esm/components/fieldset/fieldset.js +16 -0
- package/dist/esm/components/fieldset/index.js +4 -0
- package/dist/esm/components/fieldset/namespace.js +1 -0
- package/dist/esm/components/file-upload/file-upload.js +106 -0
- package/dist/esm/components/file-upload/index.js +4 -0
- package/dist/esm/components/file-upload/namespace.js +1 -0
- package/dist/esm/components/flex/flex.js +41 -0
- package/dist/esm/components/flex/index.js +1 -0
- package/dist/esm/components/float/float.js +73 -0
- package/dist/esm/components/float/index.js +1 -0
- package/dist/esm/components/floating-panel/floating-panel.js +41 -0
- package/dist/esm/components/floating-panel/index.js +4 -0
- package/dist/esm/components/floating-panel/namespace.js +2 -0
- package/dist/esm/components/focus-trap/focus-trap.js +7 -0
- package/dist/esm/components/focus-trap/index.js +1 -0
- package/dist/esm/components/for/for.js +9 -0
- package/dist/esm/components/for/index.js +1 -0
- package/dist/esm/components/format/index.js +6 -0
- package/dist/esm/components/grid/grid-item.js +44 -0
- package/dist/esm/components/grid/grid.js +45 -0
- package/dist/esm/components/grid/index.js +2 -0
- package/dist/esm/components/group/group.js +145 -0
- package/dist/esm/components/group/index.js +1 -0
- package/dist/esm/components/heading/index.js +10 -0
- package/dist/esm/components/highlight/highlight.js +24 -0
- package/dist/esm/components/highlight/index.js +2 -0
- package/dist/esm/components/hover-card/hover-card.js +31 -0
- package/dist/esm/components/hover-card/index.js +4 -0
- package/dist/esm/components/hover-card/namespace.js +1 -0
- package/dist/esm/components/icon/create-icon.js +29 -0
- package/dist/esm/components/icon/icon.js +31 -0
- package/dist/esm/components/icon/index.js +2 -0
- package/dist/esm/components/icons.js +234 -0
- package/dist/esm/components/image/image.js +24 -0
- package/dist/esm/components/image/index.js +1 -0
- package/dist/esm/components/index.js +289 -0
- package/dist/esm/components/input/index.js +1 -0
- package/dist/esm/components/input/input.js +11 -0
- package/dist/esm/components/input-addon/index.js +1 -0
- package/dist/esm/components/input-addon/input-addon.js +17 -0
- package/dist/esm/components/input-element/index.js +1 -0
- package/dist/esm/components/input-element/input-element.js +28 -0
- package/dist/esm/components/input-group/index.js +1 -0
- package/dist/esm/components/input-group/input-group.js +52 -0
- package/dist/esm/components/kbd/index.js +1 -0
- package/dist/esm/components/kbd/kbd.js +10 -0
- package/dist/esm/components/link/index.js +2 -0
- package/dist/esm/components/link/link-box.js +62 -0
- package/dist/esm/components/link/link.js +10 -0
- package/dist/esm/components/list/index.js +3 -0
- package/dist/esm/components/list/list.js +22 -0
- package/dist/esm/components/list/namespace.js +1 -0
- package/dist/esm/components/listbox/index.js +4 -0
- package/dist/esm/components/listbox/listbox.js +62 -0
- package/dist/esm/components/listbox/namespace.js +1 -0
- package/dist/esm/components/loader/index.js +2 -0
- package/dist/esm/components/loader/loader-overlay.js +17 -0
- package/dist/esm/components/loader/loader.js +36 -0
- package/dist/esm/components/locale/index.js +1 -0
- package/dist/esm/components/mark/index.js +10 -0
- package/dist/esm/components/marquee/index.js +4 -0
- package/dist/esm/components/marquee/marquee.js +33 -0
- package/dist/esm/components/marquee/namespace.js +1 -0
- package/dist/esm/components/menu/index.js +4 -0
- package/dist/esm/components/menu/menu.js +91 -0
- package/dist/esm/components/menu/namespace.js +1 -0
- package/dist/esm/components/native-select/index.js +3 -0
- package/dist/esm/components/native-select/namespace.js +1 -0
- package/dist/esm/components/native-select/native-select.js +73 -0
- package/dist/esm/components/number-input/index.js +4 -0
- package/dist/esm/components/number-input/namespace.js +1 -0
- package/dist/esm/components/number-input/number-input.js +39 -0
- package/dist/esm/components/pagination/index.js +4 -0
- package/dist/esm/components/pagination/namespace.js +1 -0
- package/dist/esm/components/pagination/pagination.js +69 -0
- package/dist/esm/components/pin-input/index.js +4 -0
- package/dist/esm/components/pin-input/namespace.js +1 -0
- package/dist/esm/components/pin-input/pin-input.js +32 -0
- package/dist/esm/components/popover/index.js +4 -0
- package/dist/esm/components/popover/namespace.js +1 -0
- package/dist/esm/components/popover/popover.js +60 -0
- package/dist/esm/components/portal/index.js +1 -0
- package/dist/esm/components/presence/index.js +7 -0
- package/dist/esm/components/progress/index.js +4 -0
- package/dist/esm/components/progress/namespace.js +1 -0
- package/dist/esm/components/progress/progress.js +35 -0
- package/dist/esm/components/progress-circle/index.js +3 -0
- package/dist/esm/components/progress-circle/namespace.js +1 -0
- package/dist/esm/components/progress-circle/progress-circle.js +21 -0
- package/dist/esm/components/qr-code/index.js +4 -0
- package/dist/esm/components/qr-code/namespace.js +2 -0
- package/dist/esm/components/qr-code/qr-code.js +39 -0
- package/dist/esm/components/quote/index.js +12 -0
- package/dist/esm/components/radio-card/index.js +4 -0
- package/dist/esm/components/radio-card/namespace.js +1 -0
- package/dist/esm/components/radio-card/radio-card.js +89 -0
- package/dist/esm/components/radio-group/index.js +4 -0
- package/dist/esm/components/radio-group/namespace.js +1 -0
- package/dist/esm/components/radio-group/radio-group.js +47 -0
- package/dist/esm/components/radiomark/index.js +1 -0
- package/dist/esm/components/radiomark/radiomark.js +27 -0
- package/dist/esm/components/rating-group/index.js +4 -0
- package/dist/esm/components/rating-group/namespace.js +1 -0
- package/dist/esm/components/rating-group/rating-group.js +58 -0
- package/dist/esm/components/scroll-area/index.js +4 -0
- package/dist/esm/components/scroll-area/namespace.js +1 -0
- package/dist/esm/components/scroll-area/scroll-area.js +31 -0
- package/dist/esm/components/segment-group/index.js +4 -0
- package/dist/esm/components/segment-group/namespace.js +1 -0
- package/dist/esm/components/segment-group/segment-group.js +53 -0
- package/dist/esm/components/select/index.js +4 -0
- package/dist/esm/components/select/namespace.js +1 -0
- package/dist/esm/components/select/select.js +85 -0
- package/dist/esm/components/separator/index.js +1 -0
- package/dist/esm/components/separator/separator.js +33 -0
- package/dist/esm/components/show/index.js +1 -0
- package/dist/esm/components/show/show.js +15 -0
- package/dist/esm/components/simple-grid/index.js +1 -0
- package/dist/esm/components/simple-grid/simple-grid.js +34 -0
- package/dist/esm/components/skeleton/index.js +1 -0
- package/dist/esm/components/skeleton/skeleton.js +38 -0
- package/dist/esm/components/skip-nav/index.js +2 -0
- package/dist/esm/components/skip-nav/skip-nav-content.js +24 -0
- package/dist/esm/components/skip-nav/skip-nav-link.js +27 -0
- package/dist/esm/components/slider/index.js +4 -0
- package/dist/esm/components/slider/namespace.js +1 -0
- package/dist/esm/components/slider/slider.js +77 -0
- package/dist/esm/components/spacer/index.js +1 -0
- package/dist/esm/components/spacer/spacer.js +13 -0
- package/dist/esm/components/span/index.js +7 -0
- package/dist/esm/components/spinner/index.js +1 -0
- package/dist/esm/components/spinner/spinner.js +10 -0
- package/dist/esm/components/splitter/index.js +4 -0
- package/dist/esm/components/splitter/namespace.js +1 -0
- package/dist/esm/components/splitter/splitter.js +40 -0
- package/dist/esm/components/square/index.js +29 -0
- package/dist/esm/components/stack/get-separator-style.js +36 -0
- package/dist/esm/components/stack/h-stack.js +13 -0
- package/dist/esm/components/stack/index.js +4 -0
- package/dist/esm/components/stack/stack-separator.js +15 -0
- package/dist/esm/components/stack/stack.js +63 -0
- package/dist/esm/components/stack/v-stack.js +13 -0
- package/dist/esm/components/stat/index.js +3 -0
- package/dist/esm/components/stat/namespace.js +1 -0
- package/dist/esm/components/stat/stat.js +71 -0
- package/dist/esm/components/status/index.js +3 -0
- package/dist/esm/components/status/namespace.js +1 -0
- package/dist/esm/components/status/status.js +17 -0
- package/dist/esm/components/steps/index.js +4 -0
- package/dist/esm/components/steps/namespace.js +1 -0
- package/dist/esm/components/steps/steps.js +80 -0
- package/dist/esm/components/sticky/index.js +12 -0
- package/dist/esm/components/strong/index.js +9 -0
- package/dist/esm/components/switch/index.js +4 -0
- package/dist/esm/components/switch/namespace.js +1 -0
- package/dist/esm/components/switch/switch.js +63 -0
- package/dist/esm/components/table/index.js +3 -0
- package/dist/esm/components/table/namespace.js +1 -0
- package/dist/esm/components/table/table.js +78 -0
- package/dist/esm/components/tabs/index.js +4 -0
- package/dist/esm/components/tabs/namespace.js +2 -0
- package/dist/esm/components/tabs/tabs.js +40 -0
- package/dist/esm/components/tag/index.js +3 -0
- package/dist/esm/components/tag/namespace.js +1 -0
- package/dist/esm/components/tag/tag.js +28 -0
- package/dist/esm/components/tags-input/index.js +4 -0
- package/dist/esm/components/tags-input/namespace.js +1 -0
- package/dist/esm/components/tags-input/tags-input.js +54 -0
- package/dist/esm/components/text/index.js +10 -0
- package/dist/esm/components/textarea/index.js +1 -0
- package/dist/esm/components/textarea/textarea.js +13 -0
- package/dist/esm/components/theme.js +31 -0
- package/dist/esm/components/timeline/index.js +3 -0
- package/dist/esm/components/timeline/namespace.js +1 -0
- package/dist/esm/components/timeline/timeline.js +31 -0
- package/dist/esm/components/toast/index.js +4 -0
- package/dist/esm/components/toast/namespace.js +1 -0
- package/dist/esm/components/toast/toast.js +61 -0
- package/dist/esm/components/toggle/index.js +4 -0
- package/dist/esm/components/toggle/namespace.js +1 -0
- package/dist/esm/components/toggle/toggle.js +24 -0
- package/dist/esm/components/tooltip/index.js +4 -0
- package/dist/esm/components/tooltip/namespace.js +1 -0
- package/dist/esm/components/tooltip/tooltip.js +34 -0
- package/dist/esm/components/tree-view/index.js +4 -0
- package/dist/esm/components/tree-view/namespace.js +2 -0
- package/dist/esm/components/tree-view/tree-view.js +77 -0
- package/dist/esm/components/visually-hidden/index.js +1 -0
- package/dist/esm/components/visually-hidden/visually-hidden.js +20 -0
- package/dist/esm/components/wrap/index.js +1 -0
- package/dist/esm/components/wrap/wrap.js +47 -0
- package/dist/esm/create-context.js +33 -0
- package/dist/esm/hooks/index.js +14 -0
- package/dist/esm/hooks/use-breakpoint.js +44 -0
- package/dist/esm/hooks/use-callback-ref.js +14 -0
- package/dist/esm/hooks/use-const.js +12 -0
- package/dist/esm/hooks/use-controllable-state.js +39 -0
- package/dist/esm/hooks/use-disclosure.js +35 -0
- package/dist/esm/hooks/use-element-rect.js +24 -0
- package/dist/esm/hooks/use-force-update.js +8 -0
- package/dist/esm/hooks/use-list-collection.js +1 -0
- package/dist/esm/hooks/use-live-ref.js +10 -0
- package/dist/esm/hooks/use-media-query.js +54 -0
- package/dist/esm/hooks/use-overlay.js +156 -0
- package/dist/esm/hooks/use-previous.js +14 -0
- package/dist/esm/hooks/use-safe-layout-effect.js +6 -0
- package/dist/esm/hooks/use-update-effect.js +23 -0
- package/dist/esm/index.js +320 -0
- package/dist/esm/merge-props.js +32 -0
- package/dist/esm/merge-refs.js +48 -0
- package/dist/esm/preset-base.js +1098 -0
- package/dist/esm/preset.js +9 -0
- package/dist/esm/styled-system/breakpoints.js +110 -0
- package/dist/esm/styled-system/calc.js +40 -0
- package/dist/esm/styled-system/color-mix.js +32 -0
- package/dist/esm/styled-system/composition.js +1 -0
- package/dist/esm/styled-system/conditions.js +41 -0
- package/dist/esm/styled-system/config.js +24 -0
- package/dist/esm/styled-system/create-recipe-context.js +74 -0
- package/dist/esm/styled-system/create-slot-recipe-context.js +141 -0
- package/dist/esm/styled-system/css-var.js +18 -0
- package/dist/esm/styled-system/css.js +69 -0
- package/dist/esm/styled-system/css.types.js +1 -0
- package/dist/esm/styled-system/cva.js +122 -0
- package/dist/esm/styled-system/display-name.js +17 -0
- package/dist/esm/styled-system/empty.js +6 -0
- package/dist/esm/styled-system/esc.js +12 -0
- package/dist/esm/styled-system/expand-reference.js +133 -0
- package/dist/esm/styled-system/factory.js +246 -0
- package/dist/esm/styled-system/factory.types.js +1 -0
- package/dist/esm/styled-system/generated/conditions.gen.js +1 -0
- package/dist/esm/styled-system/generated/prop-types.gen.js +1 -0
- package/dist/esm/styled-system/generated/recipes.gen.js +1 -0
- package/dist/esm/styled-system/generated/system.gen.js +1 -0
- package/dist/esm/styled-system/generated/token.gen.js +1 -0
- package/dist/esm/styled-system/index.js +12 -0
- package/dist/esm/styled-system/layers.js +28 -0
- package/dist/esm/styled-system/map-to-json.js +13 -0
- package/dist/esm/styled-system/merge-config.js +40 -0
- package/dist/esm/styled-system/normalize.js +14 -0
- package/dist/esm/styled-system/preflight.js +163 -0
- package/dist/esm/styled-system/provider.js +20 -0
- package/dist/esm/styled-system/recipe-props.js +13 -0
- package/dist/esm/styled-system/recipe.types.js +1 -0
- package/dist/esm/styled-system/references.js +34 -0
- package/dist/esm/styled-system/resolve-token-value.js +25 -0
- package/dist/esm/styled-system/selectors.js +1 -0
- package/dist/esm/styled-system/serialize.js +67 -0
- package/dist/esm/styled-system/singleton.js +10 -0
- package/dist/esm/styled-system/sort-at-params.js +69 -0
- package/dist/esm/styled-system/sort-at-rules.js +31 -0
- package/dist/esm/styled-system/sva.js +82 -0
- package/dist/esm/styled-system/system.js +280 -0
- package/dist/esm/styled-system/token-dictionary.js +435 -0
- package/dist/esm/styled-system/token-middleware.js +144 -0
- package/dist/esm/styled-system/token-transforms.js +76 -0
- package/dist/esm/styled-system/types.js +1 -0
- package/dist/esm/styled-system/unit-conversion.js +53 -0
- package/dist/esm/styled-system/use-recipe.js +15 -0
- package/dist/esm/styled-system/use-resolved-props.js +64 -0
- package/dist/esm/styled-system/use-slot-recipe.js +15 -0
- package/dist/esm/styled-system/use-token.js +13 -0
- package/dist/esm/styled-system/utility.js +172 -0
- package/dist/esm/theme/breakpoints.js +9 -0
- package/dist/esm/theme/global-css.js +56 -0
- package/dist/esm/theme/index.js +149 -0
- package/dist/esm/theme/layer-styles.js +114 -0
- package/dist/esm/theme/motion-styles.js +52 -0
- package/dist/esm/theme/recipes/accordion.js +142 -0
- package/dist/esm/theme/recipes/action-bar.js +84 -0
- package/dist/esm/theme/recipes/alert.js +153 -0
- package/dist/esm/theme/recipes/avatar.js +140 -0
- package/dist/esm/theme/recipes/badge.js +71 -0
- package/dist/esm/theme/recipes/blockquote.js +80 -0
- package/dist/esm/theme/recipes/breadcrumb.js +97 -0
- package/dist/esm/theme/recipes/button.js +182 -0
- package/dist/esm/theme/recipes/card.js +100 -0
- package/dist/esm/theme/recipes/carousel.js +64 -0
- package/dist/esm/theme/recipes/checkbox-card.js +207 -0
- package/dist/esm/theme/recipes/checkbox.js +66 -0
- package/dist/esm/theme/recipes/checkmark.js +93 -0
- package/dist/esm/theme/recipes/code-block.js +225 -0
- package/dist/esm/theme/recipes/code.js +17 -0
- package/dist/esm/theme/recipes/collapsible.js +28 -0
- package/dist/esm/theme/recipes/color-picker.js +260 -0
- package/dist/esm/theme/recipes/color-swatch.js +41 -0
- package/dist/esm/theme/recipes/combobox.js +290 -0
- package/dist/esm/theme/recipes/container.js +28 -0
- package/dist/esm/theme/recipes/data-list.js +96 -0
- package/dist/esm/theme/recipes/date-picker.js +390 -0
- package/dist/esm/theme/recipes/dialog.js +230 -0
- package/dist/esm/theme/recipes/drawer.js +212 -0
- package/dist/esm/theme/recipes/editable.js +86 -0
- package/dist/esm/theme/recipes/empty-state.js +88 -0
- package/dist/esm/theme/recipes/field.js +68 -0
- package/dist/esm/theme/recipes/fieldset.js +62 -0
- package/dist/esm/theme/recipes/file-upload.js +109 -0
- package/dist/esm/theme/recipes/floating-panel.js +78 -0
- package/dist/esm/theme/recipes/heading.js +29 -0
- package/dist/esm/theme/recipes/hover-card.js +69 -0
- package/dist/esm/theme/recipes/icon.js +28 -0
- package/dist/esm/theme/recipes/input-addon.js +43 -0
- package/dist/esm/theme/recipes/input.js +101 -0
- package/dist/esm/theme/recipes/kbd.js +59 -0
- package/dist/esm/theme/recipes/link.js +37 -0
- package/dist/esm/theme/recipes/list.js +64 -0
- package/dist/esm/theme/recipes/listbox.js +130 -0
- package/dist/esm/theme/recipes/mark.js +28 -0
- package/dist/esm/theme/recipes/marquee.js +91 -0
- package/dist/esm/theme/recipes/menu.js +146 -0
- package/dist/esm/theme/recipes/native-select.js +154 -0
- package/dist/esm/theme/recipes/number-input.js +113 -0
- package/dist/esm/theme/recipes/pin-input.js +48 -0
- package/dist/esm/theme/recipes/popover.js +89 -0
- package/dist/esm/theme/recipes/progress-circle.js +94 -0
- package/dist/esm/theme/recipes/progress.js +125 -0
- package/dist/esm/theme/recipes/qr-code.js +62 -0
- package/dist/esm/theme/recipes/radio-card.js +217 -0
- package/dist/esm/theme/recipes/radio-group.js +64 -0
- package/dist/esm/theme/recipes/radiomark.js +104 -0
- package/dist/esm/theme/recipes/rating-group.js +87 -0
- package/dist/esm/theme/recipes/scroll-area.js +138 -0
- package/dist/esm/theme/recipes/segment-group.js +126 -0
- package/dist/esm/theme/recipes/select.js +294 -0
- package/dist/esm/theme/recipes/separator.js +51 -0
- package/dist/esm/theme/recipes/skeleton.js +52 -0
- package/dist/esm/theme/recipes/skip-nav-link.js +34 -0
- package/dist/esm/theme/recipes/slider.js +198 -0
- package/dist/esm/theme/recipes/spinner.js +34 -0
- package/dist/esm/theme/recipes/splitter.js +78 -0
- package/dist/esm/theme/recipes/stat.js +82 -0
- package/dist/esm/theme/recipes/status.js +46 -0
- package/dist/esm/theme/recipes/steps.js +217 -0
- package/dist/esm/theme/recipes/switch.js +162 -0
- package/dist/esm/theme/recipes/table.js +163 -0
- package/dist/esm/theme/recipes/tabs.js +273 -0
- package/dist/esm/theme/recipes/tag.js +128 -0
- package/dist/esm/theme/recipes/tags-input.js +237 -0
- package/dist/esm/theme/recipes/textarea.js +88 -0
- package/dist/esm/theme/recipes/timeline.js +157 -0
- package/dist/esm/theme/recipes/toast.js +100 -0
- package/dist/esm/theme/recipes/tooltip.js +42 -0
- package/dist/esm/theme/recipes/tree-view.js +166 -0
- package/dist/esm/theme/recipes.export.js +19 -0
- package/dist/esm/theme/recipes.js +43 -0
- package/dist/esm/theme/semantic-tokens/colors.js +353 -0
- package/dist/esm/theme/semantic-tokens/radii.js +9 -0
- package/dist/esm/theme/semantic-tokens/shadows.js +54 -0
- package/dist/esm/theme/slot-recipes.export.js +55 -0
- package/dist/esm/theme/slot-recipes.js +117 -0
- package/dist/esm/theme/text-styles.js +48 -0
- package/dist/esm/theme/tokens/animations.js +10 -0
- package/dist/esm/theme/tokens/aspect-ratios.js +12 -0
- package/dist/esm/theme/tokens/blurs.js +14 -0
- package/dist/esm/theme/tokens/borders.js +11 -0
- package/dist/esm/theme/tokens/colors.js +166 -0
- package/dist/esm/theme/tokens/cursor.js +14 -0
- package/dist/esm/theme/tokens/durations.js +13 -0
- package/dist/esm/theme/tokens/easings.js +10 -0
- package/dist/esm/theme/tokens/font-sizes.js +20 -0
- package/dist/esm/theme/tokens/font-weights.js +15 -0
- package/dist/esm/theme/tokens/fonts.js +16 -0
- package/dist/esm/theme/tokens/keyframes.js +169 -0
- package/dist/esm/theme/tokens/letter-spacing.js +11 -0
- package/dist/esm/theme/tokens/line-heights.js +11 -0
- package/dist/esm/theme/tokens/radius.js +17 -0
- package/dist/esm/theme/tokens/sizes.js +69 -0
- package/dist/esm/theme/tokens/spacing.js +40 -0
- package/dist/esm/theme/tokens/z-indices.js +19 -0
- package/dist/esm/utils/attr.js +3 -0
- package/dist/esm/utils/call-all.js +7 -0
- package/dist/esm/utils/clone.js +11 -0
- package/dist/esm/utils/compact.js +9 -0
- package/dist/esm/utils/create-props.js +3 -0
- package/dist/esm/utils/cx.js +14 -0
- package/dist/esm/utils/entries.js +10 -0
- package/dist/esm/utils/flatten.js +17 -0
- package/dist/esm/utils/index.js +18 -0
- package/dist/esm/utils/interop.js +5 -0
- package/dist/esm/utils/is.js +6 -0
- package/dist/esm/utils/memo.js +64 -0
- package/dist/esm/utils/merge.js +33 -0
- package/dist/esm/utils/omit.js +11 -0
- package/dist/esm/utils/ref.js +11 -0
- package/dist/esm/utils/split-props.js +26 -0
- package/dist/esm/utils/types.js +1 -0
- package/dist/esm/utils/uniq.js +9 -0
- package/dist/esm/utils/unit.js +8 -0
- package/dist/esm/utils/walk-object.js +37 -0
- package/dist/types/anatomy.d.ts +56 -0
- package/dist/types/collection.d.ts +2 -0
- package/dist/types/components/absolute-center/absolute-center.d.ts +15 -0
- package/dist/types/components/absolute-center/index.d.ts +2 -0
- package/dist/types/components/accordion/accordion.d.ts +37 -0
- package/dist/types/components/accordion/index.d.ts +5 -0
- package/dist/types/components/accordion/namespace.d.ts +2 -0
- package/dist/types/components/action-bar/action-bar.d.ts +35 -0
- package/dist/types/components/action-bar/index.d.ts +5 -0
- package/dist/types/components/action-bar/namespace.d.ts +3 -0
- package/dist/types/components/alert/alert.d.ts +25 -0
- package/dist/types/components/alert/index.d.ts +3 -0
- package/dist/types/components/alert/namespace.d.ts +2 -0
- package/dist/types/components/aspect-ratio/aspect-ratio.d.ts +10 -0
- package/dist/types/components/aspect-ratio/index.d.ts +2 -0
- package/dist/types/components/avatar/avatar.d.ts +37 -0
- package/dist/types/components/avatar/index.d.ts +5 -0
- package/dist/types/components/avatar/namespace.d.ts +2 -0
- package/dist/types/components/badge/badge.d.ts +8 -0
- package/dist/types/components/badge/index.d.ts +2 -0
- package/dist/types/components/bleed/bleed.d.ts +28 -0
- package/dist/types/components/bleed/index.d.ts +2 -0
- package/dist/types/components/blockquote/blockquote.d.ts +18 -0
- package/dist/types/components/blockquote/index.d.ts +3 -0
- package/dist/types/components/blockquote/namespace.d.ts +2 -0
- package/dist/types/components/box/index.d.ts +10 -0
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +27 -0
- package/dist/types/components/breadcrumb/index.d.ts +3 -0
- package/dist/types/components/breadcrumb/namespace.d.ts +2 -0
- package/dist/types/components/button/button-group.d.ts +5 -0
- package/dist/types/components/button/button.d.ts +27 -0
- package/dist/types/components/button/close-button.d.ts +5 -0
- package/dist/types/components/button/icon-button.d.ts +4 -0
- package/dist/types/components/button/index.d.ts +8 -0
- package/dist/types/components/card/card.d.ts +24 -0
- package/dist/types/components/card/index.d.ts +3 -0
- package/dist/types/components/card/namespace.d.ts +2 -0
- package/dist/types/components/carousel/carousel.d.ts +58 -0
- package/dist/types/components/carousel/index.d.ts +5 -0
- package/dist/types/components/carousel/namespace.d.ts +2 -0
- package/dist/types/components/center/center.d.ts +12 -0
- package/dist/types/components/center/index.d.ts +2 -0
- package/dist/types/components/checkbox/checkbox.d.ts +35 -0
- package/dist/types/components/checkbox/index.d.ts +5 -0
- package/dist/types/components/checkbox/namespace.d.ts +2 -0
- package/dist/types/components/checkbox-card/checkbox-card.d.ts +38 -0
- package/dist/types/components/checkbox-card/index.d.ts +5 -0
- package/dist/types/components/checkbox-card/namespace.d.ts +2 -0
- package/dist/types/components/checkmark/checkmark.d.ts +16 -0
- package/dist/types/components/checkmark/index.d.ts +2 -0
- package/dist/types/components/circle/index.d.ts +4 -0
- package/dist/types/components/client-only/client-only.d.ts +14 -0
- package/dist/types/components/client-only/index.d.ts +2 -0
- package/dist/types/components/clipboard/clipboard.d.ts +38 -0
- package/dist/types/components/clipboard/index.d.ts +5 -0
- package/dist/types/components/clipboard/namespace.d.ts +2 -0
- package/dist/types/components/code/code.d.ts +7 -0
- package/dist/types/components/code/index.d.ts +2 -0
- package/dist/types/components/code-block/adapters.d.ts +33 -0
- package/dist/types/components/code-block/code-block-adapter-context.d.ts +4 -0
- package/dist/types/components/code-block/code-block-adapter-provider.d.ts +6 -0
- package/dist/types/components/code-block/code-block-context.d.ts +13 -0
- package/dist/types/components/code-block/code-block.d.ts +85 -0
- package/dist/types/components/code-block/index.d.ts +6 -0
- package/dist/types/components/code-block/namespace.d.ts +3 -0
- package/dist/types/components/code-block/types.d.ts +67 -0
- package/dist/types/components/code-block/use-code-highlight.d.ts +7 -0
- package/dist/types/components/collapsible/collapsible.d.ts +28 -0
- package/dist/types/components/collapsible/index.d.ts +5 -0
- package/dist/types/components/collapsible/namespace.d.ts +2 -0
- package/dist/types/components/color-picker/color-picker.d.ts +113 -0
- package/dist/types/components/color-picker/index.d.ts +5 -0
- package/dist/types/components/color-picker/namespace.d.ts +3 -0
- package/dist/types/components/color-swatch/index.d.ts +13 -0
- package/dist/types/components/combobox/combobox.d.ts +78 -0
- package/dist/types/components/combobox/index.d.ts +5 -0
- package/dist/types/components/combobox/namespace.d.ts +3 -0
- package/dist/types/components/container/container.d.ts +7 -0
- package/dist/types/components/container/index.d.ts +2 -0
- package/dist/types/components/data-list/data-list.d.ts +18 -0
- package/dist/types/components/data-list/index.d.ts +3 -0
- package/dist/types/components/data-list/namespace.d.ts +2 -0
- package/dist/types/components/date-picker/date-picker.d.ts +144 -0
- package/dist/types/components/date-picker/index.d.ts +5 -0
- package/dist/types/components/date-picker/namespace.d.ts +4 -0
- package/dist/types/components/dialog/dialog.d.ts +54 -0
- package/dist/types/components/dialog/index.d.ts +5 -0
- package/dist/types/components/dialog/namespace.d.ts +3 -0
- package/dist/types/components/download-trigger/index.d.ts +7 -0
- package/dist/types/components/drawer/drawer.d.ts +54 -0
- package/dist/types/components/drawer/index.d.ts +5 -0
- package/dist/types/components/drawer/namespace.d.ts +3 -0
- package/dist/types/components/editable/editable.d.ts +44 -0
- package/dist/types/components/editable/index.d.ts +5 -0
- package/dist/types/components/editable/namespace.d.ts +3 -0
- package/dist/types/components/em/index.d.ts +4 -0
- package/dist/types/components/empty-state/empty-state.d.ts +21 -0
- package/dist/types/components/empty-state/index.d.ts +3 -0
- package/dist/types/components/empty-state/namespace.d.ts +2 -0
- package/dist/types/components/environment/index.d.ts +2 -0
- package/dist/types/components/field/field.d.ts +27 -0
- package/dist/types/components/field/index.d.ts +5 -0
- package/dist/types/components/field/namespace.d.ts +4 -0
- package/dist/types/components/fieldset/fieldset.d.ts +22 -0
- package/dist/types/components/fieldset/index.d.ts +4 -0
- package/dist/types/components/fieldset/namespace.d.ts +2 -0
- package/dist/types/components/file-upload/file-upload.d.ts +78 -0
- package/dist/types/components/file-upload/index.d.ts +5 -0
- package/dist/types/components/file-upload/namespace.d.ts +3 -0
- package/dist/types/components/flex/flex.d.ts +14 -0
- package/dist/types/components/flex/index.d.ts +2 -0
- package/dist/types/components/float/float.d.ts +23 -0
- package/dist/types/components/float/index.d.ts +2 -0
- package/dist/types/components/floating-panel/floating-panel.d.ts +56 -0
- package/dist/types/components/floating-panel/index.d.ts +5 -0
- package/dist/types/components/floating-panel/namespace.d.ts +4 -0
- package/dist/types/components/focus-trap/focus-trap.d.ts +5 -0
- package/dist/types/components/focus-trap/index.d.ts +2 -0
- package/dist/types/components/for/for.d.ts +16 -0
- package/dist/types/components/for/index.d.ts +2 -0
- package/dist/types/components/format/index.d.ts +13 -0
- package/dist/types/components/grid/grid-item.d.ts +12 -0
- package/dist/types/components/grid/grid.d.ts +15 -0
- package/dist/types/components/grid/index.d.ts +4 -0
- package/dist/types/components/group/group.d.ts +28 -0
- package/dist/types/components/group/index.d.ts +1 -0
- package/dist/types/components/heading/index.d.ts +6 -0
- package/dist/types/components/highlight/highlight.d.ts +16 -0
- package/dist/types/components/highlight/index.d.ts +4 -0
- package/dist/types/components/hover-card/hover-card.d.ts +36 -0
- package/dist/types/components/hover-card/index.d.ts +5 -0
- package/dist/types/components/hover-card/namespace.d.ts +3 -0
- package/dist/types/components/icon/create-icon.d.ts +27 -0
- package/dist/types/components/icon/icon.d.ts +11 -0
- package/dist/types/components/icon/index.d.ts +3 -0
- package/dist/types/components/icons.d.ts +33 -0
- package/dist/types/components/image/image.d.ts +24 -0
- package/dist/types/components/image/index.d.ts +2 -0
- package/dist/types/components/index.d.ts +116 -0
- package/dist/types/components/input/index.d.ts +2 -0
- package/dist/types/components/input/input.d.ts +7 -0
- package/dist/types/components/input-addon/index.d.ts +2 -0
- package/dist/types/components/input-addon/input-addon.d.ts +4 -0
- package/dist/types/components/input-element/index.d.ts +2 -0
- package/dist/types/components/input-element/input-element.d.ts +6 -0
- package/dist/types/components/input-group/index.d.ts +2 -0
- package/dist/types/components/input-group/input-group.d.ts +50 -0
- package/dist/types/components/kbd/index.d.ts +2 -0
- package/dist/types/components/kbd/kbd.d.ts +7 -0
- package/dist/types/components/link/index.d.ts +4 -0
- package/dist/types/components/link/link-box.d.ts +12 -0
- package/dist/types/components/link/link.d.ts +7 -0
- package/dist/types/components/list/index.d.ts +3 -0
- package/dist/types/components/list/list.d.ts +15 -0
- package/dist/types/components/list/namespace.d.ts +2 -0
- package/dist/types/components/listbox/index.d.ts +5 -0
- package/dist/types/components/listbox/listbox.d.ts +59 -0
- package/dist/types/components/listbox/namespace.d.ts +3 -0
- package/dist/types/components/loader/index.d.ts +4 -0
- package/dist/types/components/loader/loader-overlay.d.ts +4 -0
- package/dist/types/components/loader/loader.d.ts +23 -0
- package/dist/types/components/locale/index.d.ts +2 -0
- package/dist/types/components/mark/index.d.ts +6 -0
- package/dist/types/components/marquee/index.d.ts +5 -0
- package/dist/types/components/marquee/marquee.d.ts +29 -0
- package/dist/types/components/marquee/namespace.d.ts +2 -0
- package/dist/types/components/menu/index.d.ts +5 -0
- package/dist/types/components/menu/menu.d.ts +80 -0
- package/dist/types/components/menu/namespace.d.ts +3 -0
- package/dist/types/components/native-select/index.d.ts +3 -0
- package/dist/types/components/native-select/namespace.d.ts +2 -0
- package/dist/types/components/native-select/native-select.d.ts +21 -0
- package/dist/types/components/number-input/index.d.ts +5 -0
- package/dist/types/components/number-input/namespace.d.ts +2 -0
- package/dist/types/components/number-input/number-input.d.ts +44 -0
- package/dist/types/components/pagination/index.d.ts +5 -0
- package/dist/types/components/pagination/namespace.d.ts +2 -0
- package/dist/types/components/pagination/pagination.d.ts +57 -0
- package/dist/types/components/pin-input/index.d.ts +5 -0
- package/dist/types/components/pin-input/namespace.d.ts +2 -0
- package/dist/types/components/pin-input/pin-input.d.ts +29 -0
- package/dist/types/components/popover/index.d.ts +5 -0
- package/dist/types/components/popover/namespace.d.ts +3 -0
- package/dist/types/components/popover/popover.d.ts +60 -0
- package/dist/types/components/portal/index.d.ts +1 -0
- package/dist/types/components/presence/index.d.ts +6 -0
- package/dist/types/components/progress/index.d.ts +5 -0
- package/dist/types/components/progress/namespace.d.ts +2 -0
- package/dist/types/components/progress/progress.d.ts +29 -0
- package/dist/types/components/progress-circle/index.d.ts +3 -0
- package/dist/types/components/progress-circle/namespace.d.ts +2 -0
- package/dist/types/components/progress-circle/progress-circle.d.ts +32 -0
- package/dist/types/components/qr-code/index.d.ts +5 -0
- package/dist/types/components/qr-code/namespace.d.ts +3 -0
- package/dist/types/components/qr-code/qr-code.d.ts +28 -0
- package/dist/types/components/quote/index.d.ts +4 -0
- package/dist/types/components/radio-card/index.d.ts +5 -0
- package/dist/types/components/radio-card/namespace.d.ts +2 -0
- package/dist/types/components/radio-card/radio-card.d.ts +53 -0
- package/dist/types/components/radio-group/index.d.ts +5 -0
- package/dist/types/components/radio-group/namespace.d.ts +2 -0
- package/dist/types/components/radio-group/radio-group.d.ts +43 -0
- package/dist/types/components/radiomark/index.d.ts +2 -0
- package/dist/types/components/radiomark/radiomark.d.ts +12 -0
- package/dist/types/components/rating-group/index.d.ts +5 -0
- package/dist/types/components/rating-group/namespace.d.ts +2 -0
- package/dist/types/components/rating-group/rating-group.d.ts +39 -0
- package/dist/types/components/scroll-area/index.d.ts +5 -0
- package/dist/types/components/scroll-area/namespace.d.ts +2 -0
- package/dist/types/components/scroll-area/scroll-area.d.ts +32 -0
- package/dist/types/components/segment-group/index.d.ts +5 -0
- package/dist/types/components/segment-group/namespace.d.ts +2 -0
- package/dist/types/components/segment-group/segment-group.d.ts +39 -0
- package/dist/types/components/select/index.d.ts +5 -0
- package/dist/types/components/select/namespace.d.ts +3 -0
- package/dist/types/components/select/select.d.ts +77 -0
- package/dist/types/components/separator/index.d.ts +2 -0
- package/dist/types/components/separator/separator.d.ts +7 -0
- package/dist/types/components/show/index.d.ts +2 -0
- package/dist/types/components/show/show.d.ts +16 -0
- package/dist/types/components/simple-grid/index.d.ts +2 -0
- package/dist/types/components/simple-grid/simple-grid.d.ts +26 -0
- package/dist/types/components/skeleton/index.d.ts +2 -0
- package/dist/types/components/skeleton/skeleton.d.ts +17 -0
- package/dist/types/components/skip-nav/index.d.ts +4 -0
- package/dist/types/components/skip-nav/skip-nav-content.d.ts +9 -0
- package/dist/types/components/skip-nav/skip-nav-link.d.ts +10 -0
- package/dist/types/components/slider/index.d.ts +5 -0
- package/dist/types/components/slider/namespace.d.ts +2 -0
- package/dist/types/components/slider/slider.d.ts +61 -0
- package/dist/types/components/spacer/index.d.ts +2 -0
- package/dist/types/components/spacer/spacer.d.ts +10 -0
- package/dist/types/components/span/index.d.ts +4 -0
- package/dist/types/components/spinner/index.d.ts +2 -0
- package/dist/types/components/spinner/spinner.d.ts +5 -0
- package/dist/types/components/splitter/index.d.ts +5 -0
- package/dist/types/components/splitter/namespace.d.ts +2 -0
- package/dist/types/components/splitter/splitter.d.ts +37 -0
- package/dist/types/components/square/index.d.ts +8 -0
- package/dist/types/components/stack/get-separator-style.d.ts +10 -0
- package/dist/types/components/stack/h-stack.d.ts +7 -0
- package/dist/types/components/stack/index.d.ts +6 -0
- package/dist/types/components/stack/stack-separator.d.ts +4 -0
- package/dist/types/components/stack/stack.d.ts +44 -0
- package/dist/types/components/stack/v-stack.d.ts +7 -0
- package/dist/types/components/stat/index.d.ts +3 -0
- package/dist/types/components/stat/namespace.d.ts +2 -0
- package/dist/types/components/stat/stat.d.ts +30 -0
- package/dist/types/components/status/index.d.ts +3 -0
- package/dist/types/components/status/namespace.d.ts +2 -0
- package/dist/types/components/status/status.d.ts +12 -0
- package/dist/types/components/steps/index.d.ts +5 -0
- package/dist/types/components/steps/namespace.d.ts +2 -0
- package/dist/types/components/steps/steps.d.ts +68 -0
- package/dist/types/components/sticky/index.d.ts +4 -0
- package/dist/types/components/strong/index.d.ts +4 -0
- package/dist/types/components/switch/index.d.ts +5 -0
- package/dist/types/components/switch/namespace.d.ts +2 -0
- package/dist/types/components/switch/switch.d.ts +37 -0
- package/dist/types/components/table/index.d.ts +3 -0
- package/dist/types/components/table/namespace.d.ts +2 -0
- package/dist/types/components/table/table.d.ts +43 -0
- package/dist/types/components/tabs/index.d.ts +5 -0
- package/dist/types/components/tabs/namespace.d.ts +4 -0
- package/dist/types/components/tabs/tabs.d.ts +31 -0
- package/dist/types/components/tag/index.d.ts +3 -0
- package/dist/types/components/tag/namespace.d.ts +2 -0
- package/dist/types/components/tag/tag.d.ts +21 -0
- package/dist/types/components/tags-input/index.d.ts +5 -0
- package/dist/types/components/tags-input/namespace.d.ts +2 -0
- package/dist/types/components/tags-input/tags-input.d.ts +53 -0
- package/dist/types/components/text/index.d.ts +6 -0
- package/dist/types/components/textarea/index.d.ts +2 -0
- package/dist/types/components/textarea/textarea.d.ts +8 -0
- package/dist/types/components/theme.d.ts +12 -0
- package/dist/types/components/timeline/index.d.ts +3 -0
- package/dist/types/components/timeline/namespace.d.ts +2 -0
- package/dist/types/components/timeline/timeline.d.ts +30 -0
- package/dist/types/components/toast/index.d.ts +6 -0
- package/dist/types/components/toast/namespace.d.ts +2 -0
- package/dist/types/components/toast/toast.d.ts +29 -0
- package/dist/types/components/toggle/index.d.ts +5 -0
- package/dist/types/components/toggle/namespace.d.ts +2 -0
- package/dist/types/components/toggle/toggle.d.ts +20 -0
- package/dist/types/components/tooltip/index.d.ts +5 -0
- package/dist/types/components/tooltip/namespace.d.ts +2 -0
- package/dist/types/components/tooltip/tooltip.d.ts +36 -0
- package/dist/types/components/tree-view/index.d.ts +5 -0
- package/dist/types/components/tree-view/namespace.d.ts +4 -0
- package/dist/types/components/tree-view/tree-view.d.ts +68 -0
- package/dist/types/components/visually-hidden/index.d.ts +1 -0
- package/dist/types/components/visually-hidden/visually-hidden.d.ts +18 -0
- package/dist/types/components/wrap/index.d.ts +2 -0
- package/dist/types/components/wrap/wrap.d.ts +12 -0
- package/dist/types/create-context.d.ts +14 -0
- package/dist/types/hooks/index.d.ts +14 -0
- package/dist/types/hooks/use-breakpoint.d.ts +32 -0
- package/dist/types/hooks/use-callback-ref.d.ts +5 -0
- package/dist/types/hooks/use-const.d.ts +3 -0
- package/dist/types/hooks/use-controllable-state.d.ts +18 -0
- package/dist/types/hooks/use-disclosure.d.ts +20 -0
- package/dist/types/hooks/use-element-rect.d.ts +4 -0
- package/dist/types/hooks/use-force-update.d.ts +1 -0
- package/dist/types/hooks/use-list-collection.d.ts +3 -0
- package/dist/types/hooks/use-live-ref.d.ts +1 -0
- package/dist/types/hooks/use-media-query.d.ts +6 -0
- package/dist/types/hooks/use-overlay.d.ts +46 -0
- package/dist/types/hooks/use-previous.d.ts +4 -0
- package/dist/types/hooks/use-safe-layout-effect.d.ts +2 -0
- package/dist/types/hooks/use-update-effect.d.ts +2 -0
- package/dist/types/index.d.mts +9 -0
- package/dist/types/index.d.ts +9 -0
- package/dist/types/merge-props.d.ts +7 -0
- package/dist/types/merge-refs.d.ts +6 -0
- package/dist/types/preset-base.d.ts +107 -0
- package/dist/types/preset.d.ts +3 -0
- package/dist/types/styled-system/breakpoints.d.ts +2 -0
- package/dist/types/styled-system/calc.d.ts +19 -0
- package/dist/types/styled-system/color-mix.d.ts +11 -0
- package/dist/types/styled-system/composition.d.ts +27 -0
- package/dist/types/styled-system/conditions.d.ts +2 -0
- package/dist/types/styled-system/config.d.ts +22 -0
- package/dist/types/styled-system/create-recipe-context.d.ts +17 -0
- package/dist/types/styled-system/create-slot-recipe-context.d.ts +36 -0
- package/dist/types/styled-system/css-var.d.ts +9 -0
- package/dist/types/styled-system/css.d.ts +9 -0
- package/dist/types/styled-system/css.types.d.ts +46 -0
- package/dist/types/styled-system/cva.d.ts +11 -0
- package/dist/types/styled-system/display-name.d.ts +11 -0
- package/dist/types/styled-system/empty.d.ts +3 -0
- package/dist/types/styled-system/esc.d.ts +1 -0
- package/dist/types/styled-system/expand-reference.d.ts +6 -0
- package/dist/types/styled-system/factory.d.ts +2 -0
- package/dist/types/styled-system/factory.types.d.ts +52 -0
- package/dist/types/styled-system/generated/conditions.gen.d.ts +262 -0
- package/dist/types/styled-system/generated/prop-types.gen.d.ts +217 -0
- package/dist/types/styled-system/generated/recipes.gen.d.ts +1062 -0
- package/dist/types/styled-system/generated/system.gen.d.ts +719 -0
- package/dist/types/styled-system/generated/token.gen.d.ts +44 -0
- package/dist/types/styled-system/index.d.ts +19 -0
- package/dist/types/styled-system/layers.d.ts +2 -0
- package/dist/types/styled-system/map-to-json.d.ts +4 -0
- package/dist/types/styled-system/merge-config.d.ts +2 -0
- package/dist/types/styled-system/normalize.d.ts +6 -0
- package/dist/types/styled-system/preflight.d.ts +3 -0
- package/dist/types/styled-system/provider.d.ts +8 -0
- package/dist/types/styled-system/recipe-props.d.ts +12 -0
- package/dist/types/styled-system/recipe.types.d.ts +122 -0
- package/dist/types/styled-system/references.d.ts +5 -0
- package/dist/types/styled-system/resolve-token-value.d.ts +2 -0
- package/dist/types/styled-system/selectors.d.ts +9 -0
- package/dist/types/styled-system/serialize.d.ts +3 -0
- package/dist/types/styled-system/singleton.d.ts +13 -0
- package/dist/types/styled-system/sort-at-params.d.ts +1 -0
- package/dist/types/styled-system/sort-at-rules.d.ts +2 -0
- package/dist/types/styled-system/sva.d.ts +11 -0
- package/dist/types/styled-system/system.d.ts +3 -0
- package/dist/types/styled-system/token-dictionary.d.ts +10 -0
- package/dist/types/styled-system/token-middleware.d.ts +6 -0
- package/dist/types/styled-system/token-transforms.d.ts +5 -0
- package/dist/types/styled-system/types.d.ts +284 -0
- package/dist/types/styled-system/unit-conversion.d.ts +4 -0
- package/dist/types/styled-system/use-recipe.d.ts +14 -0
- package/dist/types/styled-system/use-resolved-props.d.ts +7 -0
- package/dist/types/styled-system/use-slot-recipe.d.ts +15 -0
- package/dist/types/styled-system/use-token.d.ts +1 -0
- package/dist/types/styled-system/utility.d.ts +7 -0
- package/dist/types/theme/breakpoints.d.ts +7 -0
- package/dist/types/theme/global-css.d.ts +1 -0
- package/dist/types/theme/index.d.ts +1881 -0
- package/dist/types/theme/layer-styles.d.ts +1 -0
- package/dist/types/theme/motion-styles.d.ts +1 -0
- package/dist/types/theme/recipes/accordion.d.ts +75 -0
- package/dist/types/theme/recipes/action-bar.d.ts +24 -0
- package/dist/types/theme/recipes/alert.d.ts +119 -0
- package/dist/types/theme/recipes/avatar.d.ts +97 -0
- package/dist/types/theme/recipes/badge.d.ts +50 -0
- package/dist/types/theme/recipes/blockquote.d.ts +52 -0
- package/dist/types/theme/recipes/breadcrumb.d.ts +46 -0
- package/dist/types/theme/recipes/button.d.ts +143 -0
- package/dist/types/theme/recipes/card.d.ts +48 -0
- package/dist/types/theme/recipes/carousel.d.ts +1 -0
- package/dist/types/theme/recipes/checkbox-card.d.ts +188 -0
- package/dist/types/theme/recipes/checkbox.d.ts +80 -0
- package/dist/types/theme/recipes/checkmark.d.ts +59 -0
- package/dist/types/theme/recipes/code-block.d.ts +43 -0
- package/dist/types/theme/recipes/code.d.ts +50 -0
- package/dist/types/theme/recipes/collapsible.d.ts +1 -0
- package/dist/types/theme/recipes/color-picker.d.ts +172 -0
- package/dist/types/theme/recipes/color-swatch.d.ts +42 -0
- package/dist/types/theme/recipes/combobox.d.ts +128 -0
- package/dist/types/theme/recipes/container.d.ts +14 -0
- package/dist/types/theme/recipes/data-list.d.ts +70 -0
- package/dist/types/theme/recipes/date-picker.d.ts +110 -0
- package/dist/types/theme/recipes/dialog.d.ts +148 -0
- package/dist/types/theme/recipes/drawer.d.ts +117 -0
- package/dist/types/theme/recipes/editable.d.ts +37 -0
- package/dist/types/theme/recipes/empty-state.d.ts +49 -0
- package/dist/types/theme/recipes/field.d.ts +20 -0
- package/dist/types/theme/recipes/fieldset.d.ts +37 -0
- package/dist/types/theme/recipes/file-upload.d.ts +1 -0
- package/dist/types/theme/recipes/floating-panel.d.ts +1 -0
- package/dist/types/theme/recipes/heading.d.ts +37 -0
- package/dist/types/theme/recipes/hover-card.d.ts +24 -0
- package/dist/types/theme/recipes/icon.d.ts +23 -0
- package/dist/types/theme/recipes/input-addon.d.ts +58 -0
- package/dist/types/theme/recipes/input.d.ts +70 -0
- package/dist/types/theme/recipes/kbd.d.ts +36 -0
- package/dist/types/theme/recipes/link.d.ts +18 -0
- package/dist/types/theme/recipes/list.d.ts +37 -0
- package/dist/types/theme/recipes/listbox.d.ts +33 -0
- package/dist/types/theme/recipes/mark.d.ts +16 -0
- package/dist/types/theme/recipes/marquee.d.ts +1 -0
- package/dist/types/theme/recipes/menu.d.ts +47 -0
- package/dist/types/theme/recipes/native-select.d.ts +108 -0
- package/dist/types/theme/recipes/number-input.d.ts +137 -0
- package/dist/types/theme/recipes/pin-input.d.ts +329 -0
- package/dist/types/theme/recipes/popover.d.ts +24 -0
- package/dist/types/theme/recipes/progress-circle.d.ts +49 -0
- package/dist/types/theme/recipes/progress.d.ts +82 -0
- package/dist/types/theme/recipes/qr-code.d.ts +44 -0
- package/dist/types/theme/recipes/radio-card.d.ts +196 -0
- package/dist/types/theme/recipes/radio-group.d.ts +77 -0
- package/dist/types/theme/recipes/radiomark.d.ts +61 -0
- package/dist/types/theme/recipes/rating-group.d.ts +24 -0
- package/dist/types/theme/recipes/scroll-area.d.ts +41 -0
- package/dist/types/theme/recipes/segment-group.d.ts +36 -0
- package/dist/types/theme/recipes/select.d.ts +159 -0
- package/dist/types/theme/recipes/separator.d.ts +35 -0
- package/dist/types/theme/recipes/skeleton.d.ts +40 -0
- package/dist/types/theme/recipes/skip-nav-link.d.ts +1 -0
- package/dist/types/theme/recipes/slider.d.ts +121 -0
- package/dist/types/theme/recipes/spinner.d.ts +22 -0
- package/dist/types/theme/recipes/splitter.d.ts +1 -0
- package/dist/types/theme/recipes/stat.d.ts +19 -0
- package/dist/types/theme/recipes/status.d.ts +19 -0
- package/dist/types/theme/recipes/steps.d.ts +142 -0
- package/dist/types/theme/recipes/switch.d.ts +77 -0
- package/dist/types/theme/recipes/table.d.ts +120 -0
- package/dist/types/theme/recipes/tabs.d.ts +201 -0
- package/dist/types/theme/recipes/tag.d.ts +87 -0
- package/dist/types/theme/recipes/tags-input.d.ts +116 -0
- package/dist/types/theme/recipes/textarea.d.ts +59 -0
- package/dist/types/theme/recipes/timeline.d.ts +79 -0
- package/dist/types/theme/recipes/toast.d.ts +1 -0
- package/dist/types/theme/recipes/tooltip.d.ts +1 -0
- package/dist/types/theme/recipes/tree-view.d.ts +55 -0
- package/dist/types/theme/recipes.d.ts +836 -0
- package/dist/types/theme/recipes.export.d.ts +19 -0
- package/dist/types/theme/semantic-tokens/colors.d.ts +670 -0
- package/dist/types/theme/semantic-tokens/radii.d.ts +11 -0
- package/dist/types/theme/semantic-tokens/shadows.d.ts +50 -0
- package/dist/types/theme/slot-recipes.d.ts +4153 -0
- package/dist/types/theme/slot-recipes.export.d.ts +55 -0
- package/dist/types/theme/text-styles.d.ts +1 -0
- package/dist/types/theme/tokens/animations.d.ts +14 -0
- package/dist/types/theme/tokens/aspect-ratios.d.ts +20 -0
- package/dist/types/theme/tokens/blurs.d.ts +26 -0
- package/dist/types/theme/tokens/borders.d.ts +17 -0
- package/dist/types/theme/tokens/colors.d.ts +434 -0
- package/dist/types/theme/tokens/cursor.d.ts +26 -0
- package/dist/types/theme/tokens/durations.d.ts +23 -0
- package/dist/types/theme/tokens/easings.d.ts +14 -0
- package/dist/types/theme/tokens/font-sizes.d.ts +44 -0
- package/dist/types/theme/tokens/font-weights.d.ts +29 -0
- package/dist/types/theme/tokens/fonts.d.ts +11 -0
- package/dist/types/theme/tokens/keyframes.d.ts +1 -0
- package/dist/types/theme/tokens/letter-spacing.d.ts +17 -0
- package/dist/types/theme/tokens/line-heights.d.ts +17 -0
- package/dist/types/theme/tokens/radius.d.ts +35 -0
- package/dist/types/theme/tokens/sizes.d.ts +260 -0
- package/dist/types/theme/tokens/spacing.d.ts +104 -0
- package/dist/types/theme/tokens/z-indices.d.ts +41 -0
- package/dist/types/utils/attr.d.ts +3 -0
- package/dist/types/utils/call-all.d.ts +2 -0
- package/dist/types/utils/clone.d.ts +1 -0
- package/dist/types/utils/compact.d.ts +1 -0
- package/dist/types/utils/create-props.d.ts +3 -0
- package/dist/types/utils/cx.d.ts +1 -0
- package/dist/types/utils/entries.d.ts +5 -0
- package/dist/types/utils/flatten.d.ts +2 -0
- package/dist/types/utils/index.d.ts +19 -0
- package/dist/types/utils/interop.d.ts +1 -0
- package/dist/types/utils/is.d.ts +6 -0
- package/dist/types/utils/memo.d.ts +1 -0
- package/dist/types/utils/merge.d.ts +1 -0
- package/dist/types/utils/omit.d.ts +1 -0
- package/dist/types/utils/ref.d.ts +2 -0
- package/dist/types/utils/split-props.d.ts +9 -0
- package/dist/types/utils/types.d.ts +9 -0
- package/dist/types/utils/uniq.d.ts +1 -0
- package/dist/types/utils/unit.d.ts +1 -0
- package/dist/types/utils/walk-object.d.ts +12 -0
- package/package.json +146 -54
- package/LICENSE +0 -21
- package/dist/index.cjs +0 -6576
- package/dist/index.cjs.map +0 -1
- package/dist/index.css +0 -3826
- package/dist/index.css.map +0 -1
- package/dist/index.d.cts +0 -815
- package/dist/index.d.ts +0 -815
- package/dist/index.js +0 -6616
- package/dist/index.js.map +0 -1
|
@@ -0,0 +1,1062 @@
|
|
|
1
|
+
import type { RecipeDefinition, SlotRecipeDefinition, SystemRecipeFn, SystemSlotRecipeFn } from "../recipe.types";
|
|
2
|
+
import type { ConditionalValue } from "../css.types";
|
|
3
|
+
export interface BadgeVariant {
|
|
4
|
+
/** @default "subtle" */
|
|
5
|
+
variant?: "solid" | "subtle" | "outline" | "surface" | "plain" | undefined;
|
|
6
|
+
/** @default "sm" */
|
|
7
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
8
|
+
}
|
|
9
|
+
export type BadgeVariantProps = {
|
|
10
|
+
[K in keyof BadgeVariant]?: ConditionalValue<BadgeVariant[K]> | undefined;
|
|
11
|
+
};
|
|
12
|
+
export type BadgeVariantMap = {
|
|
13
|
+
[K in keyof BadgeVariant]: Array<BadgeVariant[K]>;
|
|
14
|
+
};
|
|
15
|
+
export interface ButtonVariant {
|
|
16
|
+
/** @default "md" */
|
|
17
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
18
|
+
/** @default "solid" */
|
|
19
|
+
variant?: "solid" | "subtle" | "surface" | "outline" | "ghost" | "plain" | undefined;
|
|
20
|
+
}
|
|
21
|
+
export type ButtonVariantProps = {
|
|
22
|
+
[K in keyof ButtonVariant]?: ConditionalValue<ButtonVariant[K]> | undefined;
|
|
23
|
+
};
|
|
24
|
+
export type ButtonVariantMap = {
|
|
25
|
+
[K in keyof ButtonVariant]: Array<ButtonVariant[K]>;
|
|
26
|
+
};
|
|
27
|
+
export interface CodeVariant {
|
|
28
|
+
/** @default "subtle" */
|
|
29
|
+
variant?: "solid" | "subtle" | "outline" | "surface" | "plain" | undefined;
|
|
30
|
+
/** @default "sm" */
|
|
31
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
32
|
+
}
|
|
33
|
+
export type CodeVariantProps = {
|
|
34
|
+
[K in keyof CodeVariant]?: ConditionalValue<CodeVariant[K]> | undefined;
|
|
35
|
+
};
|
|
36
|
+
export type CodeVariantMap = {
|
|
37
|
+
[K in keyof CodeVariant]: Array<CodeVariant[K]>;
|
|
38
|
+
};
|
|
39
|
+
export interface ContainerVariant {
|
|
40
|
+
centerContent?: boolean | undefined;
|
|
41
|
+
fluid?: boolean | undefined;
|
|
42
|
+
}
|
|
43
|
+
export type ContainerVariantProps = {
|
|
44
|
+
[K in keyof ContainerVariant]?: ConditionalValue<ContainerVariant[K]> | undefined;
|
|
45
|
+
};
|
|
46
|
+
export type ContainerVariantMap = {
|
|
47
|
+
[K in keyof ContainerVariant]: Array<ContainerVariant[K]>;
|
|
48
|
+
};
|
|
49
|
+
export interface HeadingVariant {
|
|
50
|
+
/** @default "xl" */
|
|
51
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | undefined;
|
|
52
|
+
}
|
|
53
|
+
export type HeadingVariantProps = {
|
|
54
|
+
[K in keyof HeadingVariant]?: ConditionalValue<HeadingVariant[K]> | undefined;
|
|
55
|
+
};
|
|
56
|
+
export type HeadingVariantMap = {
|
|
57
|
+
[K in keyof HeadingVariant]: Array<HeadingVariant[K]>;
|
|
58
|
+
};
|
|
59
|
+
export interface InputVariant {
|
|
60
|
+
/** @default "md" */
|
|
61
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
62
|
+
/** @default "outline" */
|
|
63
|
+
variant?: "outline" | "subtle" | "flushed" | undefined;
|
|
64
|
+
}
|
|
65
|
+
export type InputVariantProps = {
|
|
66
|
+
[K in keyof InputVariant]?: ConditionalValue<InputVariant[K]> | undefined;
|
|
67
|
+
};
|
|
68
|
+
export type InputVariantMap = {
|
|
69
|
+
[K in keyof InputVariant]: Array<InputVariant[K]>;
|
|
70
|
+
};
|
|
71
|
+
export interface InputAddonVariant {
|
|
72
|
+
/** @default "md" */
|
|
73
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
74
|
+
/** @default "outline" */
|
|
75
|
+
variant?: "outline" | "subtle" | "flushed" | undefined;
|
|
76
|
+
}
|
|
77
|
+
export type InputAddonVariantProps = {
|
|
78
|
+
[K in keyof InputAddonVariant]?: ConditionalValue<InputAddonVariant[K]> | undefined;
|
|
79
|
+
};
|
|
80
|
+
export type InputAddonVariantMap = {
|
|
81
|
+
[K in keyof InputAddonVariant]: Array<InputAddonVariant[K]>;
|
|
82
|
+
};
|
|
83
|
+
export interface KbdVariant {
|
|
84
|
+
/** @default "raised" */
|
|
85
|
+
variant?: "raised" | "outline" | "subtle" | "plain" | undefined;
|
|
86
|
+
/** @default "md" */
|
|
87
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
88
|
+
}
|
|
89
|
+
export type KbdVariantProps = {
|
|
90
|
+
[K in keyof KbdVariant]?: ConditionalValue<KbdVariant[K]> | undefined;
|
|
91
|
+
};
|
|
92
|
+
export type KbdVariantMap = {
|
|
93
|
+
[K in keyof KbdVariant]: Array<KbdVariant[K]>;
|
|
94
|
+
};
|
|
95
|
+
export interface LinkVariant {
|
|
96
|
+
/** @default "plain" */
|
|
97
|
+
variant?: "underline" | "plain" | undefined;
|
|
98
|
+
}
|
|
99
|
+
export type LinkVariantProps = {
|
|
100
|
+
[K in keyof LinkVariant]?: ConditionalValue<LinkVariant[K]> | undefined;
|
|
101
|
+
};
|
|
102
|
+
export type LinkVariantMap = {
|
|
103
|
+
[K in keyof LinkVariant]: Array<LinkVariant[K]>;
|
|
104
|
+
};
|
|
105
|
+
export interface MarkVariant {
|
|
106
|
+
variant?: "subtle" | "solid" | "text" | "plain" | undefined;
|
|
107
|
+
}
|
|
108
|
+
export type MarkVariantProps = {
|
|
109
|
+
[K in keyof MarkVariant]?: ConditionalValue<MarkVariant[K]> | undefined;
|
|
110
|
+
};
|
|
111
|
+
export type MarkVariantMap = {
|
|
112
|
+
[K in keyof MarkVariant]: Array<MarkVariant[K]>;
|
|
113
|
+
};
|
|
114
|
+
export interface SeparatorVariant {
|
|
115
|
+
/** @default "solid" */
|
|
116
|
+
variant?: "solid" | "dashed" | "dotted" | undefined;
|
|
117
|
+
/** @default "horizontal" */
|
|
118
|
+
orientation?: "vertical" | "horizontal" | undefined;
|
|
119
|
+
/** @default "sm" */
|
|
120
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
121
|
+
}
|
|
122
|
+
export type SeparatorVariantProps = {
|
|
123
|
+
[K in keyof SeparatorVariant]?: ConditionalValue<SeparatorVariant[K]> | undefined;
|
|
124
|
+
};
|
|
125
|
+
export type SeparatorVariantMap = {
|
|
126
|
+
[K in keyof SeparatorVariant]: Array<SeparatorVariant[K]>;
|
|
127
|
+
};
|
|
128
|
+
export interface SkeletonVariant {
|
|
129
|
+
/** @default true */
|
|
130
|
+
loading?: boolean | undefined;
|
|
131
|
+
/** @default "pulse" */
|
|
132
|
+
variant?: "pulse" | "shine" | "none" | undefined;
|
|
133
|
+
}
|
|
134
|
+
export type SkeletonVariantProps = {
|
|
135
|
+
[K in keyof SkeletonVariant]?: ConditionalValue<SkeletonVariant[K]> | undefined;
|
|
136
|
+
};
|
|
137
|
+
export type SkeletonVariantMap = {
|
|
138
|
+
[K in keyof SkeletonVariant]: Array<SkeletonVariant[K]>;
|
|
139
|
+
};
|
|
140
|
+
export interface SkipNavLinkVariant {
|
|
141
|
+
}
|
|
142
|
+
export type SkipNavLinkVariantProps = {
|
|
143
|
+
[K in keyof SkipNavLinkVariant]?: ConditionalValue<SkipNavLinkVariant[K]> | undefined;
|
|
144
|
+
};
|
|
145
|
+
export type SkipNavLinkVariantMap = {
|
|
146
|
+
[K in keyof SkipNavLinkVariant]: Array<SkipNavLinkVariant[K]>;
|
|
147
|
+
};
|
|
148
|
+
export interface SpinnerVariant {
|
|
149
|
+
/** @default "md" */
|
|
150
|
+
size?: "inherit" | "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
151
|
+
}
|
|
152
|
+
export type SpinnerVariantProps = {
|
|
153
|
+
[K in keyof SpinnerVariant]?: ConditionalValue<SpinnerVariant[K]> | undefined;
|
|
154
|
+
};
|
|
155
|
+
export type SpinnerVariantMap = {
|
|
156
|
+
[K in keyof SpinnerVariant]: Array<SpinnerVariant[K]>;
|
|
157
|
+
};
|
|
158
|
+
export interface TextareaVariant {
|
|
159
|
+
/** @default "md" */
|
|
160
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
161
|
+
/** @default "outline" */
|
|
162
|
+
variant?: "outline" | "subtle" | "flushed" | undefined;
|
|
163
|
+
}
|
|
164
|
+
export type TextareaVariantProps = {
|
|
165
|
+
[K in keyof TextareaVariant]?: ConditionalValue<TextareaVariant[K]> | undefined;
|
|
166
|
+
};
|
|
167
|
+
export type TextareaVariantMap = {
|
|
168
|
+
[K in keyof TextareaVariant]: Array<TextareaVariant[K]>;
|
|
169
|
+
};
|
|
170
|
+
export interface IconVariant {
|
|
171
|
+
/** @default "inherit" */
|
|
172
|
+
size?: "inherit" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
173
|
+
}
|
|
174
|
+
export type IconVariantProps = {
|
|
175
|
+
[K in keyof IconVariant]?: ConditionalValue<IconVariant[K]> | undefined;
|
|
176
|
+
};
|
|
177
|
+
export type IconVariantMap = {
|
|
178
|
+
[K in keyof IconVariant]: Array<IconVariant[K]>;
|
|
179
|
+
};
|
|
180
|
+
export interface CheckmarkVariant {
|
|
181
|
+
/** @default "md" */
|
|
182
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
183
|
+
/** @default "solid" */
|
|
184
|
+
variant?: "solid" | "outline" | "subtle" | "plain" | "inverted" | undefined;
|
|
185
|
+
filled?: boolean | undefined;
|
|
186
|
+
}
|
|
187
|
+
export type CheckmarkVariantProps = {
|
|
188
|
+
[K in keyof CheckmarkVariant]?: ConditionalValue<CheckmarkVariant[K]> | undefined;
|
|
189
|
+
};
|
|
190
|
+
export type CheckmarkVariantMap = {
|
|
191
|
+
[K in keyof CheckmarkVariant]: Array<CheckmarkVariant[K]>;
|
|
192
|
+
};
|
|
193
|
+
export interface RadiomarkVariant {
|
|
194
|
+
/** @default "solid" */
|
|
195
|
+
variant?: "solid" | "subtle" | "outline" | "inverted" | undefined;
|
|
196
|
+
/** @default "md" */
|
|
197
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
198
|
+
filled?: boolean | undefined;
|
|
199
|
+
}
|
|
200
|
+
export type RadiomarkVariantProps = {
|
|
201
|
+
[K in keyof RadiomarkVariant]?: ConditionalValue<RadiomarkVariant[K]> | undefined;
|
|
202
|
+
};
|
|
203
|
+
export type RadiomarkVariantMap = {
|
|
204
|
+
[K in keyof RadiomarkVariant]: Array<RadiomarkVariant[K]>;
|
|
205
|
+
};
|
|
206
|
+
export interface ColorSwatchVariant {
|
|
207
|
+
/** @default "md" */
|
|
208
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "inherit" | "full" | undefined;
|
|
209
|
+
/** @default "rounded" */
|
|
210
|
+
shape?: "square" | "circle" | "rounded" | undefined;
|
|
211
|
+
}
|
|
212
|
+
export type ColorSwatchVariantProps = {
|
|
213
|
+
[K in keyof ColorSwatchVariant]?: ConditionalValue<ColorSwatchVariant[K]> | undefined;
|
|
214
|
+
};
|
|
215
|
+
export type ColorSwatchVariantMap = {
|
|
216
|
+
[K in keyof ColorSwatchVariant]: Array<ColorSwatchVariant[K]>;
|
|
217
|
+
};
|
|
218
|
+
export interface ConfigRecipes {
|
|
219
|
+
badge: SystemRecipeFn<BadgeVariantProps, BadgeVariantMap>;
|
|
220
|
+
button: SystemRecipeFn<ButtonVariantProps, ButtonVariantMap>;
|
|
221
|
+
code: SystemRecipeFn<CodeVariantProps, CodeVariantMap>;
|
|
222
|
+
container: SystemRecipeFn<ContainerVariantProps, ContainerVariantMap>;
|
|
223
|
+
heading: SystemRecipeFn<HeadingVariantProps, HeadingVariantMap>;
|
|
224
|
+
input: SystemRecipeFn<InputVariantProps, InputVariantMap>;
|
|
225
|
+
inputAddon: SystemRecipeFn<InputAddonVariantProps, InputAddonVariantMap>;
|
|
226
|
+
kbd: SystemRecipeFn<KbdVariantProps, KbdVariantMap>;
|
|
227
|
+
link: SystemRecipeFn<LinkVariantProps, LinkVariantMap>;
|
|
228
|
+
mark: SystemRecipeFn<MarkVariantProps, MarkVariantMap>;
|
|
229
|
+
separator: SystemRecipeFn<SeparatorVariantProps, SeparatorVariantMap>;
|
|
230
|
+
skeleton: SystemRecipeFn<SkeletonVariantProps, SkeletonVariantMap>;
|
|
231
|
+
skipNavLink: SystemRecipeFn<SkipNavLinkVariantProps, SkipNavLinkVariantMap>;
|
|
232
|
+
spinner: SystemRecipeFn<SpinnerVariantProps, SpinnerVariantMap>;
|
|
233
|
+
textarea: SystemRecipeFn<TextareaVariantProps, TextareaVariantMap>;
|
|
234
|
+
icon: SystemRecipeFn<IconVariantProps, IconVariantMap>;
|
|
235
|
+
checkmark: SystemRecipeFn<CheckmarkVariantProps, CheckmarkVariantMap>;
|
|
236
|
+
radiomark: SystemRecipeFn<RadiomarkVariantProps, RadiomarkVariantMap>;
|
|
237
|
+
colorSwatch: SystemRecipeFn<ColorSwatchVariantProps, ColorSwatchVariantMap>;
|
|
238
|
+
}
|
|
239
|
+
export type AccordionSlot = "root" | "item" | "itemTrigger" | "itemContent" | "itemIndicator" | "itemBody";
|
|
240
|
+
export interface AccordionVariant {
|
|
241
|
+
/** @default "outline" */
|
|
242
|
+
variant?: "outline" | "subtle" | "enclosed" | "plain" | undefined;
|
|
243
|
+
/** @default "md" */
|
|
244
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
245
|
+
}
|
|
246
|
+
export type AccordionVariantProps = {
|
|
247
|
+
[K in keyof AccordionVariant]?: ConditionalValue<AccordionVariant[K]> | undefined;
|
|
248
|
+
};
|
|
249
|
+
export type AccordionVariantMap = {
|
|
250
|
+
[K in keyof AccordionVariant]: Array<AccordionVariant[K]>;
|
|
251
|
+
};
|
|
252
|
+
export type ActionBarSlot = "positioner" | "content" | "separator" | "selectionTrigger" | "closeTrigger";
|
|
253
|
+
export interface ActionBarVariant {
|
|
254
|
+
/** @default "bottom" */
|
|
255
|
+
placement?: "bottom" | "bottom-start" | "bottom-end" | undefined;
|
|
256
|
+
}
|
|
257
|
+
export type ActionBarVariantProps = {
|
|
258
|
+
[K in keyof ActionBarVariant]?: ConditionalValue<ActionBarVariant[K]> | undefined;
|
|
259
|
+
};
|
|
260
|
+
export type ActionBarVariantMap = {
|
|
261
|
+
[K in keyof ActionBarVariant]: Array<ActionBarVariant[K]>;
|
|
262
|
+
};
|
|
263
|
+
export type AlertSlot = "title" | "description" | "root" | "indicator" | "content";
|
|
264
|
+
export interface AlertVariant {
|
|
265
|
+
/** @default "info" */
|
|
266
|
+
status?: "info" | "warning" | "success" | "error" | "neutral" | undefined;
|
|
267
|
+
/** @default false */
|
|
268
|
+
inline?: boolean | undefined;
|
|
269
|
+
/** @default "subtle" */
|
|
270
|
+
variant?: "subtle" | "surface" | "outline" | "solid" | undefined;
|
|
271
|
+
/** @default "md" */
|
|
272
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
273
|
+
}
|
|
274
|
+
export type AlertVariantProps = {
|
|
275
|
+
[K in keyof AlertVariant]?: ConditionalValue<AlertVariant[K]> | undefined;
|
|
276
|
+
};
|
|
277
|
+
export type AlertVariantMap = {
|
|
278
|
+
[K in keyof AlertVariant]: Array<AlertVariant[K]>;
|
|
279
|
+
};
|
|
280
|
+
export type AvatarSlot = "root" | "image" | "fallback";
|
|
281
|
+
export interface AvatarVariant {
|
|
282
|
+
/** @default "md" */
|
|
283
|
+
size?: "full" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
284
|
+
/** @default "subtle" */
|
|
285
|
+
variant?: "solid" | "subtle" | "outline" | undefined;
|
|
286
|
+
/** @default "full" */
|
|
287
|
+
shape?: "square" | "rounded" | "full" | undefined;
|
|
288
|
+
borderless?: boolean | undefined;
|
|
289
|
+
}
|
|
290
|
+
export type AvatarVariantProps = {
|
|
291
|
+
[K in keyof AvatarVariant]?: ConditionalValue<AvatarVariant[K]> | undefined;
|
|
292
|
+
};
|
|
293
|
+
export type AvatarVariantMap = {
|
|
294
|
+
[K in keyof AvatarVariant]: Array<AvatarVariant[K]>;
|
|
295
|
+
};
|
|
296
|
+
export type BlockquoteSlot = "root" | "icon" | "content" | "caption";
|
|
297
|
+
export interface BlockquoteVariant {
|
|
298
|
+
/** @default "start" */
|
|
299
|
+
justify?: "start" | "center" | "end" | undefined;
|
|
300
|
+
/** @default "subtle" */
|
|
301
|
+
variant?: "subtle" | "solid" | "plain" | undefined;
|
|
302
|
+
}
|
|
303
|
+
export type BlockquoteVariantProps = {
|
|
304
|
+
[K in keyof BlockquoteVariant]?: ConditionalValue<BlockquoteVariant[K]> | undefined;
|
|
305
|
+
};
|
|
306
|
+
export type BlockquoteVariantMap = {
|
|
307
|
+
[K in keyof BlockquoteVariant]: Array<BlockquoteVariant[K]>;
|
|
308
|
+
};
|
|
309
|
+
export type BreadcrumbSlot = "link" | "currentLink" | "item" | "list" | "root" | "ellipsis" | "separator";
|
|
310
|
+
export interface BreadcrumbVariant {
|
|
311
|
+
/** @default "plain" */
|
|
312
|
+
variant?: "underline" | "plain" | undefined;
|
|
313
|
+
/** @default "md" */
|
|
314
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
315
|
+
}
|
|
316
|
+
export type BreadcrumbVariantProps = {
|
|
317
|
+
[K in keyof BreadcrumbVariant]?: ConditionalValue<BreadcrumbVariant[K]> | undefined;
|
|
318
|
+
};
|
|
319
|
+
export type BreadcrumbVariantMap = {
|
|
320
|
+
[K in keyof BreadcrumbVariant]: Array<BreadcrumbVariant[K]>;
|
|
321
|
+
};
|
|
322
|
+
export type CardSlot = "root" | "header" | "body" | "footer" | "title" | "description";
|
|
323
|
+
export interface CardVariant {
|
|
324
|
+
/** @default "md" */
|
|
325
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
326
|
+
/** @default "outline" */
|
|
327
|
+
variant?: "elevated" | "outline" | "subtle" | undefined;
|
|
328
|
+
}
|
|
329
|
+
export type CardVariantProps = {
|
|
330
|
+
[K in keyof CardVariant]?: ConditionalValue<CardVariant[K]> | undefined;
|
|
331
|
+
};
|
|
332
|
+
export type CardVariantMap = {
|
|
333
|
+
[K in keyof CardVariant]: Array<CardVariant[K]>;
|
|
334
|
+
};
|
|
335
|
+
export type CarouselSlot = "root" | "itemGroup" | "item" | "control" | "nextTrigger" | "prevTrigger" | "indicatorGroup" | "indicator" | "autoplayTrigger" | "progressText" | "progressText" | "autoplayIndicator";
|
|
336
|
+
export interface CarouselVariant {
|
|
337
|
+
}
|
|
338
|
+
export type CarouselVariantProps = {
|
|
339
|
+
[K in keyof CarouselVariant]?: ConditionalValue<CarouselVariant[K]> | undefined;
|
|
340
|
+
};
|
|
341
|
+
export type CarouselVariantMap = {
|
|
342
|
+
[K in keyof CarouselVariant]: Array<CarouselVariant[K]>;
|
|
343
|
+
};
|
|
344
|
+
export type CheckboxSlot = "root" | "label" | "control" | "indicator" | "group";
|
|
345
|
+
export interface CheckboxVariant {
|
|
346
|
+
/** @default "md" */
|
|
347
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
348
|
+
/** @default "solid" */
|
|
349
|
+
variant?: "outline" | "solid" | "subtle" | undefined;
|
|
350
|
+
}
|
|
351
|
+
export type CheckboxVariantProps = {
|
|
352
|
+
[K in keyof CheckboxVariant]?: ConditionalValue<CheckboxVariant[K]> | undefined;
|
|
353
|
+
};
|
|
354
|
+
export type CheckboxVariantMap = {
|
|
355
|
+
[K in keyof CheckboxVariant]: Array<CheckboxVariant[K]>;
|
|
356
|
+
};
|
|
357
|
+
export type CheckboxCardSlot = "root" | "control" | "label" | "description" | "addon" | "indicator" | "content";
|
|
358
|
+
export interface CheckboxCardVariant {
|
|
359
|
+
/** @default "md" */
|
|
360
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
361
|
+
/** @default "outline" */
|
|
362
|
+
variant?: "surface" | "subtle" | "outline" | "solid" | undefined;
|
|
363
|
+
justify?: "start" | "end" | "center" | undefined;
|
|
364
|
+
/** @default "start" */
|
|
365
|
+
align?: "start" | "end" | "center" | undefined;
|
|
366
|
+
/** @default "horizontal" */
|
|
367
|
+
orientation?: "vertical" | "horizontal" | undefined;
|
|
368
|
+
}
|
|
369
|
+
export type CheckboxCardVariantProps = {
|
|
370
|
+
[K in keyof CheckboxCardVariant]?: ConditionalValue<CheckboxCardVariant[K]> | undefined;
|
|
371
|
+
};
|
|
372
|
+
export type CheckboxCardVariantMap = {
|
|
373
|
+
[K in keyof CheckboxCardVariant]: Array<CheckboxCardVariant[K]>;
|
|
374
|
+
};
|
|
375
|
+
export type CodeBlockSlot = "root" | "content" | "title" | "header" | "footer" | "control" | "overlay" | "code" | "codeText" | "copyTrigger" | "copyIndicator" | "collapseTrigger" | "collapseIndicator" | "collapseText";
|
|
376
|
+
export interface CodeBlockVariant {
|
|
377
|
+
/** @default "md" */
|
|
378
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
379
|
+
}
|
|
380
|
+
export type CodeBlockVariantProps = {
|
|
381
|
+
[K in keyof CodeBlockVariant]?: ConditionalValue<CodeBlockVariant[K]> | undefined;
|
|
382
|
+
};
|
|
383
|
+
export type CodeBlockVariantMap = {
|
|
384
|
+
[K in keyof CodeBlockVariant]: Array<CodeBlockVariant[K]>;
|
|
385
|
+
};
|
|
386
|
+
export type CollapsibleSlot = "root" | "trigger" | "content" | "indicator";
|
|
387
|
+
export interface CollapsibleVariant {
|
|
388
|
+
}
|
|
389
|
+
export type CollapsibleVariantProps = {
|
|
390
|
+
[K in keyof CollapsibleVariant]?: ConditionalValue<CollapsibleVariant[K]> | undefined;
|
|
391
|
+
};
|
|
392
|
+
export type CollapsibleVariantMap = {
|
|
393
|
+
[K in keyof CollapsibleVariant]: Array<CollapsibleVariant[K]>;
|
|
394
|
+
};
|
|
395
|
+
export type DataListSlot = "root" | "item" | "itemLabel" | "itemValue";
|
|
396
|
+
export interface DataListVariant {
|
|
397
|
+
/** @default "vertical" */
|
|
398
|
+
orientation?: "horizontal" | "vertical" | undefined;
|
|
399
|
+
/** @default "md" */
|
|
400
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
401
|
+
/** @default "subtle" */
|
|
402
|
+
variant?: "subtle" | "bold" | undefined;
|
|
403
|
+
}
|
|
404
|
+
export type DataListVariantProps = {
|
|
405
|
+
[K in keyof DataListVariant]?: ConditionalValue<DataListVariant[K]> | undefined;
|
|
406
|
+
};
|
|
407
|
+
export type DataListVariantMap = {
|
|
408
|
+
[K in keyof DataListVariant]: Array<DataListVariant[K]>;
|
|
409
|
+
};
|
|
410
|
+
export type DatePickerSlot = "clearTrigger" | "content" | "control" | "input" | "label" | "monthSelect" | "nextTrigger" | "positioner" | "presetTrigger" | "prevTrigger" | "rangeText" | "root" | "table" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "trigger" | "view" | "viewControl" | "viewTrigger" | "yearSelect" | "view" | "valueText" | "label" | "control" | "input" | "trigger" | "clearTrigger" | "positioner" | "indicatorGroup";
|
|
411
|
+
export interface DatePickerVariant {
|
|
412
|
+
/** @default "md" */
|
|
413
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
414
|
+
hideOutsideDays?: boolean | undefined;
|
|
415
|
+
/** @default "outline" */
|
|
416
|
+
variant?: "outline" | "subtle" | "flushed" | undefined;
|
|
417
|
+
}
|
|
418
|
+
export type DatePickerVariantProps = {
|
|
419
|
+
[K in keyof DatePickerVariant]?: ConditionalValue<DatePickerVariant[K]> | undefined;
|
|
420
|
+
};
|
|
421
|
+
export type DatePickerVariantMap = {
|
|
422
|
+
[K in keyof DatePickerVariant]: Array<DatePickerVariant[K]>;
|
|
423
|
+
};
|
|
424
|
+
export type DialogSlot = "trigger" | "backdrop" | "positioner" | "content" | "title" | "description" | "closeTrigger" | "header" | "body" | "footer" | "backdrop";
|
|
425
|
+
export interface DialogVariant {
|
|
426
|
+
/** @default "top" */
|
|
427
|
+
placement?: "center" | "top" | "bottom" | undefined;
|
|
428
|
+
/** @default "outside" */
|
|
429
|
+
scrollBehavior?: "inside" | "outside" | undefined;
|
|
430
|
+
/** @default "md" */
|
|
431
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "cover" | "full" | undefined;
|
|
432
|
+
/** @default "scale" */
|
|
433
|
+
motionPreset?: "scale" | "slide-in-bottom" | "slide-in-top" | "slide-in-left" | "slide-in-right" | "none" | undefined;
|
|
434
|
+
}
|
|
435
|
+
export type DialogVariantProps = {
|
|
436
|
+
[K in keyof DialogVariant]?: ConditionalValue<DialogVariant[K]> | undefined;
|
|
437
|
+
};
|
|
438
|
+
export type DialogVariantMap = {
|
|
439
|
+
[K in keyof DialogVariant]: Array<DialogVariant[K]>;
|
|
440
|
+
};
|
|
441
|
+
export type DrawerSlot = "trigger" | "backdrop" | "positioner" | "content" | "title" | "description" | "closeTrigger" | "header" | "body" | "footer" | "backdrop";
|
|
442
|
+
export interface DrawerVariant {
|
|
443
|
+
/** @default "xs" */
|
|
444
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
445
|
+
/** @default "end" */
|
|
446
|
+
placement?: "start" | "end" | "top" | "bottom" | undefined;
|
|
447
|
+
contained?: boolean | undefined;
|
|
448
|
+
}
|
|
449
|
+
export type DrawerVariantProps = {
|
|
450
|
+
[K in keyof DrawerVariant]?: ConditionalValue<DrawerVariant[K]> | undefined;
|
|
451
|
+
};
|
|
452
|
+
export type DrawerVariantMap = {
|
|
453
|
+
[K in keyof DrawerVariant]: Array<DrawerVariant[K]>;
|
|
454
|
+
};
|
|
455
|
+
export type EditableSlot = "root" | "area" | "label" | "preview" | "input" | "editTrigger" | "submitTrigger" | "cancelTrigger" | "control" | "textarea";
|
|
456
|
+
export interface EditableVariant {
|
|
457
|
+
/** @default "md" */
|
|
458
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
459
|
+
}
|
|
460
|
+
export type EditableVariantProps = {
|
|
461
|
+
[K in keyof EditableVariant]?: ConditionalValue<EditableVariant[K]> | undefined;
|
|
462
|
+
};
|
|
463
|
+
export type EditableVariantMap = {
|
|
464
|
+
[K in keyof EditableVariant]: Array<EditableVariant[K]>;
|
|
465
|
+
};
|
|
466
|
+
export type EmptyStateSlot = "root" | "content" | "indicator" | "title" | "description";
|
|
467
|
+
export interface EmptyStateVariant {
|
|
468
|
+
/** @default "md" */
|
|
469
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
470
|
+
}
|
|
471
|
+
export type EmptyStateVariantProps = {
|
|
472
|
+
[K in keyof EmptyStateVariant]?: ConditionalValue<EmptyStateVariant[K]> | undefined;
|
|
473
|
+
};
|
|
474
|
+
export type EmptyStateVariantMap = {
|
|
475
|
+
[K in keyof EmptyStateVariant]: Array<EmptyStateVariant[K]>;
|
|
476
|
+
};
|
|
477
|
+
export type FieldSlot = "root" | "errorText" | "helperText" | "input" | "label" | "select" | "textarea" | "requiredIndicator" | "requiredIndicator";
|
|
478
|
+
export interface FieldVariant {
|
|
479
|
+
/** @default "vertical" */
|
|
480
|
+
orientation?: "vertical" | "horizontal" | undefined;
|
|
481
|
+
}
|
|
482
|
+
export type FieldVariantProps = {
|
|
483
|
+
[K in keyof FieldVariant]?: ConditionalValue<FieldVariant[K]> | undefined;
|
|
484
|
+
};
|
|
485
|
+
export type FieldVariantMap = {
|
|
486
|
+
[K in keyof FieldVariant]: Array<FieldVariant[K]>;
|
|
487
|
+
};
|
|
488
|
+
export type FieldsetSlot = "root" | "errorText" | "helperText" | "legend" | "content";
|
|
489
|
+
export interface FieldsetVariant {
|
|
490
|
+
/** @default "md" */
|
|
491
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
492
|
+
}
|
|
493
|
+
export type FieldsetVariantProps = {
|
|
494
|
+
[K in keyof FieldsetVariant]?: ConditionalValue<FieldsetVariant[K]> | undefined;
|
|
495
|
+
};
|
|
496
|
+
export type FieldsetVariantMap = {
|
|
497
|
+
[K in keyof FieldsetVariant]: Array<FieldsetVariant[K]>;
|
|
498
|
+
};
|
|
499
|
+
export type FileUploadSlot = "root" | "dropzone" | "item" | "itemDeleteTrigger" | "itemGroup" | "itemName" | "itemPreview" | "itemPreviewImage" | "itemSizeText" | "label" | "trigger" | "clearTrigger" | "itemContent" | "dropzoneContent" | "fileText";
|
|
500
|
+
export interface FileUploadVariant {
|
|
501
|
+
}
|
|
502
|
+
export type FileUploadVariantProps = {
|
|
503
|
+
[K in keyof FileUploadVariant]?: ConditionalValue<FileUploadVariant[K]> | undefined;
|
|
504
|
+
};
|
|
505
|
+
export type FileUploadVariantMap = {
|
|
506
|
+
[K in keyof FileUploadVariant]: Array<FileUploadVariant[K]>;
|
|
507
|
+
};
|
|
508
|
+
export type HoverCardSlot = "arrow" | "arrowTip" | "trigger" | "positioner" | "content";
|
|
509
|
+
export interface HoverCardVariant {
|
|
510
|
+
/** @default "md" */
|
|
511
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
512
|
+
}
|
|
513
|
+
export type HoverCardVariantProps = {
|
|
514
|
+
[K in keyof HoverCardVariant]?: ConditionalValue<HoverCardVariant[K]> | undefined;
|
|
515
|
+
};
|
|
516
|
+
export type HoverCardVariantMap = {
|
|
517
|
+
[K in keyof HoverCardVariant]: Array<HoverCardVariant[K]>;
|
|
518
|
+
};
|
|
519
|
+
export type ListSlot = "root" | "item" | "indicator";
|
|
520
|
+
export interface ListVariant {
|
|
521
|
+
/** @default "marker" */
|
|
522
|
+
variant?: "marker" | "plain" | undefined;
|
|
523
|
+
align?: "center" | "start" | "end" | undefined;
|
|
524
|
+
}
|
|
525
|
+
export type ListVariantProps = {
|
|
526
|
+
[K in keyof ListVariant]?: ConditionalValue<ListVariant[K]> | undefined;
|
|
527
|
+
};
|
|
528
|
+
export type ListVariantMap = {
|
|
529
|
+
[K in keyof ListVariant]: Array<ListVariant[K]>;
|
|
530
|
+
};
|
|
531
|
+
export type ListboxSlot = "label" | "input" | "item" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "content" | "root" | "valueText" | "empty";
|
|
532
|
+
export interface ListboxVariant {
|
|
533
|
+
/** @default "subtle" */
|
|
534
|
+
variant?: "subtle" | "solid" | "plain" | undefined;
|
|
535
|
+
}
|
|
536
|
+
export type ListboxVariantProps = {
|
|
537
|
+
[K in keyof ListboxVariant]?: ConditionalValue<ListboxVariant[K]> | undefined;
|
|
538
|
+
};
|
|
539
|
+
export type ListboxVariantMap = {
|
|
540
|
+
[K in keyof ListboxVariant]: Array<ListboxVariant[K]>;
|
|
541
|
+
};
|
|
542
|
+
export type MenuSlot = "arrow" | "arrowTip" | "content" | "contextTrigger" | "indicator" | "item" | "itemGroup" | "itemGroupLabel" | "itemIndicator" | "itemText" | "positioner" | "separator" | "trigger" | "triggerItem" | "itemCommand";
|
|
543
|
+
export interface MenuVariant {
|
|
544
|
+
/** @default "subtle" */
|
|
545
|
+
variant?: "subtle" | "solid" | undefined;
|
|
546
|
+
/** @default "md" */
|
|
547
|
+
size?: "sm" | "md" | undefined;
|
|
548
|
+
}
|
|
549
|
+
export type MenuVariantProps = {
|
|
550
|
+
[K in keyof MenuVariant]?: ConditionalValue<MenuVariant[K]> | undefined;
|
|
551
|
+
};
|
|
552
|
+
export type MenuVariantMap = {
|
|
553
|
+
[K in keyof MenuVariant]: Array<MenuVariant[K]>;
|
|
554
|
+
};
|
|
555
|
+
export type NativeSelectSlot = "root" | "field" | "indicator";
|
|
556
|
+
export interface NativeSelectVariant {
|
|
557
|
+
/** @default "outline" */
|
|
558
|
+
variant?: "outline" | "subtle" | "plain" | "ghost" | undefined;
|
|
559
|
+
/** @default "md" */
|
|
560
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
561
|
+
}
|
|
562
|
+
export type NativeSelectVariantProps = {
|
|
563
|
+
[K in keyof NativeSelectVariant]?: ConditionalValue<NativeSelectVariant[K]> | undefined;
|
|
564
|
+
};
|
|
565
|
+
export type NativeSelectVariantMap = {
|
|
566
|
+
[K in keyof NativeSelectVariant]: Array<NativeSelectVariant[K]>;
|
|
567
|
+
};
|
|
568
|
+
export type NumberInputSlot = "root" | "label" | "input" | "control" | "valueText" | "incrementTrigger" | "decrementTrigger" | "scrubber";
|
|
569
|
+
export interface NumberInputVariant {
|
|
570
|
+
/** @default "md" */
|
|
571
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
572
|
+
/** @default "outline" */
|
|
573
|
+
variant?: "outline" | "subtle" | "flushed" | undefined;
|
|
574
|
+
}
|
|
575
|
+
export type NumberInputVariantProps = {
|
|
576
|
+
[K in keyof NumberInputVariant]?: ConditionalValue<NumberInputVariant[K]> | undefined;
|
|
577
|
+
};
|
|
578
|
+
export type NumberInputVariantMap = {
|
|
579
|
+
[K in keyof NumberInputVariant]: Array<NumberInputVariant[K]>;
|
|
580
|
+
};
|
|
581
|
+
export type PinInputSlot = "root" | "label" | "input" | "control";
|
|
582
|
+
export interface PinInputVariant {
|
|
583
|
+
/** @default "md" */
|
|
584
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
585
|
+
/** @default "outline" */
|
|
586
|
+
variant?: "outline" | "subtle" | "flushed" | undefined;
|
|
587
|
+
attached?: boolean | undefined;
|
|
588
|
+
}
|
|
589
|
+
export type PinInputVariantProps = {
|
|
590
|
+
[K in keyof PinInputVariant]?: ConditionalValue<PinInputVariant[K]> | undefined;
|
|
591
|
+
};
|
|
592
|
+
export type PinInputVariantMap = {
|
|
593
|
+
[K in keyof PinInputVariant]: Array<PinInputVariant[K]>;
|
|
594
|
+
};
|
|
595
|
+
export type PopoverSlot = "arrow" | "arrowTip" | "anchor" | "trigger" | "indicator" | "positioner" | "content" | "title" | "description" | "closeTrigger" | "header" | "body" | "footer";
|
|
596
|
+
export interface PopoverVariant {
|
|
597
|
+
/** @default "md" */
|
|
598
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
599
|
+
}
|
|
600
|
+
export type PopoverVariantProps = {
|
|
601
|
+
[K in keyof PopoverVariant]?: ConditionalValue<PopoverVariant[K]> | undefined;
|
|
602
|
+
};
|
|
603
|
+
export type PopoverVariantMap = {
|
|
604
|
+
[K in keyof PopoverVariant]: Array<PopoverVariant[K]>;
|
|
605
|
+
};
|
|
606
|
+
export type ProgressSlot = "root" | "label" | "track" | "range" | "valueText" | "view" | "circle" | "circleTrack" | "circleRange";
|
|
607
|
+
export interface ProgressVariant {
|
|
608
|
+
/** @default "outline" */
|
|
609
|
+
variant?: "outline" | "subtle" | undefined;
|
|
610
|
+
/** @default "rounded" */
|
|
611
|
+
shape?: "square" | "rounded" | "full" | undefined;
|
|
612
|
+
striped?: boolean | undefined;
|
|
613
|
+
animated?: boolean | undefined;
|
|
614
|
+
/** @default "md" */
|
|
615
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
616
|
+
}
|
|
617
|
+
export type ProgressVariantProps = {
|
|
618
|
+
[K in keyof ProgressVariant]?: ConditionalValue<ProgressVariant[K]> | undefined;
|
|
619
|
+
};
|
|
620
|
+
export type ProgressVariantMap = {
|
|
621
|
+
[K in keyof ProgressVariant]: Array<ProgressVariant[K]>;
|
|
622
|
+
};
|
|
623
|
+
export type ProgressCircleSlot = "root" | "label" | "track" | "range" | "valueText" | "view" | "circle" | "circleTrack" | "circleRange";
|
|
624
|
+
export interface ProgressCircleVariant {
|
|
625
|
+
/** @default "md" */
|
|
626
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
627
|
+
}
|
|
628
|
+
export type ProgressCircleVariantProps = {
|
|
629
|
+
[K in keyof ProgressCircleVariant]?: ConditionalValue<ProgressCircleVariant[K]> | undefined;
|
|
630
|
+
};
|
|
631
|
+
export type ProgressCircleVariantMap = {
|
|
632
|
+
[K in keyof ProgressCircleVariant]: Array<ProgressCircleVariant[K]>;
|
|
633
|
+
};
|
|
634
|
+
export type RadioCardSlot = "root" | "label" | "item" | "itemText" | "itemControl" | "indicator" | "itemAddon" | "itemIndicator" | "itemContent" | "itemDescription";
|
|
635
|
+
export interface RadioCardVariant {
|
|
636
|
+
/** @default "md" */
|
|
637
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
638
|
+
/** @default "outline" */
|
|
639
|
+
variant?: "surface" | "subtle" | "outline" | "solid" | undefined;
|
|
640
|
+
justify?: "start" | "end" | "center" | undefined;
|
|
641
|
+
/** @default "start" */
|
|
642
|
+
align?: "start" | "end" | "center" | undefined;
|
|
643
|
+
/** @default "horizontal" */
|
|
644
|
+
orientation?: "vertical" | "horizontal" | undefined;
|
|
645
|
+
}
|
|
646
|
+
export type RadioCardVariantProps = {
|
|
647
|
+
[K in keyof RadioCardVariant]?: ConditionalValue<RadioCardVariant[K]> | undefined;
|
|
648
|
+
};
|
|
649
|
+
export type RadioCardVariantMap = {
|
|
650
|
+
[K in keyof RadioCardVariant]: Array<RadioCardVariant[K]>;
|
|
651
|
+
};
|
|
652
|
+
export type RadioGroupSlot = "root" | "label" | "item" | "itemText" | "itemControl" | "indicator" | "itemAddon" | "itemIndicator";
|
|
653
|
+
export interface RadioGroupVariant {
|
|
654
|
+
/** @default "solid" */
|
|
655
|
+
variant?: "outline" | "subtle" | "solid" | undefined;
|
|
656
|
+
/** @default "md" */
|
|
657
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
658
|
+
}
|
|
659
|
+
export type RadioGroupVariantProps = {
|
|
660
|
+
[K in keyof RadioGroupVariant]?: ConditionalValue<RadioGroupVariant[K]> | undefined;
|
|
661
|
+
};
|
|
662
|
+
export type RadioGroupVariantMap = {
|
|
663
|
+
[K in keyof RadioGroupVariant]: Array<RadioGroupVariant[K]>;
|
|
664
|
+
};
|
|
665
|
+
export type RatingGroupSlot = "root" | "label" | "item" | "control" | "itemIndicator";
|
|
666
|
+
export interface RatingGroupVariant {
|
|
667
|
+
/** @default "md" */
|
|
668
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
669
|
+
}
|
|
670
|
+
export type RatingGroupVariantProps = {
|
|
671
|
+
[K in keyof RatingGroupVariant]?: ConditionalValue<RatingGroupVariant[K]> | undefined;
|
|
672
|
+
};
|
|
673
|
+
export type RatingGroupVariantMap = {
|
|
674
|
+
[K in keyof RatingGroupVariant]: Array<RatingGroupVariant[K]>;
|
|
675
|
+
};
|
|
676
|
+
export type ScrollAreaSlot = "root" | "viewport" | "content" | "scrollbar" | "thumb" | "corner";
|
|
677
|
+
export interface ScrollAreaVariant {
|
|
678
|
+
/** @default "hover" */
|
|
679
|
+
variant?: "hover" | "always" | undefined;
|
|
680
|
+
/** @default "md" */
|
|
681
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
682
|
+
}
|
|
683
|
+
export type ScrollAreaVariantProps = {
|
|
684
|
+
[K in keyof ScrollAreaVariant]?: ConditionalValue<ScrollAreaVariant[K]> | undefined;
|
|
685
|
+
};
|
|
686
|
+
export type ScrollAreaVariantMap = {
|
|
687
|
+
[K in keyof ScrollAreaVariant]: Array<ScrollAreaVariant[K]>;
|
|
688
|
+
};
|
|
689
|
+
export type SegmentGroupSlot = "root" | "label" | "item" | "itemText" | "itemControl" | "indicator";
|
|
690
|
+
export interface SegmentGroupVariant {
|
|
691
|
+
/** @default "md" */
|
|
692
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
693
|
+
}
|
|
694
|
+
export type SegmentGroupVariantProps = {
|
|
695
|
+
[K in keyof SegmentGroupVariant]?: ConditionalValue<SegmentGroupVariant[K]> | undefined;
|
|
696
|
+
};
|
|
697
|
+
export type SegmentGroupVariantMap = {
|
|
698
|
+
[K in keyof SegmentGroupVariant]: Array<SegmentGroupVariant[K]>;
|
|
699
|
+
};
|
|
700
|
+
export type SelectSlot = "label" | "positioner" | "trigger" | "indicator" | "clearTrigger" | "item" | "itemText" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "list" | "content" | "root" | "control" | "valueText" | "indicatorGroup";
|
|
701
|
+
export interface SelectVariant {
|
|
702
|
+
/** @default "outline" */
|
|
703
|
+
variant?: "outline" | "subtle" | "ghost" | undefined;
|
|
704
|
+
/** @default "md" */
|
|
705
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
706
|
+
}
|
|
707
|
+
export type SelectVariantProps = {
|
|
708
|
+
[K in keyof SelectVariant]?: ConditionalValue<SelectVariant[K]> | undefined;
|
|
709
|
+
};
|
|
710
|
+
export type SelectVariantMap = {
|
|
711
|
+
[K in keyof SelectVariant]: Array<SelectVariant[K]>;
|
|
712
|
+
};
|
|
713
|
+
export type ComboboxSlot = "root" | "clearTrigger" | "content" | "control" | "input" | "item" | "itemGroup" | "itemGroupLabel" | "itemIndicator" | "itemText" | "label" | "list" | "positioner" | "trigger" | "empty" | "indicatorGroup" | "empty";
|
|
714
|
+
export interface ComboboxVariant {
|
|
715
|
+
/** @default "outline" */
|
|
716
|
+
variant?: "outline" | "subtle" | "flushed" | undefined;
|
|
717
|
+
/** @default "md" */
|
|
718
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
719
|
+
}
|
|
720
|
+
export type ComboboxVariantProps = {
|
|
721
|
+
[K in keyof ComboboxVariant]?: ConditionalValue<ComboboxVariant[K]> | undefined;
|
|
722
|
+
};
|
|
723
|
+
export type ComboboxVariantMap = {
|
|
724
|
+
[K in keyof ComboboxVariant]: Array<ComboboxVariant[K]>;
|
|
725
|
+
};
|
|
726
|
+
export type SliderSlot = "root" | "label" | "thumb" | "valueText" | "track" | "range" | "control" | "markerGroup" | "marker" | "draggingIndicator" | "markerIndicator" | "markerLabel";
|
|
727
|
+
export interface SliderVariant {
|
|
728
|
+
/** @default "md" */
|
|
729
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
730
|
+
/** @default "outline" */
|
|
731
|
+
variant?: "outline" | "solid" | undefined;
|
|
732
|
+
/** @default "horizontal" */
|
|
733
|
+
orientation?: "vertical" | "horizontal" | undefined;
|
|
734
|
+
}
|
|
735
|
+
export type SliderVariantProps = {
|
|
736
|
+
[K in keyof SliderVariant]?: ConditionalValue<SliderVariant[K]> | undefined;
|
|
737
|
+
};
|
|
738
|
+
export type SliderVariantMap = {
|
|
739
|
+
[K in keyof SliderVariant]: Array<SliderVariant[K]>;
|
|
740
|
+
};
|
|
741
|
+
export type SplitterSlot = "root" | "panel" | "resizeTrigger" | "resizeTriggerIndicator" | "resizeTriggerSeparator" | "resizeTriggerIndicator";
|
|
742
|
+
export interface SplitterVariant {
|
|
743
|
+
}
|
|
744
|
+
export type SplitterVariantProps = {
|
|
745
|
+
[K in keyof SplitterVariant]?: ConditionalValue<SplitterVariant[K]> | undefined;
|
|
746
|
+
};
|
|
747
|
+
export type SplitterVariantMap = {
|
|
748
|
+
[K in keyof SplitterVariant]: Array<SplitterVariant[K]>;
|
|
749
|
+
};
|
|
750
|
+
export type StatSlot = "root" | "label" | "helpText" | "valueText" | "valueUnit" | "indicator";
|
|
751
|
+
export interface StatVariant {
|
|
752
|
+
/** @default "md" */
|
|
753
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
754
|
+
}
|
|
755
|
+
export type StatVariantProps = {
|
|
756
|
+
[K in keyof StatVariant]?: ConditionalValue<StatVariant[K]> | undefined;
|
|
757
|
+
};
|
|
758
|
+
export type StatVariantMap = {
|
|
759
|
+
[K in keyof StatVariant]: Array<StatVariant[K]>;
|
|
760
|
+
};
|
|
761
|
+
export type StepsSlot = "root" | "list" | "item" | "trigger" | "indicator" | "separator" | "content" | "title" | "description" | "nextTrigger" | "prevTrigger" | "progress";
|
|
762
|
+
export interface StepsVariant {
|
|
763
|
+
/** @default "horizontal" */
|
|
764
|
+
orientation?: "vertical" | "horizontal" | undefined;
|
|
765
|
+
/** @default "solid" */
|
|
766
|
+
variant?: "solid" | "subtle" | undefined;
|
|
767
|
+
/** @default "md" */
|
|
768
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
769
|
+
}
|
|
770
|
+
export type StepsVariantProps = {
|
|
771
|
+
[K in keyof StepsVariant]?: ConditionalValue<StepsVariant[K]> | undefined;
|
|
772
|
+
};
|
|
773
|
+
export type StepsVariantMap = {
|
|
774
|
+
[K in keyof StepsVariant]: Array<StepsVariant[K]>;
|
|
775
|
+
};
|
|
776
|
+
export type SwitchSlot = "root" | "label" | "control" | "thumb" | "indicator";
|
|
777
|
+
export interface SwitchVariant {
|
|
778
|
+
/** @default "solid" */
|
|
779
|
+
variant?: "solid" | "raised" | undefined;
|
|
780
|
+
/** @default "md" */
|
|
781
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
782
|
+
}
|
|
783
|
+
export type SwitchVariantProps = {
|
|
784
|
+
[K in keyof SwitchVariant]?: ConditionalValue<SwitchVariant[K]> | undefined;
|
|
785
|
+
};
|
|
786
|
+
export type SwitchVariantMap = {
|
|
787
|
+
[K in keyof SwitchVariant]: Array<SwitchVariant[K]>;
|
|
788
|
+
};
|
|
789
|
+
export type TableSlot = "root" | "header" | "body" | "row" | "columnHeader" | "cell" | "footer" | "caption";
|
|
790
|
+
export interface TableVariant {
|
|
791
|
+
interactive?: boolean | undefined;
|
|
792
|
+
stickyHeader?: boolean | undefined;
|
|
793
|
+
striped?: boolean | undefined;
|
|
794
|
+
showColumnBorder?: boolean | undefined;
|
|
795
|
+
/** @default "line" */
|
|
796
|
+
variant?: "line" | "outline" | undefined;
|
|
797
|
+
/** @default "md" */
|
|
798
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
799
|
+
}
|
|
800
|
+
export type TableVariantProps = {
|
|
801
|
+
[K in keyof TableVariant]?: ConditionalValue<TableVariant[K]> | undefined;
|
|
802
|
+
};
|
|
803
|
+
export type TableVariantMap = {
|
|
804
|
+
[K in keyof TableVariant]: Array<TableVariant[K]>;
|
|
805
|
+
};
|
|
806
|
+
export type TabsSlot = "root" | "trigger" | "list" | "content" | "contentGroup" | "indicator";
|
|
807
|
+
export interface TabsVariant {
|
|
808
|
+
fitted?: boolean | undefined;
|
|
809
|
+
justify?: "start" | "center" | "end" | undefined;
|
|
810
|
+
/** @default "md" */
|
|
811
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
812
|
+
/** @default "line" */
|
|
813
|
+
variant?: "line" | "subtle" | "enclosed" | "outline" | "plain" | undefined;
|
|
814
|
+
}
|
|
815
|
+
export type TabsVariantProps = {
|
|
816
|
+
[K in keyof TabsVariant]?: ConditionalValue<TabsVariant[K]> | undefined;
|
|
817
|
+
};
|
|
818
|
+
export type TabsVariantMap = {
|
|
819
|
+
[K in keyof TabsVariant]: Array<TabsVariant[K]>;
|
|
820
|
+
};
|
|
821
|
+
export type TagSlot = "root" | "label" | "closeTrigger" | "startElement" | "endElement";
|
|
822
|
+
export interface TagVariant {
|
|
823
|
+
/** @default "md" */
|
|
824
|
+
size?: "sm" | "md" | "lg" | "xl" | undefined;
|
|
825
|
+
/** @default "surface" */
|
|
826
|
+
variant?: "subtle" | "solid" | "outline" | "surface" | undefined;
|
|
827
|
+
}
|
|
828
|
+
export type TagVariantProps = {
|
|
829
|
+
[K in keyof TagVariant]?: ConditionalValue<TagVariant[K]> | undefined;
|
|
830
|
+
};
|
|
831
|
+
export type TagVariantMap = {
|
|
832
|
+
[K in keyof TagVariant]: Array<TagVariant[K]>;
|
|
833
|
+
};
|
|
834
|
+
export type TagsInputSlot = "root" | "label" | "control" | "input" | "clearTrigger" | "item" | "itemPreview" | "itemInput" | "itemText" | "itemDeleteTrigger";
|
|
835
|
+
export interface TagsInputVariant {
|
|
836
|
+
/** @default "md" */
|
|
837
|
+
size?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
838
|
+
/** @default "outline" */
|
|
839
|
+
variant?: "outline" | "subtle" | "flushed" | undefined;
|
|
840
|
+
}
|
|
841
|
+
export type TagsInputVariantProps = {
|
|
842
|
+
[K in keyof TagsInputVariant]?: ConditionalValue<TagsInputVariant[K]> | undefined;
|
|
843
|
+
};
|
|
844
|
+
export type TagsInputVariantMap = {
|
|
845
|
+
[K in keyof TagsInputVariant]: Array<TagsInputVariant[K]>;
|
|
846
|
+
};
|
|
847
|
+
export type ToastSlot = "root" | "title" | "description" | "indicator" | "closeTrigger" | "actionTrigger";
|
|
848
|
+
export interface ToastVariant {
|
|
849
|
+
}
|
|
850
|
+
export type ToastVariantProps = {
|
|
851
|
+
[K in keyof ToastVariant]?: ConditionalValue<ToastVariant[K]> | undefined;
|
|
852
|
+
};
|
|
853
|
+
export type ToastVariantMap = {
|
|
854
|
+
[K in keyof ToastVariant]: Array<ToastVariant[K]>;
|
|
855
|
+
};
|
|
856
|
+
export type TooltipSlot = "trigger" | "arrow" | "arrowTip" | "positioner" | "content";
|
|
857
|
+
export interface TooltipVariant {
|
|
858
|
+
}
|
|
859
|
+
export type TooltipVariantProps = {
|
|
860
|
+
[K in keyof TooltipVariant]?: ConditionalValue<TooltipVariant[K]> | undefined;
|
|
861
|
+
};
|
|
862
|
+
export type TooltipVariantMap = {
|
|
863
|
+
[K in keyof TooltipVariant]: Array<TooltipVariant[K]>;
|
|
864
|
+
};
|
|
865
|
+
export type StatusSlot = "root" | "indicator";
|
|
866
|
+
export interface StatusVariant {
|
|
867
|
+
/** @default "md" */
|
|
868
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
869
|
+
}
|
|
870
|
+
export type StatusVariantProps = {
|
|
871
|
+
[K in keyof StatusVariant]?: ConditionalValue<StatusVariant[K]> | undefined;
|
|
872
|
+
};
|
|
873
|
+
export type StatusVariantMap = {
|
|
874
|
+
[K in keyof StatusVariant]: Array<StatusVariant[K]>;
|
|
875
|
+
};
|
|
876
|
+
export type TimelineSlot = "root" | "item" | "content" | "separator" | "indicator" | "connector" | "title" | "description";
|
|
877
|
+
export interface TimelineVariant {
|
|
878
|
+
/** @default "solid" */
|
|
879
|
+
variant?: "subtle" | "solid" | "outline" | "plain" | undefined;
|
|
880
|
+
/** @default false */
|
|
881
|
+
showLastSeparator?: boolean | undefined;
|
|
882
|
+
/** @default "md" */
|
|
883
|
+
size?: "sm" | "md" | "lg" | "xl" | undefined;
|
|
884
|
+
}
|
|
885
|
+
export type TimelineVariantProps = {
|
|
886
|
+
[K in keyof TimelineVariant]?: ConditionalValue<TimelineVariant[K]> | undefined;
|
|
887
|
+
};
|
|
888
|
+
export type TimelineVariantMap = {
|
|
889
|
+
[K in keyof TimelineVariant]: Array<TimelineVariant[K]>;
|
|
890
|
+
};
|
|
891
|
+
export type ColorPickerSlot = "root" | "label" | "control" | "trigger" | "positioner" | "content" | "area" | "areaThumb" | "valueText" | "areaBackground" | "channelSlider" | "channelSliderLabel" | "channelSliderTrack" | "channelSliderThumb" | "channelSliderValueText" | "channelInput" | "transparencyGrid" | "swatchGroup" | "swatchTrigger" | "swatchIndicator" | "swatch" | "eyeDropperTrigger" | "formatTrigger" | "formatSelect" | "view" | "channelText";
|
|
892
|
+
export interface ColorPickerVariant {
|
|
893
|
+
/** @default "md" */
|
|
894
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
895
|
+
/** @default "outline" */
|
|
896
|
+
variant?: "outline" | "subtle" | undefined;
|
|
897
|
+
}
|
|
898
|
+
export type ColorPickerVariantProps = {
|
|
899
|
+
[K in keyof ColorPickerVariant]?: ConditionalValue<ColorPickerVariant[K]> | undefined;
|
|
900
|
+
};
|
|
901
|
+
export type ColorPickerVariantMap = {
|
|
902
|
+
[K in keyof ColorPickerVariant]: Array<ColorPickerVariant[K]>;
|
|
903
|
+
};
|
|
904
|
+
export type QrCodeSlot = "root" | "frame" | "pattern" | "overlay" | "downloadTrigger";
|
|
905
|
+
export interface QrCodeVariant {
|
|
906
|
+
/** @default "md" */
|
|
907
|
+
size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "full" | undefined;
|
|
908
|
+
}
|
|
909
|
+
export type QrCodeVariantProps = {
|
|
910
|
+
[K in keyof QrCodeVariant]?: ConditionalValue<QrCodeVariant[K]> | undefined;
|
|
911
|
+
};
|
|
912
|
+
export type QrCodeVariantMap = {
|
|
913
|
+
[K in keyof QrCodeVariant]: Array<QrCodeVariant[K]>;
|
|
914
|
+
};
|
|
915
|
+
export type TreeViewSlot = "branch" | "branchContent" | "branchControl" | "branchIndentGuide" | "branchIndicator" | "branchText" | "branchTrigger" | "item" | "itemIndicator" | "itemText" | "label" | "nodeCheckbox" | "nodeRenameInput" | "root" | "tree";
|
|
916
|
+
export interface TreeViewVariant {
|
|
917
|
+
/** @default "md" */
|
|
918
|
+
size?: "md" | "sm" | "xs" | undefined;
|
|
919
|
+
/** @default "subtle" */
|
|
920
|
+
variant?: "subtle" | "solid" | undefined;
|
|
921
|
+
animateContent?: boolean | undefined;
|
|
922
|
+
}
|
|
923
|
+
export type TreeViewVariantProps = {
|
|
924
|
+
[K in keyof TreeViewVariant]?: ConditionalValue<TreeViewVariant[K]> | undefined;
|
|
925
|
+
};
|
|
926
|
+
export type TreeViewVariantMap = {
|
|
927
|
+
[K in keyof TreeViewVariant]: Array<TreeViewVariant[K]>;
|
|
928
|
+
};
|
|
929
|
+
export type MarqueeSlot = "root" | "viewport" | "content" | "edge" | "item";
|
|
930
|
+
export interface MarqueeVariant {
|
|
931
|
+
}
|
|
932
|
+
export type MarqueeVariantProps = {
|
|
933
|
+
[K in keyof MarqueeVariant]?: ConditionalValue<MarqueeVariant[K]> | undefined;
|
|
934
|
+
};
|
|
935
|
+
export type MarqueeVariantMap = {
|
|
936
|
+
[K in keyof MarqueeVariant]: Array<MarqueeVariant[K]>;
|
|
937
|
+
};
|
|
938
|
+
export interface ConfigSlotRecipes {
|
|
939
|
+
accordion: SystemSlotRecipeFn<AccordionSlot, AccordionVariantProps, AccordionVariantMap>;
|
|
940
|
+
actionBar: SystemSlotRecipeFn<ActionBarSlot, ActionBarVariantProps, ActionBarVariantMap>;
|
|
941
|
+
alert: SystemSlotRecipeFn<AlertSlot, AlertVariantProps, AlertVariantMap>;
|
|
942
|
+
avatar: SystemSlotRecipeFn<AvatarSlot, AvatarVariantProps, AvatarVariantMap>;
|
|
943
|
+
blockquote: SystemSlotRecipeFn<BlockquoteSlot, BlockquoteVariantProps, BlockquoteVariantMap>;
|
|
944
|
+
breadcrumb: SystemSlotRecipeFn<BreadcrumbSlot, BreadcrumbVariantProps, BreadcrumbVariantMap>;
|
|
945
|
+
card: SystemSlotRecipeFn<CardSlot, CardVariantProps, CardVariantMap>;
|
|
946
|
+
carousel: SystemSlotRecipeFn<CarouselSlot, CarouselVariantProps, CarouselVariantMap>;
|
|
947
|
+
checkbox: SystemSlotRecipeFn<CheckboxSlot, CheckboxVariantProps, CheckboxVariantMap>;
|
|
948
|
+
checkboxCard: SystemSlotRecipeFn<CheckboxCardSlot, CheckboxCardVariantProps, CheckboxCardVariantMap>;
|
|
949
|
+
codeBlock: SystemSlotRecipeFn<CodeBlockSlot, CodeBlockVariantProps, CodeBlockVariantMap>;
|
|
950
|
+
collapsible: SystemSlotRecipeFn<CollapsibleSlot, CollapsibleVariantProps, CollapsibleVariantMap>;
|
|
951
|
+
dataList: SystemSlotRecipeFn<DataListSlot, DataListVariantProps, DataListVariantMap>;
|
|
952
|
+
datePicker: SystemSlotRecipeFn<DatePickerSlot, DatePickerVariantProps, DatePickerVariantMap>;
|
|
953
|
+
dialog: SystemSlotRecipeFn<DialogSlot, DialogVariantProps, DialogVariantMap>;
|
|
954
|
+
drawer: SystemSlotRecipeFn<DrawerSlot, DrawerVariantProps, DrawerVariantMap>;
|
|
955
|
+
editable: SystemSlotRecipeFn<EditableSlot, EditableVariantProps, EditableVariantMap>;
|
|
956
|
+
emptyState: SystemSlotRecipeFn<EmptyStateSlot, EmptyStateVariantProps, EmptyStateVariantMap>;
|
|
957
|
+
field: SystemSlotRecipeFn<FieldSlot, FieldVariantProps, FieldVariantMap>;
|
|
958
|
+
fieldset: SystemSlotRecipeFn<FieldsetSlot, FieldsetVariantProps, FieldsetVariantMap>;
|
|
959
|
+
fileUpload: SystemSlotRecipeFn<FileUploadSlot, FileUploadVariantProps, FileUploadVariantMap>;
|
|
960
|
+
hoverCard: SystemSlotRecipeFn<HoverCardSlot, HoverCardVariantProps, HoverCardVariantMap>;
|
|
961
|
+
list: SystemSlotRecipeFn<ListSlot, ListVariantProps, ListVariantMap>;
|
|
962
|
+
listbox: SystemSlotRecipeFn<ListboxSlot, ListboxVariantProps, ListboxVariantMap>;
|
|
963
|
+
menu: SystemSlotRecipeFn<MenuSlot, MenuVariantProps, MenuVariantMap>;
|
|
964
|
+
nativeSelect: SystemSlotRecipeFn<NativeSelectSlot, NativeSelectVariantProps, NativeSelectVariantMap>;
|
|
965
|
+
numberInput: SystemSlotRecipeFn<NumberInputSlot, NumberInputVariantProps, NumberInputVariantMap>;
|
|
966
|
+
pinInput: SystemSlotRecipeFn<PinInputSlot, PinInputVariantProps, PinInputVariantMap>;
|
|
967
|
+
popover: SystemSlotRecipeFn<PopoverSlot, PopoverVariantProps, PopoverVariantMap>;
|
|
968
|
+
progress: SystemSlotRecipeFn<ProgressSlot, ProgressVariantProps, ProgressVariantMap>;
|
|
969
|
+
progressCircle: SystemSlotRecipeFn<ProgressCircleSlot, ProgressCircleVariantProps, ProgressCircleVariantMap>;
|
|
970
|
+
radioCard: SystemSlotRecipeFn<RadioCardSlot, RadioCardVariantProps, RadioCardVariantMap>;
|
|
971
|
+
radioGroup: SystemSlotRecipeFn<RadioGroupSlot, RadioGroupVariantProps, RadioGroupVariantMap>;
|
|
972
|
+
ratingGroup: SystemSlotRecipeFn<RatingGroupSlot, RatingGroupVariantProps, RatingGroupVariantMap>;
|
|
973
|
+
scrollArea: SystemSlotRecipeFn<ScrollAreaSlot, ScrollAreaVariantProps, ScrollAreaVariantMap>;
|
|
974
|
+
segmentGroup: SystemSlotRecipeFn<SegmentGroupSlot, SegmentGroupVariantProps, SegmentGroupVariantMap>;
|
|
975
|
+
select: SystemSlotRecipeFn<SelectSlot, SelectVariantProps, SelectVariantMap>;
|
|
976
|
+
combobox: SystemSlotRecipeFn<ComboboxSlot, ComboboxVariantProps, ComboboxVariantMap>;
|
|
977
|
+
slider: SystemSlotRecipeFn<SliderSlot, SliderVariantProps, SliderVariantMap>;
|
|
978
|
+
splitter: SystemSlotRecipeFn<SplitterSlot, SplitterVariantProps, SplitterVariantMap>;
|
|
979
|
+
stat: SystemSlotRecipeFn<StatSlot, StatVariantProps, StatVariantMap>;
|
|
980
|
+
steps: SystemSlotRecipeFn<StepsSlot, StepsVariantProps, StepsVariantMap>;
|
|
981
|
+
switch: SystemSlotRecipeFn<SwitchSlot, SwitchVariantProps, SwitchVariantMap>;
|
|
982
|
+
table: SystemSlotRecipeFn<TableSlot, TableVariantProps, TableVariantMap>;
|
|
983
|
+
tabs: SystemSlotRecipeFn<TabsSlot, TabsVariantProps, TabsVariantMap>;
|
|
984
|
+
tag: SystemSlotRecipeFn<TagSlot, TagVariantProps, TagVariantMap>;
|
|
985
|
+
tagsInput: SystemSlotRecipeFn<TagsInputSlot, TagsInputVariantProps, TagsInputVariantMap>;
|
|
986
|
+
toast: SystemSlotRecipeFn<ToastSlot, ToastVariantProps, ToastVariantMap>;
|
|
987
|
+
tooltip: SystemSlotRecipeFn<TooltipSlot, TooltipVariantProps, TooltipVariantMap>;
|
|
988
|
+
status: SystemSlotRecipeFn<StatusSlot, StatusVariantProps, StatusVariantMap>;
|
|
989
|
+
timeline: SystemSlotRecipeFn<TimelineSlot, TimelineVariantProps, TimelineVariantMap>;
|
|
990
|
+
colorPicker: SystemSlotRecipeFn<ColorPickerSlot, ColorPickerVariantProps, ColorPickerVariantMap>;
|
|
991
|
+
qrCode: SystemSlotRecipeFn<QrCodeSlot, QrCodeVariantProps, QrCodeVariantMap>;
|
|
992
|
+
treeView: SystemSlotRecipeFn<TreeViewSlot, TreeViewVariantProps, TreeViewVariantMap>;
|
|
993
|
+
marquee: SystemSlotRecipeFn<MarqueeSlot, MarqueeVariantProps, MarqueeVariantMap>;
|
|
994
|
+
}
|
|
995
|
+
export interface ConfigRecipeSlots {
|
|
996
|
+
accordion: AccordionSlot;
|
|
997
|
+
actionBar: ActionBarSlot;
|
|
998
|
+
alert: AlertSlot;
|
|
999
|
+
avatar: AvatarSlot;
|
|
1000
|
+
blockquote: BlockquoteSlot;
|
|
1001
|
+
breadcrumb: BreadcrumbSlot;
|
|
1002
|
+
card: CardSlot;
|
|
1003
|
+
carousel: CarouselSlot;
|
|
1004
|
+
checkbox: CheckboxSlot;
|
|
1005
|
+
checkboxCard: CheckboxCardSlot;
|
|
1006
|
+
codeBlock: CodeBlockSlot;
|
|
1007
|
+
collapsible: CollapsibleSlot;
|
|
1008
|
+
dataList: DataListSlot;
|
|
1009
|
+
datePicker: DatePickerSlot;
|
|
1010
|
+
dialog: DialogSlot;
|
|
1011
|
+
drawer: DrawerSlot;
|
|
1012
|
+
editable: EditableSlot;
|
|
1013
|
+
emptyState: EmptyStateSlot;
|
|
1014
|
+
field: FieldSlot;
|
|
1015
|
+
fieldset: FieldsetSlot;
|
|
1016
|
+
fileUpload: FileUploadSlot;
|
|
1017
|
+
hoverCard: HoverCardSlot;
|
|
1018
|
+
list: ListSlot;
|
|
1019
|
+
listbox: ListboxSlot;
|
|
1020
|
+
menu: MenuSlot;
|
|
1021
|
+
nativeSelect: NativeSelectSlot;
|
|
1022
|
+
numberInput: NumberInputSlot;
|
|
1023
|
+
pinInput: PinInputSlot;
|
|
1024
|
+
popover: PopoverSlot;
|
|
1025
|
+
progress: ProgressSlot;
|
|
1026
|
+
progressCircle: ProgressCircleSlot;
|
|
1027
|
+
radioCard: RadioCardSlot;
|
|
1028
|
+
radioGroup: RadioGroupSlot;
|
|
1029
|
+
ratingGroup: RatingGroupSlot;
|
|
1030
|
+
scrollArea: ScrollAreaSlot;
|
|
1031
|
+
segmentGroup: SegmentGroupSlot;
|
|
1032
|
+
select: SelectSlot;
|
|
1033
|
+
combobox: ComboboxSlot;
|
|
1034
|
+
slider: SliderSlot;
|
|
1035
|
+
splitter: SplitterSlot;
|
|
1036
|
+
stat: StatSlot;
|
|
1037
|
+
steps: StepsSlot;
|
|
1038
|
+
switch: SwitchSlot;
|
|
1039
|
+
table: TableSlot;
|
|
1040
|
+
tabs: TabsSlot;
|
|
1041
|
+
tag: TagSlot;
|
|
1042
|
+
tagsInput: TagsInputSlot;
|
|
1043
|
+
toast: ToastSlot;
|
|
1044
|
+
tooltip: TooltipSlot;
|
|
1045
|
+
status: StatusSlot;
|
|
1046
|
+
timeline: TimelineSlot;
|
|
1047
|
+
colorPicker: ColorPickerSlot;
|
|
1048
|
+
qrCode: QrCodeSlot;
|
|
1049
|
+
treeView: TreeViewSlot;
|
|
1050
|
+
marquee: MarqueeSlot;
|
|
1051
|
+
}
|
|
1052
|
+
export type SlotRecipeRecord<T, K> = T extends keyof ConfigRecipeSlots ? Record<ConfigRecipeSlots[T], K> : Record<string, K>;
|
|
1053
|
+
export type SlotRecipeProps<T> = T extends keyof ConfigSlotRecipes ? ConfigSlotRecipes[T]["__type"] & {
|
|
1054
|
+
recipe?: SlotRecipeDefinition | undefined;
|
|
1055
|
+
} : {
|
|
1056
|
+
recipe?: SlotRecipeDefinition | undefined;
|
|
1057
|
+
};
|
|
1058
|
+
export type RecipeProps<T> = T extends keyof ConfigRecipes ? ConfigRecipes[T]["__type"] & {
|
|
1059
|
+
recipe?: RecipeDefinition | undefined;
|
|
1060
|
+
} : {
|
|
1061
|
+
recipe?: RecipeDefinition | undefined;
|
|
1062
|
+
};
|