@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.
- package/dist/module.d.mts +1 -1
- package/dist/module.d.ts +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +3 -3
- package/dist/runtime/components/data/Table.vue +82 -27
- package/dist/runtime/components/data/Table.vue.d.ts +49 -41
- package/dist/runtime/components/elements/Alert.vue.d.ts +1 -1
- package/dist/runtime/components/elements/AvatarGroup.js +2 -2
- package/dist/runtime/components/elements/Carousel.vue +16 -7
- package/dist/runtime/components/elements/Carousel.vue.d.ts +9 -0
- package/dist/runtime/components/elements/Dropdown.vue +7 -3
- package/dist/runtime/components/elements/MeterGroup.d.ts +1 -1
- package/dist/runtime/components/elements/Progress.vue +1 -1
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +5 -5
- package/dist/runtime/components/forms/Form.vue +104 -43
- package/dist/runtime/components/forms/Form.vue.d.ts +5 -3
- package/dist/runtime/components/forms/Input.vue +5 -2
- package/dist/runtime/components/forms/Input.vue.d.ts +5 -2
- package/dist/runtime/components/forms/InputMenu.vue +419 -8
- package/dist/runtime/components/forms/InputMenu.vue.d.ts +22 -3
- package/dist/runtime/components/forms/Radio.vue.d.ts +5 -5
- package/dist/runtime/components/forms/RadioGroup.vue +3 -4
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +8 -8
- package/dist/runtime/components/forms/Range.vue.d.ts +2 -2
- package/dist/runtime/components/forms/Select.vue.d.ts +3 -3
- package/dist/runtime/components/forms/SelectMenu.vue +501 -11
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +33 -5
- package/dist/runtime/components/forms/Textarea.vue +7 -4
- package/dist/runtime/components/forms/Textarea.vue.d.ts +5 -2
- package/dist/runtime/components/forms/Toggle.vue.d.ts +2 -2
- package/dist/runtime/components/layout/Divider.vue +1 -1
- package/dist/runtime/components/layout/Divider.vue.d.ts +5 -2
- package/dist/runtime/components/navigation/CommandPalette.vue +1 -1
- package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/Pagination.vue +4 -4
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/Tabs.vue +1 -1
- package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +6 -2
- package/dist/runtime/components/overlays/Modal.vue +1 -1
- package/dist/runtime/components/overlays/Notification.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/Notifications.vue +1 -1
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/Popover.vue +7 -3
- package/dist/runtime/components/overlays/Tooltip.vue +5 -3
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +1 -0
- package/dist/runtime/composables/defineShortcuts.js +1 -1
- package/dist/runtime/composables/useButtonGroup.d.ts +1 -1
- package/dist/runtime/composables/useUI.js +1 -1
- package/dist/runtime/plugins/modals.js +1 -1
- package/dist/runtime/plugins/slideovers.js +1 -1
- package/dist/runtime/types/accordion.d.ts +1 -1
- package/dist/runtime/types/alert.d.ts +4 -4
- package/dist/runtime/types/avatar.d.ts +3 -3
- package/dist/runtime/types/badge.d.ts +3 -3
- package/dist/runtime/types/button.d.ts +3 -5
- package/dist/runtime/types/chip.d.ts +2 -2
- package/dist/runtime/types/command-palette.d.ts +2 -2
- package/dist/runtime/types/component.d.ts +3 -3
- package/dist/runtime/types/divider.d.ts +3 -3
- package/dist/runtime/types/dropdown.d.ts +1 -1
- package/dist/runtime/types/form-group.d.ts +2 -2
- package/dist/runtime/types/form.d.ts +7 -2
- package/dist/runtime/types/index.d.ts +1 -0
- package/dist/runtime/types/index.js +1 -0
- package/dist/runtime/types/input.d.ts +3 -3
- package/dist/runtime/types/kbd.d.ts +2 -2
- package/dist/runtime/types/meter.d.ts +2 -2
- package/dist/runtime/types/modal.d.ts +2 -2
- package/dist/runtime/types/notification.d.ts +1 -1
- package/dist/runtime/types/progress.d.ts +2 -2
- package/dist/runtime/types/range.d.ts +3 -3
- package/dist/runtime/types/select.d.ts +3 -3
- package/dist/runtime/types/table.d.ts +18 -0
- package/dist/runtime/types/textarea.d.ts +3 -3
- package/dist/runtime/types/toggle.d.ts +3 -3
- package/dist/runtime/types/utils.d.ts +2 -2
- package/dist/runtime/ui.config/data/table.d.ts +1 -0
- package/dist/runtime/ui.config/data/table.js +1 -0
- package/dist/runtime/ui.config/elements/avatar.js +15 -15
- package/dist/runtime/ui.config/elements/button.js +25 -25
- package/dist/runtime/ui.config/elements/buttonGroup.js +1 -1
- package/dist/runtime/ui.config/elements/carousel.js +2 -2
- package/dist/runtime/ui.config/elements/chip.js +5 -5
- package/dist/runtime/ui.config/elements/meter.js +20 -20
- package/dist/runtime/ui.config/elements/meterGroup.js +1 -1
- package/dist/runtime/ui.config/elements/progress.js +18 -18
- package/dist/runtime/ui.config/forms/formGroup.js +5 -6
- package/dist/runtime/ui.config/forms/input.js +40 -40
- package/dist/runtime/ui.config/forms/inputMenu.d.ts +6 -0
- package/dist/runtime/ui.config/forms/inputMenu.js +7 -1
- package/dist/runtime/ui.config/forms/range.js +20 -20
- package/dist/runtime/ui.config/forms/selectMenu.d.ts +9 -0
- package/dist/runtime/ui.config/forms/selectMenu.js +10 -1
- package/dist/runtime/ui.config/forms/toggle.js +20 -20
- package/dist/runtime/ui.config/layout/divider.d.ts +1 -0
- package/dist/runtime/ui.config/layout/divider.js +12 -11
- package/dist/runtime/ui.config/navigation/horizontalNavigation.js +1 -1
- package/dist/runtime/ui.config/navigation/verticalNavigation.js +1 -1
- package/dist/runtime/ui.config/popper.js +0 -1
- package/dist/runtime/utils/colors.js +7 -7
- package/dist/runtime/utils/index.js +4 -4
- package/dist/runtime/utils/link.js +1 -1
- package/dist/runtime/utils/lodash.js +1 -1
- 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:
|
|
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:
|
|
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 |
|
|
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:
|
|
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 |
|
|
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:
|
|
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 |
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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 |
|
|
572
|
+
modelValue: string | number | object;
|
|
573
573
|
loading: boolean;
|
|
574
574
|
padded: boolean;
|
|
575
575
|
loadingIcon: string;
|