@moduix/react 1.1.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 +21 -0
- package/README.md +252 -0
- package/dist/components/accordion/Accordion.css +190 -0
- package/dist/components/accordion/Accordion.d.ts +13 -0
- package/dist/components/accordion/Accordion.js +67 -0
- package/dist/components/accordion/Accordion.module.js +15 -0
- package/dist/components/accordion/index.d.ts +2 -0
- package/dist/components/alert/Alert.css +108 -0
- package/dist/components/alert/Alert.d.ts +14 -0
- package/dist/components/alert/Alert.js +69 -0
- package/dist/components/alert/Alert.module.js +11 -0
- package/dist/components/angle-slider/AngleSlider.css +192 -0
- package/dist/components/angle-slider/AngleSlider.d.ts +16 -0
- package/dist/components/angle-slider/AngleSlider.js +92 -0
- package/dist/components/angle-slider/AngleSlider.module.js +13 -0
- package/dist/components/angle-slider/index.d.ts +2 -0
- package/dist/components/aspect-ratio/AspectRatio.css +14 -0
- package/dist/components/aspect-ratio/AspectRatio.d.ts +10 -0
- package/dist/components/aspect-ratio/AspectRatio.js +24 -0
- package/dist/components/aspect-ratio/AspectRatio.module.js +5 -0
- package/dist/components/avatar/Avatar.css +75 -0
- package/dist/components/avatar/Avatar.d.ts +19 -0
- package/dist/components/avatar/Avatar.js +49 -0
- package/dist/components/avatar/Avatar.module.js +9 -0
- package/dist/components/avatar/index.d.ts +2 -0
- package/dist/components/badge/Badge.css +66 -0
- package/dist/components/badge/Badge.d.ts +11 -0
- package/dist/components/badge/Badge.js +35 -0
- package/dist/components/badge/Badge.module.js +8 -0
- package/dist/components/bleed/Bleed.css +51 -0
- package/dist/components/bleed/Bleed.d.ts +12 -0
- package/dist/components/bleed/Bleed.js +22 -0
- package/dist/components/bleed/Bleed.module.js +5 -0
- package/dist/components/breadcrumbs/Breadcrumbs.css +90 -0
- package/dist/components/breadcrumbs/Breadcrumbs.d.ts +12 -0
- package/dist/components/breadcrumbs/Breadcrumbs.js +95 -0
- package/dist/components/breadcrumbs/Breadcrumbs.module.js +13 -0
- package/dist/components/button/Button.css +193 -0
- package/dist/components/button/Button.d.ts +14 -0
- package/dist/components/button/Button.js +28 -0
- package/dist/components/button/Button.module.js +5 -0
- package/dist/components/card/Card.css +148 -0
- package/dist/components/card/Card.d.ts +19 -0
- package/dist/components/card/Card.js +101 -0
- package/dist/components/card/Card.module.js +14 -0
- package/dist/components/carousel/Carousel.css +198 -0
- package/dist/components/carousel/Carousel.d.ts +19 -0
- package/dist/components/carousel/Carousel.js +128 -0
- package/dist/components/carousel/Carousel.module.js +18 -0
- package/dist/components/carousel/index.d.ts +2 -0
- package/dist/components/checkbox/Checkbox.css +135 -0
- package/dist/components/checkbox/Checkbox.d.ts +22 -0
- package/dist/components/checkbox/Checkbox.js +84 -0
- package/dist/components/checkbox/Checkbox.module.js +12 -0
- package/dist/components/checkbox/index.d.ts +2 -0
- package/dist/components/clipboard/Clipboard.css +145 -0
- package/dist/components/clipboard/Clipboard.d.ts +15 -0
- package/dist/components/clipboard/Clipboard.js +96 -0
- package/dist/components/clipboard/Clipboard.module.js +14 -0
- package/dist/components/clipboard/index.d.ts +2 -0
- package/dist/components/close-button/CloseButton.css +49 -0
- package/dist/components/close-button/CloseButton.d.ts +6 -0
- package/dist/components/close-button/CloseButton.js +39 -0
- package/dist/components/close-button/CloseButton.module.js +5 -0
- package/dist/components/collapsible/Collapsible.css +138 -0
- package/dist/components/collapsible/Collapsible.d.ts +12 -0
- package/dist/components/collapsible/Collapsible.js +59 -0
- package/dist/components/collapsible/Collapsible.module.js +12 -0
- package/dist/components/collapsible/index.d.ts +2 -0
- package/dist/components/color-picker/ColorPicker.css +433 -0
- package/dist/components/color-picker/ColorPicker.d.ts +39 -0
- package/dist/components/color-picker/ColorPicker.js +275 -0
- package/dist/components/color-picker/ColorPicker.module.js +33 -0
- package/dist/components/color-picker/index.d.ts +2 -0
- package/dist/components/combobox/Combobox.css +315 -0
- package/dist/components/combobox/Combobox.d.ts +24 -0
- package/dist/components/combobox/Combobox.js +169 -0
- package/dist/components/combobox/Combobox.module.js +23 -0
- package/dist/components/combobox/index.d.ts +2 -0
- package/dist/components/command-palette/CommandPalette.css +492 -0
- package/dist/components/command-palette/CommandPalette.d.ts +71 -0
- package/dist/components/command-palette/CommandPalette.js +383 -0
- package/dist/components/command-palette/CommandPalette.module.js +43 -0
- package/dist/components/command-palette/index.d.ts +2 -0
- package/dist/components/container/Container.css +45 -0
- package/dist/components/container/Container.d.ts +14 -0
- package/dist/components/container/Container.js +22 -0
- package/dist/components/container/Container.module.js +5 -0
- package/dist/components/date-input/DateInput.css +104 -0
- package/dist/components/date-input/DateInput.d.ts +22 -0
- package/dist/components/date-input/DateInput.js +83 -0
- package/dist/components/date-input/DateInput.module.js +12 -0
- package/dist/components/date-input/index.d.ts +2 -0
- package/dist/components/date-picker/DatePicker.css +420 -0
- package/dist/components/date-picker/DatePicker.d.ts +39 -0
- package/dist/components/date-picker/DatePicker.js +284 -0
- package/dist/components/date-picker/DatePicker.module.js +29 -0
- package/dist/components/date-picker/index.d.ts +2 -0
- package/dist/components/dialog/Dialog.css +221 -0
- package/dist/components/dialog/Dialog.d.ts +46 -0
- package/dist/components/dialog/Dialog.js +133 -0
- package/dist/components/dialog/Dialog.module.js +21 -0
- package/dist/components/dialog/index.d.ts +2 -0
- package/dist/components/drawer/Drawer.css +482 -0
- package/dist/components/drawer/Drawer.d.ts +56 -0
- package/dist/components/drawer/Drawer.js +188 -0
- package/dist/components/drawer/Drawer.module.js +32 -0
- package/dist/components/drawer/index.d.ts +2 -0
- package/dist/components/editable/Editable.css +171 -0
- package/dist/components/editable/Editable.d.ts +17 -0
- package/dist/components/editable/Editable.js +106 -0
- package/dist/components/editable/Editable.module.js +13 -0
- package/dist/components/editable/index.d.ts +2 -0
- package/dist/components/empty/Empty.css +78 -0
- package/dist/components/empty/Empty.d.ts +11 -0
- package/dist/components/empty/Empty.js +77 -0
- package/dist/components/empty/Empty.module.js +12 -0
- package/dist/components/field/Field.css +113 -0
- package/dist/components/field/Field.d.ts +25 -0
- package/dist/components/field/Field.js +104 -0
- package/dist/components/field/Field.module.js +15 -0
- package/dist/components/field/index.d.ts +2 -0
- package/dist/components/fieldset/Fieldset.css +52 -0
- package/dist/components/fieldset/Fieldset.d.ts +12 -0
- package/dist/components/fieldset/Fieldset.js +56 -0
- package/dist/components/fieldset/Fieldset.module.js +10 -0
- package/dist/components/fieldset/index.d.ts +2 -0
- package/dist/components/file-upload/FileUpload.css +290 -0
- package/dist/components/file-upload/FileUpload.d.ts +28 -0
- package/dist/components/file-upload/FileUpload.js +149 -0
- package/dist/components/file-upload/FileUpload.module.js +19 -0
- package/dist/components/file-upload/index.d.ts +2 -0
- package/dist/components/floating-panel/FloatingPanel.css +319 -0
- package/dist/components/floating-panel/FloatingPanel.d.ts +45 -0
- package/dist/components/floating-panel/FloatingPanel.js +194 -0
- package/dist/components/floating-panel/FloatingPanel.module.js +20 -0
- package/dist/components/floating-panel/index.d.ts +2 -0
- package/dist/components/heading/Heading.css +58 -0
- package/dist/components/heading/Heading.d.ts +17 -0
- package/dist/components/heading/Heading.js +32 -0
- package/dist/components/heading/Heading.module.js +5 -0
- package/dist/components/highlight/Highlight.css +15 -0
- package/dist/components/highlight/Highlight.d.ts +13 -0
- package/dist/components/highlight/Highlight.js +18 -0
- package/dist/components/highlight/Highlight.module.js +5 -0
- package/dist/components/highlight/index.d.ts +2 -0
- package/dist/components/hover-card/HoverCard.css +107 -0
- package/dist/components/hover-card/HoverCard.d.ts +28 -0
- package/dist/components/hover-card/HoverCard.js +81 -0
- package/dist/components/hover-card/HoverCard.module.js +13 -0
- package/dist/components/hover-card/index.d.ts +2 -0
- package/dist/components/image-cropper/ImageCropper.css +147 -0
- package/dist/components/image-cropper/ImageCropper.d.ts +15 -0
- package/dist/components/image-cropper/ImageCropper.js +75 -0
- package/dist/components/image-cropper/ImageCropper.module.js +12 -0
- package/dist/components/image-cropper/index.d.ts +2 -0
- package/dist/components/input/Input.css +83 -0
- package/dist/components/input/Input.d.ts +15 -0
- package/dist/components/input/Input.js +22 -0
- package/dist/components/input/Input.module.js +5 -0
- package/dist/components/input/index.d.ts +2 -0
- package/dist/components/input-group/InputGroup.css +158 -0
- package/dist/components/input-group/InputGroup.d.ts +25 -0
- package/dist/components/input-group/InputGroup.js +76 -0
- package/dist/components/input-group/InputGroup.module.js +11 -0
- package/dist/components/input-group/index.d.ts +2 -0
- package/dist/components/kbd/Kbd.css +45 -0
- package/dist/components/kbd/Kbd.d.ts +7 -0
- package/dist/components/kbd/Kbd.js +33 -0
- package/dist/components/kbd/Kbd.module.js +8 -0
- package/dist/components/lightbox/Lightbox.css +242 -0
- package/dist/components/lightbox/Lightbox.d.ts +71 -0
- package/dist/components/lightbox/Lightbox.js +219 -0
- package/dist/components/lightbox/Lightbox.module.js +22 -0
- package/dist/components/lightbox/index.d.ts +2 -0
- package/dist/components/list/List.css +118 -0
- package/dist/components/list/List.d.ts +24 -0
- package/dist/components/list/List.js +48 -0
- package/dist/components/list/List.module.js +5 -0
- package/dist/components/list/index.d.ts +2 -0
- package/dist/components/listbox/Listbox.css +255 -0
- package/dist/components/listbox/Listbox.d.ts +35 -0
- package/dist/components/listbox/Listbox.js +145 -0
- package/dist/components/listbox/Listbox.module.js +20 -0
- package/dist/components/listbox/index.d.ts +2 -0
- package/dist/components/marquee/Marquee.css +114 -0
- package/dist/components/marquee/Marquee.d.ts +13 -0
- package/dist/components/marquee/Marquee.js +65 -0
- package/dist/components/marquee/Marquee.module.js +13 -0
- package/dist/components/marquee/index.d.ts +2 -0
- package/dist/components/menu/Menu.css +371 -0
- package/dist/components/menu/Menu.d.ts +83 -0
- package/dist/components/menu/Menu.js +240 -0
- package/dist/components/menu/Menu.module.js +33 -0
- package/dist/components/menu/index.d.ts +2 -0
- package/dist/components/native-select/NativeSelect.css +104 -0
- package/dist/components/native-select/NativeSelect.d.ts +8 -0
- package/dist/components/native-select/NativeSelect.js +32 -0
- package/dist/components/native-select/NativeSelect.module.js +9 -0
- package/dist/components/native-select/index.d.ts +2 -0
- package/dist/components/number-input/NumberInput.css +162 -0
- package/dist/components/number-input/NumberInput.d.ts +16 -0
- package/dist/components/number-input/NumberInput.js +95 -0
- package/dist/components/number-input/NumberInput.module.js +14 -0
- package/dist/components/number-input/index.d.ts +2 -0
- package/dist/components/pagination/Pagination.css +99 -0
- package/dist/components/pagination/Pagination.d.ts +16 -0
- package/dist/components/pagination/Pagination.js +101 -0
- package/dist/components/pagination/Pagination.module.js +12 -0
- package/dist/components/pagination/index.d.ts +2 -0
- package/dist/components/password-input/PasswordInput.css +155 -0
- package/dist/components/password-input/PasswordInput.d.ts +14 -0
- package/dist/components/password-input/PasswordInput.js +77 -0
- package/dist/components/password-input/PasswordInput.module.js +12 -0
- package/dist/components/password-input/index.d.ts +2 -0
- package/dist/components/pin-input/PinInput.css +96 -0
- package/dist/components/pin-input/PinInput.d.ts +23 -0
- package/dist/components/pin-input/PinInput.js +85 -0
- package/dist/components/pin-input/PinInput.module.js +11 -0
- package/dist/components/pin-input/index.d.ts +2 -0
- package/dist/components/popover/Popover.css +162 -0
- package/dist/components/popover/Popover.d.ts +50 -0
- package/dist/components/popover/Popover.js +167 -0
- package/dist/components/popover/Popover.module.js +20 -0
- package/dist/components/popover/index.d.ts +2 -0
- package/dist/components/progress-circular/ProgressCircular.css +68 -0
- package/dist/components/progress-circular/ProgressCircular.d.ts +15 -0
- package/dist/components/progress-circular/ProgressCircular.js +83 -0
- package/dist/components/progress-circular/ProgressCircular.module.js +14 -0
- package/dist/components/progress-circular/index.d.ts +2 -0
- package/dist/components/progress-linear/ProgressLinear.css +106 -0
- package/dist/components/progress-linear/ProgressLinear.d.ts +14 -0
- package/dist/components/progress-linear/ProgressLinear.js +74 -0
- package/dist/components/progress-linear/ProgressLinear.module.js +14 -0
- package/dist/components/progress-linear/index.d.ts +2 -0
- package/dist/components/qr-code/QrCode.css +100 -0
- package/dist/components/qr-code/QrCode.d.ts +13 -0
- package/dist/components/qr-code/QrCode.js +65 -0
- package/dist/components/qr-code/QrCode.module.js +11 -0
- package/dist/components/qr-code/index.d.ts +2 -0
- package/dist/components/radio-group/RadioGroup.css +147 -0
- package/dist/components/radio-group/RadioGroup.d.ts +20 -0
- package/dist/components/radio-group/RadioGroup.js +83 -0
- package/dist/components/radio-group/RadioGroup.module.js +12 -0
- package/dist/components/radio-group/index.d.ts +2 -0
- package/dist/components/rating-group/RatingGroup.css +133 -0
- package/dist/components/rating-group/RatingGroup.d.ts +23 -0
- package/dist/components/rating-group/RatingGroup.js +86 -0
- package/dist/components/rating-group/RatingGroup.module.js +13 -0
- package/dist/components/rating-group/index.d.ts +2 -0
- package/dist/components/scroll-area/ScrollArea.css +162 -0
- package/dist/components/scroll-area/ScrollArea.d.ts +21 -0
- package/dist/components/scroll-area/ScrollArea.js +76 -0
- package/dist/components/scroll-area/ScrollArea.module.js +12 -0
- package/dist/components/scroll-area/index.d.ts +2 -0
- package/dist/components/segment-group/SegmentGroup.css +120 -0
- package/dist/components/segment-group/SegmentGroup.d.ts +15 -0
- package/dist/components/segment-group/SegmentGroup.js +83 -0
- package/dist/components/segment-group/SegmentGroup.module.js +12 -0
- package/dist/components/segment-group/index.d.ts +2 -0
- package/dist/components/select/Select.css +351 -0
- package/dist/components/select/Select.d.ts +48 -0
- package/dist/components/select/Select.js +210 -0
- package/dist/components/select/Select.module.js +27 -0
- package/dist/components/select/index.d.ts +2 -0
- package/dist/components/separator/Separator.css +45 -0
- package/dist/components/separator/Separator.d.ts +14 -0
- package/dist/components/separator/Separator.js +27 -0
- package/dist/components/separator/Separator.module.js +5 -0
- package/dist/components/sidebar/Sidebar.css +341 -0
- package/dist/components/sidebar/Sidebar.d.ts +48 -0
- package/dist/components/sidebar/Sidebar.js +279 -0
- package/dist/components/sidebar/Sidebar.module.js +23 -0
- package/dist/components/sidebar/index.d.ts +2 -0
- package/dist/components/signature-pad/SignaturePad.css +123 -0
- package/dist/components/signature-pad/SignaturePad.d.ts +15 -0
- package/dist/components/signature-pad/SignaturePad.js +82 -0
- package/dist/components/signature-pad/SignaturePad.module.js +12 -0
- package/dist/components/signature-pad/index.d.ts +2 -0
- package/dist/components/simple-grid/SimpleGrid.d.ts +18 -0
- package/dist/components/simple-grid/SimpleGrid.js +32 -0
- package/dist/components/skeleton/Skeleton.css +29 -0
- package/dist/components/skeleton/Skeleton.d.ts +20 -0
- package/dist/components/skeleton/Skeleton.js +32 -0
- package/dist/components/skeleton/Skeleton.module.js +5 -0
- package/dist/components/slider/Slider.css +167 -0
- package/dist/components/slider/Slider.d.ts +19 -0
- package/dist/components/slider/Slider.js +119 -0
- package/dist/components/slider/Slider.module.js +16 -0
- package/dist/components/slider/index.d.ts +2 -0
- package/dist/components/spinner/Spinner.css +60 -0
- package/dist/components/spinner/Spinner.d.ts +12 -0
- package/dist/components/spinner/Spinner.js +40 -0
- package/dist/components/spinner/Spinner.module.js +9 -0
- package/dist/components/split-button/SplitButton.css +51 -0
- package/dist/components/split-button/SplitButton.d.ts +36 -0
- package/dist/components/split-button/SplitButton.js +93 -0
- package/dist/components/split-button/SplitButton.module.js +9 -0
- package/dist/components/split-button/index.d.ts +2 -0
- package/dist/components/splitter/Splitter.css +170 -0
- package/dist/components/splitter/Splitter.d.ts +12 -0
- package/dist/components/splitter/Splitter.js +68 -0
- package/dist/components/splitter/Splitter.module.js +10 -0
- package/dist/components/splitter/index.d.ts +2 -0
- package/dist/components/stack/Stack.css +13 -0
- package/dist/components/stack/Stack.d.ts +31 -0
- package/dist/components/stack/Stack.js +36 -0
- package/dist/components/stack/Stack.module.js +5 -0
- package/dist/components/stack/index.d.ts +2 -0
- package/dist/components/steps/Steps.css +283 -0
- package/dist/components/steps/Steps.d.ts +19 -0
- package/dist/components/steps/Steps.js +122 -0
- package/dist/components/steps/Steps.module.js +17 -0
- package/dist/components/steps/index.d.ts +2 -0
- package/dist/components/switch/Switch.css +130 -0
- package/dist/components/switch/Switch.d.ts +21 -0
- package/dist/components/switch/Switch.js +67 -0
- package/dist/components/switch/Switch.module.js +10 -0
- package/dist/components/switch/index.d.ts +2 -0
- package/dist/components/table/Table.css +162 -0
- package/dist/components/table/Table.d.ts +41 -0
- package/dist/components/table/Table.js +173 -0
- package/dist/components/table/Table.module.js +18 -0
- package/dist/components/tabs/Tabs.css +186 -0
- package/dist/components/tabs/Tabs.d.ts +20 -0
- package/dist/components/tabs/Tabs.js +67 -0
- package/dist/components/tabs/Tabs.module.js +11 -0
- package/dist/components/tabs/index.d.ts +2 -0
- package/dist/components/tag/Tag.css +128 -0
- package/dist/components/tag/Tag.d.ts +18 -0
- package/dist/components/tag/Tag.js +87 -0
- package/dist/components/tag/Tag.module.js +11 -0
- package/dist/components/tags-input/TagsInput.css +248 -0
- package/dist/components/tags-input/TagsInput.d.ts +20 -0
- package/dist/components/tags-input/TagsInput.js +139 -0
- package/dist/components/tags-input/TagsInput.module.js +16 -0
- package/dist/components/tags-input/index.d.ts +2 -0
- package/dist/components/text/Text.css +87 -0
- package/dist/components/text/Text.d.ts +27 -0
- package/dist/components/text/Text.js +43 -0
- package/dist/components/text/Text.module.js +5 -0
- package/dist/components/textarea/Textarea.css +55 -0
- package/dist/components/textarea/Textarea.d.ts +6 -0
- package/dist/components/textarea/Textarea.js +21 -0
- package/dist/components/textarea/Textarea.module.js +5 -0
- package/dist/components/textarea/index.d.ts +2 -0
- package/dist/components/timer/Timer.css +95 -0
- package/dist/components/timer/Timer.d.ts +14 -0
- package/dist/components/timer/Timer.js +74 -0
- package/dist/components/timer/Timer.module.js +12 -0
- package/dist/components/timer/index.d.ts +2 -0
- package/dist/components/toast/Toast.css +154 -0
- package/dist/components/toast/Toast.d.ts +17 -0
- package/dist/components/toast/Toast.js +92 -0
- package/dist/components/toast/Toast.module.js +12 -0
- package/dist/components/toast/index.d.ts +2 -0
- package/dist/components/toggle/Toggle.css +167 -0
- package/dist/components/toggle/Toggle.d.ts +16 -0
- package/dist/components/toggle/Toggle.js +31 -0
- package/dist/components/toggle/Toggle.module.js +8 -0
- package/dist/components/toggle/index.d.ts +2 -0
- package/dist/components/toggle-group/ToggleGroup.css +42 -0
- package/dist/components/toggle-group/ToggleGroup.d.ts +25 -0
- package/dist/components/toggle-group/ToggleGroup.js +62 -0
- package/dist/components/toggle-group/ToggleGroup.module.js +8 -0
- package/dist/components/toggle-group/index.d.ts +2 -0
- package/dist/components/tooltip/Tooltip.css +125 -0
- package/dist/components/tooltip/Tooltip.d.ts +28 -0
- package/dist/components/tooltip/Tooltip.js +75 -0
- package/dist/components/tooltip/Tooltip.module.js +13 -0
- package/dist/components/tooltip/index.d.ts +2 -0
- package/dist/components/tour/Tour.css +286 -0
- package/dist/components/tour/Tour.d.ts +30 -0
- package/dist/components/tour/Tour.js +149 -0
- package/dist/components/tour/Tour.module.js +23 -0
- package/dist/components/tour/index.d.ts +2 -0
- package/dist/components/tree-view/TreeView.css +261 -0
- package/dist/components/tree-view/TreeView.d.ts +32 -0
- package/dist/components/tree-view/TreeView.js +171 -0
- package/dist/components/tree-view/TreeView.module.js +26 -0
- package/dist/components/tree-view/index.d.ts +2 -0
- package/dist/index.d.ts +83 -0
- package/dist/index.js +83 -0
- package/dist/lib/moduix/icons/ui/Icons.d.ts +51 -0
- package/dist/lib/moduix/icons/ui/Icons.js +759 -0
- package/dist/lib/moduix/icons/ui/index.d.ts +2 -0
- package/dist/lib/moduix/normalizeClassName.js +4 -0
- package/dist/lib/moduix/overlayPortal.d.ts +9 -0
- package/dist/lib/moduix/overlayPortal.js +21 -0
- package/dist/lib/moduix/styles/reset.css +175 -0
- package/dist/lib/moduix/styles/style.css +288 -0
- package/dist/reset.d.ts +1 -0
- package/dist/reset.js +1 -0
- package/dist/style.d.ts +1 -0
- package/dist/style.js +1 -0
- package/package.json +76 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpDownIcon, ChevronUpIcon, CloseIcon, CopyIcon, EyeClosedIcon, EyeIcon, FileIcon, FlipHorizontalIcon, FolderIcon, FolderOpenIcon, GripIcon, IndeterminateIcon, MaximizeIcon, MinusIcon, PauseIcon, PencilIcon, PipetteIcon, PlayIcon, PlusIcon, PopupArrowIcon, RatingStarIcon, RestartIcon, RotateCcwIcon, RotateCwIcon, ScrubCursorIcon, SeparatorMarkIcon, TrashIcon, UploadIcon, ZoomInIcon, ZoomOutIcon } from "./Icons.js";
|
|
2
|
+
export { CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpDownIcon, ChevronUpIcon, CloseIcon, CopyIcon, EyeClosedIcon, EyeIcon, FileIcon, FlipHorizontalIcon, FolderIcon, FolderOpenIcon, GripIcon, IndeterminateIcon, MaximizeIcon, MinusIcon, PauseIcon, PencilIcon, PipetteIcon, PlayIcon, PlusIcon, PopupArrowIcon, RatingStarIcon, RestartIcon, RotateCcwIcon, RotateCwIcon, ScrubCursorIcon, SeparatorMarkIcon, TrashIcon, UploadIcon, ZoomInIcon, ZoomOutIcon };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Portal } from "@ark-ui/react/portal";
|
|
3
|
+
import { createContext, useContext } from "react";
|
|
4
|
+
//#region src/lib/moduix/overlayPortal.tsx
|
|
5
|
+
const OverlayPortalContext = createContext({});
|
|
6
|
+
function OverlayPortalProvider({ children, ...value }) {
|
|
7
|
+
return /* @__PURE__ */ jsx(OverlayPortalContext.Provider, {
|
|
8
|
+
value,
|
|
9
|
+
children
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
function OverlayPortal({ children }) {
|
|
13
|
+
const { portalled = true, portalRef } = useContext(OverlayPortalContext);
|
|
14
|
+
return /* @__PURE__ */ jsx(Portal, {
|
|
15
|
+
disabled: !portalled,
|
|
16
|
+
container: portalRef,
|
|
17
|
+
children
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
export { OverlayPortal, OverlayPortalProvider };
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
@layer ui.reset {
|
|
2
|
+
*, :after, :before, ::backdrop, ::file-selector-button {
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
border: 0 solid;
|
|
5
|
+
margin: 0;
|
|
6
|
+
padding: 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
html, :host {
|
|
10
|
+
-webkit-text-size-adjust: 100%;
|
|
11
|
+
tab-size: 4;
|
|
12
|
+
font-feature-settings: normal;
|
|
13
|
+
font-variation-settings: normal;
|
|
14
|
+
-webkit-tap-highlight-color: transparent;
|
|
15
|
+
font-family: ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
|
|
16
|
+
line-height: 1.5;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
hr {
|
|
20
|
+
height: 0;
|
|
21
|
+
color: inherit;
|
|
22
|
+
border-top-width: 1px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
abbr:where([title]) {
|
|
26
|
+
text-decoration: underline dotted;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
h1, h2, h3, h4, h5, h6 {
|
|
30
|
+
font-size: inherit;
|
|
31
|
+
font-weight: inherit;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
a {
|
|
35
|
+
color: inherit;
|
|
36
|
+
-webkit-text-decoration: inherit;
|
|
37
|
+
text-decoration: inherit;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
b, strong {
|
|
41
|
+
font-weight: bolder;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
code, kbd, samp, pre {
|
|
45
|
+
font-feature-settings: normal;
|
|
46
|
+
font-variation-settings: normal;
|
|
47
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
|
|
48
|
+
font-size: 1em;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
small {
|
|
52
|
+
font-size: 80%;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
sub, sup {
|
|
56
|
+
vertical-align: baseline;
|
|
57
|
+
font-size: 75%;
|
|
58
|
+
line-height: 0;
|
|
59
|
+
position: relative;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
sub {
|
|
63
|
+
bottom: -.25em;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
sup {
|
|
67
|
+
top: -.5em;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
table {
|
|
71
|
+
text-indent: 0;
|
|
72
|
+
border-color: inherit;
|
|
73
|
+
border-collapse: collapse;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
:-moz-focusring {
|
|
77
|
+
outline: auto;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
progress {
|
|
81
|
+
vertical-align: baseline;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
summary {
|
|
85
|
+
display: list-item;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
ol, ul, menu {
|
|
89
|
+
list-style: none;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
img, svg, video, canvas, audio, iframe, embed, object {
|
|
93
|
+
vertical-align: middle;
|
|
94
|
+
display: block;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
img, video {
|
|
98
|
+
max-width: 100%;
|
|
99
|
+
height: auto;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
button, input, select, optgroup, textarea, ::file-selector-button {
|
|
103
|
+
font: inherit;
|
|
104
|
+
font-feature-settings: inherit;
|
|
105
|
+
font-variation-settings: inherit;
|
|
106
|
+
letter-spacing: inherit;
|
|
107
|
+
color: inherit;
|
|
108
|
+
opacity: 1;
|
|
109
|
+
background-color: #0000;
|
|
110
|
+
border-radius: 0;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
:where(select:is([multiple], [size])) optgroup {
|
|
114
|
+
font-weight: bolder;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
:where(select:is([multiple], [size])) optgroup option {
|
|
118
|
+
padding-inline-start: 20px;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
::file-selector-button {
|
|
122
|
+
margin-inline-end: 4px;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
::placeholder {
|
|
126
|
+
opacity: 1;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
@supports (contain-intrinsic-size: 1px) {
|
|
130
|
+
::placeholder {
|
|
131
|
+
color: color-mix(in oklab, currentcolor 50%, transparent);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
textarea {
|
|
136
|
+
resize: vertical;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
::-webkit-search-decoration {
|
|
140
|
+
-webkit-appearance: none;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
::-webkit-date-and-time-value {
|
|
144
|
+
min-height: 1lh;
|
|
145
|
+
text-align: inherit;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
::-webkit-datetime-edit-fields-wrapper {
|
|
149
|
+
padding: 0;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field {
|
|
153
|
+
padding-block: 0;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
::-webkit-calendar-picker-indicator {
|
|
157
|
+
line-height: 1;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
:-moz-ui-invalid {
|
|
161
|
+
box-shadow: none;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
|
|
165
|
+
appearance: button;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
|
|
169
|
+
height: auto;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
[hidden]:where(:not([hidden="until-found"])) {
|
|
173
|
+
display: none !important;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
@layer ui.reset;
|
|
2
|
+
|
|
3
|
+
@layer ui.tokens {
|
|
4
|
+
@keyframes moduix-pulse {
|
|
5
|
+
50% {
|
|
6
|
+
opacity: .3;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@keyframes moduix-fade-in {
|
|
11
|
+
from {
|
|
12
|
+
opacity: 0;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@keyframes moduix-fade-out {
|
|
17
|
+
from {
|
|
18
|
+
opacity: 1;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
to {
|
|
22
|
+
opacity: 0;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@keyframes moduix-slide-up {
|
|
27
|
+
from {
|
|
28
|
+
opacity: 0;
|
|
29
|
+
transform: translateY(4px);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@keyframes moduix-slide-down {
|
|
34
|
+
from {
|
|
35
|
+
opacity: 0;
|
|
36
|
+
transform: translateY(-4px);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@keyframes moduix-spin {
|
|
41
|
+
to {
|
|
42
|
+
transform: rotate(360deg);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
:root {
|
|
47
|
+
--animation-pulse: moduix-pulse 2.5s ease-in-out infinite;
|
|
48
|
+
--animation-fade-in: moduix-fade-in var(--duration-normal) var(--ease-out);
|
|
49
|
+
--animation-fade-out: moduix-fade-out var(--duration-normal) var(--ease-in);
|
|
50
|
+
--animation-slide-up: moduix-slide-up var(--duration-normal) var(--ease-out);
|
|
51
|
+
--animation-slide-down: moduix-slide-down var(--duration-normal) var(--ease-out);
|
|
52
|
+
--animation-spin: moduix-spin .75s linear infinite;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@media (prefers-reduced-motion: reduce) {
|
|
56
|
+
:root {
|
|
57
|
+
--animation-pulse: none;
|
|
58
|
+
--animation-fade-in: none;
|
|
59
|
+
--animation-fade-out: none;
|
|
60
|
+
--animation-slide-up: none;
|
|
61
|
+
--animation-slide-down: none;
|
|
62
|
+
--animation-spin: none;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
:root {
|
|
67
|
+
--border-width-sm: 1px;
|
|
68
|
+
--border-width-md: 2px;
|
|
69
|
+
--border-width-lg: 4px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
:root {
|
|
73
|
+
color-scheme: light;
|
|
74
|
+
--background: oklch(98.2% .003 285);
|
|
75
|
+
--foreground: oklch(17.5% .01 285);
|
|
76
|
+
--card: oklch(99.5% .002 285);
|
|
77
|
+
--card-foreground: oklch(17.5% .01 285);
|
|
78
|
+
--popover: oklch(99.5% .002 285);
|
|
79
|
+
--popover-foreground: oklch(17.5% .01 285);
|
|
80
|
+
--primary: oklch(23.5% .016 285);
|
|
81
|
+
--primary-foreground: oklch(98.2% .003 285);
|
|
82
|
+
--secondary: oklch(96% .006 285);
|
|
83
|
+
--secondary-foreground: oklch(23.5% .016 285);
|
|
84
|
+
--muted: oklch(95.5% .006 285);
|
|
85
|
+
--muted-foreground: oklch(48.5% .015 285);
|
|
86
|
+
--accent: oklch(95% .01 285);
|
|
87
|
+
--accent-foreground: oklch(23.5% .016 285);
|
|
88
|
+
--destructive: oklch(56.5% .235 22);
|
|
89
|
+
--success: oklch(62.7% .194 149.214);
|
|
90
|
+
--warning: oklch(79.5% .184 86.047);
|
|
91
|
+
--border: oklch(90.5% .008 285);
|
|
92
|
+
--input: oklch(90.5% .008 285);
|
|
93
|
+
--ring: oklch(62% .035 285);
|
|
94
|
+
--overlay: oklch(17.5% .014 285 / .2);
|
|
95
|
+
--overlay-foreground: oklch(17.5% .014 285 / .07);
|
|
96
|
+
--chart-1: oklch(65% .18 295);
|
|
97
|
+
--chart-2: oklch(70% .14 175);
|
|
98
|
+
--chart-3: oklch(72% .16 55);
|
|
99
|
+
--chart-4: oklch(60% .2 350);
|
|
100
|
+
--chart-5: oklch(68% .13 130);
|
|
101
|
+
--sidebar: oklch(97.5% .005 285);
|
|
102
|
+
--sidebar-foreground: oklch(17.5% .01 285);
|
|
103
|
+
--sidebar-primary: oklch(23.5% .016 285);
|
|
104
|
+
--sidebar-primary-foreground: oklch(98.2% .003 285);
|
|
105
|
+
--sidebar-accent: oklch(95% .01 285);
|
|
106
|
+
--sidebar-accent-foreground: oklch(23.5% .016 285);
|
|
107
|
+
--sidebar-border: oklch(90.5% .008 285);
|
|
108
|
+
--sidebar-ring: oklch(62% .035 285);
|
|
109
|
+
|
|
110
|
+
& .dark, &.dark {
|
|
111
|
+
color-scheme: dark;
|
|
112
|
+
--background: oklch(15.5% .008 285);
|
|
113
|
+
--foreground: oklch(96.8% .003 285);
|
|
114
|
+
--card: oklch(20% .011 285);
|
|
115
|
+
--card-foreground: oklch(96.8% .003 285);
|
|
116
|
+
--popover: oklch(20% .011 285);
|
|
117
|
+
--popover-foreground: oklch(96.8% .003 285);
|
|
118
|
+
--primary: oklch(91.8% .007 285);
|
|
119
|
+
--primary-foreground: oklch(20% .011 285);
|
|
120
|
+
--secondary: oklch(25.5% .012 285);
|
|
121
|
+
--secondary-foreground: oklch(96.8% .003 285);
|
|
122
|
+
--muted: oklch(25.5% .012 285);
|
|
123
|
+
--muted-foreground: oklch(70.5% .016 285);
|
|
124
|
+
--accent: oklch(29% .015 285);
|
|
125
|
+
--accent-foreground: oklch(96.8% .003 285);
|
|
126
|
+
--destructive: oklch(69% .185 18);
|
|
127
|
+
--success: oklch(62.7% .194 149.214);
|
|
128
|
+
--warning: oklch(79.5% .184 86.047);
|
|
129
|
+
--border: oklch(100% .004 285 / .13);
|
|
130
|
+
--input: oklch(100% .004 285 / .17);
|
|
131
|
+
--ring: oklch(58.5% .038 285);
|
|
132
|
+
--overlay: oklch(10.5% .012 285 / .74);
|
|
133
|
+
--overlay-foreground: oklch(96.8% .003 285 / .09);
|
|
134
|
+
--chart-1: oklch(72% .17 295);
|
|
135
|
+
--chart-2: oklch(76% .13 175);
|
|
136
|
+
--chart-3: oklch(78% .15 55);
|
|
137
|
+
--chart-4: oklch(67% .19 350);
|
|
138
|
+
--chart-5: oklch(74% .12 130);
|
|
139
|
+
--sidebar: oklch(20% .011 285);
|
|
140
|
+
--sidebar-foreground: oklch(96.8% .003 285);
|
|
141
|
+
--sidebar-primary: oklch(72% .17 295);
|
|
142
|
+
--sidebar-primary-foreground: oklch(15.5% .008 285);
|
|
143
|
+
--sidebar-accent: oklch(29% .015 285);
|
|
144
|
+
--sidebar-accent-foreground: oklch(96.8% .003 285);
|
|
145
|
+
--sidebar-border: oklch(100% .004 285 / .13);
|
|
146
|
+
--sidebar-ring: oklch(58.5% .038 285);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
--color-background: var(--background);
|
|
150
|
+
--color-foreground: var(--foreground);
|
|
151
|
+
--color-card: var(--card);
|
|
152
|
+
--color-card-foreground: var(--card-foreground);
|
|
153
|
+
--color-popover: var(--popover);
|
|
154
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
155
|
+
--color-primary: var(--primary);
|
|
156
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
157
|
+
--color-secondary: var(--secondary);
|
|
158
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
159
|
+
--color-muted: var(--muted);
|
|
160
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
161
|
+
--color-accent: var(--accent);
|
|
162
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
163
|
+
--color-destructive: var(--destructive);
|
|
164
|
+
--color-success: var(--success);
|
|
165
|
+
--color-warning: var(--warning);
|
|
166
|
+
--color-border: var(--border);
|
|
167
|
+
--color-input: var(--input);
|
|
168
|
+
--color-ring: var(--ring);
|
|
169
|
+
--color-overlay: var(--overlay);
|
|
170
|
+
--color-overlay-foreground: var(--overlay-foreground);
|
|
171
|
+
--color-chart-1: var(--chart-1);
|
|
172
|
+
--color-chart-2: var(--chart-2);
|
|
173
|
+
--color-chart-3: var(--chart-3);
|
|
174
|
+
--color-chart-4: var(--chart-4);
|
|
175
|
+
--color-chart-5: var(--chart-5);
|
|
176
|
+
--color-sidebar: var(--sidebar);
|
|
177
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
178
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
179
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
180
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
181
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
182
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
183
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
:root {
|
|
187
|
+
--opacity-disabled: .5;
|
|
188
|
+
--opacity-loading: .85;
|
|
189
|
+
--opacity-hover: .9;
|
|
190
|
+
--radius: .625rem;
|
|
191
|
+
--radius-none: 0;
|
|
192
|
+
--radius-xs: calc(var(--radius) * .4);
|
|
193
|
+
--radius-sm: calc(var(--radius) * .6);
|
|
194
|
+
--radius-md: calc(var(--radius) * .8);
|
|
195
|
+
--radius-lg: var(--radius);
|
|
196
|
+
--radius-xl: calc(var(--radius) * 1.2);
|
|
197
|
+
--radius-full: 9999px;
|
|
198
|
+
--shadow-sm: 0 2px 4px 0 #0000001a, 0 1px 2px -1px #0000001a;
|
|
199
|
+
--shadow-md: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;
|
|
200
|
+
--shadow-lg: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
|
|
201
|
+
--size-xs: 24px;
|
|
202
|
+
--size-sm: 32px;
|
|
203
|
+
--size-md: 36px;
|
|
204
|
+
--size-lg: 40px;
|
|
205
|
+
--size-xl: 48px;
|
|
206
|
+
--spacing-0: 0px;
|
|
207
|
+
--spacing-1: 4px;
|
|
208
|
+
--spacing-2: 8px;
|
|
209
|
+
--spacing-3: 12px;
|
|
210
|
+
--spacing-4: 16px;
|
|
211
|
+
--spacing-5: 20px;
|
|
212
|
+
--spacing-6: 24px;
|
|
213
|
+
--spacing-8: 32px;
|
|
214
|
+
--spacing-10: 40px;
|
|
215
|
+
--spacing-xs: var(--spacing-1);
|
|
216
|
+
--spacing-sm: var(--spacing-2);
|
|
217
|
+
--spacing-md: var(--spacing-3);
|
|
218
|
+
--spacing-lg: var(--spacing-4);
|
|
219
|
+
--spacing-xl: var(--spacing-5);
|
|
220
|
+
--spacing-2xl: var(--spacing-6);
|
|
221
|
+
--scale-popup: .9;
|
|
222
|
+
--scale-dropdown: .95;
|
|
223
|
+
--duration-fast: .15s;
|
|
224
|
+
--duration-normal: .2s;
|
|
225
|
+
--duration-slow: .35s;
|
|
226
|
+
--duration-slower: .45s;
|
|
227
|
+
--ease-in: cubic-bezier(.4, 0, 1, 1);
|
|
228
|
+
--ease-out: cubic-bezier(0, 0, .2, 1);
|
|
229
|
+
--ease-in-out: cubic-bezier(.4, 0, .2, 1);
|
|
230
|
+
--ease-standard: ease;
|
|
231
|
+
--ease-spring: cubic-bezier(.32, .72, 0, 1);
|
|
232
|
+
--ease-emphasized: cubic-bezier(.22, 1, .36, 1);
|
|
233
|
+
--transition-default: var(--duration-normal) var(--ease-in-out);
|
|
234
|
+
--transition-fast: var(--duration-fast) var(--ease-in-out);
|
|
235
|
+
--transition-slow: var(--duration-slow) var(--ease-in-out);
|
|
236
|
+
--transition-slower: var(--duration-slower) var(--ease-in-out);
|
|
237
|
+
--transition-spring: var(--duration-slower) var(--ease-spring);
|
|
238
|
+
--transition-emphasized: var(--duration-slower) var(--ease-emphasized);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
@media (prefers-reduced-motion: reduce) {
|
|
242
|
+
:root {
|
|
243
|
+
--duration-fast: .01ms;
|
|
244
|
+
--duration-normal: .01ms;
|
|
245
|
+
--duration-slow: .01ms;
|
|
246
|
+
--duration-slower: .01ms;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
:root {
|
|
251
|
+
--font-sans: "Noto Sans", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
|
|
252
|
+
"Segoe UI Symbol", "Noto Color Emoji";
|
|
253
|
+
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
|
|
254
|
+
monospace;
|
|
255
|
+
--weight-regular: 400;
|
|
256
|
+
--weight-medium: 500;
|
|
257
|
+
--weight-semibold: 600;
|
|
258
|
+
--weight-bold: 700;
|
|
259
|
+
--text-xs: 11px;
|
|
260
|
+
--text-sm: 14px;
|
|
261
|
+
--text-md: 16px;
|
|
262
|
+
--text-lg: 18px;
|
|
263
|
+
--text-xl: 20px;
|
|
264
|
+
--text-2xl: 24px;
|
|
265
|
+
--text-3xl: 30px;
|
|
266
|
+
--line-height-text-xs: 14px;
|
|
267
|
+
--line-height-text-sm: 22px;
|
|
268
|
+
--line-height-text-md: 24px;
|
|
269
|
+
--line-height-text-lg: 28px;
|
|
270
|
+
--line-height-text-xl: 32px;
|
|
271
|
+
--line-height-text-2xl: 32px;
|
|
272
|
+
--line-height-text-3xl: 36px;
|
|
273
|
+
--tracking-text-sm: -.01em;
|
|
274
|
+
--tracking-text-xs: -.016em;
|
|
275
|
+
--z-default: 1;
|
|
276
|
+
--z-xs: 5;
|
|
277
|
+
--z-sm: 10;
|
|
278
|
+
--z-md: 20;
|
|
279
|
+
--z-lg: 30;
|
|
280
|
+
--z-xl: 40;
|
|
281
|
+
--z-backdrop: 40;
|
|
282
|
+
--z-modal: 50;
|
|
283
|
+
--z-popup: 60;
|
|
284
|
+
--z-toast: 70;
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
@layer ui.base, ui.components;
|
package/dist/reset.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/dist/reset.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./lib/moduix/styles/reset.css";
|
package/dist/style.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/dist/style.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./lib/moduix/styles/style.css";
|
package/package.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@moduix/react",
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"description": "React implementation of the moduix component system, built on Ark UI primitives.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"accessible",
|
|
7
|
+
"ark-ui",
|
|
8
|
+
"component-library",
|
|
9
|
+
"components",
|
|
10
|
+
"css-modules",
|
|
11
|
+
"design-system",
|
|
12
|
+
"headless",
|
|
13
|
+
"react",
|
|
14
|
+
"typescript",
|
|
15
|
+
"ui"
|
|
16
|
+
],
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/Blinks44/moduix.git",
|
|
21
|
+
"directory": "packages/react"
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"dist",
|
|
25
|
+
"LICENSE.md"
|
|
26
|
+
],
|
|
27
|
+
"type": "module",
|
|
28
|
+
"sideEffects": [
|
|
29
|
+
"**/*.css"
|
|
30
|
+
],
|
|
31
|
+
"main": "./dist/index.js",
|
|
32
|
+
"module": "./dist/index.js",
|
|
33
|
+
"types": "./dist/index.d.ts",
|
|
34
|
+
"exports": {
|
|
35
|
+
".": {
|
|
36
|
+
"types": "./dist/index.d.ts",
|
|
37
|
+
"import": "./dist/index.js"
|
|
38
|
+
},
|
|
39
|
+
"./style.css": "./dist/lib/moduix/styles/style.css",
|
|
40
|
+
"./reset.css": "./dist/lib/moduix/styles/reset.css",
|
|
41
|
+
"./package.json": "./package.json"
|
|
42
|
+
},
|
|
43
|
+
"publishConfig": {
|
|
44
|
+
"access": "public"
|
|
45
|
+
},
|
|
46
|
+
"scripts": {
|
|
47
|
+
"dev": "storybook dev -p 6006 --no-open",
|
|
48
|
+
"build": "tsdown",
|
|
49
|
+
"build-storybook": "storybook build",
|
|
50
|
+
"tsc:check": "tsc -b"
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"clsx": "^2.1.1"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@ark-ui/react": "^5.37.2",
|
|
57
|
+
"@internationalized/date": "^3.12.2",
|
|
58
|
+
"@storybook/react-vite": "^10.4.6",
|
|
59
|
+
"@tsdown/css": "^0.22.3",
|
|
60
|
+
"@types/node": "^24.13.2",
|
|
61
|
+
"@types/react": "^19.2.17",
|
|
62
|
+
"@types/react-dom": "^19.2.3",
|
|
63
|
+
"react": "^19.2.7",
|
|
64
|
+
"react-dom": "^19.2.7",
|
|
65
|
+
"storybook": "^10.4.6",
|
|
66
|
+
"tsdown": "^0.22.3",
|
|
67
|
+
"typescript": "~6.0.3",
|
|
68
|
+
"vite": "^8.1.0",
|
|
69
|
+
"vite-plugin-svgr": "^5.2.0"
|
|
70
|
+
},
|
|
71
|
+
"peerDependencies": {
|
|
72
|
+
"@ark-ui/react": "^5.37.2",
|
|
73
|
+
"react": "^18 || ^19",
|
|
74
|
+
"react-dom": "^18 || ^19"
|
|
75
|
+
}
|
|
76
|
+
}
|