@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
@@ -18,13 +18,13 @@ declare const config: {
18
18
  };
19
19
  avatar: {
20
20
  base: string;
21
- size: import("../../types/avatar").AvatarSize;
21
+ size: import("../../types/avatar.js").AvatarSize;
22
22
  };
23
23
  badge: {
24
24
  base: string;
25
- color: import("../../types/badge").BadgeColor;
26
- variant: import("../../types/badge").BadgeVariant;
27
- size: import("../../types/badge").BadgeSize;
25
+ color: import("../../types/badge.js").BadgeColor;
26
+ variant: import("../../types/badge.js").BadgeVariant;
27
+ size: import("../../types/badge.js").BadgeSize;
28
28
  };
29
29
  };
30
30
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -60,13 +60,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
60
60
  };
61
61
  avatar: {
62
62
  base: string;
63
- size: import("../../types/avatar").AvatarSize;
63
+ size: import("../../types/avatar.js").AvatarSize;
64
64
  };
65
65
  badge: {
66
66
  base: string;
67
- color: import("../../types/badge").BadgeColor;
68
- variant: import("../../types/badge").BadgeVariant;
69
- size: import("../../types/badge").BadgeSize;
67
+ color: import("../../types/badge.js").BadgeColor;
68
+ variant: import("../../types/badge.js").BadgeVariant;
69
+ size: import("../../types/badge.js").BadgeSize;
70
70
  };
71
71
  }>;
72
72
  attrs: import("vue").ComputedRef<Pick<{
@@ -92,7 +92,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
92
92
  default: () => {};
93
93
  };
94
94
  }>> & Readonly<{}>, {
95
- class: any;
96
95
  ui: {
97
96
  wrapper?: string;
98
97
  container?: string;
@@ -110,19 +109,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
110
109
  }, any>;
111
110
  avatar?: DeepPartial<{
112
111
  base: string;
113
- size: import("../../types/avatar").AvatarSize;
112
+ size: import("../../types/avatar.js").AvatarSize;
114
113
  }, any>;
115
114
  badge?: DeepPartial<{
116
115
  base: string;
117
- color: import("../../types/badge").BadgeColor;
118
- variant: import("../../types/badge").BadgeVariant;
119
- size: import("../../types/badge").BadgeSize;
116
+ color: import("../../types/badge.js").BadgeColor;
117
+ variant: import("../../types/badge.js").BadgeVariant;
118
+ size: import("../../types/badge.js").BadgeSize;
120
119
  }, any>;
121
120
  } & {
122
121
  [key: string]: any;
123
122
  } & {
124
123
  strategy?: Strategy;
125
124
  };
125
+ class: any;
126
126
  links: HorizontalNavigationLink[] | HorizontalNavigationLink[][];
127
127
  }, {}, {
128
128
  UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -192,17 +192,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
192
192
  default: () => any;
193
193
  };
194
194
  size: {
195
- type: PropType<import("../../types/avatar").AvatarSize>;
195
+ type: PropType<import("../../types/avatar.js").AvatarSize>;
196
196
  default: () => string;
197
197
  validator(value: string): boolean;
198
198
  };
199
199
  chipColor: {
200
- type: PropType<import("../../types/avatar").AvatarChipColor>;
200
+ type: PropType<import("../../types/avatar.js").AvatarChipColor>;
201
201
  default: () => any;
202
202
  validator(value: string): boolean;
203
203
  };
204
204
  chipPosition: {
205
- type: PropType<import("../../types/avatar").AvatarChipPosition>;
205
+ type: PropType<import("../../types/avatar.js").AvatarChipPosition>;
206
206
  default: () => string;
207
207
  validator(value: string): boolean;
208
208
  };
@@ -375,17 +375,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
375
375
  default: () => any;
376
376
  };
377
377
  size: {
378
- type: PropType<import("../../types/avatar").AvatarSize>;
378
+ type: PropType<import("../../types/avatar.js").AvatarSize>;
379
379
  default: () => string;
380
380
  validator(value: string): boolean;
381
381
  };
382
382
  chipColor: {
383
- type: PropType<import("../../types/avatar").AvatarChipColor>;
383
+ type: PropType<import("../../types/avatar.js").AvatarChipColor>;
384
384
  default: () => any;
385
385
  validator(value: string): boolean;
386
386
  };
387
387
  chipPosition: {
388
- type: PropType<import("../../types/avatar").AvatarChipPosition>;
388
+ type: PropType<import("../../types/avatar.js").AvatarChipPosition>;
389
389
  default: () => string;
390
390
  validator(value: string): boolean;
391
391
  };
@@ -466,8 +466,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
466
466
  default: () => {};
467
467
  };
468
468
  }>> & Readonly<{}>, {
469
- size: import("../../types/avatar").AvatarSize;
470
- class: any;
469
+ size: import("../../types/avatar.js").AvatarSize;
471
470
  ui: {
472
471
  wrapper?: string;
473
472
  background?: string;
@@ -532,11 +531,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
532
531
  strategy?: Strategy;
533
532
  };
534
533
  as: string | Record<string, any>;
535
- text: string;
536
534
  alt: string;
537
535
  icon: string;
536
+ class: any;
537
+ text: string;
538
538
  src: string | boolean;
539
- chipColor: import("../../types/avatar").AvatarChipColor;
539
+ chipColor: import("../../types/avatar.js").AvatarChipColor;
540
540
  chipPosition: "top-right" | "bottom-right" | "top-left" | "bottom-left";
541
541
  chipText: string | number;
542
542
  imgClass: string;
@@ -589,17 +589,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
589
589
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
590
590
  UBadge: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
591
591
  size: {
592
- type: PropType<import("../../types/badge").BadgeSize>;
592
+ type: PropType<import("../../types/badge.js").BadgeSize>;
593
593
  default: () => string;
594
594
  validator(value: string): boolean;
595
595
  };
596
596
  color: {
597
- type: PropType<import("../../types/badge").BadgeColor>;
597
+ type: PropType<import("../../types/badge.js").BadgeColor>;
598
598
  default: () => string;
599
599
  validator(value: string): boolean;
600
600
  };
601
601
  variant: {
602
- type: PropType<import("../../types/badge").BadgeVariant>;
602
+ type: PropType<import("../../types/badge.js").BadgeVariant>;
603
603
  default: () => string;
604
604
  validator(value: string): boolean;
605
605
  };
@@ -697,17 +697,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
697
697
  trailingIconClass: import("vue").ComputedRef<string>;
698
698
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
699
699
  size: {
700
- type: PropType<import("../../types/badge").BadgeSize>;
700
+ type: PropType<import("../../types/badge.js").BadgeSize>;
701
701
  default: () => string;
702
702
  validator(value: string): boolean;
703
703
  };
704
704
  color: {
705
- type: PropType<import("../../types/badge").BadgeColor>;
705
+ type: PropType<import("../../types/badge.js").BadgeColor>;
706
706
  default: () => string;
707
707
  validator(value: string): boolean;
708
708
  };
709
709
  variant: {
710
- type: PropType<import("../../types/badge").BadgeVariant>;
710
+ type: PropType<import("../../types/badge.js").BadgeVariant>;
711
711
  default: () => string;
712
712
  validator(value: string): boolean;
713
713
  };
@@ -793,8 +793,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
793
793
  default: () => {};
794
794
  };
795
795
  }>> & Readonly<{}>, {
796
- size: import("../../types/badge").BadgeSize;
797
- class: any;
796
+ size: import("../../types/badge.js").BadgeSize;
798
797
  ui: {
799
798
  base?: string;
800
799
  rounded?: string;
@@ -847,11 +846,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
847
846
  } & {
848
847
  strategy?: Strategy;
849
848
  };
850
- color: import("../../types/badge").BadgeColor;
851
- variant: import("../../types/badge").BadgeVariant;
849
+ color: import("../../types/badge.js").BadgeColor;
850
+ variant: import("../../types/badge.js").BadgeVariant;
852
851
  leading: boolean;
853
- label: string | number;
854
852
  icon: string;
853
+ class: any;
854
+ label: string | number;
855
855
  leadingIcon: string;
856
856
  trailingIcon: string;
857
857
  trailing: boolean;
@@ -1105,9 +1105,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1105
1105
  };
1106
1106
  }>> & Readonly<{}>, {
1107
1107
  type: string;
1108
- to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1109
- disabled: boolean;
1110
1108
  target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
1109
+ to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1111
1110
  activeClass: string;
1112
1111
  exactActiveClass: string;
1113
1112
  ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
@@ -1118,6 +1117,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1118
1117
  prefetchedClass: string;
1119
1118
  external: boolean;
1120
1119
  as: string;
1120
+ disabled: boolean;
1121
1121
  active: boolean;
1122
1122
  exact: boolean;
1123
1123
  exactQuery: boolean | "partial";
@@ -7,7 +7,7 @@
7
7
  :to="to?.(1)"
8
8
  :disabled="!canGoFirstOrPrev || disabled"
9
9
  :class="[ui.base, ui.rounded]"
10
- v-bind="{ ...(ui.default.firstButton || {}), ...firstButton }"
10
+ v-bind="{ ...ui.default.firstButton || {}, ...firstButton }"
11
11
  :ui="{ rounded: '' }"
12
12
  aria-label="First"
13
13
  @click="onClickFirst"
@@ -21,7 +21,7 @@
21
21
  :to="to?.(currentPage - 1)"
22
22
  :disabled="!canGoFirstOrPrev || disabled"
23
23
  :class="[ui.base, ui.rounded]"
24
- v-bind="{ ...(ui.default.prevButton || {}), ...prevButton }"
24
+ v-bind="{ ...ui.default.prevButton || {}, ...prevButton }"
25
25
  :ui="{ rounded: '' }"
26
26
  aria-label="Prev"
27
27
  @click="onClickPrev"
@@ -35,7 +35,7 @@
35
35
  :size="size"
36
36
  :disabled="disabled"
37
37
  :label="`${page}`"
38
- v-bind="page === currentPage ? { ...(ui.default.activeButton || {}), ...activeButton } : { ...(ui.default.inactiveButton || {}), ...inactiveButton }"
38
+ v-bind="page === currentPage ? { ...ui.default.activeButton || {}, ...activeButton } : { ...ui.default.inactiveButton || {}, ...inactiveButton }"
39
39
  :class="[{ 'pointer-events-none': typeof page === 'string', 'z-[1]': page === currentPage }, ui.base, ui.rounded]"
40
40
  :ui="{ rounded: '' }"
41
41
  @click="() => onClickPage(page)"
@@ -48,7 +48,7 @@
48
48
  :to="to?.(currentPage + 1)"
49
49
  :disabled="!canGoLastOrNext || disabled"
50
50
  :class="[ui.base, ui.rounded]"
51
- v-bind="{ ...(ui.default.nextButton || {}), ...nextButton }"
51
+ v-bind="{ ...ui.default.nextButton || {}, ...nextButton }"
52
52
  :ui="{ rounded: '' }"
53
53
  aria-label="Next"
54
54
  @click="onClickNext"
@@ -62,7 +62,7 @@
62
62
  :to="to?.(pages.length)"
63
63
  :disabled="!canGoLastOrNext || disabled"
64
64
  :class="[ui.base, ui.rounded]"
65
- v-bind="{ ...(ui.default.lastButton || {}), ...lastButton }"
65
+ v-bind="{ ...ui.default.lastButton || {}, ...lastButton }"
66
66
  :ui="{ rounded: '' }"
67
67
  aria-label="Last"
68
68
  @click="onClickLast"
@@ -8,28 +8,28 @@ declare const config: {
8
8
  default: {
9
9
  size: string;
10
10
  activeButton: {
11
- color: import("../../types/button").ButtonColor;
11
+ color: import("../../types/button.js").ButtonColor;
12
12
  };
13
13
  inactiveButton: {
14
- color: import("../../types/button").ButtonColor;
14
+ color: import("../../types/button.js").ButtonColor;
15
15
  };
16
16
  firstButton: {
17
- color: import("../../types/button").ButtonColor;
17
+ color: import("../../types/button.js").ButtonColor;
18
18
  class: string;
19
19
  icon: string;
20
20
  };
21
21
  lastButton: {
22
- color: import("../../types/button").ButtonColor;
22
+ color: import("../../types/button.js").ButtonColor;
23
23
  class: string;
24
24
  icon: string;
25
25
  };
26
26
  prevButton: {
27
- color: import("../../types/button").ButtonColor;
27
+ color: import("../../types/button.js").ButtonColor;
28
28
  class: string;
29
29
  icon: string;
30
30
  };
31
31
  nextButton: {
32
- color: import("../../types/button").ButtonColor;
32
+ color: import("../../types/button.js").ButtonColor;
33
33
  class: string;
34
34
  icon: string;
35
35
  };
@@ -120,28 +120,28 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
120
120
  default: {
121
121
  size: string;
122
122
  activeButton: {
123
- color: import("../../types/button").ButtonColor;
123
+ color: import("../../types/button.js").ButtonColor;
124
124
  };
125
125
  inactiveButton: {
126
- color: import("../../types/button").ButtonColor;
126
+ color: import("../../types/button.js").ButtonColor;
127
127
  };
128
128
  firstButton: {
129
- color: import("../../types/button").ButtonColor;
129
+ color: import("../../types/button.js").ButtonColor;
130
130
  class: string;
131
131
  icon: string;
132
132
  };
133
133
  lastButton: {
134
- color: import("../../types/button").ButtonColor;
134
+ color: import("../../types/button.js").ButtonColor;
135
135
  class: string;
136
136
  icon: string;
137
137
  };
138
138
  prevButton: {
139
- color: import("../../types/button").ButtonColor;
139
+ color: import("../../types/button.js").ButtonColor;
140
140
  class: string;
141
141
  icon: string;
142
142
  };
143
143
  nextButton: {
144
- color: import("../../types/button").ButtonColor;
144
+ color: import("../../types/button.js").ButtonColor;
145
145
  class: string;
146
146
  icon: string;
147
147
  };
@@ -241,10 +241,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
241
241
  "onUpdate:modelValue"?: (...args: any[]) => any;
242
242
  }>, {
243
243
  size: ButtonSize;
244
- class: any;
245
- to: (page: number) => RouteLocationRaw;
246
- disabled: boolean;
247
- max: number;
248
244
  ui: {
249
245
  wrapper?: string;
250
246
  base?: string;
@@ -252,28 +248,28 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
252
248
  default?: DeepPartial<{
253
249
  size: string;
254
250
  activeButton: {
255
- color: import("../../types/button").ButtonColor;
251
+ color: import("../../types/button.js").ButtonColor;
256
252
  };
257
253
  inactiveButton: {
258
- color: import("../../types/button").ButtonColor;
254
+ color: import("../../types/button.js").ButtonColor;
259
255
  };
260
256
  firstButton: {
261
- color: import("../../types/button").ButtonColor;
257
+ color: import("../../types/button.js").ButtonColor;
262
258
  class: string;
263
259
  icon: string;
264
260
  };
265
261
  lastButton: {
266
- color: import("../../types/button").ButtonColor;
262
+ color: import("../../types/button.js").ButtonColor;
267
263
  class: string;
268
264
  icon: string;
269
265
  };
270
266
  prevButton: {
271
- color: import("../../types/button").ButtonColor;
267
+ color: import("../../types/button.js").ButtonColor;
272
268
  class: string;
273
269
  icon: string;
274
270
  };
275
271
  nextButton: {
276
- color: import("../../types/button").ButtonColor;
272
+ color: import("../../types/button.js").ButtonColor;
277
273
  class: string;
278
274
  icon: string;
279
275
  };
@@ -283,6 +279,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
283
279
  } & {
284
280
  strategy?: Strategy;
285
281
  };
282
+ to: (page: number) => RouteLocationRaw;
283
+ disabled: boolean;
284
+ class: any;
285
+ max: number;
286
286
  prevButton: Button;
287
287
  nextButton: Button;
288
288
  divider: string;
@@ -325,12 +325,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
325
325
  validator(value: string): boolean;
326
326
  };
327
327
  color: {
328
- type: PropType<import("../../types/button").ButtonColor>;
328
+ type: PropType<import("../../types/button.js").ButtonColor>;
329
329
  default: () => string;
330
330
  validator(value: string): boolean;
331
331
  };
332
332
  variant: {
333
- type: PropType<import("../../types/button").ButtonVariant>;
333
+ type: PropType<import("../../types/button.js").ButtonVariant>;
334
334
  default: () => string;
335
335
  validator(value: string): boolean;
336
336
  };
@@ -644,12 +644,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
644
644
  validator(value: string): boolean;
645
645
  };
646
646
  color: {
647
- type: PropType<import("../../types/button").ButtonColor>;
647
+ type: PropType<import("../../types/button.js").ButtonColor>;
648
648
  default: () => string;
649
649
  validator(value: string): boolean;
650
650
  };
651
651
  variant: {
652
- type: PropType<import("../../types/button").ButtonVariant>;
652
+ type: PropType<import("../../types/button.js").ButtonVariant>;
653
653
  default: () => string;
654
654
  validator(value: string): boolean;
655
655
  };
@@ -842,9 +842,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
842
842
  }>> & Readonly<{}>, {
843
843
  type: string;
844
844
  size: ButtonSize;
845
- class: any;
846
- to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
847
- disabled: boolean;
848
845
  ui: {
849
846
  base?: string;
850
847
  font?: string;
@@ -929,10 +926,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
929
926
  } & {
930
927
  strategy?: Strategy;
931
928
  };
932
- color: import("../../types/button").ButtonColor;
933
- variant: import("../../types/button").ButtonVariant;
929
+ color: import("../../types/button.js").ButtonColor;
930
+ variant: import("../../types/button.js").ButtonVariant;
934
931
  truncate: boolean;
935
932
  target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
933
+ to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
936
934
  activeClass: string;
937
935
  exactActiveClass: string;
938
936
  ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
@@ -943,12 +941,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
943
941
  prefetchedClass: string;
944
942
  external: boolean;
945
943
  leading: boolean;
944
+ disabled: boolean;
946
945
  href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
947
946
  rel: any;
948
- label: string;
949
947
  icon: string;
948
+ class: any;
950
949
  block: boolean;
951
950
  square: boolean;
951
+ label: string;
952
952
  loading: boolean;
953
953
  padded: boolean;
954
954
  loadingIcon: string;
@@ -1204,9 +1204,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1204
1204
  };
1205
1205
  }>> & Readonly<{}>, {
1206
1206
  type: string;
1207
- to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1208
- disabled: boolean;
1209
1207
  target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
1208
+ to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1210
1209
  activeClass: string;
1211
1210
  exactActiveClass: string;
1212
1211
  ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
@@ -1217,6 +1216,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1217
1216
  prefetchedClass: string;
1218
1217
  external: boolean;
1219
1218
  as: string;
1219
+ disabled: boolean;
1220
1220
  active: boolean;
1221
1221
  exact: boolean;
1222
1222
  exactQuery: boolean | "partial";
@@ -153,7 +153,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
153
153
  onChange?: (...args: any[]) => any;
154
154
  "onUpdate:modelValue"?: (...args: any[]) => any;
155
155
  }>, {
156
- class: any;
157
156
  ui: {
158
157
  wrapper?: string;
159
158
  container?: string;
@@ -194,6 +193,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
194
193
  };
195
194
  content: boolean;
196
195
  orientation: "horizontal" | "vertical";
196
+ class: any;
197
197
  modelValue: number;
198
198
  unmount: boolean;
199
199
  items: TabItem[];
@@ -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>