@nuxt/ui 2.18.5 → 2.18.6

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 (56) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +1 -1
  3. package/dist/runtime/components/data/Table.vue +3 -3
  4. package/dist/runtime/components/data/Table.vue.d.ts +281 -17
  5. package/dist/runtime/components/elements/Accordion.vue.d.ts +119 -11
  6. package/dist/runtime/components/elements/Alert.vue.d.ts +203 -15
  7. package/dist/runtime/components/elements/Avatar.vue.d.ts +66 -4
  8. package/dist/runtime/components/elements/AvatarGroup.d.ts +7 -1
  9. package/dist/runtime/components/elements/Badge.vue.d.ts +40 -4
  10. package/dist/runtime/components/elements/Button.vue.d.ts +91 -8
  11. package/dist/runtime/components/elements/ButtonGroup.d.ts +103 -2
  12. package/dist/runtime/components/elements/Carousel.vue.d.ts +121 -11
  13. package/dist/runtime/components/elements/Chip.vue.d.ts +41 -4
  14. package/dist/runtime/components/elements/Dropdown.vue.d.ts +152 -10
  15. package/dist/runtime/components/elements/Kbd.vue.d.ts +23 -4
  16. package/dist/runtime/components/elements/Link.vue.d.ts +2 -2
  17. package/dist/runtime/components/elements/Meter.vue.d.ts +83 -4
  18. package/dist/runtime/components/elements/MeterGroup.d.ts +54 -2
  19. package/dist/runtime/components/elements/Progress.vue.d.ts +81 -4
  20. package/dist/runtime/components/forms/Checkbox.vue.d.ts +25 -4
  21. package/dist/runtime/components/forms/FormGroup.vue.d.ts +32 -4
  22. package/dist/runtime/components/forms/Input.vue.d.ts +121 -5
  23. package/dist/runtime/components/forms/InputMenu.vue.d.ts +251 -11
  24. package/dist/runtime/components/forms/Radio.vue.d.ts +24 -4
  25. package/dist/runtime/components/forms/RadioGroup.vue.d.ts +61 -10
  26. package/dist/runtime/components/forms/Range.vue.d.ts +70 -4
  27. package/dist/runtime/components/forms/Select.vue.d.ts +117 -4
  28. package/dist/runtime/components/forms/SelectMenu.vue +1 -1
  29. package/dist/runtime/components/forms/SelectMenu.vue.d.ts +258 -11
  30. package/dist/runtime/components/forms/Textarea.vue.d.ts +120 -5
  31. package/dist/runtime/components/forms/Toggle.vue.d.ts +69 -4
  32. package/dist/runtime/components/layout/Card.vue.d.ts +30 -4
  33. package/dist/runtime/components/layout/Container.vue.d.ts +12 -4
  34. package/dist/runtime/components/layout/Divider.vue.d.ts +124 -8
  35. package/dist/runtime/components/layout/Skeleton.vue.d.ts +12 -4
  36. package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +29 -6
  37. package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +256 -18
  38. package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +87 -6
  39. package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +139 -12
  40. package/dist/runtime/components/navigation/Pagination.vue.d.ts +131 -11
  41. package/dist/runtime/components/navigation/Tabs.vue.d.ts +41 -4
  42. package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +269 -19
  43. package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +37 -4
  44. package/dist/runtime/components/overlays/Modal.vue +2 -2
  45. package/dist/runtime/components/overlays/Modal.vue.d.ts +50 -5
  46. package/dist/runtime/components/overlays/Notification.vue.d.ts +212 -15
  47. package/dist/runtime/components/overlays/Notifications.vue.d.ts +224 -18
  48. package/dist/runtime/components/overlays/Popover.vue.d.ts +53 -4
  49. package/dist/runtime/components/overlays/Slideover.vue +2 -2
  50. package/dist/runtime/components/overlays/Slideover.vue.d.ts +49 -5
  51. package/dist/runtime/components/overlays/Tooltip.vue.d.ts +65 -7
  52. package/dist/runtime/composables/useFormGroup.js +1 -1
  53. package/dist/runtime/composables/useUI.d.ts +2 -2
  54. package/dist/runtime/composables/useUI.js +1 -1
  55. package/dist/runtime/ui.config/navigation/tabs.js +1 -1
  56. package/package.json +4 -4
@@ -1,5 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
- import type { ToggleSize, ToggleColor, Strategy } from '../../types/index.js';
2
+ import type { ToggleSize, ToggleColor, Strategy, DeepPartial } from '../../types/index.js';
3
3
  declare const config: {
4
4
  base: string;
5
5
  rounded: string;
@@ -110,7 +110,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
110
110
  default: () => "";
111
111
  };
112
112
  ui: {
113
- type: PropType<Partial<typeof config> & {
113
+ type: PropType<DeepPartial<typeof config> & {
114
114
  strategy?: Strategy;
115
115
  }>;
116
116
  default: () => {};
@@ -237,7 +237,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
237
237
  default: () => "";
238
238
  };
239
239
  ui: {
240
- type: PropType<Partial<typeof config> & {
240
+ type: PropType<DeepPartial<typeof config> & {
241
241
  strategy?: Strategy;
242
242
  }>;
243
243
  default: () => {};
@@ -251,7 +251,72 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
251
251
  class: any;
252
252
  disabled: boolean;
253
253
  color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
254
- ui: {};
254
+ ui: {
255
+ base?: string;
256
+ rounded?: string;
257
+ ring?: string;
258
+ active?: string;
259
+ inactive?: string;
260
+ size?: DeepPartial<{
261
+ '2xs': string;
262
+ xs: string;
263
+ sm: string;
264
+ md: string;
265
+ lg: string;
266
+ xl: string;
267
+ '2xl': string;
268
+ }, any>;
269
+ container?: DeepPartial<{
270
+ base: string;
271
+ active: {
272
+ '2xs': string;
273
+ xs: string;
274
+ sm: string;
275
+ md: string;
276
+ lg: string;
277
+ xl: string;
278
+ '2xl': string;
279
+ };
280
+ inactive: string;
281
+ size: {
282
+ '2xs': string;
283
+ xs: string;
284
+ sm: string;
285
+ md: string;
286
+ lg: string;
287
+ xl: string;
288
+ '2xl': string;
289
+ };
290
+ }, any>;
291
+ icon?: DeepPartial<{
292
+ base: string;
293
+ active: string;
294
+ inactive: string;
295
+ size: {
296
+ '2xs': string;
297
+ xs: string;
298
+ sm: string;
299
+ md: string;
300
+ lg: string;
301
+ xl: string;
302
+ '2xl': string;
303
+ };
304
+ on: string;
305
+ off: string;
306
+ loading: string;
307
+ }, any>;
308
+ default?: DeepPartial<{
309
+ onIcon: any;
310
+ offIcon: any;
311
+ loadingIcon: string;
312
+ color: string;
313
+ size: string;
314
+ }, any>;
315
+ } & {
316
+ [key: string]: any;
317
+ } & {
318
+ strategy?: Strategy;
319
+ };
255
320
  id: string;
256
321
  modelValue: boolean;
257
322
  loading: boolean;
@@ -1,5 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
- import type { Strategy } from '../../types/index.js';
2
+ import type { DeepPartial, Strategy } from '../../types/index.js';
3
3
  declare const config: {
4
4
  base: string;
5
5
  background: string;
@@ -33,7 +33,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
33
33
  default: () => string;
34
34
  };
35
35
  ui: {
36
- type: PropType<Partial<typeof config> & {
36
+ type: PropType<DeepPartial<typeof config> & {
37
37
  strategy?: Strategy;
38
38
  }>;
39
39
  default: () => {};
@@ -76,7 +76,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
76
76
  default: () => string;
77
77
  };
78
78
  ui: {
79
- type: PropType<Partial<typeof config> & {
79
+ type: PropType<DeepPartial<typeof config> & {
80
80
  strategy?: Strategy;
81
81
  }>;
82
82
  default: () => {};
@@ -84,6 +84,32 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
84
84
  }>> & Readonly<{}>, {
85
85
  class: any;
86
86
  as: string;
87
- ui: {};
87
+ ui: {
88
+ base?: string;
89
+ background?: string;
90
+ divide?: string;
91
+ ring?: string;
92
+ rounded?: string;
93
+ shadow?: string;
94
+ body?: DeepPartial<{
95
+ base: string;
96
+ background: string;
97
+ padding: string;
98
+ }, any>;
99
+ header?: DeepPartial<{
100
+ base: string;
101
+ background: string;
102
+ padding: string;
103
+ }, any>;
104
+ footer?: DeepPartial<{
105
+ base: string;
106
+ background: string;
107
+ padding: string;
108
+ }, any>;
109
+ } & {
110
+ [key: string]: any;
111
+ } & {
112
+ strategy?: Strategy;
113
+ };
88
114
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
89
115
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
- import type { Strategy } from '../../types/index.js';
2
+ import type { DeepPartial, Strategy } from '../../types/index.js';
3
3
  declare const config: {
4
4
  base: string;
5
5
  padding: string;
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
15
15
  default: () => string;
16
16
  };
17
17
  ui: {
18
- type: PropType<Partial<typeof config> & {
18
+ type: PropType<DeepPartial<typeof config> & {
19
19
  strategy?: Strategy;
20
20
  }>;
21
21
  default: () => {};
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
40
40
  default: () => string;
41
41
  };
42
42
  ui: {
43
- type: PropType<Partial<typeof config> & {
43
+ type: PropType<DeepPartial<typeof config> & {
44
44
  strategy?: Strategy;
45
45
  }>;
46
46
  default: () => {};
@@ -48,6 +48,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
48
48
  }>> & Readonly<{}>, {
49
49
  class: any;
50
50
  as: string;
51
- ui: {};
51
+ ui: {
52
+ base?: string;
53
+ padding?: string;
54
+ constrained?: string;
55
+ } & {
56
+ [key: string]: any;
57
+ } & {
58
+ strategy?: Strategy;
59
+ };
52
60
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
53
61
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
- import type { Avatar, DividerSize, Strategy } from '../../types/index.js';
2
+ import type { Avatar, DeepPartial, DividerSize, Strategy } from '../../types/index.js';
3
3
  declare const config: {
4
4
  wrapper: {
5
5
  base: string;
@@ -84,7 +84,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
84
84
  default: () => "";
85
85
  };
86
86
  ui: {
87
- type: PropType<Partial<typeof config> & {
87
+ type: PropType<DeepPartial<typeof config> & {
88
88
  strategy?: Strategy;
89
89
  }>;
90
90
  default: () => {};
@@ -180,7 +180,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
180
180
  default: () => "";
181
181
  };
182
182
  ui: {
183
- type: PropType<Partial<typeof config> & {
183
+ type: PropType<DeepPartial<typeof config> & {
184
184
  strategy?: Strategy;
185
185
  }>;
186
186
  default: () => {};
@@ -189,10 +189,64 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
189
189
  type: "solid" | "dotted" | "dashed";
190
190
  size: DividerSize;
191
191
  class: any;
192
- avatar: any;
192
+ avatar: Avatar;
193
193
  label: string;
194
194
  orientation: "horizontal" | "vertical";
195
- ui: {};
195
+ ui: {
196
+ wrapper?: DeepPartial<{
197
+ base: string;
198
+ horizontal: string;
199
+ vertical: string;
200
+ }, any>;
201
+ container?: DeepPartial<{
202
+ base: string;
203
+ horizontal: string;
204
+ vertical: string;
205
+ }, any>;
206
+ border?: DeepPartial<{
207
+ base: string;
208
+ horizontal: string;
209
+ vertical: string;
210
+ size: {
211
+ horizontal: {
212
+ '2xs': string;
213
+ xs: string;
214
+ sm: string;
215
+ md: string;
216
+ lg: string;
217
+ xl: string;
218
+ };
219
+ vertical: {
220
+ '2xs': string;
221
+ xs: string;
222
+ sm: string;
223
+ md: string;
224
+ lg: string;
225
+ xl: string;
226
+ };
227
+ };
228
+ type: {
229
+ solid: string;
230
+ dotted: string;
231
+ dashed: string;
232
+ };
233
+ }, any>;
234
+ icon?: DeepPartial<{
235
+ base: string;
236
+ }, any>;
237
+ avatar?: DeepPartial<{
238
+ base: string;
239
+ size: "2xs";
240
+ }, any>;
241
+ label?: string;
242
+ default?: DeepPartial<{
243
+ size: "2xs";
244
+ }, any>;
245
+ } & {
246
+ [key: string]: any;
247
+ } & {
248
+ strategy?: Strategy;
249
+ };
196
250
  icon: string;
197
251
  }, {}, {
198
252
  UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -289,7 +343,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
289
343
  default: () => "";
290
344
  };
291
345
  ui: {
292
- type: PropType<Partial<{
346
+ type: PropType<DeepPartial<{
293
347
  wrapper: string;
294
348
  background: string;
295
349
  rounded: string;
@@ -472,7 +526,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
472
526
  default: () => "";
473
527
  };
474
528
  ui: {
475
- type: PropType<Partial<{
529
+ type: PropType<DeepPartial<{
476
530
  wrapper: string;
477
531
  background: string;
478
532
  rounded: string;
@@ -541,7 +595,69 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
541
595
  as: string | Record<string, any>;
542
596
  text: string;
543
597
  alt: string;
544
- ui: {};
598
+ ui: {
599
+ wrapper?: string;
600
+ background?: string;
601
+ rounded?: string;
602
+ text?: string;
603
+ placeholder?: string;
604
+ size?: DeepPartial<{
605
+ '3xs': string;
606
+ '2xs': string;
607
+ xs: string;
608
+ sm: string;
609
+ md: string;
610
+ lg: string;
611
+ xl: string;
612
+ '2xl': string;
613
+ '3xl': string;
614
+ }, any>;
615
+ chip?: DeepPartial<{
616
+ base: string;
617
+ background: string;
618
+ position: {
619
+ 'top-right': string;
620
+ 'bottom-right': string;
621
+ 'top-left': string;
622
+ 'bottom-left': string;
623
+ };
624
+ size: {
625
+ '3xs': string;
626
+ '2xs': string;
627
+ xs: string;
628
+ sm: string;
629
+ md: string;
630
+ lg: string;
631
+ xl: string;
632
+ '2xl': string;
633
+ '3xl': string;
634
+ };
635
+ }, any>;
636
+ icon?: DeepPartial<{
637
+ base: string;
638
+ size: {
639
+ '3xs': string;
640
+ '2xs': string;
641
+ xs: string;
642
+ sm: string;
643
+ md: string;
644
+ lg: string;
645
+ xl: string;
646
+ '2xl': string;
647
+ '3xl': string;
648
+ };
649
+ }, any>;
650
+ default?: DeepPartial<{
651
+ size: string;
652
+ icon: any;
653
+ chipColor: any;
654
+ chipPosition: string;
655
+ }, any>;
656
+ } & {
657
+ [key: string]: any;
658
+ } & {
659
+ strategy?: Strategy;
660
+ };
545
661
  icon: string;
546
662
  src: string | boolean;
547
663
  chipColor: import("../../types/avatar").AvatarChipColor;
@@ -1,5 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
- import type { Strategy } from '../../types/index.js';
2
+ import type { DeepPartial, Strategy } from '../../types/index.js';
3
3
  declare const config: {
4
4
  base: string;
5
5
  background: string;
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
15
15
  default: () => string;
16
16
  };
17
17
  ui: {
18
- type: PropType<Partial<typeof config> & {
18
+ type: PropType<DeepPartial<typeof config> & {
19
19
  strategy?: Strategy;
20
20
  }>;
21
21
  default: () => {};
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
40
40
  default: () => string;
41
41
  };
42
42
  ui: {
43
- type: PropType<Partial<typeof config> & {
43
+ type: PropType<DeepPartial<typeof config> & {
44
44
  strategy?: Strategy;
45
45
  }>;
46
46
  default: () => {};
@@ -48,6 +48,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
48
48
  }>> & Readonly<{}>, {
49
49
  class: any;
50
50
  as: string;
51
- ui: {};
51
+ ui: {
52
+ base?: string;
53
+ background?: string;
54
+ rounded?: string;
55
+ } & {
56
+ [key: string]: any;
57
+ } & {
58
+ strategy?: Strategy;
59
+ };
52
60
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
53
61
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import type { PropType } from 'vue';
2
2
  import { twJoin } from 'tailwind-merge';
3
- import type { BreadcrumbLink, Strategy } from '../../types/index.js';
3
+ import type { BreadcrumbLink, DeepPartial, Strategy } from '../../types/index.js';
4
4
  declare const config: {
5
5
  wrapper: string;
6
6
  ol: string;
@@ -35,7 +35,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
35
35
  default: () => string;
36
36
  };
37
37
  ui: {
38
- type: PropType<Partial<typeof config> & {
38
+ type: PropType<DeepPartial<typeof config> & {
39
39
  strategy?: Strategy;
40
40
  }>;
41
41
  default: () => {};
@@ -81,14 +81,37 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
81
81
  default: () => string;
82
82
  };
83
83
  ui: {
84
- type: PropType<Partial<typeof config> & {
84
+ type: PropType<DeepPartial<typeof config> & {
85
85
  strategy?: Strategy;
86
86
  }>;
87
87
  default: () => {};
88
88
  };
89
89
  }>> & Readonly<{}>, {
90
90
  class: any;
91
- ui: {};
91
+ ui: {
92
+ wrapper?: string;
93
+ ol?: string;
94
+ li?: string;
95
+ base?: string;
96
+ label?: string;
97
+ icon?: DeepPartial<{
98
+ base: string;
99
+ active: string;
100
+ inactive: string;
101
+ }, any>;
102
+ divider?: DeepPartial<{
103
+ base: string;
104
+ }, any>;
105
+ active?: string;
106
+ inactive?: string;
107
+ default?: DeepPartial<{
108
+ divider: string;
109
+ }, any>;
110
+ } & {
111
+ [key: string]: any;
112
+ } & {
113
+ strategy?: Strategy;
114
+ };
92
115
  divider: string;
93
116
  links: BreadcrumbLink[];
94
117
  }, {}, {
@@ -340,7 +363,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
340
363
  };
341
364
  }>> & Readonly<{}>, {
342
365
  type: string;
343
- to: any;
366
+ to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
344
367
  disabled: boolean;
345
368
  target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
346
369
  activeClass: string;
@@ -358,7 +381,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
358
381
  exactQuery: boolean;
359
382
  exactHash: boolean;
360
383
  inactiveClass: string;
361
- href: any;
384
+ href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
362
385
  rel: any;
363
386
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
364
387
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;