@moduix/react 2.2.0 → 2.2.5
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 +16 -3
- 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} +88 -71
- package/dist/components/accordion/index.d.ts +1 -2
- package/dist/components/accordion/index.js +1 -0
- package/dist/components/alert/Alert.d.ts +11 -13
- package/dist/components/alert/Alert.js +68 -70
- package/dist/components/alert/Alert.module.js +9 -11
- package/dist/components/alert/Alert_module.css +113 -0
- package/dist/components/alert/index.d.ts +1 -0
- package/dist/components/alert/index.js +1 -0
- package/dist/components/angle-slider/AngleSlider.d.ts +31 -31
- package/dist/components/angle-slider/AngleSlider.js +131 -93
- package/dist/components/angle-slider/AngleSlider.module.js +10 -12
- package/dist/components/angle-slider/AngleSlider_module.css +214 -0
- package/dist/components/angle-slider/index.d.ts +1 -2
- package/dist/components/angle-slider/index.js +1 -0
- package/dist/components/aspect-ratio/AspectRatio.d.ts +5 -7
- package/dist/components/aspect-ratio/AspectRatio.js +20 -19
- package/dist/components/aspect-ratio/AspectRatio.module.js +5 -5
- package/dist/components/aspect-ratio/AspectRatio_module.css +24 -0
- package/dist/components/aspect-ratio/index.d.ts +1 -0
- package/dist/components/aspect-ratio/index.js +1 -0
- package/dist/components/avatar/Avatar.d.ts +15 -17
- package/dist/components/avatar/Avatar.js +83 -48
- package/dist/components/avatar/Avatar.module.js +7 -8
- package/dist/components/avatar/{Avatar.css → Avatar_module.css} +39 -30
- package/dist/components/avatar/index.d.ts +1 -2
- package/dist/components/avatar/index.js +1 -0
- package/dist/components/badge/Badge.d.ts +7 -8
- package/dist/components/badge/Badge.js +42 -29
- package/dist/components/badge/Badge.module.js +6 -7
- package/dist/components/badge/Badge_module.css +130 -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 -26
- package/dist/components/breadcrumbs/Breadcrumbs.js +109 -97
- package/dist/components/breadcrumbs/Breadcrumbs.module.js +11 -13
- package/dist/components/breadcrumbs/{Breadcrumbs.css → Breadcrumbs_module.css} +31 -23
- 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 +44 -28
- package/dist/components/button/Button.module.js +5 -5
- package/dist/components/button/Button_module.css +223 -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 +15 -16
- package/dist/components/card/Card.js +107 -98
- package/dist/components/card/Card.module.js +13 -14
- package/dist/components/card/Card_module.css +219 -0
- package/dist/components/card/index.d.ts +1 -0
- package/dist/components/card/index.js +1 -0
- package/dist/components/carousel/Carousel.d.ts +19 -22
- package/dist/components/carousel/Carousel.js +126 -125
- package/dist/components/carousel/Carousel.module.js +15 -17
- package/dist/components/carousel/Carousel_module.css +223 -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 +96 -76
- package/dist/components/checkbox/Checkbox.module.js +9 -11
- package/dist/components/checkbox/{Checkbox.css → Checkbox_module.css} +55 -45
- 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} +52 -38
- 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 +45 -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} +61 -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 +335 -293
- package/dist/components/color-picker/ColorPicker.module.js +35 -33
- package/dist/components/color-picker/{ColorPicker.css → ColorPicker_module.css} +251 -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 +216 -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 +362 -351
- package/dist/components/command-palette/CommandPalette.module.js +40 -39
- package/dist/components/command-palette/{CommandPalette.css → CommandPalette_module.css} +121 -125
- 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 +438 -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 +24 -45
- package/dist/components/dialog/Dialog.js +136 -120
- package/dist/components/dialog/Dialog.module.js +22 -20
- package/dist/components/dialog/{Dialog.css → Dialog_module.css} +84 -68
- package/dist/components/dialog/index.d.ts +2 -2
- package/dist/components/dialog/index.js +1 -0
- package/dist/components/drawer/Drawer.d.ts +32 -55
- package/dist/components/drawer/Drawer.js +190 -181
- package/dist/components/drawer/Drawer.module.js +39 -31
- package/dist/components/drawer/Drawer_module.css +557 -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} +32 -19
- 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} +32 -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} +16 -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 +31 -50
- package/dist/components/floating-panel/FloatingPanel.js +189 -178
- 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 +75 -72
- package/dist/components/hover-card/HoverCard.module.js +12 -12
- package/dist/components/hover-card/{HoverCard.css → HoverCard_module.css} +48 -33
- 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 +8 -10
- package/dist/components/image/Image.js +22 -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} +55 -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 +25 -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 +37 -64
- package/dist/components/lightbox/Lightbox.js +213 -200
- package/dist/components/lightbox/Lightbox.module.js +23 -21
- package/dist/components/lightbox/{Lightbox.css → Lightbox_module.css} +115 -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 +118 -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 +27 -46
- package/dist/components/listbox/Listbox.js +180 -175
- package/dist/components/listbox/Listbox.module.js +20 -22
- package/dist/components/listbox/{Listbox.css → Listbox_module.css} +94 -90
- 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 +44 -78
- package/dist/components/menu/Menu.js +275 -232
- package/dist/components/menu/Menu.module.js +31 -32
- package/dist/components/menu/{Menu.css → Menu_module.css} +131 -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} +39 -33
- 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} +42 -33
- 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 +26 -49
- package/dist/components/popover/Popover.js +163 -151
- package/dist/components/popover/Popover.module.js +19 -19
- package/dist/components/popover/{Popover.css → Popover_module.css} +66 -46
- 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} +33 -15
- 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} +50 -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} +26 -12
- 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 +191 -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} +45 -42
- 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 +37 -52
- package/dist/components/select/Select.js +283 -240
- package/dist/components/select/Select.module.js +25 -25
- package/dist/components/select/{Select.css → Select_module.css} +112 -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} +185 -181
- 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 +15 -20
- package/dist/components/signature-pad/SignaturePad.js +146 -107
- 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 +32 -27
- package/dist/components/simple-grid/index.d.ts +1 -0
- package/dist/components/simple-grid/index.js +1 -0
- package/dist/components/skeleton/Skeleton.d.ts +10 -12
- package/dist/components/skeleton/Skeleton.js +27 -27
- package/dist/components/skeleton/Skeleton.module.js +5 -5
- package/dist/components/skeleton/Skeleton_module.css +35 -0
- package/dist/components/skeleton/index.d.ts +1 -0
- package/dist/components/skeleton/index.js +1 -0
- package/dist/components/slider/Slider.d.ts +21 -26
- package/dist/components/slider/Slider.js +119 -110
- package/dist/components/slider/Slider.module.js +13 -15
- package/dist/components/slider/Slider_module.css +226 -0
- package/dist/components/slider/index.d.ts +1 -2
- package/dist/components/slider/index.js +1 -0
- package/dist/components/spinner/Spinner.d.ts +7 -9
- package/dist/components/spinner/Spinner.js +35 -35
- package/dist/components/spinner/Spinner.module.js +6 -8
- package/dist/components/spinner/{Spinner.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 +24 -24
- package/dist/components/split-button/SplitButton.js +83 -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 +59 -59
- package/dist/components/splitter/Splitter.module.js +7 -9
- package/dist/components/splitter/{Splitter.css → Splitter_module.css} +83 -78
- 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 +72 -60
- package/dist/components/switch/Switch.module.js +7 -9
- package/dist/components/switch/Switch_module.css +151 -0
- package/dist/components/switch/index.d.ts +2 -2
- package/dist/components/switch/index.js +1 -0
- package/dist/components/table/Table.d.ts +31 -33
- package/dist/components/table/Table.js +155 -157
- package/dist/components/table/Table.module.js +14 -16
- package/dist/components/table/{Table.css → Table_module.css} +66 -61
- 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 +64 -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_module.css +103 -0
- package/dist/components/tag/index.d.ts +1 -0
- package/dist/components/tag/index.js +1 -0
- package/dist/components/tags-input/TagsInput.d.ts +18 -21
- package/dist/components/tags-input/TagsInput.js +183 -133
- package/dist/components/tags-input/TagsInput.module.js +13 -15
- package/dist/components/tags-input/{TagsInput.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 +101 -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 +17 -25
- package/dist/components/timer/Timer.js +86 -72
- 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} +63 -68
- 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 +19 -22
- package/dist/components/toggle-group/ToggleGroup.js +57 -57
- package/dist/components/toggle-group/ToggleGroup.module.js +5 -7
- package/dist/components/toggle-group/ToggleGroup_module.css +44 -0
- package/dist/components/toggle-group/index.d.ts +1 -2
- package/dist/components/toggle-group/index.js +1 -0
- package/dist/components/tooltip/Tooltip.d.ts +19 -28
- package/dist/components/tooltip/Tooltip.js +96 -71
- package/dist/components/tooltip/Tooltip.module.js +13 -12
- package/dist/components/tooltip/{Tooltip.css → Tooltip_module.css} +54 -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 +158 -136
- package/dist/components/tour/Tour.module.js +25 -22
- package/dist/components/tour/{Tour.css → Tour_module.css} +176 -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 -5
- 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/alert/Alert.css +0 -138
- package/dist/components/angle-slider/AngleSlider.css +0 -193
- package/dist/components/aspect-ratio/AspectRatio.css +0 -16
- 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/card/Card.css +0 -164
- 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/slider/Slider.css +0 -171
- package/dist/components/swap/Swap.css +0 -45
- package/dist/components/switch/Switch.css +0 -132
- package/dist/components/tag/Tag.css +0 -98
- package/dist/components/text/Text.css +0 -87
- package/dist/components/toggle/Toggle.css +0 -167
- package/dist/components/toggle-group/ToggleGroup.css +0 -42
- 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,193 +0,0 @@
|
|
|
1
|
-
@layer moduix.components {
|
|
2
|
-
.vn7zXa_root {
|
|
3
|
-
box-sizing: border-box;
|
|
4
|
-
align-items: center;
|
|
5
|
-
gap: var(--moduix-angle-slider-gap, var(--moduix-spacing-3));
|
|
6
|
-
min-width: 0;
|
|
7
|
-
color: var(--moduix-angle-slider-color, var(--moduix-color-foreground));
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
display: inline-flex;
|
|
10
|
-
|
|
11
|
-
&[data-disabled] {
|
|
12
|
-
opacity: var(--moduix-angle-slider-disabled-opacity, var(--moduix-opacity-disabled));
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.vn7zXa_label {
|
|
17
|
-
color: var(--moduix-angle-slider-label-color, var(--moduix-angle-slider-color, var(--moduix-color-foreground)));
|
|
18
|
-
font-size: var(--moduix-angle-slider-label-font-size, var(--moduix-text-sm));
|
|
19
|
-
font-weight: var(--moduix-angle-slider-label-font-weight, var(--moduix-weight-medium));
|
|
20
|
-
line-height: var(--moduix-angle-slider-label-line-height, var(--moduix-line-height-text-sm));
|
|
21
|
-
text-align: center;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.vn7zXa_control {
|
|
25
|
-
--_angle-slider-control-border-color: var(--moduix-angle-slider-control-border-color, var(--moduix-color-border));
|
|
26
|
-
--_angle-slider-track-border-color: var(--moduix-angle-slider-track-border-color, var(--moduix-color-border));
|
|
27
|
-
box-sizing: border-box;
|
|
28
|
-
width: var(--moduix-angle-slider-size, 8rem);
|
|
29
|
-
aspect-ratio: 1;
|
|
30
|
-
border-radius: var(--moduix-angle-slider-radius, var(--moduix-radius-full));
|
|
31
|
-
background: var(--moduix-angle-slider-track-bg, var(--moduix-color-muted));
|
|
32
|
-
min-width: 0;
|
|
33
|
-
box-shadow: inset 0 0 0 var(--moduix-angle-slider-track-border-width, var(--moduix-border-width-sm))
|
|
34
|
-
var(--_angle-slider-track-border-color),
|
|
35
|
-
var(--moduix-angle-slider-shadow, none);
|
|
36
|
-
cursor: pointer;
|
|
37
|
-
user-select: none;
|
|
38
|
-
outline: 0;
|
|
39
|
-
justify-content: center;
|
|
40
|
-
align-items: center;
|
|
41
|
-
display: flex;
|
|
42
|
-
position: relative;
|
|
43
|
-
|
|
44
|
-
&:after {
|
|
45
|
-
z-index: 1;
|
|
46
|
-
inset: var(--moduix-angle-slider-ring-thickness, .875rem);
|
|
47
|
-
border-radius: inherit;
|
|
48
|
-
background: var(--moduix-angle-slider-control-bg, var(--moduix-color-background));
|
|
49
|
-
box-shadow: inset 0 0 0
|
|
50
|
-
var(--moduix-angle-slider-control-border-width, var(--moduix-border-width-sm))
|
|
51
|
-
var(--_angle-slider-control-border-color);
|
|
52
|
-
content: "";
|
|
53
|
-
position: absolute;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&:before {
|
|
57
|
-
z-index: 1;
|
|
58
|
-
width: var(--moduix-angle-slider-center-dot-size, var(--moduix-spacing-1-5));
|
|
59
|
-
height: var(--moduix-angle-slider-center-dot-size, var(--moduix-spacing-1-5));
|
|
60
|
-
border-radius: inherit;
|
|
61
|
-
background: var(--moduix-angle-slider-center-dot-color, var(--moduix-angle-slider-color, var(--moduix-color-foreground)));
|
|
62
|
-
content: "";
|
|
63
|
-
position: absolute;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&:has(.vn7zXa_thumb:focus-visible) {
|
|
67
|
-
box-shadow: inset 0 0 0 var(--moduix-angle-slider-track-border-width, var(--moduix-border-width-sm))
|
|
68
|
-
var(--_angle-slider-track-border-color),
|
|
69
|
-
0 0 0 var(--moduix-angle-slider-focus-ring-width, .1875rem)
|
|
70
|
-
var(--moduix-angle-slider-focus-ring-color, var(--moduix-color-ring)),
|
|
71
|
-
var(--moduix-angle-slider-shadow, none);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
&[data-invalid] {
|
|
75
|
-
--_angle-slider-control-border-color: var(--moduix-angle-slider-invalid-color, var(--moduix-color-destructive));
|
|
76
|
-
--_angle-slider-track-border-color: var(--moduix-angle-slider-invalid-color, var(--moduix-color-destructive));
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&:is([data-disabled], [data-readonly]) {
|
|
80
|
-
cursor: default;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.vn7zXa_thumb {
|
|
85
|
-
top: 0;
|
|
86
|
-
bottom: 0;
|
|
87
|
-
left: calc(50% - var(--moduix-angle-slider-thumb-line-width, .1875rem) / 2);
|
|
88
|
-
z-index: 2;
|
|
89
|
-
width: var(--moduix-angle-slider-thumb-line-width, .1875rem);
|
|
90
|
-
outline: 0;
|
|
91
|
-
position: absolute;
|
|
92
|
-
|
|
93
|
-
&:before {
|
|
94
|
-
top: var(--moduix-angle-slider-ring-thickness, .875rem);
|
|
95
|
-
box-sizing: border-box;
|
|
96
|
-
width: var(--moduix-angle-slider-thumb-size, var(--moduix-spacing-4));
|
|
97
|
-
height: var(--moduix-angle-slider-thumb-size, var(--moduix-spacing-4));
|
|
98
|
-
border: var(--moduix-angle-slider-thumb-border-width, var(--moduix-border-width-sm)) solid
|
|
99
|
-
var(--moduix-angle-slider-thumb-border-color, var(--moduix-color-border));
|
|
100
|
-
border-radius: var(--moduix-angle-slider-thumb-radius, var(--moduix-radius-full));
|
|
101
|
-
background: var(--moduix-angle-slider-thumb-bg, var(--moduix-angle-slider-indicator-bg, var(--moduix-color-primary)));
|
|
102
|
-
box-shadow: var(--moduix-angle-slider-thumb-shadow, var(--moduix-shadow-sm));
|
|
103
|
-
transition: border-color var(--moduix-angle-slider-transition, var(--moduix-transition-default)),
|
|
104
|
-
box-shadow var(--moduix-angle-slider-transition, var(--moduix-transition-default)),
|
|
105
|
-
background-color var(--moduix-angle-slider-transition, var(--moduix-transition-default)),
|
|
106
|
-
transform var(--moduix-angle-slider-transition, var(--moduix-transition-default));
|
|
107
|
-
content: "";
|
|
108
|
-
position: absolute;
|
|
109
|
-
left: 50%;
|
|
110
|
-
transform: translateX(-50%);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
&:after {
|
|
114
|
-
top: calc(var(--moduix-angle-slider-ring-thickness, .875rem) +
|
|
115
|
-
var(--moduix-angle-slider-thumb-size, var(--moduix-spacing-4)) + var(--moduix-spacing-1));
|
|
116
|
-
width: var(--moduix-angle-slider-thumb-line-width, .1875rem);
|
|
117
|
-
height: calc(50% - var(--moduix-angle-slider-ring-thickness, .875rem) -
|
|
118
|
-
var(--moduix-angle-slider-thumb-size, var(--moduix-spacing-4)) - var(--moduix-spacing-1-5));
|
|
119
|
-
border-radius: var(--moduix-radius-full);
|
|
120
|
-
background: linear-gradient(to bottom,
|
|
121
|
-
var(--moduix-angle-slider-indicator-bg, var(--moduix-color-primary)),
|
|
122
|
-
transparent);
|
|
123
|
-
content: "";
|
|
124
|
-
position: absolute;
|
|
125
|
-
left: 50%;
|
|
126
|
-
transform: translateX(-50%);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
&:focus-visible:before {
|
|
130
|
-
border-color: var(--moduix-angle-slider-focus-ring-color, var(--moduix-color-ring));
|
|
131
|
-
box-shadow: 0 0 0 var(--moduix-border-width-sm)
|
|
132
|
-
var(--moduix-angle-slider-focus-ring-color, var(--moduix-color-ring));
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
&:active:not([data-disabled], [data-readonly]):before {
|
|
136
|
-
transform: translateX(-50%) scale(1.08);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
&[data-invalid]:before {
|
|
140
|
-
border-color: var(--moduix-angle-slider-invalid-color, var(--moduix-color-destructive));
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
&[data-invalid]:after {
|
|
144
|
-
background: linear-gradient(to bottom,
|
|
145
|
-
var(--moduix-angle-slider-invalid-color, var(--moduix-color-destructive)),
|
|
146
|
-
transparent);
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
&[data-disabled] {
|
|
150
|
-
pointer-events: none;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.vn7zXa_markerGroup {
|
|
155
|
-
z-index: 1;
|
|
156
|
-
pointer-events: none;
|
|
157
|
-
position: absolute;
|
|
158
|
-
inset: 0;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.vn7zXa_marker {
|
|
162
|
-
position: absolute;
|
|
163
|
-
inset: 0;
|
|
164
|
-
|
|
165
|
-
&:before {
|
|
166
|
-
top: calc(var(--moduix-angle-slider-ring-thickness, .875rem) + .125rem);
|
|
167
|
-
width: var(--moduix-angle-slider-marker-width, .125rem);
|
|
168
|
-
height: var(--moduix-angle-slider-marker-height, .625rem);
|
|
169
|
-
border-radius: var(--moduix-radius-full);
|
|
170
|
-
background: var(--moduix-angle-slider-marker-color, var(--moduix-color-muted-foreground));
|
|
171
|
-
content: "";
|
|
172
|
-
position: absolute;
|
|
173
|
-
left: 50%;
|
|
174
|
-
transform: translate(-50%, -50%);
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
&[data-state="under-value"]:before {
|
|
178
|
-
background: var(--moduix-angle-slider-marker-active-color, var(--moduix-color-primary));
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
&[data-state="at-value"]:before {
|
|
182
|
-
background: var(--moduix-angle-slider-marker-current-color, var(--moduix-color-foreground));
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.vn7zXa_valueText {
|
|
187
|
-
color: var(--moduix-angle-slider-value-text-color, var(--moduix-angle-slider-color, var(--moduix-color-foreground)));
|
|
188
|
-
font-size: var(--moduix-angle-slider-value-text-font-size, var(--moduix-text-sm));
|
|
189
|
-
font-weight: var(--moduix-angle-slider-value-text-font-weight, var(--moduix-weight-medium));
|
|
190
|
-
line-height: var(--moduix-angle-slider-value-text-line-height, var(--moduix-line-height-text-sm));
|
|
191
|
-
text-align: center;
|
|
192
|
-
}
|
|
193
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
@layer moduix.components {
|
|
2
|
-
.iOVgxW_root {
|
|
3
|
-
--aspect-ratio-value: 1;
|
|
4
|
-
width: 100%;
|
|
5
|
-
aspect-ratio: var(--aspect-ratio-value);
|
|
6
|
-
border-radius: var(--moduix-aspect-ratio-radius, var(--moduix-radius-md));
|
|
7
|
-
position: relative;
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
|
|
10
|
-
& > :where(img, video, iframe, canvas, svg) {
|
|
11
|
-
width: 100%;
|
|
12
|
-
height: 100%;
|
|
13
|
-
display: block;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
@layer moduix.components {
|
|
2
|
-
.NXa69G_root {
|
|
3
|
-
justify-content: center;
|
|
4
|
-
align-items: center;
|
|
5
|
-
gap: var(--moduix-badge-gap, var(--moduix-spacing-1-5));
|
|
6
|
-
border: var(--moduix-badge-border-width, var(--moduix-border-width-sm)) solid
|
|
7
|
-
var(--moduix-badge-border-color, transparent);
|
|
8
|
-
border-radius: var(--moduix-badge-radius, var(--moduix-radius-full));
|
|
9
|
-
width: fit-content;
|
|
10
|
-
min-width: 0;
|
|
11
|
-
max-width: 100%;
|
|
12
|
-
padding-block: var(--moduix-badge-padding-y, 0);
|
|
13
|
-
padding-inline: var(--moduix-badge-padding-x, var(--moduix-spacing-2-5));
|
|
14
|
-
background-color: var(--moduix-badge-bg, var(--moduix-color-primary));
|
|
15
|
-
color: var(--moduix-badge-color, var(--moduix-color-primary-foreground));
|
|
16
|
-
font-size: var(--moduix-badge-font-size, var(--moduix-text-xs));
|
|
17
|
-
font-weight: var(--moduix-badge-font-weight, var(--moduix-weight-medium));
|
|
18
|
-
font-variant-numeric: tabular-nums;
|
|
19
|
-
line-height: var(--moduix-badge-line-height, var(--moduix-line-height-text-xs));
|
|
20
|
-
min-height: var(--moduix-badge-height, 1.25rem);
|
|
21
|
-
user-select: none;
|
|
22
|
-
white-space: nowrap;
|
|
23
|
-
text-overflow: ellipsis;
|
|
24
|
-
vertical-align: middle;
|
|
25
|
-
transition: color var(--moduix-transition-default),
|
|
26
|
-
background-color var(--moduix-transition-default),
|
|
27
|
-
border-color var(--moduix-transition-default);
|
|
28
|
-
text-decoration: none;
|
|
29
|
-
display: inline-flex;
|
|
30
|
-
overflow: hidden;
|
|
31
|
-
|
|
32
|
-
&:is(a, button, [role="button"]) {
|
|
33
|
-
cursor: pointer;
|
|
34
|
-
|
|
35
|
-
&:focus-visible {
|
|
36
|
-
outline: var(--moduix-badge-focus-ring-width, var(--moduix-focus-ring-width, var(--moduix-border-width-md)))
|
|
37
|
-
solid var(--moduix-badge-focus-ring-color, var(--moduix-color-ring));
|
|
38
|
-
outline-offset: var(--moduix-badge-focus-ring-offset, var(--moduix-focus-ring-offset));
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&[data-variant="default"], &[data-variant="secondary"], &[data-variant="destructive"] {
|
|
42
|
-
&:hover {
|
|
43
|
-
opacity: .9;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&[data-variant="outline"], &[data-variant="ghost"] {
|
|
48
|
-
&:hover {
|
|
49
|
-
border-color: var(--moduix-badge-border-color, var(--moduix-color-primary));
|
|
50
|
-
color: var(--moduix-badge-color, var(--moduix-color-primary));
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&[data-variant="link"] {
|
|
55
|
-
&:hover {
|
|
56
|
-
text-decoration-color: currentColor;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
& > svg {
|
|
62
|
-
width: var(--moduix-badge-icon-size, var(--moduix-spacing-3));
|
|
63
|
-
height: var(--moduix-badge-icon-size, var(--moduix-spacing-3));
|
|
64
|
-
pointer-events: none;
|
|
65
|
-
flex-shrink: 0;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&[data-variant="secondary"] {
|
|
69
|
-
background-color: var(--moduix-badge-bg, var(--moduix-color-secondary));
|
|
70
|
-
color: var(--moduix-badge-color, var(--moduix-color-secondary-foreground));
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&[data-variant="destructive"] {
|
|
74
|
-
background-color: var(--moduix-badge-bg, var(--moduix-color-destructive));
|
|
75
|
-
color: var(--moduix-badge-color, var(--moduix-color-destructive-foreground));
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&[data-variant="outline"], &[data-variant="ghost"], &[data-variant="link"] {
|
|
79
|
-
background-color: var(--moduix-badge-bg, transparent);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&[data-variant="outline"], &[data-variant="ghost"] {
|
|
83
|
-
color: var(--moduix-badge-color, var(--moduix-color-foreground));
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&[data-variant="outline"] {
|
|
87
|
-
border-color: var(--moduix-badge-border-color, var(--moduix-color-border));
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
&[data-variant="link"] {
|
|
91
|
-
min-height: auto;
|
|
92
|
-
color: var(--moduix-badge-color, var(--moduix-color-primary));
|
|
93
|
-
text-decoration: underline;
|
|
94
|
-
text-decoration-color: color-mix(in oklab, currentColor 55%, transparent);
|
|
95
|
-
text-underline-offset: var(--moduix-badge-link-underline-offset, .15em);
|
|
96
|
-
border-color: #0000;
|
|
97
|
-
padding-inline: 0;
|
|
98
|
-
text-decoration-thickness: from-font;
|
|
99
|
-
overflow: visible;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.NXa69G_dot {
|
|
104
|
-
width: var(--moduix-badge-dot-size, var(--moduix-spacing-1-5));
|
|
105
|
-
height: var(--moduix-badge-dot-size, var(--moduix-spacing-1-5));
|
|
106
|
-
background-color: currentColor;
|
|
107
|
-
border-radius: 50%;
|
|
108
|
-
flex-shrink: 0;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
@layer moduix.components {
|
|
2
|
-
.m38JbW_root {
|
|
3
|
-
box-sizing: border-box;
|
|
4
|
-
margin: 0;
|
|
5
|
-
|
|
6
|
-
&[data-inline="xs"] {
|
|
7
|
-
margin-inline: calc(var(--moduix-bleed-inline-xs, var(--moduix-spacing-1)) * -1);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
&[data-inline="sm"] {
|
|
11
|
-
margin-inline: calc(var(--moduix-bleed-inline-sm, var(--moduix-spacing-2)) * -1);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&[data-inline="md"] {
|
|
15
|
-
margin-inline: calc(var(--moduix-bleed-inline-md, var(--moduix-spacing-3)) * -1);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&[data-inline="lg"] {
|
|
19
|
-
margin-inline: calc(var(--moduix-bleed-inline-lg, var(--moduix-spacing-4)) * -1);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&[data-inline="xl"] {
|
|
23
|
-
margin-inline: calc(var(--moduix-bleed-inline-xl, var(--moduix-spacing-6)) * -1);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&[data-inline="full"] {
|
|
27
|
-
inline-size: var(--moduix-bleed-inline-full-size, 100vw);
|
|
28
|
-
margin-inline: var(--moduix-bleed-inline-full, calc(50% - 50vw));
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&[data-block="xs"] {
|
|
32
|
-
margin-block: calc(var(--moduix-bleed-block-xs, var(--moduix-spacing-1)) * -1);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&[data-block="sm"] {
|
|
36
|
-
margin-block: calc(var(--moduix-bleed-block-sm, var(--moduix-spacing-2)) * -1);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&[data-block="md"] {
|
|
40
|
-
margin-block: calc(var(--moduix-bleed-block-md, var(--moduix-spacing-3)) * -1);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&[data-block="lg"] {
|
|
44
|
-
margin-block: calc(var(--moduix-bleed-block-lg, var(--moduix-spacing-4)) * -1);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&[data-block="xl"] {
|
|
48
|
-
margin-block: calc(var(--moduix-bleed-block-xl, var(--moduix-spacing-6)) * -1);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
@@ -1,216 +0,0 @@
|
|
|
1
|
-
@layer moduix.components {
|
|
2
|
-
.NbN_ya_root {
|
|
3
|
-
box-sizing: border-box;
|
|
4
|
-
justify-content: center;
|
|
5
|
-
align-items: center;
|
|
6
|
-
gap: var(--moduix-button-content-gap, var(--moduix-spacing-2));
|
|
7
|
-
border: var(--moduix-button-border-width, var(--moduix-border-width-sm)) solid transparent;
|
|
8
|
-
border-radius: var(--moduix-button-radius, var(--moduix-radius-md));
|
|
9
|
-
color: var(--moduix-button-color, var(--moduix-color-foreground));
|
|
10
|
-
appearance: none;
|
|
11
|
-
font: inherit;
|
|
12
|
-
font-size: var(--moduix-button-font-size, var(--moduix-text-sm));
|
|
13
|
-
font-weight: var(--moduix-button-font-weight, var(--moduix-weight-medium));
|
|
14
|
-
line-height: var(--moduix-button-line-height, var(--moduix-line-height-text-sm));
|
|
15
|
-
user-select: none;
|
|
16
|
-
white-space: nowrap;
|
|
17
|
-
cursor: pointer;
|
|
18
|
-
transition: background-color var(--moduix-button-transition, var(--moduix-transition-default)),
|
|
19
|
-
border-color var(--moduix-button-transition, var(--moduix-transition-default)),
|
|
20
|
-
color var(--moduix-button-transition, var(--moduix-transition-default)),
|
|
21
|
-
opacity var(--moduix-button-transition, var(--moduix-transition-default)),
|
|
22
|
-
box-shadow var(--moduix-button-transition, var(--moduix-transition-default));
|
|
23
|
-
background-color: #0000;
|
|
24
|
-
margin: 0;
|
|
25
|
-
text-decoration: none;
|
|
26
|
-
display: inline-flex;
|
|
27
|
-
|
|
28
|
-
&:focus-visible {
|
|
29
|
-
outline: var(--moduix-button-focus-ring-width, var(--moduix-focus-ring-width, var(--moduix-border-width-md)))
|
|
30
|
-
solid var(--moduix-button-focus-ring-color, var(--moduix-color-ring));
|
|
31
|
-
outline-offset: calc(var(--moduix-button-focus-ring-offset, var(--moduix-button-border-width, var(--moduix-border-width-sm))) *
|
|
32
|
-
-1);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&:active:not([data-disabled]) {
|
|
36
|
-
opacity: .9;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&[data-disabled] {
|
|
40
|
-
opacity: var(--moduix-button-disabled-opacity, var(--moduix-opacity-disabled));
|
|
41
|
-
cursor: default;
|
|
42
|
-
pointer-events: none;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&[data-loading] {
|
|
46
|
-
cursor: progress;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
& :where(svg) {
|
|
50
|
-
width: var(--moduix-button-icon-size, var(--moduix-spacing-4));
|
|
51
|
-
height: var(--moduix-button-icon-size, var(--moduix-spacing-4));
|
|
52
|
-
flex-shrink: 0;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
& [data-icon="inline-start"], & [data-icon="inline-end"] {
|
|
56
|
-
flex-shrink: 0;
|
|
57
|
-
justify-content: center;
|
|
58
|
-
align-items: center;
|
|
59
|
-
display: inline-flex;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&[data-variant="default"] {
|
|
63
|
-
border-color: var(--moduix-button-default-border-color, var(--moduix-color-primary));
|
|
64
|
-
background-color: var(--moduix-button-default-bg, var(--moduix-color-primary));
|
|
65
|
-
color: var(--moduix-button-default-color, var(--moduix-color-primary-foreground));
|
|
66
|
-
|
|
67
|
-
@media (hover: hover) {
|
|
68
|
-
&:not([data-disabled]):hover {
|
|
69
|
-
background-color: var(--moduix-button-default-bg-hover, color-mix(in srgb,
|
|
70
|
-
var(--moduix-button-default-bg, var(--moduix-color-primary)) 88%,
|
|
71
|
-
black));
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
&[data-variant="outline"] {
|
|
77
|
-
border-color: var(--moduix-button-outline-border-color, var(--moduix-color-border));
|
|
78
|
-
background-color: var(--moduix-button-outline-bg, var(--moduix-color-background));
|
|
79
|
-
color: var(--moduix-button-outline-color, var(--moduix-color-foreground));
|
|
80
|
-
|
|
81
|
-
@media (hover: hover) {
|
|
82
|
-
&:not([data-disabled]):hover {
|
|
83
|
-
background-color: var(--moduix-button-outline-bg-hover, var(--moduix-color-accent));
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
&[data-variant="secondary"] {
|
|
89
|
-
border-color: var(--moduix-button-secondary-border-color, var(--moduix-color-secondary));
|
|
90
|
-
background-color: var(--moduix-button-secondary-bg, var(--moduix-color-secondary));
|
|
91
|
-
color: var(--moduix-button-secondary-color, var(--moduix-color-secondary-foreground));
|
|
92
|
-
|
|
93
|
-
@media (hover: hover) {
|
|
94
|
-
&:not([data-disabled]):hover {
|
|
95
|
-
background-color: var(--moduix-button-secondary-bg-hover, var(--moduix-color-accent));
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
&[data-variant="destructive"] {
|
|
101
|
-
border-color: var(--moduix-button-destructive-border-color, var(--moduix-color-destructive));
|
|
102
|
-
background-color: var(--moduix-button-destructive-bg, var(--moduix-color-destructive));
|
|
103
|
-
color: var(--moduix-button-destructive-color, var(--moduix-color-destructive-foreground));
|
|
104
|
-
|
|
105
|
-
@media (hover: hover) {
|
|
106
|
-
&:not([data-disabled]):hover {
|
|
107
|
-
filter: brightness(var(--moduix-button-destructive-hover-brightness, .96));
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
&[data-variant="destructive-outline"] {
|
|
113
|
-
border-color: var(--moduix-button-destructive-outline-border-color, var(--moduix-color-destructive));
|
|
114
|
-
background-color: var(--moduix-button-destructive-outline-bg, var(--moduix-color-background));
|
|
115
|
-
color: var(--moduix-button-destructive-outline-color, var(--moduix-color-destructive));
|
|
116
|
-
|
|
117
|
-
@media (hover: hover) {
|
|
118
|
-
&:not([data-disabled]):hover {
|
|
119
|
-
background-color: var(--moduix-button-destructive-outline-bg-hover, var(--moduix-color-destructive));
|
|
120
|
-
color: var(--moduix-button-destructive-outline-color-hover, var(--moduix-button-destructive-color, var(--moduix-color-destructive-foreground)));
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
&[data-variant="ghost"] {
|
|
126
|
-
border-color: var(--moduix-button-ghost-border-color, transparent);
|
|
127
|
-
background-color: var(--moduix-button-ghost-bg, transparent);
|
|
128
|
-
color: var(--moduix-button-ghost-color, var(--moduix-color-foreground));
|
|
129
|
-
|
|
130
|
-
@media (hover: hover) {
|
|
131
|
-
&:not([data-disabled]):hover {
|
|
132
|
-
background-color: var(--moduix-button-ghost-bg-hover, var(--moduix-color-accent));
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
&[data-variant="link"] {
|
|
138
|
-
color: var(--moduix-button-link-color, var(--moduix-color-primary));
|
|
139
|
-
text-decoration: var(--moduix-button-link-text-decoration, underline);
|
|
140
|
-
text-underline-offset: var(--moduix-button-link-underline-offset, .25em);
|
|
141
|
-
background-color: #0000;
|
|
142
|
-
border-color: #0000;
|
|
143
|
-
padding-inline: 0;
|
|
144
|
-
|
|
145
|
-
@media (hover: hover) {
|
|
146
|
-
&:not([data-disabled]):hover {
|
|
147
|
-
color: var(--moduix-button-link-color-hover, var(--moduix-color-foreground));
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
&[data-size="xs"] {
|
|
153
|
-
min-height: var(--moduix-button-size-xs, var(--moduix-size-xs));
|
|
154
|
-
padding-block: var(--moduix-button-padding-y-xs, var(--moduix-spacing-0-5));
|
|
155
|
-
padding-inline: var(--moduix-button-padding-x-xs, var(--moduix-spacing-2-5));
|
|
156
|
-
font-size: var(--moduix-button-font-size-xs, var(--moduix-text-xs));
|
|
157
|
-
line-height: var(--moduix-button-line-height-xs, var(--moduix-line-height-text-xs));
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
&[data-size="sm"] {
|
|
161
|
-
min-height: var(--moduix-button-size-sm, var(--moduix-size-sm));
|
|
162
|
-
padding-block: var(--moduix-button-padding-y-sm, var(--moduix-spacing-1));
|
|
163
|
-
padding-inline: var(--moduix-button-padding-x-sm, var(--moduix-spacing-3));
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
&[data-size="md"] {
|
|
167
|
-
min-height: var(--moduix-button-size-md, var(--moduix-size-md));
|
|
168
|
-
padding-block: var(--moduix-button-padding-y-md, var(--moduix-spacing-1));
|
|
169
|
-
padding-inline: var(--moduix-button-padding-x-md, var(--moduix-spacing-4));
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
&[data-size="lg"] {
|
|
173
|
-
min-height: var(--moduix-button-size-lg, var(--moduix-size-lg));
|
|
174
|
-
padding-block: var(--moduix-button-padding-y-lg, var(--moduix-spacing-1-5));
|
|
175
|
-
padding-inline: var(--moduix-button-padding-x-lg, var(--moduix-spacing-5));
|
|
176
|
-
font-size: var(--moduix-button-font-size-lg, var(--moduix-text-md));
|
|
177
|
-
line-height: var(--moduix-button-line-height-lg, var(--moduix-line-height-text-md));
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
&[data-size="xl"] {
|
|
181
|
-
min-height: var(--moduix-button-size-xl, var(--moduix-size-xl));
|
|
182
|
-
padding-block: var(--moduix-button-padding-y-xl, var(--moduix-spacing-2));
|
|
183
|
-
padding-inline: var(--moduix-button-padding-x-xl, var(--moduix-spacing-6));
|
|
184
|
-
font-size: var(--moduix-button-font-size-xl, var(--moduix-text-lg));
|
|
185
|
-
line-height: var(--moduix-button-line-height-xl, var(--moduix-line-height-text-lg));
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
&[data-size="icon-sm"], &[data-size="icon-md"], &[data-size="icon-lg"] {
|
|
189
|
-
gap: 0;
|
|
190
|
-
padding: 0;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
&[data-size="icon-sm"] {
|
|
194
|
-
width: var(--moduix-button-size-icon-sm, var(--moduix-size-sm));
|
|
195
|
-
min-width: var(--moduix-button-size-icon-sm, var(--moduix-size-sm));
|
|
196
|
-
height: var(--moduix-button-size-icon-sm, var(--moduix-size-sm));
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
&[data-size="icon-md"] {
|
|
200
|
-
width: var(--moduix-button-size-icon-md, var(--moduix-size-md));
|
|
201
|
-
min-width: var(--moduix-button-size-icon-md, var(--moduix-size-md));
|
|
202
|
-
height: var(--moduix-button-size-icon-md, var(--moduix-size-md));
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
&[data-size="icon-lg"] {
|
|
206
|
-
width: var(--moduix-button-size-icon-lg, var(--moduix-size-lg));
|
|
207
|
-
min-width: var(--moduix-button-size-icon-lg, var(--moduix-size-lg));
|
|
208
|
-
height: var(--moduix-button-size-icon-lg, var(--moduix-size-lg));
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
&[data-variant="link"] {
|
|
212
|
-
min-height: 0;
|
|
213
|
-
padding-block: 0;
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
}
|