@moduix/react 2.5.1 → 2.7.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 +24 -3
- package/THIRD_PARTY_NOTICES.md +49 -0
- package/dist/components/accordion/Accordion.js +20 -21
- package/dist/components/alert/Alert.js +18 -19
- package/dist/components/alert/Alert_module.css +3 -16
- package/dist/components/angle-slider/AngleSlider.d.ts +5 -11
- package/dist/components/angle-slider/AngleSlider.js +29 -71
- package/dist/components/aspect-ratio/AspectRatio.js +1 -2
- package/dist/components/aspect-ratio/AspectRatio_module.css +0 -13
- package/dist/components/avatar/Avatar.d.ts +3 -6
- package/dist/components/avatar/Avatar.js +14 -57
- package/dist/components/avatar/Avatar.module.js +1 -2
- package/dist/components/avatar/Avatar_module.css +0 -6
- package/dist/components/badge/Badge.d.ts +2 -2
- package/dist/components/badge/Badge.js +5 -10
- package/dist/components/badge/Badge_module.css +7 -14
- package/dist/components/bleed/Bleed.js +1 -2
- package/dist/components/breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs/Breadcrumbs.js +16 -32
- package/dist/components/breadcrumbs/Breadcrumbs_module.css +12 -14
- package/dist/components/button/Button.d.ts +4 -4
- package/dist/components/button/Button.js +1 -2
- package/dist/components/button/Button_module.css +2 -8
- package/dist/components/card/Card.d.ts +15 -15
- package/dist/components/card/Card.js +30 -31
- package/dist/components/card/Card_module.css +2 -18
- package/dist/components/carousel/Carousel.d.ts +1 -1
- package/dist/components/carousel/Carousel.js +34 -35
- package/dist/components/carousel/Carousel_module.css +7 -0
- package/dist/components/chart/Chart.d.ts +9 -8
- package/dist/components/chart/Chart.js +21 -22
- package/dist/components/chart/Chart_module.css +0 -2
- package/dist/components/checkbox/Checkbox.d.ts +3 -2
- package/dist/components/checkbox/Checkbox.js +20 -43
- package/dist/components/clipboard/Clipboard.js +27 -27
- package/dist/components/close-button/CloseButton.js +1 -2
- package/dist/components/close-button/CloseButton_module.css +1 -10
- package/dist/components/collapsible/Collapsible.js +17 -20
- package/dist/components/collapsible/Collapsible_module.css +2 -4
- package/dist/components/color-picker/ColorPicker.d.ts +4 -3
- package/dist/components/color-picker/ColorPicker.js +79 -92
- package/dist/components/color-picker/ColorPicker_module.css +0 -1
- package/dist/components/combobox/Combobox.d.ts +5 -5
- package/dist/components/combobox/Combobox.js +51 -60
- package/dist/components/combobox/Combobox_module.css +0 -1
- package/dist/components/command-palette/CommandPalette.d.ts +7 -18
- package/dist/components/command-palette/CommandPalette.js +99 -126
- package/dist/components/command-palette/CommandPalette_module.css +11 -18
- package/dist/components/container/Container.js +1 -2
- package/dist/components/container/Container_module.css +1 -1
- package/dist/components/date-input/DateInput.d.ts +7 -9
- package/dist/components/date-input/DateInput.js +24 -54
- package/dist/components/date-input/DateInput_module.css +0 -1
- package/dist/components/date-picker/DatePicker.d.ts +1 -1
- package/dist/components/date-picker/DatePicker.js +84 -93
- package/dist/components/date-picker/DatePicker.module.js +1 -1
- package/dist/components/date-picker/DatePicker_module.css +5 -2
- package/dist/components/dialog/Dialog.d.ts +1 -1
- package/dist/components/dialog/Dialog.js +31 -32
- package/dist/components/drawer/Drawer.d.ts +6 -3
- package/dist/components/drawer/Drawer.js +63 -54
- package/dist/components/editable/Editable.d.ts +1 -1
- package/dist/components/editable/Editable.js +27 -28
- package/dist/components/empty/Empty.js +18 -19
- package/dist/components/field/Field.js +29 -30
- package/dist/components/fieldset/Fieldset.js +15 -16
- package/dist/components/file-upload/FileUpload.d.ts +3 -2
- package/dist/components/file-upload/FileUpload.js +52 -79
- package/dist/components/file-upload/FileUpload_module.css +4 -13
- package/dist/components/floating-panel/FloatingPanel.d.ts +3 -3
- package/dist/components/floating-panel/FloatingPanel.js +36 -37
- package/dist/components/floating-panel/FloatingPanel_module.css +4 -17
- package/dist/components/floating-panel/index.d.ts +1 -0
- package/dist/components/heading/Heading.js +1 -2
- package/dist/components/highlight/Highlight.js +1 -2
- package/dist/components/hover-card/HoverCard.d.ts +3 -2
- package/dist/components/hover-card/HoverCard.js +24 -15
- package/dist/components/hover-card/HoverCard.module.js +1 -0
- package/dist/components/hover-card/HoverCard_module.css +18 -3
- package/dist/components/hover-card/index.d.ts +1 -0
- package/dist/components/image/Image.js +1 -2
- package/dist/components/image-cropper/ImageCropper.d.ts +1 -1
- package/dist/components/image-cropper/ImageCropper.js +21 -22
- package/dist/components/input/Input.d.ts +4 -4
- package/dist/components/input/Input.js +1 -2
- package/dist/components/input-group/InputGroup.d.ts +5 -5
- package/dist/components/input-group/InputGroup.js +5 -6
- package/dist/components/json-tree-view/JsonTreeView.js +3 -4
- package/dist/components/json-tree-view/JsonTreeView_module.css +26 -10
- package/dist/components/kbd/Kbd.js +6 -7
- package/dist/components/lightbox/Lightbox.d.ts +1 -1
- package/dist/components/lightbox/Lightbox.js +38 -39
- package/dist/components/lightbox/Lightbox_module.css +0 -2
- package/dist/components/list/List.js +2 -3
- package/dist/components/listbox/Listbox.d.ts +5 -5
- package/dist/components/listbox/Listbox.js +50 -56
- package/dist/components/listbox/Listbox.module.js +2 -2
- package/dist/components/listbox/Listbox_module.css +3 -13
- package/dist/components/marquee/Marquee.js +18 -19
- package/dist/components/menu/Menu.d.ts +2 -1
- package/dist/components/menu/Menu.js +72 -79
- package/dist/components/menu/Menu.module.js +1 -1
- package/dist/components/menu/Menu_module.css +8 -8
- package/dist/components/native-select/NativeSelect.js +2 -3
- package/dist/components/native-select/NativeSelect_module.css +0 -1
- package/dist/components/navigation-menu/NavigationMenu.js +39 -58
- package/dist/components/navigation-menu/NavigationMenu.module.js +2 -3
- package/dist/components/navigation-menu/NavigationMenu_module.css +15 -32
- package/dist/components/number-input/NumberInput.js +25 -26
- package/dist/components/pagination/Pagination.js +28 -31
- package/dist/components/pagination/Pagination_module.css +1 -5
- package/dist/components/password-input/PasswordInput.js +20 -21
- package/dist/components/pin-input/PinInput.d.ts +3 -2
- package/dist/components/pin-input/PinInput.js +20 -61
- package/dist/components/popover/Popover.d.ts +5 -3
- package/dist/components/popover/Popover.js +41 -42
- package/dist/components/progress-circular/ProgressCircular.js +24 -25
- package/dist/components/progress-circular/ProgressCircular.module.js +1 -3
- package/dist/components/progress-circular/ProgressCircular_module.css +0 -10
- package/dist/components/progress-linear/ProgressLinear.js +21 -22
- package/dist/components/progress-linear/ProgressLinear.module.js +1 -5
- package/dist/components/progress-linear/ProgressLinear_module.css +0 -20
- package/dist/components/qr-code/QrCode.js +18 -19
- package/dist/components/radio-group/RadioGroup.d.ts +1 -0
- package/dist/components/radio-group/RadioGroup.js +25 -39
- package/dist/components/radio-group/RadioGroup_module.css +0 -1
- package/dist/components/rating-group/RatingGroup.d.ts +1 -0
- package/dist/components/rating-group/RatingGroup.js +19 -36
- package/dist/components/rating-group/RatingGroup_module.css +1 -1
- package/dist/components/scroll-area/ScrollArea.js +7 -8
- package/dist/components/segment-group/SegmentGroup.d.ts +1 -0
- package/dist/components/segment-group/SegmentGroup.js +28 -42
- package/dist/components/segment-group/SegmentGroup_module.css +4 -0
- package/dist/components/select/Select.d.ts +4 -7
- package/dist/components/select/Select.js +69 -119
- package/dist/components/select/Select.module.js +1 -1
- package/dist/components/select/Select_module.css +4 -31
- package/dist/components/separator/Separator.d.ts +6 -6
- package/dist/components/separator/Separator.js +1 -2
- package/dist/components/sidebar/Sidebar.d.ts +16 -16
- package/dist/components/sidebar/Sidebar.js +81 -86
- package/dist/components/sidebar/Sidebar.module.js +2 -3
- package/dist/components/sidebar/Sidebar_module.css +62 -158
- package/dist/components/signature-pad/SignaturePad.d.ts +5 -8
- package/dist/components/signature-pad/SignaturePad.js +28 -57
- package/dist/components/signature-pad/SignaturePad_module.css +0 -1
- package/dist/components/simple-grid/SimpleGrid.js +13 -8
- package/dist/components/skeleton/Skeleton.d.ts +2 -2
- package/dist/components/skeleton/Skeleton.js +1 -2
- package/dist/components/slider/Slider.d.ts +2 -2
- package/dist/components/slider/Slider.js +38 -52
- package/dist/components/spinner/Spinner.d.ts +2 -2
- package/dist/components/spinner/Spinner.js +1 -2
- package/dist/components/split-button/SplitButton.d.ts +7 -7
- package/dist/components/split-button/SplitButton.js +25 -17
- package/dist/components/splitter/Splitter.js +14 -15
- package/dist/components/splitter/Splitter_module.css +2 -10
- package/dist/components/stack/Stack.d.ts +6 -6
- package/dist/components/stack/Stack.js +4 -5
- package/dist/components/stack/Stack_module.css +1 -1
- package/dist/components/steps/Steps.js +35 -36
- package/dist/components/steps/Steps_module.css +2 -3
- package/dist/components/swap/Swap.js +9 -10
- package/dist/components/switch/Switch.d.ts +3 -2
- package/dist/components/switch/Switch.js +17 -40
- package/dist/components/switch/Switch_module.css +0 -1
- package/dist/components/table/Table.d.ts +5 -5
- package/dist/components/table/Table.js +35 -36
- package/dist/components/tabs/Tabs.js +18 -19
- package/dist/components/tabs/Tabs_module.css +5 -10
- package/dist/components/tag/Tag.js +5 -6
- package/dist/components/tag/Tag_module.css +2 -4
- package/dist/components/tags-input/TagsInput.d.ts +3 -3
- package/dist/components/tags-input/TagsInput.js +37 -91
- package/dist/components/tags-input/TagsInput_module.css +0 -1
- package/dist/components/text/Text.js +1 -2
- package/dist/components/textarea/Textarea.js +1 -2
- package/dist/components/timer/Timer.js +21 -22
- package/dist/components/toast/Toast.d.ts +1 -1
- package/dist/components/toast/Toast.js +15 -16
- package/dist/components/toast/Toast_module.css +1 -2
- package/dist/components/toc/Toc.js +29 -30
- package/dist/components/toc/Toc_module.css +2 -2
- package/dist/components/toggle/Toggle.js +6 -7
- package/dist/components/toggle-group/ToggleGroup.d.ts +1 -1
- package/dist/components/toggle-group/ToggleGroup.js +3 -4
- package/dist/components/tooltip/Tooltip.d.ts +1 -1
- package/dist/components/tooltip/Tooltip.js +17 -18
- package/dist/components/tooltip/Tooltip_module.css +1 -1
- package/dist/components/tour/Tour.d.ts +1 -1
- package/dist/components/tour/Tour.js +39 -40
- package/dist/components/tree-view/TreeView.d.ts +4 -4
- package/dist/components/tree-view/TreeView.js +47 -48
- package/dist/components/tree-view/TreeView_module.css +39 -12
- package/dist/components/typeset/Typeset.js +2 -3
- package/dist/components/typeset/Typeset_module.css +300 -159
- package/dist/internal/icons/ui/Icons.d.ts +9 -30
- package/dist/internal/icons/ui/Icons.js +67 -807
- package/dist/internal/icons/ui/index.d.ts +1 -1
- package/dist/styles/animations.css +310 -0
- package/dist/styles/style.css +168 -2
- package/package.json +23 -23
- package/dist/internal/normalizeClassName.d.ts +0 -1
- package/dist/internal/normalizeClassName.js +0 -2
|
@@ -1 +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';
|
|
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';
|
|
@@ -19,6 +19,48 @@
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
+
@keyframes moduix-swap-scale-enter {
|
|
23
|
+
from {
|
|
24
|
+
opacity: 0;
|
|
25
|
+
transform: scale(0.5);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@keyframes moduix-swap-scale-exit {
|
|
30
|
+
to {
|
|
31
|
+
opacity: 0;
|
|
32
|
+
transform: scale(0.5);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@keyframes moduix-swap-rotate-enter {
|
|
37
|
+
from {
|
|
38
|
+
opacity: 0;
|
|
39
|
+
transform: rotate(-180deg);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@keyframes moduix-swap-rotate-exit {
|
|
44
|
+
to {
|
|
45
|
+
opacity: 0;
|
|
46
|
+
transform: rotate(180deg);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@keyframes moduix-swap-flip-enter {
|
|
51
|
+
from {
|
|
52
|
+
opacity: 0;
|
|
53
|
+
transform: rotateY(-180deg);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@keyframes moduix-swap-flip-exit {
|
|
58
|
+
to {
|
|
59
|
+
opacity: 0;
|
|
60
|
+
transform: rotateY(180deg);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
22
64
|
@keyframes moduix-slide-up {
|
|
23
65
|
from {
|
|
24
66
|
transform: translateY(4px);
|
|
@@ -39,6 +81,274 @@
|
|
|
39
81
|
}
|
|
40
82
|
}
|
|
41
83
|
|
|
84
|
+
@keyframes moduix-progress-linear-indeterminate {
|
|
85
|
+
from {
|
|
86
|
+
transform: translateX(-100%);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
to {
|
|
90
|
+
transform: translateX(300%);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@keyframes moduix-progress-linear-indeterminate-vertical {
|
|
95
|
+
from {
|
|
96
|
+
transform: translateY(100%);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
to {
|
|
100
|
+
transform: translateY(-300%);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@keyframes moduix-marquee-x {
|
|
105
|
+
from {
|
|
106
|
+
transform: translateX(0%);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
to {
|
|
110
|
+
transform: translateX(var(--marquee-translate));
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@keyframes moduix-marquee-y {
|
|
115
|
+
from {
|
|
116
|
+
transform: translateY(0%);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
to {
|
|
120
|
+
transform: translateY(var(--marquee-translate));
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
@keyframes moduix-accordion-item-content-open {
|
|
125
|
+
from {
|
|
126
|
+
height: 0;
|
|
127
|
+
opacity: 0.01;
|
|
128
|
+
}
|
|
129
|
+
to {
|
|
130
|
+
height: var(--height);
|
|
131
|
+
opacity: 1;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@keyframes moduix-accordion-item-content-closed {
|
|
136
|
+
from {
|
|
137
|
+
height: var(--height);
|
|
138
|
+
opacity: 1;
|
|
139
|
+
}
|
|
140
|
+
to {
|
|
141
|
+
height: 0;
|
|
142
|
+
opacity: 0.01;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
@keyframes moduix-accordion-item-content-open-horizontal {
|
|
147
|
+
from {
|
|
148
|
+
width: 0;
|
|
149
|
+
opacity: 0.01;
|
|
150
|
+
}
|
|
151
|
+
to {
|
|
152
|
+
width: var(--width);
|
|
153
|
+
opacity: 1;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
@keyframes moduix-accordion-item-content-closed-horizontal {
|
|
158
|
+
from {
|
|
159
|
+
width: var(--width);
|
|
160
|
+
opacity: 1;
|
|
161
|
+
}
|
|
162
|
+
to {
|
|
163
|
+
width: 0;
|
|
164
|
+
opacity: 0.01;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
@keyframes moduix-collapsible-content-open {
|
|
169
|
+
from {
|
|
170
|
+
height: var(--collapsed-height, 0);
|
|
171
|
+
width: var(--collapsed-width, var(--width));
|
|
172
|
+
opacity: 0.01;
|
|
173
|
+
}
|
|
174
|
+
to {
|
|
175
|
+
height: var(--height);
|
|
176
|
+
width: var(--width);
|
|
177
|
+
opacity: 1;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
@keyframes moduix-collapsible-content-closed {
|
|
182
|
+
from {
|
|
183
|
+
height: var(--height);
|
|
184
|
+
width: var(--width);
|
|
185
|
+
opacity: 1;
|
|
186
|
+
}
|
|
187
|
+
to {
|
|
188
|
+
height: var(--collapsed-height, 0);
|
|
189
|
+
width: var(--collapsed-width, var(--width));
|
|
190
|
+
opacity: 0.01;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
@keyframes moduix-collapsible-content-open-partial {
|
|
195
|
+
from {
|
|
196
|
+
height: var(--collapsed-height, 0);
|
|
197
|
+
width: var(--collapsed-width, var(--width));
|
|
198
|
+
}
|
|
199
|
+
to {
|
|
200
|
+
height: var(--height);
|
|
201
|
+
width: var(--width);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
@keyframes moduix-collapsible-content-closed-partial {
|
|
206
|
+
from {
|
|
207
|
+
height: var(--height);
|
|
208
|
+
width: var(--width);
|
|
209
|
+
}
|
|
210
|
+
to {
|
|
211
|
+
height: var(--collapsed-height, 0);
|
|
212
|
+
width: var(--collapsed-width, var(--width));
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
@keyframes moduix-menu-content-open {
|
|
217
|
+
from {
|
|
218
|
+
opacity: 0;
|
|
219
|
+
translate: 0 0;
|
|
220
|
+
transform: scale(var(--moduix-scale-popup));
|
|
221
|
+
}
|
|
222
|
+
to {
|
|
223
|
+
opacity: 1;
|
|
224
|
+
translate: 0 0;
|
|
225
|
+
transform: scale(1);
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
@keyframes moduix-menu-content-closed {
|
|
230
|
+
from {
|
|
231
|
+
opacity: 1;
|
|
232
|
+
translate: 0 0;
|
|
233
|
+
transform: scale(1);
|
|
234
|
+
}
|
|
235
|
+
to {
|
|
236
|
+
opacity: 0;
|
|
237
|
+
translate: 0 0;
|
|
238
|
+
transform: scale(var(--moduix-scale-popup));
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
@keyframes moduix-navigation-menu-content-from-start {
|
|
243
|
+
from {
|
|
244
|
+
opacity: 0;
|
|
245
|
+
translate: -12.5rem 0;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
to {
|
|
249
|
+
opacity: 1;
|
|
250
|
+
translate: 0 0;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
@keyframes moduix-navigation-menu-content-from-end {
|
|
255
|
+
from {
|
|
256
|
+
opacity: 0;
|
|
257
|
+
translate: 12.5rem 0;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
to {
|
|
261
|
+
opacity: 1;
|
|
262
|
+
translate: 0 0;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
@keyframes moduix-navigation-menu-content-to-start {
|
|
267
|
+
from {
|
|
268
|
+
opacity: 1;
|
|
269
|
+
translate: 0 0;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
to {
|
|
273
|
+
opacity: 0;
|
|
274
|
+
translate: -12.5rem 0;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
@keyframes moduix-navigation-menu-content-to-end {
|
|
279
|
+
from {
|
|
280
|
+
opacity: 1;
|
|
281
|
+
translate: 0 0;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
to {
|
|
285
|
+
opacity: 0;
|
|
286
|
+
translate: 12.5rem 0;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
@keyframes moduix-drawer-backdrop-in {
|
|
291
|
+
from {
|
|
292
|
+
opacity: 0;
|
|
293
|
+
backdrop-filter: none;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
@keyframes moduix-drawer-backdrop-out {
|
|
298
|
+
to {
|
|
299
|
+
opacity: 0;
|
|
300
|
+
backdrop-filter: none;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
@keyframes moduix-drawer-content-in-down {
|
|
305
|
+
from {
|
|
306
|
+
transform: translate3d(0, calc(100% + max(1rem, env(safe-area-inset-bottom, 0px))), 0);
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
@keyframes moduix-drawer-content-out-down {
|
|
311
|
+
to {
|
|
312
|
+
transform: translate3d(0, calc(100% + max(1rem, env(safe-area-inset-bottom, 0px))), 0);
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
@keyframes moduix-drawer-content-in-up {
|
|
317
|
+
from {
|
|
318
|
+
transform: translate3d(0, calc(-100% - max(1rem, env(safe-area-inset-top, 0px))), 0);
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
@keyframes moduix-drawer-content-out-up {
|
|
323
|
+
to {
|
|
324
|
+
transform: translate3d(0, calc(-100% - max(1rem, env(safe-area-inset-top, 0px)) - 40px), 0);
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
@keyframes moduix-drawer-content-in-left {
|
|
329
|
+
from {
|
|
330
|
+
transform: translate3d(calc(-100% - max(1rem, env(safe-area-inset-left, 0px))), 0, 0);
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
@keyframes moduix-drawer-content-out-left {
|
|
335
|
+
to {
|
|
336
|
+
transform: translate3d(calc(-100% - max(1rem, env(safe-area-inset-left, 0px))), 0, 0);
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
@keyframes moduix-drawer-content-in-right {
|
|
341
|
+
from {
|
|
342
|
+
transform: translate3d(calc(100% + max(1rem, env(safe-area-inset-right, 0px))), 0, 0);
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
@keyframes moduix-drawer-content-out-right {
|
|
347
|
+
to {
|
|
348
|
+
transform: translate3d(calc(100% + max(1rem, env(safe-area-inset-right, 0px))), 0, 0);
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
|
|
42
352
|
:root {
|
|
43
353
|
--moduix-animation-pulse: moduix-pulse 2.5s ease-in-out infinite;
|
|
44
354
|
--moduix-animation-fade-in: moduix-fade-in var(--moduix-duration-normal) var(--moduix-ease-out);
|
package/dist/styles/style.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer moduix.reset, moduix.tokens, moduix.base, moduix.components;
|
|
1
|
+
@layer theme, base, moduix.reset, moduix.tokens, moduix.base, components, moduix.components, utilities;
|
|
2
2
|
|
|
3
3
|
@import './animations.css' layer(moduix.tokens);
|
|
4
4
|
@import './borders.css' layer(moduix.tokens);
|
|
@@ -11,4 +11,170 @@
|
|
|
11
11
|
@import './transforms.css' layer(moduix.tokens);
|
|
12
12
|
@import './transitions.css' layer(moduix.tokens);
|
|
13
13
|
@import './typography.css' layer(moduix.tokens);
|
|
14
|
-
@import './z-index.css' layer(moduix.tokens);
|
|
14
|
+
@import './z-index.css' layer(moduix.tokens);
|
|
15
|
+
|
|
16
|
+
@theme inline {
|
|
17
|
+
--font-sans: var(--moduix-font-sans);
|
|
18
|
+
--font-mono: var(--moduix-font-mono);
|
|
19
|
+
--font-weight-normal: var(--moduix-weight-regular);
|
|
20
|
+
--font-weight-regular: var(--moduix-weight-regular);
|
|
21
|
+
--font-weight-medium: var(--moduix-weight-medium);
|
|
22
|
+
--font-weight-semibold: var(--moduix-weight-semibold);
|
|
23
|
+
--font-weight-bold: var(--moduix-weight-bold);
|
|
24
|
+
--text-xs: var(--moduix-text-xs);
|
|
25
|
+
--text-xs--line-height: var(--moduix-line-height-text-xs);
|
|
26
|
+
--text-sm: var(--moduix-text-sm);
|
|
27
|
+
--text-sm--line-height: var(--moduix-line-height-text-sm);
|
|
28
|
+
--text-base: var(--moduix-text-md);
|
|
29
|
+
--text-base--line-height: var(--moduix-line-height-text-md);
|
|
30
|
+
--text-md: var(--moduix-text-md);
|
|
31
|
+
--text-md--line-height: var(--moduix-line-height-text-md);
|
|
32
|
+
--text-lg: var(--moduix-text-lg);
|
|
33
|
+
--text-lg--line-height: var(--moduix-line-height-text-lg);
|
|
34
|
+
--text-xl: var(--moduix-text-xl);
|
|
35
|
+
--text-xl--line-height: var(--moduix-line-height-text-xl);
|
|
36
|
+
--text-2xl: var(--moduix-text-2xl);
|
|
37
|
+
--text-2xl--line-height: var(--moduix-line-height-text-2xl);
|
|
38
|
+
--text-3xl: var(--moduix-text-3xl);
|
|
39
|
+
--text-3xl--line-height: var(--moduix-line-height-text-3xl);
|
|
40
|
+
--tracking-text-xs: var(--moduix-tracking-text-xs);
|
|
41
|
+
--tracking-text-sm: var(--moduix-tracking-text-sm);
|
|
42
|
+
--spacing-0: var(--moduix-spacing-0);
|
|
43
|
+
--spacing-0_5: var(--moduix-spacing-0-5);
|
|
44
|
+
--spacing-1: var(--moduix-spacing-1);
|
|
45
|
+
--spacing-1_5: var(--moduix-spacing-1-5);
|
|
46
|
+
--spacing-2: var(--moduix-spacing-2);
|
|
47
|
+
--spacing-2_5: var(--moduix-spacing-2-5);
|
|
48
|
+
--spacing-3: var(--moduix-spacing-3);
|
|
49
|
+
--spacing-3_5: var(--moduix-spacing-3-5);
|
|
50
|
+
--spacing-4: var(--moduix-spacing-4);
|
|
51
|
+
--spacing-4_5: var(--moduix-spacing-4-5);
|
|
52
|
+
--spacing-5: var(--moduix-spacing-5);
|
|
53
|
+
--spacing-6: var(--moduix-spacing-6);
|
|
54
|
+
--spacing-7: var(--moduix-spacing-7);
|
|
55
|
+
--spacing-8: var(--moduix-spacing-8);
|
|
56
|
+
--spacing-10: var(--moduix-spacing-10);
|
|
57
|
+
--spacing-space-xs: var(--moduix-spacing-xs);
|
|
58
|
+
--spacing-space-sm: var(--moduix-spacing-sm);
|
|
59
|
+
--spacing-space-md: var(--moduix-spacing-md);
|
|
60
|
+
--spacing-space-lg: var(--moduix-spacing-lg);
|
|
61
|
+
--spacing-space-xl: var(--moduix-spacing-xl);
|
|
62
|
+
--spacing-space-2xl: var(--moduix-spacing-2xl);
|
|
63
|
+
--spacing-control-xs: var(--moduix-size-xs);
|
|
64
|
+
--spacing-control-sm: var(--moduix-size-sm);
|
|
65
|
+
--spacing-control-md: var(--moduix-size-md);
|
|
66
|
+
--spacing-control-lg: var(--moduix-size-lg);
|
|
67
|
+
--spacing-control-xl: var(--moduix-size-xl);
|
|
68
|
+
--radius-none: var(--moduix-radius-none);
|
|
69
|
+
--radius-xs: var(--moduix-radius-xs);
|
|
70
|
+
--radius-sm: var(--moduix-radius-sm);
|
|
71
|
+
--radius-md: var(--moduix-radius-md);
|
|
72
|
+
--radius-lg: var(--moduix-radius-lg);
|
|
73
|
+
--radius-xl: var(--moduix-radius-xl);
|
|
74
|
+
--radius-full: var(--moduix-radius-full);
|
|
75
|
+
--shadow-sm: var(--moduix-shadow-sm);
|
|
76
|
+
--shadow-md: var(--moduix-shadow-md);
|
|
77
|
+
--shadow-lg: var(--moduix-shadow-lg);
|
|
78
|
+
--ease-in: var(--moduix-ease-in);
|
|
79
|
+
--ease-out: var(--moduix-ease-out);
|
|
80
|
+
--ease-in-out: var(--moduix-ease-in-out);
|
|
81
|
+
--ease-standard: var(--moduix-ease-standard);
|
|
82
|
+
--ease-spring: var(--moduix-ease-spring);
|
|
83
|
+
--ease-emphasized: var(--moduix-ease-emphasized);
|
|
84
|
+
--color-background: var(--moduix-color-background);
|
|
85
|
+
--color-foreground: var(--moduix-color-foreground);
|
|
86
|
+
--color-card: var(--moduix-color-card);
|
|
87
|
+
--color-card-foreground: var(--moduix-color-card-foreground);
|
|
88
|
+
--color-popover: var(--moduix-color-popover);
|
|
89
|
+
--color-popover-foreground: var(--moduix-color-popover-foreground);
|
|
90
|
+
--color-primary: var(--moduix-color-primary);
|
|
91
|
+
--color-primary-foreground: var(--moduix-color-primary-foreground);
|
|
92
|
+
--color-secondary: var(--moduix-color-secondary);
|
|
93
|
+
--color-secondary-foreground: var(--moduix-color-secondary-foreground);
|
|
94
|
+
--color-muted: var(--moduix-color-muted);
|
|
95
|
+
--color-muted-foreground: var(--moduix-color-muted-foreground);
|
|
96
|
+
--color-accent: var(--moduix-color-accent);
|
|
97
|
+
--color-accent-foreground: var(--moduix-color-accent-foreground);
|
|
98
|
+
--color-destructive: var(--moduix-color-destructive);
|
|
99
|
+
--color-destructive-foreground: var(--moduix-color-destructive-foreground);
|
|
100
|
+
--color-success: var(--moduix-color-success);
|
|
101
|
+
--color-warning: var(--moduix-color-warning);
|
|
102
|
+
--color-border: var(--moduix-color-border);
|
|
103
|
+
--color-input: var(--moduix-color-input);
|
|
104
|
+
--color-ring: var(--moduix-color-ring);
|
|
105
|
+
--color-overlay: var(--moduix-color-overlay);
|
|
106
|
+
--color-overlay-foreground: var(--moduix-color-overlay-foreground);
|
|
107
|
+
--color-chart-1: var(--moduix-color-chart-1);
|
|
108
|
+
--color-chart-2: var(--moduix-color-chart-2);
|
|
109
|
+
--color-chart-3: var(--moduix-color-chart-3);
|
|
110
|
+
--color-chart-4: var(--moduix-color-chart-4);
|
|
111
|
+
--color-chart-5: var(--moduix-color-chart-5);
|
|
112
|
+
--color-sidebar: var(--moduix-color-sidebar);
|
|
113
|
+
--color-sidebar-foreground: var(--moduix-color-sidebar-foreground);
|
|
114
|
+
--color-sidebar-primary: var(--moduix-color-sidebar-primary);
|
|
115
|
+
--color-sidebar-primary-foreground: var(--moduix-color-sidebar-primary-foreground);
|
|
116
|
+
--color-sidebar-accent: var(--moduix-color-sidebar-accent);
|
|
117
|
+
--color-sidebar-accent-foreground: var(--moduix-color-sidebar-accent-foreground);
|
|
118
|
+
--color-sidebar-border: var(--moduix-color-sidebar-border);
|
|
119
|
+
--color-sidebar-ring: var(--moduix-color-sidebar-ring);
|
|
120
|
+
--animate-moduix-accordion-open: moduix-accordion-item-content-open
|
|
121
|
+
var(--moduix-transition-default);
|
|
122
|
+
--animate-moduix-accordion-closed: moduix-accordion-item-content-closed
|
|
123
|
+
var(--moduix-transition-default);
|
|
124
|
+
--animate-moduix-accordion-open-horizontal: moduix-accordion-item-content-open-horizontal
|
|
125
|
+
var(--moduix-transition-default);
|
|
126
|
+
--animate-moduix-accordion-closed-horizontal: moduix-accordion-item-content-closed-horizontal
|
|
127
|
+
var(--moduix-transition-default);
|
|
128
|
+
--animate-moduix-swap-fade-enter: moduix-fade-in var(--moduix-transition-slow);
|
|
129
|
+
--animate-moduix-swap-fade-exit: moduix-fade-out var(--moduix-transition-slow);
|
|
130
|
+
--animate-moduix-swap-scale-enter: moduix-swap-scale-enter var(--moduix-transition-slow);
|
|
131
|
+
--animate-moduix-swap-scale-exit: moduix-swap-scale-exit var(--moduix-transition-slow);
|
|
132
|
+
--animate-moduix-swap-rotate-enter: moduix-swap-rotate-enter var(--moduix-transition-slow);
|
|
133
|
+
--animate-moduix-swap-rotate-exit: moduix-swap-rotate-exit var(--moduix-transition-slow);
|
|
134
|
+
--animate-moduix-swap-flip-enter: moduix-swap-flip-enter var(--moduix-transition-slow);
|
|
135
|
+
--animate-moduix-swap-flip-exit: moduix-swap-flip-exit var(--moduix-transition-slow);
|
|
136
|
+
--animate-moduix-marquee-x: moduix-marquee-x var(--marquee-duration) linear var(--marquee-delay)
|
|
137
|
+
var(--marquee-loop-count);
|
|
138
|
+
--animate-moduix-marquee-y: moduix-marquee-y var(--marquee-duration) linear var(--marquee-delay)
|
|
139
|
+
var(--marquee-loop-count);
|
|
140
|
+
--animate-moduix-progress-linear-indeterminate: moduix-progress-linear-indeterminate 1.5s
|
|
141
|
+
ease-in-out infinite;
|
|
142
|
+
--animate-moduix-progress-linear-indeterminate-vertical: moduix-progress-linear-indeterminate-vertical
|
|
143
|
+
1.5s ease-in-out infinite;
|
|
144
|
+
--animate-moduix-collapsible-open: moduix-collapsible-content-open
|
|
145
|
+
var(--moduix-transition-default);
|
|
146
|
+
--animate-moduix-collapsible-closed: moduix-collapsible-content-closed
|
|
147
|
+
var(--moduix-transition-default);
|
|
148
|
+
--animate-moduix-collapsible-open-partial: moduix-collapsible-content-open-partial
|
|
149
|
+
var(--moduix-transition-default);
|
|
150
|
+
--animate-moduix-collapsible-closed-partial: moduix-collapsible-content-closed-partial
|
|
151
|
+
var(--moduix-transition-default);
|
|
152
|
+
--animate-moduix-menu-open: moduix-menu-content-open var(--moduix-transition-default);
|
|
153
|
+
--animate-moduix-menu-closed: moduix-menu-content-closed var(--moduix-transition-default);
|
|
154
|
+
--animate-moduix-navigation-menu-content-from-start: moduix-navigation-menu-content-from-start
|
|
155
|
+
var(--moduix-transition-default) both;
|
|
156
|
+
--animate-moduix-navigation-menu-content-from-end: moduix-navigation-menu-content-from-end
|
|
157
|
+
var(--moduix-transition-default) both;
|
|
158
|
+
--animate-moduix-navigation-menu-content-to-start: moduix-navigation-menu-content-to-start
|
|
159
|
+
var(--moduix-transition-default) both;
|
|
160
|
+
--animate-moduix-navigation-menu-content-to-end: moduix-navigation-menu-content-to-end
|
|
161
|
+
var(--moduix-transition-default) both;
|
|
162
|
+
--animate-moduix-drawer-backdrop-in: moduix-drawer-backdrop-in var(--moduix-transition-spring);
|
|
163
|
+
--animate-moduix-drawer-backdrop-out: moduix-drawer-backdrop-out var(--moduix-transition-spring)
|
|
164
|
+
forwards;
|
|
165
|
+
--animate-moduix-drawer-content-in-down: moduix-drawer-content-in-down
|
|
166
|
+
var(--moduix-transition-spring);
|
|
167
|
+
--animate-moduix-drawer-content-out-down: moduix-drawer-content-out-down
|
|
168
|
+
var(--moduix-transition-spring) forwards;
|
|
169
|
+
--animate-moduix-drawer-content-in-up: moduix-drawer-content-in-up var(--moduix-transition-spring);
|
|
170
|
+
--animate-moduix-drawer-content-out-up: moduix-drawer-content-out-up
|
|
171
|
+
var(--moduix-transition-spring) forwards;
|
|
172
|
+
--animate-moduix-drawer-content-in-left: moduix-drawer-content-in-left
|
|
173
|
+
var(--moduix-transition-spring);
|
|
174
|
+
--animate-moduix-drawer-content-out-left: moduix-drawer-content-out-left
|
|
175
|
+
var(--moduix-transition-spring) forwards;
|
|
176
|
+
--animate-moduix-drawer-content-in-right: moduix-drawer-content-in-right
|
|
177
|
+
var(--moduix-transition-spring);
|
|
178
|
+
--animate-moduix-drawer-content-out-right: moduix-drawer-content-out-right
|
|
179
|
+
var(--moduix-transition-spring) forwards;
|
|
180
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moduix/react",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"description": "React implementation of the moduix component system, built on Ark UI primitives.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accessible",
|
|
@@ -14,6 +14,10 @@
|
|
|
14
14
|
"typescript",
|
|
15
15
|
"ui"
|
|
16
16
|
],
|
|
17
|
+
"homepage": "https://moduix.dev/",
|
|
18
|
+
"bugs": {
|
|
19
|
+
"url": "https://github.com/Blinks44/moduix/issues"
|
|
20
|
+
},
|
|
17
21
|
"license": "MIT",
|
|
18
22
|
"repository": {
|
|
19
23
|
"type": "git",
|
|
@@ -40,7 +44,8 @@
|
|
|
40
44
|
"dist/styles/transitions.css",
|
|
41
45
|
"dist/styles/typography.css",
|
|
42
46
|
"dist/styles/z-index.css",
|
|
43
|
-
"LICENSE.md"
|
|
47
|
+
"LICENSE.md",
|
|
48
|
+
"THIRD_PARTY_NOTICES.md"
|
|
44
49
|
],
|
|
45
50
|
"type": "module",
|
|
46
51
|
"sideEffects": [
|
|
@@ -412,34 +417,31 @@
|
|
|
412
417
|
"dependencies": {
|
|
413
418
|
"@unpic/core": "^1.0.3",
|
|
414
419
|
"@unpic/react": "^1.0.2",
|
|
415
|
-
"
|
|
420
|
+
"@zag-js/hotkeys": "1.43.3",
|
|
421
|
+
"clsx": "^2.1.1",
|
|
422
|
+
"lucide-react": "^1.40.0"
|
|
416
423
|
},
|
|
417
424
|
"devDependencies": {
|
|
418
|
-
"@ark-ui/react": "^5.39.
|
|
419
|
-
"@internationalized/date": "
|
|
425
|
+
"@ark-ui/react": "^5.39.1",
|
|
426
|
+
"@internationalized/date": "3.12.3",
|
|
420
427
|
"@microsoft/api-extractor": "^7.59.0",
|
|
421
|
-
"@rsbuild/core": "^2.2.
|
|
428
|
+
"@rsbuild/core": "^2.2.3",
|
|
422
429
|
"@rsbuild/plugin-react": "^2.1.0",
|
|
423
|
-
"@rslib/core": "^0.
|
|
424
|
-
"@rstest/adapter-rslib": "^0.11.
|
|
425
|
-
"@rstest/core": "^0.11.
|
|
426
|
-
"@storybook/addon-docs": "^10.5.10",
|
|
427
|
-
"@storybook/react": "^10.5.10",
|
|
430
|
+
"@rslib/core": "^1.0.0",
|
|
431
|
+
"@rstest/adapter-rslib": "^0.11.12",
|
|
432
|
+
"@rstest/core": "^0.11.12",
|
|
428
433
|
"@tanstack/charts": "^0.16.0",
|
|
429
434
|
"@testing-library/dom": "^10.4.1",
|
|
430
|
-
"@testing-library/jest-dom": "^
|
|
431
|
-
"@testing-library/react": "^16.3.
|
|
432
|
-
"@testing-library/user-event": "^14.6.
|
|
433
|
-
"@types/node": "^
|
|
435
|
+
"@testing-library/jest-dom": "^7.0.1",
|
|
436
|
+
"@testing-library/react": "^16.3.3",
|
|
437
|
+
"@testing-library/user-event": "^14.6.7",
|
|
438
|
+
"@types/node": "^26.4.1",
|
|
434
439
|
"@types/react": "^19.2.18",
|
|
435
|
-
"@types/react-dom": "^19.2.
|
|
436
|
-
"happy-dom": "^20.
|
|
440
|
+
"@types/react-dom": "^19.2.7",
|
|
441
|
+
"happy-dom": "^20.14.0",
|
|
437
442
|
"react": "^19.2.8",
|
|
438
443
|
"react-dom": "^19.2.8",
|
|
439
|
-
"
|
|
440
|
-
"storybook-addon-rslib": "^3.4.2",
|
|
441
|
-
"storybook-react-rsbuild": "^3.4.2",
|
|
442
|
-
"typescript": "~6.0.3"
|
|
444
|
+
"typescript": "~7.0.2"
|
|
443
445
|
},
|
|
444
446
|
"peerDependencies": {
|
|
445
447
|
"@ark-ui/react": "^5.37.2",
|
|
@@ -454,9 +456,7 @@
|
|
|
454
456
|
},
|
|
455
457
|
"scripts": {
|
|
456
458
|
"build": "rslib",
|
|
457
|
-
"build:storybook": "storybook build",
|
|
458
459
|
"dev": "rslib --watch --no-clean",
|
|
459
|
-
"storybook": "storybook dev -p 6006 --no-open",
|
|
460
460
|
"test": "rstest run",
|
|
461
461
|
"test:watch": "rstest --watch",
|
|
462
462
|
"tsc:check": "tsc --noEmit"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const normalizeClassName: (className: unknown) => string | undefined;
|