@moduix/react 2.2.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 +15 -2
- 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.css → Accordion_module.css} +76 -70
- 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.css → Alert_module.css} +58 -57
- 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.css → AspectRatio_module.css} +7 -6
- 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.css → Avatar_module.css} +31 -29
- 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.css → Breadcrumbs_module.css} +30 -22
- 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.css → Card_module.css} +77 -72
- 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.css → Checkbox_module.css} +46 -44
- 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.css → Clipboard_module.css} +41 -39
- 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.css → Collapsible_module.css} +50 -48
- 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.css → ColorPicker_module.css} +176 -142
- 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.css → Combobox_module.css} +92 -90
- 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 -39
- package/dist/components/command-palette/{CommandPalette.css → CommandPalette_module.css} +118 -112
- 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.css → DateInput_module.css} +41 -39
- 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.css → DatePicker_module.css} +119 -127
- 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.css → Dialog_module.css} +72 -67
- 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.css → Editable_module.css} +59 -58
- 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.css → Empty_module.css} +31 -18
- 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.css → Field_module.css} +28 -41
- 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.css → Fieldset_module.css} +13 -12
- 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.css → FileUpload_module.css} +113 -101
- 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.css → FloatingPanel_module.css} +124 -129
- 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.css → Highlight_module.css} +2 -1
- 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.css → HoverCard_module.css} +34 -30
- 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.css → Image_module.css} +2 -1
- 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.css → ImageCropper_module.css} +56 -47
- 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.css → Kbd_module.css} +7 -6
- 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.css → Lightbox_module.css} +108 -100
- 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.css → Listbox_module.css} +93 -89
- 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.css → Menu_module.css} +121 -116
- 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.css → NativeSelect_module.css} +38 -32
- 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.css → NumberInput_module.css} +52 -49
- 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.css → Pagination_module.css} +41 -32
- 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.css → PasswordInput_module.css} +49 -55
- 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.css → PinInput_module.css} +32 -31
- 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.css → Popover_module.css} +49 -39
- 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.css → ProgressCircular_module.css} +27 -16
- 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.css → ProgressLinear_module.css} +49 -37
- 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.css → QrCode_module.css} +25 -10
- 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.css → SegmentGroup_module.css} +44 -41
- 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 -52
- package/dist/components/select/Select.js +273 -234
- package/dist/components/select/Select.module.js +25 -25
- package/dist/components/select/{Select.css → Select_module.css} +98 -92
- 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.css → Sidebar_module.css} +181 -178
- 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.css → SignaturePad_module.css} +20 -26
- 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.css → Slider_module.css} +117 -66
- 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.css → Spinner_module.css} +13 -14
- 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.css → SplitButton_module.css} +10 -9
- 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.css → Splitter_module.css} +68 -70
- 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.css → Stack_module.css} +4 -3
- 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.css → Steps_module.css} +138 -116
- 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.css → Switch_module.css} +52 -40
- 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.css → Table_module.css} +55 -54
- 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.css → Tabs_module.css} +85 -84
- 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.css → Tag_module.css} +41 -39
- 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.css → TagsInput_module.css} +69 -64
- 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.css → Textarea_module.css} +11 -10
- 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.css → Timer_module.css} +33 -27
- 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.css → Toast_module.css} +40 -39
- 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.css → ToggleGroup_module.css} +22 -18
- 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.css → Tooltip_module.css} +44 -31
- 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.css → Tour_module.css} +164 -98
- 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.css → TreeView_module.css} +90 -73
- 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 +53 -38
- 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/angle-slider/AngleSlider.css +0 -193
- package/dist/components/badge/Badge.css +0 -110
- package/dist/components/bleed/Bleed.css +0 -51
- package/dist/components/button/Button.css +0 -216
- package/dist/components/carousel/Carousel.css +0 -200
- package/dist/components/close-button/CloseButton.css +0 -49
- package/dist/components/container/Container.css +0 -45
- package/dist/components/drawer/Drawer.css +0 -501
- package/dist/components/heading/Heading.css +0 -58
- package/dist/components/input/Input.css +0 -84
- package/dist/components/input-group/InputGroup.css +0 -159
- package/dist/components/list/List.css +0 -118
- package/dist/components/marquee/Marquee.css +0 -114
- 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/separator/Separator.css +0 -45
- package/dist/components/skeleton/Skeleton.css +0 -31
- package/dist/components/swap/Swap.css +0 -45
- package/dist/components/text/Text.css +0 -87
- package/dist/components/toggle/Toggle.css +0 -167
- 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 -64
- package/dist/lib/moduix/presets/dense.css +0 -77
- package/dist/lib/moduix/presets/soft.css +0 -76
- package/dist/lib/moduix/styles/style.css +0 -305
- 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,40 +1,42 @@
|
|
|
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
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
1
|
+
import "./CommandPalette_module.css";
|
|
2
|
+
const CommandPalette_module = {
|
|
3
|
+
trigger: "trigger-A2LbwA",
|
|
4
|
+
backdrop: "backdrop-Y8_IJU",
|
|
5
|
+
"command-palette-backdrop-in": "command-palette-backdrop-in-Ek7l_5",
|
|
6
|
+
commandPaletteBackdropIn: "command-palette-backdrop-in-Ek7l_5",
|
|
7
|
+
"command-palette-backdrop-out": "command-palette-backdrop-out-VddYcZ",
|
|
8
|
+
commandPaletteBackdropOut: "command-palette-backdrop-out-VddYcZ",
|
|
9
|
+
positioner: "positioner-zclaSi",
|
|
10
|
+
content: "content-EVNfnh",
|
|
11
|
+
"command-palette-content-in": "command-palette-content-in-H3MDBP",
|
|
12
|
+
commandPaletteContentIn: "command-palette-content-in-H3MDBP",
|
|
13
|
+
"command-palette-content-out": "command-palette-content-out-DB_hNm",
|
|
14
|
+
commandPaletteContentOut: "command-palette-content-out-DB_hNm",
|
|
15
|
+
header: "header-DzsYPc",
|
|
16
|
+
title: "title-_2PBZ4",
|
|
17
|
+
description: "description-iLzHFD",
|
|
18
|
+
clearTrigger: "clearTrigger-n6fuk6",
|
|
19
|
+
body: "body-rUeEOS",
|
|
20
|
+
combobox: "combobox-d2AD5U",
|
|
21
|
+
control: "control-CmJJhf",
|
|
22
|
+
input: "input-drywue",
|
|
23
|
+
empty: "empty-h08cM3",
|
|
24
|
+
list: "list-SIDFoj",
|
|
25
|
+
scrollArea: "scrollArea-ncZoUD",
|
|
26
|
+
scrollViewport: "scrollViewport-Fh34Bl",
|
|
27
|
+
scrollContent: "scrollContent-Xew5ld",
|
|
28
|
+
scrollbar: "scrollbar-hnOYgf",
|
|
29
|
+
itemGroup: "itemGroup-glHNMl",
|
|
30
|
+
itemGroupLabel: "itemGroupLabel-JWv82S",
|
|
31
|
+
item: "item-UA3NPh",
|
|
32
|
+
itemIcon: "itemIcon-EO6ViN",
|
|
33
|
+
itemIndicator: "itemIndicator-nhPwW2",
|
|
34
|
+
itemText: "itemText-GJOzaT",
|
|
35
|
+
itemLabel: "itemLabel-moAIzY",
|
|
36
|
+
itemDescription: "itemDescription-V6o1s7",
|
|
37
|
+
itemMeta: "itemMeta-iyRBoc",
|
|
38
|
+
separator: "separator-TPz3wl",
|
|
39
|
+
footer: "footer-_H5dy8",
|
|
40
|
+
kbd: "kbd-cxY4sj"
|
|
38
41
|
};
|
|
39
|
-
|
|
40
|
-
export { CommandPalette_module_default as default };
|
|
42
|
+
export default CommandPalette_module;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@layer moduix.components {
|
|
2
|
-
.
|
|
2
|
+
.trigger-A2LbwA {
|
|
3
3
|
box-sizing: border-box;
|
|
4
4
|
justify-content: center;
|
|
5
5
|
align-items: center;
|
|
@@ -16,50 +16,52 @@
|
|
|
16
16
|
font-size: var(--moduix-command-palette-trigger-font-size, var(--moduix-text-md));
|
|
17
17
|
line-height: var(--moduix-command-palette-trigger-line-height, var(--moduix-line-height-text-md));
|
|
18
18
|
cursor: pointer;
|
|
19
|
+
-webkit-user-select: none;
|
|
19
20
|
user-select: none;
|
|
20
21
|
transition: background-color var(--moduix-transition-default),
|
|
21
22
|
border-color var(--moduix-transition-default),
|
|
22
23
|
color var(--moduix-transition-default);
|
|
23
24
|
margin: 0;
|
|
24
25
|
display: inline-flex;
|
|
26
|
+
}
|
|
25
27
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
28
|
+
@media (hover: hover) {
|
|
29
|
+
.trigger-A2LbwA:hover {
|
|
30
|
+
background-color: var(--moduix-command-palette-trigger-bg-hover, var(--moduix-color-accent));
|
|
30
31
|
}
|
|
32
|
+
}
|
|
31
33
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
+
.trigger-A2LbwA:focus-visible {
|
|
35
|
+
outline: var(--moduix-command-palette-focus-ring-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm)))
|
|
34
36
|
solid var(--moduix-command-palette-focus-ring-color, var(--moduix-color-ring));
|
|
35
|
-
|
|
37
|
+
outline-offset: calc(var(--moduix-command-palette-focus-ring-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm))) *
|
|
36
38
|
-1);
|
|
37
|
-
}
|
|
38
39
|
}
|
|
39
40
|
|
|
40
|
-
.
|
|
41
|
-
z-index: var(--moduix-z-backdrop);
|
|
41
|
+
.backdrop-Y8_IJU {
|
|
42
|
+
z-index: calc(var(--moduix-z-backdrop) + var(--layer-index, 0));
|
|
42
43
|
background-color: var(--moduix-command-palette-backdrop-bg, var(--moduix-backdrop-bg, var(--moduix-color-overlay)));
|
|
43
44
|
min-height: 100dvh;
|
|
45
|
+
-webkit-backdrop-filter: var(--moduix-backdrop-filter, blur(var(--moduix-command-palette-backdrop-blur, 4px)));
|
|
44
46
|
backdrop-filter: var(--moduix-backdrop-filter, blur(var(--moduix-command-palette-backdrop-blur, 4px)));
|
|
45
47
|
position: fixed;
|
|
46
48
|
inset: 0;
|
|
49
|
+
}
|
|
47
50
|
|
|
48
|
-
|
|
49
|
-
|
|
51
|
+
.backdrop-Y8_IJU[data-state="open"] {
|
|
52
|
+
animation: command-palette-backdrop-in-Ek7l_5
|
|
50
53
|
var(--moduix-command-palette-backdrop-transition, var(--moduix-transition-default));
|
|
51
|
-
|
|
54
|
+
}
|
|
52
55
|
|
|
53
|
-
|
|
54
|
-
|
|
56
|
+
.backdrop-Y8_IJU[data-state="closed"] {
|
|
57
|
+
animation: command-palette-backdrop-out-VddYcZ
|
|
55
58
|
var(--moduix-command-palette-backdrop-transition, var(--moduix-transition-default));
|
|
56
|
-
|
|
57
|
-
}
|
|
59
|
+
animation-fill-mode: forwards;
|
|
58
60
|
}
|
|
59
61
|
|
|
60
|
-
.
|
|
62
|
+
.positioner-zclaSi {
|
|
61
63
|
box-sizing: border-box;
|
|
62
|
-
z-index: var(--moduix-z-modal);
|
|
64
|
+
z-index: calc(var(--moduix-z-modal) + var(--layer-index, 0));
|
|
63
65
|
overscroll-behavior: contain;
|
|
64
66
|
padding: var(--moduix-command-palette-positioner-padding, 10dvh var(--moduix-spacing-4) var(--moduix-spacing-4));
|
|
65
67
|
place-items: start center;
|
|
@@ -69,7 +71,7 @@
|
|
|
69
71
|
overflow: hidden;
|
|
70
72
|
}
|
|
71
73
|
|
|
72
|
-
.
|
|
74
|
+
.content-EVNfnh {
|
|
73
75
|
box-sizing: border-box;
|
|
74
76
|
width: min(var(--moduix-command-palette-width, 37.5rem),
|
|
75
77
|
var(--moduix-command-palette-max-width, calc(100vw - var(--moduix-spacing-8, 2rem))));
|
|
@@ -87,29 +89,29 @@
|
|
|
87
89
|
flex-direction: column;
|
|
88
90
|
display: flex;
|
|
89
91
|
overflow: hidden;
|
|
92
|
+
}
|
|
90
93
|
|
|
91
|
-
|
|
92
|
-
|
|
94
|
+
.content-EVNfnh[data-state="open"] {
|
|
95
|
+
animation: command-palette-content-in-H3MDBP
|
|
93
96
|
var(--moduix-command-palette-transition, var(--moduix-popup-motion-duration, var(--moduix-duration-normal))
|
|
94
97
|
var(--moduix-popup-motion-easing, var(--moduix-ease-in-out)));
|
|
95
|
-
|
|
98
|
+
}
|
|
96
99
|
|
|
97
|
-
|
|
98
|
-
|
|
100
|
+
.content-EVNfnh[data-state="closed"] {
|
|
101
|
+
animation: command-palette-content-out-DB_hNm
|
|
99
102
|
var(--moduix-command-palette-transition, var(--moduix-popup-motion-duration, var(--moduix-duration-normal))
|
|
100
103
|
var(--moduix-popup-motion-easing, var(--moduix-ease-in-out)));
|
|
101
|
-
|
|
102
|
-
}
|
|
104
|
+
animation-fill-mode: forwards;
|
|
103
105
|
}
|
|
104
106
|
|
|
105
|
-
.
|
|
107
|
+
.header-DzsYPc {
|
|
106
108
|
gap: var(--moduix-command-palette-header-gap, var(--moduix-spacing-1));
|
|
107
109
|
padding: var(--moduix-command-palette-header-padding-y, var(--moduix-spacing-4))
|
|
108
110
|
var(--moduix-command-palette-header-padding-x, var(--moduix-spacing-4)) 0;
|
|
109
111
|
display: grid;
|
|
110
112
|
}
|
|
111
113
|
|
|
112
|
-
.
|
|
114
|
+
.title-_2PBZ4 {
|
|
113
115
|
color: var(--moduix-command-palette-title-color, var(--moduix-command-palette-color, var(--moduix-color-popover-foreground)));
|
|
114
116
|
font-size: var(--moduix-command-palette-title-font-size, var(--moduix-text-md));
|
|
115
117
|
font-weight: var(--moduix-command-palette-title-font-weight, var(--moduix-weight-semibold));
|
|
@@ -117,14 +119,14 @@
|
|
|
117
119
|
margin: 0;
|
|
118
120
|
}
|
|
119
121
|
|
|
120
|
-
.
|
|
122
|
+
.description-iLzHFD {
|
|
121
123
|
color: var(--moduix-command-palette-description-color, var(--moduix-color-muted-foreground));
|
|
122
124
|
font-size: var(--moduix-command-palette-description-font-size, var(--moduix-text-sm));
|
|
123
125
|
line-height: var(--moduix-command-palette-description-line-height, var(--moduix-line-height-text-sm));
|
|
124
126
|
margin: 0;
|
|
125
127
|
}
|
|
126
128
|
|
|
127
|
-
.
|
|
129
|
+
.clearTrigger-n6fuk6 {
|
|
128
130
|
--moduix-close-button-size: var(--moduix-command-palette-clear-size, var(--moduix-size-sm));
|
|
129
131
|
--moduix-close-button-radius: var(--moduix-command-palette-clear-radius, var(--moduix-radius-md));
|
|
130
132
|
--moduix-close-button-icon-size: var(--moduix-command-palette-icon-size, var(--moduix-spacing-4));
|
|
@@ -137,14 +139,14 @@
|
|
|
137
139
|
--moduix-close-button-focus-ring-offset: var(--moduix-command-palette-focus-ring-offset, var(--moduix-border-width-sm));
|
|
138
140
|
}
|
|
139
141
|
|
|
140
|
-
.
|
|
142
|
+
.body-rUeEOS {
|
|
141
143
|
flex-direction: column;
|
|
142
144
|
flex: auto;
|
|
143
145
|
min-height: 0;
|
|
144
146
|
display: flex;
|
|
145
147
|
}
|
|
146
148
|
|
|
147
|
-
.
|
|
149
|
+
.combobox-d2AD5U {
|
|
148
150
|
flex-direction: column;
|
|
149
151
|
flex: auto;
|
|
150
152
|
min-height: 0;
|
|
@@ -152,7 +154,7 @@
|
|
|
152
154
|
overflow: hidden;
|
|
153
155
|
}
|
|
154
156
|
|
|
155
|
-
.
|
|
157
|
+
.control-CmJJhf {
|
|
156
158
|
box-sizing: border-box;
|
|
157
159
|
align-items: center;
|
|
158
160
|
gap: var(--moduix-command-palette-input-gap, var(--moduix-spacing-2));
|
|
@@ -172,13 +174,13 @@
|
|
|
172
174
|
flex: none;
|
|
173
175
|
display: flex;
|
|
174
176
|
position: relative;
|
|
177
|
+
}
|
|
175
178
|
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
}
|
|
179
|
+
.control-CmJJhf:has(.input-drywue:is([data-invalid], [aria-invalid="true"])) {
|
|
180
|
+
border-color: var(--moduix-command-palette-input-border-color-invalid, var(--moduix-color-destructive));
|
|
179
181
|
}
|
|
180
182
|
|
|
181
|
-
.
|
|
183
|
+
.input-drywue {
|
|
182
184
|
box-sizing: border-box;
|
|
183
185
|
width: 100%;
|
|
184
186
|
min-width: 0;
|
|
@@ -192,30 +194,30 @@
|
|
|
192
194
|
outline: 0;
|
|
193
195
|
margin: 0;
|
|
194
196
|
padding: 0;
|
|
197
|
+
}
|
|
195
198
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
+
.input-drywue::placeholder {
|
|
200
|
+
color: var(--moduix-command-palette-input-placeholder-color, var(--moduix-color-muted-foreground));
|
|
201
|
+
}
|
|
199
202
|
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
}
|
|
203
|
+
.input-drywue[data-invalid] {
|
|
204
|
+
color: var(--moduix-color-destructive);
|
|
203
205
|
}
|
|
204
206
|
|
|
205
|
-
.
|
|
207
|
+
.empty-h08cM3 {
|
|
206
208
|
margin: 0;
|
|
207
209
|
padding: 0;
|
|
210
|
+
}
|
|
208
211
|
|
|
209
|
-
|
|
210
|
-
|
|
212
|
+
.empty-h08cM3:not(:empty) {
|
|
213
|
+
padding: var(--moduix-command-palette-empty-padding-y, var(--moduix-spacing-3))
|
|
211
214
|
var(--moduix-command-palette-empty-padding-x, var(--moduix-spacing-4));
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
}
|
|
215
|
+
color: var(--moduix-command-palette-muted-color, var(--moduix-color-muted-foreground));
|
|
216
|
+
font-size: var(--moduix-command-palette-empty-font-size, var(--moduix-text-sm));
|
|
217
|
+
line-height: var(--moduix-command-palette-empty-line-height, var(--moduix-line-height-text-sm));
|
|
216
218
|
}
|
|
217
219
|
|
|
218
|
-
.
|
|
220
|
+
.list-SIDFoj {
|
|
219
221
|
box-sizing: border-box;
|
|
220
222
|
outline: 0;
|
|
221
223
|
flex: auto;
|
|
@@ -224,7 +226,7 @@
|
|
|
224
226
|
overflow: hidden;
|
|
225
227
|
}
|
|
226
228
|
|
|
227
|
-
.
|
|
229
|
+
.scrollArea-ncZoUD {
|
|
228
230
|
--moduix-scroll-area-radius: 0;
|
|
229
231
|
--moduix-scroll-area-scrollbar-margin: var(--moduix-command-palette-scrollbar-margin, var(--moduix-spacing-1));
|
|
230
232
|
--moduix-scroll-area-scrollbar-size: var(--moduix-command-palette-scrollbar-size, var(--moduix-spacing-1-5));
|
|
@@ -241,32 +243,32 @@
|
|
|
241
243
|
flex: auto;
|
|
242
244
|
}
|
|
243
245
|
|
|
244
|
-
.
|
|
246
|
+
.scrollViewport-Fh34Bl {
|
|
245
247
|
scroll-padding-block: var(--moduix-command-palette-list-scroll-padding-y, var(--moduix-spacing-2));
|
|
246
248
|
}
|
|
247
249
|
|
|
248
|
-
.
|
|
250
|
+
.scrollContent-Xew5ld {
|
|
249
251
|
min-height: 100%;
|
|
252
|
+
}
|
|
250
253
|
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
}
|
|
254
|
+
.list-SIDFoj[data-empty] .scrollContent-Xew5ld {
|
|
255
|
+
padding: 0;
|
|
254
256
|
}
|
|
255
257
|
|
|
256
|
-
.
|
|
258
|
+
.scrollbar-hnOYgf {
|
|
257
259
|
--moduix-scroll-area-scrollbar-bg: transparent;
|
|
258
260
|
}
|
|
259
261
|
|
|
260
|
-
.
|
|
262
|
+
.itemGroup-glHNMl {
|
|
261
263
|
gap: var(--moduix-command-palette-group-gap, var(--moduix-spacing-1));
|
|
262
264
|
display: grid;
|
|
265
|
+
}
|
|
263
266
|
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
}
|
|
267
|
+
.itemGroup-glHNMl:not(:last-child) {
|
|
268
|
+
padding-bottom: var(--moduix-command-palette-group-padding-bottom, var(--moduix-spacing-2));
|
|
267
269
|
}
|
|
268
270
|
|
|
269
|
-
.
|
|
271
|
+
.itemGroupLabel-JWv82S {
|
|
270
272
|
z-index: 1;
|
|
271
273
|
padding: var(--moduix-command-palette-group-label-padding-y, var(--moduix-popup-group-label-padding-y, var(--moduix-spacing-1)))
|
|
272
274
|
var(--moduix-command-palette-group-label-padding-x, var(--moduix-spacing-3));
|
|
@@ -281,7 +283,7 @@
|
|
|
281
283
|
top: 0;
|
|
282
284
|
}
|
|
283
285
|
|
|
284
|
-
.
|
|
286
|
+
.item-UA3NPh {
|
|
285
287
|
box-sizing: border-box;
|
|
286
288
|
z-index: 0;
|
|
287
289
|
align-items: center;
|
|
@@ -295,36 +297,37 @@
|
|
|
295
297
|
font-size: var(--moduix-command-palette-item-font-size, var(--moduix-popup-item-font-size, var(--moduix-text-sm)));
|
|
296
298
|
line-height: var(--moduix-command-palette-item-line-height, var(--moduix-popup-item-line-height, var(--moduix-line-height-text-sm)));
|
|
297
299
|
cursor: default;
|
|
300
|
+
-webkit-user-select: none;
|
|
298
301
|
user-select: none;
|
|
299
302
|
outline: 0;
|
|
300
303
|
grid-template-columns: auto minmax(0, 1fr) auto auto;
|
|
301
304
|
display: grid;
|
|
302
305
|
position: relative;
|
|
306
|
+
}
|
|
303
307
|
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
&:before {
|
|
308
|
-
content: "";
|
|
309
|
-
z-index: -1;
|
|
310
|
-
border-radius: inherit;
|
|
311
|
-
background-color: var(--moduix-command-palette-highlight-bg, var(--moduix-color-accent));
|
|
312
|
-
position: absolute;
|
|
313
|
-
inset: 0;
|
|
314
|
-
}
|
|
315
|
-
}
|
|
308
|
+
.item-UA3NPh[data-highlighted] {
|
|
309
|
+
color: var(--moduix-command-palette-highlight-color, var(--moduix-color-foreground));
|
|
310
|
+
}
|
|
316
311
|
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
312
|
+
.item-UA3NPh[data-highlighted]:before {
|
|
313
|
+
content: "";
|
|
314
|
+
z-index: -1;
|
|
315
|
+
border-radius: inherit;
|
|
316
|
+
background-color: var(--moduix-command-palette-highlight-bg, var(--moduix-color-accent));
|
|
317
|
+
position: absolute;
|
|
318
|
+
inset: 0;
|
|
319
|
+
}
|
|
320
320
|
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
321
|
+
.item-UA3NPh[data-state="checked"] {
|
|
322
|
+
color: var(--moduix-command-palette-selected-color, var(--moduix-command-palette-highlight-color, inherit));
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.item-UA3NPh[data-disabled] {
|
|
326
|
+
opacity: var(--moduix-opacity-disabled);
|
|
327
|
+
pointer-events: none;
|
|
325
328
|
}
|
|
326
329
|
|
|
327
|
-
.
|
|
330
|
+
.itemIcon-EO6ViN, .itemIndicator-nhPwW2 {
|
|
328
331
|
width: var(--moduix-command-palette-item-icon-box-size, var(--moduix-spacing-8));
|
|
329
332
|
height: var(--moduix-command-palette-item-icon-box-size, var(--moduix-spacing-8));
|
|
330
333
|
border: var(--moduix-command-palette-item-icon-border-width, var(--moduix-border-width-sm))
|
|
@@ -335,48 +338,48 @@
|
|
|
335
338
|
justify-content: center;
|
|
336
339
|
align-items: center;
|
|
337
340
|
display: inline-flex;
|
|
341
|
+
}
|
|
338
342
|
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
}
|
|
343
|
+
:is(.itemIcon-EO6ViN, .itemIndicator-nhPwW2) > svg {
|
|
344
|
+
width: var(--moduix-command-palette-item-icon-size, var(--moduix-spacing-4));
|
|
345
|
+
height: var(--moduix-command-palette-item-icon-size, var(--moduix-spacing-4));
|
|
343
346
|
}
|
|
344
347
|
|
|
345
|
-
.
|
|
348
|
+
.itemIndicator-nhPwW2 {
|
|
346
349
|
background-color: #0000;
|
|
347
350
|
border-color: #0000;
|
|
348
351
|
justify-self: end;
|
|
352
|
+
}
|
|
349
353
|
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
}
|
|
354
|
+
.itemIndicator-nhPwW2 > svg {
|
|
355
|
+
width: var(--moduix-command-palette-item-icon-size, var(--moduix-spacing-4));
|
|
356
|
+
height: var(--moduix-command-palette-item-icon-size, var(--moduix-spacing-4));
|
|
354
357
|
}
|
|
355
358
|
|
|
356
|
-
.
|
|
359
|
+
.itemText-GJOzaT {
|
|
357
360
|
gap: var(--moduix-command-palette-item-text-gap, var(--moduix-spacing-1));
|
|
358
361
|
min-width: 0;
|
|
359
362
|
display: grid;
|
|
363
|
+
}
|
|
360
364
|
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
}
|
|
365
|
+
.itemText-GJOzaT > .itemLabel-moAIzY, .itemText-GJOzaT > .itemDescription-V6o1s7 {
|
|
366
|
+
text-overflow: ellipsis;
|
|
367
|
+
white-space: nowrap;
|
|
368
|
+
min-width: 0;
|
|
369
|
+
overflow: hidden;
|
|
367
370
|
}
|
|
368
371
|
|
|
369
|
-
.
|
|
372
|
+
.itemLabel-moAIzY {
|
|
370
373
|
font-weight: var(--moduix-command-palette-item-label-font-weight, var(--moduix-weight-medium));
|
|
371
374
|
}
|
|
372
375
|
|
|
373
|
-
.
|
|
376
|
+
.itemDescription-V6o1s7 {
|
|
374
377
|
color: var(--moduix-command-palette-muted-color, var(--moduix-color-muted-foreground));
|
|
375
378
|
font-size: var(--moduix-command-palette-item-description-font-size, var(--moduix-text-xs));
|
|
376
379
|
line-height: var(--moduix-command-palette-item-description-line-height, var(--moduix-line-height-text-xs));
|
|
377
380
|
}
|
|
378
381
|
|
|
379
|
-
.
|
|
382
|
+
.itemMeta-iyRBoc {
|
|
380
383
|
color: var(--moduix-command-palette-muted-color, var(--moduix-color-muted-foreground));
|
|
381
384
|
font-size: var(--moduix-command-palette-item-meta-font-size, var(--moduix-text-xs));
|
|
382
385
|
line-height: var(--moduix-command-palette-item-meta-line-height, var(--moduix-line-height-text-xs));
|
|
@@ -384,14 +387,14 @@
|
|
|
384
387
|
justify-self: end;
|
|
385
388
|
}
|
|
386
389
|
|
|
387
|
-
.
|
|
390
|
+
.separator-TPz3wl {
|
|
388
391
|
height: var(--moduix-command-palette-divider-width, var(--moduix-border-width-sm));
|
|
389
392
|
margin: var(--moduix-command-palette-separator-margin-y, var(--moduix-spacing-2))
|
|
390
393
|
var(--moduix-command-palette-separator-margin-x, var(--moduix-spacing-2));
|
|
391
394
|
background-color: var(--moduix-command-palette-divider-color, var(--moduix-color-border));
|
|
392
395
|
}
|
|
393
396
|
|
|
394
|
-
.
|
|
397
|
+
.footer-_H5dy8 {
|
|
395
398
|
justify-content: space-between;
|
|
396
399
|
align-items: center;
|
|
397
400
|
gap: var(--moduix-command-palette-footer-gap, var(--moduix-spacing-3));
|
|
@@ -406,7 +409,7 @@
|
|
|
406
409
|
display: flex;
|
|
407
410
|
}
|
|
408
411
|
|
|
409
|
-
.
|
|
412
|
+
.kbd-cxY4sj {
|
|
410
413
|
--moduix-kbd-bg: var(--moduix-command-palette-kbd-bg, var(--moduix-color-muted));
|
|
411
414
|
--moduix-kbd-border-color: var(--moduix-command-palette-kbd-border-color, var(--moduix-color-border));
|
|
412
415
|
--moduix-kbd-border-width: var(--moduix-command-palette-kbd-border-width, var(--moduix-border-width-sm));
|
|
@@ -420,21 +423,23 @@
|
|
|
420
423
|
--moduix-kbd-radius: var(--moduix-command-palette-kbd-radius, var(--moduix-radius-sm));
|
|
421
424
|
}
|
|
422
425
|
|
|
423
|
-
@keyframes
|
|
426
|
+
@keyframes command-palette-backdrop-in-Ek7l_5 {
|
|
424
427
|
from {
|
|
425
428
|
opacity: var(--moduix-command-palette-backdrop-starting-opacity, 0);
|
|
429
|
+
-webkit-backdrop-filter: var(--moduix-command-palette-backdrop-starting-blur, none);
|
|
426
430
|
backdrop-filter: var(--moduix-command-palette-backdrop-starting-blur, none);
|
|
427
431
|
}
|
|
428
432
|
}
|
|
429
433
|
|
|
430
|
-
@keyframes
|
|
434
|
+
@keyframes command-palette-backdrop-out-VddYcZ {
|
|
431
435
|
to {
|
|
432
436
|
opacity: var(--moduix-command-palette-backdrop-ending-opacity, 0);
|
|
437
|
+
-webkit-backdrop-filter: var(--moduix-command-palette-backdrop-ending-blur, none);
|
|
433
438
|
backdrop-filter: var(--moduix-command-palette-backdrop-ending-blur, none);
|
|
434
439
|
}
|
|
435
440
|
}
|
|
436
441
|
|
|
437
|
-
@keyframes
|
|
442
|
+
@keyframes command-palette-content-in-H3MDBP {
|
|
438
443
|
from {
|
|
439
444
|
opacity: var(--moduix-command-palette-content-starting-opacity, var(--moduix-popup-motion-starting-opacity, 0));
|
|
440
445
|
translate: var(--moduix-command-palette-content-starting-translate-x, var(--moduix-popup-motion-starting-translate-x, 0))
|
|
@@ -443,7 +448,7 @@
|
|
|
443
448
|
}
|
|
444
449
|
}
|
|
445
450
|
|
|
446
|
-
@keyframes
|
|
451
|
+
@keyframes command-palette-content-out-DB_hNm {
|
|
447
452
|
to {
|
|
448
453
|
opacity: var(--moduix-command-palette-content-ending-opacity, var(--moduix-popup-motion-ending-opacity, 0));
|
|
449
454
|
translate: var(--moduix-command-palette-content-ending-translate-x, var(--moduix-popup-motion-ending-translate-x, 0))
|
|
@@ -452,3 +457,4 @@
|
|
|
452
457
|
}
|
|
453
458
|
}
|
|
454
459
|
}
|
|
460
|
+
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { CommandPalette };
|
|
1
|
+
export * from './CommandPalette.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./CommandPalette.js";
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
//#region src/components/container/Container.d.ts
|
|
2
1
|
type ContainerSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
3
2
|
type ContainerGutter = 'none' | 'sm' | 'md' | 'lg';
|
|
4
3
|
declare const Container: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & {
|
|
5
|
-
size?: ContainerSize;
|
|
6
|
-
gutter?: ContainerGutter;
|
|
7
|
-
} & import("react").RefAttributes<HTMLDivElement>> & {
|
|
8
|
-
Root: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & {
|
|
9
4
|
size?: ContainerSize;
|
|
10
5
|
gutter?: ContainerGutter;
|
|
11
|
-
|
|
6
|
+
} & import("react").RefAttributes<HTMLDivElement>> & {
|
|
7
|
+
Root: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & {
|
|
8
|
+
size?: ContainerSize;
|
|
9
|
+
gutter?: ContainerGutter;
|
|
10
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
11
|
};
|
|
13
|
-
|
|
14
|
-
export { Container };
|
|
12
|
+
export { Container };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import Container_module_default from "./Container.module.js";
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
2
|
import { ark } from "@ark-ui/react/factory";
|
|
4
3
|
import { clsx } from "clsx";
|
|
5
4
|
import { forwardRef } from "react";
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
5
|
+
import { normalizeClassName } from "../../internal/normalizeClassName.js";
|
|
6
|
+
import Container_module from "./Container.module.js";
|
|
7
|
+
const Container_ContainerRoot = /*#__PURE__*/ forwardRef(function({ size = 'lg', gutter = 'md', className, ...props }, ref) {
|
|
8
|
+
return /*#__PURE__*/ jsx(ark.div, {
|
|
9
|
+
...props,
|
|
10
|
+
ref: ref,
|
|
11
|
+
"data-scope": "container",
|
|
12
|
+
"data-part": "root",
|
|
13
|
+
"data-slot": "container-root",
|
|
14
|
+
"data-size": size,
|
|
15
|
+
"data-gutter": gutter,
|
|
16
|
+
className: clsx(Container_module.root, normalizeClassName(className))
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
const Container = Object.assign(Container_ContainerRoot, {
|
|
20
|
+
Root: Container_ContainerRoot
|
|
19
21
|
});
|
|
20
|
-
const Container = Object.assign(ContainerRoot, { Root: ContainerRoot });
|
|
21
|
-
//#endregion
|
|
22
22
|
export { Container };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export
|
|
1
|
+
import "./Container_module.css";
|
|
2
|
+
const Container_module = {
|
|
3
|
+
root: "root-U4_b43"
|
|
4
|
+
};
|
|
5
|
+
export default Container_module;
|