@nuxt/ui 3.0.0-alpha.0 → 3.0.0-alpha.1

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 (170) hide show
  1. package/README.md +1 -1
  2. package/cli/node_modules/.ignored/citty/LICENSE +36 -0
  3. package/cli/node_modules/.ignored/citty/README.md +134 -0
  4. package/cli/node_modules/.ignored/citty/dist/index.cjs +475 -0
  5. package/cli/node_modules/.ignored/citty/dist/index.d.cts +80 -0
  6. package/cli/node_modules/.ignored/citty/dist/index.d.mts +80 -0
  7. package/cli/node_modules/.ignored/citty/dist/index.d.ts +80 -0
  8. package/cli/node_modules/.ignored/citty/dist/index.mjs +463 -0
  9. package/cli/node_modules/.ignored/citty/package.json +49 -0
  10. package/cli/node_modules/.ignored/consola/LICENSE +47 -0
  11. package/cli/node_modules/.ignored/consola/README.md +318 -0
  12. package/cli/node_modules/.ignored/consola/core.d.ts +1 -0
  13. package/cli/node_modules/.ignored/consola/dist/basic.cjs +32 -0
  14. package/cli/node_modules/.ignored/consola/dist/basic.d.ts +9 -0
  15. package/cli/node_modules/.ignored/consola/dist/basic.mjs +24 -0
  16. package/cli/node_modules/.ignored/consola/dist/browser.cjs +80 -0
  17. package/cli/node_modules/.ignored/consola/dist/browser.d.ts +7 -0
  18. package/cli/node_modules/.ignored/consola/dist/browser.mjs +72 -0
  19. package/cli/node_modules/.ignored/consola/dist/chunks/prompt.cjs +436 -0
  20. package/cli/node_modules/.ignored/consola/dist/chunks/prompt.mjs +429 -0
  21. package/cli/node_modules/.ignored/consola/dist/core.cjs +415 -0
  22. package/cli/node_modules/.ignored/consola/dist/core.d.ts +124 -0
  23. package/cli/node_modules/.ignored/consola/dist/core.mjs +410 -0
  24. package/cli/node_modules/.ignored/consola/dist/index.cjs +21 -0
  25. package/cli/node_modules/.ignored/consola/dist/index.d.ts +9 -0
  26. package/cli/node_modules/.ignored/consola/dist/index.mjs +8 -0
  27. package/cli/node_modules/.ignored/consola/dist/shared/consola.06ad8a64.mjs +62 -0
  28. package/cli/node_modules/.ignored/consola/dist/shared/consola.36c0034f.mjs +636 -0
  29. package/cli/node_modules/.ignored/consola/dist/shared/consola.4bbae468.cjs +645 -0
  30. package/cli/node_modules/.ignored/consola/dist/shared/consola.deac7d5a.cjs +65 -0
  31. package/cli/node_modules/.ignored/consola/dist/utils.cjs +308 -0
  32. package/cli/node_modules/.ignored/consola/dist/utils.d.ts +169 -0
  33. package/cli/node_modules/.ignored/consola/dist/utils.mjs +284 -0
  34. package/cli/node_modules/.ignored/consola/lib/index.cjs +9 -0
  35. package/cli/node_modules/.ignored/consola/package.json +101 -0
  36. package/cli/node_modules/.ignored/consola/utils.d.ts +1 -0
  37. package/cli/node_modules/.ignored/pathe/LICENSE +44 -0
  38. package/cli/node_modules/.ignored/pathe/README.md +69 -0
  39. package/cli/node_modules/.ignored/pathe/dist/index.cjs +23 -0
  40. package/cli/node_modules/.ignored/pathe/dist/index.d.cts +36 -0
  41. package/cli/node_modules/.ignored/pathe/dist/index.d.mts +36 -0
  42. package/cli/node_modules/.ignored/pathe/dist/index.d.ts +36 -0
  43. package/cli/node_modules/.ignored/pathe/dist/index.mjs +1 -0
  44. package/cli/node_modules/.ignored/pathe/dist/shared/pathe.1f0a373c.cjs +238 -0
  45. package/cli/node_modules/.ignored/pathe/dist/shared/pathe.ff20891b.mjs +221 -0
  46. package/cli/node_modules/.ignored/pathe/dist/utils.cjs +58 -0
  47. package/cli/node_modules/.ignored/pathe/dist/utils.d.cts +5 -0
  48. package/cli/node_modules/.ignored/pathe/dist/utils.d.mts +5 -0
  49. package/cli/node_modules/.ignored/pathe/dist/utils.d.ts +5 -0
  50. package/cli/node_modules/.ignored/pathe/dist/utils.mjs +54 -0
  51. package/cli/node_modules/.ignored/pathe/package.json +48 -0
  52. package/cli/node_modules/.ignored/pathe/utils.d.ts +1 -0
  53. package/cli/node_modules/.ignored/scule/LICENSE +21 -0
  54. package/cli/node_modules/.ignored/scule/README.md +149 -0
  55. package/cli/node_modules/.ignored/scule/dist/index.cjs +92 -0
  56. package/cli/node_modules/.ignored/scule/dist/index.d.cts +57 -0
  57. package/cli/node_modules/.ignored/scule/dist/index.d.mts +57 -0
  58. package/cli/node_modules/.ignored/scule/dist/index.d.ts +57 -0
  59. package/cli/node_modules/.ignored/scule/dist/index.mjs +80 -0
  60. package/cli/node_modules/.ignored/scule/package.json +43 -0
  61. package/cli/node_modules/.package-lock.json +33 -0
  62. package/dist/module.json +3 -3
  63. package/dist/module.mjs +7 -55
  64. package/dist/runtime/components/Accordion.vue +49 -6
  65. package/dist/runtime/components/Alert.vue +58 -6
  66. package/dist/runtime/components/App.vue +12 -2
  67. package/dist/runtime/components/Avatar.vue +27 -6
  68. package/dist/runtime/components/AvatarGroup.vue +30 -6
  69. package/dist/runtime/components/Badge.vue +28 -6
  70. package/dist/runtime/components/Breadcrumb.vue +44 -6
  71. package/dist/runtime/components/Button.vue +33 -6
  72. package/dist/runtime/components/ButtonGroup.vue +30 -6
  73. package/dist/runtime/components/Card.vue +25 -6
  74. package/dist/runtime/components/Checkbox.vue +45 -6
  75. package/dist/runtime/components/Chip.vue +39 -6
  76. package/dist/runtime/components/Collapsible.vue +27 -6
  77. package/dist/runtime/components/CommandPalette.vue +99 -6
  78. package/dist/runtime/components/Container.vue +22 -6
  79. package/dist/runtime/components/ContextMenu.vue +58 -6
  80. package/dist/runtime/components/ContextMenuContent.vue +18 -4
  81. package/dist/runtime/components/Drawer.vue +48 -6
  82. package/dist/runtime/components/DropdownMenu.vue +66 -6
  83. package/dist/runtime/components/DropdownMenuContent.vue +22 -4
  84. package/dist/runtime/components/Form.vue +34 -13
  85. package/dist/runtime/components/FormField.vue +41 -16
  86. package/dist/runtime/components/Icon.vue +12 -2
  87. package/dist/runtime/components/Input.vue +46 -6
  88. package/dist/runtime/components/InputMenu.vue +113 -6
  89. package/dist/runtime/components/Kbd.vue +28 -6
  90. package/dist/runtime/components/Link.vue +81 -17
  91. package/dist/runtime/components/LinkBase.vue +12 -2
  92. package/dist/runtime/components/Modal.vue +69 -6
  93. package/dist/runtime/components/NavigationMenu.vue +76 -6
  94. package/dist/runtime/components/Pagination.vue +99 -6
  95. package/dist/runtime/components/Popover.vue +42 -6
  96. package/dist/runtime/components/Progress.vue +44 -6
  97. package/dist/runtime/components/RadioGroup.vue +55 -7
  98. package/dist/runtime/components/Select.vue +88 -6
  99. package/dist/runtime/components/SelectMenu.vue +104 -6
  100. package/dist/runtime/components/Separator.vue +41 -6
  101. package/dist/runtime/components/Skeleton.vue +18 -6
  102. package/dist/runtime/components/Slideover.vue +67 -6
  103. package/dist/runtime/components/Slider.vue +36 -6
  104. package/dist/runtime/components/Switch.vue +50 -6
  105. package/dist/runtime/components/Tabs.vue +59 -6
  106. package/dist/runtime/components/Textarea.vue +46 -6
  107. package/dist/runtime/components/Toast.vue +55 -6
  108. package/dist/runtime/components/Toaster.vue +27 -6
  109. package/dist/runtime/components/Tooltip.vue +42 -6
  110. package/dist/runtime/composables/useAvatarGroup.d.ts +2 -2
  111. package/dist/runtime/composables/useButtonGroup.d.ts +3 -3
  112. package/dist/runtime/composables/useFormField.d.ts +6 -3
  113. package/dist/runtime/composables/useFormField.js +11 -7
  114. package/dist/runtime/composables/useModal.d.ts +1 -1
  115. package/dist/runtime/composables/useSlideover.d.ts +1 -1
  116. package/dist/runtime/composables/useToast.d.ts +1 -1
  117. package/dist/runtime/index.css +1 -0
  118. package/dist/runtime/plugins/colors.d.ts +2 -0
  119. package/dist/runtime/plugins/modal.d.ts +2 -0
  120. package/dist/runtime/plugins/slideover.d.ts +2 -0
  121. package/dist/runtime/types/form.d.ts +1 -2
  122. package/dist/runtime/utils/link.d.ts +23 -55
  123. package/package.json +13 -14
  124. package/dist/runtime/assets/css/animations.css +0 -1
  125. package/dist/runtime/components/Accordion.vue.d.ts +0 -492
  126. package/dist/runtime/components/Alert.vue.d.ts +0 -548
  127. package/dist/runtime/components/App.vue.d.ts +0 -25
  128. package/dist/runtime/components/Avatar.vue.d.ts +0 -384
  129. package/dist/runtime/components/AvatarGroup.vue.d.ts +0 -381
  130. package/dist/runtime/components/Badge.vue.d.ts +0 -422
  131. package/dist/runtime/components/Breadcrumb.vue.d.ts +0 -307
  132. package/dist/runtime/components/Button.vue.d.ts +0 -949
  133. package/dist/runtime/components/ButtonGroup.vue.d.ts +0 -182
  134. package/dist/runtime/components/Card.vue.d.ts +0 -191
  135. package/dist/runtime/components/Checkbox.vue.d.ts +0 -819
  136. package/dist/runtime/components/Chip.vue.d.ts +0 -590
  137. package/dist/runtime/components/Collapsible.vue.d.ts +0 -159
  138. package/dist/runtime/components/CommandPalette.vue.d.ts +0 -684
  139. package/dist/runtime/components/Container.vue.d.ts +0 -27
  140. package/dist/runtime/components/ContextMenu.vue.d.ts +0 -796
  141. package/dist/runtime/components/ContextMenuContent.vue.d.ts +0 -0
  142. package/dist/runtime/components/Drawer.vue.d.ts +0 -343
  143. package/dist/runtime/components/DropdownMenu.vue.d.ts +0 -815
  144. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +0 -0
  145. package/dist/runtime/components/Form.vue.d.ts +0 -39
  146. package/dist/runtime/components/FormField.vue.d.ts +0 -356
  147. package/dist/runtime/components/Icon.vue.d.ts +0 -17
  148. package/dist/runtime/components/Input.vue.d.ts +0 -1137
  149. package/dist/runtime/components/InputMenu.vue.d.ts +0 -2121
  150. package/dist/runtime/components/Kbd.vue.d.ts +0 -169
  151. package/dist/runtime/components/Link.vue.d.ts +0 -76
  152. package/dist/runtime/components/LinkBase.vue.d.ts +0 -49
  153. package/dist/runtime/components/Modal.vue.d.ts +0 -319
  154. package/dist/runtime/components/NavigationMenu.vue.d.ts +0 -1789
  155. package/dist/runtime/components/Pagination.vue.d.ts +0 -295
  156. package/dist/runtime/components/Popover.vue.d.ts +0 -197
  157. package/dist/runtime/components/Progress.vue.d.ts +0 -1781
  158. package/dist/runtime/components/RadioGroup.vue.d.ts +0 -1715
  159. package/dist/runtime/components/Select.vue.d.ts +0 -1569
  160. package/dist/runtime/components/SelectMenu.vue.d.ts +0 -1661
  161. package/dist/runtime/components/Separator.vue.d.ts +0 -0
  162. package/dist/runtime/components/Skeleton.vue.d.ts +0 -26
  163. package/dist/runtime/components/Slideover.vue.d.ts +0 -375
  164. package/dist/runtime/components/Slider.vue.d.ts +0 -0
  165. package/dist/runtime/components/Switch.vue.d.ts +0 -1676
  166. package/dist/runtime/components/Tabs.vue.d.ts +0 -934
  167. package/dist/runtime/components/Textarea.vue.d.ts +0 -1133
  168. package/dist/runtime/components/Toast.vue.d.ts +0 -0
  169. package/dist/runtime/components/Toaster.vue.d.ts +0 -362
  170. package/dist/runtime/components/Tooltip.vue.d.ts +0 -248
@@ -1,1133 +0,0 @@
1
- import { type VariantProps } from 'tailwind-variants';
2
- declare const textarea: import("tailwind-variants").TVReturnType<{
3
- buttonGroup: {
4
- horizontal: {
5
- root: string;
6
- base: string;
7
- };
8
- vertical: {
9
- root: string;
10
- base: string;
11
- };
12
- };
13
- size: {
14
- xs: {
15
- base: string;
16
- leading: "pl-2";
17
- trailing: "pr-2";
18
- leadingIcon: string;
19
- trailingIcon: string;
20
- };
21
- sm: {
22
- base: string;
23
- leading: "pl-2.5";
24
- trailing: "pr-2.5";
25
- leadingIcon: string;
26
- trailingIcon: string;
27
- };
28
- md: {
29
- base: string;
30
- leading: "pl-2.5";
31
- trailing: "pr-2.5";
32
- leadingIcon: string;
33
- trailingIcon: string;
34
- };
35
- lg: {
36
- base: string;
37
- leading: "pl-3";
38
- trailing: "pr-3";
39
- leadingIcon: string;
40
- trailingIcon: string;
41
- };
42
- xl: {
43
- base: string;
44
- leading: "pl-3";
45
- trailing: "pr-3";
46
- leadingIcon: string;
47
- trailingIcon: string;
48
- };
49
- };
50
- variant: {
51
- outline: string;
52
- soft: string;
53
- subtle: string;
54
- ghost: string;
55
- none: string;
56
- };
57
- color: {
58
- primary: string;
59
- error: string;
60
- red: string;
61
- orange: string;
62
- amber: string;
63
- yellow: string;
64
- lime: string;
65
- green: string;
66
- emerald: string;
67
- teal: string;
68
- cyan: string;
69
- sky: string;
70
- blue: string;
71
- indigo: string;
72
- violet: string;
73
- purple: string;
74
- fuchsia: string;
75
- pink: string;
76
- rose: string;
77
- gray: string;
78
- };
79
- leading: {
80
- true: string;
81
- };
82
- trailing: {
83
- true: string;
84
- };
85
- loading: {
86
- true: string;
87
- };
88
- highlight: {
89
- true: string;
90
- };
91
- type: {
92
- file: string;
93
- };
94
- }, {
95
- root: string;
96
- base: string[];
97
- leading: "absolute inset-y-0 start-0 flex items-center";
98
- leadingIcon: string;
99
- leadingAvatar: string;
100
- trailing: "absolute inset-y-0 end-0 flex items-center";
101
- trailingIcon: string;
102
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
103
- buttonGroup: {
104
- horizontal: {
105
- root: string;
106
- base: string;
107
- };
108
- vertical: {
109
- root: string;
110
- base: string;
111
- };
112
- };
113
- size: {
114
- xs: {
115
- base: string;
116
- leading: "pl-2";
117
- trailing: "pr-2";
118
- leadingIcon: string;
119
- trailingIcon: string;
120
- };
121
- sm: {
122
- base: string;
123
- leading: "pl-2.5";
124
- trailing: "pr-2.5";
125
- leadingIcon: string;
126
- trailingIcon: string;
127
- };
128
- md: {
129
- base: string;
130
- leading: "pl-2.5";
131
- trailing: "pr-2.5";
132
- leadingIcon: string;
133
- trailingIcon: string;
134
- };
135
- lg: {
136
- base: string;
137
- leading: "pl-3";
138
- trailing: "pr-3";
139
- leadingIcon: string;
140
- trailingIcon: string;
141
- };
142
- xl: {
143
- base: string;
144
- leading: "pl-3";
145
- trailing: "pr-3";
146
- leadingIcon: string;
147
- trailingIcon: string;
148
- };
149
- };
150
- variant: {
151
- outline: string;
152
- soft: string;
153
- subtle: string;
154
- ghost: string;
155
- none: string;
156
- };
157
- color: {
158
- primary: string;
159
- error: string;
160
- red: string;
161
- orange: string;
162
- amber: string;
163
- yellow: string;
164
- lime: string;
165
- green: string;
166
- emerald: string;
167
- teal: string;
168
- cyan: string;
169
- sky: string;
170
- blue: string;
171
- indigo: string;
172
- violet: string;
173
- purple: string;
174
- fuchsia: string;
175
- pink: string;
176
- rose: string;
177
- gray: string;
178
- };
179
- leading: {
180
- true: string;
181
- };
182
- trailing: {
183
- true: string;
184
- };
185
- loading: {
186
- true: string;
187
- };
188
- highlight: {
189
- true: string;
190
- };
191
- type: {
192
- file: string;
193
- };
194
- }, {
195
- buttonGroup: {
196
- horizontal: {
197
- root: string;
198
- base: string;
199
- };
200
- vertical: {
201
- root: string;
202
- base: string;
203
- };
204
- };
205
- size: {
206
- xs: {
207
- base: string;
208
- leading: "pl-2";
209
- trailing: "pr-2";
210
- leadingIcon: string;
211
- trailingIcon: string;
212
- };
213
- sm: {
214
- base: string;
215
- leading: "pl-2.5";
216
- trailing: "pr-2.5";
217
- leadingIcon: string;
218
- trailingIcon: string;
219
- };
220
- md: {
221
- base: string;
222
- leading: "pl-2.5";
223
- trailing: "pr-2.5";
224
- leadingIcon: string;
225
- trailingIcon: string;
226
- };
227
- lg: {
228
- base: string;
229
- leading: "pl-3";
230
- trailing: "pr-3";
231
- leadingIcon: string;
232
- trailingIcon: string;
233
- };
234
- xl: {
235
- base: string;
236
- leading: "pl-3";
237
- trailing: "pr-3";
238
- leadingIcon: string;
239
- trailingIcon: string;
240
- };
241
- };
242
- variant: {
243
- outline: string;
244
- soft: string;
245
- subtle: string;
246
- ghost: string;
247
- none: string;
248
- };
249
- color: {
250
- primary: string;
251
- error: string;
252
- red: string;
253
- orange: string;
254
- amber: string;
255
- yellow: string;
256
- lime: string;
257
- green: string;
258
- emerald: string;
259
- teal: string;
260
- cyan: string;
261
- sky: string;
262
- blue: string;
263
- indigo: string;
264
- violet: string;
265
- purple: string;
266
- fuchsia: string;
267
- pink: string;
268
- rose: string;
269
- gray: string;
270
- };
271
- leading: {
272
- true: string;
273
- };
274
- trailing: {
275
- true: string;
276
- };
277
- loading: {
278
- true: string;
279
- };
280
- highlight: {
281
- true: string;
282
- };
283
- type: {
284
- file: string;
285
- };
286
- }>, {
287
- buttonGroup: {
288
- horizontal: {
289
- root: string;
290
- base: string;
291
- };
292
- vertical: {
293
- root: string;
294
- base: string;
295
- };
296
- };
297
- size: {
298
- xs: {
299
- base: string;
300
- leading: "pl-2";
301
- trailing: "pr-2";
302
- leadingIcon: string;
303
- trailingIcon: string;
304
- };
305
- sm: {
306
- base: string;
307
- leading: "pl-2.5";
308
- trailing: "pr-2.5";
309
- leadingIcon: string;
310
- trailingIcon: string;
311
- };
312
- md: {
313
- base: string;
314
- leading: "pl-2.5";
315
- trailing: "pr-2.5";
316
- leadingIcon: string;
317
- trailingIcon: string;
318
- };
319
- lg: {
320
- base: string;
321
- leading: "pl-3";
322
- trailing: "pr-3";
323
- leadingIcon: string;
324
- trailingIcon: string;
325
- };
326
- xl: {
327
- base: string;
328
- leading: "pl-3";
329
- trailing: "pr-3";
330
- leadingIcon: string;
331
- trailingIcon: string;
332
- };
333
- };
334
- variant: {
335
- outline: string;
336
- soft: string;
337
- subtle: string;
338
- ghost: string;
339
- none: string;
340
- };
341
- color: {
342
- primary: string;
343
- error: string;
344
- red: string;
345
- orange: string;
346
- amber: string;
347
- yellow: string;
348
- lime: string;
349
- green: string;
350
- emerald: string;
351
- teal: string;
352
- cyan: string;
353
- sky: string;
354
- blue: string;
355
- indigo: string;
356
- violet: string;
357
- purple: string;
358
- fuchsia: string;
359
- pink: string;
360
- rose: string;
361
- gray: string;
362
- };
363
- leading: {
364
- true: string;
365
- };
366
- trailing: {
367
- true: string;
368
- };
369
- loading: {
370
- true: string;
371
- };
372
- highlight: {
373
- true: string;
374
- };
375
- type: {
376
- file: string;
377
- };
378
- }, {
379
- root: string;
380
- base: string[];
381
- leading: "absolute inset-y-0 start-0 flex items-center";
382
- leadingIcon: string;
383
- leadingAvatar: string;
384
- trailing: "absolute inset-y-0 end-0 flex items-center";
385
- trailingIcon: string;
386
- }, import("tailwind-variants").TVReturnType<{
387
- buttonGroup: {
388
- horizontal: {
389
- root: string;
390
- base: string;
391
- };
392
- vertical: {
393
- root: string;
394
- base: string;
395
- };
396
- };
397
- size: {
398
- xs: {
399
- base: string;
400
- leading: "pl-2";
401
- trailing: "pr-2";
402
- leadingIcon: string;
403
- trailingIcon: string;
404
- };
405
- sm: {
406
- base: string;
407
- leading: "pl-2.5";
408
- trailing: "pr-2.5";
409
- leadingIcon: string;
410
- trailingIcon: string;
411
- };
412
- md: {
413
- base: string;
414
- leading: "pl-2.5";
415
- trailing: "pr-2.5";
416
- leadingIcon: string;
417
- trailingIcon: string;
418
- };
419
- lg: {
420
- base: string;
421
- leading: "pl-3";
422
- trailing: "pr-3";
423
- leadingIcon: string;
424
- trailingIcon: string;
425
- };
426
- xl: {
427
- base: string;
428
- leading: "pl-3";
429
- trailing: "pr-3";
430
- leadingIcon: string;
431
- trailingIcon: string;
432
- };
433
- };
434
- variant: {
435
- outline: string;
436
- soft: string;
437
- subtle: string;
438
- ghost: string;
439
- none: string;
440
- };
441
- color: {
442
- primary: string;
443
- error: string;
444
- red: string;
445
- orange: string;
446
- amber: string;
447
- yellow: string;
448
- lime: string;
449
- green: string;
450
- emerald: string;
451
- teal: string;
452
- cyan: string;
453
- sky: string;
454
- blue: string;
455
- indigo: string;
456
- violet: string;
457
- purple: string;
458
- fuchsia: string;
459
- pink: string;
460
- rose: string;
461
- gray: string;
462
- };
463
- leading: {
464
- true: string;
465
- };
466
- trailing: {
467
- true: string;
468
- };
469
- loading: {
470
- true: string;
471
- };
472
- highlight: {
473
- true: string;
474
- };
475
- type: {
476
- file: string;
477
- };
478
- }, {
479
- root: string;
480
- base: string[];
481
- leading: "absolute inset-y-0 start-0 flex items-center";
482
- leadingIcon: string;
483
- leadingAvatar: string;
484
- trailing: "absolute inset-y-0 end-0 flex items-center";
485
- trailingIcon: string;
486
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
487
- buttonGroup: {
488
- horizontal: {
489
- root: string;
490
- base: string;
491
- };
492
- vertical: {
493
- root: string;
494
- base: string;
495
- };
496
- };
497
- size: {
498
- xs: {
499
- base: string;
500
- leading: "pl-2";
501
- trailing: "pr-2";
502
- leadingIcon: string;
503
- trailingIcon: string;
504
- };
505
- sm: {
506
- base: string;
507
- leading: "pl-2.5";
508
- trailing: "pr-2.5";
509
- leadingIcon: string;
510
- trailingIcon: string;
511
- };
512
- md: {
513
- base: string;
514
- leading: "pl-2.5";
515
- trailing: "pr-2.5";
516
- leadingIcon: string;
517
- trailingIcon: string;
518
- };
519
- lg: {
520
- base: string;
521
- leading: "pl-3";
522
- trailing: "pr-3";
523
- leadingIcon: string;
524
- trailingIcon: string;
525
- };
526
- xl: {
527
- base: string;
528
- leading: "pl-3";
529
- trailing: "pr-3";
530
- leadingIcon: string;
531
- trailingIcon: string;
532
- };
533
- };
534
- variant: {
535
- outline: string;
536
- soft: string;
537
- subtle: string;
538
- ghost: string;
539
- none: string;
540
- };
541
- color: {
542
- primary: string;
543
- error: string;
544
- red: string;
545
- orange: string;
546
- amber: string;
547
- yellow: string;
548
- lime: string;
549
- green: string;
550
- emerald: string;
551
- teal: string;
552
- cyan: string;
553
- sky: string;
554
- blue: string;
555
- indigo: string;
556
- violet: string;
557
- purple: string;
558
- fuchsia: string;
559
- pink: string;
560
- rose: string;
561
- gray: string;
562
- };
563
- leading: {
564
- true: string;
565
- };
566
- trailing: {
567
- true: string;
568
- };
569
- loading: {
570
- true: string;
571
- };
572
- highlight: {
573
- true: string;
574
- };
575
- type: {
576
- file: string;
577
- };
578
- }, {
579
- buttonGroup: {
580
- horizontal: {
581
- root: string;
582
- base: string;
583
- };
584
- vertical: {
585
- root: string;
586
- base: string;
587
- };
588
- };
589
- size: {
590
- xs: {
591
- base: string;
592
- leading: "pl-2";
593
- trailing: "pr-2";
594
- leadingIcon: string;
595
- trailingIcon: string;
596
- };
597
- sm: {
598
- base: string;
599
- leading: "pl-2.5";
600
- trailing: "pr-2.5";
601
- leadingIcon: string;
602
- trailingIcon: string;
603
- };
604
- md: {
605
- base: string;
606
- leading: "pl-2.5";
607
- trailing: "pr-2.5";
608
- leadingIcon: string;
609
- trailingIcon: string;
610
- };
611
- lg: {
612
- base: string;
613
- leading: "pl-3";
614
- trailing: "pr-3";
615
- leadingIcon: string;
616
- trailingIcon: string;
617
- };
618
- xl: {
619
- base: string;
620
- leading: "pl-3";
621
- trailing: "pr-3";
622
- leadingIcon: string;
623
- trailingIcon: string;
624
- };
625
- };
626
- variant: {
627
- outline: string;
628
- soft: string;
629
- subtle: string;
630
- ghost: string;
631
- none: string;
632
- };
633
- color: {
634
- primary: string;
635
- error: string;
636
- red: string;
637
- orange: string;
638
- amber: string;
639
- yellow: string;
640
- lime: string;
641
- green: string;
642
- emerald: string;
643
- teal: string;
644
- cyan: string;
645
- sky: string;
646
- blue: string;
647
- indigo: string;
648
- violet: string;
649
- purple: string;
650
- fuchsia: string;
651
- pink: string;
652
- rose: string;
653
- gray: string;
654
- };
655
- leading: {
656
- true: string;
657
- };
658
- trailing: {
659
- true: string;
660
- };
661
- loading: {
662
- true: string;
663
- };
664
- highlight: {
665
- true: string;
666
- };
667
- type: {
668
- file: string;
669
- };
670
- }>, {
671
- buttonGroup: {
672
- horizontal: {
673
- root: string;
674
- base: string;
675
- };
676
- vertical: {
677
- root: string;
678
- base: string;
679
- };
680
- };
681
- size: {
682
- xs: {
683
- base: string;
684
- leading: "pl-2";
685
- trailing: "pr-2";
686
- leadingIcon: string;
687
- trailingIcon: string;
688
- };
689
- sm: {
690
- base: string;
691
- leading: "pl-2.5";
692
- trailing: "pr-2.5";
693
- leadingIcon: string;
694
- trailingIcon: string;
695
- };
696
- md: {
697
- base: string;
698
- leading: "pl-2.5";
699
- trailing: "pr-2.5";
700
- leadingIcon: string;
701
- trailingIcon: string;
702
- };
703
- lg: {
704
- base: string;
705
- leading: "pl-3";
706
- trailing: "pr-3";
707
- leadingIcon: string;
708
- trailingIcon: string;
709
- };
710
- xl: {
711
- base: string;
712
- leading: "pl-3";
713
- trailing: "pr-3";
714
- leadingIcon: string;
715
- trailingIcon: string;
716
- };
717
- };
718
- variant: {
719
- outline: string;
720
- soft: string;
721
- subtle: string;
722
- ghost: string;
723
- none: string;
724
- };
725
- color: {
726
- primary: string;
727
- error: string;
728
- red: string;
729
- orange: string;
730
- amber: string;
731
- yellow: string;
732
- lime: string;
733
- green: string;
734
- emerald: string;
735
- teal: string;
736
- cyan: string;
737
- sky: string;
738
- blue: string;
739
- indigo: string;
740
- violet: string;
741
- purple: string;
742
- fuchsia: string;
743
- pink: string;
744
- rose: string;
745
- gray: string;
746
- };
747
- leading: {
748
- true: string;
749
- };
750
- trailing: {
751
- true: string;
752
- };
753
- loading: {
754
- true: string;
755
- };
756
- highlight: {
757
- true: string;
758
- };
759
- type: {
760
- file: string;
761
- };
762
- }, {
763
- root: string;
764
- base: string[];
765
- leading: "absolute inset-y-0 start-0 flex items-center";
766
- leadingIcon: string;
767
- leadingAvatar: string;
768
- trailing: "absolute inset-y-0 end-0 flex items-center";
769
- trailingIcon: string;
770
- }, import("tailwind-variants").TVReturnType<{
771
- buttonGroup: {
772
- horizontal: {
773
- root: string;
774
- base: string;
775
- };
776
- vertical: {
777
- root: string;
778
- base: string;
779
- };
780
- };
781
- size: {
782
- xs: {
783
- base: string;
784
- leading: "pl-2";
785
- trailing: "pr-2";
786
- leadingIcon: string;
787
- trailingIcon: string;
788
- };
789
- sm: {
790
- base: string;
791
- leading: "pl-2.5";
792
- trailing: "pr-2.5";
793
- leadingIcon: string;
794
- trailingIcon: string;
795
- };
796
- md: {
797
- base: string;
798
- leading: "pl-2.5";
799
- trailing: "pr-2.5";
800
- leadingIcon: string;
801
- trailingIcon: string;
802
- };
803
- lg: {
804
- base: string;
805
- leading: "pl-3";
806
- trailing: "pr-3";
807
- leadingIcon: string;
808
- trailingIcon: string;
809
- };
810
- xl: {
811
- base: string;
812
- leading: "pl-3";
813
- trailing: "pr-3";
814
- leadingIcon: string;
815
- trailingIcon: string;
816
- };
817
- };
818
- variant: {
819
- outline: string;
820
- soft: string;
821
- subtle: string;
822
- ghost: string;
823
- none: string;
824
- };
825
- color: {
826
- primary: string;
827
- error: string;
828
- red: string;
829
- orange: string;
830
- amber: string;
831
- yellow: string;
832
- lime: string;
833
- green: string;
834
- emerald: string;
835
- teal: string;
836
- cyan: string;
837
- sky: string;
838
- blue: string;
839
- indigo: string;
840
- violet: string;
841
- purple: string;
842
- fuchsia: string;
843
- pink: string;
844
- rose: string;
845
- gray: string;
846
- };
847
- leading: {
848
- true: string;
849
- };
850
- trailing: {
851
- true: string;
852
- };
853
- loading: {
854
- true: string;
855
- };
856
- highlight: {
857
- true: string;
858
- };
859
- type: {
860
- file: string;
861
- };
862
- }, {
863
- root: string;
864
- base: string[];
865
- leading: "absolute inset-y-0 start-0 flex items-center";
866
- leadingIcon: string;
867
- leadingAvatar: string;
868
- trailing: "absolute inset-y-0 end-0 flex items-center";
869
- trailingIcon: string;
870
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
871
- buttonGroup: {
872
- horizontal: {
873
- root: string;
874
- base: string;
875
- };
876
- vertical: {
877
- root: string;
878
- base: string;
879
- };
880
- };
881
- size: {
882
- xs: {
883
- base: string;
884
- leading: "pl-2";
885
- trailing: "pr-2";
886
- leadingIcon: string;
887
- trailingIcon: string;
888
- };
889
- sm: {
890
- base: string;
891
- leading: "pl-2.5";
892
- trailing: "pr-2.5";
893
- leadingIcon: string;
894
- trailingIcon: string;
895
- };
896
- md: {
897
- base: string;
898
- leading: "pl-2.5";
899
- trailing: "pr-2.5";
900
- leadingIcon: string;
901
- trailingIcon: string;
902
- };
903
- lg: {
904
- base: string;
905
- leading: "pl-3";
906
- trailing: "pr-3";
907
- leadingIcon: string;
908
- trailingIcon: string;
909
- };
910
- xl: {
911
- base: string;
912
- leading: "pl-3";
913
- trailing: "pr-3";
914
- leadingIcon: string;
915
- trailingIcon: string;
916
- };
917
- };
918
- variant: {
919
- outline: string;
920
- soft: string;
921
- subtle: string;
922
- ghost: string;
923
- none: string;
924
- };
925
- color: {
926
- primary: string;
927
- error: string;
928
- red: string;
929
- orange: string;
930
- amber: string;
931
- yellow: string;
932
- lime: string;
933
- green: string;
934
- emerald: string;
935
- teal: string;
936
- cyan: string;
937
- sky: string;
938
- blue: string;
939
- indigo: string;
940
- violet: string;
941
- purple: string;
942
- fuchsia: string;
943
- pink: string;
944
- rose: string;
945
- gray: string;
946
- };
947
- leading: {
948
- true: string;
949
- };
950
- trailing: {
951
- true: string;
952
- };
953
- loading: {
954
- true: string;
955
- };
956
- highlight: {
957
- true: string;
958
- };
959
- type: {
960
- file: string;
961
- };
962
- }, {
963
- buttonGroup: {
964
- horizontal: {
965
- root: string;
966
- base: string;
967
- };
968
- vertical: {
969
- root: string;
970
- base: string;
971
- };
972
- };
973
- size: {
974
- xs: {
975
- base: string;
976
- leading: "pl-2";
977
- trailing: "pr-2";
978
- leadingIcon: string;
979
- trailingIcon: string;
980
- };
981
- sm: {
982
- base: string;
983
- leading: "pl-2.5";
984
- trailing: "pr-2.5";
985
- leadingIcon: string;
986
- trailingIcon: string;
987
- };
988
- md: {
989
- base: string;
990
- leading: "pl-2.5";
991
- trailing: "pr-2.5";
992
- leadingIcon: string;
993
- trailingIcon: string;
994
- };
995
- lg: {
996
- base: string;
997
- leading: "pl-3";
998
- trailing: "pr-3";
999
- leadingIcon: string;
1000
- trailingIcon: string;
1001
- };
1002
- xl: {
1003
- base: string;
1004
- leading: "pl-3";
1005
- trailing: "pr-3";
1006
- leadingIcon: string;
1007
- trailingIcon: string;
1008
- };
1009
- };
1010
- variant: {
1011
- outline: string;
1012
- soft: string;
1013
- subtle: string;
1014
- ghost: string;
1015
- none: string;
1016
- };
1017
- color: {
1018
- primary: string;
1019
- error: string;
1020
- red: string;
1021
- orange: string;
1022
- amber: string;
1023
- yellow: string;
1024
- lime: string;
1025
- green: string;
1026
- emerald: string;
1027
- teal: string;
1028
- cyan: string;
1029
- sky: string;
1030
- blue: string;
1031
- indigo: string;
1032
- violet: string;
1033
- purple: string;
1034
- fuchsia: string;
1035
- pink: string;
1036
- rose: string;
1037
- gray: string;
1038
- };
1039
- leading: {
1040
- true: string;
1041
- };
1042
- trailing: {
1043
- true: string;
1044
- };
1045
- loading: {
1046
- true: string;
1047
- };
1048
- highlight: {
1049
- true: string;
1050
- };
1051
- type: {
1052
- file: string;
1053
- };
1054
- }>, unknown, unknown, undefined>>>;
1055
- type TextareaVariants = VariantProps<typeof textarea>;
1056
- export interface TextareaProps {
1057
- id?: string;
1058
- name?: string;
1059
- /** The placeholder text when the textarea is empty. */
1060
- placeholder?: string;
1061
- color?: TextareaVariants['color'];
1062
- variant?: TextareaVariants['variant'];
1063
- size?: TextareaVariants['size'];
1064
- required?: boolean;
1065
- autofocus?: boolean;
1066
- autofocusDelay?: number;
1067
- disabled?: boolean;
1068
- class?: any;
1069
- rows?: number;
1070
- maxrows?: number;
1071
- autoresize?: boolean;
1072
- /** Highlight the ring color like a focus state. */
1073
- highlight?: boolean;
1074
- ui?: Partial<typeof textarea.slots>;
1075
- }
1076
- export interface TextareaEmits {
1077
- (e: 'update:modelValue', payload: string | number): void;
1078
- (e: 'blur', event: FocusEvent): void;
1079
- (e: 'change', event: Event): void;
1080
- }
1081
- export interface TextareaSlots {
1082
- default(props?: {}): any;
1083
- }
1084
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
1085
- modelValue?: string | number;
1086
- } & TextareaProps>, {
1087
- rows: number;
1088
- maxrows: number;
1089
- autofocusDelay: number;
1090
- }>>, {
1091
- textareaRef: import("vue").Ref<HTMLTextAreaElement | null, HTMLTextAreaElement | null>;
1092
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1093
- "update:modelValue": (payload: string | number) => void;
1094
- blur: (event: FocusEvent) => void;
1095
- change: (event: Event) => void;
1096
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
1097
- modelValue?: string | number;
1098
- } & TextareaProps>, {
1099
- rows: number;
1100
- maxrows: number;
1101
- autofocusDelay: number;
1102
- }>>> & Readonly<{
1103
- onBlur?: ((event: FocusEvent) => any) | undefined;
1104
- onChange?: ((event: Event) => any) | undefined;
1105
- "onUpdate:modelValue"?: ((payload: string | number) => any) | undefined;
1106
- }>, {
1107
- autofocusDelay: number;
1108
- rows: number;
1109
- maxrows: number;
1110
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<TextareaSlots> & TextareaSlots>;
1111
- export default _default;
1112
- type __VLS_WithDefaults<P, D> = {
1113
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
1114
- default: D[K];
1115
- }> : P[K];
1116
- };
1117
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
1118
- type __VLS_TypePropsToOption<T> = {
1119
- [K in keyof T]-?: {} extends Pick<T, K> ? {
1120
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
1121
- } : {
1122
- type: import('vue').PropType<T[K]>;
1123
- required: true;
1124
- };
1125
- };
1126
- type __VLS_WithTemplateSlots<T, S> = T & {
1127
- new (): {
1128
- $slots: S;
1129
- };
1130
- };
1131
- type __VLS_PrettifyLocal<T> = {
1132
- [K in keyof T]: T[K];
1133
- } & {};