@nuxt/ui 2.18.4 → 2.18.5

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 (74) hide show
  1. package/README.md +1 -1
  2. package/dist/module.d.mts +1 -6
  3. package/dist/module.d.ts +1 -6
  4. package/dist/module.json +2 -2
  5. package/dist/module.mjs +16 -8
  6. package/dist/runtime/components/data/Table.vue +5 -4
  7. package/dist/runtime/components/data/Table.vue.d.ts +1748 -8
  8. package/dist/runtime/components/elements/Accordion.vue.d.ts +1012 -6
  9. package/dist/runtime/components/elements/Alert.vue.d.ts +1256 -6
  10. package/dist/runtime/components/elements/Avatar.vue.d.ts +52 -6
  11. package/dist/runtime/components/elements/AvatarGroup.d.ts +5 -5
  12. package/dist/runtime/components/elements/Badge.vue.d.ts +5 -5
  13. package/dist/runtime/components/elements/Button.vue.d.ts +279 -9
  14. package/dist/runtime/components/elements/ButtonGroup.d.ts +6 -6
  15. package/dist/runtime/components/elements/Carousel.vue.d.ts +856 -6
  16. package/dist/runtime/components/elements/Chip.vue.d.ts +5 -5
  17. package/dist/runtime/components/elements/Dropdown.vue.d.ts +638 -9
  18. package/dist/runtime/components/elements/Icon.vue.d.ts +4 -4
  19. package/dist/runtime/components/elements/Kbd.vue.d.ts +5 -5
  20. package/dist/runtime/components/elements/Link.vue +1 -0
  21. package/dist/runtime/components/elements/Link.vue.d.ts +8 -8
  22. package/dist/runtime/components/elements/Meter.vue.d.ts +53 -7
  23. package/dist/runtime/components/elements/MeterGroup.d.ts +8 -6
  24. package/dist/runtime/components/elements/Progress.vue.d.ts +8 -8
  25. package/dist/runtime/components/forms/Checkbox.vue.d.ts +8 -8
  26. package/dist/runtime/components/forms/Form.vue +4 -3
  27. package/dist/runtime/components/forms/Form.vue.d.ts +13 -6
  28. package/dist/runtime/components/forms/FormGroup.vue.d.ts +7 -7
  29. package/dist/runtime/components/forms/Input.vue +1 -2
  30. package/dist/runtime/components/forms/Input.vue.d.ts +55 -9
  31. package/dist/runtime/components/forms/InputMenu.vue.d.ts +709 -12
  32. package/dist/runtime/components/forms/Radio.vue.d.ts +8 -8
  33. package/dist/runtime/components/forms/RadioGroup.vue +1 -1
  34. package/dist/runtime/components/forms/RadioGroup.vue.d.ts +187 -7
  35. package/dist/runtime/components/forms/Range.vue.d.ts +9 -9
  36. package/dist/runtime/components/forms/Select.vue.d.ts +54 -8
  37. package/dist/runtime/components/forms/SelectMenu.vue.d.ts +908 -11
  38. package/dist/runtime/components/forms/Textarea.vue +3 -0
  39. package/dist/runtime/components/forms/Textarea.vue.d.ts +9 -9
  40. package/dist/runtime/components/forms/Toggle.vue.d.ts +142 -8
  41. package/dist/runtime/components/layout/Card.vue.d.ts +5 -5
  42. package/dist/runtime/components/layout/Container.vue.d.ts +5 -5
  43. package/dist/runtime/components/layout/Divider.vue.d.ts +407 -6
  44. package/dist/runtime/components/layout/Skeleton.vue.d.ts +5 -5
  45. package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +275 -5
  46. package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +1728 -8
  47. package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +544 -5
  48. package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +767 -5
  49. package/dist/runtime/components/navigation/Pagination.vue +4 -0
  50. package/dist/runtime/components/navigation/Pagination.vue.d.ts +858 -8
  51. package/dist/runtime/components/navigation/Tabs.vue +4 -0
  52. package/dist/runtime/components/navigation/Tabs.vue.d.ts +233 -10
  53. package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +1412 -5
  54. package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +8 -8
  55. package/dist/runtime/components/overlays/Modal.vue.d.ts +342 -8
  56. package/dist/runtime/components/overlays/Notification.vue.d.ts +1257 -7
  57. package/dist/runtime/components/overlays/Notifications.vue.d.ts +1536 -6
  58. package/dist/runtime/components/overlays/Popover.vue.d.ts +112 -10
  59. package/dist/runtime/components/overlays/Slideover.vue +1 -1
  60. package/dist/runtime/components/overlays/Slideover.vue.d.ts +342 -8
  61. package/dist/runtime/components/overlays/Tooltip.vue.d.ts +106 -8
  62. package/dist/runtime/composables/useFormGroup.d.ts +1 -1
  63. package/dist/runtime/composables/useFormGroup.js +4 -2
  64. package/dist/runtime/composables/useModal.d.ts +1 -1
  65. package/dist/runtime/composables/usePopper.d.ts +262 -1
  66. package/dist/runtime/composables/useShortcuts.d.ts +4 -4
  67. package/dist/runtime/composables/useSlideover.d.ts +1 -1
  68. package/dist/runtime/plugins/colors.js +3 -3
  69. package/dist/runtime/types/command-palette.d.ts +2 -2
  70. package/dist/runtime/ui.config/elements/button.js +9 -9
  71. package/dist/runtime/ui.config/elements/carousel.js +1 -1
  72. package/dist/runtime/utils/index.d.ts +1 -0
  73. package/dist/runtime/utils/index.js +5 -1
  74. package/package.json +26 -28
@@ -1,7 +1,7 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { Command, Group } from '../../types/index.js';
3
3
  import { commandPalette } from '#ui/ui.config';
4
- declare const _default: import("vue").DefineComponent<{
4
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
5
  group: {
6
6
  type: PropType<Group>;
7
7
  required: true;
@@ -26,10 +26,10 @@ declare const _default: import("vue").DefineComponent<{
26
26
  type: PropType<typeof commandPalette>;
27
27
  required: true;
28
28
  };
29
- }, {
29
+ }>, {
30
30
  label: import("vue").ComputedRef<any>;
31
31
  highlight: (text: string, { indices, value }: Command["matches"][number]) => string;
32
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
32
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
33
33
  group: {
34
34
  type: PropType<Group>;
35
35
  required: true;
@@ -54,7 +54,546 @@ declare const _default: import("vue").DefineComponent<{
54
54
  type: PropType<typeof commandPalette>;
55
55
  required: true;
56
56
  };
57
- }>>, {
57
+ }>> & Readonly<{}>, {
58
58
  query: string;
59
- }, {}>;
59
+ }, {}, {
60
+ HComboboxOption: import("vue").DefineComponent<{
61
+ as: {
62
+ type: (ObjectConstructor | StringConstructor)[];
63
+ default: string;
64
+ };
65
+ value: {
66
+ type: PropType<string | number | boolean | object | null>;
67
+ };
68
+ disabled: {
69
+ type: BooleanConstructor;
70
+ default: boolean;
71
+ };
72
+ order: {
73
+ type: NumberConstructor[];
74
+ default: null;
75
+ };
76
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
77
+ [key: string]: any;
78
+ }> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
79
+ [key: string]: any;
80
+ }>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
81
+ as: {
82
+ type: (ObjectConstructor | StringConstructor)[];
83
+ default: string;
84
+ };
85
+ value: {
86
+ type: PropType<string | number | boolean | object | null>;
87
+ };
88
+ disabled: {
89
+ type: BooleanConstructor;
90
+ default: boolean;
91
+ };
92
+ order: {
93
+ type: NumberConstructor[];
94
+ default: null;
95
+ };
96
+ }>>, {
97
+ as: string | Record<string, any>;
98
+ disabled: boolean;
99
+ order: number;
100
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
101
+ UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
102
+ name: {
103
+ type: StringConstructor;
104
+ required: true;
105
+ };
106
+ mode: {
107
+ type: PropType<"svg" | "css">;
108
+ required: false;
109
+ default: any;
110
+ };
111
+ size: {
112
+ type: (StringConstructor | NumberConstructor)[];
113
+ required: false;
114
+ default: any;
115
+ };
116
+ customize: {
117
+ type: FunctionConstructor;
118
+ required: false;
119
+ default: any;
120
+ };
121
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
122
+ name: {
123
+ type: StringConstructor;
124
+ required: true;
125
+ };
126
+ mode: {
127
+ type: PropType<"svg" | "css">;
128
+ required: false;
129
+ default: any;
130
+ };
131
+ size: {
132
+ type: (StringConstructor | NumberConstructor)[];
133
+ required: false;
134
+ default: any;
135
+ };
136
+ customize: {
137
+ type: FunctionConstructor;
138
+ required: false;
139
+ default: any;
140
+ };
141
+ }>> & Readonly<{}>, {
142
+ mode: "svg" | "css";
143
+ size: string | number;
144
+ customize: Function;
145
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
146
+ UAvatar: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
147
+ as: {
148
+ type: (StringConstructor | ObjectConstructor)[];
149
+ default: string;
150
+ };
151
+ src: {
152
+ type: (StringConstructor | BooleanConstructor)[];
153
+ default: any;
154
+ };
155
+ alt: {
156
+ type: StringConstructor;
157
+ default: any;
158
+ };
159
+ text: {
160
+ type: StringConstructor;
161
+ default: any;
162
+ };
163
+ icon: {
164
+ type: StringConstructor;
165
+ default: () => any;
166
+ };
167
+ size: {
168
+ type: PropType<import("../../types/avatar").AvatarSize>;
169
+ default: () => string;
170
+ validator(value: string): boolean;
171
+ };
172
+ chipColor: {
173
+ type: PropType<import("../../types/avatar").AvatarChipColor>;
174
+ default: () => any;
175
+ validator(value: string): boolean;
176
+ };
177
+ chipPosition: {
178
+ type: PropType<import("../../types/avatar").AvatarChipPosition>;
179
+ default: () => string;
180
+ validator(value: string): boolean;
181
+ };
182
+ chipText: {
183
+ type: (StringConstructor | NumberConstructor)[];
184
+ default: any;
185
+ };
186
+ imgClass: {
187
+ type: StringConstructor;
188
+ default: string;
189
+ };
190
+ class: {
191
+ type: PropType<any>;
192
+ default: () => "";
193
+ };
194
+ ui: {
195
+ type: PropType<Partial<{
196
+ wrapper: string;
197
+ background: string;
198
+ rounded: string;
199
+ text: string;
200
+ placeholder: string;
201
+ size: {
202
+ '3xs': string;
203
+ '2xs': string;
204
+ xs: string;
205
+ sm: string;
206
+ md: string;
207
+ lg: string;
208
+ xl: string;
209
+ '2xl': string;
210
+ '3xl': string;
211
+ };
212
+ chip: {
213
+ base: string;
214
+ background: string;
215
+ position: {
216
+ 'top-right': string;
217
+ 'bottom-right': string;
218
+ 'top-left': string;
219
+ 'bottom-left': string;
220
+ };
221
+ size: {
222
+ '3xs': string;
223
+ '2xs': string;
224
+ xs: string;
225
+ sm: string;
226
+ md: string;
227
+ lg: string;
228
+ xl: string;
229
+ '2xl': string;
230
+ '3xl': string;
231
+ };
232
+ };
233
+ icon: {
234
+ base: string;
235
+ size: {
236
+ '3xs': string;
237
+ '2xs': string;
238
+ xs: string;
239
+ sm: string;
240
+ md: string;
241
+ lg: string;
242
+ xl: string;
243
+ '2xl': string;
244
+ '3xl': string;
245
+ };
246
+ };
247
+ default: {
248
+ size: string;
249
+ icon: any;
250
+ chipColor: any;
251
+ chipPosition: string;
252
+ };
253
+ }> & {
254
+ strategy?: import("../../types/utils").Strategy;
255
+ }>;
256
+ default: () => {};
257
+ };
258
+ }>, {
259
+ ui: import("vue").ComputedRef<{
260
+ wrapper: string;
261
+ background: string;
262
+ rounded: string;
263
+ text: string;
264
+ placeholder: string;
265
+ size: {
266
+ '3xs': string;
267
+ '2xs': string;
268
+ xs: string;
269
+ sm: string;
270
+ md: string;
271
+ lg: string;
272
+ xl: string;
273
+ '2xl': string;
274
+ '3xl': string;
275
+ };
276
+ chip: {
277
+ base: string;
278
+ background: string;
279
+ position: {
280
+ 'top-right': string;
281
+ 'bottom-right': string;
282
+ 'top-left': string;
283
+ 'bottom-left': string;
284
+ };
285
+ size: {
286
+ '3xs': string;
287
+ '2xs': string;
288
+ xs: string;
289
+ sm: string;
290
+ md: string;
291
+ lg: string;
292
+ xl: string;
293
+ '2xl': string;
294
+ '3xl': string;
295
+ };
296
+ };
297
+ icon: {
298
+ base: string;
299
+ size: {
300
+ '3xs': string;
301
+ '2xs': string;
302
+ xs: string;
303
+ sm: string;
304
+ md: string;
305
+ lg: string;
306
+ xl: string;
307
+ '2xl': string;
308
+ '3xl': string;
309
+ };
310
+ };
311
+ default: {
312
+ size: string;
313
+ icon: any;
314
+ chipColor: any;
315
+ chipPosition: string;
316
+ };
317
+ }>;
318
+ attrs: import("vue").ComputedRef<Pick<{
319
+ [x: string]: unknown;
320
+ }, string>>;
321
+ wrapperClass: import("vue").ComputedRef<string>;
322
+ imgClass: import("vue").ComputedRef<string>;
323
+ iconClass: import("vue").ComputedRef<string>;
324
+ chipClass: import("vue").ComputedRef<string>;
325
+ url: import("vue").ComputedRef<string>;
326
+ placeholder: import("vue").ComputedRef<string>;
327
+ error: import("vue").Ref<boolean, boolean>;
328
+ onError: () => void;
329
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
330
+ as: {
331
+ type: (StringConstructor | ObjectConstructor)[];
332
+ default: string;
333
+ };
334
+ src: {
335
+ type: (StringConstructor | BooleanConstructor)[];
336
+ default: any;
337
+ };
338
+ alt: {
339
+ type: StringConstructor;
340
+ default: any;
341
+ };
342
+ text: {
343
+ type: StringConstructor;
344
+ default: any;
345
+ };
346
+ icon: {
347
+ type: StringConstructor;
348
+ default: () => any;
349
+ };
350
+ size: {
351
+ type: PropType<import("../../types/avatar").AvatarSize>;
352
+ default: () => string;
353
+ validator(value: string): boolean;
354
+ };
355
+ chipColor: {
356
+ type: PropType<import("../../types/avatar").AvatarChipColor>;
357
+ default: () => any;
358
+ validator(value: string): boolean;
359
+ };
360
+ chipPosition: {
361
+ type: PropType<import("../../types/avatar").AvatarChipPosition>;
362
+ default: () => string;
363
+ validator(value: string): boolean;
364
+ };
365
+ chipText: {
366
+ type: (StringConstructor | NumberConstructor)[];
367
+ default: any;
368
+ };
369
+ imgClass: {
370
+ type: StringConstructor;
371
+ default: string;
372
+ };
373
+ class: {
374
+ type: PropType<any>;
375
+ default: () => "";
376
+ };
377
+ ui: {
378
+ type: PropType<Partial<{
379
+ wrapper: string;
380
+ background: string;
381
+ rounded: string;
382
+ text: string;
383
+ placeholder: string;
384
+ size: {
385
+ '3xs': string;
386
+ '2xs': string;
387
+ xs: string;
388
+ sm: string;
389
+ md: string;
390
+ lg: string;
391
+ xl: string;
392
+ '2xl': string;
393
+ '3xl': string;
394
+ };
395
+ chip: {
396
+ base: string;
397
+ background: string;
398
+ position: {
399
+ 'top-right': string;
400
+ 'bottom-right': string;
401
+ 'top-left': string;
402
+ 'bottom-left': string;
403
+ };
404
+ size: {
405
+ '3xs': string;
406
+ '2xs': string;
407
+ xs: string;
408
+ sm: string;
409
+ md: string;
410
+ lg: string;
411
+ xl: string;
412
+ '2xl': string;
413
+ '3xl': string;
414
+ };
415
+ };
416
+ icon: {
417
+ base: string;
418
+ size: {
419
+ '3xs': string;
420
+ '2xs': string;
421
+ xs: string;
422
+ sm: string;
423
+ md: string;
424
+ lg: string;
425
+ xl: string;
426
+ '2xl': string;
427
+ '3xl': string;
428
+ };
429
+ };
430
+ default: {
431
+ size: string;
432
+ icon: any;
433
+ chipColor: any;
434
+ chipPosition: string;
435
+ };
436
+ }> & {
437
+ strategy?: import("../../types/utils").Strategy;
438
+ }>;
439
+ default: () => {};
440
+ };
441
+ }>> & Readonly<{}>, {
442
+ size: import("../../types/avatar").AvatarSize;
443
+ class: any;
444
+ as: string | Record<string, any>;
445
+ text: string;
446
+ alt: string;
447
+ ui: {};
448
+ icon: string;
449
+ src: string | boolean;
450
+ chipColor: import("../../types/avatar").AvatarChipColor;
451
+ chipPosition: "top-right" | "bottom-right" | "top-left" | "bottom-left";
452
+ chipText: string | number;
453
+ imgClass: string;
454
+ }, {}, {
455
+ UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
456
+ name: {
457
+ type: StringConstructor;
458
+ required: true;
459
+ };
460
+ mode: {
461
+ type: PropType<"svg" | "css">;
462
+ required: false;
463
+ default: any;
464
+ };
465
+ size: {
466
+ type: (StringConstructor | NumberConstructor)[];
467
+ required: false;
468
+ default: any;
469
+ };
470
+ customize: {
471
+ type: FunctionConstructor;
472
+ required: false;
473
+ default: any;
474
+ };
475
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
476
+ name: {
477
+ type: StringConstructor;
478
+ required: true;
479
+ };
480
+ mode: {
481
+ type: PropType<"svg" | "css">;
482
+ required: false;
483
+ default: any;
484
+ };
485
+ size: {
486
+ type: (StringConstructor | NumberConstructor)[];
487
+ required: false;
488
+ default: any;
489
+ };
490
+ customize: {
491
+ type: FunctionConstructor;
492
+ required: false;
493
+ default: any;
494
+ };
495
+ }>> & Readonly<{}>, {
496
+ mode: "svg" | "css";
497
+ size: string | number;
498
+ customize: Function;
499
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
500
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
501
+ UKbd: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
502
+ value: {
503
+ type: StringConstructor;
504
+ default: any;
505
+ };
506
+ size: {
507
+ type: PropType<import("../../types/kbd").KbdSize>;
508
+ default: () => string;
509
+ validator(value: string): boolean;
510
+ };
511
+ class: {
512
+ type: PropType<any>;
513
+ default: () => "";
514
+ };
515
+ ui: {
516
+ type: PropType<Partial<{
517
+ base: string;
518
+ padding: string;
519
+ size: {
520
+ xs: string;
521
+ sm: string;
522
+ md: string;
523
+ };
524
+ rounded: string;
525
+ font: string;
526
+ background: string;
527
+ ring: string;
528
+ default: {
529
+ size: string;
530
+ };
531
+ }> & {
532
+ strategy?: import("../../types/utils").Strategy;
533
+ }>;
534
+ default: () => {};
535
+ };
536
+ }>, {
537
+ ui: import("vue").ComputedRef<{
538
+ base: string;
539
+ padding: string;
540
+ size: {
541
+ xs: string;
542
+ sm: string;
543
+ md: string;
544
+ };
545
+ rounded: string;
546
+ font: string;
547
+ background: string;
548
+ ring: string;
549
+ default: {
550
+ size: string;
551
+ };
552
+ }>;
553
+ attrs: import("vue").ComputedRef<Pick<{
554
+ [x: string]: unknown;
555
+ }, string>>;
556
+ kbdClass: import("vue").ComputedRef<string>;
557
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
558
+ value: {
559
+ type: StringConstructor;
560
+ default: any;
561
+ };
562
+ size: {
563
+ type: PropType<import("../../types/kbd").KbdSize>;
564
+ default: () => string;
565
+ validator(value: string): boolean;
566
+ };
567
+ class: {
568
+ type: PropType<any>;
569
+ default: () => "";
570
+ };
571
+ ui: {
572
+ type: PropType<Partial<{
573
+ base: string;
574
+ padding: string;
575
+ size: {
576
+ xs: string;
577
+ sm: string;
578
+ md: string;
579
+ };
580
+ rounded: string;
581
+ font: string;
582
+ background: string;
583
+ ring: string;
584
+ default: {
585
+ size: string;
586
+ };
587
+ }> & {
588
+ strategy?: import("../../types/utils").Strategy;
589
+ }>;
590
+ default: () => {};
591
+ };
592
+ }>> & Readonly<{}>, {
593
+ size: import("../../types/kbd").KbdSize;
594
+ class: any;
595
+ ui: {};
596
+ value: string;
597
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
598
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
60
599
  export default _default;