@moduix/react 2.6.0 → 2.7.1

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 (72) hide show
  1. package/dist/components/accordion/Accordion.js +13 -13
  2. package/dist/components/alert/Alert.js +12 -12
  3. package/dist/components/angle-slider/AngleSlider.js +16 -16
  4. package/dist/components/avatar/Avatar.js +7 -7
  5. package/dist/components/button/Button_module.css +0 -1
  6. package/dist/components/card/Card.js +30 -30
  7. package/dist/components/card/Card_module.css +1 -1
  8. package/dist/components/carousel/Carousel.d.ts +1 -1
  9. package/dist/components/carousel/Carousel.js +22 -22
  10. package/dist/components/chart/Chart.js +19 -19
  11. package/dist/components/checkbox/Checkbox.js +12 -12
  12. package/dist/components/clipboard/Clipboard.js +19 -18
  13. package/dist/components/collapsible/Collapsible.js +11 -11
  14. package/dist/components/color-picker/ColorPicker.js +47 -47
  15. package/dist/components/combobox/Combobox.js +31 -31
  16. package/dist/components/command-palette/CommandPalette.js +49 -49
  17. package/dist/components/container/Container_module.css +1 -1
  18. package/dist/components/date-input/DateInput.js +14 -14
  19. package/dist/components/date-picker/DatePicker.js +51 -51
  20. package/dist/components/dialog/Dialog.js +20 -20
  21. package/dist/components/drawer/Drawer.js +30 -30
  22. package/dist/components/editable/Editable.js +17 -17
  23. package/dist/components/empty/Empty.js +12 -12
  24. package/dist/components/field/Field.js +19 -19
  25. package/dist/components/fieldset/Fieldset.js +10 -10
  26. package/dist/components/file-upload/FileUpload.js +28 -28
  27. package/dist/components/floating-panel/FloatingPanel.d.ts +1 -1
  28. package/dist/components/floating-panel/FloatingPanel.js +22 -22
  29. package/dist/components/floating-panel/index.d.ts +1 -0
  30. package/dist/components/hover-card/HoverCard.d.ts +1 -1
  31. package/dist/components/hover-card/HoverCard.js +11 -11
  32. package/dist/components/hover-card/index.d.ts +1 -0
  33. package/dist/components/image-cropper/ImageCropper.js +14 -14
  34. package/dist/components/kbd/Kbd.js +4 -4
  35. package/dist/components/lightbox/Lightbox.js +25 -25
  36. package/dist/components/listbox/Listbox.js +31 -31
  37. package/dist/components/marquee/Marquee.js +12 -12
  38. package/dist/components/menu/Menu.js +41 -41
  39. package/dist/components/navigation-menu/NavigationMenu.js +24 -24
  40. package/dist/components/number-input/NumberInput.js +16 -16
  41. package/dist/components/pagination/Pagination.js +11 -11
  42. package/dist/components/password-input/PasswordInput.js +13 -13
  43. package/dist/components/pin-input/PinInput.js +11 -11
  44. package/dist/components/popover/Popover.js +25 -25
  45. package/dist/components/progress-circular/ProgressCircular.js +16 -16
  46. package/dist/components/progress-linear/ProgressLinear.js +14 -14
  47. package/dist/components/qr-code/QrCode.js +12 -12
  48. package/dist/components/radio-group/RadioGroup.js +14 -14
  49. package/dist/components/rating-group/RatingGroup.js +11 -11
  50. package/dist/components/segment-group/SegmentGroup.js +14 -14
  51. package/dist/components/select/Select.js +33 -33
  52. package/dist/components/sidebar/Sidebar.js +52 -44
  53. package/dist/components/signature-pad/SignaturePad.js +11 -11
  54. package/dist/components/slider/Slider.js +22 -22
  55. package/dist/components/split-button/SplitButton.d.ts +6 -6
  56. package/dist/components/split-button/SplitButton.js +18 -13
  57. package/dist/components/splitter/Splitter.js +9 -9
  58. package/dist/components/steps/Steps.js +23 -23
  59. package/dist/components/swap/Swap.js +6 -6
  60. package/dist/components/switch/Switch.js +9 -9
  61. package/dist/components/table/Table.js +23 -23
  62. package/dist/components/tabs/Tabs.js +12 -12
  63. package/dist/components/tags-input/TagsInput.js +20 -20
  64. package/dist/components/timer/Timer.js +14 -14
  65. package/dist/components/toast/Toast.js +8 -8
  66. package/dist/components/toc/Toc.js +19 -19
  67. package/dist/components/toggle/Toggle.js +4 -4
  68. package/dist/components/tooltip/Tooltip.js +11 -11
  69. package/dist/components/tour/Tour.js +25 -25
  70. package/dist/components/tree-view/TreeView.js +30 -30
  71. package/dist/styles/animations.css +8 -8
  72. package/package.json +14 -15
@@ -14,11 +14,11 @@ const Combobox_ComboboxRoot = /*#__PURE__*/ forwardRef(function({ className, laz
14
14
  portalRef: portalRef,
15
15
  children: /*#__PURE__*/ jsx(Combobox.Root, {
16
16
  ref: ref,
17
- "data-slot": "combobox-root",
18
17
  className: clsx(Combobox_module.root, className),
19
18
  lazyMount: lazyMount,
20
19
  unmountOnExit: unmountOnExit,
21
- ...props
20
+ ...props,
21
+ "data-slot": "combobox-root"
22
22
  })
23
23
  });
24
24
  });
@@ -28,37 +28,37 @@ const Combobox_ComboboxRootProvider = /*#__PURE__*/ forwardRef(function({ classN
28
28
  portalRef: portalRef,
29
29
  children: /*#__PURE__*/ jsx(Combobox.RootProvider, {
30
30
  ref: ref,
31
- "data-slot": "combobox-root-provider",
32
31
  className: clsx(Combobox_module.root, className),
33
32
  lazyMount: lazyMount,
34
33
  unmountOnExit: unmountOnExit,
35
- ...props
34
+ ...props,
35
+ "data-slot": "combobox-root-provider"
36
36
  })
37
37
  });
38
38
  });
39
39
  const Combobox_ComboboxLabel = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
40
40
  return /*#__PURE__*/ jsx(Combobox.Label, {
41
41
  ref: ref,
42
- "data-slot": "combobox-label",
43
42
  className: clsx(Combobox_module.label, className),
44
- ...props
43
+ ...props,
44
+ "data-slot": "combobox-label"
45
45
  });
46
46
  });
47
47
  const Combobox_ComboboxControl = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
48
48
  return /*#__PURE__*/ jsx(Combobox.Control, {
49
49
  ref: ref,
50
- "data-slot": "combobox-control",
51
50
  className: clsx(Combobox_module.control, className),
52
- ...props
51
+ ...props,
52
+ "data-slot": "combobox-control"
53
53
  });
54
54
  });
55
55
  const Combobox_ComboboxInput = /*#__PURE__*/ forwardRef(function({ asChild, className, ...props }, ref) {
56
56
  return /*#__PURE__*/ jsx(Combobox.Input, {
57
57
  ref: ref,
58
- "data-slot": "combobox-input",
59
58
  asChild: asChild,
60
59
  className: clsx(!asChild && Combobox_module.input, className),
61
- ...props
60
+ ...props,
61
+ "data-slot": "combobox-input"
62
62
  });
63
63
  });
64
64
  const Combobox_ComboboxClearTrigger = /*#__PURE__*/ forwardRef(function({ asChild, className, children, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, ...props }, ref) {
@@ -66,11 +66,11 @@ const Combobox_ComboboxClearTrigger = /*#__PURE__*/ forwardRef(function({ asChil
66
66
  return /*#__PURE__*/ jsx(Combobox.ClearTrigger, {
67
67
  ref: ref,
68
68
  asChild: true,
69
- "data-slot": "combobox-clear-trigger",
70
69
  className: triggerClassName,
71
70
  "aria-label": asChild ? ariaLabel : void 0,
72
71
  "aria-labelledby": asChild ? ariaLabelledBy : void 0,
73
72
  ...props,
73
+ "data-slot": "combobox-clear-trigger",
74
74
  children: asChild ? children : /*#__PURE__*/ jsx(CloseButton.Root, {
75
75
  "aria-label": ariaLabel ?? (null == ariaLabelledBy ? 'Clear selection' : void 0),
76
76
  "aria-labelledby": ariaLabelledBy,
@@ -81,9 +81,9 @@ const Combobox_ComboboxClearTrigger = /*#__PURE__*/ forwardRef(function({ asChil
81
81
  const Combobox_ComboboxTrigger = /*#__PURE__*/ forwardRef(function({ className, children, ...props }, ref) {
82
82
  return /*#__PURE__*/ jsx(Combobox.Trigger, {
83
83
  ref: ref,
84
- "data-slot": "combobox-trigger",
85
84
  className: clsx(Combobox_module.trigger, className),
86
85
  ...props,
86
+ "data-slot": "combobox-trigger",
87
87
  children: children ?? /*#__PURE__*/ jsx(ChevronUpDownIcon, {})
88
88
  });
89
89
  });
@@ -91,82 +91,82 @@ const Combobox_ComboboxPositioner = /*#__PURE__*/ forwardRef(function({ classNam
91
91
  return /*#__PURE__*/ jsx(OverlayPortal, {
92
92
  children: /*#__PURE__*/ jsx(Combobox.Positioner, {
93
93
  ref: ref,
94
- "data-slot": "combobox-positioner",
95
94
  className: clsx(Combobox_module.positioner, className),
96
- ...props
95
+ ...props,
96
+ "data-slot": "combobox-positioner"
97
97
  })
98
98
  });
99
99
  });
100
100
  const Combobox_ComboboxContent = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
101
101
  return /*#__PURE__*/ jsx(Combobox.Content, {
102
102
  ref: ref,
103
- "data-slot": "combobox-content",
104
103
  className: clsx(Combobox_module.content, className),
105
- ...props
104
+ ...props,
105
+ "data-slot": "combobox-content"
106
106
  });
107
107
  });
108
108
  const Combobox_ComboboxEmpty = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
109
109
  return /*#__PURE__*/ jsx(Combobox.Empty, {
110
110
  ref: ref,
111
- "data-slot": "combobox-empty",
112
111
  className: clsx(Combobox_module.empty, className),
113
- ...props
112
+ ...props,
113
+ "data-slot": "combobox-empty"
114
114
  });
115
115
  });
116
116
  const Combobox_ComboboxStatus = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
117
117
  return /*#__PURE__*/ jsx(ark.div, {
118
118
  ref: ref,
119
- "data-slot": "combobox-status",
120
119
  className: clsx(Combobox_module.status, className),
121
- ...props
120
+ ...props,
121
+ "data-slot": "combobox-status"
122
122
  });
123
123
  });
124
124
  const Combobox_ComboboxList = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
125
125
  return /*#__PURE__*/ jsx(Combobox.List, {
126
126
  ref: ref,
127
- "data-slot": "combobox-list",
128
127
  className: clsx(Combobox_module.list, className),
129
- ...props
128
+ ...props,
129
+ "data-slot": "combobox-list"
130
130
  });
131
131
  });
132
132
  const Combobox_ComboboxItemGroup = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
133
133
  return /*#__PURE__*/ jsx(Combobox.ItemGroup, {
134
134
  ref: ref,
135
- "data-slot": "combobox-item-group",
136
135
  className: clsx(Combobox_module.itemGroup, className),
137
- ...props
136
+ ...props,
137
+ "data-slot": "combobox-item-group"
138
138
  });
139
139
  });
140
140
  const Combobox_ComboboxItemGroupLabel = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
141
141
  return /*#__PURE__*/ jsx(Combobox.ItemGroupLabel, {
142
142
  ref: ref,
143
- "data-slot": "combobox-item-group-label",
144
143
  className: clsx(Combobox_module.itemGroupLabel, className),
145
- ...props
144
+ ...props,
145
+ "data-slot": "combobox-item-group-label"
146
146
  });
147
147
  });
148
148
  const Combobox_ComboboxItem = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
149
149
  return /*#__PURE__*/ jsx(Combobox.Item, {
150
150
  ref: ref,
151
- "data-slot": "combobox-item",
152
151
  className: clsx(Combobox_module.item, className),
153
- ...props
152
+ ...props,
153
+ "data-slot": "combobox-item"
154
154
  });
155
155
  });
156
156
  const Combobox_ComboboxItemText = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
157
157
  return /*#__PURE__*/ jsx(Combobox.ItemText, {
158
158
  ref: ref,
159
- "data-slot": "combobox-item-text",
160
159
  className: clsx(Combobox_module.itemText, className),
161
- ...props
160
+ ...props,
161
+ "data-slot": "combobox-item-text"
162
162
  });
163
163
  });
164
164
  const Combobox_ComboboxItemIndicator = /*#__PURE__*/ forwardRef(function({ className, children, ...props }, ref) {
165
165
  return /*#__PURE__*/ jsx(Combobox.ItemIndicator, {
166
166
  ref: ref,
167
- "data-slot": "combobox-item-indicator",
168
167
  className: clsx(Combobox_module.itemIndicator, className),
169
168
  ...props,
169
+ "data-slot": "combobox-item-indicator",
170
170
  children: children ?? /*#__PURE__*/ jsx(CheckIcon, {})
171
171
  });
172
172
  });
@@ -3,7 +3,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
3
  import { Combobox } from "@ark-ui/react/combobox";
4
4
  import { Dialog, useDialog, useDialogContext } from "@ark-ui/react/dialog";
5
5
  import { ark } from "@ark-ui/react/factory";
6
- import { isHotKey } from "@zag-js/hotkeys";
6
+ import { isHotKey } from "@ark-ui/react/hotkeys";
7
7
  import { clsx } from "clsx";
8
8
  import { forwardRef, useEffect } from "react";
9
9
  import { CheckIcon, CloseIcon } from "../../internal/icons/ui/index.js";
@@ -62,18 +62,18 @@ const CommandPalette_CommandPaletteTrigger = /*#__PURE__*/ forwardRef(function({
62
62
  return /*#__PURE__*/ jsx(Dialog.Trigger, {
63
63
  ref: ref,
64
64
  asChild: asChild,
65
- "data-slot": "command-palette-trigger",
66
65
  className: clsx(!asChild && CommandPalette_module.trigger, className),
67
- ...props
66
+ ...props,
67
+ "data-slot": "command-palette-trigger"
68
68
  });
69
69
  });
70
70
  const CommandPalette_CommandPaletteBackdrop = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
71
71
  return /*#__PURE__*/ jsx(OverlayPortal, {
72
72
  children: /*#__PURE__*/ jsx(Dialog.Backdrop, {
73
73
  ref: ref,
74
- "data-slot": "command-palette-backdrop",
75
74
  className: clsx(CommandPalette_module.backdrop, className),
76
- ...props
75
+ ...props,
76
+ "data-slot": "command-palette-backdrop"
77
77
  })
78
78
  });
79
79
  });
@@ -81,18 +81,18 @@ const CommandPalette_CommandPalettePositioner = /*#__PURE__*/ forwardRef(functio
81
81
  return /*#__PURE__*/ jsx(OverlayPortal, {
82
82
  children: /*#__PURE__*/ jsx(Dialog.Positioner, {
83
83
  ref: ref,
84
- "data-slot": "command-palette-positioner",
85
84
  className: clsx(CommandPalette_module.positioner, className),
86
- ...props
85
+ ...props,
86
+ "data-slot": "command-palette-positioner"
87
87
  })
88
88
  });
89
89
  });
90
90
  const CommandPalette_CommandPaletteContent = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
91
91
  return /*#__PURE__*/ jsx(Dialog.Content, {
92
92
  ref: ref,
93
- "data-slot": "command-palette-content",
94
93
  className: clsx(CommandPalette_module.content, className),
95
- ...props
94
+ ...props,
95
+ "data-slot": "command-palette-content"
96
96
  });
97
97
  });
98
98
  const CommandPalette_CommandPalettePanel = /*#__PURE__*/ forwardRef(function({ children, ...props }, ref) {
@@ -114,33 +114,33 @@ const CommandPalette_CommandPalettePanel = /*#__PURE__*/ forwardRef(function({ c
114
114
  const CommandPalette_CommandPaletteTitle = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
115
115
  return /*#__PURE__*/ jsx(Dialog.Title, {
116
116
  ref: ref,
117
- "data-slot": "command-palette-title",
118
117
  className: clsx(CommandPalette_module.title, className),
119
- ...props
118
+ ...props,
119
+ "data-slot": "command-palette-title"
120
120
  });
121
121
  });
122
122
  const CommandPalette_CommandPaletteDescription = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
123
123
  return /*#__PURE__*/ jsx(Dialog.Description, {
124
124
  ref: ref,
125
- "data-slot": "command-palette-description",
126
125
  className: clsx(CommandPalette_module.description, className),
127
- ...props
126
+ ...props,
127
+ "data-slot": "command-palette-description"
128
128
  });
129
129
  });
130
130
  const CommandPalette_CommandPaletteHeader = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
131
131
  return /*#__PURE__*/ jsx(ark.div, {
132
132
  ref: ref,
133
- "data-slot": "command-palette-header",
134
133
  className: clsx(CommandPalette_module.header, className),
135
- ...props
134
+ ...props,
135
+ "data-slot": "command-palette-header"
136
136
  });
137
137
  });
138
138
  const CommandPalette_CommandPaletteBody = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
139
139
  return /*#__PURE__*/ jsx(ark.div, {
140
140
  ref: ref,
141
- "data-slot": "command-palette-body",
142
141
  className: clsx(CommandPalette_module.body, className),
143
- ...props
142
+ ...props,
143
+ "data-slot": "command-palette-body"
144
144
  });
145
145
  });
146
146
  const CommandPalette_CommandPaletteCombobox = /*#__PURE__*/ forwardRef(function({ className, open = true, inputBehavior = 'autohighlight', selectionBehavior = 'preserve', closeOnSelect = true, disableLayer = true, onSelect, ...props }, ref) {
@@ -151,7 +151,6 @@ const CommandPalette_CommandPaletteCombobox = /*#__PURE__*/ forwardRef(function(
151
151
  };
152
152
  return /*#__PURE__*/ jsx(Combobox.Root, {
153
153
  ref: ref,
154
- "data-slot": "command-palette-combobox",
155
154
  className: clsx(CommandPalette_module.combobox, className),
156
155
  open: open,
157
156
  inputBehavior: inputBehavior,
@@ -159,23 +158,24 @@ const CommandPalette_CommandPaletteCombobox = /*#__PURE__*/ forwardRef(function(
159
158
  closeOnSelect: closeOnSelect,
160
159
  disableLayer: disableLayer,
161
160
  onSelect: handleSelect,
162
- ...props
161
+ ...props,
162
+ "data-slot": "command-palette-combobox"
163
163
  });
164
164
  });
165
165
  const CommandPalette_CommandPaletteControl = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
166
166
  return /*#__PURE__*/ jsx(Combobox.Control, {
167
167
  ref: ref,
168
- "data-slot": "command-palette-control",
169
168
  className: clsx(CommandPalette_module.control, className),
170
- ...props
169
+ ...props,
170
+ "data-slot": "command-palette-control"
171
171
  });
172
172
  });
173
173
  const CommandPalette_CommandPaletteInput = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
174
174
  return /*#__PURE__*/ jsx(Combobox.Input, {
175
175
  ref: ref,
176
- "data-slot": "command-palette-input",
177
176
  className: clsx(CommandPalette_module.input, className),
178
- ...props
177
+ ...props,
178
+ "data-slot": "command-palette-input"
179
179
  });
180
180
  });
181
181
  const CommandPalette_CommandPaletteSearch = /*#__PURE__*/ forwardRef(function({ 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, ...props }, ref) {
@@ -220,9 +220,9 @@ const CommandPalette_CommandPaletteClearTrigger = /*#__PURE__*/ forwardRef(funct
220
220
  const CommandPalette_CommandPaletteList = /*#__PURE__*/ forwardRef(function({ className, children, ...props }, ref) {
221
221
  return /*#__PURE__*/ jsx(Combobox.Content, {
222
222
  ref: ref,
223
- "data-slot": "command-palette-list",
224
223
  className: clsx(CommandPalette_module.list, className),
225
224
  ...props,
225
+ "data-slot": "command-palette-list",
226
226
  children: /*#__PURE__*/ jsx(ScrollArea, {
227
227
  "data-slot": "command-palette-scroll-area",
228
228
  className: CommandPalette_module.scrollArea,
@@ -241,106 +241,106 @@ const CommandPalette_CommandPaletteList = /*#__PURE__*/ forwardRef(function({ cl
241
241
  const CommandPalette_CommandPaletteEmpty = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
242
242
  return /*#__PURE__*/ jsx(Combobox.Empty, {
243
243
  ref: ref,
244
- "data-slot": "command-palette-empty",
245
244
  className: clsx(CommandPalette_module.empty, className),
246
- ...props
245
+ ...props,
246
+ "data-slot": "command-palette-empty"
247
247
  });
248
248
  });
249
249
  const CommandPalette_CommandPaletteItemGroup = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
250
250
  return /*#__PURE__*/ jsx(Combobox.ItemGroup, {
251
251
  ref: ref,
252
- "data-slot": "command-palette-item-group",
253
252
  className: clsx(CommandPalette_module.itemGroup, className),
254
- ...props
253
+ ...props,
254
+ "data-slot": "command-palette-item-group"
255
255
  });
256
256
  });
257
257
  const CommandPalette_CommandPaletteItemGroupLabel = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
258
258
  return /*#__PURE__*/ jsx(Combobox.ItemGroupLabel, {
259
259
  ref: ref,
260
- "data-slot": "command-palette-item-group-label",
261
260
  className: clsx(CommandPalette_module.itemGroupLabel, className),
262
- ...props
261
+ ...props,
262
+ "data-slot": "command-palette-item-group-label"
263
263
  });
264
264
  });
265
265
  const CommandPalette_CommandPaletteItem = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
266
266
  return /*#__PURE__*/ jsx(Combobox.Item, {
267
267
  ref: ref,
268
- "data-slot": "command-palette-item",
269
268
  className: clsx(CommandPalette_module.item, className),
270
- ...props
269
+ ...props,
270
+ "data-slot": "command-palette-item"
271
271
  });
272
272
  });
273
273
  const CommandPalette_CommandPaletteItemText = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
274
274
  return /*#__PURE__*/ jsx(Combobox.ItemText, {
275
275
  ref: ref,
276
- "data-slot": "command-palette-item-text",
277
276
  className: clsx(CommandPalette_module.itemText, className),
278
- ...props
277
+ ...props,
278
+ "data-slot": "command-palette-item-text"
279
279
  });
280
280
  });
281
281
  const CommandPalette_CommandPaletteItemIndicator = /*#__PURE__*/ forwardRef(function({ className, children, ...props }, ref) {
282
282
  return /*#__PURE__*/ jsx(Combobox.ItemIndicator, {
283
283
  ref: ref,
284
- "data-slot": "command-palette-item-indicator",
285
284
  className: clsx(CommandPalette_module.itemIndicator, className),
286
285
  ...props,
286
+ "data-slot": "command-palette-item-indicator",
287
287
  children: children ?? /*#__PURE__*/ jsx(CheckIcon, {})
288
288
  });
289
289
  });
290
290
  const CommandPalette_CommandPaletteItemIcon = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
291
291
  return /*#__PURE__*/ jsx(ark.span, {
292
292
  ref: ref,
293
- "data-slot": "command-palette-item-icon",
294
293
  className: clsx(CommandPalette_module.itemIcon, className),
295
- ...props
294
+ ...props,
295
+ "data-slot": "command-palette-item-icon"
296
296
  });
297
297
  });
298
298
  const CommandPalette_CommandPaletteItemLabel = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
299
299
  return /*#__PURE__*/ jsx(ark.span, {
300
300
  ref: ref,
301
- "data-slot": "command-palette-item-label",
302
301
  className: clsx(CommandPalette_module.itemLabel, className),
303
- ...props
302
+ ...props,
303
+ "data-slot": "command-palette-item-label"
304
304
  });
305
305
  });
306
306
  const CommandPalette_CommandPaletteItemDescription = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
307
307
  return /*#__PURE__*/ jsx(ark.span, {
308
308
  ref: ref,
309
- "data-slot": "command-palette-item-description",
310
309
  className: clsx(CommandPalette_module.itemDescription, className),
311
- ...props
310
+ ...props,
311
+ "data-slot": "command-palette-item-description"
312
312
  });
313
313
  });
314
314
  const CommandPalette_CommandPaletteItemMeta = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
315
315
  return /*#__PURE__*/ jsx(ark.span, {
316
316
  ref: ref,
317
- "data-slot": "command-palette-item-meta",
318
317
  className: clsx(CommandPalette_module.itemMeta, className),
319
- ...props
318
+ ...props,
319
+ "data-slot": "command-palette-item-meta"
320
320
  });
321
321
  });
322
322
  const CommandPalette_CommandPaletteSeparator = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
323
323
  return /*#__PURE__*/ jsx(ark.div, {
324
324
  ref: ref,
325
325
  role: "separator",
326
- "data-slot": "command-palette-separator",
327
326
  className: clsx(CommandPalette_module.separator, className),
328
- ...props
327
+ ...props,
328
+ "data-slot": "command-palette-separator"
329
329
  });
330
330
  });
331
331
  const CommandPalette_CommandPaletteFooter = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
332
332
  return /*#__PURE__*/ jsx(ark.div, {
333
333
  ref: ref,
334
- "data-slot": "command-palette-footer",
335
334
  className: clsx(CommandPalette_module.footer, className),
336
- ...props
335
+ ...props,
336
+ "data-slot": "command-palette-footer"
337
337
  });
338
338
  });
339
339
  function CommandPaletteKbd({ className, ...props }) {
340
340
  return /*#__PURE__*/ jsx(Kbd.Root, {
341
- "data-slot": "command-palette-kbd",
342
341
  className: clsx(CommandPalette_module.kbd, className),
343
- ...props
342
+ ...props,
343
+ "data-slot": "command-palette-kbd"
344
344
  });
345
345
  }
346
346
  const CommandPalette = Object.assign(CommandPaletteRoot, {
@@ -32,7 +32,7 @@
32
32
  }
33
33
 
34
34
  .root-U4_b43[data-gutter="none"] {
35
- --_container-gutter: 0;
35
+ --_container-gutter: 0px;
36
36
  }
37
37
 
38
38
  .root-U4_b43[data-gutter="sm"] {
@@ -7,49 +7,49 @@ import DateInput_module from "./DateInput.module.js";
7
7
  const DateInput_DateInputRoot = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
8
8
  return /*#__PURE__*/ jsx(DateInput.Root, {
9
9
  ref: ref,
10
- "data-slot": "date-input-root",
11
10
  className: clsx(DateInput_module.root, className),
12
- ...props
11
+ ...props,
12
+ "data-slot": "date-input-root"
13
13
  });
14
14
  });
15
15
  const DateInput_DateInputRootProvider = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
16
16
  return /*#__PURE__*/ jsx(DateInput.RootProvider, {
17
17
  ref: ref,
18
- "data-slot": "date-input-root-provider",
19
18
  className: clsx(DateInput_module.root, className),
20
- ...props
19
+ ...props,
20
+ "data-slot": "date-input-root-provider"
21
21
  });
22
22
  });
23
23
  const DateInput_DateInputLabel = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
24
24
  return /*#__PURE__*/ jsx(DateInput.Label, {
25
25
  ref: ref,
26
- "data-slot": "date-input-label",
27
26
  className: clsx(DateInput_module.label, className),
28
- ...props
27
+ ...props,
28
+ "data-slot": "date-input-label"
29
29
  });
30
30
  });
31
31
  const DateInput_DateInputControl = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
32
32
  return /*#__PURE__*/ jsx(DateInput.Control, {
33
33
  ref: ref,
34
- "data-slot": "date-input-control",
35
34
  className: clsx(DateInput_module.control, className),
36
- ...props
35
+ ...props,
36
+ "data-slot": "date-input-control"
37
37
  });
38
38
  });
39
39
  const DateInput_DateInputSegmentGroup = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
40
40
  return /*#__PURE__*/ jsx(DateInput.SegmentGroup, {
41
41
  ref: ref,
42
- "data-slot": "date-input-segment-group",
43
42
  className: clsx(DateInput_module.segmentGroup, className),
44
- ...props
43
+ ...props,
44
+ "data-slot": "date-input-segment-group"
45
45
  });
46
46
  });
47
47
  const DateInput_DateInputSegment = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
48
48
  return /*#__PURE__*/ jsx(DateInput.Segment, {
49
49
  ref: ref,
50
- "data-slot": "date-input-segment",
51
50
  className: clsx(DateInput_module.segment, className),
52
- ...props
51
+ ...props,
52
+ "data-slot": "date-input-segment"
53
53
  });
54
54
  });
55
55
  const DateInput_DateInputSegments = /*#__PURE__*/ forwardRef(function(props, ref) {
@@ -65,11 +65,11 @@ const DateInput_DateInputSegments = /*#__PURE__*/ forwardRef(function(props, ref
65
65
  });
66
66
  function DateInputSeparator({ className, 'aria-hidden': ariaHidden = true, role = 'presentation', ...props }) {
67
67
  return /*#__PURE__*/ jsx("span", {
68
- "data-slot": "date-input-separator",
69
68
  "aria-hidden": ariaHidden,
70
69
  role: role,
71
70
  className: clsx(DateInput_module.separator, className),
72
- ...props
71
+ ...props,
72
+ "data-slot": "date-input-separator"
73
73
  });
74
74
  }
75
75
  const DateInput_DateInput = Object.assign(DateInput_DateInputRoot, {