@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,590 +0,0 @@
1
- import { type VariantProps } from 'tailwind-variants';
2
- declare const chip: 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
- size: {
26
- "3xs": string;
27
- "2xs": string;
28
- xs: string;
29
- sm: string;
30
- md: string;
31
- lg: string;
32
- xl: string;
33
- "2xl": string;
34
- "3xl": string;
35
- };
36
- position: {
37
- "top-right": string;
38
- "bottom-right": string;
39
- "top-left": string;
40
- "bottom-left": string;
41
- };
42
- inset: {
43
- false: string;
44
- };
45
- standalone: {
46
- false: string;
47
- };
48
- }, {
49
- root: string;
50
- base: string;
51
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
52
- color: {
53
- primary: string;
54
- error: string;
55
- red: string;
56
- orange: string;
57
- amber: string;
58
- yellow: string;
59
- lime: string;
60
- green: string;
61
- emerald: string;
62
- teal: string;
63
- cyan: string;
64
- sky: string;
65
- blue: string;
66
- indigo: string;
67
- violet: string;
68
- purple: string;
69
- fuchsia: string;
70
- pink: string;
71
- rose: string;
72
- gray: string;
73
- };
74
- size: {
75
- "3xs": string;
76
- "2xs": string;
77
- xs: string;
78
- sm: string;
79
- md: string;
80
- lg: string;
81
- xl: string;
82
- "2xl": string;
83
- "3xl": string;
84
- };
85
- position: {
86
- "top-right": string;
87
- "bottom-right": string;
88
- "top-left": string;
89
- "bottom-left": string;
90
- };
91
- inset: {
92
- false: string;
93
- };
94
- standalone: {
95
- false: string;
96
- };
97
- }, {
98
- color: {
99
- primary: string;
100
- error: string;
101
- red: string;
102
- orange: string;
103
- amber: string;
104
- yellow: string;
105
- lime: string;
106
- green: string;
107
- emerald: string;
108
- teal: string;
109
- cyan: string;
110
- sky: string;
111
- blue: string;
112
- indigo: string;
113
- violet: string;
114
- purple: string;
115
- fuchsia: string;
116
- pink: string;
117
- rose: string;
118
- gray: string;
119
- };
120
- size: {
121
- "3xs": string;
122
- "2xs": string;
123
- xs: string;
124
- sm: string;
125
- md: string;
126
- lg: string;
127
- xl: string;
128
- "2xl": string;
129
- "3xl": string;
130
- };
131
- position: {
132
- "top-right": string;
133
- "bottom-right": string;
134
- "top-left": string;
135
- "bottom-left": string;
136
- };
137
- inset: {
138
- false: string;
139
- };
140
- standalone: {
141
- false: string;
142
- };
143
- }>, {
144
- color: {
145
- primary: string;
146
- error: string;
147
- red: string;
148
- orange: string;
149
- amber: string;
150
- yellow: string;
151
- lime: string;
152
- green: string;
153
- emerald: string;
154
- teal: string;
155
- cyan: string;
156
- sky: string;
157
- blue: string;
158
- indigo: string;
159
- violet: string;
160
- purple: string;
161
- fuchsia: string;
162
- pink: string;
163
- rose: string;
164
- gray: string;
165
- };
166
- size: {
167
- "3xs": string;
168
- "2xs": string;
169
- xs: string;
170
- sm: string;
171
- md: string;
172
- lg: string;
173
- xl: string;
174
- "2xl": string;
175
- "3xl": string;
176
- };
177
- position: {
178
- "top-right": string;
179
- "bottom-right": string;
180
- "top-left": string;
181
- "bottom-left": string;
182
- };
183
- inset: {
184
- false: string;
185
- };
186
- standalone: {
187
- false: string;
188
- };
189
- }, {
190
- root: string;
191
- base: string;
192
- }, import("tailwind-variants").TVReturnType<{
193
- color: {
194
- primary: string;
195
- error: string;
196
- red: string;
197
- orange: string;
198
- amber: string;
199
- yellow: string;
200
- lime: string;
201
- green: string;
202
- emerald: string;
203
- teal: string;
204
- cyan: string;
205
- sky: string;
206
- blue: string;
207
- indigo: string;
208
- violet: string;
209
- purple: string;
210
- fuchsia: string;
211
- pink: string;
212
- rose: string;
213
- gray: string;
214
- };
215
- size: {
216
- "3xs": string;
217
- "2xs": string;
218
- xs: string;
219
- sm: string;
220
- md: string;
221
- lg: string;
222
- xl: string;
223
- "2xl": string;
224
- "3xl": string;
225
- };
226
- position: {
227
- "top-right": string;
228
- "bottom-right": string;
229
- "top-left": string;
230
- "bottom-left": string;
231
- };
232
- inset: {
233
- false: string;
234
- };
235
- standalone: {
236
- false: string;
237
- };
238
- }, {
239
- root: string;
240
- base: string;
241
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
242
- color: {
243
- primary: string;
244
- error: string;
245
- red: string;
246
- orange: string;
247
- amber: string;
248
- yellow: string;
249
- lime: string;
250
- green: string;
251
- emerald: string;
252
- teal: string;
253
- cyan: string;
254
- sky: string;
255
- blue: string;
256
- indigo: string;
257
- violet: string;
258
- purple: string;
259
- fuchsia: string;
260
- pink: string;
261
- rose: string;
262
- gray: string;
263
- };
264
- size: {
265
- "3xs": string;
266
- "2xs": string;
267
- xs: string;
268
- sm: string;
269
- md: string;
270
- lg: string;
271
- xl: string;
272
- "2xl": string;
273
- "3xl": string;
274
- };
275
- position: {
276
- "top-right": string;
277
- "bottom-right": string;
278
- "top-left": string;
279
- "bottom-left": string;
280
- };
281
- inset: {
282
- false: string;
283
- };
284
- standalone: {
285
- false: string;
286
- };
287
- }, {
288
- color: {
289
- primary: string;
290
- error: string;
291
- red: string;
292
- orange: string;
293
- amber: string;
294
- yellow: string;
295
- lime: string;
296
- green: string;
297
- emerald: string;
298
- teal: string;
299
- cyan: string;
300
- sky: string;
301
- blue: string;
302
- indigo: string;
303
- violet: string;
304
- purple: string;
305
- fuchsia: string;
306
- pink: string;
307
- rose: string;
308
- gray: string;
309
- };
310
- size: {
311
- "3xs": string;
312
- "2xs": string;
313
- xs: string;
314
- sm: string;
315
- md: string;
316
- lg: string;
317
- xl: string;
318
- "2xl": string;
319
- "3xl": string;
320
- };
321
- position: {
322
- "top-right": string;
323
- "bottom-right": string;
324
- "top-left": string;
325
- "bottom-left": string;
326
- };
327
- inset: {
328
- false: string;
329
- };
330
- standalone: {
331
- false: string;
332
- };
333
- }>, {
334
- color: {
335
- primary: string;
336
- error: string;
337
- red: string;
338
- orange: string;
339
- amber: string;
340
- yellow: string;
341
- lime: string;
342
- green: string;
343
- emerald: string;
344
- teal: string;
345
- cyan: string;
346
- sky: string;
347
- blue: string;
348
- indigo: string;
349
- violet: string;
350
- purple: string;
351
- fuchsia: string;
352
- pink: string;
353
- rose: string;
354
- gray: string;
355
- };
356
- size: {
357
- "3xs": string;
358
- "2xs": string;
359
- xs: string;
360
- sm: string;
361
- md: string;
362
- lg: string;
363
- xl: string;
364
- "2xl": string;
365
- "3xl": string;
366
- };
367
- position: {
368
- "top-right": string;
369
- "bottom-right": string;
370
- "top-left": string;
371
- "bottom-left": string;
372
- };
373
- inset: {
374
- false: string;
375
- };
376
- standalone: {
377
- false: string;
378
- };
379
- }, {
380
- root: string;
381
- base: string;
382
- }, import("tailwind-variants").TVReturnType<{
383
- color: {
384
- primary: string;
385
- error: string;
386
- red: string;
387
- orange: string;
388
- amber: string;
389
- yellow: string;
390
- lime: string;
391
- green: string;
392
- emerald: string;
393
- teal: string;
394
- cyan: string;
395
- sky: string;
396
- blue: string;
397
- indigo: string;
398
- violet: string;
399
- purple: string;
400
- fuchsia: string;
401
- pink: string;
402
- rose: string;
403
- gray: string;
404
- };
405
- size: {
406
- "3xs": string;
407
- "2xs": string;
408
- xs: string;
409
- sm: string;
410
- md: string;
411
- lg: string;
412
- xl: string;
413
- "2xl": string;
414
- "3xl": string;
415
- };
416
- position: {
417
- "top-right": string;
418
- "bottom-right": string;
419
- "top-left": string;
420
- "bottom-left": string;
421
- };
422
- inset: {
423
- false: string;
424
- };
425
- standalone: {
426
- false: string;
427
- };
428
- }, {
429
- root: string;
430
- base: string;
431
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
432
- color: {
433
- primary: string;
434
- error: string;
435
- red: string;
436
- orange: string;
437
- amber: string;
438
- yellow: string;
439
- lime: string;
440
- green: string;
441
- emerald: string;
442
- teal: string;
443
- cyan: string;
444
- sky: string;
445
- blue: string;
446
- indigo: string;
447
- violet: string;
448
- purple: string;
449
- fuchsia: string;
450
- pink: string;
451
- rose: string;
452
- gray: string;
453
- };
454
- size: {
455
- "3xs": string;
456
- "2xs": string;
457
- xs: string;
458
- sm: string;
459
- md: string;
460
- lg: string;
461
- xl: string;
462
- "2xl": string;
463
- "3xl": string;
464
- };
465
- position: {
466
- "top-right": string;
467
- "bottom-right": string;
468
- "top-left": string;
469
- "bottom-left": string;
470
- };
471
- inset: {
472
- false: string;
473
- };
474
- standalone: {
475
- false: string;
476
- };
477
- }, {
478
- color: {
479
- primary: string;
480
- error: string;
481
- red: string;
482
- orange: string;
483
- amber: string;
484
- yellow: string;
485
- lime: string;
486
- green: string;
487
- emerald: string;
488
- teal: string;
489
- cyan: string;
490
- sky: string;
491
- blue: string;
492
- indigo: string;
493
- violet: string;
494
- purple: string;
495
- fuchsia: string;
496
- pink: string;
497
- rose: string;
498
- gray: string;
499
- };
500
- size: {
501
- "3xs": string;
502
- "2xs": string;
503
- xs: string;
504
- sm: string;
505
- md: string;
506
- lg: string;
507
- xl: string;
508
- "2xl": string;
509
- "3xl": string;
510
- };
511
- position: {
512
- "top-right": string;
513
- "bottom-right": string;
514
- "top-left": string;
515
- "bottom-left": string;
516
- };
517
- inset: {
518
- false: string;
519
- };
520
- standalone: {
521
- false: string;
522
- };
523
- }>, unknown, unknown, undefined>>>;
524
- type ChipVariants = VariantProps<typeof chip>;
525
- export interface ChipProps {
526
- /**
527
- * The element or component this component should render as.
528
- * @defaultValue 'div'
529
- */
530
- as?: any;
531
- /** Display some text inside the chip. */
532
- text?: string | number;
533
- color?: ChipVariants['color'];
534
- size?: ChipVariants['size'];
535
- position?: ChipVariants['position'];
536
- /** When `true`, translate the chip at the edge for non rounded elements. */
537
- inset?: boolean;
538
- /** When `true`, render the chip relatively to the parent. */
539
- standalone?: boolean;
540
- class?: any;
541
- ui?: Partial<typeof chip.slots>;
542
- }
543
- export interface ChipEmits {
544
- (e: 'update:show', payload: boolean): void;
545
- }
546
- export interface ChipSlots {
547
- default(props?: {}): any;
548
- content(props?: {}): any;
549
- }
550
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
551
- show?: boolean;
552
- } & ChipProps>, {
553
- inset: boolean;
554
- standalone: boolean;
555
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
556
- "update:show": (show: boolean) => void;
557
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
558
- show?: boolean;
559
- } & ChipProps>, {
560
- inset: boolean;
561
- standalone: boolean;
562
- }>>> & Readonly<{
563
- "onUpdate:show"?: ((show: boolean) => any) | undefined;
564
- }>, {
565
- inset: boolean;
566
- standalone: boolean;
567
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<ChipSlots> & ChipSlots>;
568
- export default _default;
569
- type __VLS_WithDefaults<P, D> = {
570
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
571
- default: D[K];
572
- }> : P[K];
573
- };
574
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
575
- type __VLS_TypePropsToOption<T> = {
576
- [K in keyof T]-?: {} extends Pick<T, K> ? {
577
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
578
- } : {
579
- type: import('vue').PropType<T[K]>;
580
- required: true;
581
- };
582
- };
583
- type __VLS_WithTemplateSlots<T, S> = T & {
584
- new (): {
585
- $slots: S;
586
- };
587
- };
588
- type __VLS_PrettifyLocal<T> = {
589
- [K in keyof T]: T[K];
590
- } & {};