@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,71 @@
|
|
|
1
|
+
import { Progress, useProgress, useProgressContext } from "@ark-ui/solid/progress";
|
|
2
|
+
import { splitProps } from "solid-js";
|
|
3
|
+
import { cn } from "../../internal/cn.jsx";
|
|
4
|
+
function ProgressLinearRoot(props) {
|
|
5
|
+
const [local, others] = splitProps(props, [
|
|
6
|
+
'asChild',
|
|
7
|
+
'children',
|
|
8
|
+
'class'
|
|
9
|
+
]);
|
|
10
|
+
return <Progress.Root asChild={local.asChild} data-slot="progress-linear-root" class={cn('box-border grid w-48 max-w-full min-w-0 grid-cols-[minmax(0,1fr)_auto] gap-2 text-foreground data-[orientation=vertical]:h-48 data-[orientation=vertical]:w-max data-[orientation=vertical]:grid-rows-[auto_minmax(0,1fr)]', local.class)} {...others}>
|
|
11
|
+
{local.children}
|
|
12
|
+
</Progress.Root>;
|
|
13
|
+
}
|
|
14
|
+
function ProgressLinearRootProvider(props) {
|
|
15
|
+
const [local, others] = splitProps(props, [
|
|
16
|
+
'asChild',
|
|
17
|
+
'children',
|
|
18
|
+
'class'
|
|
19
|
+
]);
|
|
20
|
+
return <Progress.RootProvider asChild={local.asChild} data-slot="progress-linear-root-provider" class={cn('box-border grid w-48 max-w-full min-w-0 grid-cols-[minmax(0,1fr)_auto] gap-2 text-foreground data-[orientation=vertical]:h-48 data-[orientation=vertical]:w-max data-[orientation=vertical]:grid-rows-[auto_minmax(0,1fr)]', local.class)} {...others}>
|
|
21
|
+
{local.children}
|
|
22
|
+
</Progress.RootProvider>;
|
|
23
|
+
}
|
|
24
|
+
function ProgressLinearLabel(props) {
|
|
25
|
+
const [local, others] = splitProps(props, [
|
|
26
|
+
'asChild',
|
|
27
|
+
'class'
|
|
28
|
+
]);
|
|
29
|
+
return <Progress.Label asChild={local.asChild} data-slot="progress-linear-label" class={cn('min-w-0 text-sm leading-5 font-normal [overflow-wrap:anywhere] text-current', local.class)} {...others}/>;
|
|
30
|
+
}
|
|
31
|
+
function ProgressLinearValueText(props) {
|
|
32
|
+
const [local, others] = splitProps(props, [
|
|
33
|
+
'asChild',
|
|
34
|
+
'class'
|
|
35
|
+
]);
|
|
36
|
+
return <Progress.ValueText asChild={local.asChild} data-slot="progress-linear-value-text" class={cn('min-w-0 justify-self-end text-end text-sm leading-5 font-normal [overflow-wrap:anywhere] text-current', local.class)} {...others}/>;
|
|
37
|
+
}
|
|
38
|
+
function ProgressLinearTrack(props) {
|
|
39
|
+
const [local, others] = splitProps(props, [
|
|
40
|
+
'asChild',
|
|
41
|
+
'class'
|
|
42
|
+
]);
|
|
43
|
+
return <Progress.Track asChild={local.asChild} data-slot="progress-linear-track" class={cn('col-span-full box-border block h-2 w-full overflow-hidden rounded-full bg-muted ring-1 ring-border ring-inset data-[orientation=vertical]:flex data-[orientation=vertical]:h-full data-[orientation=vertical]:w-2 data-[orientation=vertical]:items-end data-[orientation=vertical]:justify-self-center', local.class)} {...others}/>;
|
|
44
|
+
}
|
|
45
|
+
function ProgressLinearRange(props) {
|
|
46
|
+
const [local, others] = splitProps(props, [
|
|
47
|
+
'asChild',
|
|
48
|
+
'class'
|
|
49
|
+
]);
|
|
50
|
+
return <Progress.Range asChild={local.asChild} data-slot="progress-linear-range" class={cn('block h-full rounded-[inherit] bg-primary transition-[width,height] duration-200 ease-in-out data-[orientation=vertical]:w-full data-[state=indeterminate]:w-[35%] data-[state=indeterminate]:animate-moduix-progress-linear-indeterminate data-[state=indeterminate]:data-[orientation=vertical]:h-[35%] data-[state=indeterminate]:data-[orientation=vertical]:animate-moduix-progress-linear-indeterminate-vertical motion-reduce:data-[state=indeterminate]:translate-x-0 motion-reduce:data-[state=indeterminate]:translate-y-0 motion-reduce:data-[state=indeterminate]:animate-none rtl:data-[state=indeterminate]:data-[orientation=horizontal]:[animation-direction:reverse]', local.class)} {...others}/>;
|
|
51
|
+
}
|
|
52
|
+
function ProgressLinearView(props) {
|
|
53
|
+
const [local, others] = splitProps(props, [
|
|
54
|
+
'asChild',
|
|
55
|
+
'class'
|
|
56
|
+
]);
|
|
57
|
+
return <Progress.View asChild={local.asChild} data-slot="progress-linear-view" class={cn('contents', local.class)} {...others}/>;
|
|
58
|
+
}
|
|
59
|
+
const ProgressLinear = Object.assign(ProgressLinearRoot, {
|
|
60
|
+
Root: ProgressLinearRoot,
|
|
61
|
+
RootProvider: ProgressLinearRootProvider,
|
|
62
|
+
Context: Progress.Context,
|
|
63
|
+
Label: ProgressLinearLabel,
|
|
64
|
+
ValueText: ProgressLinearValueText,
|
|
65
|
+
Track: ProgressLinearTrack,
|
|
66
|
+
Range: ProgressLinearRange,
|
|
67
|
+
View: ProgressLinearView,
|
|
68
|
+
useProgress: useProgress,
|
|
69
|
+
useProgressContext: useProgressContext
|
|
70
|
+
});
|
|
71
|
+
export { ProgressLinear };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ProgressLinear } from './ProgressLinear.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ProgressLinear } from "./ProgressLinear.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ProgressLinear } from "./ProgressLinear.jsx";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { QrCode as QrCodePrimitive, useQrCode, useQrCodeContext } from '@ark-ui/solid/qr-code';
|
|
2
|
+
import type { ComponentProps } from 'solid-js';
|
|
3
|
+
declare function QrCodeRoot(props: ComponentProps<typeof QrCodePrimitive.Root>): import("solid-js").JSX.Element;
|
|
4
|
+
declare function QrCodeRootProvider(props: ComponentProps<typeof QrCodePrimitive.RootProvider>): import("solid-js").JSX.Element;
|
|
5
|
+
declare function QrCodeFrame(props: ComponentProps<typeof QrCodePrimitive.Frame>): import("solid-js").JSX.Element;
|
|
6
|
+
declare function QrCodePattern(props: ComponentProps<typeof QrCodePrimitive.Pattern>): import("solid-js").JSX.Element;
|
|
7
|
+
declare function QrCodeOverlay(props: ComponentProps<typeof QrCodePrimitive.Overlay>): import("solid-js").JSX.Element;
|
|
8
|
+
declare function QrCodeDownloadTrigger(props: ComponentProps<typeof QrCodePrimitive.DownloadTrigger>): import("solid-js").JSX.Element;
|
|
9
|
+
type QrCodeComponent = typeof QrCodeRoot & {
|
|
10
|
+
Root: typeof QrCodeRoot;
|
|
11
|
+
RootProvider: typeof QrCodeRootProvider;
|
|
12
|
+
Context: typeof QrCodePrimitive.Context;
|
|
13
|
+
Frame: typeof QrCodeFrame;
|
|
14
|
+
Pattern: typeof QrCodePattern;
|
|
15
|
+
Overlay: typeof QrCodeOverlay;
|
|
16
|
+
DownloadTrigger: typeof QrCodeDownloadTrigger;
|
|
17
|
+
};
|
|
18
|
+
declare const QrCode: QrCodeComponent;
|
|
19
|
+
export { QrCode, useQrCode, useQrCodeContext };
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { createComponent, mergeProps } from "solid-js/web";
|
|
2
|
+
import { QrCode, useQrCode, useQrCodeContext } from "@ark-ui/solid/qr-code";
|
|
3
|
+
import { splitProps } from "solid-js";
|
|
4
|
+
import { cn } from "../../internal/cn.js";
|
|
5
|
+
function QrCodeRoot(props) {
|
|
6
|
+
const [local, others] = splitProps(props, [
|
|
7
|
+
'asChild',
|
|
8
|
+
'children',
|
|
9
|
+
'class'
|
|
10
|
+
]);
|
|
11
|
+
return createComponent(QrCode.Root, mergeProps({
|
|
12
|
+
get asChild () {
|
|
13
|
+
return local.asChild;
|
|
14
|
+
},
|
|
15
|
+
"data-slot": "qr-code-root",
|
|
16
|
+
get ["class"] () {
|
|
17
|
+
return cn('relative box-border inline-flex w-32 max-w-full flex-col items-center gap-3 text-foreground', local.class);
|
|
18
|
+
}
|
|
19
|
+
}, others, {
|
|
20
|
+
get children () {
|
|
21
|
+
return local.children;
|
|
22
|
+
}
|
|
23
|
+
}));
|
|
24
|
+
}
|
|
25
|
+
function QrCodeRootProvider(props) {
|
|
26
|
+
const [local, others] = splitProps(props, [
|
|
27
|
+
'asChild',
|
|
28
|
+
'children',
|
|
29
|
+
'class'
|
|
30
|
+
]);
|
|
31
|
+
return createComponent(QrCode.RootProvider, mergeProps({
|
|
32
|
+
get asChild () {
|
|
33
|
+
return local.asChild;
|
|
34
|
+
},
|
|
35
|
+
"data-slot": "qr-code-root-provider",
|
|
36
|
+
get ["class"] () {
|
|
37
|
+
return cn('relative box-border inline-flex w-32 max-w-full flex-col items-center gap-3 text-foreground', local.class);
|
|
38
|
+
}
|
|
39
|
+
}, others, {
|
|
40
|
+
get children () {
|
|
41
|
+
return local.children;
|
|
42
|
+
}
|
|
43
|
+
}));
|
|
44
|
+
}
|
|
45
|
+
function QrCodeFrame(props) {
|
|
46
|
+
const [local, others] = splitProps(props, [
|
|
47
|
+
'asChild',
|
|
48
|
+
'children',
|
|
49
|
+
'class'
|
|
50
|
+
]);
|
|
51
|
+
return createComponent(QrCode.Frame, mergeProps({
|
|
52
|
+
get asChild () {
|
|
53
|
+
return local.asChild;
|
|
54
|
+
},
|
|
55
|
+
"data-slot": "qr-code-frame",
|
|
56
|
+
get ["class"] () {
|
|
57
|
+
return cn('box-border aspect-square h-auto w-full fill-current text-inherit', local.class);
|
|
58
|
+
}
|
|
59
|
+
}, others, {
|
|
60
|
+
get children () {
|
|
61
|
+
return local.children;
|
|
62
|
+
}
|
|
63
|
+
}));
|
|
64
|
+
}
|
|
65
|
+
function QrCodePattern(props) {
|
|
66
|
+
const [local, others] = splitProps(props, [
|
|
67
|
+
'asChild',
|
|
68
|
+
'class'
|
|
69
|
+
]);
|
|
70
|
+
return createComponent(QrCode.Pattern, mergeProps({
|
|
71
|
+
get asChild () {
|
|
72
|
+
return local.asChild;
|
|
73
|
+
},
|
|
74
|
+
"data-slot": "qr-code-pattern",
|
|
75
|
+
get ["class"] () {
|
|
76
|
+
return cn('fill-inherit', local.class);
|
|
77
|
+
}
|
|
78
|
+
}, others));
|
|
79
|
+
}
|
|
80
|
+
function QrCodeOverlay(props) {
|
|
81
|
+
const [local, others] = splitProps(props, [
|
|
82
|
+
'asChild',
|
|
83
|
+
'children',
|
|
84
|
+
'class'
|
|
85
|
+
]);
|
|
86
|
+
return createComponent(QrCode.Overlay, mergeProps({
|
|
87
|
+
get asChild () {
|
|
88
|
+
return local.asChild;
|
|
89
|
+
},
|
|
90
|
+
"data-slot": "qr-code-overlay",
|
|
91
|
+
get ["class"] () {
|
|
92
|
+
return cn('box-border inline-flex size-control-lg items-center justify-center rounded-sm bg-background p-1 text-foreground [&_img]:size-full [&_img]:object-contain [&_svg]:size-full [&_svg]:object-contain', local.class);
|
|
93
|
+
}
|
|
94
|
+
}, others, {
|
|
95
|
+
get children () {
|
|
96
|
+
return local.children;
|
|
97
|
+
}
|
|
98
|
+
}));
|
|
99
|
+
}
|
|
100
|
+
function QrCodeDownloadTrigger(props) {
|
|
101
|
+
const [local, others] = splitProps(props, [
|
|
102
|
+
'asChild',
|
|
103
|
+
'children',
|
|
104
|
+
'class'
|
|
105
|
+
]);
|
|
106
|
+
return createComponent(QrCode.DownloadTrigger, mergeProps({
|
|
107
|
+
get asChild () {
|
|
108
|
+
return local.asChild;
|
|
109
|
+
},
|
|
110
|
+
"data-slot": "qr-code-download-trigger",
|
|
111
|
+
get ["class"] () {
|
|
112
|
+
return cn('box-border inline-flex min-h-control-md cursor-pointer appearance-none items-center justify-center gap-2 rounded-md border border-border bg-background px-4 text-sm leading-5 font-medium whitespace-nowrap text-foreground transition-[border-color,background-color,color,opacity,box-shadow,transform] duration-200 ease-in-out select-none focus-visible:outline-2 focus-visible:-outline-offset-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 data-disabled:pointer-events-none data-disabled:opacity-50 motion-reduce:transition-none [&_svg]:size-4 [&_svg]:shrink-0 [&:active:not(:disabled):not([data-disabled])]:opacity-[0.94] motion-safe:[&:active:not(:disabled):not([data-disabled])]:translate-y-px motion-safe:[&:active:not(:disabled):not([data-disabled])]:scale-[0.985] [@media(hover:hover)]:[&:not(:disabled):not([data-disabled]):hover]:bg-accent', local.class);
|
|
113
|
+
}
|
|
114
|
+
}, others, {
|
|
115
|
+
get children () {
|
|
116
|
+
return local.children;
|
|
117
|
+
}
|
|
118
|
+
}));
|
|
119
|
+
}
|
|
120
|
+
const QrCode_QrCode = Object.assign(QrCodeRoot, {
|
|
121
|
+
Root: QrCodeRoot,
|
|
122
|
+
RootProvider: QrCodeRootProvider,
|
|
123
|
+
Context: QrCode.Context,
|
|
124
|
+
Frame: QrCodeFrame,
|
|
125
|
+
Pattern: QrCodePattern,
|
|
126
|
+
Overlay: QrCodeOverlay,
|
|
127
|
+
DownloadTrigger: QrCodeDownloadTrigger
|
|
128
|
+
});
|
|
129
|
+
export { QrCode_QrCode as QrCode, useQrCode, useQrCodeContext };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { QrCode, useQrCode, useQrCodeContext } from "@ark-ui/solid/qr-code";
|
|
2
|
+
import { splitProps } from "solid-js";
|
|
3
|
+
import { cn } from "../../internal/cn.jsx";
|
|
4
|
+
function QrCodeRoot(props) {
|
|
5
|
+
const [local, others] = splitProps(props, [
|
|
6
|
+
'asChild',
|
|
7
|
+
'children',
|
|
8
|
+
'class'
|
|
9
|
+
]);
|
|
10
|
+
return <QrCode.Root asChild={local.asChild} data-slot="qr-code-root" class={cn('relative box-border inline-flex w-32 max-w-full flex-col items-center gap-3 text-foreground', local.class)} {...others}>
|
|
11
|
+
{local.children}
|
|
12
|
+
</QrCode.Root>;
|
|
13
|
+
}
|
|
14
|
+
function QrCodeRootProvider(props) {
|
|
15
|
+
const [local, others] = splitProps(props, [
|
|
16
|
+
'asChild',
|
|
17
|
+
'children',
|
|
18
|
+
'class'
|
|
19
|
+
]);
|
|
20
|
+
return <QrCode.RootProvider asChild={local.asChild} data-slot="qr-code-root-provider" class={cn('relative box-border inline-flex w-32 max-w-full flex-col items-center gap-3 text-foreground', local.class)} {...others}>
|
|
21
|
+
{local.children}
|
|
22
|
+
</QrCode.RootProvider>;
|
|
23
|
+
}
|
|
24
|
+
function QrCodeFrame(props) {
|
|
25
|
+
const [local, others] = splitProps(props, [
|
|
26
|
+
'asChild',
|
|
27
|
+
'children',
|
|
28
|
+
'class'
|
|
29
|
+
]);
|
|
30
|
+
return <QrCode.Frame asChild={local.asChild} data-slot="qr-code-frame" class={cn('box-border aspect-square h-auto w-full fill-current text-inherit', local.class)} {...others}>
|
|
31
|
+
{local.children}
|
|
32
|
+
</QrCode.Frame>;
|
|
33
|
+
}
|
|
34
|
+
function QrCodePattern(props) {
|
|
35
|
+
const [local, others] = splitProps(props, [
|
|
36
|
+
'asChild',
|
|
37
|
+
'class'
|
|
38
|
+
]);
|
|
39
|
+
return <QrCode.Pattern asChild={local.asChild} data-slot="qr-code-pattern" class={cn('fill-inherit', local.class)} {...others}/>;
|
|
40
|
+
}
|
|
41
|
+
function QrCodeOverlay(props) {
|
|
42
|
+
const [local, others] = splitProps(props, [
|
|
43
|
+
'asChild',
|
|
44
|
+
'children',
|
|
45
|
+
'class'
|
|
46
|
+
]);
|
|
47
|
+
return <QrCode.Overlay asChild={local.asChild} data-slot="qr-code-overlay" class={cn('box-border inline-flex size-control-lg items-center justify-center rounded-sm bg-background p-1 text-foreground [&_img]:size-full [&_img]:object-contain [&_svg]:size-full [&_svg]:object-contain', local.class)} {...others}>
|
|
48
|
+
{local.children}
|
|
49
|
+
</QrCode.Overlay>;
|
|
50
|
+
}
|
|
51
|
+
function QrCodeDownloadTrigger(props) {
|
|
52
|
+
const [local, others] = splitProps(props, [
|
|
53
|
+
'asChild',
|
|
54
|
+
'children',
|
|
55
|
+
'class'
|
|
56
|
+
]);
|
|
57
|
+
return <QrCode.DownloadTrigger asChild={local.asChild} data-slot="qr-code-download-trigger" class={cn('box-border inline-flex min-h-control-md cursor-pointer appearance-none items-center justify-center gap-2 rounded-md border border-border bg-background px-4 text-sm leading-5 font-medium whitespace-nowrap text-foreground transition-[border-color,background-color,color,opacity,box-shadow,transform] duration-200 ease-in-out select-none focus-visible:outline-2 focus-visible:-outline-offset-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 data-disabled:pointer-events-none data-disabled:opacity-50 motion-reduce:transition-none [&_svg]:size-4 [&_svg]:shrink-0 [&:active:not(:disabled):not([data-disabled])]:opacity-[0.94] motion-safe:[&:active:not(:disabled):not([data-disabled])]:translate-y-px motion-safe:[&:active:not(:disabled):not([data-disabled])]:scale-[0.985] [@media(hover:hover)]:[&:not(:disabled):not([data-disabled]):hover]:bg-accent', local.class)} {...others}>
|
|
58
|
+
{local.children}
|
|
59
|
+
</QrCode.DownloadTrigger>;
|
|
60
|
+
}
|
|
61
|
+
const QrCode_QrCode = Object.assign(QrCodeRoot, {
|
|
62
|
+
Root: QrCodeRoot,
|
|
63
|
+
RootProvider: QrCodeRootProvider,
|
|
64
|
+
Context: QrCode.Context,
|
|
65
|
+
Frame: QrCodeFrame,
|
|
66
|
+
Pattern: QrCodePattern,
|
|
67
|
+
Overlay: QrCodeOverlay,
|
|
68
|
+
DownloadTrigger: QrCodeDownloadTrigger
|
|
69
|
+
});
|
|
70
|
+
export { QrCode_QrCode as QrCode, useQrCode, useQrCodeContext };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { QrCode, useQrCode, useQrCodeContext } from './QrCode.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { QrCode, useQrCode, useQrCodeContext } from "./QrCode.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { QrCode, useQrCode, useQrCodeContext } from "./QrCode.jsx";
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { RadioGroup as RadioGroupPrimitive, useRadioGroup, useRadioGroupContext, useRadioGroupItemContext } from '@ark-ui/solid/radio-group';
|
|
2
|
+
import type { ComponentProps, JSX } from 'solid-js';
|
|
3
|
+
type RadioGroupItemControlSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
+
type RadioGroupItemControlProps = ComponentProps<typeof RadioGroupPrimitive.ItemControl> & {
|
|
5
|
+
size?: RadioGroupItemControlSize;
|
|
6
|
+
};
|
|
7
|
+
type RadioGroupOptionProps = Omit<ComponentProps<typeof RadioGroupPrimitive.Item>, 'asChild' | 'children'> & {
|
|
8
|
+
children: JSX.Element;
|
|
9
|
+
size?: RadioGroupItemControlSize;
|
|
10
|
+
};
|
|
11
|
+
declare function RadioGroupRoot(props: ComponentProps<typeof RadioGroupPrimitive.Root>): JSX.Element;
|
|
12
|
+
declare function RadioGroupRootProvider(props: ComponentProps<typeof RadioGroupPrimitive.RootProvider>): JSX.Element;
|
|
13
|
+
declare function RadioGroupLabel(props: ComponentProps<typeof RadioGroupPrimitive.Label>): JSX.Element;
|
|
14
|
+
declare function RadioGroupItem(props: ComponentProps<typeof RadioGroupPrimitive.Item>): JSX.Element;
|
|
15
|
+
declare function RadioGroupOption(props: RadioGroupOptionProps): JSX.Element;
|
|
16
|
+
declare function RadioGroupItemControl(props: RadioGroupItemControlProps): JSX.Element;
|
|
17
|
+
declare function RadioGroupItemText(props: ComponentProps<typeof RadioGroupPrimitive.ItemText>): JSX.Element;
|
|
18
|
+
declare function RadioGroupIndicator(props: ComponentProps<typeof RadioGroupPrimitive.Indicator>): JSX.Element;
|
|
19
|
+
declare const RadioGroup: typeof RadioGroupRoot & {
|
|
20
|
+
Root: typeof RadioGroupRoot;
|
|
21
|
+
RootProvider: typeof RadioGroupRootProvider;
|
|
22
|
+
Context: (props: import("@ark-ui/solid").RadioGroupContextProps) => JSX.Element;
|
|
23
|
+
ItemContext: (props: import("@ark-ui/solid").RadioGroupItemContextProps) => JSX.Element;
|
|
24
|
+
Label: typeof RadioGroupLabel;
|
|
25
|
+
Item: typeof RadioGroupItem;
|
|
26
|
+
ItemHiddenInput: (props: RadioGroupPrimitive.ItemHiddenInputProps) => JSX.Element;
|
|
27
|
+
Option: typeof RadioGroupOption;
|
|
28
|
+
ItemControl: typeof RadioGroupItemControl;
|
|
29
|
+
ItemText: typeof RadioGroupItemText;
|
|
30
|
+
Indicator: typeof RadioGroupIndicator;
|
|
31
|
+
};
|
|
32
|
+
export { RadioGroup, useRadioGroup, useRadioGroupContext, useRadioGroupItemContext };
|
|
33
|
+
export type { RadioGroupItemControlProps, RadioGroupItemControlSize, RadioGroupOptionProps };
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { createComponent, mergeProps } from "solid-js/web";
|
|
2
|
+
import { RadioGroup, useRadioGroup, useRadioGroupContext, useRadioGroupItemContext } from "@ark-ui/solid/radio-group";
|
|
3
|
+
import { cva } from "class-variance-authority";
|
|
4
|
+
import { splitProps } from "solid-js";
|
|
5
|
+
import { cn } from "../../internal/cn.js";
|
|
6
|
+
const radioGroupItemControlVariants = cva("relative inline-flex shrink-0 items-center justify-center rounded-full border border-border bg-background text-primary-foreground outline-0 transition-[background-color,border-color,border-width,color,opacity] duration-200 ease-in-out select-none before:block before:rounded-full before:bg-current before:content-[''] before:scale-[0.6] before:opacity-0 before:transition-[opacity,transform] before:duration-200 before:ease-in-out data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:before:scale-100 data-[state=checked]:before:opacity-100 data-invalid:border-destructive data-focus-visible:outline-1 data-focus-visible:outline-offset-1 data-focus-visible:outline-ring data-invalid:data-focus-visible:outline-destructive data-readonly:cursor-default data-disabled:cursor-default [@media(hover:hover)]:[&[data-state=unchecked]:not([data-readonly]):not([data-disabled]):hover]:bg-accent motion-reduce:transition-none motion-reduce:before:transition-none", {
|
|
7
|
+
variants: {
|
|
8
|
+
size: {
|
|
9
|
+
xs: 'size-3.5 before:size-1',
|
|
10
|
+
sm: 'size-4 before:size-1.5',
|
|
11
|
+
md: 'size-5 before:size-2',
|
|
12
|
+
lg: 'size-control-xs before:size-2.5',
|
|
13
|
+
xl: 'size-7 before:size-3'
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
defaultVariants: {
|
|
17
|
+
size: 'md'
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
function RadioGroupRoot(props) {
|
|
21
|
+
const [local, others] = splitProps(props, [
|
|
22
|
+
'asChild',
|
|
23
|
+
'class'
|
|
24
|
+
]);
|
|
25
|
+
return createComponent(RadioGroup.Root, mergeProps({
|
|
26
|
+
get asChild () {
|
|
27
|
+
return local.asChild;
|
|
28
|
+
}
|
|
29
|
+
}, others, {
|
|
30
|
+
"data-slot": "radio-group-root",
|
|
31
|
+
get ["class"] () {
|
|
32
|
+
return cn('relative flex flex-col gap-2 text-foreground data-disabled:cursor-default', local.class);
|
|
33
|
+
}
|
|
34
|
+
}));
|
|
35
|
+
}
|
|
36
|
+
function RadioGroupRootProvider(props) {
|
|
37
|
+
const [local, others] = splitProps(props, [
|
|
38
|
+
'asChild',
|
|
39
|
+
'class'
|
|
40
|
+
]);
|
|
41
|
+
return createComponent(RadioGroup.RootProvider, mergeProps({
|
|
42
|
+
get asChild () {
|
|
43
|
+
return local.asChild;
|
|
44
|
+
}
|
|
45
|
+
}, others, {
|
|
46
|
+
"data-slot": "radio-group-root-provider",
|
|
47
|
+
get ["class"] () {
|
|
48
|
+
return cn('relative flex flex-col gap-2 text-foreground data-disabled:cursor-default', local.class);
|
|
49
|
+
}
|
|
50
|
+
}));
|
|
51
|
+
}
|
|
52
|
+
function RadioGroupLabel(props) {
|
|
53
|
+
const [local, others] = splitProps(props, [
|
|
54
|
+
'class'
|
|
55
|
+
]);
|
|
56
|
+
return createComponent(RadioGroup.Label, mergeProps(others, {
|
|
57
|
+
"data-slot": "radio-group-label",
|
|
58
|
+
get ["class"] () {
|
|
59
|
+
return cn('text-sm leading-5 font-semibold text-inherit', local.class);
|
|
60
|
+
}
|
|
61
|
+
}));
|
|
62
|
+
}
|
|
63
|
+
function RadioGroupItem(props) {
|
|
64
|
+
const [local, others] = splitProps(props, [
|
|
65
|
+
'asChild',
|
|
66
|
+
'children',
|
|
67
|
+
'class'
|
|
68
|
+
]);
|
|
69
|
+
return createComponent(RadioGroup.Item, mergeProps({
|
|
70
|
+
get asChild () {
|
|
71
|
+
return local.asChild;
|
|
72
|
+
}
|
|
73
|
+
}, others, {
|
|
74
|
+
"data-slot": "radio-group-item",
|
|
75
|
+
get ["class"] () {
|
|
76
|
+
return cn('inline-flex w-fit cursor-pointer items-center gap-2 align-middle data-disabled:cursor-default data-disabled:opacity-50 data-readonly:cursor-default', local.class);
|
|
77
|
+
},
|
|
78
|
+
get children () {
|
|
79
|
+
return local.children;
|
|
80
|
+
}
|
|
81
|
+
}));
|
|
82
|
+
}
|
|
83
|
+
function RadioGroupOption(props) {
|
|
84
|
+
const [local, others] = splitProps(props, [
|
|
85
|
+
'children',
|
|
86
|
+
'size'
|
|
87
|
+
]);
|
|
88
|
+
return createComponent(RadioGroupItem, mergeProps(others, {
|
|
89
|
+
get children () {
|
|
90
|
+
return [
|
|
91
|
+
createComponent(RadioGroup.ItemHiddenInput, {}),
|
|
92
|
+
createComponent(RadioGroupItemControl, {
|
|
93
|
+
get size () {
|
|
94
|
+
return local.size;
|
|
95
|
+
}
|
|
96
|
+
}),
|
|
97
|
+
createComponent(RadioGroupItemText, {
|
|
98
|
+
get children () {
|
|
99
|
+
return local.children;
|
|
100
|
+
}
|
|
101
|
+
})
|
|
102
|
+
];
|
|
103
|
+
}
|
|
104
|
+
}));
|
|
105
|
+
}
|
|
106
|
+
function RadioGroupItemControl(props) {
|
|
107
|
+
const [local, others] = splitProps(props, [
|
|
108
|
+
'class',
|
|
109
|
+
'size'
|
|
110
|
+
]);
|
|
111
|
+
return createComponent(RadioGroup.ItemControl, mergeProps(others, {
|
|
112
|
+
"data-slot": "radio-group-item-control",
|
|
113
|
+
get ["data-size"] () {
|
|
114
|
+
return local.size ?? 'md';
|
|
115
|
+
},
|
|
116
|
+
get ["class"] () {
|
|
117
|
+
return cn(radioGroupItemControlVariants({
|
|
118
|
+
size: local.size ?? 'md'
|
|
119
|
+
}), local.class);
|
|
120
|
+
}
|
|
121
|
+
}));
|
|
122
|
+
}
|
|
123
|
+
function RadioGroupItemText(props) {
|
|
124
|
+
const [local, others] = splitProps(props, [
|
|
125
|
+
'class'
|
|
126
|
+
]);
|
|
127
|
+
return createComponent(RadioGroup.ItemText, mergeProps(others, {
|
|
128
|
+
"data-slot": "radio-group-item-text",
|
|
129
|
+
get ["class"] () {
|
|
130
|
+
return cn('text-sm leading-5 font-medium text-inherit', local.class);
|
|
131
|
+
}
|
|
132
|
+
}));
|
|
133
|
+
}
|
|
134
|
+
function RadioGroupIndicator(props) {
|
|
135
|
+
const [local, others] = splitProps(props, [
|
|
136
|
+
'class'
|
|
137
|
+
]);
|
|
138
|
+
return createComponent(RadioGroup.Indicator, mergeProps(others, {
|
|
139
|
+
"data-slot": "radio-group-indicator",
|
|
140
|
+
get ["class"] () {
|
|
141
|
+
return cn('pointer-events-none absolute top-[var(--top)] left-[var(--left)] h-[var(--height)] w-[var(--width)] rounded-full bg-primary opacity-[0.12] transition-[var(--transition-property,translate)] duration-200 ease-in-out motion-reduce:transition-none', local.class);
|
|
142
|
+
}
|
|
143
|
+
}));
|
|
144
|
+
}
|
|
145
|
+
const RadioGroup_RadioGroup = Object.assign(RadioGroupRoot, {
|
|
146
|
+
Root: RadioGroupRoot,
|
|
147
|
+
RootProvider: RadioGroupRootProvider,
|
|
148
|
+
Context: RadioGroup.Context,
|
|
149
|
+
ItemContext: RadioGroup.ItemContext,
|
|
150
|
+
Label: RadioGroupLabel,
|
|
151
|
+
Item: RadioGroupItem,
|
|
152
|
+
ItemHiddenInput: RadioGroup.ItemHiddenInput,
|
|
153
|
+
Option: RadioGroupOption,
|
|
154
|
+
ItemControl: RadioGroupItemControl,
|
|
155
|
+
ItemText: RadioGroupItemText,
|
|
156
|
+
Indicator: RadioGroupIndicator
|
|
157
|
+
});
|
|
158
|
+
export { RadioGroup_RadioGroup as RadioGroup, useRadioGroup, useRadioGroupContext, useRadioGroupItemContext };
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { RadioGroup, useRadioGroup, useRadioGroupContext, useRadioGroupItemContext } from "@ark-ui/solid/radio-group";
|
|
2
|
+
import { cva } from "class-variance-authority";
|
|
3
|
+
import { splitProps } from "solid-js";
|
|
4
|
+
import { cn } from "../../internal/cn.jsx";
|
|
5
|
+
const radioGroupItemControlVariants = cva("relative inline-flex shrink-0 items-center justify-center rounded-full border border-border bg-background text-primary-foreground outline-0 transition-[background-color,border-color,border-width,color,opacity] duration-200 ease-in-out select-none before:block before:rounded-full before:bg-current before:content-[''] before:scale-[0.6] before:opacity-0 before:transition-[opacity,transform] before:duration-200 before:ease-in-out data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:before:scale-100 data-[state=checked]:before:opacity-100 data-invalid:border-destructive data-focus-visible:outline-1 data-focus-visible:outline-offset-1 data-focus-visible:outline-ring data-invalid:data-focus-visible:outline-destructive data-readonly:cursor-default data-disabled:cursor-default [@media(hover:hover)]:[&[data-state=unchecked]:not([data-readonly]):not([data-disabled]):hover]:bg-accent motion-reduce:transition-none motion-reduce:before:transition-none", {
|
|
6
|
+
variants: {
|
|
7
|
+
size: {
|
|
8
|
+
xs: 'size-3.5 before:size-1',
|
|
9
|
+
sm: 'size-4 before:size-1.5',
|
|
10
|
+
md: 'size-5 before:size-2',
|
|
11
|
+
lg: 'size-control-xs before:size-2.5',
|
|
12
|
+
xl: 'size-7 before:size-3'
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
defaultVariants: {
|
|
16
|
+
size: 'md'
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
function RadioGroupRoot(props) {
|
|
20
|
+
const [local, others] = splitProps(props, [
|
|
21
|
+
'asChild',
|
|
22
|
+
'class'
|
|
23
|
+
]);
|
|
24
|
+
return <RadioGroup.Root asChild={local.asChild} {...others} data-slot="radio-group-root" class={cn('relative flex flex-col gap-2 text-foreground data-disabled:cursor-default', local.class)}/>;
|
|
25
|
+
}
|
|
26
|
+
function RadioGroupRootProvider(props) {
|
|
27
|
+
const [local, others] = splitProps(props, [
|
|
28
|
+
'asChild',
|
|
29
|
+
'class'
|
|
30
|
+
]);
|
|
31
|
+
return <RadioGroup.RootProvider asChild={local.asChild} {...others} data-slot="radio-group-root-provider" class={cn('relative flex flex-col gap-2 text-foreground data-disabled:cursor-default', local.class)}/>;
|
|
32
|
+
}
|
|
33
|
+
function RadioGroupLabel(props) {
|
|
34
|
+
const [local, others] = splitProps(props, [
|
|
35
|
+
'class'
|
|
36
|
+
]);
|
|
37
|
+
return <RadioGroup.Label {...others} data-slot="radio-group-label" class={cn('text-sm leading-5 font-semibold text-inherit', local.class)}/>;
|
|
38
|
+
}
|
|
39
|
+
function RadioGroupItem(props) {
|
|
40
|
+
const [local, others] = splitProps(props, [
|
|
41
|
+
'asChild',
|
|
42
|
+
'children',
|
|
43
|
+
'class'
|
|
44
|
+
]);
|
|
45
|
+
return <RadioGroup.Item asChild={local.asChild} {...others} data-slot="radio-group-item" class={cn('inline-flex w-fit cursor-pointer items-center gap-2 align-middle data-disabled:cursor-default data-disabled:opacity-50 data-readonly:cursor-default', local.class)}>
|
|
46
|
+
{local.children}
|
|
47
|
+
</RadioGroup.Item>;
|
|
48
|
+
}
|
|
49
|
+
function RadioGroupOption(props) {
|
|
50
|
+
const [local, others] = splitProps(props, [
|
|
51
|
+
'children',
|
|
52
|
+
'size'
|
|
53
|
+
]);
|
|
54
|
+
return <RadioGroupItem {...others}>
|
|
55
|
+
<RadioGroup.ItemHiddenInput/>
|
|
56
|
+
<RadioGroupItemControl size={local.size}/>
|
|
57
|
+
<RadioGroupItemText>{local.children}</RadioGroupItemText>
|
|
58
|
+
</RadioGroupItem>;
|
|
59
|
+
}
|
|
60
|
+
function RadioGroupItemControl(props) {
|
|
61
|
+
const [local, others] = splitProps(props, [
|
|
62
|
+
'class',
|
|
63
|
+
'size'
|
|
64
|
+
]);
|
|
65
|
+
return <RadioGroup.ItemControl {...others} data-slot="radio-group-item-control" data-size={local.size ?? 'md'} class={cn(radioGroupItemControlVariants({
|
|
66
|
+
size: local.size ?? 'md'
|
|
67
|
+
}), local.class)}/>;
|
|
68
|
+
}
|
|
69
|
+
function RadioGroupItemText(props) {
|
|
70
|
+
const [local, others] = splitProps(props, [
|
|
71
|
+
'class'
|
|
72
|
+
]);
|
|
73
|
+
return <RadioGroup.ItemText {...others} data-slot="radio-group-item-text" class={cn('text-sm leading-5 font-medium text-inherit', local.class)}/>;
|
|
74
|
+
}
|
|
75
|
+
function RadioGroupIndicator(props) {
|
|
76
|
+
const [local, others] = splitProps(props, [
|
|
77
|
+
'class'
|
|
78
|
+
]);
|
|
79
|
+
return <RadioGroup.Indicator {...others} data-slot="radio-group-indicator" class={cn('pointer-events-none absolute top-[var(--top)] left-[var(--left)] h-[var(--height)] w-[var(--width)] rounded-full bg-primary opacity-[0.12] transition-[var(--transition-property,translate)] duration-200 ease-in-out motion-reduce:transition-none', local.class)}/>;
|
|
80
|
+
}
|
|
81
|
+
const RadioGroup_RadioGroup = Object.assign(RadioGroupRoot, {
|
|
82
|
+
Root: RadioGroupRoot,
|
|
83
|
+
RootProvider: RadioGroupRootProvider,
|
|
84
|
+
Context: RadioGroup.Context,
|
|
85
|
+
ItemContext: RadioGroup.ItemContext,
|
|
86
|
+
Label: RadioGroupLabel,
|
|
87
|
+
Item: RadioGroupItem,
|
|
88
|
+
ItemHiddenInput: RadioGroup.ItemHiddenInput,
|
|
89
|
+
Option: RadioGroupOption,
|
|
90
|
+
ItemControl: RadioGroupItemControl,
|
|
91
|
+
ItemText: RadioGroupItemText,
|
|
92
|
+
Indicator: RadioGroupIndicator
|
|
93
|
+
});
|
|
94
|
+
export { RadioGroup_RadioGroup as RadioGroup, useRadioGroup, useRadioGroupContext, useRadioGroupItemContext };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RadioGroup, useRadioGroup, useRadioGroupContext, useRadioGroupItemContext } from "./RadioGroup.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RadioGroup, useRadioGroup, useRadioGroupContext, useRadioGroupItemContext } from "./RadioGroup.jsx";
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { RatingGroup as RatingGroupPrimitive, useRatingGroup, useRatingGroupContext, useRatingGroupItemContext } from '@ark-ui/solid/rating-group';
|
|
2
|
+
import type { ComponentProps, JSX } from 'solid-js';
|
|
3
|
+
type RatingGroupSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
+
type RatingGroupRootProps = ComponentProps<typeof RatingGroupPrimitive.Root> & {
|
|
5
|
+
size?: RatingGroupSize;
|
|
6
|
+
};
|
|
7
|
+
type RatingGroupRootProviderProps = ComponentProps<typeof RatingGroupPrimitive.RootProvider> & {
|
|
8
|
+
size?: RatingGroupSize;
|
|
9
|
+
};
|
|
10
|
+
type RatingGroupItemIndicatorProps = ComponentProps<'span'>;
|
|
11
|
+
declare function RatingGroupRoot(props: RatingGroupRootProps): JSX.Element;
|
|
12
|
+
declare function RatingGroupRootProvider(props: RatingGroupRootProviderProps): JSX.Element;
|
|
13
|
+
declare function RatingGroupLabel(props: ComponentProps<typeof RatingGroupPrimitive.Label>): JSX.Element;
|
|
14
|
+
declare function RatingGroupControl(props: ComponentProps<typeof RatingGroupPrimitive.Control>): JSX.Element;
|
|
15
|
+
declare function RatingGroupItem(props: ComponentProps<typeof RatingGroupPrimitive.Item>): JSX.Element;
|
|
16
|
+
declare function RatingGroupItemIndicator(props: RatingGroupItemIndicatorProps): JSX.Element;
|
|
17
|
+
declare function RatingGroupItems(props: {
|
|
18
|
+
children?: JSX.Element;
|
|
19
|
+
}): JSX.Element;
|
|
20
|
+
declare const RatingGroup: typeof RatingGroupRoot & {
|
|
21
|
+
Root: typeof RatingGroupRoot;
|
|
22
|
+
RootProvider: typeof RatingGroupRootProvider;
|
|
23
|
+
Context: (props: RatingGroupPrimitive.ContextProps) => JSX.Element;
|
|
24
|
+
HiddenInput: (props: RatingGroupPrimitive.HiddenInputProps) => JSX.Element;
|
|
25
|
+
Label: typeof RatingGroupLabel;
|
|
26
|
+
Control: typeof RatingGroupControl;
|
|
27
|
+
Item: typeof RatingGroupItem;
|
|
28
|
+
ItemContext: (props: RatingGroupPrimitive.ItemContextProps) => JSX.Element;
|
|
29
|
+
ItemIndicator: typeof RatingGroupItemIndicator;
|
|
30
|
+
Items: typeof RatingGroupItems;
|
|
31
|
+
};
|
|
32
|
+
export { RatingGroup, useRatingGroup, useRatingGroupContext, useRatingGroupItemContext };
|
|
33
|
+
export type { RatingGroupItemIndicatorProps, RatingGroupRootProps, RatingGroupRootProviderProps, RatingGroupSize, };
|