@nuxt/ui 2.21.1 → 2.22.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/README.md +22 -7
- package/dist/module.d.mts +2 -1
- package/dist/module.json +3 -3
- package/dist/module.mjs +2 -11
- package/dist/runtime/components/data/Table.vue +16 -13
- package/dist/runtime/components/data/Table.vue.d.ts +44 -347
- package/dist/runtime/components/elements/Accordion.vue +4 -4
- package/dist/runtime/components/elements/Accordion.vue.d.ts +16 -16
- package/dist/runtime/components/elements/Alert.vue +6 -6
- package/dist/runtime/components/elements/Alert.vue.d.ts +38 -38
- package/dist/runtime/components/elements/Avatar.vue.d.ts +2 -2
- package/dist/runtime/components/elements/Badge.vue.d.ts +2 -2
- package/dist/runtime/components/elements/Button.vue.d.ts +6 -6
- package/dist/runtime/components/elements/Carousel.vue +3 -3
- package/dist/runtime/components/elements/Carousel.vue.d.ts +22 -22
- package/dist/runtime/components/elements/Chip.vue.d.ts +1 -1
- package/dist/runtime/components/elements/Dropdown.vue +1 -1
- package/dist/runtime/components/elements/Dropdown.vue.d.ts +19 -19
- package/dist/runtime/components/elements/Kbd.vue.d.ts +1 -1
- package/dist/runtime/components/elements/Link.vue +7 -7
- package/dist/runtime/components/elements/Link.vue.d.ts +2 -2
- package/dist/runtime/components/elements/Meter.vue +1 -1
- package/dist/runtime/components/elements/Meter.vue.d.ts +3 -3
- package/dist/runtime/components/elements/MeterGroup.d.ts +1 -1
- package/dist/runtime/components/elements/Progress.vue +1 -1
- package/dist/runtime/components/elements/Progress.vue.d.ts +5 -5
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +3 -3
- package/dist/runtime/components/forms/Form.vue +0 -45
- package/dist/runtime/components/forms/Form.vue.d.ts +3 -7
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +2 -2
- package/dist/runtime/components/forms/Input.vue +3 -3
- package/dist/runtime/components/forms/Input.vue.d.ts +3 -3
- package/dist/runtime/components/forms/InputMenu.vue +2 -2
- package/dist/runtime/components/forms/InputMenu.vue.d.ts +16 -16
- package/dist/runtime/components/forms/Radio.vue.d.ts +3 -3
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +6 -6
- package/dist/runtime/components/forms/Range.vue.d.ts +3 -3
- package/dist/runtime/components/forms/Select.vue +2 -2
- package/dist/runtime/components/forms/Select.vue.d.ts +2 -2
- package/dist/runtime/components/forms/SelectMenu.vue +4 -4
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +16 -16
- package/dist/runtime/components/forms/Textarea.vue.d.ts +3 -3
- package/dist/runtime/components/forms/Toggle.vue.d.ts +2 -2
- package/dist/runtime/components/layout/Card.vue.d.ts +1 -1
- package/dist/runtime/components/layout/Container.vue.d.ts +1 -1
- package/dist/runtime/components/layout/Divider.vue.d.ts +15 -15
- package/dist/runtime/components/layout/Skeleton.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/Breadcrumb.vue +1 -1
- package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +3 -3
- package/dist/runtime/components/navigation/CommandPalette.vue +1 -1
- package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +33 -33
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +30 -30
- package/dist/runtime/components/navigation/HorizontalNavigation.vue +5 -5
- package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +36 -36
- package/dist/runtime/components/navigation/Pagination.vue +5 -5
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +34 -34
- package/dist/runtime/components/navigation/Tabs.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/VerticalNavigation.vue +5 -5
- package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +58 -58
- package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/Modal.vue +6 -6
- package/dist/runtime/components/overlays/Modal.vue.d.ts +3 -3
- package/dist/runtime/components/overlays/Modals.client.vue +5 -7
- package/dist/runtime/components/overlays/Modals.client.vue.d.ts +2 -0
- package/dist/runtime/components/overlays/Notification.vue +6 -6
- package/dist/runtime/components/overlays/Notification.vue.d.ts +42 -42
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +67 -67
- package/dist/runtime/components/overlays/Popover.vue.d.ts +2 -2
- package/dist/runtime/components/overlays/Slideover.vue.d.ts +3 -3
- package/dist/runtime/components/overlays/Slideovers.client.vue +5 -7
- package/dist/runtime/components/overlays/Slideovers.client.vue.d.ts +2 -0
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +5 -5
- package/dist/runtime/composables/useFormGroup.d.ts +1 -1
- package/dist/runtime/composables/useToast.d.ts +4 -4
- package/dist/runtime/ui.config/forms/selectMenu.d.ts +1 -1
- package/dist/runtime/utils/link.js +4 -2
- package/dist/types.d.mts +3 -1
- package/package.json +60 -35
- package/dist/module.cjs +0 -5
- package/dist/module.d.ts +0 -40
- package/dist/types.d.ts +0 -1
|
@@ -20,7 +20,7 @@ declare const config: {
|
|
|
20
20
|
};
|
|
21
21
|
avatar: {
|
|
22
22
|
base: string;
|
|
23
|
-
size: import("../../types/avatar").AvatarSize;
|
|
23
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
24
24
|
};
|
|
25
25
|
progress: {
|
|
26
26
|
base: string;
|
|
@@ -40,13 +40,13 @@ declare const config: {
|
|
|
40
40
|
timeout: number;
|
|
41
41
|
closeButton: {
|
|
42
42
|
icon: string;
|
|
43
|
-
color: import("../../types/button").ButtonColor;
|
|
44
|
-
variant: import("../../types/button").ButtonVariant;
|
|
43
|
+
color: import("../../types/button.js").ButtonColor;
|
|
44
|
+
variant: import("../../types/button.js").ButtonVariant;
|
|
45
45
|
padded: boolean;
|
|
46
46
|
};
|
|
47
47
|
actionButton: {
|
|
48
|
-
size: import("../../types/button").ButtonSize;
|
|
49
|
-
color: import("../../types/button").ButtonColor;
|
|
48
|
+
size: import("../../types/button.js").ButtonSize;
|
|
49
|
+
color: import("../../types/button.js").ButtonColor;
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
};
|
|
@@ -127,7 +127,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
127
127
|
};
|
|
128
128
|
avatar: {
|
|
129
129
|
base: string;
|
|
130
|
-
size: import("../../types/avatar").AvatarSize;
|
|
130
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
131
131
|
};
|
|
132
132
|
progress: {
|
|
133
133
|
base: string;
|
|
@@ -147,13 +147,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
147
147
|
timeout: number;
|
|
148
148
|
closeButton: {
|
|
149
149
|
icon: string;
|
|
150
|
-
color: import("../../types/button").ButtonColor;
|
|
151
|
-
variant: import("../../types/button").ButtonVariant;
|
|
150
|
+
color: import("../../types/button.js").ButtonColor;
|
|
151
|
+
variant: import("../../types/button.js").ButtonVariant;
|
|
152
152
|
padded: boolean;
|
|
153
153
|
};
|
|
154
154
|
actionButton: {
|
|
155
|
-
size: import("../../types/button").ButtonSize;
|
|
156
|
-
color: import("../../types/button").ButtonColor;
|
|
155
|
+
size: import("../../types/button.js").ButtonSize;
|
|
156
|
+
color: import("../../types/button.js").ButtonColor;
|
|
157
157
|
};
|
|
158
158
|
};
|
|
159
159
|
}>;
|
|
@@ -230,8 +230,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
230
230
|
}>> & Readonly<{
|
|
231
231
|
onClose?: (...args: any[]) => any;
|
|
232
232
|
}>, {
|
|
233
|
-
class: any;
|
|
234
|
-
timeout: number;
|
|
235
233
|
ui: {
|
|
236
234
|
wrapper?: string;
|
|
237
235
|
container?: string;
|
|
@@ -252,7 +250,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
252
250
|
}, any>;
|
|
253
251
|
avatar?: DeepPartial<{
|
|
254
252
|
base: string;
|
|
255
|
-
size: import("../../types/avatar").AvatarSize;
|
|
253
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
256
254
|
}, any>;
|
|
257
255
|
progress?: DeepPartial<{
|
|
258
256
|
base: string;
|
|
@@ -272,13 +270,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
272
270
|
timeout: number;
|
|
273
271
|
closeButton: {
|
|
274
272
|
icon: string;
|
|
275
|
-
color: import("../../types/button").ButtonColor;
|
|
276
|
-
variant: import("../../types/button").ButtonVariant;
|
|
273
|
+
color: import("../../types/button.js").ButtonColor;
|
|
274
|
+
variant: import("../../types/button.js").ButtonVariant;
|
|
277
275
|
padded: boolean;
|
|
278
276
|
};
|
|
279
277
|
actionButton: {
|
|
280
|
-
size: import("../../types/button").ButtonSize;
|
|
281
|
-
color: import("../../types/button").ButtonColor;
|
|
278
|
+
size: import("../../types/button.js").ButtonSize;
|
|
279
|
+
color: import("../../types/button.js").ButtonColor;
|
|
282
280
|
};
|
|
283
281
|
}, any>;
|
|
284
282
|
} & {
|
|
@@ -292,8 +290,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
292
290
|
description: string;
|
|
293
291
|
icon: string;
|
|
294
292
|
closeButton: Button;
|
|
293
|
+
timeout: number;
|
|
295
294
|
actions: NotificationAction[];
|
|
296
295
|
callback: Function;
|
|
296
|
+
class: any;
|
|
297
297
|
pauseTimeoutOnHover: boolean;
|
|
298
298
|
}, {}, {
|
|
299
299
|
UIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -363,17 +363,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
363
363
|
default: () => any;
|
|
364
364
|
};
|
|
365
365
|
size: {
|
|
366
|
-
type: PropType<import("../../types/avatar").AvatarSize>;
|
|
366
|
+
type: PropType<import("../../types/avatar.js").AvatarSize>;
|
|
367
367
|
default: () => string;
|
|
368
368
|
validator(value: string): boolean;
|
|
369
369
|
};
|
|
370
370
|
chipColor: {
|
|
371
|
-
type: PropType<import("../../types/avatar").AvatarChipColor>;
|
|
371
|
+
type: PropType<import("../../types/avatar.js").AvatarChipColor>;
|
|
372
372
|
default: () => any;
|
|
373
373
|
validator(value: string): boolean;
|
|
374
374
|
};
|
|
375
375
|
chipPosition: {
|
|
376
|
-
type: PropType<import("../../types/avatar").AvatarChipPosition>;
|
|
376
|
+
type: PropType<import("../../types/avatar.js").AvatarChipPosition>;
|
|
377
377
|
default: () => string;
|
|
378
378
|
validator(value: string): boolean;
|
|
379
379
|
};
|
|
@@ -546,17 +546,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
546
546
|
default: () => any;
|
|
547
547
|
};
|
|
548
548
|
size: {
|
|
549
|
-
type: PropType<import("../../types/avatar").AvatarSize>;
|
|
549
|
+
type: PropType<import("../../types/avatar.js").AvatarSize>;
|
|
550
550
|
default: () => string;
|
|
551
551
|
validator(value: string): boolean;
|
|
552
552
|
};
|
|
553
553
|
chipColor: {
|
|
554
|
-
type: PropType<import("../../types/avatar").AvatarChipColor>;
|
|
554
|
+
type: PropType<import("../../types/avatar.js").AvatarChipColor>;
|
|
555
555
|
default: () => any;
|
|
556
556
|
validator(value: string): boolean;
|
|
557
557
|
};
|
|
558
558
|
chipPosition: {
|
|
559
|
-
type: PropType<import("../../types/avatar").AvatarChipPosition>;
|
|
559
|
+
type: PropType<import("../../types/avatar.js").AvatarChipPosition>;
|
|
560
560
|
default: () => string;
|
|
561
561
|
validator(value: string): boolean;
|
|
562
562
|
};
|
|
@@ -637,8 +637,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
637
637
|
default: () => {};
|
|
638
638
|
};
|
|
639
639
|
}>> & Readonly<{}>, {
|
|
640
|
-
size: import("../../types/avatar").AvatarSize;
|
|
641
|
-
class: any;
|
|
640
|
+
size: import("../../types/avatar.js").AvatarSize;
|
|
642
641
|
ui: {
|
|
643
642
|
wrapper?: string;
|
|
644
643
|
background?: string;
|
|
@@ -703,11 +702,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
703
702
|
strategy?: Strategy;
|
|
704
703
|
};
|
|
705
704
|
as: string | Record<string, any>;
|
|
706
|
-
text: string;
|
|
707
705
|
alt: string;
|
|
708
706
|
icon: string;
|
|
707
|
+
class: any;
|
|
708
|
+
text: string;
|
|
709
709
|
src: string | boolean;
|
|
710
|
-
chipColor: import("../../types/avatar").AvatarChipColor;
|
|
710
|
+
chipColor: import("../../types/avatar.js").AvatarChipColor;
|
|
711
711
|
chipPosition: "top-right" | "bottom-right" | "top-left" | "bottom-left";
|
|
712
712
|
chipText: string | number;
|
|
713
713
|
imgClass: string;
|
|
@@ -784,17 +784,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
784
784
|
default: boolean;
|
|
785
785
|
};
|
|
786
786
|
size: {
|
|
787
|
-
type: PropType<import("../../types/button").ButtonSize>;
|
|
787
|
+
type: PropType<import("../../types/button.js").ButtonSize>;
|
|
788
788
|
default: () => string;
|
|
789
789
|
validator(value: string): boolean;
|
|
790
790
|
};
|
|
791
791
|
color: {
|
|
792
|
-
type: PropType<import("../../types/button").ButtonColor>;
|
|
792
|
+
type: PropType<import("../../types/button.js").ButtonColor>;
|
|
793
793
|
default: () => string;
|
|
794
794
|
validator(value: string): boolean;
|
|
795
795
|
};
|
|
796
796
|
variant: {
|
|
797
|
-
type: PropType<import("../../types/button").ButtonVariant>;
|
|
797
|
+
type: PropType<import("../../types/button.js").ButtonVariant>;
|
|
798
798
|
default: () => string;
|
|
799
799
|
validator(value: string): boolean;
|
|
800
800
|
};
|
|
@@ -1103,17 +1103,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1103
1103
|
default: boolean;
|
|
1104
1104
|
};
|
|
1105
1105
|
size: {
|
|
1106
|
-
type: PropType<import("../../types/button").ButtonSize>;
|
|
1106
|
+
type: PropType<import("../../types/button.js").ButtonSize>;
|
|
1107
1107
|
default: () => string;
|
|
1108
1108
|
validator(value: string): boolean;
|
|
1109
1109
|
};
|
|
1110
1110
|
color: {
|
|
1111
|
-
type: PropType<import("../../types/button").ButtonColor>;
|
|
1111
|
+
type: PropType<import("../../types/button.js").ButtonColor>;
|
|
1112
1112
|
default: () => string;
|
|
1113
1113
|
validator(value: string): boolean;
|
|
1114
1114
|
};
|
|
1115
1115
|
variant: {
|
|
1116
|
-
type: PropType<import("../../types/button").ButtonVariant>;
|
|
1116
|
+
type: PropType<import("../../types/button.js").ButtonVariant>;
|
|
1117
1117
|
default: () => string;
|
|
1118
1118
|
validator(value: string): boolean;
|
|
1119
1119
|
};
|
|
@@ -1305,10 +1305,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1305
1305
|
};
|
|
1306
1306
|
}>> & Readonly<{}>, {
|
|
1307
1307
|
type: string;
|
|
1308
|
-
size: import("../../types/button").ButtonSize;
|
|
1309
|
-
class: any;
|
|
1310
|
-
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1311
|
-
disabled: boolean;
|
|
1308
|
+
size: import("../../types/button.js").ButtonSize;
|
|
1312
1309
|
ui: {
|
|
1313
1310
|
base?: string;
|
|
1314
1311
|
font?: string;
|
|
@@ -1393,10 +1390,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1393
1390
|
} & {
|
|
1394
1391
|
strategy?: Strategy;
|
|
1395
1392
|
};
|
|
1396
|
-
color: import("../../types/button").ButtonColor;
|
|
1397
|
-
variant: import("../../types/button").ButtonVariant;
|
|
1393
|
+
color: import("../../types/button.js").ButtonColor;
|
|
1394
|
+
variant: import("../../types/button.js").ButtonVariant;
|
|
1398
1395
|
truncate: boolean;
|
|
1399
1396
|
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
1397
|
+
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1400
1398
|
activeClass: string;
|
|
1401
1399
|
exactActiveClass: string;
|
|
1402
1400
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
@@ -1407,12 +1405,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1407
1405
|
prefetchedClass: string;
|
|
1408
1406
|
external: boolean;
|
|
1409
1407
|
leading: boolean;
|
|
1408
|
+
disabled: boolean;
|
|
1410
1409
|
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1411
1410
|
rel: any;
|
|
1412
|
-
label: string;
|
|
1413
1411
|
icon: string;
|
|
1412
|
+
class: any;
|
|
1414
1413
|
block: boolean;
|
|
1415
1414
|
square: boolean;
|
|
1415
|
+
label: string;
|
|
1416
1416
|
loading: boolean;
|
|
1417
1417
|
padded: boolean;
|
|
1418
1418
|
loadingIcon: string;
|
|
@@ -1668,9 +1668,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1668
1668
|
};
|
|
1669
1669
|
}>> & Readonly<{}>, {
|
|
1670
1670
|
type: string;
|
|
1671
|
-
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1672
|
-
disabled: boolean;
|
|
1673
1671
|
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
1672
|
+
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1674
1673
|
activeClass: string;
|
|
1675
1674
|
exactActiveClass: string;
|
|
1676
1675
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
@@ -1681,6 +1680,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1681
1680
|
prefetchedClass: string;
|
|
1682
1681
|
external: boolean;
|
|
1683
1682
|
as: string;
|
|
1683
|
+
disabled: boolean;
|
|
1684
1684
|
active: boolean;
|
|
1685
1685
|
exact: boolean;
|
|
1686
1686
|
exactQuery: boolean | "partial";
|