@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,77 +1,75 @@
|
|
|
1
|
-
import { normalizeClassName } from "../../lib/moduix/normalizeClassName.js";
|
|
2
|
-
import ProgressLinear_module_default from "./ProgressLinear.module.js";
|
|
3
|
-
import { clsx } from "clsx";
|
|
4
|
-
import { forwardRef } from "react";
|
|
5
1
|
import { jsx } from "react/jsx-runtime";
|
|
6
2
|
import { Progress, useProgress, useProgressContext } from "@ark-ui/react/progress";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
3
|
+
import { clsx } from "clsx";
|
|
4
|
+
import { forwardRef } from "react";
|
|
5
|
+
import { normalizeClassName } from "../../internal/normalizeClassName.js";
|
|
6
|
+
import ProgressLinear_module from "./ProgressLinear.module.js";
|
|
7
|
+
const ProgressLinear_ProgressLinearRoot = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
8
|
+
return /*#__PURE__*/ jsx(Progress.Root, {
|
|
9
|
+
ref: ref,
|
|
10
|
+
"data-slot": "progress-linear-root",
|
|
11
|
+
className: clsx(ProgressLinear_module.root, normalizeClassName(className)),
|
|
12
|
+
...props
|
|
13
|
+
});
|
|
15
14
|
});
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
15
|
+
const ProgressLinear_ProgressLinearRootProvider = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
16
|
+
return /*#__PURE__*/ jsx(Progress.RootProvider, {
|
|
17
|
+
ref: ref,
|
|
18
|
+
"data-slot": "progress-linear-root-provider",
|
|
19
|
+
className: clsx(ProgressLinear_module.root, normalizeClassName(className)),
|
|
20
|
+
...props
|
|
21
|
+
});
|
|
23
22
|
});
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
23
|
+
const ProgressLinear_ProgressLinearLabel = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
24
|
+
return /*#__PURE__*/ jsx(Progress.Label, {
|
|
25
|
+
ref: ref,
|
|
26
|
+
"data-slot": "progress-linear-label",
|
|
27
|
+
className: clsx(ProgressLinear_module.label, normalizeClassName(className)),
|
|
28
|
+
...props
|
|
29
|
+
});
|
|
31
30
|
});
|
|
32
|
-
const
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
31
|
+
const ProgressLinear_ProgressLinearValueText = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
32
|
+
return /*#__PURE__*/ jsx(Progress.ValueText, {
|
|
33
|
+
ref: ref,
|
|
34
|
+
"data-slot": "progress-linear-value-text",
|
|
35
|
+
className: clsx(ProgressLinear_module.valueText, normalizeClassName(className)),
|
|
36
|
+
...props
|
|
37
|
+
});
|
|
39
38
|
});
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
39
|
+
const ProgressLinear_ProgressLinearTrack = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
40
|
+
return /*#__PURE__*/ jsx(Progress.Track, {
|
|
41
|
+
ref: ref,
|
|
42
|
+
"data-slot": "progress-linear-track",
|
|
43
|
+
className: clsx(ProgressLinear_module.track, normalizeClassName(className)),
|
|
44
|
+
...props
|
|
45
|
+
});
|
|
47
46
|
});
|
|
48
|
-
const
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
47
|
+
const ProgressLinear_ProgressLinearRange = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
48
|
+
return /*#__PURE__*/ jsx(Progress.Range, {
|
|
49
|
+
ref: ref,
|
|
50
|
+
"data-slot": "progress-linear-range",
|
|
51
|
+
className: clsx(ProgressLinear_module.range, normalizeClassName(className)),
|
|
52
|
+
...props
|
|
53
|
+
});
|
|
55
54
|
});
|
|
56
|
-
const
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
55
|
+
const ProgressLinear_ProgressLinearView = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
56
|
+
return /*#__PURE__*/ jsx(Progress.View, {
|
|
57
|
+
ref: ref,
|
|
58
|
+
"data-slot": "progress-linear-view",
|
|
59
|
+
className: clsx(ProgressLinear_module.view, normalizeClassName(className)),
|
|
60
|
+
...props
|
|
61
|
+
});
|
|
63
62
|
});
|
|
64
|
-
const ProgressLinear = Object.assign(
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
63
|
+
const ProgressLinear = Object.assign(ProgressLinear_ProgressLinearRoot, {
|
|
64
|
+
Root: ProgressLinear_ProgressLinearRoot,
|
|
65
|
+
RootProvider: ProgressLinear_ProgressLinearRootProvider,
|
|
66
|
+
Context: Progress.Context,
|
|
67
|
+
Label: ProgressLinear_ProgressLinearLabel,
|
|
68
|
+
ValueText: ProgressLinear_ProgressLinearValueText,
|
|
69
|
+
Track: ProgressLinear_ProgressLinearTrack,
|
|
70
|
+
Range: ProgressLinear_ProgressLinearRange,
|
|
71
|
+
View: ProgressLinear_ProgressLinearView,
|
|
72
|
+
useProgress: useProgress,
|
|
73
|
+
useProgressContext: useProgressContext
|
|
75
74
|
});
|
|
76
|
-
//#endregion
|
|
77
75
|
export { ProgressLinear };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import "./ProgressLinear_module.css";
|
|
2
|
+
const ProgressLinear_module = {
|
|
3
|
+
root: "root-wybK9i",
|
|
4
|
+
label: "label-Rv3Sur",
|
|
5
|
+
valueText: "valueText-tmx0si",
|
|
6
|
+
track: "track-o7p8iH",
|
|
7
|
+
range: "range-A5c8GJ",
|
|
8
|
+
view: "view-KoQ_CZ",
|
|
9
|
+
"progress-linear-indeterminate": "progress-linear-indeterminate-MpsSj8",
|
|
10
|
+
progressLinearIndeterminate: "progress-linear-indeterminate-MpsSj8",
|
|
11
|
+
"progress-linear-indeterminate-vertical": "progress-linear-indeterminate-vertical-ynw1oD",
|
|
12
|
+
progressLinearIndeterminateVertical: "progress-linear-indeterminate-vertical-ynw1oD"
|
|
12
13
|
};
|
|
13
|
-
|
|
14
|
-
export { ProgressLinear_module_default as default };
|
|
14
|
+
export default ProgressLinear_module;
|
|
@@ -1,37 +1,43 @@
|
|
|
1
1
|
@layer moduix.components {
|
|
2
|
-
.
|
|
2
|
+
.root-wybK9i {
|
|
3
3
|
box-sizing: border-box;
|
|
4
4
|
gap: var(--moduix-progress-linear-gap, var(--moduix-spacing-2));
|
|
5
5
|
width: var(--moduix-progress-linear-width, 12rem);
|
|
6
|
+
min-width: 0;
|
|
7
|
+
max-width: 100%;
|
|
6
8
|
color: var(--moduix-progress-linear-color, var(--moduix-color-foreground));
|
|
7
9
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
8
10
|
display: grid;
|
|
11
|
+
}
|
|
9
12
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
13
|
+
.root-wybK9i[data-orientation="vertical"] {
|
|
14
|
+
width: var(--moduix-progress-linear-vertical-width, max-content);
|
|
15
|
+
height: var(--moduix-progress-linear-height, 12rem);
|
|
16
|
+
grid-template-rows: auto minmax(0, 1fr);
|
|
17
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
16
18
|
}
|
|
17
19
|
|
|
18
|
-
.
|
|
20
|
+
.label-Rv3Sur {
|
|
19
21
|
font-size: var(--moduix-progress-linear-label-font-size, var(--moduix-text-sm));
|
|
20
22
|
font-weight: var(--moduix-progress-linear-label-font-weight, var(--moduix-weight-regular));
|
|
21
23
|
line-height: var(--moduix-progress-linear-label-line-height, var(--moduix-line-height-text-sm));
|
|
24
|
+
overflow-wrap: anywhere;
|
|
25
|
+
min-width: 0;
|
|
22
26
|
color: var(--moduix-progress-linear-label-color, currentColor);
|
|
23
27
|
}
|
|
24
28
|
|
|
25
|
-
.
|
|
29
|
+
.valueText-tmx0si {
|
|
26
30
|
font-size: var(--moduix-progress-linear-value-text-font-size, var(--moduix-text-sm));
|
|
27
31
|
font-weight: var(--moduix-progress-linear-value-text-font-weight, var(--moduix-weight-regular));
|
|
28
32
|
line-height: var(--moduix-progress-linear-value-text-line-height, var(--moduix-line-height-text-sm));
|
|
33
|
+
overflow-wrap: anywhere;
|
|
34
|
+
min-width: 0;
|
|
29
35
|
color: var(--moduix-progress-linear-value-text-color, currentColor);
|
|
30
|
-
text-align:
|
|
36
|
+
text-align: end;
|
|
31
37
|
justify-self: end;
|
|
32
38
|
}
|
|
33
39
|
|
|
34
|
-
.
|
|
40
|
+
.track-o7p8iH {
|
|
35
41
|
width: 100%;
|
|
36
42
|
height: var(--moduix-progress-linear-track-height, .5rem);
|
|
37
43
|
border-radius: var(--moduix-progress-linear-track-radius, var(--moduix-radius-full));
|
|
@@ -42,50 +48,55 @@
|
|
|
42
48
|
grid-column: 1 / -1;
|
|
43
49
|
display: block;
|
|
44
50
|
overflow: hidden;
|
|
51
|
+
}
|
|
45
52
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
53
|
+
.track-o7p8iH[data-orientation="vertical"] {
|
|
54
|
+
width: var(--moduix-progress-linear-track-width, .5rem);
|
|
55
|
+
justify-self: center;
|
|
56
|
+
align-items: end;
|
|
57
|
+
height: 100%;
|
|
58
|
+
display: flex;
|
|
52
59
|
}
|
|
53
60
|
|
|
54
|
-
.
|
|
61
|
+
.range-A5c8GJ {
|
|
55
62
|
border-radius: var(--moduix-progress-linear-range-radius, inherit);
|
|
56
63
|
background-color: var(--moduix-progress-linear-range-bg, var(--moduix-color-primary));
|
|
57
64
|
height: 100%;
|
|
58
65
|
transition: width var(--moduix-progress-linear-range-transition, var(--moduix-transition-default)),
|
|
59
66
|
height var(--moduix-progress-linear-range-transition, var(--moduix-transition-default));
|
|
60
67
|
display: block;
|
|
68
|
+
}
|
|
61
69
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
70
|
+
.range-A5c8GJ[data-state="indeterminate"] {
|
|
71
|
+
width: var(--moduix-progress-linear-range-indeterminate-width, 35%);
|
|
72
|
+
animation: var(--moduix-progress-linear-range-indeterminate-animation, progress-linear-indeterminate 1.5s ease-in-out infinite);
|
|
73
|
+
}
|
|
66
74
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
75
|
+
.range-A5c8GJ[data-orientation="vertical"] {
|
|
76
|
+
width: 100%;
|
|
77
|
+
}
|
|
70
78
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
79
|
+
.range-A5c8GJ[data-state="indeterminate"][data-orientation="vertical"] {
|
|
80
|
+
height: var(--moduix-progress-linear-range-indeterminate-width, 35%);
|
|
81
|
+
animation: var(--moduix-progress-linear-range-indeterminate-vertical-animation, progress-linear-indeterminate-vertical 1.5s ease-in-out infinite);
|
|
82
|
+
}
|
|
75
83
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
84
|
+
@media (prefers-reduced-motion: reduce) {
|
|
85
|
+
.range-A5c8GJ[data-state="indeterminate"] {
|
|
86
|
+
animation: none;
|
|
87
|
+
transform: translate(0);
|
|
81
88
|
}
|
|
82
89
|
}
|
|
83
90
|
|
|
84
|
-
.
|
|
91
|
+
[dir="rtl"] .range-A5c8GJ[data-state="indeterminate"][data-orientation="horizontal"] {
|
|
92
|
+
animation-direction: reverse;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.view-KoQ_CZ {
|
|
85
96
|
display: contents;
|
|
86
97
|
}
|
|
87
98
|
|
|
88
|
-
@keyframes
|
|
99
|
+
@keyframes progress-linear-indeterminate-MpsSj8 {
|
|
89
100
|
from {
|
|
90
101
|
transform: translateX(-100%);
|
|
91
102
|
}
|
|
@@ -95,7 +106,7 @@
|
|
|
95
106
|
}
|
|
96
107
|
}
|
|
97
108
|
|
|
98
|
-
@keyframes
|
|
109
|
+
@keyframes progress-linear-indeterminate-vertical-ynw1oD {
|
|
99
110
|
from {
|
|
100
111
|
transform: translateY(100%);
|
|
101
112
|
}
|
|
@@ -105,3 +116,4 @@
|
|
|
105
116
|
}
|
|
106
117
|
}
|
|
107
118
|
}
|
|
119
|
+
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { ProgressLinear };
|
|
1
|
+
export { ProgressLinear } from './ProgressLinear.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ProgressLinear } from "./ProgressLinear.js";
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { QrCode, useQrCode } from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
DownloadTrigger: import("react").ForwardRefExoticComponent<Omit<QrCode.DownloadTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
1
|
+
import { QrCode as QrCodePrimitive, useQrCode, useQrCodeContext } from '@ark-ui/react/qr-code';
|
|
2
|
+
declare const QrCode: import("react").ForwardRefExoticComponent<Omit<QrCodePrimitive.RootProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>> & {
|
|
3
|
+
Root: import("react").ForwardRefExoticComponent<Omit<QrCodePrimitive.RootProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
|
+
RootProvider: import("react").ForwardRefExoticComponent<Omit<QrCodePrimitive.RootProviderProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
+
Context: (props: QrCodePrimitive.ContextProps) => import("react").ReactNode;
|
|
6
|
+
Frame: import("react").ForwardRefExoticComponent<Omit<QrCodePrimitive.FrameProps & import("react").RefAttributes<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
7
|
+
Pattern: import("react").ForwardRefExoticComponent<Omit<QrCodePrimitive.PatternProps & import("react").RefAttributes<SVGPathElement>, "ref"> & import("react").RefAttributes<SVGPathElement>>;
|
|
8
|
+
Overlay: import("react").ForwardRefExoticComponent<Omit<QrCodePrimitive.OverlayProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
9
|
+
DownloadTrigger: import("react").ForwardRefExoticComponent<Omit<QrCodePrimitive.DownloadTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
11
10
|
};
|
|
12
|
-
|
|
13
|
-
export { QrCode$1 as QrCode, useQrCode };
|
|
11
|
+
export { QrCode, useQrCode, useQrCodeContext };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { QrCode, useQrCode, useQrCodeContext } from "@ark-ui/react/qr-code";
|
|
3
4
|
import { clsx } from "clsx";
|
|
4
5
|
import { forwardRef } from "react";
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
});
|
|
6
|
+
import { normalizeClassName } from "../../internal/normalizeClassName.js";
|
|
7
|
+
import QrCode_module from "./QrCode.module.js";
|
|
8
|
+
const QrCode_QrCodeRoot = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
9
|
+
return /*#__PURE__*/ jsx(QrCode.Root, {
|
|
10
|
+
ref: ref,
|
|
11
|
+
"data-slot": "qr-code-root",
|
|
12
|
+
className: clsx(QrCode_module.root, normalizeClassName(className)),
|
|
13
|
+
...props
|
|
14
|
+
});
|
|
15
15
|
});
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
const QrCode_QrCodeRootProvider = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
17
|
+
return /*#__PURE__*/ jsx(QrCode.RootProvider, {
|
|
18
|
+
ref: ref,
|
|
19
|
+
"data-slot": "qr-code-root-provider",
|
|
20
|
+
className: clsx(QrCode_module.root, normalizeClassName(className)),
|
|
21
|
+
...props
|
|
22
|
+
});
|
|
23
23
|
});
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
const QrCode_QrCodeFrame = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
25
|
+
return /*#__PURE__*/ jsx(QrCode.Frame, {
|
|
26
|
+
ref: ref,
|
|
27
|
+
"data-slot": "qr-code-frame",
|
|
28
|
+
className: clsx(QrCode_module.frame, normalizeClassName(className)),
|
|
29
|
+
...props
|
|
30
|
+
});
|
|
31
31
|
});
|
|
32
|
-
const
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
32
|
+
const QrCode_QrCodePattern = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
33
|
+
return /*#__PURE__*/ jsx(QrCode.Pattern, {
|
|
34
|
+
ref: ref,
|
|
35
|
+
"data-slot": "qr-code-pattern",
|
|
36
|
+
className: clsx(QrCode_module.pattern, normalizeClassName(className)),
|
|
37
|
+
...props
|
|
38
|
+
});
|
|
39
39
|
});
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
40
|
+
const QrCode_QrCodeOverlay = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
41
|
+
return /*#__PURE__*/ jsx(QrCode.Overlay, {
|
|
42
|
+
ref: ref,
|
|
43
|
+
"data-slot": "qr-code-overlay",
|
|
44
|
+
className: clsx(QrCode_module.overlay, normalizeClassName(className)),
|
|
45
|
+
...props
|
|
46
|
+
});
|
|
47
47
|
});
|
|
48
|
-
const
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
48
|
+
const QrCode_QrCodeDownloadTrigger = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
|
|
49
|
+
return /*#__PURE__*/ jsx(QrCode.DownloadTrigger, {
|
|
50
|
+
ref: ref,
|
|
51
|
+
"data-slot": "qr-code-download-trigger",
|
|
52
|
+
className: clsx(QrCode_module.downloadTrigger, normalizeClassName(className)),
|
|
53
|
+
...props
|
|
54
|
+
});
|
|
55
55
|
});
|
|
56
|
-
const
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
56
|
+
const QrCode_QrCode = Object.assign(QrCode_QrCodeRoot, {
|
|
57
|
+
Root: QrCode_QrCodeRoot,
|
|
58
|
+
RootProvider: QrCode_QrCodeRootProvider,
|
|
59
|
+
Context: QrCode.Context,
|
|
60
|
+
Frame: QrCode_QrCodeFrame,
|
|
61
|
+
Pattern: QrCode_QrCodePattern,
|
|
62
|
+
Overlay: QrCode_QrCodeOverlay,
|
|
63
|
+
DownloadTrigger: QrCode_QrCodeDownloadTrigger
|
|
63
64
|
});
|
|
64
|
-
|
|
65
|
-
export { QrCode$1 as QrCode, useQrCode };
|
|
65
|
+
export { QrCode_QrCode as QrCode, useQrCode, useQrCodeContext };
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"root": "ZbLWjq_root"
|
|
1
|
+
import "./QrCode_module.css";
|
|
2
|
+
const QrCode_module = {
|
|
3
|
+
root: "root-FbZFrE",
|
|
4
|
+
frame: "frame-xuEHtQ",
|
|
5
|
+
pattern: "pattern-rEX5Uj",
|
|
6
|
+
overlay: "overlay-ZFFTQV",
|
|
7
|
+
downloadTrigger: "downloadTrigger-qWJcms"
|
|
9
8
|
};
|
|
10
|
-
|
|
11
|
-
export { QrCode_module_default as default };
|
|
9
|
+
export default QrCode_module;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
@layer moduix.components {
|
|
2
|
-
.
|
|
2
|
+
.root-FbZFrE {
|
|
3
3
|
box-sizing: border-box;
|
|
4
4
|
align-items: center;
|
|
5
5
|
gap: var(--moduix-qr-code-gap, var(--moduix-spacing-3));
|
|
6
|
+
width: -moz-fit-content;
|
|
6
7
|
width: fit-content;
|
|
7
8
|
max-width: var(--moduix-qr-code-max-width, 100%);
|
|
8
9
|
color: var(--moduix-qr-code-color, var(--moduix-color-foreground));
|
|
@@ -11,7 +12,7 @@
|
|
|
11
12
|
position: relative;
|
|
12
13
|
}
|
|
13
14
|
|
|
14
|
-
.
|
|
15
|
+
.frame-xuEHtQ {
|
|
15
16
|
box-sizing: border-box;
|
|
16
17
|
width: min(var(--moduix-qr-code-size, 8rem), 100%);
|
|
17
18
|
aspect-ratio: 1;
|
|
@@ -21,11 +22,11 @@
|
|
|
21
22
|
display: block;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
|
-
.
|
|
25
|
+
.pattern-rEX5Uj {
|
|
25
26
|
fill: inherit;
|
|
26
27
|
}
|
|
27
28
|
|
|
28
|
-
.
|
|
29
|
+
.overlay-ZFFTQV {
|
|
29
30
|
box-sizing: border-box;
|
|
30
31
|
width: var(--moduix-qr-code-overlay-size, var(--moduix-size-lg));
|
|
31
32
|
height: var(--moduix-qr-code-overlay-size, var(--moduix-size-lg));
|
|
@@ -38,13 +39,13 @@
|
|
|
38
39
|
display: inline-flex;
|
|
39
40
|
}
|
|
40
41
|
|
|
41
|
-
.
|
|
42
|
+
.overlay-ZFFTQV :where(img, svg) {
|
|
42
43
|
object-fit: contain;
|
|
43
44
|
width: 100%;
|
|
44
45
|
height: 100%;
|
|
45
46
|
}
|
|
46
47
|
|
|
47
|
-
.
|
|
48
|
+
.downloadTrigger-qWJcms {
|
|
48
49
|
box-sizing: border-box;
|
|
49
50
|
justify-content: center;
|
|
50
51
|
align-items: center;
|
|
@@ -62,6 +63,7 @@
|
|
|
62
63
|
font-size: var(--moduix-qr-code-download-trigger-font-size, var(--moduix-button-font-size, var(--moduix-text-sm)));
|
|
63
64
|
font-weight: var(--moduix-qr-code-download-trigger-font-weight, var(--moduix-button-font-weight, var(--moduix-weight-medium)));
|
|
64
65
|
line-height: var(--moduix-qr-code-download-trigger-line-height, var(--moduix-button-line-height, var(--moduix-line-height-text-sm)));
|
|
66
|
+
-webkit-user-select: none;
|
|
65
67
|
user-select: none;
|
|
66
68
|
white-space: nowrap;
|
|
67
69
|
cursor: pointer;
|
|
@@ -74,23 +76,25 @@
|
|
|
74
76
|
opacity
|
|
75
77
|
var(--moduix-qr-code-transition, var(--moduix-button-transition, var(--moduix-transition-default))),
|
|
76
78
|
box-shadow
|
|
79
|
+
var(--moduix-qr-code-transition, var(--moduix-button-transition, var(--moduix-transition-default))),
|
|
80
|
+
transform
|
|
77
81
|
var(--moduix-qr-code-transition, var(--moduix-button-transition, var(--moduix-transition-default)));
|
|
78
82
|
display: inline-flex;
|
|
79
83
|
}
|
|
80
84
|
|
|
81
|
-
.
|
|
85
|
+
.downloadTrigger-qWJcms :where(svg) {
|
|
82
86
|
width: var(--moduix-qr-code-download-trigger-icon-size, var(--moduix-button-icon-size, var(--moduix-spacing-4)));
|
|
83
87
|
height: var(--moduix-qr-code-download-trigger-icon-size, var(--moduix-button-icon-size, var(--moduix-spacing-4)));
|
|
84
88
|
flex-shrink: 0;
|
|
85
89
|
}
|
|
86
90
|
|
|
87
91
|
@media (hover: hover) {
|
|
88
|
-
.
|
|
92
|
+
.downloadTrigger-qWJcms:hover:not(:disabled, [data-disabled]) {
|
|
89
93
|
background-color: var(--moduix-qr-code-download-trigger-bg-hover, var(--moduix-button-outline-bg-hover, var(--moduix-color-accent)));
|
|
90
94
|
}
|
|
91
95
|
}
|
|
92
96
|
|
|
93
|
-
.
|
|
97
|
+
.downloadTrigger-qWJcms:focus-visible {
|
|
94
98
|
outline: var(--moduix-qr-code-download-trigger-focus-ring-width, var(--moduix-button-focus-ring-width, var(--moduix-focus-ring-width, var(--moduix-border-width-md))))
|
|
95
99
|
solid
|
|
96
100
|
var(--moduix-qr-code-download-trigger-focus-ring-color, var(--moduix-button-focus-ring-color, var(--moduix-color-ring)));
|
|
@@ -98,8 +102,19 @@
|
|
|
98
102
|
-1);
|
|
99
103
|
}
|
|
100
104
|
|
|
101
|
-
.
|
|
105
|
+
.downloadTrigger-qWJcms:active:not(:disabled, [data-disabled]) {
|
|
106
|
+
opacity: .94;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
110
|
+
.downloadTrigger-qWJcms:active:not(:disabled, [data-disabled]) {
|
|
111
|
+
transform: translateY(1px) scale(.985);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.downloadTrigger-qWJcms:disabled, .downloadTrigger-qWJcms[data-disabled] {
|
|
102
116
|
pointer-events: none;
|
|
103
117
|
opacity: var(--moduix-qr-code-disabled-opacity, var(--moduix-button-disabled-opacity, var(--moduix-opacity-disabled)));
|
|
104
118
|
}
|
|
105
119
|
}
|
|
120
|
+
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { QrCode, useQrCode };
|
|
1
|
+
export * from './QrCode.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./QrCode.js";
|