@moduix/react-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 +13 -0
- package/dist/components/accordion/Accordion.js +78 -0
- package/dist/components/accordion/index.d.ts +1 -0
- package/dist/components/accordion/index.js +1 -0
- package/dist/components/alert/Alert.d.ts +14 -0
- package/dist/components/alert/Alert.js +93 -0
- package/dist/components/alert/index.d.ts +1 -0
- package/dist/components/alert/index.js +1 -0
- package/dist/components/angle-slider/AngleSlider.d.ts +26 -0
- package/dist/components/angle-slider/AngleSlider.js +107 -0
- package/dist/components/angle-slider/index.d.ts +1 -0
- package/dist/components/angle-slider/index.js +1 -0
- package/dist/components/aspect-ratio/AspectRatio.d.ts +8 -0
- package/dist/components/aspect-ratio/AspectRatio.js +23 -0
- package/dist/components/aspect-ratio/index.d.ts +1 -0
- package/dist/components/aspect-ratio/index.js +1 -0
- package/dist/components/avatar/Avatar.d.ts +17 -0
- package/dist/components/avatar/Avatar.js +66 -0
- package/dist/components/avatar/index.d.ts +1 -0
- package/dist/components/avatar/index.js +1 -0
- package/dist/components/badge/Badge.d.ts +11 -0
- package/dist/components/badge/Badge.js +60 -0
- package/dist/components/badge/index.d.ts +1 -0
- package/dist/components/badge/index.js +1 -0
- package/dist/components/bleed/Bleed.d.ts +12 -0
- package/dist/components/bleed/Bleed.js +49 -0
- package/dist/components/bleed/index.d.ts +1 -0
- package/dist/components/bleed/index.js +1 -0
- package/dist/components/breadcrumbs/Breadcrumbs.d.ts +21 -0
- package/dist/components/breadcrumbs/Breadcrumbs.js +105 -0
- package/dist/components/breadcrumbs/index.d.ts +1 -0
- package/dist/components/breadcrumbs/index.js +1 -0
- package/dist/components/button/Button.d.ts +18 -0
- package/dist/components/button/Button.js +84 -0
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/button/index.js +1 -0
- package/dist/components/card/Card.d.ts +19 -0
- package/dist/components/card/Card.js +135 -0
- package/dist/components/card/index.d.ts +1 -0
- package/dist/components/card/index.js +1 -0
- package/dist/components/carousel/Carousel.d.ts +20 -0
- package/dist/components/carousel/Carousel.js +145 -0
- package/dist/components/carousel/index.d.ts +1 -0
- package/dist/components/carousel/index.js +1 -0
- package/dist/components/chart/Chart.d.ts +18 -0
- package/dist/components/chart/Chart.js +183 -0
- package/dist/components/chart/index.d.ts +1 -0
- package/dist/components/chart/index.js +1 -0
- package/dist/components/checkbox/Checkbox.d.ts +20 -0
- package/dist/components/checkbox/Checkbox.js +83 -0
- package/dist/components/checkbox/index.d.ts +1 -0
- package/dist/components/checkbox/index.js +1 -0
- package/dist/components/clipboard/Clipboard.d.ts +15 -0
- package/dist/components/clipboard/Clipboard.js +105 -0
- package/dist/components/clipboard/index.d.ts +1 -0
- package/dist/components/clipboard/index.js +1 -0
- package/dist/components/close-button/CloseButton.d.ts +14 -0
- package/dist/components/close-button/CloseButton.js +50 -0
- package/dist/components/close-button/index.d.ts +1 -0
- package/dist/components/close-button/index.js +1 -0
- package/dist/components/collapsible/Collapsible.d.ts +11 -0
- package/dist/components/collapsible/Collapsible.js +67 -0
- package/dist/components/collapsible/index.d.ts +1 -0
- package/dist/components/collapsible/index.js +1 -0
- package/dist/components/color-picker/ColorPicker.d.ts +38 -0
- package/dist/components/color-picker/ColorPicker.js +354 -0
- package/dist/components/color-picker/index.d.ts +1 -0
- package/dist/components/color-picker/index.js +1 -0
- package/dist/components/combobox/Combobox.d.ts +30 -0
- package/dist/components/combobox/Combobox.js +208 -0
- package/dist/components/combobox/index.d.ts +1 -0
- package/dist/components/combobox/index.js +1 -0
- package/dist/components/command-palette/CommandPalette.d.ts +45 -0
- package/dist/components/command-palette/CommandPalette.js +376 -0
- package/dist/components/command-palette/index.d.ts +1 -0
- package/dist/components/command-palette/index.js +1 -0
- package/dist/components/container/Container.d.ts +12 -0
- package/dist/components/container/Container.js +123 -0
- package/dist/components/container/index.d.ts +1 -0
- package/dist/components/container/index.js +1 -0
- package/dist/components/date-input/DateInput.d.ts +17 -0
- package/dist/components/date-input/DateInput.js +87 -0
- package/dist/components/date-input/index.d.ts +1 -0
- package/dist/components/date-input/index.js +1 -0
- package/dist/components/date-picker/DatePicker.d.ts +66 -0
- package/dist/components/date-picker/DatePicker.js +430 -0
- package/dist/components/date-picker/index.d.ts +2 -0
- package/dist/components/date-picker/index.js +1 -0
- package/dist/components/dialog/Dialog.d.ts +25 -0
- package/dist/components/dialog/Dialog.js +147 -0
- package/dist/components/dialog/index.d.ts +2 -0
- package/dist/components/dialog/index.js +1 -0
- package/dist/components/drawer/Drawer.d.ts +40 -0
- package/dist/components/drawer/Drawer.js +202 -0
- package/dist/components/drawer/index.d.ts +1 -0
- package/dist/components/drawer/index.js +1 -0
- package/dist/components/editable/Editable.d.ts +16 -0
- package/dist/components/editable/Editable.js +120 -0
- package/dist/components/editable/index.d.ts +1 -0
- package/dist/components/editable/index.js +1 -0
- package/dist/components/empty/Empty.d.ts +9 -0
- package/dist/components/empty/Empty.js +73 -0
- package/dist/components/empty/index.d.ts +1 -0
- package/dist/components/empty/index.js +1 -0
- package/dist/components/field/Field.d.ts +17 -0
- package/dist/components/field/Field.js +103 -0
- package/dist/components/field/index.d.ts +1 -0
- package/dist/components/field/index.js +1 -0
- package/dist/components/fieldset/Fieldset.d.ts +10 -0
- package/dist/components/fieldset/Fieldset.js +54 -0
- package/dist/components/fieldset/index.d.ts +1 -0
- package/dist/components/fieldset/index.js +1 -0
- package/dist/components/file-upload/FileUpload.d.ts +31 -0
- package/dist/components/file-upload/FileUpload.js +199 -0
- package/dist/components/file-upload/index.d.ts +1 -0
- package/dist/components/file-upload/index.js +1 -0
- package/dist/components/floating-panel/FloatingPanel.d.ts +34 -0
- package/dist/components/floating-panel/FloatingPanel.js +209 -0
- package/dist/components/floating-panel/index.d.ts +1 -0
- package/dist/components/floating-panel/index.js +1 -0
- package/dist/components/heading/Heading.d.ts +15 -0
- package/dist/components/heading/Heading.js +60 -0
- package/dist/components/heading/index.d.ts +1 -0
- package/dist/components/heading/index.js +1 -0
- package/dist/components/highlight/Highlight.d.ts +7 -0
- package/dist/components/highlight/Highlight.js +16 -0
- package/dist/components/highlight/index.d.ts +1 -0
- package/dist/components/highlight/index.js +1 -0
- package/dist/components/hover-card/HoverCard.d.ts +19 -0
- package/dist/components/hover-card/HoverCard.js +93 -0
- package/dist/components/hover-card/index.d.ts +1 -0
- package/dist/components/hover-card/index.js +1 -0
- package/dist/components/image/Image.d.ts +13 -0
- package/dist/components/image/Image.js +25 -0
- package/dist/components/image/index.d.ts +1 -0
- package/dist/components/image/index.js +1 -0
- package/dist/components/image-cropper/ImageCropper.d.ts +17 -0
- package/dist/components/image-cropper/ImageCropper.js +95 -0
- package/dist/components/image-cropper/index.d.ts +1 -0
- package/dist/components/image-cropper/index.js +1 -0
- package/dist/components/input/Input.d.ts +12 -0
- package/dist/components/input/Input.js +38 -0
- package/dist/components/input/index.d.ts +1 -0
- package/dist/components/input/index.js +1 -0
- package/dist/components/input-group/InputGroup.d.ts +25 -0
- package/dist/components/input-group/InputGroup.js +131 -0
- package/dist/components/input-group/index.d.ts +1 -0
- package/dist/components/input-group/index.js +1 -0
- package/dist/components/json-tree-view/JsonTreeView.d.ts +8 -0
- package/dist/components/json-tree-view/JsonTreeView.js +39 -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/kbd/Kbd.d.ts +5 -0
- package/dist/components/kbd/Kbd.js +30 -0
- package/dist/components/kbd/index.d.ts +1 -0
- package/dist/components/kbd/index.js +1 -0
- package/dist/components/lightbox/Lightbox.d.ts +46 -0
- package/dist/components/lightbox/Lightbox.js +232 -0
- package/dist/components/lightbox/index.d.ts +2 -0
- package/dist/components/lightbox/index.js +1 -0
- package/dist/components/list/List.d.ts +21 -0
- package/dist/components/list/List.js +106 -0
- package/dist/components/list/index.d.ts +1 -0
- package/dist/components/list/index.js +1 -0
- package/dist/components/listbox/Listbox.d.ts +28 -0
- package/dist/components/listbox/Listbox.js +179 -0
- package/dist/components/listbox/index.d.ts +1 -0
- package/dist/components/listbox/index.js +1 -0
- package/dist/components/marquee/Marquee.d.ts +12 -0
- package/dist/components/marquee/Marquee.js +93 -0
- package/dist/components/marquee/index.d.ts +1 -0
- package/dist/components/marquee/index.js +1 -0
- package/dist/components/menu/Menu.d.ts +51 -0
- package/dist/components/menu/Menu.js +300 -0
- package/dist/components/menu/index.d.ts +1 -0
- package/dist/components/menu/index.js +1 -0
- package/dist/components/native-select/NativeSelect.d.ts +9 -0
- package/dist/components/native-select/NativeSelect.js +38 -0
- package/dist/components/native-select/index.d.ts +1 -0
- package/dist/components/native-select/index.js +1 -0
- package/dist/components/navigation-menu/NavigationMenu.d.ts +18 -0
- package/dist/components/navigation-menu/NavigationMenu.js +119 -0
- package/dist/components/navigation-menu/index.d.ts +1 -0
- package/dist/components/navigation-menu/index.js +1 -0
- package/dist/components/number-input/NumberInput.d.ts +18 -0
- package/dist/components/number-input/NumberInput.js +105 -0
- package/dist/components/number-input/index.d.ts +1 -0
- package/dist/components/number-input/index.js +1 -0
- package/dist/components/pagination/Pagination.d.ts +17 -0
- package/dist/components/pagination/Pagination.js +115 -0
- package/dist/components/pagination/index.d.ts +1 -0
- package/dist/components/pagination/index.js +1 -0
- package/dist/components/password-input/PasswordInput.d.ts +16 -0
- package/dist/components/password-input/PasswordInput.js +87 -0
- package/dist/components/password-input/index.d.ts +1 -0
- package/dist/components/password-input/index.js +1 -0
- package/dist/components/pin-input/PinInput.d.ts +19 -0
- package/dist/components/pin-input/PinInput.js +83 -0
- package/dist/components/pin-input/index.d.ts +1 -0
- package/dist/components/pin-input/index.js +1 -0
- package/dist/components/popover/Popover.d.ts +29 -0
- package/dist/components/popover/Popover.js +177 -0
- package/dist/components/popover/index.d.ts +1 -0
- package/dist/components/popover/index.js +1 -0
- package/dist/components/progress-circular/ProgressCircular.d.ts +18 -0
- package/dist/components/progress-circular/ProgressCircular.js +94 -0
- package/dist/components/progress-circular/index.d.ts +1 -0
- package/dist/components/progress-circular/index.js +1 -0
- package/dist/components/progress-linear/ProgressLinear.d.ts +14 -0
- package/dist/components/progress-linear/ProgressLinear.js +73 -0
- package/dist/components/progress-linear/index.d.ts +1 -0
- package/dist/components/progress-linear/index.js +1 -0
- package/dist/components/qr-code/QrCode.d.ts +11 -0
- package/dist/components/qr-code/QrCode.js +63 -0
- package/dist/components/qr-code/index.d.ts +1 -0
- package/dist/components/qr-code/index.js +1 -0
- package/dist/components/radio-group/RadioGroup.d.ts +25 -0
- package/dist/components/radio-group/RadioGroup.js +108 -0
- package/dist/components/radio-group/index.d.ts +2 -0
- package/dist/components/radio-group/index.js +1 -0
- package/dist/components/rating-group/RatingGroup.d.ts +27 -0
- package/dist/components/rating-group/RatingGroup.js +92 -0
- package/dist/components/rating-group/index.d.ts +2 -0
- package/dist/components/rating-group/index.js +1 -0
- package/dist/components/scroll-area/ScrollArea.d.ts +23 -0
- package/dist/components/scroll-area/ScrollArea.js +77 -0
- package/dist/components/scroll-area/index.d.ts +2 -0
- package/dist/components/scroll-area/index.js +1 -0
- package/dist/components/segment-group/SegmentGroup.d.ts +25 -0
- package/dist/components/segment-group/SegmentGroup.js +119 -0
- package/dist/components/segment-group/index.d.ts +1 -0
- package/dist/components/segment-group/index.js +1 -0
- package/dist/components/select/Select.d.ts +39 -0
- package/dist/components/select/Select.js +239 -0
- package/dist/components/select/index.d.ts +1 -0
- package/dist/components/select/index.js +1 -0
- package/dist/components/separator/Separator.d.ts +12 -0
- package/dist/components/separator/Separator.js +96 -0
- package/dist/components/separator/index.d.ts +1 -0
- package/dist/components/separator/index.js +1 -0
- package/dist/components/sidebar/Sidebar.d.ts +61 -0
- package/dist/components/sidebar/Sidebar.js +400 -0
- package/dist/components/sidebar/index.d.ts +1 -0
- package/dist/components/sidebar/index.js +1 -0
- package/dist/components/signature-pad/SignaturePad.d.ts +15 -0
- package/dist/components/signature-pad/SignaturePad.js +133 -0
- package/dist/components/signature-pad/index.d.ts +1 -0
- package/dist/components/signature-pad/index.js +1 -0
- package/dist/components/simple-grid/SimpleGrid.d.ts +16 -0
- package/dist/components/simple-grid/SimpleGrid.js +43 -0
- package/dist/components/simple-grid/index.d.ts +1 -0
- package/dist/components/simple-grid/index.js +1 -0
- package/dist/components/skeleton/Skeleton.d.ts +18 -0
- package/dist/components/skeleton/Skeleton.js +30 -0
- package/dist/components/skeleton/index.d.ts +1 -0
- package/dist/components/skeleton/index.js +1 -0
- package/dist/components/slider/Slider.d.ts +23 -0
- package/dist/components/slider/Slider.js +122 -0
- package/dist/components/slider/index.d.ts +1 -0
- package/dist/components/slider/index.js +1 -0
- package/dist/components/spinner/Spinner.d.ts +11 -0
- package/dist/components/spinner/Spinner.js +57 -0
- package/dist/components/spinner/index.d.ts +1 -0
- package/dist/components/spinner/index.js +1 -0
- package/dist/components/split-button/SplitButton.d.ts +36 -0
- package/dist/components/split-button/SplitButton.js +125 -0
- package/dist/components/split-button/index.d.ts +1 -0
- package/dist/components/split-button/index.js +1 -0
- package/dist/components/splitter/Splitter.d.ts +11 -0
- package/dist/components/splitter/Splitter.js +66 -0
- package/dist/components/splitter/index.d.ts +1 -0
- package/dist/components/splitter/index.js +1 -0
- package/dist/components/stack/Stack.d.ts +26 -0
- package/dist/components/stack/Stack.js +57 -0
- package/dist/components/stack/index.d.ts +1 -0
- package/dist/components/stack/index.js +1 -0
- package/dist/components/steps/Steps.d.ts +25 -0
- package/dist/components/steps/Steps.js +122 -0
- package/dist/components/steps/index.d.ts +1 -0
- package/dist/components/steps/index.js +1 -0
- package/dist/components/swap/Swap.d.ts +16 -0
- package/dist/components/swap/Swap.js +38 -0
- package/dist/components/swap/index.d.ts +1 -0
- package/dist/components/swap/index.js +1 -0
- package/dist/components/switch/Switch.d.ts +20 -0
- package/dist/components/switch/Switch.js +58 -0
- package/dist/components/switch/index.d.ts +1 -0
- package/dist/components/switch/index.js +1 -0
- package/dist/components/table/Table.d.ts +39 -0
- package/dist/components/table/Table.js +191 -0
- package/dist/components/table/index.d.ts +1 -0
- package/dist/components/table/index.js +1 -0
- package/dist/components/tabs/Tabs.d.ts +19 -0
- package/dist/components/tabs/Tabs.js +71 -0
- package/dist/components/tabs/index.d.ts +1 -0
- package/dist/components/tabs/index.js +1 -0
- package/dist/components/tag/Tag.d.ts +16 -0
- package/dist/components/tag/Tag.js +92 -0
- package/dist/components/tag/index.d.ts +1 -0
- package/dist/components/tag/index.js +1 -0
- package/dist/components/tags-input/TagsInput.d.ts +20 -0
- package/dist/components/tags-input/TagsInput.js +145 -0
- package/dist/components/tags-input/index.d.ts +1 -0
- package/dist/components/tags-input/index.js +1 -0
- package/dist/components/text/Text.d.ts +25 -0
- package/dist/components/text/Text.js +79 -0
- package/dist/components/text/index.d.ts +1 -0
- package/dist/components/text/index.js +1 -0
- package/dist/components/textarea/Textarea.d.ts +3 -0
- package/dist/components/textarea/Textarea.js +17 -0
- package/dist/components/textarea/index.d.ts +1 -0
- package/dist/components/textarea/index.js +1 -0
- package/dist/components/timer/Timer.d.ts +18 -0
- package/dist/components/timer/Timer.js +94 -0
- package/dist/components/timer/index.d.ts +1 -0
- package/dist/components/timer/index.js +1 -0
- package/dist/components/toast/Toast.d.ts +17 -0
- package/dist/components/toast/Toast.js +107 -0
- package/dist/components/toast/index.d.ts +1 -0
- package/dist/components/toast/index.js +1 -0
- package/dist/components/toc/Toc.d.ts +23 -0
- package/dist/components/toc/Toc.js +144 -0
- package/dist/components/toc/index.d.ts +1 -0
- package/dist/components/toc/index.js +1 -0
- package/dist/components/toggle/Toggle.d.ts +15 -0
- package/dist/components/toggle/Toggle.js +55 -0
- package/dist/components/toggle/index.d.ts +2 -0
- package/dist/components/toggle/index.js +1 -0
- package/dist/components/toggle-group/ToggleGroup.d.ts +24 -0
- package/dist/components/toggle-group/ToggleGroup.js +102 -0
- package/dist/components/toggle-group/index.d.ts +2 -0
- package/dist/components/toggle-group/index.js +1 -0
- package/dist/components/tooltip/Tooltip.d.ts +20 -0
- package/dist/components/tooltip/Tooltip.js +105 -0
- package/dist/components/tooltip/index.d.ts +1 -0
- package/dist/components/tooltip/index.js +1 -0
- package/dist/components/tour/Tour.d.ts +29 -0
- package/dist/components/tour/Tour.js +176 -0
- package/dist/components/tour/index.d.ts +1 -0
- package/dist/components/tour/index.js +1 -0
- package/dist/components/tree-view/TreeView.d.ts +38 -0
- package/dist/components/tree-view/TreeView.js +189 -0
- package/dist/components/tree-view/index.d.ts +1 -0
- package/dist/components/tree-view/index.js +1 -0
- package/dist/components/typeset/Typeset.d.ts +5 -0
- package/dist/components/typeset/Typeset.js +34 -0
- package/dist/components/typeset/Typeset.module.js +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/internal/cn.d.ts +2 -0
- package/dist/internal/cn.js +40 -0
- package/dist/internal/icons/ui/Icons.d.ts +24 -0
- package/dist/internal/icons/ui/Icons.js +229 -0
- package/dist/internal/icons/ui/index.d.ts +1 -0
- package/dist/internal/icons/ui/index.js +1 -0
- package/dist/internal/overlayPortal.d.ts +13 -0
- package/dist/internal/overlayPortal.js +20 -0
- package/dist/locale.d.ts +1 -0
- package/dist/locale.js +1 -0
- package/dist/presets/contrast.css +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 +459 -0
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsUpDownIcon, CopyIcon, EyeClosedIcon, EyeIcon, FileIcon, FolderIcon, FolderOpenIcon, GripIcon, ListRestartIcon, Maximize2Icon, MinusIcon, PauseIcon, PencilIcon, PlayIcon, PlusIcon, RotateCcwIcon, RotateCwIcon, SearchIcon, SquareCenterlineDashedHorizontalIcon, StarIcon, Trash2Icon, UploadIcon, XIcon, ZoomInIcon, ZoomOutIcon } from "lucide-react";
|
|
3
|
+
function Icons_ChevronLeftIcon(props) {
|
|
4
|
+
return /*#__PURE__*/ jsx(ChevronLeftIcon, {
|
|
5
|
+
"aria-hidden": "true",
|
|
6
|
+
focusable: "false",
|
|
7
|
+
strokeWidth: 3,
|
|
8
|
+
...props
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
function Icons_ChevronRightIcon(props) {
|
|
12
|
+
return /*#__PURE__*/ jsx(ChevronRightIcon, {
|
|
13
|
+
"aria-hidden": "true",
|
|
14
|
+
focusable: "false",
|
|
15
|
+
strokeWidth: 3,
|
|
16
|
+
...props
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
function Icons_ChevronDownIcon(props) {
|
|
20
|
+
return /*#__PURE__*/ jsx(ChevronDownIcon, {
|
|
21
|
+
"aria-hidden": "true",
|
|
22
|
+
focusable: "false",
|
|
23
|
+
strokeWidth: 3,
|
|
24
|
+
...props
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
function Icons_ChevronUpIcon(props) {
|
|
28
|
+
return /*#__PURE__*/ jsx(ChevronUpIcon, {
|
|
29
|
+
"aria-hidden": "true",
|
|
30
|
+
focusable: "false",
|
|
31
|
+
strokeWidth: 3,
|
|
32
|
+
...props
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
function ChevronUpDownIcon(props) {
|
|
36
|
+
return /*#__PURE__*/ jsx(ChevronsUpDownIcon, {
|
|
37
|
+
"aria-hidden": "true",
|
|
38
|
+
focusable: "false",
|
|
39
|
+
strokeWidth: 3,
|
|
40
|
+
...props
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
function Icons_PlusIcon(props) {
|
|
44
|
+
return /*#__PURE__*/ jsx(PlusIcon, {
|
|
45
|
+
"aria-hidden": "true",
|
|
46
|
+
focusable: "false",
|
|
47
|
+
strokeWidth: 3,
|
|
48
|
+
...props
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
function Icons_MinusIcon(props) {
|
|
52
|
+
return /*#__PURE__*/ jsx(MinusIcon, {
|
|
53
|
+
"aria-hidden": "true",
|
|
54
|
+
focusable: "false",
|
|
55
|
+
strokeWidth: 3,
|
|
56
|
+
...props
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
function Icons_CheckIcon(props) {
|
|
60
|
+
return /*#__PURE__*/ jsx(CheckIcon, {
|
|
61
|
+
"aria-hidden": "true",
|
|
62
|
+
focusable: "false",
|
|
63
|
+
strokeWidth: 3,
|
|
64
|
+
...props
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
function CloseIcon(props) {
|
|
68
|
+
return /*#__PURE__*/ jsx(XIcon, {
|
|
69
|
+
"aria-hidden": "true",
|
|
70
|
+
focusable: "false",
|
|
71
|
+
strokeWidth: 3,
|
|
72
|
+
...props
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
function IndeterminateIcon(props) {
|
|
76
|
+
return /*#__PURE__*/ jsx(MinusIcon, {
|
|
77
|
+
"aria-hidden": "true",
|
|
78
|
+
focusable: "false",
|
|
79
|
+
strokeWidth: 3,
|
|
80
|
+
...props
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
function CalendarIcon(props) {
|
|
84
|
+
return /*#__PURE__*/ jsxs("svg", {
|
|
85
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
86
|
+
width: "24",
|
|
87
|
+
height: "24",
|
|
88
|
+
viewBox: "0 0 24 24",
|
|
89
|
+
fill: "none",
|
|
90
|
+
stroke: "currentColor",
|
|
91
|
+
strokeWidth: "2.5",
|
|
92
|
+
strokeLinecap: "round",
|
|
93
|
+
strokeLinejoin: "round",
|
|
94
|
+
"aria-hidden": "true",
|
|
95
|
+
focusable: "false",
|
|
96
|
+
...props,
|
|
97
|
+
children: [
|
|
98
|
+
/*#__PURE__*/ jsx("path", {
|
|
99
|
+
d: "M8 2v4"
|
|
100
|
+
}),
|
|
101
|
+
/*#__PURE__*/ jsx("path", {
|
|
102
|
+
d: "M16 2v4"
|
|
103
|
+
}),
|
|
104
|
+
/*#__PURE__*/ jsx("rect", {
|
|
105
|
+
width: "18",
|
|
106
|
+
height: "18",
|
|
107
|
+
x: "3",
|
|
108
|
+
y: "4",
|
|
109
|
+
rx: "2"
|
|
110
|
+
}),
|
|
111
|
+
/*#__PURE__*/ jsx("path", {
|
|
112
|
+
d: "M3 10h18"
|
|
113
|
+
})
|
|
114
|
+
]
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
function RestoreIcon(props) {
|
|
118
|
+
return /*#__PURE__*/ jsxs("svg", {
|
|
119
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
120
|
+
width: "24",
|
|
121
|
+
height: "24",
|
|
122
|
+
viewBox: "0 0 24 24",
|
|
123
|
+
fill: "none",
|
|
124
|
+
stroke: "currentColor",
|
|
125
|
+
strokeWidth: "2",
|
|
126
|
+
strokeLinecap: "round",
|
|
127
|
+
strokeLinejoin: "round",
|
|
128
|
+
"aria-hidden": "true",
|
|
129
|
+
focusable: "false",
|
|
130
|
+
...props,
|
|
131
|
+
children: [
|
|
132
|
+
/*#__PURE__*/ jsx("rect", {
|
|
133
|
+
width: "14",
|
|
134
|
+
height: "14",
|
|
135
|
+
x: "3",
|
|
136
|
+
y: "3",
|
|
137
|
+
rx: "2"
|
|
138
|
+
}),
|
|
139
|
+
/*#__PURE__*/ jsx("path", {
|
|
140
|
+
d: "M7 21h10a2 2 0 0 0 2-2V9"
|
|
141
|
+
})
|
|
142
|
+
]
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
function PipetteIcon(props) {
|
|
146
|
+
return /*#__PURE__*/ jsxs("svg", {
|
|
147
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
148
|
+
width: "24",
|
|
149
|
+
height: "24",
|
|
150
|
+
viewBox: "0 0 24 24",
|
|
151
|
+
fill: "none",
|
|
152
|
+
stroke: "currentColor",
|
|
153
|
+
strokeWidth: "2.5",
|
|
154
|
+
strokeLinecap: "round",
|
|
155
|
+
strokeLinejoin: "round",
|
|
156
|
+
"aria-hidden": "true",
|
|
157
|
+
focusable: "false",
|
|
158
|
+
...props,
|
|
159
|
+
children: [
|
|
160
|
+
/*#__PURE__*/ jsx("path", {
|
|
161
|
+
d: "m2 22 1-1h3l9-9"
|
|
162
|
+
}),
|
|
163
|
+
/*#__PURE__*/ jsx("path", {
|
|
164
|
+
d: "M3 21v-3l9-9"
|
|
165
|
+
}),
|
|
166
|
+
/*#__PURE__*/ jsx("path", {
|
|
167
|
+
d: "m15 6 3.4-3.4a2.1 2.1 0 1 1 3 3L18 9"
|
|
168
|
+
}),
|
|
169
|
+
/*#__PURE__*/ jsx("path", {
|
|
170
|
+
d: "m9 12 6 6"
|
|
171
|
+
}),
|
|
172
|
+
/*#__PURE__*/ jsx("path", {
|
|
173
|
+
d: "m12 9 3-3 3 3-3 3"
|
|
174
|
+
})
|
|
175
|
+
]
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
function SeparatorMarkIcon(props) {
|
|
179
|
+
return /*#__PURE__*/ jsx("svg", {
|
|
180
|
+
viewBox: "0 0 16 4",
|
|
181
|
+
fill: "none",
|
|
182
|
+
"aria-hidden": "true",
|
|
183
|
+
focusable: "false",
|
|
184
|
+
...props,
|
|
185
|
+
children: /*#__PURE__*/ jsx("path", {
|
|
186
|
+
d: "M1 2h14",
|
|
187
|
+
stroke: "currentColor",
|
|
188
|
+
strokeWidth: "1.6",
|
|
189
|
+
strokeLinecap: "round"
|
|
190
|
+
})
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
function ScrubCursorIcon(props) {
|
|
194
|
+
return /*#__PURE__*/ jsx("svg", {
|
|
195
|
+
viewBox: "0 0 25 14",
|
|
196
|
+
fill: "black",
|
|
197
|
+
stroke: "white",
|
|
198
|
+
"aria-hidden": "true",
|
|
199
|
+
focusable: "false",
|
|
200
|
+
...props,
|
|
201
|
+
children: /*#__PURE__*/ jsx("path", {
|
|
202
|
+
d: "M19.5 5.5H6.5V2L1 7l5.5 5v-3.5h13V12L25 7l-5.5-5z"
|
|
203
|
+
})
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
function PopupArrowIcon({ fillClassName, outerStrokeClassName, innerStrokeClassName, ...props }) {
|
|
207
|
+
return /*#__PURE__*/ jsxs("svg", {
|
|
208
|
+
viewBox: "0 0 20 10",
|
|
209
|
+
fill: "none",
|
|
210
|
+
"aria-hidden": "true",
|
|
211
|
+
focusable: "false",
|
|
212
|
+
...props,
|
|
213
|
+
children: [
|
|
214
|
+
/*#__PURE__*/ jsx("path", {
|
|
215
|
+
d: "M9.66437 2.60207L4.80758 6.97318C4.07308 7.63423 3.11989 8 2.13172 8H0V10H20V8H18.5349C17.5468 8 16.5936 7.63423 15.8591 6.97318L11.0023 2.60207C10.622 2.2598 10.0447 2.25979 9.66437 2.60207Z",
|
|
216
|
+
className: fillClassName
|
|
217
|
+
}),
|
|
218
|
+
/*#__PURE__*/ jsx("path", {
|
|
219
|
+
d: "M8.99542 1.85876C9.75604 1.17425 10.9106 1.17422 11.6713 1.85878L16.5281 6.22989C17.0789 6.72568 17.7938 7.00001 18.5349 7.00001L15.89 7L11.0023 2.60207C10.622 2.2598 10.0447 2.2598 9.66436 2.60207L4.77734 7L2.13171 7.00001C2.87284 7.00001 3.58774 6.72568 4.13861 6.22989L8.99542 1.85876Z",
|
|
220
|
+
className: outerStrokeClassName
|
|
221
|
+
}),
|
|
222
|
+
/*#__PURE__*/ jsx("path", {
|
|
223
|
+
d: "M10.3333 3.34539L5.47654 7.71648C4.55842 8.54279 3.36693 9 2.13172 9H0V8H2.13172C3.11989 8 4.07308 7.63423 4.80758 6.97318L9.66437 2.60207C10.0447 2.25979 10.622 2.2598 11.0023 2.60207L15.8591 6.97318C16.5936 7.63423 17.5468 8 18.5349 8H20V9H18.5349C17.2998 9 16.1083 8.54278 15.1901 7.71648L10.3333 3.34539Z",
|
|
224
|
+
className: innerStrokeClassName
|
|
225
|
+
})
|
|
226
|
+
]
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
export { CalendarIcon, ChevronUpDownIcon, CloseIcon, CopyIcon, EyeClosedIcon, EyeIcon, FileIcon, FolderIcon, FolderOpenIcon, GripIcon, Icons_CheckIcon as CheckIcon, Icons_ChevronDownIcon as ChevronDownIcon, Icons_ChevronLeftIcon as ChevronLeftIcon, Icons_ChevronRightIcon as ChevronRightIcon, Icons_ChevronUpIcon as ChevronUpIcon, Icons_MinusIcon as MinusIcon, Icons_PlusIcon as PlusIcon, IndeterminateIcon, ListRestartIcon as RestartIcon, Maximize2Icon as MaximizeIcon, PauseIcon, PencilIcon, PipetteIcon, PlayIcon, PopupArrowIcon, RestoreIcon, RotateCcwIcon, RotateCwIcon, ScrubCursorIcon, SearchIcon, SeparatorMarkIcon, SquareCenterlineDashedHorizontalIcon as FlipHorizontalIcon, StarIcon as RatingStarIcon, Trash2Icon as TrashIcon, UploadIcon, ZoomInIcon, ZoomOutIcon };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CalendarIcon, CheckIcon, CloseIcon, CopyIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronUpDownIcon, EyeClosedIcon, EyeIcon, FileIcon, FlipHorizontalIcon, FolderIcon, FolderOpenIcon, GripIcon, IndeterminateIcon, RestartIcon, RestoreIcon, SearchIcon, MaximizeIcon, MinusIcon, PauseIcon, PencilIcon, PipetteIcon, PlayIcon, PlusIcon, PopupArrowIcon, RatingStarIcon, RotateCcwIcon, RotateCwIcon, ScrubCursorIcon, SeparatorMarkIcon, TrashIcon, UploadIcon, ZoomInIcon, ZoomOutIcon, } from './Icons.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
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, RestoreIcon, RotateCcwIcon, RotateCwIcon, ScrubCursorIcon, SearchIcon, SeparatorMarkIcon, TrashIcon, UploadIcon, ZoomInIcon, ZoomOutIcon } from "./Icons.js";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ReactNode, RefObject } from 'react';
|
|
2
|
+
type OverlayPortalProps = {
|
|
3
|
+
portalled?: boolean;
|
|
4
|
+
portalRef?: RefObject<HTMLElement | null>;
|
|
5
|
+
};
|
|
6
|
+
declare function OverlayPortalProvider({ children, ...value }: OverlayPortalProps & {
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
}): import("react").JSX.Element;
|
|
9
|
+
declare function OverlayPortal({ children }: {
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
}): import("react").JSX.Element;
|
|
12
|
+
export { OverlayPortal, OverlayPortalProvider };
|
|
13
|
+
export type { OverlayPortalProps };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { Portal } from "@ark-ui/react/portal";
|
|
4
|
+
import { createContext, useContext } from "react";
|
|
5
|
+
const OverlayPortalContext = /*#__PURE__*/ createContext({});
|
|
6
|
+
function OverlayPortalProvider({ children, ...value }) {
|
|
7
|
+
return /*#__PURE__*/ jsx(OverlayPortalContext.Provider, {
|
|
8
|
+
value: value,
|
|
9
|
+
children: 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: children
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
export { OverlayPortal, OverlayPortalProvider };
|
package/dist/locale.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { LocaleProvider, useLocaleContext } from '@ark-ui/react/locale';
|
package/dist/locale.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { LocaleProvider, useLocaleContext } from "@ark-ui/react/locale";
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
[data-moduix-theme='contrast'] {
|
|
2
|
+
--moduix-background: oklch(0.995 0.001 250);
|
|
3
|
+
--moduix-foreground: oklch(0.145 0.018 250);
|
|
4
|
+
--moduix-card: oklch(1 0 0);
|
|
5
|
+
--moduix-card-foreground: oklch(0.145 0.018 250);
|
|
6
|
+
--moduix-popover: oklch(1 0 0);
|
|
7
|
+
--moduix-popover-foreground: oklch(0.145 0.018 250);
|
|
8
|
+
--moduix-primary: oklch(0.46 0.2 255);
|
|
9
|
+
--moduix-primary-foreground: oklch(1 0 0);
|
|
10
|
+
--moduix-secondary: oklch(0.94 0.012 250);
|
|
11
|
+
--moduix-secondary-foreground: oklch(0.18 0.025 250);
|
|
12
|
+
--moduix-muted: oklch(0.93 0.01 250);
|
|
13
|
+
--moduix-muted-foreground: oklch(0.39 0.026 250);
|
|
14
|
+
--moduix-accent: oklch(0.9 0.04 245);
|
|
15
|
+
--moduix-accent-foreground: oklch(0.16 0.04 250);
|
|
16
|
+
--moduix-border: oklch(0.72 0.025 250);
|
|
17
|
+
--moduix-input: oklch(0.62 0.035 250);
|
|
18
|
+
--moduix-ring: oklch(0.5 0.19 255);
|
|
19
|
+
--moduix-overlay: oklch(0.09 0.018 250 / 0.38);
|
|
20
|
+
--moduix-overlay-foreground: oklch(0.09 0.018 250 / 0.12);
|
|
21
|
+
--moduix-sidebar: oklch(0.965 0.005 250);
|
|
22
|
+
--moduix-sidebar-foreground: oklch(0.145 0.018 250);
|
|
23
|
+
--moduix-sidebar-primary: oklch(0.46 0.2 255);
|
|
24
|
+
--moduix-sidebar-primary-foreground: oklch(1 0 0);
|
|
25
|
+
--moduix-sidebar-accent: oklch(0.9 0.04 245);
|
|
26
|
+
--moduix-sidebar-accent-foreground: oklch(0.16 0.04 250);
|
|
27
|
+
--moduix-sidebar-border: oklch(0.72 0.025 250);
|
|
28
|
+
--moduix-sidebar-ring: oklch(0.5 0.19 255);
|
|
29
|
+
--moduix-radius: 0.375rem;
|
|
30
|
+
--moduix-shadow-sm: 0 1px 2px rgb(15 23 42 / 0.1);
|
|
31
|
+
--moduix-shadow-md: 0 4px 10px rgb(15 23 42 / 0.14);
|
|
32
|
+
--moduix-shadow-lg: 0 16px 30px rgb(15 23 42 / 0.18);
|
|
33
|
+
|
|
34
|
+
&[data-moduix-color-scheme='dark'],
|
|
35
|
+
[data-moduix-color-scheme='dark'] {
|
|
36
|
+
color-scheme: dark;
|
|
37
|
+
--moduix-background: oklch(0.11 0.018 250);
|
|
38
|
+
--moduix-foreground: oklch(0.985 0.004 250);
|
|
39
|
+
--moduix-card: oklch(0.155 0.022 250);
|
|
40
|
+
--moduix-card-foreground: oklch(0.985 0.004 250);
|
|
41
|
+
--moduix-popover: oklch(0.155 0.022 250);
|
|
42
|
+
--moduix-popover-foreground: oklch(0.985 0.004 250);
|
|
43
|
+
--moduix-primary: oklch(0.76 0.13 255);
|
|
44
|
+
--moduix-primary-foreground: oklch(0.12 0.02 250);
|
|
45
|
+
--moduix-secondary: oklch(0.24 0.026 250);
|
|
46
|
+
--moduix-secondary-foreground: oklch(0.985 0.004 250);
|
|
47
|
+
--moduix-muted: oklch(0.225 0.024 250);
|
|
48
|
+
--moduix-muted-foreground: oklch(0.76 0.018 250);
|
|
49
|
+
--moduix-accent: oklch(0.3 0.06 250);
|
|
50
|
+
--moduix-accent-foreground: oklch(0.985 0.004 250);
|
|
51
|
+
--moduix-border: oklch(0.8 0.025 250 / 0.34);
|
|
52
|
+
--moduix-input: oklch(0.82 0.025 250 / 0.42);
|
|
53
|
+
--moduix-ring: oklch(0.74 0.13 255);
|
|
54
|
+
--moduix-overlay: oklch(0.04 0.014 250 / 0.84);
|
|
55
|
+
--moduix-overlay-foreground: oklch(0.985 0.004 250 / 0.12);
|
|
56
|
+
--moduix-sidebar: oklch(0.13 0.02 250);
|
|
57
|
+
--moduix-sidebar-foreground: oklch(0.985 0.004 250);
|
|
58
|
+
--moduix-sidebar-primary: oklch(0.76 0.13 255);
|
|
59
|
+
--moduix-sidebar-primary-foreground: oklch(0.12 0.02 250);
|
|
60
|
+
--moduix-sidebar-accent: oklch(0.3 0.06 250);
|
|
61
|
+
--moduix-sidebar-accent-foreground: oklch(0.985 0.004 250);
|
|
62
|
+
--moduix-sidebar-border: oklch(0.8 0.025 250 / 0.34);
|
|
63
|
+
--moduix-sidebar-ring: oklch(0.74 0.13 255);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
[data-moduix-theme='dense'] {
|
|
2
|
+
--moduix-background: oklch(0.985 0.004 255);
|
|
3
|
+
--moduix-foreground: oklch(0.185 0.014 255);
|
|
4
|
+
--moduix-card: oklch(0.998 0.002 255);
|
|
5
|
+
--moduix-card-foreground: oklch(0.185 0.014 255);
|
|
6
|
+
--moduix-popover: oklch(0.998 0.002 255);
|
|
7
|
+
--moduix-popover-foreground: oklch(0.185 0.014 255);
|
|
8
|
+
--moduix-primary: oklch(0.48 0.16 255);
|
|
9
|
+
--moduix-primary-foreground: oklch(0.99 0.002 255);
|
|
10
|
+
--moduix-secondary: oklch(0.958 0.009 255);
|
|
11
|
+
--moduix-secondary-foreground: oklch(0.24 0.02 255);
|
|
12
|
+
--moduix-muted: oklch(0.952 0.008 255);
|
|
13
|
+
--moduix-muted-foreground: oklch(0.47 0.02 255);
|
|
14
|
+
--moduix-accent: oklch(0.925 0.02 255);
|
|
15
|
+
--moduix-accent-foreground: oklch(0.22 0.025 255);
|
|
16
|
+
--moduix-border: oklch(0.88 0.015 255);
|
|
17
|
+
--moduix-input: oklch(0.84 0.018 255);
|
|
18
|
+
--moduix-ring: oklch(0.56 0.14 255);
|
|
19
|
+
--moduix-overlay: oklch(0.16 0.02 255 / 0.24);
|
|
20
|
+
--moduix-overlay-foreground: oklch(0.16 0.02 255 / 0.08);
|
|
21
|
+
--moduix-sidebar: oklch(0.972 0.007 255);
|
|
22
|
+
--moduix-sidebar-foreground: oklch(0.185 0.014 255);
|
|
23
|
+
--moduix-sidebar-primary: oklch(0.48 0.16 255);
|
|
24
|
+
--moduix-sidebar-primary-foreground: oklch(0.99 0.002 255);
|
|
25
|
+
--moduix-sidebar-accent: oklch(0.925 0.02 255);
|
|
26
|
+
--moduix-sidebar-accent-foreground: oklch(0.22 0.025 255);
|
|
27
|
+
--moduix-sidebar-border: oklch(0.88 0.015 255);
|
|
28
|
+
--moduix-sidebar-ring: oklch(0.56 0.14 255);
|
|
29
|
+
--moduix-radius: 0.45rem;
|
|
30
|
+
--moduix-spacing-1: 3px;
|
|
31
|
+
--moduix-spacing-2: 6px;
|
|
32
|
+
--moduix-spacing-3: 10px;
|
|
33
|
+
--moduix-spacing-4: 14px;
|
|
34
|
+
--moduix-spacing-5: 18px;
|
|
35
|
+
--moduix-spacing-6: 22px;
|
|
36
|
+
--moduix-spacing-8: 28px;
|
|
37
|
+
--moduix-spacing-10: 36px;
|
|
38
|
+
--moduix-size-xs: 22px;
|
|
39
|
+
--moduix-size-sm: 30px;
|
|
40
|
+
--moduix-size-md: 34px;
|
|
41
|
+
--moduix-size-lg: 38px;
|
|
42
|
+
--moduix-size-xl: 44px;
|
|
43
|
+
--moduix-shadow-sm: 0 1px 2px rgb(15 23 42 / 0.08);
|
|
44
|
+
--moduix-shadow-md: 0 3px 8px rgb(15 23 42 / 0.1);
|
|
45
|
+
--moduix-shadow-lg: 0 12px 24px rgb(15 23 42 / 0.12);
|
|
46
|
+
|
|
47
|
+
&[data-moduix-color-scheme='dark'],
|
|
48
|
+
[data-moduix-color-scheme='dark'] {
|
|
49
|
+
color-scheme: dark;
|
|
50
|
+
--moduix-background: oklch(0.16 0.014 255);
|
|
51
|
+
--moduix-foreground: oklch(0.97 0.003 255);
|
|
52
|
+
--moduix-card: oklch(0.205 0.016 255);
|
|
53
|
+
--moduix-card-foreground: oklch(0.97 0.003 255);
|
|
54
|
+
--moduix-popover: oklch(0.205 0.016 255);
|
|
55
|
+
--moduix-popover-foreground: oklch(0.97 0.003 255);
|
|
56
|
+
--moduix-primary: oklch(0.76 0.13 255);
|
|
57
|
+
--moduix-primary-foreground: oklch(0.17 0.018 255);
|
|
58
|
+
--moduix-secondary: oklch(0.255 0.018 255);
|
|
59
|
+
--moduix-secondary-foreground: oklch(0.97 0.003 255);
|
|
60
|
+
--moduix-muted: oklch(0.25 0.016 255);
|
|
61
|
+
--moduix-muted-foreground: oklch(0.71 0.018 255);
|
|
62
|
+
--moduix-accent: oklch(0.31 0.03 255);
|
|
63
|
+
--moduix-accent-foreground: oklch(0.97 0.003 255);
|
|
64
|
+
--moduix-border: oklch(0.72 0.02 255 / 0.25);
|
|
65
|
+
--moduix-input: oklch(0.76 0.02 255 / 0.32);
|
|
66
|
+
--moduix-ring: oklch(0.7 0.12 255);
|
|
67
|
+
--moduix-overlay: oklch(0.1 0.02 255 / 0.78);
|
|
68
|
+
--moduix-overlay-foreground: oklch(0.97 0.003 255 / 0.09);
|
|
69
|
+
--moduix-sidebar: oklch(0.19 0.016 255);
|
|
70
|
+
--moduix-sidebar-foreground: oklch(0.97 0.003 255);
|
|
71
|
+
--moduix-sidebar-primary: oklch(0.76 0.13 255);
|
|
72
|
+
--moduix-sidebar-primary-foreground: oklch(0.17 0.018 255);
|
|
73
|
+
--moduix-sidebar-accent: oklch(0.31 0.03 255);
|
|
74
|
+
--moduix-sidebar-accent-foreground: oklch(0.97 0.003 255);
|
|
75
|
+
--moduix-sidebar-border: oklch(0.72 0.02 255 / 0.25);
|
|
76
|
+
--moduix-sidebar-ring: oklch(0.7 0.12 255);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
[data-moduix-theme='soft'] {
|
|
2
|
+
--moduix-background: oklch(0.985 0.012 320);
|
|
3
|
+
--moduix-foreground: oklch(0.225 0.024 315);
|
|
4
|
+
--moduix-card: oklch(0.998 0.004 320);
|
|
5
|
+
--moduix-card-foreground: oklch(0.225 0.024 315);
|
|
6
|
+
--moduix-popover: oklch(0.998 0.004 320);
|
|
7
|
+
--moduix-popover-foreground: oklch(0.225 0.024 315);
|
|
8
|
+
--moduix-primary: oklch(0.54 0.18 305);
|
|
9
|
+
--moduix-primary-foreground: oklch(0.99 0.004 320);
|
|
10
|
+
--moduix-secondary: oklch(0.958 0.018 320);
|
|
11
|
+
--moduix-secondary-foreground: oklch(0.3 0.04 310);
|
|
12
|
+
--moduix-muted: oklch(0.95 0.016 320);
|
|
13
|
+
--moduix-muted-foreground: oklch(0.5 0.035 315);
|
|
14
|
+
--moduix-accent: oklch(0.92 0.04 315);
|
|
15
|
+
--moduix-accent-foreground: oklch(0.29 0.05 305);
|
|
16
|
+
--moduix-border: oklch(0.88 0.025 320);
|
|
17
|
+
--moduix-input: oklch(0.84 0.03 320);
|
|
18
|
+
--moduix-ring: oklch(0.61 0.15 305);
|
|
19
|
+
--moduix-overlay: oklch(0.22 0.035 310 / 0.22);
|
|
20
|
+
--moduix-overlay-foreground: oklch(0.22 0.035 310 / 0.08);
|
|
21
|
+
--moduix-sidebar: oklch(0.975 0.014 320);
|
|
22
|
+
--moduix-sidebar-foreground: oklch(0.225 0.024 315);
|
|
23
|
+
--moduix-sidebar-primary: oklch(0.54 0.18 305);
|
|
24
|
+
--moduix-sidebar-primary-foreground: oklch(0.99 0.004 320);
|
|
25
|
+
--moduix-sidebar-accent: oklch(0.92 0.04 315);
|
|
26
|
+
--moduix-sidebar-accent-foreground: oklch(0.29 0.05 305);
|
|
27
|
+
--moduix-sidebar-border: oklch(0.88 0.025 320);
|
|
28
|
+
--moduix-sidebar-ring: oklch(0.61 0.15 305);
|
|
29
|
+
--moduix-radius: 1rem;
|
|
30
|
+
--moduix-spacing-2: 9px;
|
|
31
|
+
--moduix-spacing-3: 14px;
|
|
32
|
+
--moduix-spacing-4: 18px;
|
|
33
|
+
--moduix-spacing-5: 22px;
|
|
34
|
+
--moduix-spacing-6: 28px;
|
|
35
|
+
--moduix-spacing-8: 36px;
|
|
36
|
+
--moduix-spacing-10: 44px;
|
|
37
|
+
--moduix-size-xs: 26px;
|
|
38
|
+
--moduix-size-sm: 34px;
|
|
39
|
+
--moduix-size-md: 40px;
|
|
40
|
+
--moduix-size-lg: 44px;
|
|
41
|
+
--moduix-size-xl: 52px;
|
|
42
|
+
--moduix-shadow-sm: 0 2px 6px rgb(97 35 107 / 0.08);
|
|
43
|
+
--moduix-shadow-md: 0 8px 18px rgb(97 35 107 / 0.12);
|
|
44
|
+
--moduix-shadow-lg: 0 18px 38px rgb(97 35 107 / 0.16);
|
|
45
|
+
|
|
46
|
+
&[data-moduix-color-scheme='dark'],
|
|
47
|
+
[data-moduix-color-scheme='dark'] {
|
|
48
|
+
color-scheme: dark;
|
|
49
|
+
--moduix-background: oklch(0.17 0.018 315);
|
|
50
|
+
--moduix-foreground: oklch(0.972 0.006 320);
|
|
51
|
+
--moduix-card: oklch(0.22 0.022 315);
|
|
52
|
+
--moduix-card-foreground: oklch(0.972 0.006 320);
|
|
53
|
+
--moduix-popover: oklch(0.22 0.022 315);
|
|
54
|
+
--moduix-popover-foreground: oklch(0.972 0.006 320);
|
|
55
|
+
--moduix-primary: oklch(0.78 0.13 305);
|
|
56
|
+
--moduix-primary-foreground: oklch(0.23 0.026 315);
|
|
57
|
+
--moduix-secondary: oklch(0.285 0.03 315);
|
|
58
|
+
--moduix-secondary-foreground: oklch(0.972 0.006 320);
|
|
59
|
+
--moduix-muted: oklch(0.275 0.026 315);
|
|
60
|
+
--moduix-muted-foreground: oklch(0.74 0.03 320);
|
|
61
|
+
--moduix-accent: oklch(0.34 0.06 310);
|
|
62
|
+
--moduix-accent-foreground: oklch(0.972 0.006 320);
|
|
63
|
+
--moduix-border: oklch(0.76 0.035 320 / 0.24);
|
|
64
|
+
--moduix-input: oklch(0.76 0.035 320 / 0.3);
|
|
65
|
+
--moduix-ring: oklch(0.74 0.11 305);
|
|
66
|
+
--moduix-overlay: oklch(0.1 0.02 315 / 0.8);
|
|
67
|
+
--moduix-overlay-foreground: oklch(0.972 0.006 320 / 0.1);
|
|
68
|
+
--moduix-sidebar: oklch(0.2 0.022 315);
|
|
69
|
+
--moduix-sidebar-foreground: oklch(0.972 0.006 320);
|
|
70
|
+
--moduix-sidebar-primary: oklch(0.78 0.13 305);
|
|
71
|
+
--moduix-sidebar-primary-foreground: oklch(0.23 0.026 315);
|
|
72
|
+
--moduix-sidebar-accent: oklch(0.34 0.06 310);
|
|
73
|
+
--moduix-sidebar-accent-foreground: oklch(0.972 0.006 320);
|
|
74
|
+
--moduix-sidebar-border: oklch(0.76 0.035 320 / 0.24);
|
|
75
|
+
--moduix-sidebar-ring: oklch(0.74 0.11 305);
|
|
76
|
+
}
|
|
77
|
+
}
|