@nuxt/ui 2.21.0 → 2.22.0

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 (85) hide show
  1. package/README.md +19 -14
  2. package/dist/module.d.mts +6 -1
  3. package/dist/module.json +3 -3
  4. package/dist/module.mjs +6 -12
  5. package/dist/runtime/components/data/Table.vue +19 -24
  6. package/dist/runtime/components/data/Table.vue.d.ts +44 -348
  7. package/dist/runtime/components/elements/Accordion.vue +4 -4
  8. package/dist/runtime/components/elements/Accordion.vue.d.ts +16 -16
  9. package/dist/runtime/components/elements/Alert.vue +7 -7
  10. package/dist/runtime/components/elements/Alert.vue.d.ts +41 -38
  11. package/dist/runtime/components/elements/Avatar.vue.d.ts +2 -2
  12. package/dist/runtime/components/elements/Badge.vue.d.ts +2 -2
  13. package/dist/runtime/components/elements/Button.vue.d.ts +6 -6
  14. package/dist/runtime/components/elements/Carousel.vue +3 -3
  15. package/dist/runtime/components/elements/Carousel.vue.d.ts +22 -22
  16. package/dist/runtime/components/elements/Chip.vue.d.ts +1 -1
  17. package/dist/runtime/components/elements/Dropdown.vue +1 -1
  18. package/dist/runtime/components/elements/Dropdown.vue.d.ts +19 -19
  19. package/dist/runtime/components/elements/Kbd.vue.d.ts +1 -1
  20. package/dist/runtime/components/elements/Link.vue +13 -11
  21. package/dist/runtime/components/elements/Link.vue.d.ts +2 -2
  22. package/dist/runtime/components/elements/Meter.vue +1 -1
  23. package/dist/runtime/components/elements/Meter.vue.d.ts +3 -3
  24. package/dist/runtime/components/elements/Progress.vue +1 -1
  25. package/dist/runtime/components/elements/Progress.vue.d.ts +5 -5
  26. package/dist/runtime/components/forms/Checkbox.vue.d.ts +3 -3
  27. package/dist/runtime/components/forms/Form.vue +8 -30
  28. package/dist/runtime/components/forms/Form.vue.d.ts +7 -8
  29. package/dist/runtime/components/forms/FormGroup.vue.d.ts +2 -2
  30. package/dist/runtime/components/forms/Input.vue +3 -3
  31. package/dist/runtime/components/forms/Input.vue.d.ts +3 -3
  32. package/dist/runtime/components/forms/InputMenu.vue +3 -3
  33. package/dist/runtime/components/forms/InputMenu.vue.d.ts +16 -16
  34. package/dist/runtime/components/forms/Radio.vue.d.ts +3 -3
  35. package/dist/runtime/components/forms/RadioGroup.vue.d.ts +6 -6
  36. package/dist/runtime/components/forms/Range.vue.d.ts +3 -3
  37. package/dist/runtime/components/forms/Select.vue +2 -2
  38. package/dist/runtime/components/forms/Select.vue.d.ts +2 -2
  39. package/dist/runtime/components/forms/SelectMenu.vue +10 -5
  40. package/dist/runtime/components/forms/SelectMenu.vue.d.ts +25 -16
  41. package/dist/runtime/components/forms/Textarea.vue.d.ts +3 -3
  42. package/dist/runtime/components/forms/Toggle.vue.d.ts +2 -2
  43. package/dist/runtime/components/layout/Card.vue.d.ts +1 -1
  44. package/dist/runtime/components/layout/Container.vue.d.ts +1 -1
  45. package/dist/runtime/components/layout/Divider.vue.d.ts +15 -15
  46. package/dist/runtime/components/layout/Skeleton.vue.d.ts +1 -1
  47. package/dist/runtime/components/navigation/Breadcrumb.vue +1 -1
  48. package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +3 -3
  49. package/dist/runtime/components/navigation/CommandPalette.vue +1 -1
  50. package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +33 -33
  51. package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +30 -30
  52. package/dist/runtime/components/navigation/HorizontalNavigation.vue +5 -5
  53. package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +36 -36
  54. package/dist/runtime/components/navigation/Pagination.vue +5 -5
  55. package/dist/runtime/components/navigation/Pagination.vue.d.ts +34 -34
  56. package/dist/runtime/components/navigation/Tabs.vue.d.ts +1 -1
  57. package/dist/runtime/components/navigation/VerticalNavigation.vue +5 -5
  58. package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +58 -58
  59. package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +1 -1
  60. package/dist/runtime/components/overlays/Modal.vue +6 -6
  61. package/dist/runtime/components/overlays/Modal.vue.d.ts +3 -3
  62. package/dist/runtime/components/overlays/Modals.client.vue +5 -7
  63. package/dist/runtime/components/overlays/Modals.client.vue.d.ts +2 -0
  64. package/dist/runtime/components/overlays/Notification.vue +6 -6
  65. package/dist/runtime/components/overlays/Notification.vue.d.ts +45 -42
  66. package/dist/runtime/components/overlays/Notifications.vue.d.ts +71 -67
  67. package/dist/runtime/components/overlays/Popover.vue.d.ts +2 -2
  68. package/dist/runtime/components/overlays/Slideover.vue.d.ts +3 -3
  69. package/dist/runtime/components/overlays/Slideovers.client.vue +5 -7
  70. package/dist/runtime/components/overlays/Slideovers.client.vue.d.ts +2 -0
  71. package/dist/runtime/components/overlays/Tooltip.vue.d.ts +5 -5
  72. package/dist/runtime/composables/useFormGroup.d.ts +1 -1
  73. package/dist/runtime/composables/useShortcuts.d.ts +2 -2
  74. package/dist/runtime/composables/useToast.d.ts +4 -4
  75. package/dist/runtime/ui.config/elements/alert.d.ts +1 -0
  76. package/dist/runtime/ui.config/elements/alert.js +1 -0
  77. package/dist/runtime/ui.config/forms/selectMenu.d.ts +1 -1
  78. package/dist/runtime/ui.config/overlays/notification.d.ts +1 -0
  79. package/dist/runtime/ui.config/overlays/notification.js +1 -0
  80. package/dist/runtime/utils/link.js +4 -2
  81. package/dist/types.d.mts +3 -1
  82. package/package.json +64 -38
  83. package/dist/module.cjs +0 -5
  84. package/dist/module.d.ts +0 -36
  85. package/dist/types.d.ts +0 -1
@@ -44,7 +44,7 @@ declare const config: {
44
44
  };
45
45
  avatar: {
46
46
  base: string;
47
- size: import("../../types/avatar").AvatarSize;
47
+ size: import("../../types/avatar.js").AvatarSize;
48
48
  };
49
49
  label: string;
50
50
  default: {
@@ -135,7 +135,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
135
135
  };
136
136
  avatar: {
137
137
  base: string;
138
- size: import("../../types/avatar").AvatarSize;
138
+ size: import("../../types/avatar.js").AvatarSize;
139
139
  };
140
140
  label: string;
141
141
  default: {
@@ -190,7 +190,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
190
190
  }>> & Readonly<{}>, {
191
191
  type: "solid" | "dotted" | "dashed";
192
192
  size: DividerSize;
193
- class: any;
194
193
  ui: {
195
194
  wrapper?: DeepPartial<{
196
195
  base: string;
@@ -235,7 +234,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
235
234
  }, any>;
236
235
  avatar?: DeepPartial<{
237
236
  base: string;
238
- size: import("../../types/avatar").AvatarSize;
237
+ size: import("../../types/avatar.js").AvatarSize;
239
238
  }, any>;
240
239
  label?: string;
241
240
  default?: DeepPartial<{
@@ -248,9 +247,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
248
247
  strategy?: Strategy;
249
248
  };
250
249
  avatar: Avatar;
251
- label: string;
252
250
  orientation: "horizontal" | "vertical";
253
251
  icon: string;
252
+ class: any;
253
+ label: string;
254
254
  }, {}, {
255
255
  UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
256
256
  name: {
@@ -319,17 +319,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
319
319
  default: () => any;
320
320
  };
321
321
  size: {
322
- type: PropType<import("../../types/avatar").AvatarSize>;
322
+ type: PropType<import("../../types/avatar.js").AvatarSize>;
323
323
  default: () => string;
324
324
  validator(value: string): boolean;
325
325
  };
326
326
  chipColor: {
327
- type: PropType<import("../../types/avatar").AvatarChipColor>;
327
+ type: PropType<import("../../types/avatar.js").AvatarChipColor>;
328
328
  default: () => any;
329
329
  validator(value: string): boolean;
330
330
  };
331
331
  chipPosition: {
332
- type: PropType<import("../../types/avatar").AvatarChipPosition>;
332
+ type: PropType<import("../../types/avatar.js").AvatarChipPosition>;
333
333
  default: () => string;
334
334
  validator(value: string): boolean;
335
335
  };
@@ -502,17 +502,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
502
502
  default: () => any;
503
503
  };
504
504
  size: {
505
- type: PropType<import("../../types/avatar").AvatarSize>;
505
+ type: PropType<import("../../types/avatar.js").AvatarSize>;
506
506
  default: () => string;
507
507
  validator(value: string): boolean;
508
508
  };
509
509
  chipColor: {
510
- type: PropType<import("../../types/avatar").AvatarChipColor>;
510
+ type: PropType<import("../../types/avatar.js").AvatarChipColor>;
511
511
  default: () => any;
512
512
  validator(value: string): boolean;
513
513
  };
514
514
  chipPosition: {
515
- type: PropType<import("../../types/avatar").AvatarChipPosition>;
515
+ type: PropType<import("../../types/avatar.js").AvatarChipPosition>;
516
516
  default: () => string;
517
517
  validator(value: string): boolean;
518
518
  };
@@ -593,8 +593,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
593
593
  default: () => {};
594
594
  };
595
595
  }>> & Readonly<{}>, {
596
- size: import("../../types/avatar").AvatarSize;
597
- class: any;
596
+ size: import("../../types/avatar.js").AvatarSize;
598
597
  ui: {
599
598
  wrapper?: string;
600
599
  background?: string;
@@ -659,11 +658,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
659
658
  strategy?: Strategy;
660
659
  };
661
660
  as: string | Record<string, any>;
662
- text: string;
663
661
  alt: string;
664
662
  icon: string;
663
+ class: any;
664
+ text: string;
665
665
  src: string | boolean;
666
- chipColor: import("../../types/avatar").AvatarChipColor;
666
+ chipColor: import("../../types/avatar.js").AvatarChipColor;
667
667
  chipPosition: "top-right" | "bottom-right" | "top-left" | "bottom-left";
668
668
  chipText: string | number;
669
669
  imgClass: string;
@@ -46,7 +46,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
46
46
  default: () => {};
47
47
  };
48
48
  }>> & Readonly<{}>, {
49
- class: any;
50
49
  ui: {
51
50
  base?: string;
52
51
  background?: string;
@@ -57,5 +56,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
57
56
  strategy?: Strategy;
58
57
  };
59
58
  as: string;
59
+ class: any;
60
60
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
61
61
  export default _default;
@@ -5,7 +5,7 @@
5
5
  <ULink
6
6
  as="span"
7
7
  :class="[ui.base, index === links.length - 1 ? ui.active : !!link.to ? ui.inactive : '']"
8
- :aria-current="index === links.length - 1 ? 'page' : undefined"
8
+ :aria-current="index === links.length - 1 ? 'page' : void 0"
9
9
  v-bind="getULinkProps(link)"
10
10
  @click="link.click"
11
11
  >
@@ -87,7 +87,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
87
87
  default: () => {};
88
88
  };
89
89
  }>> & Readonly<{}>, {
90
- class: any;
91
90
  ui: {
92
91
  wrapper?: string;
93
92
  ol?: string;
@@ -112,6 +111,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
112
111
  } & {
113
112
  strategy?: Strategy;
114
113
  };
114
+ class: any;
115
115
  divider: string;
116
116
  links: BreadcrumbLink[];
117
117
  }, {}, {
@@ -363,9 +363,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
363
363
  };
364
364
  }>> & Readonly<{}>, {
365
365
  type: string;
366
- to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
367
- disabled: boolean;
368
366
  target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
367
+ to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
369
368
  activeClass: string;
370
369
  exactActiveClass: string;
371
370
  ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
@@ -376,6 +375,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
376
375
  prefetchedClass: string;
377
376
  external: boolean;
378
377
  as: string;
378
+ disabled: boolean;
379
379
  active: boolean;
380
380
  exact: boolean;
381
381
  exactQuery: boolean | "partial";
@@ -21,7 +21,7 @@
21
21
  @change="query = $event.target.value"
22
22
  />
23
23
 
24
- <UButton v-if="closeButton" aria-label="Close" v-bind="{ ...(ui.default.closeButton || {}), ...closeButton }" :class="ui.input.closeButton.base" @click="onClear" />
24
+ <UButton v-if="closeButton" aria-label="Close" v-bind="{ ...ui.default.closeButton || {}, ...closeButton }" :class="ui.input.closeButton.base" @click="onClear" />
25
25
  </div>
26
26
 
27
27
  <HComboboxOptions
@@ -50,7 +50,7 @@ declare const config: {
50
50
  };
51
51
  avatar: {
52
52
  base: string;
53
- size: import("../../types/avatar").AvatarSize;
53
+ size: import("../../types/avatar.js").AvatarSize;
54
54
  };
55
55
  chip: {
56
56
  base: string;
@@ -217,7 +217,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
217
217
  };
218
218
  avatar: {
219
219
  base: string;
220
- size: import("../../types/avatar").AvatarSize;
220
+ size: import("../../types/avatar.js").AvatarSize;
221
221
  };
222
222
  chip: {
223
223
  base: string;
@@ -362,7 +362,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
362
362
  onClose?: (...args: any[]) => any;
363
363
  "onUpdate:modelValue"?: (...args: any[]) => any;
364
364
  }>, {
365
- class: any;
366
365
  ui: {
367
366
  wrapper?: string;
368
367
  container?: string;
@@ -411,7 +410,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
411
410
  };
412
411
  avatar: {
413
412
  base: string;
414
- size: import("../../types/avatar").AvatarSize;
413
+ size: import("../../types/avatar.js").AvatarSize;
415
414
  };
416
415
  chip: {
417
416
  base: string;
@@ -440,6 +439,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
440
439
  };
441
440
  icon: string;
442
441
  closeButton: Button;
442
+ class: any;
443
443
  modelValue: string | number | Record<string, any> | unknown[];
444
444
  loading: boolean;
445
445
  loadingIcon: string;
@@ -762,17 +762,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
762
762
  default: boolean;
763
763
  };
764
764
  size: {
765
- type: PropType<import("../../types/button").ButtonSize>;
765
+ type: PropType<import("../../types/button.js").ButtonSize>;
766
766
  default: () => string;
767
767
  validator(value: string): boolean;
768
768
  };
769
769
  color: {
770
- type: PropType<import("../../types/button").ButtonColor>;
770
+ type: PropType<import("../../types/button.js").ButtonColor>;
771
771
  default: () => string;
772
772
  validator(value: string): boolean;
773
773
  };
774
774
  variant: {
775
- type: PropType<import("../../types/button").ButtonVariant>;
775
+ type: PropType<import("../../types/button.js").ButtonVariant>;
776
776
  default: () => string;
777
777
  validator(value: string): boolean;
778
778
  };
@@ -1081,17 +1081,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1081
1081
  default: boolean;
1082
1082
  };
1083
1083
  size: {
1084
- type: PropType<import("../../types/button").ButtonSize>;
1084
+ type: PropType<import("../../types/button.js").ButtonSize>;
1085
1085
  default: () => string;
1086
1086
  validator(value: string): boolean;
1087
1087
  };
1088
1088
  color: {
1089
- type: PropType<import("../../types/button").ButtonColor>;
1089
+ type: PropType<import("../../types/button.js").ButtonColor>;
1090
1090
  default: () => string;
1091
1091
  validator(value: string): boolean;
1092
1092
  };
1093
1093
  variant: {
1094
- type: PropType<import("../../types/button").ButtonVariant>;
1094
+ type: PropType<import("../../types/button.js").ButtonVariant>;
1095
1095
  default: () => string;
1096
1096
  validator(value: string): boolean;
1097
1097
  };
@@ -1283,10 +1283,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1283
1283
  };
1284
1284
  }>> & Readonly<{}>, {
1285
1285
  type: string;
1286
- size: import("../../types/button").ButtonSize;
1287
- class: any;
1288
- to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1289
- disabled: boolean;
1286
+ size: import("../../types/button.js").ButtonSize;
1290
1287
  ui: {
1291
1288
  base?: string;
1292
1289
  font?: string;
@@ -1371,10 +1368,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1371
1368
  } & {
1372
1369
  strategy?: Strategy;
1373
1370
  };
1374
- color: import("../../types/button").ButtonColor;
1375
- variant: import("../../types/button").ButtonVariant;
1371
+ color: import("../../types/button.js").ButtonColor;
1372
+ variant: import("../../types/button.js").ButtonVariant;
1376
1373
  truncate: boolean;
1377
1374
  target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
1375
+ to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1378
1376
  activeClass: string;
1379
1377
  exactActiveClass: string;
1380
1378
  ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
@@ -1385,12 +1383,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1385
1383
  prefetchedClass: string;
1386
1384
  external: boolean;
1387
1385
  leading: boolean;
1386
+ disabled: boolean;
1388
1387
  href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1389
1388
  rel: any;
1390
- label: string;
1391
1389
  icon: string;
1390
+ class: any;
1392
1391
  block: boolean;
1393
1392
  square: boolean;
1393
+ label: string;
1394
1394
  loading: boolean;
1395
1395
  padded: boolean;
1396
1396
  loadingIcon: string;
@@ -1646,9 +1646,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1646
1646
  };
1647
1647
  }>> & Readonly<{}>, {
1648
1648
  type: string;
1649
- to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1650
- disabled: boolean;
1651
1649
  target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
1650
+ to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1652
1651
  activeClass: string;
1653
1652
  exactActiveClass: string;
1654
1653
  ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
@@ -1659,6 +1658,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1659
1658
  prefetchedClass: string;
1660
1659
  external: boolean;
1661
1660
  as: string;
1661
+ disabled: boolean;
1662
1662
  active: boolean;
1663
1663
  exact: boolean;
1664
1664
  exactQuery: boolean | "partial";
@@ -1832,17 +1832,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1832
1832
  default: () => any;
1833
1833
  };
1834
1834
  size: {
1835
- type: PropType<import("../../types/avatar").AvatarSize>;
1835
+ type: PropType<import("../../types/avatar.js").AvatarSize>;
1836
1836
  default: () => string;
1837
1837
  validator(value: string): boolean;
1838
1838
  };
1839
1839
  chipColor: {
1840
- type: PropType<import("../../types/avatar").AvatarChipColor>;
1840
+ type: PropType<import("../../types/avatar.js").AvatarChipColor>;
1841
1841
  default: () => any;
1842
1842
  validator(value: string): boolean;
1843
1843
  };
1844
1844
  chipPosition: {
1845
- type: PropType<import("../../types/avatar").AvatarChipPosition>;
1845
+ type: PropType<import("../../types/avatar.js").AvatarChipPosition>;
1846
1846
  default: () => string;
1847
1847
  validator(value: string): boolean;
1848
1848
  };
@@ -2015,17 +2015,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2015
2015
  default: () => any;
2016
2016
  };
2017
2017
  size: {
2018
- type: PropType<import("../../types/avatar").AvatarSize>;
2018
+ type: PropType<import("../../types/avatar.js").AvatarSize>;
2019
2019
  default: () => string;
2020
2020
  validator(value: string): boolean;
2021
2021
  };
2022
2022
  chipColor: {
2023
- type: PropType<import("../../types/avatar").AvatarChipColor>;
2023
+ type: PropType<import("../../types/avatar.js").AvatarChipColor>;
2024
2024
  default: () => any;
2025
2025
  validator(value: string): boolean;
2026
2026
  };
2027
2027
  chipPosition: {
2028
- type: PropType<import("../../types/avatar").AvatarChipPosition>;
2028
+ type: PropType<import("../../types/avatar.js").AvatarChipPosition>;
2029
2029
  default: () => string;
2030
2030
  validator(value: string): boolean;
2031
2031
  };
@@ -2106,8 +2106,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2106
2106
  default: () => {};
2107
2107
  };
2108
2108
  }>> & Readonly<{}>, {
2109
- size: import("../../types/avatar").AvatarSize;
2110
- class: any;
2109
+ size: import("../../types/avatar.js").AvatarSize;
2111
2110
  ui: {
2112
2111
  wrapper?: string;
2113
2112
  background?: string;
@@ -2172,11 +2171,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2172
2171
  strategy?: Strategy;
2173
2172
  };
2174
2173
  as: string | Record<string, any>;
2175
- text: string;
2176
2174
  alt: string;
2177
2175
  icon: string;
2176
+ class: any;
2177
+ text: string;
2178
2178
  src: string | boolean;
2179
- chipColor: import("../../types/avatar").AvatarChipColor;
2179
+ chipColor: import("../../types/avatar.js").AvatarChipColor;
2180
2180
  chipPosition: "top-right" | "bottom-right" | "top-left" | "bottom-left";
2181
2181
  chipText: string | number;
2182
2182
  imgClass: string;
@@ -2233,7 +2233,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2233
2233
  default: any;
2234
2234
  };
2235
2235
  size: {
2236
- type: PropType<import("../../types/kbd").KbdSize>;
2236
+ type: PropType<import("../../types/kbd.js").KbdSize>;
2237
2237
  default: () => string;
2238
2238
  validator(value: string): boolean;
2239
2239
  };
@@ -2289,7 +2289,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2289
2289
  default: any;
2290
2290
  };
2291
2291
  size: {
2292
- type: PropType<import("../../types/kbd").KbdSize>;
2292
+ type: PropType<import("../../types/kbd.js").KbdSize>;
2293
2293
  default: () => string;
2294
2294
  validator(value: string): boolean;
2295
2295
  };
@@ -2319,8 +2319,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2319
2319
  default: () => {};
2320
2320
  };
2321
2321
  }>> & Readonly<{}>, {
2322
- size: import("../../types/kbd").KbdSize;
2323
- class: any;
2322
+ size: import("../../types/kbd.js").KbdSize;
2324
2323
  ui: {
2325
2324
  base?: string;
2326
2325
  padding?: string;
@@ -2341,6 +2340,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2341
2340
  } & {
2342
2341
  strategy?: Strategy;
2343
2342
  };
2343
+ class: any;
2344
2344
  value: string;
2345
2345
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2346
2346
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -165,17 +165,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
165
165
  default: () => any;
166
166
  };
167
167
  size: {
168
- type: PropType<import("../../types/avatar").AvatarSize>;
168
+ type: PropType<import("../../types/avatar.js").AvatarSize>;
169
169
  default: () => string;
170
170
  validator(value: string): boolean;
171
171
  };
172
172
  chipColor: {
173
- type: PropType<import("../../types/avatar").AvatarChipColor>;
173
+ type: PropType<import("../../types/avatar.js").AvatarChipColor>;
174
174
  default: () => any;
175
175
  validator(value: string): boolean;
176
176
  };
177
177
  chipPosition: {
178
- type: PropType<import("../../types/avatar").AvatarChipPosition>;
178
+ type: PropType<import("../../types/avatar.js").AvatarChipPosition>;
179
179
  default: () => string;
180
180
  validator(value: string): boolean;
181
181
  };
@@ -192,7 +192,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
192
192
  default: () => "";
193
193
  };
194
194
  ui: {
195
- type: PropType<import("../../types/utils").DeepPartial<{
195
+ type: PropType<import("../../types/utils.js").DeepPartial<{
196
196
  wrapper: string;
197
197
  background: string;
198
198
  rounded: string;
@@ -251,7 +251,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
251
251
  chipPosition: string;
252
252
  };
253
253
  }> & {
254
- strategy?: import("../../types/utils").Strategy;
254
+ strategy?: import("../../types/utils.js").Strategy;
255
255
  }>;
256
256
  default: () => {};
257
257
  };
@@ -348,17 +348,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
348
348
  default: () => any;
349
349
  };
350
350
  size: {
351
- type: PropType<import("../../types/avatar").AvatarSize>;
351
+ type: PropType<import("../../types/avatar.js").AvatarSize>;
352
352
  default: () => string;
353
353
  validator(value: string): boolean;
354
354
  };
355
355
  chipColor: {
356
- type: PropType<import("../../types/avatar").AvatarChipColor>;
356
+ type: PropType<import("../../types/avatar.js").AvatarChipColor>;
357
357
  default: () => any;
358
358
  validator(value: string): boolean;
359
359
  };
360
360
  chipPosition: {
361
- type: PropType<import("../../types/avatar").AvatarChipPosition>;
361
+ type: PropType<import("../../types/avatar.js").AvatarChipPosition>;
362
362
  default: () => string;
363
363
  validator(value: string): boolean;
364
364
  };
@@ -375,7 +375,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
375
375
  default: () => "";
376
376
  };
377
377
  ui: {
378
- type: PropType<import("../../types/utils").DeepPartial<{
378
+ type: PropType<import("../../types/utils.js").DeepPartial<{
379
379
  wrapper: string;
380
380
  background: string;
381
381
  rounded: string;
@@ -434,20 +434,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
434
434
  chipPosition: string;
435
435
  };
436
436
  }> & {
437
- strategy?: import("../../types/utils").Strategy;
437
+ strategy?: import("../../types/utils.js").Strategy;
438
438
  }>;
439
439
  default: () => {};
440
440
  };
441
441
  }>> & Readonly<{}>, {
442
- size: import("../../types/avatar").AvatarSize;
443
- class: any;
442
+ size: import("../../types/avatar.js").AvatarSize;
444
443
  ui: {
445
444
  wrapper?: string;
446
445
  background?: string;
447
446
  rounded?: string;
448
447
  text?: string;
449
448
  placeholder?: string;
450
- size?: import("../../types/utils").DeepPartial<{
449
+ size?: import("../../types/utils.js").DeepPartial<{
451
450
  '3xs': string;
452
451
  '2xs': string;
453
452
  xs: string;
@@ -458,7 +457,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
458
457
  '2xl': string;
459
458
  '3xl': string;
460
459
  }, any>;
461
- chip?: import("../../types/utils").DeepPartial<{
460
+ chip?: import("../../types/utils.js").DeepPartial<{
462
461
  base: string;
463
462
  background: string;
464
463
  position: {
@@ -479,7 +478,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
479
478
  '3xl': string;
480
479
  };
481
480
  }, any>;
482
- icon?: import("../../types/utils").DeepPartial<{
481
+ icon?: import("../../types/utils.js").DeepPartial<{
483
482
  base: string;
484
483
  size: {
485
484
  '3xs': string;
@@ -493,7 +492,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
493
492
  '3xl': string;
494
493
  };
495
494
  }, any>;
496
- default?: import("../../types/utils").DeepPartial<{
495
+ default?: import("../../types/utils.js").DeepPartial<{
497
496
  size: string;
498
497
  icon: any;
499
498
  chipColor: any;
@@ -502,14 +501,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
502
501
  } & {
503
502
  [key: string]: any;
504
503
  } & {
505
- strategy?: import("../../types/utils").Strategy;
504
+ strategy?: import("../../types/utils.js").Strategy;
506
505
  };
507
506
  as: string | Record<string, any>;
508
- text: string;
509
507
  alt: string;
510
508
  icon: string;
509
+ class: any;
510
+ text: string;
511
511
  src: string | boolean;
512
- chipColor: import("../../types/avatar").AvatarChipColor;
512
+ chipColor: import("../../types/avatar.js").AvatarChipColor;
513
513
  chipPosition: "top-right" | "bottom-right" | "top-left" | "bottom-left";
514
514
  chipText: string | number;
515
515
  imgClass: string;
@@ -566,7 +566,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
566
566
  default: any;
567
567
  };
568
568
  size: {
569
- type: PropType<import("../../types/kbd").KbdSize>;
569
+ type: PropType<import("../../types/kbd.js").KbdSize>;
570
570
  default: () => string;
571
571
  validator(value: string): boolean;
572
572
  };
@@ -575,7 +575,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
575
575
  default: () => "";
576
576
  };
577
577
  ui: {
578
- type: PropType<import("../../types/utils").DeepPartial<{
578
+ type: PropType<import("../../types/utils.js").DeepPartial<{
579
579
  base: string;
580
580
  padding: string;
581
581
  size: {
@@ -591,7 +591,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
591
591
  size: string;
592
592
  };
593
593
  }> & {
594
- strategy?: import("../../types/utils").Strategy;
594
+ strategy?: import("../../types/utils.js").Strategy;
595
595
  }>;
596
596
  default: () => {};
597
597
  };
@@ -622,7 +622,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
622
622
  default: any;
623
623
  };
624
624
  size: {
625
- type: PropType<import("../../types/kbd").KbdSize>;
625
+ type: PropType<import("../../types/kbd.js").KbdSize>;
626
626
  default: () => string;
627
627
  validator(value: string): boolean;
628
628
  };
@@ -631,7 +631,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
631
631
  default: () => "";
632
632
  };
633
633
  ui: {
634
- type: PropType<import("../../types/utils").DeepPartial<{
634
+ type: PropType<import("../../types/utils.js").DeepPartial<{
635
635
  base: string;
636
636
  padding: string;
637
637
  size: {
@@ -647,17 +647,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
647
647
  size: string;
648
648
  };
649
649
  }> & {
650
- strategy?: import("../../types/utils").Strategy;
650
+ strategy?: import("../../types/utils.js").Strategy;
651
651
  }>;
652
652
  default: () => {};
653
653
  };
654
654
  }>> & Readonly<{}>, {
655
- size: import("../../types/kbd").KbdSize;
656
- class: any;
655
+ size: import("../../types/kbd.js").KbdSize;
657
656
  ui: {
658
657
  base?: string;
659
658
  padding?: string;
660
- size?: import("../../types/utils").DeepPartial<{
659
+ size?: import("../../types/utils.js").DeepPartial<{
661
660
  xs: string;
662
661
  sm: string;
663
662
  md: string;
@@ -666,14 +665,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
666
665
  font?: string;
667
666
  background?: string;
668
667
  ring?: string;
669
- default?: import("../../types/utils").DeepPartial<{
668
+ default?: import("../../types/utils.js").DeepPartial<{
670
669
  size: string;
671
670
  }, any>;
672
671
  } & {
673
672
  [key: string]: any;
674
673
  } & {
675
- strategy?: import("../../types/utils").Strategy;
674
+ strategy?: import("../../types/utils.js").Strategy;
676
675
  };
676
+ class: any;
677
677
  value: string;
678
678
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
679
679
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -37,11 +37,11 @@
37
37
  <UBadge
38
38
  v-if="link.badge"
39
39
  v-bind="{
40
- size: ui.badge.size,
41
- color: ui.badge.color,
42
- variant: ui.badge.variant,
43
- ...((typeof link.badge === 'string' || typeof link.badge === 'number') ? { label: link.badge } : link.badge)
44
- }"
40
+ size: ui.badge.size,
41
+ color: ui.badge.color,
42
+ variant: ui.badge.variant,
43
+ ...typeof link.badge === 'string' || typeof link.badge === 'number' ? { label: link.badge } : link.badge
44
+ }"
45
45
  :class="ui.badge.base"
46
46
  />
47
47
  </slot>