@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,934 +0,0 @@
1
- import { type VariantProps } from 'tailwind-variants';
2
- import type { TabsRootProps, TabsRootEmits, TabsContentProps, TabsTriggerProps } from 'radix-vue';
3
- import type { AvatarProps } from '../types.js';
4
- import type { DynamicSlots, PartialString } from '../types/utils.js';
5
- declare const tabs: import("tailwind-variants").TVReturnType<{
6
- color: {
7
- primary: string;
8
- error: string;
9
- red: string;
10
- orange: string;
11
- amber: string;
12
- yellow: string;
13
- lime: string;
14
- green: string;
15
- emerald: string;
16
- teal: string;
17
- cyan: string;
18
- sky: string;
19
- blue: string;
20
- indigo: string;
21
- violet: string;
22
- purple: string;
23
- fuchsia: string;
24
- pink: string;
25
- rose: string;
26
- gray: string;
27
- };
28
- variant: {
29
- pill: {
30
- list: string;
31
- trigger: string;
32
- indicator: string;
33
- };
34
- link: {
35
- list: string;
36
- indicator: string;
37
- };
38
- };
39
- orientation: {
40
- horizontal: {
41
- root: string;
42
- list: string;
43
- indicator: string;
44
- trigger: string;
45
- };
46
- vertical: {
47
- list: string;
48
- indicator: string;
49
- };
50
- };
51
- size: {
52
- xs: {
53
- trigger: string;
54
- leadingIcon: string;
55
- leadingAvatarSize: string;
56
- };
57
- sm: {
58
- trigger: string;
59
- leadingIcon: string;
60
- leadingAvatarSize: string;
61
- };
62
- md: {
63
- trigger: string;
64
- leadingIcon: string;
65
- leadingAvatarSize: string;
66
- };
67
- lg: {
68
- trigger: string;
69
- leadingIcon: string;
70
- leadingAvatarSize: string;
71
- };
72
- xl: {
73
- trigger: string;
74
- leadingIcon: string;
75
- leadingAvatarSize: string;
76
- };
77
- };
78
- }, {
79
- root: string;
80
- list: string;
81
- indicator: string;
82
- trigger: string[];
83
- content: string;
84
- leadingIcon: string;
85
- leadingAvatar: string;
86
- leadingAvatarSize: string;
87
- label: string;
88
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
89
- color: {
90
- primary: string;
91
- error: string;
92
- red: string;
93
- orange: string;
94
- amber: string;
95
- yellow: string;
96
- lime: string;
97
- green: string;
98
- emerald: string;
99
- teal: string;
100
- cyan: string;
101
- sky: string;
102
- blue: string;
103
- indigo: string;
104
- violet: string;
105
- purple: string;
106
- fuchsia: string;
107
- pink: string;
108
- rose: string;
109
- gray: string;
110
- };
111
- variant: {
112
- pill: {
113
- list: string;
114
- trigger: string;
115
- indicator: string;
116
- };
117
- link: {
118
- list: string;
119
- indicator: string;
120
- };
121
- };
122
- orientation: {
123
- horizontal: {
124
- root: string;
125
- list: string;
126
- indicator: string;
127
- trigger: string;
128
- };
129
- vertical: {
130
- list: string;
131
- indicator: string;
132
- };
133
- };
134
- size: {
135
- xs: {
136
- trigger: string;
137
- leadingIcon: string;
138
- leadingAvatarSize: string;
139
- };
140
- sm: {
141
- trigger: string;
142
- leadingIcon: string;
143
- leadingAvatarSize: string;
144
- };
145
- md: {
146
- trigger: string;
147
- leadingIcon: string;
148
- leadingAvatarSize: string;
149
- };
150
- lg: {
151
- trigger: string;
152
- leadingIcon: string;
153
- leadingAvatarSize: string;
154
- };
155
- xl: {
156
- trigger: string;
157
- leadingIcon: string;
158
- leadingAvatarSize: string;
159
- };
160
- };
161
- }, {
162
- color: {
163
- primary: string;
164
- error: string;
165
- red: string;
166
- orange: string;
167
- amber: string;
168
- yellow: string;
169
- lime: string;
170
- green: string;
171
- emerald: string;
172
- teal: string;
173
- cyan: string;
174
- sky: string;
175
- blue: string;
176
- indigo: string;
177
- violet: string;
178
- purple: string;
179
- fuchsia: string;
180
- pink: string;
181
- rose: string;
182
- gray: string;
183
- };
184
- variant: {
185
- pill: {
186
- list: string;
187
- trigger: string;
188
- indicator: string;
189
- };
190
- link: {
191
- list: string;
192
- indicator: string;
193
- };
194
- };
195
- orientation: {
196
- horizontal: {
197
- root: string;
198
- list: string;
199
- indicator: string;
200
- trigger: string;
201
- };
202
- vertical: {
203
- list: string;
204
- indicator: string;
205
- };
206
- };
207
- size: {
208
- xs: {
209
- trigger: string;
210
- leadingIcon: string;
211
- leadingAvatarSize: string;
212
- };
213
- sm: {
214
- trigger: string;
215
- leadingIcon: string;
216
- leadingAvatarSize: string;
217
- };
218
- md: {
219
- trigger: string;
220
- leadingIcon: string;
221
- leadingAvatarSize: string;
222
- };
223
- lg: {
224
- trigger: string;
225
- leadingIcon: string;
226
- leadingAvatarSize: string;
227
- };
228
- xl: {
229
- trigger: string;
230
- leadingIcon: string;
231
- leadingAvatarSize: string;
232
- };
233
- };
234
- }>, {
235
- color: {
236
- primary: string;
237
- error: string;
238
- red: string;
239
- orange: string;
240
- amber: string;
241
- yellow: string;
242
- lime: string;
243
- green: string;
244
- emerald: string;
245
- teal: string;
246
- cyan: string;
247
- sky: string;
248
- blue: string;
249
- indigo: string;
250
- violet: string;
251
- purple: string;
252
- fuchsia: string;
253
- pink: string;
254
- rose: string;
255
- gray: string;
256
- };
257
- variant: {
258
- pill: {
259
- list: string;
260
- trigger: string;
261
- indicator: string;
262
- };
263
- link: {
264
- list: string;
265
- indicator: string;
266
- };
267
- };
268
- orientation: {
269
- horizontal: {
270
- root: string;
271
- list: string;
272
- indicator: string;
273
- trigger: string;
274
- };
275
- vertical: {
276
- list: string;
277
- indicator: string;
278
- };
279
- };
280
- size: {
281
- xs: {
282
- trigger: string;
283
- leadingIcon: string;
284
- leadingAvatarSize: string;
285
- };
286
- sm: {
287
- trigger: string;
288
- leadingIcon: string;
289
- leadingAvatarSize: string;
290
- };
291
- md: {
292
- trigger: string;
293
- leadingIcon: string;
294
- leadingAvatarSize: string;
295
- };
296
- lg: {
297
- trigger: string;
298
- leadingIcon: string;
299
- leadingAvatarSize: string;
300
- };
301
- xl: {
302
- trigger: string;
303
- leadingIcon: string;
304
- leadingAvatarSize: string;
305
- };
306
- };
307
- }, {
308
- root: string;
309
- list: string;
310
- indicator: string;
311
- trigger: string[];
312
- content: string;
313
- leadingIcon: string;
314
- leadingAvatar: string;
315
- leadingAvatarSize: string;
316
- label: string;
317
- }, import("tailwind-variants").TVReturnType<{
318
- color: {
319
- primary: string;
320
- error: string;
321
- red: string;
322
- orange: string;
323
- amber: string;
324
- yellow: string;
325
- lime: string;
326
- green: string;
327
- emerald: string;
328
- teal: string;
329
- cyan: string;
330
- sky: string;
331
- blue: string;
332
- indigo: string;
333
- violet: string;
334
- purple: string;
335
- fuchsia: string;
336
- pink: string;
337
- rose: string;
338
- gray: string;
339
- };
340
- variant: {
341
- pill: {
342
- list: string;
343
- trigger: string;
344
- indicator: string;
345
- };
346
- link: {
347
- list: string;
348
- indicator: string;
349
- };
350
- };
351
- orientation: {
352
- horizontal: {
353
- root: string;
354
- list: string;
355
- indicator: string;
356
- trigger: string;
357
- };
358
- vertical: {
359
- list: string;
360
- indicator: string;
361
- };
362
- };
363
- size: {
364
- xs: {
365
- trigger: string;
366
- leadingIcon: string;
367
- leadingAvatarSize: string;
368
- };
369
- sm: {
370
- trigger: string;
371
- leadingIcon: string;
372
- leadingAvatarSize: string;
373
- };
374
- md: {
375
- trigger: string;
376
- leadingIcon: string;
377
- leadingAvatarSize: string;
378
- };
379
- lg: {
380
- trigger: string;
381
- leadingIcon: string;
382
- leadingAvatarSize: string;
383
- };
384
- xl: {
385
- trigger: string;
386
- leadingIcon: string;
387
- leadingAvatarSize: string;
388
- };
389
- };
390
- }, {
391
- root: string;
392
- list: string;
393
- indicator: string;
394
- trigger: string[];
395
- content: string;
396
- leadingIcon: string;
397
- leadingAvatar: string;
398
- leadingAvatarSize: string;
399
- label: string;
400
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
401
- color: {
402
- primary: string;
403
- error: string;
404
- red: string;
405
- orange: string;
406
- amber: string;
407
- yellow: string;
408
- lime: string;
409
- green: string;
410
- emerald: string;
411
- teal: string;
412
- cyan: string;
413
- sky: string;
414
- blue: string;
415
- indigo: string;
416
- violet: string;
417
- purple: string;
418
- fuchsia: string;
419
- pink: string;
420
- rose: string;
421
- gray: string;
422
- };
423
- variant: {
424
- pill: {
425
- list: string;
426
- trigger: string;
427
- indicator: string;
428
- };
429
- link: {
430
- list: string;
431
- indicator: string;
432
- };
433
- };
434
- orientation: {
435
- horizontal: {
436
- root: string;
437
- list: string;
438
- indicator: string;
439
- trigger: string;
440
- };
441
- vertical: {
442
- list: string;
443
- indicator: string;
444
- };
445
- };
446
- size: {
447
- xs: {
448
- trigger: string;
449
- leadingIcon: string;
450
- leadingAvatarSize: string;
451
- };
452
- sm: {
453
- trigger: string;
454
- leadingIcon: string;
455
- leadingAvatarSize: string;
456
- };
457
- md: {
458
- trigger: string;
459
- leadingIcon: string;
460
- leadingAvatarSize: string;
461
- };
462
- lg: {
463
- trigger: string;
464
- leadingIcon: string;
465
- leadingAvatarSize: string;
466
- };
467
- xl: {
468
- trigger: string;
469
- leadingIcon: string;
470
- leadingAvatarSize: string;
471
- };
472
- };
473
- }, {
474
- color: {
475
- primary: string;
476
- error: string;
477
- red: string;
478
- orange: string;
479
- amber: string;
480
- yellow: string;
481
- lime: string;
482
- green: string;
483
- emerald: string;
484
- teal: string;
485
- cyan: string;
486
- sky: string;
487
- blue: string;
488
- indigo: string;
489
- violet: string;
490
- purple: string;
491
- fuchsia: string;
492
- pink: string;
493
- rose: string;
494
- gray: string;
495
- };
496
- variant: {
497
- pill: {
498
- list: string;
499
- trigger: string;
500
- indicator: string;
501
- };
502
- link: {
503
- list: string;
504
- indicator: string;
505
- };
506
- };
507
- orientation: {
508
- horizontal: {
509
- root: string;
510
- list: string;
511
- indicator: string;
512
- trigger: string;
513
- };
514
- vertical: {
515
- list: string;
516
- indicator: string;
517
- };
518
- };
519
- size: {
520
- xs: {
521
- trigger: string;
522
- leadingIcon: string;
523
- leadingAvatarSize: string;
524
- };
525
- sm: {
526
- trigger: string;
527
- leadingIcon: string;
528
- leadingAvatarSize: string;
529
- };
530
- md: {
531
- trigger: string;
532
- leadingIcon: string;
533
- leadingAvatarSize: string;
534
- };
535
- lg: {
536
- trigger: string;
537
- leadingIcon: string;
538
- leadingAvatarSize: string;
539
- };
540
- xl: {
541
- trigger: string;
542
- leadingIcon: string;
543
- leadingAvatarSize: string;
544
- };
545
- };
546
- }>, {
547
- color: {
548
- primary: string;
549
- error: string;
550
- red: string;
551
- orange: string;
552
- amber: string;
553
- yellow: string;
554
- lime: string;
555
- green: string;
556
- emerald: string;
557
- teal: string;
558
- cyan: string;
559
- sky: string;
560
- blue: string;
561
- indigo: string;
562
- violet: string;
563
- purple: string;
564
- fuchsia: string;
565
- pink: string;
566
- rose: string;
567
- gray: string;
568
- };
569
- variant: {
570
- pill: {
571
- list: string;
572
- trigger: string;
573
- indicator: string;
574
- };
575
- link: {
576
- list: string;
577
- indicator: string;
578
- };
579
- };
580
- orientation: {
581
- horizontal: {
582
- root: string;
583
- list: string;
584
- indicator: string;
585
- trigger: string;
586
- };
587
- vertical: {
588
- list: string;
589
- indicator: string;
590
- };
591
- };
592
- size: {
593
- xs: {
594
- trigger: string;
595
- leadingIcon: string;
596
- leadingAvatarSize: string;
597
- };
598
- sm: {
599
- trigger: string;
600
- leadingIcon: string;
601
- leadingAvatarSize: string;
602
- };
603
- md: {
604
- trigger: string;
605
- leadingIcon: string;
606
- leadingAvatarSize: string;
607
- };
608
- lg: {
609
- trigger: string;
610
- leadingIcon: string;
611
- leadingAvatarSize: string;
612
- };
613
- xl: {
614
- trigger: string;
615
- leadingIcon: string;
616
- leadingAvatarSize: string;
617
- };
618
- };
619
- }, {
620
- root: string;
621
- list: string;
622
- indicator: string;
623
- trigger: string[];
624
- content: string;
625
- leadingIcon: string;
626
- leadingAvatar: string;
627
- leadingAvatarSize: string;
628
- label: string;
629
- }, import("tailwind-variants").TVReturnType<{
630
- color: {
631
- primary: string;
632
- error: string;
633
- red: string;
634
- orange: string;
635
- amber: string;
636
- yellow: string;
637
- lime: string;
638
- green: string;
639
- emerald: string;
640
- teal: string;
641
- cyan: string;
642
- sky: string;
643
- blue: string;
644
- indigo: string;
645
- violet: string;
646
- purple: string;
647
- fuchsia: string;
648
- pink: string;
649
- rose: string;
650
- gray: string;
651
- };
652
- variant: {
653
- pill: {
654
- list: string;
655
- trigger: string;
656
- indicator: string;
657
- };
658
- link: {
659
- list: string;
660
- indicator: string;
661
- };
662
- };
663
- orientation: {
664
- horizontal: {
665
- root: string;
666
- list: string;
667
- indicator: string;
668
- trigger: string;
669
- };
670
- vertical: {
671
- list: string;
672
- indicator: string;
673
- };
674
- };
675
- size: {
676
- xs: {
677
- trigger: string;
678
- leadingIcon: string;
679
- leadingAvatarSize: string;
680
- };
681
- sm: {
682
- trigger: string;
683
- leadingIcon: string;
684
- leadingAvatarSize: string;
685
- };
686
- md: {
687
- trigger: string;
688
- leadingIcon: string;
689
- leadingAvatarSize: string;
690
- };
691
- lg: {
692
- trigger: string;
693
- leadingIcon: string;
694
- leadingAvatarSize: string;
695
- };
696
- xl: {
697
- trigger: string;
698
- leadingIcon: string;
699
- leadingAvatarSize: string;
700
- };
701
- };
702
- }, {
703
- root: string;
704
- list: string;
705
- indicator: string;
706
- trigger: string[];
707
- content: string;
708
- leadingIcon: string;
709
- leadingAvatar: string;
710
- leadingAvatarSize: string;
711
- label: string;
712
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
713
- color: {
714
- primary: string;
715
- error: string;
716
- red: string;
717
- orange: string;
718
- amber: string;
719
- yellow: string;
720
- lime: string;
721
- green: string;
722
- emerald: string;
723
- teal: string;
724
- cyan: string;
725
- sky: string;
726
- blue: string;
727
- indigo: string;
728
- violet: string;
729
- purple: string;
730
- fuchsia: string;
731
- pink: string;
732
- rose: string;
733
- gray: string;
734
- };
735
- variant: {
736
- pill: {
737
- list: string;
738
- trigger: string;
739
- indicator: string;
740
- };
741
- link: {
742
- list: string;
743
- indicator: string;
744
- };
745
- };
746
- orientation: {
747
- horizontal: {
748
- root: string;
749
- list: string;
750
- indicator: string;
751
- trigger: string;
752
- };
753
- vertical: {
754
- list: string;
755
- indicator: string;
756
- };
757
- };
758
- size: {
759
- xs: {
760
- trigger: string;
761
- leadingIcon: string;
762
- leadingAvatarSize: string;
763
- };
764
- sm: {
765
- trigger: string;
766
- leadingIcon: string;
767
- leadingAvatarSize: string;
768
- };
769
- md: {
770
- trigger: string;
771
- leadingIcon: string;
772
- leadingAvatarSize: string;
773
- };
774
- lg: {
775
- trigger: string;
776
- leadingIcon: string;
777
- leadingAvatarSize: string;
778
- };
779
- xl: {
780
- trigger: string;
781
- leadingIcon: string;
782
- leadingAvatarSize: string;
783
- };
784
- };
785
- }, {
786
- color: {
787
- primary: string;
788
- error: string;
789
- red: string;
790
- orange: string;
791
- amber: string;
792
- yellow: string;
793
- lime: string;
794
- green: string;
795
- emerald: string;
796
- teal: string;
797
- cyan: string;
798
- sky: string;
799
- blue: string;
800
- indigo: string;
801
- violet: string;
802
- purple: string;
803
- fuchsia: string;
804
- pink: string;
805
- rose: string;
806
- gray: string;
807
- };
808
- variant: {
809
- pill: {
810
- list: string;
811
- trigger: string;
812
- indicator: string;
813
- };
814
- link: {
815
- list: string;
816
- indicator: string;
817
- };
818
- };
819
- orientation: {
820
- horizontal: {
821
- root: string;
822
- list: string;
823
- indicator: string;
824
- trigger: string;
825
- };
826
- vertical: {
827
- list: string;
828
- indicator: string;
829
- };
830
- };
831
- size: {
832
- xs: {
833
- trigger: string;
834
- leadingIcon: string;
835
- leadingAvatarSize: string;
836
- };
837
- sm: {
838
- trigger: string;
839
- leadingIcon: string;
840
- leadingAvatarSize: string;
841
- };
842
- md: {
843
- trigger: string;
844
- leadingIcon: string;
845
- leadingAvatarSize: string;
846
- };
847
- lg: {
848
- trigger: string;
849
- leadingIcon: string;
850
- leadingAvatarSize: string;
851
- };
852
- xl: {
853
- trigger: string;
854
- leadingIcon: string;
855
- leadingAvatarSize: string;
856
- };
857
- };
858
- }>, unknown, unknown, undefined>>>;
859
- export interface TabsItem extends Pick<TabsTriggerProps, 'disabled'> {
860
- label?: string;
861
- icon?: string;
862
- avatar?: AvatarProps;
863
- slot?: string;
864
- content?: string;
865
- /** A unique value for the tab item. Defaults to the index. */
866
- value?: string | number;
867
- }
868
- type TabsVariants = VariantProps<typeof tabs>;
869
- export interface TabsProps<T> extends Pick<TabsRootProps<string | number>, 'defaultValue' | 'modelValue' | 'activationMode'> {
870
- /**
871
- * The element or component this component should render as.
872
- * @defaultValue 'div'
873
- */
874
- as?: any;
875
- items?: T[];
876
- color?: TabsVariants['color'];
877
- variant?: TabsVariants['variant'];
878
- size?: TabsVariants['size'];
879
- /**
880
- * The orientation of the tabs.
881
- * @defaultValue 'horizontal'
882
- */
883
- orientation?: TabsRootProps['orientation'];
884
- /**
885
- * The content of the tabs, can be disabled to prevent rendering the content.
886
- * @defaultValue true
887
- */
888
- content?: boolean | Omit<TabsContentProps, 'as' | 'asChild' | 'value'>;
889
- class?: any;
890
- ui?: PartialString<typeof tabs.slots>;
891
- }
892
- export interface TabsEmits extends TabsRootEmits<string | number> {
893
- }
894
- type SlotProps<T> = (props: {
895
- item: T;
896
- index: number;
897
- }) => any;
898
- export type TabsSlots<T extends {
899
- slot?: string;
900
- }> = {
901
- leading: SlotProps<T>;
902
- default: SlotProps<T>;
903
- trailing: SlotProps<T>;
904
- content: SlotProps<T>;
905
- } & DynamicSlots<T, SlotProps<T>>;
906
- declare const _default: <T extends TabsItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
907
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
908
- readonly "onUpdate:modelValue"?: ((payload: string | number) => any) | undefined;
909
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<{}> & Readonly<{
910
- "onUpdate:modelValue"?: ((payload: string | number) => any) | undefined;
911
- }>, never>, "onUpdate:modelValue"> & TabsProps<T>> & (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps);
912
- expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
913
- attrs: any;
914
- slots: Readonly<{
915
- leading: SlotProps<T>;
916
- default: SlotProps<T>;
917
- trailing: SlotProps<T>;
918
- content: SlotProps<T>;
919
- } & Record<string, SlotProps<T>> & (T["slot"] extends infer T_1 ? T_1 extends T["slot"] ? T_1 extends string ? Record<T_1, SlotProps<T>> : Record<string, never> : never : never)> & {
920
- leading: SlotProps<T>;
921
- default: SlotProps<T>;
922
- trailing: SlotProps<T>;
923
- content: SlotProps<T>;
924
- } & Record<string, SlotProps<T>> & (T["slot"] extends infer T_1 ? T_1 extends T["slot"] ? T_1 extends string ? Record<T_1, SlotProps<T>> : Record<string, never> : never : never);
925
- emit: (evt: "update:modelValue", payload: string | number) => void;
926
- }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
927
- [key: string]: any;
928
- }> & {
929
- __ctx?: Awaited<typeof __VLS_setup>;
930
- };
931
- export default _default;
932
- type __VLS_PrettifyLocal<T> = {
933
- [K in keyof T]: T[K];
934
- } & {};