@deepnoid/ui 0.0.80 → 0.0.84

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 (213) hide show
  1. package/dist/{chunk-KWOLWE6I.mjs → chunk-463XE4SI.mjs} +4 -4
  2. package/dist/chunk-5T5F5WVS.mjs +32 -0
  3. package/dist/{chunk-S4DTK5GI.mjs → chunk-ADDUBJ4I.mjs} +1 -1
  4. package/dist/{chunk-GJKNTX2T.mjs → chunk-AHORH5PH.mjs} +6 -4
  5. package/dist/{chunk-7LYJAJIS.mjs → chunk-EWKYBS7I.mjs} +13 -6
  6. package/dist/{chunk-H7BLXC5M.mjs → chunk-ILMIS63S.mjs} +14 -14
  7. package/dist/{chunk-H737LHAY.mjs → chunk-KA4L5SCT.mjs} +8 -8
  8. package/dist/{chunk-DLVQWKQG.mjs → chunk-LGELMZCN.mjs} +24 -19
  9. package/dist/chunk-LXPWTJ3F.mjs +58 -0
  10. package/dist/{chunk-FNPWLOGV.mjs → chunk-NTTHTGDK.mjs} +39 -37
  11. package/dist/{chunk-G3CX6IWH.mjs → chunk-PUFNT5LS.mjs} +18 -6
  12. package/dist/{chunk-WIKB37T7.mjs → chunk-QCOPD2HG.mjs} +1 -1
  13. package/dist/{chunk-TLYAFXE2.mjs → chunk-QURXBWKK.mjs} +1902 -746
  14. package/dist/{chunk-TDMXAHWR.mjs → chunk-RTH3FPAS.mjs} +32 -6
  15. package/dist/chunk-SDNTEP5C.mjs +61 -0
  16. package/dist/{chunk-FLJ4ZZXV.mjs → chunk-SQLRQTFC.mjs} +1 -1
  17. package/dist/chunk-W7ABNK3K.mjs +1 -0
  18. package/dist/chunk-XTJL67KM.mjs +127 -0
  19. package/dist/chunk-ZYIIXWVY.mjs +1 -0
  20. package/dist/components/accordion/accordion.test.js +39 -37
  21. package/dist/components/accordion/accordion.test.mjs +1 -1
  22. package/dist/components/accordion/accordionItem.js +1905 -749
  23. package/dist/components/accordion/accordionItem.mjs +4 -4
  24. package/dist/components/accordion/index.js +1905 -749
  25. package/dist/components/accordion/index.mjs +4 -4
  26. package/dist/components/button/button-group.test.js +39 -37
  27. package/dist/components/button/button-group.test.mjs +2 -2
  28. package/dist/components/button/button.test.js +52 -50
  29. package/dist/components/button/button.test.mjs +2 -2
  30. package/dist/components/card/card.test.js +39 -37
  31. package/dist/components/card/card.test.mjs +1 -1
  32. package/dist/components/checkbox/checkbox.test.js +39 -37
  33. package/dist/components/checkbox/checkbox.test.mjs +2 -2
  34. package/dist/components/{list/list.d.mts → dropdown/dropdown.d.ts} +9 -9
  35. package/dist/components/dropdown/dropdown.js +122 -0
  36. package/dist/components/dropdown/dropdown.mjs +10 -0
  37. package/dist/components/dropdown/dropdown.test.js +12997 -0
  38. package/dist/components/dropdown/dropdown.test.mjs +25 -0
  39. package/dist/components/dropdown/index.js +128 -0
  40. package/dist/components/dropdown/index.mjs +11 -0
  41. package/dist/components/icon/Icon.d.ts +499 -1
  42. package/dist/components/icon/Icon.js +1940 -778
  43. package/dist/components/icon/Icon.mjs +6 -4
  44. package/dist/components/icon/index.js +1910 -751
  45. package/dist/components/icon/index.mjs +7 -5
  46. package/dist/components/icon/template.d.ts +98 -61
  47. package/dist/components/icon/template.js +1902 -746
  48. package/dist/components/icon/template.mjs +1 -1
  49. package/dist/components/input/index.js +1912 -756
  50. package/dist/components/input/index.mjs +4 -4
  51. package/dist/components/input/input.js +1912 -756
  52. package/dist/components/input/input.mjs +4 -4
  53. package/dist/components/input/input.test.js +1983 -825
  54. package/dist/components/input/input.test.mjs +6 -6
  55. package/dist/components/list/index.mjs +3 -3
  56. package/dist/components/list/list.test.js +39 -37
  57. package/dist/components/list/list.test.mjs +1 -1
  58. package/dist/components/modal/index.js +1942 -779
  59. package/dist/components/modal/index.mjs +3 -3
  60. package/dist/components/modal/modal.js +1942 -779
  61. package/dist/components/modal/modal.mjs +3 -3
  62. package/dist/components/modal/modal.test.js +1981 -816
  63. package/dist/components/modal/modal.test.mjs +4 -4
  64. package/dist/components/pagination/pagination.test.js +39 -37
  65. package/dist/components/pagination/pagination.test.mjs +1 -1
  66. package/dist/components/progress/progress.test.d.ts +0 -2
  67. package/dist/components/progress/progress.test.js +39 -37
  68. package/dist/components/progress/progress.test.mjs +1 -1
  69. package/dist/components/radio/radio.test.js +39 -37
  70. package/dist/components/radio/radio.test.mjs +1 -1
  71. package/dist/components/select/index.js +1905 -749
  72. package/dist/components/select/index.mjs +5 -5
  73. package/dist/components/select/option.js +1905 -749
  74. package/dist/components/select/option.mjs +4 -4
  75. package/dist/components/select/select.js +1905 -749
  76. package/dist/components/select/select.mjs +5 -5
  77. package/dist/components/select/select.test.js +1951 -793
  78. package/dist/components/select/select.test.mjs +7 -7
  79. package/dist/components/slider/slider.test.d.ts +0 -2
  80. package/dist/components/slider/slider.test.js +39 -37
  81. package/dist/components/slider/slider.test.mjs +1 -1
  82. package/dist/components/switch/switch.test.d.ts +0 -2
  83. package/dist/components/switch/switch.test.js +39 -37
  84. package/dist/components/switch/switch.test.mjs +1 -1
  85. package/dist/components/table/index.js +1985 -786
  86. package/dist/components/table/index.mjs +6 -6
  87. package/dist/components/table/table-body.d.ts +5 -2
  88. package/dist/components/table/table-body.js +1953 -792
  89. package/dist/components/table/table-body.mjs +4 -4
  90. package/dist/components/table/table-head.d.ts +4 -2
  91. package/dist/components/table/table-head.js +18 -6
  92. package/dist/components/table/table-head.mjs +1 -1
  93. package/dist/components/table/table.d.ts +32 -59
  94. package/dist/components/table/table.js +1985 -786
  95. package/dist/components/table/table.mjs +6 -6
  96. package/dist/components/table/table.test.d.ts +0 -2
  97. package/dist/components/table/table.test.js +2020 -819
  98. package/dist/components/table/table.test.mjs +7 -7
  99. package/dist/components/tabs/tabs.test.d.ts +0 -2
  100. package/dist/components/tabs/tabs.test.js +39 -37
  101. package/dist/components/tabs/tabs.test.mjs +2 -2
  102. package/dist/components/textarea/textarea.test.d.ts +0 -2
  103. package/dist/components/textarea/textarea.test.js +52 -50
  104. package/dist/components/textarea/textarea.test.mjs +2 -2
  105. package/dist/components/toast/index.js +3810 -0
  106. package/dist/components/toast/index.mjs +16 -0
  107. package/dist/components/toast/toast-utils.js +84 -0
  108. package/dist/components/toast/toast-utils.mjs +8 -0
  109. package/dist/components/toast/toast.d.ts +204 -0
  110. package/dist/components/toast/toast.js +3804 -0
  111. package/dist/components/toast/toast.mjs +15 -0
  112. package/dist/components/toast/toast.test.d.ts +0 -0
  113. package/dist/components/toast/toast.test.js +16689 -0
  114. package/dist/components/toast/toast.test.mjs +30 -0
  115. package/dist/components/toast/useToast.d.ts +0 -0
  116. package/dist/components/toast/useToast.js +110 -0
  117. package/dist/components/toast/useToast.mjs +9 -0
  118. package/dist/components/tooltip/tooltip-utils.d.ts +0 -2
  119. package/dist/components/tooltip/tooltip.test.d.ts +0 -2
  120. package/dist/components/tooltip/tooltip.test.js +39 -37
  121. package/dist/components/tooltip/tooltip.test.mjs +1 -1
  122. package/dist/components/tooltip/useTooltip.d.ts +0 -2
  123. package/dist/index.d.ts +4 -1
  124. package/dist/index.js +2247 -793
  125. package/dist/index.mjs +42 -28
  126. package/package.json +4 -3
  127. package/dist/components/accordion/accordion.d.mts +0 -154
  128. package/dist/components/accordion/accordionItem.d.mts +0 -282
  129. package/dist/components/accordion/index.d.mts +0 -6
  130. package/dist/components/button/button-group.d.mts +0 -14
  131. package/dist/components/button/button-group.test.d.mts +0 -2
  132. package/dist/components/button/button.d.mts +0 -18
  133. package/dist/components/button/button.test.d.mts +0 -2
  134. package/dist/components/button/index.d.mts +0 -3
  135. package/dist/components/card/card.d.mts +0 -124
  136. package/dist/components/card/card.test.d.mts +0 -2
  137. package/dist/components/card/index.d.mts +0 -5
  138. package/dist/components/card/index.d.ts +0 -5
  139. package/dist/components/checkbox/checkbox.d.mts +0 -349
  140. package/dist/components/checkbox/checkbox.test.d.mts +0 -2
  141. package/dist/components/checkbox/index.d.mts +0 -5
  142. package/dist/components/checkbox/index.d.ts +0 -5
  143. package/dist/components/icon/Icon.d.mts +0 -15
  144. package/dist/components/icon/index.d.mts +0 -4
  145. package/dist/components/icon/index.d.ts +0 -4
  146. package/dist/components/icon/template.d.mts +0 -97
  147. package/dist/components/input/index.d.mts +0 -5
  148. package/dist/components/input/index.d.ts +0 -5
  149. package/dist/components/input/input.d.mts +0 -437
  150. package/dist/components/input/input.test.d.mts +0 -2
  151. package/dist/components/list/index.d.mts +0 -6
  152. package/dist/components/list/list.test.d.mts +0 -2
  153. package/dist/components/list/listItem.d.mts +0 -183
  154. package/dist/components/modal/index.d.mts +0 -8
  155. package/dist/components/modal/index.d.ts +0 -8
  156. package/dist/components/modal/modal.d.mts +0 -214
  157. package/dist/components/modal/modal.test.d.mts +0 -2
  158. package/dist/components/pagination/index.d.mts +0 -4
  159. package/dist/components/pagination/index.d.ts +0 -4
  160. package/dist/components/pagination/pagination.d.mts +0 -186
  161. package/dist/components/pagination/pagination.test.d.mts +0 -2
  162. package/dist/components/pagination/usePagination.d.mts +0 -16
  163. package/dist/components/progress/index.d.mts +0 -5
  164. package/dist/components/progress/index.d.ts +0 -5
  165. package/dist/components/progress/progress.d.mts +0 -281
  166. package/dist/components/progress/progress.test.d.mts +0 -2
  167. package/dist/components/radio/index.d.mts +0 -5
  168. package/dist/components/radio/index.d.ts +0 -5
  169. package/dist/components/radio/radio.d.mts +0 -278
  170. package/dist/components/radio/radio.test.d.mts +0 -2
  171. package/dist/components/select/index.d.mts +0 -5
  172. package/dist/components/select/index.d.ts +0 -5
  173. package/dist/components/select/option.d.mts +0 -18
  174. package/dist/components/select/select.d.mts +0 -449
  175. package/dist/components/select/select.test.d.mts +0 -2
  176. package/dist/components/select/useSelect.d.mts +0 -32
  177. package/dist/components/slider/index.d.mts +0 -5
  178. package/dist/components/slider/index.d.ts +0 -5
  179. package/dist/components/slider/slider.d.mts +0 -333
  180. package/dist/components/slider/slider.test.d.mts +0 -2
  181. package/dist/components/switch/index.d.mts +0 -5
  182. package/dist/components/switch/index.d.ts +0 -5
  183. package/dist/components/switch/switch.d.mts +0 -304
  184. package/dist/components/switch/switch.test.d.mts +0 -2
  185. package/dist/components/table/index.d.mts +0 -5
  186. package/dist/components/table/index.d.ts +0 -5
  187. package/dist/components/table/table-body.d.mts +0 -23
  188. package/dist/components/table/table-head.d.mts +0 -19
  189. package/dist/components/table/table.d.mts +0 -610
  190. package/dist/components/table/table.test.d.mts +0 -2
  191. package/dist/components/tabs/index.d.mts +0 -5
  192. package/dist/components/tabs/index.d.ts +0 -5
  193. package/dist/components/tabs/tabs.d.mts +0 -241
  194. package/dist/components/tabs/tabs.test.d.mts +0 -2
  195. package/dist/components/textarea/index.d.mts +0 -2
  196. package/dist/components/textarea/index.d.ts +0 -2
  197. package/dist/components/textarea/textarea.d.mts +0 -17
  198. package/dist/components/textarea/textarea.test.d.mts +0 -2
  199. package/dist/components/tooltip/index.d.mts +0 -6
  200. package/dist/components/tooltip/index.d.ts +0 -6
  201. package/dist/components/tooltip/tooltip-utils.d.mts +0 -2
  202. package/dist/components/tooltip/tooltip.d.mts +0 -143
  203. package/dist/components/tooltip/tooltip.test.d.mts +0 -2
  204. package/dist/components/tooltip/useTooltip.d.mts +0 -2
  205. package/dist/index.d.mts +0 -30
  206. package/dist/tooltip-utils-DCKA5gnI.d.mts +0 -30
  207. package/dist/tooltip-utils-DCKA5gnI.d.ts +0 -30
  208. package/dist/utils/clsx.d.mts +0 -3
  209. package/dist/utils/props.d.mts +0 -3
  210. package/dist/utils/tailwind-variants.d.mts +0 -26
  211. package/dist/utils/types.d.mts +0 -10
  212. /package/dist/{chunk-M5PMA3CT.mjs → chunk-RDEWIZV3.mjs} +0 -0
  213. /package/dist/components/{accordion/accordion.test.d.mts → dropdown/dropdown.test.d.ts} +0 -0
@@ -1,281 +0,0 @@
1
- import * as tailwind_variants from 'tailwind-variants';
2
- import { VariantProps } from 'tailwind-variants';
3
- import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
4
- import * as react from 'react';
5
- import { ComponentPropsWithRef } from 'react';
6
- import { SlotsToClasses } from '../../utils/types.mjs';
7
-
8
- interface Props extends Omit<ComponentPropsWithRef<"div">, "ref"> {
9
- label?: string;
10
- value?: number;
11
- showValueLabel?: boolean;
12
- classNames?: SlotsToClasses<ProgressSlots>;
13
- }
14
- type ProgressProps = Props & ProgressVariantProps;
15
- declare const Progress: react.ForwardRefExoticComponent<Props & ProgressVariantProps & react.RefAttributes<HTMLDivElement>>;
16
-
17
- declare const progress: tailwind_variants.TVReturnType<{
18
- color: {
19
- primary: {
20
- indicator: string;
21
- };
22
- secondary: {
23
- indicator: string;
24
- };
25
- };
26
- size: {
27
- sm: {
28
- label: string;
29
- output: string;
30
- track: string;
31
- };
32
- md: {
33
- label: string;
34
- output: string;
35
- track: string;
36
- };
37
- lg: {
38
- label: string;
39
- output: string;
40
- track: string;
41
- };
42
- };
43
- gradient: {
44
- true: {
45
- indicator: string;
46
- };
47
- };
48
- fullWidth: {
49
- true: {
50
- base: string;
51
- };
52
- };
53
- isDisabled: {
54
- true: {
55
- base: string;
56
- indicator: string;
57
- };
58
- };
59
- }, {
60
- base: string;
61
- labelWrapper: string;
62
- label: string;
63
- output: string;
64
- track: string;
65
- indicator: string;
66
- }, undefined, {
67
- responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
68
- size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
69
- color?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
70
- fullWidth?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
71
- isDisabled?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
72
- gradient?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
73
- } | undefined;
74
- } & tailwind_variants_dist_config.TWMConfig & {
75
- twMergeConfig: {
76
- classGroups: {
77
- fontSize: {
78
- text: string[];
79
- }[];
80
- borderRadius: {
81
- rounded: string[];
82
- }[];
83
- boxShadow: {
84
- shadow: string[];
85
- }[];
86
- padding: {
87
- p: string[];
88
- }[];
89
- gap: {
90
- gap: string[];
91
- }[];
92
- };
93
- };
94
- }, {
95
- color: {
96
- primary: {
97
- indicator: string;
98
- };
99
- secondary: {
100
- indicator: string;
101
- };
102
- };
103
- size: {
104
- sm: {
105
- label: string;
106
- output: string;
107
- track: string;
108
- };
109
- md: {
110
- label: string;
111
- output: string;
112
- track: string;
113
- };
114
- lg: {
115
- label: string;
116
- output: string;
117
- track: string;
118
- };
119
- };
120
- gradient: {
121
- true: {
122
- indicator: string;
123
- };
124
- };
125
- fullWidth: {
126
- true: {
127
- base: string;
128
- };
129
- };
130
- isDisabled: {
131
- true: {
132
- base: string;
133
- indicator: string;
134
- };
135
- };
136
- }, {
137
- base: string;
138
- labelWrapper: string;
139
- label: string;
140
- output: string;
141
- track: string;
142
- indicator: string;
143
- }, tailwind_variants.TVReturnType<{
144
- color: {
145
- primary: {
146
- indicator: string;
147
- };
148
- secondary: {
149
- indicator: string;
150
- };
151
- };
152
- size: {
153
- sm: {
154
- label: string;
155
- output: string;
156
- track: string;
157
- };
158
- md: {
159
- label: string;
160
- output: string;
161
- track: string;
162
- };
163
- lg: {
164
- label: string;
165
- output: string;
166
- track: string;
167
- };
168
- };
169
- gradient: {
170
- true: {
171
- indicator: string;
172
- };
173
- };
174
- fullWidth: {
175
- true: {
176
- base: string;
177
- };
178
- };
179
- isDisabled: {
180
- true: {
181
- base: string;
182
- indicator: string;
183
- };
184
- };
185
- }, {
186
- base: string;
187
- labelWrapper: string;
188
- label: string;
189
- output: string;
190
- track: string;
191
- indicator: string;
192
- }, undefined, tailwind_variants_dist_config.TVConfig<{
193
- color: {
194
- primary: {
195
- indicator: string;
196
- };
197
- secondary: {
198
- indicator: string;
199
- };
200
- };
201
- size: {
202
- sm: {
203
- label: string;
204
- output: string;
205
- track: string;
206
- };
207
- md: {
208
- label: string;
209
- output: string;
210
- track: string;
211
- };
212
- lg: {
213
- label: string;
214
- output: string;
215
- track: string;
216
- };
217
- };
218
- gradient: {
219
- true: {
220
- indicator: string;
221
- };
222
- };
223
- fullWidth: {
224
- true: {
225
- base: string;
226
- };
227
- };
228
- isDisabled: {
229
- true: {
230
- base: string;
231
- indicator: string;
232
- };
233
- };
234
- }, {
235
- color: {
236
- primary: {
237
- indicator: string;
238
- };
239
- secondary: {
240
- indicator: string;
241
- };
242
- };
243
- size: {
244
- sm: {
245
- label: string;
246
- output: string;
247
- track: string;
248
- };
249
- md: {
250
- label: string;
251
- output: string;
252
- track: string;
253
- };
254
- lg: {
255
- label: string;
256
- output: string;
257
- track: string;
258
- };
259
- };
260
- gradient: {
261
- true: {
262
- indicator: string;
263
- };
264
- };
265
- fullWidth: {
266
- true: {
267
- base: string;
268
- };
269
- };
270
- isDisabled: {
271
- true: {
272
- base: string;
273
- indicator: string;
274
- };
275
- };
276
- }>, unknown, unknown, undefined>>;
277
- type ProgressVariantProps = VariantProps<typeof progress>;
278
- type ProgressSlots = keyof ReturnType<typeof progress>;
279
- type ProgressReturnType = ReturnType<typeof progress>;
280
-
281
- export { type ProgressProps, type ProgressReturnType, type ProgressSlots, type ProgressVariantProps, type Props, Progress as default };
@@ -1,2 +0,0 @@
1
-
2
- export { }
@@ -1,5 +0,0 @@
1
- export { default as Radio } from './radio.mjs';
2
- import 'tailwind-variants';
3
- import 'tailwind-variants/dist/config';
4
- import 'react';
5
- import '../../utils/types.mjs';
@@ -1,5 +0,0 @@
1
- export { default as Radio } from './radio.js';
2
- import 'tailwind-variants';
3
- import 'tailwind-variants/dist/config';
4
- import 'react';
5
- import '../../utils/types.js';
@@ -1,278 +0,0 @@
1
- import * as tailwind_variants from 'tailwind-variants';
2
- import { VariantProps } from 'tailwind-variants';
3
- import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
4
- import * as react from 'react';
5
- import { ReactNode } from 'react';
6
- import { SlotsToClasses } from '../../utils/types.mjs';
7
-
8
- interface Props extends Omit<React.ComponentPropsWithRef<"input">, "ref" | "color" | "slot" | "size" | keyof RadioVariantProps> {
9
- children?: ReactNode;
10
- classNames?: SlotsToClasses<RadioSlots>;
11
- }
12
- type RadioProps = Props & RadioVariantProps;
13
- declare const Radio: react.ForwardRefExoticComponent<Props & RadioVariantProps & react.RefAttributes<HTMLInputElement>>;
14
-
15
- declare const radio: tailwind_variants.TVReturnType<{
16
- color: {
17
- primary: {
18
- icon: string;
19
- };
20
- secondary: {
21
- icon: string;
22
- };
23
- };
24
- size: {
25
- sm: {
26
- icon: string[];
27
- label: string;
28
- };
29
- md: {
30
- icon: string[];
31
- label: string;
32
- };
33
- lg: {
34
- icon: string[];
35
- label: string;
36
- };
37
- };
38
- isInvalid: {
39
- true: {
40
- icon: string;
41
- label: string;
42
- };
43
- };
44
- isDisabled: {
45
- true: {
46
- base: string;
47
- icon: string;
48
- label: string;
49
- };
50
- };
51
- disableAnimation: {
52
- true: {};
53
- false: {
54
- icon: string[];
55
- label: string;
56
- };
57
- };
58
- }, {
59
- base: string;
60
- icon: string[];
61
- labelWrapper: string;
62
- label: string;
63
- }, undefined, {
64
- responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
65
- size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
66
- color?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
67
- isDisabled?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
68
- disableAnimation?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
69
- isInvalid?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
70
- } | undefined;
71
- } & tailwind_variants_dist_config.TWMConfig & {
72
- twMergeConfig: {
73
- classGroups: {
74
- fontSize: {
75
- text: string[];
76
- }[];
77
- borderRadius: {
78
- rounded: string[];
79
- }[];
80
- boxShadow: {
81
- shadow: string[];
82
- }[];
83
- padding: {
84
- p: string[];
85
- }[];
86
- gap: {
87
- gap: string[];
88
- }[];
89
- };
90
- };
91
- }, {
92
- color: {
93
- primary: {
94
- icon: string;
95
- };
96
- secondary: {
97
- icon: string;
98
- };
99
- };
100
- size: {
101
- sm: {
102
- icon: string[];
103
- label: string;
104
- };
105
- md: {
106
- icon: string[];
107
- label: string;
108
- };
109
- lg: {
110
- icon: string[];
111
- label: string;
112
- };
113
- };
114
- isInvalid: {
115
- true: {
116
- icon: string;
117
- label: string;
118
- };
119
- };
120
- isDisabled: {
121
- true: {
122
- base: string;
123
- icon: string;
124
- label: string;
125
- };
126
- };
127
- disableAnimation: {
128
- true: {};
129
- false: {
130
- icon: string[];
131
- label: string;
132
- };
133
- };
134
- }, {
135
- base: string;
136
- icon: string[];
137
- labelWrapper: string;
138
- label: string;
139
- }, tailwind_variants.TVReturnType<{
140
- color: {
141
- primary: {
142
- icon: string;
143
- };
144
- secondary: {
145
- icon: string;
146
- };
147
- };
148
- size: {
149
- sm: {
150
- icon: string[];
151
- label: string;
152
- };
153
- md: {
154
- icon: string[];
155
- label: string;
156
- };
157
- lg: {
158
- icon: string[];
159
- label: string;
160
- };
161
- };
162
- isInvalid: {
163
- true: {
164
- icon: string;
165
- label: string;
166
- };
167
- };
168
- isDisabled: {
169
- true: {
170
- base: string;
171
- icon: string;
172
- label: string;
173
- };
174
- };
175
- disableAnimation: {
176
- true: {};
177
- false: {
178
- icon: string[];
179
- label: string;
180
- };
181
- };
182
- }, {
183
- base: string;
184
- icon: string[];
185
- labelWrapper: string;
186
- label: string;
187
- }, undefined, tailwind_variants_dist_config.TVConfig<{
188
- color: {
189
- primary: {
190
- icon: string;
191
- };
192
- secondary: {
193
- icon: string;
194
- };
195
- };
196
- size: {
197
- sm: {
198
- icon: string[];
199
- label: string;
200
- };
201
- md: {
202
- icon: string[];
203
- label: string;
204
- };
205
- lg: {
206
- icon: string[];
207
- label: string;
208
- };
209
- };
210
- isInvalid: {
211
- true: {
212
- icon: string;
213
- label: string;
214
- };
215
- };
216
- isDisabled: {
217
- true: {
218
- base: string;
219
- icon: string;
220
- label: string;
221
- };
222
- };
223
- disableAnimation: {
224
- true: {};
225
- false: {
226
- icon: string[];
227
- label: string;
228
- };
229
- };
230
- }, {
231
- color: {
232
- primary: {
233
- icon: string;
234
- };
235
- secondary: {
236
- icon: string;
237
- };
238
- };
239
- size: {
240
- sm: {
241
- icon: string[];
242
- label: string;
243
- };
244
- md: {
245
- icon: string[];
246
- label: string;
247
- };
248
- lg: {
249
- icon: string[];
250
- label: string;
251
- };
252
- };
253
- isInvalid: {
254
- true: {
255
- icon: string;
256
- label: string;
257
- };
258
- };
259
- isDisabled: {
260
- true: {
261
- base: string;
262
- icon: string;
263
- label: string;
264
- };
265
- };
266
- disableAnimation: {
267
- true: {};
268
- false: {
269
- icon: string[];
270
- label: string;
271
- };
272
- };
273
- }>, unknown, unknown, undefined>>;
274
- type RadioVariantProps = VariantProps<typeof radio>;
275
- type RadioSlots = keyof ReturnType<typeof radio>;
276
- type RadioReturnType = ReturnType<typeof radio>;
277
-
278
- export { type RadioProps, type RadioReturnType, type RadioSlots, type RadioVariantProps, Radio as default };
@@ -1,2 +0,0 @@
1
-
2
- export { }
@@ -1,5 +0,0 @@
1
- export { default as Select, SelectOption, SelectProps } from './select.mjs';
2
- import 'tailwind-variants';
3
- import 'tailwind-variants/dist/config';
4
- import 'react';
5
- import '../../utils/types.mjs';
@@ -1,5 +0,0 @@
1
- export { default as Select, SelectOption, SelectProps } from './select.js';
2
- import 'tailwind-variants';
3
- import 'tailwind-variants/dist/config';
4
- import 'react';
5
- import '../../utils/types.js';
@@ -1,18 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ComponentProps } from 'react';
3
- import { SelectOption } from './select.mjs';
4
- import 'tailwind-variants';
5
- import 'tailwind-variants/dist/config';
6
- import '../../utils/types.mjs';
7
-
8
- interface OptionProps extends Omit<ComponentProps<"div">, "onClick"> {
9
- variant?: "solid" | "normal" | "line";
10
- color?: "primary" | "secondary";
11
- size?: "sm" | "md" | "lg";
12
- option: SelectOption;
13
- isSelected?: boolean;
14
- onClick: (option: SelectOption) => void;
15
- }
16
- declare const Option: (props: OptionProps) => react_jsx_runtime.JSX.Element;
17
-
18
- export { type OptionProps, Option as default };