@porsche-design-system/components-vue 3.0.0-rc.1 → 3.0.0-rc.3
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 +54 -0
- package/PorscheDesignSystemProvider.vue.d.ts +11 -3
- package/lib/components/AccordionWrapper.vue.d.ts +24 -41
- package/lib/components/BannerWrapper.vue.d.ts +25 -50
- package/lib/components/ButtonGroupWrapper.vue.d.ts +17 -13
- package/lib/components/ButtonPureWrapper.vue.d.ts +35 -80
- package/lib/components/ButtonTileWrapper.vue.d.ts +34 -82
- package/lib/components/ButtonWrapper.vue.d.ts +29 -57
- package/lib/components/CarouselWrapper.vue.d.ts +32 -74
- package/lib/components/CheckboxWrapperWrapper.vue.d.ts +23 -39
- package/lib/components/ContentWrapperWrapper.vue.d.ts +22 -28
- package/lib/components/CrestWrapper.vue.d.ts +15 -23
- package/lib/components/DisplayWrapper.vue.d.ts +26 -42
- package/lib/components/DividerWrapper.vue.d.ts +18 -30
- package/lib/components/FieldsetWrapper.vue.d.ts +24 -40
- package/lib/components/FieldsetWrapperWrapper.vue.d.ts +25 -41
- package/lib/components/FlexItemWrapper.vue.d.ts +28 -44
- package/lib/components/FlexWrapper.vue.d.ts +28 -44
- package/lib/components/GridItemWrapper.vue.d.ts +20 -20
- package/lib/components/GridWrapper.vue.d.ts +22 -27
- package/lib/components/HeadingWrapper.vue.d.ts +26 -42
- package/lib/components/HeadlineWrapper.vue.d.ts +26 -42
- package/lib/components/IconWrapper.vue.d.ts +22 -50
- package/lib/components/IconWrapper.vue.js +8 -8
- package/lib/components/InlineNotificationWrapper.vue.d.ts +27 -56
- package/lib/components/LinkPureWrapper.vue.d.ts +37 -90
- package/lib/components/LinkSocialWrapper.vue.d.ts +25 -45
- package/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +26 -46
- package/lib/components/LinkTileWrapper.vue.d.ts +31 -75
- package/lib/components/LinkWrapper.vue.d.ts +30 -62
- package/lib/components/MarqueWrapper.vue.d.ts +19 -35
- package/lib/components/ModalWrapper.vue.d.ts +22 -43
- package/lib/components/ModelSignatureWrapper.vue.d.ts +18 -30
- package/lib/components/PaginationWrapper.vue.d.ts +22 -59
- package/lib/components/PopoverWrapper.vue.d.ts +22 -30
- package/lib/components/RadioButtonWrapperWrapper.vue.d.ts +22 -34
- package/lib/components/ScrollerWrapper.vue.d.ts +33 -49
- package/lib/components/ScrollerWrapper.vue.js +4 -3
- package/lib/components/SegmentedControlItemWrapper.vue.d.ts +20 -31
- package/lib/components/SegmentedControlWrapper.vue.d.ts +20 -25
- package/lib/components/SelectWrapperWrapper.vue.d.ts +27 -55
- package/lib/components/SpinnerWrapper.vue.d.ts +16 -24
- package/lib/components/StepperHorizontalItemWrapper.vue.d.ts +18 -17
- package/lib/components/StepperHorizontalWrapper.vue.d.ts +19 -17
- package/lib/components/SwitchWrapper.vue.d.ts +24 -45
- package/lib/components/TableBodyWrapper.vue.d.ts +6 -1
- package/lib/components/TableCellWrapper.vue.d.ts +16 -12
- package/lib/components/TableHeadCellWrapper.vue.d.ts +18 -22
- package/lib/components/TableHeadRowWrapper.vue.d.ts +6 -1
- package/lib/components/TableHeadWrapper.vue.d.ts +6 -1
- package/lib/components/TableRowWrapper.vue.d.ts +6 -1
- package/lib/components/TableWrapper.vue.d.ts +18 -19
- package/lib/components/TabsBarWrapper.vue.d.ts +25 -42
- package/lib/components/TabsItemWrapper.vue.d.ts +9 -8
- package/lib/components/TabsWrapper.vue.d.ts +26 -43
- package/lib/components/TagDismissibleWrapper.vue.d.ts +22 -30
- package/lib/components/TagWrapper.vue.d.ts +22 -30
- package/lib/components/TextFieldWrapperWrapper.vue.d.ts +31 -71
- package/lib/components/TextListItemWrapper.vue.d.ts +6 -1
- package/lib/components/TextListWrapper.vue.d.ts +22 -30
- package/lib/components/TextWrapper.vue.d.ts +28 -48
- package/lib/components/TextareaWrapperWrapper.vue.d.ts +25 -49
- package/lib/components/ToastWrapper.vue.d.ts +12 -12
- package/lib/components/WordmarkWrapper.vue.d.ts +19 -35
- package/lib/types.d.ts +210 -191
- package/package.json +2 -2
|
@@ -1,20 +1,17 @@
|
|
|
1
|
+
/** __vue_virtual_code_placeholder */
|
|
1
2
|
import type { Theme } from '../types';
|
|
2
|
-
|
|
3
|
+
type PToastProps = {
|
|
3
4
|
/**
|
|
4
5
|
* Adapts the toast color depending on the theme.
|
|
5
6
|
*/
|
|
6
|
-
theme?:
|
|
7
|
-
}
|
|
7
|
+
theme?: Theme;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PToastProps>, {
|
|
8
10
|
theme: string;
|
|
9
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
-
/**
|
|
11
|
-
* Adapts the toast color depending on the theme.
|
|
12
|
-
*/
|
|
13
|
-
theme?: "light" | "dark" | undefined;
|
|
14
|
-
}>, {
|
|
11
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PToastProps>, {
|
|
15
12
|
theme: string;
|
|
16
13
|
}>>>, {
|
|
17
|
-
theme:
|
|
14
|
+
theme: "light" | "dark";
|
|
18
15
|
}>;
|
|
19
16
|
export default _default;
|
|
20
17
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -27,7 +24,10 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
27
24
|
};
|
|
28
25
|
};
|
|
29
26
|
type __VLS_WithDefaults<P, D> = {
|
|
30
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
27
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
31
28
|
default: D[K];
|
|
32
|
-
} : P[K];
|
|
29
|
+
}> : P[K];
|
|
33
30
|
};
|
|
31
|
+
type __VLS_Prettify<T> = {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} & {};
|
|
@@ -1,58 +1,39 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/** __vue_virtual_code_placeholder */
|
|
2
|
+
import type { SelectedAriaAttributes, WordmarkAriaAttribute, WordmarkSize, WordmarkTarget, Theme } from '../types';
|
|
3
|
+
type PWordmarkProps = {
|
|
3
4
|
/**
|
|
4
5
|
* Add ARIA attributes.
|
|
5
6
|
*/
|
|
6
|
-
aria?: SelectedAriaAttributes<
|
|
7
|
+
aria?: SelectedAriaAttributes<WordmarkAriaAttribute>;
|
|
7
8
|
/**
|
|
8
9
|
* When providing an url then the component will be rendered as `<a>`.
|
|
9
10
|
*/
|
|
10
|
-
href?: string
|
|
11
|
+
href?: string;
|
|
11
12
|
/**
|
|
12
13
|
* Adapts sizing of wordmark.
|
|
13
14
|
*/
|
|
14
|
-
size?:
|
|
15
|
+
size?: WordmarkSize;
|
|
15
16
|
/**
|
|
16
17
|
* Target attribute where the link should be opened.
|
|
17
18
|
*/
|
|
18
|
-
target?:
|
|
19
|
+
target?: WordmarkTarget;
|
|
19
20
|
/**
|
|
20
21
|
* Adapts color depending on theme.
|
|
21
22
|
*/
|
|
22
|
-
theme?:
|
|
23
|
-
}
|
|
23
|
+
theme?: Theme;
|
|
24
|
+
};
|
|
25
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PWordmarkProps>, {
|
|
24
26
|
size: string;
|
|
25
27
|
target: string;
|
|
26
28
|
theme: string;
|
|
27
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
28
|
-
/**
|
|
29
|
-
* Add ARIA attributes.
|
|
30
|
-
*/
|
|
31
|
-
aria?: SelectedAriaAttributes<"aria-label"> | undefined;
|
|
32
|
-
/**
|
|
33
|
-
* When providing an url then the component will be rendered as `<a>`.
|
|
34
|
-
*/
|
|
35
|
-
href?: string | undefined;
|
|
36
|
-
/**
|
|
37
|
-
* Adapts sizing of wordmark.
|
|
38
|
-
*/
|
|
39
|
-
size?: "inherit" | "small" | undefined;
|
|
40
|
-
/**
|
|
41
|
-
* Target attribute where the link should be opened.
|
|
42
|
-
*/
|
|
43
|
-
target?: string | undefined;
|
|
44
|
-
/**
|
|
45
|
-
* Adapts color depending on theme.
|
|
46
|
-
*/
|
|
47
|
-
theme?: "light" | "dark" | undefined;
|
|
48
|
-
}>, {
|
|
29
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PWordmarkProps>, {
|
|
49
30
|
size: string;
|
|
50
31
|
target: string;
|
|
51
32
|
theme: string;
|
|
52
33
|
}>>>, {
|
|
53
|
-
size:
|
|
54
|
-
theme:
|
|
55
|
-
target:
|
|
34
|
+
size: "inherit" | "small";
|
|
35
|
+
theme: "light" | "dark";
|
|
36
|
+
target: string;
|
|
56
37
|
}>;
|
|
57
38
|
export default _default;
|
|
58
39
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -65,7 +46,10 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
65
46
|
};
|
|
66
47
|
};
|
|
67
48
|
type __VLS_WithDefaults<P, D> = {
|
|
68
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
49
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
69
50
|
default: D[K];
|
|
70
|
-
} : P[K];
|
|
51
|
+
}> : P[K];
|
|
71
52
|
};
|
|
53
|
+
type __VLS_Prettify<T> = {
|
|
54
|
+
[K in keyof T]: T[K];
|
|
55
|
+
} & {};
|