@deepnoid/ui 0.0.87 → 0.0.89

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 (169) hide show
  1. package/dist/{chunk-4DLTBZUQ.mjs → chunk-3DRIHQOM.mjs} +7 -5
  2. package/dist/{chunk-4SWFYTMR.mjs → chunk-6YE26GOI.mjs} +10 -8
  3. package/dist/{chunk-QX6VJLEM.mjs → chunk-7HHFRKJU.mjs} +2 -2
  4. package/dist/{chunk-H2HUJ4N2.mjs → chunk-A3RWT3JJ.mjs} +9 -4
  5. package/dist/{chunk-BE2OG6M4.mjs → chunk-ANYPMQH4.mjs} +28 -21
  6. package/dist/{chunk-5HSZ5AYM.mjs → chunk-B4KZBOGT.mjs} +16 -16
  7. package/dist/{chunk-QIZOXBOY.mjs → chunk-DWROPKZW.mjs} +4 -4
  8. package/dist/{chunk-PHQY5T3E.mjs → chunk-HFVZFUC3.mjs} +7 -14
  9. package/dist/{chunk-IOV7MEPG.mjs → chunk-IOCRFIQF.mjs} +30 -0
  10. package/dist/{chunk-4VIEZ5FT.mjs → chunk-JN7EGKJL.mjs} +8 -7
  11. package/dist/{chunk-SFNR4F3J.mjs → chunk-L6BQA6GI.mjs} +2 -2
  12. package/dist/{chunk-PRUAIZTU.mjs → chunk-LCI6RPWE.mjs} +1 -1
  13. package/dist/{chunk-IZOMH2SL.mjs → chunk-MOINJECK.mjs} +16 -15
  14. package/dist/{chunk-QVGXHUYW.mjs → chunk-N2JULHST.mjs} +9 -9
  15. package/dist/chunk-OJ2OEI5B.mjs +202 -0
  16. package/dist/{chunk-2COCX2VX.mjs → chunk-PXUBPWKU.mjs} +2 -2
  17. package/dist/{chunk-PCIONGEJ.mjs → chunk-QWFOYO3D.mjs} +37 -19
  18. package/dist/{chunk-LY6LJRUX.mjs → chunk-RZZWHI6O.mjs} +1 -1
  19. package/dist/chunk-UR64ZUAU.mjs +671 -0
  20. package/dist/{chunk-PUFNT5LS.mjs → chunk-VG4644BG.mjs} +1 -1
  21. package/dist/components/accordion/accordion.d.mts +1 -1
  22. package/dist/components/accordion/accordion.d.ts +1 -1
  23. package/dist/components/accordion/accordion.test.mjs +3 -3
  24. package/dist/components/accordion/accordionItem.d.mts +1 -1
  25. package/dist/components/accordion/accordionItem.d.ts +1 -1
  26. package/dist/components/accordion/accordionItem.js +31 -1
  27. package/dist/components/accordion/accordionItem.mjs +3 -3
  28. package/dist/components/accordion/index.js +31 -1
  29. package/dist/components/accordion/index.mjs +3 -3
  30. package/dist/components/button/button-group.test.js +4103 -167
  31. package/dist/components/button/button-group.test.mjs +7 -3
  32. package/dist/components/button/button.d.mts +360 -12
  33. package/dist/components/button/button.d.ts +360 -12
  34. package/dist/components/button/button.js +4054 -110
  35. package/dist/components/button/button.mjs +5 -1
  36. package/dist/components/button/button.test.js +4059 -125
  37. package/dist/components/button/button.test.mjs +7 -3
  38. package/dist/components/button/index.d.mts +3 -0
  39. package/dist/components/button/index.d.ts +3 -0
  40. package/dist/components/button/index.js +4046 -112
  41. package/dist/components/button/index.mjs +5 -1
  42. package/dist/components/card/card.d.mts +1 -1
  43. package/dist/components/card/card.d.ts +1 -1
  44. package/dist/components/checkbox/checkbox.d.mts +69 -69
  45. package/dist/components/checkbox/checkbox.d.ts +69 -69
  46. package/dist/components/checkbox/checkbox.js +28 -21
  47. package/dist/components/checkbox/checkbox.mjs +1 -1
  48. package/dist/components/checkbox/checkbox.test.js +28 -21
  49. package/dist/components/checkbox/checkbox.test.mjs +3 -3
  50. package/dist/components/checkbox/index.js +28 -21
  51. package/dist/components/checkbox/index.mjs +1 -1
  52. package/dist/components/icon/Icon.d.mts +4 -0
  53. package/dist/components/icon/Icon.d.ts +4 -0
  54. package/dist/components/icon/Icon.js +30 -0
  55. package/dist/components/icon/Icon.mjs +2 -2
  56. package/dist/components/icon/index.js +30 -0
  57. package/dist/components/icon/index.mjs +2 -2
  58. package/dist/components/icon/template.d.mts +1 -0
  59. package/dist/components/icon/template.d.ts +1 -0
  60. package/dist/components/icon/template.js +30 -0
  61. package/dist/components/icon/template.mjs +1 -1
  62. package/dist/components/input/index.js +36 -4
  63. package/dist/components/input/index.mjs +3 -3
  64. package/dist/components/input/input.d.mts +7 -2
  65. package/dist/components/input/input.d.ts +7 -2
  66. package/dist/components/input/input.js +36 -4
  67. package/dist/components/input/input.mjs +3 -3
  68. package/dist/components/input/input.test.js +36 -4
  69. package/dist/components/input/input.test.mjs +4 -4
  70. package/dist/components/list/list.d.mts +1 -1
  71. package/dist/components/list/list.d.ts +1 -1
  72. package/dist/components/list/listItem.d.mts +1 -1
  73. package/dist/components/list/listItem.d.ts +1 -1
  74. package/dist/components/modal/index.js +505 -127
  75. package/dist/components/modal/index.mjs +5 -4
  76. package/dist/components/modal/modal.js +505 -127
  77. package/dist/components/modal/modal.mjs +5 -4
  78. package/dist/components/modal/modal.test.js +497 -129
  79. package/dist/components/modal/modal.test.mjs +5 -4
  80. package/dist/components/pagination/index.js +16 -16
  81. package/dist/components/pagination/index.mjs +1 -1
  82. package/dist/components/pagination/pagination.js +16 -16
  83. package/dist/components/pagination/pagination.mjs +1 -1
  84. package/dist/components/pagination/pagination.test.js +16 -16
  85. package/dist/components/pagination/pagination.test.mjs +1 -1
  86. package/dist/components/progress/index.js +9 -9
  87. package/dist/components/progress/index.mjs +1 -1
  88. package/dist/components/progress/progress.d.mts +33 -33
  89. package/dist/components/progress/progress.d.ts +33 -33
  90. package/dist/components/progress/progress.js +9 -9
  91. package/dist/components/progress/progress.mjs +1 -1
  92. package/dist/components/progress/progress.test.js +9 -9
  93. package/dist/components/progress/progress.test.mjs +1 -1
  94. package/dist/components/radio/index.js +37 -19
  95. package/dist/components/radio/index.mjs +1 -1
  96. package/dist/components/radio/radio.d.mts +33 -33
  97. package/dist/components/radio/radio.d.ts +33 -33
  98. package/dist/components/radio/radio.js +37 -19
  99. package/dist/components/radio/radio.mjs +1 -1
  100. package/dist/components/radio/radio.test.js +37 -19
  101. package/dist/components/radio/radio.test.mjs +1 -1
  102. package/dist/components/select/index.js +36 -5
  103. package/dist/components/select/index.mjs +4 -4
  104. package/dist/components/select/option.js +30 -0
  105. package/dist/components/select/option.mjs +3 -3
  106. package/dist/components/select/select.d.mts +2 -2
  107. package/dist/components/select/select.d.ts +2 -2
  108. package/dist/components/select/select.js +36 -5
  109. package/dist/components/select/select.mjs +4 -4
  110. package/dist/components/select/select.test.js +36 -5
  111. package/dist/components/select/select.test.mjs +7 -7
  112. package/dist/components/slider/index.js +9 -4
  113. package/dist/components/slider/index.mjs +1 -1
  114. package/dist/components/slider/slider.d.mts +26 -0
  115. package/dist/components/slider/slider.d.ts +26 -0
  116. package/dist/components/slider/slider.js +9 -4
  117. package/dist/components/slider/slider.mjs +1 -1
  118. package/dist/components/slider/slider.test.js +9 -4
  119. package/dist/components/slider/slider.test.mjs +1 -1
  120. package/dist/components/switch/index.js +16 -15
  121. package/dist/components/switch/index.mjs +1 -1
  122. package/dist/components/switch/switch.d.mts +48 -48
  123. package/dist/components/switch/switch.d.ts +48 -48
  124. package/dist/components/switch/switch.js +16 -15
  125. package/dist/components/switch/switch.mjs +1 -1
  126. package/dist/components/switch/switch.test.js +16 -15
  127. package/dist/components/switch/switch.test.mjs +1 -1
  128. package/dist/components/table/index.js +66 -27
  129. package/dist/components/table/index.mjs +6 -6
  130. package/dist/components/table/table-body.js +60 -23
  131. package/dist/components/table/table-body.mjs +4 -4
  132. package/dist/components/table/table-head.js +28 -21
  133. package/dist/components/table/table-head.mjs +2 -2
  134. package/dist/components/table/table.d.mts +21 -7
  135. package/dist/components/table/table.d.ts +21 -7
  136. package/dist/components/table/table.js +66 -27
  137. package/dist/components/table/table.mjs +6 -6
  138. package/dist/components/table/table.test.js +66 -27
  139. package/dist/components/table/table.test.mjs +6 -6
  140. package/dist/components/tabs/tabs.d.mts +1 -1
  141. package/dist/components/tabs/tabs.d.ts +1 -1
  142. package/dist/components/tabs/tabs.test.mjs +3 -3
  143. package/dist/components/textarea/index.d.mts +3 -0
  144. package/dist/components/textarea/index.d.ts +3 -0
  145. package/dist/components/textarea/index.js +89 -30
  146. package/dist/components/textarea/index.mjs +2 -1
  147. package/dist/components/textarea/textarea.d.mts +510 -9
  148. package/dist/components/textarea/textarea.d.ts +510 -9
  149. package/dist/components/textarea/textarea.js +89 -30
  150. package/dist/components/textarea/textarea.mjs +2 -1
  151. package/dist/components/textarea/textarea.test.js +89 -30
  152. package/dist/components/textarea/textarea.test.mjs +3 -2
  153. package/dist/components/toast/index.js +32 -2
  154. package/dist/components/toast/index.mjs +4 -4
  155. package/dist/components/toast/toast.js +31 -1
  156. package/dist/components/toast/toast.mjs +3 -3
  157. package/dist/components/toast/toast.test.js +31 -1
  158. package/dist/components/toast/toast.test.mjs +3 -3
  159. package/dist/components/toast/use-toast.js +32 -2
  160. package/dist/components/toast/use-toast.mjs +4 -4
  161. package/dist/components/tooltip/tooltip.test.js +4034 -118
  162. package/dist/components/tooltip/tooltip.test.mjs +6 -3
  163. package/dist/index.d.mts +1 -1
  164. package/dist/index.d.ts +1 -1
  165. package/dist/index.js +2773 -2334
  166. package/dist/index.mjs +33 -33
  167. package/package.json +1 -1
  168. package/dist/chunk-66WCZEEU.mjs +0 -320
  169. package/dist/chunk-WOX3SLJB.mjs +0 -162
@@ -18,27 +18,27 @@ declare const CheckBox: react.ForwardRefExoticComponent<Props & CheckboxVariantP
18
18
  declare const checkbox: tailwind_variants.TVReturnType<{
19
19
  color: {
20
20
  primary: {
21
- wrapper: string;
21
+ wrapper: string[];
22
22
  };
23
23
  secondary: {
24
- wrapper: string;
24
+ wrapper: string[];
25
25
  };
26
26
  };
27
27
  size: {
28
28
  sm: {
29
29
  wrapper: string[];
30
- label: string;
31
- icon: string;
30
+ label: string[];
31
+ icon: string[];
32
32
  };
33
33
  md: {
34
34
  wrapper: string[];
35
- label: string;
36
- icon: string;
35
+ label: string[];
36
+ icon: string[];
37
37
  };
38
38
  lg: {
39
39
  wrapper: string[];
40
- label: string;
41
- icon: string;
40
+ label: string[];
41
+ icon: string[];
42
42
  };
43
43
  };
44
44
  lineThrough: {
@@ -48,14 +48,14 @@ declare const checkbox: tailwind_variants.TVReturnType<{
48
48
  };
49
49
  isInvalid: {
50
50
  true: {
51
- wrapper: string;
51
+ wrapper: string[];
52
52
  label: string;
53
53
  };
54
54
  };
55
55
  isDisabled: {
56
56
  true: {
57
57
  base: string;
58
- wrapper: string;
58
+ wrapper: string[];
59
59
  label: string;
60
60
  icon: string;
61
61
  };
@@ -68,15 +68,15 @@ declare const checkbox: tailwind_variants.TVReturnType<{
68
68
  };
69
69
  false: {
70
70
  wrapper: string[];
71
- icon: string;
72
- label: string;
71
+ icon: string[];
72
+ label: string[];
73
73
  };
74
74
  };
75
75
  }, {
76
- base: string;
76
+ base: string[];
77
77
  wrapper: string[];
78
- icon: string;
79
- label: string;
78
+ icon: string[];
79
+ label: string[];
80
80
  }, undefined, {
81
81
  responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
82
82
  size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
@@ -109,27 +109,27 @@ declare const checkbox: tailwind_variants.TVReturnType<{
109
109
  }, {
110
110
  color: {
111
111
  primary: {
112
- wrapper: string;
112
+ wrapper: string[];
113
113
  };
114
114
  secondary: {
115
- wrapper: string;
115
+ wrapper: string[];
116
116
  };
117
117
  };
118
118
  size: {
119
119
  sm: {
120
120
  wrapper: string[];
121
- label: string;
122
- icon: string;
121
+ label: string[];
122
+ icon: string[];
123
123
  };
124
124
  md: {
125
125
  wrapper: string[];
126
- label: string;
127
- icon: string;
126
+ label: string[];
127
+ icon: string[];
128
128
  };
129
129
  lg: {
130
130
  wrapper: string[];
131
- label: string;
132
- icon: string;
131
+ label: string[];
132
+ icon: string[];
133
133
  };
134
134
  };
135
135
  lineThrough: {
@@ -139,14 +139,14 @@ declare const checkbox: tailwind_variants.TVReturnType<{
139
139
  };
140
140
  isInvalid: {
141
141
  true: {
142
- wrapper: string;
142
+ wrapper: string[];
143
143
  label: string;
144
144
  };
145
145
  };
146
146
  isDisabled: {
147
147
  true: {
148
148
  base: string;
149
- wrapper: string;
149
+ wrapper: string[];
150
150
  label: string;
151
151
  icon: string;
152
152
  };
@@ -159,39 +159,39 @@ declare const checkbox: tailwind_variants.TVReturnType<{
159
159
  };
160
160
  false: {
161
161
  wrapper: string[];
162
- icon: string;
163
- label: string;
162
+ icon: string[];
163
+ label: string[];
164
164
  };
165
165
  };
166
166
  }, {
167
- base: string;
167
+ base: string[];
168
168
  wrapper: string[];
169
- icon: string;
170
- label: string;
169
+ icon: string[];
170
+ label: string[];
171
171
  }, tailwind_variants.TVReturnType<{
172
172
  color: {
173
173
  primary: {
174
- wrapper: string;
174
+ wrapper: string[];
175
175
  };
176
176
  secondary: {
177
- wrapper: string;
177
+ wrapper: string[];
178
178
  };
179
179
  };
180
180
  size: {
181
181
  sm: {
182
182
  wrapper: string[];
183
- label: string;
184
- icon: string;
183
+ label: string[];
184
+ icon: string[];
185
185
  };
186
186
  md: {
187
187
  wrapper: string[];
188
- label: string;
189
- icon: string;
188
+ label: string[];
189
+ icon: string[];
190
190
  };
191
191
  lg: {
192
192
  wrapper: string[];
193
- label: string;
194
- icon: string;
193
+ label: string[];
194
+ icon: string[];
195
195
  };
196
196
  };
197
197
  lineThrough: {
@@ -201,14 +201,14 @@ declare const checkbox: tailwind_variants.TVReturnType<{
201
201
  };
202
202
  isInvalid: {
203
203
  true: {
204
- wrapper: string;
204
+ wrapper: string[];
205
205
  label: string;
206
206
  };
207
207
  };
208
208
  isDisabled: {
209
209
  true: {
210
210
  base: string;
211
- wrapper: string;
211
+ wrapper: string[];
212
212
  label: string;
213
213
  icon: string;
214
214
  };
@@ -221,39 +221,39 @@ declare const checkbox: tailwind_variants.TVReturnType<{
221
221
  };
222
222
  false: {
223
223
  wrapper: string[];
224
- icon: string;
225
- label: string;
224
+ icon: string[];
225
+ label: string[];
226
226
  };
227
227
  };
228
228
  }, {
229
- base: string;
229
+ base: string[];
230
230
  wrapper: string[];
231
- icon: string;
232
- label: string;
231
+ icon: string[];
232
+ label: string[];
233
233
  }, undefined, tailwind_variants_dist_config.TVConfig<{
234
234
  color: {
235
235
  primary: {
236
- wrapper: string;
236
+ wrapper: string[];
237
237
  };
238
238
  secondary: {
239
- wrapper: string;
239
+ wrapper: string[];
240
240
  };
241
241
  };
242
242
  size: {
243
243
  sm: {
244
244
  wrapper: string[];
245
- label: string;
246
- icon: string;
245
+ label: string[];
246
+ icon: string[];
247
247
  };
248
248
  md: {
249
249
  wrapper: string[];
250
- label: string;
251
- icon: string;
250
+ label: string[];
251
+ icon: string[];
252
252
  };
253
253
  lg: {
254
254
  wrapper: string[];
255
- label: string;
256
- icon: string;
255
+ label: string[];
256
+ icon: string[];
257
257
  };
258
258
  };
259
259
  lineThrough: {
@@ -263,14 +263,14 @@ declare const checkbox: tailwind_variants.TVReturnType<{
263
263
  };
264
264
  isInvalid: {
265
265
  true: {
266
- wrapper: string;
266
+ wrapper: string[];
267
267
  label: string;
268
268
  };
269
269
  };
270
270
  isDisabled: {
271
271
  true: {
272
272
  base: string;
273
- wrapper: string;
273
+ wrapper: string[];
274
274
  label: string;
275
275
  icon: string;
276
276
  };
@@ -283,34 +283,34 @@ declare const checkbox: tailwind_variants.TVReturnType<{
283
283
  };
284
284
  false: {
285
285
  wrapper: string[];
286
- icon: string;
287
- label: string;
286
+ icon: string[];
287
+ label: string[];
288
288
  };
289
289
  };
290
290
  }, {
291
291
  color: {
292
292
  primary: {
293
- wrapper: string;
293
+ wrapper: string[];
294
294
  };
295
295
  secondary: {
296
- wrapper: string;
296
+ wrapper: string[];
297
297
  };
298
298
  };
299
299
  size: {
300
300
  sm: {
301
301
  wrapper: string[];
302
- label: string;
303
- icon: string;
302
+ label: string[];
303
+ icon: string[];
304
304
  };
305
305
  md: {
306
306
  wrapper: string[];
307
- label: string;
308
- icon: string;
307
+ label: string[];
308
+ icon: string[];
309
309
  };
310
310
  lg: {
311
311
  wrapper: string[];
312
- label: string;
313
- icon: string;
312
+ label: string[];
313
+ icon: string[];
314
314
  };
315
315
  };
316
316
  lineThrough: {
@@ -320,14 +320,14 @@ declare const checkbox: tailwind_variants.TVReturnType<{
320
320
  };
321
321
  isInvalid: {
322
322
  true: {
323
- wrapper: string;
323
+ wrapper: string[];
324
324
  label: string;
325
325
  };
326
326
  };
327
327
  isDisabled: {
328
328
  true: {
329
329
  base: string;
330
- wrapper: string;
330
+ wrapper: string[];
331
331
  label: string;
332
332
  icon: string;
333
333
  };
@@ -340,8 +340,8 @@ declare const checkbox: tailwind_variants.TVReturnType<{
340
340
  };
341
341
  false: {
342
342
  wrapper: string[];
343
- icon: string;
344
- label: string;
343
+ icon: string[];
344
+ label: string[];
345
345
  };
346
346
  };
347
347
  }>, unknown, unknown, undefined>>;
@@ -109,10 +109,7 @@ var CheckBox = (0, import_react.forwardRef)((originalProps, ref) => {
109
109
  fill: "none",
110
110
  points: "1 9 7 14 15 4",
111
111
  stroke: "currentColor",
112
- strokeDasharray: 22,
113
- strokeDashoffset: isSelected ? 44 : 66,
114
112
  strokeLinecap: "round",
115
- strokeLinejoin: "round",
116
113
  strokeWidth: 3,
117
114
  style: isSelected ? {
118
115
  transition: "stroke-dashoffset 250ms linear 0.2s"
@@ -130,7 +127,7 @@ CheckBox.displayName = "CheckBox";
130
127
  var checkbox_default = CheckBox;
131
128
  var checkbox = tv({
132
129
  slots: {
133
- base: "group relative inline-flex items-center cursor-pointer",
130
+ base: ["group", "relative", "inline-flex", "items-center", "cursor-pointer"],
134
131
  wrapper: [
135
132
  "relative",
136
133
  "inline-flex",
@@ -157,33 +154,33 @@ var checkbox = tv({
157
154
  "group-hover:before:bg-neutral-soft",
158
155
  "before:transition duration-200"
159
156
  ],
160
- icon: "z-10 opacity-0 group-has-[:checked]:opacity-100 text-white",
161
- label: "relative text-foreground select-none"
157
+ icon: ["z-10", "opacity-0", "group-has-[:checked]:opacity-100", "text-white"],
158
+ label: ["relative", "text-foreground", "select-none"]
162
159
  },
163
160
  variants: {
164
161
  color: {
165
162
  primary: {
166
- wrapper: "group-has-[:checked]:before:border-primary-main group-has-[:checked]:before:bg-primary-main"
163
+ wrapper: ["group-has-[:checked]:before:border-primary-main", "group-has-[:checked]:before:bg-primary-main"]
167
164
  },
168
165
  secondary: {
169
- wrapper: "group-has-[:checked]:before:border-secondary-main group-has-[:checked]:before:bg-secondary-main"
166
+ wrapper: ["group-has-[:checked]:before:border-secondary-main", "group-has-[:checked]:before:bg-secondary-main"]
170
167
  }
171
168
  },
172
169
  size: {
173
170
  sm: {
174
- wrapper: ["w-[15px] h-[15px] rounded-sm", "before:rounded-[4px]", "after:rounded-[4px]"],
175
- label: "text-sm ml-[8px]",
176
- icon: "w-[10px] h-[10px]"
171
+ wrapper: ["w-[15px]", "h-[15px]", "rounded-sm", "before:rounded-[3px]", "after:rounded-[3px]"],
172
+ label: ["text-sm", "ml-[6px]"],
173
+ icon: ["w-[10px]", "h-[10px]"]
177
174
  },
178
175
  md: {
179
- wrapper: ["w-[17px] h-[17px] rounded-md", "before:rounded-[5px]", "after:rounded-[5px]"],
180
- label: "text-md ml-[9px]",
181
- icon: "w-[12px] h-[12px]"
176
+ wrapper: ["w-[17px]", "h-[17px]", "rounded-md", "before:rounded-[3px]", "after:rounded-[3px]"],
177
+ label: ["text-md", "ml-[8px]"],
178
+ icon: ["w-[12px]", "h-[12px]"]
182
179
  },
183
180
  lg: {
184
- wrapper: ["w-[20px] h-[20px] rounded-lg", "before:rounded-[6px]", "after:rounded-[6px]"],
185
- label: "text-lg ml-[10px]",
186
- icon: "w-[15px] h-[15px]"
181
+ wrapper: ["w-[20px]", "h-[20px]", "rounded-lg", "before:rounded-[4px]", "after:rounded-[4px]"],
182
+ label: ["text-lg", "ml-[10px]"],
183
+ icon: ["w-[15px]", "h-[15px]"]
187
184
  }
188
185
  },
189
186
  lineThrough: {
@@ -204,14 +201,24 @@ var checkbox = tv({
204
201
  },
205
202
  isInvalid: {
206
203
  true: {
207
- wrapper: "before:border-danger-main group-has-[:checked]:before:bg-danger-main",
204
+ wrapper: [
205
+ "before:border-danger-main",
206
+ "group-has-[:checked]:before:bg-danger-main",
207
+ "group-has-[:checked]:before:border-danger-main"
208
+ ],
208
209
  label: "text-danger-main"
209
210
  }
210
211
  },
211
212
  isDisabled: {
212
213
  true: {
213
214
  base: "opacity-disabled pointer-events-none text-neutral-light",
214
- wrapper: "after:bg-neutral-soft before:border-neutral-light before:bg-neutral-soft group-has-[:checked]:before:bg-neutral-soft",
215
+ wrapper: [
216
+ "after:bg-neutral-soft",
217
+ "before:border-neutral-light",
218
+ "before:bg-neutral-soft",
219
+ "group-has-[:checked]:before:bg-neutral-soft",
220
+ "group-has-[:checked]:before:border-neutral-light"
221
+ ],
215
222
  label: "text-neutral-light",
216
223
  icon: "text-neutral-light"
217
224
  }
@@ -232,8 +239,8 @@ var checkbox = tv({
232
239
  "after:!duration-200",
233
240
  "motion-reduce:transition-none"
234
241
  ],
235
- icon: "transition-opacity motion-reduce:transition-none",
236
- label: "transition-colors-opacity before:transition-width motion-reduce:transition-none"
242
+ icon: ["transition-opacity", "motion-reduce:transition-none"],
243
+ label: ["transition-colors-opacity", "before:transition-width", "motion-reduce:transition-none"]
237
244
  }
238
245
  }
239
246
  },
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  checkbox_default
4
- } from "../../chunk-BE2OG6M4.mjs";
4
+ } from "../../chunk-ANYPMQH4.mjs";
5
5
  import "../../chunk-E3G5QXSH.mjs";
6
6
  import "../../chunk-J725QONZ.mjs";
7
7
  import "../../chunk-IZ6II3QA.mjs";
@@ -16985,10 +16985,7 @@ var CheckBox = (0, import_react.forwardRef)((originalProps, ref) => {
16985
16985
  fill: "none",
16986
16986
  points: "1 9 7 14 15 4",
16987
16987
  stroke: "currentColor",
16988
- strokeDasharray: 22,
16989
- strokeDashoffset: isSelected ? 44 : 66,
16990
16988
  strokeLinecap: "round",
16991
- strokeLinejoin: "round",
16992
16989
  strokeWidth: 3,
16993
16990
  style: isSelected ? {
16994
16991
  transition: "stroke-dashoffset 250ms linear 0.2s"
@@ -17006,7 +17003,7 @@ CheckBox.displayName = "CheckBox";
17006
17003
  var checkbox_default = CheckBox;
17007
17004
  var checkbox = tv({
17008
17005
  slots: {
17009
- base: "group relative inline-flex items-center cursor-pointer",
17006
+ base: ["group", "relative", "inline-flex", "items-center", "cursor-pointer"],
17010
17007
  wrapper: [
17011
17008
  "relative",
17012
17009
  "inline-flex",
@@ -17033,33 +17030,33 @@ var checkbox = tv({
17033
17030
  "group-hover:before:bg-neutral-soft",
17034
17031
  "before:transition duration-200"
17035
17032
  ],
17036
- icon: "z-10 opacity-0 group-has-[:checked]:opacity-100 text-white",
17037
- label: "relative text-foreground select-none"
17033
+ icon: ["z-10", "opacity-0", "group-has-[:checked]:opacity-100", "text-white"],
17034
+ label: ["relative", "text-foreground", "select-none"]
17038
17035
  },
17039
17036
  variants: {
17040
17037
  color: {
17041
17038
  primary: {
17042
- wrapper: "group-has-[:checked]:before:border-primary-main group-has-[:checked]:before:bg-primary-main"
17039
+ wrapper: ["group-has-[:checked]:before:border-primary-main", "group-has-[:checked]:before:bg-primary-main"]
17043
17040
  },
17044
17041
  secondary: {
17045
- wrapper: "group-has-[:checked]:before:border-secondary-main group-has-[:checked]:before:bg-secondary-main"
17042
+ wrapper: ["group-has-[:checked]:before:border-secondary-main", "group-has-[:checked]:before:bg-secondary-main"]
17046
17043
  }
17047
17044
  },
17048
17045
  size: {
17049
17046
  sm: {
17050
- wrapper: ["w-[15px] h-[15px] rounded-sm", "before:rounded-[4px]", "after:rounded-[4px]"],
17051
- label: "text-sm ml-[8px]",
17052
- icon: "w-[10px] h-[10px]"
17047
+ wrapper: ["w-[15px]", "h-[15px]", "rounded-sm", "before:rounded-[3px]", "after:rounded-[3px]"],
17048
+ label: ["text-sm", "ml-[6px]"],
17049
+ icon: ["w-[10px]", "h-[10px]"]
17053
17050
  },
17054
17051
  md: {
17055
- wrapper: ["w-[17px] h-[17px] rounded-md", "before:rounded-[5px]", "after:rounded-[5px]"],
17056
- label: "text-md ml-[9px]",
17057
- icon: "w-[12px] h-[12px]"
17052
+ wrapper: ["w-[17px]", "h-[17px]", "rounded-md", "before:rounded-[3px]", "after:rounded-[3px]"],
17053
+ label: ["text-md", "ml-[8px]"],
17054
+ icon: ["w-[12px]", "h-[12px]"]
17058
17055
  },
17059
17056
  lg: {
17060
- wrapper: ["w-[20px] h-[20px] rounded-lg", "before:rounded-[6px]", "after:rounded-[6px]"],
17061
- label: "text-lg ml-[10px]",
17062
- icon: "w-[15px] h-[15px]"
17057
+ wrapper: ["w-[20px]", "h-[20px]", "rounded-lg", "before:rounded-[4px]", "after:rounded-[4px]"],
17058
+ label: ["text-lg", "ml-[10px]"],
17059
+ icon: ["w-[15px]", "h-[15px]"]
17063
17060
  }
17064
17061
  },
17065
17062
  lineThrough: {
@@ -17080,14 +17077,24 @@ var checkbox = tv({
17080
17077
  },
17081
17078
  isInvalid: {
17082
17079
  true: {
17083
- wrapper: "before:border-danger-main group-has-[:checked]:before:bg-danger-main",
17080
+ wrapper: [
17081
+ "before:border-danger-main",
17082
+ "group-has-[:checked]:before:bg-danger-main",
17083
+ "group-has-[:checked]:before:border-danger-main"
17084
+ ],
17084
17085
  label: "text-danger-main"
17085
17086
  }
17086
17087
  },
17087
17088
  isDisabled: {
17088
17089
  true: {
17089
17090
  base: "opacity-disabled pointer-events-none text-neutral-light",
17090
- wrapper: "after:bg-neutral-soft before:border-neutral-light before:bg-neutral-soft group-has-[:checked]:before:bg-neutral-soft",
17091
+ wrapper: [
17092
+ "after:bg-neutral-soft",
17093
+ "before:border-neutral-light",
17094
+ "before:bg-neutral-soft",
17095
+ "group-has-[:checked]:before:bg-neutral-soft",
17096
+ "group-has-[:checked]:before:border-neutral-light"
17097
+ ],
17091
17098
  label: "text-neutral-light",
17092
17099
  icon: "text-neutral-light"
17093
17100
  }
@@ -17108,8 +17115,8 @@ var checkbox = tv({
17108
17115
  "after:!duration-200",
17109
17116
  "motion-reduce:transition-none"
17110
17117
  ],
17111
- icon: "transition-opacity motion-reduce:transition-none",
17112
- label: "transition-colors-opacity before:transition-width motion-reduce:transition-none"
17118
+ icon: ["transition-opacity", "motion-reduce:transition-none"],
17119
+ label: ["transition-colors-opacity", "before:transition-width", "motion-reduce:transition-none"]
17113
17120
  }
17114
17121
  }
17115
17122
  },
@@ -1,10 +1,10 @@
1
1
  "use client";
2
+ import {
3
+ checkbox_default
4
+ } from "../../chunk-ANYPMQH4.mjs";
2
5
  import {
3
6
  userEvent
4
7
  } from "../../chunk-S4DTK5GI.mjs";
5
- import {
6
- checkbox_default
7
- } from "../../chunk-BE2OG6M4.mjs";
8
8
  import {
9
9
  act,
10
10
  render
@@ -111,10 +111,7 @@ var CheckBox = (0, import_react.forwardRef)((originalProps, ref) => {
111
111
  fill: "none",
112
112
  points: "1 9 7 14 15 4",
113
113
  stroke: "currentColor",
114
- strokeDasharray: 22,
115
- strokeDashoffset: isSelected ? 44 : 66,
116
114
  strokeLinecap: "round",
117
- strokeLinejoin: "round",
118
115
  strokeWidth: 3,
119
116
  style: isSelected ? {
120
117
  transition: "stroke-dashoffset 250ms linear 0.2s"
@@ -132,7 +129,7 @@ CheckBox.displayName = "CheckBox";
132
129
  var checkbox_default = CheckBox;
133
130
  var checkbox = tv({
134
131
  slots: {
135
- base: "group relative inline-flex items-center cursor-pointer",
132
+ base: ["group", "relative", "inline-flex", "items-center", "cursor-pointer"],
136
133
  wrapper: [
137
134
  "relative",
138
135
  "inline-flex",
@@ -159,33 +156,33 @@ var checkbox = tv({
159
156
  "group-hover:before:bg-neutral-soft",
160
157
  "before:transition duration-200"
161
158
  ],
162
- icon: "z-10 opacity-0 group-has-[:checked]:opacity-100 text-white",
163
- label: "relative text-foreground select-none"
159
+ icon: ["z-10", "opacity-0", "group-has-[:checked]:opacity-100", "text-white"],
160
+ label: ["relative", "text-foreground", "select-none"]
164
161
  },
165
162
  variants: {
166
163
  color: {
167
164
  primary: {
168
- wrapper: "group-has-[:checked]:before:border-primary-main group-has-[:checked]:before:bg-primary-main"
165
+ wrapper: ["group-has-[:checked]:before:border-primary-main", "group-has-[:checked]:before:bg-primary-main"]
169
166
  },
170
167
  secondary: {
171
- wrapper: "group-has-[:checked]:before:border-secondary-main group-has-[:checked]:before:bg-secondary-main"
168
+ wrapper: ["group-has-[:checked]:before:border-secondary-main", "group-has-[:checked]:before:bg-secondary-main"]
172
169
  }
173
170
  },
174
171
  size: {
175
172
  sm: {
176
- wrapper: ["w-[15px] h-[15px] rounded-sm", "before:rounded-[4px]", "after:rounded-[4px]"],
177
- label: "text-sm ml-[8px]",
178
- icon: "w-[10px] h-[10px]"
173
+ wrapper: ["w-[15px]", "h-[15px]", "rounded-sm", "before:rounded-[3px]", "after:rounded-[3px]"],
174
+ label: ["text-sm", "ml-[6px]"],
175
+ icon: ["w-[10px]", "h-[10px]"]
179
176
  },
180
177
  md: {
181
- wrapper: ["w-[17px] h-[17px] rounded-md", "before:rounded-[5px]", "after:rounded-[5px]"],
182
- label: "text-md ml-[9px]",
183
- icon: "w-[12px] h-[12px]"
178
+ wrapper: ["w-[17px]", "h-[17px]", "rounded-md", "before:rounded-[3px]", "after:rounded-[3px]"],
179
+ label: ["text-md", "ml-[8px]"],
180
+ icon: ["w-[12px]", "h-[12px]"]
184
181
  },
185
182
  lg: {
186
- wrapper: ["w-[20px] h-[20px] rounded-lg", "before:rounded-[6px]", "after:rounded-[6px]"],
187
- label: "text-lg ml-[10px]",
188
- icon: "w-[15px] h-[15px]"
183
+ wrapper: ["w-[20px]", "h-[20px]", "rounded-lg", "before:rounded-[4px]", "after:rounded-[4px]"],
184
+ label: ["text-lg", "ml-[10px]"],
185
+ icon: ["w-[15px]", "h-[15px]"]
189
186
  }
190
187
  },
191
188
  lineThrough: {
@@ -206,14 +203,24 @@ var checkbox = tv({
206
203
  },
207
204
  isInvalid: {
208
205
  true: {
209
- wrapper: "before:border-danger-main group-has-[:checked]:before:bg-danger-main",
206
+ wrapper: [
207
+ "before:border-danger-main",
208
+ "group-has-[:checked]:before:bg-danger-main",
209
+ "group-has-[:checked]:before:border-danger-main"
210
+ ],
210
211
  label: "text-danger-main"
211
212
  }
212
213
  },
213
214
  isDisabled: {
214
215
  true: {
215
216
  base: "opacity-disabled pointer-events-none text-neutral-light",
216
- wrapper: "after:bg-neutral-soft before:border-neutral-light before:bg-neutral-soft group-has-[:checked]:before:bg-neutral-soft",
217
+ wrapper: [
218
+ "after:bg-neutral-soft",
219
+ "before:border-neutral-light",
220
+ "before:bg-neutral-soft",
221
+ "group-has-[:checked]:before:bg-neutral-soft",
222
+ "group-has-[:checked]:before:border-neutral-light"
223
+ ],
217
224
  label: "text-neutral-light",
218
225
  icon: "text-neutral-light"
219
226
  }
@@ -234,8 +241,8 @@ var checkbox = tv({
234
241
  "after:!duration-200",
235
242
  "motion-reduce:transition-none"
236
243
  ],
237
- icon: "transition-opacity motion-reduce:transition-none",
238
- label: "transition-colors-opacity before:transition-width motion-reduce:transition-none"
244
+ icon: ["transition-opacity", "motion-reduce:transition-none"],
245
+ label: ["transition-colors-opacity", "before:transition-width", "motion-reduce:transition-none"]
239
246
  }
240
247
  }
241
248
  },