@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,69 +1,119 @@
|
|
|
1
1
|
@layer moduix.components {
|
|
2
|
-
.
|
|
3
|
-
z-index: calc(var(--moduix-tour-z-index, var(--moduix-z-modal)) + var(--layer
|
|
2
|
+
.backdrop-okc1Ik {
|
|
3
|
+
z-index: calc(var(--moduix-tour-z-index, var(--moduix-z-modal)) + var(--tour-layer, 0) +
|
|
4
|
+
var(--layer-index, 0));
|
|
4
5
|
background-color: var(--moduix-tour-backdrop-bg, var(--moduix-backdrop-bg, var(--moduix-color-overlay)));
|
|
6
|
+
-webkit-backdrop-filter: var(--moduix-backdrop-filter, blur(var(--moduix-tour-backdrop-blur, 4px)));
|
|
5
7
|
backdrop-filter: var(--moduix-backdrop-filter, blur(var(--moduix-tour-backdrop-blur, 4px)));
|
|
8
|
+
}
|
|
6
9
|
|
|
7
|
-
|
|
8
|
-
|
|
10
|
+
.backdrop-okc1Ik[data-state="open"] {
|
|
11
|
+
animation: tour-backdrop-in-rR_UM_
|
|
9
12
|
var(--moduix-tour-backdrop-transition, var(--moduix-transition-default));
|
|
10
|
-
|
|
13
|
+
}
|
|
11
14
|
|
|
12
|
-
|
|
13
|
-
|
|
15
|
+
.backdrop-okc1Ik[data-state="closed"] {
|
|
16
|
+
animation: tour-backdrop-out-ERuuzg
|
|
14
17
|
var(--moduix-tour-backdrop-transition, var(--moduix-transition-default));
|
|
15
|
-
}
|
|
16
18
|
}
|
|
17
19
|
|
|
18
|
-
.
|
|
20
|
+
.spotlight-gPJyi_ {
|
|
19
21
|
z-index: calc(var(--moduix-tour-z-index, var(--moduix-z-modal)) + var(--tour-layer, 0));
|
|
20
22
|
box-shadow: var(--moduix-tour-spotlight-shadow, 0 0 0 var(--moduix-tour-spotlight-ring-width, 2px) var(--moduix-color-ring));
|
|
21
23
|
}
|
|
22
24
|
|
|
23
|
-
.
|
|
24
|
-
z-index:
|
|
25
|
+
.positioner-Zk89xT {
|
|
26
|
+
--moduix-tour-positioner-z-index: calc(var(--moduix-tour-z-index, var(--moduix-z-modal)) + var(--tour-layer, 0) +
|
|
27
|
+
var(--layer-index, 0));
|
|
28
|
+
z-index: var(--z-index, var(--moduix-tour-positioner-z-index));
|
|
25
29
|
max-width: var(--available-width);
|
|
26
30
|
max-height: var(--available-height);
|
|
27
31
|
outline: 0;
|
|
32
|
+
}
|
|
28
33
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
.positioner-Zk89xT[data-type="dialog"] {
|
|
35
|
+
overscroll-behavior: contain;
|
|
36
|
+
padding: var(--moduix-tour-positioner-padding, var(--moduix-spacing-4));
|
|
37
|
+
place-items: center;
|
|
38
|
+
display: grid;
|
|
39
|
+
position: fixed;
|
|
40
|
+
inset: 0;
|
|
41
|
+
overflow-y: auto;
|
|
42
|
+
}
|
|
38
43
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
44
|
+
.positioner-Zk89xT[data-type="floating"] {
|
|
45
|
+
max-width: calc(100vw - (var(--moduix-tour-floating-offset, var(--moduix-spacing-6)) * 2));
|
|
46
|
+
max-height: calc(100dvh - (var(--moduix-tour-floating-offset, var(--moduix-spacing-6)) * 2));
|
|
47
|
+
position: fixed;
|
|
48
|
+
}
|
|
43
49
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
50
|
+
.positioner-Zk89xT[data-type="floating"][data-placement="top"] {
|
|
51
|
+
inset-block-start: var(--moduix-tour-floating-offset, var(--moduix-spacing-6));
|
|
52
|
+
inset-inline-start: 50%;
|
|
53
|
+
translate: -50%;
|
|
54
|
+
}
|
|
47
55
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
56
|
+
.positioner-Zk89xT[data-type="floating"][data-placement="bottom"] {
|
|
57
|
+
inset-block-end: var(--moduix-tour-floating-offset, var(--moduix-spacing-6));
|
|
58
|
+
inset-inline-start: 50%;
|
|
59
|
+
translate: -50%;
|
|
60
|
+
}
|
|
51
61
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
62
|
+
.positioner-Zk89xT[data-type="floating"][data-placement="left"] {
|
|
63
|
+
left: var(--moduix-tour-floating-offset, var(--moduix-spacing-6));
|
|
64
|
+
inset-block-start: 50%;
|
|
65
|
+
translate: 0 -50%;
|
|
66
|
+
}
|
|
55
67
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
68
|
+
.positioner-Zk89xT[data-type="floating"][data-placement="right"] {
|
|
69
|
+
right: var(--moduix-tour-floating-offset, var(--moduix-spacing-6));
|
|
70
|
+
inset-block-start: 50%;
|
|
71
|
+
translate: 0 -50%;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.positioner-Zk89xT[data-type="floating"][data-placement="top-start"], .positioner-Zk89xT[data-type="floating"][data-placement="bottom-start"] {
|
|
75
|
+
inset-inline-start: var(--moduix-tour-floating-offset, var(--moduix-spacing-6));
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.positioner-Zk89xT[data-type="floating"][data-placement="top-end"], .positioner-Zk89xT[data-type="floating"][data-placement="bottom-end"] {
|
|
79
|
+
inset-inline-end: var(--moduix-tour-floating-offset, var(--moduix-spacing-6));
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.positioner-Zk89xT[data-type="floating"][data-placement="top-start"], .positioner-Zk89xT[data-type="floating"][data-placement="top-end"] {
|
|
83
|
+
inset-block-start: var(--moduix-tour-floating-offset, var(--moduix-spacing-6));
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.positioner-Zk89xT[data-type="floating"][data-placement="bottom-start"], .positioner-Zk89xT[data-type="floating"][data-placement="bottom-end"] {
|
|
87
|
+
inset-block-end: var(--moduix-tour-floating-offset, var(--moduix-spacing-6));
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.positioner-Zk89xT[data-type="floating"][data-placement="left-start"], .positioner-Zk89xT[data-type="floating"][data-placement="right-start"] {
|
|
91
|
+
inset-block-start: var(--moduix-tour-floating-offset, var(--moduix-spacing-6));
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.positioner-Zk89xT[data-type="floating"][data-placement="left-end"], .positioner-Zk89xT[data-type="floating"][data-placement="right-end"] {
|
|
95
|
+
inset-block-end: var(--moduix-tour-floating-offset, var(--moduix-spacing-6));
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.positioner-Zk89xT[data-type="floating"][data-placement="left-start"], .positioner-Zk89xT[data-type="floating"][data-placement="left-end"] {
|
|
99
|
+
left: var(--moduix-tour-floating-offset, var(--moduix-spacing-6));
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.positioner-Zk89xT[data-type="floating"][data-placement="right-start"], .positioner-Zk89xT[data-type="floating"][data-placement="right-end"] {
|
|
103
|
+
right: var(--moduix-tour-floating-offset, var(--moduix-spacing-6));
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.positioner-Zk89xT[data-type="floating"][data-placement="center"] {
|
|
107
|
+
inset: 50%;
|
|
108
|
+
translate: -50% -50%;
|
|
60
109
|
}
|
|
61
110
|
|
|
62
|
-
.
|
|
111
|
+
.content-ZY9BS9 {
|
|
63
112
|
--arrow-background: var(--moduix-tour-arrow-background, var(--moduix-tour-bg, var(--moduix-color-popover)));
|
|
64
113
|
--arrow-size: var(--moduix-tour-arrow-size, var(--moduix-spacing-2-5));
|
|
65
114
|
box-sizing: border-box;
|
|
66
|
-
z-index: calc(var(--moduix-tour-z-index, var(--moduix-z-modal)) + var(--layer
|
|
115
|
+
z-index: calc(var(--moduix-tour-z-index, var(--moduix-z-modal)) + var(--tour-layer, 0) +
|
|
116
|
+
var(--layer-index, 0));
|
|
67
117
|
gap: var(--moduix-tour-gap, var(--moduix-spacing-1));
|
|
68
118
|
width: min(var(--moduix-tour-width, 20rem), var(--available-width, 100vw));
|
|
69
119
|
max-width: min(var(--moduix-tour-max-width, calc(100vw - var(--moduix-spacing-8))),
|
|
@@ -82,45 +132,50 @@
|
|
|
82
132
|
display: flex;
|
|
83
133
|
position: relative;
|
|
84
134
|
overflow: visible;
|
|
135
|
+
}
|
|
85
136
|
|
|
86
|
-
|
|
87
|
-
|
|
137
|
+
.content-ZY9BS9[data-state="open"] {
|
|
138
|
+
animation: tour-content-in-mwLmu_
|
|
88
139
|
var(--moduix-tour-transition, var(--moduix-popup-motion-duration, var(--moduix-duration-normal))
|
|
89
140
|
var(--moduix-popup-motion-easing, var(--moduix-ease-in-out)))
|
|
90
141
|
both;
|
|
91
|
-
|
|
142
|
+
}
|
|
92
143
|
|
|
93
|
-
|
|
94
|
-
|
|
144
|
+
.content-ZY9BS9[data-state="closed"] {
|
|
145
|
+
animation: tour-content-out-FyzK_o
|
|
95
146
|
var(--moduix-tour-transition, var(--moduix-popup-motion-duration, var(--moduix-duration-normal))
|
|
96
147
|
var(--moduix-popup-motion-easing, var(--moduix-ease-in-out)))
|
|
97
148
|
both;
|
|
98
|
-
|
|
149
|
+
}
|
|
99
150
|
|
|
100
|
-
|
|
101
|
-
|
|
151
|
+
.content-ZY9BS9[data-type="dialog"] {
|
|
152
|
+
width: min(var(--moduix-tour-dialog-width, 26rem),
|
|
102
153
|
var(--moduix-tour-max-width, calc(100vw - var(--moduix-spacing-8))));
|
|
103
|
-
|
|
154
|
+
}
|
|
104
155
|
|
|
105
|
-
|
|
106
|
-
|
|
156
|
+
.content-ZY9BS9[data-type="floating"] {
|
|
157
|
+
width: min(var(--moduix-tour-floating-width, 22rem),
|
|
107
158
|
var(--moduix-tour-max-width, calc(100vw - var(--moduix-spacing-8))));
|
|
108
|
-
}
|
|
109
159
|
}
|
|
110
160
|
|
|
111
|
-
.
|
|
161
|
+
.content-ZY9BS9:has(.body-w5DEFg) {
|
|
162
|
+
grid-template-rows: minmax(0, 1fr) auto;
|
|
163
|
+
display: grid;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.arrow-MGJKtO {
|
|
112
167
|
--arrow-background: var(--moduix-tour-arrow-background, var(--moduix-tour-bg, var(--moduix-color-popover)));
|
|
113
168
|
--arrow-size: var(--moduix-tour-arrow-size, var(--moduix-spacing-2-5));
|
|
114
169
|
}
|
|
115
170
|
|
|
116
|
-
.
|
|
171
|
+
.arrowTip-ptK6ik {
|
|
117
172
|
border-top: var(--moduix-tour-border-width, var(--moduix-border-width-sm)) solid
|
|
118
173
|
var(--moduix-tour-arrow-stroke-color, var(--moduix-tour-border-color, var(--moduix-color-border)));
|
|
119
174
|
border-left: var(--moduix-tour-border-width, var(--moduix-border-width-sm)) solid
|
|
120
175
|
var(--moduix-tour-arrow-stroke-color, var(--moduix-tour-border-color, var(--moduix-color-border)));
|
|
121
176
|
}
|
|
122
177
|
|
|
123
|
-
.
|
|
178
|
+
.title-wiiGDZ {
|
|
124
179
|
margin: var(--moduix-tour-title-margin, 0);
|
|
125
180
|
color: var(--moduix-tour-title-color, var(--moduix-tour-color, var(--moduix-color-popover-foreground)));
|
|
126
181
|
font-size: var(--moduix-tour-title-font-size, var(--moduix-text-md));
|
|
@@ -129,14 +184,14 @@
|
|
|
129
184
|
padding-inline-end: var(--moduix-tour-title-padding-inline-end, var(--moduix-spacing-6));
|
|
130
185
|
}
|
|
131
186
|
|
|
132
|
-
.
|
|
187
|
+
.description-uDg1g_ {
|
|
133
188
|
margin: var(--moduix-tour-description-margin, 0);
|
|
134
189
|
color: var(--moduix-tour-description-color, var(--moduix-color-muted-foreground));
|
|
135
190
|
font-size: var(--moduix-tour-description-font-size, var(--moduix-text-sm));
|
|
136
191
|
line-height: var(--moduix-tour-description-line-height, var(--moduix-line-height-text-sm));
|
|
137
192
|
}
|
|
138
193
|
|
|
139
|
-
.
|
|
194
|
+
.progressText-Jm6Fx2 {
|
|
140
195
|
margin-top: var(--moduix-tour-progress-text-margin-top, var(--moduix-spacing-2));
|
|
141
196
|
color: var(--moduix-tour-progress-text-color, var(--moduix-color-muted-foreground));
|
|
142
197
|
font-size: var(--moduix-tour-progress-text-font-size, var(--moduix-text-xs));
|
|
@@ -144,7 +199,15 @@
|
|
|
144
199
|
order: 1;
|
|
145
200
|
}
|
|
146
201
|
|
|
147
|
-
.
|
|
202
|
+
.body-w5DEFg {
|
|
203
|
+
gap: var(--moduix-tour-gap, var(--moduix-spacing-1));
|
|
204
|
+
flex-direction: column;
|
|
205
|
+
min-block-size: 0;
|
|
206
|
+
display: flex;
|
|
207
|
+
overflow: auto;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.closeTrigger-fNBdoQ {
|
|
148
211
|
box-sizing: border-box;
|
|
149
212
|
width: var(--moduix-tour-close-trigger-size, var(--moduix-spacing-7));
|
|
150
213
|
height: var(--moduix-tour-close-trigger-size, var(--moduix-spacing-7));
|
|
@@ -162,28 +225,28 @@
|
|
|
162
225
|
position: absolute;
|
|
163
226
|
inset-block-start: var(--moduix-tour-close-trigger-offset, var(--moduix-spacing-4));
|
|
164
227
|
inset-inline-end: var(--moduix-tour-close-trigger-offset, var(--moduix-spacing-4));
|
|
228
|
+
}
|
|
165
229
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
230
|
+
.closeTrigger-fNBdoQ :where(svg) {
|
|
231
|
+
width: var(--moduix-tour-close-trigger-icon-size, var(--moduix-spacing-3));
|
|
232
|
+
height: var(--moduix-tour-close-trigger-icon-size, var(--moduix-spacing-3));
|
|
233
|
+
}
|
|
170
234
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
}
|
|
235
|
+
@media (hover: hover) {
|
|
236
|
+
.closeTrigger-fNBdoQ:hover {
|
|
237
|
+
background: var(--moduix-tour-close-trigger-bg-hover, var(--moduix-color-accent));
|
|
238
|
+
color: var(--moduix-tour-close-trigger-color-hover, var(--moduix-tour-color, var(--moduix-color-popover-foreground)));
|
|
176
239
|
}
|
|
240
|
+
}
|
|
177
241
|
|
|
178
|
-
|
|
179
|
-
|
|
242
|
+
.closeTrigger-fNBdoQ:focus-visible {
|
|
243
|
+
outline: var(--moduix-tour-focus-ring-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm)))
|
|
180
244
|
solid var(--moduix-tour-focus-ring-color, var(--moduix-color-ring));
|
|
181
|
-
|
|
245
|
+
outline-offset: calc(var(--moduix-tour-focus-ring-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm))) *
|
|
182
246
|
-1);
|
|
183
|
-
}
|
|
184
247
|
}
|
|
185
248
|
|
|
186
|
-
.
|
|
249
|
+
.closeIcon-izAf2Q {
|
|
187
250
|
--moduix-close-button-size: var(--moduix-tour-close-trigger-size, var(--moduix-spacing-7));
|
|
188
251
|
--moduix-close-button-radius: var(--moduix-tour-close-trigger-radius, var(--moduix-radius-md));
|
|
189
252
|
--moduix-close-button-icon-size: var(--moduix-tour-close-trigger-icon-size, var(--moduix-spacing-3));
|
|
@@ -197,7 +260,7 @@
|
|
|
197
260
|
inset-inline-end: var(--moduix-tour-close-trigger-offset, var(--moduix-spacing-4));
|
|
198
261
|
}
|
|
199
262
|
|
|
200
|
-
.
|
|
263
|
+
.control-pLhhBF {
|
|
201
264
|
justify-content: flex-end;
|
|
202
265
|
gap: var(--moduix-tour-control-gap, var(--moduix-spacing-2));
|
|
203
266
|
margin-top: var(--moduix-tour-control-margin-top, var(--moduix-spacing-3));
|
|
@@ -206,7 +269,7 @@
|
|
|
206
269
|
display: flex;
|
|
207
270
|
}
|
|
208
271
|
|
|
209
|
-
.
|
|
272
|
+
.actionTrigger-LsjeVS {
|
|
210
273
|
box-sizing: border-box;
|
|
211
274
|
min-height: var(--moduix-tour-action-height, var(--moduix-size-sm));
|
|
212
275
|
justify-content: center;
|
|
@@ -230,52 +293,54 @@
|
|
|
230
293
|
color var(--moduix-tour-action-transition, var(--moduix-transition-default));
|
|
231
294
|
text-decoration: none;
|
|
232
295
|
display: inline-flex;
|
|
296
|
+
}
|
|
233
297
|
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
298
|
+
.actionTrigger-LsjeVS[data-type="next"], .actionTrigger-LsjeVS[data-type="close"] {
|
|
299
|
+
border-color: var(--moduix-tour-action-primary-border-color, var(--moduix-color-primary));
|
|
300
|
+
background: var(--moduix-tour-action-primary-bg, var(--moduix-color-primary));
|
|
301
|
+
color: var(--moduix-tour-action-primary-color, var(--moduix-color-primary-foreground));
|
|
302
|
+
}
|
|
239
303
|
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
304
|
+
@media (hover: hover) {
|
|
305
|
+
.actionTrigger-LsjeVS:hover:not([data-disabled], :disabled) {
|
|
306
|
+
background: var(--moduix-tour-action-bg-hover, var(--moduix-color-accent));
|
|
307
|
+
}
|
|
244
308
|
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
}
|
|
309
|
+
.actionTrigger-LsjeVS:is([data-type="next"], [data-type="close"]):hover:not([data-disabled], :disabled) {
|
|
310
|
+
border-color: var(--moduix-tour-action-primary-border-color-hover, color-mix(in oklab, var(--moduix-color-primary), black 12%));
|
|
311
|
+
background: var(--moduix-tour-action-primary-bg-hover, color-mix(in oklab, var(--moduix-color-primary), black 12%));
|
|
249
312
|
}
|
|
313
|
+
}
|
|
250
314
|
|
|
251
|
-
|
|
252
|
-
|
|
315
|
+
.actionTrigger-LsjeVS:focus-visible {
|
|
316
|
+
outline: var(--moduix-tour-focus-ring-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm)))
|
|
253
317
|
solid var(--moduix-tour-focus-ring-color, var(--moduix-color-ring));
|
|
254
|
-
|
|
318
|
+
outline-offset: calc(var(--moduix-tour-focus-ring-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm))) *
|
|
255
319
|
-1);
|
|
256
|
-
|
|
320
|
+
}
|
|
257
321
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
}
|
|
322
|
+
.actionTrigger-LsjeVS[data-disabled], .actionTrigger-LsjeVS:disabled {
|
|
323
|
+
pointer-events: none;
|
|
324
|
+
opacity: var(--moduix-tour-disabled-opacity, var(--moduix-opacity-disabled));
|
|
262
325
|
}
|
|
263
326
|
|
|
264
|
-
@keyframes
|
|
327
|
+
@keyframes tour-backdrop-in-rR_UM_ {
|
|
265
328
|
from {
|
|
266
329
|
opacity: var(--moduix-tour-backdrop-starting-opacity, 0);
|
|
330
|
+
-webkit-backdrop-filter: var(--moduix-tour-backdrop-starting-blur, none);
|
|
267
331
|
backdrop-filter: var(--moduix-tour-backdrop-starting-blur, none);
|
|
268
332
|
}
|
|
269
333
|
}
|
|
270
334
|
|
|
271
|
-
@keyframes
|
|
335
|
+
@keyframes tour-backdrop-out-ERuuzg {
|
|
272
336
|
to {
|
|
273
337
|
opacity: var(--moduix-tour-backdrop-ending-opacity, 0);
|
|
338
|
+
-webkit-backdrop-filter: var(--moduix-tour-backdrop-ending-blur, none);
|
|
274
339
|
backdrop-filter: var(--moduix-tour-backdrop-ending-blur, none);
|
|
275
340
|
}
|
|
276
341
|
}
|
|
277
342
|
|
|
278
|
-
@keyframes
|
|
343
|
+
@keyframes tour-content-in-mwLmu_ {
|
|
279
344
|
from {
|
|
280
345
|
opacity: var(--moduix-tour-content-starting-opacity, var(--moduix-popup-motion-starting-opacity, 0));
|
|
281
346
|
translate: var(--moduix-tour-content-starting-translate-x, var(--moduix-popup-motion-starting-translate-x, 0))
|
|
@@ -284,7 +349,7 @@
|
|
|
284
349
|
}
|
|
285
350
|
}
|
|
286
351
|
|
|
287
|
-
@keyframes
|
|
352
|
+
@keyframes tour-content-out-FyzK_o {
|
|
288
353
|
to {
|
|
289
354
|
opacity: var(--moduix-tour-content-ending-opacity, var(--moduix-popup-motion-ending-opacity, 0));
|
|
290
355
|
translate: var(--moduix-tour-content-ending-translate-x, var(--moduix-popup-motion-ending-translate-x, 0))
|
|
@@ -293,3 +358,4 @@
|
|
|
293
358
|
}
|
|
294
359
|
}
|
|
295
360
|
}
|
|
361
|
+
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { Tour, useTour, waitForElement, waitForElementValue, waitForEvent, waitForPromise };
|
|
1
|
+
export { Tour, useTour, useTourContext, waitForElement, waitForElementValue, waitForEvent, waitForPromise, } from './Tour.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Tour, useTour, useTourContext, waitForElement, waitForElementValue, waitForEvent, waitForPromise } from "./Tour.js";
|
|
@@ -1,32 +1,38 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
indeterminate,
|
|
9
|
-
...props
|
|
10
|
-
}: ComponentProps<typeof TreeView.NodeCheckboxIndicator>): import("react").JSX.Element;
|
|
11
|
-
declare const TreeView$1: TreeView.RootComponent & {
|
|
12
|
-
Root: TreeView.RootComponent;
|
|
13
|
-
RootProvider: TreeView.RootProviderComponent;
|
|
14
|
-
Label: import("react").ForwardRefExoticComponent<Omit<TreeView.LabelProps & import("react").RefAttributes<HTMLHeadingElement>, "ref"> & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
15
|
-
Tree: import("react").ForwardRefExoticComponent<Omit<TreeView.TreeProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
16
|
-
NodeProvider: typeof TreeView.NodeProvider;
|
|
17
|
-
Branch: import("react").ForwardRefExoticComponent<Omit<TreeView.BranchProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
18
|
-
BranchControl: import("react").ForwardRefExoticComponent<Omit<TreeView.BranchControlProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
19
|
-
BranchTrigger: import("react").ForwardRefExoticComponent<Omit<TreeView.BranchTriggerProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
20
|
-
BranchIndicator: import("react").ForwardRefExoticComponent<Omit<TreeView.BranchIndicatorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
21
|
-
BranchText: import("react").ForwardRefExoticComponent<Omit<TreeView.BranchTextProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
22
|
-
BranchContent: import("react").ForwardRefExoticComponent<Omit<TreeView.BranchContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
23
|
-
BranchIndentGuide: import("react").ForwardRefExoticComponent<Omit<TreeView.BranchIndentGuideProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
24
|
-
Item: import("react").ForwardRefExoticComponent<Omit<TreeView.ItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
25
|
-
ItemText: import("react").ForwardRefExoticComponent<Omit<TreeView.ItemTextProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
26
|
-
ItemIndicator: import("react").ForwardRefExoticComponent<Omit<TreeView.ItemIndicatorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
27
|
-
NodeCheckbox: import("react").ForwardRefExoticComponent<Omit<TreeView.NodeCheckboxProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
28
|
-
NodeCheckboxIndicator: typeof TreeViewNodeCheckboxIndicator;
|
|
29
|
-
NodeRenameInput: import("react").ForwardRefExoticComponent<Omit<TreeView.NodeRenameInputProps & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
1
|
+
import { TreeView as TreeViewPrimitive, createFileTreeCollection, createTreeCollection, type TreeNode, type TreeViewLoadChildrenDetails, type TreeViewNodeProps as TreeViewPrimitiveNodeProps, type TreeViewNodeProviderProps, type TreeViewNodeState, useTreeView, useTreeViewContext, useTreeViewNodeContext } from '@ark-ui/react/tree-view';
|
|
2
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
3
|
+
declare function TreeViewNodeCheckboxIndicator({ className, children, indeterminate, ...props }: ComponentProps<typeof TreeViewPrimitive.NodeCheckboxIndicator>): import("react").JSX.Element;
|
|
4
|
+
type TreeViewNodeRenderProps<T extends TreeNode> = {
|
|
5
|
+
indexPath: number[];
|
|
6
|
+
node: T;
|
|
7
|
+
state: TreeViewNodeState;
|
|
30
8
|
};
|
|
31
|
-
|
|
32
|
-
|
|
9
|
+
type TreeViewNodeProps<T extends TreeNode> = {
|
|
10
|
+
children: (props: TreeViewNodeRenderProps<T>) => ReactNode;
|
|
11
|
+
indexPath: number[];
|
|
12
|
+
node: T;
|
|
13
|
+
};
|
|
14
|
+
declare function TreeViewNode<T extends TreeNode>({ children, indexPath, node }: TreeViewNodeProps<T>): import("react").JSX.Element;
|
|
15
|
+
declare const TreeView: TreeViewPrimitive.RootComponent & {
|
|
16
|
+
Root: TreeViewPrimitive.RootComponent;
|
|
17
|
+
RootProvider: TreeViewPrimitive.RootProviderComponent;
|
|
18
|
+
Context: <T extends unknown>(props: TreeViewPrimitive.ContextProps<T>) => ReactNode;
|
|
19
|
+
NodeContext: (props: TreeViewPrimitive.NodeContextProps) => ReactNode;
|
|
20
|
+
Label: import("react").ForwardRefExoticComponent<Omit<TreeViewPrimitive.LabelProps & import("react").RefAttributes<HTMLHeadingElement>, "ref"> & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
21
|
+
Tree: import("react").ForwardRefExoticComponent<Omit<TreeViewPrimitive.TreeProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
22
|
+
Node: typeof TreeViewNode;
|
|
23
|
+
NodeProvider: typeof TreeViewPrimitive.NodeProvider;
|
|
24
|
+
Branch: import("react").ForwardRefExoticComponent<Omit<TreeViewPrimitive.BranchProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
25
|
+
BranchControl: import("react").ForwardRefExoticComponent<Omit<TreeViewPrimitive.BranchControlProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
26
|
+
BranchTrigger: import("react").ForwardRefExoticComponent<Omit<TreeViewPrimitive.BranchTriggerProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
27
|
+
BranchIndicator: import("react").ForwardRefExoticComponent<Omit<TreeViewPrimitive.BranchIndicatorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
28
|
+
BranchText: import("react").ForwardRefExoticComponent<Omit<TreeViewPrimitive.BranchTextProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
29
|
+
BranchContent: import("react").ForwardRefExoticComponent<Omit<TreeViewPrimitive.BranchContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
30
|
+
BranchIndentGuide: import("react").ForwardRefExoticComponent<Omit<TreeViewPrimitive.BranchIndentGuideProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
31
|
+
Item: import("react").ForwardRefExoticComponent<Omit<TreeViewPrimitive.ItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
32
|
+
ItemText: import("react").ForwardRefExoticComponent<Omit<TreeViewPrimitive.ItemTextProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
33
|
+
ItemIndicator: import("react").ForwardRefExoticComponent<Omit<TreeViewPrimitive.ItemIndicatorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
34
|
+
NodeCheckbox: import("react").ForwardRefExoticComponent<Omit<TreeViewPrimitive.NodeCheckboxProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
35
|
+
NodeCheckboxIndicator: typeof TreeViewNodeCheckboxIndicator;
|
|
36
|
+
NodeRenameInput: import("react").ForwardRefExoticComponent<Omit<TreeViewPrimitive.NodeRenameInputProps & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
37
|
+
};
|
|
38
|
+
export { TreeView, createFileTreeCollection, createTreeCollection, useTreeView, useTreeViewContext, useTreeViewNodeContext, type TreeViewLoadChildrenDetails, type TreeViewNodeRenderProps, type TreeViewNodeState, type TreeViewPrimitiveNodeProps as TreeViewNodeProps, type TreeViewNodeProviderProps, };
|