@moduix/react 2.1.0 → 2.2.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.
Files changed (96) hide show
  1. package/README.md +13 -14
  2. package/dist/components/accordion/Accordion.css +47 -47
  3. package/dist/components/alert/Alert.css +62 -46
  4. package/dist/components/angle-slider/AngleSlider.css +65 -64
  5. package/dist/components/aspect-ratio/AspectRatio.css +2 -2
  6. package/dist/components/avatar/Avatar.css +26 -26
  7. package/dist/components/badge/Badge.css +34 -34
  8. package/dist/components/bleed/Bleed.css +13 -13
  9. package/dist/components/breadcrumbs/Breadcrumbs.css +28 -28
  10. package/dist/components/button/Button.css +81 -78
  11. package/dist/components/card/Card.css +46 -46
  12. package/dist/components/carousel/Carousel.css +57 -57
  13. package/dist/components/checkbox/Checkbox.css +40 -40
  14. package/dist/components/clipboard/Clipboard.css +68 -59
  15. package/dist/components/close-button/CloseButton.css +17 -17
  16. package/dist/components/collapsible/Collapsible.css +40 -38
  17. package/dist/components/color-picker/ColorPicker.css +155 -151
  18. package/dist/components/combobox/Combobox.css +118 -115
  19. package/dist/components/command-palette/CommandPalette.css +172 -177
  20. package/dist/components/command-palette/CommandPalette.module.js +0 -1
  21. package/dist/components/container/Container.css +12 -12
  22. package/dist/components/date-input/DateInput.css +41 -40
  23. package/dist/components/date-picker/DatePicker.css +174 -172
  24. package/dist/components/dialog/Dialog.css +84 -79
  25. package/dist/components/drawer/Drawer.css +126 -108
  26. package/dist/components/editable/Editable.css +63 -61
  27. package/dist/components/empty/Empty.css +25 -25
  28. package/dist/components/field/Field.css +45 -45
  29. package/dist/components/fieldset/Fieldset.css +22 -22
  30. package/dist/components/file-upload/FileUpload.css +128 -125
  31. package/dist/components/floating-panel/FloatingPanel.css +114 -110
  32. package/dist/components/heading/Heading.css +26 -26
  33. package/dist/components/highlight/Highlight.css +8 -8
  34. package/dist/components/hover-card/HoverCard.css +49 -47
  35. package/dist/components/image/Image.css +2 -2
  36. package/dist/components/image-cropper/ImageCropper.css +63 -60
  37. package/dist/components/input/Input.css +46 -45
  38. package/dist/components/input-group/InputGroup.css +71 -70
  39. package/dist/components/kbd/Kbd.css +16 -16
  40. package/dist/components/lightbox/Lightbox.css +80 -77
  41. package/dist/components/list/List.css +32 -32
  42. package/dist/components/listbox/Listbox.css +120 -117
  43. package/dist/components/marquee/Marquee.css +16 -16
  44. package/dist/components/menu/Menu.css +121 -120
  45. package/dist/components/native-select/NativeSelect.css +42 -41
  46. package/dist/components/number-input/NumberInput.css +59 -56
  47. package/dist/components/pagination/Pagination.css +35 -34
  48. package/dist/components/password-input/PasswordInput.css +60 -59
  49. package/dist/components/pin-input/PinInput.css +35 -35
  50. package/dist/components/popover/Popover.css +81 -77
  51. package/dist/components/progress-circular/ProgressCircular.css +20 -20
  52. package/dist/components/progress-linear/ProgressLinear.css +29 -28
  53. package/dist/components/qr-code/QrCode.css +39 -35
  54. package/dist/components/radio-group/RadioGroup.css +48 -48
  55. package/dist/components/rating-group/RatingGroup.css +30 -30
  56. package/dist/components/scroll-area/ScrollArea.css +34 -34
  57. package/dist/components/segment-group/SegmentGroup.css +37 -37
  58. package/dist/components/select/Select.css +118 -126
  59. package/dist/components/select/Select.d.ts +0 -5
  60. package/dist/components/select/Select.js +0 -8
  61. package/dist/components/select/Select.module.js +0 -1
  62. package/dist/components/separator/Separator.css +13 -13
  63. package/dist/components/sidebar/Sidebar.css +142 -142
  64. package/dist/components/signature-pad/SignaturePad.css +50 -50
  65. package/dist/components/skeleton/Skeleton.css +7 -5
  66. package/dist/components/slider/Slider.css +61 -61
  67. package/dist/components/spinner/Spinner.css +12 -12
  68. package/dist/components/split-button/SplitButton.css +12 -12
  69. package/dist/components/splitter/Splitter.css +63 -62
  70. package/dist/components/splitter/Splitter.js +2 -2
  71. package/dist/components/stack/Stack.css +4 -4
  72. package/dist/components/stack/Stack.js +3 -3
  73. package/dist/components/steps/Steps.css +89 -89
  74. package/dist/components/swap/Swap.css +7 -7
  75. package/dist/components/switch/Switch.css +59 -57
  76. package/dist/components/table/Table.css +58 -56
  77. package/dist/components/tabs/Tabs.css +64 -62
  78. package/dist/components/tag/Tag.css +45 -45
  79. package/dist/components/tags-input/TagsInput.css +92 -86
  80. package/dist/components/text/Text.css +23 -23
  81. package/dist/components/text/Text.js +1 -1
  82. package/dist/components/textarea/Textarea.css +27 -26
  83. package/dist/components/timer/Timer.css +38 -37
  84. package/dist/components/toast/Toast.css +94 -79
  85. package/dist/components/toggle/Toggle.css +66 -66
  86. package/dist/components/toggle-group/ToggleGroup.css +16 -16
  87. package/dist/components/tooltip/Tooltip.css +56 -53
  88. package/dist/components/tour/Tour.css +121 -117
  89. package/dist/components/tree-view/TreeView.css +88 -86
  90. package/dist/components/typeset/Typeset.css +61 -61
  91. package/dist/lib/moduix/presets/contrast.css +59 -60
  92. package/dist/lib/moduix/presets/dense.css +72 -73
  93. package/dist/lib/moduix/presets/soft.css +71 -72
  94. package/dist/lib/moduix/styles/reset.css +1 -1
  95. package/dist/lib/moduix/styles/style.css +230 -226
  96. package/package.json +1 -1
@@ -1,67 +1,67 @@
1
- @layer ui.components {
1
+ @layer moduix.components {
2
2
  ._4OfG0a_trigger {
3
3
  box-sizing: border-box;
4
4
  justify-content: center;
5
5
  align-items: center;
6
- gap: var(--command-palette-trigger-gap, var(--spacing-2));
7
- min-height: var(--command-palette-trigger-height, var(--size-md));
8
- padding: var(--command-palette-trigger-padding-y, var(--spacing-1))
9
- var(--command-palette-trigger-padding-x, var(--spacing-3-5));
10
- border: var(--command-palette-trigger-border-width, var(--border-width-sm)) solid
11
- var(--command-palette-trigger-border-color, var(--color-border));
12
- border-radius: var(--command-palette-trigger-radius, var(--radius-md));
13
- background-color: var(--command-palette-trigger-bg, var(--color-background));
14
- color: var(--command-palette-trigger-color, var(--color-foreground));
6
+ gap: var(--moduix-command-palette-trigger-gap, var(--moduix-spacing-2));
7
+ min-height: var(--moduix-command-palette-trigger-height, var(--moduix-size-md));
8
+ padding: var(--moduix-command-palette-trigger-padding-y, var(--moduix-spacing-1))
9
+ var(--moduix-command-palette-trigger-padding-x, var(--moduix-spacing-3-5));
10
+ border: var(--moduix-command-palette-trigger-border-width, var(--moduix-border-width-sm)) solid
11
+ var(--moduix-command-palette-trigger-border-color, var(--moduix-color-border));
12
+ border-radius: var(--moduix-command-palette-trigger-radius, var(--moduix-radius-md));
13
+ background-color: var(--moduix-command-palette-trigger-bg, var(--moduix-color-background));
14
+ color: var(--moduix-command-palette-trigger-color, var(--moduix-color-foreground));
15
15
  font: inherit;
16
- font-size: var(--command-palette-trigger-font-size, var(--text-md));
17
- line-height: var(--command-palette-trigger-line-height, var(--line-height-text-md));
16
+ font-size: var(--moduix-command-palette-trigger-font-size, var(--moduix-text-md));
17
+ line-height: var(--moduix-command-palette-trigger-line-height, var(--moduix-line-height-text-md));
18
18
  cursor: pointer;
19
19
  user-select: none;
20
- transition: background-color var(--transition-default),
21
- border-color var(--transition-default),
22
- color var(--transition-default);
20
+ transition: background-color var(--moduix-transition-default),
21
+ border-color var(--moduix-transition-default),
22
+ color var(--moduix-transition-default);
23
23
  margin: 0;
24
24
  display: inline-flex;
25
25
 
26
26
  @media (hover: hover) {
27
27
  &:hover {
28
- background-color: var(--command-palette-trigger-bg-hover, var(--color-accent));
28
+ background-color: var(--moduix-command-palette-trigger-bg-hover, var(--moduix-color-accent));
29
29
  }
30
30
  }
31
31
 
32
32
  &:focus-visible {
33
- outline: var(--command-palette-focus-ring-width, var(--focus-ring-inset-width, var(--border-width-sm)))
34
- solid var(--command-palette-focus-ring-color, var(--color-ring));
35
- outline-offset: calc(var(--command-palette-focus-ring-width, var(--focus-ring-inset-width, var(--border-width-sm))) *
33
+ outline: var(--moduix-command-palette-focus-ring-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm)))
34
+ solid var(--moduix-command-palette-focus-ring-color, var(--moduix-color-ring));
35
+ outline-offset: calc(var(--moduix-command-palette-focus-ring-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm))) *
36
36
  -1);
37
37
  }
38
38
  }
39
39
 
40
40
  ._4OfG0a_backdrop {
41
- z-index: var(--z-backdrop);
42
- background-color: var(--command-palette-backdrop-bg, var(--backdrop-bg, var(--color-overlay)));
41
+ z-index: var(--moduix-z-backdrop);
42
+ background-color: var(--moduix-command-palette-backdrop-bg, var(--moduix-backdrop-bg, var(--moduix-color-overlay)));
43
43
  min-height: 100dvh;
44
- backdrop-filter: var(--backdrop-filter, blur(var(--command-palette-backdrop-blur, 4px)));
44
+ backdrop-filter: var(--moduix-backdrop-filter, blur(var(--moduix-command-palette-backdrop-blur, 4px)));
45
45
  position: fixed;
46
46
  inset: 0;
47
47
 
48
48
  &[data-state="open"] {
49
49
  animation: _4OfG0a_command-palette-backdrop-in
50
- var(--command-palette-backdrop-transition, var(--transition-default));
50
+ var(--moduix-command-palette-backdrop-transition, var(--moduix-transition-default));
51
51
  }
52
52
 
53
53
  &[data-state="closed"] {
54
54
  animation: _4OfG0a_command-palette-backdrop-out
55
- var(--command-palette-backdrop-transition, var(--transition-default));
55
+ var(--moduix-command-palette-backdrop-transition, var(--moduix-transition-default));
56
56
  animation-fill-mode: forwards;
57
57
  }
58
58
  }
59
59
 
60
60
  ._4OfG0a_positioner {
61
61
  box-sizing: border-box;
62
- z-index: var(--z-modal);
62
+ z-index: var(--moduix-z-modal);
63
63
  overscroll-behavior: contain;
64
- padding: var(--command-palette-positioner-padding, 10dvh var(--spacing-4) var(--spacing-4));
64
+ padding: var(--moduix-command-palette-positioner-padding, 10dvh var(--moduix-spacing-4) var(--moduix-spacing-4));
65
65
  place-items: start center;
66
66
  display: grid;
67
67
  position: fixed;
@@ -71,17 +71,17 @@
71
71
 
72
72
  ._4OfG0a_content {
73
73
  box-sizing: border-box;
74
- width: min(var(--command-palette-width, 37.5rem),
75
- var(--command-palette-max-width, calc(100vw - var(--spacing-8, 2rem))));
76
- max-height: min(var(--command-palette-max-height, 34rem), calc(100dvh - 5rem));
77
- border: var(--command-palette-border-width, var(--border-width-sm)) solid
78
- var(--command-palette-border-color, color-mix(in oklab, var(--color-border) 84%, transparent));
79
- border-radius: var(--command-palette-radius, var(--radius-lg));
74
+ width: min(var(--moduix-command-palette-width, 37.5rem),
75
+ var(--moduix-command-palette-max-width, calc(100vw - var(--moduix-spacing-8, 2rem))));
76
+ max-height: min(var(--moduix-command-palette-max-height, 34rem), calc(100dvh - 5rem));
77
+ border: var(--moduix-command-palette-border-width, var(--moduix-border-width-sm)) solid
78
+ var(--moduix-command-palette-border-color, color-mix(in oklab, var(--moduix-color-border) 84%, transparent));
79
+ border-radius: var(--moduix-command-palette-radius, var(--moduix-radius-lg));
80
80
  background: linear-gradient(180deg,
81
- var(--command-palette-top-bg, color-mix(in oklab, var(--color-popover) 96%, white 4%)),
82
- var(--command-palette-bg, var(--color-popover)) 7rem);
83
- color: var(--command-palette-color, var(--color-popover-foreground));
84
- box-shadow: var(--command-palette-shadow, var(--shadow-lg));
81
+ var(--moduix-command-palette-top-bg, color-mix(in oklab, var(--moduix-color-popover) 96%, white 4%)),
82
+ var(--moduix-command-palette-bg, var(--moduix-color-popover)) 7rem);
83
+ color: var(--moduix-command-palette-color, var(--moduix-color-popover-foreground));
84
+ box-shadow: var(--moduix-command-palette-shadow, var(--moduix-shadow-lg));
85
85
  transform-origin: top;
86
86
  outline: 0;
87
87
  flex-direction: column;
@@ -90,51 +90,51 @@
90
90
 
91
91
  &[data-state="open"] {
92
92
  animation: _4OfG0a_command-palette-content-in
93
- var(--command-palette-transition, var(--popup-motion-duration, var(--duration-normal))
94
- var(--popup-motion-easing, var(--ease-in-out)));
93
+ var(--moduix-command-palette-transition, var(--moduix-popup-motion-duration, var(--moduix-duration-normal))
94
+ var(--moduix-popup-motion-easing, var(--moduix-ease-in-out)));
95
95
  }
96
96
 
97
97
  &[data-state="closed"] {
98
98
  animation: _4OfG0a_command-palette-content-out
99
- var(--command-palette-transition, var(--popup-motion-duration, var(--duration-normal))
100
- var(--popup-motion-easing, var(--ease-in-out)));
99
+ var(--moduix-command-palette-transition, var(--moduix-popup-motion-duration, var(--moduix-duration-normal))
100
+ var(--moduix-popup-motion-easing, var(--moduix-ease-in-out)));
101
101
  animation-fill-mode: forwards;
102
102
  }
103
103
  }
104
104
 
105
105
  ._4OfG0a_header {
106
- gap: var(--command-palette-header-gap, var(--spacing-1));
107
- padding: var(--command-palette-header-padding-y, var(--spacing-4))
108
- var(--command-palette-header-padding-x, var(--spacing-4)) 0;
106
+ gap: var(--moduix-command-palette-header-gap, var(--moduix-spacing-1));
107
+ padding: var(--moduix-command-palette-header-padding-y, var(--moduix-spacing-4))
108
+ var(--moduix-command-palette-header-padding-x, var(--moduix-spacing-4)) 0;
109
109
  display: grid;
110
110
  }
111
111
 
112
112
  ._4OfG0a_title {
113
- color: var(--command-palette-title-color, var(--command-palette-color, var(--color-popover-foreground)));
114
- font-size: var(--command-palette-title-font-size, var(--text-md));
115
- font-weight: var(--command-palette-title-font-weight, var(--weight-semibold));
116
- line-height: var(--command-palette-title-line-height, var(--line-height-text-md));
113
+ color: var(--moduix-command-palette-title-color, var(--moduix-command-palette-color, var(--moduix-color-popover-foreground)));
114
+ font-size: var(--moduix-command-palette-title-font-size, var(--moduix-text-md));
115
+ font-weight: var(--moduix-command-palette-title-font-weight, var(--moduix-weight-semibold));
116
+ line-height: var(--moduix-command-palette-title-line-height, var(--moduix-line-height-text-md));
117
117
  margin: 0;
118
118
  }
119
119
 
120
120
  ._4OfG0a_description {
121
- color: var(--command-palette-description-color, var(--color-muted-foreground));
122
- font-size: var(--command-palette-description-font-size, var(--text-sm));
123
- line-height: var(--command-palette-description-line-height, var(--line-height-text-sm));
121
+ color: var(--moduix-command-palette-description-color, var(--moduix-color-muted-foreground));
122
+ font-size: var(--moduix-command-palette-description-font-size, var(--moduix-text-sm));
123
+ line-height: var(--moduix-command-palette-description-line-height, var(--moduix-line-height-text-sm));
124
124
  margin: 0;
125
125
  }
126
126
 
127
127
  ._4OfG0a_clearTrigger {
128
- --close-button-size: var(--command-palette-clear-size, var(--size-sm));
129
- --close-button-radius: var(--command-palette-clear-radius, var(--radius-md));
130
- --close-button-icon-size: var(--command-palette-icon-size, var(--spacing-4));
131
- --close-button-bg: transparent;
132
- --close-button-bg-hover: var(--command-palette-clear-bg-hover, var(--color-accent));
133
- --close-button-color: var(--command-palette-muted-color, var(--color-muted-foreground));
134
- --close-button-color-hover: var(--command-palette-color, var(--color-popover-foreground));
135
- --close-button-focus-ring-width: var(--command-palette-focus-ring-width, var(--border-width-sm));
136
- --close-button-focus-ring-color: var(--command-palette-focus-ring-color, var(--color-ring));
137
- --close-button-focus-ring-offset: var(--command-palette-focus-ring-offset, var(--border-width-sm));
128
+ --moduix-close-button-size: var(--moduix-command-palette-clear-size, var(--moduix-size-sm));
129
+ --moduix-close-button-radius: var(--moduix-command-palette-clear-radius, var(--moduix-radius-md));
130
+ --moduix-close-button-icon-size: var(--moduix-command-palette-icon-size, var(--moduix-spacing-4));
131
+ --moduix-close-button-bg: transparent;
132
+ --moduix-close-button-bg-hover: var(--moduix-command-palette-clear-bg-hover, var(--moduix-color-accent));
133
+ --moduix-close-button-color: var(--moduix-command-palette-muted-color, var(--moduix-color-muted-foreground));
134
+ --moduix-close-button-color-hover: var(--moduix-command-palette-color, var(--moduix-color-popover-foreground));
135
+ --moduix-close-button-focus-ring-width: var(--moduix-command-palette-focus-ring-width, var(--moduix-border-width-sm));
136
+ --moduix-close-button-focus-ring-color: var(--moduix-command-palette-focus-ring-color, var(--moduix-color-ring));
137
+ --moduix-close-button-focus-ring-offset: var(--moduix-command-palette-focus-ring-offset, var(--moduix-border-width-sm));
138
138
  }
139
139
 
140
140
  ._4OfG0a_body {
@@ -144,11 +144,6 @@
144
144
  display: flex;
145
145
  }
146
146
 
147
- ._4OfG0a_iconSvg {
148
- width: var(--command-palette-icon-size, var(--spacing-4));
149
- height: var(--command-palette-icon-size, var(--spacing-4));
150
- }
151
-
152
147
  ._4OfG0a_combobox {
153
148
  flex-direction: column;
154
149
  flex: auto;
@@ -160,26 +155,26 @@
160
155
  ._4OfG0a_control {
161
156
  box-sizing: border-box;
162
157
  align-items: center;
163
- gap: var(--command-palette-input-gap, var(--spacing-2));
164
- min-height: var(--command-palette-input-height, var(--size-md));
165
- margin: var(--command-palette-control-margin-y, var(--spacing-2))
166
- var(--command-palette-control-margin-x, var(--spacing-4))
167
- var(--command-palette-control-margin-bottom, var(--spacing-2));
168
- border: var(--command-palette-input-border-width, var(--border-width-sm)) solid
169
- var(--command-palette-input-border-color, var(--color-border));
170
- border-radius: var(--command-palette-input-radius, var(--radius-md));
171
- padding: var(--command-palette-control-padding-y, var(--spacing-1))
172
- var(--command-palette-control-padding-x, var(--spacing-3));
173
- background-color: var(--command-palette-input-bg, var(--color-background));
174
- color: var(--command-palette-input-color, var(--color-foreground));
175
- transition: background-color var(--transition-default),
176
- border-color var(--transition-default);
158
+ gap: var(--moduix-command-palette-input-gap, var(--moduix-spacing-2));
159
+ min-height: var(--moduix-command-palette-input-height, var(--moduix-size-md));
160
+ margin: var(--moduix-command-palette-control-margin-y, var(--moduix-spacing-2))
161
+ var(--moduix-command-palette-control-margin-x, var(--moduix-spacing-4))
162
+ var(--moduix-command-palette-control-margin-bottom, var(--moduix-spacing-2));
163
+ border: var(--moduix-command-palette-input-border-width, var(--moduix-border-width-sm)) solid
164
+ var(--moduix-command-palette-input-border-color, var(--moduix-color-border));
165
+ border-radius: var(--moduix-command-palette-input-radius, var(--moduix-radius-md));
166
+ padding: var(--moduix-command-palette-control-padding-y, var(--moduix-spacing-1))
167
+ var(--moduix-command-palette-control-padding-x, var(--moduix-spacing-3));
168
+ background-color: var(--moduix-command-palette-input-bg, var(--moduix-color-background));
169
+ color: var(--moduix-command-palette-input-color, var(--moduix-color-foreground));
170
+ transition: background-color var(--moduix-transition-default),
171
+ border-color var(--moduix-transition-default);
177
172
  flex: none;
178
173
  display: flex;
179
174
  position: relative;
180
175
 
181
176
  &:has(._4OfG0a_input:is([data-invalid], [aria-invalid="true"])) {
182
- border-color: var(--command-palette-input-border-color-invalid, var(--color-destructive));
177
+ border-color: var(--moduix-command-palette-input-border-color-invalid, var(--moduix-color-destructive));
183
178
  }
184
179
  }
185
180
 
@@ -187,11 +182,11 @@
187
182
  box-sizing: border-box;
188
183
  width: 100%;
189
184
  min-width: 0;
190
- height: var(--command-palette-input-control-height, auto);
185
+ height: var(--moduix-command-palette-input-control-height, auto);
191
186
  color: inherit;
192
187
  font: inherit;
193
- font-size: var(--command-palette-input-font-size, var(--text-sm));
194
- line-height: var(--command-palette-input-line-height, var(--line-height-text-sm));
188
+ font-size: var(--moduix-command-palette-input-font-size, var(--moduix-text-sm));
189
+ line-height: var(--moduix-command-palette-input-line-height, var(--moduix-line-height-text-sm));
195
190
  background: none;
196
191
  border: 0;
197
192
  outline: 0;
@@ -199,11 +194,11 @@
199
194
  padding: 0;
200
195
 
201
196
  &::placeholder {
202
- color: var(--command-palette-input-placeholder-color, var(--color-muted-foreground));
197
+ color: var(--moduix-command-palette-input-placeholder-color, var(--moduix-color-muted-foreground));
203
198
  }
204
199
 
205
200
  &[data-invalid] {
206
- color: var(--color-destructive);
201
+ color: var(--moduix-color-destructive);
207
202
  }
208
203
  }
209
204
 
@@ -212,11 +207,11 @@
212
207
  padding: 0;
213
208
 
214
209
  &:not(:empty) {
215
- padding: var(--command-palette-empty-padding-y, var(--spacing-3))
216
- var(--command-palette-empty-padding-x, var(--spacing-4));
217
- color: var(--command-palette-muted-color, var(--color-muted-foreground));
218
- font-size: var(--command-palette-empty-font-size, var(--text-sm));
219
- line-height: var(--command-palette-empty-line-height, var(--line-height-text-sm));
210
+ padding: var(--moduix-command-palette-empty-padding-y, var(--moduix-spacing-3))
211
+ var(--moduix-command-palette-empty-padding-x, var(--moduix-spacing-4));
212
+ color: var(--moduix-command-palette-muted-color, var(--moduix-color-muted-foreground));
213
+ font-size: var(--moduix-command-palette-empty-font-size, var(--moduix-text-sm));
214
+ line-height: var(--moduix-command-palette-empty-line-height, var(--moduix-line-height-text-sm));
220
215
  }
221
216
  }
222
217
 
@@ -230,16 +225,16 @@
230
225
  }
231
226
 
232
227
  ._4OfG0a_scrollArea {
233
- --scroll-area-radius: 0;
234
- --scroll-area-scrollbar-margin: var(--command-palette-scrollbar-margin, var(--spacing-1));
235
- --scroll-area-scrollbar-size: var(--command-palette-scrollbar-size, var(--spacing-1-5));
236
- --scroll-area-thumb-bg: var(--command-palette-scrollbar-thumb-bg, var(--color-border));
237
- --scroll-area-content-padding: var(--command-palette-list-padding-y, var(--spacing-2))
238
- calc(var(--command-palette-list-padding-x, var(--spacing-2)) +
239
- var(--scroll-area-scrollbar-size) + var(--scroll-area-scrollbar-margin))
240
- var(--command-palette-list-padding-y, var(--spacing-2))
241
- var(--command-palette-list-padding-x, var(--spacing-2));
242
- --scroll-area-height: auto;
228
+ --moduix-scroll-area-radius: 0;
229
+ --moduix-scroll-area-scrollbar-margin: var(--moduix-command-palette-scrollbar-margin, var(--moduix-spacing-1));
230
+ --moduix-scroll-area-scrollbar-size: var(--moduix-command-palette-scrollbar-size, var(--moduix-spacing-1-5));
231
+ --moduix-scroll-area-thumb-bg: var(--moduix-command-palette-scrollbar-thumb-bg, var(--moduix-color-border));
232
+ --moduix-scroll-area-content-padding: var(--moduix-command-palette-list-padding-y, var(--moduix-spacing-2))
233
+ calc(var(--moduix-command-palette-list-padding-x, var(--moduix-spacing-2)) +
234
+ var(--moduix-scroll-area-scrollbar-size) + var(--moduix-scroll-area-scrollbar-margin))
235
+ var(--moduix-command-palette-list-padding-y, var(--moduix-spacing-2))
236
+ var(--moduix-command-palette-list-padding-x, var(--moduix-spacing-2));
237
+ --moduix-scroll-area-height: auto;
243
238
  width: 100%;
244
239
  min-height: 0;
245
240
  color: inherit;
@@ -247,7 +242,7 @@
247
242
  }
248
243
 
249
244
  ._4OfG0a_scrollViewport {
250
- scroll-padding-block: var(--command-palette-list-scroll-padding-y, var(--spacing-2));
245
+ scroll-padding-block: var(--moduix-command-palette-list-scroll-padding-y, var(--moduix-spacing-2));
251
246
  }
252
247
 
253
248
  ._4OfG0a_scrollContent {
@@ -259,27 +254,27 @@
259
254
  }
260
255
 
261
256
  ._4OfG0a_scrollbar {
262
- --scroll-area-scrollbar-bg: transparent;
257
+ --moduix-scroll-area-scrollbar-bg: transparent;
263
258
  }
264
259
 
265
260
  ._4OfG0a_itemGroup {
266
- gap: var(--command-palette-group-gap, var(--spacing-1));
261
+ gap: var(--moduix-command-palette-group-gap, var(--moduix-spacing-1));
267
262
  display: grid;
268
263
 
269
264
  &:not(:last-child) {
270
- padding-bottom: var(--command-palette-group-padding-bottom, var(--spacing-2));
265
+ padding-bottom: var(--moduix-command-palette-group-padding-bottom, var(--moduix-spacing-2));
271
266
  }
272
267
  }
273
268
 
274
269
  ._4OfG0a_itemGroupLabel {
275
270
  z-index: 1;
276
- padding: var(--command-palette-group-label-padding-y, var(--popup-group-label-padding-y, var(--spacing-1)))
277
- var(--command-palette-group-label-padding-x, var(--spacing-3));
278
- background-color: var(--command-palette-bg, var(--color-popover));
279
- color: var(--command-palette-group-label-color, var(--popup-group-label-color, var(--command-palette-muted-color, var(--color-muted-foreground))));
280
- font-size: var(--command-palette-group-label-font-size, var(--popup-group-label-font-size, var(--text-xs)));
281
- font-weight: var(--command-palette-group-label-font-weight, var(--popup-group-label-font-weight, var(--weight-regular)));
282
- line-height: var(--command-palette-group-label-line-height, var(--popup-group-label-line-height, var(--line-height-text-xs)));
271
+ padding: var(--moduix-command-palette-group-label-padding-y, var(--moduix-popup-group-label-padding-y, var(--moduix-spacing-1)))
272
+ var(--moduix-command-palette-group-label-padding-x, var(--moduix-spacing-3));
273
+ background-color: var(--moduix-command-palette-bg, var(--moduix-color-popover));
274
+ color: var(--moduix-command-palette-group-label-color, var(--moduix-popup-group-label-color, var(--moduix-command-palette-muted-color, var(--moduix-color-muted-foreground))));
275
+ font-size: var(--moduix-command-palette-group-label-font-size, var(--moduix-popup-group-label-font-size, var(--moduix-text-xs)));
276
+ font-weight: var(--moduix-command-palette-group-label-font-weight, var(--moduix-popup-group-label-font-weight, var(--moduix-weight-regular)));
277
+ line-height: var(--moduix-command-palette-group-label-line-height, var(--moduix-popup-group-label-line-height, var(--moduix-line-height-text-xs)));
283
278
  margin: 0;
284
279
  display: block;
285
280
  position: sticky;
@@ -290,15 +285,15 @@
290
285
  box-sizing: border-box;
291
286
  z-index: 0;
292
287
  align-items: center;
293
- gap: var(--command-palette-item-gap, var(--spacing-3));
294
- min-height: var(--command-palette-item-min-height, var(--popup-item-min-height, var(--size-sm)));
295
- padding: var(--command-palette-item-padding-y, var(--popup-item-padding-y, var(--spacing-1)))
296
- var(--command-palette-item-padding-x, var(--popup-item-padding-x-start, var(--spacing-3)));
297
- border-radius: var(--command-palette-item-radius, var(--radius-md));
298
- color: var(--command-palette-item-color, var(--command-palette-color, var(--color-foreground)));
288
+ gap: var(--moduix-command-palette-item-gap, var(--moduix-spacing-3));
289
+ min-height: var(--moduix-command-palette-item-min-height, var(--moduix-popup-item-min-height, var(--moduix-size-sm)));
290
+ padding: var(--moduix-command-palette-item-padding-y, var(--moduix-popup-item-padding-y, var(--moduix-spacing-1)))
291
+ var(--moduix-command-palette-item-padding-x, var(--moduix-popup-item-padding-x-start, var(--moduix-spacing-3)));
292
+ border-radius: var(--moduix-command-palette-item-radius, var(--moduix-radius-md));
293
+ color: var(--moduix-command-palette-item-color, var(--moduix-command-palette-color, var(--moduix-color-foreground)));
299
294
  font: inherit;
300
- font-size: var(--command-palette-item-font-size, var(--popup-item-font-size, var(--text-sm)));
301
- line-height: var(--command-palette-item-line-height, var(--popup-item-line-height, var(--line-height-text-sm)));
295
+ font-size: var(--moduix-command-palette-item-font-size, var(--moduix-popup-item-font-size, var(--moduix-text-sm)));
296
+ line-height: var(--moduix-command-palette-item-line-height, var(--moduix-popup-item-line-height, var(--moduix-line-height-text-sm)));
302
297
  cursor: default;
303
298
  user-select: none;
304
299
  outline: 0;
@@ -307,43 +302,43 @@
307
302
  position: relative;
308
303
 
309
304
  &[data-highlighted] {
310
- color: var(--command-palette-highlight-color, var(--color-foreground));
305
+ color: var(--moduix-command-palette-highlight-color, var(--moduix-color-foreground));
311
306
 
312
307
  &:before {
313
308
  content: "";
314
309
  z-index: -1;
315
310
  border-radius: inherit;
316
- background-color: var(--command-palette-highlight-bg, var(--color-accent));
311
+ background-color: var(--moduix-command-palette-highlight-bg, var(--moduix-color-accent));
317
312
  position: absolute;
318
313
  inset: 0;
319
314
  }
320
315
  }
321
316
 
322
317
  &[data-state="checked"] {
323
- color: var(--command-palette-selected-color, var(--command-palette-highlight-color, inherit));
318
+ color: var(--moduix-command-palette-selected-color, var(--moduix-command-palette-highlight-color, inherit));
324
319
  }
325
320
 
326
321
  &[data-disabled] {
327
- opacity: var(--opacity-disabled);
322
+ opacity: var(--moduix-opacity-disabled);
328
323
  pointer-events: none;
329
324
  }
330
325
  }
331
326
 
332
327
  ._4OfG0a_itemIcon, ._4OfG0a_itemIndicator {
333
- width: var(--command-palette-item-icon-box-size, var(--spacing-8));
334
- height: var(--command-palette-item-icon-box-size, var(--spacing-8));
335
- border: var(--command-palette-item-icon-border-width, var(--border-width-sm)) solid
336
- var(--command-palette-item-icon-border-color, var(--color-border));
337
- border-radius: var(--command-palette-item-icon-radius, var(--radius-md));
338
- background-color: var(--command-palette-item-icon-bg, var(--color-muted));
339
- color: var(--command-palette-item-icon-color, var(--color-muted-foreground));
328
+ width: var(--moduix-command-palette-item-icon-box-size, var(--moduix-spacing-8));
329
+ height: var(--moduix-command-palette-item-icon-box-size, var(--moduix-spacing-8));
330
+ border: var(--moduix-command-palette-item-icon-border-width, var(--moduix-border-width-sm))
331
+ solid var(--moduix-command-palette-item-icon-border-color, var(--moduix-color-border));
332
+ border-radius: var(--moduix-command-palette-item-icon-radius, var(--moduix-radius-md));
333
+ background-color: var(--moduix-command-palette-item-icon-bg, var(--moduix-color-muted));
334
+ color: var(--moduix-command-palette-item-icon-color, var(--moduix-color-muted-foreground));
340
335
  justify-content: center;
341
336
  align-items: center;
342
337
  display: inline-flex;
343
338
 
344
339
  & > svg {
345
- width: var(--command-palette-item-icon-size, var(--spacing-4));
346
- height: var(--command-palette-item-icon-size, var(--spacing-4));
340
+ width: var(--moduix-command-palette-item-icon-size, var(--moduix-spacing-4));
341
+ height: var(--moduix-command-palette-item-icon-size, var(--moduix-spacing-4));
347
342
  }
348
343
  }
349
344
 
@@ -353,13 +348,13 @@
353
348
  justify-self: end;
354
349
 
355
350
  & > svg {
356
- width: var(--command-palette-item-icon-size, var(--spacing-4));
357
- height: var(--command-palette-item-icon-size, var(--spacing-4));
351
+ width: var(--moduix-command-palette-item-icon-size, var(--moduix-spacing-4));
352
+ height: var(--moduix-command-palette-item-icon-size, var(--moduix-spacing-4));
358
353
  }
359
354
  }
360
355
 
361
356
  ._4OfG0a_itemText {
362
- gap: var(--command-palette-item-text-gap, var(--spacing-1));
357
+ gap: var(--moduix-command-palette-item-text-gap, var(--moduix-spacing-1));
363
358
  min-width: 0;
364
359
  display: grid;
365
360
 
@@ -372,88 +367,88 @@
372
367
  }
373
368
 
374
369
  ._4OfG0a_itemLabel {
375
- font-weight: var(--command-palette-item-label-font-weight, var(--weight-medium));
370
+ font-weight: var(--moduix-command-palette-item-label-font-weight, var(--moduix-weight-medium));
376
371
  }
377
372
 
378
373
  ._4OfG0a_itemDescription {
379
- color: var(--command-palette-muted-color, var(--color-muted-foreground));
380
- font-size: var(--command-palette-item-description-font-size, var(--text-xs));
381
- line-height: var(--command-palette-item-description-line-height, var(--line-height-text-xs));
374
+ color: var(--moduix-command-palette-muted-color, var(--moduix-color-muted-foreground));
375
+ font-size: var(--moduix-command-palette-item-description-font-size, var(--moduix-text-xs));
376
+ line-height: var(--moduix-command-palette-item-description-line-height, var(--moduix-line-height-text-xs));
382
377
  }
383
378
 
384
379
  ._4OfG0a_itemMeta {
385
- color: var(--command-palette-muted-color, var(--color-muted-foreground));
386
- font-size: var(--command-palette-item-meta-font-size, var(--text-xs));
387
- line-height: var(--command-palette-item-meta-line-height, var(--line-height-text-xs));
380
+ color: var(--moduix-command-palette-muted-color, var(--moduix-color-muted-foreground));
381
+ font-size: var(--moduix-command-palette-item-meta-font-size, var(--moduix-text-xs));
382
+ line-height: var(--moduix-command-palette-item-meta-line-height, var(--moduix-line-height-text-xs));
388
383
  white-space: nowrap;
389
384
  justify-self: end;
390
385
  }
391
386
 
392
387
  ._4OfG0a_separator {
393
- height: var(--command-palette-divider-width, var(--border-width-sm));
394
- margin: var(--command-palette-separator-margin-y, var(--spacing-2))
395
- var(--command-palette-separator-margin-x, var(--spacing-2));
396
- background-color: var(--command-palette-divider-color, var(--color-border));
388
+ height: var(--moduix-command-palette-divider-width, var(--moduix-border-width-sm));
389
+ margin: var(--moduix-command-palette-separator-margin-y, var(--moduix-spacing-2))
390
+ var(--moduix-command-palette-separator-margin-x, var(--moduix-spacing-2));
391
+ background-color: var(--moduix-command-palette-divider-color, var(--moduix-color-border));
397
392
  }
398
393
 
399
394
  ._4OfG0a_footer {
400
395
  justify-content: space-between;
401
396
  align-items: center;
402
- gap: var(--command-palette-footer-gap, var(--spacing-3));
403
- padding: var(--command-palette-footer-padding-y, var(--spacing-2))
404
- var(--command-palette-footer-padding-x, var(--spacing-4));
405
- border-top: var(--command-palette-divider-width, var(--border-width-sm)) solid
406
- var(--command-palette-divider-color, var(--color-border));
407
- color: var(--command-palette-muted-color, var(--color-muted-foreground));
408
- font-size: var(--command-palette-footer-font-size, var(--text-xs));
409
- line-height: var(--command-palette-footer-line-height, var(--line-height-text-xs));
397
+ gap: var(--moduix-command-palette-footer-gap, var(--moduix-spacing-3));
398
+ padding: var(--moduix-command-palette-footer-padding-y, var(--moduix-spacing-2))
399
+ var(--moduix-command-palette-footer-padding-x, var(--moduix-spacing-4));
400
+ border-top: var(--moduix-command-palette-divider-width, var(--moduix-border-width-sm)) solid
401
+ var(--moduix-command-palette-divider-color, var(--moduix-color-border));
402
+ color: var(--moduix-command-palette-muted-color, var(--moduix-color-muted-foreground));
403
+ font-size: var(--moduix-command-palette-footer-font-size, var(--moduix-text-xs));
404
+ line-height: var(--moduix-command-palette-footer-line-height, var(--moduix-line-height-text-xs));
410
405
  flex: none;
411
406
  display: flex;
412
407
  }
413
408
 
414
409
  ._4OfG0a_kbd {
415
- --kbd-bg: var(--command-palette-kbd-bg, var(--color-muted));
416
- --kbd-border-color: var(--command-palette-kbd-border-color, var(--color-border));
417
- --kbd-border-width: var(--command-palette-kbd-border-width, var(--border-width-sm));
418
- --kbd-color: var(--command-palette-kbd-color, var(--color-muted-foreground));
419
- --kbd-font-family: var(--command-palette-kbd-font-family, var(--font-mono));
420
- --kbd-font-size: var(--command-palette-kbd-font-size, var(--text-xs));
421
- --kbd-height: var(--command-palette-kbd-height, 1.25rem);
422
- --kbd-line-height: var(--command-palette-kbd-line-height, 1rem);
423
- --kbd-min-width: var(--command-palette-kbd-min-width, 1.25rem);
424
- --kbd-padding-x: var(--command-palette-kbd-padding-x, var(--spacing-1));
425
- --kbd-radius: var(--command-palette-kbd-radius, var(--radius-sm));
410
+ --moduix-kbd-bg: var(--moduix-command-palette-kbd-bg, var(--moduix-color-muted));
411
+ --moduix-kbd-border-color: var(--moduix-command-palette-kbd-border-color, var(--moduix-color-border));
412
+ --moduix-kbd-border-width: var(--moduix-command-palette-kbd-border-width, var(--moduix-border-width-sm));
413
+ --moduix-kbd-color: var(--moduix-command-palette-kbd-color, var(--moduix-color-muted-foreground));
414
+ --moduix-kbd-font-family: var(--moduix-command-palette-kbd-font-family, var(--moduix-font-mono));
415
+ --moduix-kbd-font-size: var(--moduix-command-palette-kbd-font-size, var(--moduix-text-xs));
416
+ --moduix-kbd-height: var(--moduix-command-palette-kbd-height, 1.25rem);
417
+ --moduix-kbd-line-height: var(--moduix-command-palette-kbd-line-height, 1rem);
418
+ --moduix-kbd-min-width: var(--moduix-command-palette-kbd-min-width, 1.25rem);
419
+ --moduix-kbd-padding-x: var(--moduix-command-palette-kbd-padding-x, var(--moduix-spacing-1));
420
+ --moduix-kbd-radius: var(--moduix-command-palette-kbd-radius, var(--moduix-radius-sm));
426
421
  }
427
422
 
428
423
  @keyframes _4OfG0a_command-palette-backdrop-in {
429
424
  from {
430
- opacity: var(--command-palette-backdrop-starting-opacity, 0);
431
- backdrop-filter: var(--command-palette-backdrop-starting-blur, none);
425
+ opacity: var(--moduix-command-palette-backdrop-starting-opacity, 0);
426
+ backdrop-filter: var(--moduix-command-palette-backdrop-starting-blur, none);
432
427
  }
433
428
  }
434
429
 
435
430
  @keyframes _4OfG0a_command-palette-backdrop-out {
436
431
  to {
437
- opacity: var(--command-palette-backdrop-ending-opacity, 0);
438
- backdrop-filter: var(--command-palette-backdrop-ending-blur, none);
432
+ opacity: var(--moduix-command-palette-backdrop-ending-opacity, 0);
433
+ backdrop-filter: var(--moduix-command-palette-backdrop-ending-blur, none);
439
434
  }
440
435
  }
441
436
 
442
437
  @keyframes _4OfG0a_command-palette-content-in {
443
438
  from {
444
- opacity: var(--command-palette-content-starting-opacity, var(--popup-motion-starting-opacity, 0));
445
- translate: var(--command-palette-content-starting-translate-x, var(--popup-motion-starting-translate-x, 0))
446
- var(--command-palette-content-starting-translate-y, var(--popup-motion-starting-translate-y, -.75rem));
447
- scale: var(--command-palette-content-starting-scale, var(--popup-motion-starting-scale, var(--scale-popup)));
439
+ opacity: var(--moduix-command-palette-content-starting-opacity, var(--moduix-popup-motion-starting-opacity, 0));
440
+ translate: var(--moduix-command-palette-content-starting-translate-x, var(--moduix-popup-motion-starting-translate-x, 0))
441
+ var(--moduix-command-palette-content-starting-translate-y, var(--moduix-popup-motion-starting-translate-y, -.75rem));
442
+ scale: var(--moduix-command-palette-content-starting-scale, var(--moduix-popup-motion-starting-scale, var(--moduix-scale-popup)));
448
443
  }
449
444
  }
450
445
 
451
446
  @keyframes _4OfG0a_command-palette-content-out {
452
447
  to {
453
- opacity: var(--command-palette-content-ending-opacity, var(--popup-motion-ending-opacity, 0));
454
- translate: var(--command-palette-content-ending-translate-x, var(--popup-motion-ending-translate-x, 0))
455
- var(--command-palette-content-ending-translate-y, var(--popup-motion-ending-translate-y, -.75rem));
456
- scale: var(--command-palette-content-ending-scale, var(--popup-motion-ending-scale, var(--scale-popup)));
448
+ opacity: var(--moduix-command-palette-content-ending-opacity, var(--moduix-popup-motion-ending-opacity, 0));
449
+ translate: var(--moduix-command-palette-content-ending-translate-x, var(--moduix-popup-motion-ending-translate-x, 0))
450
+ var(--moduix-command-palette-content-ending-translate-y, var(--moduix-popup-motion-ending-translate-y, -.75rem));
451
+ scale: var(--moduix-command-palette-content-ending-scale, var(--moduix-popup-motion-ending-scale, var(--moduix-scale-popup)));
457
452
  }
458
453
  }
459
454
  }
@@ -15,7 +15,6 @@ var CommandPalette_module_default = {
15
15
  "empty": "_4OfG0a_empty",
16
16
  "footer": "_4OfG0a_footer",
17
17
  "header": "_4OfG0a_header",
18
- "iconSvg": "_4OfG0a_iconSvg",
19
18
  "input": "_4OfG0a_input",
20
19
  "item": "_4OfG0a_item",
21
20
  "itemDescription": "_4OfG0a_itemDescription",