@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$1 from 'react';
5
5
  import { ReactNode } from 'react';
6
6
  import { SlotsToClasses } from '../../utils/types.js';
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>>;
@@ -110,7 +110,16 @@ Radio.displayName = "Radio";
110
110
  var radio_default = Radio;
111
111
  var radio = tv({
112
112
  slots: {
113
- base: "group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent",
113
+ base: [
114
+ "group/radio",
115
+ "relative",
116
+ "max-w-fit",
117
+ "inline-flex",
118
+ "items-center",
119
+ "justify-start",
120
+ "cursor-pointer",
121
+ "tap-highlight-transparent"
122
+ ],
114
123
  icon: [
115
124
  "relative",
116
125
  "inline-flex",
@@ -139,18 +148,18 @@ var radio = tv({
139
148
  "after:left-1/2",
140
149
  "after:-translate-x-1/2",
141
150
  "after:-translate-y-1/2",
142
- "group-has-[:checked]:after:opacity-100",
143
- "group-has-[:checked]:after:scale-100",
151
+ "group-has-[:checked]/radio:after:opacity-100",
152
+ "group-has-[:checked]/radio:after:scale-100",
144
153
  // hover
145
- "group-hover:before:bg-neutral-soft",
154
+ "group-hover/radio:before:bg-neutral-soft",
146
155
  "before:transition duration-200",
147
156
  // focus ring
148
157
  "outline-none",
149
- "group-focus:z-10",
150
- "group-focus:ring-2",
151
- "group-focus:ring-focus",
152
- "group-focus:ring-offset-2",
153
- "group-focus:ring-offset-background"
158
+ "group-focus/radio:z-10",
159
+ "group-focus/radio:ring-2",
160
+ "group-focus/radio:ring-focus",
161
+ "group-focus/radio:ring-offset-2",
162
+ "group-focus/radio:ring-offset-background"
154
163
  ],
155
164
  labelWrapper: "flex flex-col",
156
165
  label: "text-foreground select-none"
@@ -158,44 +167,53 @@ var radio = tv({
158
167
  variants: {
159
168
  color: {
160
169
  primary: {
161
- icon: "group-has-[:checked]:before:border-primary-main after:bg-primary-main"
170
+ icon: ["group-has-[:checked]/radio:before:border-primary-main", "after:bg-primary-main"]
162
171
  },
163
172
  secondary: {
164
- icon: "group-has-[:checked]:before:border-secondary-main after:bg-secondary-main"
173
+ icon: ["group-has-[:checked]/radio:before:border-secondary-main", "after:bg-secondary-main"]
165
174
  }
166
175
  },
167
176
  size: {
168
177
  sm: {
169
- icon: ["w-[15px] h-[15px] mr-[8px] after:w-[10px] after:h-[10px]"],
178
+ icon: ["w-[15px]", "h-[15px]", "mr-[6px]", "after:w-[9px]", "after:h-[9px]"],
170
179
  label: "text-sm"
171
180
  },
172
181
  md: {
173
- icon: ["w-[17px] h-[17px] mr-[9px] after:w-[11px] after:h-[11px]"],
182
+ icon: ["w-[17px]", "h-[17px]", "mr-[8px]", "after:w-[11px]", "after:h-[11px]"],
174
183
  label: "text-md"
175
184
  },
176
185
  lg: {
177
- icon: ["w-[20px] h-[20px] mr-[10px] after:w-[12px] after:h-[12px]"],
186
+ icon: ["w-[20px]", "h-[20px]", "mr-[10px]", "after:w-[14px]", "after:h-[14px]"],
178
187
  label: "text-lg"
179
188
  }
180
189
  },
181
190
  isInvalid: {
182
191
  true: {
183
- icon: "after:bg-danger-main before:border-danger-main",
192
+ icon: [
193
+ "after:bg-danger-main",
194
+ "before:border-danger-main",
195
+ "group-has-[:checked]/radio:before:border-danger-main"
196
+ ],
184
197
  label: "text-danger-main"
185
198
  }
186
199
  },
187
200
  isDisabled: {
188
201
  true: {
189
- base: "opacity-disabled pointer-events-none",
190
- icon: "before:border-neutral-light before:bg-neutral-soft after:bg-neutral-light",
202
+ base: ["opacity-disabled", "pointer-events-none"],
203
+ icon: [
204
+ "before:border-neutral-light",
205
+ "before:bg-neutral-soft",
206
+ "after:bg-neutral-light",
207
+ "group-has-[:checked]/radio:before:border-neutral-light"
208
+ ],
191
209
  label: "text-neutral-light"
192
210
  }
193
211
  },
194
212
  disableAnimation: {
195
213
  true: {},
196
214
  false: {
197
- icon: ["group-active:scale-95", "transition-transform-colors", "motion-reduce:transition-none"],
198
- label: "transition-colors motion-reduce:transition-none"
215
+ icon: ["group-active/radio:scale-95", "transition-transform-colors", "motion-reduce:transition-none"],
216
+ label: ["transition-colors", "motion-reduce:transition-none"]
199
217
  }
200
218
  }
201
219
  },
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  radio_default
4
- } from "../../chunk-PCIONGEJ.mjs";
4
+ } from "../../chunk-QWFOYO3D.mjs";
5
5
  import "../../chunk-E3G5QXSH.mjs";
6
6
  import "../../chunk-J725QONZ.mjs";
7
7
  import "../../chunk-IZ6II3QA.mjs";
@@ -12957,7 +12957,16 @@ Radio.displayName = "Radio";
12957
12957
  var radio_default = Radio;
12958
12958
  var radio = tv({
12959
12959
  slots: {
12960
- base: "group relative max-w-fit inline-flex items-center justify-start cursor-pointer tap-highlight-transparent",
12960
+ base: [
12961
+ "group/radio",
12962
+ "relative",
12963
+ "max-w-fit",
12964
+ "inline-flex",
12965
+ "items-center",
12966
+ "justify-start",
12967
+ "cursor-pointer",
12968
+ "tap-highlight-transparent"
12969
+ ],
12961
12970
  icon: [
12962
12971
  "relative",
12963
12972
  "inline-flex",
@@ -12986,18 +12995,18 @@ var radio = tv({
12986
12995
  "after:left-1/2",
12987
12996
  "after:-translate-x-1/2",
12988
12997
  "after:-translate-y-1/2",
12989
- "group-has-[:checked]:after:opacity-100",
12990
- "group-has-[:checked]:after:scale-100",
12998
+ "group-has-[:checked]/radio:after:opacity-100",
12999
+ "group-has-[:checked]/radio:after:scale-100",
12991
13000
  // hover
12992
- "group-hover:before:bg-neutral-soft",
13001
+ "group-hover/radio:before:bg-neutral-soft",
12993
13002
  "before:transition duration-200",
12994
13003
  // focus ring
12995
13004
  "outline-none",
12996
- "group-focus:z-10",
12997
- "group-focus:ring-2",
12998
- "group-focus:ring-focus",
12999
- "group-focus:ring-offset-2",
13000
- "group-focus:ring-offset-background"
13005
+ "group-focus/radio:z-10",
13006
+ "group-focus/radio:ring-2",
13007
+ "group-focus/radio:ring-focus",
13008
+ "group-focus/radio:ring-offset-2",
13009
+ "group-focus/radio:ring-offset-background"
13001
13010
  ],
13002
13011
  labelWrapper: "flex flex-col",
13003
13012
  label: "text-foreground select-none"
@@ -13005,44 +13014,53 @@ var radio = tv({
13005
13014
  variants: {
13006
13015
  color: {
13007
13016
  primary: {
13008
- icon: "group-has-[:checked]:before:border-primary-main after:bg-primary-main"
13017
+ icon: ["group-has-[:checked]/radio:before:border-primary-main", "after:bg-primary-main"]
13009
13018
  },
13010
13019
  secondary: {
13011
- icon: "group-has-[:checked]:before:border-secondary-main after:bg-secondary-main"
13020
+ icon: ["group-has-[:checked]/radio:before:border-secondary-main", "after:bg-secondary-main"]
13012
13021
  }
13013
13022
  },
13014
13023
  size: {
13015
13024
  sm: {
13016
- icon: ["w-[15px] h-[15px] mr-[8px] after:w-[10px] after:h-[10px]"],
13025
+ icon: ["w-[15px]", "h-[15px]", "mr-[6px]", "after:w-[9px]", "after:h-[9px]"],
13017
13026
  label: "text-sm"
13018
13027
  },
13019
13028
  md: {
13020
- icon: ["w-[17px] h-[17px] mr-[9px] after:w-[11px] after:h-[11px]"],
13029
+ icon: ["w-[17px]", "h-[17px]", "mr-[8px]", "after:w-[11px]", "after:h-[11px]"],
13021
13030
  label: "text-md"
13022
13031
  },
13023
13032
  lg: {
13024
- icon: ["w-[20px] h-[20px] mr-[10px] after:w-[12px] after:h-[12px]"],
13033
+ icon: ["w-[20px]", "h-[20px]", "mr-[10px]", "after:w-[14px]", "after:h-[14px]"],
13025
13034
  label: "text-lg"
13026
13035
  }
13027
13036
  },
13028
13037
  isInvalid: {
13029
13038
  true: {
13030
- icon: "after:bg-danger-main before:border-danger-main",
13039
+ icon: [
13040
+ "after:bg-danger-main",
13041
+ "before:border-danger-main",
13042
+ "group-has-[:checked]/radio:before:border-danger-main"
13043
+ ],
13031
13044
  label: "text-danger-main"
13032
13045
  }
13033
13046
  },
13034
13047
  isDisabled: {
13035
13048
  true: {
13036
- base: "opacity-disabled pointer-events-none",
13037
- icon: "before:border-neutral-light before:bg-neutral-soft after:bg-neutral-light",
13049
+ base: ["opacity-disabled", "pointer-events-none"],
13050
+ icon: [
13051
+ "before:border-neutral-light",
13052
+ "before:bg-neutral-soft",
13053
+ "after:bg-neutral-light",
13054
+ "group-has-[:checked]/radio:before:border-neutral-light"
13055
+ ],
13038
13056
  label: "text-neutral-light"
13039
13057
  }
13040
13058
  },
13041
13059
  disableAnimation: {
13042
13060
  true: {},
13043
13061
  false: {
13044
- icon: ["group-active:scale-95", "transition-transform-colors", "motion-reduce:transition-none"],
13045
- label: "transition-colors motion-reduce:transition-none"
13062
+ icon: ["group-active/radio:scale-95", "transition-transform-colors", "motion-reduce:transition-none"],
13063
+ label: ["transition-colors", "motion-reduce:transition-none"]
13046
13064
  }
13047
13065
  }
13048
13066
  },
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import {
3
3
  radio_default
4
- } from "../../chunk-PCIONGEJ.mjs";
5
- import "../../chunk-E3G5QXSH.mjs";
4
+ } from "../../chunk-QWFOYO3D.mjs";
6
5
  import {
7
6
  act,
8
7
  render
9
8
  } from "../../chunk-FNPWLOGV.mjs";
9
+ import "../../chunk-E3G5QXSH.mjs";
10
10
  import "../../chunk-J725QONZ.mjs";
11
11
  import "../../chunk-IZ6II3QA.mjs";
12
12
 
@@ -410,6 +410,36 @@ var template = {
410
410
  }
411
411
  );
412
412
  },
413
+ loading: ({ className, fill }) => {
414
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
415
+ "svg",
416
+ {
417
+ width: "24",
418
+ height: "24",
419
+ viewBox: "0 0 24 24",
420
+ fill: "none",
421
+ xmlns: "http://www.w3.org/2000/svg",
422
+ className,
423
+ children: [
424
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
425
+ "path",
426
+ {
427
+ d: "M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12ZM6.6 12C6.6 14.9823 9.01766 17.4 12 17.4C14.9823 17.4 17.4 14.9823 17.4 12C17.4 9.01766 14.9823 6.6 12 6.6C9.01766 6.6 6.6 9.01766 6.6 12Z",
428
+ fill: "currentColor",
429
+ fillOpacity: "0.1"
430
+ }
431
+ ),
432
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
433
+ "path",
434
+ {
435
+ d: "M21 12C21 13.9006 20.3983 15.7524 19.2812 17.2901C18.164 18.8277 16.5887 19.9722 14.7812 20.5595C12.9736 21.1468 11.0264 21.1468 9.21885 20.5595C7.41126 19.9722 5.836 18.8277 4.71885 17.2901C3.60169 15.7524 3 13.9006 3 12C3 10.0994 3.60169 8.24756 4.71885 6.70993C5.836 5.1723 7.41126 4.02781 9.21885 3.44049C11.0264 2.85317 12.9736 2.85317 14.7812 3.44049L13.6687 6.8643C12.5841 6.5119 11.4159 6.5119 10.3313 6.86429C9.24675 7.21669 8.3016 7.90338 7.63131 8.82596C6.96102 9.74854 6.6 10.8596 6.6 12C6.6 13.1404 6.96102 14.2515 7.63131 15.174C8.3016 16.0966 9.24675 16.7833 10.3313 17.1357C11.4159 17.4881 12.5841 17.4881 13.6687 17.1357C14.7532 16.7833 15.6984 16.0966 16.3687 15.174C17.039 14.2515 17.4 13.1404 17.4 12H21Z",
436
+ fill: "currentColor"
437
+ }
438
+ )
439
+ ]
440
+ }
441
+ );
442
+ },
413
443
  // ** User **
414
444
  "user-circle": ({ className, fill }) => {
415
445
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
@@ -3831,7 +3861,7 @@ Select.displayName = "Select";
3831
3861
  var select_default = Select;
3832
3862
  var select = tv({
3833
3863
  slots: {
3834
- base: ["group", "flex flex-col"],
3864
+ base: ["group/select", "flex flex-col"],
3835
3865
  label: ["flex", "items-center"],
3836
3866
  selectWrapper: [
3837
3867
  "flex",
@@ -3839,8 +3869,9 @@ var select = tv({
3839
3869
  "bg-transparent",
3840
3870
  "border-neutral-main",
3841
3871
  "transition duration-200",
3842
- "group-has-[p]:border-danger-main",
3843
- "group-has-[p]:text-danger-main"
3872
+ "group-has-[p]/select:border-danger-main",
3873
+ "group-has-[p]/select:text-danger-main",
3874
+ "group-has-[p]/select:bg-danger-soft"
3844
3875
  ],
3845
3876
  select: [
3846
3877
  "w-full",
@@ -3849,7 +3880,7 @@ var select = tv({
3849
3880
  "cursor-inherit",
3850
3881
  "cursor-pointer",
3851
3882
  "placeholder:text-neutral-main",
3852
- "group-has-[p]:text-danger-main",
3883
+ "group-has-[p]/select:text-danger-main",
3853
3884
  "focus-visible:outline-none"
3854
3885
  ],
3855
3886
  optionsWrapper: ["w-[240px]", "border", "bg-background", "cursor-pointer", "overflow-y-auto"],
@@ -3858,7 +3889,7 @@ var select = tv({
3858
3889
  variants: {
3859
3890
  variant: {
3860
3891
  solid: {
3861
- selectWrapper: "bg-trans-soft hover:bg-trans-light data-[expanded=true]:bg-trans-light group-has-[p]:bg-danger-soft"
3892
+ selectWrapper: "bg-trans-soft hover:bg-trans-light data-[expanded=true]:bg-trans-light group-has-[p]/select:bg-danger-soft"
3862
3893
  },
3863
3894
  normal: {
3864
3895
  selectWrapper: "border hover:bg-trans-soft data-[expanded=true]:bg-trans-soft"
@@ -2,12 +2,12 @@
2
2
  import "../../chunk-QCEKPS7U.mjs";
3
3
  import {
4
4
  select_default
5
- } from "../../chunk-4VIEZ5FT.mjs";
6
- import "../../chunk-LY6LJRUX.mjs";
5
+ } from "../../chunk-2BCJZILI.mjs";
7
6
  import "../../chunk-S3QS5B7F.mjs";
7
+ import "../../chunk-RZZWHI6O.mjs";
8
8
  import "../../chunk-ZYIIXWVY.mjs";
9
- import "../../chunk-PRUAIZTU.mjs";
10
- import "../../chunk-IOV7MEPG.mjs";
9
+ import "../../chunk-LCI6RPWE.mjs";
10
+ import "../../chunk-IOCRFIQF.mjs";
11
11
  import "../../chunk-E3G5QXSH.mjs";
12
12
  import "../../chunk-J725QONZ.mjs";
13
13
  import "../../chunk-IZ6II3QA.mjs";
@@ -330,6 +330,36 @@ var template = {
330
330
  }
331
331
  );
332
332
  },
333
+ loading: ({ className, fill }) => {
334
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
335
+ "svg",
336
+ {
337
+ width: "24",
338
+ height: "24",
339
+ viewBox: "0 0 24 24",
340
+ fill: "none",
341
+ xmlns: "http://www.w3.org/2000/svg",
342
+ className,
343
+ children: [
344
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
345
+ "path",
346
+ {
347
+ d: "M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12ZM6.6 12C6.6 14.9823 9.01766 17.4 12 17.4C14.9823 17.4 17.4 14.9823 17.4 12C17.4 9.01766 14.9823 6.6 12 6.6C9.01766 6.6 6.6 9.01766 6.6 12Z",
348
+ fill: "currentColor",
349
+ fillOpacity: "0.1"
350
+ }
351
+ ),
352
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
353
+ "path",
354
+ {
355
+ d: "M21 12C21 13.9006 20.3983 15.7524 19.2812 17.2901C18.164 18.8277 16.5887 19.9722 14.7812 20.5595C12.9736 21.1468 11.0264 21.1468 9.21885 20.5595C7.41126 19.9722 5.836 18.8277 4.71885 17.2901C3.60169 15.7524 3 13.9006 3 12C3 10.0994 3.60169 8.24756 4.71885 6.70993C5.836 5.1723 7.41126 4.02781 9.21885 3.44049C11.0264 2.85317 12.9736 2.85317 14.7812 3.44049L13.6687 6.8643C12.5841 6.5119 11.4159 6.5119 10.3313 6.86429C9.24675 7.21669 8.3016 7.90338 7.63131 8.82596C6.96102 9.74854 6.6 10.8596 6.6 12C6.6 13.1404 6.96102 14.2515 7.63131 15.174C8.3016 16.0966 9.24675 16.7833 10.3313 17.1357C11.4159 17.4881 12.5841 17.4881 13.6687 17.1357C14.7532 16.7833 15.6984 16.0966 16.3687 15.174C17.039 14.2515 17.4 13.1404 17.4 12H21Z",
356
+ fill: "currentColor"
357
+ }
358
+ )
359
+ ]
360
+ }
361
+ );
362
+ },
333
363
  // ** User **
334
364
  "user-circle": ({ className, fill }) => {
335
365
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  option_default
4
- } from "../../chunk-LY6LJRUX.mjs";
4
+ } from "../../chunk-RZZWHI6O.mjs";
5
5
  import "../../chunk-ZYIIXWVY.mjs";
6
- import "../../chunk-PRUAIZTU.mjs";
7
- import "../../chunk-IOV7MEPG.mjs";
6
+ import "../../chunk-LCI6RPWE.mjs";
7
+ import "../../chunk-IOCRFIQF.mjs";
8
8
  import "../../chunk-J725QONZ.mjs";
9
9
  import "../../chunk-IZ6II3QA.mjs";
10
10
  export {
@@ -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.mjs';
7
7
 
@@ -18,7 +18,7 @@ type SelectOption = {
18
18
  key: string | number;
19
19
  value: string;
20
20
  };
21
- declare const Select: react.ForwardRefExoticComponent<Omit<SelectProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
21
+ declare const Select: React.ForwardRefExoticComponent<Omit<SelectProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
22
22
 
23
23
  declare const select: tailwind_variants.TVReturnType<{
24
24
  variant: {
@@ -104,11 +104,11 @@ declare const select: tailwind_variants.TVReturnType<{
104
104
  }, undefined, {
105
105
  responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
106
106
  size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
107
- color?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
108
107
  variant?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
109
- radius?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
108
+ color?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
110
109
  fullWidth?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
111
110
  isDisabled?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
111
+ radius?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
112
112
  isRequired?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
113
113
  } | undefined;
114
114
  } & tailwind_variants_dist_config.TWMConfig & {