@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,819 +0,0 @@
1
- import type { InputHTMLAttributes } from 'vue';
2
- import { type VariantProps } from 'tailwind-variants';
3
- import type { CheckboxRootProps } from 'radix-vue';
4
- declare const checkbox: import("tailwind-variants").TVReturnType<{
5
- color: {
6
- primary: string;
7
- error: string;
8
- red: string;
9
- orange: string;
10
- amber: string;
11
- yellow: string;
12
- lime: string;
13
- green: string;
14
- emerald: string;
15
- teal: string;
16
- cyan: string;
17
- sky: string;
18
- blue: string;
19
- indigo: string;
20
- violet: string;
21
- purple: string;
22
- fuchsia: string;
23
- pink: string;
24
- rose: string;
25
- gray: string;
26
- };
27
- size: {
28
- xs: {
29
- base: string;
30
- container: string;
31
- wrapper: string;
32
- };
33
- sm: {
34
- base: string;
35
- container: string;
36
- wrapper: string;
37
- };
38
- md: {
39
- base: string;
40
- container: string;
41
- wrapper: string;
42
- };
43
- lg: {
44
- base: string;
45
- container: string;
46
- wrapper: string;
47
- };
48
- xl: {
49
- base: string;
50
- container: string;
51
- wrapper: string;
52
- };
53
- };
54
- required: {
55
- true: {
56
- label: string;
57
- };
58
- };
59
- disabled: {
60
- true: {
61
- base: string;
62
- label: string;
63
- description: string;
64
- };
65
- };
66
- checked: {
67
- true: string;
68
- };
69
- }, {
70
- root: string;
71
- base: string;
72
- container: string;
73
- wrapper: string;
74
- icon: string;
75
- label: string;
76
- description: string;
77
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
78
- color: {
79
- primary: string;
80
- error: string;
81
- red: string;
82
- orange: string;
83
- amber: string;
84
- yellow: string;
85
- lime: string;
86
- green: string;
87
- emerald: string;
88
- teal: string;
89
- cyan: string;
90
- sky: string;
91
- blue: string;
92
- indigo: string;
93
- violet: string;
94
- purple: string;
95
- fuchsia: string;
96
- pink: string;
97
- rose: string;
98
- gray: string;
99
- };
100
- size: {
101
- xs: {
102
- base: string;
103
- container: string;
104
- wrapper: string;
105
- };
106
- sm: {
107
- base: string;
108
- container: string;
109
- wrapper: string;
110
- };
111
- md: {
112
- base: string;
113
- container: string;
114
- wrapper: string;
115
- };
116
- lg: {
117
- base: string;
118
- container: string;
119
- wrapper: string;
120
- };
121
- xl: {
122
- base: string;
123
- container: string;
124
- wrapper: string;
125
- };
126
- };
127
- required: {
128
- true: {
129
- label: string;
130
- };
131
- };
132
- disabled: {
133
- true: {
134
- base: string;
135
- label: string;
136
- description: string;
137
- };
138
- };
139
- checked: {
140
- true: string;
141
- };
142
- }, {
143
- color: {
144
- primary: string;
145
- error: string;
146
- red: string;
147
- orange: string;
148
- amber: string;
149
- yellow: string;
150
- lime: string;
151
- green: string;
152
- emerald: string;
153
- teal: string;
154
- cyan: string;
155
- sky: string;
156
- blue: string;
157
- indigo: string;
158
- violet: string;
159
- purple: string;
160
- fuchsia: string;
161
- pink: string;
162
- rose: string;
163
- gray: string;
164
- };
165
- size: {
166
- xs: {
167
- base: string;
168
- container: string;
169
- wrapper: string;
170
- };
171
- sm: {
172
- base: string;
173
- container: string;
174
- wrapper: string;
175
- };
176
- md: {
177
- base: string;
178
- container: string;
179
- wrapper: string;
180
- };
181
- lg: {
182
- base: string;
183
- container: string;
184
- wrapper: string;
185
- };
186
- xl: {
187
- base: string;
188
- container: string;
189
- wrapper: string;
190
- };
191
- };
192
- required: {
193
- true: {
194
- label: string;
195
- };
196
- };
197
- disabled: {
198
- true: {
199
- base: string;
200
- label: string;
201
- description: string;
202
- };
203
- };
204
- checked: {
205
- true: string;
206
- };
207
- }>, {
208
- color: {
209
- primary: string;
210
- error: string;
211
- red: string;
212
- orange: string;
213
- amber: string;
214
- yellow: string;
215
- lime: string;
216
- green: string;
217
- emerald: string;
218
- teal: string;
219
- cyan: string;
220
- sky: string;
221
- blue: string;
222
- indigo: string;
223
- violet: string;
224
- purple: string;
225
- fuchsia: string;
226
- pink: string;
227
- rose: string;
228
- gray: string;
229
- };
230
- size: {
231
- xs: {
232
- base: string;
233
- container: string;
234
- wrapper: string;
235
- };
236
- sm: {
237
- base: string;
238
- container: string;
239
- wrapper: string;
240
- };
241
- md: {
242
- base: string;
243
- container: string;
244
- wrapper: string;
245
- };
246
- lg: {
247
- base: string;
248
- container: string;
249
- wrapper: string;
250
- };
251
- xl: {
252
- base: string;
253
- container: string;
254
- wrapper: string;
255
- };
256
- };
257
- required: {
258
- true: {
259
- label: string;
260
- };
261
- };
262
- disabled: {
263
- true: {
264
- base: string;
265
- label: string;
266
- description: string;
267
- };
268
- };
269
- checked: {
270
- true: string;
271
- };
272
- }, {
273
- root: string;
274
- base: string;
275
- container: string;
276
- wrapper: string;
277
- icon: string;
278
- label: string;
279
- description: string;
280
- }, import("tailwind-variants").TVReturnType<{
281
- color: {
282
- primary: string;
283
- error: string;
284
- red: string;
285
- orange: string;
286
- amber: string;
287
- yellow: string;
288
- lime: string;
289
- green: string;
290
- emerald: string;
291
- teal: string;
292
- cyan: string;
293
- sky: string;
294
- blue: string;
295
- indigo: string;
296
- violet: string;
297
- purple: string;
298
- fuchsia: string;
299
- pink: string;
300
- rose: string;
301
- gray: string;
302
- };
303
- size: {
304
- xs: {
305
- base: string;
306
- container: string;
307
- wrapper: string;
308
- };
309
- sm: {
310
- base: string;
311
- container: string;
312
- wrapper: string;
313
- };
314
- md: {
315
- base: string;
316
- container: string;
317
- wrapper: string;
318
- };
319
- lg: {
320
- base: string;
321
- container: string;
322
- wrapper: string;
323
- };
324
- xl: {
325
- base: string;
326
- container: string;
327
- wrapper: string;
328
- };
329
- };
330
- required: {
331
- true: {
332
- label: string;
333
- };
334
- };
335
- disabled: {
336
- true: {
337
- base: string;
338
- label: string;
339
- description: string;
340
- };
341
- };
342
- checked: {
343
- true: string;
344
- };
345
- }, {
346
- root: string;
347
- base: string;
348
- container: string;
349
- wrapper: string;
350
- icon: string;
351
- label: string;
352
- description: string;
353
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
354
- color: {
355
- primary: string;
356
- error: string;
357
- red: string;
358
- orange: string;
359
- amber: string;
360
- yellow: string;
361
- lime: string;
362
- green: string;
363
- emerald: string;
364
- teal: string;
365
- cyan: string;
366
- sky: string;
367
- blue: string;
368
- indigo: string;
369
- violet: string;
370
- purple: string;
371
- fuchsia: string;
372
- pink: string;
373
- rose: string;
374
- gray: string;
375
- };
376
- size: {
377
- xs: {
378
- base: string;
379
- container: string;
380
- wrapper: string;
381
- };
382
- sm: {
383
- base: string;
384
- container: string;
385
- wrapper: string;
386
- };
387
- md: {
388
- base: string;
389
- container: string;
390
- wrapper: string;
391
- };
392
- lg: {
393
- base: string;
394
- container: string;
395
- wrapper: string;
396
- };
397
- xl: {
398
- base: string;
399
- container: string;
400
- wrapper: string;
401
- };
402
- };
403
- required: {
404
- true: {
405
- label: string;
406
- };
407
- };
408
- disabled: {
409
- true: {
410
- base: string;
411
- label: string;
412
- description: string;
413
- };
414
- };
415
- checked: {
416
- true: string;
417
- };
418
- }, {
419
- color: {
420
- primary: string;
421
- error: string;
422
- red: string;
423
- orange: string;
424
- amber: string;
425
- yellow: string;
426
- lime: string;
427
- green: string;
428
- emerald: string;
429
- teal: string;
430
- cyan: string;
431
- sky: string;
432
- blue: string;
433
- indigo: string;
434
- violet: string;
435
- purple: string;
436
- fuchsia: string;
437
- pink: string;
438
- rose: string;
439
- gray: string;
440
- };
441
- size: {
442
- xs: {
443
- base: string;
444
- container: string;
445
- wrapper: string;
446
- };
447
- sm: {
448
- base: string;
449
- container: string;
450
- wrapper: string;
451
- };
452
- md: {
453
- base: string;
454
- container: string;
455
- wrapper: string;
456
- };
457
- lg: {
458
- base: string;
459
- container: string;
460
- wrapper: string;
461
- };
462
- xl: {
463
- base: string;
464
- container: string;
465
- wrapper: string;
466
- };
467
- };
468
- required: {
469
- true: {
470
- label: string;
471
- };
472
- };
473
- disabled: {
474
- true: {
475
- base: string;
476
- label: string;
477
- description: string;
478
- };
479
- };
480
- checked: {
481
- true: string;
482
- };
483
- }>, {
484
- color: {
485
- primary: string;
486
- error: string;
487
- red: string;
488
- orange: string;
489
- amber: string;
490
- yellow: string;
491
- lime: string;
492
- green: string;
493
- emerald: string;
494
- teal: string;
495
- cyan: string;
496
- sky: string;
497
- blue: string;
498
- indigo: string;
499
- violet: string;
500
- purple: string;
501
- fuchsia: string;
502
- pink: string;
503
- rose: string;
504
- gray: string;
505
- };
506
- size: {
507
- xs: {
508
- base: string;
509
- container: string;
510
- wrapper: string;
511
- };
512
- sm: {
513
- base: string;
514
- container: string;
515
- wrapper: string;
516
- };
517
- md: {
518
- base: string;
519
- container: string;
520
- wrapper: string;
521
- };
522
- lg: {
523
- base: string;
524
- container: string;
525
- wrapper: string;
526
- };
527
- xl: {
528
- base: string;
529
- container: string;
530
- wrapper: string;
531
- };
532
- };
533
- required: {
534
- true: {
535
- label: string;
536
- };
537
- };
538
- disabled: {
539
- true: {
540
- base: string;
541
- label: string;
542
- description: string;
543
- };
544
- };
545
- checked: {
546
- true: string;
547
- };
548
- }, {
549
- root: string;
550
- base: string;
551
- container: string;
552
- wrapper: string;
553
- icon: string;
554
- label: string;
555
- description: string;
556
- }, import("tailwind-variants").TVReturnType<{
557
- color: {
558
- primary: string;
559
- error: string;
560
- red: string;
561
- orange: string;
562
- amber: string;
563
- yellow: string;
564
- lime: string;
565
- green: string;
566
- emerald: string;
567
- teal: string;
568
- cyan: string;
569
- sky: string;
570
- blue: string;
571
- indigo: string;
572
- violet: string;
573
- purple: string;
574
- fuchsia: string;
575
- pink: string;
576
- rose: string;
577
- gray: string;
578
- };
579
- size: {
580
- xs: {
581
- base: string;
582
- container: string;
583
- wrapper: string;
584
- };
585
- sm: {
586
- base: string;
587
- container: string;
588
- wrapper: string;
589
- };
590
- md: {
591
- base: string;
592
- container: string;
593
- wrapper: string;
594
- };
595
- lg: {
596
- base: string;
597
- container: string;
598
- wrapper: string;
599
- };
600
- xl: {
601
- base: string;
602
- container: string;
603
- wrapper: string;
604
- };
605
- };
606
- required: {
607
- true: {
608
- label: string;
609
- };
610
- };
611
- disabled: {
612
- true: {
613
- base: string;
614
- label: string;
615
- description: string;
616
- };
617
- };
618
- checked: {
619
- true: string;
620
- };
621
- }, {
622
- root: string;
623
- base: string;
624
- container: string;
625
- wrapper: string;
626
- icon: string;
627
- label: string;
628
- description: string;
629
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
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
- size: {
653
- xs: {
654
- base: string;
655
- container: string;
656
- wrapper: string;
657
- };
658
- sm: {
659
- base: string;
660
- container: string;
661
- wrapper: string;
662
- };
663
- md: {
664
- base: string;
665
- container: string;
666
- wrapper: string;
667
- };
668
- lg: {
669
- base: string;
670
- container: string;
671
- wrapper: string;
672
- };
673
- xl: {
674
- base: string;
675
- container: string;
676
- wrapper: string;
677
- };
678
- };
679
- required: {
680
- true: {
681
- label: string;
682
- };
683
- };
684
- disabled: {
685
- true: {
686
- base: string;
687
- label: string;
688
- description: string;
689
- };
690
- };
691
- checked: {
692
- true: string;
693
- };
694
- }, {
695
- color: {
696
- primary: string;
697
- error: string;
698
- red: string;
699
- orange: string;
700
- amber: string;
701
- yellow: string;
702
- lime: string;
703
- green: string;
704
- emerald: string;
705
- teal: string;
706
- cyan: string;
707
- sky: string;
708
- blue: string;
709
- indigo: string;
710
- violet: string;
711
- purple: string;
712
- fuchsia: string;
713
- pink: string;
714
- rose: string;
715
- gray: string;
716
- };
717
- size: {
718
- xs: {
719
- base: string;
720
- container: string;
721
- wrapper: string;
722
- };
723
- sm: {
724
- base: string;
725
- container: string;
726
- wrapper: string;
727
- };
728
- md: {
729
- base: string;
730
- container: string;
731
- wrapper: string;
732
- };
733
- lg: {
734
- base: string;
735
- container: string;
736
- wrapper: string;
737
- };
738
- xl: {
739
- base: string;
740
- container: string;
741
- wrapper: string;
742
- };
743
- };
744
- required: {
745
- true: {
746
- label: string;
747
- };
748
- };
749
- disabled: {
750
- true: {
751
- base: string;
752
- label: string;
753
- description: string;
754
- };
755
- };
756
- checked: {
757
- true: string;
758
- };
759
- }>, unknown, unknown, undefined>>>;
760
- type CheckboxVariants = VariantProps<typeof checkbox>;
761
- export interface CheckboxProps extends Pick<CheckboxRootProps, 'disabled' | 'required' | 'name' | 'value' | 'id'> {
762
- label?: string;
763
- description?: string;
764
- color?: CheckboxVariants['color'];
765
- size?: CheckboxVariants['size'];
766
- /**
767
- * The icon displayed when checked.
768
- * @defaultValue appConfig.ui.icons.check
769
- */
770
- icon?: string;
771
- indeterminate?: InputHTMLAttributes['indeterminate'];
772
- /**
773
- * The icon displayed when the checkbox is indeterminate.
774
- * @defaultValue appConfig.ui.icons.minus
775
- */
776
- indeterminateIcon?: string;
777
- /** The checked state of the checkbox when it is initially rendered. Use when you do not need to control its checked state. */
778
- defaultValue?: boolean;
779
- class?: any;
780
- ui?: Partial<typeof checkbox.slots>;
781
- }
782
- export interface CheckboxEmits {
783
- (e: 'update:modelValue', payload: boolean): void;
784
- (e: 'change', payload: Event): void;
785
- }
786
- export interface CheckboxSlots {
787
- label(props: {
788
- label?: string;
789
- }): any;
790
- description(props: {
791
- description?: string;
792
- }): any;
793
- }
794
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
795
- modelValue?: boolean | undefined;
796
- } & CheckboxProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
797
- "update:modelValue": (payload: boolean) => void;
798
- change: (payload: Event) => void;
799
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
800
- modelValue?: boolean | undefined;
801
- } & CheckboxProps>>> & Readonly<{
802
- onChange?: ((payload: Event) => any) | undefined;
803
- "onUpdate:modelValue"?: ((payload: boolean) => any) | undefined;
804
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<CheckboxSlots> & CheckboxSlots>;
805
- export default _default;
806
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
807
- type __VLS_TypePropsToOption<T> = {
808
- [K in keyof T]-?: {} extends Pick<T, K> ? {
809
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
810
- } : {
811
- type: import('vue').PropType<T[K]>;
812
- required: true;
813
- };
814
- };
815
- type __VLS_WithTemplateSlots<T, S> = T & {
816
- new (): {
817
- $slots: S;
818
- };
819
- };