@nuxt/ui 2.18.5 → 2.18.6

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 (56) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +1 -1
  3. package/dist/runtime/components/data/Table.vue +3 -3
  4. package/dist/runtime/components/data/Table.vue.d.ts +281 -17
  5. package/dist/runtime/components/elements/Accordion.vue.d.ts +119 -11
  6. package/dist/runtime/components/elements/Alert.vue.d.ts +203 -15
  7. package/dist/runtime/components/elements/Avatar.vue.d.ts +66 -4
  8. package/dist/runtime/components/elements/AvatarGroup.d.ts +7 -1
  9. package/dist/runtime/components/elements/Badge.vue.d.ts +40 -4
  10. package/dist/runtime/components/elements/Button.vue.d.ts +91 -8
  11. package/dist/runtime/components/elements/ButtonGroup.d.ts +103 -2
  12. package/dist/runtime/components/elements/Carousel.vue.d.ts +121 -11
  13. package/dist/runtime/components/elements/Chip.vue.d.ts +41 -4
  14. package/dist/runtime/components/elements/Dropdown.vue.d.ts +152 -10
  15. package/dist/runtime/components/elements/Kbd.vue.d.ts +23 -4
  16. package/dist/runtime/components/elements/Link.vue.d.ts +2 -2
  17. package/dist/runtime/components/elements/Meter.vue.d.ts +83 -4
  18. package/dist/runtime/components/elements/MeterGroup.d.ts +54 -2
  19. package/dist/runtime/components/elements/Progress.vue.d.ts +81 -4
  20. package/dist/runtime/components/forms/Checkbox.vue.d.ts +25 -4
  21. package/dist/runtime/components/forms/FormGroup.vue.d.ts +32 -4
  22. package/dist/runtime/components/forms/Input.vue.d.ts +121 -5
  23. package/dist/runtime/components/forms/InputMenu.vue.d.ts +251 -11
  24. package/dist/runtime/components/forms/Radio.vue.d.ts +24 -4
  25. package/dist/runtime/components/forms/RadioGroup.vue.d.ts +61 -10
  26. package/dist/runtime/components/forms/Range.vue.d.ts +70 -4
  27. package/dist/runtime/components/forms/Select.vue.d.ts +117 -4
  28. package/dist/runtime/components/forms/SelectMenu.vue +1 -1
  29. package/dist/runtime/components/forms/SelectMenu.vue.d.ts +258 -11
  30. package/dist/runtime/components/forms/Textarea.vue.d.ts +120 -5
  31. package/dist/runtime/components/forms/Toggle.vue.d.ts +69 -4
  32. package/dist/runtime/components/layout/Card.vue.d.ts +30 -4
  33. package/dist/runtime/components/layout/Container.vue.d.ts +12 -4
  34. package/dist/runtime/components/layout/Divider.vue.d.ts +124 -8
  35. package/dist/runtime/components/layout/Skeleton.vue.d.ts +12 -4
  36. package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +29 -6
  37. package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +256 -18
  38. package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +87 -6
  39. package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +139 -12
  40. package/dist/runtime/components/navigation/Pagination.vue.d.ts +131 -11
  41. package/dist/runtime/components/navigation/Tabs.vue.d.ts +41 -4
  42. package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +269 -19
  43. package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +37 -4
  44. package/dist/runtime/components/overlays/Modal.vue +2 -2
  45. package/dist/runtime/components/overlays/Modal.vue.d.ts +50 -5
  46. package/dist/runtime/components/overlays/Notification.vue.d.ts +212 -15
  47. package/dist/runtime/components/overlays/Notifications.vue.d.ts +224 -18
  48. package/dist/runtime/components/overlays/Popover.vue.d.ts +53 -4
  49. package/dist/runtime/components/overlays/Slideover.vue +2 -2
  50. package/dist/runtime/components/overlays/Slideover.vue.d.ts +49 -5
  51. package/dist/runtime/components/overlays/Tooltip.vue.d.ts +65 -7
  52. package/dist/runtime/composables/useFormGroup.js +1 -1
  53. package/dist/runtime/composables/useUI.d.ts +2 -2
  54. package/dist/runtime/composables/useUI.js +1 -1
  55. package/dist/runtime/ui.config/navigation/tabs.js +1 -1
  56. package/package.json +4 -4
@@ -1,6 +1,6 @@
1
1
  import type { ComputedRef, PropType, ComponentPublicInstance } from 'vue';
2
2
  import type { UseFuseOptions } from '@vueuse/integrations/useFuse';
3
- import type { Group, Command, Button, Strategy } from '../../types/index.js';
3
+ import type { Group, Command, Button, Strategy, DeepPartial } from '../../types/index.js';
4
4
  import { commandPalette } from '#ui/ui.config';
5
5
  declare const config: {
6
6
  wrapper: string;
@@ -163,7 +163,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
163
163
  default: () => string;
164
164
  };
165
165
  ui: {
166
- type: PropType<Partial<typeof config> & {
166
+ type: PropType<DeepPartial<typeof config> & {
167
167
  strategy?: Strategy;
168
168
  }>;
169
169
  default: () => {};
@@ -353,7 +353,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
353
353
  default: () => string;
354
354
  };
355
355
  ui: {
356
- type: PropType<Partial<typeof config> & {
356
+ type: PropType<DeepPartial<typeof config> & {
357
357
  strategy?: Strategy;
358
358
  }>;
359
359
  default: () => {};
@@ -363,7 +363,81 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
363
363
  "onUpdate:modelValue"?: (...args: any[]) => any;
364
364
  }>, {
365
365
  class: any;
366
- ui: {};
366
+ ui: {
367
+ wrapper?: string;
368
+ container?: string;
369
+ input?: DeepPartial<{
370
+ wrapper: string;
371
+ base: string;
372
+ padding: string;
373
+ height: string;
374
+ size: string;
375
+ icon: {
376
+ base: string;
377
+ loading: string;
378
+ size: string;
379
+ padding: string;
380
+ };
381
+ closeButton: {
382
+ base: string;
383
+ padding: string;
384
+ };
385
+ }, any>;
386
+ emptyState?: DeepPartial<{
387
+ wrapper: string;
388
+ label: string;
389
+ queryLabel: string;
390
+ icon: string;
391
+ }, any>;
392
+ group?: DeepPartial<{
393
+ wrapper: string;
394
+ label: string;
395
+ container: string;
396
+ command: {
397
+ base: string;
398
+ active: string;
399
+ inactive: string;
400
+ label: string;
401
+ prefix: string;
402
+ suffix: string;
403
+ container: string;
404
+ icon: {
405
+ base: string;
406
+ active: string;
407
+ inactive: string;
408
+ };
409
+ selectedIcon: {
410
+ base: string;
411
+ };
412
+ avatar: {
413
+ base: string;
414
+ size: "2xs";
415
+ };
416
+ chip: {
417
+ base: string;
418
+ };
419
+ disabled: string;
420
+ shortcuts: string;
421
+ };
422
+ active: string;
423
+ inactive: string;
424
+ }, any>;
425
+ default?: DeepPartial<{
426
+ icon: string;
427
+ loadingIcon: string;
428
+ emptyState: {
429
+ icon: string;
430
+ label: string;
431
+ queryLabel: string;
432
+ };
433
+ closeButton: any;
434
+ selectedIcon: string;
435
+ }, any>;
436
+ } & {
437
+ [key: string]: any;
438
+ } & {
439
+ strategy?: Strategy;
440
+ };
367
441
  icon: string;
368
442
  closeButton: Button;
369
443
  modelValue: string | number | Record<string, any> | unknown[];
@@ -386,7 +460,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
386
460
  groups: Group[];
387
461
  autoselect: boolean;
388
462
  autoclear: boolean;
389
- fuse: {};
463
+ fuse: UseFuseOptions<Command>;
390
464
  }, {}, {
391
465
  HCombobox: import("vue").DefineComponent<{
392
466
  as: {
@@ -739,7 +813,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
739
813
  default: () => "";
740
814
  };
741
815
  ui: {
742
- type: PropType<Partial<{
816
+ type: PropType<DeepPartial<{
743
817
  base: string;
744
818
  font: string;
745
819
  rounded: string;
@@ -1058,7 +1132,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1058
1132
  default: () => "";
1059
1133
  };
1060
1134
  ui: {
1061
- type: PropType<Partial<{
1135
+ type: PropType<DeepPartial<{
1062
1136
  base: string;
1063
1137
  font: string;
1064
1138
  rounded: string;
@@ -1211,7 +1285,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1211
1285
  type: string;
1212
1286
  size: import("../../types/button").ButtonSize;
1213
1287
  class: any;
1214
- to: any;
1288
+ to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1215
1289
  disabled: boolean;
1216
1290
  truncate: boolean;
1217
1291
  target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
@@ -1227,10 +1301,93 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1227
1301
  leading: boolean;
1228
1302
  color: import("../../types/button").ButtonColor;
1229
1303
  variant: import("../../types/button").ButtonVariant;
1230
- href: any;
1304
+ href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1231
1305
  rel: any;
1232
1306
  label: string;
1233
- ui: {};
1307
+ ui: {
1308
+ base?: string;
1309
+ font?: string;
1310
+ rounded?: string;
1311
+ truncate?: string;
1312
+ block?: string;
1313
+ inline?: string;
1314
+ size?: DeepPartial<{
1315
+ '2xs': string;
1316
+ xs: string;
1317
+ sm: string;
1318
+ md: string;
1319
+ lg: string;
1320
+ xl: string;
1321
+ }, any>;
1322
+ gap?: DeepPartial<{
1323
+ '2xs': string;
1324
+ xs: string;
1325
+ sm: string;
1326
+ md: string;
1327
+ lg: string;
1328
+ xl: string;
1329
+ }, any>;
1330
+ padding?: DeepPartial<{
1331
+ '2xs': string;
1332
+ xs: string;
1333
+ sm: string;
1334
+ md: string;
1335
+ lg: string;
1336
+ xl: string;
1337
+ }, any>;
1338
+ square?: DeepPartial<{
1339
+ '2xs': string;
1340
+ xs: string;
1341
+ sm: string;
1342
+ md: string;
1343
+ lg: string;
1344
+ xl: string;
1345
+ }, any>;
1346
+ color?: DeepPartial<{
1347
+ white: {
1348
+ solid: string;
1349
+ ghost: string;
1350
+ };
1351
+ gray: {
1352
+ solid: string;
1353
+ ghost: string;
1354
+ link: string;
1355
+ };
1356
+ black: {
1357
+ solid: string;
1358
+ link: string;
1359
+ };
1360
+ }, any>;
1361
+ variant?: DeepPartial<{
1362
+ solid: string;
1363
+ outline: string;
1364
+ soft: string;
1365
+ ghost: string;
1366
+ link: string;
1367
+ }, any>;
1368
+ icon?: DeepPartial<{
1369
+ base: string;
1370
+ loading: string;
1371
+ size: {
1372
+ '2xs': string;
1373
+ xs: string;
1374
+ sm: string;
1375
+ md: string;
1376
+ lg: string;
1377
+ xl: string;
1378
+ };
1379
+ }, any>;
1380
+ default?: DeepPartial<{
1381
+ size: string;
1382
+ variant: string;
1383
+ color: string;
1384
+ loadingIcon: string;
1385
+ }, any>;
1386
+ } & {
1387
+ [key: string]: any;
1388
+ } & {
1389
+ strategy?: Strategy;
1390
+ };
1234
1391
  icon: string;
1235
1392
  block: boolean;
1236
1393
  square: boolean;
@@ -1489,7 +1646,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1489
1646
  };
1490
1647
  }>> & Readonly<{}>, {
1491
1648
  type: string;
1492
- to: any;
1649
+ to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1493
1650
  disabled: boolean;
1494
1651
  target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
1495
1652
  activeClass: string;
@@ -1507,7 +1664,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1507
1664
  exactQuery: boolean;
1508
1665
  exactHash: boolean;
1509
1666
  inactiveClass: string;
1510
- href: any;
1667
+ href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1511
1668
  rel: any;
1512
1669
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1513
1670
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1702,7 +1859,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1702
1859
  default: () => "";
1703
1860
  };
1704
1861
  ui: {
1705
- type: PropType<Partial<{
1862
+ type: PropType<DeepPartial<{
1706
1863
  wrapper: string;
1707
1864
  background: string;
1708
1865
  rounded: string;
@@ -1885,7 +2042,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1885
2042
  default: () => "";
1886
2043
  };
1887
2044
  ui: {
1888
- type: PropType<Partial<{
2045
+ type: PropType<DeepPartial<{
1889
2046
  wrapper: string;
1890
2047
  background: string;
1891
2048
  rounded: string;
@@ -1954,7 +2111,69 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1954
2111
  as: string | Record<string, any>;
1955
2112
  text: string;
1956
2113
  alt: string;
1957
- ui: {};
2114
+ ui: {
2115
+ wrapper?: string;
2116
+ background?: string;
2117
+ rounded?: string;
2118
+ text?: string;
2119
+ placeholder?: string;
2120
+ size?: DeepPartial<{
2121
+ '3xs': string;
2122
+ '2xs': string;
2123
+ xs: string;
2124
+ sm: string;
2125
+ md: string;
2126
+ lg: string;
2127
+ xl: string;
2128
+ '2xl': string;
2129
+ '3xl': string;
2130
+ }, any>;
2131
+ chip?: DeepPartial<{
2132
+ base: string;
2133
+ background: string;
2134
+ position: {
2135
+ 'top-right': string;
2136
+ 'bottom-right': string;
2137
+ 'top-left': string;
2138
+ 'bottom-left': string;
2139
+ };
2140
+ size: {
2141
+ '3xs': string;
2142
+ '2xs': string;
2143
+ xs: string;
2144
+ sm: string;
2145
+ md: string;
2146
+ lg: string;
2147
+ xl: string;
2148
+ '2xl': string;
2149
+ '3xl': string;
2150
+ };
2151
+ }, any>;
2152
+ icon?: DeepPartial<{
2153
+ base: string;
2154
+ size: {
2155
+ '3xs': string;
2156
+ '2xs': string;
2157
+ xs: string;
2158
+ sm: string;
2159
+ md: string;
2160
+ lg: string;
2161
+ xl: string;
2162
+ '2xl': string;
2163
+ '3xl': string;
2164
+ };
2165
+ }, any>;
2166
+ default?: DeepPartial<{
2167
+ size: string;
2168
+ icon: any;
2169
+ chipColor: any;
2170
+ chipPosition: string;
2171
+ }, any>;
2172
+ } & {
2173
+ [key: string]: any;
2174
+ } & {
2175
+ strategy?: Strategy;
2176
+ };
1958
2177
  icon: string;
1959
2178
  src: string | boolean;
1960
2179
  chipColor: import("../../types/avatar").AvatarChipColor;
@@ -2023,7 +2242,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2023
2242
  default: () => "";
2024
2243
  };
2025
2244
  ui: {
2026
- type: PropType<Partial<{
2245
+ type: PropType<DeepPartial<{
2027
2246
  base: string;
2028
2247
  padding: string;
2029
2248
  size: {
@@ -2079,7 +2298,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2079
2298
  default: () => "";
2080
2299
  };
2081
2300
  ui: {
2082
- type: PropType<Partial<{
2301
+ type: PropType<DeepPartial<{
2083
2302
  base: string;
2084
2303
  padding: string;
2085
2304
  size: {
@@ -2102,7 +2321,26 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2102
2321
  }>> & Readonly<{}>, {
2103
2322
  size: import("../../types/kbd").KbdSize;
2104
2323
  class: any;
2105
- ui: {};
2324
+ ui: {
2325
+ base?: string;
2326
+ padding?: string;
2327
+ size?: DeepPartial<{
2328
+ xs: string;
2329
+ sm: string;
2330
+ md: string;
2331
+ }, any>;
2332
+ rounded?: string;
2333
+ font?: string;
2334
+ background?: string;
2335
+ ring?: string;
2336
+ default?: DeepPartial<{
2337
+ size: string;
2338
+ }, any>;
2339
+ } & {
2340
+ [key: string]: any;
2341
+ } & {
2342
+ strategy?: Strategy;
2343
+ };
2106
2344
  value: string;
2107
2345
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2108
2346
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -192,7 +192,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
192
192
  default: () => "";
193
193
  };
194
194
  ui: {
195
- type: PropType<Partial<{
195
+ type: PropType<import("../../types/utils").DeepPartial<{
196
196
  wrapper: string;
197
197
  background: string;
198
198
  rounded: string;
@@ -375,7 +375,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
375
375
  default: () => "";
376
376
  };
377
377
  ui: {
378
- type: PropType<Partial<{
378
+ type: PropType<import("../../types/utils").DeepPartial<{
379
379
  wrapper: string;
380
380
  background: string;
381
381
  rounded: string;
@@ -444,7 +444,69 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
444
444
  as: string | Record<string, any>;
445
445
  text: string;
446
446
  alt: string;
447
- ui: {};
447
+ ui: {
448
+ wrapper?: string;
449
+ background?: string;
450
+ rounded?: string;
451
+ text?: string;
452
+ placeholder?: string;
453
+ size?: import("../../types/utils").DeepPartial<{
454
+ '3xs': string;
455
+ '2xs': string;
456
+ xs: string;
457
+ sm: string;
458
+ md: string;
459
+ lg: string;
460
+ xl: string;
461
+ '2xl': string;
462
+ '3xl': string;
463
+ }, any>;
464
+ chip?: import("../../types/utils").DeepPartial<{
465
+ base: string;
466
+ background: string;
467
+ position: {
468
+ 'top-right': string;
469
+ 'bottom-right': string;
470
+ 'top-left': string;
471
+ 'bottom-left': string;
472
+ };
473
+ size: {
474
+ '3xs': string;
475
+ '2xs': string;
476
+ xs: string;
477
+ sm: string;
478
+ md: string;
479
+ lg: string;
480
+ xl: string;
481
+ '2xl': string;
482
+ '3xl': string;
483
+ };
484
+ }, any>;
485
+ icon?: import("../../types/utils").DeepPartial<{
486
+ base: string;
487
+ size: {
488
+ '3xs': string;
489
+ '2xs': string;
490
+ xs: string;
491
+ sm: string;
492
+ md: string;
493
+ lg: string;
494
+ xl: string;
495
+ '2xl': string;
496
+ '3xl': string;
497
+ };
498
+ }, any>;
499
+ default?: import("../../types/utils").DeepPartial<{
500
+ size: string;
501
+ icon: any;
502
+ chipColor: any;
503
+ chipPosition: string;
504
+ }, any>;
505
+ } & {
506
+ [key: string]: any;
507
+ } & {
508
+ strategy?: import("../../types/utils").Strategy;
509
+ };
448
510
  icon: string;
449
511
  src: string | boolean;
450
512
  chipColor: import("../../types/avatar").AvatarChipColor;
@@ -513,7 +575,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
513
575
  default: () => "";
514
576
  };
515
577
  ui: {
516
- type: PropType<Partial<{
578
+ type: PropType<import("../../types/utils").DeepPartial<{
517
579
  base: string;
518
580
  padding: string;
519
581
  size: {
@@ -569,7 +631,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
569
631
  default: () => "";
570
632
  };
571
633
  ui: {
572
- type: PropType<Partial<{
634
+ type: PropType<import("../../types/utils").DeepPartial<{
573
635
  base: string;
574
636
  padding: string;
575
637
  size: {
@@ -592,7 +654,26 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
592
654
  }>> & Readonly<{}>, {
593
655
  size: import("../../types/kbd").KbdSize;
594
656
  class: any;
595
- ui: {};
657
+ ui: {
658
+ base?: string;
659
+ padding?: string;
660
+ size?: import("../../types/utils").DeepPartial<{
661
+ xs: string;
662
+ sm: string;
663
+ md: string;
664
+ }, any>;
665
+ rounded?: string;
666
+ font?: string;
667
+ background?: string;
668
+ ring?: string;
669
+ default?: import("../../types/utils").DeepPartial<{
670
+ size: string;
671
+ }, any>;
672
+ } & {
673
+ [key: string]: any;
674
+ } & {
675
+ strategy?: import("../../types/utils").Strategy;
676
+ };
596
677
  value: string;
597
678
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
598
679
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;