@nuxt/ui 2.18.4 → 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 (79) hide show
  1. package/README.md +1 -1
  2. package/dist/module.d.mts +1 -6
  3. package/dist/module.d.ts +1 -6
  4. package/dist/module.json +2 -2
  5. package/dist/module.mjs +16 -8
  6. package/dist/runtime/components/data/Table.vue +8 -7
  7. package/dist/runtime/components/data/Table.vue.d.ts +2016 -12
  8. package/dist/runtime/components/elements/Accordion.vue.d.ts +1124 -10
  9. package/dist/runtime/components/elements/Alert.vue.d.ts +1449 -11
  10. package/dist/runtime/components/elements/Avatar.vue.d.ts +118 -10
  11. package/dist/runtime/components/elements/AvatarGroup.d.ts +12 -6
  12. package/dist/runtime/components/elements/Badge.vue.d.ts +45 -9
  13. package/dist/runtime/components/elements/Button.vue.d.ts +367 -14
  14. package/dist/runtime/components/elements/ButtonGroup.d.ts +107 -6
  15. package/dist/runtime/components/elements/Carousel.vue.d.ts +970 -10
  16. package/dist/runtime/components/elements/Chip.vue.d.ts +46 -9
  17. package/dist/runtime/components/elements/Dropdown.vue.d.ts +784 -13
  18. package/dist/runtime/components/elements/Icon.vue.d.ts +4 -4
  19. package/dist/runtime/components/elements/Kbd.vue.d.ts +28 -9
  20. package/dist/runtime/components/elements/Link.vue +1 -0
  21. package/dist/runtime/components/elements/Link.vue.d.ts +9 -9
  22. package/dist/runtime/components/elements/Meter.vue.d.ts +136 -11
  23. package/dist/runtime/components/elements/MeterGroup.d.ts +60 -6
  24. package/dist/runtime/components/elements/Progress.vue.d.ts +89 -12
  25. package/dist/runtime/components/forms/Checkbox.vue.d.ts +33 -12
  26. package/dist/runtime/components/forms/Form.vue +4 -3
  27. package/dist/runtime/components/forms/Form.vue.d.ts +13 -6
  28. package/dist/runtime/components/forms/FormGroup.vue.d.ts +39 -11
  29. package/dist/runtime/components/forms/Input.vue +1 -2
  30. package/dist/runtime/components/forms/Input.vue.d.ts +176 -14
  31. package/dist/runtime/components/forms/InputMenu.vue.d.ts +957 -20
  32. package/dist/runtime/components/forms/Radio.vue.d.ts +32 -12
  33. package/dist/runtime/components/forms/RadioGroup.vue +1 -1
  34. package/dist/runtime/components/forms/RadioGroup.vue.d.ts +245 -14
  35. package/dist/runtime/components/forms/Range.vue.d.ts +79 -13
  36. package/dist/runtime/components/forms/Select.vue.d.ts +171 -12
  37. package/dist/runtime/components/forms/SelectMenu.vue +1 -1
  38. package/dist/runtime/components/forms/SelectMenu.vue.d.ts +1163 -19
  39. package/dist/runtime/components/forms/Textarea.vue +3 -0
  40. package/dist/runtime/components/forms/Textarea.vue.d.ts +129 -14
  41. package/dist/runtime/components/forms/Toggle.vue.d.ts +211 -12
  42. package/dist/runtime/components/layout/Card.vue.d.ts +35 -9
  43. package/dist/runtime/components/layout/Container.vue.d.ts +17 -9
  44. package/dist/runtime/components/layout/Divider.vue.d.ts +528 -11
  45. package/dist/runtime/components/layout/Skeleton.vue.d.ts +17 -9
  46. package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +302 -9
  47. package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +1971 -13
  48. package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +625 -5
  49. package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +898 -9
  50. package/dist/runtime/components/navigation/Pagination.vue +4 -0
  51. package/dist/runtime/components/navigation/Pagination.vue.d.ts +981 -11
  52. package/dist/runtime/components/navigation/Tabs.vue +4 -0
  53. package/dist/runtime/components/navigation/Tabs.vue.d.ts +274 -14
  54. package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +1666 -9
  55. package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +45 -12
  56. package/dist/runtime/components/overlays/Modal.vue +2 -2
  57. package/dist/runtime/components/overlays/Modal.vue.d.ts +392 -13
  58. package/dist/runtime/components/overlays/Notification.vue.d.ts +1459 -12
  59. package/dist/runtime/components/overlays/Notifications.vue.d.ts +1746 -10
  60. package/dist/runtime/components/overlays/Popover.vue.d.ts +165 -14
  61. package/dist/runtime/components/overlays/Slideover.vue +3 -3
  62. package/dist/runtime/components/overlays/Slideover.vue.d.ts +391 -13
  63. package/dist/runtime/components/overlays/Tooltip.vue.d.ts +168 -12
  64. package/dist/runtime/composables/useFormGroup.d.ts +1 -1
  65. package/dist/runtime/composables/useFormGroup.js +4 -2
  66. package/dist/runtime/composables/useModal.d.ts +1 -1
  67. package/dist/runtime/composables/usePopper.d.ts +262 -1
  68. package/dist/runtime/composables/useShortcuts.d.ts +4 -4
  69. package/dist/runtime/composables/useSlideover.d.ts +1 -1
  70. package/dist/runtime/composables/useUI.d.ts +2 -2
  71. package/dist/runtime/composables/useUI.js +1 -1
  72. package/dist/runtime/plugins/colors.js +3 -3
  73. package/dist/runtime/types/command-palette.d.ts +2 -2
  74. package/dist/runtime/ui.config/elements/button.js +9 -9
  75. package/dist/runtime/ui.config/elements/carousel.js +1 -1
  76. package/dist/runtime/ui.config/navigation/tabs.js +1 -1
  77. package/dist/runtime/utils/index.d.ts +1 -0
  78. package/dist/runtime/utils/index.js +5 -1
  79. package/package.json +27 -29
@@ -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;
@@ -21,7 +21,7 @@ declare const config: {
21
21
  divider: string;
22
22
  };
23
23
  };
24
- declare const _default: import("vue").DefineComponent<{
24
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
25
25
  links: {
26
26
  type: PropType<BreadcrumbLink[]>;
27
27
  default: () => any[];
@@ -35,12 +35,12 @@ declare const _default: import("vue").DefineComponent<{
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: () => {};
42
42
  };
43
- }, {
43
+ }>, {
44
44
  ui: import("vue").ComputedRef<{
45
45
  wrapper: string;
46
46
  ol: string;
@@ -67,7 +67,7 @@ declare const _default: import("vue").DefineComponent<{
67
67
  getULinkProps: (props: any) => {};
68
68
  twMerge: (...classLists: import("tailwind-merge").ClassNameValue[]) => string;
69
69
  twJoin: typeof twJoin;
70
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
70
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
71
71
  links: {
72
72
  type: PropType<BreadcrumbLink[]>;
73
73
  default: () => any[];
@@ -81,15 +81,308 @@ declare const _default: import("vue").DefineComponent<{
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
+ }, {}, {
118
+ UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
119
+ name: {
120
+ type: StringConstructor;
121
+ required: true;
122
+ };
123
+ mode: {
124
+ type: PropType<"svg" | "css">;
125
+ required: false;
126
+ default: any;
127
+ };
128
+ size: {
129
+ type: (StringConstructor | NumberConstructor)[];
130
+ required: false;
131
+ default: any;
132
+ };
133
+ customize: {
134
+ type: FunctionConstructor;
135
+ required: false;
136
+ default: any;
137
+ };
138
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
139
+ name: {
140
+ type: StringConstructor;
141
+ required: true;
142
+ };
143
+ mode: {
144
+ type: PropType<"svg" | "css">;
145
+ required: false;
146
+ default: any;
147
+ };
148
+ size: {
149
+ type: (StringConstructor | NumberConstructor)[];
150
+ required: false;
151
+ default: any;
152
+ };
153
+ customize: {
154
+ type: FunctionConstructor;
155
+ required: false;
156
+ default: any;
157
+ };
158
+ }>> & Readonly<{}>, {
159
+ mode: "svg" | "css";
160
+ size: string | number;
161
+ customize: Function;
162
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
163
+ ULink: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
164
+ as: {
165
+ type: StringConstructor;
166
+ default: string;
167
+ };
168
+ type: {
169
+ type: StringConstructor;
170
+ default: string;
171
+ };
172
+ disabled: {
173
+ type: BooleanConstructor;
174
+ default: any;
175
+ };
176
+ active: {
177
+ type: BooleanConstructor;
178
+ default: any;
179
+ };
180
+ exact: {
181
+ type: BooleanConstructor;
182
+ default: boolean;
183
+ };
184
+ exactQuery: {
185
+ type: BooleanConstructor;
186
+ default: boolean;
187
+ };
188
+ exactHash: {
189
+ type: BooleanConstructor;
190
+ default: boolean;
191
+ };
192
+ inactiveClass: {
193
+ type: StringConstructor;
194
+ default: any;
195
+ };
196
+ to: {
197
+ readonly type: PropType<import("vue-router").RouteLocationRaw>;
198
+ readonly default: any;
199
+ readonly required: false;
200
+ };
201
+ href: {
202
+ readonly type: PropType<import("vue-router").RouteLocationRaw>;
203
+ readonly default: any;
204
+ readonly required: false;
205
+ };
206
+ target: {
207
+ readonly type: PropType<import("#app").NuxtLinkProps["target"]>;
208
+ readonly default: any;
209
+ readonly required: false;
210
+ };
211
+ rel: {
212
+ readonly type: PropType<any>;
213
+ readonly default: any;
214
+ readonly required: false;
215
+ };
216
+ noRel: {
217
+ readonly type: PropType<import("#app").NuxtLinkProps["noRel"]>;
218
+ readonly default: any;
219
+ readonly required: false;
220
+ };
221
+ prefetch: {
222
+ readonly type: PropType<import("#app").NuxtLinkProps["prefetch"]>;
223
+ readonly default: any;
224
+ readonly required: false;
225
+ };
226
+ noPrefetch: {
227
+ readonly type: PropType<import("#app").NuxtLinkProps["noPrefetch"]>;
228
+ readonly default: any;
229
+ readonly required: false;
230
+ };
231
+ activeClass: {
232
+ readonly type: PropType<import("#app").NuxtLinkProps["activeClass"]>;
233
+ readonly default: any;
234
+ readonly required: false;
235
+ };
236
+ exactActiveClass: {
237
+ readonly type: PropType<import("#app").NuxtLinkProps["exactActiveClass"]>;
238
+ readonly default: any;
239
+ readonly required: false;
240
+ };
241
+ prefetchedClass: {
242
+ readonly type: PropType<import("#app").NuxtLinkProps["prefetchedClass"]>;
243
+ readonly default: any;
244
+ readonly required: false;
245
+ };
246
+ replace: {
247
+ readonly type: PropType<import("#app").NuxtLinkProps["replace"]>;
248
+ readonly default: any;
249
+ readonly required: false;
250
+ };
251
+ ariaCurrentValue: {
252
+ readonly type: PropType<import("#app").NuxtLinkProps["ariaCurrentValue"]>;
253
+ readonly default: any;
254
+ readonly required: false;
255
+ };
256
+ external: {
257
+ readonly type: PropType<import("#app").NuxtLinkProps["external"]>;
258
+ readonly default: any;
259
+ readonly required: false;
260
+ };
261
+ }>, {
262
+ resolveLinkClass: (route: any, $route: any, { isActive, isExactActive }: {
263
+ isActive: boolean;
264
+ isExactActive: boolean;
265
+ }) => string;
266
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
267
+ as: {
268
+ type: StringConstructor;
269
+ default: string;
270
+ };
271
+ type: {
272
+ type: StringConstructor;
273
+ default: string;
274
+ };
275
+ disabled: {
276
+ type: BooleanConstructor;
277
+ default: any;
278
+ };
279
+ active: {
280
+ type: BooleanConstructor;
281
+ default: any;
282
+ };
283
+ exact: {
284
+ type: BooleanConstructor;
285
+ default: boolean;
286
+ };
287
+ exactQuery: {
288
+ type: BooleanConstructor;
289
+ default: boolean;
290
+ };
291
+ exactHash: {
292
+ type: BooleanConstructor;
293
+ default: boolean;
294
+ };
295
+ inactiveClass: {
296
+ type: StringConstructor;
297
+ default: any;
298
+ };
299
+ to: {
300
+ readonly type: PropType<import("vue-router").RouteLocationRaw>;
301
+ readonly default: any;
302
+ readonly required: false;
303
+ };
304
+ href: {
305
+ readonly type: PropType<import("vue-router").RouteLocationRaw>;
306
+ readonly default: any;
307
+ readonly required: false;
308
+ };
309
+ target: {
310
+ readonly type: PropType<import("#app").NuxtLinkProps["target"]>;
311
+ readonly default: any;
312
+ readonly required: false;
313
+ };
314
+ rel: {
315
+ readonly type: PropType<any>;
316
+ readonly default: any;
317
+ readonly required: false;
318
+ };
319
+ noRel: {
320
+ readonly type: PropType<import("#app").NuxtLinkProps["noRel"]>;
321
+ readonly default: any;
322
+ readonly required: false;
323
+ };
324
+ prefetch: {
325
+ readonly type: PropType<import("#app").NuxtLinkProps["prefetch"]>;
326
+ readonly default: any;
327
+ readonly required: false;
328
+ };
329
+ noPrefetch: {
330
+ readonly type: PropType<import("#app").NuxtLinkProps["noPrefetch"]>;
331
+ readonly default: any;
332
+ readonly required: false;
333
+ };
334
+ activeClass: {
335
+ readonly type: PropType<import("#app").NuxtLinkProps["activeClass"]>;
336
+ readonly default: any;
337
+ readonly required: false;
338
+ };
339
+ exactActiveClass: {
340
+ readonly type: PropType<import("#app").NuxtLinkProps["exactActiveClass"]>;
341
+ readonly default: any;
342
+ readonly required: false;
343
+ };
344
+ prefetchedClass: {
345
+ readonly type: PropType<import("#app").NuxtLinkProps["prefetchedClass"]>;
346
+ readonly default: any;
347
+ readonly required: false;
348
+ };
349
+ replace: {
350
+ readonly type: PropType<import("#app").NuxtLinkProps["replace"]>;
351
+ readonly default: any;
352
+ readonly required: false;
353
+ };
354
+ ariaCurrentValue: {
355
+ readonly type: PropType<import("#app").NuxtLinkProps["ariaCurrentValue"]>;
356
+ readonly default: any;
357
+ readonly required: false;
358
+ };
359
+ external: {
360
+ readonly type: PropType<import("#app").NuxtLinkProps["external"]>;
361
+ readonly default: any;
362
+ readonly required: false;
363
+ };
364
+ }>> & Readonly<{}>, {
365
+ type: string;
366
+ to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
367
+ disabled: boolean;
368
+ target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
369
+ activeClass: string;
370
+ exactActiveClass: string;
371
+ ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
372
+ replace: boolean;
373
+ noRel: boolean;
374
+ prefetch: boolean;
375
+ noPrefetch: boolean;
376
+ prefetchedClass: string;
377
+ external: boolean;
378
+ as: string;
379
+ active: boolean;
380
+ exact: boolean;
381
+ exactQuery: boolean;
382
+ exactHash: boolean;
383
+ inactiveClass: string;
384
+ href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
385
+ rel: any;
386
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
387
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
95
388
  export default _default;