@nuxt/ui 2.18.3 → 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 (76) 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 +1749 -9
  8. package/dist/runtime/components/elements/Accordion.vue.d.ts +1014 -9
  9. package/dist/runtime/components/elements/Alert.vue.d.ts +1257 -7
  10. package/dist/runtime/components/elements/Avatar.vue.d.ts +53 -7
  11. package/dist/runtime/components/elements/AvatarGroup.d.ts +6 -6
  12. package/dist/runtime/components/elements/Badge.vue.d.ts +6 -6
  13. package/dist/runtime/components/elements/Button.vue.d.ts +280 -10
  14. package/dist/runtime/components/elements/ButtonGroup.d.ts +7 -7
  15. package/dist/runtime/components/elements/Carousel.vue.d.ts +857 -7
  16. package/dist/runtime/components/elements/Chip.vue.d.ts +6 -6
  17. package/dist/runtime/components/elements/Dropdown.vue.d.ts +639 -10
  18. package/dist/runtime/components/elements/Icon.vue.d.ts +4 -4
  19. package/dist/runtime/components/elements/Kbd.vue.d.ts +6 -6
  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 +54 -8
  23. package/dist/runtime/components/elements/MeterGroup.d.ts +9 -7
  24. package/dist/runtime/components/elements/Progress.vue.d.ts +9 -9
  25. package/dist/runtime/components/forms/Checkbox.vue.d.ts +9 -9
  26. package/dist/runtime/components/forms/Form.vue +6 -8
  27. package/dist/runtime/components/forms/Form.vue.d.ts +13 -6
  28. package/dist/runtime/components/forms/FormGroup.vue.d.ts +8 -8
  29. package/dist/runtime/components/forms/Input.vue +1 -2
  30. package/dist/runtime/components/forms/Input.vue.d.ts +56 -10
  31. package/dist/runtime/components/forms/InputMenu.vue.d.ts +710 -13
  32. package/dist/runtime/components/forms/Radio.vue.d.ts +9 -9
  33. package/dist/runtime/components/forms/RadioGroup.vue +1 -1
  34. package/dist/runtime/components/forms/RadioGroup.vue.d.ts +188 -8
  35. package/dist/runtime/components/forms/Range.vue.d.ts +10 -10
  36. package/dist/runtime/components/forms/Select.vue.d.ts +55 -9
  37. package/dist/runtime/components/forms/SelectMenu.vue.d.ts +909 -12
  38. package/dist/runtime/components/forms/Textarea.vue +3 -0
  39. package/dist/runtime/components/forms/Textarea.vue.d.ts +10 -10
  40. package/dist/runtime/components/forms/Toggle.vue.d.ts +143 -9
  41. package/dist/runtime/components/layout/Card.vue.d.ts +6 -6
  42. package/dist/runtime/components/layout/Container.vue.d.ts +6 -6
  43. package/dist/runtime/components/layout/Divider.vue.d.ts +408 -7
  44. package/dist/runtime/components/layout/Skeleton.vue.d.ts +6 -6
  45. package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +276 -6
  46. package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +1729 -9
  47. package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +545 -6
  48. package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +768 -6
  49. package/dist/runtime/components/navigation/Pagination.vue +4 -0
  50. package/dist/runtime/components/navigation/Pagination.vue.d.ts +859 -9
  51. package/dist/runtime/components/navigation/Tabs.vue +9 -2
  52. package/dist/runtime/components/navigation/Tabs.vue.d.ts +234 -11
  53. package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +1413 -6
  54. package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +9 -9
  55. package/dist/runtime/components/overlays/Modal.vue.d.ts +343 -9
  56. package/dist/runtime/components/overlays/Notification.vue.d.ts +1258 -8
  57. package/dist/runtime/components/overlays/Notifications.vue.d.ts +1541 -11
  58. package/dist/runtime/components/overlays/Popover.vue.d.ts +113 -11
  59. package/dist/runtime/components/overlays/Slideover.vue +2 -2
  60. package/dist/runtime/components/overlays/Slideover.vue.d.ts +343 -9
  61. package/dist/runtime/components/overlays/Tooltip.vue.d.ts +107 -9
  62. package/dist/runtime/composables/useFormGroup.d.ts +2 -2
  63. package/dist/runtime/composables/useFormGroup.js +17 -19
  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/composables/useUI.d.ts +1 -1
  69. package/dist/runtime/plugins/colors.js +5 -5
  70. package/dist/runtime/types/command-palette.d.ts +2 -2
  71. package/dist/runtime/ui.config/elements/button.js +9 -9
  72. package/dist/runtime/ui.config/elements/carousel.js +1 -1
  73. package/dist/runtime/utils/colors.js +75 -67
  74. package/dist/runtime/utils/index.d.ts +2 -1
  75. package/dist/runtime/utils/index.js +5 -1
  76. package/package.json +26 -28
@@ -1,5 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
- import type { InputSize, InputColor, InputVariant, Strategy } from '../../types.js';
2
+ import type { InputSize, InputColor, InputVariant, Strategy } from '../../types/index.js';
3
3
  declare const config: {
4
4
  wrapper: string;
5
5
  base: string;
@@ -109,7 +109,7 @@ declare const config: {
109
109
  loadingIcon: string;
110
110
  };
111
111
  };
112
- declare const _default: import("vue").DefineComponent<{
112
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
113
113
  modelValue: {
114
114
  type: (StringConstructor | NumberConstructor)[];
115
115
  default: string;
@@ -215,7 +215,7 @@ declare const _default: import("vue").DefineComponent<{
215
215
  }>;
216
216
  default: () => {};
217
217
  };
218
- }, {
218
+ }>, {
219
219
  ui: import("vue").ComputedRef<{
220
220
  wrapper: string;
221
221
  base: string;
@@ -330,7 +330,7 @@ declare const _default: import("vue").DefineComponent<{
330
330
  }, string>>;
331
331
  name: import("vue").ComputedRef<string>;
332
332
  inputId: import("vue").ComputedRef<string>;
333
- input: import("vue").Ref<HTMLInputElement>;
333
+ input: import("vue").Ref<HTMLInputElement, HTMLInputElement>;
334
334
  isLeading: import("vue").ComputedRef<string | true>;
335
335
  isTrailing: import("vue").ComputedRef<string | true>;
336
336
  inputClass: import("vue").ComputedRef<string>;
@@ -343,7 +343,7 @@ declare const _default: import("vue").DefineComponent<{
343
343
  onInput: (event: Event) => void;
344
344
  onChange: (event: Event) => void;
345
345
  onBlur: (event: FocusEvent) => void;
346
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "update:modelValue")[], "blur" | "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
346
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "update:modelValue")[], "blur" | "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
347
347
  modelValue: {
348
348
  type: (StringConstructor | NumberConstructor)[];
349
349
  default: string;
@@ -449,20 +449,20 @@ declare const _default: import("vue").DefineComponent<{
449
449
  }>;
450
450
  default: () => {};
451
451
  };
452
- }>> & {
452
+ }>> & Readonly<{
453
453
  onBlur?: (...args: any[]) => any;
454
454
  onChange?: (...args: any[]) => any;
455
455
  "onUpdate:modelValue"?: (...args: any[]) => any;
456
- }, {
456
+ }>, {
457
457
  name: string;
458
- size: InputSize;
459
458
  type: string;
460
459
  required: boolean;
460
+ size: InputSize;
461
461
  class: any;
462
+ disabled: boolean;
462
463
  leading: boolean;
463
464
  color: InputColor;
464
465
  variant: InputVariant;
465
- disabled: boolean;
466
466
  ui: {};
467
467
  id: string;
468
468
  icon: string;
@@ -478,5 +478,51 @@ declare const _default: import("vue").DefineComponent<{
478
478
  autofocus: boolean;
479
479
  autofocusDelay: number;
480
480
  modelModifiers: {};
481
- }, {}>;
481
+ }, {}, {
482
+ UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
483
+ name: {
484
+ type: StringConstructor;
485
+ required: true;
486
+ };
487
+ mode: {
488
+ type: PropType<"svg" | "css">;
489
+ required: false;
490
+ default: any;
491
+ };
492
+ size: {
493
+ type: (StringConstructor | NumberConstructor)[];
494
+ required: false;
495
+ default: any;
496
+ };
497
+ customize: {
498
+ type: FunctionConstructor;
499
+ required: false;
500
+ default: any;
501
+ };
502
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
503
+ name: {
504
+ type: StringConstructor;
505
+ required: true;
506
+ };
507
+ mode: {
508
+ type: PropType<"svg" | "css">;
509
+ required: false;
510
+ default: any;
511
+ };
512
+ size: {
513
+ type: (StringConstructor | NumberConstructor)[];
514
+ required: false;
515
+ default: any;
516
+ };
517
+ customize: {
518
+ type: FunctionConstructor;
519
+ required: false;
520
+ default: any;
521
+ };
522
+ }>> & Readonly<{}>, {
523
+ mode: "svg" | "css";
524
+ size: string | number;
525
+ customize: Function;
526
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
527
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
482
528
  export default _default;