@nuxt/ui 2.21.1 → 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 (81) hide show
  1. package/README.md +22 -7
  2. package/dist/module.d.mts +2 -1
  3. package/dist/module.json +3 -3
  4. package/dist/module.mjs +2 -11
  5. package/dist/runtime/components/data/Table.vue +16 -13
  6. package/dist/runtime/components/data/Table.vue.d.ts +44 -347
  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 +6 -6
  10. package/dist/runtime/components/elements/Alert.vue.d.ts +38 -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 +7 -7
  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/MeterGroup.d.ts +1 -1
  25. package/dist/runtime/components/elements/Progress.vue +1 -1
  26. package/dist/runtime/components/elements/Progress.vue.d.ts +5 -5
  27. package/dist/runtime/components/forms/Checkbox.vue.d.ts +3 -3
  28. package/dist/runtime/components/forms/Form.vue +0 -45
  29. package/dist/runtime/components/forms/Form.vue.d.ts +3 -7
  30. package/dist/runtime/components/forms/FormGroup.vue.d.ts +2 -2
  31. package/dist/runtime/components/forms/Input.vue +3 -3
  32. package/dist/runtime/components/forms/Input.vue.d.ts +3 -3
  33. package/dist/runtime/components/forms/InputMenu.vue +2 -2
  34. package/dist/runtime/components/forms/InputMenu.vue.d.ts +16 -16
  35. package/dist/runtime/components/forms/Radio.vue.d.ts +3 -3
  36. package/dist/runtime/components/forms/RadioGroup.vue.d.ts +6 -6
  37. package/dist/runtime/components/forms/Range.vue.d.ts +3 -3
  38. package/dist/runtime/components/forms/Select.vue +2 -2
  39. package/dist/runtime/components/forms/Select.vue.d.ts +2 -2
  40. package/dist/runtime/components/forms/SelectMenu.vue +4 -4
  41. package/dist/runtime/components/forms/SelectMenu.vue.d.ts +16 -16
  42. package/dist/runtime/components/forms/Textarea.vue.d.ts +3 -3
  43. package/dist/runtime/components/forms/Toggle.vue.d.ts +2 -2
  44. package/dist/runtime/components/layout/Card.vue.d.ts +1 -1
  45. package/dist/runtime/components/layout/Container.vue.d.ts +1 -1
  46. package/dist/runtime/components/layout/Divider.vue.d.ts +15 -15
  47. package/dist/runtime/components/layout/Skeleton.vue.d.ts +1 -1
  48. package/dist/runtime/components/navigation/Breadcrumb.vue +1 -1
  49. package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +3 -3
  50. package/dist/runtime/components/navigation/CommandPalette.vue +1 -1
  51. package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +33 -33
  52. package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +30 -30
  53. package/dist/runtime/components/navigation/HorizontalNavigation.vue +5 -5
  54. package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +36 -36
  55. package/dist/runtime/components/navigation/Pagination.vue +5 -5
  56. package/dist/runtime/components/navigation/Pagination.vue.d.ts +34 -34
  57. package/dist/runtime/components/navigation/Tabs.vue.d.ts +1 -1
  58. package/dist/runtime/components/navigation/VerticalNavigation.vue +5 -5
  59. package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +58 -58
  60. package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +1 -1
  61. package/dist/runtime/components/overlays/Modal.vue +6 -6
  62. package/dist/runtime/components/overlays/Modal.vue.d.ts +3 -3
  63. package/dist/runtime/components/overlays/Modals.client.vue +5 -7
  64. package/dist/runtime/components/overlays/Modals.client.vue.d.ts +2 -0
  65. package/dist/runtime/components/overlays/Notification.vue +6 -6
  66. package/dist/runtime/components/overlays/Notification.vue.d.ts +42 -42
  67. package/dist/runtime/components/overlays/Notifications.vue.d.ts +67 -67
  68. package/dist/runtime/components/overlays/Popover.vue.d.ts +2 -2
  69. package/dist/runtime/components/overlays/Slideover.vue.d.ts +3 -3
  70. package/dist/runtime/components/overlays/Slideovers.client.vue +5 -7
  71. package/dist/runtime/components/overlays/Slideovers.client.vue.d.ts +2 -0
  72. package/dist/runtime/components/overlays/Tooltip.vue.d.ts +5 -5
  73. package/dist/runtime/composables/useFormGroup.d.ts +1 -1
  74. package/dist/runtime/composables/useToast.d.ts +4 -4
  75. package/dist/runtime/ui.config/forms/selectMenu.d.ts +1 -1
  76. package/dist/runtime/utils/link.js +4 -2
  77. package/dist/types.d.mts +3 -1
  78. package/package.json +60 -35
  79. package/dist/module.cjs +0 -5
  80. package/dist/module.d.ts +0 -40
  81. package/dist/types.d.ts +0 -1
@@ -33,13 +33,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
33
33
  title?: string;
34
34
  description?: string;
35
35
  icon?: string;
36
- avatar?: import("../../types/avatar").Avatar;
37
- closeButton?: import("../../types/button").Button;
36
+ avatar?: import("../../types/avatar.js").Avatar;
37
+ closeButton?: import("../../types/button.js").Button;
38
38
  timeout?: number;
39
- actions?: import("../../types/notification").NotificationAction[];
39
+ actions?: import("../../types/notification.js").NotificationAction[];
40
40
  click?: (...args: any[]) => void;
41
41
  callback?: (...args: any[]) => void;
42
- color?: import("../../types/notification").NotificationColor;
42
+ color?: import("../../types/notification.js").NotificationColor;
43
43
  ui?: any;
44
44
  };
45
45
  remove: (id: string) => void;
@@ -60,7 +60,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
60
60
  default: () => {};
61
61
  };
62
62
  }>> & Readonly<{}>, {
63
- class: any;
64
63
  ui: {
65
64
  wrapper?: string;
66
65
  position?: string;
@@ -71,6 +70,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
71
70
  } & {
72
71
  strategy?: Strategy;
73
72
  };
73
+ class: any;
74
74
  }, {}, {
75
75
  UNotification: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
76
76
  id: {
@@ -90,19 +90,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
90
90
  default: () => any;
91
91
  };
92
92
  avatar: {
93
- type: PropType<import("../../types/avatar").Avatar>;
93
+ type: PropType<import("../../types/avatar.js").Avatar>;
94
94
  default: any;
95
95
  };
96
96
  closeButton: {
97
- type: PropType<import("../../types/button").Button>;
98
- default: () => import("../../types/button").Button;
97
+ type: PropType<import("../../types/button.js").Button>;
98
+ default: () => import("../../types/button.js").Button;
99
99
  };
100
100
  timeout: {
101
101
  type: NumberConstructor;
102
102
  default: () => number;
103
103
  };
104
104
  actions: {
105
- type: PropType<import("../../types/notification").NotificationAction[]>;
105
+ type: PropType<import("../../types/notification.js").NotificationAction[]>;
106
106
  default: () => any[];
107
107
  };
108
108
  callback: {
@@ -110,7 +110,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
110
110
  default: any;
111
111
  };
112
112
  color: {
113
- type: PropType<import("../../types/notification").NotificationColor>;
113
+ type: PropType<import("../../types/notification.js").NotificationColor>;
114
114
  default: () => string;
115
115
  validator(value: string): boolean;
116
116
  };
@@ -139,7 +139,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
139
139
  };
140
140
  avatar: {
141
141
  base: string;
142
- size: import("../../types/avatar").AvatarSize;
142
+ size: import("../../types/avatar.js").AvatarSize;
143
143
  };
144
144
  progress: {
145
145
  base: string;
@@ -159,13 +159,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
159
159
  timeout: number;
160
160
  closeButton: {
161
161
  icon: string;
162
- color: import("../../types/button").ButtonColor;
163
- variant: import("../../types/button").ButtonVariant;
162
+ color: import("../../types/button.js").ButtonColor;
163
+ variant: import("../../types/button.js").ButtonVariant;
164
164
  padded: boolean;
165
165
  };
166
166
  actionButton: {
167
- size: import("../../types/button").ButtonSize;
168
- color: import("../../types/button").ButtonColor;
167
+ size: import("../../types/button.js").ButtonSize;
168
+ color: import("../../types/button.js").ButtonColor;
169
169
  };
170
170
  };
171
171
  }> & {
@@ -198,7 +198,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
198
198
  };
199
199
  avatar: {
200
200
  base: string;
201
- size: import("../../types/avatar").AvatarSize;
201
+ size: import("../../types/avatar.js").AvatarSize;
202
202
  };
203
203
  progress: {
204
204
  base: string;
@@ -218,13 +218,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
218
218
  timeout: number;
219
219
  closeButton: {
220
220
  icon: string;
221
- color: import("../../types/button").ButtonColor;
222
- variant: import("../../types/button").ButtonVariant;
221
+ color: import("../../types/button.js").ButtonColor;
222
+ variant: import("../../types/button.js").ButtonVariant;
223
223
  padded: boolean;
224
224
  };
225
225
  actionButton: {
226
- size: import("../../types/button").ButtonSize;
227
- color: import("../../types/button").ButtonColor;
226
+ size: import("../../types/button.js").ButtonSize;
227
+ color: import("../../types/button.js").ButtonColor;
228
228
  };
229
229
  };
230
230
  }>;
@@ -240,7 +240,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
240
240
  onMouseover: () => void;
241
241
  onMouseleave: () => void;
242
242
  onClose: () => void;
243
- onAction: (action: import("../../types/notification").NotificationAction) => void;
243
+ onAction: (action: import("../../types/notification.js").NotificationAction) => void;
244
244
  twMerge: (...classLists: import("tailwind-merge").ClassNameValue[]) => string;
245
245
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
246
246
  id: {
@@ -260,19 +260,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
260
260
  default: () => any;
261
261
  };
262
262
  avatar: {
263
- type: PropType<import("../../types/avatar").Avatar>;
263
+ type: PropType<import("../../types/avatar.js").Avatar>;
264
264
  default: any;
265
265
  };
266
266
  closeButton: {
267
- type: PropType<import("../../types/button").Button>;
268
- default: () => import("../../types/button").Button;
267
+ type: PropType<import("../../types/button.js").Button>;
268
+ default: () => import("../../types/button.js").Button;
269
269
  };
270
270
  timeout: {
271
271
  type: NumberConstructor;
272
272
  default: () => number;
273
273
  };
274
274
  actions: {
275
- type: PropType<import("../../types/notification").NotificationAction[]>;
275
+ type: PropType<import("../../types/notification.js").NotificationAction[]>;
276
276
  default: () => any[];
277
277
  };
278
278
  callback: {
@@ -280,7 +280,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
280
280
  default: any;
281
281
  };
282
282
  color: {
283
- type: PropType<import("../../types/notification").NotificationColor>;
283
+ type: PropType<import("../../types/notification.js").NotificationColor>;
284
284
  default: () => string;
285
285
  validator(value: string): boolean;
286
286
  };
@@ -309,7 +309,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
309
309
  };
310
310
  avatar: {
311
311
  base: string;
312
- size: import("../../types/avatar").AvatarSize;
312
+ size: import("../../types/avatar.js").AvatarSize;
313
313
  };
314
314
  progress: {
315
315
  base: string;
@@ -329,13 +329,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
329
329
  timeout: number;
330
330
  closeButton: {
331
331
  icon: string;
332
- color: import("../../types/button").ButtonColor;
333
- variant: import("../../types/button").ButtonVariant;
332
+ color: import("../../types/button.js").ButtonColor;
333
+ variant: import("../../types/button.js").ButtonVariant;
334
334
  padded: boolean;
335
335
  };
336
336
  actionButton: {
337
- size: import("../../types/button").ButtonSize;
338
- color: import("../../types/button").ButtonColor;
337
+ size: import("../../types/button.js").ButtonSize;
338
+ color: import("../../types/button.js").ButtonColor;
339
339
  };
340
340
  };
341
341
  }> & {
@@ -350,8 +350,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
350
350
  }>> & Readonly<{
351
351
  onClose?: (...args: any[]) => any;
352
352
  }>, {
353
- class: any;
354
- timeout: number;
355
353
  ui: {
356
354
  wrapper?: string;
357
355
  container?: string;
@@ -372,7 +370,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
372
370
  }, any>;
373
371
  avatar?: DeepPartial<{
374
372
  base: string;
375
- size: import("../../types/avatar").AvatarSize;
373
+ size: import("../../types/avatar.js").AvatarSize;
376
374
  }, any>;
377
375
  progress?: DeepPartial<{
378
376
  base: string;
@@ -392,13 +390,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
392
390
  timeout: number;
393
391
  closeButton: {
394
392
  icon: string;
395
- color: import("../../types/button").ButtonColor;
396
- variant: import("../../types/button").ButtonVariant;
393
+ color: import("../../types/button.js").ButtonColor;
394
+ variant: import("../../types/button.js").ButtonVariant;
397
395
  padded: boolean;
398
396
  };
399
397
  actionButton: {
400
- size: import("../../types/button").ButtonSize;
401
- color: import("../../types/button").ButtonColor;
398
+ size: import("../../types/button.js").ButtonSize;
399
+ color: import("../../types/button.js").ButtonColor;
402
400
  };
403
401
  }, any>;
404
402
  } & {
@@ -406,14 +404,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
406
404
  } & {
407
405
  strategy?: Strategy;
408
406
  };
409
- color: import("../../types/notification").NotificationColor;
410
- avatar: import("../../types/avatar").Avatar;
407
+ color: import("../../types/notification.js").NotificationColor;
408
+ avatar: import("../../types/avatar.js").Avatar;
411
409
  title: string;
412
410
  description: string;
413
411
  icon: string;
414
- closeButton: import("../../types/button").Button;
415
- actions: import("../../types/notification").NotificationAction[];
412
+ closeButton: import("../../types/button.js").Button;
413
+ timeout: number;
414
+ actions: import("../../types/notification.js").NotificationAction[];
416
415
  callback: Function;
416
+ class: any;
417
417
  pauseTimeoutOnHover: boolean;
418
418
  }, {}, {
419
419
  UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -483,17 +483,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
483
483
  default: () => any;
484
484
  };
485
485
  size: {
486
- type: PropType<import("../../types/avatar").AvatarSize>;
486
+ type: PropType<import("../../types/avatar.js").AvatarSize>;
487
487
  default: () => string;
488
488
  validator(value: string): boolean;
489
489
  };
490
490
  chipColor: {
491
- type: PropType<import("../../types/avatar").AvatarChipColor>;
491
+ type: PropType<import("../../types/avatar.js").AvatarChipColor>;
492
492
  default: () => any;
493
493
  validator(value: string): boolean;
494
494
  };
495
495
  chipPosition: {
496
- type: PropType<import("../../types/avatar").AvatarChipPosition>;
496
+ type: PropType<import("../../types/avatar.js").AvatarChipPosition>;
497
497
  default: () => string;
498
498
  validator(value: string): boolean;
499
499
  };
@@ -666,17 +666,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
666
666
  default: () => any;
667
667
  };
668
668
  size: {
669
- type: PropType<import("../../types/avatar").AvatarSize>;
669
+ type: PropType<import("../../types/avatar.js").AvatarSize>;
670
670
  default: () => string;
671
671
  validator(value: string): boolean;
672
672
  };
673
673
  chipColor: {
674
- type: PropType<import("../../types/avatar").AvatarChipColor>;
674
+ type: PropType<import("../../types/avatar.js").AvatarChipColor>;
675
675
  default: () => any;
676
676
  validator(value: string): boolean;
677
677
  };
678
678
  chipPosition: {
679
- type: PropType<import("../../types/avatar").AvatarChipPosition>;
679
+ type: PropType<import("../../types/avatar.js").AvatarChipPosition>;
680
680
  default: () => string;
681
681
  validator(value: string): boolean;
682
682
  };
@@ -757,8 +757,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
757
757
  default: () => {};
758
758
  };
759
759
  }>> & Readonly<{}>, {
760
- size: import("../../types/avatar").AvatarSize;
761
- class: any;
760
+ size: import("../../types/avatar.js").AvatarSize;
762
761
  ui: {
763
762
  wrapper?: string;
764
763
  background?: string;
@@ -823,11 +822,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
823
822
  strategy?: Strategy;
824
823
  };
825
824
  as: string | Record<string, any>;
826
- text: string;
827
825
  alt: string;
828
826
  icon: string;
827
+ class: any;
828
+ text: string;
829
829
  src: string | boolean;
830
- chipColor: import("../../types/avatar").AvatarChipColor;
830
+ chipColor: import("../../types/avatar.js").AvatarChipColor;
831
831
  chipPosition: "top-right" | "bottom-right" | "top-left" | "bottom-left";
832
832
  chipText: string | number;
833
833
  imgClass: string;
@@ -904,17 +904,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
904
904
  default: boolean;
905
905
  };
906
906
  size: {
907
- type: PropType<import("../../types/button").ButtonSize>;
907
+ type: PropType<import("../../types/button.js").ButtonSize>;
908
908
  default: () => string;
909
909
  validator(value: string): boolean;
910
910
  };
911
911
  color: {
912
- type: PropType<import("../../types/button").ButtonColor>;
912
+ type: PropType<import("../../types/button.js").ButtonColor>;
913
913
  default: () => string;
914
914
  validator(value: string): boolean;
915
915
  };
916
916
  variant: {
917
- type: PropType<import("../../types/button").ButtonVariant>;
917
+ type: PropType<import("../../types/button.js").ButtonVariant>;
918
918
  default: () => string;
919
919
  validator(value: string): boolean;
920
920
  };
@@ -1223,17 +1223,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1223
1223
  default: boolean;
1224
1224
  };
1225
1225
  size: {
1226
- type: PropType<import("../../types/button").ButtonSize>;
1226
+ type: PropType<import("../../types/button.js").ButtonSize>;
1227
1227
  default: () => string;
1228
1228
  validator(value: string): boolean;
1229
1229
  };
1230
1230
  color: {
1231
- type: PropType<import("../../types/button").ButtonColor>;
1231
+ type: PropType<import("../../types/button.js").ButtonColor>;
1232
1232
  default: () => string;
1233
1233
  validator(value: string): boolean;
1234
1234
  };
1235
1235
  variant: {
1236
- type: PropType<import("../../types/button").ButtonVariant>;
1236
+ type: PropType<import("../../types/button.js").ButtonVariant>;
1237
1237
  default: () => string;
1238
1238
  validator(value: string): boolean;
1239
1239
  };
@@ -1425,10 +1425,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1425
1425
  };
1426
1426
  }>> & Readonly<{}>, {
1427
1427
  type: string;
1428
- size: import("../../types/button").ButtonSize;
1429
- class: any;
1430
- to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1431
- disabled: boolean;
1428
+ size: import("../../types/button.js").ButtonSize;
1432
1429
  ui: {
1433
1430
  base?: string;
1434
1431
  font?: string;
@@ -1513,10 +1510,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1513
1510
  } & {
1514
1511
  strategy?: Strategy;
1515
1512
  };
1516
- color: import("../../types/button").ButtonColor;
1517
- variant: import("../../types/button").ButtonVariant;
1513
+ color: import("../../types/button.js").ButtonColor;
1514
+ variant: import("../../types/button.js").ButtonVariant;
1518
1515
  truncate: boolean;
1519
1516
  target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
1517
+ to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1520
1518
  activeClass: string;
1521
1519
  exactActiveClass: string;
1522
1520
  ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
@@ -1527,12 +1525,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1527
1525
  prefetchedClass: string;
1528
1526
  external: boolean;
1529
1527
  leading: boolean;
1528
+ disabled: boolean;
1530
1529
  href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1531
1530
  rel: any;
1532
- label: string;
1533
1531
  icon: string;
1532
+ class: any;
1534
1533
  block: boolean;
1535
1534
  square: boolean;
1535
+ label: string;
1536
1536
  loading: boolean;
1537
1537
  padded: boolean;
1538
1538
  loadingIcon: string;
@@ -1788,9 +1788,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1788
1788
  };
1789
1789
  }>> & Readonly<{}>, {
1790
1790
  type: string;
1791
- to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1792
- disabled: boolean;
1793
1791
  target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
1792
+ to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1794
1793
  activeClass: string;
1795
1794
  exactActiveClass: string;
1796
1795
  ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
@@ -1801,6 +1800,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1801
1800
  prefetchedClass: string;
1802
1801
  external: boolean;
1803
1802
  as: string;
1803
+ disabled: boolean;
1804
1804
  active: boolean;
1805
1805
  exact: boolean;
1806
1806
  exactQuery: boolean | "partial";
@@ -208,8 +208,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
208
208
  "onUpdate:open"?: (...args: any[]) => any;
209
209
  }>, {
210
210
  mode: "click" | "hover";
211
- class: any;
212
- disabled: boolean;
213
211
  ui: {
214
212
  wrapper?: string;
215
213
  container?: string;
@@ -261,7 +259,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
261
259
  strategy?: Strategy;
262
260
  };
263
261
  popper: PopperOptions;
262
+ disabled: boolean;
264
263
  overlay: boolean;
264
+ class: any;
265
265
  open: boolean;
266
266
  openDelay: number;
267
267
  closeDelay: number;
@@ -162,9 +162,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
162
162
  "onClose-prevented"?: (...args: any[]) => any;
163
163
  "onAfter-leave"?: (...args: any[]) => any;
164
164
  }>, {
165
- class: any;
166
- appear: boolean;
167
- transition: boolean;
168
165
  ui: {
169
166
  wrapper?: string;
170
167
  overlay?: DeepPartial<{
@@ -203,8 +200,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
203
200
  } & {
204
201
  strategy?: Strategy;
205
202
  };
203
+ transition: boolean;
204
+ appear: boolean;
206
205
  overlay: boolean;
207
206
  preventClose: boolean;
207
+ class: any;
208
208
  side: "bottom" | "left" | "right" | "top";
209
209
  modelValue: boolean;
210
210
  }, {}, {
@@ -8,11 +8,9 @@
8
8
  />
9
9
  </template>
10
10
 
11
- <script lang="ts" setup>
12
- import { inject } from 'vue'
13
- import { useSlideover, slidOverInjectionKey } from '../../composables/useSlideover'
14
-
15
- const slideoverState = inject(slidOverInjectionKey)
16
-
17
- const { isOpen, reset } = useSlideover()
11
+ <script setup>
12
+ import { inject } from "vue";
13
+ import { useSlideover, slidOverInjectionKey } from "../../composables/useSlideover";
14
+ const slideoverState = inject(slidOverInjectionKey);
15
+ const { isOpen, reset } = useSlideover();
18
16
  </script>
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -154,7 +154,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
154
154
  default: () => {};
155
155
  };
156
156
  }>> & Readonly<{}>, {
157
- class: any;
158
157
  ui: {
159
158
  wrapper?: string;
160
159
  container?: string;
@@ -196,6 +195,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
196
195
  strategy?: Strategy;
197
196
  };
198
197
  popper: PopperOptions;
198
+ class: any;
199
199
  text: string;
200
200
  openDelay: number;
201
201
  closeDelay: number;
@@ -208,7 +208,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
208
208
  default: any;
209
209
  };
210
210
  size: {
211
- type: PropType<import("../../types/kbd").KbdSize>;
211
+ type: PropType<import("../../types/kbd.js").KbdSize>;
212
212
  default: () => string;
213
213
  validator(value: string): boolean;
214
214
  };
@@ -264,7 +264,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
264
264
  default: any;
265
265
  };
266
266
  size: {
267
- type: PropType<import("../../types/kbd").KbdSize>;
267
+ type: PropType<import("../../types/kbd.js").KbdSize>;
268
268
  default: () => string;
269
269
  validator(value: string): boolean;
270
270
  };
@@ -294,8 +294,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
294
294
  default: () => {};
295
295
  };
296
296
  }>> & Readonly<{}>, {
297
- size: import("../../types/kbd").KbdSize;
298
- class: any;
297
+ size: import("../../types/kbd.js").KbdSize;
299
298
  ui: {
300
299
  base?: string;
301
300
  padding?: string;
@@ -316,6 +315,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
316
315
  } & {
317
316
  strategy?: Strategy;
318
317
  };
318
+ class: any;
319
319
  value: string;
320
320
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
321
321
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -12,7 +12,7 @@ export declare const useFormGroup: (inputProps?: InputProps, config?: any, bind?
12
12
  size: import("vue").ComputedRef<any>;
13
13
  color: import("vue").ComputedRef<string>;
14
14
  emitFormBlur: () => void;
15
- emitFormInput: import("@vueuse/shared").PromisifyFn<() => void>;
15
+ emitFormInput: import("@vueuse/core").UseDebounceFnReturn<() => void>;
16
16
  emitFormChange: () => void;
17
17
  };
18
18
  export {};
@@ -5,13 +5,13 @@ export declare function useToast(): {
5
5
  title?: string;
6
6
  description?: string;
7
7
  icon?: string;
8
- avatar?: import("../types").Avatar;
9
- closeButton?: import("../types").Button;
8
+ avatar?: import("../types/index.js").Avatar;
9
+ closeButton?: import("../types/index.js").Button;
10
10
  timeout?: number;
11
- actions?: import("../types").NotificationAction[];
11
+ actions?: import("../types/index.js").NotificationAction[];
12
12
  click?: (...args: any[]) => void;
13
13
  callback?: (...args: any[]) => void;
14
- color?: import("../types").NotificationColor;
14
+ color?: import("../types/index.js").NotificationColor;
15
15
  ui?: any;
16
16
  };
17
17
  remove: (id: string) => void;
@@ -28,7 +28,7 @@ declare const _default: {
28
28
  };
29
29
  avatar: {
30
30
  base: string;
31
- size: import("../../types").AvatarSize;
31
+ size: import("../../types/index.js").AvatarSize;
32
32
  };
33
33
  chip: {
34
34
  base: string;
@@ -114,8 +114,10 @@ export const getNuxtLinkProps = (props) => {
114
114
  }, {});
115
115
  };
116
116
  export const getULinkProps = (props) => {
117
- const keys = [...Object.keys(nuxtLinkProps), ...Object.keys(uLinkProps), "ariaLabel", "title"];
118
- return keys.reduce((acc, key) => {
117
+ const keys = Object.keys(props);
118
+ const ariaKeys = keys.filter((key) => key.startsWith("aria-"));
119
+ const dataKeys = keys.filter((key) => key.startsWith("data-"));
120
+ return [...Object.keys(nuxtLinkProps), ...Object.keys(uLinkProps), ...ariaKeys, ...dataKeys].reduce((acc, key) => {
119
121
  if (props[key] !== void 0) {
120
122
  acc[key] = props[key];
121
123
  }
package/dist/types.d.mts CHANGED
@@ -1 +1,3 @@
1
- export { type ModuleOptions, default } from './module.js'
1
+ export { default } from './module.mjs'
2
+
3
+ export { type ModuleOptions } from './module.mjs'