@moduix/solid 1.0.0 → 1.1.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 (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 +71 -52
  30. package/dist/components/command-palette/CommandPalette.jsx +28 -31
  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 +1 -1
@@ -11,7 +11,7 @@ function FileUploadRoot(props) {
11
11
  'children',
12
12
  'class'
13
13
  ]);
14
- return <FileUpload.Root asChild={local.asChild} data-slot="file-upload-root" class={clsx(FileUpload_module.root, local.class)} {...others}>
14
+ return <FileUpload.Root asChild={local.asChild} class={clsx(FileUpload_module.root, local.class)} {...others} data-slot="file-upload-root">
15
15
  {local.children}
16
16
  </FileUpload.Root>;
17
17
  }
@@ -21,7 +21,7 @@ function FileUploadRootProvider(props) {
21
21
  'children',
22
22
  'class'
23
23
  ]);
24
- return <FileUpload.RootProvider asChild={local.asChild} data-slot="file-upload-root-provider" class={clsx(FileUpload_module.root, local.class)} {...others}>
24
+ return <FileUpload.RootProvider asChild={local.asChild} class={clsx(FileUpload_module.root, local.class)} {...others} data-slot="file-upload-root-provider">
25
25
  {local.children}
26
26
  </FileUpload.RootProvider>;
27
27
  }
@@ -29,13 +29,13 @@ function FileUploadLabel(props) {
29
29
  const [local, others] = splitProps(props, [
30
30
  'class'
31
31
  ]);
32
- return <FileUpload.Label data-slot="file-upload-label" class={clsx(FileUpload_module.label, local.class)} {...others}/>;
32
+ return <FileUpload.Label class={clsx(FileUpload_module.label, local.class)} {...others} data-slot="file-upload-label"/>;
33
33
  }
34
34
  function FileUploadDropzone(props) {
35
35
  const [local, others] = splitProps(props, [
36
36
  'class'
37
37
  ]);
38
- return <FileUpload.Dropzone data-slot="file-upload-dropzone" class={clsx(FileUpload_module.dropzone, local.class)} {...others}/>;
38
+ return <FileUpload.Dropzone class={clsx(FileUpload_module.dropzone, local.class)} {...others} data-slot="file-upload-dropzone"/>;
39
39
  }
40
40
  function FileUploadDropzoneIcon(props) {
41
41
  const [local, others] = splitProps(props, [
@@ -43,7 +43,7 @@ function FileUploadDropzoneIcon(props) {
43
43
  'class'
44
44
  ]);
45
45
  const resolvedChildren = children(()=>local.children);
46
- return <ark.span aria-hidden="true" data-slot="file-upload-dropzone-icon" class={clsx(FileUpload_module.dropzoneIcon, local.class)} {...others}>
46
+ return <ark.span aria-hidden="true" class={clsx(FileUpload_module.dropzoneIcon, local.class)} {...others} data-slot="file-upload-dropzone-icon">
47
47
  {resolvedChildren() ?? <UploadIcon/>}
48
48
  </ark.span>;
49
49
  }
@@ -51,37 +51,37 @@ function FileUploadTrigger(props) {
51
51
  const [local, others] = splitProps(props, [
52
52
  'class'
53
53
  ]);
54
- return <FileUpload.Trigger data-slot="file-upload-trigger" class={clsx(FileUpload_module.trigger, local.class)} {...others}/>;
54
+ return <FileUpload.Trigger class={clsx(FileUpload_module.trigger, local.class)} {...others} data-slot="file-upload-trigger"/>;
55
55
  }
56
56
  function FileUploadItemGroup(props) {
57
57
  const [local, others] = splitProps(props, [
58
58
  'class'
59
59
  ]);
60
- return <FileUpload.ItemGroup data-slot="file-upload-item-group" class={clsx(FileUpload_module.itemGroup, local.class)} {...others}/>;
60
+ return <FileUpload.ItemGroup class={clsx(FileUpload_module.itemGroup, local.class)} {...others} data-slot="file-upload-item-group"/>;
61
61
  }
62
62
  function FileUploadItem(props) {
63
63
  const [local, others] = splitProps(props, [
64
64
  'class'
65
65
  ]);
66
- return <FileUpload.Item data-slot="file-upload-item" class={clsx(FileUpload_module.item, local.class)} {...others}/>;
66
+ return <FileUpload.Item class={clsx(FileUpload_module.item, local.class)} {...others} data-slot="file-upload-item"/>;
67
67
  }
68
68
  function FileUploadItemPreview(props) {
69
69
  const [local, others] = splitProps(props, [
70
70
  'class'
71
71
  ]);
72
- return <FileUpload.ItemPreview data-slot="file-upload-item-preview" class={clsx(FileUpload_module.itemPreview, local.class)} {...others}/>;
72
+ return <FileUpload.ItemPreview class={clsx(FileUpload_module.itemPreview, local.class)} {...others} data-slot="file-upload-item-preview"/>;
73
73
  }
74
74
  function FileUploadItemPreviewImage(props) {
75
75
  const [local, others] = splitProps(props, [
76
76
  'class'
77
77
  ]);
78
- return <FileUpload.ItemPreviewImage data-slot="file-upload-item-preview-image" class={clsx(FileUpload_module.itemPreviewImage, local.class)} {...others}/>;
78
+ return <FileUpload.ItemPreviewImage class={clsx(FileUpload_module.itemPreviewImage, local.class)} {...others} data-slot="file-upload-item-preview-image"/>;
79
79
  }
80
80
  function FileUploadItemPreviewIcon(props) {
81
81
  const [local, others] = splitProps(props, [
82
82
  'class'
83
83
  ]);
84
- return <FileIcon data-slot="file-upload-item-preview-icon" class={clsx(FileUpload_module.itemPreviewIcon, local.class)} {...others}/>;
84
+ return <FileIcon class={clsx(FileUpload_module.itemPreviewIcon, local.class)} {...others} data-slot="file-upload-item-preview-icon"/>;
85
85
  }
86
86
  function getFileTypeLabel(file) {
87
87
  const extension = file.name.split('.').pop();
@@ -94,20 +94,20 @@ function FileUploadItemName(props) {
94
94
  const [local, others] = splitProps(props, [
95
95
  'class'
96
96
  ]);
97
- return <FileUpload.ItemName data-slot="file-upload-item-name" class={clsx(FileUpload_module.itemName, local.class)} {...others}/>;
97
+ return <FileUpload.ItemName class={clsx(FileUpload_module.itemName, local.class)} {...others} data-slot="file-upload-item-name"/>;
98
98
  }
99
99
  function FileUploadItemSizeText(props) {
100
100
  const [local, others] = splitProps(props, [
101
101
  'class'
102
102
  ]);
103
- return <FileUpload.ItemSizeText data-slot="file-upload-item-size-text" class={clsx(FileUpload_module.itemSizeText, local.class)} {...others}/>;
103
+ return <FileUpload.ItemSizeText class={clsx(FileUpload_module.itemSizeText, local.class)} {...others} data-slot="file-upload-item-size-text"/>;
104
104
  }
105
105
  function FileUploadItemMetadata(props) {
106
106
  const [local, others] = splitProps(props, [
107
107
  'class',
108
108
  'file'
109
109
  ]);
110
- return <ark.div data-slot="file-upload-item-metadata" class={clsx(FileUpload_module.itemMetadata, local.class)} {...others}>
110
+ return <ark.div class={clsx(FileUpload_module.itemMetadata, local.class)} {...others} data-slot="file-upload-item-metadata">
111
111
  <ark.span>{getFileTypeLabel(local.file)}</ark.span>
112
112
  <FileUploadItemSizeText/>
113
113
  </ark.div>;
@@ -118,7 +118,7 @@ function FileUploadItemDeleteTrigger(props) {
118
118
  'class'
119
119
  ]);
120
120
  const resolvedChildren = children(()=>local.children);
121
- return <FileUpload.ItemDeleteTrigger data-slot="file-upload-item-delete-trigger" class={clsx(FileUpload_module.itemDeleteTrigger, local.class)} {...others}>
121
+ return <FileUpload.ItemDeleteTrigger class={clsx(FileUpload_module.itemDeleteTrigger, local.class)} {...others} data-slot="file-upload-item-delete-trigger">
122
122
  {resolvedChildren() ?? <TrashIcon/>}
123
123
  </FileUpload.ItemDeleteTrigger>;
124
124
  }
@@ -148,12 +148,12 @@ function FileUploadClearTrigger(props) {
148
148
  const resolvedChildren = children(()=>local.children);
149
149
  const clearLabel = ()=>local['aria-label'] ?? (null == local['aria-labelledby'] ? 'Clear files' : void 0);
150
150
  const triggerClass = ()=>clsx(FileUpload_module.clearTrigger, null != local.children && FileUpload_module.clearTriggerWithContent, local.class);
151
- if (local.asChild) return <FileUpload.ClearTrigger asChild={local.asChild} data-slot="file-upload-clear-trigger" class={triggerClass()} aria-label={clearLabel()} aria-labelledby={local['aria-labelledby']} {...others}>
151
+ if (local.asChild) return <FileUpload.ClearTrigger asChild={local.asChild} class={triggerClass()} aria-label={clearLabel()} aria-labelledby={local['aria-labelledby']} {...others} data-slot="file-upload-clear-trigger">
152
152
  {resolvedChildren()}
153
153
  </FileUpload.ClearTrigger>;
154
154
  return <FileUpload.ClearTrigger asChild={(triggerProps)=><CloseButton.Root {...triggerProps()} aria-label={clearLabel()} aria-labelledby={local['aria-labelledby']}>
155
155
  {resolvedChildren() ?? <CloseIcon/>}
156
- </CloseButton.Root>} data-slot="file-upload-clear-trigger" class={triggerClass()} {...others}/>;
156
+ </CloseButton.Root>} class={triggerClass()} {...others} data-slot="file-upload-clear-trigger"/>;
157
157
  }
158
158
  const FileUpload_FileUpload = Object.assign(FileUploadRoot, {
159
159
  Root: FileUploadRoot,
@@ -7,7 +7,7 @@ import { GripIcon, MaximizeIcon, MinusIcon, RestoreIcon } from "../../internal/i
7
7
  import { OverlayPortal, OverlayPortalProvider } from "../../internal/overlayPortal.js";
8
8
  import { CloseButton } from "../close-button/index.js";
9
9
  import FloatingPanel_module from "./FloatingPanel.module.js";
10
- var _tmpl$ = /*#__PURE__*/ template("<span aria-hidden=true data-slot=floating-panel-drag-indicator>");
10
+ var _tmpl$ = /*#__PURE__*/ template("<span aria-hidden=true>");
11
11
  const DEFAULT_CLOSE_BUTTON_LABEL = 'Close panel';
12
12
  const resizeTriggerAxes = [
13
13
  'n',
@@ -98,11 +98,12 @@ function FloatingPanelTrigger(props) {
98
98
  get asChild () {
99
99
  return local.asChild;
100
100
  },
101
- "data-slot": "floating-panel-trigger",
102
101
  get ["class"] () {
103
102
  return clsx(!local.asChild && FloatingPanel_module.trigger, local.class);
104
103
  }
105
- }, others));
104
+ }, others, {
105
+ "data-slot": "floating-panel-trigger"
106
+ }));
106
107
  }
107
108
  function FloatingPanelPositioner(props) {
108
109
  const [local, others] = splitProps(props, [
@@ -111,11 +112,12 @@ function FloatingPanelPositioner(props) {
111
112
  return createComponent(OverlayPortal, {
112
113
  get children () {
113
114
  return createComponent(FloatingPanel.Positioner, mergeProps({
114
- "data-slot": "floating-panel-positioner",
115
115
  get ["class"] () {
116
116
  return clsx(FloatingPanel_module.positioner, local.class);
117
117
  }
118
- }, others));
118
+ }, others, {
119
+ "data-slot": "floating-panel-positioner"
120
+ }));
119
121
  }
120
122
  });
121
123
  }
@@ -124,55 +126,60 @@ function FloatingPanelContent(props) {
124
126
  'class'
125
127
  ]);
126
128
  return createComponent(FloatingPanel.Content, mergeProps({
127
- "data-slot": "floating-panel-content",
128
129
  get ["class"] () {
129
130
  return clsx(FloatingPanel_module.content, local.class);
130
131
  }
131
- }, others));
132
+ }, others, {
133
+ "data-slot": "floating-panel-content"
134
+ }));
132
135
  }
133
136
  function FloatingPanelDragTrigger(props) {
134
137
  const [local, others] = splitProps(props, [
135
138
  'class'
136
139
  ]);
137
140
  return createComponent(FloatingPanel.DragTrigger, mergeProps({
138
- "data-slot": "floating-panel-drag-trigger",
139
141
  get ["class"] () {
140
142
  return clsx(FloatingPanel_module.dragTrigger, local.class);
141
143
  }
142
- }, others));
144
+ }, others, {
145
+ "data-slot": "floating-panel-drag-trigger"
146
+ }));
143
147
  }
144
148
  function FloatingPanelHeader(props) {
145
149
  const [local, others] = splitProps(props, [
146
150
  'class'
147
151
  ]);
148
152
  return createComponent(FloatingPanel.Header, mergeProps({
149
- "data-slot": "floating-panel-header",
150
153
  get ["class"] () {
151
154
  return clsx(FloatingPanel_module.header, local.class);
152
155
  }
153
- }, others));
156
+ }, others, {
157
+ "data-slot": "floating-panel-header"
158
+ }));
154
159
  }
155
160
  function FloatingPanelTitle(props) {
156
161
  const [local, others] = splitProps(props, [
157
162
  'class'
158
163
  ]);
159
164
  return createComponent(FloatingPanel.Title, mergeProps({
160
- "data-slot": "floating-panel-title",
161
165
  get ["class"] () {
162
166
  return clsx(FloatingPanel_module.title, local.class);
163
167
  }
164
- }, others));
168
+ }, others, {
169
+ "data-slot": "floating-panel-title"
170
+ }));
165
171
  }
166
172
  function FloatingPanelControl(props) {
167
173
  const [local, others] = splitProps(props, [
168
174
  'class'
169
175
  ]);
170
176
  return createComponent(FloatingPanel.Control, mergeProps({
171
- "data-slot": "floating-panel-control",
172
177
  get ["class"] () {
173
178
  return clsx(FloatingPanel_module.control, local.class);
174
179
  }
175
- }, others));
180
+ }, others, {
181
+ "data-slot": "floating-panel-control"
182
+ }));
176
183
  }
177
184
  function FloatingPanelStageTrigger(props) {
178
185
  const [local, others] = splitProps(props, [
@@ -191,7 +198,6 @@ function FloatingPanelStageTrigger(props) {
191
198
  get asChild () {
192
199
  return local.asChild;
193
200
  },
194
- "data-slot": "floating-panel-stage-trigger",
195
201
  get ["class"] () {
196
202
  return clsx(!local.asChild && FloatingPanel_module.controlButton, local.class);
197
203
  },
@@ -199,6 +205,7 @@ function FloatingPanelStageTrigger(props) {
199
205
  return local.stage;
200
206
  }
201
207
  }, others, {
208
+ "data-slot": "floating-panel-stage-trigger",
202
209
  get children () {
203
210
  return [
204
211
  memo(()=>resolvedChildren()),
@@ -218,11 +225,12 @@ function FloatingPanelCloseTrigger(props) {
218
225
  get asChild () {
219
226
  return local.asChild;
220
227
  },
221
- "data-slot": "floating-panel-close-trigger",
222
228
  get ["class"] () {
223
229
  return clsx(!local.asChild && FloatingPanel_module.controlButton, local.class);
224
230
  }
225
- }, others));
231
+ }, others, {
232
+ "data-slot": "floating-panel-close-trigger"
233
+ }));
226
234
  }
227
235
  function FloatingPanelCloseIcon(props) {
228
236
  const [local, others] = splitProps(props, [
@@ -255,11 +263,12 @@ function FloatingPanelBody(props) {
255
263
  'class'
256
264
  ]);
257
265
  return createComponent(FloatingPanel.Body, mergeProps({
258
- "data-slot": "floating-panel-body",
259
266
  get ["class"] () {
260
267
  return clsx(FloatingPanel_module.body, local.class);
261
268
  }
262
- }, others));
269
+ }, others, {
270
+ "data-slot": "floating-panel-body"
271
+ }));
263
272
  }
264
273
  function FloatingPanelFooter(props) {
265
274
  const [local, others] = splitProps(props, [
@@ -281,11 +290,12 @@ function FloatingPanelResizeTrigger(props) {
281
290
  'class'
282
291
  ]);
283
292
  return createComponent(FloatingPanel.ResizeTrigger, mergeProps({
284
- "data-slot": "floating-panel-resize-trigger",
285
293
  get ["class"] () {
286
294
  return clsx(FloatingPanel_module.resizeTrigger, local.class);
287
295
  }
288
- }, others));
296
+ }, others, {
297
+ "data-slot": "floating-panel-resize-trigger"
298
+ }));
289
299
  }
290
300
  function FloatingPanelResizeTriggerGroup(props) {
291
301
  return createComponent(For, {
@@ -309,7 +319,9 @@ function FloatingPanelDragIndicator(props) {
309
319
  get ["class"] () {
310
320
  return clsx(FloatingPanel_module.dragIndicator, local.class);
311
321
  }
312
- }, others), false, true);
322
+ }, others, {
323
+ "data-slot": "floating-panel-drag-indicator"
324
+ }), false, true);
313
325
  insert(_el$, ()=>resolvedChildren() ?? createComponent(GripIcon, {}));
314
326
  return _el$;
315
327
  })();
@@ -52,45 +52,45 @@ function FloatingPanelTrigger(props) {
52
52
  'asChild',
53
53
  'class'
54
54
  ]);
55
- return <FloatingPanel.Trigger asChild={local.asChild} data-slot="floating-panel-trigger" class={clsx(!local.asChild && FloatingPanel_module.trigger, local.class)} {...others}/>;
55
+ return <FloatingPanel.Trigger asChild={local.asChild} class={clsx(!local.asChild && FloatingPanel_module.trigger, local.class)} {...others} data-slot="floating-panel-trigger"/>;
56
56
  }
57
57
  function FloatingPanelPositioner(props) {
58
58
  const [local, others] = splitProps(props, [
59
59
  'class'
60
60
  ]);
61
61
  return <OverlayPortal>
62
- <FloatingPanel.Positioner data-slot="floating-panel-positioner" class={clsx(FloatingPanel_module.positioner, local.class)} {...others}/>
62
+ <FloatingPanel.Positioner class={clsx(FloatingPanel_module.positioner, local.class)} {...others} data-slot="floating-panel-positioner"/>
63
63
  </OverlayPortal>;
64
64
  }
65
65
  function FloatingPanelContent(props) {
66
66
  const [local, others] = splitProps(props, [
67
67
  'class'
68
68
  ]);
69
- return <FloatingPanel.Content data-slot="floating-panel-content" class={clsx(FloatingPanel_module.content, local.class)} {...others}/>;
69
+ return <FloatingPanel.Content class={clsx(FloatingPanel_module.content, local.class)} {...others} data-slot="floating-panel-content"/>;
70
70
  }
71
71
  function FloatingPanelDragTrigger(props) {
72
72
  const [local, others] = splitProps(props, [
73
73
  'class'
74
74
  ]);
75
- return <FloatingPanel.DragTrigger data-slot="floating-panel-drag-trigger" class={clsx(FloatingPanel_module.dragTrigger, local.class)} {...others}/>;
75
+ return <FloatingPanel.DragTrigger class={clsx(FloatingPanel_module.dragTrigger, local.class)} {...others} data-slot="floating-panel-drag-trigger"/>;
76
76
  }
77
77
  function FloatingPanelHeader(props) {
78
78
  const [local, others] = splitProps(props, [
79
79
  'class'
80
80
  ]);
81
- return <FloatingPanel.Header data-slot="floating-panel-header" class={clsx(FloatingPanel_module.header, local.class)} {...others}/>;
81
+ return <FloatingPanel.Header class={clsx(FloatingPanel_module.header, local.class)} {...others} data-slot="floating-panel-header"/>;
82
82
  }
83
83
  function FloatingPanelTitle(props) {
84
84
  const [local, others] = splitProps(props, [
85
85
  'class'
86
86
  ]);
87
- return <FloatingPanel.Title data-slot="floating-panel-title" class={clsx(FloatingPanel_module.title, local.class)} {...others}/>;
87
+ return <FloatingPanel.Title class={clsx(FloatingPanel_module.title, local.class)} {...others} data-slot="floating-panel-title"/>;
88
88
  }
89
89
  function FloatingPanelControl(props) {
90
90
  const [local, others] = splitProps(props, [
91
91
  'class'
92
92
  ]);
93
- return <FloatingPanel.Control data-slot="floating-panel-control" class={clsx(FloatingPanel_module.control, local.class)} {...others}/>;
93
+ return <FloatingPanel.Control class={clsx(FloatingPanel_module.control, local.class)} {...others} data-slot="floating-panel-control"/>;
94
94
  }
95
95
  function FloatingPanelStageTrigger(props) {
96
96
  const [local, others] = splitProps(props, [
@@ -102,7 +102,7 @@ function FloatingPanelStageTrigger(props) {
102
102
  ]);
103
103
  const resolvedChildren = children(()=>local.children);
104
104
  const shouldRenderDefaultIcon = ()=>null == local.children && !local.asChild;
105
- return <FloatingPanel.StageTrigger aria-label={local['aria-label']} asChild={local.asChild} data-slot="floating-panel-stage-trigger" class={clsx(!local.asChild && FloatingPanel_module.controlButton, local.class)} stage={local.stage} {...others}>
105
+ return <FloatingPanel.StageTrigger aria-label={local['aria-label']} asChild={local.asChild} class={clsx(!local.asChild && FloatingPanel_module.controlButton, local.class)} stage={local.stage} {...others} data-slot="floating-panel-stage-trigger">
106
106
  {resolvedChildren()}
107
107
  {shouldRenderDefaultIcon() && 'minimized' === local.stage ? <MinusIcon/> : null}
108
108
  {shouldRenderDefaultIcon() && 'maximized' === local.stage ? <MaximizeIcon/> : null}
@@ -114,7 +114,7 @@ function FloatingPanelCloseTrigger(props) {
114
114
  'asChild',
115
115
  'class'
116
116
  ]);
117
- return <FloatingPanel.CloseTrigger asChild={local.asChild} data-slot="floating-panel-close-trigger" class={clsx(!local.asChild && FloatingPanel_module.controlButton, local.class)} {...others}/>;
117
+ return <FloatingPanel.CloseTrigger asChild={local.asChild} class={clsx(!local.asChild && FloatingPanel_module.controlButton, local.class)} {...others} data-slot="floating-panel-close-trigger"/>;
118
118
  }
119
119
  function FloatingPanelCloseIcon(props) {
120
120
  const [local, others] = splitProps(props, [
@@ -132,7 +132,7 @@ function FloatingPanelBody(props) {
132
132
  const [local, others] = splitProps(props, [
133
133
  'class'
134
134
  ]);
135
- return <FloatingPanel.Body data-slot="floating-panel-body" class={clsx(FloatingPanel_module.body, local.class)} {...others}/>;
135
+ return <FloatingPanel.Body class={clsx(FloatingPanel_module.body, local.class)} {...others} data-slot="floating-panel-body"/>;
136
136
  }
137
137
  function FloatingPanelFooter(props) {
138
138
  const [local, others] = splitProps(props, [
@@ -145,7 +145,7 @@ function FloatingPanelResizeTrigger(props) {
145
145
  const [local, others] = splitProps(props, [
146
146
  'class'
147
147
  ]);
148
- return <FloatingPanel.ResizeTrigger data-slot="floating-panel-resize-trigger" class={clsx(FloatingPanel_module.resizeTrigger, local.class)} {...others}/>;
148
+ return <FloatingPanel.ResizeTrigger class={clsx(FloatingPanel_module.resizeTrigger, local.class)} {...others} data-slot="floating-panel-resize-trigger"/>;
149
149
  }
150
150
  function FloatingPanelResizeTriggerGroup(props) {
151
151
  return <For each={props.axes ?? resizeTriggerAxes}>
@@ -158,7 +158,7 @@ function FloatingPanelDragIndicator(props) {
158
158
  'class'
159
159
  ]);
160
160
  const resolvedChildren = children(()=>local.children);
161
- return <span aria-hidden="true" data-slot="floating-panel-drag-indicator" class={clsx(FloatingPanel_module.dragIndicator, local.class)} {...others}>
161
+ return <span aria-hidden="true" class={clsx(FloatingPanel_module.dragIndicator, local.class)} {...others} data-slot="floating-panel-drag-indicator">
162
162
  {resolvedChildren() ?? <GripIcon/>}
163
163
  </span>;
164
164
  }
@@ -76,11 +76,12 @@ function HoverCardTrigger(props) {
76
76
  get asChild () {
77
77
  return local.asChild;
78
78
  },
79
- "data-slot": "hover-card-trigger",
80
79
  get ["class"] () {
81
80
  return clsx(!local.asChild && HoverCard_module.trigger, local.class);
82
81
  }
83
- }, others));
82
+ }, others, {
83
+ "data-slot": "hover-card-trigger"
84
+ }));
84
85
  }
85
86
  function HoverCardPositioner(props) {
86
87
  const [local, others] = splitProps(props, [
@@ -89,11 +90,12 @@ function HoverCardPositioner(props) {
89
90
  return createComponent(OverlayPortal, {
90
91
  get children () {
91
92
  return createComponent(HoverCard.Positioner, mergeProps({
92
- "data-slot": "hover-card-positioner",
93
93
  get ["class"] () {
94
94
  return clsx(HoverCard_module.positioner, local.class);
95
95
  }
96
- }, others));
96
+ }, others, {
97
+ "data-slot": "hover-card-positioner"
98
+ }));
97
99
  }
98
100
  });
99
101
  }
@@ -102,11 +104,12 @@ function HoverCardContent(props) {
102
104
  'class'
103
105
  ]);
104
106
  return createComponent(HoverCard.Content, mergeProps({
105
- "data-slot": "hover-card-content",
106
107
  get ["class"] () {
107
108
  return clsx(HoverCard_module.content, local.class);
108
109
  }
109
- }, others));
110
+ }, others, {
111
+ "data-slot": "hover-card-content"
112
+ }));
110
113
  }
111
114
  function HoverCardArrow(props) {
112
115
  const [local, others] = splitProps(props, [
@@ -115,11 +118,11 @@ function HoverCardArrow(props) {
115
118
  ]);
116
119
  const resolvedChildren = children(()=>local.children);
117
120
  return createComponent(HoverCard.Arrow, mergeProps({
118
- "data-slot": "hover-card-arrow",
119
121
  get ["class"] () {
120
122
  return clsx(HoverCard_module.arrow, local.class);
121
123
  }
122
124
  }, others, {
125
+ "data-slot": "hover-card-arrow",
123
126
  get children () {
124
127
  return resolvedChildren() ?? createComponent(HoverCardArrowTip, {});
125
128
  }
@@ -130,11 +133,12 @@ function HoverCardArrowTip(props) {
130
133
  'class'
131
134
  ]);
132
135
  return createComponent(HoverCard.ArrowTip, mergeProps({
133
- "data-slot": "hover-card-arrow-tip",
134
136
  get ["class"] () {
135
137
  return clsx(HoverCard_module.arrowTip, local.class);
136
138
  }
137
- }, others));
139
+ }, others, {
140
+ "data-slot": "hover-card-arrow-tip"
141
+ }));
138
142
  }
139
143
  function HoverCardBody(props) {
140
144
  const [local, others] = splitProps(props, [
@@ -145,11 +149,12 @@ function HoverCardBody(props) {
145
149
  get asChild () {
146
150
  return local.asChild;
147
151
  },
148
- "data-slot": "hover-card-body",
149
152
  get ["class"] () {
150
153
  return clsx(HoverCard_module.body, local.class);
151
154
  }
152
- }, others));
155
+ }, others, {
156
+ "data-slot": "hover-card-body"
157
+ }));
153
158
  }
154
159
  const HoverCard_HoverCard = Object.assign(HoverCardRoot, {
155
160
  Root: HoverCardRoot,
@@ -37,21 +37,21 @@ function HoverCardTrigger(props) {
37
37
  'asChild',
38
38
  'class'
39
39
  ]);
40
- return <HoverCard.Trigger asChild={local.asChild} data-slot="hover-card-trigger" class={clsx(!local.asChild && HoverCard_module.trigger, local.class)} {...others}/>;
40
+ return <HoverCard.Trigger asChild={local.asChild} class={clsx(!local.asChild && HoverCard_module.trigger, local.class)} {...others} data-slot="hover-card-trigger"/>;
41
41
  }
42
42
  function HoverCardPositioner(props) {
43
43
  const [local, others] = splitProps(props, [
44
44
  'class'
45
45
  ]);
46
46
  return <OverlayPortal>
47
- <HoverCard.Positioner data-slot="hover-card-positioner" class={clsx(HoverCard_module.positioner, local.class)} {...others}/>
47
+ <HoverCard.Positioner class={clsx(HoverCard_module.positioner, local.class)} {...others} data-slot="hover-card-positioner"/>
48
48
  </OverlayPortal>;
49
49
  }
50
50
  function HoverCardContent(props) {
51
51
  const [local, others] = splitProps(props, [
52
52
  'class'
53
53
  ]);
54
- return <HoverCard.Content data-slot="hover-card-content" class={clsx(HoverCard_module.content, local.class)} {...others}/>;
54
+ return <HoverCard.Content class={clsx(HoverCard_module.content, local.class)} {...others} data-slot="hover-card-content"/>;
55
55
  }
56
56
  function HoverCardArrow(props) {
57
57
  const [local, others] = splitProps(props, [
@@ -59,7 +59,7 @@ function HoverCardArrow(props) {
59
59
  'class'
60
60
  ]);
61
61
  const resolvedChildren = children(()=>local.children);
62
- return <HoverCard.Arrow data-slot="hover-card-arrow" class={clsx(HoverCard_module.arrow, local.class)} {...others}>
62
+ return <HoverCard.Arrow class={clsx(HoverCard_module.arrow, local.class)} {...others} data-slot="hover-card-arrow">
63
63
  {resolvedChildren() ?? <HoverCardArrowTip/>}
64
64
  </HoverCard.Arrow>;
65
65
  }
@@ -67,14 +67,14 @@ function HoverCardArrowTip(props) {
67
67
  const [local, others] = splitProps(props, [
68
68
  'class'
69
69
  ]);
70
- return <HoverCard.ArrowTip data-slot="hover-card-arrow-tip" class={clsx(HoverCard_module.arrowTip, local.class)} {...others}/>;
70
+ return <HoverCard.ArrowTip class={clsx(HoverCard_module.arrowTip, local.class)} {...others} data-slot="hover-card-arrow-tip"/>;
71
71
  }
72
72
  function HoverCardBody(props) {
73
73
  const [local, others] = splitProps(props, [
74
74
  'asChild',
75
75
  'class'
76
76
  ]);
77
- return <ark.div asChild={local.asChild} data-slot="hover-card-body" class={clsx(HoverCard_module.body, local.class)} {...others}/>;
77
+ return <ark.div asChild={local.asChild} class={clsx(HoverCard_module.body, local.class)} {...others} data-slot="hover-card-body"/>;
78
78
  }
79
79
  const HoverCard_HoverCard = Object.assign(HoverCardRoot, {
80
80
  Root: HoverCardRoot,
@@ -8,77 +8,84 @@ function ImageCropperRoot(props) {
8
8
  'class'
9
9
  ]);
10
10
  return createComponent(ImageCropper.Root, mergeProps({
11
- "data-slot": "image-cropper-root",
12
11
  get ["class"] () {
13
12
  return clsx(ImageCropper_module.root, local.class);
14
13
  }
15
- }, others));
14
+ }, others, {
15
+ "data-slot": "image-cropper-root"
16
+ }));
16
17
  }
17
18
  function ImageCropperRootProvider(props) {
18
19
  const [local, others] = splitProps(props, [
19
20
  'class'
20
21
  ]);
21
22
  return createComponent(ImageCropper.RootProvider, mergeProps({
22
- "data-slot": "image-cropper-root-provider",
23
23
  get ["class"] () {
24
24
  return clsx(ImageCropper_module.root, local.class);
25
25
  }
26
- }, others));
26
+ }, others, {
27
+ "data-slot": "image-cropper-root-provider"
28
+ }));
27
29
  }
28
30
  function ImageCropperViewport(props) {
29
31
  const [local, others] = splitProps(props, [
30
32
  'class'
31
33
  ]);
32
34
  return createComponent(ImageCropper.Viewport, mergeProps({
33
- "data-slot": "image-cropper-viewport",
34
35
  get ["class"] () {
35
36
  return clsx(ImageCropper_module.viewport, local.class);
36
37
  }
37
- }, others));
38
+ }, others, {
39
+ "data-slot": "image-cropper-viewport"
40
+ }));
38
41
  }
39
42
  function ImageCropperImage(props) {
40
43
  const [local, others] = splitProps(props, [
41
44
  'class'
42
45
  ]);
43
46
  return createComponent(ImageCropper.Image, mergeProps({
44
- "data-slot": "image-cropper-image",
45
47
  get ["class"] () {
46
48
  return clsx(ImageCropper_module.image, local.class);
47
49
  }
48
- }, others));
50
+ }, others, {
51
+ "data-slot": "image-cropper-image"
52
+ }));
49
53
  }
50
54
  function ImageCropperSelection(props) {
51
55
  const [local, others] = splitProps(props, [
52
56
  'class'
53
57
  ]);
54
58
  return createComponent(ImageCropper.Selection, mergeProps({
55
- "data-slot": "image-cropper-selection",
56
59
  get ["class"] () {
57
60
  return clsx(ImageCropper_module.selection, local.class);
58
61
  }
59
- }, others));
62
+ }, others, {
63
+ "data-slot": "image-cropper-selection"
64
+ }));
60
65
  }
61
66
  function ImageCropperGrid(props) {
62
67
  const [local, others] = splitProps(props, [
63
68
  'class'
64
69
  ]);
65
70
  return createComponent(ImageCropper.Grid, mergeProps({
66
- "data-slot": "image-cropper-grid",
67
71
  get ["class"] () {
68
72
  return clsx(ImageCropper_module.grid, local.class);
69
73
  }
70
- }, others));
74
+ }, others, {
75
+ "data-slot": "image-cropper-grid"
76
+ }));
71
77
  }
72
78
  function ImageCropperHandle(props) {
73
79
  const [local, others] = splitProps(props, [
74
80
  'class'
75
81
  ]);
76
82
  return createComponent(ImageCropper.Handle, mergeProps({
77
- "data-slot": "image-cropper-handle",
78
83
  get ["class"] () {
79
84
  return clsx(ImageCropper_module.handle, local.class);
80
85
  }
81
- }, others));
86
+ }, others, {
87
+ "data-slot": "image-cropper-handle"
88
+ }));
82
89
  }
83
90
  function ImageCropperCropArea(props) {
84
91
  const [local, others] = splitProps(props, [