@nuxt/ui 2.19.2 → 2.21.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 (105) hide show
  1. package/README.md +2 -2
  2. package/dist/module.d.mts +2 -0
  3. package/dist/module.d.ts +2 -0
  4. package/dist/module.json +1 -1
  5. package/dist/module.mjs +16 -11
  6. package/dist/runtime/components/data/Table.vue +88 -38
  7. package/dist/runtime/components/data/Table.vue.d.ts +73 -61
  8. package/dist/runtime/components/elements/Accordion.vue +3 -1
  9. package/dist/runtime/components/elements/Accordion.vue.d.ts +25 -24
  10. package/dist/runtime/components/elements/Alert.vue +2 -2
  11. package/dist/runtime/components/elements/Alert.vue.d.ts +39 -39
  12. package/dist/runtime/components/elements/Avatar.vue +2 -2
  13. package/dist/runtime/components/elements/Avatar.vue.d.ts +3 -3
  14. package/dist/runtime/components/elements/AvatarGroup.d.ts +11 -9
  15. package/dist/runtime/components/elements/AvatarGroup.js +2 -2
  16. package/dist/runtime/components/elements/Badge.vue +71 -4
  17. package/dist/runtime/components/elements/Badge.vue.d.ts +131 -4
  18. package/dist/runtime/components/elements/Button.vue +2 -2
  19. package/dist/runtime/components/elements/Button.vue.d.ts +20 -20
  20. package/dist/runtime/components/elements/ButtonGroup.d.ts +15 -13
  21. package/dist/runtime/components/elements/ButtonGroup.js +2 -2
  22. package/dist/runtime/components/elements/Carousel.vue +1 -2
  23. package/dist/runtime/components/elements/Carousel.vue.d.ts +43 -41
  24. package/dist/runtime/components/elements/Chip.vue.d.ts +5 -5
  25. package/dist/runtime/components/elements/Dropdown.vue +2 -2
  26. package/dist/runtime/components/elements/Dropdown.vue.d.ts +7 -7
  27. package/dist/runtime/components/elements/Kbd.vue +2 -2
  28. package/dist/runtime/components/elements/Link.vue +15 -4
  29. package/dist/runtime/components/elements/Link.vue.d.ts +30 -29
  30. package/dist/runtime/components/elements/Meter.vue.d.ts +3 -3
  31. package/dist/runtime/components/elements/MeterGroup.d.ts +20 -18
  32. package/dist/runtime/components/elements/MeterGroup.js +1 -1
  33. package/dist/runtime/components/elements/Progress.vue.d.ts +2 -2
  34. package/dist/runtime/components/forms/Checkbox.vue +2 -2
  35. package/dist/runtime/components/forms/Checkbox.vue.d.ts +2 -2
  36. package/dist/runtime/components/forms/Form.vue +6 -5
  37. package/dist/runtime/components/forms/FormGroup.vue.d.ts +2 -2
  38. package/dist/runtime/components/forms/Input.vue +2 -2
  39. package/dist/runtime/components/forms/Input.vue.d.ts +3 -3
  40. package/dist/runtime/components/forms/InputMenu.vue +37 -7
  41. package/dist/runtime/components/forms/InputMenu.vue.d.ts +13 -12
  42. package/dist/runtime/components/forms/Radio.vue +2 -2
  43. package/dist/runtime/components/forms/Radio.vue.d.ts +2 -2
  44. package/dist/runtime/components/forms/RadioGroup.vue +1 -1
  45. package/dist/runtime/components/forms/RadioGroup.vue.d.ts +4 -4
  46. package/dist/runtime/components/forms/Range.vue +2 -2
  47. package/dist/runtime/components/forms/Range.vue.d.ts +2 -2
  48. package/dist/runtime/components/forms/Select.vue +2 -2
  49. package/dist/runtime/components/forms/Select.vue.d.ts +3 -3
  50. package/dist/runtime/components/forms/SelectMenu.vue +48 -25
  51. package/dist/runtime/components/forms/SelectMenu.vue.d.ts +12 -11
  52. package/dist/runtime/components/forms/Textarea.vue +2 -2
  53. package/dist/runtime/components/forms/Textarea.vue.d.ts +3 -3
  54. package/dist/runtime/components/forms/Toggle.vue +2 -2
  55. package/dist/runtime/components/forms/Toggle.vue.d.ts +1 -1
  56. package/dist/runtime/components/layout/Card.vue +2 -2
  57. package/dist/runtime/components/layout/Card.vue.d.ts +1 -1
  58. package/dist/runtime/components/layout/Container.vue +2 -2
  59. package/dist/runtime/components/layout/Container.vue.d.ts +1 -1
  60. package/dist/runtime/components/layout/Divider.vue +2 -2
  61. package/dist/runtime/components/layout/Divider.vue.d.ts +19 -19
  62. package/dist/runtime/components/layout/Skeleton.vue +2 -2
  63. package/dist/runtime/components/layout/Skeleton.vue.d.ts +1 -1
  64. package/dist/runtime/components/navigation/Breadcrumb.vue +2 -2
  65. package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +3 -3
  66. package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +26 -26
  67. package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +3 -3
  68. package/dist/runtime/components/navigation/HorizontalNavigation.vue +2 -2
  69. package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +164 -22
  70. package/dist/runtime/components/navigation/Pagination.vue.d.ts +38 -38
  71. package/dist/runtime/components/navigation/Tabs.vue.d.ts +2 -2
  72. package/dist/runtime/components/navigation/VerticalNavigation.vue +2 -2
  73. package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +186 -44
  74. package/dist/runtime/components/overlays/ContextMenu.vue +2 -2
  75. package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +1 -1
  76. package/dist/runtime/components/overlays/Notification.vue +8 -4
  77. package/dist/runtime/components/overlays/Notification.vue.d.ts +50 -41
  78. package/dist/runtime/components/overlays/Notifications.vue +4 -4
  79. package/dist/runtime/components/overlays/Notifications.vue.d.ts +55 -46
  80. package/dist/runtime/components/overlays/Popover.vue.d.ts +1 -1
  81. package/dist/runtime/components/overlays/Tooltip.vue.d.ts +2 -2
  82. package/dist/runtime/types/checkbox.d.ts +3 -0
  83. package/dist/runtime/types/divider.d.ts +1 -1
  84. package/dist/runtime/types/index.d.ts +1 -0
  85. package/dist/runtime/types/index.js +1 -0
  86. package/dist/runtime/types/link.d.ts +1 -1
  87. package/dist/runtime/types/utils.d.ts +1 -1
  88. package/dist/runtime/ui.config/data/table.d.ts +9 -8
  89. package/dist/runtime/ui.config/elements/accordion.d.ts +1 -1
  90. package/dist/runtime/ui.config/elements/alert.d.ts +5 -4
  91. package/dist/runtime/ui.config/elements/badge.d.ts +15 -0
  92. package/dist/runtime/ui.config/elements/badge.js +15 -0
  93. package/dist/runtime/ui.config/elements/carousel.d.ts +3 -2
  94. package/dist/runtime/ui.config/elements/dropdown.d.ts +2 -1
  95. package/dist/runtime/ui.config/forms/inputMenu.d.ts +2 -1
  96. package/dist/runtime/ui.config/forms/selectMenu.d.ts +1 -1
  97. package/dist/runtime/ui.config/layout/divider.d.ts +4 -3
  98. package/dist/runtime/ui.config/navigation/commandPalette.d.ts +2 -1
  99. package/dist/runtime/ui.config/navigation/horizontalNavigation.d.ts +5 -4
  100. package/dist/runtime/ui.config/navigation/pagination.d.ts +7 -6
  101. package/dist/runtime/ui.config/navigation/verticalNavigation.d.ts +5 -4
  102. package/dist/runtime/ui.config/overlays/notification.d.ts +6 -5
  103. package/dist/runtime/utils/index.d.ts +1 -0
  104. package/dist/runtime/utils/index.js +4 -3
  105. package/package.json +28 -25
@@ -16,10 +16,10 @@
16
16
  import { computed, toRef, defineComponent } from "vue";
17
17
  import { defu } from "defu";
18
18
  import { onClickOutside } from "@vueuse/core";
19
- import { twMerge, twJoin } from "tailwind-merge";
19
+ import { twJoin } from "tailwind-merge";
20
20
  import { useUI } from "../../composables/useUI";
21
21
  import { usePopper } from "../../composables/usePopper";
22
- import { mergeConfig } from "../../utils";
22
+ import { mergeConfig, twMerge } from "../../utils";
23
23
  import appConfig from "#build/app.config";
24
24
  import { contextMenu } from "#ui/ui.config";
25
25
  const config = mergeConfig(appConfig.ui.strategy, appConfig.ui.contextMenu, contextMenu);
@@ -119,7 +119,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
119
119
  "onUpdate:modelValue"?: (...args: any[]) => any;
120
120
  }>, {
121
121
  class: any;
122
- popper: PopperOptions;
123
122
  ui: {
124
123
  wrapper?: string;
125
124
  container?: string;
@@ -154,6 +153,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
154
153
  } & {
155
154
  strategy?: Strategy;
156
155
  };
156
+ popper: PopperOptions;
157
157
  modelValue: boolean;
158
158
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
159
159
  export default _default;
@@ -44,13 +44,13 @@
44
44
 
45
45
  <script>
46
46
  import { ref, computed, toRef, onMounted, onUnmounted, watch, watchEffect, defineComponent } from "vue";
47
- import { twMerge, twJoin } from "tailwind-merge";
47
+ import { twJoin } from "tailwind-merge";
48
48
  import UIcon from "../elements/Icon.vue";
49
49
  import UAvatar from "../elements/Avatar.vue";
50
50
  import UButton from "../elements/Button.vue";
51
51
  import { useUI } from "../../composables/useUI";
52
52
  import { useTimer } from "../../composables/useTimer";
53
- import { mergeConfig } from "../../utils";
53
+ import { mergeConfig, twMerge } from "../../utils";
54
54
  import appConfig from "#build/app.config";
55
55
  import { notification } from "#ui/ui.config";
56
56
  const config = mergeConfig(appConfig.ui.strategy, appConfig.ui.notification, notification);
@@ -112,6 +112,10 @@ export default defineComponent({
112
112
  ui: {
113
113
  type: Object,
114
114
  default: () => ({})
115
+ },
116
+ pauseTimeoutOnHover: {
117
+ type: Boolean,
118
+ default: true
115
119
  }
116
120
  },
117
121
  emits: ["close"],
@@ -145,12 +149,12 @@ export default defineComponent({
145
149
  );
146
150
  });
147
151
  function onMouseover() {
148
- if (timer) {
152
+ if (props.pauseTimeoutOnHover && timer) {
149
153
  timer.pause();
150
154
  }
151
155
  }
152
156
  function onMouseleave() {
153
- if (timer) {
157
+ if (props.pauseTimeoutOnHover && timer) {
154
158
  timer.resume();
155
159
  }
156
160
  }
@@ -19,7 +19,7 @@ declare const config: {
19
19
  };
20
20
  avatar: {
21
21
  base: string;
22
- size: "md";
22
+ size: import("../../types/avatar").AvatarSize;
23
23
  };
24
24
  progress: {
25
25
  base: string;
@@ -39,13 +39,13 @@ declare const config: {
39
39
  timeout: number;
40
40
  closeButton: {
41
41
  icon: string;
42
- color: "gray";
43
- variant: "link";
42
+ color: import("../../types/button").ButtonColor;
43
+ variant: import("../../types/button").ButtonVariant;
44
44
  padded: boolean;
45
45
  };
46
46
  actionButton: {
47
- size: "xs";
48
- color: "white";
47
+ size: import("../../types/button").ButtonSize;
48
+ color: import("../../types/button").ButtonColor;
49
49
  };
50
50
  };
51
51
  };
@@ -101,6 +101,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
101
101
  }>;
102
102
  default: () => {};
103
103
  };
104
+ pauseTimeoutOnHover: {
105
+ type: BooleanConstructor;
106
+ default: boolean;
107
+ };
104
108
  }>, {
105
109
  ui: import("vue").ComputedRef<{
106
110
  wrapper: string;
@@ -121,7 +125,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
121
125
  };
122
126
  avatar: {
123
127
  base: string;
124
- size: "md";
128
+ size: import("../../types/avatar").AvatarSize;
125
129
  };
126
130
  progress: {
127
131
  base: string;
@@ -141,13 +145,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
141
145
  timeout: number;
142
146
  closeButton: {
143
147
  icon: string;
144
- color: "gray";
145
- variant: "link";
148
+ color: import("../../types/button").ButtonColor;
149
+ variant: import("../../types/button").ButtonVariant;
146
150
  padded: boolean;
147
151
  };
148
152
  actionButton: {
149
- size: "xs";
150
- color: "white";
153
+ size: import("../../types/button").ButtonSize;
154
+ color: import("../../types/button").ButtonColor;
151
155
  };
152
156
  };
153
157
  }>;
@@ -217,14 +221,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
217
221
  }>;
218
222
  default: () => {};
219
223
  };
224
+ pauseTimeoutOnHover: {
225
+ type: BooleanConstructor;
226
+ default: boolean;
227
+ };
220
228
  }>> & Readonly<{
221
229
  onClose?: (...args: any[]) => any;
222
230
  }>, {
223
231
  class: any;
224
232
  timeout: number;
225
- title: string;
226
- avatar: Avatar;
227
- color: NotificationColor;
228
233
  ui: {
229
234
  wrapper?: string;
230
235
  container?: string;
@@ -244,7 +249,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
244
249
  }, any>;
245
250
  avatar?: DeepPartial<{
246
251
  base: string;
247
- size: "md";
252
+ size: import("../../types/avatar").AvatarSize;
248
253
  }, any>;
249
254
  progress?: DeepPartial<{
250
255
  base: string;
@@ -264,13 +269,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
264
269
  timeout: number;
265
270
  closeButton: {
266
271
  icon: string;
267
- color: "gray";
268
- variant: "link";
272
+ color: import("../../types/button").ButtonColor;
273
+ variant: import("../../types/button").ButtonVariant;
269
274
  padded: boolean;
270
275
  };
271
276
  actionButton: {
272
- size: "xs";
273
- color: "white";
277
+ size: import("../../types/button").ButtonSize;
278
+ color: import("../../types/button").ButtonColor;
274
279
  };
275
280
  }, any>;
276
281
  } & {
@@ -278,11 +283,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
278
283
  } & {
279
284
  strategy?: Strategy;
280
285
  };
286
+ color: NotificationColor;
287
+ avatar: Avatar;
288
+ title: string;
281
289
  description: string;
282
290
  icon: string;
283
291
  closeButton: Button;
284
292
  actions: NotificationAction[];
285
293
  callback: Function;
294
+ pauseTimeoutOnHover: boolean;
286
295
  }, {}, {
287
296
  UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
288
297
  name: {
@@ -627,9 +636,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
627
636
  }>> & Readonly<{}>, {
628
637
  size: import("../../types/avatar").AvatarSize;
629
638
  class: any;
630
- as: string | Record<string, any>;
631
- text: string;
632
- alt: string;
633
639
  ui: {
634
640
  wrapper?: string;
635
641
  background?: string;
@@ -693,6 +699,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
693
699
  } & {
694
700
  strategy?: Strategy;
695
701
  };
702
+ as: string | Record<string, any>;
703
+ text: string;
704
+ alt: string;
696
705
  icon: string;
697
706
  src: string | boolean;
698
707
  chipColor: import("../../types/avatar").AvatarChipColor;
@@ -1297,23 +1306,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1297
1306
  class: any;
1298
1307
  to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1299
1308
  disabled: boolean;
1300
- truncate: boolean;
1301
- target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
1302
- activeClass: string;
1303
- exactActiveClass: string;
1304
- ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
1305
- replace: boolean;
1306
- noRel: boolean;
1307
- prefetch: boolean;
1308
- noPrefetch: boolean;
1309
- prefetchedClass: string;
1310
- external: boolean;
1311
- leading: boolean;
1312
- color: import("../../types/button").ButtonColor;
1313
- variant: import("../../types/button").ButtonVariant;
1314
- href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1315
- rel: any;
1316
- label: string;
1317
1309
  ui: {
1318
1310
  base?: string;
1319
1311
  font?: string;
@@ -1398,6 +1390,23 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1398
1390
  } & {
1399
1391
  strategy?: Strategy;
1400
1392
  };
1393
+ color: import("../../types/button").ButtonColor;
1394
+ variant: import("../../types/button").ButtonVariant;
1395
+ truncate: boolean;
1396
+ target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
1397
+ activeClass: string;
1398
+ exactActiveClass: string;
1399
+ ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
1400
+ replace: boolean;
1401
+ noRel: boolean;
1402
+ prefetch: boolean;
1403
+ noPrefetch: boolean;
1404
+ prefetchedClass: string;
1405
+ external: boolean;
1406
+ leading: boolean;
1407
+ href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1408
+ rel: any;
1409
+ label: string;
1401
1410
  icon: string;
1402
1411
  block: boolean;
1403
1412
  square: boolean;
@@ -1475,7 +1484,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1475
1484
  default: boolean;
1476
1485
  };
1477
1486
  exactQuery: {
1478
- type: BooleanConstructor;
1487
+ type: PropType<boolean | "partial">;
1479
1488
  default: boolean;
1480
1489
  };
1481
1490
  exactHash: {
@@ -1578,7 +1587,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1578
1587
  default: boolean;
1579
1588
  };
1580
1589
  exactQuery: {
1581
- type: BooleanConstructor;
1590
+ type: PropType<boolean | "partial">;
1582
1591
  default: boolean;
1583
1592
  };
1584
1593
  exactHash: {
@@ -1671,7 +1680,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1671
1680
  as: string;
1672
1681
  active: boolean;
1673
1682
  exact: boolean;
1674
- exactQuery: boolean;
1683
+ exactQuery: boolean | "partial";
1675
1684
  exactHash: boolean;
1676
1685
  inactiveClass: string;
1677
1686
  href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <Teleport to="body">
3
- <div :class="wrapperClass" role="region" v-bind="attrs">
4
- <div v-if="notifications.length" :class="ui.container">
3
+ <div v-if="notifications.length" :class="wrapperClass" role="region" v-bind="attrs">
4
+ <div :class="ui.container">
5
5
  <div v-for="notification of notifications" :key="notification.id">
6
6
  <UNotification
7
7
  v-bind="notification"
@@ -21,10 +21,10 @@
21
21
 
22
22
  <script>
23
23
  import { computed, toRef, defineComponent } from "vue";
24
- import { twMerge, twJoin } from "tailwind-merge";
24
+ import { twJoin } from "tailwind-merge";
25
25
  import { useUI } from "../../composables/useUI";
26
26
  import { useToast } from "../../composables/useToast";
27
- import { mergeConfig } from "../../utils";
27
+ import { mergeConfig, twMerge } from "../../utils";
28
28
  import UNotification from "./Notification.vue";
29
29
  import { useState } from "#imports";
30
30
  import appConfig from "#build/app.config";
@@ -138,7 +138,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
138
138
  };
139
139
  avatar: {
140
140
  base: string;
141
- size: "md";
141
+ size: import("../../types/avatar").AvatarSize;
142
142
  };
143
143
  progress: {
144
144
  base: string;
@@ -158,13 +158,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
158
158
  timeout: number;
159
159
  closeButton: {
160
160
  icon: string;
161
- color: "gray";
162
- variant: "link";
161
+ color: import("../../types/button").ButtonColor;
162
+ variant: import("../../types/button").ButtonVariant;
163
163
  padded: boolean;
164
164
  };
165
165
  actionButton: {
166
- size: "xs";
167
- color: "white";
166
+ size: import("../../types/button").ButtonSize;
167
+ color: import("../../types/button").ButtonColor;
168
168
  };
169
169
  };
170
170
  }> & {
@@ -172,6 +172,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
172
172
  }>;
173
173
  default: () => {};
174
174
  };
175
+ pauseTimeoutOnHover: {
176
+ type: BooleanConstructor;
177
+ default: boolean;
178
+ };
175
179
  }>, {
176
180
  ui: import("vue").ComputedRef<{
177
181
  wrapper: string;
@@ -192,7 +196,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
192
196
  };
193
197
  avatar: {
194
198
  base: string;
195
- size: "md";
199
+ size: import("../../types/avatar").AvatarSize;
196
200
  };
197
201
  progress: {
198
202
  base: string;
@@ -212,13 +216,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
212
216
  timeout: number;
213
217
  closeButton: {
214
218
  icon: string;
215
- color: "gray";
216
- variant: "link";
219
+ color: import("../../types/button").ButtonColor;
220
+ variant: import("../../types/button").ButtonVariant;
217
221
  padded: boolean;
218
222
  };
219
223
  actionButton: {
220
- size: "xs";
221
- color: "white";
224
+ size: import("../../types/button").ButtonSize;
225
+ color: import("../../types/button").ButtonColor;
222
226
  };
223
227
  };
224
228
  }>;
@@ -302,7 +306,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
302
306
  };
303
307
  avatar: {
304
308
  base: string;
305
- size: "md";
309
+ size: import("../../types/avatar").AvatarSize;
306
310
  };
307
311
  progress: {
308
312
  base: string;
@@ -322,13 +326,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
322
326
  timeout: number;
323
327
  closeButton: {
324
328
  icon: string;
325
- color: "gray";
326
- variant: "link";
329
+ color: import("../../types/button").ButtonColor;
330
+ variant: import("../../types/button").ButtonVariant;
327
331
  padded: boolean;
328
332
  };
329
333
  actionButton: {
330
- size: "xs";
331
- color: "white";
334
+ size: import("../../types/button").ButtonSize;
335
+ color: import("../../types/button").ButtonColor;
332
336
  };
333
337
  };
334
338
  }> & {
@@ -336,14 +340,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
336
340
  }>;
337
341
  default: () => {};
338
342
  };
343
+ pauseTimeoutOnHover: {
344
+ type: BooleanConstructor;
345
+ default: boolean;
346
+ };
339
347
  }>> & Readonly<{
340
348
  onClose?: (...args: any[]) => any;
341
349
  }>, {
342
350
  class: any;
343
351
  timeout: number;
344
- title: string;
345
- avatar: import("../../types/avatar").Avatar;
346
- color: import("../../types/notification").NotificationColor;
347
352
  ui: {
348
353
  wrapper?: string;
349
354
  container?: string;
@@ -363,7 +368,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
363
368
  }, any>;
364
369
  avatar?: DeepPartial<{
365
370
  base: string;
366
- size: "md";
371
+ size: import("../../types/avatar").AvatarSize;
367
372
  }, any>;
368
373
  progress?: DeepPartial<{
369
374
  base: string;
@@ -383,13 +388,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
383
388
  timeout: number;
384
389
  closeButton: {
385
390
  icon: string;
386
- color: "gray";
387
- variant: "link";
391
+ color: import("../../types/button").ButtonColor;
392
+ variant: import("../../types/button").ButtonVariant;
388
393
  padded: boolean;
389
394
  };
390
395
  actionButton: {
391
- size: "xs";
392
- color: "white";
396
+ size: import("../../types/button").ButtonSize;
397
+ color: import("../../types/button").ButtonColor;
393
398
  };
394
399
  }, any>;
395
400
  } & {
@@ -397,11 +402,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
397
402
  } & {
398
403
  strategy?: Strategy;
399
404
  };
405
+ color: import("../../types/notification").NotificationColor;
406
+ avatar: import("../../types/avatar").Avatar;
407
+ title: string;
400
408
  description: string;
401
409
  icon: string;
402
410
  closeButton: import("../../types/button").Button;
403
411
  actions: import("../../types/notification").NotificationAction[];
404
412
  callback: Function;
413
+ pauseTimeoutOnHover: boolean;
405
414
  }, {}, {
406
415
  UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
407
416
  name: {
@@ -746,9 +755,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
746
755
  }>> & Readonly<{}>, {
747
756
  size: import("../../types/avatar").AvatarSize;
748
757
  class: any;
749
- as: string | Record<string, any>;
750
- text: string;
751
- alt: string;
752
758
  ui: {
753
759
  wrapper?: string;
754
760
  background?: string;
@@ -812,6 +818,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
812
818
  } & {
813
819
  strategy?: Strategy;
814
820
  };
821
+ as: string | Record<string, any>;
822
+ text: string;
823
+ alt: string;
815
824
  icon: string;
816
825
  src: string | boolean;
817
826
  chipColor: import("../../types/avatar").AvatarChipColor;
@@ -1416,23 +1425,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1416
1425
  class: any;
1417
1426
  to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1418
1427
  disabled: boolean;
1419
- truncate: boolean;
1420
- target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
1421
- activeClass: string;
1422
- exactActiveClass: string;
1423
- ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
1424
- replace: boolean;
1425
- noRel: boolean;
1426
- prefetch: boolean;
1427
- noPrefetch: boolean;
1428
- prefetchedClass: string;
1429
- external: boolean;
1430
- leading: boolean;
1431
- color: import("../../types/button").ButtonColor;
1432
- variant: import("../../types/button").ButtonVariant;
1433
- href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1434
- rel: any;
1435
- label: string;
1436
1428
  ui: {
1437
1429
  base?: string;
1438
1430
  font?: string;
@@ -1517,6 +1509,23 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1517
1509
  } & {
1518
1510
  strategy?: Strategy;
1519
1511
  };
1512
+ color: import("../../types/button").ButtonColor;
1513
+ variant: import("../../types/button").ButtonVariant;
1514
+ truncate: boolean;
1515
+ target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
1516
+ activeClass: string;
1517
+ exactActiveClass: string;
1518
+ ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
1519
+ replace: boolean;
1520
+ noRel: boolean;
1521
+ prefetch: boolean;
1522
+ noPrefetch: boolean;
1523
+ prefetchedClass: string;
1524
+ external: boolean;
1525
+ leading: boolean;
1526
+ href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1527
+ rel: any;
1528
+ label: string;
1520
1529
  icon: string;
1521
1530
  block: boolean;
1522
1531
  square: boolean;
@@ -1594,7 +1603,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1594
1603
  default: boolean;
1595
1604
  };
1596
1605
  exactQuery: {
1597
- type: BooleanConstructor;
1606
+ type: PropType<boolean | "partial">;
1598
1607
  default: boolean;
1599
1608
  };
1600
1609
  exactHash: {
@@ -1697,7 +1706,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1697
1706
  default: boolean;
1698
1707
  };
1699
1708
  exactQuery: {
1700
- type: BooleanConstructor;
1709
+ type: PropType<boolean | "partial">;
1701
1710
  default: boolean;
1702
1711
  };
1703
1712
  exactHash: {
@@ -1790,7 +1799,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1790
1799
  as: string;
1791
1800
  active: boolean;
1792
1801
  exact: boolean;
1793
- exactQuery: boolean;
1802
+ exactQuery: boolean | "partial";
1794
1803
  exactHash: boolean;
1795
1804
  inactiveClass: string;
1796
1805
  href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
@@ -210,7 +210,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
210
210
  mode: "click" | "hover";
211
211
  class: any;
212
212
  disabled: boolean;
213
- popper: PopperOptions;
214
213
  ui: {
215
214
  wrapper?: string;
216
215
  container?: string;
@@ -261,6 +260,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
261
260
  } & {
262
261
  strategy?: Strategy;
263
262
  };
263
+ popper: PopperOptions;
264
264
  overlay: boolean;
265
265
  open: boolean;
266
266
  openDelay: number;
@@ -155,8 +155,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
155
155
  };
156
156
  }>> & Readonly<{}>, {
157
157
  class: any;
158
- popper: PopperOptions;
159
- text: string;
160
158
  ui: {
161
159
  wrapper?: string;
162
160
  container?: string;
@@ -197,6 +195,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
197
195
  } & {
198
196
  strategy?: Strategy;
199
197
  };
198
+ popper: PopperOptions;
199
+ text: string;
200
200
  openDelay: number;
201
201
  closeDelay: number;
202
202
  shortcuts: string[];
@@ -0,0 +1,3 @@
1
+ import type colors from '#ui-colors'
2
+
3
+ export type CheckboxColor = typeof colors[number]
@@ -1,3 +1,3 @@
1
- import type { divider } from '#ui/ui.config'
1
+ import type { divider } from '../ui.config'
2
2
 
3
3
  export type DividerSize = keyof typeof divider.border.size.horizontal | keyof typeof divider.border.size.vertical
@@ -4,6 +4,7 @@ export * from './avatar.js';
4
4
  export * from './badge.js';
5
5
  export * from './breadcrumb.js';
6
6
  export * from './button.js';
7
+ export * from './checkbox.js';
7
8
  export * from './chip.js';
8
9
  export * from './clipboard.js';
9
10
  export * from './command-palette.js';
@@ -4,6 +4,7 @@ export * from "./avatar";
4
4
  export * from "./badge";
5
5
  export * from "./breadcrumb";
6
6
  export * from "./button";
7
+ export * from "./checkbox";
7
8
  export * from "./chip";
8
9
  export * from "./clipboard";
9
10
  export * from "./command-palette";
@@ -6,7 +6,7 @@ export interface Link extends NuxtLinkProps {
6
6
  disabled?: boolean
7
7
  active?: boolean
8
8
  exact?: boolean
9
- exactQuery?: boolean
9
+ exactQuery?: boolean | 'partial'
10
10
  exactHash?: boolean
11
11
  inactiveClass?: string
12
12
  }
@@ -7,7 +7,7 @@ export interface TightMap<O = any> {
7
7
  export type DeepPartial<T, O = any> = {
8
8
  [P in keyof T]?: T[P] extends object
9
9
  ? DeepPartial<T[P], O>
10
- : T[P];
10
+ : T[P] extends string ? string : T[P];
11
11
  } & {
12
12
  [key: string]: O | TightMap<O>
13
13
  }