@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,422 +0,0 @@
1
- import { type VariantProps } from 'tailwind-variants';
2
- declare const badge: import("tailwind-variants").TVReturnType<{
3
- color: {
4
- primary: string;
5
- error: string;
6
- red: string;
7
- orange: string;
8
- amber: string;
9
- yellow: string;
10
- lime: string;
11
- green: string;
12
- emerald: string;
13
- teal: string;
14
- cyan: string;
15
- sky: string;
16
- blue: string;
17
- indigo: string;
18
- violet: string;
19
- purple: string;
20
- fuchsia: string;
21
- pink: string;
22
- rose: string;
23
- gray: string;
24
- };
25
- variant: {
26
- solid: string;
27
- outline: string;
28
- soft: string;
29
- subtle: string;
30
- };
31
- size: {
32
- sm: string;
33
- md: string;
34
- lg: string;
35
- };
36
- }, undefined, string, import("tailwind-variants/dist/config.js").TVConfig<{
37
- color: {
38
- primary: string;
39
- error: string;
40
- red: string;
41
- orange: string;
42
- amber: string;
43
- yellow: string;
44
- lime: string;
45
- green: string;
46
- emerald: string;
47
- teal: string;
48
- cyan: string;
49
- sky: string;
50
- blue: string;
51
- indigo: string;
52
- violet: string;
53
- purple: string;
54
- fuchsia: string;
55
- pink: string;
56
- rose: string;
57
- gray: string;
58
- };
59
- variant: {
60
- solid: string;
61
- outline: string;
62
- soft: string;
63
- subtle: string;
64
- };
65
- size: {
66
- sm: string;
67
- md: string;
68
- lg: string;
69
- };
70
- }, {
71
- color: {
72
- primary: string;
73
- error: string;
74
- red: string;
75
- orange: string;
76
- amber: string;
77
- yellow: string;
78
- lime: string;
79
- green: string;
80
- emerald: string;
81
- teal: string;
82
- cyan: string;
83
- sky: string;
84
- blue: string;
85
- indigo: string;
86
- violet: string;
87
- purple: string;
88
- fuchsia: string;
89
- pink: string;
90
- rose: string;
91
- gray: string;
92
- };
93
- variant: {
94
- solid: string;
95
- outline: string;
96
- soft: string;
97
- subtle: string;
98
- };
99
- size: {
100
- sm: string;
101
- md: string;
102
- lg: string;
103
- };
104
- }>, {
105
- color: {
106
- primary: string;
107
- error: string;
108
- red: string;
109
- orange: string;
110
- amber: string;
111
- yellow: string;
112
- lime: string;
113
- green: string;
114
- emerald: string;
115
- teal: string;
116
- cyan: string;
117
- sky: string;
118
- blue: string;
119
- indigo: string;
120
- violet: string;
121
- purple: string;
122
- fuchsia: string;
123
- pink: string;
124
- rose: string;
125
- gray: string;
126
- };
127
- variant: {
128
- solid: string;
129
- outline: string;
130
- soft: string;
131
- subtle: string;
132
- };
133
- size: {
134
- sm: string;
135
- md: string;
136
- lg: string;
137
- };
138
- }, undefined, import("tailwind-variants").TVReturnType<{
139
- color: {
140
- primary: string;
141
- error: string;
142
- red: string;
143
- orange: string;
144
- amber: string;
145
- yellow: string;
146
- lime: string;
147
- green: string;
148
- emerald: string;
149
- teal: string;
150
- cyan: string;
151
- sky: string;
152
- blue: string;
153
- indigo: string;
154
- violet: string;
155
- purple: string;
156
- fuchsia: string;
157
- pink: string;
158
- rose: string;
159
- gray: string;
160
- };
161
- variant: {
162
- solid: string;
163
- outline: string;
164
- soft: string;
165
- subtle: string;
166
- };
167
- size: {
168
- sm: string;
169
- md: string;
170
- lg: string;
171
- };
172
- }, undefined, string, import("tailwind-variants/dist/config.js").TVConfig<{
173
- color: {
174
- primary: string;
175
- error: string;
176
- red: string;
177
- orange: string;
178
- amber: string;
179
- yellow: string;
180
- lime: string;
181
- green: string;
182
- emerald: string;
183
- teal: string;
184
- cyan: string;
185
- sky: string;
186
- blue: string;
187
- indigo: string;
188
- violet: string;
189
- purple: string;
190
- fuchsia: string;
191
- pink: string;
192
- rose: string;
193
- gray: string;
194
- };
195
- variant: {
196
- solid: string;
197
- outline: string;
198
- soft: string;
199
- subtle: string;
200
- };
201
- size: {
202
- sm: string;
203
- md: string;
204
- lg: string;
205
- };
206
- }, {
207
- color: {
208
- primary: string;
209
- error: string;
210
- red: string;
211
- orange: string;
212
- amber: string;
213
- yellow: string;
214
- lime: string;
215
- green: string;
216
- emerald: string;
217
- teal: string;
218
- cyan: string;
219
- sky: string;
220
- blue: string;
221
- indigo: string;
222
- violet: string;
223
- purple: string;
224
- fuchsia: string;
225
- pink: string;
226
- rose: string;
227
- gray: string;
228
- };
229
- variant: {
230
- solid: string;
231
- outline: string;
232
- soft: string;
233
- subtle: string;
234
- };
235
- size: {
236
- sm: string;
237
- md: string;
238
- lg: string;
239
- };
240
- }>, {
241
- color: {
242
- primary: string;
243
- error: string;
244
- red: string;
245
- orange: string;
246
- amber: string;
247
- yellow: string;
248
- lime: string;
249
- green: string;
250
- emerald: string;
251
- teal: string;
252
- cyan: string;
253
- sky: string;
254
- blue: string;
255
- indigo: string;
256
- violet: string;
257
- purple: string;
258
- fuchsia: string;
259
- pink: string;
260
- rose: string;
261
- gray: string;
262
- };
263
- variant: {
264
- solid: string;
265
- outline: string;
266
- soft: string;
267
- subtle: string;
268
- };
269
- size: {
270
- sm: string;
271
- md: string;
272
- lg: string;
273
- };
274
- }, undefined, import("tailwind-variants").TVReturnType<{
275
- color: {
276
- primary: string;
277
- error: string;
278
- red: string;
279
- orange: string;
280
- amber: string;
281
- yellow: string;
282
- lime: string;
283
- green: string;
284
- emerald: string;
285
- teal: string;
286
- cyan: string;
287
- sky: string;
288
- blue: string;
289
- indigo: string;
290
- violet: string;
291
- purple: string;
292
- fuchsia: string;
293
- pink: string;
294
- rose: string;
295
- gray: string;
296
- };
297
- variant: {
298
- solid: string;
299
- outline: string;
300
- soft: string;
301
- subtle: string;
302
- };
303
- size: {
304
- sm: string;
305
- md: string;
306
- lg: string;
307
- };
308
- }, undefined, string, import("tailwind-variants/dist/config.js").TVConfig<{
309
- color: {
310
- primary: string;
311
- error: string;
312
- red: string;
313
- orange: string;
314
- amber: string;
315
- yellow: string;
316
- lime: string;
317
- green: string;
318
- emerald: string;
319
- teal: string;
320
- cyan: string;
321
- sky: string;
322
- blue: string;
323
- indigo: string;
324
- violet: string;
325
- purple: string;
326
- fuchsia: string;
327
- pink: string;
328
- rose: string;
329
- gray: string;
330
- };
331
- variant: {
332
- solid: string;
333
- outline: string;
334
- soft: string;
335
- subtle: string;
336
- };
337
- size: {
338
- sm: string;
339
- md: string;
340
- lg: string;
341
- };
342
- }, {
343
- color: {
344
- primary: string;
345
- error: string;
346
- red: string;
347
- orange: string;
348
- amber: string;
349
- yellow: string;
350
- lime: string;
351
- green: string;
352
- emerald: string;
353
- teal: string;
354
- cyan: string;
355
- sky: string;
356
- blue: string;
357
- indigo: string;
358
- violet: string;
359
- purple: string;
360
- fuchsia: string;
361
- pink: string;
362
- rose: string;
363
- gray: string;
364
- };
365
- variant: {
366
- solid: string;
367
- outline: string;
368
- soft: string;
369
- subtle: string;
370
- };
371
- size: {
372
- sm: string;
373
- md: string;
374
- lg: string;
375
- };
376
- }>, unknown, unknown, undefined>>>;
377
- type BadgeVariants = VariantProps<typeof badge>;
378
- export interface BadgeProps {
379
- /**
380
- * The element or component this component should render as.
381
- * @defaultValue 'span'
382
- */
383
- as?: any;
384
- label?: string | number;
385
- color?: BadgeVariants['color'];
386
- variant?: BadgeVariants['variant'];
387
- size?: BadgeVariants['size'];
388
- class?: any;
389
- }
390
- export interface BadgeSlots {
391
- default(props?: {}): any;
392
- }
393
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<BadgeProps>, {
394
- as: string;
395
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<BadgeProps>, {
396
- as: string;
397
- }>>> & Readonly<{}>, {
398
- as: any;
399
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<BadgeSlots> & BadgeSlots>;
400
- export default _default;
401
- type __VLS_WithDefaults<P, D> = {
402
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
403
- default: D[K];
404
- }> : P[K];
405
- };
406
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
407
- type __VLS_TypePropsToOption<T> = {
408
- [K in keyof T]-?: {} extends Pick<T, K> ? {
409
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
410
- } : {
411
- type: import('vue').PropType<T[K]>;
412
- required: true;
413
- };
414
- };
415
- type __VLS_WithTemplateSlots<T, S> = T & {
416
- new (): {
417
- $slots: S;
418
- };
419
- };
420
- type __VLS_PrettifyLocal<T> = {
421
- [K in keyof T]: T[K];
422
- } & {};
@@ -1,307 +0,0 @@
1
- import type { AvatarProps, LinkProps } from '../types.js';
2
- import type { DynamicSlots } from '../types/utils.js';
3
- declare const breadcrumb: import("tailwind-variants").TVReturnType<{
4
- active: {
5
- true: {
6
- link: string;
7
- };
8
- false: {
9
- link: string;
10
- };
11
- };
12
- disabled: {
13
- true: {
14
- link: string;
15
- };
16
- };
17
- to: {
18
- true: string;
19
- };
20
- }, {
21
- root: string;
22
- list: string;
23
- item: string;
24
- link: string;
25
- linkLeadingIcon: string;
26
- linkLeadingAvatar: string;
27
- linkLeadingAvatarSize: string;
28
- linkLabel: string;
29
- separator: string;
30
- separatorIcon: string;
31
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
32
- active: {
33
- true: {
34
- link: string;
35
- };
36
- false: {
37
- link: string;
38
- };
39
- };
40
- disabled: {
41
- true: {
42
- link: string;
43
- };
44
- };
45
- to: {
46
- true: string;
47
- };
48
- }, {
49
- active: {
50
- true: {
51
- link: string;
52
- };
53
- false: {
54
- link: string;
55
- };
56
- };
57
- disabled: {
58
- true: {
59
- link: string;
60
- };
61
- };
62
- to: {
63
- true: string;
64
- };
65
- }>, {
66
- active: {
67
- true: {
68
- link: string;
69
- };
70
- false: {
71
- link: string;
72
- };
73
- };
74
- disabled: {
75
- true: {
76
- link: string;
77
- };
78
- };
79
- to: {
80
- true: string;
81
- };
82
- }, {
83
- root: string;
84
- list: string;
85
- item: string;
86
- link: string;
87
- linkLeadingIcon: string;
88
- linkLeadingAvatar: string;
89
- linkLeadingAvatarSize: string;
90
- linkLabel: string;
91
- separator: string;
92
- separatorIcon: string;
93
- }, import("tailwind-variants").TVReturnType<{
94
- active: {
95
- true: {
96
- link: string;
97
- };
98
- false: {
99
- link: string;
100
- };
101
- };
102
- disabled: {
103
- true: {
104
- link: string;
105
- };
106
- };
107
- to: {
108
- true: string;
109
- };
110
- }, {
111
- root: string;
112
- list: string;
113
- item: string;
114
- link: string;
115
- linkLeadingIcon: string;
116
- linkLeadingAvatar: string;
117
- linkLeadingAvatarSize: string;
118
- linkLabel: string;
119
- separator: string;
120
- separatorIcon: string;
121
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
122
- active: {
123
- true: {
124
- link: string;
125
- };
126
- false: {
127
- link: string;
128
- };
129
- };
130
- disabled: {
131
- true: {
132
- link: string;
133
- };
134
- };
135
- to: {
136
- true: string;
137
- };
138
- }, {
139
- active: {
140
- true: {
141
- link: string;
142
- };
143
- false: {
144
- link: string;
145
- };
146
- };
147
- disabled: {
148
- true: {
149
- link: string;
150
- };
151
- };
152
- to: {
153
- true: string;
154
- };
155
- }>, {
156
- active: {
157
- true: {
158
- link: string;
159
- };
160
- false: {
161
- link: string;
162
- };
163
- };
164
- disabled: {
165
- true: {
166
- link: string;
167
- };
168
- };
169
- to: {
170
- true: string;
171
- };
172
- }, {
173
- root: string;
174
- list: string;
175
- item: string;
176
- link: string;
177
- linkLeadingIcon: string;
178
- linkLeadingAvatar: string;
179
- linkLeadingAvatarSize: string;
180
- linkLabel: string;
181
- separator: string;
182
- separatorIcon: string;
183
- }, import("tailwind-variants").TVReturnType<{
184
- active: {
185
- true: {
186
- link: string;
187
- };
188
- false: {
189
- link: string;
190
- };
191
- };
192
- disabled: {
193
- true: {
194
- link: string;
195
- };
196
- };
197
- to: {
198
- true: string;
199
- };
200
- }, {
201
- root: string;
202
- list: string;
203
- item: string;
204
- link: string;
205
- linkLeadingIcon: string;
206
- linkLeadingAvatar: string;
207
- linkLeadingAvatarSize: string;
208
- linkLabel: string;
209
- separator: string;
210
- separatorIcon: string;
211
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
212
- active: {
213
- true: {
214
- link: string;
215
- };
216
- false: {
217
- link: string;
218
- };
219
- };
220
- disabled: {
221
- true: {
222
- link: string;
223
- };
224
- };
225
- to: {
226
- true: string;
227
- };
228
- }, {
229
- active: {
230
- true: {
231
- link: string;
232
- };
233
- false: {
234
- link: string;
235
- };
236
- };
237
- disabled: {
238
- true: {
239
- link: string;
240
- };
241
- };
242
- to: {
243
- true: string;
244
- };
245
- }>, unknown, unknown, undefined>>>;
246
- export interface BreadcrumbItem extends Omit<LinkProps, 'raw' | 'custom'> {
247
- label?: string;
248
- icon?: string;
249
- avatar?: AvatarProps;
250
- slot?: string;
251
- }
252
- export interface BreadcrumbProps<T> {
253
- /**
254
- * The element or component this component should render as.
255
- * @defaultValue 'div'
256
- */
257
- as?: any;
258
- items?: T[];
259
- /**
260
- * The icon to use as a separator.
261
- * @defaultValue appConfig.ui.icons.chevronRight
262
- */
263
- separatorIcon?: string;
264
- class?: any;
265
- ui?: Partial<typeof breadcrumb.slots>;
266
- }
267
- type SlotProps<T> = (props: {
268
- item: T;
269
- index: number;
270
- active?: boolean;
271
- }) => any;
272
- export type BreadcrumbSlots<T extends {
273
- slot?: string;
274
- }> = {
275
- 'item': SlotProps<T>;
276
- 'item-leading': SlotProps<T>;
277
- 'item-label': SlotProps<T>;
278
- 'item-trailing': SlotProps<T>;
279
- 'separator'(props?: {}): any;
280
- } & DynamicSlots<T, SlotProps<T>>;
281
- declare const _default: <T extends BreadcrumbItem>(__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<{
282
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<{}> & Readonly<{}>, never>, never> & BreadcrumbProps<T>> & (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps);
283
- expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
284
- attrs: any;
285
- slots: Readonly<{
286
- item: SlotProps<T>;
287
- 'item-leading': SlotProps<T>;
288
- 'item-label': SlotProps<T>;
289
- 'item-trailing': SlotProps<T>;
290
- separator(props?: {}): any;
291
- } & 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)> & {
292
- item: SlotProps<T>;
293
- 'item-leading': SlotProps<T>;
294
- 'item-label': SlotProps<T>;
295
- 'item-trailing': SlotProps<T>;
296
- separator(props?: {}): any;
297
- } & 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);
298
- emit: {};
299
- }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
300
- [key: string]: any;
301
- }> & {
302
- __ctx?: Awaited<typeof __VLS_setup>;
303
- };
304
- export default _default;
305
- type __VLS_PrettifyLocal<T> = {
306
- [K in keyof T]: T[K];
307
- } & {};