@porsche-design-system/components-vue 3.2.0 → 3.3.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/CHANGELOG.md +36 -0
- package/PorscheDesignSystemProvider.vue.d.ts +11 -26
- package/lib/components/AccordionWrapper.vue.d.ts +47 -54
- package/lib/components/BannerWrapper.vue.d.ts +66 -69
- package/lib/components/ButtonGroupWrapper.vue.d.ts +16 -33
- package/lib/components/ButtonPureWrapper.vue.d.ts +104 -98
- package/lib/components/ButtonTileWrapper.vue.d.ts +112 -99
- package/lib/components/ButtonWrapper.vue.d.ts +72 -73
- package/lib/components/CarouselWrapper.vue.d.ts +97 -91
- package/lib/components/CheckboxWrapperWrapper.vue.d.ts +52 -59
- package/lib/components/ContentWrapperWrapper.vue.d.ts +27 -43
- package/lib/components/CrestWrapper.vue.d.ts +24 -37
- package/lib/components/DisplayWrapper.vue.d.ts +50 -57
- package/lib/components/DividerWrapper.vue.d.ts +34 -45
- package/lib/components/FieldsetWrapper.vue.d.ts +51 -59
- package/lib/components/FieldsetWrapperWrapper.vue.d.ts +51 -59
- package/lib/components/FlexItemWrapper.vue.d.ts +52 -59
- package/lib/components/FlexWrapper.vue.d.ts +52 -59
- package/lib/components/FlyoutWrapper.vue.d.ts +37 -46
- package/lib/components/GridItemWrapper.vue.d.ts +20 -35
- package/lib/components/GridWrapper.vue.d.ts +34 -48
- package/lib/components/HeadingWrapper.vue.d.ts +50 -57
- package/lib/components/HeadlineWrapper.vue.d.ts +50 -57
- package/lib/components/IconWrapper.vue.d.ts +54 -60
- package/lib/components/InlineNotificationWrapper.vue.d.ts +72 -74
- package/lib/components/LinkPureWrapper.vue.d.ts +114 -104
- package/lib/components/LinkSocialWrapper.vue.d.ts +52 -57
- package/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +62 -65
- package/lib/components/LinkTileWrapper.vue.d.ts +102 -89
- package/lib/components/LinkWrapper.vue.d.ts +74 -73
- package/lib/components/MarqueWrapper.vue.d.ts +48 -55
- package/lib/components/ModalWrapper.vue.d.ts +57 -60
- package/lib/components/ModelSignatureWrapper.vue.d.ts +35 -47
- package/lib/components/PaginationWrapper.vue.d.ts +101 -94
- package/lib/components/PopoverWrapper.vue.d.ts +32 -43
- package/lib/components/RadioButtonWrapperWrapper.vue.d.ts +44 -53
- package/lib/components/ScrollerWrapper.vue.d.ts +60 -63
- package/lib/components/SegmentedControlItemWrapper.vue.d.ts +37 -45
- package/lib/components/SegmentedControlWrapper.vue.d.ts +25 -38
- package/lib/components/SelectWrapperWrapper.vue.d.ts +76 -77
- package/lib/components/SpinnerWrapper.vue.d.ts +26 -39
- package/lib/components/StepperHorizontalItemWrapper.vue.d.ts +17 -33
- package/lib/components/StepperHorizontalWrapper.vue.d.ts +21 -33
- package/lib/components/SwitchWrapper.vue.d.ts +61 -66
- package/lib/components/TableCellWrapper.vue.d.ts +11 -28
- package/lib/components/TableHeadCellWrapper.vue.d.ts +25 -38
- package/lib/components/TableWrapper.vue.d.ts +18 -34
- package/lib/components/TabsBarWrapper.vue.d.ts +49 -56
- package/lib/components/TabsItemWrapper.vue.d.ts +11 -16
- package/lib/components/TabsWrapper.vue.d.ts +51 -58
- package/lib/components/TagDismissibleWrapper.vue.d.ts +32 -43
- package/lib/components/TagWrapper.vue.d.ts +31 -43
- package/lib/components/TextFieldWrapperWrapper.vue.d.ts +105 -98
- package/lib/components/TextListWrapper.vue.d.ts +31 -43
- package/lib/components/TextWrapper.vue.d.ts +60 -65
- package/lib/components/TextareaWrapperWrapper.vue.d.ts +66 -69
- package/lib/components/ToastWrapper.vue.d.ts +11 -29
- package/lib/components/WordmarkWrapper.vue.d.ts +40 -49
- package/lib/types.d.ts +27 -2
- package/package.json +2 -2
|
@@ -1,55 +1,69 @@
|
|
|
1
|
-
import type { BreakpointCustomizable
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
1
|
+
import type { BreakpointCustomizable } from '../types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
label: {
|
|
4
|
+
type: import("vue").PropType<string>;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
theme: {
|
|
8
|
+
type: import("vue").PropType<"light" | "dark">;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
description: {
|
|
12
|
+
type: import("vue").PropType<string>;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
state: {
|
|
16
|
+
type: import("vue").PropType<"none" | "success" | "error">;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
hideLabel: {
|
|
20
|
+
type: import("vue").PropType<BreakpointCustomizable<boolean>>;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
message: {
|
|
24
|
+
type: import("vue").PropType<string>;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
showCharacterCount: {
|
|
28
|
+
type: import("vue").PropType<boolean>;
|
|
29
|
+
};
|
|
30
|
+
showCounter: {
|
|
31
|
+
type: import("vue").PropType<boolean>;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
+
label: {
|
|
36
|
+
type: import("vue").PropType<string>;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
theme: {
|
|
40
|
+
type: import("vue").PropType<"light" | "dark">;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
description: {
|
|
44
|
+
type: import("vue").PropType<string>;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
state: {
|
|
48
|
+
type: import("vue").PropType<"none" | "success" | "error">;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
hideLabel: {
|
|
52
|
+
type: import("vue").PropType<BreakpointCustomizable<boolean>>;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
message: {
|
|
56
|
+
type: import("vue").PropType<string>;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
showCharacterCount: {
|
|
60
|
+
type: import("vue").PropType<boolean>;
|
|
61
|
+
};
|
|
62
|
+
showCounter: {
|
|
63
|
+
type: import("vue").PropType<boolean>;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
}>>, {
|
|
53
67
|
label: string;
|
|
54
68
|
theme: "light" | "dark";
|
|
55
69
|
description: string;
|
|
@@ -61,25 +75,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
61
75
|
default?(_: {}): any;
|
|
62
76
|
}>;
|
|
63
77
|
export default _default;
|
|
64
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
65
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
66
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
67
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
68
|
-
} : {
|
|
69
|
-
type: import('vue').PropType<T[K]>;
|
|
70
|
-
required: true;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
type __VLS_WithDefaults<P, D> = {
|
|
74
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
75
|
-
default: D[K];
|
|
76
|
-
}> : P[K];
|
|
77
|
-
};
|
|
78
78
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
79
79
|
new (): {
|
|
80
80
|
$slots: S;
|
|
81
81
|
};
|
|
82
82
|
};
|
|
83
|
-
type __VLS_Prettify<T> = {
|
|
84
|
-
[K in keyof T]: T[K];
|
|
85
|
-
} & {};
|
|
@@ -1,32 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
}>>>, {
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
theme: {
|
|
3
|
+
type: import("vue").PropType<"light" | "dark">;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
theme: {
|
|
8
|
+
type: import("vue").PropType<"light" | "dark">;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
}>>, {
|
|
13
12
|
theme: "light" | "dark";
|
|
14
13
|
}, {}>;
|
|
15
14
|
export default _default;
|
|
16
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
18
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
-
} : {
|
|
21
|
-
type: import('vue').PropType<T[K]>;
|
|
22
|
-
required: true;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
type __VLS_WithDefaults<P, D> = {
|
|
26
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
27
|
-
default: D[K];
|
|
28
|
-
}> : P[K];
|
|
29
|
-
};
|
|
30
|
-
type __VLS_Prettify<T> = {
|
|
31
|
-
[K in keyof T]: T[K];
|
|
32
|
-
} & {};
|
|
@@ -1,54 +1,45 @@
|
|
|
1
|
-
import type { SelectedAriaAttributes
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
1
|
+
import type { SelectedAriaAttributes } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
size: {
|
|
4
|
+
type: import("vue").PropType<"inherit" | "small">;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
theme: {
|
|
8
|
+
type: import("vue").PropType<"light" | "dark">;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
aria: {
|
|
12
|
+
type: import("vue").PropType<SelectedAriaAttributes<"aria-label">>;
|
|
13
|
+
};
|
|
14
|
+
href: {
|
|
15
|
+
type: import("vue").PropType<string>;
|
|
16
|
+
};
|
|
17
|
+
target: {
|
|
18
|
+
type: import("vue").PropType<string>;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
size: {
|
|
23
|
+
type: import("vue").PropType<"inherit" | "small">;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
theme: {
|
|
27
|
+
type: import("vue").PropType<"light" | "dark">;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
aria: {
|
|
31
|
+
type: import("vue").PropType<SelectedAriaAttributes<"aria-label">>;
|
|
32
|
+
};
|
|
33
|
+
href: {
|
|
34
|
+
type: import("vue").PropType<string>;
|
|
35
|
+
};
|
|
36
|
+
target: {
|
|
37
|
+
type: import("vue").PropType<string>;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
}>>, {
|
|
33
41
|
size: "inherit" | "small";
|
|
34
42
|
theme: "light" | "dark";
|
|
35
43
|
target: string;
|
|
36
44
|
}, {}>;
|
|
37
45
|
export default _default;
|
|
38
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
39
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
40
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
41
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
42
|
-
} : {
|
|
43
|
-
type: import('vue').PropType<T[K]>;
|
|
44
|
-
required: true;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
type __VLS_WithDefaults<P, D> = {
|
|
48
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
49
|
-
default: D[K];
|
|
50
|
-
}> : P[K];
|
|
51
|
-
};
|
|
52
|
-
type __VLS_Prettify<T> = {
|
|
53
|
-
[K in keyof T]: T[K];
|
|
54
|
-
} & {};
|
package/lib/types.d.ts
CHANGED
|
@@ -10,6 +10,16 @@ export type AriaAttributes = {
|
|
|
10
10
|
*/
|
|
11
11
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
12
12
|
/** Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user. */
|
|
13
|
+
/**
|
|
14
|
+
* Defines a string value that labels the current element, which is intended to be converted into Braille.
|
|
15
|
+
* @see aria-label.
|
|
16
|
+
*/
|
|
17
|
+
"aria-braillelabel"?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.
|
|
20
|
+
* @see aria-roledescription.
|
|
21
|
+
*/
|
|
22
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
13
23
|
"aria-busy"?: Booleanish | undefined;
|
|
14
24
|
/**
|
|
15
25
|
* Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
|
|
@@ -26,6 +36,11 @@ export type AriaAttributes = {
|
|
|
26
36
|
* @see aria-colcount @see aria-colspan.
|
|
27
37
|
*/
|
|
28
38
|
"aria-colindex"?: number | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* Defines a human readable text alternative of aria-colindex.
|
|
41
|
+
* @see aria-rowindextext.
|
|
42
|
+
*/
|
|
43
|
+
"aria-colindextext"?: string | undefined;
|
|
29
44
|
/**
|
|
30
45
|
* Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
31
46
|
* @see aria-colindex @see aria-rowspan.
|
|
@@ -43,6 +58,11 @@ export type AriaAttributes = {
|
|
|
43
58
|
* @see aria-labelledby
|
|
44
59
|
*/
|
|
45
60
|
"aria-describedby"?: string | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Defines a string value that describes or annotates the current element.
|
|
63
|
+
* @see related aria-describedby.
|
|
64
|
+
*/
|
|
65
|
+
"aria-description"?: string | undefined;
|
|
46
66
|
/**
|
|
47
67
|
* Identifies the element that provides a detailed, extended description for the object.
|
|
48
68
|
* @see aria-describedby.
|
|
@@ -156,6 +176,11 @@ export type AriaAttributes = {
|
|
|
156
176
|
* @see aria-rowcount @see aria-rowspan.
|
|
157
177
|
*/
|
|
158
178
|
"aria-rowindex"?: number | undefined;
|
|
179
|
+
/**
|
|
180
|
+
* Defines a human readable text alternative of aria-rowindex.
|
|
181
|
+
* @see aria-colindextext.
|
|
182
|
+
*/
|
|
183
|
+
"aria-rowindextext"?: string | undefined;
|
|
159
184
|
/**
|
|
160
185
|
* Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
|
|
161
186
|
* @see aria-rowindex @see aria-colspan.
|
|
@@ -667,7 +692,7 @@ declare const FIELDSET_LABEL_SIZES: readonly [
|
|
|
667
692
|
"small",
|
|
668
693
|
"medium"
|
|
669
694
|
];
|
|
670
|
-
export type FieldsetLabelSize = typeof FIELDSET_LABEL_SIZES[number];
|
|
695
|
+
export type FieldsetLabelSize = (typeof FIELDSET_LABEL_SIZES)[number];
|
|
671
696
|
export type FieldsetState = FormState;
|
|
672
697
|
export type FieldsetWrapperLabelSize = FieldsetLabelSize;
|
|
673
698
|
export type FieldsetWrapperState = FieldsetState;
|
|
@@ -1106,7 +1131,7 @@ declare const TAG_COLORS: readonly [
|
|
|
1106
1131
|
"notification-success",
|
|
1107
1132
|
"notification-error"
|
|
1108
1133
|
];
|
|
1109
|
-
export type TagColor = typeof TAG_COLORS[number];
|
|
1134
|
+
export type TagColor = (typeof TAG_COLORS)[number];
|
|
1110
1135
|
declare const TEXT_TAGS: readonly [
|
|
1111
1136
|
"p",
|
|
1112
1137
|
"span",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porsche-design-system/components-vue",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"description": "Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"porsche",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"license": "SEE LICENSE IN LICENSE",
|
|
18
18
|
"homepage": "https://designsystem.porsche.com",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@porsche-design-system/components-js": "3.
|
|
20
|
+
"@porsche-design-system/components-js": "3.3.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"vue": ">=3.0.0 <4.0.0"
|