@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,89 @@
|
|
|
1
|
+
import { ark } from "@ark-ui/solid/factory";
|
|
2
|
+
import { HoverCard, useHoverCard, useHoverCardContext } from "@ark-ui/solid/hover-card";
|
|
3
|
+
import { children, splitProps } from "solid-js";
|
|
4
|
+
import { cn } from "../../internal/cn.jsx";
|
|
5
|
+
import { OverlayPortal, OverlayPortalProvider } from "../../internal/overlayPortal.jsx";
|
|
6
|
+
function HoverCardRoot(props) {
|
|
7
|
+
const [local, others] = splitProps(props, [
|
|
8
|
+
'children',
|
|
9
|
+
'lazyMount',
|
|
10
|
+
'portalled',
|
|
11
|
+
'portalRef',
|
|
12
|
+
'unmountOnExit'
|
|
13
|
+
]);
|
|
14
|
+
return <OverlayPortalProvider portalled={local.portalled} portalRef={local.portalRef}>
|
|
15
|
+
<HoverCard.Root lazyMount={local.lazyMount ?? true} unmountOnExit={local.unmountOnExit ?? true} {...others}>
|
|
16
|
+
{local.children}
|
|
17
|
+
</HoverCard.Root>
|
|
18
|
+
</OverlayPortalProvider>;
|
|
19
|
+
}
|
|
20
|
+
function HoverCardRootProvider(props) {
|
|
21
|
+
const [local, others] = splitProps(props, [
|
|
22
|
+
'children',
|
|
23
|
+
'lazyMount',
|
|
24
|
+
'portalled',
|
|
25
|
+
'portalRef',
|
|
26
|
+
'unmountOnExit'
|
|
27
|
+
]);
|
|
28
|
+
return <OverlayPortalProvider portalled={local.portalled} portalRef={local.portalRef}>
|
|
29
|
+
<HoverCard.RootProvider lazyMount={local.lazyMount ?? true} unmountOnExit={local.unmountOnExit ?? true} {...others}>
|
|
30
|
+
{local.children}
|
|
31
|
+
</HoverCard.RootProvider>
|
|
32
|
+
</OverlayPortalProvider>;
|
|
33
|
+
}
|
|
34
|
+
function HoverCardTrigger(props) {
|
|
35
|
+
const [local, others] = splitProps(props, [
|
|
36
|
+
'asChild',
|
|
37
|
+
'class'
|
|
38
|
+
]);
|
|
39
|
+
return <HoverCard.Trigger asChild={local.asChild} data-slot="hover-card-trigger" class={cn(!local.asChild && 'inline-flex cursor-pointer items-center gap-1 text-primary underline decoration-primary/60 decoration-1 underline-offset-2 outline-0 transition-[color,text-decoration-color] duration-150 ease-in-out focus-visible:rounded-xs focus-visible:no-underline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 data-disabled:pointer-events-none data-disabled:opacity-50 data-[state=open]:decoration-primary motion-reduce:transition-none [@media(hover:hover)]:hover:decoration-primary', local.class)} {...others}/>;
|
|
40
|
+
}
|
|
41
|
+
function HoverCardPositioner(props) {
|
|
42
|
+
const [local, others] = splitProps(props, [
|
|
43
|
+
'class'
|
|
44
|
+
]);
|
|
45
|
+
return <OverlayPortal>
|
|
46
|
+
<HoverCard.Positioner data-slot="hover-card-positioner" class={cn('z-[var(--z-index,var(--moduix-z-popup))] max-w-[var(--available-width)] outline-0', local.class)} {...others}/>
|
|
47
|
+
</OverlayPortal>;
|
|
48
|
+
}
|
|
49
|
+
function HoverCardContent(props) {
|
|
50
|
+
const [local, others] = splitProps(props, [
|
|
51
|
+
'class'
|
|
52
|
+
]);
|
|
53
|
+
return <HoverCard.Content data-slot="hover-card-content" class={cn('relative z-[calc(var(--moduix-z-popup)+var(--layer-index,0))] max-h-[min(24rem,var(--available-height,100dvh))] max-w-[min(24rem,var(--available-width))] min-w-[min(14rem,var(--available-width))] origin-[var(--transform-origin)] overflow-visible rounded-lg border border-border bg-popover p-2 wrap-anywhere text-popover-foreground shadow-lg outline-0 has-[>[data-slot=hover-card-body]]:flex has-[>[data-slot=hover-card-body]]:flex-col data-[state=closed]:animate-moduix-menu-closed data-[state=open]:animate-moduix-menu-open motion-reduce:animate-none has-[>[data-slot=hover-card-body]]:[&>[data-slot=hover-card-body]]:overflow-auto', local.class)} {...others}/>;
|
|
54
|
+
}
|
|
55
|
+
function HoverCardArrow(props) {
|
|
56
|
+
const [local, others] = splitProps(props, [
|
|
57
|
+
'children',
|
|
58
|
+
'class'
|
|
59
|
+
]);
|
|
60
|
+
const resolvedChildren = children(()=>local.children);
|
|
61
|
+
return <HoverCard.Arrow data-slot="hover-card-arrow" class={cn('[--arrow-background:var(--color-popover)] [--arrow-shadow-color:var(--color-border)] [--arrow-size:0.625rem]', local.class)} {...others}>
|
|
62
|
+
{resolvedChildren() ?? <HoverCardArrowTip/>}
|
|
63
|
+
</HoverCard.Arrow>;
|
|
64
|
+
}
|
|
65
|
+
function HoverCardArrowTip(props) {
|
|
66
|
+
const [local, others] = splitProps(props, [
|
|
67
|
+
'class'
|
|
68
|
+
]);
|
|
69
|
+
return <HoverCard.ArrowTip data-slot="hover-card-arrow-tip" class={cn('border-t border-l border-border', local.class)} {...others}/>;
|
|
70
|
+
}
|
|
71
|
+
function HoverCardBody(props) {
|
|
72
|
+
const [local, others] = splitProps(props, [
|
|
73
|
+
'asChild',
|
|
74
|
+
'class'
|
|
75
|
+
]);
|
|
76
|
+
return <ark.div asChild={local.asChild} data-slot="hover-card-body" class={cn('min-h-0', local.class)} {...others}/>;
|
|
77
|
+
}
|
|
78
|
+
const HoverCard_HoverCard = Object.assign(HoverCardRoot, {
|
|
79
|
+
Root: HoverCardRoot,
|
|
80
|
+
RootProvider: HoverCardRootProvider,
|
|
81
|
+
Trigger: HoverCardTrigger,
|
|
82
|
+
Positioner: HoverCardPositioner,
|
|
83
|
+
Content: HoverCardContent,
|
|
84
|
+
Arrow: HoverCardArrow,
|
|
85
|
+
ArrowTip: HoverCardArrowTip,
|
|
86
|
+
Body: HoverCardBody,
|
|
87
|
+
Context: HoverCard.Context
|
|
88
|
+
});
|
|
89
|
+
export { HoverCard_HoverCard as HoverCard, useHoverCard, useHoverCardContext };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './HoverCard.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./HoverCard.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./HoverCard.jsx";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { UnpicImageProps, UnpicSourceProps } from '@unpic/core';
|
|
2
|
+
import type { JSX } from 'solid-js';
|
|
3
|
+
type ImageProps = Omit<UnpicImageProps<JSX.ImgHTMLAttributes<HTMLImageElement>>, 'fetchpriority'> & {
|
|
4
|
+
fetchpriority?: JSX.ImgHTMLAttributes<HTMLImageElement>['fetchpriority'];
|
|
5
|
+
style?: JSX.ImgHTMLAttributes<HTMLImageElement>['style'];
|
|
6
|
+
};
|
|
7
|
+
type ImageSourceProps = UnpicSourceProps & Omit<JSX.SourceHTMLAttributes<HTMLSourceElement>, 'height' | 'media' | 'sizes' | 'src' | 'srcset' | 'type' | 'width'>;
|
|
8
|
+
declare function ImageRoot(props: ImageProps): JSX.Element;
|
|
9
|
+
declare function ImageSource(props: ImageSourceProps): JSX.Element;
|
|
10
|
+
declare const Image: typeof ImageRoot & {
|
|
11
|
+
Root: typeof ImageRoot;
|
|
12
|
+
Source: typeof ImageSource;
|
|
13
|
+
};
|
|
14
|
+
export { Image };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { mergeProps, spread, template } from "solid-js/web";
|
|
2
|
+
import { transformProps, transformSourceProps } from "@unpic/core";
|
|
3
|
+
import { createMemo, splitProps } from "solid-js";
|
|
4
|
+
import { cn } from "../../internal/cn.js";
|
|
5
|
+
var _tmpl$ = /*#__PURE__*/ template("<img>"), _tmpl$2 = /*#__PURE__*/ template("<source>");
|
|
6
|
+
function ImageRoot(props) {
|
|
7
|
+
const [local, others] = splitProps(props, [
|
|
8
|
+
'class',
|
|
9
|
+
'fetchpriority'
|
|
10
|
+
]);
|
|
11
|
+
const imageProps = createMemo(()=>{
|
|
12
|
+
const transformed = transformProps({
|
|
13
|
+
...others
|
|
14
|
+
});
|
|
15
|
+
return void 0 === local.fetchpriority ? transformed : {
|
|
16
|
+
...transformed,
|
|
17
|
+
fetchpriority: local.fetchpriority
|
|
18
|
+
};
|
|
19
|
+
});
|
|
20
|
+
return (()=>{
|
|
21
|
+
var _el$ = _tmpl$();
|
|
22
|
+
spread(_el$, mergeProps(imageProps, {
|
|
23
|
+
"data-slot": "image-root",
|
|
24
|
+
get ["class"] () {
|
|
25
|
+
return cn('rounded-md', local.class);
|
|
26
|
+
}
|
|
27
|
+
}), false, false);
|
|
28
|
+
return _el$;
|
|
29
|
+
})();
|
|
30
|
+
}
|
|
31
|
+
function ImageSource(props) {
|
|
32
|
+
const [local, others] = splitProps(props, [
|
|
33
|
+
'class'
|
|
34
|
+
]);
|
|
35
|
+
const sourceProps = createMemo(()=>transformSourceProps({
|
|
36
|
+
...others
|
|
37
|
+
}));
|
|
38
|
+
return (()=>{
|
|
39
|
+
var _el$2 = _tmpl$2();
|
|
40
|
+
spread(_el$2, mergeProps(sourceProps, {
|
|
41
|
+
"data-slot": "image-source",
|
|
42
|
+
get ["class"] () {
|
|
43
|
+
return local.class;
|
|
44
|
+
}
|
|
45
|
+
}), false, false);
|
|
46
|
+
return _el$2;
|
|
47
|
+
})();
|
|
48
|
+
}
|
|
49
|
+
const Image = Object.assign(ImageRoot, {
|
|
50
|
+
Root: ImageRoot,
|
|
51
|
+
Source: ImageSource
|
|
52
|
+
});
|
|
53
|
+
export { Image };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { transformProps, transformSourceProps } from "@unpic/core";
|
|
2
|
+
import { createMemo, splitProps } from "solid-js";
|
|
3
|
+
import { cn } from "../../internal/cn.jsx";
|
|
4
|
+
function ImageRoot(props) {
|
|
5
|
+
const [local, others] = splitProps(props, [
|
|
6
|
+
'class',
|
|
7
|
+
'fetchpriority'
|
|
8
|
+
]);
|
|
9
|
+
const imageProps = createMemo(()=>{
|
|
10
|
+
const transformed = transformProps({
|
|
11
|
+
...others
|
|
12
|
+
});
|
|
13
|
+
return void 0 === local.fetchpriority ? transformed : {
|
|
14
|
+
...transformed,
|
|
15
|
+
fetchpriority: local.fetchpriority
|
|
16
|
+
};
|
|
17
|
+
});
|
|
18
|
+
return <img {...imageProps()} data-slot="image-root" class={cn('rounded-md', local.class)}/>;
|
|
19
|
+
}
|
|
20
|
+
function ImageSource(props) {
|
|
21
|
+
const [local, others] = splitProps(props, [
|
|
22
|
+
'class'
|
|
23
|
+
]);
|
|
24
|
+
const sourceProps = createMemo(()=>transformSourceProps({
|
|
25
|
+
...others
|
|
26
|
+
}));
|
|
27
|
+
return <source {...sourceProps()} data-slot="image-source" class={local.class}/>;
|
|
28
|
+
}
|
|
29
|
+
const Image = Object.assign(ImageRoot, {
|
|
30
|
+
Root: ImageRoot,
|
|
31
|
+
Source: ImageSource
|
|
32
|
+
});
|
|
33
|
+
export { Image };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Image } from './Image.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Image } from "./Image.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Image } from "./Image.jsx";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ImageCropper as ImageCropperPrimitive, useImageCropper, useImageCropperContext } from '@ark-ui/solid/image-cropper';
|
|
2
|
+
import type { ComponentProps } from 'solid-js';
|
|
3
|
+
declare function ImageCropperRoot(props: ComponentProps<typeof ImageCropperPrimitive.Root>): import("solid-js").JSX.Element;
|
|
4
|
+
declare function ImageCropperRootProvider(props: ComponentProps<typeof ImageCropperPrimitive.RootProvider>): import("solid-js").JSX.Element;
|
|
5
|
+
declare function ImageCropperViewport(props: ComponentProps<typeof ImageCropperPrimitive.Viewport>): import("solid-js").JSX.Element;
|
|
6
|
+
declare function ImageCropperImage(props: ComponentProps<typeof ImageCropperPrimitive.Image>): import("solid-js").JSX.Element;
|
|
7
|
+
declare function ImageCropperSelection(props: ComponentProps<typeof ImageCropperPrimitive.Selection>): import("solid-js").JSX.Element;
|
|
8
|
+
declare function ImageCropperGrid(props: ComponentProps<typeof ImageCropperPrimitive.Grid>): import("solid-js").JSX.Element;
|
|
9
|
+
declare function ImageCropperHandle(props: ComponentProps<typeof ImageCropperPrimitive.Handle>): import("solid-js").JSX.Element;
|
|
10
|
+
type ImageCropperCropAreaProps = Omit<ComponentProps<typeof ImageCropperPrimitive.Selection>, 'asChild' | 'children'> & {
|
|
11
|
+
gridClassName?: string;
|
|
12
|
+
handleClassName?: string;
|
|
13
|
+
};
|
|
14
|
+
declare function ImageCropperCropArea(props: ImageCropperCropAreaProps): import("solid-js").JSX.Element;
|
|
15
|
+
declare const ImageCropper: typeof ImageCropperRoot & {
|
|
16
|
+
Root: typeof ImageCropperRoot;
|
|
17
|
+
RootProvider: typeof ImageCropperRootProvider;
|
|
18
|
+
Context: (props: ImageCropperPrimitive.ContextProps) => import("solid-js").JSX.Element;
|
|
19
|
+
Viewport: typeof ImageCropperViewport;
|
|
20
|
+
Image: typeof ImageCropperImage;
|
|
21
|
+
Selection: typeof ImageCropperSelection;
|
|
22
|
+
Grid: typeof ImageCropperGrid;
|
|
23
|
+
Handle: typeof ImageCropperHandle;
|
|
24
|
+
CropArea: typeof ImageCropperCropArea;
|
|
25
|
+
handles: import("@ark-ui/solid").ImageCropperHandlePosition[];
|
|
26
|
+
};
|
|
27
|
+
export { ImageCropper, useImageCropper, useImageCropperContext };
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { createComponent, memo, mergeProps } from "solid-js/web";
|
|
2
|
+
import { ImageCropper, useImageCropper, useImageCropperContext } from "@ark-ui/solid/image-cropper";
|
|
3
|
+
import { splitProps } from "solid-js";
|
|
4
|
+
import { cn } from "../../internal/cn.js";
|
|
5
|
+
function ImageCropperRoot(props) {
|
|
6
|
+
const [local, others] = splitProps(props, [
|
|
7
|
+
'class'
|
|
8
|
+
]);
|
|
9
|
+
return createComponent(ImageCropper.Root, mergeProps({
|
|
10
|
+
"data-slot": "image-cropper-root",
|
|
11
|
+
get ["class"] () {
|
|
12
|
+
return cn('box-border grid w-[32rem] max-w-full gap-3 text-foreground data-dragging:cursor-grabbing data-panning:cursor-grabbing', local.class);
|
|
13
|
+
}
|
|
14
|
+
}, others));
|
|
15
|
+
}
|
|
16
|
+
function ImageCropperRootProvider(props) {
|
|
17
|
+
const [local, others] = splitProps(props, [
|
|
18
|
+
'class'
|
|
19
|
+
]);
|
|
20
|
+
return createComponent(ImageCropper.RootProvider, mergeProps({
|
|
21
|
+
"data-slot": "image-cropper-root-provider",
|
|
22
|
+
get ["class"] () {
|
|
23
|
+
return cn('box-border grid w-[32rem] max-w-full gap-3 text-foreground data-dragging:cursor-grabbing data-panning:cursor-grabbing', local.class);
|
|
24
|
+
}
|
|
25
|
+
}, others));
|
|
26
|
+
}
|
|
27
|
+
function ImageCropperViewport(props) {
|
|
28
|
+
const [local, others] = splitProps(props, [
|
|
29
|
+
'class'
|
|
30
|
+
]);
|
|
31
|
+
return createComponent(ImageCropper.Viewport, mergeProps({
|
|
32
|
+
"data-slot": "image-cropper-viewport",
|
|
33
|
+
get ["class"] () {
|
|
34
|
+
return cn('box-border h-[min(20rem,62.5vw)] w-full overflow-hidden rounded-lg border border-border bg-background bg-[conic-gradient(rgb(0_0_0_/_8%)_25%,transparent_0_50%,rgb(0_0_0_/_8%)_0_75%,transparent_0)] [background-size:1rem_1rem] shadow-none data-disabled:cursor-grab', local.class);
|
|
35
|
+
}
|
|
36
|
+
}, others));
|
|
37
|
+
}
|
|
38
|
+
function ImageCropperImage(props) {
|
|
39
|
+
const [local, others] = splitProps(props, [
|
|
40
|
+
'class'
|
|
41
|
+
]);
|
|
42
|
+
return createComponent(ImageCropper.Image, mergeProps({
|
|
43
|
+
"data-slot": "image-cropper-image",
|
|
44
|
+
get ["class"] () {
|
|
45
|
+
return cn('absolute inset-0 block size-full origin-center object-contain backface-hidden', local.class);
|
|
46
|
+
}
|
|
47
|
+
}, others));
|
|
48
|
+
}
|
|
49
|
+
function ImageCropperSelection(props) {
|
|
50
|
+
const [local, others] = splitProps(props, [
|
|
51
|
+
'class'
|
|
52
|
+
]);
|
|
53
|
+
return createComponent(ImageCropper.Selection, mergeProps({
|
|
54
|
+
"data-slot": "image-cropper-selection",
|
|
55
|
+
get ["class"] () {
|
|
56
|
+
return cn('box-border cursor-grab rounded-md border-2 border-primary shadow-[0_0_0_9999px_rgb(0_0_0_/_45%),inset_0_0_0_1px_rgb(255_255_255_/_64%)] outline-0 transition-[border-color,box-shadow] duration-200 ease-in-out focus-visible:ring-2 focus-visible:ring-ring data-disabled:cursor-default data-dragging:cursor-grabbing data-[shape=circle]:rounded-full data-[shape=circle]:border-transparent motion-reduce:transition-none', local.class);
|
|
57
|
+
}
|
|
58
|
+
}, others));
|
|
59
|
+
}
|
|
60
|
+
function ImageCropperGrid(props) {
|
|
61
|
+
const [local, others] = splitProps(props, [
|
|
62
|
+
'class'
|
|
63
|
+
]);
|
|
64
|
+
return createComponent(ImageCropper.Grid, mergeProps({
|
|
65
|
+
"data-slot": "image-cropper-grid",
|
|
66
|
+
get ["class"] () {
|
|
67
|
+
return cn('pointer-events-none data-[axis=horizontal]:border-y data-[axis=horizontal]:border-white/62 data-[axis=vertical]:border-x data-[axis=vertical]:border-white/62', local.class);
|
|
68
|
+
}
|
|
69
|
+
}, others));
|
|
70
|
+
}
|
|
71
|
+
function ImageCropperHandle(props) {
|
|
72
|
+
const [local, others] = splitProps(props, [
|
|
73
|
+
'class'
|
|
74
|
+
]);
|
|
75
|
+
return createComponent(ImageCropper.Handle, mergeProps({
|
|
76
|
+
"data-slot": "image-cropper-handle",
|
|
77
|
+
get ["class"] () {
|
|
78
|
+
return cn('absolute z-1 box-border size-3 rounded-xs border border-white/88 bg-white/96 shadow-[0_1px_3px_rgb(15_23_42_/_18%)] transition-[border-color,background-color,box-shadow,opacity] duration-200 ease-in-out data-disabled:hidden data-[position=e]:!h-full data-[position=e]:!w-[0.2rem] data-[position=e]:rounded-full data-[position=e]:border-0 data-[position=n]:!h-[0.2rem] data-[position=n]:!w-full data-[position=n]:rounded-full data-[position=n]:border-0 data-[position=ne]:z-2 data-[position=nw]:z-2 data-[position=s]:!h-[0.2rem] data-[position=s]:!w-full data-[position=s]:rounded-full data-[position=s]:border-0 data-[position=se]:z-2 data-[position=sw]:z-2 data-[position=w]:!h-full data-[position=w]:!w-[0.2rem] data-[position=w]:rounded-full data-[position=w]:border-0 motion-reduce:transition-none', local.class);
|
|
79
|
+
}
|
|
80
|
+
}, others));
|
|
81
|
+
}
|
|
82
|
+
function ImageCropperCropArea(props) {
|
|
83
|
+
const [local, others] = splitProps(props, [
|
|
84
|
+
'asChild',
|
|
85
|
+
'children',
|
|
86
|
+
'class',
|
|
87
|
+
'gridClassName',
|
|
88
|
+
'handleClassName'
|
|
89
|
+
]);
|
|
90
|
+
return createComponent(ImageCropperSelection, mergeProps({
|
|
91
|
+
get ["class"] () {
|
|
92
|
+
return local.class;
|
|
93
|
+
}
|
|
94
|
+
}, others, {
|
|
95
|
+
get children () {
|
|
96
|
+
return [
|
|
97
|
+
createComponent(ImageCropperGrid, {
|
|
98
|
+
axis: "horizontal",
|
|
99
|
+
get ["class"] () {
|
|
100
|
+
return local.gridClassName;
|
|
101
|
+
}
|
|
102
|
+
}),
|
|
103
|
+
createComponent(ImageCropperGrid, {
|
|
104
|
+
axis: "vertical",
|
|
105
|
+
get ["class"] () {
|
|
106
|
+
return local.gridClassName;
|
|
107
|
+
}
|
|
108
|
+
}),
|
|
109
|
+
memo(()=>ImageCropper.handles.map((position)=>createComponent(ImageCropperHandle, {
|
|
110
|
+
position: position,
|
|
111
|
+
get ["class"] () {
|
|
112
|
+
return local.handleClassName;
|
|
113
|
+
}
|
|
114
|
+
})))
|
|
115
|
+
];
|
|
116
|
+
}
|
|
117
|
+
}));
|
|
118
|
+
}
|
|
119
|
+
const ImageCropper_ImageCropper = Object.assign(ImageCropperRoot, {
|
|
120
|
+
Root: ImageCropperRoot,
|
|
121
|
+
RootProvider: ImageCropperRootProvider,
|
|
122
|
+
Context: ImageCropper.Context,
|
|
123
|
+
Viewport: ImageCropperViewport,
|
|
124
|
+
Image: ImageCropperImage,
|
|
125
|
+
Selection: ImageCropperSelection,
|
|
126
|
+
Grid: ImageCropperGrid,
|
|
127
|
+
Handle: ImageCropperHandle,
|
|
128
|
+
CropArea: ImageCropperCropArea,
|
|
129
|
+
handles: ImageCropper.handles
|
|
130
|
+
});
|
|
131
|
+
export { ImageCropper_ImageCropper as ImageCropper, useImageCropper, useImageCropperContext };
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { ImageCropper, useImageCropper, useImageCropperContext } from "@ark-ui/solid/image-cropper";
|
|
2
|
+
import { splitProps } from "solid-js";
|
|
3
|
+
import { cn } from "../../internal/cn.jsx";
|
|
4
|
+
function ImageCropperRoot(props) {
|
|
5
|
+
const [local, others] = splitProps(props, [
|
|
6
|
+
'class'
|
|
7
|
+
]);
|
|
8
|
+
return <ImageCropper.Root data-slot="image-cropper-root" class={cn('box-border grid w-[32rem] max-w-full gap-3 text-foreground data-dragging:cursor-grabbing data-panning:cursor-grabbing', local.class)} {...others}/>;
|
|
9
|
+
}
|
|
10
|
+
function ImageCropperRootProvider(props) {
|
|
11
|
+
const [local, others] = splitProps(props, [
|
|
12
|
+
'class'
|
|
13
|
+
]);
|
|
14
|
+
return <ImageCropper.RootProvider data-slot="image-cropper-root-provider" class={cn('box-border grid w-[32rem] max-w-full gap-3 text-foreground data-dragging:cursor-grabbing data-panning:cursor-grabbing', local.class)} {...others}/>;
|
|
15
|
+
}
|
|
16
|
+
function ImageCropperViewport(props) {
|
|
17
|
+
const [local, others] = splitProps(props, [
|
|
18
|
+
'class'
|
|
19
|
+
]);
|
|
20
|
+
return <ImageCropper.Viewport data-slot="image-cropper-viewport" class={cn('box-border h-[min(20rem,62.5vw)] w-full overflow-hidden rounded-lg border border-border bg-background bg-[conic-gradient(rgb(0_0_0_/_8%)_25%,transparent_0_50%,rgb(0_0_0_/_8%)_0_75%,transparent_0)] [background-size:1rem_1rem] shadow-none data-disabled:cursor-grab', local.class)} {...others}/>;
|
|
21
|
+
}
|
|
22
|
+
function ImageCropperImage(props) {
|
|
23
|
+
const [local, others] = splitProps(props, [
|
|
24
|
+
'class'
|
|
25
|
+
]);
|
|
26
|
+
return <ImageCropper.Image data-slot="image-cropper-image" class={cn('absolute inset-0 block size-full origin-center object-contain backface-hidden', local.class)} {...others}/>;
|
|
27
|
+
}
|
|
28
|
+
function ImageCropperSelection(props) {
|
|
29
|
+
const [local, others] = splitProps(props, [
|
|
30
|
+
'class'
|
|
31
|
+
]);
|
|
32
|
+
return <ImageCropper.Selection data-slot="image-cropper-selection" class={cn('box-border cursor-grab rounded-md border-2 border-primary shadow-[0_0_0_9999px_rgb(0_0_0_/_45%),inset_0_0_0_1px_rgb(255_255_255_/_64%)] outline-0 transition-[border-color,box-shadow] duration-200 ease-in-out focus-visible:ring-2 focus-visible:ring-ring data-disabled:cursor-default data-dragging:cursor-grabbing data-[shape=circle]:rounded-full data-[shape=circle]:border-transparent motion-reduce:transition-none', local.class)} {...others}/>;
|
|
33
|
+
}
|
|
34
|
+
function ImageCropperGrid(props) {
|
|
35
|
+
const [local, others] = splitProps(props, [
|
|
36
|
+
'class'
|
|
37
|
+
]);
|
|
38
|
+
return <ImageCropper.Grid data-slot="image-cropper-grid" class={cn('pointer-events-none data-[axis=horizontal]:border-y data-[axis=horizontal]:border-white/62 data-[axis=vertical]:border-x data-[axis=vertical]:border-white/62', local.class)} {...others}/>;
|
|
39
|
+
}
|
|
40
|
+
function ImageCropperHandle(props) {
|
|
41
|
+
const [local, others] = splitProps(props, [
|
|
42
|
+
'class'
|
|
43
|
+
]);
|
|
44
|
+
return <ImageCropper.Handle data-slot="image-cropper-handle" class={cn('absolute z-1 box-border size-3 rounded-xs border border-white/88 bg-white/96 shadow-[0_1px_3px_rgb(15_23_42_/_18%)] transition-[border-color,background-color,box-shadow,opacity] duration-200 ease-in-out data-disabled:hidden data-[position=e]:!h-full data-[position=e]:!w-[0.2rem] data-[position=e]:rounded-full data-[position=e]:border-0 data-[position=n]:!h-[0.2rem] data-[position=n]:!w-full data-[position=n]:rounded-full data-[position=n]:border-0 data-[position=ne]:z-2 data-[position=nw]:z-2 data-[position=s]:!h-[0.2rem] data-[position=s]:!w-full data-[position=s]:rounded-full data-[position=s]:border-0 data-[position=se]:z-2 data-[position=sw]:z-2 data-[position=w]:!h-full data-[position=w]:!w-[0.2rem] data-[position=w]:rounded-full data-[position=w]:border-0 motion-reduce:transition-none', local.class)} {...others}/>;
|
|
45
|
+
}
|
|
46
|
+
function ImageCropperCropArea(props) {
|
|
47
|
+
const [local, others] = splitProps(props, [
|
|
48
|
+
'asChild',
|
|
49
|
+
'children',
|
|
50
|
+
'class',
|
|
51
|
+
'gridClassName',
|
|
52
|
+
'handleClassName'
|
|
53
|
+
]);
|
|
54
|
+
return <ImageCropperSelection class={local.class} {...others}>
|
|
55
|
+
<ImageCropperGrid axis="horizontal" class={local.gridClassName}/>
|
|
56
|
+
<ImageCropperGrid axis="vertical" class={local.gridClassName}/>
|
|
57
|
+
{ImageCropper.handles.map((position)=><ImageCropperHandle position={position} class={local.handleClassName}/>)}
|
|
58
|
+
</ImageCropperSelection>;
|
|
59
|
+
}
|
|
60
|
+
const ImageCropper_ImageCropper = Object.assign(ImageCropperRoot, {
|
|
61
|
+
Root: ImageCropperRoot,
|
|
62
|
+
RootProvider: ImageCropperRootProvider,
|
|
63
|
+
Context: ImageCropper.Context,
|
|
64
|
+
Viewport: ImageCropperViewport,
|
|
65
|
+
Image: ImageCropperImage,
|
|
66
|
+
Selection: ImageCropperSelection,
|
|
67
|
+
Grid: ImageCropperGrid,
|
|
68
|
+
Handle: ImageCropperHandle,
|
|
69
|
+
CropArea: ImageCropperCropArea,
|
|
70
|
+
handles: ImageCropper.handles
|
|
71
|
+
});
|
|
72
|
+
export { ImageCropper_ImageCropper as ImageCropper, useImageCropper, useImageCropperContext };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ImageCropper.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ImageCropper.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ImageCropper.jsx";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { FieldInputProps } from '@ark-ui/solid/field';
|
|
2
|
+
type InputRootProps = Omit<FieldInputProps, 'size'> & {
|
|
3
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
+
htmlSize?: FieldInputProps['size'];
|
|
5
|
+
'data-scope'?: string;
|
|
6
|
+
'data-part'?: string;
|
|
7
|
+
'data-slot'?: string;
|
|
8
|
+
};
|
|
9
|
+
declare function InputRoot(props: InputRootProps): import("solid-js").JSX.Element;
|
|
10
|
+
declare const Input: typeof InputRoot & {
|
|
11
|
+
Root: typeof InputRoot;
|
|
12
|
+
};
|
|
13
|
+
export { Input };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { createComponent, mergeProps } from "solid-js/web";
|
|
2
|
+
import { Field } from "@ark-ui/solid/field";
|
|
3
|
+
import { cva } from "class-variance-authority";
|
|
4
|
+
import { splitProps } from "solid-js";
|
|
5
|
+
import { cn } from "../../internal/cn.js";
|
|
6
|
+
const inputVariants = cva('w-full max-w-none rounded-md border border-border bg-background px-3 py-1 text-md leading-6 text-foreground outline-1 -outline-offset-1 outline-transparent transition-[border-color,outline-color,opacity] duration-200 ease-in-out placeholder:text-muted-foreground focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 data-disabled:pointer-events-none data-disabled:opacity-50 data-invalid:border-destructive data-invalid:focus-visible:outline-destructive aria-invalid:border-destructive aria-invalid:focus-visible:outline-destructive motion-reduce:transition-none file:me-3 file:rounded-md file:border file:border-primary file:bg-primary file:px-2 file:py-0.5 file:font-medium file:text-primary-foreground file:transition-colors file:duration-200 file:ease-in-out file:cursor-pointer [@media(hover:hover)]:file:hover:bg-foreground', {
|
|
7
|
+
variants: {
|
|
8
|
+
size: {
|
|
9
|
+
xs: 'min-h-control-xs px-2 py-0.5 text-xs leading-4',
|
|
10
|
+
sm: 'min-h-control-sm px-2 py-1 text-sm leading-5',
|
|
11
|
+
md: 'min-h-control-md',
|
|
12
|
+
lg: 'min-h-control-lg px-4 py-1 text-lg leading-7',
|
|
13
|
+
xl: 'min-h-control-xl px-4 py-2 text-lg leading-7'
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
defaultVariants: {
|
|
17
|
+
size: 'md'
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
function InputRoot(props) {
|
|
21
|
+
const [local, others] = splitProps(props, [
|
|
22
|
+
'asChild',
|
|
23
|
+
'class',
|
|
24
|
+
'size',
|
|
25
|
+
'htmlSize',
|
|
26
|
+
'data-scope',
|
|
27
|
+
'data-part',
|
|
28
|
+
'data-slot'
|
|
29
|
+
]);
|
|
30
|
+
return createComponent(Field.Input, mergeProps({
|
|
31
|
+
get asChild () {
|
|
32
|
+
return local.asChild;
|
|
33
|
+
}
|
|
34
|
+
}, others, {
|
|
35
|
+
"data-scope": "field",
|
|
36
|
+
"data-part": "input",
|
|
37
|
+
"data-slot": "input-root",
|
|
38
|
+
get ["data-size"] () {
|
|
39
|
+
return local.size ?? 'md';
|
|
40
|
+
},
|
|
41
|
+
get ["data-html-size"] () {
|
|
42
|
+
return void 0 === local.htmlSize ? void 0 : '';
|
|
43
|
+
},
|
|
44
|
+
get ["class"] () {
|
|
45
|
+
return cn(inputVariants({
|
|
46
|
+
size: local.size
|
|
47
|
+
}), void 0 === local.htmlSize ? void 0 : 'w-auto', local.class);
|
|
48
|
+
},
|
|
49
|
+
get size () {
|
|
50
|
+
return local.htmlSize;
|
|
51
|
+
}
|
|
52
|
+
}));
|
|
53
|
+
}
|
|
54
|
+
const Input = Object.assign(InputRoot, {
|
|
55
|
+
Root: InputRoot
|
|
56
|
+
});
|
|
57
|
+
export { Input };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Field } from "@ark-ui/solid/field";
|
|
2
|
+
import { cva } from "class-variance-authority";
|
|
3
|
+
import { splitProps } from "solid-js";
|
|
4
|
+
import { cn } from "../../internal/cn.jsx";
|
|
5
|
+
const inputVariants = cva('w-full max-w-none rounded-md border border-border bg-background px-3 py-1 text-md leading-6 text-foreground outline-1 -outline-offset-1 outline-transparent transition-[border-color,outline-color,opacity] duration-200 ease-in-out placeholder:text-muted-foreground focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 data-disabled:pointer-events-none data-disabled:opacity-50 data-invalid:border-destructive data-invalid:focus-visible:outline-destructive aria-invalid:border-destructive aria-invalid:focus-visible:outline-destructive motion-reduce:transition-none file:me-3 file:rounded-md file:border file:border-primary file:bg-primary file:px-2 file:py-0.5 file:font-medium file:text-primary-foreground file:transition-colors file:duration-200 file:ease-in-out file:cursor-pointer [@media(hover:hover)]:file:hover:bg-foreground', {
|
|
6
|
+
variants: {
|
|
7
|
+
size: {
|
|
8
|
+
xs: 'min-h-control-xs px-2 py-0.5 text-xs leading-4',
|
|
9
|
+
sm: 'min-h-control-sm px-2 py-1 text-sm leading-5',
|
|
10
|
+
md: 'min-h-control-md',
|
|
11
|
+
lg: 'min-h-control-lg px-4 py-1 text-lg leading-7',
|
|
12
|
+
xl: 'min-h-control-xl px-4 py-2 text-lg leading-7'
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
defaultVariants: {
|
|
16
|
+
size: 'md'
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
function InputRoot(props) {
|
|
20
|
+
const [local, others] = splitProps(props, [
|
|
21
|
+
'asChild',
|
|
22
|
+
'class',
|
|
23
|
+
'size',
|
|
24
|
+
'htmlSize',
|
|
25
|
+
'data-scope',
|
|
26
|
+
'data-part',
|
|
27
|
+
'data-slot'
|
|
28
|
+
]);
|
|
29
|
+
return <Field.Input asChild={local.asChild} {...others} data-scope="field" data-part="input" data-slot="input-root" data-size={local.size ?? 'md'} data-html-size={void 0 === local.htmlSize ? void 0 : ''} class={cn(inputVariants({
|
|
30
|
+
size: local.size
|
|
31
|
+
}), void 0 === local.htmlSize ? void 0 : 'w-auto', local.class)} size={local.htmlSize}/>;
|
|
32
|
+
}
|
|
33
|
+
const Input = Object.assign(InputRoot, {
|
|
34
|
+
Root: InputRoot
|
|
35
|
+
});
|
|
36
|
+
export { Input };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Input } from './Input.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Input } from "./Input.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Input } from "./Input.jsx";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { HTMLArkProps } from '@ark-ui/solid/factory';
|
|
2
|
+
import type { ComponentProps } from 'solid-js';
|
|
3
|
+
import { Button } from '../button/index.js';
|
|
4
|
+
import { Input } from '../input/index.js';
|
|
5
|
+
type InputGroupSize = NonNullable<ComponentProps<typeof Input>['size']>;
|
|
6
|
+
type InputGroupDataProps = {
|
|
7
|
+
'data-scope'?: string;
|
|
8
|
+
'data-part'?: string;
|
|
9
|
+
'data-slot'?: string;
|
|
10
|
+
};
|
|
11
|
+
type InputGroupRootProps = HTMLArkProps<'div'> & InputGroupDataProps & {
|
|
12
|
+
size?: InputGroupSize;
|
|
13
|
+
'data-size'?: string;
|
|
14
|
+
};
|
|
15
|
+
declare function InputGroupRoot(props: InputGroupRootProps): import("solid-js").JSX.Element;
|
|
16
|
+
declare function InputGroupInput(props: ComponentProps<typeof Input>): import("solid-js").JSX.Element;
|
|
17
|
+
declare function InputGroupAddon(props: HTMLArkProps<'span'> & InputGroupDataProps): import("solid-js").JSX.Element;
|
|
18
|
+
declare function InputGroupText(props: HTMLArkProps<'span'> & InputGroupDataProps): import("solid-js").JSX.Element;
|
|
19
|
+
declare function InputGroupButton(props: ComponentProps<typeof Button>): import("solid-js").JSX.Element;
|
|
20
|
+
declare const InputGroup: typeof InputGroupRoot & {
|
|
21
|
+
Root: typeof InputGroupRoot;
|
|
22
|
+
Input: typeof InputGroupInput;
|
|
23
|
+
Addon: typeof InputGroupAddon;
|
|
24
|
+
Text: typeof InputGroupText;
|
|
25
|
+
Button: typeof InputGroupButton;
|
|
26
|
+
};
|
|
27
|
+
export { InputGroup };
|