@moduix/solid 1.0.0 → 1.1.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 (119) hide show
  1. package/dist/components/accordion/Accordion.js +19 -13
  2. package/dist/components/accordion/Accordion.jsx +7 -7
  3. package/dist/components/alert/Alert.js +19 -13
  4. package/dist/components/alert/Alert.jsx +6 -6
  5. package/dist/components/angle-slider/AngleSlider.d.ts +2 -6
  6. package/dist/components/angle-slider/AngleSlider.js +21 -16
  7. package/dist/components/angle-slider/AngleSlider.jsx +9 -10
  8. package/dist/components/avatar/Avatar.js +10 -7
  9. package/dist/components/avatar/Avatar.jsx +4 -4
  10. package/dist/components/button/Button.js +0 -5
  11. package/dist/components/button/Button.jsx +1 -3
  12. package/dist/components/button/Button_module.css +1 -3
  13. package/dist/components/card/Card.js +45 -36
  14. package/dist/components/card/Card.jsx +9 -9
  15. package/dist/components/card/Card_module.css +1 -1
  16. package/dist/components/carousel/Carousel.d.ts +1 -1
  17. package/dist/components/carousel/Carousel.js +32 -23
  18. package/dist/components/carousel/Carousel.jsx +12 -13
  19. package/dist/components/checkbox/Checkbox.js +16 -14
  20. package/dist/components/checkbox/Checkbox.jsx +6 -6
  21. package/dist/components/clipboard/Clipboard.js +28 -17
  22. package/dist/components/clipboard/Clipboard.jsx +12 -11
  23. package/dist/components/collapsible/Collapsible.js +16 -11
  24. package/dist/components/collapsible/Collapsible.jsx +6 -6
  25. package/dist/components/color-picker/ColorPicker.js +69 -48
  26. package/dist/components/color-picker/ColorPicker.jsx +28 -28
  27. package/dist/components/combobox/Combobox.js +44 -31
  28. package/dist/components/combobox/Combobox.jsx +18 -18
  29. package/dist/components/command-palette/CommandPalette.js +72 -53
  30. package/dist/components/command-palette/CommandPalette.jsx +29 -32
  31. package/dist/components/container/Container_module.css +1 -1
  32. package/dist/components/date-input/DateInput.js +18 -12
  33. package/dist/components/date-input/DateInput.jsx +7 -7
  34. package/dist/components/date-picker/DatePicker.js +73 -51
  35. package/dist/components/date-picker/DatePicker.jsx +29 -29
  36. package/dist/components/dialog/Dialog.js +30 -20
  37. package/dist/components/dialog/Dialog.jsx +10 -10
  38. package/dist/components/drawer/Drawer.js +45 -30
  39. package/dist/components/drawer/Drawer.jsx +15 -15
  40. package/dist/components/editable/Editable.js +24 -17
  41. package/dist/components/editable/Editable.jsx +10 -10
  42. package/dist/components/file-upload/FileUpload.js +39 -28
  43. package/dist/components/file-upload/FileUpload.jsx +17 -17
  44. package/dist/components/floating-panel/FloatingPanel.js +35 -23
  45. package/dist/components/floating-panel/FloatingPanel.jsx +12 -12
  46. package/dist/components/hover-card/HoverCard.js +16 -11
  47. package/dist/components/hover-card/HoverCard.jsx +6 -6
  48. package/dist/components/image-cropper/ImageCropper.js +21 -14
  49. package/dist/components/image-cropper/ImageCropper.jsx +7 -7
  50. package/dist/components/kbd/Kbd.js +8 -8
  51. package/dist/components/kbd/Kbd.jsx +2 -2
  52. package/dist/components/lightbox/Lightbox.d.ts +1 -0
  53. package/dist/components/lightbox/Lightbox.js +41 -27
  54. package/dist/components/lightbox/Lightbox.jsx +13 -12
  55. package/dist/components/listbox/Listbox.js +48 -32
  56. package/dist/components/listbox/Listbox.jsx +17 -17
  57. package/dist/components/marquee/Marquee.js +18 -12
  58. package/dist/components/marquee/Marquee.jsx +6 -6
  59. package/dist/components/menu/Menu.js +64 -43
  60. package/dist/components/menu/Menu.jsx +24 -24
  61. package/dist/components/navigation-menu/NavigationMenu.js +36 -24
  62. package/dist/components/navigation-menu/NavigationMenu.jsx +12 -12
  63. package/dist/components/number-input/NumberInput.js +19 -14
  64. package/dist/components/number-input/NumberInput.jsx +9 -9
  65. package/dist/components/pagination/Pagination.js +10 -9
  66. package/dist/components/pagination/Pagination.jsx +8 -8
  67. package/dist/components/password-input/PasswordInput.js +16 -11
  68. package/dist/components/password-input/PasswordInput.jsx +6 -6
  69. package/dist/components/pin-input/PinInput.js +15 -10
  70. package/dist/components/pin-input/PinInput.jsx +6 -6
  71. package/dist/components/popover/Popover.js +37 -25
  72. package/dist/components/popover/Popover.jsx +13 -13
  73. package/dist/components/progress-circular/ProgressCircular.js +18 -13
  74. package/dist/components/progress-circular/ProgressCircular.jsx +8 -8
  75. package/dist/components/progress-linear/ProgressLinear.js +21 -14
  76. package/dist/components/progress-linear/ProgressLinear.jsx +7 -7
  77. package/dist/components/qr-code/QrCode.js +8 -7
  78. package/dist/components/qr-code/QrCode.jsx +6 -6
  79. package/dist/components/rating-group/RatingGroup.js +15 -10
  80. package/dist/components/rating-group/RatingGroup.jsx +6 -6
  81. package/dist/components/segment-group/SegmentGroup.js +17 -12
  82. package/dist/components/segment-group/SegmentGroup.jsx +7 -7
  83. package/dist/components/select/Select.js +50 -35
  84. package/dist/components/select/Select.jsx +20 -20
  85. package/dist/components/sidebar/Sidebar.js +73 -43
  86. package/dist/components/sidebar/Sidebar.jsx +35 -27
  87. package/dist/components/signature-pad/SignaturePad.js +16 -12
  88. package/dist/components/signature-pad/SignaturePad.jsx +8 -8
  89. package/dist/components/slider/Slider.js +29 -20
  90. package/dist/components/slider/Slider.jsx +11 -11
  91. package/dist/components/split-button/SplitButton.d.ts +4 -3
  92. package/dist/components/split-button/SplitButton.js +21 -9
  93. package/dist/components/split-button/SplitButton.jsx +14 -7
  94. package/dist/components/splitter/Splitter.js +13 -9
  95. package/dist/components/splitter/Splitter.jsx +5 -5
  96. package/dist/components/steps/Steps.js +34 -23
  97. package/dist/components/steps/Steps.jsx +12 -12
  98. package/dist/components/swap/Swap.js +9 -6
  99. package/dist/components/swap/Swap.jsx +3 -3
  100. package/dist/components/switch/Switch.js +9 -7
  101. package/dist/components/switch/Switch.jsx +5 -5
  102. package/dist/components/tabs/Tabs.js +18 -12
  103. package/dist/components/tabs/Tabs.jsx +6 -6
  104. package/dist/components/tags-input/TagsInput.js +28 -20
  105. package/dist/components/tags-input/TagsInput.jsx +12 -12
  106. package/dist/components/timer/Timer.js +21 -14
  107. package/dist/components/timer/Timer.jsx +7 -7
  108. package/dist/components/toast/Toast.js +11 -9
  109. package/dist/components/toast/Toast.jsx +7 -7
  110. package/dist/components/toc/Toc.js +31 -20
  111. package/dist/components/toc/Toc.jsx +10 -10
  112. package/dist/components/tooltip/Tooltip.js +13 -9
  113. package/dist/components/tooltip/Tooltip.jsx +5 -5
  114. package/dist/components/tour/Tour.js +37 -25
  115. package/dist/components/tour/Tour.jsx +13 -13
  116. package/dist/components/tree-view/TreeView.js +39 -28
  117. package/dist/components/tree-view/TreeView.jsx +17 -17
  118. package/dist/styles/animations.css +8 -8
  119. package/package.json +9 -10
@@ -24,7 +24,7 @@ function DatePickerRoot(props) {
24
24
  const field = useFieldContext();
25
25
  const fieldset = useFieldsetContext();
26
26
  return <OverlayPortalProvider portalled={local.portalled} portalRef={local.portalRef}>
27
- <DatePicker.Root asChild={local.asChild} data-slot="date-picker-root" class={clsx(DatePicker_module.root, local.class)} disabled={local.disabled ?? field?.()?.disabled ?? fieldset?.()?.disabled} invalid={local.invalid ?? field?.()?.invalid ?? fieldset?.()?.invalid} lazyMount={local.lazyMount ?? true} readOnly={local.readOnly ?? field?.()?.readOnly} required={local.required ?? field?.()?.required} unmountOnExit={local.unmountOnExit ?? true} {...others}>
27
+ <DatePicker.Root asChild={local.asChild} class={clsx(DatePicker_module.root, local.class)} disabled={local.disabled ?? field?.()?.disabled ?? fieldset?.()?.disabled} invalid={local.invalid ?? field?.()?.invalid ?? fieldset?.()?.invalid} lazyMount={local.lazyMount ?? true} readOnly={local.readOnly ?? field?.()?.readOnly} required={local.required ?? field?.()?.required} unmountOnExit={local.unmountOnExit ?? true} {...others} data-slot="date-picker-root">
28
28
  {local.children}
29
29
  </DatePicker.Root>
30
30
  </OverlayPortalProvider>;
@@ -40,7 +40,7 @@ function DatePickerRootProvider(props) {
40
40
  'unmountOnExit'
41
41
  ]);
42
42
  return <OverlayPortalProvider portalled={local.portalled} portalRef={local.portalRef}>
43
- <DatePicker.RootProvider asChild={local.asChild} data-slot="date-picker-root-provider" class={clsx(DatePicker_module.root, local.class)} lazyMount={local.lazyMount ?? true} unmountOnExit={local.unmountOnExit ?? true} {...others}>
43
+ <DatePicker.RootProvider asChild={local.asChild} class={clsx(DatePicker_module.root, local.class)} lazyMount={local.lazyMount ?? true} unmountOnExit={local.unmountOnExit ?? true} {...others} data-slot="date-picker-root-provider">
44
44
  {local.children}
45
45
  </DatePicker.RootProvider>
46
46
  </OverlayPortalProvider>;
@@ -49,13 +49,13 @@ function DatePickerLabel(props) {
49
49
  const [local, others] = splitProps(props, [
50
50
  'class'
51
51
  ]);
52
- return <DatePicker.Label data-slot="date-picker-label" class={clsx(DatePicker_module.label, local.class)} {...others}/>;
52
+ return <DatePicker.Label class={clsx(DatePicker_module.label, local.class)} {...others} data-slot="date-picker-label"/>;
53
53
  }
54
54
  function DatePickerControl(props) {
55
55
  const [local, others] = splitProps(props, [
56
56
  'class'
57
57
  ]);
58
- return <DatePicker.Control data-slot="date-picker-control" class={clsx(DatePicker_module.control, local.class)} {...others}/>;
58
+ return <DatePicker.Control class={clsx(DatePicker_module.control, local.class)} {...others} data-slot="date-picker-control"/>;
59
59
  }
60
60
  function DatePickerField(props) {
61
61
  const [local, others] = splitProps(props, [
@@ -94,7 +94,7 @@ function DatePickerInput(props) {
94
94
  const [local, others] = splitProps(props, [
95
95
  'class'
96
96
  ]);
97
- return <DatePicker.Input data-slot="date-picker-input" class={clsx(DatePicker_module.input, local.class)} {...others}/>;
97
+ return <DatePicker.Input class={clsx(DatePicker_module.input, local.class)} {...others} data-slot="date-picker-input"/>;
98
98
  }
99
99
  function DatePickerTrigger(props) {
100
100
  const [local, others] = splitProps(props, [
@@ -103,7 +103,7 @@ function DatePickerTrigger(props) {
103
103
  'class'
104
104
  ]);
105
105
  const resolvedChildren = children(()=>local.children);
106
- return <DatePicker.Trigger asChild={local.asChild} data-slot="date-picker-trigger" class={clsx(!local.asChild && DatePicker_module.trigger, local.class)} {...others}>
106
+ return <DatePicker.Trigger asChild={local.asChild} class={clsx(!local.asChild && DatePicker_module.trigger, local.class)} {...others} data-slot="date-picker-trigger">
107
107
  {resolvedChildren() ?? <CalendarIcon/>}
108
108
  </DatePicker.Trigger>;
109
109
  }
@@ -117,7 +117,7 @@ function DatePickerClearTrigger(props) {
117
117
  ]);
118
118
  const resolvedChildren = children(()=>local.children);
119
119
  const triggerClass = clsx(DatePicker_module.clearTrigger, local.class);
120
- if (local.asChild) return <DatePicker.ClearTrigger asChild={local.asChild} aria-label={local['aria-label']} aria-labelledby={local['aria-labelledby']} data-slot="date-picker-clear-trigger" class={triggerClass} {...others}>
120
+ if (local.asChild) return <DatePicker.ClearTrigger asChild={local.asChild} aria-label={local['aria-label']} aria-labelledby={local['aria-labelledby']} class={triggerClass} {...others} data-slot="date-picker-clear-trigger">
121
121
  {local.children}
122
122
  </DatePicker.ClearTrigger>;
123
123
  return <DatePicker.ClearTrigger asChild={(triggerProps)=>{
@@ -129,33 +129,33 @@ function DatePickerClearTrigger(props) {
129
129
  }}>
130
130
  {resolvedChildren()}
131
131
  </CloseButton.Root>;
132
- }} data-slot="date-picker-clear-trigger" class={triggerClass} {...others}/>;
132
+ }} class={triggerClass} {...others} data-slot="date-picker-clear-trigger"/>;
133
133
  }
134
134
  function DatePickerPositioner(props) {
135
135
  const [local, others] = splitProps(props, [
136
136
  'class'
137
137
  ]);
138
138
  return <OverlayPortal>
139
- <DatePicker.Positioner data-slot="date-picker-positioner" class={clsx(DatePicker_module.positioner, local.class)} {...others}/>
139
+ <DatePicker.Positioner class={clsx(DatePicker_module.positioner, local.class)} {...others} data-slot="date-picker-positioner"/>
140
140
  </OverlayPortal>;
141
141
  }
142
142
  function DatePickerContent(props) {
143
143
  const [local, others] = splitProps(props, [
144
144
  'class'
145
145
  ]);
146
- return <DatePicker.Content data-slot="date-picker-content" class={clsx(DatePicker_module.content, local.class)} {...others}/>;
146
+ return <DatePicker.Content class={clsx(DatePicker_module.content, local.class)} {...others} data-slot="date-picker-content"/>;
147
147
  }
148
148
  function DatePickerView(props) {
149
149
  const [local, others] = splitProps(props, [
150
150
  'class'
151
151
  ]);
152
- return <DatePicker.View data-slot="date-picker-view" class={clsx(DatePicker_module.view, local.class)} {...others}/>;
152
+ return <DatePicker.View class={clsx(DatePicker_module.view, local.class)} {...others} data-slot="date-picker-view"/>;
153
153
  }
154
154
  function DatePickerViewControl(props) {
155
155
  const [local, others] = splitProps(props, [
156
156
  'class'
157
157
  ]);
158
- return <DatePicker.ViewControl data-slot="date-picker-view-control" class={clsx(DatePicker_module.viewControl, local.class)} {...others}/>;
158
+ return <DatePicker.ViewControl class={clsx(DatePicker_module.viewControl, local.class)} {...others} data-slot="date-picker-view-control"/>;
159
159
  }
160
160
  function DatePickerPrevTrigger(props) {
161
161
  const [local, others] = splitProps(props, [
@@ -164,7 +164,7 @@ function DatePickerPrevTrigger(props) {
164
164
  'class'
165
165
  ]);
166
166
  const resolvedChildren = children(()=>local.children);
167
- return <DatePicker.PrevTrigger asChild={local.asChild} data-slot="date-picker-prev-trigger" class={clsx(!local.asChild && DatePicker_module.navTrigger, local.class)} {...others}>
167
+ return <DatePicker.PrevTrigger asChild={local.asChild} class={clsx(!local.asChild && DatePicker_module.navTrigger, local.class)} {...others} data-slot="date-picker-prev-trigger">
168
168
  {resolvedChildren() ?? <ChevronLeftIcon/>}
169
169
  </DatePicker.PrevTrigger>;
170
170
  }
@@ -175,7 +175,7 @@ function DatePickerNextTrigger(props) {
175
175
  'class'
176
176
  ]);
177
177
  const resolvedChildren = children(()=>local.children);
178
- return <DatePicker.NextTrigger asChild={local.asChild} data-slot="date-picker-next-trigger" class={clsx(!local.asChild && DatePicker_module.navTrigger, local.class)} {...others}>
178
+ return <DatePicker.NextTrigger asChild={local.asChild} class={clsx(!local.asChild && DatePicker_module.navTrigger, local.class)} {...others} data-slot="date-picker-next-trigger">
179
179
  {resolvedChildren() ?? <ChevronRightIcon/>}
180
180
  </DatePicker.NextTrigger>;
181
181
  }
@@ -183,7 +183,7 @@ function DatePickerRangeText(props) {
183
183
  const [local, others] = splitProps(props, [
184
184
  'class'
185
185
  ]);
186
- return <DatePicker.RangeText data-slot="date-picker-range-text" class={clsx(DatePicker_module.rangeText, local.class)} {...others}/>;
186
+ return <DatePicker.RangeText class={clsx(DatePicker_module.rangeText, local.class)} {...others} data-slot="date-picker-range-text"/>;
187
187
  }
188
188
  function DatePickerViewTrigger(props) {
189
189
  const [local, others] = splitProps(props, [
@@ -192,7 +192,7 @@ function DatePickerViewTrigger(props) {
192
192
  'class'
193
193
  ]);
194
194
  const resolvedChildren = children(()=>local.children);
195
- return <DatePicker.ViewTrigger asChild={local.asChild} data-slot="date-picker-view-trigger" class={clsx(!local.asChild && DatePicker_module.viewTrigger, local.class)} {...others}>
195
+ return <DatePicker.ViewTrigger asChild={local.asChild} class={clsx(!local.asChild && DatePicker_module.viewTrigger, local.class)} {...others} data-slot="date-picker-view-trigger">
196
196
  {resolvedChildren() ?? <>
197
197
  <DatePickerRangeText/>
198
198
  <ChevronDownIcon/>
@@ -203,55 +203,55 @@ function DatePickerTable(props) {
203
203
  const [local, others] = splitProps(props, [
204
204
  'class'
205
205
  ]);
206
- return <DatePicker.Table data-slot="date-picker-table" class={clsx(DatePicker_module.table, local.class)} {...others}/>;
206
+ return <DatePicker.Table class={clsx(DatePicker_module.table, local.class)} {...others} data-slot="date-picker-table"/>;
207
207
  }
208
208
  function DatePickerTableHead(props) {
209
209
  const [local, others] = splitProps(props, [
210
210
  'class'
211
211
  ]);
212
- return <DatePicker.TableHead data-slot="date-picker-table-head" class={local.class} {...others}/>;
212
+ return <DatePicker.TableHead class={local.class} {...others} data-slot="date-picker-table-head"/>;
213
213
  }
214
214
  function DatePickerTableBody(props) {
215
215
  const [local, others] = splitProps(props, [
216
216
  'class'
217
217
  ]);
218
- return <DatePicker.TableBody data-slot="date-picker-table-body" class={local.class} {...others}/>;
218
+ return <DatePicker.TableBody class={local.class} {...others} data-slot="date-picker-table-body"/>;
219
219
  }
220
220
  function DatePickerTableRow(props) {
221
221
  const [local, others] = splitProps(props, [
222
222
  'class'
223
223
  ]);
224
- return <DatePicker.TableRow data-slot="date-picker-table-row" class={local.class} {...others}/>;
224
+ return <DatePicker.TableRow class={local.class} {...others} data-slot="date-picker-table-row"/>;
225
225
  }
226
226
  function DatePickerTableHeader(props) {
227
227
  const [local, others] = splitProps(props, [
228
228
  'class'
229
229
  ]);
230
- return <DatePicker.TableHeader data-slot="date-picker-table-header" class={clsx(DatePicker_module.tableHeader, local.class)} {...others}/>;
230
+ return <DatePicker.TableHeader class={clsx(DatePicker_module.tableHeader, local.class)} {...others} data-slot="date-picker-table-header"/>;
231
231
  }
232
232
  function DatePickerWeekNumberHeaderCell(props) {
233
233
  const [local, others] = splitProps(props, [
234
234
  'class'
235
235
  ]);
236
- return <DatePicker.WeekNumberHeaderCell data-slot="date-picker-week-number-header-cell" class={clsx(DatePicker_module.tableHeader, DatePicker_module.weekNumberCell, local.class)} {...others}/>;
236
+ return <DatePicker.WeekNumberHeaderCell class={clsx(DatePicker_module.tableHeader, DatePicker_module.weekNumberCell, local.class)} {...others} data-slot="date-picker-week-number-header-cell"/>;
237
237
  }
238
238
  function DatePickerWeekNumberCell(props) {
239
239
  const [local, others] = splitProps(props, [
240
240
  'class'
241
241
  ]);
242
- return <DatePicker.WeekNumberCell data-slot="date-picker-week-number-cell" class={clsx(DatePicker_module.weekNumberCell, local.class)} {...others}/>;
242
+ return <DatePicker.WeekNumberCell class={clsx(DatePicker_module.weekNumberCell, local.class)} {...others} data-slot="date-picker-week-number-cell"/>;
243
243
  }
244
244
  function DatePickerTableCell(props) {
245
245
  const [local, others] = splitProps(props, [
246
246
  'class'
247
247
  ]);
248
- return <DatePicker.TableCell data-slot="date-picker-table-cell" class={clsx(DatePicker_module.tableCell, local.class)} {...others}/>;
248
+ return <DatePicker.TableCell class={clsx(DatePicker_module.tableCell, local.class)} {...others} data-slot="date-picker-table-cell"/>;
249
249
  }
250
250
  function DatePickerTableCellTrigger(props) {
251
251
  const [local, others] = splitProps(props, [
252
252
  'class'
253
253
  ]);
254
- return <DatePicker.TableCellTrigger data-slot="date-picker-table-cell-trigger" class={clsx(DatePicker_module.tableCellTrigger, local.class)} {...others}/>;
254
+ return <DatePicker.TableCellTrigger class={clsx(DatePicker_module.tableCellTrigger, local.class)} {...others} data-slot="date-picker-table-cell-trigger"/>;
255
255
  }
256
256
  function DatePickerDayTable(props) {
257
257
  const [local, others] = splitProps(props, [
@@ -303,26 +303,26 @@ function DatePickerMonthSelect(props) {
303
303
  const [local, others] = splitProps(props, [
304
304
  'class'
305
305
  ]);
306
- return <DatePicker.MonthSelect data-slot="date-picker-month-select" class={clsx(DatePicker_module.select, local.class)} {...others}/>;
306
+ return <DatePicker.MonthSelect class={clsx(DatePicker_module.select, local.class)} {...others} data-slot="date-picker-month-select"/>;
307
307
  }
308
308
  function DatePickerYearSelect(props) {
309
309
  const [local, others] = splitProps(props, [
310
310
  'class'
311
311
  ]);
312
- return <DatePicker.YearSelect data-slot="date-picker-year-select" class={clsx(DatePicker_module.select, local.class)} {...others}/>;
312
+ return <DatePicker.YearSelect class={clsx(DatePicker_module.select, local.class)} {...others} data-slot="date-picker-year-select"/>;
313
313
  }
314
314
  function DatePickerPresetTrigger(props) {
315
315
  const [local, others] = splitProps(props, [
316
316
  'asChild',
317
317
  'class'
318
318
  ]);
319
- return <DatePicker.PresetTrigger asChild={local.asChild} data-slot="date-picker-preset-trigger" class={clsx(!local.asChild && DatePicker_module.presetTrigger, local.class)} {...others}/>;
319
+ return <DatePicker.PresetTrigger asChild={local.asChild} class={clsx(!local.asChild && DatePicker_module.presetTrigger, local.class)} {...others} data-slot="date-picker-preset-trigger"/>;
320
320
  }
321
321
  function DatePickerValueText(props) {
322
322
  const [local, others] = splitProps(props, [
323
323
  'class'
324
324
  ]);
325
- return <DatePicker.ValueText data-slot="date-picker-value-text" class={clsx(DatePicker_module.valueText, local.class)} {...others}/>;
325
+ return <DatePicker.ValueText class={clsx(DatePicker_module.valueText, local.class)} {...others} data-slot="date-picker-value-text"/>;
326
326
  }
327
327
  const DatePicker_DatePicker = Object.assign(DatePickerRoot, {
328
328
  Root: DatePickerRoot,
@@ -78,11 +78,12 @@ function DialogTrigger(props) {
78
78
  get asChild () {
79
79
  return local.asChild;
80
80
  },
81
- "data-slot": "dialog-trigger",
82
81
  get ["class"] () {
83
82
  return clsx(!local.asChild && Dialog_module.trigger, local.class);
84
83
  }
85
- }, others));
84
+ }, others, {
85
+ "data-slot": "dialog-trigger"
86
+ }));
86
87
  }
87
88
  function DialogBackdrop(props) {
88
89
  const [local, others] = splitProps(props, [
@@ -91,11 +92,12 @@ function DialogBackdrop(props) {
91
92
  return createComponent(OverlayPortal, {
92
93
  get children () {
93
94
  return createComponent(Dialog.Backdrop, mergeProps({
94
- "data-slot": "dialog-backdrop",
95
95
  get ["class"] () {
96
96
  return clsx(Dialog_module.backdrop, local.class);
97
97
  }
98
- }, others));
98
+ }, others, {
99
+ "data-slot": "dialog-backdrop"
100
+ }));
99
101
  }
100
102
  });
101
103
  }
@@ -106,11 +108,12 @@ function DialogPositioner(props) {
106
108
  return createComponent(OverlayPortal, {
107
109
  get children () {
108
110
  return createComponent(Dialog.Positioner, mergeProps({
109
- "data-slot": "dialog-positioner",
110
111
  get ["class"] () {
111
112
  return clsx(Dialog_module.positioner, local.class);
112
113
  }
113
- }, others));
114
+ }, others, {
115
+ "data-slot": "dialog-positioner"
116
+ }));
114
117
  }
115
118
  });
116
119
  }
@@ -119,33 +122,36 @@ function DialogContent(props) {
119
122
  'class'
120
123
  ]);
121
124
  return createComponent(Dialog.Content, mergeProps({
122
- "data-slot": "dialog-content",
123
125
  get ["class"] () {
124
126
  return clsx(Dialog_module.content, local.class);
125
127
  }
126
- }, others));
128
+ }, others, {
129
+ "data-slot": "dialog-content"
130
+ }));
127
131
  }
128
132
  function DialogTitle(props) {
129
133
  const [local, others] = splitProps(props, [
130
134
  'class'
131
135
  ]);
132
136
  return createComponent(Dialog.Title, mergeProps({
133
- "data-slot": "dialog-title",
134
137
  get ["class"] () {
135
138
  return clsx(Dialog_module.title, local.class);
136
139
  }
137
- }, others));
140
+ }, others, {
141
+ "data-slot": "dialog-title"
142
+ }));
138
143
  }
139
144
  function DialogDescription(props) {
140
145
  const [local, others] = splitProps(props, [
141
146
  'class'
142
147
  ]);
143
148
  return createComponent(Dialog.Description, mergeProps({
144
- "data-slot": "dialog-description",
145
149
  get ["class"] () {
146
150
  return clsx(Dialog_module.description, local.class);
147
151
  }
148
- }, others));
152
+ }, others, {
153
+ "data-slot": "dialog-description"
154
+ }));
149
155
  }
150
156
  function DialogCloseTrigger(props) {
151
157
  const [local, others] = splitProps(props, [
@@ -156,11 +162,12 @@ function DialogCloseTrigger(props) {
156
162
  get asChild () {
157
163
  return local.asChild;
158
164
  },
159
- "data-slot": "dialog-close-trigger",
160
165
  get ["class"] () {
161
166
  return clsx(!local.asChild && Dialog_module.closeTrigger, local.class);
162
167
  }
163
- }, others));
168
+ }, others, {
169
+ "data-slot": "dialog-close-trigger"
170
+ }));
164
171
  }
165
172
  function DialogCloseIcon(props) {
166
173
  const [local, others] = splitProps(props, [
@@ -193,33 +200,36 @@ function DialogHeader(props) {
193
200
  'class'
194
201
  ]);
195
202
  return createComponent(ark.div, mergeProps({
196
- "data-slot": "dialog-header",
197
203
  get ["class"] () {
198
204
  return clsx(Dialog_module.header, local.class);
199
205
  }
200
- }, others));
206
+ }, others, {
207
+ "data-slot": "dialog-header"
208
+ }));
201
209
  }
202
210
  function DialogBody(props) {
203
211
  const [local, others] = splitProps(props, [
204
212
  'class'
205
213
  ]);
206
214
  return createComponent(ark.div, mergeProps({
207
- "data-slot": "dialog-body",
208
215
  get ["class"] () {
209
216
  return clsx(Dialog_module.body, local.class);
210
217
  }
211
- }, others));
218
+ }, others, {
219
+ "data-slot": "dialog-body"
220
+ }));
212
221
  }
213
222
  function DialogFooter(props) {
214
223
  const [local, others] = splitProps(props, [
215
224
  'class'
216
225
  ]);
217
226
  return createComponent(ark.div, mergeProps({
218
- "data-slot": "dialog-footer",
219
227
  get ["class"] () {
220
228
  return clsx(Dialog_module.footer, local.class);
221
229
  }
222
- }, others));
230
+ }, others, {
231
+ "data-slot": "dialog-footer"
232
+ }));
223
233
  }
224
234
  const Dialog_Dialog = Object.assign(DialogRoot, {
225
235
  Root: DialogRoot,
@@ -39,14 +39,14 @@ function DialogTrigger(props) {
39
39
  'asChild',
40
40
  'class'
41
41
  ]);
42
- return <Dialog.Trigger asChild={local.asChild} data-slot="dialog-trigger" class={clsx(!local.asChild && Dialog_module.trigger, local.class)} {...others}/>;
42
+ return <Dialog.Trigger asChild={local.asChild} class={clsx(!local.asChild && Dialog_module.trigger, local.class)} {...others} data-slot="dialog-trigger"/>;
43
43
  }
44
44
  function DialogBackdrop(props) {
45
45
  const [local, others] = splitProps(props, [
46
46
  'class'
47
47
  ]);
48
48
  return <OverlayPortal>
49
- <Dialog.Backdrop data-slot="dialog-backdrop" class={clsx(Dialog_module.backdrop, local.class)} {...others}/>
49
+ <Dialog.Backdrop class={clsx(Dialog_module.backdrop, local.class)} {...others} data-slot="dialog-backdrop"/>
50
50
  </OverlayPortal>;
51
51
  }
52
52
  function DialogPositioner(props) {
@@ -54,33 +54,33 @@ function DialogPositioner(props) {
54
54
  'class'
55
55
  ]);
56
56
  return <OverlayPortal>
57
- <Dialog.Positioner data-slot="dialog-positioner" class={clsx(Dialog_module.positioner, local.class)} {...others}/>
57
+ <Dialog.Positioner class={clsx(Dialog_module.positioner, local.class)} {...others} data-slot="dialog-positioner"/>
58
58
  </OverlayPortal>;
59
59
  }
60
60
  function DialogContent(props) {
61
61
  const [local, others] = splitProps(props, [
62
62
  'class'
63
63
  ]);
64
- return <Dialog.Content data-slot="dialog-content" class={clsx(Dialog_module.content, local.class)} {...others}/>;
64
+ return <Dialog.Content class={clsx(Dialog_module.content, local.class)} {...others} data-slot="dialog-content"/>;
65
65
  }
66
66
  function DialogTitle(props) {
67
67
  const [local, others] = splitProps(props, [
68
68
  'class'
69
69
  ]);
70
- return <Dialog.Title data-slot="dialog-title" class={clsx(Dialog_module.title, local.class)} {...others}/>;
70
+ return <Dialog.Title class={clsx(Dialog_module.title, local.class)} {...others} data-slot="dialog-title"/>;
71
71
  }
72
72
  function DialogDescription(props) {
73
73
  const [local, others] = splitProps(props, [
74
74
  'class'
75
75
  ]);
76
- return <Dialog.Description data-slot="dialog-description" class={clsx(Dialog_module.description, local.class)} {...others}/>;
76
+ return <Dialog.Description class={clsx(Dialog_module.description, local.class)} {...others} data-slot="dialog-description"/>;
77
77
  }
78
78
  function DialogCloseTrigger(props) {
79
79
  const [local, others] = splitProps(props, [
80
80
  'asChild',
81
81
  'class'
82
82
  ]);
83
- return <Dialog.CloseTrigger asChild={local.asChild} data-slot="dialog-close-trigger" class={clsx(!local.asChild && Dialog_module.closeTrigger, local.class)} {...others}/>;
83
+ return <Dialog.CloseTrigger asChild={local.asChild} class={clsx(!local.asChild && Dialog_module.closeTrigger, local.class)} {...others} data-slot="dialog-close-trigger"/>;
84
84
  }
85
85
  function DialogCloseIcon(props) {
86
86
  const [local, others] = splitProps(props, [
@@ -98,19 +98,19 @@ function DialogHeader(props) {
98
98
  const [local, others] = splitProps(props, [
99
99
  'class'
100
100
  ]);
101
- return <ark.div data-slot="dialog-header" class={clsx(Dialog_module.header, local.class)} {...others}/>;
101
+ return <ark.div class={clsx(Dialog_module.header, local.class)} {...others} data-slot="dialog-header"/>;
102
102
  }
103
103
  function DialogBody(props) {
104
104
  const [local, others] = splitProps(props, [
105
105
  'class'
106
106
  ]);
107
- return <ark.div data-slot="dialog-body" class={clsx(Dialog_module.body, local.class)} {...others}/>;
107
+ return <ark.div class={clsx(Dialog_module.body, local.class)} {...others} data-slot="dialog-body"/>;
108
108
  }
109
109
  function DialogFooter(props) {
110
110
  const [local, others] = splitProps(props, [
111
111
  'class'
112
112
  ]);
113
- return <ark.div data-slot="dialog-footer" class={clsx(Dialog_module.footer, local.class)} {...others}/>;
113
+ return <ark.div class={clsx(Dialog_module.footer, local.class)} {...others} data-slot="dialog-footer"/>;
114
114
  }
115
115
  const Dialog_Dialog = Object.assign(DialogRoot, {
116
116
  Root: DialogRoot,
@@ -101,11 +101,12 @@ function DrawerTrigger(props) {
101
101
  get asChild () {
102
102
  return local.asChild;
103
103
  },
104
- "data-slot": "drawer-trigger",
105
104
  get ["class"] () {
106
105
  return clsx(!local.asChild && Drawer_module.trigger, local.class);
107
106
  }
108
- }, others));
107
+ }, others, {
108
+ "data-slot": "drawer-trigger"
109
+ }));
109
110
  }
110
111
  function DrawerBackdrop(props) {
111
112
  const [local, others] = splitProps(props, [
@@ -114,11 +115,12 @@ function DrawerBackdrop(props) {
114
115
  return createComponent(OverlayPortal, {
115
116
  get children () {
116
117
  return createComponent(Drawer.Backdrop, mergeProps({
117
- "data-slot": "drawer-backdrop",
118
118
  get ["class"] () {
119
119
  return clsx(Drawer_module.backdrop, local.class);
120
120
  }
121
- }, others));
121
+ }, others, {
122
+ "data-slot": "drawer-backdrop"
123
+ }));
122
124
  }
123
125
  });
124
126
  }
@@ -129,11 +131,12 @@ function DrawerPositioner(props) {
129
131
  return createComponent(OverlayPortal, {
130
132
  get children () {
131
133
  return createComponent(Drawer.Positioner, mergeProps({
132
- "data-slot": "drawer-positioner",
133
134
  get ["class"] () {
134
135
  return clsx(Drawer_module.positioner, local.class);
135
136
  }
136
- }, others));
137
+ }, others, {
138
+ "data-slot": "drawer-positioner"
139
+ }));
137
140
  }
138
141
  });
139
142
  }
@@ -145,7 +148,6 @@ function DrawerContent(props) {
145
148
  ]);
146
149
  const rootVariant = useContext(DrawerVariantContext);
147
150
  return createComponent(Drawer.Content, mergeProps({
148
- "data-slot": "drawer-content",
149
151
  get ["data-variant"] () {
150
152
  return local.variant ?? rootVariant;
151
153
  },
@@ -155,51 +157,57 @@ function DrawerContent(props) {
155
157
  get draggable () {
156
158
  return local.draggable ?? true;
157
159
  }
158
- }, others));
160
+ }, others, {
161
+ "data-slot": "drawer-content"
162
+ }));
159
163
  }
160
164
  function DrawerGrabber(props) {
161
165
  const [local, others] = splitProps(props, [
162
166
  'class'
163
167
  ]);
164
168
  return createComponent(Drawer.Grabber, mergeProps({
165
- "data-slot": "drawer-grabber",
166
169
  get ["class"] () {
167
170
  return clsx(Drawer_module.grabber, local.class);
168
171
  }
169
- }, others));
172
+ }, others, {
173
+ "data-slot": "drawer-grabber"
174
+ }));
170
175
  }
171
176
  function DrawerGrabberIndicator(props) {
172
177
  const [local, others] = splitProps(props, [
173
178
  'class'
174
179
  ]);
175
180
  return createComponent(Drawer.GrabberIndicator, mergeProps({
176
- "data-slot": "drawer-grabber-indicator",
177
181
  get ["class"] () {
178
182
  return clsx(Drawer_module.grabberIndicator, local.class);
179
183
  }
180
- }, others));
184
+ }, others, {
185
+ "data-slot": "drawer-grabber-indicator"
186
+ }));
181
187
  }
182
188
  function DrawerTitle(props) {
183
189
  const [local, others] = splitProps(props, [
184
190
  'class'
185
191
  ]);
186
192
  return createComponent(Drawer.Title, mergeProps({
187
- "data-slot": "drawer-title",
188
193
  get ["class"] () {
189
194
  return clsx(Drawer_module.title, local.class);
190
195
  }
191
- }, others));
196
+ }, others, {
197
+ "data-slot": "drawer-title"
198
+ }));
192
199
  }
193
200
  function DrawerDescription(props) {
194
201
  const [local, others] = splitProps(props, [
195
202
  'class'
196
203
  ]);
197
204
  return createComponent(Drawer.Description, mergeProps({
198
- "data-slot": "drawer-description",
199
205
  get ["class"] () {
200
206
  return clsx(Drawer_module.description, local.class);
201
207
  }
202
- }, others));
208
+ }, others, {
209
+ "data-slot": "drawer-description"
210
+ }));
203
211
  }
204
212
  function DrawerCloseTrigger(props) {
205
213
  const [local, others] = splitProps(props, [
@@ -210,11 +218,12 @@ function DrawerCloseTrigger(props) {
210
218
  get asChild () {
211
219
  return local.asChild;
212
220
  },
213
- "data-slot": "drawer-close-trigger",
214
221
  get ["class"] () {
215
222
  return clsx(!local.asChild && Drawer_module.closeTrigger, local.class);
216
223
  }
217
- }, others));
224
+ }, others, {
225
+ "data-slot": "drawer-close-trigger"
226
+ }));
218
227
  }
219
228
  function DrawerCloseIcon(props) {
220
229
  const [local, others] = splitProps(props, [
@@ -247,66 +256,72 @@ function DrawerSwipeArea(props) {
247
256
  'class'
248
257
  ]);
249
258
  return createComponent(Drawer.SwipeArea, mergeProps({
250
- "data-slot": "drawer-swipe-area",
251
259
  get ["class"] () {
252
260
  return clsx(Drawer_module.swipeArea, local.class);
253
261
  }
254
- }, others));
262
+ }, others, {
263
+ "data-slot": "drawer-swipe-area"
264
+ }));
255
265
  }
256
266
  function DrawerIndent(props) {
257
267
  const [local, others] = splitProps(props, [
258
268
  'class'
259
269
  ]);
260
270
  return createComponent(Drawer.Indent, mergeProps({
261
- "data-slot": "drawer-indent",
262
271
  get ["class"] () {
263
272
  return clsx(Drawer_module.indent, local.class);
264
273
  }
265
- }, others));
274
+ }, others, {
275
+ "data-slot": "drawer-indent"
276
+ }));
266
277
  }
267
278
  function DrawerIndentBackground(props) {
268
279
  const [local, others] = splitProps(props, [
269
280
  'class'
270
281
  ]);
271
282
  return createComponent(Drawer.IndentBackground, mergeProps({
272
- "data-slot": "drawer-indent-background",
273
283
  get ["class"] () {
274
284
  return clsx(Drawer_module.indentBackground, local.class);
275
285
  }
276
- }, others));
286
+ }, others, {
287
+ "data-slot": "drawer-indent-background"
288
+ }));
277
289
  }
278
290
  function DrawerHeader(props) {
279
291
  const [local, others] = splitProps(props, [
280
292
  'class'
281
293
  ]);
282
294
  return createComponent(ark.div, mergeProps({
283
- "data-slot": "drawer-header",
284
295
  get ["class"] () {
285
296
  return clsx(Drawer_module.header, local.class);
286
297
  }
287
- }, others));
298
+ }, others, {
299
+ "data-slot": "drawer-header"
300
+ }));
288
301
  }
289
302
  function DrawerBody(props) {
290
303
  const [local, others] = splitProps(props, [
291
304
  'class'
292
305
  ]);
293
306
  return createComponent(ark.div, mergeProps({
294
- "data-slot": "drawer-body",
295
307
  get ["class"] () {
296
308
  return clsx(Drawer_module.body, local.class);
297
309
  }
298
- }, others));
310
+ }, others, {
311
+ "data-slot": "drawer-body"
312
+ }));
299
313
  }
300
314
  function DrawerFooter(props) {
301
315
  const [local, others] = splitProps(props, [
302
316
  'class'
303
317
  ]);
304
318
  return createComponent(ark.div, mergeProps({
305
- "data-slot": "drawer-footer",
306
319
  get ["class"] () {
307
320
  return clsx(Drawer_module.footer, local.class);
308
321
  }
309
- }, others));
322
+ }, others, {
323
+ "data-slot": "drawer-footer"
324
+ }));
310
325
  }
311
326
  const Drawer_Drawer = Object.assign(DrawerRoot, {
312
327
  Root: DrawerRoot,