@nuxt/ui 2.18.4 → 2.18.5

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 (74) 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 +5 -4
  7. package/dist/runtime/components/data/Table.vue.d.ts +1748 -8
  8. package/dist/runtime/components/elements/Accordion.vue.d.ts +1012 -6
  9. package/dist/runtime/components/elements/Alert.vue.d.ts +1256 -6
  10. package/dist/runtime/components/elements/Avatar.vue.d.ts +52 -6
  11. package/dist/runtime/components/elements/AvatarGroup.d.ts +5 -5
  12. package/dist/runtime/components/elements/Badge.vue.d.ts +5 -5
  13. package/dist/runtime/components/elements/Button.vue.d.ts +279 -9
  14. package/dist/runtime/components/elements/ButtonGroup.d.ts +6 -6
  15. package/dist/runtime/components/elements/Carousel.vue.d.ts +856 -6
  16. package/dist/runtime/components/elements/Chip.vue.d.ts +5 -5
  17. package/dist/runtime/components/elements/Dropdown.vue.d.ts +638 -9
  18. package/dist/runtime/components/elements/Icon.vue.d.ts +4 -4
  19. package/dist/runtime/components/elements/Kbd.vue.d.ts +5 -5
  20. package/dist/runtime/components/elements/Link.vue +1 -0
  21. package/dist/runtime/components/elements/Link.vue.d.ts +8 -8
  22. package/dist/runtime/components/elements/Meter.vue.d.ts +53 -7
  23. package/dist/runtime/components/elements/MeterGroup.d.ts +8 -6
  24. package/dist/runtime/components/elements/Progress.vue.d.ts +8 -8
  25. package/dist/runtime/components/forms/Checkbox.vue.d.ts +8 -8
  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 +7 -7
  29. package/dist/runtime/components/forms/Input.vue +1 -2
  30. package/dist/runtime/components/forms/Input.vue.d.ts +55 -9
  31. package/dist/runtime/components/forms/InputMenu.vue.d.ts +709 -12
  32. package/dist/runtime/components/forms/Radio.vue.d.ts +8 -8
  33. package/dist/runtime/components/forms/RadioGroup.vue +1 -1
  34. package/dist/runtime/components/forms/RadioGroup.vue.d.ts +187 -7
  35. package/dist/runtime/components/forms/Range.vue.d.ts +9 -9
  36. package/dist/runtime/components/forms/Select.vue.d.ts +54 -8
  37. package/dist/runtime/components/forms/SelectMenu.vue.d.ts +908 -11
  38. package/dist/runtime/components/forms/Textarea.vue +3 -0
  39. package/dist/runtime/components/forms/Textarea.vue.d.ts +9 -9
  40. package/dist/runtime/components/forms/Toggle.vue.d.ts +142 -8
  41. package/dist/runtime/components/layout/Card.vue.d.ts +5 -5
  42. package/dist/runtime/components/layout/Container.vue.d.ts +5 -5
  43. package/dist/runtime/components/layout/Divider.vue.d.ts +407 -6
  44. package/dist/runtime/components/layout/Skeleton.vue.d.ts +5 -5
  45. package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +275 -5
  46. package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +1728 -8
  47. package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +544 -5
  48. package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +767 -5
  49. package/dist/runtime/components/navigation/Pagination.vue +4 -0
  50. package/dist/runtime/components/navigation/Pagination.vue.d.ts +858 -8
  51. package/dist/runtime/components/navigation/Tabs.vue +4 -0
  52. package/dist/runtime/components/navigation/Tabs.vue.d.ts +233 -10
  53. package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +1412 -5
  54. package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +8 -8
  55. package/dist/runtime/components/overlays/Modal.vue.d.ts +342 -8
  56. package/dist/runtime/components/overlays/Notification.vue.d.ts +1257 -7
  57. package/dist/runtime/components/overlays/Notifications.vue.d.ts +1536 -6
  58. package/dist/runtime/components/overlays/Popover.vue.d.ts +112 -10
  59. package/dist/runtime/components/overlays/Slideover.vue +1 -1
  60. package/dist/runtime/components/overlays/Slideover.vue.d.ts +342 -8
  61. package/dist/runtime/components/overlays/Tooltip.vue.d.ts +106 -8
  62. package/dist/runtime/composables/useFormGroup.d.ts +1 -1
  63. package/dist/runtime/composables/useFormGroup.js +4 -2
  64. package/dist/runtime/composables/useModal.d.ts +1 -1
  65. package/dist/runtime/composables/usePopper.d.ts +262 -1
  66. package/dist/runtime/composables/useShortcuts.d.ts +4 -4
  67. package/dist/runtime/composables/useSlideover.d.ts +1 -1
  68. package/dist/runtime/plugins/colors.js +3 -3
  69. package/dist/runtime/types/command-palette.d.ts +2 -2
  70. package/dist/runtime/ui.config/elements/button.js +9 -9
  71. package/dist/runtime/ui.config/elements/carousel.js +1 -1
  72. package/dist/runtime/utils/index.d.ts +1 -0
  73. package/dist/runtime/utils/index.js +5 -1
  74. package/package.json +26 -28
@@ -30,7 +30,7 @@ declare const config: {
30
30
  placement: string;
31
31
  };
32
32
  };
33
- declare const _default: import("vue").DefineComponent<{
33
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
34
34
  modelValue: {
35
35
  type: BooleanConstructor;
36
36
  default: boolean;
@@ -53,7 +53,7 @@ declare const _default: import("vue").DefineComponent<{
53
53
  }>;
54
54
  default: () => {};
55
55
  };
56
- }, {
56
+ }>, {
57
57
  ui: import("vue").ComputedRef<{
58
58
  wrapper: string;
59
59
  container: string;
@@ -87,11 +87,11 @@ declare const _default: import("vue").DefineComponent<{
87
87
  attrs: import("vue").ComputedRef<Pick<{
88
88
  [x: string]: unknown;
89
89
  }, string>>;
90
- isOpen: import("vue").WritableComputedRef<boolean>;
90
+ isOpen: import("vue").WritableComputedRef<boolean, boolean>;
91
91
  wrapperClass: import("vue").ComputedRef<string>;
92
92
  popper: import("vue").ComputedRef<PopperOptions>;
93
- container: Ref<import("@vueuse/core").MaybeElement>;
94
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "update:modelValue")[], "close" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
93
+ container: Ref<import("@vueuse/core").MaybeElement, import("@vueuse/core").MaybeElement>;
94
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "update:modelValue")[], "close" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
95
95
  modelValue: {
96
96
  type: BooleanConstructor;
97
97
  default: boolean;
@@ -114,13 +114,13 @@ declare const _default: import("vue").DefineComponent<{
114
114
  }>;
115
115
  default: () => {};
116
116
  };
117
- }>> & {
117
+ }>> & Readonly<{
118
118
  onClose?: (...args: any[]) => any;
119
119
  "onUpdate:modelValue"?: (...args: any[]) => any;
120
- }, {
120
+ }>, {
121
121
  class: any;
122
122
  popper: PopperOptions;
123
123
  ui: {};
124
124
  modelValue: boolean;
125
- }, {}>;
125
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
126
126
  export default _default;
@@ -35,7 +35,7 @@ declare const config: {
35
35
  leaveTo: string;
36
36
  };
37
37
  };
38
- declare const _default: import("vue").DefineComponent<{
38
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
39
39
  modelValue: {
40
40
  type: BooleanConstructor;
41
41
  default: boolean;
@@ -70,7 +70,7 @@ declare const _default: import("vue").DefineComponent<{
70
70
  }>;
71
71
  default: () => {};
72
72
  };
73
- }, {
73
+ }>, {
74
74
  ui: import("vue").ComputedRef<{
75
75
  wrapper: string;
76
76
  inner: string;
@@ -109,11 +109,11 @@ declare const _default: import("vue").DefineComponent<{
109
109
  attrs: import("vue").ComputedRef<Pick<{
110
110
  [x: string]: unknown;
111
111
  }, string>>;
112
- isOpen: import("vue").WritableComputedRef<boolean>;
112
+ isOpen: import("vue").WritableComputedRef<boolean, boolean>;
113
113
  transitionClass: import("vue").ComputedRef<{}>;
114
114
  onAfterLeave: () => void;
115
115
  close: (value: boolean) => void;
116
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "update:modelValue" | "close-prevented" | "after-leave")[], "close" | "update:modelValue" | "close-prevented" | "after-leave", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
116
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "update:modelValue" | "close-prevented" | "after-leave")[], "close" | "update:modelValue" | "close-prevented" | "after-leave", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
117
117
  modelValue: {
118
118
  type: BooleanConstructor;
119
119
  default: boolean;
@@ -148,19 +148,353 @@ declare const _default: import("vue").DefineComponent<{
148
148
  }>;
149
149
  default: () => {};
150
150
  };
151
- }>> & {
151
+ }>> & Readonly<{
152
152
  onClose?: (...args: any[]) => any;
153
153
  "onUpdate:modelValue"?: (...args: any[]) => any;
154
154
  "onClose-prevented"?: (...args: any[]) => any;
155
155
  "onAfter-leave"?: (...args: any[]) => any;
156
- }, {
156
+ }>, {
157
157
  class: any;
158
+ appear: boolean;
158
159
  transition: boolean;
159
160
  ui: {};
160
- appear: boolean;
161
161
  overlay: boolean;
162
162
  preventClose: boolean;
163
163
  fullscreen: boolean;
164
164
  modelValue: boolean;
165
- }, {}>;
165
+ }, {}, {
166
+ HDialog: import("vue").DefineComponent<{
167
+ as: {
168
+ type: (ObjectConstructor | StringConstructor)[];
169
+ default: string;
170
+ };
171
+ static: {
172
+ type: BooleanConstructor;
173
+ default: boolean;
174
+ };
175
+ unmount: {
176
+ type: BooleanConstructor;
177
+ default: boolean;
178
+ };
179
+ open: {
180
+ type: (BooleanConstructor | StringConstructor)[];
181
+ default: string;
182
+ };
183
+ initialFocus: {
184
+ type: PropType<HTMLElement | null>;
185
+ default: null;
186
+ };
187
+ id: {
188
+ type: StringConstructor;
189
+ default: null;
190
+ };
191
+ role: {
192
+ type: PropType<"dialog" | "alertdialog">;
193
+ default: string;
194
+ };
195
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
196
+ [key: string]: any;
197
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
198
+ close: (_close: boolean) => true;
199
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
200
+ as: {
201
+ type: (ObjectConstructor | StringConstructor)[];
202
+ default: string;
203
+ };
204
+ static: {
205
+ type: BooleanConstructor;
206
+ default: boolean;
207
+ };
208
+ unmount: {
209
+ type: BooleanConstructor;
210
+ default: boolean;
211
+ };
212
+ open: {
213
+ type: (BooleanConstructor | StringConstructor)[];
214
+ default: string;
215
+ };
216
+ initialFocus: {
217
+ type: PropType<HTMLElement | null>;
218
+ default: null;
219
+ };
220
+ id: {
221
+ type: StringConstructor;
222
+ default: null;
223
+ };
224
+ role: {
225
+ type: PropType<"dialog" | "alertdialog">;
226
+ default: string;
227
+ };
228
+ }>> & {
229
+ onClose?: ((_close: boolean) => any) | undefined;
230
+ }, {
231
+ id: string;
232
+ role: "dialog" | "alertdialog";
233
+ as: string | Record<string, any>;
234
+ unmount: boolean;
235
+ static: boolean;
236
+ open: string | boolean;
237
+ initialFocus: HTMLElement | null;
238
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
239
+ HDialogPanel: import("vue").DefineComponent<{
240
+ as: {
241
+ type: (ObjectConstructor | StringConstructor)[];
242
+ default: string;
243
+ };
244
+ id: {
245
+ type: StringConstructor;
246
+ default: null;
247
+ };
248
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
249
+ [key: string]: any;
250
+ }> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
251
+ [key: string]: any;
252
+ }>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
253
+ as: {
254
+ type: (ObjectConstructor | StringConstructor)[];
255
+ default: string;
256
+ };
257
+ id: {
258
+ type: StringConstructor;
259
+ default: null;
260
+ };
261
+ }>>, {
262
+ id: string;
263
+ as: string | Record<string, any>;
264
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
265
+ TransitionRoot: import("vue").DefineComponent<{
266
+ as: {
267
+ type: (ObjectConstructor | StringConstructor)[];
268
+ default: string;
269
+ };
270
+ show: {
271
+ type: BooleanConstructor[];
272
+ default: null;
273
+ };
274
+ unmount: {
275
+ type: BooleanConstructor[];
276
+ default: boolean;
277
+ };
278
+ appear: {
279
+ type: BooleanConstructor[];
280
+ default: boolean;
281
+ };
282
+ enter: {
283
+ type: StringConstructor[];
284
+ default: string;
285
+ };
286
+ enterFrom: {
287
+ type: StringConstructor[];
288
+ default: string;
289
+ };
290
+ enterTo: {
291
+ type: StringConstructor[];
292
+ default: string;
293
+ };
294
+ entered: {
295
+ type: StringConstructor[];
296
+ default: string;
297
+ };
298
+ leave: {
299
+ type: StringConstructor[];
300
+ default: string;
301
+ };
302
+ leaveFrom: {
303
+ type: StringConstructor[];
304
+ default: string;
305
+ };
306
+ leaveTo: {
307
+ type: StringConstructor[];
308
+ default: string;
309
+ };
310
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
311
+ [key: string]: any;
312
+ }> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
313
+ [key: string]: any;
314
+ }>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
315
+ beforeEnter: () => true;
316
+ afterEnter: () => true;
317
+ beforeLeave: () => true;
318
+ afterLeave: () => true;
319
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
320
+ as: {
321
+ type: (ObjectConstructor | StringConstructor)[];
322
+ default: string;
323
+ };
324
+ show: {
325
+ type: BooleanConstructor[];
326
+ default: null;
327
+ };
328
+ unmount: {
329
+ type: BooleanConstructor[];
330
+ default: boolean;
331
+ };
332
+ appear: {
333
+ type: BooleanConstructor[];
334
+ default: boolean;
335
+ };
336
+ enter: {
337
+ type: StringConstructor[];
338
+ default: string;
339
+ };
340
+ enterFrom: {
341
+ type: StringConstructor[];
342
+ default: string;
343
+ };
344
+ enterTo: {
345
+ type: StringConstructor[];
346
+ default: string;
347
+ };
348
+ entered: {
349
+ type: StringConstructor[];
350
+ default: string;
351
+ };
352
+ leave: {
353
+ type: StringConstructor[];
354
+ default: string;
355
+ };
356
+ leaveFrom: {
357
+ type: StringConstructor[];
358
+ default: string;
359
+ };
360
+ leaveTo: {
361
+ type: StringConstructor[];
362
+ default: string;
363
+ };
364
+ }>> & {
365
+ onBeforeEnter?: (() => any) | undefined;
366
+ onAfterEnter?: (() => any) | undefined;
367
+ onBeforeLeave?: (() => any) | undefined;
368
+ onAfterLeave?: (() => any) | undefined;
369
+ }, {
370
+ as: string | Record<string, any>;
371
+ unmount: boolean;
372
+ show: boolean;
373
+ appear: boolean;
374
+ enter: string;
375
+ enterFrom: string;
376
+ enterTo: string;
377
+ entered: string;
378
+ leave: string;
379
+ leaveFrom: string;
380
+ leaveTo: string;
381
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
382
+ TransitionChild: import("vue").DefineComponent<{
383
+ as: {
384
+ type: (ObjectConstructor | StringConstructor)[];
385
+ default: string;
386
+ };
387
+ show: {
388
+ type: BooleanConstructor[];
389
+ default: null;
390
+ };
391
+ unmount: {
392
+ type: BooleanConstructor[];
393
+ default: boolean;
394
+ };
395
+ appear: {
396
+ type: BooleanConstructor[];
397
+ default: boolean;
398
+ };
399
+ enter: {
400
+ type: StringConstructor[];
401
+ default: string;
402
+ };
403
+ enterFrom: {
404
+ type: StringConstructor[];
405
+ default: string;
406
+ };
407
+ enterTo: {
408
+ type: StringConstructor[];
409
+ default: string;
410
+ };
411
+ entered: {
412
+ type: StringConstructor[];
413
+ default: string;
414
+ };
415
+ leave: {
416
+ type: StringConstructor[];
417
+ default: string;
418
+ };
419
+ leaveFrom: {
420
+ type: StringConstructor[];
421
+ default: string;
422
+ };
423
+ leaveTo: {
424
+ type: StringConstructor[];
425
+ default: string;
426
+ };
427
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
428
+ [key: string]: any;
429
+ }> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
430
+ [key: string]: any;
431
+ }>[] | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
432
+ beforeEnter: () => true;
433
+ afterEnter: () => true;
434
+ beforeLeave: () => true;
435
+ afterLeave: () => true;
436
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
437
+ as: {
438
+ type: (ObjectConstructor | StringConstructor)[];
439
+ default: string;
440
+ };
441
+ show: {
442
+ type: BooleanConstructor[];
443
+ default: null;
444
+ };
445
+ unmount: {
446
+ type: BooleanConstructor[];
447
+ default: boolean;
448
+ };
449
+ appear: {
450
+ type: BooleanConstructor[];
451
+ default: boolean;
452
+ };
453
+ enter: {
454
+ type: StringConstructor[];
455
+ default: string;
456
+ };
457
+ enterFrom: {
458
+ type: StringConstructor[];
459
+ default: string;
460
+ };
461
+ enterTo: {
462
+ type: StringConstructor[];
463
+ default: string;
464
+ };
465
+ entered: {
466
+ type: StringConstructor[];
467
+ default: string;
468
+ };
469
+ leave: {
470
+ type: StringConstructor[];
471
+ default: string;
472
+ };
473
+ leaveFrom: {
474
+ type: StringConstructor[];
475
+ default: string;
476
+ };
477
+ leaveTo: {
478
+ type: StringConstructor[];
479
+ default: string;
480
+ };
481
+ }>> & {
482
+ onBeforeEnter?: (() => any) | undefined;
483
+ onAfterEnter?: (() => any) | undefined;
484
+ onBeforeLeave?: (() => any) | undefined;
485
+ onAfterLeave?: (() => any) | undefined;
486
+ }, {
487
+ as: string | Record<string, any>;
488
+ unmount: boolean;
489
+ show: boolean;
490
+ appear: boolean;
491
+ enter: string;
492
+ enterFrom: string;
493
+ enterTo: string;
494
+ entered: string;
495
+ leave: string;
496
+ leaveFrom: string;
497
+ leaveTo: string;
498
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
499
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
166
500
  export default _default;