@moduix/react 1.1.0 → 2.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/README.md +16 -16
- package/dist/components/accordion/Accordion.css +21 -14
- package/dist/components/accordion/Accordion.d.ts +3 -2
- package/dist/components/accordion/Accordion.js +17 -5
- package/dist/components/accordion/Accordion.module.js +10 -9
- package/dist/components/accordion/index.d.ts +2 -2
- package/dist/components/alert/Alert.css +24 -10
- package/dist/components/alert/Alert.d.ts +5 -3
- package/dist/components/alert/Alert.js +17 -5
- package/dist/components/alert/Alert.module.js +6 -5
- package/dist/components/angle-slider/AngleSlider.css +8 -8
- package/dist/components/angle-slider/AngleSlider.d.ts +18 -2
- package/dist/components/angle-slider/AngleSlider.js +34 -18
- package/dist/components/angle-slider/AngleSlider.module.js +7 -7
- package/dist/components/angle-slider/index.d.ts +2 -2
- package/dist/components/aspect-ratio/AspectRatio.css +4 -2
- package/dist/components/aspect-ratio/AspectRatio.js +2 -2
- package/dist/components/aspect-ratio/AspectRatio.module.js +1 -1
- package/dist/components/avatar/Avatar.css +3 -3
- package/dist/components/avatar/Avatar.d.ts +6 -3
- package/dist/components/avatar/Avatar.js +12 -5
- package/dist/components/avatar/Avatar.module.js +3 -3
- package/dist/components/avatar/index.d.ts +2 -2
- package/dist/components/badge/Badge.css +46 -3
- package/dist/components/badge/Badge.d.ts +2 -2
- package/dist/components/badge/Badge.js +1 -1
- package/dist/components/badge/Badge.module.js +2 -2
- package/dist/components/bleed/Bleed.css +1 -1
- package/dist/components/bleed/Bleed.d.ts +6 -4
- package/dist/components/bleed/Bleed.js +3 -3
- package/dist/components/bleed/Bleed.module.js +1 -1
- package/dist/components/breadcrumbs/Breadcrumbs.css +17 -11
- package/dist/components/breadcrumbs/Breadcrumbs.d.ts +18 -0
- package/dist/components/breadcrumbs/Breadcrumbs.js +18 -4
- package/dist/components/breadcrumbs/Breadcrumbs.module.js +8 -7
- package/dist/components/breadcrumbs/index.d.ts +2 -0
- package/dist/components/button/Button.css +22 -2
- package/dist/components/button/Button.d.ts +6 -0
- package/dist/components/button/Button.js +12 -7
- package/dist/components/button/Button.module.js +1 -1
- package/dist/components/card/Card.css +29 -13
- package/dist/components/card/Card.d.ts +1 -0
- package/dist/components/card/Card.js +12 -1
- package/dist/components/card/Card.module.js +9 -8
- package/dist/components/carousel/Carousel.css +20 -18
- package/dist/components/carousel/Carousel.d.ts +4 -0
- package/dist/components/carousel/Carousel.js +15 -2
- package/dist/components/carousel/Carousel.module.js +12 -12
- package/dist/components/checkbox/Checkbox.css +11 -11
- package/dist/components/checkbox/Checkbox.d.ts +2 -3
- package/dist/components/checkbox/Checkbox.js +25 -22
- package/dist/components/checkbox/Checkbox.module.js +6 -6
- package/dist/components/checkbox/index.d.ts +2 -2
- package/dist/components/clipboard/Clipboard.css +8 -8
- package/dist/components/clipboard/Clipboard.d.ts +2 -0
- package/dist/components/clipboard/Clipboard.js +15 -4
- package/dist/components/clipboard/Clipboard.module.js +8 -8
- package/dist/components/close-button/CloseButton.css +1 -1
- package/dist/components/close-button/CloseButton.d.ts +12 -2
- package/dist/components/close-button/CloseButton.js +9 -9
- package/dist/components/close-button/CloseButton.module.js +1 -1
- package/dist/components/collapsible/Collapsible.css +17 -10
- package/dist/components/collapsible/Collapsible.d.ts +3 -2
- package/dist/components/collapsible/Collapsible.js +18 -6
- package/dist/components/collapsible/Collapsible.module.js +7 -6
- package/dist/components/collapsible/index.d.ts +2 -2
- package/dist/components/color-picker/ColorPicker.css +63 -34
- package/dist/components/color-picker/ColorPicker.d.ts +3 -3
- package/dist/components/color-picker/ColorPicker.js +78 -27
- package/dist/components/color-picker/ColorPicker.module.js +28 -27
- package/dist/components/color-picker/index.d.ts +2 -2
- package/dist/components/combobox/Combobox.css +55 -26
- package/dist/components/combobox/Combobox.d.ts +9 -2
- package/dist/components/combobox/Combobox.js +34 -8
- package/dist/components/combobox/Combobox.module.js +17 -17
- package/dist/components/combobox/index.d.ts +2 -2
- package/dist/components/command-palette/CommandPalette.css +80 -114
- package/dist/components/command-palette/CommandPalette.d.ts +13 -3
- package/dist/components/command-palette/CommandPalette.js +54 -43
- package/dist/components/command-palette/CommandPalette.module.js +35 -37
- package/dist/components/container/Container.css +1 -1
- package/dist/components/container/Container.js +1 -1
- package/dist/components/container/Container.module.js +1 -1
- package/dist/components/date-input/DateInput.css +9 -7
- package/dist/components/date-input/DateInput.d.ts +12 -7
- package/dist/components/date-input/DateInput.js +35 -14
- package/dist/components/date-input/DateInput.module.js +6 -6
- package/dist/components/date-input/index.d.ts +2 -2
- package/dist/components/date-picker/DatePicker.css +68 -40
- package/dist/components/date-picker/DatePicker.d.ts +30 -2
- package/dist/components/date-picker/DatePicker.js +94 -9
- package/dist/components/date-picker/DatePicker.module.js +23 -23
- package/dist/components/date-picker/index.d.ts +2 -2
- package/dist/components/dialog/Dialog.css +31 -27
- package/dist/components/dialog/Dialog.d.ts +2 -2
- package/dist/components/dialog/Dialog.js +3 -3
- package/dist/components/dialog/Dialog.module.js +15 -15
- package/dist/components/dialog/index.d.ts +2 -2
- package/dist/components/drawer/Drawer.css +40 -40
- package/dist/components/drawer/Drawer.d.ts +2 -2
- package/dist/components/drawer/Drawer.js +3 -3
- package/dist/components/drawer/Drawer.module.js +26 -26
- package/dist/components/drawer/index.d.ts +2 -2
- package/dist/components/editable/Editable.css +10 -10
- package/dist/components/editable/Editable.d.ts +9 -2
- package/dist/components/editable/Editable.js +14 -5
- package/dist/components/editable/Editable.module.js +7 -7
- package/dist/components/editable/index.d.ts +2 -2
- package/dist/components/empty/Empty.css +6 -6
- package/dist/components/empty/Empty.js +1 -1
- package/dist/components/empty/Empty.module.js +6 -6
- package/dist/components/field/Field.css +8 -12
- package/dist/components/field/Field.d.ts +3 -2
- package/dist/components/field/Field.js +6 -5
- package/dist/components/field/Field.module.js +8 -9
- package/dist/components/field/index.d.ts +2 -2
- package/dist/components/fieldset/Fieldset.css +6 -6
- package/dist/components/fieldset/Fieldset.d.ts +2 -2
- package/dist/components/fieldset/Fieldset.js +3 -3
- package/dist/components/fieldset/Fieldset.module.js +4 -4
- package/dist/components/fieldset/index.d.ts +2 -2
- package/dist/components/file-upload/FileUpload.css +97 -24
- package/dist/components/file-upload/FileUpload.d.ts +22 -5
- package/dist/components/file-upload/FileUpload.js +79 -21
- package/dist/components/file-upload/FileUpload.module.js +16 -13
- package/dist/components/file-upload/index.d.ts +2 -2
- package/dist/components/floating-panel/FloatingPanel.css +28 -24
- package/dist/components/floating-panel/FloatingPanel.d.ts +11 -3
- package/dist/components/floating-panel/FloatingPanel.js +15 -9
- package/dist/components/floating-panel/FloatingPanel.module.js +14 -14
- package/dist/components/heading/Heading.css +1 -1
- package/dist/components/heading/Heading.js +1 -1
- package/dist/components/heading/Heading.module.js +1 -1
- package/dist/components/highlight/Highlight.css +1 -1
- package/dist/components/highlight/Highlight.js +1 -1
- package/dist/components/highlight/Highlight.module.js +1 -1
- package/dist/components/hover-card/HoverCard.css +21 -17
- package/dist/components/hover-card/HoverCard.d.ts +3 -2
- package/dist/components/hover-card/HoverCard.js +5 -4
- package/dist/components/hover-card/HoverCard.module.js +7 -7
- package/dist/components/hover-card/index.d.ts +2 -2
- package/dist/components/image/Image.css +7 -0
- package/dist/components/image/Image.d.ts +12 -0
- package/dist/components/image/Image.js +28 -0
- package/dist/components/image/Image.module.js +5 -0
- package/dist/components/image/index.d.ts +2 -0
- package/dist/components/image-cropper/ImageCropper.css +6 -6
- package/dist/components/image-cropper/ImageCropper.d.ts +7 -2
- package/dist/components/image-cropper/ImageCropper.js +25 -3
- package/dist/components/image-cropper/ImageCropper.module.js +6 -6
- package/dist/components/image-cropper/index.d.ts +2 -2
- package/dist/components/input/Input.css +1 -1
- package/dist/components/input/Input.js +1 -1
- package/dist/components/input/Input.module.js +1 -1
- package/dist/components/input-group/InputGroup.css +6 -6
- package/dist/components/input-group/InputGroup.d.ts +3 -0
- package/dist/components/input-group/InputGroup.js +1 -1
- package/dist/components/input-group/InputGroup.module.js +5 -5
- package/dist/components/kbd/Kbd.css +2 -2
- package/dist/components/kbd/Kbd.js +1 -1
- package/dist/components/kbd/Kbd.module.js +2 -2
- package/dist/components/lightbox/Lightbox.css +30 -28
- package/dist/components/lightbox/Lightbox.d.ts +4 -2
- package/dist/components/lightbox/Lightbox.js +9 -7
- package/dist/components/lightbox/Lightbox.module.js +16 -16
- package/dist/components/lightbox/index.d.ts +2 -2
- package/dist/components/list/List.css +1 -1
- package/dist/components/list/List.js +1 -1
- package/dist/components/list/List.module.js +1 -1
- package/dist/components/listbox/Listbox.css +76 -17
- package/dist/components/listbox/Listbox.d.ts +14 -2
- package/dist/components/listbox/Listbox.js +41 -5
- package/dist/components/listbox/Listbox.module.js +17 -14
- package/dist/components/listbox/index.d.ts +2 -2
- package/dist/components/marquee/Marquee.css +10 -10
- package/dist/components/marquee/Marquee.d.ts +2 -1
- package/dist/components/marquee/Marquee.js +4 -3
- package/dist/components/marquee/Marquee.module.js +7 -7
- package/dist/components/marquee/index.d.ts +2 -2
- package/dist/components/menu/Menu.css +46 -40
- package/dist/components/menu/Menu.d.ts +3 -2
- package/dist/components/menu/Menu.js +6 -5
- package/dist/components/menu/Menu.module.js +27 -27
- package/dist/components/menu/index.d.ts +2 -2
- package/dist/components/native-select/NativeSelect.css +5 -5
- package/dist/components/native-select/NativeSelect.d.ts +6 -2
- package/dist/components/native-select/NativeSelect.js +5 -4
- package/dist/components/native-select/NativeSelect.module.js +3 -3
- package/dist/components/number-input/NumberInput.css +11 -17
- package/dist/components/number-input/NumberInput.d.ts +7 -2
- package/dist/components/number-input/NumberInput.js +17 -4
- package/dist/components/number-input/NumberInput.module.js +8 -8
- package/dist/components/number-input/index.d.ts +2 -2
- package/dist/components/pagination/Pagination.css +8 -8
- package/dist/components/pagination/Pagination.d.ts +4 -0
- package/dist/components/pagination/Pagination.js +13 -4
- package/dist/components/pagination/Pagination.module.js +6 -6
- package/dist/components/password-input/PasswordInput.css +7 -7
- package/dist/components/password-input/PasswordInput.d.ts +4 -0
- package/dist/components/password-input/PasswordInput.js +10 -2
- package/dist/components/password-input/PasswordInput.module.js +6 -6
- package/dist/components/pin-input/PinInput.css +5 -5
- package/dist/components/pin-input/PinInput.d.ts +6 -1
- package/dist/components/pin-input/PinInput.js +25 -16
- package/dist/components/pin-input/PinInput.module.js +5 -5
- package/dist/components/popover/Popover.css +33 -24
- package/dist/components/popover/Popover.js +1 -1
- package/dist/components/popover/Popover.module.js +14 -14
- package/dist/components/progress-circular/ProgressCircular.css +8 -8
- package/dist/components/progress-circular/ProgressCircular.d.ts +6 -0
- package/dist/components/progress-circular/ProgressCircular.js +14 -3
- package/dist/components/progress-circular/ProgressCircular.module.js +8 -8
- package/dist/components/progress-linear/ProgressLinear.css +8 -8
- package/dist/components/progress-linear/ProgressLinear.d.ts +3 -0
- package/dist/components/progress-linear/ProgressLinear.js +6 -3
- package/dist/components/progress-linear/ProgressLinear.module.js +8 -8
- package/dist/components/qr-code/QrCode.css +13 -12
- package/dist/components/qr-code/QrCode.d.ts +2 -2
- package/dist/components/qr-code/QrCode.js +3 -3
- package/dist/components/qr-code/QrCode.module.js +5 -5
- package/dist/components/qr-code/index.d.ts +2 -2
- package/dist/components/radio-group/RadioGroup.css +6 -6
- package/dist/components/radio-group/RadioGroup.d.ts +8 -4
- package/dist/components/radio-group/RadioGroup.js +22 -14
- package/dist/components/radio-group/RadioGroup.module.js +6 -6
- package/dist/components/radio-group/index.d.ts +2 -2
- package/dist/components/rating-group/RatingGroup.css +14 -14
- package/dist/components/rating-group/RatingGroup.d.ts +11 -4
- package/dist/components/rating-group/RatingGroup.js +29 -18
- package/dist/components/rating-group/RatingGroup.module.js +7 -7
- package/dist/components/rating-group/index.d.ts +2 -2
- package/dist/components/scroll-area/ScrollArea.css +14 -9
- package/dist/components/scroll-area/ScrollArea.d.ts +3 -0
- package/dist/components/scroll-area/ScrollArea.js +9 -6
- package/dist/components/scroll-area/ScrollArea.module.js +6 -6
- package/dist/components/segment-group/SegmentGroup.css +6 -6
- package/dist/components/segment-group/SegmentGroup.d.ts +13 -3
- package/dist/components/segment-group/SegmentGroup.js +23 -15
- package/dist/components/segment-group/SegmentGroup.module.js +6 -6
- package/dist/components/segment-group/index.d.ts +2 -2
- package/dist/components/select/Select.css +49 -40
- package/dist/components/select/Select.d.ts +18 -4
- package/dist/components/select/Select.js +65 -20
- package/dist/components/select/Select.module.js +21 -21
- package/dist/components/separator/Separator.css +1 -1
- package/dist/components/separator/Separator.js +1 -1
- package/dist/components/separator/Separator.module.js +1 -1
- package/dist/components/sidebar/Sidebar.css +169 -32
- package/dist/components/sidebar/Sidebar.d.ts +26 -0
- package/dist/components/sidebar/Sidebar.js +105 -13
- package/dist/components/sidebar/Sidebar.module.js +23 -17
- package/dist/components/signature-pad/SignaturePad.css +18 -47
- package/dist/components/signature-pad/SignaturePad.d.ts +14 -6
- package/dist/components/signature-pad/SignaturePad.js +56 -17
- package/dist/components/signature-pad/SignaturePad.module.js +6 -6
- package/dist/components/signature-pad/index.d.ts +2 -2
- package/dist/components/simple-grid/SimpleGrid.js +3 -3
- package/dist/components/skeleton/Skeleton.css +1 -1
- package/dist/components/skeleton/Skeleton.js +1 -1
- package/dist/components/skeleton/Skeleton.module.js +1 -1
- package/dist/components/slider/Slider.css +16 -14
- package/dist/components/slider/Slider.d.ts +12 -3
- package/dist/components/slider/Slider.js +24 -15
- package/dist/components/slider/Slider.module.js +10 -10
- package/dist/components/slider/index.d.ts +2 -2
- package/dist/components/spinner/Spinner.css +9 -9
- package/dist/components/spinner/Spinner.js +2 -2
- package/dist/components/spinner/Spinner.module.js +3 -3
- package/dist/components/split-button/SplitButton.css +9 -9
- package/dist/components/split-button/SplitButton.d.ts +1 -1
- package/dist/components/split-button/SplitButton.js +3 -4
- package/dist/components/split-button/SplitButton.module.js +3 -3
- package/dist/components/splitter/Splitter.css +27 -22
- package/dist/components/splitter/Splitter.d.ts +2 -2
- package/dist/components/splitter/Splitter.js +12 -11
- package/dist/components/splitter/Splitter.module.js +4 -4
- package/dist/components/splitter/index.d.ts +2 -2
- package/dist/components/stack/Stack.css +2 -2
- package/dist/components/stack/Stack.d.ts +1 -3
- package/dist/components/stack/Stack.js +4 -6
- package/dist/components/stack/Stack.module.js +1 -1
- package/dist/components/steps/Steps.css +14 -14
- package/dist/components/steps/Steps.d.ts +2 -1
- package/dist/components/steps/Steps.js +5 -4
- package/dist/components/steps/Steps.module.js +11 -11
- package/dist/components/swap/Swap.css +45 -0
- package/dist/components/swap/Swap.d.ts +11 -0
- package/dist/components/swap/Swap.js +39 -0
- package/dist/components/swap/Swap.module.js +11 -0
- package/dist/components/swap/index.d.ts +2 -0
- package/dist/components/switch/Switch.css +11 -11
- package/dist/components/switch/Switch.d.ts +4 -4
- package/dist/components/switch/Switch.js +19 -16
- package/dist/components/switch/Switch.module.js +4 -4
- package/dist/components/switch/index.d.ts +2 -2
- package/dist/components/table/Table.css +18 -18
- package/dist/components/table/Table.js +3 -2
- package/dist/components/table/Table.module.js +11 -12
- package/dist/components/tabs/Tabs.css +12 -10
- package/dist/components/tabs/Tabs.d.ts +3 -2
- package/dist/components/tabs/Tabs.js +5 -4
- package/dist/components/tabs/Tabs.module.js +5 -5
- package/dist/components/tabs/index.d.ts +2 -2
- package/dist/components/tag/Tag.css +16 -46
- package/dist/components/tag/Tag.js +7 -20
- package/dist/components/tag/Tag.module.js +5 -5
- package/dist/components/tags-input/TagsInput.css +13 -50
- package/dist/components/tags-input/TagsInput.d.ts +7 -4
- package/dist/components/tags-input/TagsInput.js +33 -21
- package/dist/components/tags-input/TagsInput.module.js +10 -10
- package/dist/components/tags-input/index.d.ts +2 -2
- package/dist/components/text/Text.css +1 -1
- package/dist/components/text/Text.d.ts +2 -2
- package/dist/components/text/Text.js +1 -1
- package/dist/components/text/Text.module.js +1 -1
- package/dist/components/textarea/Textarea.css +7 -7
- package/dist/components/textarea/Textarea.js +1 -1
- package/dist/components/textarea/Textarea.module.js +1 -1
- package/dist/components/timer/Timer.css +6 -6
- package/dist/components/timer/Timer.d.ts +14 -2
- package/dist/components/timer/Timer.js +13 -5
- package/dist/components/timer/Timer.module.js +6 -6
- package/dist/components/timer/index.d.ts +2 -2
- package/dist/components/toast/Toast.css +8 -8
- package/dist/components/toast/Toast.d.ts +3 -1
- package/dist/components/toast/Toast.js +11 -2
- package/dist/components/toast/Toast.module.js +6 -6
- package/dist/components/toggle/Toggle.css +5 -5
- package/dist/components/toggle/Toggle.d.ts +3 -2
- package/dist/components/toggle/Toggle.js +5 -4
- package/dist/components/toggle/Toggle.module.js +2 -2
- package/dist/components/toggle/index.d.ts +2 -2
- package/dist/components/toggle-group/ToggleGroup.css +3 -3
- package/dist/components/toggle-group/ToggleGroup.d.ts +3 -2
- package/dist/components/toggle-group/ToggleGroup.js +4 -3
- package/dist/components/toggle-group/ToggleGroup.module.js +2 -2
- package/dist/components/toggle-group/index.d.ts +2 -2
- package/dist/components/tooltip/Tooltip.css +21 -17
- package/dist/components/tooltip/Tooltip.d.ts +3 -2
- package/dist/components/tooltip/Tooltip.js +10 -3
- package/dist/components/tooltip/Tooltip.module.js +7 -7
- package/dist/components/tooltip/index.d.ts +2 -2
- package/dist/components/tour/Tour.css +42 -37
- package/dist/components/tour/Tour.d.ts +6 -0
- package/dist/components/tour/Tour.js +8 -1
- package/dist/components/tour/Tour.module.js +17 -17
- package/dist/components/tree-view/TreeView.css +22 -22
- package/dist/components/tree-view/TreeView.d.ts +2 -2
- package/dist/components/tree-view/TreeView.js +4 -4
- package/dist/components/tree-view/TreeView.module.js +20 -20
- package/dist/components/tree-view/index.d.ts +2 -2
- package/dist/index.d.ts +40 -39
- package/dist/index.js +40 -39
- package/dist/lib/moduix/icons/ui/Icons.d.ts +1 -45
- package/dist/lib/moduix/icons/ui/Icons.js +36 -263
- package/dist/lib/moduix/icons/ui/index.d.ts +2 -2
- package/dist/lib/moduix/overlayPortal.js +1 -1
- package/package.json +4 -3
|
@@ -1,43 +1,41 @@
|
|
|
1
1
|
import './CommandPalette.css';
|
|
2
2
|
//#region src/components/command-palette/CommandPalette.module.css
|
|
3
3
|
var CommandPalette_module_default = {
|
|
4
|
-
"backdrop": "
|
|
5
|
-
"body": "
|
|
6
|
-
"clearTrigger": "
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"command-palette-
|
|
11
|
-
"command-palette-
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"title": "v74_Gq_title",
|
|
40
|
-
"trigger": "v74_Gq_trigger"
|
|
4
|
+
"backdrop": "_4OfG0a_backdrop",
|
|
5
|
+
"body": "_4OfG0a_body",
|
|
6
|
+
"clearTrigger": "_4OfG0a_clearTrigger",
|
|
7
|
+
"combobox": "_4OfG0a_combobox",
|
|
8
|
+
"command-palette-backdrop-in": "_4OfG0a_command-palette-backdrop-in",
|
|
9
|
+
"command-palette-backdrop-out": "_4OfG0a_command-palette-backdrop-out",
|
|
10
|
+
"command-palette-content-in": "_4OfG0a_command-palette-content-in",
|
|
11
|
+
"command-palette-content-out": "_4OfG0a_command-palette-content-out",
|
|
12
|
+
"content": "_4OfG0a_content",
|
|
13
|
+
"control": "_4OfG0a_control",
|
|
14
|
+
"description": "_4OfG0a_description",
|
|
15
|
+
"empty": "_4OfG0a_empty",
|
|
16
|
+
"footer": "_4OfG0a_footer",
|
|
17
|
+
"header": "_4OfG0a_header",
|
|
18
|
+
"iconSvg": "_4OfG0a_iconSvg",
|
|
19
|
+
"input": "_4OfG0a_input",
|
|
20
|
+
"item": "_4OfG0a_item",
|
|
21
|
+
"itemDescription": "_4OfG0a_itemDescription",
|
|
22
|
+
"itemGroup": "_4OfG0a_itemGroup",
|
|
23
|
+
"itemGroupLabel": "_4OfG0a_itemGroupLabel",
|
|
24
|
+
"itemIcon": "_4OfG0a_itemIcon",
|
|
25
|
+
"itemIndicator": "_4OfG0a_itemIndicator",
|
|
26
|
+
"itemLabel": "_4OfG0a_itemLabel",
|
|
27
|
+
"itemMeta": "_4OfG0a_itemMeta",
|
|
28
|
+
"itemText": "_4OfG0a_itemText",
|
|
29
|
+
"kbd": "_4OfG0a_kbd",
|
|
30
|
+
"list": "_4OfG0a_list",
|
|
31
|
+
"positioner": "_4OfG0a_positioner",
|
|
32
|
+
"scrollArea": "_4OfG0a_scrollArea",
|
|
33
|
+
"scrollbar": "_4OfG0a_scrollbar",
|
|
34
|
+
"scrollContent": "_4OfG0a_scrollContent",
|
|
35
|
+
"scrollViewport": "_4OfG0a_scrollViewport",
|
|
36
|
+
"separator": "_4OfG0a_separator",
|
|
37
|
+
"title": "_4OfG0a_title",
|
|
38
|
+
"trigger": "_4OfG0a_trigger"
|
|
41
39
|
};
|
|
42
40
|
//#endregion
|
|
43
41
|
export { CommandPalette_module_default as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { normalizeClassName } from "../../lib/moduix/normalizeClassName.js";
|
|
2
2
|
import Container_module_default from "./Container.module.js";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
3
|
import { ark } from "@ark-ui/react/factory";
|
|
5
4
|
import { clsx } from "clsx";
|
|
6
5
|
import { forwardRef } from "react";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/container/Container.tsx
|
|
8
8
|
const ContainerRoot = forwardRef(function ContainerRoot({ size = "lg", gutter = "md", className, ...props }, ref) {
|
|
9
9
|
return /* @__PURE__ */ jsx(ark.div, {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@layer ui.components {
|
|
2
|
-
.
|
|
2
|
+
.X3ODua_root {
|
|
3
3
|
align-items: flex-start;
|
|
4
4
|
gap: var(--date-input-gap, var(--spacing-1));
|
|
5
|
-
width: var(--date-input-width,
|
|
5
|
+
width: var(--date-input-width, 100%);
|
|
6
6
|
max-width: var(--date-input-max-width, none);
|
|
7
7
|
flex-direction: column;
|
|
8
8
|
display: inline-flex;
|
|
@@ -12,14 +12,16 @@
|
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
.
|
|
15
|
+
.X3ODua_label {
|
|
16
16
|
color: var(--date-input-label-color, var(--color-foreground));
|
|
17
17
|
font-size: var(--date-input-label-font-size, var(--text-sm));
|
|
18
18
|
font-weight: var(--date-input-label-font-weight, var(--weight-medium));
|
|
19
19
|
line-height: var(--date-input-label-line-height, var(--line-height-text-sm));
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.
|
|
22
|
+
.X3ODua_control {
|
|
23
|
+
box-sizing: border-box;
|
|
24
|
+
width: var(--date-input-control-width, 100%);
|
|
23
25
|
min-height: var(--date-input-control-height, var(--size-lg));
|
|
24
26
|
border: var(--date-input-border-width, var(--border-width-sm))
|
|
25
27
|
var(--date-input-border-style, solid) var(--date-input-border-color, var(--color-border));
|
|
@@ -53,14 +55,14 @@
|
|
|
53
55
|
}
|
|
54
56
|
}
|
|
55
57
|
|
|
56
|
-
.
|
|
58
|
+
.X3ODua_segmentGroup {
|
|
57
59
|
align-items: center;
|
|
58
60
|
gap: var(--date-input-segment-gap, var(--border-width-md));
|
|
59
61
|
font-variant-numeric: tabular-nums;
|
|
60
62
|
display: inline-flex;
|
|
61
63
|
}
|
|
62
64
|
|
|
63
|
-
.
|
|
65
|
+
.X3ODua_segment {
|
|
64
66
|
min-width: var(--date-input-segment-min-width, 2ch);
|
|
65
67
|
border-radius: var(--date-input-segment-radius, var(--radius-sm));
|
|
66
68
|
padding: var(--date-input-segment-padding-y, 0)
|
|
@@ -97,7 +99,7 @@
|
|
|
97
99
|
}
|
|
98
100
|
}
|
|
99
101
|
|
|
100
|
-
.
|
|
102
|
+
.X3ODua_separator {
|
|
101
103
|
color: var(--date-input-separator-color, var(--color-muted-foreground));
|
|
102
104
|
user-select: none;
|
|
103
105
|
}
|
|
@@ -1,22 +1,27 @@
|
|
|
1
|
-
import { ComponentProps } from "react";
|
|
2
|
-
import { DateInput } from "@ark-ui/react/date-input";
|
|
1
|
+
import { ComponentProps, ReactNode } from "react";
|
|
2
|
+
import { DateInput, DateInputDateValue, useDateInput, useDateInputContext } from "@ark-ui/react/date-input";
|
|
3
3
|
|
|
4
4
|
//#region src/components/date-input/DateInput.d.ts
|
|
5
|
+
type DateInputFormProps = {
|
|
6
|
+
names?: readonly string[];
|
|
7
|
+
};
|
|
5
8
|
declare function DateInputSeparator({
|
|
6
9
|
className,
|
|
7
10
|
'aria-hidden': ariaHidden,
|
|
8
11
|
role,
|
|
9
12
|
...props
|
|
10
13
|
}: ComponentProps<'span'>): import("react").JSX.Element;
|
|
11
|
-
declare const DateInput$1: import("react").ForwardRefExoticComponent<Omit<DateInput.RootProps & import("react").RefAttributes<HTMLDivElement
|
|
12
|
-
Root: import("react").ForwardRefExoticComponent<Omit<DateInput.RootProps & import("react").RefAttributes<HTMLDivElement
|
|
13
|
-
RootProvider: import("react").ForwardRefExoticComponent<Omit<DateInput.RootProviderProps & import("react").RefAttributes<HTMLDivElement
|
|
14
|
+
declare const DateInput$1: import("react").ForwardRefExoticComponent<Omit<DateInput.RootProps & import("react").RefAttributes<HTMLDivElement> & DateInputFormProps, "ref"> & import("react").RefAttributes<HTMLDivElement>> & {
|
|
15
|
+
Root: import("react").ForwardRefExoticComponent<Omit<DateInput.RootProps & import("react").RefAttributes<HTMLDivElement> & DateInputFormProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
16
|
+
RootProvider: import("react").ForwardRefExoticComponent<Omit<DateInput.RootProviderProps & import("react").RefAttributes<HTMLDivElement> & DateInputFormProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
14
17
|
Label: import("react").ForwardRefExoticComponent<Omit<DateInput.LabelProps & import("react").RefAttributes<HTMLLabelElement>, "ref"> & import("react").RefAttributes<HTMLLabelElement>>;
|
|
15
18
|
Control: import("react").ForwardRefExoticComponent<Omit<DateInput.ControlProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
16
19
|
SegmentGroup: import("react").ForwardRefExoticComponent<Omit<DateInput.SegmentGroupProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
17
20
|
Segment: import("react").ForwardRefExoticComponent<Omit<DateInput.SegmentProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
18
|
-
|
|
21
|
+
Segments: import("react").ForwardRefExoticComponent<Omit<Omit<DateInput.SegmentGroupProps & import("react").RefAttributes<HTMLDivElement>, "children" | "asChild">, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
19
22
|
Separator: typeof DateInputSeparator;
|
|
23
|
+
Context: (props: DateInput.ContextProps) => ReactNode;
|
|
24
|
+
SegmentContext: (props: DateInput.SegmentContextProps) => import("react").JSX.Element[];
|
|
20
25
|
};
|
|
21
26
|
//#endregion
|
|
22
|
-
export { DateInput$1 as DateInput };
|
|
27
|
+
export { DateInput$1 as DateInput, type DateInputDateValue, useDateInput, useDateInputContext };
|
|
@@ -1,24 +1,28 @@
|
|
|
1
1
|
import { normalizeClassName } from "../../lib/moduix/normalizeClassName.js";
|
|
2
2
|
import DateInput_module_default from "./DateInput.module.js";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
3
|
import { clsx } from "clsx";
|
|
5
|
-
import { forwardRef } from "react";
|
|
6
|
-
import {
|
|
4
|
+
import { Children, cloneElement, forwardRef } from "react";
|
|
5
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { DateInput, useDateInput, useDateInputContext } from "@ark-ui/react/date-input";
|
|
7
7
|
//#region src/components/date-input/DateInput.tsx
|
|
8
|
-
const DateInputRoot = forwardRef(function DateInputRoot({ className, ...props }, ref) {
|
|
8
|
+
const DateInputRoot = forwardRef(function DateInputRoot({ asChild, children, className, names, ...props }, ref) {
|
|
9
9
|
return /* @__PURE__ */ jsx(DateInput.Root, {
|
|
10
10
|
ref,
|
|
11
11
|
"data-slot": "date-input-root",
|
|
12
12
|
className: clsx(DateInput_module_default.root, normalizeClassName(className)),
|
|
13
|
-
|
|
13
|
+
asChild,
|
|
14
|
+
...props,
|
|
15
|
+
children: withHiddenInputs(children, asChild, names)
|
|
14
16
|
});
|
|
15
17
|
});
|
|
16
|
-
const DateInputRootProvider = forwardRef(function DateInputRootProvider({ className, ...props }, ref) {
|
|
18
|
+
const DateInputRootProvider = forwardRef(function DateInputRootProvider({ asChild, children, className, names, ...props }, ref) {
|
|
17
19
|
return /* @__PURE__ */ jsx(DateInput.RootProvider, {
|
|
18
20
|
ref,
|
|
19
21
|
"data-slot": "date-input-root-provider",
|
|
20
22
|
className: clsx(DateInput_module_default.root, normalizeClassName(className)),
|
|
21
|
-
|
|
23
|
+
asChild,
|
|
24
|
+
...props,
|
|
25
|
+
children: withHiddenInputs(children, asChild, names)
|
|
22
26
|
});
|
|
23
27
|
});
|
|
24
28
|
const DateInputLabel = forwardRef(function DateInputLabel({ className, ...props }, ref) {
|
|
@@ -53,13 +57,28 @@ const DateInputSegment = forwardRef(function DateInputSegment({ className, ...pr
|
|
|
53
57
|
...props
|
|
54
58
|
});
|
|
55
59
|
});
|
|
56
|
-
const
|
|
57
|
-
return /* @__PURE__ */ jsx(
|
|
60
|
+
const DateInputSegments = forwardRef(function DateInputSegments(props, ref) {
|
|
61
|
+
return /* @__PURE__ */ jsx(DateInputSegmentGroup, {
|
|
58
62
|
ref,
|
|
59
|
-
|
|
60
|
-
|
|
63
|
+
...props,
|
|
64
|
+
children: /* @__PURE__ */ jsx(DateInput.SegmentContext, { children: (segment) => /* @__PURE__ */ jsx(DateInputSegment, { segment }) })
|
|
61
65
|
});
|
|
62
66
|
});
|
|
67
|
+
function withHiddenInputs(children, asChild, names) {
|
|
68
|
+
const hiddenInputs = /* @__PURE__ */ jsx(DateInputFormInputs, { names });
|
|
69
|
+
if (!asChild) return /* @__PURE__ */ jsxs(Fragment$1, { children: [children, hiddenInputs] });
|
|
70
|
+
const child = Children.only(children);
|
|
71
|
+
return cloneElement(child, {}, child.props.children, hiddenInputs);
|
|
72
|
+
}
|
|
73
|
+
function DateInputFormInputs({ names }) {
|
|
74
|
+
const dateInput = useDateInputContext();
|
|
75
|
+
const inputCount = Math.max(dateInput.displayValues.length, names?.length ?? 0, 1);
|
|
76
|
+
return /* @__PURE__ */ jsx(Fragment$1, { children: Array.from({ length: inputCount }, (_, index) => /* @__PURE__ */ jsx(DateInput.HiddenInput, {
|
|
77
|
+
index,
|
|
78
|
+
name: names?.[index],
|
|
79
|
+
"data-slot": "date-input-hidden-input"
|
|
80
|
+
}, index)) });
|
|
81
|
+
}
|
|
63
82
|
function DateInputSeparator({ className, "aria-hidden": ariaHidden = true, role = "presentation", ...props }) {
|
|
64
83
|
return /* @__PURE__ */ jsx("span", {
|
|
65
84
|
"data-slot": "date-input-separator",
|
|
@@ -76,8 +95,10 @@ const DateInput$1 = Object.assign(DateInputRoot, {
|
|
|
76
95
|
Control: DateInputControl,
|
|
77
96
|
SegmentGroup: DateInputSegmentGroup,
|
|
78
97
|
Segment: DateInputSegment,
|
|
79
|
-
|
|
80
|
-
Separator: DateInputSeparator
|
|
98
|
+
Segments: DateInputSegments,
|
|
99
|
+
Separator: DateInputSeparator,
|
|
100
|
+
Context: DateInput.Context,
|
|
101
|
+
SegmentContext: DateInput.SegmentContext
|
|
81
102
|
});
|
|
82
103
|
//#endregion
|
|
83
|
-
export { DateInput$1 as DateInput };
|
|
104
|
+
export { DateInput$1 as DateInput, useDateInput, useDateInputContext };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import './DateInput.css';
|
|
2
2
|
//#region src/components/date-input/DateInput.module.css
|
|
3
3
|
var DateInput_module_default = {
|
|
4
|
-
"control": "
|
|
5
|
-
"label": "
|
|
6
|
-
"root": "
|
|
7
|
-
"segment": "
|
|
8
|
-
"segmentGroup": "
|
|
9
|
-
"separator": "
|
|
4
|
+
"control": "X3ODua_control",
|
|
5
|
+
"label": "X3ODua_label",
|
|
6
|
+
"root": "X3ODua_root",
|
|
7
|
+
"segment": "X3ODua_segment",
|
|
8
|
+
"segmentGroup": "X3ODua_segmentGroup",
|
|
9
|
+
"separator": "X3ODua_separator"
|
|
10
10
|
};
|
|
11
11
|
//#endregion
|
|
12
12
|
export { DateInput_module_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DateInput } from "./DateInput.js";
|
|
2
|
-
export { DateInput };
|
|
1
|
+
import { DateInput, DateInputDateValue, useDateInput, useDateInputContext } from "./DateInput.js";
|
|
2
|
+
export { DateInput, type DateInputDateValue, useDateInput, useDateInputContext };
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
@layer ui.components {
|
|
2
|
-
@keyframes
|
|
2
|
+
@keyframes a48aUa_date-picker-content-open {
|
|
3
3
|
from {
|
|
4
|
-
opacity: var(--date-picker-content-closed-opacity, 0);
|
|
5
|
-
|
|
4
|
+
opacity: var(--date-picker-content-closed-opacity, var(--popup-motion-starting-opacity, 0));
|
|
5
|
+
translate: var(--popup-motion-starting-translate-x, 0)
|
|
6
|
+
var(--popup-motion-starting-translate-y, 0);
|
|
7
|
+
transform: scale(var(--date-picker-content-closed-scale, var(--popup-motion-starting-scale, var(--scale-popup))));
|
|
6
8
|
}
|
|
7
9
|
|
|
8
10
|
to {
|
|
@@ -11,19 +13,20 @@
|
|
|
11
13
|
}
|
|
12
14
|
}
|
|
13
15
|
|
|
14
|
-
@keyframes
|
|
16
|
+
@keyframes a48aUa_date-picker-content-closed {
|
|
15
17
|
from {
|
|
16
18
|
opacity: 1;
|
|
17
19
|
transform: scale(1);
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
to {
|
|
21
|
-
opacity: var(--date-picker-content-closed-opacity, 0);
|
|
22
|
-
|
|
23
|
+
opacity: var(--date-picker-content-closed-opacity, var(--popup-motion-ending-opacity, 0));
|
|
24
|
+
translate: var(--popup-motion-ending-translate-x, 0) var(--popup-motion-ending-translate-y, 0);
|
|
25
|
+
transform: scale(var(--date-picker-content-closed-scale, var(--popup-motion-ending-scale, var(--scale-popup))));
|
|
23
26
|
}
|
|
24
27
|
}
|
|
25
28
|
|
|
26
|
-
.
|
|
29
|
+
.a48aUa_root {
|
|
27
30
|
box-sizing: border-box;
|
|
28
31
|
width: var(--date-picker-width, 18.75rem);
|
|
29
32
|
max-width: var(--date-picker-max-width, 100%);
|
|
@@ -38,7 +41,7 @@
|
|
|
38
41
|
}
|
|
39
42
|
}
|
|
40
43
|
|
|
41
|
-
.
|
|
44
|
+
.a48aUa_label {
|
|
42
45
|
color: var(--date-picker-label-color, var(--date-picker-color, var(--color-foreground)));
|
|
43
46
|
font-size: var(--date-picker-label-font-size, var(--text-sm));
|
|
44
47
|
font-weight: var(--date-picker-label-font-weight, var(--weight-medium));
|
|
@@ -48,7 +51,7 @@
|
|
|
48
51
|
display: inline-flex;
|
|
49
52
|
}
|
|
50
53
|
|
|
51
|
-
.
|
|
54
|
+
.a48aUa_control {
|
|
52
55
|
align-items: center;
|
|
53
56
|
gap: var(--date-picker-input-gap, var(--spacing-2));
|
|
54
57
|
width: 100%;
|
|
@@ -58,7 +61,7 @@
|
|
|
58
61
|
position: relative;
|
|
59
62
|
}
|
|
60
63
|
|
|
61
|
-
.
|
|
64
|
+
.a48aUa_input {
|
|
62
65
|
box-sizing: border-box;
|
|
63
66
|
width: 100%;
|
|
64
67
|
min-width: min(var(--date-picker-input-min-width, 7.5rem), 100%);
|
|
@@ -89,12 +92,12 @@
|
|
|
89
92
|
opacity: 1;
|
|
90
93
|
}
|
|
91
94
|
|
|
92
|
-
&:focus, .
|
|
95
|
+
&:focus, .a48aUa_control[data-focus] & {
|
|
93
96
|
border-color: var(--date-picker-focus-ring-color, var(--color-ring));
|
|
94
97
|
outline-color: var(--date-picker-focus-ring-color, var(--color-ring));
|
|
95
98
|
}
|
|
96
99
|
|
|
97
|
-
&:is([data-invalid], [aria-invalid="true"]), .
|
|
100
|
+
&:is([data-invalid], [aria-invalid="true"]), .a48aUa_control[data-invalid] & {
|
|
98
101
|
border-color: var(--date-picker-invalid-color, var(--color-destructive));
|
|
99
102
|
outline-color: var(--date-picker-invalid-color, var(--color-destructive));
|
|
100
103
|
}
|
|
@@ -103,7 +106,7 @@
|
|
|
103
106
|
cursor: default;
|
|
104
107
|
}
|
|
105
108
|
|
|
106
|
-
.
|
|
109
|
+
.a48aUa_control:not([data-disabled], [data-readonly]) & {
|
|
107
110
|
@media (hover: hover) {
|
|
108
111
|
&:hover {
|
|
109
112
|
background-color: var(--date-picker-bg-hover, var(--color-accent));
|
|
@@ -112,16 +115,16 @@
|
|
|
112
115
|
}
|
|
113
116
|
}
|
|
114
117
|
|
|
115
|
-
.
|
|
118
|
+
.a48aUa_control:has(.a48aUa_input + .a48aUa_input) .a48aUa_input {
|
|
116
119
|
min-width: min(var(--date-picker-range-input-min-width, 7.5rem), 100%);
|
|
117
120
|
padding-inline-end: var(--date-picker-input-padding-x-start, .875rem);
|
|
118
121
|
}
|
|
119
122
|
|
|
120
|
-
.
|
|
123
|
+
.a48aUa_control:has(.a48aUa_input + .a48aUa_input) .a48aUa_input:last-of-type {
|
|
121
124
|
padding-inline-end: var(--date-picker-input-padding-x-end, 4.25rem);
|
|
122
125
|
}
|
|
123
126
|
|
|
124
|
-
.
|
|
127
|
+
.a48aUa_trigger, .a48aUa_navTrigger, .a48aUa_viewTrigger, .a48aUa_presetTrigger {
|
|
125
128
|
box-sizing: border-box;
|
|
126
129
|
border-radius: var(--date-picker-action-radius, var(--radius-sm));
|
|
127
130
|
background: var(--date-picker-action-bg, transparent);
|
|
@@ -172,29 +175,50 @@
|
|
|
172
175
|
}
|
|
173
176
|
}
|
|
174
177
|
|
|
175
|
-
.
|
|
178
|
+
.a48aUa_trigger {
|
|
176
179
|
width: var(--date-picker-action-size, 1.5rem);
|
|
177
180
|
height: var(--date-picker-action-size, 1.5rem);
|
|
178
|
-
position: absolute;
|
|
179
181
|
top: 50%;
|
|
180
|
-
transform: translateY(-50%);
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.Nbvdda_trigger {
|
|
184
182
|
right: var(--date-picker-trigger-offset-right, .5rem);
|
|
183
|
+
position: absolute;
|
|
184
|
+
transform: translateY(-50%);
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
.
|
|
187
|
+
.a48aUa_clearTrigger {
|
|
188
|
+
--close-button-size: var(--date-picker-action-size, 1.5rem);
|
|
189
|
+
--close-button-icon-size: var(--date-picker-icon-size, 1rem);
|
|
190
|
+
--close-button-radius: var(--date-picker-action-radius, var(--radius-sm));
|
|
191
|
+
--close-button-bg: var(--date-picker-action-bg, transparent);
|
|
192
|
+
--close-button-bg-hover: var(--date-picker-action-bg-hover, var(--color-muted));
|
|
193
|
+
--close-button-color: var(--date-picker-icon-color, var(--color-muted-foreground));
|
|
194
|
+
--close-button-color-hover: var(--date-picker-action-color-hover, var(--color-foreground));
|
|
195
|
+
--close-button-disabled-opacity: var(--date-picker-disabled-opacity, var(--opacity-disabled));
|
|
196
|
+
--close-button-focus-ring-width: var(--date-picker-action-focus-ring-width, var(--border-width-sm));
|
|
197
|
+
--close-button-focus-ring-color: var(--date-picker-focus-ring-color, var(--color-ring));
|
|
198
|
+
--close-button-focus-ring-offset: var(--date-picker-action-focus-ring-offset, 0);
|
|
199
|
+
--close-button-transition: var(--date-picker-transition, var(--transition-default));
|
|
200
|
+
top: 50%;
|
|
188
201
|
right: calc(var(--date-picker-trigger-offset-right, .5rem) + var(--date-picker-action-size, 1.5rem) +
|
|
189
202
|
var(--date-picker-action-gap, .125rem));
|
|
203
|
+
position: absolute;
|
|
204
|
+
transform: translateY(-50%);
|
|
205
|
+
|
|
206
|
+
&[data-focus] {
|
|
207
|
+
outline: var(--close-button-focus-ring-width) solid var(--close-button-focus-ring-color);
|
|
208
|
+
outline-offset: var(--close-button-focus-ring-offset);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
&[hidden] {
|
|
212
|
+
display: none;
|
|
213
|
+
}
|
|
190
214
|
}
|
|
191
215
|
|
|
192
|
-
.
|
|
216
|
+
.a48aUa_positioner {
|
|
193
217
|
z-index: var(--z-index);
|
|
194
218
|
outline: 0;
|
|
195
219
|
}
|
|
196
220
|
|
|
197
|
-
.
|
|
221
|
+
.a48aUa_content {
|
|
198
222
|
box-sizing: border-box;
|
|
199
223
|
z-index: calc(var(--z-popup) + var(--layer-index, 0));
|
|
200
224
|
width: min(var(--date-picker-content-width, 18.75rem), var(--available-width));
|
|
@@ -215,27 +239,31 @@
|
|
|
215
239
|
overflow: auto;
|
|
216
240
|
|
|
217
241
|
&[data-state="open"] {
|
|
218
|
-
animation:
|
|
242
|
+
animation: a48aUa_date-picker-content-open
|
|
243
|
+
var(--date-picker-transition, var(--popup-motion-duration, var(--duration-normal))
|
|
244
|
+
var(--popup-motion-easing, var(--ease-in-out)));
|
|
219
245
|
}
|
|
220
246
|
|
|
221
247
|
&[data-state="closed"] {
|
|
222
|
-
animation:
|
|
248
|
+
animation: a48aUa_date-picker-content-closed
|
|
249
|
+
var(--date-picker-transition, var(--popup-motion-duration, var(--duration-normal))
|
|
250
|
+
var(--popup-motion-easing, var(--ease-in-out)));
|
|
223
251
|
pointer-events: none;
|
|
224
252
|
}
|
|
225
253
|
}
|
|
226
254
|
|
|
227
|
-
.
|
|
255
|
+
.a48aUa_root[data-inline] .a48aUa_content {
|
|
228
256
|
min-width: var(--date-picker-inline-content-min-width, 18rem);
|
|
229
257
|
max-height: none;
|
|
230
258
|
box-shadow: var(--date-picker-inline-content-shadow, none);
|
|
231
259
|
}
|
|
232
260
|
|
|
233
|
-
.
|
|
261
|
+
.a48aUa_view {
|
|
234
262
|
gap: var(--date-picker-view-gap, var(--spacing-3));
|
|
235
263
|
display: grid;
|
|
236
264
|
}
|
|
237
265
|
|
|
238
|
-
.
|
|
266
|
+
.a48aUa_viewControl {
|
|
239
267
|
justify-content: space-between;
|
|
240
268
|
align-items: center;
|
|
241
269
|
gap: var(--date-picker-view-control-gap, var(--spacing-2));
|
|
@@ -243,12 +271,12 @@
|
|
|
243
271
|
display: flex;
|
|
244
272
|
}
|
|
245
273
|
|
|
246
|
-
.
|
|
274
|
+
.a48aUa_navTrigger {
|
|
247
275
|
width: var(--date-picker-nav-trigger-size, 2rem);
|
|
248
276
|
height: var(--date-picker-nav-trigger-size, 2rem);
|
|
249
277
|
}
|
|
250
278
|
|
|
251
|
-
.
|
|
279
|
+
.a48aUa_viewTrigger {
|
|
252
280
|
min-width: 0;
|
|
253
281
|
min-height: var(--date-picker-view-trigger-height, 2rem);
|
|
254
282
|
gap: var(--date-picker-view-trigger-gap, var(--spacing-2));
|
|
@@ -260,21 +288,21 @@
|
|
|
260
288
|
flex: 1;
|
|
261
289
|
}
|
|
262
290
|
|
|
263
|
-
.
|
|
291
|
+
.a48aUa_rangeText, .a48aUa_valueText {
|
|
264
292
|
text-overflow: ellipsis;
|
|
265
293
|
white-space: nowrap;
|
|
266
294
|
min-width: 0;
|
|
267
295
|
overflow: hidden;
|
|
268
296
|
}
|
|
269
297
|
|
|
270
|
-
.
|
|
298
|
+
.a48aUa_table {
|
|
271
299
|
border-collapse: separate;
|
|
272
300
|
width: 100%;
|
|
273
301
|
border-spacing: var(--date-picker-table-cell-gap, .125rem);
|
|
274
302
|
table-layout: fixed;
|
|
275
303
|
}
|
|
276
304
|
|
|
277
|
-
.
|
|
305
|
+
.a48aUa_tableHeader, .a48aUa_weekNumberCell {
|
|
278
306
|
width: var(--date-picker-table-cell-size, 2.25rem);
|
|
279
307
|
height: var(--date-picker-table-header-height, 1.75rem);
|
|
280
308
|
color: var(--date-picker-table-header-color, var(--color-muted-foreground));
|
|
@@ -284,19 +312,19 @@
|
|
|
284
312
|
text-align: center;
|
|
285
313
|
}
|
|
286
314
|
|
|
287
|
-
.
|
|
315
|
+
.a48aUa_tableCell {
|
|
288
316
|
width: var(--date-picker-table-cell-size, 2.25rem);
|
|
289
317
|
height: var(--date-picker-table-cell-size, 2.25rem);
|
|
290
318
|
text-align: center;
|
|
291
319
|
padding: 0;
|
|
292
320
|
}
|
|
293
321
|
|
|
294
|
-
.
|
|
322
|
+
.a48aUa_weekNumberCell {
|
|
295
323
|
color: var(--date-picker-week-number-color, var(--color-muted-foreground));
|
|
296
324
|
font-variant-numeric: tabular-nums;
|
|
297
325
|
}
|
|
298
326
|
|
|
299
|
-
.
|
|
327
|
+
.a48aUa_tableCellTrigger {
|
|
300
328
|
box-sizing: border-box;
|
|
301
329
|
width: 100%;
|
|
302
330
|
min-width: var(--date-picker-table-cell-size, 2.25rem);
|
|
@@ -361,7 +389,7 @@
|
|
|
361
389
|
}
|
|
362
390
|
}
|
|
363
391
|
|
|
364
|
-
.
|
|
392
|
+
.a48aUa_select {
|
|
365
393
|
box-sizing: border-box;
|
|
366
394
|
width: 100%;
|
|
367
395
|
min-width: 0;
|
|
@@ -396,7 +424,7 @@
|
|
|
396
424
|
}
|
|
397
425
|
}
|
|
398
426
|
|
|
399
|
-
.
|
|
427
|
+
.a48aUa_presetTrigger {
|
|
400
428
|
min-height: var(--date-picker-preset-trigger-height, 2rem);
|
|
401
429
|
padding-inline: var(--date-picker-preset-trigger-padding-x, var(--spacing-2));
|
|
402
430
|
background-color: var(--date-picker-preset-trigger-bg, var(--color-muted));
|