@moduix/solid-tailwind 1.0.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/LICENSE.md +9 -0
- package/README.md +130 -0
- package/THIRD_PARTY_NOTICES.md +49 -0
- package/dist/components/accordion/Accordion.d.ts +22 -0
- package/dist/components/accordion/Accordion.js +103 -0
- package/dist/components/accordion/Accordion.jsx +63 -0
- package/dist/components/accordion/index.d.ts +1 -0
- package/dist/components/accordion/index.js +1 -0
- package/dist/components/accordion/index.jsx +1 -0
- package/dist/components/alert/Alert.d.ts +20 -0
- package/dist/components/alert/Alert.js +116 -0
- package/dist/components/alert/Alert.jsx +66 -0
- package/dist/components/alert/index.d.ts +1 -0
- package/dist/components/alert/index.js +1 -0
- package/dist/components/alert/index.jsx +1 -0
- package/dist/components/angle-slider/AngleSlider.d.ts +37 -0
- package/dist/components/angle-slider/AngleSlider.js +165 -0
- package/dist/components/angle-slider/AngleSlider.jsx +97 -0
- package/dist/components/angle-slider/index.d.ts +1 -0
- package/dist/components/angle-slider/index.js +1 -0
- package/dist/components/angle-slider/index.jsx +1 -0
- package/dist/components/aspect-ratio/AspectRatio.d.ts +13 -0
- package/dist/components/aspect-ratio/AspectRatio.js +43 -0
- package/dist/components/aspect-ratio/AspectRatio.jsx +28 -0
- package/dist/components/aspect-ratio/index.d.ts +1 -0
- package/dist/components/aspect-ratio/index.js +1 -0
- package/dist/components/aspect-ratio/index.jsx +1 -0
- package/dist/components/avatar/Avatar.d.ts +21 -0
- package/dist/components/avatar/Avatar.js +88 -0
- package/dist/components/avatar/Avatar.jsx +59 -0
- package/dist/components/avatar/index.d.ts +1 -0
- package/dist/components/avatar/index.js +1 -0
- package/dist/components/avatar/index.jsx +1 -0
- package/dist/components/badge/Badge.d.ts +14 -0
- package/dist/components/badge/Badge.js +72 -0
- package/dist/components/badge/Badge.jsx +46 -0
- package/dist/components/badge/index.d.ts +1 -0
- package/dist/components/badge/index.js +1 -0
- package/dist/components/badge/index.jsx +1 -0
- package/dist/components/bleed/Bleed.d.ts +17 -0
- package/dist/components/bleed/Bleed.js +68 -0
- package/dist/components/bleed/Bleed.jsx +50 -0
- package/dist/components/bleed/index.d.ts +1 -0
- package/dist/components/bleed/index.js +1 -0
- package/dist/components/bleed/index.jsx +1 -0
- package/dist/components/breadcrumbs/Breadcrumbs.d.ts +30 -0
- package/dist/components/breadcrumbs/Breadcrumbs.js +158 -0
- package/dist/components/breadcrumbs/Breadcrumbs.jsx +88 -0
- package/dist/components/breadcrumbs/index.d.ts +1 -0
- package/dist/components/breadcrumbs/index.js +1 -0
- package/dist/components/breadcrumbs/index.jsx +1 -0
- package/dist/components/button/Button.d.ts +16 -0
- package/dist/components/button/Button.js +124 -0
- package/dist/components/button/Button.jsx +75 -0
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/button/index.js +1 -0
- package/dist/components/button/index.jsx +1 -0
- package/dist/components/card/Card.d.ts +28 -0
- package/dist/components/card/Card.js +210 -0
- package/dist/components/card/Card.jsx +103 -0
- package/dist/components/card/index.d.ts +1 -0
- package/dist/components/card/index.js +1 -0
- package/dist/components/card/index.jsx +1 -0
- package/dist/components/carousel/Carousel.d.ts +35 -0
- package/dist/components/carousel/Carousel.js +218 -0
- package/dist/components/carousel/Carousel.jsx +121 -0
- package/dist/components/carousel/index.d.ts +1 -0
- package/dist/components/carousel/index.js +1 -0
- package/dist/components/carousel/index.jsx +1 -0
- package/dist/components/chart/Chart.d.ts +34 -0
- package/dist/components/chart/Chart.js +450 -0
- package/dist/components/chart/Chart.jsx +265 -0
- package/dist/components/chart/index.d.ts +1 -0
- package/dist/components/chart/index.js +1 -0
- package/dist/components/chart/index.jsx +1 -0
- package/dist/components/checkbox/Checkbox.d.ts +26 -0
- package/dist/components/checkbox/Checkbox.js +139 -0
- package/dist/components/checkbox/Checkbox.jsx +76 -0
- package/dist/components/checkbox/index.d.ts +1 -0
- package/dist/components/checkbox/index.js +1 -0
- package/dist/components/checkbox/index.jsx +1 -0
- package/dist/components/clipboard/Clipboard.d.ts +26 -0
- package/dist/components/clipboard/Clipboard.js +143 -0
- package/dist/components/clipboard/Clipboard.jsx +85 -0
- package/dist/components/clipboard/index.d.ts +1 -0
- package/dist/components/clipboard/index.js +1 -0
- package/dist/components/clipboard/index.jsx +1 -0
- package/dist/components/close-button/CloseButton.d.ts +14 -0
- package/dist/components/close-button/CloseButton.js +89 -0
- package/dist/components/close-button/CloseButton.jsx +48 -0
- package/dist/components/close-button/index.d.ts +1 -0
- package/dist/components/close-button/index.js +1 -0
- package/dist/components/close-button/index.jsx +1 -0
- package/dist/components/collapsible/Collapsible.d.ts +19 -0
- package/dist/components/collapsible/Collapsible.js +92 -0
- package/dist/components/collapsible/Collapsible.jsx +56 -0
- package/dist/components/collapsible/index.d.ts +1 -0
- package/dist/components/collapsible/index.js +1 -0
- package/dist/components/collapsible/index.jsx +1 -0
- package/dist/components/color-picker/ColorPicker.d.ts +66 -0
- package/dist/components/color-picker/ColorPicker.js +514 -0
- package/dist/components/color-picker/ColorPicker.jsx +276 -0
- package/dist/components/color-picker/index.d.ts +1 -0
- package/dist/components/color-picker/index.js +1 -0
- package/dist/components/color-picker/index.jsx +1 -0
- package/dist/components/combobox/Combobox.d.ts +50 -0
- package/dist/components/combobox/Combobox.js +353 -0
- package/dist/components/combobox/Combobox.jsx +187 -0
- package/dist/components/combobox/index.d.ts +1 -0
- package/dist/components/combobox/index.js +1 -0
- package/dist/components/combobox/index.jsx +1 -0
- package/dist/components/command-palette/CommandPalette.d.ts +72 -0
- package/dist/components/command-palette/CommandPalette.js +575 -0
- package/dist/components/command-palette/CommandPalette.jsx +324 -0
- package/dist/components/command-palette/index.d.ts +1 -0
- package/dist/components/command-palette/index.js +1 -0
- package/dist/components/command-palette/index.jsx +1 -0
- package/dist/components/container/Container.d.ts +17 -0
- package/dist/components/container/Container.js +140 -0
- package/dist/components/container/Container.jsx +126 -0
- package/dist/components/container/index.d.ts +1 -0
- package/dist/components/container/index.js +1 -0
- package/dist/components/container/index.jsx +1 -0
- package/dist/components/date-input/DateInput.d.ts +25 -0
- package/dist/components/date-input/DateInput.js +136 -0
- package/dist/components/date-input/DateInput.jsx +76 -0
- package/dist/components/date-input/index.d.ts +1 -0
- package/dist/components/date-input/index.js +1 -0
- package/dist/components/date-input/index.jsx +1 -0
- package/dist/components/date-picker/DatePicker.d.ts +98 -0
- package/dist/components/date-picker/DatePicker.js +701 -0
- package/dist/components/date-picker/DatePicker.jsx +359 -0
- package/dist/components/date-picker/index.d.ts +2 -0
- package/dist/components/date-picker/index.js +1 -0
- package/dist/components/date-picker/index.jsx +1 -0
- package/dist/components/dialog/Dialog.d.ts +38 -0
- package/dist/components/dialog/Dialog.js +239 -0
- package/dist/components/dialog/Dialog.jsx +130 -0
- package/dist/components/dialog/index.d.ts +2 -0
- package/dist/components/dialog/index.js +1 -0
- package/dist/components/dialog/index.jsx +1 -0
- package/dist/components/drawer/Drawer.d.ts +54 -0
- package/dist/components/drawer/Drawer.js +333 -0
- package/dist/components/drawer/Drawer.jsx +179 -0
- package/dist/components/drawer/index.d.ts +1 -0
- package/dist/components/drawer/index.js +1 -0
- package/dist/components/drawer/index.jsx +1 -0
- package/dist/components/editable/Editable.d.ts +29 -0
- package/dist/components/editable/Editable.js +181 -0
- package/dist/components/editable/Editable.jsx +105 -0
- package/dist/components/editable/index.d.ts +1 -0
- package/dist/components/editable/index.js +1 -0
- package/dist/components/editable/index.jsx +1 -0
- package/dist/components/empty/Empty.d.ts +16 -0
- package/dist/components/empty/Empty.js +121 -0
- package/dist/components/empty/Empty.jsx +54 -0
- package/dist/components/empty/index.d.ts +1 -0
- package/dist/components/empty/index.js +1 -0
- package/dist/components/empty/index.jsx +1 -0
- package/dist/components/field/Field.d.ts +37 -0
- package/dist/components/field/Field.js +236 -0
- package/dist/components/field/Field.jsx +134 -0
- package/dist/components/field/index.d.ts +1 -0
- package/dist/components/field/index.js +1 -0
- package/dist/components/field/index.jsx +1 -0
- package/dist/components/fieldset/Fieldset.d.ts +16 -0
- package/dist/components/fieldset/Fieldset.js +93 -0
- package/dist/components/fieldset/Fieldset.jsx +47 -0
- package/dist/components/fieldset/index.d.ts +1 -0
- package/dist/components/fieldset/index.js +1 -0
- package/dist/components/fieldset/index.jsx +1 -0
- package/dist/components/file-upload/FileUpload.d.ts +44 -0
- package/dist/components/file-upload/FileUpload.js +325 -0
- package/dist/components/file-upload/FileUpload.jsx +178 -0
- package/dist/components/file-upload/index.d.ts +1 -0
- package/dist/components/file-upload/index.js +1 -0
- package/dist/components/file-upload/index.jsx +1 -0
- package/dist/components/floating-panel/FloatingPanel.d.ts +53 -0
- package/dist/components/floating-panel/FloatingPanel.js +338 -0
- package/dist/components/floating-panel/FloatingPanel.jsx +186 -0
- package/dist/components/floating-panel/index.d.ts +2 -0
- package/dist/components/floating-panel/index.js +1 -0
- package/dist/components/floating-panel/index.jsx +1 -0
- package/dist/components/heading/Heading.d.ts +20 -0
- package/dist/components/heading/Heading.js +82 -0
- package/dist/components/heading/Heading.jsx +62 -0
- package/dist/components/heading/index.d.ts +1 -0
- package/dist/components/heading/index.js +1 -0
- package/dist/components/heading/index.jsx +1 -0
- package/dist/components/highlight/Highlight.d.ts +12 -0
- package/dist/components/highlight/Highlight.js +24 -0
- package/dist/components/highlight/Highlight.jsx +16 -0
- package/dist/components/highlight/index.d.ts +1 -0
- package/dist/components/highlight/index.js +1 -0
- package/dist/components/highlight/index.jsx +1 -0
- package/dist/components/hover-card/HoverCard.d.ts +27 -0
- package/dist/components/hover-card/HoverCard.js +164 -0
- package/dist/components/hover-card/HoverCard.jsx +89 -0
- package/dist/components/hover-card/index.d.ts +1 -0
- package/dist/components/hover-card/index.js +1 -0
- package/dist/components/hover-card/index.jsx +1 -0
- package/dist/components/image/Image.d.ts +14 -0
- package/dist/components/image/Image.js +53 -0
- package/dist/components/image/Image.jsx +33 -0
- package/dist/components/image/index.d.ts +1 -0
- package/dist/components/image/index.js +1 -0
- package/dist/components/image/index.jsx +1 -0
- package/dist/components/image-cropper/ImageCropper.d.ts +27 -0
- package/dist/components/image-cropper/ImageCropper.js +131 -0
- package/dist/components/image-cropper/ImageCropper.jsx +72 -0
- package/dist/components/image-cropper/index.d.ts +1 -0
- package/dist/components/image-cropper/index.js +1 -0
- package/dist/components/image-cropper/index.jsx +1 -0
- package/dist/components/input/Input.d.ts +13 -0
- package/dist/components/input/Input.js +57 -0
- package/dist/components/input/Input.jsx +36 -0
- package/dist/components/input/index.d.ts +1 -0
- package/dist/components/input/index.js +1 -0
- package/dist/components/input/index.jsx +1 -0
- package/dist/components/input-group/InputGroup.d.ts +27 -0
- package/dist/components/input-group/InputGroup.js +191 -0
- package/dist/components/input-group/InputGroup.jsx +129 -0
- package/dist/components/input-group/index.d.ts +1 -0
- package/dist/components/input-group/index.js +1 -0
- package/dist/components/input-group/index.jsx +1 -0
- package/dist/components/json-tree-view/JsonTreeView.d.ts +11 -0
- package/dist/components/json-tree-view/JsonTreeView.js +69 -0
- package/dist/components/json-tree-view/JsonTreeView.jsx +37 -0
- package/dist/components/json-tree-view/index.d.ts +1 -0
- package/dist/components/json-tree-view/index.js +1 -0
- package/dist/components/json-tree-view/index.jsx +1 -0
- package/dist/components/kbd/Kbd.d.ts +8 -0
- package/dist/components/kbd/Kbd.js +36 -0
- package/dist/components/kbd/Kbd.jsx +20 -0
- package/dist/components/kbd/index.d.ts +1 -0
- package/dist/components/kbd/index.js +1 -0
- package/dist/components/kbd/index.jsx +1 -0
- package/dist/components/lightbox/Lightbox.d.ts +60 -0
- package/dist/components/lightbox/Lightbox.js +351 -0
- package/dist/components/lightbox/Lightbox.jsx +218 -0
- package/dist/components/lightbox/index.d.ts +2 -0
- package/dist/components/lightbox/index.js +1 -0
- package/dist/components/lightbox/index.jsx +1 -0
- package/dist/components/list/List.d.ts +36 -0
- package/dist/components/list/List.js +201 -0
- package/dist/components/list/List.jsx +133 -0
- package/dist/components/list/index.d.ts +1 -0
- package/dist/components/list/index.js +1 -0
- package/dist/components/list/index.jsx +1 -0
- package/dist/components/listbox/Listbox.d.ts +46 -0
- package/dist/components/listbox/Listbox.js +249 -0
- package/dist/components/listbox/Listbox.jsx +147 -0
- package/dist/components/listbox/index.d.ts +1 -0
- package/dist/components/listbox/index.js +1 -0
- package/dist/components/listbox/index.jsx +1 -0
- package/dist/components/marquee/Marquee.d.ts +18 -0
- package/dist/components/marquee/Marquee.js +120 -0
- package/dist/components/marquee/Marquee.jsx +80 -0
- package/dist/components/marquee/index.d.ts +1 -0
- package/dist/components/marquee/index.js +1 -0
- package/dist/components/marquee/index.jsx +1 -0
- package/dist/components/menu/Menu.d.ts +74 -0
- package/dist/components/menu/Menu.js +476 -0
- package/dist/components/menu/Menu.jsx +277 -0
- package/dist/components/menu/index.d.ts +1 -0
- package/dist/components/menu/index.js +1 -0
- package/dist/components/menu/index.jsx +1 -0
- package/dist/components/native-select/NativeSelect.d.ts +11 -0
- package/dist/components/native-select/NativeSelect.js +49 -0
- package/dist/components/native-select/NativeSelect.jsx +24 -0
- package/dist/components/native-select/index.d.ts +1 -0
- package/dist/components/native-select/index.js +1 -0
- package/dist/components/native-select/index.jsx +1 -0
- package/dist/components/navigation-menu/NavigationMenu.d.ts +31 -0
- package/dist/components/navigation-menu/NavigationMenu.js +156 -0
- package/dist/components/navigation-menu/NavigationMenu.jsx +92 -0
- package/dist/components/navigation-menu/index.d.ts +1 -0
- package/dist/components/navigation-menu/index.js +1 -0
- package/dist/components/navigation-menu/index.jsx +1 -0
- package/dist/components/number-input/NumberInput.d.ts +27 -0
- package/dist/components/number-input/NumberInput.js +167 -0
- package/dist/components/number-input/NumberInput.jsx +97 -0
- package/dist/components/number-input/index.d.ts +1 -0
- package/dist/components/number-input/index.js +1 -0
- package/dist/components/number-input/index.jsx +1 -0
- package/dist/components/pagination/Pagination.d.ts +28 -0
- package/dist/components/pagination/Pagination.js +218 -0
- package/dist/components/pagination/Pagination.jsx +115 -0
- package/dist/components/pagination/index.d.ts +1 -0
- package/dist/components/pagination/index.js +1 -0
- package/dist/components/pagination/index.jsx +1 -0
- package/dist/components/password-input/PasswordInput.d.ts +26 -0
- package/dist/components/password-input/PasswordInput.js +135 -0
- package/dist/components/password-input/PasswordInput.jsx +83 -0
- package/dist/components/password-input/index.d.ts +1 -0
- package/dist/components/password-input/index.js +1 -0
- package/dist/components/password-input/index.jsx +1 -0
- package/dist/components/pin-input/PinInput.d.ts +24 -0
- package/dist/components/pin-input/PinInput.js +144 -0
- package/dist/components/pin-input/PinInput.jsx +80 -0
- package/dist/components/pin-input/index.d.ts +1 -0
- package/dist/components/pin-input/index.js +1 -0
- package/dist/components/pin-input/index.jsx +1 -0
- package/dist/components/popover/Popover.d.ts +46 -0
- package/dist/components/popover/Popover.js +288 -0
- package/dist/components/popover/Popover.jsx +155 -0
- package/dist/components/popover/index.d.ts +1 -0
- package/dist/components/popover/index.js +1 -0
- package/dist/components/popover/index.jsx +1 -0
- package/dist/components/progress-circular/ProgressCircular.d.ts +28 -0
- package/dist/components/progress-circular/ProgressCircular.js +164 -0
- package/dist/components/progress-circular/ProgressCircular.jsx +89 -0
- package/dist/components/progress-circular/index.d.ts +1 -0
- package/dist/components/progress-circular/index.js +1 -0
- package/dist/components/progress-circular/index.jsx +1 -0
- package/dist/components/progress-linear/ProgressLinear.d.ts +23 -0
- package/dist/components/progress-linear/ProgressLinear.js +132 -0
- package/dist/components/progress-linear/ProgressLinear.jsx +71 -0
- package/dist/components/progress-linear/index.d.ts +1 -0
- package/dist/components/progress-linear/index.js +1 -0
- package/dist/components/progress-linear/index.jsx +1 -0
- package/dist/components/qr-code/QrCode.d.ts +19 -0
- package/dist/components/qr-code/QrCode.js +129 -0
- package/dist/components/qr-code/QrCode.jsx +70 -0
- package/dist/components/qr-code/index.d.ts +1 -0
- package/dist/components/qr-code/index.js +1 -0
- package/dist/components/qr-code/index.jsx +1 -0
- package/dist/components/radio-group/RadioGroup.d.ts +33 -0
- package/dist/components/radio-group/RadioGroup.js +158 -0
- package/dist/components/radio-group/RadioGroup.jsx +94 -0
- package/dist/components/radio-group/index.d.ts +2 -0
- package/dist/components/radio-group/index.js +1 -0
- package/dist/components/radio-group/index.jsx +1 -0
- package/dist/components/rating-group/RatingGroup.d.ts +33 -0
- package/dist/components/rating-group/RatingGroup.js +150 -0
- package/dist/components/rating-group/RatingGroup.jsx +80 -0
- package/dist/components/rating-group/index.d.ts +2 -0
- package/dist/components/rating-group/index.js +1 -0
- package/dist/components/rating-group/index.jsx +1 -0
- package/dist/components/scroll-area/ScrollArea.d.ts +30 -0
- package/dist/components/scroll-area/ScrollArea.js +109 -0
- package/dist/components/scroll-area/ScrollArea.jsx +61 -0
- package/dist/components/scroll-area/index.d.ts +2 -0
- package/dist/components/scroll-area/index.js +1 -0
- package/dist/components/scroll-area/index.jsx +1 -0
- package/dist/components/segment-group/SegmentGroup.d.ts +33 -0
- package/dist/components/segment-group/SegmentGroup.js +205 -0
- package/dist/components/segment-group/SegmentGroup.jsx +126 -0
- package/dist/components/segment-group/index.d.ts +1 -0
- package/dist/components/segment-group/index.js +1 -0
- package/dist/components/segment-group/index.jsx +1 -0
- package/dist/components/select/Select.d.ts +57 -0
- package/dist/components/select/Select.js +395 -0
- package/dist/components/select/Select.jsx +210 -0
- package/dist/components/select/index.d.ts +1 -0
- package/dist/components/select/index.js +1 -0
- package/dist/components/select/index.jsx +1 -0
- package/dist/components/separator/Separator.d.ts +17 -0
- package/dist/components/separator/Separator.js +127 -0
- package/dist/components/separator/Separator.jsx +100 -0
- package/dist/components/separator/index.d.ts +1 -0
- package/dist/components/separator/index.js +1 -0
- package/dist/components/separator/index.jsx +1 -0
- package/dist/components/sidebar/Sidebar.d.ts +82 -0
- package/dist/components/sidebar/Sidebar.js +590 -0
- package/dist/components/sidebar/Sidebar.jsx +308 -0
- package/dist/components/sidebar/index.d.ts +1 -0
- package/dist/components/sidebar/index.js +1 -0
- package/dist/components/sidebar/index.jsx +1 -0
- package/dist/components/signature-pad/SignaturePad.d.ts +30 -0
- package/dist/components/signature-pad/SignaturePad.js +211 -0
- package/dist/components/signature-pad/SignaturePad.jsx +116 -0
- package/dist/components/signature-pad/index.d.ts +1 -0
- package/dist/components/signature-pad/index.js +1 -0
- package/dist/components/signature-pad/index.jsx +1 -0
- package/dist/components/simple-grid/SimpleGrid.d.ts +17 -0
- package/dist/components/simple-grid/SimpleGrid.js +74 -0
- package/dist/components/simple-grid/SimpleGrid.jsx +59 -0
- package/dist/components/simple-grid/index.d.ts +1 -0
- package/dist/components/simple-grid/index.js +1 -0
- package/dist/components/simple-grid/index.jsx +1 -0
- package/dist/components/skeleton/Skeleton.d.ts +15 -0
- package/dist/components/skeleton/Skeleton.js +74 -0
- package/dist/components/skeleton/Skeleton.jsx +47 -0
- package/dist/components/skeleton/index.d.ts +1 -0
- package/dist/components/skeleton/index.js +1 -0
- package/dist/components/skeleton/index.jsx +1 -0
- package/dist/components/slider/Slider.d.ts +36 -0
- package/dist/components/slider/Slider.js +202 -0
- package/dist/components/slider/Slider.jsx +109 -0
- package/dist/components/slider/index.d.ts +1 -0
- package/dist/components/slider/index.js +1 -0
- package/dist/components/slider/index.jsx +1 -0
- package/dist/components/spinner/Spinner.d.ts +11 -0
- package/dist/components/spinner/Spinner.js +73 -0
- package/dist/components/spinner/Spinner.jsx +44 -0
- package/dist/components/spinner/index.d.ts +1 -0
- package/dist/components/spinner/index.js +1 -0
- package/dist/components/spinner/index.jsx +1 -0
- package/dist/components/split-button/SplitButton.d.ts +41 -0
- package/dist/components/split-button/SplitButton.js +197 -0
- package/dist/components/split-button/SplitButton.jsx +117 -0
- package/dist/components/split-button/index.d.ts +1 -0
- package/dist/components/split-button/index.js +1 -0
- package/dist/components/split-button/index.jsx +1 -0
- package/dist/components/splitter/Splitter.d.ts +18 -0
- package/dist/components/splitter/Splitter.js +101 -0
- package/dist/components/splitter/Splitter.jsx +58 -0
- package/dist/components/splitter/index.d.ts +1 -0
- package/dist/components/splitter/index.js +1 -0
- package/dist/components/splitter/index.jsx +1 -0
- package/dist/components/stack/Stack.d.ts +19 -0
- package/dist/components/stack/Stack.js +83 -0
- package/dist/components/stack/Stack.jsx +68 -0
- package/dist/components/stack/index.d.ts +1 -0
- package/dist/components/stack/index.js +1 -0
- package/dist/components/stack/index.jsx +1 -0
- package/dist/components/steps/Steps.d.ts +35 -0
- package/dist/components/steps/Steps.js +162 -0
- package/dist/components/steps/Steps.jsx +99 -0
- package/dist/components/steps/index.d.ts +1 -0
- package/dist/components/steps/index.js +1 -0
- package/dist/components/steps/index.jsx +1 -0
- package/dist/components/swap/Swap.d.ts +20 -0
- package/dist/components/swap/Swap.js +52 -0
- package/dist/components/swap/Swap.jsx +30 -0
- package/dist/components/swap/index.d.ts +1 -0
- package/dist/components/swap/index.js +1 -0
- package/dist/components/swap/index.jsx +1 -0
- package/dist/components/switch/Switch.d.ts +25 -0
- package/dist/components/switch/Switch.js +101 -0
- package/dist/components/switch/Switch.jsx +57 -0
- package/dist/components/switch/index.d.ts +1 -0
- package/dist/components/switch/index.js +1 -0
- package/dist/components/switch/index.jsx +1 -0
- package/dist/components/table/Table.d.ts +71 -0
- package/dist/components/table/Table.js +363 -0
- package/dist/components/table/Table.jsx +189 -0
- package/dist/components/table/index.d.ts +1 -0
- package/dist/components/table/index.js +1 -0
- package/dist/components/table/index.jsx +1 -0
- package/dist/components/tabs/Tabs.d.ts +25 -0
- package/dist/components/tabs/Tabs.js +98 -0
- package/dist/components/tabs/Tabs.jsx +55 -0
- package/dist/components/tabs/index.d.ts +1 -0
- package/dist/components/tabs/index.js +1 -0
- package/dist/components/tabs/index.jsx +1 -0
- package/dist/components/tag/Tag.d.ts +24 -0
- package/dist/components/tag/Tag.js +147 -0
- package/dist/components/tag/Tag.jsx +78 -0
- package/dist/components/tag/index.d.ts +1 -0
- package/dist/components/tag/index.js +1 -0
- package/dist/components/tag/index.jsx +1 -0
- package/dist/components/tags-input/TagsInput.d.ts +32 -0
- package/dist/components/tags-input/TagsInput.js +240 -0
- package/dist/components/tags-input/TagsInput.jsx +127 -0
- package/dist/components/tags-input/index.d.ts +1 -0
- package/dist/components/tags-input/index.js +1 -0
- package/dist/components/tags-input/index.jsx +1 -0
- package/dist/components/text/Text.d.ts +30 -0
- package/dist/components/text/Text.js +126 -0
- package/dist/components/text/Text.jsx +91 -0
- package/dist/components/text/index.d.ts +1 -0
- package/dist/components/text/index.js +1 -0
- package/dist/components/text/index.jsx +1 -0
- package/dist/components/textarea/Textarea.d.ts +9 -0
- package/dist/components/textarea/Textarea.js +45 -0
- package/dist/components/textarea/Textarea.jsx +26 -0
- package/dist/components/textarea/index.d.ts +1 -0
- package/dist/components/textarea/index.js +1 -0
- package/dist/components/textarea/index.jsx +1 -0
- package/dist/components/timer/Timer.d.ts +26 -0
- package/dist/components/timer/Timer.js +126 -0
- package/dist/components/timer/Timer.jsx +77 -0
- package/dist/components/timer/index.d.ts +1 -0
- package/dist/components/timer/index.js +1 -0
- package/dist/components/timer/index.jsx +1 -0
- package/dist/components/toast/Toast.d.ts +22 -0
- package/dist/components/toast/Toast.js +184 -0
- package/dist/components/toast/Toast.jsx +94 -0
- package/dist/components/toast/index.d.ts +1 -0
- package/dist/components/toast/index.js +1 -0
- package/dist/components/toast/index.jsx +1 -0
- package/dist/components/toc/Toc.d.ts +34 -0
- package/dist/components/toc/Toc.js +222 -0
- package/dist/components/toc/Toc.jsx +129 -0
- package/dist/components/toc/index.d.ts +1 -0
- package/dist/components/toc/index.js +1 -0
- package/dist/components/toc/index.jsx +1 -0
- package/dist/components/toggle/Toggle.d.ts +17 -0
- package/dist/components/toggle/Toggle.js +76 -0
- package/dist/components/toggle/Toggle.jsx +51 -0
- package/dist/components/toggle/index.d.ts +2 -0
- package/dist/components/toggle/index.js +1 -0
- package/dist/components/toggle/index.jsx +1 -0
- package/dist/components/toggle-group/ToggleGroup.d.ts +27 -0
- package/dist/components/toggle-group/ToggleGroup.js +165 -0
- package/dist/components/toggle-group/ToggleGroup.jsx +110 -0
- package/dist/components/toggle-group/index.d.ts +2 -0
- package/dist/components/toggle-group/index.js +1 -0
- package/dist/components/toggle-group/index.jsx +1 -0
- package/dist/components/tooltip/Tooltip.d.ts +29 -0
- package/dist/components/tooltip/Tooltip.js +192 -0
- package/dist/components/tooltip/Tooltip.jsx +108 -0
- package/dist/components/tooltip/index.d.ts +1 -0
- package/dist/components/tooltip/index.js +1 -0
- package/dist/components/tooltip/index.jsx +1 -0
- package/dist/components/tour/Tour.d.ts +46 -0
- package/dist/components/tour/Tour.js +274 -0
- package/dist/components/tour/Tour.jsx +155 -0
- package/dist/components/tour/index.d.ts +2 -0
- package/dist/components/tour/index.js +1 -0
- package/dist/components/tour/index.jsx +1 -0
- package/dist/components/tree-view/TreeView.d.ts +58 -0
- package/dist/components/tree-view/TreeView.js +296 -0
- package/dist/components/tree-view/TreeView.jsx +173 -0
- package/dist/components/tree-view/index.d.ts +1 -0
- package/dist/components/tree-view/index.js +1 -0
- package/dist/components/tree-view/index.jsx +1 -0
- package/dist/components/typeset/Typeset.d.ts +15 -0
- package/dist/components/typeset/Typeset.js +68 -0
- package/dist/components/typeset/Typeset.jsx +33 -0
- package/dist/components/typeset/Typeset.module.js +6 -0
- package/dist/components/typeset/Typeset.module.jsx +6 -0
- package/dist/components/typeset/Typeset_module.css +466 -0
- package/dist/components/typeset/index.d.ts +1 -0
- package/dist/components/typeset/index.js +1 -0
- package/dist/components/typeset/index.jsx +1 -0
- package/dist/internal/cn.d.ts +2 -0
- package/dist/internal/cn.js +40 -0
- package/dist/internal/cn.jsx +40 -0
- package/dist/internal/icons/ui/Icons.d.ts +37 -0
- package/dist/internal/icons/ui/Icons.js +115 -0
- package/dist/internal/icons/ui/Icons.jsx +93 -0
- package/dist/internal/icons/ui/index.d.ts +1 -0
- package/dist/internal/icons/ui/index.js +1 -0
- package/dist/internal/icons/ui/index.jsx +1 -0
- package/dist/internal/overlayPortal.d.ts +13 -0
- package/dist/internal/overlayPortal.js +39 -0
- package/dist/internal/overlayPortal.jsx +19 -0
- package/dist/locale.d.ts +1 -0
- package/dist/locale.js +1 -0
- package/dist/locale.jsx +1 -0
- package/dist/presets/contrast.css +65 -0
- package/dist/presets/dense.css +78 -0
- package/dist/presets/soft.css +77 -0
- package/dist/styles/animations.css +371 -0
- package/dist/styles/borders.css +10 -0
- package/dist/styles/colors.css +122 -0
- package/dist/styles/opacity.css +5 -0
- package/dist/styles/radius.css +11 -0
- package/dist/styles/shadows.css +5 -0
- package/dist/styles/sizing.css +11 -0
- package/dist/styles/spacing.css +26 -0
- package/dist/styles/style.css +180 -0
- package/dist/styles/transforms.css +4 -0
- package/dist/styles/transitions.css +32 -0
- package/dist/styles/typography.css +37 -0
- package/dist/styles/z-index.css +13 -0
- package/package.json +633 -0
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
import { Combobox } from "@ark-ui/solid/combobox";
|
|
2
|
+
import { Dialog, useDialog, useDialogContext } from "@ark-ui/solid/dialog";
|
|
3
|
+
import { ark } from "@ark-ui/solid/factory";
|
|
4
|
+
import { isHotKey } from "@zag-js/hotkeys";
|
|
5
|
+
import { children, createEffect, onCleanup, splitProps } from "solid-js";
|
|
6
|
+
import { cn } from "../../internal/cn.jsx";
|
|
7
|
+
import { CheckIcon, CloseIcon } from "../../internal/icons/ui/Icons.jsx";
|
|
8
|
+
import { OverlayPortal, OverlayPortalProvider } from "../../internal/overlayPortal.jsx";
|
|
9
|
+
import { Kbd } from "../kbd/index.jsx";
|
|
10
|
+
import { ScrollArea } from "../scroll-area/index.jsx";
|
|
11
|
+
const DEFAULT_CLEAR_TRIGGER_LABEL = 'Clear search';
|
|
12
|
+
const DEFAULT_SEARCH_INPUT_LABEL = 'Search commands';
|
|
13
|
+
function CommandPaletteRoot(props) {
|
|
14
|
+
const [local, others] = splitProps(props, [
|
|
15
|
+
'children',
|
|
16
|
+
'shortcut',
|
|
17
|
+
'lazyMount',
|
|
18
|
+
'onExitComplete',
|
|
19
|
+
'portalled',
|
|
20
|
+
'present',
|
|
21
|
+
'portalRef',
|
|
22
|
+
'skipAnimationOnMount',
|
|
23
|
+
'unmountOnExit'
|
|
24
|
+
]);
|
|
25
|
+
const dialog = useDialog(others);
|
|
26
|
+
createEffect(()=>{
|
|
27
|
+
const shortcut = local.shortcut;
|
|
28
|
+
if (!shortcut) return;
|
|
29
|
+
const handleKeyDown = (event)=>{
|
|
30
|
+
const currentDialog = dialog();
|
|
31
|
+
if (event.defaultPrevented || event.repeat || event.isComposing || !isHotKey(shortcut, event, {
|
|
32
|
+
enableOnContentEditable: currentDialog.open,
|
|
33
|
+
enableOnFormTags: currentDialog.open
|
|
34
|
+
})) return;
|
|
35
|
+
event.preventDefault();
|
|
36
|
+
currentDialog.setOpen(!currentDialog.open);
|
|
37
|
+
};
|
|
38
|
+
document.addEventListener('keydown', handleKeyDown);
|
|
39
|
+
onCleanup(()=>document.removeEventListener('keydown', handleKeyDown));
|
|
40
|
+
});
|
|
41
|
+
return <OverlayPortalProvider portalled={local.portalled} portalRef={local.portalRef}>
|
|
42
|
+
<Dialog.RootProvider value={dialog} lazyMount={local.lazyMount ?? true} onExitComplete={local.onExitComplete} present={local.present} skipAnimationOnMount={local.skipAnimationOnMount} unmountOnExit={local.unmountOnExit ?? true}>
|
|
43
|
+
{local.children}
|
|
44
|
+
</Dialog.RootProvider>
|
|
45
|
+
</OverlayPortalProvider>;
|
|
46
|
+
}
|
|
47
|
+
function CommandPaletteRootProvider(props) {
|
|
48
|
+
const [local, others] = splitProps(props, [
|
|
49
|
+
'children',
|
|
50
|
+
'lazyMount',
|
|
51
|
+
'portalled',
|
|
52
|
+
'portalRef',
|
|
53
|
+
'unmountOnExit'
|
|
54
|
+
]);
|
|
55
|
+
return <OverlayPortalProvider portalled={local.portalled} portalRef={local.portalRef}>
|
|
56
|
+
<Dialog.RootProvider lazyMount={local.lazyMount ?? true} unmountOnExit={local.unmountOnExit ?? true} {...others}>
|
|
57
|
+
{local.children}
|
|
58
|
+
</Dialog.RootProvider>
|
|
59
|
+
</OverlayPortalProvider>;
|
|
60
|
+
}
|
|
61
|
+
function CommandPaletteTrigger(props) {
|
|
62
|
+
const [local, others] = splitProps(props, [
|
|
63
|
+
'asChild',
|
|
64
|
+
'class'
|
|
65
|
+
]);
|
|
66
|
+
return <Dialog.Trigger asChild={local.asChild} data-slot="command-palette-trigger" class={cn(!local.asChild && 'inline-flex min-h-control-md cursor-pointer items-center justify-center gap-2 rounded-md border border-border bg-background px-3.5 py-1 text-md leading-6 text-foreground transition-[background-color,border-color,color] duration-200 ease-in-out select-none focus-visible:outline-1 focus-visible:-outline-offset-1 focus-visible:outline-ring [@media(hover:hover)]:hover:bg-accent', local.class)} {...others}/>;
|
|
67
|
+
}
|
|
68
|
+
function CommandPaletteBackdrop(props) {
|
|
69
|
+
const [local, others] = splitProps(props, [
|
|
70
|
+
'class'
|
|
71
|
+
]);
|
|
72
|
+
return <OverlayPortal>
|
|
73
|
+
<Dialog.Backdrop data-slot="command-palette-backdrop" class={cn('fixed inset-0 z-[calc(40+var(--layer-index,0))] bg-overlay backdrop-blur-[4px] data-[state=closed]:animate-[moduix-fade-out_200ms_ease-in-out_forwards] data-[state=open]:animate-[moduix-fade-in_200ms_ease-in-out] motion-reduce:animate-none', local.class)} {...others}/>
|
|
74
|
+
</OverlayPortal>;
|
|
75
|
+
}
|
|
76
|
+
function CommandPalettePositioner(props) {
|
|
77
|
+
const [local, others] = splitProps(props, [
|
|
78
|
+
'class'
|
|
79
|
+
]);
|
|
80
|
+
return <OverlayPortal>
|
|
81
|
+
<Dialog.Positioner data-slot="command-palette-positioner" class={cn('fixed inset-0 z-[calc(50+var(--layer-index,0))] grid items-start justify-items-center overflow-hidden overscroll-contain px-4 pt-[10dvh] pb-4', local.class)} {...others}/>
|
|
82
|
+
</OverlayPortal>;
|
|
83
|
+
}
|
|
84
|
+
function CommandPaletteContent(props) {
|
|
85
|
+
const [local, others] = splitProps(props, [
|
|
86
|
+
'class'
|
|
87
|
+
]);
|
|
88
|
+
return <Dialog.Content data-slot="command-palette-content" class={cn('flex max-h-[min(34rem,calc(100dvh-5rem))] w-[min(37.5rem,calc(100vw-2rem))] origin-top flex-col overflow-hidden rounded-lg border border-border/84 bg-popover bg-linear-to-b from-white/4 to-transparent text-popover-foreground shadow-lg outline-0 data-[state=closed]:animate-moduix-menu-closed data-[state=open]:animate-moduix-menu-open motion-reduce:animate-none', local.class)} {...others}/>;
|
|
89
|
+
}
|
|
90
|
+
function CommandPalettePanel(props) {
|
|
91
|
+
const [local, others] = splitProps(props, [
|
|
92
|
+
'children'
|
|
93
|
+
]);
|
|
94
|
+
return <>
|
|
95
|
+
<CommandPaletteBackdrop/>
|
|
96
|
+
<CommandPalettePositioner>
|
|
97
|
+
<CommandPaletteContent {...others}>
|
|
98
|
+
<CommandPaletteBody>{local.children}</CommandPaletteBody>
|
|
99
|
+
</CommandPaletteContent>
|
|
100
|
+
</CommandPalettePositioner>
|
|
101
|
+
</>;
|
|
102
|
+
}
|
|
103
|
+
function CommandPaletteTitle(props) {
|
|
104
|
+
const [local, others] = splitProps(props, [
|
|
105
|
+
'class'
|
|
106
|
+
]);
|
|
107
|
+
return <Dialog.Title data-slot="command-palette-title" class={cn('text-md leading-6 font-semibold text-popover-foreground', local.class)} {...others}/>;
|
|
108
|
+
}
|
|
109
|
+
function CommandPaletteDescription(props) {
|
|
110
|
+
const [local, others] = splitProps(props, [
|
|
111
|
+
'class'
|
|
112
|
+
]);
|
|
113
|
+
return <Dialog.Description data-slot="command-palette-description" class={cn('text-sm leading-5 text-muted-foreground', local.class)} {...others}/>;
|
|
114
|
+
}
|
|
115
|
+
function CommandPaletteHeader(props) {
|
|
116
|
+
const [local, others] = splitProps(props, [
|
|
117
|
+
'class'
|
|
118
|
+
]);
|
|
119
|
+
return <ark.div data-slot="command-palette-header" class={cn('grid gap-1 px-4 pt-4', local.class)} {...others}/>;
|
|
120
|
+
}
|
|
121
|
+
function CommandPaletteBody(props) {
|
|
122
|
+
const [local, others] = splitProps(props, [
|
|
123
|
+
'class'
|
|
124
|
+
]);
|
|
125
|
+
return <ark.div data-slot="command-palette-body" class={cn('flex min-h-0 flex-1 flex-col', local.class)} {...others}/>;
|
|
126
|
+
}
|
|
127
|
+
const CommandPalette_CommandPaletteCombobox = function(props) {
|
|
128
|
+
const [local, others] = splitProps(props, [
|
|
129
|
+
'children',
|
|
130
|
+
'class',
|
|
131
|
+
'open',
|
|
132
|
+
'inputBehavior',
|
|
133
|
+
'selectionBehavior',
|
|
134
|
+
'closeOnSelect',
|
|
135
|
+
'disableLayer',
|
|
136
|
+
'onSelect'
|
|
137
|
+
]);
|
|
138
|
+
const dialog = useDialogContext();
|
|
139
|
+
const handleSelect = (details)=>{
|
|
140
|
+
local.onSelect?.(details);
|
|
141
|
+
if (local.closeOnSelect ?? true) dialog().setOpen(false);
|
|
142
|
+
};
|
|
143
|
+
return <Combobox.Root data-slot="command-palette-combobox" class={cn('flex min-h-0 flex-1 flex-col overflow-hidden', local.class)} open={local.open ?? true} inputBehavior={local.inputBehavior ?? 'autohighlight'} selectionBehavior={local.selectionBehavior ?? 'preserve'} closeOnSelect={local.closeOnSelect ?? true} disableLayer={local.disableLayer ?? true} onSelect={handleSelect} {...others}>
|
|
144
|
+
{local.children}
|
|
145
|
+
</Combobox.Root>;
|
|
146
|
+
};
|
|
147
|
+
function CommandPaletteControl(props) {
|
|
148
|
+
const [local, others] = splitProps(props, [
|
|
149
|
+
'class'
|
|
150
|
+
]);
|
|
151
|
+
return <Combobox.Control data-slot="command-palette-control" class={cn('relative mx-3 mt-3 flex min-h-control-md flex-none items-center gap-2 rounded-md border border-border bg-background px-3 py-1 text-foreground transition-[background-color,border-color] duration-200 ease-in-out has-[[aria-invalid=true]]:border-destructive has-[[data-invalid]]:border-destructive', local.class)} {...others}/>;
|
|
152
|
+
}
|
|
153
|
+
function CommandPaletteInput(props) {
|
|
154
|
+
const [local, others] = splitProps(props, [
|
|
155
|
+
'class'
|
|
156
|
+
]);
|
|
157
|
+
return <Combobox.Input data-slot="command-palette-input" class={cn('h-auto w-full min-w-0 flex-1 bg-transparent text-sm leading-5 text-inherit outline-0 placeholder:text-muted-foreground data-invalid:text-destructive', local.class)} {...others}/>;
|
|
158
|
+
}
|
|
159
|
+
function CommandPaletteSearch(props) {
|
|
160
|
+
const [local, others] = splitProps(props, [
|
|
161
|
+
'aria-label',
|
|
162
|
+
'aria-labelledby'
|
|
163
|
+
]);
|
|
164
|
+
return <CommandPaletteControl>
|
|
165
|
+
<CommandPaletteInput aria-label={local['aria-label'] ?? (null == local['aria-labelledby'] ? DEFAULT_SEARCH_INPUT_LABEL : void 0)} aria-labelledby={local['aria-labelledby']} {...others}/>
|
|
166
|
+
<CommandPaletteClearTrigger/>
|
|
167
|
+
</CommandPaletteControl>;
|
|
168
|
+
}
|
|
169
|
+
function CommandPaletteClearTrigger(props) {
|
|
170
|
+
const [local, others] = splitProps(props, [
|
|
171
|
+
'asChild',
|
|
172
|
+
'class',
|
|
173
|
+
'children',
|
|
174
|
+
'onClick',
|
|
175
|
+
'onPointerDown',
|
|
176
|
+
'aria-label',
|
|
177
|
+
'aria-labelledby'
|
|
178
|
+
]);
|
|
179
|
+
const resolvedChildren = children(()=>local.children);
|
|
180
|
+
return <Combobox.Context>
|
|
181
|
+
{(combobox)=><Combobox.ClearTrigger asChild={local.asChild} data-slot="command-palette-clear-trigger" hidden={0 === combobox().inputValue.length} aria-label={local['aria-label'] ?? (!local.asChild && null == local.children && null == local['aria-labelledby'] ? DEFAULT_CLEAR_TRIGGER_LABEL : void 0)} aria-labelledby={local['aria-labelledby']} class={cn('inline-flex size-6 shrink-0 cursor-pointer appearance-none items-center justify-center rounded-md bg-transparent text-muted-foreground transition-[background-color,color,opacity,translate,scale] duration-200 ease-in-out select-none focus-visible:outline-1 focus-visible:-outline-offset-1 focus-visible:outline-ring motion-reduce:transition-none [&>svg]:size-3 [&>svg]:shrink-0 [@media(hover:hover)]:hover:bg-accent [@media(hover:hover)]:hover:text-popover-foreground', local.class)} onClick={(event)=>{
|
|
182
|
+
local.onClick?.(event);
|
|
183
|
+
if (!event.defaultPrevented) combobox().setInputValue('');
|
|
184
|
+
}} onPointerDown={(event)=>{
|
|
185
|
+
local.onPointerDown?.(event);
|
|
186
|
+
if (0 === event.button) {
|
|
187
|
+
event.preventDefault();
|
|
188
|
+
combobox().setInputValue('');
|
|
189
|
+
}
|
|
190
|
+
}} {...others}>
|
|
191
|
+
{resolvedChildren() ?? <CloseIcon/>}
|
|
192
|
+
</Combobox.ClearTrigger>}
|
|
193
|
+
</Combobox.Context>;
|
|
194
|
+
}
|
|
195
|
+
function CommandPaletteList(props) {
|
|
196
|
+
const [local, others] = splitProps(props, [
|
|
197
|
+
'class',
|
|
198
|
+
'children'
|
|
199
|
+
]);
|
|
200
|
+
return <Combobox.Content data-slot="command-palette-list" class={cn('group/list flex min-h-0 flex-1 overflow-hidden outline-0', local.class)} {...others}>
|
|
201
|
+
<ScrollArea data-slot="command-palette-scroll-area" class="h-auto min-h-0 flex-1">
|
|
202
|
+
<ScrollArea.Viewport data-slot="command-palette-scroll-viewport" class="scroll-py-2">
|
|
203
|
+
<ScrollArea.Content data-slot="command-palette-scroll-content" class="min-h-full px-3 py-3 group-data-[empty]/list:p-0">
|
|
204
|
+
{local.children}
|
|
205
|
+
</ScrollArea.Content>
|
|
206
|
+
</ScrollArea.Viewport>
|
|
207
|
+
</ScrollArea>
|
|
208
|
+
</Combobox.Content>;
|
|
209
|
+
}
|
|
210
|
+
function CommandPaletteEmpty(props) {
|
|
211
|
+
const [local, others] = splitProps(props, [
|
|
212
|
+
'class'
|
|
213
|
+
]);
|
|
214
|
+
return <Combobox.Empty data-slot="command-palette-empty" class={cn('[&:not(:empty)]:px-4 [&:not(:empty)]:py-3 [&:not(:empty)]:text-sm [&:not(:empty)]:leading-5 [&:not(:empty)]:text-muted-foreground', local.class)} {...others}/>;
|
|
215
|
+
}
|
|
216
|
+
function CommandPaletteItemGroup(props) {
|
|
217
|
+
const [local, others] = splitProps(props, [
|
|
218
|
+
'class'
|
|
219
|
+
]);
|
|
220
|
+
return <Combobox.ItemGroup data-slot="command-palette-item-group" class={cn('grid gap-1 [&:not(:last-child)]:pb-2', local.class)} {...others}/>;
|
|
221
|
+
}
|
|
222
|
+
function CommandPaletteItemGroupLabel(props) {
|
|
223
|
+
const [local, others] = splitProps(props, [
|
|
224
|
+
'class'
|
|
225
|
+
]);
|
|
226
|
+
return <Combobox.ItemGroupLabel data-slot="command-palette-item-group-label" class={cn('sticky top-0 z-1 block bg-popover px-3 py-1 text-xs leading-4 font-normal text-muted-foreground', local.class)} {...others}/>;
|
|
227
|
+
}
|
|
228
|
+
function CommandPaletteItem(props) {
|
|
229
|
+
const [local, others] = splitProps(props, [
|
|
230
|
+
'class'
|
|
231
|
+
]);
|
|
232
|
+
return <Combobox.Item data-slot="command-palette-item" class={cn('relative z-0 grid min-h-control-sm cursor-default grid-cols-[auto_minmax(0,1fr)_auto_auto] items-center gap-3 rounded-md px-3 py-1 text-sm leading-5 text-popover-foreground outline-0 select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-highlighted:bg-accent data-highlighted:text-foreground data-[state=checked]:text-foreground', local.class)} {...others}/>;
|
|
233
|
+
}
|
|
234
|
+
function CommandPaletteItemText(props) {
|
|
235
|
+
const [local, others] = splitProps(props, [
|
|
236
|
+
'class'
|
|
237
|
+
]);
|
|
238
|
+
return <Combobox.ItemText data-slot="command-palette-item-text" class={cn('grid min-w-0 gap-1', local.class)} {...others}/>;
|
|
239
|
+
}
|
|
240
|
+
function CommandPaletteItemIndicator(props) {
|
|
241
|
+
const [local, others] = splitProps(props, [
|
|
242
|
+
'class',
|
|
243
|
+
'children'
|
|
244
|
+
]);
|
|
245
|
+
const resolvedChildren = children(()=>local.children);
|
|
246
|
+
return <Combobox.ItemIndicator data-slot="command-palette-item-indicator" class={cn('inline-flex size-8 items-center justify-center justify-self-end rounded-md border border-transparent bg-transparent text-muted-foreground [&>svg]:size-4 [&>svg]:shrink-0', local.class)} {...others}>
|
|
247
|
+
{resolvedChildren() ?? <CheckIcon/>}
|
|
248
|
+
</Combobox.ItemIndicator>;
|
|
249
|
+
}
|
|
250
|
+
function CommandPaletteItemIcon(props) {
|
|
251
|
+
const [local, others] = splitProps(props, [
|
|
252
|
+
'class'
|
|
253
|
+
]);
|
|
254
|
+
return <ark.span data-slot="command-palette-item-icon" class={cn('inline-flex size-8 items-center justify-center rounded-md border border-border bg-muted text-muted-foreground [&>svg]:size-4 [&>svg]:shrink-0', local.class)} {...others}/>;
|
|
255
|
+
}
|
|
256
|
+
function CommandPaletteItemLabel(props) {
|
|
257
|
+
const [local, others] = splitProps(props, [
|
|
258
|
+
'class'
|
|
259
|
+
]);
|
|
260
|
+
return <ark.span data-slot="command-palette-item-label" class={cn('min-w-0 overflow-hidden font-medium text-ellipsis whitespace-nowrap', local.class)} {...others}/>;
|
|
261
|
+
}
|
|
262
|
+
function CommandPaletteItemDescription(props) {
|
|
263
|
+
const [local, others] = splitProps(props, [
|
|
264
|
+
'class'
|
|
265
|
+
]);
|
|
266
|
+
return <ark.span data-slot="command-palette-item-description" class={cn('min-w-0 overflow-hidden text-xs leading-4 text-ellipsis whitespace-nowrap text-muted-foreground', local.class)} {...others}/>;
|
|
267
|
+
}
|
|
268
|
+
function CommandPaletteItemMeta(props) {
|
|
269
|
+
const [local, others] = splitProps(props, [
|
|
270
|
+
'class'
|
|
271
|
+
]);
|
|
272
|
+
return <ark.span data-slot="command-palette-item-meta" class={cn('justify-self-end text-xs leading-4 whitespace-nowrap text-muted-foreground', local.class)} {...others}/>;
|
|
273
|
+
}
|
|
274
|
+
function CommandPaletteSeparator(props) {
|
|
275
|
+
const [local, others] = splitProps(props, [
|
|
276
|
+
'class'
|
|
277
|
+
]);
|
|
278
|
+
return <ark.div role="separator" data-slot="command-palette-separator" class={cn('mx-2 my-2 h-px bg-border', local.class)} {...others}/>;
|
|
279
|
+
}
|
|
280
|
+
function CommandPaletteFooter(props) {
|
|
281
|
+
const [local, others] = splitProps(props, [
|
|
282
|
+
'class'
|
|
283
|
+
]);
|
|
284
|
+
return <ark.div data-slot="command-palette-footer" class={cn('flex flex-none items-center justify-between gap-3 border-t border-border px-4 py-2 text-xs leading-4 text-muted-foreground', local.class)} {...others}/>;
|
|
285
|
+
}
|
|
286
|
+
function CommandPaletteKbd(props) {
|
|
287
|
+
const [local, others] = splitProps(props, [
|
|
288
|
+
'class'
|
|
289
|
+
]);
|
|
290
|
+
return <Kbd.Root data-slot="command-palette-kbd" class={cn('min-h-5 min-w-5 rounded-sm px-1 text-xs leading-4 text-muted-foreground', local.class)} {...others}/>;
|
|
291
|
+
}
|
|
292
|
+
const CommandPalette = Object.assign(CommandPaletteRoot, {
|
|
293
|
+
Root: CommandPaletteRoot,
|
|
294
|
+
RootProvider: CommandPaletteRootProvider,
|
|
295
|
+
Trigger: CommandPaletteTrigger,
|
|
296
|
+
Backdrop: CommandPaletteBackdrop,
|
|
297
|
+
Positioner: CommandPalettePositioner,
|
|
298
|
+
Content: CommandPaletteContent,
|
|
299
|
+
Panel: CommandPalettePanel,
|
|
300
|
+
Title: CommandPaletteTitle,
|
|
301
|
+
Description: CommandPaletteDescription,
|
|
302
|
+
Header: CommandPaletteHeader,
|
|
303
|
+
Body: CommandPaletteBody,
|
|
304
|
+
Combobox: CommandPalette_CommandPaletteCombobox,
|
|
305
|
+
Control: CommandPaletteControl,
|
|
306
|
+
Input: CommandPaletteInput,
|
|
307
|
+
Search: CommandPaletteSearch,
|
|
308
|
+
ClearTrigger: CommandPaletteClearTrigger,
|
|
309
|
+
List: CommandPaletteList,
|
|
310
|
+
Empty: CommandPaletteEmpty,
|
|
311
|
+
ItemGroup: CommandPaletteItemGroup,
|
|
312
|
+
ItemGroupLabel: CommandPaletteItemGroupLabel,
|
|
313
|
+
Item: CommandPaletteItem,
|
|
314
|
+
ItemText: CommandPaletteItemText,
|
|
315
|
+
ItemIndicator: CommandPaletteItemIndicator,
|
|
316
|
+
ItemIcon: CommandPaletteItemIcon,
|
|
317
|
+
ItemLabel: CommandPaletteItemLabel,
|
|
318
|
+
ItemDescription: CommandPaletteItemDescription,
|
|
319
|
+
ItemMeta: CommandPaletteItemMeta,
|
|
320
|
+
Separator: CommandPaletteSeparator,
|
|
321
|
+
Footer: CommandPaletteFooter,
|
|
322
|
+
Kbd: CommandPaletteKbd
|
|
323
|
+
});
|
|
324
|
+
export { CommandPalette };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './CommandPalette.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./CommandPalette.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./CommandPalette.jsx";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { HTMLArkProps } from '@ark-ui/solid/factory';
|
|
2
|
+
type ContainerSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
3
|
+
type ContainerGutter = 'none' | 'sm' | 'md' | 'lg';
|
|
4
|
+
type ContainerRootProps = HTMLArkProps<'div'> & {
|
|
5
|
+
size?: ContainerSize;
|
|
6
|
+
gutter?: ContainerGutter;
|
|
7
|
+
'data-scope'?: string;
|
|
8
|
+
'data-part'?: string;
|
|
9
|
+
'data-slot'?: string;
|
|
10
|
+
'data-size'?: string;
|
|
11
|
+
'data-gutter'?: string;
|
|
12
|
+
};
|
|
13
|
+
declare function ContainerRoot(props: ContainerRootProps): import("solid-js").JSX.Element;
|
|
14
|
+
declare const Container: typeof ContainerRoot & {
|
|
15
|
+
Root: typeof ContainerRoot;
|
|
16
|
+
};
|
|
17
|
+
export { Container };
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { createComponent, mergeProps } from "solid-js/web";
|
|
2
|
+
import { ark } from "@ark-ui/solid/factory";
|
|
3
|
+
import { cva } from "class-variance-authority";
|
|
4
|
+
import { splitProps } from "solid-js";
|
|
5
|
+
import { cn } from "../../internal/cn.js";
|
|
6
|
+
const containerVariants = cva('w-full min-w-0 mx-auto', {
|
|
7
|
+
variants: {
|
|
8
|
+
size: {
|
|
9
|
+
xs: 'max-w-[calc(40rem_+_(clamp(1rem,4vw,2rem)*2))]',
|
|
10
|
+
sm: 'max-w-[calc(48rem_+_(clamp(1rem,4vw,2rem)*2))]',
|
|
11
|
+
md: 'max-w-[calc(64rem_+_(clamp(1rem,4vw,2rem)*2))]',
|
|
12
|
+
lg: 'max-w-[calc(72rem_+_(clamp(1rem,4vw,2rem)*2))]',
|
|
13
|
+
xl: 'max-w-[calc(90rem_+_(clamp(1rem,4vw,2rem)*2))]',
|
|
14
|
+
full: 'max-w-none'
|
|
15
|
+
},
|
|
16
|
+
gutter: {
|
|
17
|
+
none: 'px-0',
|
|
18
|
+
sm: 'px-[clamp(0.75rem,3vw,1.5rem)]',
|
|
19
|
+
md: 'px-[clamp(1rem,4vw,2rem)]',
|
|
20
|
+
lg: 'px-[clamp(1.5rem,5vw,3rem)]'
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
compoundVariants: [
|
|
24
|
+
{
|
|
25
|
+
size: 'xs',
|
|
26
|
+
gutter: 'none',
|
|
27
|
+
class: 'max-w-none'
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
size: 'xs',
|
|
31
|
+
gutter: 'sm',
|
|
32
|
+
class: 'max-w-[calc(40rem_+_(clamp(0.75rem,3vw,1.5rem)*2))]'
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
size: 'xs',
|
|
36
|
+
gutter: 'lg',
|
|
37
|
+
class: 'max-w-[calc(40rem_+_(clamp(1.5rem,5vw,3rem)*2))]'
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
size: 'sm',
|
|
41
|
+
gutter: 'none',
|
|
42
|
+
class: 'max-w-none'
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
size: 'sm',
|
|
46
|
+
gutter: 'sm',
|
|
47
|
+
class: 'max-w-[calc(48rem_+_(clamp(0.75rem,3vw,1.5rem)*2))]'
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
size: 'sm',
|
|
51
|
+
gutter: 'lg',
|
|
52
|
+
class: 'max-w-[calc(48rem_+_(clamp(1.5rem,5vw,3rem)*2))]'
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
size: 'md',
|
|
56
|
+
gutter: 'none',
|
|
57
|
+
class: 'max-w-none'
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
size: 'md',
|
|
61
|
+
gutter: 'sm',
|
|
62
|
+
class: 'max-w-[calc(64rem_+_(clamp(0.75rem,3vw,1.5rem)*2))]'
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
size: 'md',
|
|
66
|
+
gutter: 'lg',
|
|
67
|
+
class: 'max-w-[calc(64rem_+_(clamp(1.5rem,5vw,3rem)*2))]'
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
size: 'lg',
|
|
71
|
+
gutter: 'none',
|
|
72
|
+
class: 'max-w-none'
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
size: 'lg',
|
|
76
|
+
gutter: 'sm',
|
|
77
|
+
class: 'max-w-[calc(72rem_+_(clamp(0.75rem,3vw,1.5rem)*2))]'
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
size: 'lg',
|
|
81
|
+
gutter: 'lg',
|
|
82
|
+
class: 'max-w-[calc(72rem_+_(clamp(1.5rem,5vw,3rem)*2))]'
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
size: 'xl',
|
|
86
|
+
gutter: 'none',
|
|
87
|
+
class: 'max-w-none'
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
size: 'xl',
|
|
91
|
+
gutter: 'sm',
|
|
92
|
+
class: 'max-w-[calc(90rem_+_(clamp(0.75rem,3vw,1.5rem)*2))]'
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
size: 'xl',
|
|
96
|
+
gutter: 'lg',
|
|
97
|
+
class: 'max-w-[calc(90rem_+_(clamp(1.5rem,5vw,3rem)*2))]'
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
defaultVariants: {
|
|
101
|
+
size: 'lg',
|
|
102
|
+
gutter: 'md'
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
function ContainerRoot(props) {
|
|
106
|
+
const [local, others] = splitProps(props, [
|
|
107
|
+
'asChild',
|
|
108
|
+
'class',
|
|
109
|
+
'gutter',
|
|
110
|
+
'size',
|
|
111
|
+
'data-scope',
|
|
112
|
+
'data-part',
|
|
113
|
+
'data-slot',
|
|
114
|
+
'data-size',
|
|
115
|
+
'data-gutter'
|
|
116
|
+
]);
|
|
117
|
+
const size = local.size ?? 'lg';
|
|
118
|
+
const gutter = local.gutter ?? 'md';
|
|
119
|
+
return createComponent(ark.div, mergeProps({
|
|
120
|
+
get asChild () {
|
|
121
|
+
return local.asChild;
|
|
122
|
+
}
|
|
123
|
+
}, others, {
|
|
124
|
+
"data-scope": "container",
|
|
125
|
+
"data-part": "root",
|
|
126
|
+
"data-slot": "container-root",
|
|
127
|
+
"data-size": size,
|
|
128
|
+
"data-gutter": gutter,
|
|
129
|
+
get ["class"] () {
|
|
130
|
+
return cn(containerVariants({
|
|
131
|
+
size,
|
|
132
|
+
gutter
|
|
133
|
+
}), local.class);
|
|
134
|
+
}
|
|
135
|
+
}));
|
|
136
|
+
}
|
|
137
|
+
const Container = Object.assign(ContainerRoot, {
|
|
138
|
+
Root: ContainerRoot
|
|
139
|
+
});
|
|
140
|
+
export { Container };
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { ark } from "@ark-ui/solid/factory";
|
|
2
|
+
import { cva } from "class-variance-authority";
|
|
3
|
+
import { splitProps } from "solid-js";
|
|
4
|
+
import { cn } from "../../internal/cn.jsx";
|
|
5
|
+
const containerVariants = cva('w-full min-w-0 mx-auto', {
|
|
6
|
+
variants: {
|
|
7
|
+
size: {
|
|
8
|
+
xs: 'max-w-[calc(40rem_+_(clamp(1rem,4vw,2rem)*2))]',
|
|
9
|
+
sm: 'max-w-[calc(48rem_+_(clamp(1rem,4vw,2rem)*2))]',
|
|
10
|
+
md: 'max-w-[calc(64rem_+_(clamp(1rem,4vw,2rem)*2))]',
|
|
11
|
+
lg: 'max-w-[calc(72rem_+_(clamp(1rem,4vw,2rem)*2))]',
|
|
12
|
+
xl: 'max-w-[calc(90rem_+_(clamp(1rem,4vw,2rem)*2))]',
|
|
13
|
+
full: 'max-w-none'
|
|
14
|
+
},
|
|
15
|
+
gutter: {
|
|
16
|
+
none: 'px-0',
|
|
17
|
+
sm: 'px-[clamp(0.75rem,3vw,1.5rem)]',
|
|
18
|
+
md: 'px-[clamp(1rem,4vw,2rem)]',
|
|
19
|
+
lg: 'px-[clamp(1.5rem,5vw,3rem)]'
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
compoundVariants: [
|
|
23
|
+
{
|
|
24
|
+
size: 'xs',
|
|
25
|
+
gutter: 'none',
|
|
26
|
+
class: 'max-w-none'
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
size: 'xs',
|
|
30
|
+
gutter: 'sm',
|
|
31
|
+
class: 'max-w-[calc(40rem_+_(clamp(0.75rem,3vw,1.5rem)*2))]'
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
size: 'xs',
|
|
35
|
+
gutter: 'lg',
|
|
36
|
+
class: 'max-w-[calc(40rem_+_(clamp(1.5rem,5vw,3rem)*2))]'
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
size: 'sm',
|
|
40
|
+
gutter: 'none',
|
|
41
|
+
class: 'max-w-none'
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
size: 'sm',
|
|
45
|
+
gutter: 'sm',
|
|
46
|
+
class: 'max-w-[calc(48rem_+_(clamp(0.75rem,3vw,1.5rem)*2))]'
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
size: 'sm',
|
|
50
|
+
gutter: 'lg',
|
|
51
|
+
class: 'max-w-[calc(48rem_+_(clamp(1.5rem,5vw,3rem)*2))]'
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
size: 'md',
|
|
55
|
+
gutter: 'none',
|
|
56
|
+
class: 'max-w-none'
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
size: 'md',
|
|
60
|
+
gutter: 'sm',
|
|
61
|
+
class: 'max-w-[calc(64rem_+_(clamp(0.75rem,3vw,1.5rem)*2))]'
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
size: 'md',
|
|
65
|
+
gutter: 'lg',
|
|
66
|
+
class: 'max-w-[calc(64rem_+_(clamp(1.5rem,5vw,3rem)*2))]'
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
size: 'lg',
|
|
70
|
+
gutter: 'none',
|
|
71
|
+
class: 'max-w-none'
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
size: 'lg',
|
|
75
|
+
gutter: 'sm',
|
|
76
|
+
class: 'max-w-[calc(72rem_+_(clamp(0.75rem,3vw,1.5rem)*2))]'
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
size: 'lg',
|
|
80
|
+
gutter: 'lg',
|
|
81
|
+
class: 'max-w-[calc(72rem_+_(clamp(1.5rem,5vw,3rem)*2))]'
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
size: 'xl',
|
|
85
|
+
gutter: 'none',
|
|
86
|
+
class: 'max-w-none'
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
size: 'xl',
|
|
90
|
+
gutter: 'sm',
|
|
91
|
+
class: 'max-w-[calc(90rem_+_(clamp(0.75rem,3vw,1.5rem)*2))]'
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
size: 'xl',
|
|
95
|
+
gutter: 'lg',
|
|
96
|
+
class: 'max-w-[calc(90rem_+_(clamp(1.5rem,5vw,3rem)*2))]'
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
defaultVariants: {
|
|
100
|
+
size: 'lg',
|
|
101
|
+
gutter: 'md'
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
function ContainerRoot(props) {
|
|
105
|
+
const [local, others] = splitProps(props, [
|
|
106
|
+
'asChild',
|
|
107
|
+
'class',
|
|
108
|
+
'gutter',
|
|
109
|
+
'size',
|
|
110
|
+
'data-scope',
|
|
111
|
+
'data-part',
|
|
112
|
+
'data-slot',
|
|
113
|
+
'data-size',
|
|
114
|
+
'data-gutter'
|
|
115
|
+
]);
|
|
116
|
+
const size = local.size ?? 'lg';
|
|
117
|
+
const gutter = local.gutter ?? 'md';
|
|
118
|
+
return <ark.div asChild={local.asChild} {...others} data-scope="container" data-part="root" data-slot="container-root" data-size={size} data-gutter={gutter} class={cn(containerVariants({
|
|
119
|
+
size,
|
|
120
|
+
gutter
|
|
121
|
+
}), local.class)}/>;
|
|
122
|
+
}
|
|
123
|
+
const Container = Object.assign(ContainerRoot, {
|
|
124
|
+
Root: ContainerRoot
|
|
125
|
+
});
|
|
126
|
+
export { Container };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Container.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Container.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Container.jsx";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DateInput as DateInputPrimitive, type DateInputDateValue, useDateInput, useDateInputContext } from '@ark-ui/solid/date-input';
|
|
2
|
+
import type { ComponentProps } from 'solid-js';
|
|
3
|
+
declare function DateInputRoot(props: ComponentProps<typeof DateInputPrimitive.Root>): import("solid-js").JSX.Element;
|
|
4
|
+
declare function DateInputRootProvider(props: ComponentProps<typeof DateInputPrimitive.RootProvider>): import("solid-js").JSX.Element;
|
|
5
|
+
declare function DateInputLabel(props: ComponentProps<typeof DateInputPrimitive.Label>): import("solid-js").JSX.Element;
|
|
6
|
+
declare function DateInputControl(props: ComponentProps<typeof DateInputPrimitive.Control>): import("solid-js").JSX.Element;
|
|
7
|
+
declare function DateInputSegmentGroup(props: ComponentProps<typeof DateInputPrimitive.SegmentGroup>): import("solid-js").JSX.Element;
|
|
8
|
+
declare function DateInputSegment(props: ComponentProps<typeof DateInputPrimitive.Segment>): import("solid-js").JSX.Element;
|
|
9
|
+
type DateInputSegmentsProps = Omit<ComponentProps<typeof DateInputPrimitive.SegmentGroup>, 'asChild' | 'children'>;
|
|
10
|
+
declare function DateInputSegments(props: DateInputSegmentsProps): import("solid-js").JSX.Element;
|
|
11
|
+
declare function DateInputSeparator(props: ComponentProps<'span'>): import("solid-js").JSX.Element;
|
|
12
|
+
declare const DateInput: typeof DateInputRoot & {
|
|
13
|
+
Root: typeof DateInputRoot;
|
|
14
|
+
RootProvider: typeof DateInputRootProvider;
|
|
15
|
+
HiddenInput: (props: DateInputPrimitive.HiddenInputProps) => import("solid-js").JSX.Element;
|
|
16
|
+
Label: typeof DateInputLabel;
|
|
17
|
+
Control: typeof DateInputControl;
|
|
18
|
+
SegmentGroup: typeof DateInputSegmentGroup;
|
|
19
|
+
Segment: typeof DateInputSegment;
|
|
20
|
+
Segments: typeof DateInputSegments;
|
|
21
|
+
Separator: typeof DateInputSeparator;
|
|
22
|
+
Context: (props: DateInputPrimitive.ContextProps) => import("solid-js").JSX.Element;
|
|
23
|
+
SegmentContext: (props: DateInputPrimitive.SegmentContextProps) => import("solid-js").JSX.Element;
|
|
24
|
+
};
|
|
25
|
+
export { DateInput, type DateInputDateValue, useDateInput, useDateInputContext };
|