@moduix/solid-tailwind 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 (124) 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 +7 -7
  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 +10 -11
  8. package/dist/components/avatar/Avatar.js +10 -7
  9. package/dist/components/avatar/Avatar.jsx +6 -6
  10. package/dist/components/bleed/Bleed.js +1 -1
  11. package/dist/components/bleed/Bleed.jsx +1 -1
  12. package/dist/components/button/Button.js +1 -6
  13. package/dist/components/button/Button.jsx +2 -4
  14. package/dist/components/card/Card.js +54 -44
  15. package/dist/components/card/Card.jsx +12 -12
  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.js +5 -5
  32. package/dist/components/container/Container.jsx +5 -5
  33. package/dist/components/date-input/DateInput.js +18 -12
  34. package/dist/components/date-input/DateInput.jsx +7 -7
  35. package/dist/components/date-picker/DatePicker.js +73 -51
  36. package/dist/components/date-picker/DatePicker.jsx +29 -29
  37. package/dist/components/dialog/Dialog.js +30 -20
  38. package/dist/components/dialog/Dialog.jsx +10 -10
  39. package/dist/components/drawer/Drawer.js +45 -30
  40. package/dist/components/drawer/Drawer.jsx +15 -15
  41. package/dist/components/editable/Editable.js +24 -17
  42. package/dist/components/editable/Editable.jsx +10 -10
  43. package/dist/components/empty/Empty.js +1 -1
  44. package/dist/components/empty/Empty.jsx +1 -1
  45. package/dist/components/file-upload/FileUpload.js +39 -28
  46. package/dist/components/file-upload/FileUpload.jsx +17 -17
  47. package/dist/components/floating-panel/FloatingPanel.js +35 -23
  48. package/dist/components/floating-panel/FloatingPanel.jsx +12 -12
  49. package/dist/components/hover-card/HoverCard.js +16 -11
  50. package/dist/components/hover-card/HoverCard.jsx +6 -6
  51. package/dist/components/image-cropper/ImageCropper.js +21 -14
  52. package/dist/components/image-cropper/ImageCropper.jsx +7 -7
  53. package/dist/components/input-group/InputGroup.js +3 -2
  54. package/dist/components/input-group/InputGroup.jsx +3 -2
  55. package/dist/components/json-tree-view/JsonTreeView.js +1 -1
  56. package/dist/components/json-tree-view/JsonTreeView.jsx +1 -1
  57. package/dist/components/lightbox/Lightbox.d.ts +1 -0
  58. package/dist/components/lightbox/Lightbox.js +41 -27
  59. package/dist/components/lightbox/Lightbox.jsx +13 -12
  60. package/dist/components/listbox/Listbox.js +48 -32
  61. package/dist/components/listbox/Listbox.jsx +17 -17
  62. package/dist/components/marquee/Marquee.js +18 -12
  63. package/dist/components/marquee/Marquee.jsx +9 -9
  64. package/dist/components/menu/Menu.js +66 -44
  65. package/dist/components/menu/Menu.jsx +28 -28
  66. package/dist/components/navigation-menu/NavigationMenu.js +36 -24
  67. package/dist/components/navigation-menu/NavigationMenu.jsx +12 -12
  68. package/dist/components/number-input/NumberInput.js +19 -14
  69. package/dist/components/number-input/NumberInput.jsx +9 -9
  70. package/dist/components/pagination/Pagination.js +10 -9
  71. package/dist/components/pagination/Pagination.jsx +8 -8
  72. package/dist/components/password-input/PasswordInput.js +16 -11
  73. package/dist/components/password-input/PasswordInput.jsx +6 -6
  74. package/dist/components/pin-input/PinInput.js +15 -10
  75. package/dist/components/pin-input/PinInput.jsx +6 -6
  76. package/dist/components/popover/Popover.js +37 -25
  77. package/dist/components/popover/Popover.jsx +13 -13
  78. package/dist/components/progress-circular/ProgressCircular.js +18 -13
  79. package/dist/components/progress-circular/ProgressCircular.jsx +8 -8
  80. package/dist/components/progress-linear/ProgressLinear.js +17 -12
  81. package/dist/components/progress-linear/ProgressLinear.jsx +7 -7
  82. package/dist/components/qr-code/QrCode.js +8 -7
  83. package/dist/components/qr-code/QrCode.jsx +6 -6
  84. package/dist/components/rating-group/RatingGroup.js +15 -10
  85. package/dist/components/rating-group/RatingGroup.jsx +6 -6
  86. package/dist/components/segment-group/SegmentGroup.js +17 -12
  87. package/dist/components/segment-group/SegmentGroup.jsx +7 -7
  88. package/dist/components/select/Select.js +50 -35
  89. package/dist/components/select/Select.jsx +20 -20
  90. package/dist/components/sidebar/Sidebar.js +72 -43
  91. package/dist/components/sidebar/Sidebar.jsx +34 -27
  92. package/dist/components/signature-pad/SignaturePad.js +16 -12
  93. package/dist/components/signature-pad/SignaturePad.jsx +8 -8
  94. package/dist/components/slider/Slider.js +29 -20
  95. package/dist/components/slider/Slider.jsx +11 -11
  96. package/dist/components/split-button/SplitButton.d.ts +4 -3
  97. package/dist/components/split-button/SplitButton.js +20 -9
  98. package/dist/components/split-button/SplitButton.jsx +13 -7
  99. package/dist/components/splitter/Splitter.js +13 -9
  100. package/dist/components/splitter/Splitter.jsx +5 -5
  101. package/dist/components/steps/Steps.js +34 -23
  102. package/dist/components/steps/Steps.jsx +12 -12
  103. package/dist/components/swap/Swap.js +9 -6
  104. package/dist/components/swap/Swap.jsx +3 -3
  105. package/dist/components/switch/Switch.js +9 -7
  106. package/dist/components/switch/Switch.jsx +5 -5
  107. package/dist/components/tabs/Tabs.js +18 -12
  108. package/dist/components/tabs/Tabs.jsx +6 -6
  109. package/dist/components/tags-input/TagsInput.js +28 -20
  110. package/dist/components/tags-input/TagsInput.jsx +12 -12
  111. package/dist/components/timer/Timer.js +21 -14
  112. package/dist/components/timer/Timer.jsx +7 -7
  113. package/dist/components/toast/Toast.js +11 -9
  114. package/dist/components/toast/Toast.jsx +7 -7
  115. package/dist/components/toc/Toc.js +31 -20
  116. package/dist/components/toc/Toc.jsx +10 -10
  117. package/dist/components/tooltip/Tooltip.js +13 -9
  118. package/dist/components/tooltip/Tooltip.jsx +5 -5
  119. package/dist/components/tour/Tour.js +38 -26
  120. package/dist/components/tour/Tour.jsx +13 -13
  121. package/dist/components/tree-view/TreeView.js +39 -28
  122. package/dist/components/tree-view/TreeView.jsx +17 -17
  123. package/dist/styles/animations.css +8 -8
  124. package/package.json +10 -11
@@ -84,11 +84,12 @@ function PopoverAnchor(props) {
84
84
  'class'
85
85
  ]);
86
86
  return createComponent(Popover.Anchor, mergeProps({
87
- "data-slot": "popover-anchor",
88
87
  get ["class"] () {
89
88
  return local.class;
90
89
  }
91
- }, others));
90
+ }, others, {
91
+ "data-slot": "popover-anchor"
92
+ }));
92
93
  }
93
94
  function PopoverTrigger(props) {
94
95
  const [local, others] = splitProps(props, [
@@ -99,22 +100,24 @@ function PopoverTrigger(props) {
99
100
  get asChild () {
100
101
  return local.asChild;
101
102
  },
102
- "data-slot": "popover-trigger",
103
103
  get ["class"] () {
104
104
  return cn(!local.asChild && 'box-border inline-flex min-h-control-md cursor-pointer items-center justify-center rounded-md border border-border bg-background px-3.5 py-1 text-md leading-6 text-foreground outline-0 transition-[background-color,border-color,color] duration-200 ease-in-out select-none focus-visible:outline-1 focus-visible:-outline-offset-1 focus-visible:outline-ring active:bg-accent disabled:pointer-events-none disabled:opacity-50 data-disabled:pointer-events-none data-disabled:opacity-50 data-[state=open]:not-data-[value]:bg-accent data-[current]:data-[state=open]:bg-accent motion-reduce:transition-none [@media(hover:hover)]:hover:bg-accent', local.class);
105
105
  }
106
- }, others));
106
+ }, others, {
107
+ "data-slot": "popover-trigger"
108
+ }));
107
109
  }
108
110
  function PopoverIndicator(props) {
109
111
  const [local, others] = splitProps(props, [
110
112
  'class'
111
113
  ]);
112
114
  return createComponent(Popover.Indicator, mergeProps({
113
- "data-slot": "popover-indicator",
114
115
  get ["class"] () {
115
116
  return local.class;
116
117
  }
117
- }, others));
118
+ }, others, {
119
+ "data-slot": "popover-indicator"
120
+ }));
118
121
  }
119
122
  function PopoverPositioner(props) {
120
123
  const [local, others] = splitProps(props, [
@@ -123,11 +126,12 @@ function PopoverPositioner(props) {
123
126
  return createComponent(OverlayPortal, {
124
127
  get children () {
125
128
  return createComponent(Popover.Positioner, mergeProps({
126
- "data-slot": "popover-positioner",
127
129
  get ["class"] () {
128
130
  return cn('z-[var(--z-index,var(--moduix-z-popup))] max-w-[var(--available-width)] outline-0', local.class);
129
131
  }
130
- }, others));
132
+ }, others, {
133
+ "data-slot": "popover-positioner"
134
+ }));
131
135
  }
132
136
  });
133
137
  }
@@ -136,11 +140,12 @@ function PopoverContent(props) {
136
140
  'class'
137
141
  ]);
138
142
  return createComponent(Popover.Content, mergeProps({
139
- "data-slot": "popover-content",
140
143
  get ["class"] () {
141
144
  return cn('group/popover-content relative z-[calc(var(--moduix-z-popup)+var(--layer-index,0))] max-h-[min(24rem,var(--available-height,100dvh))] max-w-[min(28rem,var(--available-width))] min-w-[min(16rem,var(--available-width))] origin-[var(--transform-origin)] overflow-visible rounded-md bg-popover p-4 wrap-anywhere text-popover-foreground shadow-lg outline-1 outline-border has-[>[data-slot=popover-body]]:flex has-[>[data-slot=popover-body]]:flex-col data-[state=closed]:animate-moduix-menu-closed data-[state=open]:animate-moduix-menu-open motion-reduce:animate-none has-[>[data-slot=popover-body]]:[&>[data-slot=popover-body]]:overflow-auto', local.class);
142
145
  }
143
- }, others));
146
+ }, others, {
147
+ "data-slot": "popover-content"
148
+ }));
144
149
  }
145
150
  function PopoverArrow(props) {
146
151
  const [local, others] = splitProps(props, [
@@ -149,11 +154,11 @@ function PopoverArrow(props) {
149
154
  ]);
150
155
  const resolvedChildren = children(()=>local.children);
151
156
  return createComponent(Popover.Arrow, mergeProps({
152
- "data-slot": "popover-arrow",
153
157
  get ["class"] () {
154
158
  return cn('[--arrow-background:var(--color-popover)] [--arrow-size:0.625rem]', local.class);
155
159
  }
156
160
  }, others, {
161
+ "data-slot": "popover-arrow",
157
162
  get children () {
158
163
  return resolvedChildren() ?? createComponent(PopoverArrowTip, {});
159
164
  }
@@ -164,33 +169,36 @@ function PopoverArrowTip(props) {
164
169
  'class'
165
170
  ]);
166
171
  return createComponent(Popover.ArrowTip, mergeProps({
167
- "data-slot": "popover-arrow-tip",
168
172
  get ["class"] () {
169
173
  return cn('border-t border-l border-border', local.class);
170
174
  }
171
- }, others));
175
+ }, others, {
176
+ "data-slot": "popover-arrow-tip"
177
+ }));
172
178
  }
173
179
  function PopoverTitle(props) {
174
180
  const [local, others] = splitProps(props, [
175
181
  'class'
176
182
  ]);
177
183
  return createComponent(Popover.Title, mergeProps({
178
- "data-slot": "popover-title",
179
184
  get ["class"] () {
180
185
  return cn('text-md leading-6 font-semibold text-popover-foreground', local.class);
181
186
  }
182
- }, others));
187
+ }, others, {
188
+ "data-slot": "popover-title"
189
+ }));
183
190
  }
184
191
  function PopoverDescription(props) {
185
192
  const [local, others] = splitProps(props, [
186
193
  'class'
187
194
  ]);
188
195
  return createComponent(Popover.Description, mergeProps({
189
- "data-slot": "popover-description",
190
196
  get ["class"] () {
191
197
  return cn('text-sm leading-5 text-muted-foreground', local.class);
192
198
  }
193
- }, others));
199
+ }, others, {
200
+ "data-slot": "popover-description"
201
+ }));
194
202
  }
195
203
  function PopoverCloseTrigger(props) {
196
204
  const [local, others] = splitProps(props, [
@@ -201,11 +209,12 @@ function PopoverCloseTrigger(props) {
201
209
  get asChild () {
202
210
  return local.asChild;
203
211
  },
204
- "data-slot": "popover-close-trigger",
205
212
  get ["class"] () {
206
213
  return cn(!local.asChild && 'box-border inline-flex min-h-control-md cursor-pointer items-center justify-center rounded-md border border-border bg-background px-3.5 py-1 text-md leading-6 text-foreground outline-0 transition-[background-color,border-color,color] duration-200 ease-in-out select-none focus-visible:outline-1 focus-visible:-outline-offset-1 focus-visible:outline-ring active:bg-accent disabled:pointer-events-none disabled:opacity-50 data-disabled:pointer-events-none data-disabled:opacity-50 motion-reduce:transition-none [@media(hover:hover)]:hover:bg-accent', local.class);
207
214
  }
208
- }, others));
215
+ }, others, {
216
+ "data-slot": "popover-close-trigger"
217
+ }));
209
218
  }
210
219
  function PopoverCloseIcon(props) {
211
220
  const [local, others] = splitProps(props, [
@@ -238,33 +247,36 @@ function PopoverHeader(props) {
238
247
  'class'
239
248
  ]);
240
249
  return createComponent(ark.div, mergeProps({
241
- "data-slot": "popover-header",
242
250
  get ["class"] () {
243
251
  return cn('grid gap-1 group-has-[>[data-slot=popover-close-icon]]/popover-content:pe-10', local.class);
244
252
  }
245
- }, others));
253
+ }, others, {
254
+ "data-slot": "popover-header"
255
+ }));
246
256
  }
247
257
  function PopoverBody(props) {
248
258
  const [local, others] = splitProps(props, [
249
259
  'class'
250
260
  ]);
251
261
  return createComponent(ark.div, mergeProps({
252
- "data-slot": "popover-body",
253
262
  get ["class"] () {
254
263
  return cn('min-h-0', local.class);
255
264
  }
256
- }, others));
265
+ }, others, {
266
+ "data-slot": "popover-body"
267
+ }));
257
268
  }
258
269
  function PopoverFooter(props) {
259
270
  const [local, others] = splitProps(props, [
260
271
  'class'
261
272
  ]);
262
273
  return createComponent(ark.div, mergeProps({
263
- "data-slot": "popover-footer",
264
274
  get ["class"] () {
265
275
  return cn('mt-3 flex items-center justify-end gap-2', local.class);
266
276
  }
267
- }, others));
277
+ }, others, {
278
+ "data-slot": "popover-footer"
279
+ }));
268
280
  }
269
281
  const Popover_Popover = Object.assign(PopoverRoot, {
270
282
  Root: PopoverRoot,
@@ -39,34 +39,34 @@ function PopoverAnchor(props) {
39
39
  const [local, others] = splitProps(props, [
40
40
  'class'
41
41
  ]);
42
- return <Popover.Anchor data-slot="popover-anchor" class={local.class} {...others}/>;
42
+ return <Popover.Anchor class={local.class} {...others} data-slot="popover-anchor"/>;
43
43
  }
44
44
  function PopoverTrigger(props) {
45
45
  const [local, others] = splitProps(props, [
46
46
  'asChild',
47
47
  'class'
48
48
  ]);
49
- return <Popover.Trigger asChild={local.asChild} data-slot="popover-trigger" class={cn(!local.asChild && 'box-border inline-flex min-h-control-md cursor-pointer items-center justify-center rounded-md border border-border bg-background px-3.5 py-1 text-md leading-6 text-foreground outline-0 transition-[background-color,border-color,color] duration-200 ease-in-out select-none focus-visible:outline-1 focus-visible:-outline-offset-1 focus-visible:outline-ring active:bg-accent disabled:pointer-events-none disabled:opacity-50 data-disabled:pointer-events-none data-disabled:opacity-50 data-[state=open]:not-data-[value]:bg-accent data-[current]:data-[state=open]:bg-accent motion-reduce:transition-none [@media(hover:hover)]:hover:bg-accent', local.class)} {...others}/>;
49
+ return <Popover.Trigger asChild={local.asChild} class={cn(!local.asChild && 'box-border inline-flex min-h-control-md cursor-pointer items-center justify-center rounded-md border border-border bg-background px-3.5 py-1 text-md leading-6 text-foreground outline-0 transition-[background-color,border-color,color] duration-200 ease-in-out select-none focus-visible:outline-1 focus-visible:-outline-offset-1 focus-visible:outline-ring active:bg-accent disabled:pointer-events-none disabled:opacity-50 data-disabled:pointer-events-none data-disabled:opacity-50 data-[state=open]:not-data-[value]:bg-accent data-[current]:data-[state=open]:bg-accent motion-reduce:transition-none [@media(hover:hover)]:hover:bg-accent', local.class)} {...others} data-slot="popover-trigger"/>;
50
50
  }
51
51
  function PopoverIndicator(props) {
52
52
  const [local, others] = splitProps(props, [
53
53
  'class'
54
54
  ]);
55
- return <Popover.Indicator data-slot="popover-indicator" class={local.class} {...others}/>;
55
+ return <Popover.Indicator class={local.class} {...others} data-slot="popover-indicator"/>;
56
56
  }
57
57
  function PopoverPositioner(props) {
58
58
  const [local, others] = splitProps(props, [
59
59
  'class'
60
60
  ]);
61
61
  return <OverlayPortal>
62
- <Popover.Positioner data-slot="popover-positioner" class={cn('z-[var(--z-index,var(--moduix-z-popup))] max-w-[var(--available-width)] outline-0', local.class)} {...others}/>
62
+ <Popover.Positioner class={cn('z-[var(--z-index,var(--moduix-z-popup))] max-w-[var(--available-width)] outline-0', local.class)} {...others} data-slot="popover-positioner"/>
63
63
  </OverlayPortal>;
64
64
  }
65
65
  function PopoverContent(props) {
66
66
  const [local, others] = splitProps(props, [
67
67
  'class'
68
68
  ]);
69
- return <Popover.Content data-slot="popover-content" class={cn('group/popover-content relative z-[calc(var(--moduix-z-popup)+var(--layer-index,0))] max-h-[min(24rem,var(--available-height,100dvh))] max-w-[min(28rem,var(--available-width))] min-w-[min(16rem,var(--available-width))] origin-[var(--transform-origin)] overflow-visible rounded-md bg-popover p-4 wrap-anywhere text-popover-foreground shadow-lg outline-1 outline-border has-[>[data-slot=popover-body]]:flex has-[>[data-slot=popover-body]]:flex-col data-[state=closed]:animate-moduix-menu-closed data-[state=open]:animate-moduix-menu-open motion-reduce:animate-none has-[>[data-slot=popover-body]]:[&>[data-slot=popover-body]]:overflow-auto', local.class)} {...others}/>;
69
+ return <Popover.Content class={cn('group/popover-content relative z-[calc(var(--moduix-z-popup)+var(--layer-index,0))] max-h-[min(24rem,var(--available-height,100dvh))] max-w-[min(28rem,var(--available-width))] min-w-[min(16rem,var(--available-width))] origin-[var(--transform-origin)] overflow-visible rounded-md bg-popover p-4 wrap-anywhere text-popover-foreground shadow-lg outline-1 outline-border has-[>[data-slot=popover-body]]:flex has-[>[data-slot=popover-body]]:flex-col data-[state=closed]:animate-moduix-menu-closed data-[state=open]:animate-moduix-menu-open motion-reduce:animate-none has-[>[data-slot=popover-body]]:[&>[data-slot=popover-body]]:overflow-auto', local.class)} {...others} data-slot="popover-content"/>;
70
70
  }
71
71
  function PopoverArrow(props) {
72
72
  const [local, others] = splitProps(props, [
@@ -74,7 +74,7 @@ function PopoverArrow(props) {
74
74
  'class'
75
75
  ]);
76
76
  const resolvedChildren = children(()=>local.children);
77
- return <Popover.Arrow data-slot="popover-arrow" class={cn('[--arrow-background:var(--color-popover)] [--arrow-size:0.625rem]', local.class)} {...others}>
77
+ return <Popover.Arrow class={cn('[--arrow-background:var(--color-popover)] [--arrow-size:0.625rem]', local.class)} {...others} data-slot="popover-arrow">
78
78
  {resolvedChildren() ?? <PopoverArrowTip/>}
79
79
  </Popover.Arrow>;
80
80
  }
@@ -82,26 +82,26 @@ function PopoverArrowTip(props) {
82
82
  const [local, others] = splitProps(props, [
83
83
  'class'
84
84
  ]);
85
- return <Popover.ArrowTip data-slot="popover-arrow-tip" class={cn('border-t border-l border-border', local.class)} {...others}/>;
85
+ return <Popover.ArrowTip class={cn('border-t border-l border-border', local.class)} {...others} data-slot="popover-arrow-tip"/>;
86
86
  }
87
87
  function PopoverTitle(props) {
88
88
  const [local, others] = splitProps(props, [
89
89
  'class'
90
90
  ]);
91
- return <Popover.Title data-slot="popover-title" class={cn('text-md leading-6 font-semibold text-popover-foreground', local.class)} {...others}/>;
91
+ return <Popover.Title class={cn('text-md leading-6 font-semibold text-popover-foreground', local.class)} {...others} data-slot="popover-title"/>;
92
92
  }
93
93
  function PopoverDescription(props) {
94
94
  const [local, others] = splitProps(props, [
95
95
  'class'
96
96
  ]);
97
- return <Popover.Description data-slot="popover-description" class={cn('text-sm leading-5 text-muted-foreground', local.class)} {...others}/>;
97
+ return <Popover.Description class={cn('text-sm leading-5 text-muted-foreground', local.class)} {...others} data-slot="popover-description"/>;
98
98
  }
99
99
  function PopoverCloseTrigger(props) {
100
100
  const [local, others] = splitProps(props, [
101
101
  'asChild',
102
102
  'class'
103
103
  ]);
104
- return <Popover.CloseTrigger asChild={local.asChild} data-slot="popover-close-trigger" class={cn(!local.asChild && 'box-border inline-flex min-h-control-md cursor-pointer items-center justify-center rounded-md border border-border bg-background px-3.5 py-1 text-md leading-6 text-foreground outline-0 transition-[background-color,border-color,color] duration-200 ease-in-out select-none focus-visible:outline-1 focus-visible:-outline-offset-1 focus-visible:outline-ring active:bg-accent disabled:pointer-events-none disabled:opacity-50 data-disabled:pointer-events-none data-disabled:opacity-50 motion-reduce:transition-none [@media(hover:hover)]:hover:bg-accent', local.class)} {...others}/>;
104
+ return <Popover.CloseTrigger asChild={local.asChild} class={cn(!local.asChild && 'box-border inline-flex min-h-control-md cursor-pointer items-center justify-center rounded-md border border-border bg-background px-3.5 py-1 text-md leading-6 text-foreground outline-0 transition-[background-color,border-color,color] duration-200 ease-in-out select-none focus-visible:outline-1 focus-visible:-outline-offset-1 focus-visible:outline-ring active:bg-accent disabled:pointer-events-none disabled:opacity-50 data-disabled:pointer-events-none data-disabled:opacity-50 motion-reduce:transition-none [@media(hover:hover)]:hover:bg-accent', local.class)} {...others} data-slot="popover-close-trigger"/>;
105
105
  }
106
106
  function PopoverCloseIcon(props) {
107
107
  const [local, others] = splitProps(props, [
@@ -119,19 +119,19 @@ function PopoverHeader(props) {
119
119
  const [local, others] = splitProps(props, [
120
120
  'class'
121
121
  ]);
122
- return <ark.div data-slot="popover-header" class={cn('grid gap-1 group-has-[>[data-slot=popover-close-icon]]/popover-content:pe-10', local.class)} {...others}/>;
122
+ return <ark.div class={cn('grid gap-1 group-has-[>[data-slot=popover-close-icon]]/popover-content:pe-10', local.class)} {...others} data-slot="popover-header"/>;
123
123
  }
124
124
  function PopoverBody(props) {
125
125
  const [local, others] = splitProps(props, [
126
126
  'class'
127
127
  ]);
128
- return <ark.div data-slot="popover-body" class={cn('min-h-0', local.class)} {...others}/>;
128
+ return <ark.div class={cn('min-h-0', local.class)} {...others} data-slot="popover-body"/>;
129
129
  }
130
130
  function PopoverFooter(props) {
131
131
  const [local, others] = splitProps(props, [
132
132
  'class'
133
133
  ]);
134
- return <ark.div data-slot="popover-footer" class={cn('mt-3 flex items-center justify-end gap-2', local.class)} {...others}/>;
134
+ return <ark.div class={cn('mt-3 flex items-center justify-end gap-2', local.class)} {...others} data-slot="popover-footer"/>;
135
135
  }
136
136
  const Popover_Popover = Object.assign(PopoverRoot, {
137
137
  Root: PopoverRoot,
@@ -12,11 +12,11 @@ function ProgressCircularRoot(props) {
12
12
  get asChild () {
13
13
  return local.asChild;
14
14
  },
15
- "data-slot": "progress-circular-root",
16
15
  get ["class"] () {
17
16
  return cn('inline-grid w-max max-w-full min-w-0 justify-items-center gap-2 text-foreground', local.class);
18
17
  }
19
18
  }, others, {
19
+ "data-slot": "progress-circular-root",
20
20
  get children () {
21
21
  return local.children;
22
22
  }
@@ -32,11 +32,11 @@ function ProgressCircularRootProvider(props) {
32
32
  get asChild () {
33
33
  return local.asChild;
34
34
  },
35
- "data-slot": "progress-circular-root-provider",
36
35
  get ["class"] () {
37
36
  return cn('inline-grid w-max max-w-full min-w-0 justify-items-center gap-2 text-foreground', local.class);
38
37
  }
39
38
  }, others, {
39
+ "data-slot": "progress-circular-root-provider",
40
40
  get children () {
41
41
  return local.children;
42
42
  }
@@ -51,11 +51,12 @@ function ProgressCircularLabel(props) {
51
51
  get asChild () {
52
52
  return local.asChild;
53
53
  },
54
- "data-slot": "progress-circular-label",
55
54
  get ["class"] () {
56
55
  return cn('max-w-full min-w-0 text-center text-sm font-regular [overflow-wrap:anywhere]', local.class);
57
56
  }
58
- }, others));
57
+ }, others, {
58
+ "data-slot": "progress-circular-label"
59
+ }));
59
60
  }
60
61
  function ProgressCircularValueText(props) {
61
62
  const [local, others] = splitProps(props, [
@@ -66,11 +67,12 @@ function ProgressCircularValueText(props) {
66
67
  get asChild () {
67
68
  return local.asChild;
68
69
  },
69
- "data-slot": "progress-circular-value-text",
70
70
  get ["class"] () {
71
71
  return cn('max-w-full min-w-0 text-center text-sm font-medium [overflow-wrap:anywhere]', local.class);
72
72
  }
73
- }, others));
73
+ }, others, {
74
+ "data-slot": "progress-circular-value-text"
75
+ }));
74
76
  }
75
77
  function ProgressCircularCircle(props) {
76
78
  const [local, others] = splitProps(props, [
@@ -82,11 +84,11 @@ function ProgressCircularCircle(props) {
82
84
  get asChild () {
83
85
  return local.asChild;
84
86
  },
85
- "data-slot": "progress-circular-circle",
86
87
  get ["class"] () {
87
88
  return cn('block overflow-visible [--size:var(--spacing-control-xl)] [--thickness:0.4rem]', local.class);
88
89
  }
89
90
  }, others, {
91
+ "data-slot": "progress-circular-circle",
90
92
  get children () {
91
93
  return local.children;
92
94
  }
@@ -101,11 +103,12 @@ function ProgressCircularCircleTrack(props) {
101
103
  get asChild () {
102
104
  return local.asChild;
103
105
  },
104
- "data-slot": "progress-circular-circle-track",
105
106
  get ["class"] () {
106
107
  return cn('stroke-muted', local.class);
107
108
  }
108
- }, others));
109
+ }, others, {
110
+ "data-slot": "progress-circular-circle-track"
111
+ }));
109
112
  }
110
113
  function ProgressCircularCircleRange(props) {
111
114
  const [local, others] = splitProps(props, [
@@ -116,11 +119,12 @@ function ProgressCircularCircleRange(props) {
116
119
  get asChild () {
117
120
  return local.asChild;
118
121
  },
119
- "data-slot": "progress-circular-circle-range",
120
122
  get ["class"] () {
121
123
  return cn('origin-center stroke-primary transition-[stroke-dashoffset] duration-200 ease-in-out [stroke-linecap:round] [transform-box:fill-box] data-[state=indeterminate]:animate-[moduix-spin_1.4s_linear_infinite] data-[state=indeterminate]:[stroke-dasharray:1_200] motion-reduce:transition-none motion-reduce:data-[state=indeterminate]:animate-none motion-reduce:data-[state=indeterminate]:[stroke-dasharray:20_200]', local.class);
122
124
  }
123
- }, others));
125
+ }, others, {
126
+ "data-slot": "progress-circular-circle-range"
127
+ }));
124
128
  }
125
129
  function ProgressCircularRing(props) {
126
130
  return createComponent(ProgressCircularCircle, mergeProps(props, {
@@ -141,11 +145,12 @@ function ProgressCircularView(props) {
141
145
  get asChild () {
142
146
  return local.asChild;
143
147
  },
144
- "data-slot": "progress-circular-view",
145
148
  get ["class"] () {
146
149
  return cn('contents', local.class);
147
150
  }
148
- }, others));
151
+ }, others, {
152
+ "data-slot": "progress-circular-view"
153
+ }));
149
154
  }
150
155
  const ProgressCircular = Object.assign(ProgressCircularRoot, {
151
156
  Root: ProgressCircularRoot,
@@ -7,7 +7,7 @@ function ProgressCircularRoot(props) {
7
7
  'children',
8
8
  'class'
9
9
  ]);
10
- return <Progress.Root asChild={local.asChild} data-slot="progress-circular-root" class={cn('inline-grid w-max max-w-full min-w-0 justify-items-center gap-2 text-foreground', local.class)} {...others}>
10
+ return <Progress.Root asChild={local.asChild} class={cn('inline-grid w-max max-w-full min-w-0 justify-items-center gap-2 text-foreground', local.class)} {...others} data-slot="progress-circular-root">
11
11
  {local.children}
12
12
  </Progress.Root>;
13
13
  }
@@ -17,7 +17,7 @@ function ProgressCircularRootProvider(props) {
17
17
  'children',
18
18
  'class'
19
19
  ]);
20
- return <Progress.RootProvider asChild={local.asChild} data-slot="progress-circular-root-provider" class={cn('inline-grid w-max max-w-full min-w-0 justify-items-center gap-2 text-foreground', local.class)} {...others}>
20
+ return <Progress.RootProvider asChild={local.asChild} class={cn('inline-grid w-max max-w-full min-w-0 justify-items-center gap-2 text-foreground', local.class)} {...others} data-slot="progress-circular-root-provider">
21
21
  {local.children}
22
22
  </Progress.RootProvider>;
23
23
  }
@@ -26,14 +26,14 @@ function ProgressCircularLabel(props) {
26
26
  'asChild',
27
27
  'class'
28
28
  ]);
29
- return <Progress.Label asChild={local.asChild} data-slot="progress-circular-label" class={cn('max-w-full min-w-0 text-center text-sm font-regular [overflow-wrap:anywhere]', local.class)} {...others}/>;
29
+ return <Progress.Label asChild={local.asChild} class={cn('max-w-full min-w-0 text-center text-sm font-regular [overflow-wrap:anywhere]', local.class)} {...others} data-slot="progress-circular-label"/>;
30
30
  }
31
31
  function ProgressCircularValueText(props) {
32
32
  const [local, others] = splitProps(props, [
33
33
  'asChild',
34
34
  'class'
35
35
  ]);
36
- return <Progress.ValueText asChild={local.asChild} data-slot="progress-circular-value-text" class={cn('max-w-full min-w-0 text-center text-sm font-medium [overflow-wrap:anywhere]', local.class)} {...others}/>;
36
+ return <Progress.ValueText asChild={local.asChild} class={cn('max-w-full min-w-0 text-center text-sm font-medium [overflow-wrap:anywhere]', local.class)} {...others} data-slot="progress-circular-value-text"/>;
37
37
  }
38
38
  function ProgressCircularCircle(props) {
39
39
  const [local, others] = splitProps(props, [
@@ -41,7 +41,7 @@ function ProgressCircularCircle(props) {
41
41
  'children',
42
42
  'class'
43
43
  ]);
44
- return <Progress.Circle asChild={local.asChild} data-slot="progress-circular-circle" class={cn('block overflow-visible [--size:var(--spacing-control-xl)] [--thickness:0.4rem]', local.class)} {...others}>
44
+ return <Progress.Circle asChild={local.asChild} class={cn('block overflow-visible [--size:var(--spacing-control-xl)] [--thickness:0.4rem]', local.class)} {...others} data-slot="progress-circular-circle">
45
45
  {local.children}
46
46
  </Progress.Circle>;
47
47
  }
@@ -50,14 +50,14 @@ function ProgressCircularCircleTrack(props) {
50
50
  'asChild',
51
51
  'class'
52
52
  ]);
53
- return <Progress.CircleTrack asChild={local.asChild} data-slot="progress-circular-circle-track" class={cn('stroke-muted', local.class)} {...others}/>;
53
+ return <Progress.CircleTrack asChild={local.asChild} class={cn('stroke-muted', local.class)} {...others} data-slot="progress-circular-circle-track"/>;
54
54
  }
55
55
  function ProgressCircularCircleRange(props) {
56
56
  const [local, others] = splitProps(props, [
57
57
  'asChild',
58
58
  'class'
59
59
  ]);
60
- return <Progress.CircleRange asChild={local.asChild} data-slot="progress-circular-circle-range" class={cn('origin-center stroke-primary transition-[stroke-dashoffset] duration-200 ease-in-out [stroke-linecap:round] [transform-box:fill-box] data-[state=indeterminate]:animate-[moduix-spin_1.4s_linear_infinite] data-[state=indeterminate]:[stroke-dasharray:1_200] motion-reduce:transition-none motion-reduce:data-[state=indeterminate]:animate-none motion-reduce:data-[state=indeterminate]:[stroke-dasharray:20_200]', local.class)} {...others}/>;
60
+ return <Progress.CircleRange asChild={local.asChild} class={cn('origin-center stroke-primary transition-[stroke-dashoffset] duration-200 ease-in-out [stroke-linecap:round] [transform-box:fill-box] data-[state=indeterminate]:animate-[moduix-spin_1.4s_linear_infinite] data-[state=indeterminate]:[stroke-dasharray:1_200] motion-reduce:transition-none motion-reduce:data-[state=indeterminate]:animate-none motion-reduce:data-[state=indeterminate]:[stroke-dasharray:20_200]', local.class)} {...others} data-slot="progress-circular-circle-range"/>;
61
61
  }
62
62
  function ProgressCircularRing(props) {
63
63
  return <ProgressCircularCircle {...props}>
@@ -70,7 +70,7 @@ function ProgressCircularView(props) {
70
70
  'asChild',
71
71
  'class'
72
72
  ]);
73
- return <Progress.View asChild={local.asChild} data-slot="progress-circular-view" class={cn('contents', local.class)} {...others}/>;
73
+ return <Progress.View asChild={local.asChild} class={cn('contents', local.class)} {...others} data-slot="progress-circular-view"/>;
74
74
  }
75
75
  const ProgressCircular = Object.assign(ProgressCircularRoot, {
76
76
  Root: ProgressCircularRoot,
@@ -12,11 +12,11 @@ function ProgressLinearRoot(props) {
12
12
  get asChild () {
13
13
  return local.asChild;
14
14
  },
15
- "data-slot": "progress-linear-root",
16
15
  get ["class"] () {
17
16
  return cn('box-border grid w-48 max-w-full min-w-0 grid-cols-[minmax(0,1fr)_auto] gap-2 text-foreground data-[orientation=vertical]:h-48 data-[orientation=vertical]:w-max data-[orientation=vertical]:grid-rows-[auto_minmax(0,1fr)]', local.class);
18
17
  }
19
18
  }, others, {
19
+ "data-slot": "progress-linear-root",
20
20
  get children () {
21
21
  return local.children;
22
22
  }
@@ -32,11 +32,11 @@ function ProgressLinearRootProvider(props) {
32
32
  get asChild () {
33
33
  return local.asChild;
34
34
  },
35
- "data-slot": "progress-linear-root-provider",
36
35
  get ["class"] () {
37
36
  return cn('box-border grid w-48 max-w-full min-w-0 grid-cols-[minmax(0,1fr)_auto] gap-2 text-foreground data-[orientation=vertical]:h-48 data-[orientation=vertical]:w-max data-[orientation=vertical]:grid-rows-[auto_minmax(0,1fr)]', local.class);
38
37
  }
39
38
  }, others, {
39
+ "data-slot": "progress-linear-root-provider",
40
40
  get children () {
41
41
  return local.children;
42
42
  }
@@ -51,11 +51,12 @@ function ProgressLinearLabel(props) {
51
51
  get asChild () {
52
52
  return local.asChild;
53
53
  },
54
- "data-slot": "progress-linear-label",
55
54
  get ["class"] () {
56
55
  return cn('min-w-0 text-sm leading-5 font-normal [overflow-wrap:anywhere] text-current', local.class);
57
56
  }
58
- }, others));
57
+ }, others, {
58
+ "data-slot": "progress-linear-label"
59
+ }));
59
60
  }
60
61
  function ProgressLinearValueText(props) {
61
62
  const [local, others] = splitProps(props, [
@@ -66,11 +67,12 @@ function ProgressLinearValueText(props) {
66
67
  get asChild () {
67
68
  return local.asChild;
68
69
  },
69
- "data-slot": "progress-linear-value-text",
70
70
  get ["class"] () {
71
71
  return cn('min-w-0 justify-self-end text-end text-sm leading-5 font-normal [overflow-wrap:anywhere] text-current', local.class);
72
72
  }
73
- }, others));
73
+ }, others, {
74
+ "data-slot": "progress-linear-value-text"
75
+ }));
74
76
  }
75
77
  function ProgressLinearTrack(props) {
76
78
  const [local, others] = splitProps(props, [
@@ -81,11 +83,12 @@ function ProgressLinearTrack(props) {
81
83
  get asChild () {
82
84
  return local.asChild;
83
85
  },
84
- "data-slot": "progress-linear-track",
85
86
  get ["class"] () {
86
87
  return cn('col-span-full box-border block h-2 w-full overflow-hidden rounded-full bg-muted ring-1 ring-border ring-inset data-[orientation=vertical]:flex data-[orientation=vertical]:h-full data-[orientation=vertical]:w-2 data-[orientation=vertical]:items-end data-[orientation=vertical]:justify-self-center', local.class);
87
88
  }
88
- }, others));
89
+ }, others, {
90
+ "data-slot": "progress-linear-track"
91
+ }));
89
92
  }
90
93
  function ProgressLinearRange(props) {
91
94
  const [local, others] = splitProps(props, [
@@ -96,11 +99,12 @@ function ProgressLinearRange(props) {
96
99
  get asChild () {
97
100
  return local.asChild;
98
101
  },
99
- "data-slot": "progress-linear-range",
100
102
  get ["class"] () {
101
103
  return cn('block h-full rounded-[inherit] bg-primary transition-[width,height] duration-200 ease-in-out data-[orientation=vertical]:w-full data-[state=indeterminate]:w-[35%] data-[state=indeterminate]:animate-moduix-progress-linear-indeterminate data-[state=indeterminate]:data-[orientation=vertical]:h-[35%] data-[state=indeterminate]:data-[orientation=vertical]:animate-moduix-progress-linear-indeterminate-vertical motion-reduce:data-[state=indeterminate]:translate-x-0 motion-reduce:data-[state=indeterminate]:translate-y-0 motion-reduce:data-[state=indeterminate]:animate-none rtl:data-[state=indeterminate]:data-[orientation=horizontal]:[animation-direction:reverse]', local.class);
102
104
  }
103
- }, others));
105
+ }, others, {
106
+ "data-slot": "progress-linear-range"
107
+ }));
104
108
  }
105
109
  function ProgressLinearView(props) {
106
110
  const [local, others] = splitProps(props, [
@@ -111,11 +115,12 @@ function ProgressLinearView(props) {
111
115
  get asChild () {
112
116
  return local.asChild;
113
117
  },
114
- "data-slot": "progress-linear-view",
115
118
  get ["class"] () {
116
119
  return cn('contents', local.class);
117
120
  }
118
- }, others));
121
+ }, others, {
122
+ "data-slot": "progress-linear-view"
123
+ }));
119
124
  }
120
125
  const ProgressLinear = Object.assign(ProgressLinearRoot, {
121
126
  Root: ProgressLinearRoot,
@@ -7,7 +7,7 @@ function ProgressLinearRoot(props) {
7
7
  'children',
8
8
  'class'
9
9
  ]);
10
- return <Progress.Root asChild={local.asChild} data-slot="progress-linear-root" class={cn('box-border grid w-48 max-w-full min-w-0 grid-cols-[minmax(0,1fr)_auto] gap-2 text-foreground data-[orientation=vertical]:h-48 data-[orientation=vertical]:w-max data-[orientation=vertical]:grid-rows-[auto_minmax(0,1fr)]', local.class)} {...others}>
10
+ return <Progress.Root asChild={local.asChild} class={cn('box-border grid w-48 max-w-full min-w-0 grid-cols-[minmax(0,1fr)_auto] gap-2 text-foreground data-[orientation=vertical]:h-48 data-[orientation=vertical]:w-max data-[orientation=vertical]:grid-rows-[auto_minmax(0,1fr)]', local.class)} {...others} data-slot="progress-linear-root">
11
11
  {local.children}
12
12
  </Progress.Root>;
13
13
  }
@@ -17,7 +17,7 @@ function ProgressLinearRootProvider(props) {
17
17
  'children',
18
18
  'class'
19
19
  ]);
20
- return <Progress.RootProvider asChild={local.asChild} data-slot="progress-linear-root-provider" class={cn('box-border grid w-48 max-w-full min-w-0 grid-cols-[minmax(0,1fr)_auto] gap-2 text-foreground data-[orientation=vertical]:h-48 data-[orientation=vertical]:w-max data-[orientation=vertical]:grid-rows-[auto_minmax(0,1fr)]', local.class)} {...others}>
20
+ return <Progress.RootProvider asChild={local.asChild} class={cn('box-border grid w-48 max-w-full min-w-0 grid-cols-[minmax(0,1fr)_auto] gap-2 text-foreground data-[orientation=vertical]:h-48 data-[orientation=vertical]:w-max data-[orientation=vertical]:grid-rows-[auto_minmax(0,1fr)]', local.class)} {...others} data-slot="progress-linear-root-provider">
21
21
  {local.children}
22
22
  </Progress.RootProvider>;
23
23
  }
@@ -26,35 +26,35 @@ function ProgressLinearLabel(props) {
26
26
  'asChild',
27
27
  'class'
28
28
  ]);
29
- return <Progress.Label asChild={local.asChild} data-slot="progress-linear-label" class={cn('min-w-0 text-sm leading-5 font-normal [overflow-wrap:anywhere] text-current', local.class)} {...others}/>;
29
+ return <Progress.Label asChild={local.asChild} class={cn('min-w-0 text-sm leading-5 font-normal [overflow-wrap:anywhere] text-current', local.class)} {...others} data-slot="progress-linear-label"/>;
30
30
  }
31
31
  function ProgressLinearValueText(props) {
32
32
  const [local, others] = splitProps(props, [
33
33
  'asChild',
34
34
  'class'
35
35
  ]);
36
- return <Progress.ValueText asChild={local.asChild} data-slot="progress-linear-value-text" class={cn('min-w-0 justify-self-end text-end text-sm leading-5 font-normal [overflow-wrap:anywhere] text-current', local.class)} {...others}/>;
36
+ return <Progress.ValueText asChild={local.asChild} class={cn('min-w-0 justify-self-end text-end text-sm leading-5 font-normal [overflow-wrap:anywhere] text-current', local.class)} {...others} data-slot="progress-linear-value-text"/>;
37
37
  }
38
38
  function ProgressLinearTrack(props) {
39
39
  const [local, others] = splitProps(props, [
40
40
  'asChild',
41
41
  'class'
42
42
  ]);
43
- return <Progress.Track asChild={local.asChild} data-slot="progress-linear-track" class={cn('col-span-full box-border block h-2 w-full overflow-hidden rounded-full bg-muted ring-1 ring-border ring-inset data-[orientation=vertical]:flex data-[orientation=vertical]:h-full data-[orientation=vertical]:w-2 data-[orientation=vertical]:items-end data-[orientation=vertical]:justify-self-center', local.class)} {...others}/>;
43
+ return <Progress.Track asChild={local.asChild} class={cn('col-span-full box-border block h-2 w-full overflow-hidden rounded-full bg-muted ring-1 ring-border ring-inset data-[orientation=vertical]:flex data-[orientation=vertical]:h-full data-[orientation=vertical]:w-2 data-[orientation=vertical]:items-end data-[orientation=vertical]:justify-self-center', local.class)} {...others} data-slot="progress-linear-track"/>;
44
44
  }
45
45
  function ProgressLinearRange(props) {
46
46
  const [local, others] = splitProps(props, [
47
47
  'asChild',
48
48
  'class'
49
49
  ]);
50
- return <Progress.Range asChild={local.asChild} data-slot="progress-linear-range" class={cn('block h-full rounded-[inherit] bg-primary transition-[width,height] duration-200 ease-in-out data-[orientation=vertical]:w-full data-[state=indeterminate]:w-[35%] data-[state=indeterminate]:animate-moduix-progress-linear-indeterminate data-[state=indeterminate]:data-[orientation=vertical]:h-[35%] data-[state=indeterminate]:data-[orientation=vertical]:animate-moduix-progress-linear-indeterminate-vertical motion-reduce:data-[state=indeterminate]:translate-x-0 motion-reduce:data-[state=indeterminate]:translate-y-0 motion-reduce:data-[state=indeterminate]:animate-none rtl:data-[state=indeterminate]:data-[orientation=horizontal]:[animation-direction:reverse]', local.class)} {...others}/>;
50
+ return <Progress.Range asChild={local.asChild} class={cn('block h-full rounded-[inherit] bg-primary transition-[width,height] duration-200 ease-in-out data-[orientation=vertical]:w-full data-[state=indeterminate]:w-[35%] data-[state=indeterminate]:animate-moduix-progress-linear-indeterminate data-[state=indeterminate]:data-[orientation=vertical]:h-[35%] data-[state=indeterminate]:data-[orientation=vertical]:animate-moduix-progress-linear-indeterminate-vertical motion-reduce:data-[state=indeterminate]:translate-x-0 motion-reduce:data-[state=indeterminate]:translate-y-0 motion-reduce:data-[state=indeterminate]:animate-none rtl:data-[state=indeterminate]:data-[orientation=horizontal]:[animation-direction:reverse]', local.class)} {...others} data-slot="progress-linear-range"/>;
51
51
  }
52
52
  function ProgressLinearView(props) {
53
53
  const [local, others] = splitProps(props, [
54
54
  'asChild',
55
55
  'class'
56
56
  ]);
57
- return <Progress.View asChild={local.asChild} data-slot="progress-linear-view" class={cn('contents', local.class)} {...others}/>;
57
+ return <Progress.View asChild={local.asChild} class={cn('contents', local.class)} {...others} data-slot="progress-linear-view"/>;
58
58
  }
59
59
  const ProgressLinear = Object.assign(ProgressLinearRoot, {
60
60
  Root: ProgressLinearRoot,