@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
@@ -143,6 +143,8 @@ export default defineComponent({
143
143
  return;
144
144
  }
145
145
  textarea2.value.rows = props.rows;
146
+ const overflow = textarea2.value.style.overflow;
147
+ textarea2.value.style.overflow = "hidden";
146
148
  const styles = window.getComputedStyle(textarea2.value);
147
149
  const paddingTop = parseInt(styles.paddingTop);
148
150
  const paddingBottom = parseInt(styles.paddingBottom);
@@ -153,6 +155,7 @@ export default defineComponent({
153
155
  if (newRows > props.rows) {
154
156
  textarea2.value.rows = props.maxrows ? Math.min(newRows, props.maxrows) : newRows;
155
157
  }
158
+ textarea2.value.style.overflow = overflow;
156
159
  }
157
160
  };
158
161
  const updateInput = (value) => {
@@ -1,5 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
- import type { TextareaSize, TextareaColor, TextareaVariant, Strategy } from '../../types/index.js';
2
+ import type { TextareaSize, TextareaColor, TextareaVariant, Strategy, DeepPartial } from '../../types/index.js';
3
3
  declare const config: {
4
4
  form: string;
5
5
  default: {
@@ -108,7 +108,7 @@ declare const config: {
108
108
  };
109
109
  };
110
110
  };
111
- declare const _default: import("vue").DefineComponent<{
111
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
112
112
  modelValue: {
113
113
  type: (StringConstructor | NumberConstructor)[];
114
114
  default: string;
@@ -185,7 +185,7 @@ declare const _default: import("vue").DefineComponent<{
185
185
  default: () => "";
186
186
  };
187
187
  ui: {
188
- type: PropType<Partial<typeof config> & {
188
+ type: PropType<DeepPartial<typeof config> & {
189
189
  strategy?: Strategy;
190
190
  }>;
191
191
  default: () => {};
@@ -198,7 +198,7 @@ declare const _default: import("vue").DefineComponent<{
198
198
  }>;
199
199
  default: () => {};
200
200
  };
201
- }, {
201
+ }>, {
202
202
  ui: import("vue").ComputedRef<{
203
203
  form: string;
204
204
  default: {
@@ -312,12 +312,12 @@ declare const _default: import("vue").DefineComponent<{
312
312
  }, string>>;
313
313
  name: import("vue").ComputedRef<string>;
314
314
  inputId: import("vue").ComputedRef<string>;
315
- textarea: import("vue").Ref<HTMLTextAreaElement>;
315
+ textarea: import("vue").Ref<HTMLTextAreaElement, HTMLTextAreaElement>;
316
316
  textareaClass: import("vue").ComputedRef<string>;
317
317
  onInput: (event: Event) => void;
318
318
  onChange: (event: Event) => void;
319
319
  onBlur: (event: FocusEvent) => void;
320
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "update:modelValue")[], "blur" | "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
320
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "update:modelValue")[], "blur" | "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
321
321
  modelValue: {
322
322
  type: (StringConstructor | NumberConstructor)[];
323
323
  default: string;
@@ -394,7 +394,7 @@ declare const _default: import("vue").DefineComponent<{
394
394
  default: () => "";
395
395
  };
396
396
  ui: {
397
- type: PropType<Partial<typeof config> & {
397
+ type: PropType<DeepPartial<typeof config> & {
398
398
  strategy?: Strategy;
399
399
  }>;
400
400
  default: () => {};
@@ -407,20 +407,131 @@ declare const _default: import("vue").DefineComponent<{
407
407
  }>;
408
408
  default: () => {};
409
409
  };
410
- }>> & {
410
+ }>> & Readonly<{
411
411
  onBlur?: (...args: any[]) => any;
412
412
  onChange?: (...args: any[]) => any;
413
413
  "onUpdate:modelValue"?: (...args: any[]) => any;
414
- }, {
414
+ }>, {
415
415
  name: string;
416
- size: TextareaSize;
417
416
  required: boolean;
417
+ size: TextareaSize;
418
418
  class: any;
419
+ disabled: boolean;
419
420
  resize: boolean;
420
421
  color: TextareaColor;
421
422
  variant: TextareaVariant;
422
- disabled: boolean;
423
- ui: {};
423
+ ui: {
424
+ form?: string;
425
+ default?: DeepPartial<{
426
+ size: string;
427
+ color: string;
428
+ variant: string;
429
+ }, any>;
430
+ wrapper?: string;
431
+ base?: string;
432
+ rounded?: string;
433
+ placeholder?: string;
434
+ file?: DeepPartial<{
435
+ base: string;
436
+ }, any>;
437
+ size?: DeepPartial<{
438
+ '2xs': string;
439
+ xs: string;
440
+ sm: string;
441
+ md: string;
442
+ lg: string;
443
+ xl: string;
444
+ }, any>;
445
+ gap?: DeepPartial<{
446
+ '2xs': string;
447
+ xs: string;
448
+ sm: string;
449
+ md: string;
450
+ lg: string;
451
+ xl: string;
452
+ }, any>;
453
+ padding?: DeepPartial<{
454
+ '2xs': string;
455
+ xs: string;
456
+ sm: string;
457
+ md: string;
458
+ lg: string;
459
+ xl: string;
460
+ }, any>;
461
+ leading?: DeepPartial<{
462
+ padding: {
463
+ '2xs': string;
464
+ xs: string;
465
+ sm: string;
466
+ md: string;
467
+ lg: string;
468
+ xl: string;
469
+ };
470
+ }, any>;
471
+ trailing?: DeepPartial<{
472
+ padding: {
473
+ '2xs': string;
474
+ xs: string;
475
+ sm: string;
476
+ md: string;
477
+ lg: string;
478
+ xl: string;
479
+ };
480
+ }, any>;
481
+ color?: DeepPartial<{
482
+ white: {
483
+ outline: string;
484
+ };
485
+ gray: {
486
+ outline: string;
487
+ };
488
+ }, any>;
489
+ variant?: DeepPartial<{
490
+ outline: string;
491
+ none: string;
492
+ }, any>;
493
+ icon?: DeepPartial<{
494
+ base: string;
495
+ color: string;
496
+ loading: string;
497
+ size: {
498
+ '2xs': string;
499
+ xs: string;
500
+ sm: string;
501
+ md: string;
502
+ lg: string;
503
+ xl: string;
504
+ };
505
+ leading: {
506
+ wrapper: string;
507
+ pointer: string;
508
+ padding: {
509
+ '2xs': string;
510
+ xs: string;
511
+ sm: string;
512
+ md: string;
513
+ lg: string;
514
+ xl: string;
515
+ };
516
+ };
517
+ trailing: {
518
+ wrapper: string;
519
+ pointer: string;
520
+ padding: {
521
+ '2xs': string;
522
+ xs: string;
523
+ sm: string;
524
+ md: string;
525
+ lg: string;
526
+ xl: string;
527
+ };
528
+ };
529
+ }, any>;
530
+ } & {
531
+ [key: string]: any;
532
+ } & {
533
+ strategy?: Strategy;
534
+ };
424
535
  id: string;
425
536
  modelValue: string | number;
426
537
  padded: boolean;
@@ -428,9 +539,13 @@ declare const _default: import("vue").DefineComponent<{
428
539
  placeholder: string;
429
540
  autofocus: boolean;
430
541
  autofocusDelay: number;
431
- modelModifiers: {};
542
+ modelModifiers: {
543
+ trim?: boolean;
544
+ lazy?: boolean;
545
+ number?: boolean;
546
+ };
432
547
  maxrows: number;
433
548
  autoresize: boolean;
434
549
  textareaClass: string;
435
- }, {}>;
550
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
436
551
  export default _default;
@@ -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;
@@ -62,7 +62,7 @@ declare const config: {
62
62
  size: string;
63
63
  };
64
64
  };
65
- declare const _default: import("vue").DefineComponent<{
65
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
66
66
  id: {
67
67
  type: StringConstructor;
68
68
  default: any;
@@ -110,12 +110,12 @@ declare const _default: import("vue").DefineComponent<{
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: () => {};
117
117
  };
118
- }, {
118
+ }>, {
119
119
  ui: import("vue").ComputedRef<{
120
120
  base: string;
121
121
  rounded: string;
@@ -183,13 +183,13 @@ declare const _default: import("vue").DefineComponent<{
183
183
  }, string>>;
184
184
  name: import("vue").ComputedRef<string>;
185
185
  inputId: import("vue").ComputedRef<string>;
186
- active: import("vue").WritableComputedRef<boolean>;
186
+ active: import("vue").WritableComputedRef<boolean, boolean>;
187
187
  switchClass: import("vue").ComputedRef<string>;
188
188
  containerClass: import("vue").ComputedRef<string>;
189
189
  onIconClass: import("vue").ComputedRef<string>;
190
190
  offIconClass: import("vue").ComputedRef<string>;
191
191
  loadingIconClass: import("vue").ComputedRef<string>;
192
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
192
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
193
193
  id: {
194
194
  type: StringConstructor;
195
195
  default: any;
@@ -237,26 +237,225 @@ declare const _default: import("vue").DefineComponent<{
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: () => {};
244
244
  };
245
- }>> & {
245
+ }>> & Readonly<{
246
246
  onChange?: (...args: any[]) => any;
247
247
  "onUpdate:modelValue"?: (...args: any[]) => any;
248
- }, {
248
+ }>, {
249
249
  name: string;
250
250
  size: ToggleSize;
251
251
  class: any;
252
- color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
253
252
  disabled: boolean;
254
- ui: {};
253
+ color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
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;
258
323
  loadingIcon: string;
259
324
  onIcon: string;
260
325
  offIcon: string;
261
- }, {}>;
326
+ }, {}, {
327
+ HSwitch: import("vue").DefineComponent<{
328
+ as: {
329
+ type: (ObjectConstructor | StringConstructor)[];
330
+ default: string;
331
+ };
332
+ modelValue: {
333
+ type: BooleanConstructor;
334
+ default: undefined;
335
+ };
336
+ defaultChecked: {
337
+ type: BooleanConstructor;
338
+ optional: boolean;
339
+ };
340
+ form: {
341
+ type: StringConstructor;
342
+ optional: boolean;
343
+ };
344
+ name: {
345
+ type: StringConstructor;
346
+ optional: boolean;
347
+ };
348
+ value: {
349
+ type: StringConstructor;
350
+ optional: boolean;
351
+ };
352
+ id: {
353
+ type: StringConstructor;
354
+ default: null;
355
+ };
356
+ disabled: {
357
+ type: BooleanConstructor;
358
+ default: boolean;
359
+ };
360
+ tabIndex: {
361
+ type: NumberConstructor;
362
+ default: number;
363
+ };
364
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
365
+ [key: string]: any;
366
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
367
+ 'update:modelValue': (_value: boolean) => true;
368
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
369
+ as: {
370
+ type: (ObjectConstructor | StringConstructor)[];
371
+ default: string;
372
+ };
373
+ modelValue: {
374
+ type: BooleanConstructor;
375
+ default: undefined;
376
+ };
377
+ defaultChecked: {
378
+ type: BooleanConstructor;
379
+ optional: boolean;
380
+ };
381
+ form: {
382
+ type: StringConstructor;
383
+ optional: boolean;
384
+ };
385
+ name: {
386
+ type: StringConstructor;
387
+ optional: boolean;
388
+ };
389
+ value: {
390
+ type: StringConstructor;
391
+ optional: boolean;
392
+ };
393
+ id: {
394
+ type: StringConstructor;
395
+ default: null;
396
+ };
397
+ disabled: {
398
+ type: BooleanConstructor;
399
+ default: boolean;
400
+ };
401
+ tabIndex: {
402
+ type: NumberConstructor;
403
+ default: number;
404
+ };
405
+ }>> & {
406
+ "onUpdate:modelValue"?: ((_value: boolean) => any) | undefined;
407
+ }, {
408
+ id: string;
409
+ tabIndex: number;
410
+ as: string | Record<string, any>;
411
+ disabled: boolean;
412
+ modelValue: boolean;
413
+ defaultChecked: boolean;
414
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
415
+ UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
416
+ name: {
417
+ type: StringConstructor;
418
+ required: true;
419
+ };
420
+ mode: {
421
+ type: PropType<"svg" | "css">;
422
+ required: false;
423
+ default: any;
424
+ };
425
+ size: {
426
+ type: (StringConstructor | NumberConstructor)[];
427
+ required: false;
428
+ default: any;
429
+ };
430
+ customize: {
431
+ type: FunctionConstructor;
432
+ required: false;
433
+ default: any;
434
+ };
435
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
436
+ name: {
437
+ type: StringConstructor;
438
+ required: true;
439
+ };
440
+ mode: {
441
+ type: PropType<"svg" | "css">;
442
+ required: false;
443
+ default: any;
444
+ };
445
+ size: {
446
+ type: (StringConstructor | NumberConstructor)[];
447
+ required: false;
448
+ default: any;
449
+ };
450
+ customize: {
451
+ type: FunctionConstructor;
452
+ required: false;
453
+ default: any;
454
+ };
455
+ }>> & Readonly<{}>, {
456
+ mode: "svg" | "css";
457
+ size: string | number;
458
+ customize: Function;
459
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
460
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
262
461
  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
  background: string;
@@ -23,7 +23,7 @@ declare const config: {
23
23
  padding: string;
24
24
  };
25
25
  };
26
- declare const _default: import("vue").DefineComponent<{
26
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
27
27
  as: {
28
28
  type: StringConstructor;
29
29
  default: string;
@@ -33,12 +33,12 @@ declare const _default: import("vue").DefineComponent<{
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: () => {};
40
40
  };
41
- }, {
41
+ }>, {
42
42
  ui: import("vue").ComputedRef<{
43
43
  base: string;
44
44
  background: string;
@@ -66,7 +66,7 @@ declare const _default: import("vue").DefineComponent<{
66
66
  [x: string]: unknown;
67
67
  }, string>>;
68
68
  cardClass: import("vue").ComputedRef<string>;
69
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
69
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
70
70
  as: {
71
71
  type: StringConstructor;
72
72
  default: string;
@@ -76,14 +76,40 @@ declare const _default: import("vue").DefineComponent<{
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: () => {};
83
83
  };
84
- }>>, {
84
+ }>> & Readonly<{}>, {
85
85
  class: any;
86
86
  as: string;
87
- ui: {};
88
- }, {}>;
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
+ };
114
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
89
115
  export default _default;
@@ -1,11 +1,11 @@
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;
6
6
  constrained: string;
7
7
  };
8
- declare const _default: import("vue").DefineComponent<{
8
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
9
9
  as: {
10
10
  type: StringConstructor;
11
11
  default: string;
@@ -15,12 +15,12 @@ declare const _default: import("vue").DefineComponent<{
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: () => {};
22
22
  };
23
- }, {
23
+ }>, {
24
24
  ui: import("vue").ComputedRef<{
25
25
  base: string;
26
26
  padding: string;
@@ -30,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
30
30
  [x: string]: unknown;
31
31
  }, string>>;
32
32
  containerClass: import("vue").ComputedRef<string>;
33
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
33
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
34
34
  as: {
35
35
  type: StringConstructor;
36
36
  default: string;
@@ -40,14 +40,22 @@ declare const _default: import("vue").DefineComponent<{
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: () => {};
47
47
  };
48
- }>>, {
48
+ }>> & Readonly<{}>, {
49
49
  class: any;
50
50
  as: string;
51
- ui: {};
52
- }, {}>;
51
+ ui: {
52
+ base?: string;
53
+ padding?: string;
54
+ constrained?: string;
55
+ } & {
56
+ [key: string]: any;
57
+ } & {
58
+ strategy?: Strategy;
59
+ };
60
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
53
61
  export default _default;