@deepnoid/ui 0.0.84 → 0.0.86

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 (183) hide show
  1. package/dist/{chunk-NTTHTGDK.mjs → chunk-FNPWLOGV.mjs} +37 -39
  2. package/dist/chunk-FRIK4CS7.mjs +83 -0
  3. package/dist/{chunk-ILMIS63S.mjs → chunk-H7BLXC5M.mjs} +14 -14
  4. package/dist/{chunk-XTJL67KM.mjs → chunk-HH2LF2SU.mjs} +32 -46
  5. package/dist/{chunk-ADDUBJ4I.mjs → chunk-S4DTK5GI.mjs} +1 -1
  6. package/dist/chunk-ZOTHPHXA.mjs +41 -0
  7. package/dist/components/accordion/accordion.d.mts +154 -0
  8. package/dist/components/accordion/accordion.test.js +37 -39
  9. package/dist/components/accordion/accordion.test.mjs +1 -1
  10. package/dist/components/accordion/accordionItem.d.mts +282 -0
  11. package/dist/components/accordion/index.d.mts +6 -0
  12. package/dist/components/button/button-group.d.mts +14 -0
  13. package/dist/components/button/button-group.test.d.mts +2 -0
  14. package/dist/components/button/button-group.test.js +37 -39
  15. package/dist/components/button/button-group.test.mjs +2 -2
  16. package/dist/components/button/button.d.mts +18 -0
  17. package/dist/components/button/button.test.d.mts +2 -0
  18. package/dist/components/button/button.test.js +50 -52
  19. package/dist/components/button/button.test.mjs +2 -2
  20. package/dist/components/button/index.d.mts +3 -0
  21. package/dist/components/card/card.d.mts +124 -0
  22. package/dist/components/card/card.test.d.mts +2 -0
  23. package/dist/components/card/card.test.js +37 -39
  24. package/dist/components/card/card.test.mjs +1 -1
  25. package/dist/components/card/index.d.mts +5 -0
  26. package/dist/components/card/index.d.ts +5 -0
  27. package/dist/components/checkbox/checkbox.d.mts +349 -0
  28. package/dist/components/checkbox/checkbox.test.d.mts +2 -0
  29. package/dist/components/checkbox/checkbox.test.js +37 -39
  30. package/dist/components/checkbox/checkbox.test.mjs +2 -2
  31. package/dist/components/checkbox/index.d.mts +5 -0
  32. package/dist/components/checkbox/index.d.ts +5 -0
  33. package/dist/components/icon/Icon.d.mts +513 -0
  34. package/dist/components/icon/index.d.mts +4 -0
  35. package/dist/components/icon/index.d.ts +4 -0
  36. package/dist/components/icon/template.d.mts +134 -0
  37. package/dist/components/input/index.d.mts +5 -0
  38. package/dist/components/input/index.d.ts +5 -0
  39. package/dist/components/input/input.d.mts +437 -0
  40. package/dist/components/input/input.test.d.mts +2 -0
  41. package/dist/components/input/input.test.js +50 -52
  42. package/dist/components/input/input.test.mjs +2 -2
  43. package/dist/components/list/index.d.mts +6 -0
  44. package/dist/components/list/index.mjs +3 -3
  45. package/dist/components/{dropdown/dropdown.d.ts → list/list.d.mts} +9 -9
  46. package/dist/components/list/list.test.d.mts +2 -0
  47. package/dist/components/list/list.test.js +37 -39
  48. package/dist/components/list/list.test.mjs +1 -1
  49. package/dist/components/list/listItem.d.mts +183 -0
  50. package/dist/components/modal/index.d.mts +8 -0
  51. package/dist/components/modal/index.d.ts +8 -0
  52. package/dist/components/modal/modal.d.mts +214 -0
  53. package/dist/components/modal/modal.test.d.mts +2 -0
  54. package/dist/components/modal/modal.test.js +37 -39
  55. package/dist/components/modal/modal.test.mjs +1 -1
  56. package/dist/components/pagination/index.d.mts +4 -0
  57. package/dist/components/pagination/index.d.ts +4 -0
  58. package/dist/components/pagination/pagination.d.mts +186 -0
  59. package/dist/components/pagination/pagination.test.d.mts +2 -0
  60. package/dist/components/pagination/pagination.test.js +37 -39
  61. package/dist/components/pagination/pagination.test.mjs +1 -1
  62. package/dist/components/pagination/usePagination.d.mts +16 -0
  63. package/dist/components/progress/index.d.mts +5 -0
  64. package/dist/components/progress/index.d.ts +5 -0
  65. package/dist/components/progress/progress.d.mts +281 -0
  66. package/dist/components/progress/progress.test.d.mts +2 -0
  67. package/dist/components/progress/progress.test.d.ts +2 -0
  68. package/dist/components/progress/progress.test.js +37 -39
  69. package/dist/components/progress/progress.test.mjs +1 -1
  70. package/dist/components/radio/index.d.mts +5 -0
  71. package/dist/components/radio/index.d.ts +5 -0
  72. package/dist/components/radio/radio.d.mts +278 -0
  73. package/dist/components/radio/radio.test.d.mts +2 -0
  74. package/dist/components/radio/radio.test.js +37 -39
  75. package/dist/components/radio/radio.test.mjs +1 -1
  76. package/dist/components/select/index.d.mts +5 -0
  77. package/dist/components/select/index.d.ts +5 -0
  78. package/dist/components/select/index.mjs +2 -2
  79. package/dist/components/select/option.d.mts +18 -0
  80. package/dist/components/select/select.d.mts +449 -0
  81. package/dist/components/select/select.mjs +2 -2
  82. package/dist/components/select/select.test.d.mts +2 -0
  83. package/dist/components/select/select.test.js +37 -39
  84. package/dist/components/select/select.test.mjs +4 -4
  85. package/dist/components/select/useSelect.d.mts +32 -0
  86. package/dist/components/slider/index.d.mts +5 -0
  87. package/dist/components/slider/index.d.ts +5 -0
  88. package/dist/components/slider/slider.d.mts +333 -0
  89. package/dist/components/slider/slider.test.d.mts +2 -0
  90. package/dist/components/slider/slider.test.d.ts +2 -0
  91. package/dist/components/slider/slider.test.js +37 -39
  92. package/dist/components/slider/slider.test.mjs +1 -1
  93. package/dist/components/switch/index.d.mts +5 -0
  94. package/dist/components/switch/index.d.ts +5 -0
  95. package/dist/components/switch/switch.d.mts +304 -0
  96. package/dist/components/switch/switch.test.d.mts +2 -0
  97. package/dist/components/switch/switch.test.d.ts +2 -0
  98. package/dist/components/switch/switch.test.js +37 -39
  99. package/dist/components/switch/switch.test.mjs +1 -1
  100. package/dist/components/table/index.d.mts +5 -0
  101. package/dist/components/table/index.d.ts +5 -0
  102. package/dist/components/table/index.mjs +2 -2
  103. package/dist/components/table/table-body.d.mts +26 -0
  104. package/dist/components/table/table-head.d.mts +21 -0
  105. package/dist/components/table/table.d.mts +583 -0
  106. package/dist/components/table/table.mjs +2 -2
  107. package/dist/components/table/table.test.d.mts +2 -0
  108. package/dist/components/table/table.test.d.ts +2 -0
  109. package/dist/components/table/table.test.js +37 -39
  110. package/dist/components/table/table.test.mjs +3 -3
  111. package/dist/components/tabs/index.d.mts +5 -0
  112. package/dist/components/tabs/index.d.ts +5 -0
  113. package/dist/components/tabs/tabs.d.mts +241 -0
  114. package/dist/components/tabs/tabs.test.d.mts +2 -0
  115. package/dist/components/tabs/tabs.test.d.ts +2 -0
  116. package/dist/components/tabs/tabs.test.js +37 -39
  117. package/dist/components/tabs/tabs.test.mjs +2 -2
  118. package/dist/components/textarea/index.d.mts +2 -0
  119. package/dist/components/textarea/index.d.ts +2 -0
  120. package/dist/components/textarea/textarea.d.mts +17 -0
  121. package/dist/components/textarea/textarea.test.d.mts +2 -0
  122. package/dist/components/textarea/textarea.test.d.ts +2 -0
  123. package/dist/components/textarea/textarea.test.js +50 -52
  124. package/dist/components/textarea/textarea.test.mjs +2 -2
  125. package/dist/components/toast/index.d.mts +9 -0
  126. package/dist/components/toast/index.d.ts +9 -0
  127. package/dist/components/toast/index.js +147 -127
  128. package/dist/components/toast/index.mjs +10 -5
  129. package/dist/components/toast/toast-utils.d.mts +9 -0
  130. package/dist/components/toast/toast-utils.d.ts +9 -0
  131. package/dist/components/toast/toast-utils.js +25 -45
  132. package/dist/components/toast/toast-utils.mjs +1 -1
  133. package/dist/components/toast/toast.d.mts +207 -0
  134. package/dist/components/toast/toast.d.ts +13 -10
  135. package/dist/components/toast/toast.js +32 -125
  136. package/dist/components/toast/toast.mjs +1 -3
  137. package/dist/components/toast/toast.test.d.mts +2 -0
  138. package/dist/components/toast/toast.test.d.ts +2 -0
  139. package/dist/components/toast/toast.test.js +73 -168
  140. package/dist/components/toast/toast.test.mjs +4 -6
  141. package/dist/components/toast/use-toast.d.mts +31 -0
  142. package/dist/components/toast/use-toast.d.ts +31 -0
  143. package/dist/components/toast/use-toast.js +3826 -0
  144. package/dist/components/toast/use-toast.mjs +17 -0
  145. package/dist/components/tooltip/index.d.mts +6 -0
  146. package/dist/components/tooltip/index.d.ts +6 -0
  147. package/dist/components/tooltip/tooltip-utils.d.mts +2 -0
  148. package/dist/components/tooltip/tooltip-utils.d.ts +2 -0
  149. package/dist/components/tooltip/tooltip.d.mts +143 -0
  150. package/dist/components/tooltip/tooltip.test.d.mts +2 -0
  151. package/dist/components/tooltip/tooltip.test.d.ts +2 -0
  152. package/dist/components/tooltip/tooltip.test.js +37 -39
  153. package/dist/components/tooltip/tooltip.test.mjs +1 -1
  154. package/dist/components/tooltip/useTooltip.d.mts +2 -0
  155. package/dist/components/tooltip/useTooltip.d.ts +2 -0
  156. package/dist/index.d.mts +33 -0
  157. package/dist/index.d.ts +2 -2
  158. package/dist/index.js +249 -180
  159. package/dist/index.mjs +136 -36
  160. package/dist/tooltip-utils-DCKA5gnI.d.mts +30 -0
  161. package/dist/tooltip-utils-DCKA5gnI.d.ts +30 -0
  162. package/dist/utils/clsx.d.mts +3 -0
  163. package/dist/utils/props.d.mts +3 -0
  164. package/dist/utils/tailwind-variants.d.mts +26 -0
  165. package/dist/utils/types.d.mts +10 -0
  166. package/package.json +2 -2
  167. package/dist/chunk-5T5F5WVS.mjs +0 -32
  168. package/dist/chunk-LXPWTJ3F.mjs +0 -58
  169. package/dist/chunk-SDNTEP5C.mjs +0 -61
  170. package/dist/chunk-W7ABNK3K.mjs +0 -1
  171. package/dist/components/dropdown/dropdown.js +0 -122
  172. package/dist/components/dropdown/dropdown.mjs +0 -10
  173. package/dist/components/dropdown/dropdown.test.js +0 -12997
  174. package/dist/components/dropdown/dropdown.test.mjs +0 -25
  175. package/dist/components/dropdown/index.js +0 -128
  176. package/dist/components/dropdown/index.mjs +0 -11
  177. package/dist/components/toast/useToast.d.ts +0 -0
  178. package/dist/components/toast/useToast.js +0 -110
  179. package/dist/components/toast/useToast.mjs +0 -9
  180. package/dist/{chunk-RDEWIZV3.mjs → chunk-LUWGOKLG.mjs} +0 -0
  181. package/dist/{chunk-RTH3FPAS.mjs → chunk-PSXPOYLX.mjs} +3 -3
  182. package/dist/{chunk-463XE4SI.mjs → chunk-RVGOARET.mjs} +3 -3
  183. /package/dist/components/{dropdown/dropdown.test.d.ts → accordion/accordion.test.d.mts} +0 -0
@@ -0,0 +1,437 @@
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 react__default, { ComponentProps, ReactElement } from 'react';
5
+ import { SlotsToClasses } from '../../utils/types.mjs';
6
+
7
+ interface Props extends Omit<ComponentProps<"input">, "size"> {
8
+ label?: string;
9
+ errorMessage?: string;
10
+ startContent?: ReactElement<{
11
+ className?: string;
12
+ size?: "sm" | "md" | "lg";
13
+ }> | string;
14
+ endContent?: ReactElement<{
15
+ className?: string;
16
+ size?: "sm" | "md" | "lg";
17
+ }> | string;
18
+ classNames?: SlotsToClasses<InputSlots>;
19
+ }
20
+ type InputProps = Props & InputVariantProps;
21
+ declare const Input: react__default.ForwardRefExoticComponent<Omit<InputProps, "ref"> & react__default.RefAttributes<HTMLInputElement>>;
22
+
23
+ declare const inputStyle: tailwind_variants.TVReturnType<{
24
+ variant: {
25
+ solid: {
26
+ inputWrapper: string[];
27
+ };
28
+ normal: {
29
+ inputWrapper: string[];
30
+ };
31
+ line: {
32
+ inputWrapper: string[];
33
+ };
34
+ };
35
+ color: {
36
+ primary: {
37
+ inputWrapper: string[];
38
+ content: string[];
39
+ };
40
+ secondary: {
41
+ inputWrapper: string[];
42
+ content: string[];
43
+ };
44
+ };
45
+ size: {
46
+ sm: {
47
+ base: string[];
48
+ innerWrapper: string[];
49
+ inputWrapper: string[];
50
+ errorMessage: string[];
51
+ };
52
+ md: {
53
+ base: string[];
54
+ innerWrapper: string[];
55
+ inputWrapper: string[];
56
+ errorMessage: string[];
57
+ };
58
+ lg: {
59
+ base: string[];
60
+ innerWrapper: string[];
61
+ inputWrapper: string[];
62
+ errorMessage: string[];
63
+ };
64
+ };
65
+ radius: {
66
+ default: string;
67
+ none: {
68
+ inputWrapper: string[];
69
+ };
70
+ full: {
71
+ inputWrapper: string[];
72
+ };
73
+ };
74
+ fullWidth: {
75
+ true: {
76
+ base: string[];
77
+ innerWrapper: string[];
78
+ inputWrapper: string[];
79
+ };
80
+ };
81
+ isDisabled: {
82
+ true: {
83
+ label: string[];
84
+ inputWrapper: string[];
85
+ input: string[];
86
+ content: string[];
87
+ };
88
+ };
89
+ isRequired: {
90
+ true: {
91
+ label: string[];
92
+ };
93
+ };
94
+ }, {
95
+ base: string[];
96
+ label: string[];
97
+ innerWrapper: string[];
98
+ inputWrapper: string[];
99
+ input: string[];
100
+ content: string[];
101
+ errorMessage: string[];
102
+ }, undefined, {
103
+ responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
104
+ size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
105
+ color?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
106
+ variant?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
107
+ radius?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
108
+ fullWidth?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
109
+ isDisabled?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
110
+ isRequired?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
111
+ } | undefined;
112
+ } & tailwind_variants_dist_config.TWMConfig & {
113
+ twMergeConfig: {
114
+ classGroups: {
115
+ fontSize: {
116
+ text: string[];
117
+ }[];
118
+ borderRadius: {
119
+ rounded: string[];
120
+ }[];
121
+ boxShadow: {
122
+ shadow: string[];
123
+ }[];
124
+ padding: {
125
+ p: string[];
126
+ }[];
127
+ gap: {
128
+ gap: string[];
129
+ }[];
130
+ };
131
+ };
132
+ }, {
133
+ variant: {
134
+ solid: {
135
+ inputWrapper: string[];
136
+ };
137
+ normal: {
138
+ inputWrapper: string[];
139
+ };
140
+ line: {
141
+ inputWrapper: string[];
142
+ };
143
+ };
144
+ color: {
145
+ primary: {
146
+ inputWrapper: string[];
147
+ content: string[];
148
+ };
149
+ secondary: {
150
+ inputWrapper: string[];
151
+ content: string[];
152
+ };
153
+ };
154
+ size: {
155
+ sm: {
156
+ base: string[];
157
+ innerWrapper: string[];
158
+ inputWrapper: string[];
159
+ errorMessage: string[];
160
+ };
161
+ md: {
162
+ base: string[];
163
+ innerWrapper: string[];
164
+ inputWrapper: string[];
165
+ errorMessage: string[];
166
+ };
167
+ lg: {
168
+ base: string[];
169
+ innerWrapper: string[];
170
+ inputWrapper: string[];
171
+ errorMessage: string[];
172
+ };
173
+ };
174
+ radius: {
175
+ default: string;
176
+ none: {
177
+ inputWrapper: string[];
178
+ };
179
+ full: {
180
+ inputWrapper: string[];
181
+ };
182
+ };
183
+ fullWidth: {
184
+ true: {
185
+ base: string[];
186
+ innerWrapper: string[];
187
+ inputWrapper: string[];
188
+ };
189
+ };
190
+ isDisabled: {
191
+ true: {
192
+ label: string[];
193
+ inputWrapper: string[];
194
+ input: string[];
195
+ content: string[];
196
+ };
197
+ };
198
+ isRequired: {
199
+ true: {
200
+ label: string[];
201
+ };
202
+ };
203
+ }, {
204
+ base: string[];
205
+ label: string[];
206
+ innerWrapper: string[];
207
+ inputWrapper: string[];
208
+ input: string[];
209
+ content: string[];
210
+ errorMessage: string[];
211
+ }, tailwind_variants.TVReturnType<{
212
+ variant: {
213
+ solid: {
214
+ inputWrapper: string[];
215
+ };
216
+ normal: {
217
+ inputWrapper: string[];
218
+ };
219
+ line: {
220
+ inputWrapper: string[];
221
+ };
222
+ };
223
+ color: {
224
+ primary: {
225
+ inputWrapper: string[];
226
+ content: string[];
227
+ };
228
+ secondary: {
229
+ inputWrapper: string[];
230
+ content: string[];
231
+ };
232
+ };
233
+ size: {
234
+ sm: {
235
+ base: string[];
236
+ innerWrapper: string[];
237
+ inputWrapper: string[];
238
+ errorMessage: string[];
239
+ };
240
+ md: {
241
+ base: string[];
242
+ innerWrapper: string[];
243
+ inputWrapper: string[];
244
+ errorMessage: string[];
245
+ };
246
+ lg: {
247
+ base: string[];
248
+ innerWrapper: string[];
249
+ inputWrapper: string[];
250
+ errorMessage: string[];
251
+ };
252
+ };
253
+ radius: {
254
+ default: string;
255
+ none: {
256
+ inputWrapper: string[];
257
+ };
258
+ full: {
259
+ inputWrapper: string[];
260
+ };
261
+ };
262
+ fullWidth: {
263
+ true: {
264
+ base: string[];
265
+ innerWrapper: string[];
266
+ inputWrapper: string[];
267
+ };
268
+ };
269
+ isDisabled: {
270
+ true: {
271
+ label: string[];
272
+ inputWrapper: string[];
273
+ input: string[];
274
+ content: string[];
275
+ };
276
+ };
277
+ isRequired: {
278
+ true: {
279
+ label: string[];
280
+ };
281
+ };
282
+ }, {
283
+ base: string[];
284
+ label: string[];
285
+ innerWrapper: string[];
286
+ inputWrapper: string[];
287
+ input: string[];
288
+ content: string[];
289
+ errorMessage: string[];
290
+ }, undefined, tailwind_variants_dist_config.TVConfig<{
291
+ variant: {
292
+ solid: {
293
+ inputWrapper: string[];
294
+ };
295
+ normal: {
296
+ inputWrapper: string[];
297
+ };
298
+ line: {
299
+ inputWrapper: string[];
300
+ };
301
+ };
302
+ color: {
303
+ primary: {
304
+ inputWrapper: string[];
305
+ content: string[];
306
+ };
307
+ secondary: {
308
+ inputWrapper: string[];
309
+ content: string[];
310
+ };
311
+ };
312
+ size: {
313
+ sm: {
314
+ base: string[];
315
+ innerWrapper: string[];
316
+ inputWrapper: string[];
317
+ errorMessage: string[];
318
+ };
319
+ md: {
320
+ base: string[];
321
+ innerWrapper: string[];
322
+ inputWrapper: string[];
323
+ errorMessage: string[];
324
+ };
325
+ lg: {
326
+ base: string[];
327
+ innerWrapper: string[];
328
+ inputWrapper: string[];
329
+ errorMessage: string[];
330
+ };
331
+ };
332
+ radius: {
333
+ default: string;
334
+ none: {
335
+ inputWrapper: string[];
336
+ };
337
+ full: {
338
+ inputWrapper: string[];
339
+ };
340
+ };
341
+ fullWidth: {
342
+ true: {
343
+ base: string[];
344
+ innerWrapper: string[];
345
+ inputWrapper: string[];
346
+ };
347
+ };
348
+ isDisabled: {
349
+ true: {
350
+ label: string[];
351
+ inputWrapper: string[];
352
+ input: string[];
353
+ content: string[];
354
+ };
355
+ };
356
+ isRequired: {
357
+ true: {
358
+ label: string[];
359
+ };
360
+ };
361
+ }, {
362
+ variant: {
363
+ solid: {
364
+ inputWrapper: string[];
365
+ };
366
+ normal: {
367
+ inputWrapper: string[];
368
+ };
369
+ line: {
370
+ inputWrapper: string[];
371
+ };
372
+ };
373
+ color: {
374
+ primary: {
375
+ inputWrapper: string[];
376
+ content: string[];
377
+ };
378
+ secondary: {
379
+ inputWrapper: string[];
380
+ content: string[];
381
+ };
382
+ };
383
+ size: {
384
+ sm: {
385
+ base: string[];
386
+ innerWrapper: string[];
387
+ inputWrapper: string[];
388
+ errorMessage: string[];
389
+ };
390
+ md: {
391
+ base: string[];
392
+ innerWrapper: string[];
393
+ inputWrapper: string[];
394
+ errorMessage: string[];
395
+ };
396
+ lg: {
397
+ base: string[];
398
+ innerWrapper: string[];
399
+ inputWrapper: string[];
400
+ errorMessage: string[];
401
+ };
402
+ };
403
+ radius: {
404
+ default: string;
405
+ none: {
406
+ inputWrapper: string[];
407
+ };
408
+ full: {
409
+ inputWrapper: string[];
410
+ };
411
+ };
412
+ fullWidth: {
413
+ true: {
414
+ base: string[];
415
+ innerWrapper: string[];
416
+ inputWrapper: string[];
417
+ };
418
+ };
419
+ isDisabled: {
420
+ true: {
421
+ label: string[];
422
+ inputWrapper: string[];
423
+ input: string[];
424
+ content: string[];
425
+ };
426
+ };
427
+ isRequired: {
428
+ true: {
429
+ label: string[];
430
+ };
431
+ };
432
+ }>, unknown, unknown, undefined>>;
433
+ type InputVariantProps = VariantProps<typeof inputStyle>;
434
+ type InputSlots = keyof ReturnType<typeof inputStyle>;
435
+ type InputReturnType = ReturnType<typeof inputStyle>;
436
+
437
+ export { type InputProps, type InputReturnType, type InputSlots, type InputVariantProps, type Props, Input as default, inputStyle };
@@ -0,0 +1,2 @@
1
+
2
+ export { }