@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
@@ -6,6 +6,7 @@ declare const config: {
6
6
  inner: string;
7
7
  title: string;
8
8
  description: string;
9
+ descriptionOnly: string;
9
10
  actions: string;
10
11
  background: string;
11
12
  shadow: string;
@@ -19,7 +20,7 @@ declare const config: {
19
20
  };
20
21
  avatar: {
21
22
  base: string;
22
- size: import("../../types/avatar").AvatarSize;
23
+ size: import("../../types/avatar.js").AvatarSize;
23
24
  };
24
25
  progress: {
25
26
  base: string;
@@ -39,13 +40,13 @@ declare const config: {
39
40
  timeout: number;
40
41
  closeButton: {
41
42
  icon: string;
42
- color: import("../../types/button").ButtonColor;
43
- variant: import("../../types/button").ButtonVariant;
43
+ color: import("../../types/button.js").ButtonColor;
44
+ variant: import("../../types/button.js").ButtonVariant;
44
45
  padded: boolean;
45
46
  };
46
47
  actionButton: {
47
- size: import("../../types/button").ButtonSize;
48
- color: import("../../types/button").ButtonColor;
48
+ size: import("../../types/button.js").ButtonSize;
49
+ color: import("../../types/button.js").ButtonColor;
49
50
  };
50
51
  };
51
52
  };
@@ -112,6 +113,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
112
113
  inner: string;
113
114
  title: string;
114
115
  description: string;
116
+ descriptionOnly: string;
115
117
  actions: string;
116
118
  background: string;
117
119
  shadow: string;
@@ -125,7 +127,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
125
127
  };
126
128
  avatar: {
127
129
  base: string;
128
- size: import("../../types/avatar").AvatarSize;
130
+ size: import("../../types/avatar.js").AvatarSize;
129
131
  };
130
132
  progress: {
131
133
  base: string;
@@ -145,13 +147,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
145
147
  timeout: number;
146
148
  closeButton: {
147
149
  icon: string;
148
- color: import("../../types/button").ButtonColor;
149
- variant: import("../../types/button").ButtonVariant;
150
+ color: import("../../types/button.js").ButtonColor;
151
+ variant: import("../../types/button.js").ButtonVariant;
150
152
  padded: boolean;
151
153
  };
152
154
  actionButton: {
153
- size: import("../../types/button").ButtonSize;
154
- color: import("../../types/button").ButtonColor;
155
+ size: import("../../types/button.js").ButtonSize;
156
+ color: import("../../types/button.js").ButtonColor;
155
157
  };
156
158
  };
157
159
  }>;
@@ -228,14 +230,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
228
230
  }>> & Readonly<{
229
231
  onClose?: (...args: any[]) => any;
230
232
  }>, {
231
- class: any;
232
- timeout: number;
233
233
  ui: {
234
234
  wrapper?: string;
235
235
  container?: string;
236
236
  inner?: string;
237
237
  title?: string;
238
238
  description?: string;
239
+ descriptionOnly?: string;
239
240
  actions?: string;
240
241
  background?: string;
241
242
  shadow?: string;
@@ -249,7 +250,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
249
250
  }, any>;
250
251
  avatar?: DeepPartial<{
251
252
  base: string;
252
- size: import("../../types/avatar").AvatarSize;
253
+ size: import("../../types/avatar.js").AvatarSize;
253
254
  }, any>;
254
255
  progress?: DeepPartial<{
255
256
  base: string;
@@ -269,13 +270,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
269
270
  timeout: number;
270
271
  closeButton: {
271
272
  icon: string;
272
- color: import("../../types/button").ButtonColor;
273
- variant: import("../../types/button").ButtonVariant;
273
+ color: import("../../types/button.js").ButtonColor;
274
+ variant: import("../../types/button.js").ButtonVariant;
274
275
  padded: boolean;
275
276
  };
276
277
  actionButton: {
277
- size: import("../../types/button").ButtonSize;
278
- color: import("../../types/button").ButtonColor;
278
+ size: import("../../types/button.js").ButtonSize;
279
+ color: import("../../types/button.js").ButtonColor;
279
280
  };
280
281
  }, any>;
281
282
  } & {
@@ -289,8 +290,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
289
290
  description: string;
290
291
  icon: string;
291
292
  closeButton: Button;
293
+ timeout: number;
292
294
  actions: NotificationAction[];
293
295
  callback: Function;
296
+ class: any;
294
297
  pauseTimeoutOnHover: boolean;
295
298
  }, {}, {
296
299
  UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -360,17 +363,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
360
363
  default: () => any;
361
364
  };
362
365
  size: {
363
- type: PropType<import("../../types/avatar").AvatarSize>;
366
+ type: PropType<import("../../types/avatar.js").AvatarSize>;
364
367
  default: () => string;
365
368
  validator(value: string): boolean;
366
369
  };
367
370
  chipColor: {
368
- type: PropType<import("../../types/avatar").AvatarChipColor>;
371
+ type: PropType<import("../../types/avatar.js").AvatarChipColor>;
369
372
  default: () => any;
370
373
  validator(value: string): boolean;
371
374
  };
372
375
  chipPosition: {
373
- type: PropType<import("../../types/avatar").AvatarChipPosition>;
376
+ type: PropType<import("../../types/avatar.js").AvatarChipPosition>;
374
377
  default: () => string;
375
378
  validator(value: string): boolean;
376
379
  };
@@ -543,17 +546,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
543
546
  default: () => any;
544
547
  };
545
548
  size: {
546
- type: PropType<import("../../types/avatar").AvatarSize>;
549
+ type: PropType<import("../../types/avatar.js").AvatarSize>;
547
550
  default: () => string;
548
551
  validator(value: string): boolean;
549
552
  };
550
553
  chipColor: {
551
- type: PropType<import("../../types/avatar").AvatarChipColor>;
554
+ type: PropType<import("../../types/avatar.js").AvatarChipColor>;
552
555
  default: () => any;
553
556
  validator(value: string): boolean;
554
557
  };
555
558
  chipPosition: {
556
- type: PropType<import("../../types/avatar").AvatarChipPosition>;
559
+ type: PropType<import("../../types/avatar.js").AvatarChipPosition>;
557
560
  default: () => string;
558
561
  validator(value: string): boolean;
559
562
  };
@@ -634,8 +637,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
634
637
  default: () => {};
635
638
  };
636
639
  }>> & Readonly<{}>, {
637
- size: import("../../types/avatar").AvatarSize;
638
- class: any;
640
+ size: import("../../types/avatar.js").AvatarSize;
639
641
  ui: {
640
642
  wrapper?: string;
641
643
  background?: string;
@@ -700,11 +702,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
700
702
  strategy?: Strategy;
701
703
  };
702
704
  as: string | Record<string, any>;
703
- text: string;
704
705
  alt: string;
705
706
  icon: string;
707
+ class: any;
708
+ text: string;
706
709
  src: string | boolean;
707
- chipColor: import("../../types/avatar").AvatarChipColor;
710
+ chipColor: import("../../types/avatar.js").AvatarChipColor;
708
711
  chipPosition: "top-right" | "bottom-right" | "top-left" | "bottom-left";
709
712
  chipText: string | number;
710
713
  imgClass: string;
@@ -781,17 +784,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
781
784
  default: boolean;
782
785
  };
783
786
  size: {
784
- type: PropType<import("../../types/button").ButtonSize>;
787
+ type: PropType<import("../../types/button.js").ButtonSize>;
785
788
  default: () => string;
786
789
  validator(value: string): boolean;
787
790
  };
788
791
  color: {
789
- type: PropType<import("../../types/button").ButtonColor>;
792
+ type: PropType<import("../../types/button.js").ButtonColor>;
790
793
  default: () => string;
791
794
  validator(value: string): boolean;
792
795
  };
793
796
  variant: {
794
- type: PropType<import("../../types/button").ButtonVariant>;
797
+ type: PropType<import("../../types/button.js").ButtonVariant>;
795
798
  default: () => string;
796
799
  validator(value: string): boolean;
797
800
  };
@@ -1100,17 +1103,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1100
1103
  default: boolean;
1101
1104
  };
1102
1105
  size: {
1103
- type: PropType<import("../../types/button").ButtonSize>;
1106
+ type: PropType<import("../../types/button.js").ButtonSize>;
1104
1107
  default: () => string;
1105
1108
  validator(value: string): boolean;
1106
1109
  };
1107
1110
  color: {
1108
- type: PropType<import("../../types/button").ButtonColor>;
1111
+ type: PropType<import("../../types/button.js").ButtonColor>;
1109
1112
  default: () => string;
1110
1113
  validator(value: string): boolean;
1111
1114
  };
1112
1115
  variant: {
1113
- type: PropType<import("../../types/button").ButtonVariant>;
1116
+ type: PropType<import("../../types/button.js").ButtonVariant>;
1114
1117
  default: () => string;
1115
1118
  validator(value: string): boolean;
1116
1119
  };
@@ -1302,10 +1305,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1302
1305
  };
1303
1306
  }>> & Readonly<{}>, {
1304
1307
  type: string;
1305
- size: import("../../types/button").ButtonSize;
1306
- class: any;
1307
- to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1308
- disabled: boolean;
1308
+ size: import("../../types/button.js").ButtonSize;
1309
1309
  ui: {
1310
1310
  base?: string;
1311
1311
  font?: string;
@@ -1390,10 +1390,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1390
1390
  } & {
1391
1391
  strategy?: Strategy;
1392
1392
  };
1393
- color: import("../../types/button").ButtonColor;
1394
- variant: import("../../types/button").ButtonVariant;
1393
+ color: import("../../types/button.js").ButtonColor;
1394
+ variant: import("../../types/button.js").ButtonVariant;
1395
1395
  truncate: boolean;
1396
1396
  target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
1397
+ to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1397
1398
  activeClass: string;
1398
1399
  exactActiveClass: string;
1399
1400
  ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
@@ -1404,12 +1405,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1404
1405
  prefetchedClass: string;
1405
1406
  external: boolean;
1406
1407
  leading: boolean;
1408
+ disabled: boolean;
1407
1409
  href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1408
1410
  rel: any;
1409
- label: string;
1410
1411
  icon: string;
1412
+ class: any;
1411
1413
  block: boolean;
1412
1414
  square: boolean;
1415
+ label: string;
1413
1416
  loading: boolean;
1414
1417
  padded: boolean;
1415
1418
  loadingIcon: string;
@@ -1665,9 +1668,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1665
1668
  };
1666
1669
  }>> & Readonly<{}>, {
1667
1670
  type: string;
1668
- to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1669
- disabled: boolean;
1670
1671
  target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
1672
+ to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1671
1673
  activeClass: string;
1672
1674
  exactActiveClass: string;
1673
1675
  ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
@@ -1678,6 +1680,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1678
1680
  prefetchedClass: string;
1679
1681
  external: boolean;
1680
1682
  as: string;
1683
+ disabled: boolean;
1681
1684
  active: boolean;
1682
1685
  exact: boolean;
1683
1686
  exactQuery: boolean | "partial";