@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,6 +1,6 @@
1
1
  import type { PropType } from 'vue';
2
2
  import { twJoin } from 'tailwind-merge';
3
- import type { HorizontalNavigationLink, Strategy } from '../../types/index.js';
3
+ import type { DeepPartial, HorizontalNavigationLink, Strategy } from '../../types/index.js';
4
4
  declare const config: {
5
5
  wrapper: string;
6
6
  container: string;
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
37
37
  default: () => string;
38
38
  };
39
39
  ui: {
40
- type: PropType<Partial<typeof config> & {
40
+ type: PropType<DeepPartial<typeof config> & {
41
41
  strategy?: Strategy;
42
42
  }>;
43
43
  default: () => {};
@@ -86,14 +86,43 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
86
86
  default: () => string;
87
87
  };
88
88
  ui: {
89
- type: PropType<Partial<typeof config> & {
89
+ type: PropType<DeepPartial<typeof config> & {
90
90
  strategy?: Strategy;
91
91
  }>;
92
92
  default: () => {};
93
93
  };
94
94
  }>> & Readonly<{}>, {
95
95
  class: any;
96
- ui: {};
96
+ ui: {
97
+ wrapper?: string;
98
+ container?: string;
99
+ inner?: string;
100
+ base?: string;
101
+ before?: string;
102
+ after?: string;
103
+ active?: string;
104
+ inactive?: string;
105
+ label?: string;
106
+ icon?: DeepPartial<{
107
+ base: string;
108
+ active: string;
109
+ inactive: string;
110
+ }, any>;
111
+ avatar?: DeepPartial<{
112
+ base: string;
113
+ size: "2xs";
114
+ }, any>;
115
+ badge?: DeepPartial<{
116
+ base: string;
117
+ color: "gray";
118
+ variant: "solid";
119
+ size: "xs";
120
+ }, any>;
121
+ } & {
122
+ [key: string]: any;
123
+ } & {
124
+ strategy?: Strategy;
125
+ };
97
126
  links: HorizontalNavigationLink[] | HorizontalNavigationLink[][];
98
127
  }, {}, {
99
128
  UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -190,7 +219,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
190
219
  default: () => "";
191
220
  };
192
221
  ui: {
193
- type: PropType<Partial<{
222
+ type: PropType<DeepPartial<{
194
223
  wrapper: string;
195
224
  background: string;
196
225
  rounded: string;
@@ -373,7 +402,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
373
402
  default: () => "";
374
403
  };
375
404
  ui: {
376
- type: PropType<Partial<{
405
+ type: PropType<DeepPartial<{
377
406
  wrapper: string;
378
407
  background: string;
379
408
  rounded: string;
@@ -442,7 +471,69 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
442
471
  as: string | Record<string, any>;
443
472
  text: string;
444
473
  alt: string;
445
- ui: {};
474
+ ui: {
475
+ wrapper?: string;
476
+ background?: string;
477
+ rounded?: string;
478
+ text?: string;
479
+ placeholder?: string;
480
+ size?: DeepPartial<{
481
+ '3xs': string;
482
+ '2xs': string;
483
+ xs: string;
484
+ sm: string;
485
+ md: string;
486
+ lg: string;
487
+ xl: string;
488
+ '2xl': string;
489
+ '3xl': string;
490
+ }, any>;
491
+ chip?: DeepPartial<{
492
+ base: string;
493
+ background: string;
494
+ position: {
495
+ 'top-right': string;
496
+ 'bottom-right': string;
497
+ 'top-left': string;
498
+ 'bottom-left': string;
499
+ };
500
+ size: {
501
+ '3xs': string;
502
+ '2xs': string;
503
+ xs: string;
504
+ sm: string;
505
+ md: string;
506
+ lg: string;
507
+ xl: string;
508
+ '2xl': string;
509
+ '3xl': string;
510
+ };
511
+ }, any>;
512
+ icon?: DeepPartial<{
513
+ base: string;
514
+ size: {
515
+ '3xs': string;
516
+ '2xs': string;
517
+ xs: string;
518
+ sm: string;
519
+ md: string;
520
+ lg: string;
521
+ xl: string;
522
+ '2xl': string;
523
+ '3xl': string;
524
+ };
525
+ }, any>;
526
+ default?: DeepPartial<{
527
+ size: string;
528
+ icon: any;
529
+ chipColor: any;
530
+ chipPosition: string;
531
+ }, any>;
532
+ } & {
533
+ [key: string]: any;
534
+ } & {
535
+ strategy?: Strategy;
536
+ };
446
537
  icon: string;
447
538
  src: string | boolean;
448
539
  chipColor: import("../../types/avatar").AvatarChipColor;
@@ -521,7 +612,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
521
612
  default: () => "";
522
613
  };
523
614
  ui: {
524
- type: PropType<Partial<{
615
+ type: PropType<DeepPartial<{
525
616
  base: string;
526
617
  rounded: string;
527
618
  font: string;
@@ -588,7 +679,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
588
679
  default: () => "";
589
680
  };
590
681
  ui: {
591
- type: PropType<Partial<{
682
+ type: PropType<DeepPartial<{
592
683
  base: string;
593
684
  rounded: string;
594
685
  font: string;
@@ -631,7 +722,43 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
631
722
  color: import("../../types/badge").BadgeColor;
632
723
  variant: import("../../types/badge").BadgeVariant;
633
724
  label: string | number;
634
- ui: {};
725
+ ui: {
726
+ base?: string;
727
+ rounded?: string;
728
+ font?: string;
729
+ size?: DeepPartial<{
730
+ xs: string;
731
+ sm: string;
732
+ md: string;
733
+ lg: string;
734
+ }, any>;
735
+ color?: DeepPartial<{
736
+ white: {
737
+ solid: string;
738
+ };
739
+ gray: {
740
+ solid: string;
741
+ };
742
+ black: {
743
+ solid: string;
744
+ };
745
+ }, any>;
746
+ variant?: DeepPartial<{
747
+ solid: string;
748
+ outline: string;
749
+ soft: string;
750
+ subtle: string;
751
+ }, any>;
752
+ default?: DeepPartial<{
753
+ size: string;
754
+ variant: string;
755
+ color: string;
756
+ }, any>;
757
+ } & {
758
+ [key: string]: any;
759
+ } & {
760
+ strategy?: Strategy;
761
+ };
635
762
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
636
763
  ULink: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
637
764
  as: {
@@ -836,7 +963,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
836
963
  };
837
964
  }>> & Readonly<{}>, {
838
965
  type: string;
839
- to: any;
966
+ to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
840
967
  disabled: boolean;
841
968
  target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
842
969
  activeClass: string;
@@ -854,7 +981,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
854
981
  exactQuery: boolean;
855
982
  exactHash: boolean;
856
983
  inactiveClass: string;
857
- href: any;
984
+ href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
858
985
  rel: any;
859
986
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
860
987
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,6 +1,6 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { RouteLocationRaw } from '#vue-router';
3
- import type { Button, ButtonSize, Strategy } from '../../types/index.js';
3
+ import type { Button, ButtonSize, DeepPartial, Strategy } from '../../types/index.js';
4
4
  declare const config: {
5
5
  wrapper: string;
6
6
  base: string;
@@ -107,7 +107,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
107
107
  default: () => "";
108
108
  };
109
109
  ui: {
110
- type: PropType<Partial<typeof config> & {
110
+ type: PropType<DeepPartial<typeof config> & {
111
111
  strategy?: Strategy;
112
112
  }>;
113
113
  default: () => {};
@@ -232,7 +232,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
232
232
  default: () => "";
233
233
  };
234
234
  ui: {
235
- type: PropType<Partial<typeof config> & {
235
+ type: PropType<DeepPartial<typeof config> & {
236
236
  strategy?: Strategy;
237
237
  }>;
238
238
  default: () => {};
@@ -245,7 +245,44 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
245
245
  to: (page: number) => RouteLocationRaw;
246
246
  disabled: boolean;
247
247
  max: number;
248
- ui: {};
248
+ ui: {
249
+ wrapper?: string;
250
+ base?: string;
251
+ rounded?: string;
252
+ default?: DeepPartial<{
253
+ size: string;
254
+ activeButton: {
255
+ color: "primary";
256
+ };
257
+ inactiveButton: {
258
+ color: "white";
259
+ };
260
+ firstButton: {
261
+ color: "white";
262
+ class: string;
263
+ icon: string;
264
+ };
265
+ lastButton: {
266
+ color: "white";
267
+ class: string;
268
+ icon: string;
269
+ };
270
+ prevButton: {
271
+ color: "white";
272
+ class: string;
273
+ icon: string;
274
+ };
275
+ nextButton: {
276
+ color: "white";
277
+ class: string;
278
+ icon: string;
279
+ };
280
+ }, any>;
281
+ } & {
282
+ [key: string]: any;
283
+ } & {
284
+ strategy?: Strategy;
285
+ };
249
286
  prevButton: Button;
250
287
  nextButton: Button;
251
288
  divider: string;
@@ -334,7 +371,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
334
371
  default: () => "";
335
372
  };
336
373
  ui: {
337
- type: PropType<Partial<{
374
+ type: PropType<DeepPartial<{
338
375
  base: string;
339
376
  font: string;
340
377
  rounded: string;
@@ -653,7 +690,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
653
690
  default: () => "";
654
691
  };
655
692
  ui: {
656
- type: PropType<Partial<{
693
+ type: PropType<DeepPartial<{
657
694
  base: string;
658
695
  font: string;
659
696
  rounded: string;
@@ -806,7 +843,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
806
843
  type: string;
807
844
  size: ButtonSize;
808
845
  class: any;
809
- to: any;
846
+ to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
810
847
  disabled: boolean;
811
848
  truncate: boolean;
812
849
  target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
@@ -822,10 +859,93 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
822
859
  leading: boolean;
823
860
  color: import("../../types/button").ButtonColor;
824
861
  variant: import("../../types/button").ButtonVariant;
825
- href: any;
862
+ href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
826
863
  rel: any;
827
864
  label: string;
828
- ui: {};
865
+ ui: {
866
+ base?: string;
867
+ font?: string;
868
+ rounded?: string;
869
+ truncate?: string;
870
+ block?: string;
871
+ inline?: string;
872
+ size?: DeepPartial<{
873
+ '2xs': string;
874
+ xs: string;
875
+ sm: string;
876
+ md: string;
877
+ lg: string;
878
+ xl: string;
879
+ }, any>;
880
+ gap?: DeepPartial<{
881
+ '2xs': string;
882
+ xs: string;
883
+ sm: string;
884
+ md: string;
885
+ lg: string;
886
+ xl: string;
887
+ }, any>;
888
+ padding?: DeepPartial<{
889
+ '2xs': string;
890
+ xs: string;
891
+ sm: string;
892
+ md: string;
893
+ lg: string;
894
+ xl: string;
895
+ }, any>;
896
+ square?: DeepPartial<{
897
+ '2xs': string;
898
+ xs: string;
899
+ sm: string;
900
+ md: string;
901
+ lg: string;
902
+ xl: string;
903
+ }, any>;
904
+ color?: DeepPartial<{
905
+ white: {
906
+ solid: string;
907
+ ghost: string;
908
+ };
909
+ gray: {
910
+ solid: string;
911
+ ghost: string;
912
+ link: string;
913
+ };
914
+ black: {
915
+ solid: string;
916
+ link: string;
917
+ };
918
+ }, any>;
919
+ variant?: DeepPartial<{
920
+ solid: string;
921
+ outline: string;
922
+ soft: string;
923
+ ghost: string;
924
+ link: string;
925
+ }, any>;
926
+ icon?: DeepPartial<{
927
+ base: string;
928
+ loading: string;
929
+ size: {
930
+ '2xs': string;
931
+ xs: string;
932
+ sm: string;
933
+ md: string;
934
+ lg: string;
935
+ xl: string;
936
+ };
937
+ }, any>;
938
+ default?: DeepPartial<{
939
+ size: string;
940
+ variant: string;
941
+ color: string;
942
+ loadingIcon: string;
943
+ }, any>;
944
+ } & {
945
+ [key: string]: any;
946
+ } & {
947
+ strategy?: Strategy;
948
+ };
829
949
  icon: string;
830
950
  block: boolean;
831
951
  square: boolean;
@@ -1084,7 +1204,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1084
1204
  };
1085
1205
  }>> & Readonly<{}>, {
1086
1206
  type: string;
1087
- to: any;
1207
+ to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1088
1208
  disabled: boolean;
1089
1209
  target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
1090
1210
  activeClass: string;
@@ -1102,7 +1222,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1102
1222
  exactQuery: boolean;
1103
1223
  exactHash: boolean;
1104
1224
  inactiveClass: string;
1105
- href: any;
1225
+ href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
1106
1226
  rel: any;
1107
1227
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1108
1228
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,5 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
- import type { TabItem, Strategy } from '../../types/index.js';
2
+ import type { TabItem, Strategy, DeepPartial } from '../../types/index.js';
3
3
  declare const config: {
4
4
  wrapper: string;
5
5
  container: string;
@@ -65,7 +65,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
65
65
  default: () => string;
66
66
  };
67
67
  ui: {
68
- type: PropType<Partial<typeof config> & {
68
+ type: PropType<DeepPartial<typeof config> & {
69
69
  strategy?: Strategy;
70
70
  }>;
71
71
  default: () => {};
@@ -144,7 +144,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
144
144
  default: () => string;
145
145
  };
146
146
  ui: {
147
- type: PropType<Partial<typeof config> & {
147
+ type: PropType<DeepPartial<typeof config> & {
148
148
  strategy?: Strategy;
149
149
  }>;
150
150
  default: () => {};
@@ -156,7 +156,44 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
156
156
  class: any;
157
157
  content: boolean;
158
158
  orientation: "horizontal" | "vertical";
159
- ui: {};
159
+ ui: {
160
+ wrapper?: string;
161
+ container?: string;
162
+ base?: string;
163
+ list?: DeepPartial<{
164
+ base: string;
165
+ background: string;
166
+ rounded: string;
167
+ shadow: string;
168
+ padding: string;
169
+ height: string;
170
+ width: string;
171
+ marker: {
172
+ wrapper: string;
173
+ base: string;
174
+ background: string;
175
+ rounded: string;
176
+ shadow: string;
177
+ };
178
+ tab: {
179
+ base: string;
180
+ background: string;
181
+ active: string;
182
+ inactive: string;
183
+ height: string;
184
+ padding: string;
185
+ size: string;
186
+ font: string;
187
+ rounded: string;
188
+ shadow: string;
189
+ icon: string;
190
+ };
191
+ }, any>;
192
+ } & {
193
+ [key: string]: any;
194
+ } & {
195
+ strategy?: Strategy;
196
+ };
160
197
  modelValue: number;
161
198
  unmount: boolean;
162
199
  items: TabItem[];