@nuxt/ui 2.18.6 → 2.19.0

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 (105) hide show
  1. package/dist/module.d.mts +1 -1
  2. package/dist/module.d.ts +1 -1
  3. package/dist/module.json +1 -1
  4. package/dist/module.mjs +3 -3
  5. package/dist/runtime/components/data/Table.vue +82 -27
  6. package/dist/runtime/components/data/Table.vue.d.ts +49 -41
  7. package/dist/runtime/components/elements/Alert.vue.d.ts +1 -1
  8. package/dist/runtime/components/elements/AvatarGroup.js +2 -2
  9. package/dist/runtime/components/elements/Carousel.vue +16 -7
  10. package/dist/runtime/components/elements/Carousel.vue.d.ts +9 -0
  11. package/dist/runtime/components/elements/Dropdown.vue +7 -3
  12. package/dist/runtime/components/elements/MeterGroup.d.ts +1 -1
  13. package/dist/runtime/components/elements/Progress.vue +1 -1
  14. package/dist/runtime/components/forms/Checkbox.vue.d.ts +5 -5
  15. package/dist/runtime/components/forms/Form.vue +104 -43
  16. package/dist/runtime/components/forms/Form.vue.d.ts +5 -3
  17. package/dist/runtime/components/forms/Input.vue +5 -2
  18. package/dist/runtime/components/forms/Input.vue.d.ts +5 -2
  19. package/dist/runtime/components/forms/InputMenu.vue +419 -8
  20. package/dist/runtime/components/forms/InputMenu.vue.d.ts +22 -3
  21. package/dist/runtime/components/forms/Radio.vue.d.ts +5 -5
  22. package/dist/runtime/components/forms/RadioGroup.vue +3 -4
  23. package/dist/runtime/components/forms/RadioGroup.vue.d.ts +8 -8
  24. package/dist/runtime/components/forms/Range.vue.d.ts +2 -2
  25. package/dist/runtime/components/forms/Select.vue.d.ts +3 -3
  26. package/dist/runtime/components/forms/SelectMenu.vue +501 -11
  27. package/dist/runtime/components/forms/SelectMenu.vue.d.ts +33 -5
  28. package/dist/runtime/components/forms/Textarea.vue +7 -4
  29. package/dist/runtime/components/forms/Textarea.vue.d.ts +5 -2
  30. package/dist/runtime/components/forms/Toggle.vue.d.ts +2 -2
  31. package/dist/runtime/components/layout/Divider.vue +1 -1
  32. package/dist/runtime/components/layout/Divider.vue.d.ts +5 -2
  33. package/dist/runtime/components/navigation/CommandPalette.vue +1 -1
  34. package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +1 -1
  35. package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +1 -1
  36. package/dist/runtime/components/navigation/Pagination.vue +4 -4
  37. package/dist/runtime/components/navigation/Pagination.vue.d.ts +1 -1
  38. package/dist/runtime/components/navigation/Tabs.vue +1 -1
  39. package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +6 -2
  40. package/dist/runtime/components/overlays/Modal.vue +1 -1
  41. package/dist/runtime/components/overlays/Notification.vue.d.ts +1 -1
  42. package/dist/runtime/components/overlays/Notifications.vue +1 -1
  43. package/dist/runtime/components/overlays/Notifications.vue.d.ts +1 -1
  44. package/dist/runtime/components/overlays/Popover.vue +7 -3
  45. package/dist/runtime/components/overlays/Tooltip.vue +5 -3
  46. package/dist/runtime/components/overlays/Tooltip.vue.d.ts +1 -0
  47. package/dist/runtime/composables/defineShortcuts.js +1 -1
  48. package/dist/runtime/composables/useButtonGroup.d.ts +1 -1
  49. package/dist/runtime/composables/useUI.js +1 -1
  50. package/dist/runtime/plugins/modals.js +1 -1
  51. package/dist/runtime/plugins/slideovers.js +1 -1
  52. package/dist/runtime/types/accordion.d.ts +1 -1
  53. package/dist/runtime/types/alert.d.ts +4 -4
  54. package/dist/runtime/types/avatar.d.ts +3 -3
  55. package/dist/runtime/types/badge.d.ts +3 -3
  56. package/dist/runtime/types/button.d.ts +3 -5
  57. package/dist/runtime/types/chip.d.ts +2 -2
  58. package/dist/runtime/types/command-palette.d.ts +2 -2
  59. package/dist/runtime/types/component.d.ts +3 -3
  60. package/dist/runtime/types/divider.d.ts +3 -3
  61. package/dist/runtime/types/dropdown.d.ts +1 -1
  62. package/dist/runtime/types/form-group.d.ts +2 -2
  63. package/dist/runtime/types/form.d.ts +7 -2
  64. package/dist/runtime/types/index.d.ts +1 -0
  65. package/dist/runtime/types/index.js +1 -0
  66. package/dist/runtime/types/input.d.ts +3 -3
  67. package/dist/runtime/types/kbd.d.ts +2 -2
  68. package/dist/runtime/types/meter.d.ts +2 -2
  69. package/dist/runtime/types/modal.d.ts +2 -2
  70. package/dist/runtime/types/notification.d.ts +1 -1
  71. package/dist/runtime/types/progress.d.ts +2 -2
  72. package/dist/runtime/types/range.d.ts +3 -3
  73. package/dist/runtime/types/select.d.ts +3 -3
  74. package/dist/runtime/types/table.d.ts +18 -0
  75. package/dist/runtime/types/textarea.d.ts +3 -3
  76. package/dist/runtime/types/toggle.d.ts +3 -3
  77. package/dist/runtime/types/utils.d.ts +2 -2
  78. package/dist/runtime/ui.config/data/table.d.ts +1 -0
  79. package/dist/runtime/ui.config/data/table.js +1 -0
  80. package/dist/runtime/ui.config/elements/avatar.js +15 -15
  81. package/dist/runtime/ui.config/elements/button.js +25 -25
  82. package/dist/runtime/ui.config/elements/buttonGroup.js +1 -1
  83. package/dist/runtime/ui.config/elements/carousel.js +2 -2
  84. package/dist/runtime/ui.config/elements/chip.js +5 -5
  85. package/dist/runtime/ui.config/elements/meter.js +20 -20
  86. package/dist/runtime/ui.config/elements/meterGroup.js +1 -1
  87. package/dist/runtime/ui.config/elements/progress.js +18 -18
  88. package/dist/runtime/ui.config/forms/formGroup.js +5 -6
  89. package/dist/runtime/ui.config/forms/input.js +40 -40
  90. package/dist/runtime/ui.config/forms/inputMenu.d.ts +6 -0
  91. package/dist/runtime/ui.config/forms/inputMenu.js +7 -1
  92. package/dist/runtime/ui.config/forms/range.js +20 -20
  93. package/dist/runtime/ui.config/forms/selectMenu.d.ts +9 -0
  94. package/dist/runtime/ui.config/forms/selectMenu.js +10 -1
  95. package/dist/runtime/ui.config/forms/toggle.js +20 -20
  96. package/dist/runtime/ui.config/layout/divider.d.ts +1 -0
  97. package/dist/runtime/ui.config/layout/divider.js +12 -11
  98. package/dist/runtime/ui.config/navigation/horizontalNavigation.js +1 -1
  99. package/dist/runtime/ui.config/navigation/verticalNavigation.js +1 -1
  100. package/dist/runtime/ui.config/popper.js +0 -1
  101. package/dist/runtime/utils/colors.js +7 -7
  102. package/dist/runtime/utils/index.js +4 -4
  103. package/dist/runtime/utils/link.js +1 -1
  104. package/dist/runtime/utils/lodash.js +1 -1
  105. package/package.json +23 -21
@@ -1,6 +1,6 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { DeepPartial, Strategy } from '../../types/index.js';
3
- import colors from '#ui-colors';
3
+ import type colors from '#ui-colors';
4
4
  declare const config: {
5
5
  wrapper: string;
6
6
  fieldset: string;
@@ -28,7 +28,7 @@ declare const configRadio: {
28
28
  };
29
29
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
30
30
  modelValue: {
31
- type: (StringConstructor | NumberConstructor | BooleanConstructor | ObjectConstructor)[];
31
+ type: PropType<string | number | boolean | object | null>;
32
32
  default: string;
33
33
  };
34
34
  name: {
@@ -109,7 +109,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
109
109
  onUpdate: (value: any) => void;
110
110
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
111
111
  modelValue: {
112
- type: (StringConstructor | NumberConstructor | BooleanConstructor | ObjectConstructor)[];
112
+ type: PropType<string | number | boolean | object | null>;
113
113
  default: string;
114
114
  };
115
115
  name: {
@@ -179,7 +179,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
179
179
  strategy?: Strategy;
180
180
  };
181
181
  options: unknown[];
182
- modelValue: string | number | boolean | Record<string, any>;
182
+ modelValue: string | number | boolean | object;
183
183
  optionAttribute: string;
184
184
  valueAttribute: string;
185
185
  uiRadio: {
@@ -214,7 +214,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
214
214
  default: any;
215
215
  };
216
216
  modelValue: {
217
- type: (StringConstructor | NumberConstructor | BooleanConstructor | ObjectConstructor)[];
217
+ type: PropType<string | number | boolean | object | null>;
218
218
  default: any;
219
219
  };
220
220
  name: {
@@ -294,7 +294,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
294
294
  attrs: import("vue").ComputedRef<Pick<{
295
295
  [x: string]: unknown;
296
296
  }, string>>;
297
- pick: import("vue").WritableComputedRef<string | number | boolean | Record<string, any>, string | number | boolean | Record<string, any>>;
297
+ pick: import("vue").WritableComputedRef<string | number | boolean | object, string | number | boolean | object>;
298
298
  name: any;
299
299
  inputClass: import("vue").ComputedRef<string>;
300
300
  onChange: (event: Event) => void;
@@ -308,7 +308,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
308
308
  default: any;
309
309
  };
310
310
  modelValue: {
311
- type: (StringConstructor | NumberConstructor | BooleanConstructor | ObjectConstructor)[];
311
+ type: PropType<string | number | boolean | object | null>;
312
312
  default: any;
313
313
  };
314
314
  name: {
@@ -398,7 +398,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
398
398
  strategy?: Strategy;
399
399
  };
400
400
  id: string;
401
- modelValue: string | number | boolean | Record<string, any>;
401
+ modelValue: string | number | boolean | object;
402
402
  value: string | number | boolean;
403
403
  help: string;
404
404
  inputClass: string;
@@ -65,7 +65,7 @@ declare const config: {
65
65
  };
66
66
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
67
67
  modelValue: {
68
- type: NumberConstructor;
68
+ type: PropType<number | null>;
69
69
  default: number;
70
70
  };
71
71
  id: {
@@ -197,7 +197,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
197
197
  onChange: (event: Event) => void;
198
198
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
199
199
  modelValue: {
200
- type: NumberConstructor;
200
+ type: PropType<number | null>;
201
201
  default: number;
202
202
  };
203
203
  id: {
@@ -112,7 +112,7 @@ declare const config: {
112
112
  };
113
113
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
114
114
  modelValue: {
115
- type: (StringConstructor | NumberConstructor | ObjectConstructor)[];
115
+ type: PropType<string | number | object | null>;
116
116
  default: string;
117
117
  };
118
118
  id: {
@@ -344,7 +344,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
344
344
  onChange: (event: Event) => void;
345
345
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
346
346
  modelValue: {
347
- type: (StringConstructor | NumberConstructor | ObjectConstructor)[];
347
+ type: PropType<string | number | object | null>;
348
348
  default: string;
349
349
  };
350
350
  id: {
@@ -569,7 +569,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
569
569
  id: string;
570
570
  icon: string;
571
571
  options: unknown[];
572
- modelValue: string | number | Record<string, any>;
572
+ modelValue: string | number | object;
573
573
  loading: boolean;
574
574
  padded: boolean;
575
575
  loadingIcon: string;