@moduix/solid-tailwind 1.0.0
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/LICENSE.md +9 -0
- package/README.md +130 -0
- package/THIRD_PARTY_NOTICES.md +49 -0
- package/dist/components/accordion/Accordion.d.ts +22 -0
- package/dist/components/accordion/Accordion.js +103 -0
- package/dist/components/accordion/Accordion.jsx +63 -0
- package/dist/components/accordion/index.d.ts +1 -0
- package/dist/components/accordion/index.js +1 -0
- package/dist/components/accordion/index.jsx +1 -0
- package/dist/components/alert/Alert.d.ts +20 -0
- package/dist/components/alert/Alert.js +116 -0
- package/dist/components/alert/Alert.jsx +66 -0
- package/dist/components/alert/index.d.ts +1 -0
- package/dist/components/alert/index.js +1 -0
- package/dist/components/alert/index.jsx +1 -0
- package/dist/components/angle-slider/AngleSlider.d.ts +37 -0
- package/dist/components/angle-slider/AngleSlider.js +165 -0
- package/dist/components/angle-slider/AngleSlider.jsx +97 -0
- package/dist/components/angle-slider/index.d.ts +1 -0
- package/dist/components/angle-slider/index.js +1 -0
- package/dist/components/angle-slider/index.jsx +1 -0
- package/dist/components/aspect-ratio/AspectRatio.d.ts +13 -0
- package/dist/components/aspect-ratio/AspectRatio.js +43 -0
- package/dist/components/aspect-ratio/AspectRatio.jsx +28 -0
- package/dist/components/aspect-ratio/index.d.ts +1 -0
- package/dist/components/aspect-ratio/index.js +1 -0
- package/dist/components/aspect-ratio/index.jsx +1 -0
- package/dist/components/avatar/Avatar.d.ts +21 -0
- package/dist/components/avatar/Avatar.js +88 -0
- package/dist/components/avatar/Avatar.jsx +59 -0
- package/dist/components/avatar/index.d.ts +1 -0
- package/dist/components/avatar/index.js +1 -0
- package/dist/components/avatar/index.jsx +1 -0
- package/dist/components/badge/Badge.d.ts +14 -0
- package/dist/components/badge/Badge.js +72 -0
- package/dist/components/badge/Badge.jsx +46 -0
- package/dist/components/badge/index.d.ts +1 -0
- package/dist/components/badge/index.js +1 -0
- package/dist/components/badge/index.jsx +1 -0
- package/dist/components/bleed/Bleed.d.ts +17 -0
- package/dist/components/bleed/Bleed.js +68 -0
- package/dist/components/bleed/Bleed.jsx +50 -0
- package/dist/components/bleed/index.d.ts +1 -0
- package/dist/components/bleed/index.js +1 -0
- package/dist/components/bleed/index.jsx +1 -0
- package/dist/components/breadcrumbs/Breadcrumbs.d.ts +30 -0
- package/dist/components/breadcrumbs/Breadcrumbs.js +158 -0
- package/dist/components/breadcrumbs/Breadcrumbs.jsx +88 -0
- package/dist/components/breadcrumbs/index.d.ts +1 -0
- package/dist/components/breadcrumbs/index.js +1 -0
- package/dist/components/breadcrumbs/index.jsx +1 -0
- package/dist/components/button/Button.d.ts +16 -0
- package/dist/components/button/Button.js +124 -0
- package/dist/components/button/Button.jsx +75 -0
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/button/index.js +1 -0
- package/dist/components/button/index.jsx +1 -0
- package/dist/components/card/Card.d.ts +28 -0
- package/dist/components/card/Card.js +210 -0
- package/dist/components/card/Card.jsx +103 -0
- package/dist/components/card/index.d.ts +1 -0
- package/dist/components/card/index.js +1 -0
- package/dist/components/card/index.jsx +1 -0
- package/dist/components/carousel/Carousel.d.ts +35 -0
- package/dist/components/carousel/Carousel.js +218 -0
- package/dist/components/carousel/Carousel.jsx +121 -0
- package/dist/components/carousel/index.d.ts +1 -0
- package/dist/components/carousel/index.js +1 -0
- package/dist/components/carousel/index.jsx +1 -0
- package/dist/components/chart/Chart.d.ts +34 -0
- package/dist/components/chart/Chart.js +450 -0
- package/dist/components/chart/Chart.jsx +265 -0
- package/dist/components/chart/index.d.ts +1 -0
- package/dist/components/chart/index.js +1 -0
- package/dist/components/chart/index.jsx +1 -0
- package/dist/components/checkbox/Checkbox.d.ts +26 -0
- package/dist/components/checkbox/Checkbox.js +139 -0
- package/dist/components/checkbox/Checkbox.jsx +76 -0
- package/dist/components/checkbox/index.d.ts +1 -0
- package/dist/components/checkbox/index.js +1 -0
- package/dist/components/checkbox/index.jsx +1 -0
- package/dist/components/clipboard/Clipboard.d.ts +26 -0
- package/dist/components/clipboard/Clipboard.js +143 -0
- package/dist/components/clipboard/Clipboard.jsx +85 -0
- package/dist/components/clipboard/index.d.ts +1 -0
- package/dist/components/clipboard/index.js +1 -0
- package/dist/components/clipboard/index.jsx +1 -0
- package/dist/components/close-button/CloseButton.d.ts +14 -0
- package/dist/components/close-button/CloseButton.js +89 -0
- package/dist/components/close-button/CloseButton.jsx +48 -0
- package/dist/components/close-button/index.d.ts +1 -0
- package/dist/components/close-button/index.js +1 -0
- package/dist/components/close-button/index.jsx +1 -0
- package/dist/components/collapsible/Collapsible.d.ts +19 -0
- package/dist/components/collapsible/Collapsible.js +92 -0
- package/dist/components/collapsible/Collapsible.jsx +56 -0
- package/dist/components/collapsible/index.d.ts +1 -0
- package/dist/components/collapsible/index.js +1 -0
- package/dist/components/collapsible/index.jsx +1 -0
- package/dist/components/color-picker/ColorPicker.d.ts +66 -0
- package/dist/components/color-picker/ColorPicker.js +514 -0
- package/dist/components/color-picker/ColorPicker.jsx +276 -0
- package/dist/components/color-picker/index.d.ts +1 -0
- package/dist/components/color-picker/index.js +1 -0
- package/dist/components/color-picker/index.jsx +1 -0
- package/dist/components/combobox/Combobox.d.ts +50 -0
- package/dist/components/combobox/Combobox.js +353 -0
- package/dist/components/combobox/Combobox.jsx +187 -0
- package/dist/components/combobox/index.d.ts +1 -0
- package/dist/components/combobox/index.js +1 -0
- package/dist/components/combobox/index.jsx +1 -0
- package/dist/components/command-palette/CommandPalette.d.ts +72 -0
- package/dist/components/command-palette/CommandPalette.js +575 -0
- package/dist/components/command-palette/CommandPalette.jsx +324 -0
- package/dist/components/command-palette/index.d.ts +1 -0
- package/dist/components/command-palette/index.js +1 -0
- package/dist/components/command-palette/index.jsx +1 -0
- package/dist/components/container/Container.d.ts +17 -0
- package/dist/components/container/Container.js +140 -0
- package/dist/components/container/Container.jsx +126 -0
- package/dist/components/container/index.d.ts +1 -0
- package/dist/components/container/index.js +1 -0
- package/dist/components/container/index.jsx +1 -0
- package/dist/components/date-input/DateInput.d.ts +25 -0
- package/dist/components/date-input/DateInput.js +136 -0
- package/dist/components/date-input/DateInput.jsx +76 -0
- package/dist/components/date-input/index.d.ts +1 -0
- package/dist/components/date-input/index.js +1 -0
- package/dist/components/date-input/index.jsx +1 -0
- package/dist/components/date-picker/DatePicker.d.ts +98 -0
- package/dist/components/date-picker/DatePicker.js +701 -0
- package/dist/components/date-picker/DatePicker.jsx +359 -0
- package/dist/components/date-picker/index.d.ts +2 -0
- package/dist/components/date-picker/index.js +1 -0
- package/dist/components/date-picker/index.jsx +1 -0
- package/dist/components/dialog/Dialog.d.ts +38 -0
- package/dist/components/dialog/Dialog.js +239 -0
- package/dist/components/dialog/Dialog.jsx +130 -0
- package/dist/components/dialog/index.d.ts +2 -0
- package/dist/components/dialog/index.js +1 -0
- package/dist/components/dialog/index.jsx +1 -0
- package/dist/components/drawer/Drawer.d.ts +54 -0
- package/dist/components/drawer/Drawer.js +333 -0
- package/dist/components/drawer/Drawer.jsx +179 -0
- package/dist/components/drawer/index.d.ts +1 -0
- package/dist/components/drawer/index.js +1 -0
- package/dist/components/drawer/index.jsx +1 -0
- package/dist/components/editable/Editable.d.ts +29 -0
- package/dist/components/editable/Editable.js +181 -0
- package/dist/components/editable/Editable.jsx +105 -0
- package/dist/components/editable/index.d.ts +1 -0
- package/dist/components/editable/index.js +1 -0
- package/dist/components/editable/index.jsx +1 -0
- package/dist/components/empty/Empty.d.ts +16 -0
- package/dist/components/empty/Empty.js +121 -0
- package/dist/components/empty/Empty.jsx +54 -0
- package/dist/components/empty/index.d.ts +1 -0
- package/dist/components/empty/index.js +1 -0
- package/dist/components/empty/index.jsx +1 -0
- package/dist/components/field/Field.d.ts +37 -0
- package/dist/components/field/Field.js +236 -0
- package/dist/components/field/Field.jsx +134 -0
- package/dist/components/field/index.d.ts +1 -0
- package/dist/components/field/index.js +1 -0
- package/dist/components/field/index.jsx +1 -0
- package/dist/components/fieldset/Fieldset.d.ts +16 -0
- package/dist/components/fieldset/Fieldset.js +93 -0
- package/dist/components/fieldset/Fieldset.jsx +47 -0
- package/dist/components/fieldset/index.d.ts +1 -0
- package/dist/components/fieldset/index.js +1 -0
- package/dist/components/fieldset/index.jsx +1 -0
- package/dist/components/file-upload/FileUpload.d.ts +44 -0
- package/dist/components/file-upload/FileUpload.js +325 -0
- package/dist/components/file-upload/FileUpload.jsx +178 -0
- package/dist/components/file-upload/index.d.ts +1 -0
- package/dist/components/file-upload/index.js +1 -0
- package/dist/components/file-upload/index.jsx +1 -0
- package/dist/components/floating-panel/FloatingPanel.d.ts +53 -0
- package/dist/components/floating-panel/FloatingPanel.js +338 -0
- package/dist/components/floating-panel/FloatingPanel.jsx +186 -0
- package/dist/components/floating-panel/index.d.ts +2 -0
- package/dist/components/floating-panel/index.js +1 -0
- package/dist/components/floating-panel/index.jsx +1 -0
- package/dist/components/heading/Heading.d.ts +20 -0
- package/dist/components/heading/Heading.js +82 -0
- package/dist/components/heading/Heading.jsx +62 -0
- package/dist/components/heading/index.d.ts +1 -0
- package/dist/components/heading/index.js +1 -0
- package/dist/components/heading/index.jsx +1 -0
- package/dist/components/highlight/Highlight.d.ts +12 -0
- package/dist/components/highlight/Highlight.js +24 -0
- package/dist/components/highlight/Highlight.jsx +16 -0
- package/dist/components/highlight/index.d.ts +1 -0
- package/dist/components/highlight/index.js +1 -0
- package/dist/components/highlight/index.jsx +1 -0
- package/dist/components/hover-card/HoverCard.d.ts +27 -0
- package/dist/components/hover-card/HoverCard.js +164 -0
- package/dist/components/hover-card/HoverCard.jsx +89 -0
- package/dist/components/hover-card/index.d.ts +1 -0
- package/dist/components/hover-card/index.js +1 -0
- package/dist/components/hover-card/index.jsx +1 -0
- package/dist/components/image/Image.d.ts +14 -0
- package/dist/components/image/Image.js +53 -0
- package/dist/components/image/Image.jsx +33 -0
- package/dist/components/image/index.d.ts +1 -0
- package/dist/components/image/index.js +1 -0
- package/dist/components/image/index.jsx +1 -0
- package/dist/components/image-cropper/ImageCropper.d.ts +27 -0
- package/dist/components/image-cropper/ImageCropper.js +131 -0
- package/dist/components/image-cropper/ImageCropper.jsx +72 -0
- package/dist/components/image-cropper/index.d.ts +1 -0
- package/dist/components/image-cropper/index.js +1 -0
- package/dist/components/image-cropper/index.jsx +1 -0
- package/dist/components/input/Input.d.ts +13 -0
- package/dist/components/input/Input.js +57 -0
- package/dist/components/input/Input.jsx +36 -0
- package/dist/components/input/index.d.ts +1 -0
- package/dist/components/input/index.js +1 -0
- package/dist/components/input/index.jsx +1 -0
- package/dist/components/input-group/InputGroup.d.ts +27 -0
- package/dist/components/input-group/InputGroup.js +191 -0
- package/dist/components/input-group/InputGroup.jsx +129 -0
- package/dist/components/input-group/index.d.ts +1 -0
- package/dist/components/input-group/index.js +1 -0
- package/dist/components/input-group/index.jsx +1 -0
- package/dist/components/json-tree-view/JsonTreeView.d.ts +11 -0
- package/dist/components/json-tree-view/JsonTreeView.js +69 -0
- package/dist/components/json-tree-view/JsonTreeView.jsx +37 -0
- package/dist/components/json-tree-view/index.d.ts +1 -0
- package/dist/components/json-tree-view/index.js +1 -0
- package/dist/components/json-tree-view/index.jsx +1 -0
- package/dist/components/kbd/Kbd.d.ts +8 -0
- package/dist/components/kbd/Kbd.js +36 -0
- package/dist/components/kbd/Kbd.jsx +20 -0
- package/dist/components/kbd/index.d.ts +1 -0
- package/dist/components/kbd/index.js +1 -0
- package/dist/components/kbd/index.jsx +1 -0
- package/dist/components/lightbox/Lightbox.d.ts +60 -0
- package/dist/components/lightbox/Lightbox.js +351 -0
- package/dist/components/lightbox/Lightbox.jsx +218 -0
- package/dist/components/lightbox/index.d.ts +2 -0
- package/dist/components/lightbox/index.js +1 -0
- package/dist/components/lightbox/index.jsx +1 -0
- package/dist/components/list/List.d.ts +36 -0
- package/dist/components/list/List.js +201 -0
- package/dist/components/list/List.jsx +133 -0
- package/dist/components/list/index.d.ts +1 -0
- package/dist/components/list/index.js +1 -0
- package/dist/components/list/index.jsx +1 -0
- package/dist/components/listbox/Listbox.d.ts +46 -0
- package/dist/components/listbox/Listbox.js +249 -0
- package/dist/components/listbox/Listbox.jsx +147 -0
- package/dist/components/listbox/index.d.ts +1 -0
- package/dist/components/listbox/index.js +1 -0
- package/dist/components/listbox/index.jsx +1 -0
- package/dist/components/marquee/Marquee.d.ts +18 -0
- package/dist/components/marquee/Marquee.js +120 -0
- package/dist/components/marquee/Marquee.jsx +80 -0
- package/dist/components/marquee/index.d.ts +1 -0
- package/dist/components/marquee/index.js +1 -0
- package/dist/components/marquee/index.jsx +1 -0
- package/dist/components/menu/Menu.d.ts +74 -0
- package/dist/components/menu/Menu.js +476 -0
- package/dist/components/menu/Menu.jsx +277 -0
- package/dist/components/menu/index.d.ts +1 -0
- package/dist/components/menu/index.js +1 -0
- package/dist/components/menu/index.jsx +1 -0
- package/dist/components/native-select/NativeSelect.d.ts +11 -0
- package/dist/components/native-select/NativeSelect.js +49 -0
- package/dist/components/native-select/NativeSelect.jsx +24 -0
- package/dist/components/native-select/index.d.ts +1 -0
- package/dist/components/native-select/index.js +1 -0
- package/dist/components/native-select/index.jsx +1 -0
- package/dist/components/navigation-menu/NavigationMenu.d.ts +31 -0
- package/dist/components/navigation-menu/NavigationMenu.js +156 -0
- package/dist/components/navigation-menu/NavigationMenu.jsx +92 -0
- package/dist/components/navigation-menu/index.d.ts +1 -0
- package/dist/components/navigation-menu/index.js +1 -0
- package/dist/components/navigation-menu/index.jsx +1 -0
- package/dist/components/number-input/NumberInput.d.ts +27 -0
- package/dist/components/number-input/NumberInput.js +167 -0
- package/dist/components/number-input/NumberInput.jsx +97 -0
- package/dist/components/number-input/index.d.ts +1 -0
- package/dist/components/number-input/index.js +1 -0
- package/dist/components/number-input/index.jsx +1 -0
- package/dist/components/pagination/Pagination.d.ts +28 -0
- package/dist/components/pagination/Pagination.js +218 -0
- package/dist/components/pagination/Pagination.jsx +115 -0
- package/dist/components/pagination/index.d.ts +1 -0
- package/dist/components/pagination/index.js +1 -0
- package/dist/components/pagination/index.jsx +1 -0
- package/dist/components/password-input/PasswordInput.d.ts +26 -0
- package/dist/components/password-input/PasswordInput.js +135 -0
- package/dist/components/password-input/PasswordInput.jsx +83 -0
- package/dist/components/password-input/index.d.ts +1 -0
- package/dist/components/password-input/index.js +1 -0
- package/dist/components/password-input/index.jsx +1 -0
- package/dist/components/pin-input/PinInput.d.ts +24 -0
- package/dist/components/pin-input/PinInput.js +144 -0
- package/dist/components/pin-input/PinInput.jsx +80 -0
- package/dist/components/pin-input/index.d.ts +1 -0
- package/dist/components/pin-input/index.js +1 -0
- package/dist/components/pin-input/index.jsx +1 -0
- package/dist/components/popover/Popover.d.ts +46 -0
- package/dist/components/popover/Popover.js +288 -0
- package/dist/components/popover/Popover.jsx +155 -0
- package/dist/components/popover/index.d.ts +1 -0
- package/dist/components/popover/index.js +1 -0
- package/dist/components/popover/index.jsx +1 -0
- package/dist/components/progress-circular/ProgressCircular.d.ts +28 -0
- package/dist/components/progress-circular/ProgressCircular.js +164 -0
- package/dist/components/progress-circular/ProgressCircular.jsx +89 -0
- package/dist/components/progress-circular/index.d.ts +1 -0
- package/dist/components/progress-circular/index.js +1 -0
- package/dist/components/progress-circular/index.jsx +1 -0
- package/dist/components/progress-linear/ProgressLinear.d.ts +23 -0
- package/dist/components/progress-linear/ProgressLinear.js +132 -0
- package/dist/components/progress-linear/ProgressLinear.jsx +71 -0
- package/dist/components/progress-linear/index.d.ts +1 -0
- package/dist/components/progress-linear/index.js +1 -0
- package/dist/components/progress-linear/index.jsx +1 -0
- package/dist/components/qr-code/QrCode.d.ts +19 -0
- package/dist/components/qr-code/QrCode.js +129 -0
- package/dist/components/qr-code/QrCode.jsx +70 -0
- package/dist/components/qr-code/index.d.ts +1 -0
- package/dist/components/qr-code/index.js +1 -0
- package/dist/components/qr-code/index.jsx +1 -0
- package/dist/components/radio-group/RadioGroup.d.ts +33 -0
- package/dist/components/radio-group/RadioGroup.js +158 -0
- package/dist/components/radio-group/RadioGroup.jsx +94 -0
- package/dist/components/radio-group/index.d.ts +2 -0
- package/dist/components/radio-group/index.js +1 -0
- package/dist/components/radio-group/index.jsx +1 -0
- package/dist/components/rating-group/RatingGroup.d.ts +33 -0
- package/dist/components/rating-group/RatingGroup.js +150 -0
- package/dist/components/rating-group/RatingGroup.jsx +80 -0
- package/dist/components/rating-group/index.d.ts +2 -0
- package/dist/components/rating-group/index.js +1 -0
- package/dist/components/rating-group/index.jsx +1 -0
- package/dist/components/scroll-area/ScrollArea.d.ts +30 -0
- package/dist/components/scroll-area/ScrollArea.js +109 -0
- package/dist/components/scroll-area/ScrollArea.jsx +61 -0
- package/dist/components/scroll-area/index.d.ts +2 -0
- package/dist/components/scroll-area/index.js +1 -0
- package/dist/components/scroll-area/index.jsx +1 -0
- package/dist/components/segment-group/SegmentGroup.d.ts +33 -0
- package/dist/components/segment-group/SegmentGroup.js +205 -0
- package/dist/components/segment-group/SegmentGroup.jsx +126 -0
- package/dist/components/segment-group/index.d.ts +1 -0
- package/dist/components/segment-group/index.js +1 -0
- package/dist/components/segment-group/index.jsx +1 -0
- package/dist/components/select/Select.d.ts +57 -0
- package/dist/components/select/Select.js +395 -0
- package/dist/components/select/Select.jsx +210 -0
- package/dist/components/select/index.d.ts +1 -0
- package/dist/components/select/index.js +1 -0
- package/dist/components/select/index.jsx +1 -0
- package/dist/components/separator/Separator.d.ts +17 -0
- package/dist/components/separator/Separator.js +127 -0
- package/dist/components/separator/Separator.jsx +100 -0
- package/dist/components/separator/index.d.ts +1 -0
- package/dist/components/separator/index.js +1 -0
- package/dist/components/separator/index.jsx +1 -0
- package/dist/components/sidebar/Sidebar.d.ts +82 -0
- package/dist/components/sidebar/Sidebar.js +590 -0
- package/dist/components/sidebar/Sidebar.jsx +308 -0
- package/dist/components/sidebar/index.d.ts +1 -0
- package/dist/components/sidebar/index.js +1 -0
- package/dist/components/sidebar/index.jsx +1 -0
- package/dist/components/signature-pad/SignaturePad.d.ts +30 -0
- package/dist/components/signature-pad/SignaturePad.js +211 -0
- package/dist/components/signature-pad/SignaturePad.jsx +116 -0
- package/dist/components/signature-pad/index.d.ts +1 -0
- package/dist/components/signature-pad/index.js +1 -0
- package/dist/components/signature-pad/index.jsx +1 -0
- package/dist/components/simple-grid/SimpleGrid.d.ts +17 -0
- package/dist/components/simple-grid/SimpleGrid.js +74 -0
- package/dist/components/simple-grid/SimpleGrid.jsx +59 -0
- package/dist/components/simple-grid/index.d.ts +1 -0
- package/dist/components/simple-grid/index.js +1 -0
- package/dist/components/simple-grid/index.jsx +1 -0
- package/dist/components/skeleton/Skeleton.d.ts +15 -0
- package/dist/components/skeleton/Skeleton.js +74 -0
- package/dist/components/skeleton/Skeleton.jsx +47 -0
- package/dist/components/skeleton/index.d.ts +1 -0
- package/dist/components/skeleton/index.js +1 -0
- package/dist/components/skeleton/index.jsx +1 -0
- package/dist/components/slider/Slider.d.ts +36 -0
- package/dist/components/slider/Slider.js +202 -0
- package/dist/components/slider/Slider.jsx +109 -0
- package/dist/components/slider/index.d.ts +1 -0
- package/dist/components/slider/index.js +1 -0
- package/dist/components/slider/index.jsx +1 -0
- package/dist/components/spinner/Spinner.d.ts +11 -0
- package/dist/components/spinner/Spinner.js +73 -0
- package/dist/components/spinner/Spinner.jsx +44 -0
- package/dist/components/spinner/index.d.ts +1 -0
- package/dist/components/spinner/index.js +1 -0
- package/dist/components/spinner/index.jsx +1 -0
- package/dist/components/split-button/SplitButton.d.ts +41 -0
- package/dist/components/split-button/SplitButton.js +197 -0
- package/dist/components/split-button/SplitButton.jsx +117 -0
- package/dist/components/split-button/index.d.ts +1 -0
- package/dist/components/split-button/index.js +1 -0
- package/dist/components/split-button/index.jsx +1 -0
- package/dist/components/splitter/Splitter.d.ts +18 -0
- package/dist/components/splitter/Splitter.js +101 -0
- package/dist/components/splitter/Splitter.jsx +58 -0
- package/dist/components/splitter/index.d.ts +1 -0
- package/dist/components/splitter/index.js +1 -0
- package/dist/components/splitter/index.jsx +1 -0
- package/dist/components/stack/Stack.d.ts +19 -0
- package/dist/components/stack/Stack.js +83 -0
- package/dist/components/stack/Stack.jsx +68 -0
- package/dist/components/stack/index.d.ts +1 -0
- package/dist/components/stack/index.js +1 -0
- package/dist/components/stack/index.jsx +1 -0
- package/dist/components/steps/Steps.d.ts +35 -0
- package/dist/components/steps/Steps.js +162 -0
- package/dist/components/steps/Steps.jsx +99 -0
- package/dist/components/steps/index.d.ts +1 -0
- package/dist/components/steps/index.js +1 -0
- package/dist/components/steps/index.jsx +1 -0
- package/dist/components/swap/Swap.d.ts +20 -0
- package/dist/components/swap/Swap.js +52 -0
- package/dist/components/swap/Swap.jsx +30 -0
- package/dist/components/swap/index.d.ts +1 -0
- package/dist/components/swap/index.js +1 -0
- package/dist/components/swap/index.jsx +1 -0
- package/dist/components/switch/Switch.d.ts +25 -0
- package/dist/components/switch/Switch.js +101 -0
- package/dist/components/switch/Switch.jsx +57 -0
- package/dist/components/switch/index.d.ts +1 -0
- package/dist/components/switch/index.js +1 -0
- package/dist/components/switch/index.jsx +1 -0
- package/dist/components/table/Table.d.ts +71 -0
- package/dist/components/table/Table.js +363 -0
- package/dist/components/table/Table.jsx +189 -0
- package/dist/components/table/index.d.ts +1 -0
- package/dist/components/table/index.js +1 -0
- package/dist/components/table/index.jsx +1 -0
- package/dist/components/tabs/Tabs.d.ts +25 -0
- package/dist/components/tabs/Tabs.js +98 -0
- package/dist/components/tabs/Tabs.jsx +55 -0
- package/dist/components/tabs/index.d.ts +1 -0
- package/dist/components/tabs/index.js +1 -0
- package/dist/components/tabs/index.jsx +1 -0
- package/dist/components/tag/Tag.d.ts +24 -0
- package/dist/components/tag/Tag.js +147 -0
- package/dist/components/tag/Tag.jsx +78 -0
- package/dist/components/tag/index.d.ts +1 -0
- package/dist/components/tag/index.js +1 -0
- package/dist/components/tag/index.jsx +1 -0
- package/dist/components/tags-input/TagsInput.d.ts +32 -0
- package/dist/components/tags-input/TagsInput.js +240 -0
- package/dist/components/tags-input/TagsInput.jsx +127 -0
- package/dist/components/tags-input/index.d.ts +1 -0
- package/dist/components/tags-input/index.js +1 -0
- package/dist/components/tags-input/index.jsx +1 -0
- package/dist/components/text/Text.d.ts +30 -0
- package/dist/components/text/Text.js +126 -0
- package/dist/components/text/Text.jsx +91 -0
- package/dist/components/text/index.d.ts +1 -0
- package/dist/components/text/index.js +1 -0
- package/dist/components/text/index.jsx +1 -0
- package/dist/components/textarea/Textarea.d.ts +9 -0
- package/dist/components/textarea/Textarea.js +45 -0
- package/dist/components/textarea/Textarea.jsx +26 -0
- package/dist/components/textarea/index.d.ts +1 -0
- package/dist/components/textarea/index.js +1 -0
- package/dist/components/textarea/index.jsx +1 -0
- package/dist/components/timer/Timer.d.ts +26 -0
- package/dist/components/timer/Timer.js +126 -0
- package/dist/components/timer/Timer.jsx +77 -0
- package/dist/components/timer/index.d.ts +1 -0
- package/dist/components/timer/index.js +1 -0
- package/dist/components/timer/index.jsx +1 -0
- package/dist/components/toast/Toast.d.ts +22 -0
- package/dist/components/toast/Toast.js +184 -0
- package/dist/components/toast/Toast.jsx +94 -0
- package/dist/components/toast/index.d.ts +1 -0
- package/dist/components/toast/index.js +1 -0
- package/dist/components/toast/index.jsx +1 -0
- package/dist/components/toc/Toc.d.ts +34 -0
- package/dist/components/toc/Toc.js +222 -0
- package/dist/components/toc/Toc.jsx +129 -0
- package/dist/components/toc/index.d.ts +1 -0
- package/dist/components/toc/index.js +1 -0
- package/dist/components/toc/index.jsx +1 -0
- package/dist/components/toggle/Toggle.d.ts +17 -0
- package/dist/components/toggle/Toggle.js +76 -0
- package/dist/components/toggle/Toggle.jsx +51 -0
- package/dist/components/toggle/index.d.ts +2 -0
- package/dist/components/toggle/index.js +1 -0
- package/dist/components/toggle/index.jsx +1 -0
- package/dist/components/toggle-group/ToggleGroup.d.ts +27 -0
- package/dist/components/toggle-group/ToggleGroup.js +165 -0
- package/dist/components/toggle-group/ToggleGroup.jsx +110 -0
- package/dist/components/toggle-group/index.d.ts +2 -0
- package/dist/components/toggle-group/index.js +1 -0
- package/dist/components/toggle-group/index.jsx +1 -0
- package/dist/components/tooltip/Tooltip.d.ts +29 -0
- package/dist/components/tooltip/Tooltip.js +192 -0
- package/dist/components/tooltip/Tooltip.jsx +108 -0
- package/dist/components/tooltip/index.d.ts +1 -0
- package/dist/components/tooltip/index.js +1 -0
- package/dist/components/tooltip/index.jsx +1 -0
- package/dist/components/tour/Tour.d.ts +46 -0
- package/dist/components/tour/Tour.js +274 -0
- package/dist/components/tour/Tour.jsx +155 -0
- package/dist/components/tour/index.d.ts +2 -0
- package/dist/components/tour/index.js +1 -0
- package/dist/components/tour/index.jsx +1 -0
- package/dist/components/tree-view/TreeView.d.ts +58 -0
- package/dist/components/tree-view/TreeView.js +296 -0
- package/dist/components/tree-view/TreeView.jsx +173 -0
- package/dist/components/tree-view/index.d.ts +1 -0
- package/dist/components/tree-view/index.js +1 -0
- package/dist/components/tree-view/index.jsx +1 -0
- package/dist/components/typeset/Typeset.d.ts +15 -0
- package/dist/components/typeset/Typeset.js +68 -0
- package/dist/components/typeset/Typeset.jsx +33 -0
- package/dist/components/typeset/Typeset.module.js +6 -0
- package/dist/components/typeset/Typeset.module.jsx +6 -0
- package/dist/components/typeset/Typeset_module.css +466 -0
- package/dist/components/typeset/index.d.ts +1 -0
- package/dist/components/typeset/index.js +1 -0
- package/dist/components/typeset/index.jsx +1 -0
- package/dist/internal/cn.d.ts +2 -0
- package/dist/internal/cn.js +40 -0
- package/dist/internal/cn.jsx +40 -0
- package/dist/internal/icons/ui/Icons.d.ts +37 -0
- package/dist/internal/icons/ui/Icons.js +115 -0
- package/dist/internal/icons/ui/Icons.jsx +93 -0
- package/dist/internal/icons/ui/index.d.ts +1 -0
- package/dist/internal/icons/ui/index.js +1 -0
- package/dist/internal/icons/ui/index.jsx +1 -0
- package/dist/internal/overlayPortal.d.ts +13 -0
- package/dist/internal/overlayPortal.js +39 -0
- package/dist/internal/overlayPortal.jsx +19 -0
- package/dist/locale.d.ts +1 -0
- package/dist/locale.js +1 -0
- package/dist/locale.jsx +1 -0
- package/dist/presets/contrast.css +65 -0
- package/dist/presets/dense.css +78 -0
- package/dist/presets/soft.css +77 -0
- package/dist/styles/animations.css +371 -0
- package/dist/styles/borders.css +10 -0
- package/dist/styles/colors.css +122 -0
- package/dist/styles/opacity.css +5 -0
- package/dist/styles/radius.css +11 -0
- package/dist/styles/shadows.css +5 -0
- package/dist/styles/sizing.css +11 -0
- package/dist/styles/spacing.css +26 -0
- package/dist/styles/style.css +180 -0
- package/dist/styles/transforms.css +4 -0
- package/dist/styles/transitions.css +32 -0
- package/dist/styles/typography.css +37 -0
- package/dist/styles/z-index.css +13 -0
- package/package.json +633 -0
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
@keyframes moduix-pulse {
|
|
2
|
+
50% {
|
|
3
|
+
opacity: 0.3;
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
@keyframes moduix-fade-in {
|
|
8
|
+
from {
|
|
9
|
+
opacity: 0;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@keyframes moduix-fade-out {
|
|
14
|
+
from {
|
|
15
|
+
opacity: 1;
|
|
16
|
+
}
|
|
17
|
+
to {
|
|
18
|
+
opacity: 0;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@keyframes moduix-swap-scale-enter {
|
|
23
|
+
from {
|
|
24
|
+
opacity: 0;
|
|
25
|
+
transform: scale(0.5);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@keyframes moduix-swap-scale-exit {
|
|
30
|
+
to {
|
|
31
|
+
opacity: 0;
|
|
32
|
+
transform: scale(0.5);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@keyframes moduix-swap-rotate-enter {
|
|
37
|
+
from {
|
|
38
|
+
opacity: 0;
|
|
39
|
+
transform: rotate(-180deg);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@keyframes moduix-swap-rotate-exit {
|
|
44
|
+
to {
|
|
45
|
+
opacity: 0;
|
|
46
|
+
transform: rotate(180deg);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@keyframes moduix-swap-flip-enter {
|
|
51
|
+
from {
|
|
52
|
+
opacity: 0;
|
|
53
|
+
transform: rotateY(-180deg);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@keyframes moduix-swap-flip-exit {
|
|
58
|
+
to {
|
|
59
|
+
opacity: 0;
|
|
60
|
+
transform: rotateY(180deg);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@keyframes moduix-slide-up {
|
|
65
|
+
from {
|
|
66
|
+
transform: translateY(4px);
|
|
67
|
+
opacity: 0;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@keyframes moduix-slide-down {
|
|
72
|
+
from {
|
|
73
|
+
transform: translateY(-4px);
|
|
74
|
+
opacity: 0;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@keyframes moduix-spin {
|
|
79
|
+
to {
|
|
80
|
+
transform: rotate(360deg);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@keyframes moduix-progress-linear-indeterminate {
|
|
85
|
+
from {
|
|
86
|
+
transform: translateX(-100%);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
to {
|
|
90
|
+
transform: translateX(300%);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@keyframes moduix-progress-linear-indeterminate-vertical {
|
|
95
|
+
from {
|
|
96
|
+
transform: translateY(100%);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
to {
|
|
100
|
+
transform: translateY(-300%);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@keyframes moduix-marquee-x {
|
|
105
|
+
from {
|
|
106
|
+
transform: translateX(0%);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
to {
|
|
110
|
+
transform: translateX(var(--marquee-translate));
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@keyframes moduix-marquee-y {
|
|
115
|
+
from {
|
|
116
|
+
transform: translateY(0%);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
to {
|
|
120
|
+
transform: translateY(var(--marquee-translate));
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
@keyframes moduix-accordion-item-content-open {
|
|
125
|
+
from {
|
|
126
|
+
height: 0;
|
|
127
|
+
opacity: var(--moduix-accordion-item-content-closed-opacity, 0.01);
|
|
128
|
+
}
|
|
129
|
+
to {
|
|
130
|
+
height: var(--height);
|
|
131
|
+
opacity: var(--moduix-accordion-item-content-open-opacity, 1);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@keyframes moduix-accordion-item-content-closed {
|
|
136
|
+
from {
|
|
137
|
+
height: var(--height);
|
|
138
|
+
opacity: var(--moduix-accordion-item-content-open-opacity, 1);
|
|
139
|
+
}
|
|
140
|
+
to {
|
|
141
|
+
height: 0;
|
|
142
|
+
opacity: var(--moduix-accordion-item-content-closed-opacity, 0.01);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
@keyframes moduix-accordion-item-content-open-horizontal {
|
|
147
|
+
from {
|
|
148
|
+
width: 0;
|
|
149
|
+
opacity: var(--moduix-accordion-item-content-closed-opacity, 0.01);
|
|
150
|
+
}
|
|
151
|
+
to {
|
|
152
|
+
width: var(--width);
|
|
153
|
+
opacity: var(--moduix-accordion-item-content-open-opacity, 1);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
@keyframes moduix-accordion-item-content-closed-horizontal {
|
|
158
|
+
from {
|
|
159
|
+
width: var(--width);
|
|
160
|
+
opacity: var(--moduix-accordion-item-content-open-opacity, 1);
|
|
161
|
+
}
|
|
162
|
+
to {
|
|
163
|
+
width: 0;
|
|
164
|
+
opacity: var(--moduix-accordion-item-content-closed-opacity, 0.01);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
@keyframes moduix-collapsible-content-open {
|
|
169
|
+
from {
|
|
170
|
+
height: var(--collapsed-height, 0);
|
|
171
|
+
width: var(--collapsed-width, var(--width));
|
|
172
|
+
opacity: 0.01;
|
|
173
|
+
}
|
|
174
|
+
to {
|
|
175
|
+
height: var(--height);
|
|
176
|
+
width: var(--width);
|
|
177
|
+
opacity: 1;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
@keyframes moduix-collapsible-content-closed {
|
|
182
|
+
from {
|
|
183
|
+
height: var(--height);
|
|
184
|
+
width: var(--width);
|
|
185
|
+
opacity: 1;
|
|
186
|
+
}
|
|
187
|
+
to {
|
|
188
|
+
height: var(--collapsed-height, 0);
|
|
189
|
+
width: var(--collapsed-width, var(--width));
|
|
190
|
+
opacity: 0.01;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
@keyframes moduix-collapsible-content-open-partial {
|
|
195
|
+
from {
|
|
196
|
+
height: var(--collapsed-height, 0);
|
|
197
|
+
width: var(--collapsed-width, var(--width));
|
|
198
|
+
}
|
|
199
|
+
to {
|
|
200
|
+
height: var(--height);
|
|
201
|
+
width: var(--width);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
@keyframes moduix-collapsible-content-closed-partial {
|
|
206
|
+
from {
|
|
207
|
+
height: var(--height);
|
|
208
|
+
width: var(--width);
|
|
209
|
+
}
|
|
210
|
+
to {
|
|
211
|
+
height: var(--collapsed-height, 0);
|
|
212
|
+
width: var(--collapsed-width, var(--width));
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
@keyframes moduix-menu-content-open {
|
|
217
|
+
from {
|
|
218
|
+
opacity: 0;
|
|
219
|
+
translate: 0 0;
|
|
220
|
+
transform: scale(var(--moduix-scale-popup));
|
|
221
|
+
}
|
|
222
|
+
to {
|
|
223
|
+
opacity: 1;
|
|
224
|
+
translate: 0 0;
|
|
225
|
+
transform: scale(1);
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
@keyframes moduix-menu-content-closed {
|
|
230
|
+
from {
|
|
231
|
+
opacity: 1;
|
|
232
|
+
translate: 0 0;
|
|
233
|
+
transform: scale(1);
|
|
234
|
+
}
|
|
235
|
+
to {
|
|
236
|
+
opacity: 0;
|
|
237
|
+
translate: 0 0;
|
|
238
|
+
transform: scale(var(--moduix-scale-popup));
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
@keyframes moduix-navigation-menu-content-from-start {
|
|
243
|
+
from {
|
|
244
|
+
opacity: 0;
|
|
245
|
+
translate: -12.5rem 0;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
to {
|
|
249
|
+
opacity: 1;
|
|
250
|
+
translate: 0 0;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
@keyframes moduix-navigation-menu-content-from-end {
|
|
255
|
+
from {
|
|
256
|
+
opacity: 0;
|
|
257
|
+
translate: 12.5rem 0;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
to {
|
|
261
|
+
opacity: 1;
|
|
262
|
+
translate: 0 0;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
@keyframes moduix-navigation-menu-content-to-start {
|
|
267
|
+
from {
|
|
268
|
+
opacity: 1;
|
|
269
|
+
translate: 0 0;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
to {
|
|
273
|
+
opacity: 0;
|
|
274
|
+
translate: -12.5rem 0;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
@keyframes moduix-navigation-menu-content-to-end {
|
|
279
|
+
from {
|
|
280
|
+
opacity: 1;
|
|
281
|
+
translate: 0 0;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
to {
|
|
285
|
+
opacity: 0;
|
|
286
|
+
translate: 12.5rem 0;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
@keyframes moduix-drawer-backdrop-in {
|
|
291
|
+
from {
|
|
292
|
+
opacity: 0;
|
|
293
|
+
backdrop-filter: none;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
@keyframes moduix-drawer-backdrop-out {
|
|
298
|
+
to {
|
|
299
|
+
opacity: 0;
|
|
300
|
+
backdrop-filter: none;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
@keyframes moduix-drawer-content-in-down {
|
|
305
|
+
from {
|
|
306
|
+
transform: translate3d(0, calc(100% + max(1rem, env(safe-area-inset-bottom, 0px))), 0);
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
@keyframes moduix-drawer-content-out-down {
|
|
311
|
+
to {
|
|
312
|
+
transform: translate3d(0, calc(100% + max(1rem, env(safe-area-inset-bottom, 0px))), 0);
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
@keyframes moduix-drawer-content-in-up {
|
|
317
|
+
from {
|
|
318
|
+
transform: translate3d(0, calc(-100% - max(1rem, env(safe-area-inset-top, 0px))), 0);
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
@keyframes moduix-drawer-content-out-up {
|
|
323
|
+
to {
|
|
324
|
+
transform: translate3d(0, calc(-100% - max(1rem, env(safe-area-inset-top, 0px)) - 40px), 0);
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
@keyframes moduix-drawer-content-in-left {
|
|
329
|
+
from {
|
|
330
|
+
transform: translate3d(calc(-100% - max(1rem, env(safe-area-inset-left, 0px))), 0, 0);
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
@keyframes moduix-drawer-content-out-left {
|
|
335
|
+
to {
|
|
336
|
+
transform: translate3d(calc(-100% - max(1rem, env(safe-area-inset-left, 0px))), 0, 0);
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
@keyframes moduix-drawer-content-in-right {
|
|
341
|
+
from {
|
|
342
|
+
transform: translate3d(calc(100% + max(1rem, env(safe-area-inset-right, 0px))), 0, 0);
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
@keyframes moduix-drawer-content-out-right {
|
|
347
|
+
to {
|
|
348
|
+
transform: translate3d(calc(100% + max(1rem, env(safe-area-inset-right, 0px))), 0, 0);
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
:root {
|
|
353
|
+
--moduix-animation-pulse: moduix-pulse 2.5s ease-in-out infinite;
|
|
354
|
+
--moduix-animation-fade-in: moduix-fade-in var(--moduix-duration-normal) var(--moduix-ease-out);
|
|
355
|
+
--moduix-animation-fade-out: moduix-fade-out var(--moduix-duration-normal) var(--moduix-ease-in);
|
|
356
|
+
--moduix-animation-slide-up: moduix-slide-up var(--moduix-duration-normal) var(--moduix-ease-out);
|
|
357
|
+
--moduix-animation-slide-down: moduix-slide-down var(--moduix-duration-normal)
|
|
358
|
+
var(--moduix-ease-out);
|
|
359
|
+
--moduix-animation-spin: moduix-spin 0.75s linear infinite;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
@media (prefers-reduced-motion: reduce) {
|
|
363
|
+
:root {
|
|
364
|
+
--moduix-animation-pulse: none;
|
|
365
|
+
--moduix-animation-fade-in: none;
|
|
366
|
+
--moduix-animation-fade-out: none;
|
|
367
|
+
--moduix-animation-slide-up: none;
|
|
368
|
+
--moduix-animation-slide-down: none;
|
|
369
|
+
--moduix-animation-spin: none;
|
|
370
|
+
}
|
|
371
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--moduix-border-width-sm: 1px;
|
|
3
|
+
--moduix-border-width-md: 2px;
|
|
4
|
+
--moduix-border-width-lg: 4px;
|
|
5
|
+
|
|
6
|
+
--moduix-focus-ring-width: var(--moduix-border-width-md);
|
|
7
|
+
--moduix-focus-ring-inset-width: var(--moduix-border-width-sm);
|
|
8
|
+
--moduix-focus-ring-offset: var(--moduix-spacing-0-5);
|
|
9
|
+
--moduix-focus-ring-inset-offset: calc(var(--moduix-border-width-sm) * -1);
|
|
10
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--moduix-background: oklch(0.982 0.003 285);
|
|
3
|
+
--moduix-foreground: oklch(0.175 0.01 285);
|
|
4
|
+
--moduix-card: oklch(0.995 0.002 285);
|
|
5
|
+
--moduix-card-foreground: oklch(0.175 0.01 285);
|
|
6
|
+
--moduix-popover: oklch(0.995 0.002 285);
|
|
7
|
+
--moduix-popover-foreground: oklch(0.175 0.01 285);
|
|
8
|
+
--moduix-primary: oklch(0.235 0.016 285);
|
|
9
|
+
--moduix-primary-foreground: oklch(0.982 0.003 285);
|
|
10
|
+
--moduix-secondary: oklch(0.96 0.006 285);
|
|
11
|
+
--moduix-secondary-foreground: oklch(0.235 0.016 285);
|
|
12
|
+
--moduix-muted: oklch(0.955 0.006 285);
|
|
13
|
+
--moduix-muted-foreground: oklch(0.485 0.015 285);
|
|
14
|
+
--moduix-accent: oklch(0.95 0.01 285);
|
|
15
|
+
--moduix-accent-foreground: oklch(0.235 0.016 285);
|
|
16
|
+
--moduix-destructive: oklch(0.565 0.235 22);
|
|
17
|
+
--moduix-destructive-foreground: var(--moduix-primary-foreground);
|
|
18
|
+
--moduix-success: oklch(0.627 0.194 149.214);
|
|
19
|
+
--moduix-warning: oklch(0.795 0.184 86.047);
|
|
20
|
+
--moduix-border: oklch(0.905 0.008 285);
|
|
21
|
+
--moduix-input: oklch(0.905 0.008 285);
|
|
22
|
+
--moduix-ring: oklch(0.62 0.035 285);
|
|
23
|
+
--moduix-overlay: oklch(0.175 0.014 285 / 0.2);
|
|
24
|
+
--moduix-overlay-foreground: oklch(0.175 0.014 285 / 0.07);
|
|
25
|
+
--moduix-chart-1: oklch(0.65 0.18 295);
|
|
26
|
+
--moduix-chart-2: oklch(0.7 0.14 175);
|
|
27
|
+
--moduix-chart-3: oklch(0.72 0.16 55);
|
|
28
|
+
--moduix-chart-4: oklch(0.6 0.2 350);
|
|
29
|
+
--moduix-chart-5: oklch(0.68 0.13 130);
|
|
30
|
+
--moduix-sidebar: oklch(0.975 0.005 285);
|
|
31
|
+
--moduix-sidebar-foreground: oklch(0.175 0.01 285);
|
|
32
|
+
--moduix-sidebar-primary: oklch(0.235 0.016 285);
|
|
33
|
+
--moduix-sidebar-primary-foreground: oklch(0.982 0.003 285);
|
|
34
|
+
--moduix-sidebar-accent: oklch(0.95 0.01 285);
|
|
35
|
+
--moduix-sidebar-accent-foreground: oklch(0.235 0.016 285);
|
|
36
|
+
--moduix-sidebar-border: oklch(0.905 0.008 285);
|
|
37
|
+
--moduix-sidebar-ring: oklch(0.62 0.035 285);
|
|
38
|
+
|
|
39
|
+
&[data-moduix-color-scheme='light'],
|
|
40
|
+
[data-moduix-color-scheme='light'] {
|
|
41
|
+
color-scheme: light;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&[data-moduix-color-scheme='dark'],
|
|
45
|
+
[data-moduix-color-scheme='dark'] {
|
|
46
|
+
color-scheme: dark;
|
|
47
|
+
--moduix-background: oklch(0.155 0.008 285);
|
|
48
|
+
--moduix-foreground: oklch(0.968 0.003 285);
|
|
49
|
+
--moduix-card: oklch(0.2 0.011 285);
|
|
50
|
+
--moduix-card-foreground: oklch(0.968 0.003 285);
|
|
51
|
+
--moduix-popover: oklch(0.2 0.011 285);
|
|
52
|
+
--moduix-popover-foreground: oklch(0.968 0.003 285);
|
|
53
|
+
--moduix-primary: oklch(0.918 0.007 285);
|
|
54
|
+
--moduix-primary-foreground: oklch(0.2 0.011 285);
|
|
55
|
+
--moduix-secondary: oklch(0.255 0.012 285);
|
|
56
|
+
--moduix-secondary-foreground: oklch(0.968 0.003 285);
|
|
57
|
+
--moduix-muted: oklch(0.255 0.012 285);
|
|
58
|
+
--moduix-muted-foreground: oklch(0.705 0.016 285);
|
|
59
|
+
--moduix-accent: oklch(0.29 0.015 285);
|
|
60
|
+
--moduix-accent-foreground: oklch(0.968 0.003 285);
|
|
61
|
+
--moduix-destructive: oklch(0.69 0.185 18);
|
|
62
|
+
--moduix-destructive-foreground: var(--moduix-primary-foreground);
|
|
63
|
+
--moduix-success: oklch(0.627 0.194 149.214);
|
|
64
|
+
--moduix-warning: oklch(0.795 0.184 86.047);
|
|
65
|
+
--moduix-border: oklch(1 0.004 285 / 13%);
|
|
66
|
+
--moduix-input: oklch(1 0.004 285 / 17%);
|
|
67
|
+
--moduix-ring: oklch(0.585 0.038 285);
|
|
68
|
+
--moduix-overlay: oklch(0.105 0.012 285 / 0.74);
|
|
69
|
+
--moduix-overlay-foreground: oklch(0.968 0.003 285 / 0.09);
|
|
70
|
+
--moduix-chart-1: oklch(0.72 0.17 295);
|
|
71
|
+
--moduix-chart-2: oklch(0.76 0.13 175);
|
|
72
|
+
--moduix-chart-3: oklch(0.78 0.15 55);
|
|
73
|
+
--moduix-chart-4: oklch(0.67 0.19 350);
|
|
74
|
+
--moduix-chart-5: oklch(0.74 0.12 130);
|
|
75
|
+
--moduix-sidebar: oklch(0.2 0.011 285);
|
|
76
|
+
--moduix-sidebar-foreground: oklch(0.968 0.003 285);
|
|
77
|
+
--moduix-sidebar-primary: oklch(0.72 0.17 295);
|
|
78
|
+
--moduix-sidebar-primary-foreground: oklch(0.155 0.008 285);
|
|
79
|
+
--moduix-sidebar-accent: oklch(0.29 0.015 285);
|
|
80
|
+
--moduix-sidebar-accent-foreground: oklch(0.968 0.003 285);
|
|
81
|
+
--moduix-sidebar-border: oklch(1 0.004 285 / 13%);
|
|
82
|
+
--moduix-sidebar-ring: oklch(0.585 0.038 285);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/* Semantic */
|
|
86
|
+
--moduix-color-background: var(--moduix-background);
|
|
87
|
+
--moduix-color-foreground: var(--moduix-foreground);
|
|
88
|
+
--moduix-color-card: var(--moduix-card);
|
|
89
|
+
--moduix-color-card-foreground: var(--moduix-card-foreground);
|
|
90
|
+
--moduix-color-popover: var(--moduix-popover);
|
|
91
|
+
--moduix-color-popover-foreground: var(--moduix-popover-foreground);
|
|
92
|
+
--moduix-color-primary: var(--moduix-primary);
|
|
93
|
+
--moduix-color-primary-foreground: var(--moduix-primary-foreground);
|
|
94
|
+
--moduix-color-secondary: var(--moduix-secondary);
|
|
95
|
+
--moduix-color-secondary-foreground: var(--moduix-secondary-foreground);
|
|
96
|
+
--moduix-color-muted: var(--moduix-muted);
|
|
97
|
+
--moduix-color-muted-foreground: var(--moduix-muted-foreground);
|
|
98
|
+
--moduix-color-accent: var(--moduix-accent);
|
|
99
|
+
--moduix-color-accent-foreground: var(--moduix-accent-foreground);
|
|
100
|
+
--moduix-color-destructive: var(--moduix-destructive);
|
|
101
|
+
--moduix-color-destructive-foreground: var(--moduix-destructive-foreground);
|
|
102
|
+
--moduix-color-success: var(--moduix-success);
|
|
103
|
+
--moduix-color-warning: var(--moduix-warning);
|
|
104
|
+
--moduix-color-border: var(--moduix-border);
|
|
105
|
+
--moduix-color-input: var(--moduix-input);
|
|
106
|
+
--moduix-color-ring: var(--moduix-ring);
|
|
107
|
+
--moduix-color-overlay: var(--moduix-overlay);
|
|
108
|
+
--moduix-color-overlay-foreground: var(--moduix-overlay-foreground);
|
|
109
|
+
--moduix-color-chart-1: var(--moduix-chart-1);
|
|
110
|
+
--moduix-color-chart-2: var(--moduix-chart-2);
|
|
111
|
+
--moduix-color-chart-3: var(--moduix-chart-3);
|
|
112
|
+
--moduix-color-chart-4: var(--moduix-chart-4);
|
|
113
|
+
--moduix-color-chart-5: var(--moduix-chart-5);
|
|
114
|
+
--moduix-color-sidebar: var(--moduix-sidebar);
|
|
115
|
+
--moduix-color-sidebar-foreground: var(--moduix-sidebar-foreground);
|
|
116
|
+
--moduix-color-sidebar-primary: var(--moduix-sidebar-primary);
|
|
117
|
+
--moduix-color-sidebar-primary-foreground: var(--moduix-sidebar-primary-foreground);
|
|
118
|
+
--moduix-color-sidebar-accent: var(--moduix-sidebar-accent);
|
|
119
|
+
--moduix-color-sidebar-accent-foreground: var(--moduix-sidebar-accent-foreground);
|
|
120
|
+
--moduix-color-sidebar-border: var(--moduix-sidebar-border);
|
|
121
|
+
--moduix-color-sidebar-ring: var(--moduix-sidebar-ring);
|
|
122
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--moduix-radius: 0.625rem;
|
|
3
|
+
--moduix-radius-none: 0;
|
|
4
|
+
|
|
5
|
+
--moduix-radius-xs: calc(var(--moduix-radius) * 0.4);
|
|
6
|
+
--moduix-radius-sm: calc(var(--moduix-radius) * 0.6);
|
|
7
|
+
--moduix-radius-md: calc(var(--moduix-radius) * 0.8);
|
|
8
|
+
--moduix-radius-lg: var(--moduix-radius);
|
|
9
|
+
--moduix-radius-xl: calc(var(--moduix-radius) * 1.2);
|
|
10
|
+
--moduix-radius-full: 9999px;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Control sizes (Input, Button, Select, etc.)
|
|
3
|
+
* Keeps elements in the same row at a consistent height.
|
|
4
|
+
*/
|
|
5
|
+
:root {
|
|
6
|
+
--moduix-size-xs: 24px;
|
|
7
|
+
--moduix-size-sm: 32px;
|
|
8
|
+
--moduix-size-md: 36px;
|
|
9
|
+
--moduix-size-lg: 40px;
|
|
10
|
+
--moduix-size-xl: 48px;
|
|
11
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/* Primitives */
|
|
3
|
+
--moduix-spacing-0: 0px;
|
|
4
|
+
--moduix-spacing-1: 4px;
|
|
5
|
+
--moduix-spacing-0-5: calc((var(--moduix-spacing-0) + var(--moduix-spacing-1)) / 2);
|
|
6
|
+
--moduix-spacing-2: 8px;
|
|
7
|
+
--moduix-spacing-1-5: calc((var(--moduix-spacing-1) + var(--moduix-spacing-2)) / 2);
|
|
8
|
+
--moduix-spacing-3: 12px;
|
|
9
|
+
--moduix-spacing-2-5: calc((var(--moduix-spacing-2) + var(--moduix-spacing-3)) / 2);
|
|
10
|
+
--moduix-spacing-4: 16px;
|
|
11
|
+
--moduix-spacing-3-5: calc((var(--moduix-spacing-3) + var(--moduix-spacing-4)) / 2);
|
|
12
|
+
--moduix-spacing-5: 20px;
|
|
13
|
+
--moduix-spacing-4-5: calc((var(--moduix-spacing-4) + var(--moduix-spacing-5)) / 2);
|
|
14
|
+
--moduix-spacing-6: 24px;
|
|
15
|
+
--moduix-spacing-7: calc((var(--moduix-spacing-6) + var(--moduix-spacing-8)) / 2);
|
|
16
|
+
--moduix-spacing-8: 32px;
|
|
17
|
+
--moduix-spacing-10: 40px;
|
|
18
|
+
|
|
19
|
+
/* Semantic (for components; use primitives directly for larger values) */
|
|
20
|
+
--moduix-spacing-xs: var(--moduix-spacing-1); /* 4px */
|
|
21
|
+
--moduix-spacing-sm: var(--moduix-spacing-2); /* 8px */
|
|
22
|
+
--moduix-spacing-md: var(--moduix-spacing-3); /* 12px */
|
|
23
|
+
--moduix-spacing-lg: var(--moduix-spacing-4); /* 16px */
|
|
24
|
+
--moduix-spacing-xl: var(--moduix-spacing-5); /* 20px */
|
|
25
|
+
--moduix-spacing-2xl: var(--moduix-spacing-6); /* 24px */
|
|
26
|
+
}
|