@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 { SlotsType, PropType } from 'vue';
2
- import type { Strategy, MeterColor, MeterSize } from '../../types/index.js';
2
+ import type { Strategy, MeterColor, MeterSize, DeepPartial } from '../../types/index.js';
3
3
  declare const config: {
4
4
  wrapper: string;
5
5
  indicator: {
@@ -116,7 +116,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
116
116
  default: () => "";
117
117
  };
118
118
  ui: {
119
- type: PropType<Partial<typeof config> & {
119
+ type: PropType<DeepPartial<typeof config> & {
120
120
  strategy?: Strategy;
121
121
  }>;
122
122
  default: () => {};
@@ -250,7 +250,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
250
250
  default: () => "";
251
251
  };
252
252
  ui: {
253
- type: PropType<Partial<typeof config> & {
253
+ type: PropType<DeepPartial<typeof config> & {
254
254
  strategy?: Strategy;
255
255
  }>;
256
256
  default: () => {};
@@ -261,7 +261,86 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
261
261
  max: number;
262
262
  color: MeterColor;
263
263
  label: string;
264
- ui: {};
264
+ ui: {
265
+ wrapper?: string;
266
+ indicator?: DeepPartial<{
267
+ container: string;
268
+ text: string;
269
+ size: {
270
+ '2xs': string;
271
+ xs: string;
272
+ sm: string;
273
+ md: string;
274
+ lg: string;
275
+ xl: string;
276
+ '2xl': string;
277
+ };
278
+ }, any>;
279
+ meter?: DeepPartial<{
280
+ base: string;
281
+ background: string;
282
+ color: string;
283
+ ring: string;
284
+ rounded: string;
285
+ shadow: string;
286
+ size: {
287
+ '2xs': string;
288
+ xs: string;
289
+ sm: string;
290
+ md: string;
291
+ lg: string;
292
+ xl: string;
293
+ '2xl': string;
294
+ };
295
+ appearance: {
296
+ inner: string;
297
+ meter: string;
298
+ bar: string;
299
+ value: string;
300
+ };
301
+ bar: {
302
+ transition: string;
303
+ ring: string;
304
+ rounded: string;
305
+ size: {
306
+ '2xs': string;
307
+ xs: string;
308
+ sm: string;
309
+ md: string;
310
+ lg: string;
311
+ xl: string;
312
+ '2xl': string;
313
+ };
314
+ };
315
+ }, any>;
316
+ label?: DeepPartial<{
317
+ base: string;
318
+ text: string;
319
+ color: string;
320
+ size: {
321
+ '2xs': string;
322
+ xs: string;
323
+ sm: string;
324
+ md: string;
325
+ lg: string;
326
+ xl: string;
327
+ '2xl': string;
328
+ };
329
+ }, any>;
330
+ color?: DeepPartial<{
331
+ white: string;
332
+ black: string;
333
+ gray: string;
334
+ }, any>;
335
+ default?: DeepPartial<{
336
+ size: string;
337
+ color: string;
338
+ }, any>;
339
+ } & {
340
+ [key: string]: any;
341
+ } & {
342
+ strategy?: Strategy;
343
+ };
265
344
  icon: string;
266
345
  value: number;
267
346
  indicator: boolean;
@@ -120,9 +120,61 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
120
120
  };
121
121
  }>> & Readonly<{}>, {
122
122
  size: "xs" | "sm" | "2xs" | "md" | "lg" | "xl" | "2xl";
123
- ui: {};
124
- icon: string;
123
+ ui: Partial<{
124
+ wrapper: string;
125
+ base: string;
126
+ background: string;
127
+ transition: string;
128
+ rounded: string;
129
+ shadow: string;
130
+ list: string;
131
+ orientation: {
132
+ 'rounded-none': {
133
+ left: string;
134
+ right: string;
135
+ };
136
+ 'rounded-sm': {
137
+ left: string;
138
+ right: string;
139
+ };
140
+ rounded: {
141
+ left: string;
142
+ right: string;
143
+ };
144
+ 'rounded-md': {
145
+ left: string;
146
+ right: string;
147
+ };
148
+ 'rounded-lg': {
149
+ left: string;
150
+ right: string;
151
+ };
152
+ 'rounded-xl': {
153
+ left: string;
154
+ right: string;
155
+ };
156
+ 'rounded-2xl': {
157
+ left: string;
158
+ right: string;
159
+ };
160
+ 'rounded-3xl': {
161
+ left: string;
162
+ right: string;
163
+ };
164
+ 'rounded-full': {
165
+ left: string;
166
+ right: string;
167
+ };
168
+ };
169
+ default: {
170
+ size: string;
171
+ icon: string;
172
+ };
173
+ }> & {
174
+ strategy?: Strategy;
175
+ };
125
176
  class: any;
177
+ icon: string;
126
178
  max: number;
127
179
  min: number;
128
180
  indicator: boolean;
@@ -1,5 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
- import type { Strategy, ProgressSize, ProgressAnimation, ProgressColor } from '../../types/index.js';
2
+ import type { Strategy, ProgressSize, ProgressAnimation, ProgressColor, DeepPartial } from '../../types/index.js';
3
3
  declare const config: {
4
4
  wrapper: string;
5
5
  indicator: {
@@ -122,7 +122,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
122
122
  default: () => "";
123
123
  };
124
124
  ui: {
125
- type: PropType<Partial<typeof config> & {
125
+ type: PropType<DeepPartial<typeof config> & {
126
126
  strategy?: Strategy;
127
127
  }>;
128
128
  default: () => {};
@@ -262,7 +262,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
262
262
  default: () => "";
263
263
  };
264
264
  ui: {
265
- type: PropType<Partial<typeof config> & {
265
+ type: PropType<DeepPartial<typeof config> & {
266
266
  strategy?: Strategy;
267
267
  }>;
268
268
  default: () => {};
@@ -273,7 +273,84 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
273
273
  max: number | any[];
274
274
  animation: "carousel" | "carousel-inverse" | "swing" | "elastic";
275
275
  color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
276
- ui: {};
276
+ ui: {
277
+ wrapper?: string;
278
+ indicator?: DeepPartial<{
279
+ container: {
280
+ base: string;
281
+ width: string;
282
+ transition: string;
283
+ };
284
+ align: string;
285
+ width: string;
286
+ color: string;
287
+ size: {
288
+ '2xs': string;
289
+ xs: string;
290
+ sm: string;
291
+ md: string;
292
+ lg: string;
293
+ xl: string;
294
+ '2xl': string;
295
+ };
296
+ }, any>;
297
+ progress?: DeepPartial<{
298
+ base: string;
299
+ width: string;
300
+ size: {
301
+ '2xs': string;
302
+ xs: string;
303
+ sm: string;
304
+ md: string;
305
+ lg: string;
306
+ xl: string;
307
+ '2xl': string;
308
+ };
309
+ rounded: string;
310
+ track: string;
311
+ bar: string;
312
+ color: string;
313
+ background: string;
314
+ indeterminate: {
315
+ base: string;
316
+ rounded: string;
317
+ };
318
+ }, any>;
319
+ steps?: DeepPartial<{
320
+ base: string;
321
+ color: string;
322
+ size: {
323
+ '2xs': string;
324
+ xs: string;
325
+ sm: string;
326
+ md: string;
327
+ lg: string;
328
+ xl: string;
329
+ '2xl': string;
330
+ };
331
+ }, any>;
332
+ step?: DeepPartial<{
333
+ base: string;
334
+ align: string;
335
+ active: string;
336
+ first: string;
337
+ }, any>;
338
+ animation?: DeepPartial<{
339
+ carousel: string;
340
+ 'carousel-inverse': string;
341
+ swing: string;
342
+ elastic: string;
343
+ }, any>;
344
+ default?: DeepPartial<{
345
+ color: string;
346
+ size: string;
347
+ animation: string;
348
+ }, any>;
349
+ } & {
350
+ [key: string]: any;
351
+ } & {
352
+ strategy?: Strategy;
353
+ };
277
354
  value: number;
278
355
  indicator: boolean;
279
356
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -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
  import colors from '#ui-colors';
4
4
  declare const config: {
5
5
  wrapper: string;
@@ -70,7 +70,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
70
70
  default: () => "";
71
71
  };
72
72
  ui: {
73
- type: PropType<Partial<typeof config> & {
73
+ type: PropType<DeepPartial<typeof config> & {
74
74
  strategy?: Strategy;
75
75
  }>;
76
76
  default: () => {};
@@ -153,7 +153,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
153
153
  default: () => "";
154
154
  };
155
155
  ui: {
156
- type: PropType<Partial<typeof config> & {
156
+ type: PropType<DeepPartial<typeof config> & {
157
157
  strategy?: Strategy;
158
158
  }>;
159
159
  default: () => {};
@@ -168,7 +168,28 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
168
168
  disabled: boolean;
169
169
  color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
170
170
  label: string;
171
- ui: {};
171
+ ui: {
172
+ wrapper?: string;
173
+ container?: string;
174
+ base?: string;
175
+ form?: string;
176
+ rounded?: string;
177
+ color?: string;
178
+ background?: string;
179
+ border?: string;
180
+ ring?: string;
181
+ inner?: string;
182
+ label?: string;
183
+ required?: string;
184
+ help?: string;
185
+ default?: DeepPartial<{
186
+ color: string;
187
+ }, any>;
188
+ } & {
189
+ [key: string]: any;
190
+ } & {
191
+ strategy?: Strategy;
192
+ };
172
193
  id: string;
173
194
  modelValue: boolean | unknown[];
174
195
  value: string | number | boolean | Record<string, any>;
@@ -1,5 +1,5 @@
1
1
  import type { Ref, PropType } from 'vue';
2
- import type { FormGroupSize, Strategy } from '../../types/index.js';
2
+ import type { FormGroupSize, Strategy, DeepPartial } from '../../types/index.js';
3
3
  declare const config: {
4
4
  wrapper: string;
5
5
  inner: string;
@@ -64,7 +64,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
64
64
  default: () => "";
65
65
  };
66
66
  ui: {
67
- type: PropType<Partial<typeof config> & {
67
+ type: PropType<DeepPartial<typeof config> & {
68
68
  strategy?: Strategy;
69
69
  }>;
70
70
  default: () => {};
@@ -144,7 +144,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
144
144
  default: () => "";
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: () => {};
@@ -160,7 +160,35 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
160
160
  class: any;
161
161
  label: string;
162
162
  error: string | boolean;
163
- ui: {};
163
+ ui: {
164
+ wrapper?: string;
165
+ inner?: string;
166
+ label?: DeepPartial<{
167
+ wrapper: string;
168
+ base: string;
169
+ required: string;
170
+ }, any>;
171
+ size?: DeepPartial<{
172
+ '2xs': string;
173
+ xs: string;
174
+ sm: string;
175
+ md: string;
176
+ lg: string;
177
+ xl: string;
178
+ }, any>;
179
+ container?: string;
180
+ description?: string;
181
+ hint?: string;
182
+ help?: string;
183
+ error?: string;
184
+ default?: DeepPartial<{
185
+ size: string;
186
+ }, any>;
187
+ } & {
188
+ [key: string]: any;
189
+ } & {
190
+ strategy?: Strategy;
191
+ };
164
192
  description: string;
165
193
  help: string;
166
194
  hint: string;
@@ -1,5 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
- import type { InputSize, InputColor, InputVariant, Strategy } from '../../types/index.js';
2
+ import type { InputSize, InputColor, InputVariant, Strategy, DeepPartial } from '../../types/index.js';
3
3
  declare const config: {
4
4
  wrapper: string;
5
5
  base: string;
@@ -202,7 +202,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
202
202
  default: () => "";
203
203
  };
204
204
  ui: {
205
- type: PropType<Partial<typeof config> & {
205
+ type: PropType<DeepPartial<typeof config> & {
206
206
  strategy?: Strategy;
207
207
  }>;
208
208
  default: () => {};
@@ -436,7 +436,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
436
436
  default: () => "";
437
437
  };
438
438
  ui: {
439
- type: PropType<Partial<typeof config> & {
439
+ type: PropType<DeepPartial<typeof config> & {
440
440
  strategy?: Strategy;
441
441
  }>;
442
442
  default: () => {};
@@ -463,7 +463,119 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
463
463
  leading: boolean;
464
464
  color: InputColor;
465
465
  variant: InputVariant;
466
- ui: {};
466
+ ui: {
467
+ wrapper?: string;
468
+ base?: string;
469
+ form?: string;
470
+ rounded?: string;
471
+ placeholder?: string;
472
+ file?: DeepPartial<{
473
+ base: string;
474
+ }, any>;
475
+ size?: DeepPartial<{
476
+ '2xs': string;
477
+ xs: string;
478
+ sm: string;
479
+ md: string;
480
+ lg: string;
481
+ xl: string;
482
+ }, any>;
483
+ gap?: DeepPartial<{
484
+ '2xs': string;
485
+ xs: string;
486
+ sm: string;
487
+ md: string;
488
+ lg: string;
489
+ xl: string;
490
+ }, any>;
491
+ padding?: DeepPartial<{
492
+ '2xs': string;
493
+ xs: string;
494
+ sm: string;
495
+ md: string;
496
+ lg: string;
497
+ xl: string;
498
+ }, any>;
499
+ leading?: DeepPartial<{
500
+ padding: {
501
+ '2xs': string;
502
+ xs: string;
503
+ sm: string;
504
+ md: string;
505
+ lg: string;
506
+ xl: string;
507
+ };
508
+ }, any>;
509
+ trailing?: DeepPartial<{
510
+ padding: {
511
+ '2xs': string;
512
+ xs: string;
513
+ sm: string;
514
+ md: string;
515
+ lg: string;
516
+ xl: string;
517
+ };
518
+ }, any>;
519
+ color?: DeepPartial<{
520
+ white: {
521
+ outline: string;
522
+ };
523
+ gray: {
524
+ outline: string;
525
+ };
526
+ }, any>;
527
+ variant?: DeepPartial<{
528
+ outline: string;
529
+ none: string;
530
+ }, any>;
531
+ icon?: DeepPartial<{
532
+ base: string;
533
+ color: string;
534
+ loading: string;
535
+ size: {
536
+ '2xs': string;
537
+ xs: string;
538
+ sm: string;
539
+ md: string;
540
+ lg: string;
541
+ xl: string;
542
+ };
543
+ leading: {
544
+ wrapper: string;
545
+ pointer: string;
546
+ padding: {
547
+ '2xs': string;
548
+ xs: string;
549
+ sm: string;
550
+ md: string;
551
+ lg: string;
552
+ xl: string;
553
+ };
554
+ };
555
+ trailing: {
556
+ wrapper: string;
557
+ pointer: string;
558
+ padding: {
559
+ '2xs': string;
560
+ xs: string;
561
+ sm: string;
562
+ md: string;
563
+ lg: string;
564
+ xl: string;
565
+ };
566
+ };
567
+ }, any>;
568
+ default?: DeepPartial<{
569
+ size: string;
570
+ color: string;
571
+ variant: string;
572
+ loadingIcon: string;
573
+ }, any>;
574
+ } & {
575
+ [key: string]: any;
576
+ } & {
577
+ strategy?: Strategy;
578
+ };
467
579
  id: string;
468
580
  icon: string;
469
581
  modelValue: string | number;
@@ -477,7 +589,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
477
589
  placeholder: string;
478
590
  autofocus: boolean;
479
591
  autofocusDelay: number;
480
- modelModifiers: {};
592
+ modelModifiers: {
593
+ trim?: boolean;
594
+ lazy?: boolean;
595
+ number?: boolean;
596
+ };
481
597
  }, {}, {
482
598
  UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
483
599
  name: {