@deepnoid/ui 0.0.88 → 0.0.90

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 (227) hide show
  1. package/dist/{chunk-4VIEZ5FT.mjs → chunk-2BCJZILI.mjs} +10 -9
  2. package/dist/chunk-2ZFHB4JM.mjs +76 -0
  3. package/dist/{chunk-4DLTBZUQ.mjs → chunk-3DRIHQOM.mjs} +7 -5
  4. package/dist/{chunk-IXFP2WQ4.mjs → chunk-6YE26GOI.mjs} +10 -8
  5. package/dist/chunk-75HLCORR.mjs +1 -0
  6. package/dist/{chunk-K6HPMTN4.mjs → chunk-7HHFRKJU.mjs} +1 -1
  7. package/dist/{chunk-H2HUJ4N2.mjs → chunk-A3RWT3JJ.mjs} +9 -4
  8. package/dist/{chunk-BE2OG6M4.mjs → chunk-ANYPMQH4.mjs} +28 -21
  9. package/dist/{chunk-5HSZ5AYM.mjs → chunk-B4KZBOGT.mjs} +16 -16
  10. package/dist/{chunk-KHWFCTPX.mjs → chunk-DWROPKZW.mjs} +6 -6
  11. package/dist/{chunk-FPCP4OOL.mjs → chunk-EDEV4IK4.mjs} +3 -3
  12. package/dist/{chunk-IOV7MEPG.mjs → chunk-IOCRFIQF.mjs} +30 -0
  13. package/dist/{chunk-SFNR4F3J.mjs → chunk-L6BQA6GI.mjs} +2 -2
  14. package/dist/{chunk-YGTJU3GD.mjs → chunk-L7P6OBUX.mjs} +10 -17
  15. package/dist/{chunk-PRUAIZTU.mjs → chunk-LCI6RPWE.mjs} +1 -1
  16. package/dist/{chunk-QVGXHUYW.mjs → chunk-N2JULHST.mjs} +9 -9
  17. package/dist/chunk-N6IEGD4K.mjs +119 -0
  18. package/dist/chunk-OJ2OEI5B.mjs +202 -0
  19. package/dist/chunk-P732YGHO.mjs +18 -0
  20. package/dist/{chunk-QRHT7MSO.mjs → chunk-PXUBPWKU.mjs} +1 -1
  21. package/dist/{chunk-PCIONGEJ.mjs → chunk-QWFOYO3D.mjs} +37 -19
  22. package/dist/{chunk-LY6LJRUX.mjs → chunk-RZZWHI6O.mjs} +1 -1
  23. package/dist/chunk-S2VUKVCH.mjs +319 -0
  24. package/dist/{chunk-IZOMH2SL.mjs → chunk-S3O52LLG.mjs} +14 -14
  25. package/dist/chunk-UR64ZUAU.mjs +671 -0
  26. package/dist/{chunk-PUFNT5LS.mjs → chunk-VG4644BG.mjs} +1 -1
  27. package/dist/chunk-WX32MAKV.mjs +219 -0
  28. package/dist/components/accordion/accordion.d.mts +3 -3
  29. package/dist/components/accordion/accordion.d.ts +3 -3
  30. package/dist/components/accordion/accordion.test.mjs +3 -3
  31. package/dist/components/accordion/accordionItem.d.mts +3 -3
  32. package/dist/components/accordion/accordionItem.d.ts +3 -3
  33. package/dist/components/accordion/accordionItem.js +31 -1
  34. package/dist/components/accordion/accordionItem.mjs +3 -3
  35. package/dist/components/accordion/index.js +31 -1
  36. package/dist/components/accordion/index.mjs +3 -3
  37. package/dist/components/button/button-group.d.mts +2 -2
  38. package/dist/components/button/button-group.d.ts +2 -2
  39. package/dist/components/button/button-group.test.js +4103 -167
  40. package/dist/components/button/button-group.test.mjs +7 -3
  41. package/dist/components/button/button.d.mts +360 -12
  42. package/dist/components/button/button.d.ts +360 -12
  43. package/dist/components/button/button.js +4054 -110
  44. package/dist/components/button/button.mjs +5 -1
  45. package/dist/components/button/button.test.js +4059 -125
  46. package/dist/components/button/button.test.mjs +7 -3
  47. package/dist/components/button/index.d.mts +3 -0
  48. package/dist/components/button/index.d.ts +3 -0
  49. package/dist/components/button/index.js +4046 -112
  50. package/dist/components/button/index.mjs +5 -1
  51. package/dist/components/card/card.d.mts +3 -3
  52. package/dist/components/card/card.d.ts +3 -3
  53. package/dist/components/checkbox/checkbox.d.mts +71 -71
  54. package/dist/components/checkbox/checkbox.d.ts +71 -71
  55. package/dist/components/checkbox/checkbox.js +28 -21
  56. package/dist/components/checkbox/checkbox.mjs +1 -1
  57. package/dist/components/checkbox/checkbox.test.js +28 -21
  58. package/dist/components/checkbox/checkbox.test.mjs +4 -4
  59. package/dist/components/checkbox/index.js +28 -21
  60. package/dist/components/checkbox/index.mjs +1 -1
  61. package/dist/components/dateTimePicker/calendar.d.mts +118 -0
  62. package/dist/components/dateTimePicker/calendar.d.ts +118 -0
  63. package/dist/components/dateTimePicker/calendar.js +3854 -0
  64. package/dist/components/dateTimePicker/calendar.mjs +16 -0
  65. package/dist/components/dateTimePicker/dateTimePicker.d.mts +443 -0
  66. package/dist/components/dateTimePicker/dateTimePicker.d.ts +443 -0
  67. package/dist/components/dateTimePicker/dateTimePicker.js +4486 -0
  68. package/dist/components/dateTimePicker/dateTimePicker.mjs +22 -0
  69. package/dist/components/dateTimePicker/index.d.mts +5 -0
  70. package/dist/components/dateTimePicker/index.d.ts +5 -0
  71. package/dist/components/dateTimePicker/index.js +4487 -0
  72. package/dist/components/dateTimePicker/index.mjs +21 -0
  73. package/dist/components/dateTimePicker/timePicker.d.mts +10 -0
  74. package/dist/components/dateTimePicker/timePicker.d.ts +10 -0
  75. package/dist/components/dateTimePicker/timePicker.js +342 -0
  76. package/dist/components/dateTimePicker/timePicker.mjs +13 -0
  77. package/dist/components/dateTimePicker/useDateTimePicker.d.mts +31 -0
  78. package/dist/components/dateTimePicker/useDateTimePicker.d.ts +31 -0
  79. package/dist/components/dateTimePicker/useDateTimePicker.js +106 -0
  80. package/dist/components/dateTimePicker/useDateTimePicker.mjs +9 -0
  81. package/dist/components/dateTimePicker/util.d.mts +4 -0
  82. package/dist/components/dateTimePicker/util.d.ts +4 -0
  83. package/dist/components/dateTimePicker/util.js +42 -0
  84. package/dist/components/dateTimePicker/util.mjs +10 -0
  85. package/dist/components/icon/Icon.d.mts +4 -0
  86. package/dist/components/icon/Icon.d.ts +4 -0
  87. package/dist/components/icon/Icon.js +30 -0
  88. package/dist/components/icon/Icon.mjs +2 -2
  89. package/dist/components/icon/index.js +30 -0
  90. package/dist/components/icon/index.mjs +2 -2
  91. package/dist/components/icon/template.d.mts +1 -0
  92. package/dist/components/icon/template.d.ts +1 -0
  93. package/dist/components/icon/template.js +30 -0
  94. package/dist/components/icon/template.mjs +1 -1
  95. package/dist/components/input/index.js +36 -4
  96. package/dist/components/input/index.mjs +3 -3
  97. package/dist/components/input/input.d.mts +9 -4
  98. package/dist/components/input/input.d.ts +9 -4
  99. package/dist/components/input/input.js +36 -4
  100. package/dist/components/input/input.mjs +3 -3
  101. package/dist/components/input/input.test.js +36 -4
  102. package/dist/components/input/input.test.mjs +6 -6
  103. package/dist/components/list/index.js +3 -3
  104. package/dist/components/list/index.mjs +1 -1
  105. package/dist/components/list/list.d.mts +3 -3
  106. package/dist/components/list/list.d.ts +3 -3
  107. package/dist/components/list/list.test.mjs +1 -1
  108. package/dist/components/list/listItem.d.mts +4 -4
  109. package/dist/components/list/listItem.d.ts +4 -4
  110. package/dist/components/list/listItem.js +3 -3
  111. package/dist/components/list/listItem.mjs +1 -1
  112. package/dist/components/modal/index.js +506 -128
  113. package/dist/components/modal/index.mjs +6 -5
  114. package/dist/components/modal/modal.d.mts +2 -2
  115. package/dist/components/modal/modal.d.ts +2 -2
  116. package/dist/components/modal/modal.js +506 -128
  117. package/dist/components/modal/modal.mjs +6 -5
  118. package/dist/components/modal/modal.test.js +498 -130
  119. package/dist/components/modal/modal.test.mjs +6 -5
  120. package/dist/components/pagination/index.js +16 -16
  121. package/dist/components/pagination/index.mjs +1 -1
  122. package/dist/components/pagination/pagination.d.mts +2 -2
  123. package/dist/components/pagination/pagination.d.ts +2 -2
  124. package/dist/components/pagination/pagination.js +16 -16
  125. package/dist/components/pagination/pagination.mjs +1 -1
  126. package/dist/components/pagination/pagination.test.js +16 -16
  127. package/dist/components/pagination/pagination.test.mjs +2 -2
  128. package/dist/components/progress/index.js +9 -9
  129. package/dist/components/progress/index.mjs +1 -1
  130. package/dist/components/progress/progress.d.mts +35 -35
  131. package/dist/components/progress/progress.d.ts +35 -35
  132. package/dist/components/progress/progress.js +9 -9
  133. package/dist/components/progress/progress.mjs +1 -1
  134. package/dist/components/progress/progress.test.js +9 -9
  135. package/dist/components/progress/progress.test.mjs +1 -1
  136. package/dist/components/radio/index.js +37 -19
  137. package/dist/components/radio/index.mjs +1 -1
  138. package/dist/components/radio/radio.d.mts +35 -35
  139. package/dist/components/radio/radio.d.ts +35 -35
  140. package/dist/components/radio/radio.js +37 -19
  141. package/dist/components/radio/radio.mjs +1 -1
  142. package/dist/components/radio/radio.test.js +37 -19
  143. package/dist/components/radio/radio.test.mjs +2 -2
  144. package/dist/components/select/index.js +36 -5
  145. package/dist/components/select/index.mjs +4 -4
  146. package/dist/components/select/option.js +30 -0
  147. package/dist/components/select/option.mjs +3 -3
  148. package/dist/components/select/select.d.mts +4 -4
  149. package/dist/components/select/select.d.ts +4 -4
  150. package/dist/components/select/select.js +36 -5
  151. package/dist/components/select/select.mjs +4 -4
  152. package/dist/components/select/select.test.js +36 -5
  153. package/dist/components/select/select.test.mjs +9 -9
  154. package/dist/components/select/useSelect.d.mts +3 -3
  155. package/dist/components/select/useSelect.d.ts +3 -3
  156. package/dist/components/slider/index.js +9 -4
  157. package/dist/components/slider/index.mjs +1 -1
  158. package/dist/components/slider/slider.d.mts +28 -2
  159. package/dist/components/slider/slider.d.ts +28 -2
  160. package/dist/components/slider/slider.js +9 -4
  161. package/dist/components/slider/slider.mjs +1 -1
  162. package/dist/components/slider/slider.test.js +9 -4
  163. package/dist/components/slider/slider.test.mjs +1 -1
  164. package/dist/components/switch/index.js +14 -14
  165. package/dist/components/switch/index.mjs +1 -1
  166. package/dist/components/switch/switch.d.mts +50 -50
  167. package/dist/components/switch/switch.d.ts +50 -50
  168. package/dist/components/switch/switch.js +14 -14
  169. package/dist/components/switch/switch.mjs +1 -1
  170. package/dist/components/switch/switch.test.js +14 -14
  171. package/dist/components/switch/switch.test.mjs +2 -2
  172. package/dist/components/table/index.js +66 -27
  173. package/dist/components/table/index.mjs +7 -7
  174. package/dist/components/table/table-body.d.mts +2 -2
  175. package/dist/components/table/table-body.d.ts +2 -2
  176. package/dist/components/table/table-body.js +60 -23
  177. package/dist/components/table/table-body.mjs +5 -5
  178. package/dist/components/table/table-head.js +28 -21
  179. package/dist/components/table/table-head.mjs +2 -2
  180. package/dist/components/table/table.d.mts +26 -12
  181. package/dist/components/table/table.d.ts +26 -12
  182. package/dist/components/table/table.js +66 -27
  183. package/dist/components/table/table.mjs +7 -7
  184. package/dist/components/table/table.test.js +66 -27
  185. package/dist/components/table/table.test.mjs +8 -8
  186. package/dist/components/tabs/tabs.d.mts +3 -3
  187. package/dist/components/tabs/tabs.d.ts +3 -3
  188. package/dist/components/tabs/tabs.test.mjs +4 -4
  189. package/dist/components/textarea/index.d.mts +3 -0
  190. package/dist/components/textarea/index.d.ts +3 -0
  191. package/dist/components/textarea/index.js +89 -30
  192. package/dist/components/textarea/index.mjs +2 -1
  193. package/dist/components/textarea/textarea.d.mts +512 -11
  194. package/dist/components/textarea/textarea.d.ts +512 -11
  195. package/dist/components/textarea/textarea.js +89 -30
  196. package/dist/components/textarea/textarea.mjs +2 -1
  197. package/dist/components/textarea/textarea.test.js +89 -30
  198. package/dist/components/textarea/textarea.test.mjs +3 -2
  199. package/dist/components/toast/index.js +30 -0
  200. package/dist/components/toast/index.mjs +4 -4
  201. package/dist/components/toast/toast.d.mts +2 -2
  202. package/dist/components/toast/toast.d.ts +2 -2
  203. package/dist/components/toast/toast.js +30 -0
  204. package/dist/components/toast/toast.mjs +3 -3
  205. package/dist/components/toast/toast.test.js +30 -0
  206. package/dist/components/toast/toast.test.mjs +5 -5
  207. package/dist/components/toast/use-toast.js +30 -0
  208. package/dist/components/toast/use-toast.mjs +4 -4
  209. package/dist/components/tooltip/index.d.mts +1 -1
  210. package/dist/components/tooltip/index.d.ts +1 -1
  211. package/dist/components/tooltip/tooltip-utils.d.mts +1 -1
  212. package/dist/components/tooltip/tooltip-utils.d.ts +1 -1
  213. package/dist/components/tooltip/tooltip.d.mts +3 -3
  214. package/dist/components/tooltip/tooltip.d.ts +3 -3
  215. package/dist/components/tooltip/tooltip.test.js +4034 -118
  216. package/dist/components/tooltip/tooltip.test.mjs +7 -4
  217. package/dist/components/tooltip/useTooltip.d.mts +1 -1
  218. package/dist/components/tooltip/useTooltip.d.ts +1 -1
  219. package/dist/index.d.mts +3 -2
  220. package/dist/index.d.ts +3 -2
  221. package/dist/index.js +3741 -2611
  222. package/dist/index.mjs +71 -52
  223. package/dist/{tooltip-utils-DCKA5gnI.d.ts → tooltip-utils-CrCabndd.d.mts} +2 -2
  224. package/dist/{tooltip-utils-DCKA5gnI.d.mts → tooltip-utils-CrCabndd.d.ts} +2 -2
  225. package/package.json +1 -1
  226. package/dist/chunk-66WCZEEU.mjs +0 -320
  227. package/dist/chunk-WOX3SLJB.mjs +0 -162
@@ -1,7 +1,7 @@
1
1
  import * as tailwind_variants from 'tailwind-variants';
2
2
  import { VariantProps } from 'tailwind-variants';
3
3
  import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
4
- import * as react from 'react';
4
+ import * as React from 'react';
5
5
  import { ComponentPropsWithRef } from 'react';
6
6
  import { SlotsToClasses } from '../../utils/types.js';
7
7
 
@@ -12,7 +12,7 @@ interface Props extends Omit<ComponentPropsWithRef<"div">, "ref"> {
12
12
  classNames?: SlotsToClasses<ProgressSlots>;
13
13
  }
14
14
  type ProgressProps = Props & ProgressVariantProps;
15
- declare const Progress: react.ForwardRefExoticComponent<Props & ProgressVariantProps & react.RefAttributes<HTMLDivElement>>;
15
+ declare const Progress: React.ForwardRefExoticComponent<Props & ProgressVariantProps & React.RefAttributes<HTMLDivElement>>;
16
16
 
17
17
  declare const progress: tailwind_variants.TVReturnType<{
18
18
  color: {
@@ -42,7 +42,7 @@ declare const progress: tailwind_variants.TVReturnType<{
42
42
  };
43
43
  gradient: {
44
44
  true: {
45
- indicator: string;
45
+ indicator: string[];
46
46
  };
47
47
  };
48
48
  fullWidth: {
@@ -52,17 +52,17 @@ declare const progress: tailwind_variants.TVReturnType<{
52
52
  };
53
53
  isDisabled: {
54
54
  true: {
55
- base: string;
56
- indicator: string;
55
+ base: string[];
56
+ indicator: string[];
57
57
  };
58
58
  };
59
59
  }, {
60
- base: string;
61
- labelWrapper: string;
62
- label: string;
63
- output: string;
64
- track: string;
65
- indicator: string;
60
+ base: string[];
61
+ labelWrapper: string[];
62
+ label: string[];
63
+ output: string[];
64
+ track: string[];
65
+ indicator: string[];
66
66
  }, undefined, {
67
67
  responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
68
68
  size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
@@ -119,7 +119,7 @@ declare const progress: tailwind_variants.TVReturnType<{
119
119
  };
120
120
  gradient: {
121
121
  true: {
122
- indicator: string;
122
+ indicator: string[];
123
123
  };
124
124
  };
125
125
  fullWidth: {
@@ -129,17 +129,17 @@ declare const progress: tailwind_variants.TVReturnType<{
129
129
  };
130
130
  isDisabled: {
131
131
  true: {
132
- base: string;
133
- indicator: string;
132
+ base: string[];
133
+ indicator: string[];
134
134
  };
135
135
  };
136
136
  }, {
137
- base: string;
138
- labelWrapper: string;
139
- label: string;
140
- output: string;
141
- track: string;
142
- indicator: string;
137
+ base: string[];
138
+ labelWrapper: string[];
139
+ label: string[];
140
+ output: string[];
141
+ track: string[];
142
+ indicator: string[];
143
143
  }, tailwind_variants.TVReturnType<{
144
144
  color: {
145
145
  primary: {
@@ -168,7 +168,7 @@ declare const progress: tailwind_variants.TVReturnType<{
168
168
  };
169
169
  gradient: {
170
170
  true: {
171
- indicator: string;
171
+ indicator: string[];
172
172
  };
173
173
  };
174
174
  fullWidth: {
@@ -178,17 +178,17 @@ declare const progress: tailwind_variants.TVReturnType<{
178
178
  };
179
179
  isDisabled: {
180
180
  true: {
181
- base: string;
182
- indicator: string;
181
+ base: string[];
182
+ indicator: string[];
183
183
  };
184
184
  };
185
185
  }, {
186
- base: string;
187
- labelWrapper: string;
188
- label: string;
189
- output: string;
190
- track: string;
191
- indicator: string;
186
+ base: string[];
187
+ labelWrapper: string[];
188
+ label: string[];
189
+ output: string[];
190
+ track: string[];
191
+ indicator: string[];
192
192
  }, undefined, tailwind_variants_dist_config.TVConfig<{
193
193
  color: {
194
194
  primary: {
@@ -217,7 +217,7 @@ declare const progress: tailwind_variants.TVReturnType<{
217
217
  };
218
218
  gradient: {
219
219
  true: {
220
- indicator: string;
220
+ indicator: string[];
221
221
  };
222
222
  };
223
223
  fullWidth: {
@@ -227,8 +227,8 @@ declare const progress: tailwind_variants.TVReturnType<{
227
227
  };
228
228
  isDisabled: {
229
229
  true: {
230
- base: string;
231
- indicator: string;
230
+ base: string[];
231
+ indicator: string[];
232
232
  };
233
233
  };
234
234
  }, {
@@ -259,7 +259,7 @@ declare const progress: tailwind_variants.TVReturnType<{
259
259
  };
260
260
  gradient: {
261
261
  true: {
262
- indicator: string;
262
+ indicator: string[];
263
263
  };
264
264
  };
265
265
  fullWidth: {
@@ -269,8 +269,8 @@ declare const progress: tailwind_variants.TVReturnType<{
269
269
  };
270
270
  isDisabled: {
271
271
  true: {
272
- base: string;
273
- indicator: string;
272
+ base: string[];
273
+ indicator: string[];
274
274
  };
275
275
  };
276
276
  }>, unknown, unknown, undefined>>;
@@ -121,12 +121,12 @@ Progress.displayName = "Progress";
121
121
  var progress_default = Progress;
122
122
  var progress = tv({
123
123
  slots: {
124
- base: "flex flex-col gap-2 w-[200px]",
125
- labelWrapper: "flex justify-between",
126
- label: "font-[500]",
127
- output: "font-[500]",
128
- track: "relative bg-neutral-soft rounded-full overflow-hidden",
129
- indicator: "absolute h-full rounded-full"
124
+ base: ["flex", "flex-col", "gap-2", "w-[200px]"],
125
+ labelWrapper: ["flex", "justify-between"],
126
+ label: ["font-[500]"],
127
+ output: ["font-[500]"],
128
+ track: ["relative", "bg-neutral-soft", "rounded-full", "overflow-hidden"],
129
+ indicator: ["absolute", "h-full", "rounded-full"]
130
130
  },
131
131
  variants: {
132
132
  color: {
@@ -156,7 +156,7 @@ var progress = tv({
156
156
  },
157
157
  gradient: {
158
158
  true: {
159
- indicator: "bg-gradient-to-r from-primary-main to-secondary-main"
159
+ indicator: ["bg-gradient-to-r", "from-primary-main", "to-secondary-main"]
160
160
  }
161
161
  },
162
162
  fullWidth: {
@@ -166,8 +166,8 @@ var progress = tv({
166
166
  },
167
167
  isDisabled: {
168
168
  true: {
169
- base: "opacity-disabled cursor-not-allowed",
170
- indicator: "bg-neutral-light"
169
+ base: ["opacity-disabled", "cursor-not-allowed"],
170
+ indicator: ["bg-neutral-light", "from-none", "to-none"]
171
171
  }
172
172
  }
173
173
  },
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  progress_default
4
- } from "../../chunk-QVGXHUYW.mjs";
4
+ } from "../../chunk-N2JULHST.mjs";
5
5
  import "../../chunk-J725QONZ.mjs";
6
6
  import "../../chunk-IZ6II3QA.mjs";
7
7
  export {
@@ -12968,12 +12968,12 @@ Progress.displayName = "Progress";
12968
12968
  var progress_default = Progress;
12969
12969
  var progress = tv({
12970
12970
  slots: {
12971
- base: "flex flex-col gap-2 w-[200px]",
12972
- labelWrapper: "flex justify-between",
12973
- label: "font-[500]",
12974
- output: "font-[500]",
12975
- track: "relative bg-neutral-soft rounded-full overflow-hidden",
12976
- indicator: "absolute h-full rounded-full"
12971
+ base: ["flex", "flex-col", "gap-2", "w-[200px]"],
12972
+ labelWrapper: ["flex", "justify-between"],
12973
+ label: ["font-[500]"],
12974
+ output: ["font-[500]"],
12975
+ track: ["relative", "bg-neutral-soft", "rounded-full", "overflow-hidden"],
12976
+ indicator: ["absolute", "h-full", "rounded-full"]
12977
12977
  },
12978
12978
  variants: {
12979
12979
  color: {
@@ -13003,7 +13003,7 @@ var progress = tv({
13003
13003
  },
13004
13004
  gradient: {
13005
13005
  true: {
13006
- indicator: "bg-gradient-to-r from-primary-main to-secondary-main"
13006
+ indicator: ["bg-gradient-to-r", "from-primary-main", "to-secondary-main"]
13007
13007
  }
13008
13008
  },
13009
13009
  fullWidth: {
@@ -13013,8 +13013,8 @@ var progress = tv({
13013
13013
  },
13014
13014
  isDisabled: {
13015
13015
  true: {
13016
- base: "opacity-disabled cursor-not-allowed",
13017
- indicator: "bg-neutral-light"
13016
+ base: ["opacity-disabled", "cursor-not-allowed"],
13017
+ indicator: ["bg-neutral-light", "from-none", "to-none"]
13018
13018
  }
13019
13019
  }
13020
13020
  },
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  progress_default
4
- } from "../../chunk-QVGXHUYW.mjs";
4
+ } from "../../chunk-N2JULHST.mjs";
5
5
  import {
6
6
  render
7
7
  } from "../../chunk-FNPWLOGV.mjs";
@@ -112,7 +112,16 @@ Radio.displayName = "Radio";
112
112
  var radio_default = Radio;
113
113
  var radio = tv({
114
114
  slots: {
115
- base: "group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent",
115
+ base: [
116
+ "group/radio",
117
+ "relative",
118
+ "max-w-fit",
119
+ "inline-flex",
120
+ "items-center",
121
+ "justify-start",
122
+ "cursor-pointer",
123
+ "tap-highlight-transparent"
124
+ ],
116
125
  icon: [
117
126
  "relative",
118
127
  "inline-flex",
@@ -141,18 +150,18 @@ var radio = tv({
141
150
  "after:left-1/2",
142
151
  "after:-translate-x-1/2",
143
152
  "after:-translate-y-1/2",
144
- "group-has-[:checked]:after:opacity-100",
145
- "group-has-[:checked]:after:scale-100",
153
+ "group-has-[:checked]/radio:after:opacity-100",
154
+ "group-has-[:checked]/radio:after:scale-100",
146
155
  // hover
147
- "group-hover:before:bg-neutral-soft",
156
+ "group-hover/radio:before:bg-neutral-soft",
148
157
  "before:transition duration-200",
149
158
  // focus ring
150
159
  "outline-none",
151
- "group-focus:z-10",
152
- "group-focus:ring-2",
153
- "group-focus:ring-focus",
154
- "group-focus:ring-offset-2",
155
- "group-focus:ring-offset-background"
160
+ "group-focus/radio:z-10",
161
+ "group-focus/radio:ring-2",
162
+ "group-focus/radio:ring-focus",
163
+ "group-focus/radio:ring-offset-2",
164
+ "group-focus/radio:ring-offset-background"
156
165
  ],
157
166
  labelWrapper: "flex flex-col",
158
167
  label: "text-foreground select-none"
@@ -160,44 +169,53 @@ var radio = tv({
160
169
  variants: {
161
170
  color: {
162
171
  primary: {
163
- icon: "group-has-[:checked]:before:border-primary-main after:bg-primary-main"
172
+ icon: ["group-has-[:checked]/radio:before:border-primary-main", "after:bg-primary-main"]
164
173
  },
165
174
  secondary: {
166
- icon: "group-has-[:checked]:before:border-secondary-main after:bg-secondary-main"
175
+ icon: ["group-has-[:checked]/radio:before:border-secondary-main", "after:bg-secondary-main"]
167
176
  }
168
177
  },
169
178
  size: {
170
179
  sm: {
171
- icon: ["w-[15px] h-[15px] mr-[8px] after:w-[10px] after:h-[10px]"],
180
+ icon: ["w-[15px]", "h-[15px]", "mr-[6px]", "after:w-[9px]", "after:h-[9px]"],
172
181
  label: "text-sm"
173
182
  },
174
183
  md: {
175
- icon: ["w-[17px] h-[17px] mr-[9px] after:w-[11px] after:h-[11px]"],
184
+ icon: ["w-[17px]", "h-[17px]", "mr-[8px]", "after:w-[11px]", "after:h-[11px]"],
176
185
  label: "text-md"
177
186
  },
178
187
  lg: {
179
- icon: ["w-[20px] h-[20px] mr-[10px] after:w-[12px] after:h-[12px]"],
188
+ icon: ["w-[20px]", "h-[20px]", "mr-[10px]", "after:w-[14px]", "after:h-[14px]"],
180
189
  label: "text-lg"
181
190
  }
182
191
  },
183
192
  isInvalid: {
184
193
  true: {
185
- icon: "after:bg-danger-main before:border-danger-main",
194
+ icon: [
195
+ "after:bg-danger-main",
196
+ "before:border-danger-main",
197
+ "group-has-[:checked]/radio:before:border-danger-main"
198
+ ],
186
199
  label: "text-danger-main"
187
200
  }
188
201
  },
189
202
  isDisabled: {
190
203
  true: {
191
- base: "opacity-disabled pointer-events-none",
192
- icon: "before:border-neutral-light before:bg-neutral-soft after:bg-neutral-light",
204
+ base: ["opacity-disabled", "pointer-events-none"],
205
+ icon: [
206
+ "before:border-neutral-light",
207
+ "before:bg-neutral-soft",
208
+ "after:bg-neutral-light",
209
+ "group-has-[:checked]/radio:before:border-neutral-light"
210
+ ],
193
211
  label: "text-neutral-light"
194
212
  }
195
213
  },
196
214
  disableAnimation: {
197
215
  true: {},
198
216
  false: {
199
- icon: ["group-active:scale-95", "transition-transform-colors", "motion-reduce:transition-none"],
200
- label: "transition-colors motion-reduce:transition-none"
217
+ icon: ["group-active/radio:scale-95", "transition-transform-colors", "motion-reduce:transition-none"],
218
+ label: ["transition-colors", "motion-reduce:transition-none"]
201
219
  }
202
220
  }
203
221
  },
@@ -2,7 +2,7 @@
2
2
  import "../../chunk-TPFN22HR.mjs";
3
3
  import {
4
4
  radio_default
5
- } from "../../chunk-PCIONGEJ.mjs";
5
+ } from "../../chunk-QWFOYO3D.mjs";
6
6
  import "../../chunk-E3G5QXSH.mjs";
7
7
  import "../../chunk-J725QONZ.mjs";
8
8
  import "../../chunk-IZ6II3QA.mjs";
@@ -1,7 +1,7 @@
1
1
  import * as tailwind_variants from 'tailwind-variants';
2
2
  import { VariantProps } from 'tailwind-variants';
3
3
  import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
4
- import * as react from 'react';
4
+ import * as React$1 from 'react';
5
5
  import { ReactNode } from 'react';
6
6
  import { SlotsToClasses } from '../../utils/types.mjs';
7
7
 
@@ -10,15 +10,15 @@ interface Props extends Omit<React.ComponentPropsWithRef<"input">, "ref" | "colo
10
10
  classNames?: SlotsToClasses<RadioSlots>;
11
11
  }
12
12
  type RadioProps = Props & RadioVariantProps;
13
- declare const Radio: react.ForwardRefExoticComponent<Props & RadioVariantProps & react.RefAttributes<HTMLInputElement>>;
13
+ declare const Radio: React$1.ForwardRefExoticComponent<Props & RadioVariantProps & React$1.RefAttributes<HTMLInputElement>>;
14
14
 
15
15
  declare const radio: tailwind_variants.TVReturnType<{
16
16
  color: {
17
17
  primary: {
18
- icon: string;
18
+ icon: string[];
19
19
  };
20
20
  secondary: {
21
- icon: string;
21
+ icon: string[];
22
22
  };
23
23
  };
24
24
  size: {
@@ -37,14 +37,14 @@ declare const radio: tailwind_variants.TVReturnType<{
37
37
  };
38
38
  isInvalid: {
39
39
  true: {
40
- icon: string;
40
+ icon: string[];
41
41
  label: string;
42
42
  };
43
43
  };
44
44
  isDisabled: {
45
45
  true: {
46
- base: string;
47
- icon: string;
46
+ base: string[];
47
+ icon: string[];
48
48
  label: string;
49
49
  };
50
50
  };
@@ -52,11 +52,11 @@ declare const radio: tailwind_variants.TVReturnType<{
52
52
  true: {};
53
53
  false: {
54
54
  icon: string[];
55
- label: string;
55
+ label: string[];
56
56
  };
57
57
  };
58
58
  }, {
59
- base: string;
59
+ base: string[];
60
60
  icon: string[];
61
61
  labelWrapper: string;
62
62
  label: string;
@@ -91,10 +91,10 @@ declare const radio: tailwind_variants.TVReturnType<{
91
91
  }, {
92
92
  color: {
93
93
  primary: {
94
- icon: string;
94
+ icon: string[];
95
95
  };
96
96
  secondary: {
97
- icon: string;
97
+ icon: string[];
98
98
  };
99
99
  };
100
100
  size: {
@@ -113,14 +113,14 @@ declare const radio: tailwind_variants.TVReturnType<{
113
113
  };
114
114
  isInvalid: {
115
115
  true: {
116
- icon: string;
116
+ icon: string[];
117
117
  label: string;
118
118
  };
119
119
  };
120
120
  isDisabled: {
121
121
  true: {
122
- base: string;
123
- icon: string;
122
+ base: string[];
123
+ icon: string[];
124
124
  label: string;
125
125
  };
126
126
  };
@@ -128,21 +128,21 @@ declare const radio: tailwind_variants.TVReturnType<{
128
128
  true: {};
129
129
  false: {
130
130
  icon: string[];
131
- label: string;
131
+ label: string[];
132
132
  };
133
133
  };
134
134
  }, {
135
- base: string;
135
+ base: string[];
136
136
  icon: string[];
137
137
  labelWrapper: string;
138
138
  label: string;
139
139
  }, tailwind_variants.TVReturnType<{
140
140
  color: {
141
141
  primary: {
142
- icon: string;
142
+ icon: string[];
143
143
  };
144
144
  secondary: {
145
- icon: string;
145
+ icon: string[];
146
146
  };
147
147
  };
148
148
  size: {
@@ -161,14 +161,14 @@ declare const radio: tailwind_variants.TVReturnType<{
161
161
  };
162
162
  isInvalid: {
163
163
  true: {
164
- icon: string;
164
+ icon: string[];
165
165
  label: string;
166
166
  };
167
167
  };
168
168
  isDisabled: {
169
169
  true: {
170
- base: string;
171
- icon: string;
170
+ base: string[];
171
+ icon: string[];
172
172
  label: string;
173
173
  };
174
174
  };
@@ -176,21 +176,21 @@ declare const radio: tailwind_variants.TVReturnType<{
176
176
  true: {};
177
177
  false: {
178
178
  icon: string[];
179
- label: string;
179
+ label: string[];
180
180
  };
181
181
  };
182
182
  }, {
183
- base: string;
183
+ base: string[];
184
184
  icon: string[];
185
185
  labelWrapper: string;
186
186
  label: string;
187
187
  }, undefined, tailwind_variants_dist_config.TVConfig<{
188
188
  color: {
189
189
  primary: {
190
- icon: string;
190
+ icon: string[];
191
191
  };
192
192
  secondary: {
193
- icon: string;
193
+ icon: string[];
194
194
  };
195
195
  };
196
196
  size: {
@@ -209,14 +209,14 @@ declare const radio: tailwind_variants.TVReturnType<{
209
209
  };
210
210
  isInvalid: {
211
211
  true: {
212
- icon: string;
212
+ icon: string[];
213
213
  label: string;
214
214
  };
215
215
  };
216
216
  isDisabled: {
217
217
  true: {
218
- base: string;
219
- icon: string;
218
+ base: string[];
219
+ icon: string[];
220
220
  label: string;
221
221
  };
222
222
  };
@@ -224,16 +224,16 @@ declare const radio: tailwind_variants.TVReturnType<{
224
224
  true: {};
225
225
  false: {
226
226
  icon: string[];
227
- label: string;
227
+ label: string[];
228
228
  };
229
229
  };
230
230
  }, {
231
231
  color: {
232
232
  primary: {
233
- icon: string;
233
+ icon: string[];
234
234
  };
235
235
  secondary: {
236
- icon: string;
236
+ icon: string[];
237
237
  };
238
238
  };
239
239
  size: {
@@ -252,14 +252,14 @@ declare const radio: tailwind_variants.TVReturnType<{
252
252
  };
253
253
  isInvalid: {
254
254
  true: {
255
- icon: string;
255
+ icon: string[];
256
256
  label: string;
257
257
  };
258
258
  };
259
259
  isDisabled: {
260
260
  true: {
261
- base: string;
262
- icon: string;
261
+ base: string[];
262
+ icon: string[];
263
263
  label: string;
264
264
  };
265
265
  };
@@ -267,7 +267,7 @@ declare const radio: tailwind_variants.TVReturnType<{
267
267
  true: {};
268
268
  false: {
269
269
  icon: string[];
270
- label: string;
270
+ label: string[];
271
271
  };
272
272
  };
273
273
  }>, unknown, unknown, undefined>>;