@porsche-design-system/components-vue 3.0.0-rc.1 → 3.0.0-rc.2
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 -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,77 +1,50 @@
|
|
|
1
|
+
/** __vue_virtual_code_placeholder */
|
|
1
2
|
import type { BreakpointCustomizable, LinkSocialIcon, LinkSocialTarget, Theme } from '../types';
|
|
2
|
-
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
type PLinkSocialProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Show or hide label.
|
|
6
6
|
*/
|
|
7
|
-
hideLabel?: BreakpointCustomizable<boolean
|
|
7
|
+
hideLabel?: BreakpointCustomizable<boolean>;
|
|
8
8
|
/**
|
|
9
9
|
* When providing an url then the component will be rendered as `<a>`.
|
|
10
10
|
*/
|
|
11
|
-
href?: string
|
|
11
|
+
href?: string;
|
|
12
12
|
/**
|
|
13
13
|
* The icon shown.
|
|
14
14
|
*/
|
|
15
|
-
icon?: LinkSocialIcon
|
|
15
|
+
icon?: LinkSocialIcon;
|
|
16
16
|
/**
|
|
17
17
|
* A URL path to a custom icon.
|
|
18
18
|
*/
|
|
19
|
-
iconSource?: string
|
|
19
|
+
iconSource?: string;
|
|
20
20
|
/**
|
|
21
21
|
* Specifies the relationship of the target object to the link object.
|
|
22
22
|
*/
|
|
23
|
-
rel?: string
|
|
23
|
+
rel?: string;
|
|
24
24
|
/**
|
|
25
25
|
* Target attribute where the link should be opened.
|
|
26
26
|
*/
|
|
27
|
-
target?:
|
|
27
|
+
target?: LinkSocialTarget;
|
|
28
28
|
/**
|
|
29
29
|
* Adapts the link color when used on dark background.
|
|
30
30
|
*/
|
|
31
|
-
theme?:
|
|
32
|
-
}
|
|
31
|
+
theme?: Theme;
|
|
32
|
+
};
|
|
33
|
+
/** @deprecated since v3.0.0, will be removed with next major release. Use `p-link` with corresponding social icon instead. */
|
|
34
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PLinkSocialProps>, {
|
|
33
35
|
hideLabel: boolean;
|
|
34
36
|
target: string;
|
|
35
37
|
theme: string;
|
|
36
|
-
}>, {}, 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<{
|
|
37
|
-
/**
|
|
38
|
-
* Show or hide label.
|
|
39
|
-
*/
|
|
40
|
-
hideLabel?: BreakpointCustomizable<boolean> | undefined;
|
|
41
|
-
/**
|
|
42
|
-
* When providing an url then the component will be rendered as `<a>`.
|
|
43
|
-
*/
|
|
44
|
-
href?: string | undefined;
|
|
45
|
-
/**
|
|
46
|
-
* The icon shown.
|
|
47
|
-
*/
|
|
48
|
-
icon?: LinkSocialIcon | undefined;
|
|
49
|
-
/**
|
|
50
|
-
* A URL path to a custom icon.
|
|
51
|
-
*/
|
|
52
|
-
iconSource?: string | undefined;
|
|
53
|
-
/**
|
|
54
|
-
* Specifies the relationship of the target object to the link object.
|
|
55
|
-
*/
|
|
56
|
-
rel?: string | undefined;
|
|
57
|
-
/**
|
|
58
|
-
* Target attribute where the link should be opened.
|
|
59
|
-
*/
|
|
60
|
-
target?: string | undefined;
|
|
61
|
-
/**
|
|
62
|
-
* Adapts the link color when used on dark background.
|
|
63
|
-
*/
|
|
64
|
-
theme?: "light" | "dark" | undefined;
|
|
65
|
-
}>, {
|
|
38
|
+
}>, {}, 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<PLinkSocialProps>, {
|
|
66
39
|
hideLabel: boolean;
|
|
67
40
|
target: string;
|
|
68
41
|
theme: string;
|
|
69
42
|
}>>>, {
|
|
70
|
-
theme:
|
|
43
|
+
theme: "light" | "dark";
|
|
71
44
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
72
|
-
target:
|
|
45
|
+
target: string;
|
|
73
46
|
}>, {
|
|
74
|
-
default
|
|
47
|
+
default?(_: {}): any;
|
|
75
48
|
}>;
|
|
76
49
|
export default _default;
|
|
77
50
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -84,12 +57,19 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
84
57
|
};
|
|
85
58
|
};
|
|
86
59
|
type __VLS_WithDefaults<P, D> = {
|
|
87
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
60
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
88
61
|
default: D[K];
|
|
89
|
-
} : P[K];
|
|
62
|
+
}> : P[K];
|
|
90
63
|
};
|
|
91
64
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
92
65
|
new (): {
|
|
93
66
|
$slots: S;
|
|
67
|
+
$props: __VLS_PropsChildren<S>;
|
|
94
68
|
};
|
|
95
69
|
};
|
|
70
|
+
type __VLS_PropsChildren<S> = {
|
|
71
|
+
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
72
|
+
};
|
|
73
|
+
type __VLS_Prettify<T> = {
|
|
74
|
+
[K in keyof T]: T[K];
|
|
75
|
+
} & {};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
/** __vue_virtual_code_placeholder */
|
|
1
2
|
import type { BreakpointCustomizable, LinkTileModelSignatureAspectRatio, LinkTileModelSignatureHeadingTag, LinkTileModelSignatureLinkDirection, LinkTileModelSignatureModel, LinkTileModelSignatureWeight } from '../types';
|
|
2
|
-
|
|
3
|
+
type PLinkTileModelSignatureProps = {
|
|
3
4
|
/**
|
|
4
5
|
* Aspect ratio of the link-tile-model-signature.
|
|
5
6
|
*/
|
|
6
|
-
aspectRatio?: BreakpointCustomizable<
|
|
7
|
+
aspectRatio?: BreakpointCustomizable<LinkTileModelSignatureAspectRatio>;
|
|
7
8
|
/**
|
|
8
9
|
* Description text.
|
|
9
10
|
*/
|
|
10
|
-
description?: string
|
|
11
|
+
description?: string;
|
|
11
12
|
/**
|
|
12
13
|
* Heading text.
|
|
13
14
|
*/
|
|
@@ -15,20 +16,21 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
16
|
/**
|
|
16
17
|
* Sets a custom headline tag which wraps the heading to enhance semantics.
|
|
17
18
|
*/
|
|
18
|
-
headingTag?:
|
|
19
|
+
headingTag?: LinkTileModelSignatureHeadingTag;
|
|
19
20
|
/**
|
|
20
21
|
* Defines the direction of the main and cross axis of the links. The default is '{base: ‘column’, xs: ‘row’}' showing buttons vertically stacked on mobile viewports and side-by-side in a horizontal row from breakpoint 'xs'.
|
|
21
22
|
*/
|
|
22
|
-
linkDirection?: BreakpointCustomizable<
|
|
23
|
+
linkDirection?: BreakpointCustomizable<LinkTileModelSignatureLinkDirection>;
|
|
23
24
|
/**
|
|
24
25
|
* Adapts the model of the component.
|
|
25
26
|
*/
|
|
26
|
-
model?:
|
|
27
|
+
model?: LinkTileModelSignatureModel;
|
|
27
28
|
/**
|
|
28
29
|
* Adapts the font weight of the heading.
|
|
29
30
|
*/
|
|
30
|
-
weight?: BreakpointCustomizable<
|
|
31
|
-
}
|
|
31
|
+
weight?: BreakpointCustomizable<LinkTileModelSignatureWeight>;
|
|
32
|
+
};
|
|
33
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PLinkTileModelSignatureProps>, {
|
|
32
34
|
aspectRatio: string;
|
|
33
35
|
headingTag: string;
|
|
34
36
|
linkDirection: () => {
|
|
@@ -37,36 +39,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
37
39
|
};
|
|
38
40
|
model: string;
|
|
39
41
|
weight: string;
|
|
40
|
-
}>, {}, 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<{
|
|
41
|
-
/**
|
|
42
|
-
* Aspect ratio of the link-tile-model-signature.
|
|
43
|
-
*/
|
|
44
|
-
aspectRatio?: BreakpointCustomizable<"1:1" | "4:3" | "3:4" | "16:9" | "9:16"> | undefined;
|
|
45
|
-
/**
|
|
46
|
-
* Description text.
|
|
47
|
-
*/
|
|
48
|
-
description?: string | undefined;
|
|
49
|
-
/**
|
|
50
|
-
* Heading text.
|
|
51
|
-
*/
|
|
52
|
-
heading: string;
|
|
53
|
-
/**
|
|
54
|
-
* Sets a custom headline tag which wraps the heading to enhance semantics.
|
|
55
|
-
*/
|
|
56
|
-
headingTag?: "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
|
|
57
|
-
/**
|
|
58
|
-
* Defines the direction of the main and cross axis of the links. The default is '{base: ‘column’, xs: ‘row’}' showing buttons vertically stacked on mobile viewports and side-by-side in a horizontal row from breakpoint 'xs'.
|
|
59
|
-
*/
|
|
60
|
-
linkDirection?: BreakpointCustomizable<"row" | "column"> | undefined;
|
|
61
|
-
/**
|
|
62
|
-
* Adapts the model of the component.
|
|
63
|
-
*/
|
|
64
|
-
model?: "718" | "911" | "boxster" | "cayenne" | "cayman" | "macan" | "panamera" | "taycan" | "turbo-s" | "turbo" | undefined;
|
|
65
|
-
/**
|
|
66
|
-
* Adapts the font weight of the heading.
|
|
67
|
-
*/
|
|
68
|
-
weight?: BreakpointCustomizable<"regular" | "semi-bold"> | undefined;
|
|
69
|
-
}>, {
|
|
42
|
+
}>, {}, 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<PLinkTileModelSignatureProps>, {
|
|
70
43
|
aspectRatio: string;
|
|
71
44
|
headingTag: string;
|
|
72
45
|
linkDirection: () => {
|
|
@@ -76,13 +49,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
76
49
|
model: string;
|
|
77
50
|
weight: string;
|
|
78
51
|
}>>>, {
|
|
79
|
-
weight: BreakpointCustomizable<
|
|
80
|
-
aspectRatio: BreakpointCustomizable<
|
|
81
|
-
headingTag:
|
|
82
|
-
linkDirection: BreakpointCustomizable<
|
|
83
|
-
model:
|
|
52
|
+
weight: BreakpointCustomizable<"regular" | "semi-bold">;
|
|
53
|
+
aspectRatio: BreakpointCustomizable<"1:1" | "4:3" | "3:4" | "16:9" | "9:16">;
|
|
54
|
+
headingTag: "h2" | "h3" | "h4" | "h5" | "h6";
|
|
55
|
+
linkDirection: BreakpointCustomizable<"row" | "column">;
|
|
56
|
+
model: "718" | "911" | "boxster" | "cayenne" | "cayman" | "macan" | "panamera" | "taycan" | "turbo-s" | "turbo";
|
|
84
57
|
}>, {
|
|
85
|
-
default
|
|
58
|
+
default?(_: {}): any;
|
|
86
59
|
}>;
|
|
87
60
|
export default _default;
|
|
88
61
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -95,12 +68,19 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
95
68
|
};
|
|
96
69
|
};
|
|
97
70
|
type __VLS_WithDefaults<P, D> = {
|
|
98
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
71
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
99
72
|
default: D[K];
|
|
100
|
-
} : P[K];
|
|
73
|
+
}> : P[K];
|
|
101
74
|
};
|
|
102
75
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
103
76
|
new (): {
|
|
104
77
|
$slots: S;
|
|
78
|
+
$props: __VLS_PropsChildren<S>;
|
|
105
79
|
};
|
|
106
80
|
};
|
|
81
|
+
type __VLS_PropsChildren<S> = {
|
|
82
|
+
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
83
|
+
};
|
|
84
|
+
type __VLS_Prettify<T> = {
|
|
85
|
+
[K in keyof T]: T[K];
|
|
86
|
+
} & {};
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/** __vue_virtual_code_placeholder */
|
|
2
|
+
import type { LinkTileAlign, SelectedAriaAttributes, LinkTileAriaAttribute, BreakpointCustomizable, LinkTileAspectRatio, LinkTileSize, LinkTileTarget, LinkTileWeight } from '../types';
|
|
3
|
+
type PLinkTileProps = {
|
|
3
4
|
/**
|
|
4
5
|
* Alignment of link and description.
|
|
5
6
|
*/
|
|
6
|
-
align?:
|
|
7
|
+
align?: LinkTileAlign;
|
|
7
8
|
/**
|
|
8
9
|
* Add ARIA attributes.
|
|
9
10
|
*/
|
|
10
|
-
aria?: SelectedAriaAttributes<
|
|
11
|
+
aria?: SelectedAriaAttributes<LinkTileAriaAttribute>;
|
|
11
12
|
/**
|
|
12
13
|
* Aspect ratio of the link-tile.
|
|
13
14
|
*/
|
|
14
|
-
aspectRatio?: BreakpointCustomizable<
|
|
15
|
+
aspectRatio?: BreakpointCustomizable<LinkTileAspectRatio>;
|
|
15
16
|
/**
|
|
16
17
|
* Displays the link-tile as compact version with description and link icon only.
|
|
17
18
|
*/
|
|
18
|
-
compact?: BreakpointCustomizable<boolean
|
|
19
|
+
compact?: BreakpointCustomizable<boolean>;
|
|
19
20
|
/**
|
|
20
21
|
* Description text.
|
|
21
22
|
*/
|
|
@@ -23,11 +24,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
23
24
|
/**
|
|
24
25
|
* Special download attribute to open native browser download dialog if target url points to a downloadable file.
|
|
25
26
|
*/
|
|
26
|
-
download?: string
|
|
27
|
+
download?: string;
|
|
27
28
|
/**
|
|
28
29
|
* Show gradient.
|
|
29
30
|
*/
|
|
30
|
-
gradient?: boolean
|
|
31
|
+
gradient?: boolean;
|
|
31
32
|
/**
|
|
32
33
|
* href of the `<a>`.
|
|
33
34
|
*/
|
|
@@ -39,20 +40,21 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
39
40
|
/**
|
|
40
41
|
* Specifies the relationship of the target object to the link object.
|
|
41
42
|
*/
|
|
42
|
-
rel?: string
|
|
43
|
+
rel?: string;
|
|
43
44
|
/**
|
|
44
45
|
* Font size of the description.
|
|
45
46
|
*/
|
|
46
|
-
size?: BreakpointCustomizable<
|
|
47
|
+
size?: BreakpointCustomizable<LinkTileSize>;
|
|
47
48
|
/**
|
|
48
49
|
* Target attribute where the link should be opened.
|
|
49
50
|
*/
|
|
50
|
-
target?:
|
|
51
|
+
target?: LinkTileTarget;
|
|
51
52
|
/**
|
|
52
53
|
* Font weight of the description.
|
|
53
54
|
*/
|
|
54
|
-
weight?: BreakpointCustomizable<
|
|
55
|
-
}
|
|
55
|
+
weight?: BreakpointCustomizable<LinkTileWeight>;
|
|
56
|
+
};
|
|
57
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PLinkTileProps>, {
|
|
56
58
|
align: string;
|
|
57
59
|
aspectRatio: string;
|
|
58
60
|
compact: boolean;
|
|
@@ -60,60 +62,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
60
62
|
size: string;
|
|
61
63
|
target: string;
|
|
62
64
|
weight: string;
|
|
63
|
-
}>, {}, 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<{
|
|
64
|
-
/**
|
|
65
|
-
* Alignment of link and description.
|
|
66
|
-
*/
|
|
67
|
-
align?: "top" | "bottom" | undefined;
|
|
68
|
-
/**
|
|
69
|
-
* Add ARIA attributes.
|
|
70
|
-
*/
|
|
71
|
-
aria?: SelectedAriaAttributes<"aria-label"> | undefined;
|
|
72
|
-
/**
|
|
73
|
-
* Aspect ratio of the link-tile.
|
|
74
|
-
*/
|
|
75
|
-
aspectRatio?: BreakpointCustomizable<"1:1" | "4:3" | "3:4" | "16:9" | "9:16"> | undefined;
|
|
76
|
-
/**
|
|
77
|
-
* Displays the link-tile as compact version with description and link icon only.
|
|
78
|
-
*/
|
|
79
|
-
compact?: BreakpointCustomizable<boolean> | undefined;
|
|
80
|
-
/**
|
|
81
|
-
* Description text.
|
|
82
|
-
*/
|
|
83
|
-
description: string;
|
|
84
|
-
/**
|
|
85
|
-
* Special download attribute to open native browser download dialog if target url points to a downloadable file.
|
|
86
|
-
*/
|
|
87
|
-
download?: string | undefined;
|
|
88
|
-
/**
|
|
89
|
-
* Show gradient.
|
|
90
|
-
*/
|
|
91
|
-
gradient?: boolean | undefined;
|
|
92
|
-
/**
|
|
93
|
-
* href of the `<a>`.
|
|
94
|
-
*/
|
|
95
|
-
href: string;
|
|
96
|
-
/**
|
|
97
|
-
* Label of the <a />.
|
|
98
|
-
*/
|
|
99
|
-
label: string;
|
|
100
|
-
/**
|
|
101
|
-
* Specifies the relationship of the target object to the link object.
|
|
102
|
-
*/
|
|
103
|
-
rel?: string | undefined;
|
|
104
|
-
/**
|
|
105
|
-
* Font size of the description.
|
|
106
|
-
*/
|
|
107
|
-
size?: BreakpointCustomizable<"default" | "inherit"> | undefined;
|
|
108
|
-
/**
|
|
109
|
-
* Target attribute where the link should be opened.
|
|
110
|
-
*/
|
|
111
|
-
target?: string | undefined;
|
|
112
|
-
/**
|
|
113
|
-
* Font weight of the description.
|
|
114
|
-
*/
|
|
115
|
-
weight?: BreakpointCustomizable<"regular" | "semi-bold" | "semibold"> | undefined;
|
|
116
|
-
}>, {
|
|
65
|
+
}>, {}, 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<PLinkTileProps>, {
|
|
117
66
|
align: string;
|
|
118
67
|
aspectRatio: string;
|
|
119
68
|
compact: boolean;
|
|
@@ -122,15 +71,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
122
71
|
target: string;
|
|
123
72
|
weight: string;
|
|
124
73
|
}>>>, {
|
|
125
|
-
weight: BreakpointCustomizable<
|
|
74
|
+
weight: BreakpointCustomizable<"regular" | "semi-bold" | "semibold">;
|
|
126
75
|
compact: BreakpointCustomizable<boolean>;
|
|
127
|
-
size: BreakpointCustomizable<
|
|
128
|
-
align:
|
|
129
|
-
aspectRatio: BreakpointCustomizable<
|
|
76
|
+
size: BreakpointCustomizable<"default" | "inherit">;
|
|
77
|
+
align: "top" | "bottom";
|
|
78
|
+
aspectRatio: BreakpointCustomizable<"1:1" | "4:3" | "3:4" | "16:9" | "9:16">;
|
|
130
79
|
gradient: boolean;
|
|
131
|
-
target:
|
|
80
|
+
target: string;
|
|
132
81
|
}>, {
|
|
133
|
-
default
|
|
82
|
+
default?(_: {}): any;
|
|
134
83
|
}>;
|
|
135
84
|
export default _default;
|
|
136
85
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -143,12 +92,19 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
143
92
|
};
|
|
144
93
|
};
|
|
145
94
|
type __VLS_WithDefaults<P, D> = {
|
|
146
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
95
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
147
96
|
default: D[K];
|
|
148
|
-
} : P[K];
|
|
97
|
+
}> : P[K];
|
|
149
98
|
};
|
|
150
99
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
151
100
|
new (): {
|
|
152
101
|
$slots: S;
|
|
102
|
+
$props: __VLS_PropsChildren<S>;
|
|
153
103
|
};
|
|
154
104
|
};
|
|
105
|
+
type __VLS_PropsChildren<S> = {
|
|
106
|
+
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
107
|
+
};
|
|
108
|
+
type __VLS_Prettify<T> = {
|
|
109
|
+
[K in keyof T]: T[K];
|
|
110
|
+
} & {};
|
|
@@ -1,106 +1,67 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/** __vue_virtual_code_placeholder */
|
|
2
|
+
import type { SelectedAriaAttributes, LinkAriaAttribute, BreakpointCustomizable, LinkIcon, LinkTarget, Theme, LinkVariant } from '../types';
|
|
3
|
+
type PLinkProps = {
|
|
3
4
|
/**
|
|
4
5
|
* Add ARIA attributes.
|
|
5
6
|
*/
|
|
6
|
-
aria?: SelectedAriaAttributes<
|
|
7
|
+
aria?: SelectedAriaAttributes<LinkAriaAttribute>;
|
|
7
8
|
/**
|
|
8
9
|
* Special download attribute to open native browser download dialog if target url points to a downloadable file.
|
|
9
10
|
*/
|
|
10
|
-
download?: string
|
|
11
|
+
download?: string;
|
|
11
12
|
/**
|
|
12
13
|
* Show or hide label. For better accessibility it is recommended to show the label.
|
|
13
14
|
*/
|
|
14
|
-
hideLabel?: BreakpointCustomizable<boolean
|
|
15
|
+
hideLabel?: BreakpointCustomizable<boolean>;
|
|
15
16
|
/**
|
|
16
17
|
* When providing an url then the component will be rendered as `<a>`.
|
|
17
18
|
*/
|
|
18
|
-
href?: string
|
|
19
|
+
href?: string;
|
|
19
20
|
/**
|
|
20
21
|
* The icon shown. By choosing 'none', no icon is displayed.
|
|
21
22
|
*/
|
|
22
|
-
icon?:
|
|
23
|
+
icon?: LinkIcon;
|
|
23
24
|
/**
|
|
24
25
|
* A URL path to a custom icon.
|
|
25
26
|
*/
|
|
26
|
-
iconSource?: string
|
|
27
|
+
iconSource?: string;
|
|
27
28
|
/**
|
|
28
29
|
* Specifies the relationship of the target object to the link object.
|
|
29
30
|
*/
|
|
30
|
-
rel?: string
|
|
31
|
+
rel?: string;
|
|
31
32
|
/**
|
|
32
33
|
* Target attribute where the link should be opened.
|
|
33
34
|
*/
|
|
34
|
-
target?:
|
|
35
|
+
target?: LinkTarget;
|
|
35
36
|
/**
|
|
36
37
|
* Adapts the link color when used on dark background.
|
|
37
38
|
*/
|
|
38
|
-
theme?:
|
|
39
|
+
theme?: Theme;
|
|
39
40
|
/**
|
|
40
41
|
* The style variant of the link.
|
|
41
42
|
*/
|
|
42
|
-
variant?:
|
|
43
|
-
}
|
|
43
|
+
variant?: LinkVariant;
|
|
44
|
+
};
|
|
45
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PLinkProps>, {
|
|
44
46
|
hideLabel: boolean;
|
|
45
47
|
icon: string;
|
|
46
48
|
target: string;
|
|
47
49
|
theme: string;
|
|
48
50
|
variant: string;
|
|
49
|
-
}>, {}, 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<{
|
|
50
|
-
/**
|
|
51
|
-
* Add ARIA attributes.
|
|
52
|
-
*/
|
|
53
|
-
aria?: SelectedAriaAttributes<"aria-label"> | undefined;
|
|
54
|
-
/**
|
|
55
|
-
* Special download attribute to open native browser download dialog if target url points to a downloadable file.
|
|
56
|
-
*/
|
|
57
|
-
download?: string | undefined;
|
|
58
|
-
/**
|
|
59
|
-
* Show or hide label. For better accessibility it is recommended to show the label.
|
|
60
|
-
*/
|
|
61
|
-
hideLabel?: BreakpointCustomizable<boolean> | undefined;
|
|
62
|
-
/**
|
|
63
|
-
* When providing an url then the component will be rendered as `<a>`.
|
|
64
|
-
*/
|
|
65
|
-
href?: string | undefined;
|
|
66
|
-
/**
|
|
67
|
-
* The icon shown. By choosing 'none', no icon is displayed.
|
|
68
|
-
*/
|
|
69
|
-
icon?: import("../types").LinkButtonIconName | undefined;
|
|
70
|
-
/**
|
|
71
|
-
* A URL path to a custom icon.
|
|
72
|
-
*/
|
|
73
|
-
iconSource?: string | undefined;
|
|
74
|
-
/**
|
|
75
|
-
* Specifies the relationship of the target object to the link object.
|
|
76
|
-
*/
|
|
77
|
-
rel?: string | undefined;
|
|
78
|
-
/**
|
|
79
|
-
* Target attribute where the link should be opened.
|
|
80
|
-
*/
|
|
81
|
-
target?: string | undefined;
|
|
82
|
-
/**
|
|
83
|
-
* Adapts the link color when used on dark background.
|
|
84
|
-
*/
|
|
85
|
-
theme?: "light" | "dark" | undefined;
|
|
86
|
-
/**
|
|
87
|
-
* The style variant of the link.
|
|
88
|
-
*/
|
|
89
|
-
variant?: "primary" | "secondary" | "tertiary" | undefined;
|
|
90
|
-
}>, {
|
|
51
|
+
}>, {}, 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<PLinkProps>, {
|
|
91
52
|
hideLabel: boolean;
|
|
92
53
|
icon: string;
|
|
93
54
|
target: string;
|
|
94
55
|
theme: string;
|
|
95
56
|
variant: string;
|
|
96
57
|
}>>>, {
|
|
97
|
-
theme:
|
|
58
|
+
theme: "light" | "dark";
|
|
98
59
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
99
|
-
icon:
|
|
100
|
-
variant:
|
|
101
|
-
target:
|
|
60
|
+
icon: import("../types").LinkButtonIconName;
|
|
61
|
+
variant: "primary" | "secondary" | "tertiary";
|
|
62
|
+
target: string;
|
|
102
63
|
}>, {
|
|
103
|
-
default
|
|
64
|
+
default?(_: {}): any;
|
|
104
65
|
}>;
|
|
105
66
|
export default _default;
|
|
106
67
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -113,12 +74,19 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
113
74
|
};
|
|
114
75
|
};
|
|
115
76
|
type __VLS_WithDefaults<P, D> = {
|
|
116
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
77
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
117
78
|
default: D[K];
|
|
118
|
-
} : P[K];
|
|
79
|
+
}> : P[K];
|
|
119
80
|
};
|
|
120
81
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
121
82
|
new (): {
|
|
122
83
|
$slots: S;
|
|
84
|
+
$props: __VLS_PropsChildren<S>;
|
|
123
85
|
};
|
|
124
86
|
};
|
|
87
|
+
type __VLS_PropsChildren<S> = {
|
|
88
|
+
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
89
|
+
};
|
|
90
|
+
type __VLS_Prettify<T> = {
|
|
91
|
+
[K in keyof T]: T[K];
|
|
92
|
+
} & {};
|
|
@@ -1,58 +1,39 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/** __vue_virtual_code_placeholder */
|
|
2
|
+
import type { SelectedAriaAttributes, MarqueAriaAttribute, MarqueSize, MarqueTarget } from '../types';
|
|
3
|
+
type PMarqueProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Add ARIA attributes.
|
|
6
6
|
*/
|
|
7
|
-
aria?: SelectedAriaAttributes<
|
|
7
|
+
aria?: SelectedAriaAttributes<MarqueAriaAttribute>;
|
|
8
8
|
/**
|
|
9
9
|
* When providing an url then the component will be rendered as `<a>`.
|
|
10
10
|
*/
|
|
11
|
-
href?: string
|
|
11
|
+
href?: string;
|
|
12
12
|
/**
|
|
13
13
|
* Adapts sizing of marque.
|
|
14
14
|
*/
|
|
15
|
-
size?:
|
|
15
|
+
size?: MarqueSize;
|
|
16
16
|
/**
|
|
17
17
|
* Target attribute where the link should be opened.
|
|
18
18
|
*/
|
|
19
|
-
target?:
|
|
19
|
+
target?: MarqueTarget;
|
|
20
20
|
/**
|
|
21
21
|
* Show/hide trademark sign.
|
|
22
22
|
*/
|
|
23
|
-
trademark?: boolean
|
|
24
|
-
}
|
|
23
|
+
trademark?: boolean;
|
|
24
|
+
};
|
|
25
|
+
/** @deprecated since v3.0.0, will be removed with next major release. Please use "p-wordmark" instead. */
|
|
26
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PMarqueProps>, {
|
|
25
27
|
size: string;
|
|
26
28
|
target: string;
|
|
27
29
|
trademark: boolean;
|
|
28
|
-
}>, {}, 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<{
|
|
29
|
-
/**
|
|
30
|
-
* Add ARIA attributes.
|
|
31
|
-
*/
|
|
32
|
-
aria?: SelectedAriaAttributes<"aria-label"> | undefined;
|
|
33
|
-
/**
|
|
34
|
-
* When providing an url then the component will be rendered as `<a>`.
|
|
35
|
-
*/
|
|
36
|
-
href?: string | undefined;
|
|
37
|
-
/**
|
|
38
|
-
* Adapts sizing of marque.
|
|
39
|
-
*/
|
|
40
|
-
size?: "small" | "medium" | "responsive" | undefined;
|
|
41
|
-
/**
|
|
42
|
-
* Target attribute where the link should be opened.
|
|
43
|
-
*/
|
|
44
|
-
target?: string | undefined;
|
|
45
|
-
/**
|
|
46
|
-
* Show/hide trademark sign.
|
|
47
|
-
*/
|
|
48
|
-
trademark?: boolean | undefined;
|
|
49
|
-
}>, {
|
|
30
|
+
}>, {}, 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<PMarqueProps>, {
|
|
50
31
|
size: string;
|
|
51
32
|
target: string;
|
|
52
33
|
trademark: boolean;
|
|
53
34
|
}>>>, {
|
|
54
|
-
size:
|
|
55
|
-
target:
|
|
35
|
+
size: "small" | "medium" | "responsive";
|
|
36
|
+
target: string;
|
|
56
37
|
trademark: boolean;
|
|
57
38
|
}>;
|
|
58
39
|
export default _default;
|
|
@@ -66,7 +47,10 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
66
47
|
};
|
|
67
48
|
};
|
|
68
49
|
type __VLS_WithDefaults<P, D> = {
|
|
69
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
50
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
70
51
|
default: D[K];
|
|
71
|
-
} : P[K];
|
|
52
|
+
}> : P[K];
|
|
72
53
|
};
|
|
54
|
+
type __VLS_Prettify<T> = {
|
|
55
|
+
[K in keyof T]: T[K];
|
|
56
|
+
} & {};
|