@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.
- package/README.md +1 -1
- package/dist/module.d.mts +1 -6
- package/dist/module.d.ts +1 -6
- package/dist/module.json +2 -2
- package/dist/module.mjs +16 -8
- package/dist/runtime/components/data/Table.vue +8 -7
- package/dist/runtime/components/data/Table.vue.d.ts +2016 -12
- package/dist/runtime/components/elements/Accordion.vue.d.ts +1124 -10
- package/dist/runtime/components/elements/Alert.vue.d.ts +1449 -11
- package/dist/runtime/components/elements/Avatar.vue.d.ts +118 -10
- package/dist/runtime/components/elements/AvatarGroup.d.ts +12 -6
- package/dist/runtime/components/elements/Badge.vue.d.ts +45 -9
- package/dist/runtime/components/elements/Button.vue.d.ts +367 -14
- package/dist/runtime/components/elements/ButtonGroup.d.ts +107 -6
- package/dist/runtime/components/elements/Carousel.vue.d.ts +970 -10
- package/dist/runtime/components/elements/Chip.vue.d.ts +46 -9
- package/dist/runtime/components/elements/Dropdown.vue.d.ts +784 -13
- package/dist/runtime/components/elements/Icon.vue.d.ts +4 -4
- package/dist/runtime/components/elements/Kbd.vue.d.ts +28 -9
- package/dist/runtime/components/elements/Link.vue +1 -0
- package/dist/runtime/components/elements/Link.vue.d.ts +9 -9
- package/dist/runtime/components/elements/Meter.vue.d.ts +136 -11
- package/dist/runtime/components/elements/MeterGroup.d.ts +60 -6
- package/dist/runtime/components/elements/Progress.vue.d.ts +89 -12
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +33 -12
- package/dist/runtime/components/forms/Form.vue +4 -3
- package/dist/runtime/components/forms/Form.vue.d.ts +13 -6
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +39 -11
- package/dist/runtime/components/forms/Input.vue +1 -2
- package/dist/runtime/components/forms/Input.vue.d.ts +176 -14
- package/dist/runtime/components/forms/InputMenu.vue.d.ts +957 -20
- package/dist/runtime/components/forms/Radio.vue.d.ts +32 -12
- package/dist/runtime/components/forms/RadioGroup.vue +1 -1
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +245 -14
- package/dist/runtime/components/forms/Range.vue.d.ts +79 -13
- package/dist/runtime/components/forms/Select.vue.d.ts +171 -12
- package/dist/runtime/components/forms/SelectMenu.vue +1 -1
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +1163 -19
- package/dist/runtime/components/forms/Textarea.vue +3 -0
- package/dist/runtime/components/forms/Textarea.vue.d.ts +129 -14
- package/dist/runtime/components/forms/Toggle.vue.d.ts +211 -12
- package/dist/runtime/components/layout/Card.vue.d.ts +35 -9
- package/dist/runtime/components/layout/Container.vue.d.ts +17 -9
- package/dist/runtime/components/layout/Divider.vue.d.ts +528 -11
- package/dist/runtime/components/layout/Skeleton.vue.d.ts +17 -9
- package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +302 -9
- package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +1971 -13
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +625 -5
- package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +898 -9
- package/dist/runtime/components/navigation/Pagination.vue +4 -0
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +981 -11
- package/dist/runtime/components/navigation/Tabs.vue +4 -0
- package/dist/runtime/components/navigation/Tabs.vue.d.ts +274 -14
- package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +1666 -9
- package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +45 -12
- package/dist/runtime/components/overlays/Modal.vue +2 -2
- package/dist/runtime/components/overlays/Modal.vue.d.ts +392 -13
- package/dist/runtime/components/overlays/Notification.vue.d.ts +1459 -12
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +1746 -10
- package/dist/runtime/components/overlays/Popover.vue.d.ts +165 -14
- package/dist/runtime/components/overlays/Slideover.vue +3 -3
- package/dist/runtime/components/overlays/Slideover.vue.d.ts +391 -13
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +168 -12
- package/dist/runtime/composables/useFormGroup.d.ts +1 -1
- package/dist/runtime/composables/useFormGroup.js +4 -2
- package/dist/runtime/composables/useModal.d.ts +1 -1
- package/dist/runtime/composables/usePopper.d.ts +262 -1
- package/dist/runtime/composables/useShortcuts.d.ts +4 -4
- package/dist/runtime/composables/useSlideover.d.ts +1 -1
- package/dist/runtime/composables/useUI.d.ts +2 -2
- package/dist/runtime/composables/useUI.js +1 -1
- package/dist/runtime/plugins/colors.js +3 -3
- package/dist/runtime/types/command-palette.d.ts +2 -2
- package/dist/runtime/ui.config/elements/button.js +9 -9
- package/dist/runtime/ui.config/elements/carousel.js +1 -1
- package/dist/runtime/ui.config/navigation/tabs.js +1 -1
- package/dist/runtime/utils/index.d.ts +1 -0
- package/dist/runtime/utils/index.js +5 -1
- package/package.json +27 -29
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { ChipSize, ChipColor, ChipPosition, Strategy } from '../../types/index.js';
|
|
2
|
+
import type { ChipSize, ChipColor, ChipPosition, Strategy, DeepPartial } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
wrapper: string;
|
|
5
5
|
base: string;
|
|
@@ -34,7 +34,7 @@ declare const config: {
|
|
|
34
34
|
inset: boolean;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
|
-
declare const _default: import("vue").DefineComponent<{
|
|
37
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
38
38
|
size: {
|
|
39
39
|
type: PropType<ChipSize>;
|
|
40
40
|
default: () => string;
|
|
@@ -67,12 +67,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
67
67
|
default: () => "";
|
|
68
68
|
};
|
|
69
69
|
ui: {
|
|
70
|
-
type: PropType<
|
|
70
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
71
71
|
strategy?: Strategy;
|
|
72
72
|
}>;
|
|
73
73
|
default: () => {};
|
|
74
74
|
};
|
|
75
|
-
}
|
|
75
|
+
}>, {
|
|
76
76
|
ui: import("vue").ComputedRef<{
|
|
77
77
|
wrapper: string;
|
|
78
78
|
base: string;
|
|
@@ -111,7 +111,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
111
111
|
[x: string]: unknown;
|
|
112
112
|
}, string>>;
|
|
113
113
|
chipClass: import("vue").ComputedRef<string>;
|
|
114
|
-
},
|
|
114
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
115
115
|
size: {
|
|
116
116
|
type: PropType<ChipSize>;
|
|
117
117
|
default: () => string;
|
|
@@ -144,19 +144,56 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
144
144
|
default: () => "";
|
|
145
145
|
};
|
|
146
146
|
ui: {
|
|
147
|
-
type: PropType<
|
|
147
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
148
148
|
strategy?: Strategy;
|
|
149
149
|
}>;
|
|
150
150
|
default: () => {};
|
|
151
151
|
};
|
|
152
|
-
}
|
|
152
|
+
}>> & Readonly<{}>, {
|
|
153
153
|
size: "xs" | "sm" | "2xs" | "md" | "lg" | "xl" | "2xl" | "3xs" | "3xl";
|
|
154
154
|
class: any;
|
|
155
155
|
inset: boolean;
|
|
156
156
|
position: "top-right" | "bottom-right" | "top-left" | "bottom-left";
|
|
157
157
|
color: ChipColor;
|
|
158
158
|
text: string | number;
|
|
159
|
-
ui: {
|
|
159
|
+
ui: {
|
|
160
|
+
wrapper?: string;
|
|
161
|
+
base?: string;
|
|
162
|
+
background?: string;
|
|
163
|
+
position?: DeepPartial<{
|
|
164
|
+
'top-right': string;
|
|
165
|
+
'bottom-right': string;
|
|
166
|
+
'top-left': string;
|
|
167
|
+
'bottom-left': string;
|
|
168
|
+
}, any>;
|
|
169
|
+
translate?: DeepPartial<{
|
|
170
|
+
'top-right': string;
|
|
171
|
+
'bottom-right': string;
|
|
172
|
+
'top-left': string;
|
|
173
|
+
'bottom-left': string;
|
|
174
|
+
}, any>;
|
|
175
|
+
size?: DeepPartial<{
|
|
176
|
+
'3xs': string;
|
|
177
|
+
'2xs': string;
|
|
178
|
+
xs: string;
|
|
179
|
+
sm: string;
|
|
180
|
+
md: string;
|
|
181
|
+
lg: string;
|
|
182
|
+
xl: string;
|
|
183
|
+
'2xl': string;
|
|
184
|
+
'3xl': string;
|
|
185
|
+
}, any>;
|
|
186
|
+
default?: DeepPartial<{
|
|
187
|
+
size: string;
|
|
188
|
+
color: string;
|
|
189
|
+
position: string;
|
|
190
|
+
inset: boolean;
|
|
191
|
+
}, any>;
|
|
192
|
+
} & {
|
|
193
|
+
[key: string]: any;
|
|
194
|
+
} & {
|
|
195
|
+
strategy?: Strategy;
|
|
196
|
+
};
|
|
160
197
|
show: boolean;
|
|
161
|
-
}, {}>;
|
|
198
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
162
199
|
export default _default;
|