@moduix/react 2.1.0 → 2.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -16
- package/dist/components/accordion/Accordion.d.ts +12 -13
- package/dist/components/accordion/Accordion.js +69 -68
- package/dist/components/accordion/Accordion.module.js +17 -15
- package/dist/components/accordion/Accordion_module.css +203 -0
- package/dist/components/accordion/index.d.ts +1 -2
- package/dist/components/accordion/index.js +1 -0
- package/dist/components/alert/Alert.d.ts +10 -12
- package/dist/components/alert/Alert.js +68 -70
- package/dist/components/alert/Alert.module.js +9 -11
- package/dist/components/alert/Alert_module.css +139 -0
- package/dist/components/alert/index.d.ts +1 -0
- package/dist/components/alert/index.js +1 -0
- package/dist/components/angle-slider/AngleSlider.d.ts +25 -31
- package/dist/components/angle-slider/AngleSlider.js +105 -91
- package/dist/components/angle-slider/AngleSlider.module.js +10 -12
- package/dist/components/angle-slider/AngleSlider_module.css +195 -0
- package/dist/components/angle-slider/index.d.ts +1 -2
- package/dist/components/angle-slider/index.js +1 -0
- package/dist/components/aspect-ratio/AspectRatio.d.ts +5 -7
- package/dist/components/aspect-ratio/AspectRatio.js +20 -19
- package/dist/components/aspect-ratio/AspectRatio.module.js +5 -5
- package/dist/components/aspect-ratio/AspectRatio_module.css +17 -0
- package/dist/components/aspect-ratio/index.d.ts +1 -0
- package/dist/components/aspect-ratio/index.js +1 -0
- package/dist/components/avatar/Avatar.d.ts +15 -17
- package/dist/components/avatar/Avatar.js +47 -48
- package/dist/components/avatar/Avatar.module.js +6 -8
- package/dist/components/avatar/Avatar_module.css +77 -0
- package/dist/components/avatar/index.d.ts +1 -2
- package/dist/components/avatar/index.js +1 -0
- package/dist/components/badge/Badge.d.ts +6 -8
- package/dist/components/badge/Badge.js +32 -29
- package/dist/components/badge/Badge.module.js +6 -7
- package/dist/components/badge/Badge_module.css +115 -0
- package/dist/components/badge/index.d.ts +1 -0
- package/dist/components/badge/index.js +1 -0
- package/dist/components/bleed/Bleed.d.ts +6 -8
- package/dist/components/bleed/Bleed.js +17 -17
- package/dist/components/bleed/Bleed.module.js +5 -5
- package/dist/components/bleed/Bleed_module.css +52 -0
- package/dist/components/bleed/index.d.ts +1 -0
- package/dist/components/bleed/index.js +1 -0
- package/dist/components/breadcrumbs/Breadcrumbs.d.ts +17 -24
- package/dist/components/breadcrumbs/Breadcrumbs.js +106 -95
- package/dist/components/breadcrumbs/Breadcrumbs.module.js +11 -13
- package/dist/components/breadcrumbs/Breadcrumbs_module.css +105 -0
- package/dist/components/breadcrumbs/index.d.ts +1 -2
- package/dist/components/breadcrumbs/index.js +1 -0
- package/dist/components/button/Button.d.ts +10 -12
- package/dist/components/button/Button.js +36 -28
- package/dist/components/button/Button.module.js +5 -5
- package/dist/components/button/Button_module.css +230 -0
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/button/index.js +1 -0
- package/dist/components/card/Card.d.ts +14 -16
- package/dist/components/card/Card.js +96 -98
- package/dist/components/card/Card.module.js +12 -14
- package/dist/components/card/Card_module.css +169 -0
- package/dist/components/card/index.d.ts +1 -0
- package/dist/components/card/index.js +1 -0
- package/dist/components/carousel/Carousel.d.ts +19 -22
- package/dist/components/carousel/Carousel.js +126 -125
- package/dist/components/carousel/Carousel.module.js +15 -17
- package/dist/components/carousel/Carousel_module.css +201 -0
- package/dist/components/carousel/index.d.ts +1 -2
- package/dist/components/carousel/index.js +1 -0
- package/dist/components/checkbox/Checkbox.d.ts +15 -17
- package/dist/components/checkbox/Checkbox.js +90 -76
- package/dist/components/checkbox/Checkbox.module.js +9 -11
- package/dist/components/checkbox/Checkbox_module.css +137 -0
- package/dist/components/checkbox/index.d.ts +1 -2
- package/dist/components/checkbox/index.js +1 -0
- package/dist/components/clipboard/Clipboard.d.ts +14 -16
- package/dist/components/clipboard/Clipboard.js +95 -95
- package/dist/components/clipboard/Clipboard.module.js +11 -13
- package/dist/components/clipboard/Clipboard_module.css +156 -0
- package/dist/components/clipboard/index.d.ts +1 -2
- package/dist/components/clipboard/index.js +1 -0
- package/dist/components/close-button/CloseButton.d.ts +8 -10
- package/dist/components/close-button/CloseButton.js +34 -34
- package/dist/components/close-button/CloseButton.module.js +5 -5
- package/dist/components/close-button/CloseButton_module.css +64 -0
- package/dist/components/close-button/index.d.ts +1 -0
- package/dist/components/close-button/index.js +1 -0
- package/dist/components/collapsible/Collapsible.d.ts +10 -12
- package/dist/components/collapsible/Collapsible.js +61 -61
- package/dist/components/collapsible/Collapsible.module.js +12 -12
- package/dist/components/collapsible/Collapsible_module.css +149 -0
- package/dist/components/collapsible/index.d.ts +1 -2
- package/dist/components/collapsible/index.js +1 -0
- package/dist/components/color-picker/ColorPicker.d.ts +36 -38
- package/dist/components/color-picker/ColorPicker.js +325 -293
- package/dist/components/color-picker/ColorPicker.module.js +33 -33
- package/dist/components/color-picker/ColorPicker_module.css +507 -0
- package/dist/components/color-picker/index.d.ts +1 -2
- package/dist/components/color-picker/index.js +1 -0
- package/dist/components/combobox/Combobox.d.ts +28 -29
- package/dist/components/combobox/Combobox.js +215 -193
- package/dist/components/combobox/Combobox.module.js +23 -22
- package/dist/components/combobox/Combobox_module.css +336 -0
- package/dist/components/combobox/index.d.ts +1 -2
- package/dist/components/combobox/index.js +1 -0
- package/dist/components/command-palette/CommandPalette.d.ts +52 -77
- package/dist/components/command-palette/CommandPalette.js +370 -351
- package/dist/components/command-palette/CommandPalette.module.js +41 -40
- package/dist/components/command-palette/CommandPalette_module.css +460 -0
- package/dist/components/command-palette/index.d.ts +1 -2
- package/dist/components/command-palette/index.js +1 -0
- package/dist/components/container/Container.d.ts +6 -8
- package/dist/components/container/Container.js +17 -17
- package/dist/components/container/Container.module.js +5 -5
- package/dist/components/container/Container_module.css +46 -0
- package/dist/components/container/index.d.ts +1 -0
- package/dist/components/container/index.js +1 -0
- package/dist/components/date-input/DateInput.d.ts +16 -24
- package/dist/components/date-input/DateInput.js +103 -89
- package/dist/components/date-input/DateInput.module.js +9 -11
- package/dist/components/date-input/DateInput_module.css +110 -0
- package/dist/components/date-input/index.d.ts +1 -2
- package/dist/components/date-input/index.js +1 -0
- package/dist/components/date-picker/DatePicker.d.ts +61 -62
- package/dist/components/date-picker/DatePicker.js +429 -367
- package/dist/components/date-picker/DatePicker.module.js +28 -28
- package/dist/components/date-picker/DatePicker_module.css +435 -0
- package/dist/components/date-picker/index.d.ts +1 -2
- package/dist/components/date-picker/index.js +1 -0
- package/dist/components/dialog/Dialog.d.ts +27 -45
- package/dist/components/dialog/Dialog.js +126 -114
- package/dist/components/dialog/Dialog.module.js +22 -20
- package/dist/components/dialog/Dialog_module.css +236 -0
- package/dist/components/dialog/index.d.ts +2 -2
- package/dist/components/dialog/index.js +1 -0
- package/dist/components/drawer/Drawer.d.ts +35 -55
- package/dist/components/drawer/Drawer.js +166 -161
- package/dist/components/drawer/Drawer.module.js +39 -31
- package/dist/components/drawer/Drawer_module.css +546 -0
- package/dist/components/drawer/index.d.ts +1 -2
- package/dist/components/drawer/index.js +1 -0
- package/dist/components/editable/Editable.d.ts +15 -23
- package/dist/components/editable/Editable.js +109 -102
- package/dist/components/editable/Editable.module.js +10 -12
- package/dist/components/editable/Editable_module.css +176 -0
- package/dist/components/editable/index.d.ts +1 -2
- package/dist/components/editable/index.js +1 -0
- package/dist/components/empty/Empty.d.ts +7 -9
- package/dist/components/empty/Empty.js +64 -66
- package/dist/components/empty/Empty.module.js +9 -11
- package/dist/components/empty/Empty_module.css +91 -0
- package/dist/components/empty/index.d.ts +1 -0
- package/dist/components/empty/index.js +1 -0
- package/dist/components/field/Field.d.ts +16 -25
- package/dist/components/field/Field.js +93 -93
- package/dist/components/field/Field.module.js +11 -13
- package/dist/components/field/Field_module.css +98 -0
- package/dist/components/field/index.d.ts +1 -2
- package/dist/components/field/index.js +1 -0
- package/dist/components/fieldset/Fieldset.d.ts +9 -11
- package/dist/components/fieldset/Fieldset.js +48 -48
- package/dist/components/fieldset/Fieldset.module.js +7 -9
- package/dist/components/fieldset/Fieldset_module.css +53 -0
- package/dist/components/fieldset/index.d.ts +1 -2
- package/dist/components/fieldset/index.js +1 -0
- package/dist/components/file-upload/FileUpload.d.ts +27 -42
- package/dist/components/file-upload/FileUpload.js +196 -176
- package/dist/components/file-upload/FileUpload.module.js +19 -21
- package/dist/components/file-upload/FileUpload_module.css +378 -0
- package/dist/components/file-upload/index.d.ts +1 -2
- package/dist/components/file-upload/index.js +1 -0
- package/dist/components/floating-panel/FloatingPanel.d.ts +32 -50
- package/dist/components/floating-panel/FloatingPanel.js +185 -176
- package/dist/components/floating-panel/FloatingPanel.module.js +19 -19
- package/dist/components/floating-panel/FloatingPanel_module.css +322 -0
- package/dist/components/floating-panel/index.d.ts +1 -2
- package/dist/components/floating-panel/index.js +1 -0
- package/dist/components/heading/Heading.d.ts +7 -9
- package/dist/components/heading/Heading.js +26 -26
- package/dist/components/heading/Heading.module.js +5 -5
- package/dist/components/heading/Heading_module.css +59 -0
- package/dist/components/heading/index.d.ts +1 -0
- package/dist/components/heading/index.js +1 -0
- package/dist/components/highlight/Highlight.d.ts +6 -12
- package/dist/components/highlight/Highlight.js +14 -14
- package/dist/components/highlight/Highlight.module.js +5 -5
- package/dist/components/highlight/Highlight_module.css +16 -0
- package/dist/components/highlight/index.d.ts +1 -2
- package/dist/components/highlight/index.js +1 -0
- package/dist/components/hover-card/HoverCard.d.ts +17 -28
- package/dist/components/hover-card/HoverCard.js +77 -72
- package/dist/components/hover-card/HoverCard.module.js +12 -12
- package/dist/components/hover-card/HoverCard_module.css +117 -0
- package/dist/components/hover-card/index.d.ts +1 -2
- package/dist/components/hover-card/index.js +1 -0
- package/dist/components/image/Image.d.ts +5 -11
- package/dist/components/image/Image.js +21 -23
- package/dist/components/image/Image.module.js +5 -5
- package/dist/components/image/Image_module.css +8 -0
- package/dist/components/image/index.d.ts +1 -2
- package/dist/components/image/index.js +1 -0
- package/dist/components/image-cropper/ImageCropper.d.ts +16 -19
- package/dist/components/image-cropper/ImageCropper.js +86 -86
- package/dist/components/image-cropper/ImageCropper.module.js +9 -11
- package/dist/components/image-cropper/ImageCropper_module.css +163 -0
- package/dist/components/image-cropper/index.d.ts +1 -2
- package/dist/components/image-cropper/index.js +1 -0
- package/dist/components/input/Input.d.ts +9 -12
- package/dist/components/input/Input.js +19 -18
- package/dist/components/input/Input.module.js +5 -5
- package/dist/components/input/Input_module.css +110 -0
- package/dist/components/input/index.d.ts +1 -2
- package/dist/components/input/index.js +1 -0
- package/dist/components/input-group/InputGroup.d.ts +21 -24
- package/dist/components/input-group/InputGroup.js +64 -66
- package/dist/components/input-group/InputGroup.module.js +8 -10
- package/dist/components/input-group/InputGroup_module.css +162 -0
- package/dist/components/input-group/index.d.ts +1 -2
- package/dist/components/input-group/index.js +1 -0
- package/dist/components/kbd/Kbd.d.ts +3 -5
- package/dist/components/kbd/Kbd.js +24 -26
- package/dist/components/kbd/Kbd.module.js +5 -7
- package/dist/components/kbd/Kbd_module.css +46 -0
- package/dist/components/kbd/index.d.ts +1 -0
- package/dist/components/kbd/index.js +1 -0
- package/dist/components/lightbox/Lightbox.d.ts +39 -63
- package/dist/components/lightbox/Lightbox.js +203 -194
- package/dist/components/lightbox/Lightbox.module.js +23 -21
- package/dist/components/lightbox/Lightbox_module.css +255 -0
- package/dist/components/lightbox/index.d.ts +2 -2
- package/dist/components/lightbox/index.js +1 -0
- package/dist/components/list/List.d.ts +10 -13
- package/dist/components/list/List.js +39 -41
- package/dist/components/list/List.module.js +5 -5
- package/dist/components/list/List_module.css +119 -0
- package/dist/components/list/index.d.ts +1 -2
- package/dist/components/list/index.js +1 -0
- package/dist/components/listbox/Listbox.d.ts +30 -46
- package/dist/components/listbox/Listbox.js +158 -156
- package/dist/components/listbox/Listbox.module.js +20 -22
- package/dist/components/listbox/Listbox_module.css +323 -0
- package/dist/components/listbox/index.d.ts +1 -2
- package/dist/components/listbox/index.js +1 -0
- package/dist/components/marquee/Marquee.d.ts +11 -13
- package/dist/components/marquee/Marquee.js +56 -57
- package/dist/components/marquee/Marquee.module.js +12 -12
- package/dist/components/marquee/Marquee_module.css +109 -0
- package/dist/components/marquee/index.d.ts +1 -2
- package/dist/components/marquee/index.js +1 -0
- package/dist/components/menu/Menu.d.ts +48 -78
- package/dist/components/menu/Menu.js +261 -223
- package/dist/components/menu/Menu.module.js +31 -32
- package/dist/components/menu/Menu_module.css +386 -0
- package/dist/components/menu/index.d.ts +1 -2
- package/dist/components/menu/index.js +1 -0
- package/dist/components/native-select/NativeSelect.d.ts +6 -9
- package/dist/components/native-select/NativeSelect.js +32 -29
- package/dist/components/native-select/NativeSelect.module.js +6 -8
- package/dist/components/native-select/NativeSelect_module.css +116 -0
- package/dist/components/native-select/index.d.ts +1 -2
- package/dist/components/native-select/index.js +1 -0
- package/dist/components/number-input/NumberInput.d.ts +16 -19
- package/dist/components/number-input/NumberInput.js +94 -95
- package/dist/components/number-input/NumberInput.module.js +11 -13
- package/dist/components/number-input/NumberInput_module.css +161 -0
- package/dist/components/number-input/index.d.ts +1 -2
- package/dist/components/number-input/index.js +1 -0
- package/dist/components/pagination/Pagination.d.ts +15 -18
- package/dist/components/pagination/Pagination.js +103 -94
- package/dist/components/pagination/Pagination.module.js +9 -11
- package/dist/components/pagination/Pagination_module.css +109 -0
- package/dist/components/pagination/index.d.ts +1 -2
- package/dist/components/pagination/index.js +1 -0
- package/dist/components/password-input/PasswordInput.d.ts +14 -16
- package/dist/components/password-input/PasswordInput.js +79 -74
- package/dist/components/password-input/PasswordInput.module.js +9 -11
- package/dist/components/password-input/PasswordInput_module.css +150 -0
- package/dist/components/password-input/index.d.ts +1 -2
- package/dist/components/password-input/index.js +1 -0
- package/dist/components/pin-input/PinInput.d.ts +16 -26
- package/dist/components/pin-input/PinInput.js +112 -81
- package/dist/components/pin-input/PinInput.module.js +8 -10
- package/dist/components/pin-input/PinInput_module.css +97 -0
- package/dist/components/pin-input/index.d.ts +1 -2
- package/dist/components/pin-input/index.js +1 -0
- package/dist/components/popover/Popover.d.ts +29 -49
- package/dist/components/popover/Popover.js +151 -145
- package/dist/components/popover/Popover.module.js +19 -19
- package/dist/components/popover/Popover_module.css +186 -0
- package/dist/components/popover/index.d.ts +1 -2
- package/dist/components/popover/index.js +1 -0
- package/dist/components/progress-circular/ProgressCircular.d.ts +17 -20
- package/dist/components/progress-circular/ProgressCircular.js +82 -81
- package/dist/components/progress-circular/ProgressCircular.module.js +12 -13
- package/dist/components/progress-circular/ProgressCircular_module.css +79 -0
- package/dist/components/progress-circular/index.d.ts +1 -2
- package/dist/components/progress-circular/index.js +1 -0
- package/dist/components/progress-linear/ProgressLinear.d.ts +13 -16
- package/dist/components/progress-linear/ProgressLinear.js +64 -66
- package/dist/components/progress-linear/ProgressLinear.module.js +13 -13
- package/dist/components/progress-linear/ProgressLinear_module.css +119 -0
- package/dist/components/progress-linear/index.d.ts +1 -2
- package/dist/components/progress-linear/index.js +1 -0
- package/dist/components/qr-code/QrCode.d.ts +10 -12
- package/dist/components/qr-code/QrCode.js +56 -56
- package/dist/components/qr-code/QrCode.module.js +8 -10
- package/dist/components/qr-code/QrCode_module.css +120 -0
- package/dist/components/qr-code/index.d.ts +1 -2
- package/dist/components/qr-code/index.js +1 -0
- package/dist/components/radio-group/RadioGroup.d.ts +20 -20
- package/dist/components/radio-group/RadioGroup.js +93 -78
- package/dist/components/radio-group/RadioGroup.module.js +9 -11
- package/dist/components/radio-group/RadioGroup_module.css +157 -0
- package/dist/components/radio-group/index.d.ts +2 -2
- package/dist/components/radio-group/index.js +1 -0
- package/dist/components/rating-group/RatingGroup.d.ts +20 -24
- package/dist/components/rating-group/RatingGroup.js +99 -84
- package/dist/components/rating-group/RatingGroup.module.js +10 -12
- package/dist/components/rating-group/RatingGroup_module.css +139 -0
- package/dist/components/rating-group/index.d.ts +2 -2
- package/dist/components/rating-group/index.js +1 -0
- package/dist/components/scroll-area/ScrollArea.d.ts +20 -21
- package/dist/components/scroll-area/ScrollArea.js +69 -69
- package/dist/components/scroll-area/ScrollArea.module.js +9 -11
- package/dist/components/scroll-area/ScrollArea_module.css +176 -0
- package/dist/components/scroll-area/index.d.ts +2 -2
- package/dist/components/scroll-area/index.js +1 -0
- package/dist/components/segment-group/SegmentGroup.d.ts +22 -23
- package/dist/components/segment-group/SegmentGroup.js +120 -77
- package/dist/components/segment-group/SegmentGroup.module.js +9 -11
- package/dist/components/segment-group/SegmentGroup_module.css +123 -0
- package/dist/components/segment-group/index.d.ts +1 -2
- package/dist/components/segment-group/index.js +1 -0
- package/dist/components/select/Select.d.ts +40 -57
- package/dist/components/select/Select.js +273 -242
- package/dist/components/select/Select.module.js +25 -26
- package/dist/components/select/Select_module.css +375 -0
- package/dist/components/select/index.d.ts +1 -2
- package/dist/components/select/index.js +1 -0
- package/dist/components/separator/Separator.d.ts +7 -9
- package/dist/components/separator/Separator.js +22 -22
- package/dist/components/separator/Separator.module.js +5 -5
- package/dist/components/separator/Separator_module.css +47 -0
- package/dist/components/separator/index.d.ts +1 -0
- package/dist/components/separator/index.js +1 -0
- package/dist/components/sidebar/Sidebar.d.ts +53 -67
- package/dist/components/sidebar/Sidebar.js +342 -329
- package/dist/components/sidebar/Sidebar.module.js +26 -28
- package/dist/components/sidebar/Sidebar_module.css +482 -0
- package/dist/components/sidebar/index.d.ts +1 -2
- package/dist/components/sidebar/index.js +1 -0
- package/dist/components/signature-pad/SignaturePad.d.ts +16 -19
- package/dist/components/signature-pad/SignaturePad.js +118 -105
- package/dist/components/signature-pad/SignaturePad.module.js +9 -11
- package/dist/components/signature-pad/SignaturePad_module.css +89 -0
- package/dist/components/signature-pad/index.d.ts +1 -2
- package/dist/components/signature-pad/index.js +1 -0
- package/dist/components/simple-grid/SimpleGrid.d.ts +9 -11
- package/dist/components/simple-grid/SimpleGrid.js +31 -27
- package/dist/components/simple-grid/index.d.ts +1 -0
- package/dist/components/simple-grid/index.js +1 -0
- package/dist/components/skeleton/Skeleton.d.ts +10 -12
- package/dist/components/skeleton/Skeleton.js +27 -27
- package/dist/components/skeleton/Skeleton.module.js +5 -5
- package/dist/components/skeleton/Skeleton_module.css +35 -0
- package/dist/components/skeleton/index.d.ts +1 -0
- package/dist/components/skeleton/index.js +1 -0
- package/dist/components/slider/Slider.d.ts +21 -26
- package/dist/components/slider/Slider.js +119 -110
- package/dist/components/slider/Slider.module.js +13 -15
- package/dist/components/slider/Slider_module.css +222 -0
- package/dist/components/slider/index.d.ts +1 -2
- package/dist/components/slider/index.js +1 -0
- package/dist/components/spinner/Spinner.d.ts +7 -9
- package/dist/components/spinner/Spinner.js +35 -35
- package/dist/components/spinner/Spinner.module.js +6 -8
- package/dist/components/spinner/Spinner_module.css +59 -0
- package/dist/components/spinner/index.d.ts +1 -0
- package/dist/components/spinner/index.js +1 -0
- package/dist/components/split-button/SplitButton.d.ts +20 -24
- package/dist/components/split-button/SplitButton.js +80 -81
- package/dist/components/split-button/SplitButton.module.js +6 -8
- package/dist/components/split-button/SplitButton_module.css +52 -0
- package/dist/components/split-button/index.d.ts +1 -2
- package/dist/components/split-button/index.js +1 -0
- package/dist/components/splitter/Splitter.d.ts +10 -11
- package/dist/components/splitter/Splitter.js +58 -59
- package/dist/components/splitter/Splitter.module.js +7 -9
- package/dist/components/splitter/Splitter_module.css +174 -0
- package/dist/components/splitter/index.d.ts +1 -2
- package/dist/components/splitter/index.js +1 -0
- package/dist/components/stack/Stack.d.ts +17 -20
- package/dist/components/stack/Stack.js +29 -29
- package/dist/components/stack/Stack.module.js +5 -5
- package/dist/components/stack/Stack_module.css +14 -0
- package/dist/components/stack/index.d.ts +1 -2
- package/dist/components/stack/index.js +1 -0
- package/dist/components/steps/Steps.d.ts +24 -19
- package/dist/components/steps/Steps.js +109 -108
- package/dist/components/steps/Steps.module.js +14 -16
- package/dist/components/steps/Steps_module.css +306 -0
- package/dist/components/steps/index.d.ts +1 -2
- package/dist/components/steps/index.js +1 -0
- package/dist/components/swap/Swap.d.ts +15 -10
- package/dist/components/swap/Swap.js +34 -33
- package/dist/components/swap/Swap.module.js +21 -10
- package/dist/components/swap/Swap_module.css +118 -0
- package/dist/components/swap/index.d.ts +1 -2
- package/dist/components/swap/index.js +1 -0
- package/dist/components/switch/Switch.d.ts +15 -17
- package/dist/components/switch/Switch.js +66 -60
- package/dist/components/switch/Switch.module.js +7 -9
- package/dist/components/switch/Switch_module.css +144 -0
- package/dist/components/switch/index.d.ts +2 -2
- package/dist/components/switch/index.js +1 -0
- package/dist/components/table/Table.d.ts +31 -33
- package/dist/components/table/Table.js +155 -157
- package/dist/components/table/Table.module.js +14 -16
- package/dist/components/table/Table_module.css +165 -0
- package/dist/components/table/index.d.ts +1 -0
- package/dist/components/table/index.js +1 -0
- package/dist/components/tabs/Tabs.d.ts +16 -18
- package/dist/components/tabs/Tabs.js +61 -59
- package/dist/components/tabs/Tabs.module.js +8 -10
- package/dist/components/tabs/Tabs_module.css +191 -0
- package/dist/components/tabs/index.d.ts +1 -2
- package/dist/components/tabs/index.js +1 -0
- package/dist/components/tag/Tag.d.ts +10 -12
- package/dist/components/tag/Tag.js +62 -64
- package/dist/components/tag/Tag.module.js +8 -10
- package/dist/components/tag/Tag_module.css +100 -0
- package/dist/components/tag/index.d.ts +1 -0
- package/dist/components/tag/index.js +1 -0
- package/dist/components/tags-input/TagsInput.d.ts +18 -21
- package/dist/components/tags-input/TagsInput.js +183 -133
- package/dist/components/tags-input/TagsInput.module.js +13 -15
- package/dist/components/tags-input/TagsInput_module.css +223 -0
- package/dist/components/tags-input/index.d.ts +1 -2
- package/dist/components/tags-input/index.js +1 -0
- package/dist/components/text/Text.d.ts +12 -14
- package/dist/components/text/Text.js +38 -37
- package/dist/components/text/Text.module.js +5 -5
- package/dist/components/text/Text_module.css +100 -0
- package/dist/components/text/index.d.ts +1 -0
- package/dist/components/text/index.js +1 -0
- package/dist/components/textarea/Textarea.d.ts +3 -6
- package/dist/components/textarea/Textarea.js +16 -18
- package/dist/components/textarea/Textarea.module.js +5 -5
- package/dist/components/textarea/Textarea_module.css +58 -0
- package/dist/components/textarea/index.d.ts +1 -2
- package/dist/components/textarea/index.js +1 -0
- package/dist/components/timer/Timer.d.ts +19 -25
- package/dist/components/timer/Timer.js +84 -71
- package/dist/components/timer/Timer.module.js +9 -11
- package/dist/components/timer/Timer_module.css +102 -0
- package/dist/components/timer/index.d.ts +1 -2
- package/dist/components/timer/index.js +1 -0
- package/dist/components/toast/Toast.d.ts +15 -17
- package/dist/components/toast/Toast.js +95 -89
- package/dist/components/toast/Toast.module.js +9 -11
- package/dist/components/toast/Toast_module.css +171 -0
- package/dist/components/toast/index.d.ts +1 -2
- package/dist/components/toast/index.js +1 -0
- package/dist/components/toggle/Toggle.d.ts +11 -13
- package/dist/components/toggle/Toggle.js +26 -27
- package/dist/components/toggle/Toggle.module.js +5 -7
- package/dist/components/toggle/Toggle_module.css +169 -0
- package/dist/components/toggle/index.d.ts +2 -2
- package/dist/components/toggle/index.js +1 -0
- package/dist/components/toggle-group/ToggleGroup.d.ts +18 -20
- package/dist/components/toggle-group/ToggleGroup.js +57 -57
- package/dist/components/toggle-group/ToggleGroup.module.js +5 -7
- package/dist/components/toggle-group/ToggleGroup_module.css +46 -0
- package/dist/components/toggle-group/index.d.ts +1 -2
- package/dist/components/toggle-group/index.js +1 -0
- package/dist/components/tooltip/Tooltip.d.ts +19 -28
- package/dist/components/tooltip/Tooltip.js +96 -71
- package/dist/components/tooltip/Tooltip.module.js +13 -12
- package/dist/components/tooltip/Tooltip_module.css +146 -0
- package/dist/components/tooltip/index.d.ts +1 -2
- package/dist/components/tooltip/index.js +1 -0
- package/dist/components/tour/Tour.d.ts +27 -34
- package/dist/components/tour/Tour.js +157 -136
- package/dist/components/tour/Tour.module.js +25 -22
- package/dist/components/tour/Tour_module.css +361 -0
- package/dist/components/tour/index.d.ts +1 -2
- package/dist/components/tour/index.js +1 -0
- package/dist/components/tree-view/TreeView.d.ts +37 -31
- package/dist/components/tree-view/TreeView.js +184 -164
- package/dist/components/tree-view/TreeView.module.js +27 -25
- package/dist/components/tree-view/TreeView_module.css +283 -0
- package/dist/components/tree-view/index.d.ts +1 -2
- package/dist/components/tree-view/index.js +1 -0
- package/dist/components/typeset/Typeset.d.ts +4 -6
- package/dist/components/typeset/Typeset.js +28 -26
- package/dist/components/typeset/Typeset.module.js +5 -7
- package/dist/components/typeset/Typeset_module.css +325 -0
- package/dist/components/typeset/index.d.ts +1 -0
- package/dist/components/typeset/index.js +1 -0
- package/dist/internal/icons/ui/Icons.d.ts +45 -0
- package/dist/internal/icons/ui/Icons.js +969 -0
- package/dist/internal/icons/ui/index.d.ts +1 -0
- package/dist/internal/icons/ui/index.js +1 -0
- package/dist/internal/normalizeClassName.d.ts +1 -0
- package/dist/internal/normalizeClassName.js +2 -0
- package/dist/internal/overlayPortal.d.ts +13 -0
- package/dist/internal/overlayPortal.js +20 -0
- package/dist/locale.d.ts +1 -0
- package/dist/locale.js +1 -0
- package/dist/presets/contrast.css +131 -0
- package/dist/presets/dense.css +144 -0
- package/dist/presets/soft.css +143 -0
- package/dist/styles/animations.css +63 -0
- package/dist/styles/borders.css +10 -0
- package/dist/styles/colors.css +206 -0
- package/dist/styles/opacity.css +6 -0
- package/dist/styles/radius.css +11 -0
- package/dist/{lib/moduix/styles → styles}/reset.css +54 -39
- package/dist/styles/shadows.css +6 -0
- package/dist/styles/sizing.css +8 -0
- package/dist/styles/spacing.css +24 -0
- package/dist/styles/style.css +14 -0
- package/dist/styles/transforms.css +5 -0
- package/dist/styles/transitions.css +28 -0
- package/dist/styles/typography.css +27 -0
- package/dist/styles/z-index.css +13 -0
- package/package.json +385 -25
- package/dist/components/accordion/Accordion.css +0 -197
- package/dist/components/alert/Alert.css +0 -122
- package/dist/components/angle-slider/AngleSlider.css +0 -192
- package/dist/components/aspect-ratio/AspectRatio.css +0 -16
- package/dist/components/avatar/Avatar.css +0 -75
- package/dist/components/badge/Badge.css +0 -110
- package/dist/components/bleed/Bleed.css +0 -51
- package/dist/components/breadcrumbs/Breadcrumbs.css +0 -97
- package/dist/components/button/Button.css +0 -213
- package/dist/components/card/Card.css +0 -164
- package/dist/components/carousel/Carousel.css +0 -200
- package/dist/components/checkbox/Checkbox.css +0 -135
- package/dist/components/clipboard/Clipboard.css +0 -145
- package/dist/components/close-button/CloseButton.css +0 -49
- package/dist/components/collapsible/Collapsible.css +0 -145
- package/dist/components/color-picker/ColorPicker.css +0 -469
- package/dist/components/combobox/Combobox.css +0 -331
- package/dist/components/command-palette/CommandPalette.css +0 -459
- package/dist/components/container/Container.css +0 -45
- package/dist/components/date-input/DateInput.css +0 -107
- package/dist/components/date-picker/DatePicker.css +0 -441
- package/dist/components/dialog/Dialog.css +0 -226
- package/dist/components/drawer/Drawer.css +0 -483
- package/dist/components/editable/Editable.css +0 -173
- package/dist/components/empty/Empty.css +0 -78
- package/dist/components/field/Field.css +0 -111
- package/dist/components/fieldset/Fieldset.css +0 -52
- package/dist/components/file-upload/FileUpload.css +0 -363
- package/dist/components/floating-panel/FloatingPanel.css +0 -323
- package/dist/components/heading/Heading.css +0 -58
- package/dist/components/highlight/Highlight.css +0 -15
- package/dist/components/hover-card/HoverCard.css +0 -111
- package/dist/components/image/Image.css +0 -7
- package/dist/components/image-cropper/ImageCropper.css +0 -151
- package/dist/components/input/Input.css +0 -83
- package/dist/components/input-group/InputGroup.css +0 -158
- package/dist/components/kbd/Kbd.css +0 -45
- package/dist/components/lightbox/Lightbox.css +0 -244
- package/dist/components/list/List.css +0 -118
- package/dist/components/listbox/Listbox.css +0 -316
- package/dist/components/marquee/Marquee.css +0 -114
- package/dist/components/menu/Menu.css +0 -380
- package/dist/components/native-select/NativeSelect.css +0 -109
- package/dist/components/number-input/NumberInput.css +0 -155
- package/dist/components/pagination/Pagination.css +0 -99
- package/dist/components/password-input/PasswordInput.css +0 -155
- package/dist/components/pin-input/PinInput.css +0 -96
- package/dist/components/popover/Popover.css +0 -172
- package/dist/components/progress-circular/ProgressCircular.css +0 -68
- package/dist/components/progress-linear/ProgressLinear.css +0 -106
- package/dist/components/qr-code/QrCode.css +0 -101
- package/dist/components/radio-group/RadioGroup.css +0 -147
- package/dist/components/rating-group/RatingGroup.css +0 -133
- package/dist/components/scroll-area/ScrollArea.css +0 -167
- package/dist/components/segment-group/SegmentGroup.css +0 -120
- package/dist/components/select/Select.css +0 -377
- package/dist/components/separator/Separator.css +0 -45
- package/dist/components/sidebar/Sidebar.css +0 -479
- package/dist/components/signature-pad/SignaturePad.css +0 -95
- package/dist/components/skeleton/Skeleton.css +0 -29
- package/dist/components/slider/Slider.css +0 -171
- package/dist/components/spinner/Spinner.css +0 -60
- package/dist/components/split-button/SplitButton.css +0 -51
- package/dist/components/splitter/Splitter.css +0 -175
- package/dist/components/stack/Stack.css +0 -13
- package/dist/components/steps/Steps.css +0 -284
- package/dist/components/swap/Swap.css +0 -45
- package/dist/components/switch/Switch.css +0 -130
- package/dist/components/table/Table.css +0 -162
- package/dist/components/tabs/Tabs.css +0 -188
- package/dist/components/tag/Tag.css +0 -98
- package/dist/components/tags-input/TagsInput.css +0 -212
- package/dist/components/text/Text.css +0 -87
- package/dist/components/textarea/Textarea.css +0 -56
- package/dist/components/timer/Timer.css +0 -95
- package/dist/components/toast/Toast.css +0 -155
- package/dist/components/toggle/Toggle.css +0 -167
- package/dist/components/toggle-group/ToggleGroup.css +0 -42
- package/dist/components/tooltip/Tooltip.css +0 -130
- package/dist/components/tour/Tour.css +0 -291
- package/dist/components/tree-view/TreeView.css +0 -264
- package/dist/components/typeset/Typeset.css +0 -317
- package/dist/index.d.ts +0 -86
- package/dist/index.js +0 -86
- package/dist/lib/moduix/icons/ui/Icons.d.ts +0 -7
- package/dist/lib/moduix/icons/ui/Icons.js +0 -532
- package/dist/lib/moduix/icons/ui/index.d.ts +0 -2
- package/dist/lib/moduix/normalizeClassName.js +0 -4
- package/dist/lib/moduix/overlayPortal.d.ts +0 -9
- package/dist/lib/moduix/overlayPortal.js +0 -21
- package/dist/lib/moduix/presets/contrast.css +0 -65
- package/dist/lib/moduix/presets/dense.css +0 -78
- package/dist/lib/moduix/presets/soft.css +0 -77
- package/dist/lib/moduix/styles/style.css +0 -301
- package/dist/presets/contrast.d.ts +0 -1
- package/dist/presets/contrast.js +0 -1
- package/dist/presets/dense.d.ts +0 -1
- package/dist/presets/dense.js +0 -1
- package/dist/presets/soft.d.ts +0 -1
- package/dist/presets/soft.js +0 -1
- package/dist/reset.d.ts +0 -1
- package/dist/reset.js +0 -1
- package/dist/style.d.ts +0 -1
- package/dist/style.js +0 -1
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
1
|
+
import "./ColorPicker_module.css";
|
|
2
|
+
const ColorPicker_module = {
|
|
3
|
+
root: "root-TExENm",
|
|
4
|
+
label: "label-_ln_Tp",
|
|
5
|
+
control: "control-s8Gz_s",
|
|
6
|
+
trigger: "trigger-o5tyg7",
|
|
7
|
+
positioner: "positioner-XKLqp5",
|
|
8
|
+
content: "content-z7zabu",
|
|
9
|
+
"color-picker-content-open": "color-picker-content-open-q3_ID4",
|
|
10
|
+
colorPickerContentOpen: "color-picker-content-open-q3_ID4",
|
|
11
|
+
"color-picker-content-closed": "color-picker-content-closed-KFhLyd",
|
|
12
|
+
colorPickerContentClosed: "color-picker-content-closed-KFhLyd",
|
|
13
|
+
area: "area-t8_R52",
|
|
14
|
+
areaBackground: "areaBackground-PkoUAT",
|
|
15
|
+
thumb: "thumb-H6MPip",
|
|
16
|
+
channelSlider: "channelSlider-AurwFW",
|
|
17
|
+
sliders: "sliders-sPeKpK",
|
|
18
|
+
channelSliderTrack: "channelSliderTrack-hKvFlr",
|
|
19
|
+
channelSliderLabel: "channelSliderLabel-hwLzBw",
|
|
20
|
+
channelSliderValueText: "channelSliderValueText-ZFMCO7",
|
|
21
|
+
channelInput: "channelInput-KxngYC",
|
|
22
|
+
formatSelect: "formatSelect-jD2i0e",
|
|
23
|
+
eyeDropperTrigger: "eyeDropperTrigger-jF9YiQ",
|
|
24
|
+
formatTrigger: "formatTrigger-pUu2zb",
|
|
25
|
+
swatchGroup: "swatchGroup-c99XUr",
|
|
26
|
+
swatchTrigger: "swatchTrigger-evVzC6",
|
|
27
|
+
swatch: "swatch-Wk05He",
|
|
28
|
+
swatchIndicator: "swatchIndicator-OSvsx1",
|
|
29
|
+
transparencyGrid: "transparencyGrid-kXaWYM",
|
|
30
|
+
valueSwatch: "valueSwatch-voiJSA",
|
|
31
|
+
valueText: "valueText-DP0Ni5",
|
|
32
|
+
view: "view-l5Ln0d"
|
|
32
33
|
};
|
|
33
|
-
|
|
34
|
-
export { ColorPicker_module_default as default };
|
|
34
|
+
export default ColorPicker_module;
|
|
@@ -0,0 +1,507 @@
|
|
|
1
|
+
@layer moduix.components {
|
|
2
|
+
@keyframes color-picker-content-open-q3_ID4 {
|
|
3
|
+
from {
|
|
4
|
+
opacity: var(--moduix-color-picker-content-closed-opacity, var(--moduix-popup-motion-starting-opacity, 0));
|
|
5
|
+
translate: var(--moduix-popup-motion-starting-translate-x, 0)
|
|
6
|
+
var(--moduix-popup-motion-starting-translate-y, 0);
|
|
7
|
+
transform: scale(var(--moduix-color-picker-content-closed-scale, var(--moduix-popup-motion-starting-scale, var(--moduix-scale-popup))));
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
to {
|
|
11
|
+
opacity: 1;
|
|
12
|
+
transform: scale(1);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@keyframes color-picker-content-closed-KFhLyd {
|
|
17
|
+
from {
|
|
18
|
+
opacity: 1;
|
|
19
|
+
transform: scale(1);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
to {
|
|
23
|
+
opacity: var(--moduix-color-picker-content-closed-opacity, var(--moduix-popup-motion-ending-opacity, 0));
|
|
24
|
+
translate: var(--moduix-popup-motion-ending-translate-x, 0)
|
|
25
|
+
var(--moduix-popup-motion-ending-translate-y, 0);
|
|
26
|
+
transform: scale(var(--moduix-color-picker-content-closed-scale, var(--moduix-popup-motion-ending-scale, var(--moduix-scale-popup))));
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.root-TExENm {
|
|
31
|
+
box-sizing: border-box;
|
|
32
|
+
width: var(--moduix-color-picker-width, 16rem);
|
|
33
|
+
max-width: var(--moduix-color-picker-max-width, 100%);
|
|
34
|
+
gap: var(--moduix-color-picker-root-gap, var(--moduix-spacing-2));
|
|
35
|
+
min-width: 0;
|
|
36
|
+
color: var(--moduix-color-picker-color, var(--moduix-color-foreground));
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
display: flex;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.root-TExENm[data-disabled] {
|
|
42
|
+
opacity: var(--moduix-color-picker-disabled-opacity, var(--moduix-opacity-disabled));
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.label-_ln_Tp {
|
|
46
|
+
color: var(--moduix-color-picker-label-color, var(--moduix-color-picker-color, var(--moduix-color-foreground)));
|
|
47
|
+
font-size: var(--moduix-color-picker-label-font-size, var(--moduix-text-sm));
|
|
48
|
+
font-weight: var(--moduix-color-picker-label-font-weight, var(--moduix-weight-medium));
|
|
49
|
+
line-height: var(--moduix-color-picker-label-line-height, var(--moduix-line-height-text-sm));
|
|
50
|
+
-webkit-user-select: none;
|
|
51
|
+
user-select: none;
|
|
52
|
+
align-items: center;
|
|
53
|
+
display: inline-flex;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.label-_ln_Tp[data-disabled] {
|
|
57
|
+
opacity: var(--moduix-color-picker-disabled-opacity, var(--moduix-opacity-disabled));
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.control-s8Gz_s {
|
|
61
|
+
align-items: center;
|
|
62
|
+
gap: var(--moduix-color-picker-control-gap, var(--moduix-spacing-2));
|
|
63
|
+
min-width: 0;
|
|
64
|
+
display: flex;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.control-s8Gz_s[data-disabled] {
|
|
68
|
+
opacity: var(--moduix-color-picker-disabled-opacity, var(--moduix-opacity-disabled));
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.trigger-o5tyg7 {
|
|
72
|
+
box-sizing: border-box;
|
|
73
|
+
width: var(--moduix-color-picker-trigger-size, var(--moduix-size-md));
|
|
74
|
+
height: var(--moduix-color-picker-trigger-size, var(--moduix-size-md));
|
|
75
|
+
border: var(--moduix-color-picker-border-width, var(--moduix-border-width-sm)) solid
|
|
76
|
+
var(--moduix-color-picker-border-color, var(--moduix-color-border));
|
|
77
|
+
border-radius: var(--moduix-color-picker-radius, var(--moduix-radius-md));
|
|
78
|
+
padding: var(--moduix-color-picker-trigger-padding, var(--moduix-spacing-1));
|
|
79
|
+
background: var(--moduix-color-picker-control-bg, var(--moduix-color-background));
|
|
80
|
+
color: var(--moduix-color-picker-color, var(--moduix-color-foreground));
|
|
81
|
+
outline: var(--moduix-color-picker-focus-ring-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm)))
|
|
82
|
+
solid transparent;
|
|
83
|
+
outline-offset: calc(var(--moduix-color-picker-focus-ring-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm))) *
|
|
84
|
+
-1);
|
|
85
|
+
cursor: pointer;
|
|
86
|
+
transition: border-color var(--moduix-color-picker-transition, var(--moduix-transition-default)),
|
|
87
|
+
outline-color var(--moduix-color-picker-transition, var(--moduix-transition-default)),
|
|
88
|
+
background-color var(--moduix-color-picker-transition, var(--moduix-transition-default));
|
|
89
|
+
flex-shrink: 0;
|
|
90
|
+
place-items: center;
|
|
91
|
+
margin: 0;
|
|
92
|
+
display: grid;
|
|
93
|
+
overflow: hidden;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.trigger-o5tyg7:is(:focus-visible, [data-focus]) {
|
|
97
|
+
border-color: var(--moduix-color-picker-focus-ring-color, var(--moduix-color-ring));
|
|
98
|
+
outline-color: var(--moduix-color-picker-focus-ring-color, var(--moduix-color-ring));
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.trigger-o5tyg7[data-invalid] {
|
|
102
|
+
border-color: var(--moduix-color-picker-invalid-color, var(--moduix-color-destructive));
|
|
103
|
+
outline-color: var(--moduix-color-picker-invalid-color, var(--moduix-color-destructive));
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.trigger-o5tyg7:is([disabled], [data-disabled], [data-readonly]) {
|
|
107
|
+
cursor: default;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.trigger-o5tyg7[data-fit-content] {
|
|
111
|
+
width: auto;
|
|
112
|
+
min-width: var(--moduix-color-picker-trigger-size, var(--moduix-size-md));
|
|
113
|
+
padding-inline: var(--moduix-color-picker-trigger-fit-content-padding-x, var(--moduix-spacing-3));
|
|
114
|
+
gap: var(--moduix-color-picker-trigger-fit-content-gap, var(--moduix-spacing-2));
|
|
115
|
+
display: inline-flex;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.trigger-o5tyg7[data-fit-content] [data-slot="color-picker-transparency-grid"], .trigger-o5tyg7[data-fit-content] [data-slot="color-picker-value-swatch"] {
|
|
119
|
+
width: var(--moduix-color-picker-trigger-fit-content-swatch-size, var(--moduix-spacing-4));
|
|
120
|
+
height: var(--moduix-color-picker-trigger-fit-content-swatch-size, var(--moduix-spacing-4));
|
|
121
|
+
flex-shrink: 0;
|
|
122
|
+
grid-area: auto;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.positioner-XKLqp5 {
|
|
126
|
+
z-index: var(--z-index);
|
|
127
|
+
outline: 0;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.content-z7zabu {
|
|
131
|
+
box-sizing: border-box;
|
|
132
|
+
z-index: calc(var(--moduix-z-popup) + var(--layer-index, 0));
|
|
133
|
+
width: var(--moduix-color-picker-content-width, 16rem);
|
|
134
|
+
max-width: var(--available-width);
|
|
135
|
+
max-height: min(var(--moduix-color-picker-content-max-height, 32rem), var(--available-height));
|
|
136
|
+
gap: var(--moduix-color-picker-content-gap, var(--moduix-spacing-3));
|
|
137
|
+
border: var(--moduix-color-picker-content-border-width, var(--moduix-border-width-sm)) solid
|
|
138
|
+
var(--moduix-color-picker-content-border-color, var(--moduix-color-border));
|
|
139
|
+
border-radius: var(--moduix-color-picker-content-radius, var(--moduix-color-picker-radius, var(--moduix-radius-md)));
|
|
140
|
+
padding: var(--moduix-color-picker-content-padding, var(--moduix-spacing-4));
|
|
141
|
+
background-color: var(--moduix-color-picker-content-bg, var(--moduix-color-popover));
|
|
142
|
+
box-shadow: var(--moduix-color-picker-content-shadow, var(--moduix-shadow-lg));
|
|
143
|
+
color: var(--moduix-color-picker-content-color, var(--moduix-color-popover-foreground));
|
|
144
|
+
transform-origin: var(--transform-origin);
|
|
145
|
+
overscroll-behavior: contain;
|
|
146
|
+
outline: 0;
|
|
147
|
+
flex-direction: column;
|
|
148
|
+
display: flex;
|
|
149
|
+
overflow: auto;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.content-z7zabu[data-state="open"] {
|
|
153
|
+
animation: color-picker-content-open-q3_ID4
|
|
154
|
+
var(--moduix-color-picker-transition, var(--moduix-popup-motion-duration, var(--moduix-duration-normal))
|
|
155
|
+
var(--moduix-popup-motion-easing, var(--moduix-ease-in-out)));
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.content-z7zabu[data-state="closed"] {
|
|
159
|
+
animation: color-picker-content-closed-KFhLyd
|
|
160
|
+
var(--moduix-color-picker-transition, var(--moduix-popup-motion-duration, var(--moduix-duration-normal))
|
|
161
|
+
var(--moduix-popup-motion-easing, var(--moduix-ease-in-out)));
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.area-t8_R52 {
|
|
165
|
+
box-sizing: border-box;
|
|
166
|
+
width: 100%;
|
|
167
|
+
height: var(--moduix-color-picker-area-height, 10rem);
|
|
168
|
+
border-radius: var(--moduix-color-picker-area-radius, var(--moduix-radius-md));
|
|
169
|
+
box-shadow: inset 0 0 0
|
|
170
|
+
var(--moduix-color-picker-area-border-width, var(--moduix-border-width-sm))
|
|
171
|
+
var(--moduix-color-picker-area-border-color, color-mix(in oklab, var(--moduix-color-border) 70%, transparent));
|
|
172
|
+
touch-action: none;
|
|
173
|
+
-webkit-user-select: none;
|
|
174
|
+
user-select: none;
|
|
175
|
+
position: relative;
|
|
176
|
+
overflow: hidden;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.area-t8_R52:is([data-disabled], [data-readonly]) {
|
|
180
|
+
cursor: default;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.areaBackground-PkoUAT {
|
|
184
|
+
border-radius: inherit;
|
|
185
|
+
width: 100%;
|
|
186
|
+
height: 100%;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.thumb-H6MPip {
|
|
190
|
+
box-sizing: border-box;
|
|
191
|
+
width: var(--moduix-color-picker-thumb-size, var(--moduix-spacing-4));
|
|
192
|
+
height: var(--moduix-color-picker-thumb-size, var(--moduix-spacing-4));
|
|
193
|
+
border-radius: var(--moduix-color-picker-thumb-radius, var(--moduix-radius-full));
|
|
194
|
+
background: var(--moduix-color-picker-thumb-bg, var(--moduix-color-background));
|
|
195
|
+
box-shadow: 0 0 0 var(--moduix-color-picker-thumb-inner-ring-width, var(--moduix-border-width-md))
|
|
196
|
+
var(--moduix-color-picker-thumb-inner-ring-color, var(--moduix-color-background)),
|
|
197
|
+
0 0 0 var(--moduix-color-picker-thumb-outer-ring-width, var(--moduix-border-width-lg))
|
|
198
|
+
var(--moduix-color-picker-thumb-outer-ring-color, #0000002e),
|
|
199
|
+
var(--moduix-color-picker-thumb-shadow, var(--moduix-shadow-sm));
|
|
200
|
+
outline: 0;
|
|
201
|
+
transform: translate(-50%, -50%);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
@supports (color: lab(0% 0 0)) {
|
|
205
|
+
.thumb-H6MPip {
|
|
206
|
+
box-shadow: 0 0 0 var(--moduix-color-picker-thumb-inner-ring-width, var(--moduix-border-width-md))
|
|
207
|
+
var(--moduix-color-picker-thumb-inner-ring-color, var(--moduix-color-background)),
|
|
208
|
+
0 0 0 var(--moduix-color-picker-thumb-outer-ring-width, var(--moduix-border-width-lg))
|
|
209
|
+
var(--moduix-color-picker-thumb-outer-ring-color, lab(0% 0 0 / .18)),
|
|
210
|
+
var(--moduix-color-picker-thumb-shadow, var(--moduix-shadow-sm));
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.thumb-H6MPip:focus-visible {
|
|
215
|
+
box-shadow: 0 0 0 var(--moduix-color-picker-thumb-inner-ring-width, var(--moduix-border-width-md))
|
|
216
|
+
var(--moduix-color-picker-thumb-inner-ring-color, var(--moduix-color-background)),
|
|
217
|
+
0 0 0 var(--moduix-color-picker-thumb-focus-ring-width, var(--moduix-border-width-lg))
|
|
218
|
+
var(--moduix-color-picker-focus-ring-color, var(--moduix-color-ring)),
|
|
219
|
+
var(--moduix-color-picker-thumb-shadow, var(--moduix-shadow-sm));
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.thumb-H6MPip[data-disabled] {
|
|
223
|
+
pointer-events: none;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.channelSlider-AurwFW {
|
|
227
|
+
box-sizing: border-box;
|
|
228
|
+
height: var(--moduix-color-picker-channel-slider-height, var(--moduix-spacing-3));
|
|
229
|
+
border-radius: var(--moduix-color-picker-channel-slider-radius, var(--moduix-radius-full));
|
|
230
|
+
touch-action: none;
|
|
231
|
+
-webkit-user-select: none;
|
|
232
|
+
user-select: none;
|
|
233
|
+
align-items: center;
|
|
234
|
+
display: flex;
|
|
235
|
+
position: relative;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.channelSlider-AurwFW[data-orientation="vertical"] {
|
|
239
|
+
width: var(--moduix-color-picker-channel-slider-height, var(--moduix-spacing-3));
|
|
240
|
+
height: var(--moduix-color-picker-channel-slider-vertical-height, 10rem);
|
|
241
|
+
justify-content: center;
|
|
242
|
+
align-items: stretch;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.sliders-sPeKpK {
|
|
246
|
+
gap: var(--moduix-color-picker-sliders-gap, var(--moduix-spacing-2));
|
|
247
|
+
flex-direction: column;
|
|
248
|
+
flex: 1;
|
|
249
|
+
min-width: 0;
|
|
250
|
+
display: flex;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.channelSliderTrack-hKvFlr {
|
|
254
|
+
width: 100%;
|
|
255
|
+
height: var(--moduix-color-picker-channel-slider-track-size, var(--moduix-spacing-3));
|
|
256
|
+
border-radius: inherit;
|
|
257
|
+
box-shadow: inset 0 0 0
|
|
258
|
+
var(--moduix-color-picker-channel-slider-border-width, var(--moduix-border-width-sm))
|
|
259
|
+
var(--moduix-color-picker-channel-slider-border-color, #00000024);
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
@supports (color: lab(0% 0 0)) {
|
|
263
|
+
.channelSliderTrack-hKvFlr {
|
|
264
|
+
box-shadow: inset 0 0 0
|
|
265
|
+
var(--moduix-color-picker-channel-slider-border-width, var(--moduix-border-width-sm))
|
|
266
|
+
var(--moduix-color-picker-channel-slider-border-color, lab(0% 0 0 / .14));
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.channelSliderTrack-hKvFlr[data-orientation="vertical"] {
|
|
271
|
+
width: var(--moduix-color-picker-channel-slider-track-size, var(--moduix-spacing-3));
|
|
272
|
+
height: 100%;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.channelSliderLabel-hwLzBw {
|
|
276
|
+
color: var(--moduix-color-picker-channel-slider-label-color, var(--moduix-color-picker-color, var(--moduix-color-foreground)));
|
|
277
|
+
font-size: var(--moduix-color-picker-channel-slider-label-font-size, var(--moduix-text-sm));
|
|
278
|
+
font-weight: var(--moduix-color-picker-channel-slider-label-font-weight, var(--moduix-weight-medium));
|
|
279
|
+
line-height: var(--moduix-color-picker-channel-slider-label-line-height, var(--moduix-line-height-text-sm));
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.channelSliderValueText-ZFMCO7 {
|
|
283
|
+
color: var(--moduix-color-picker-channel-slider-value-color, var(--moduix-color-muted-foreground));
|
|
284
|
+
font-size: var(--moduix-color-picker-channel-slider-value-font-size, var(--moduix-text-sm));
|
|
285
|
+
line-height: var(--moduix-color-picker-channel-slider-value-line-height, var(--moduix-line-height-text-sm));
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.channelInput-KxngYC, .formatSelect-jD2i0e {
|
|
289
|
+
box-sizing: border-box;
|
|
290
|
+
width: 100%;
|
|
291
|
+
min-width: 0;
|
|
292
|
+
height: var(--moduix-color-picker-input-height, var(--moduix-size-md));
|
|
293
|
+
border: var(--moduix-color-picker-border-width, var(--moduix-border-width-sm)) solid
|
|
294
|
+
var(--moduix-color-picker-border-color, var(--moduix-color-border));
|
|
295
|
+
border-radius: var(--moduix-color-picker-radius, var(--moduix-radius-md));
|
|
296
|
+
padding-inline: var(--moduix-color-picker-input-padding-x, var(--moduix-spacing-3));
|
|
297
|
+
background: var(--moduix-color-picker-control-bg, var(--moduix-color-background));
|
|
298
|
+
color: var(--moduix-color-picker-color, var(--moduix-color-foreground));
|
|
299
|
+
font: inherit;
|
|
300
|
+
font-size: var(--moduix-color-picker-input-font-size, var(--moduix-text-sm));
|
|
301
|
+
line-height: var(--moduix-color-picker-input-line-height, var(--moduix-line-height-text-sm));
|
|
302
|
+
outline: var(--moduix-color-picker-focus-ring-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm)))
|
|
303
|
+
solid transparent;
|
|
304
|
+
outline-offset: calc(var(--moduix-color-picker-focus-ring-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm))) *
|
|
305
|
+
-1);
|
|
306
|
+
transition: border-color var(--moduix-color-picker-transition, var(--moduix-transition-default)),
|
|
307
|
+
outline-color var(--moduix-color-picker-transition, var(--moduix-transition-default));
|
|
308
|
+
appearance: textfield;
|
|
309
|
+
margin: 0;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
:is(.channelInput-KxngYC, .formatSelect-jD2i0e):is(:focus, :focus-visible) {
|
|
313
|
+
border-color: var(--moduix-color-picker-focus-ring-color, var(--moduix-color-ring));
|
|
314
|
+
outline-color: var(--moduix-color-picker-focus-ring-color, var(--moduix-color-ring));
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
:is(.channelInput-KxngYC, .formatSelect-jD2i0e)[data-invalid] {
|
|
318
|
+
border-color: var(--moduix-color-picker-invalid-color, var(--moduix-color-destructive));
|
|
319
|
+
outline-color: var(--moduix-color-picker-invalid-color, var(--moduix-color-destructive));
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
:is(.channelInput-KxngYC, .formatSelect-jD2i0e)[data-disabled] {
|
|
323
|
+
opacity: var(--moduix-color-picker-disabled-opacity, var(--moduix-opacity-disabled));
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
:is(.channelInput-KxngYC, .formatSelect-jD2i0e)::-webkit-outer-spin-button {
|
|
327
|
+
appearance: none;
|
|
328
|
+
margin: 0;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
:is(.channelInput-KxngYC, .formatSelect-jD2i0e)::-webkit-inner-spin-button {
|
|
332
|
+
appearance: none;
|
|
333
|
+
margin: 0;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.channelInput-KxngYC {
|
|
337
|
+
flex: 1;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.channelInput-KxngYC[data-channel="alpha"] {
|
|
341
|
+
width: var(--moduix-color-picker-alpha-input-width, 4rem);
|
|
342
|
+
flex: 0 0 var(--moduix-color-picker-alpha-input-width, 4rem);
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.formatSelect-jD2i0e {
|
|
346
|
+
cursor: pointer;
|
|
347
|
+
width: auto;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.eyeDropperTrigger-jF9YiQ, .formatTrigger-pUu2zb {
|
|
351
|
+
box-sizing: border-box;
|
|
352
|
+
height: var(--moduix-color-picker-action-size, var(--moduix-size-md));
|
|
353
|
+
min-width: var(--moduix-color-picker-action-size, var(--moduix-size-md));
|
|
354
|
+
justify-content: center;
|
|
355
|
+
align-items: center;
|
|
356
|
+
gap: var(--moduix-color-picker-action-gap, var(--moduix-spacing-2));
|
|
357
|
+
border: var(--moduix-color-picker-border-width, var(--moduix-border-width-sm)) solid
|
|
358
|
+
var(--moduix-color-picker-border-color, var(--moduix-color-border));
|
|
359
|
+
border-radius: var(--moduix-color-picker-radius, var(--moduix-radius-md));
|
|
360
|
+
padding-inline: var(--moduix-color-picker-action-padding-x, var(--moduix-spacing-2));
|
|
361
|
+
background: var(--moduix-color-picker-action-bg, transparent);
|
|
362
|
+
color: var(--moduix-color-picker-action-color, var(--moduix-color-muted-foreground));
|
|
363
|
+
font: inherit;
|
|
364
|
+
font-size: var(--moduix-color-picker-action-font-size, var(--moduix-text-sm));
|
|
365
|
+
line-height: var(--moduix-color-picker-action-line-height, var(--moduix-line-height-text-sm));
|
|
366
|
+
outline: var(--moduix-color-picker-focus-ring-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm)))
|
|
367
|
+
solid transparent;
|
|
368
|
+
outline-offset: calc(var(--moduix-color-picker-focus-ring-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm))) *
|
|
369
|
+
-1);
|
|
370
|
+
cursor: pointer;
|
|
371
|
+
transition: border-color var(--moduix-color-picker-transition, var(--moduix-transition-default)),
|
|
372
|
+
outline-color var(--moduix-color-picker-transition, var(--moduix-transition-default)),
|
|
373
|
+
background-color var(--moduix-color-picker-transition, var(--moduix-transition-default)),
|
|
374
|
+
color var(--moduix-color-picker-transition, var(--moduix-transition-default));
|
|
375
|
+
flex-shrink: 0;
|
|
376
|
+
margin: 0;
|
|
377
|
+
display: inline-flex;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
:is(.eyeDropperTrigger-jF9YiQ, .formatTrigger-pUu2zb) > svg {
|
|
381
|
+
width: var(--moduix-color-picker-icon-size, var(--moduix-spacing-4));
|
|
382
|
+
height: var(--moduix-color-picker-icon-size, var(--moduix-spacing-4));
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
:is(.eyeDropperTrigger-jF9YiQ, .formatTrigger-pUu2zb):is(:focus-visible, [data-focus]) {
|
|
386
|
+
border-color: var(--moduix-color-picker-focus-ring-color, var(--moduix-color-ring));
|
|
387
|
+
outline-color: var(--moduix-color-picker-focus-ring-color, var(--moduix-color-ring));
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
@media (hover: hover) {
|
|
391
|
+
:is(.eyeDropperTrigger-jF9YiQ, .formatTrigger-pUu2zb):not(:is([disabled], [data-disabled], [data-readonly])):hover {
|
|
392
|
+
background-color: var(--moduix-color-picker-action-bg-hover, var(--moduix-color-muted));
|
|
393
|
+
color: var(--moduix-color-picker-action-color-hover, var(--moduix-color-foreground));
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
:is(.eyeDropperTrigger-jF9YiQ, .formatTrigger-pUu2zb):is([disabled], [data-disabled], [data-readonly]) {
|
|
398
|
+
cursor: default;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.swatchGroup-c99XUr {
|
|
402
|
+
gap: var(--moduix-color-picker-swatch-gap, var(--moduix-spacing-2));
|
|
403
|
+
flex-wrap: wrap;
|
|
404
|
+
display: flex;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.swatchTrigger-evVzC6 {
|
|
408
|
+
border-radius: var(--moduix-color-picker-swatch-radius, var(--moduix-radius-sm));
|
|
409
|
+
cursor: pointer;
|
|
410
|
+
background: none;
|
|
411
|
+
border: 0;
|
|
412
|
+
outline: 0;
|
|
413
|
+
justify-content: center;
|
|
414
|
+
align-items: center;
|
|
415
|
+
margin: 0;
|
|
416
|
+
padding: 0;
|
|
417
|
+
display: inline-flex;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.swatchTrigger-evVzC6:focus-visible {
|
|
421
|
+
box-shadow: 0 0 0
|
|
422
|
+
var(--moduix-color-picker-focus-ring-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm)))
|
|
423
|
+
var(--moduix-color-picker-focus-ring-color, var(--moduix-color-ring));
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.swatchTrigger-evVzC6[data-disabled] {
|
|
427
|
+
cursor: default;
|
|
428
|
+
opacity: var(--moduix-color-picker-disabled-opacity, var(--moduix-opacity-disabled));
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.swatch-Wk05He {
|
|
432
|
+
box-sizing: border-box;
|
|
433
|
+
width: var(--moduix-color-picker-swatch-size, var(--moduix-size-sm));
|
|
434
|
+
height: var(--moduix-color-picker-swatch-size, var(--moduix-size-sm));
|
|
435
|
+
border-radius: inherit;
|
|
436
|
+
box-shadow: inset 0 0 0
|
|
437
|
+
var(--moduix-color-picker-swatch-border-width, var(--moduix-border-width-sm))
|
|
438
|
+
var(--moduix-color-picker-swatch-border-color, #00000024);
|
|
439
|
+
flex-shrink: 0;
|
|
440
|
+
place-items: center;
|
|
441
|
+
display: grid;
|
|
442
|
+
position: relative;
|
|
443
|
+
overflow: hidden;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
@supports (color: lab(0% 0 0)) {
|
|
447
|
+
.swatch-Wk05He {
|
|
448
|
+
box-shadow: inset 0 0 0
|
|
449
|
+
var(--moduix-color-picker-swatch-border-width, var(--moduix-border-width-sm))
|
|
450
|
+
var(--moduix-color-picker-swatch-border-color, lab(0% 0 0 / .14));
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
.swatchIndicator-OSvsx1 {
|
|
455
|
+
color: var(--moduix-color-picker-swatch-indicator-color, white);
|
|
456
|
+
filter: var(--moduix-color-picker-swatch-indicator-shadow, drop-shadow(0 1px 1px #00000073));
|
|
457
|
+
pointer-events: none;
|
|
458
|
+
justify-content: center;
|
|
459
|
+
align-items: center;
|
|
460
|
+
display: none;
|
|
461
|
+
position: absolute;
|
|
462
|
+
inset: 0;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.swatchIndicator-OSvsx1 > svg {
|
|
466
|
+
width: var(--moduix-color-picker-swatch-indicator-size, var(--moduix-spacing-4));
|
|
467
|
+
height: var(--moduix-color-picker-swatch-indicator-size, var(--moduix-spacing-4));
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
[data-state="checked"] > .swatchIndicator-OSvsx1, .swatchIndicator-OSvsx1[data-state="checked"] {
|
|
471
|
+
display: inline-flex;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.transparencyGrid-kXaWYM {
|
|
475
|
+
border-radius: inherit;
|
|
476
|
+
grid-area: 1 / 1;
|
|
477
|
+
width: 100%;
|
|
478
|
+
height: 100%;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
.valueSwatch-voiJSA {
|
|
482
|
+
border-radius: inherit;
|
|
483
|
+
z-index: 1;
|
|
484
|
+
grid-area: 1 / 1;
|
|
485
|
+
width: 100%;
|
|
486
|
+
height: 100%;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
.valueText-DP0Ni5 {
|
|
490
|
+
min-width: 0;
|
|
491
|
+
color: var(--moduix-color-picker-value-text-color, var(--moduix-color-picker-color, var(--moduix-color-foreground)));
|
|
492
|
+
font-size: var(--moduix-color-picker-value-text-font-size, var(--moduix-text-sm));
|
|
493
|
+
line-height: var(--moduix-color-picker-value-text-line-height, var(--moduix-line-height-text-sm));
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
.view-l5Ln0d {
|
|
497
|
+
gap: var(--moduix-color-picker-view-gap, var(--moduix-spacing-2));
|
|
498
|
+
flex-direction: column;
|
|
499
|
+
min-width: 0;
|
|
500
|
+
display: flex;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.view-l5Ln0d[hidden] {
|
|
504
|
+
display: none;
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { ColorPicker, parseColor, useColorPicker, useColorPickerContext };
|
|
1
|
+
export * from './ColorPicker.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ColorPicker.js";
|
|
@@ -1,31 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ComponentProps, ReactNode } from
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
indicator?: ReactNode | false;
|
|
1
|
+
import { Combobox as ComboboxPrimitive, useCombobox, useComboboxContext, useComboboxItemContext } from '@ark-ui/react/combobox';
|
|
2
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
3
|
+
import { type OverlayPortalProps } from '../../internal/overlayPortal';
|
|
4
|
+
type ComboboxOptionProps = Omit<ComponentProps<typeof ComboboxPrimitive.Item>, 'asChild' | 'children'> & {
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
indicator?: ReactNode | false;
|
|
9
7
|
};
|
|
10
|
-
declare const Combobox
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
8
|
+
declare const Combobox: ComboboxPrimitive.RootComponent<OverlayPortalProps> & {
|
|
9
|
+
Root: ComboboxPrimitive.RootComponent<OverlayPortalProps>;
|
|
10
|
+
RootProvider: ComboboxPrimitive.RootProviderComponent<OverlayPortalProps>;
|
|
11
|
+
Label: import("react").ForwardRefExoticComponent<Omit<ComboboxPrimitive.LabelProps & import("react").RefAttributes<HTMLLabelElement>, "ref"> & import("react").RefAttributes<HTMLLabelElement>>;
|
|
12
|
+
Control: import("react").ForwardRefExoticComponent<Omit<ComboboxPrimitive.ControlProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
13
|
+
Input: import("react").ForwardRefExoticComponent<Omit<ComboboxPrimitive.InputProps & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
14
|
+
ClearTrigger: import("react").ForwardRefExoticComponent<Omit<ComboboxPrimitive.ClearTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
15
|
+
Trigger: import("react").ForwardRefExoticComponent<Omit<ComboboxPrimitive.TriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
16
|
+
Positioner: import("react").ForwardRefExoticComponent<Omit<ComboboxPrimitive.PositionerProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
17
|
+
Content: import("react").ForwardRefExoticComponent<Omit<ComboboxPrimitive.ContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
18
|
+
Empty: import("react").ForwardRefExoticComponent<Omit<ComboboxPrimitive.EmptyProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
19
|
+
Status: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
20
|
+
List: import("react").ForwardRefExoticComponent<Omit<ComboboxPrimitive.ListProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
21
|
+
ItemGroup: import("react").ForwardRefExoticComponent<Omit<ComboboxPrimitive.ItemGroupProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
22
|
+
ItemGroupLabel: import("react").ForwardRefExoticComponent<Omit<ComboboxPrimitive.ItemGroupLabelProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
23
|
+
Item: import("react").ForwardRefExoticComponent<Omit<ComboboxPrimitive.ItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
24
|
+
ItemText: import("react").ForwardRefExoticComponent<Omit<ComboboxPrimitive.ItemTextProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
25
|
+
ItemIndicator: import("react").ForwardRefExoticComponent<Omit<ComboboxPrimitive.ItemIndicatorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
26
|
+
Option: import("react").ForwardRefExoticComponent<Omit<ComboboxOptionProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
27
|
+
Context: <T extends unknown>(props: ComboboxPrimitive.ContextProps<T>) => ReactNode;
|
|
28
|
+
ItemContext: (props: ComboboxPrimitive.ItemContextProps) => ReactNode;
|
|
29
29
|
};
|
|
30
|
-
|
|
31
|
-
export { Combobox$1 as Combobox, useCombobox, useComboboxContext };
|
|
30
|
+
export { Combobox, useCombobox, useComboboxContext, useComboboxItemContext };
|