@porsche-design-system/components-vue 3.14.0 → 3.15.0-rc.1
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 +24 -0
- package/cjs/lib/components/ModelSignatureWrapper.vue.cjs +1 -1
- package/esm/lib/components/ModelSignatureWrapper.vue.mjs +18 -10
- package/package.json +2 -2
- package/esm/PorscheDesignSystemProvider.vue.d.ts +0 -41
- package/esm/lib/components/AccordionWrapper.vue.d.ts +0 -68
- package/esm/lib/components/BannerWrapper.vue.d.ts +0 -82
- package/esm/lib/components/ButtonGroupWrapper.vue.d.ts +0 -45
- package/esm/lib/components/ButtonPureWrapper.vue.d.ts +0 -123
- package/esm/lib/components/ButtonTileWrapper.vue.d.ts +0 -125
- package/esm/lib/components/ButtonWrapper.vue.d.ts +0 -94
- package/esm/lib/components/CarouselWrapper.vue.d.ts +0 -120
- package/esm/lib/components/CheckboxWrapperWrapper.vue.d.ts +0 -71
- package/esm/lib/components/ContentWrapperWrapper.vue.d.ts +0 -53
- package/esm/lib/components/CrestWrapper.vue.d.ts +0 -40
- package/esm/lib/components/DisplayWrapper.vue.d.ts +0 -68
- package/esm/lib/components/DividerWrapper.vue.d.ts +0 -47
- package/esm/lib/components/FieldsetWrapper.vue.d.ts +0 -71
- package/esm/lib/components/FieldsetWrapperWrapper.vue.d.ts +0 -72
- package/esm/lib/components/FlexItemWrapper.vue.d.ts +0 -75
- package/esm/lib/components/FlexWrapper.vue.d.ts +0 -75
- package/esm/lib/components/FlyoutNavigationItemWrapper.vue.d.ts +0 -28
- package/esm/lib/components/FlyoutNavigationWrapper.vue.d.ts +0 -53
- package/esm/lib/components/FlyoutWrapper.vue.d.ts +0 -56
- package/esm/lib/components/GridItemWrapper.vue.d.ts +0 -47
- package/esm/lib/components/GridWrapper.vue.d.ts +0 -63
- package/esm/lib/components/HeadingWrapper.vue.d.ts +0 -68
- package/esm/lib/components/HeadlineWrapper.vue.d.ts +0 -69
- package/esm/lib/components/IconWrapper.vue.d.ts +0 -63
- package/esm/lib/components/InlineNotificationWrapper.vue.d.ts +0 -88
- package/esm/lib/components/LinkPureWrapper.vue.d.ts +0 -120
- package/esm/lib/components/LinkSocialWrapper.vue.d.ts +0 -67
- package/esm/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +0 -81
- package/esm/lib/components/LinkTileProductWrapper.vue.d.ts +0 -92
- package/esm/lib/components/LinkTileWrapper.vue.d.ts +0 -112
- package/esm/lib/components/LinkWrapper.vue.d.ts +0 -84
- package/esm/lib/components/MarqueWrapper.vue.d.ts +0 -62
- package/esm/lib/components/ModalWrapper.vue.d.ts +0 -86
- package/esm/lib/components/ModelSignatureWrapper.vue.d.ts +0 -50
- package/esm/lib/components/MultiSelectOptionWrapper.vue.d.ts +0 -42
- package/esm/lib/components/MultiSelectWrapper.vue.d.ts +0 -107
- package/esm/lib/components/PaginationWrapper.vue.d.ts +0 -101
- package/esm/lib/components/PinCodeWrapper.vue.d.ts +0 -121
- package/esm/lib/components/PopoverWrapper.vue.d.ts +0 -51
- package/esm/lib/components/RadioButtonWrapperWrapper.vue.d.ts +0 -71
- package/esm/lib/components/ScrollerWrapper.vue.d.ts +0 -73
- package/esm/lib/components/SegmentedControlItemWrapper.vue.d.ts +0 -55
- package/esm/lib/components/SegmentedControlWrapper.vue.d.ts +0 -57
- package/esm/lib/components/SelectOptionWrapper.vue.d.ts +0 -42
- package/esm/lib/components/SelectWrapper.vue.d.ts +0 -104
- package/esm/lib/components/SelectWrapperWrapper.vue.d.ts +0 -92
- package/esm/lib/components/SpinnerWrapper.vue.d.ts +0 -40
- package/esm/lib/components/StepperHorizontalItemWrapper.vue.d.ts +0 -43
- package/esm/lib/components/StepperHorizontalWrapper.vue.d.ts +0 -46
- package/esm/lib/components/SwitchWrapper.vue.d.ts +0 -84
- package/esm/lib/components/TableBodyWrapper.vue.d.ts +0 -9
- package/esm/lib/components/TableCellWrapper.vue.d.ts +0 -38
- package/esm/lib/components/TableHeadCellWrapper.vue.d.ts +0 -50
- package/esm/lib/components/TableHeadRowWrapper.vue.d.ts +0 -9
- package/esm/lib/components/TableHeadWrapper.vue.d.ts +0 -9
- package/esm/lib/components/TableRowWrapper.vue.d.ts +0 -9
- package/esm/lib/components/TableWrapper.vue.d.ts +0 -35
- package/esm/lib/components/TabsBarWrapper.vue.d.ts +0 -71
- package/esm/lib/components/TabsItemWrapper.vue.d.ts +0 -24
- package/esm/lib/components/TabsWrapper.vue.d.ts +0 -74
- package/esm/lib/components/TagDismissibleWrapper.vue.d.ts +0 -51
- package/esm/lib/components/TagWrapper.vue.d.ts +0 -51
- package/esm/lib/components/TextFieldWrapperWrapper.vue.d.ts +0 -123
- package/esm/lib/components/TextListItemWrapper.vue.d.ts +0 -9
- package/esm/lib/components/TextListWrapper.vue.d.ts +0 -51
- package/esm/lib/components/TextWrapper.vue.d.ts +0 -78
- package/esm/lib/components/TextareaWrapperWrapper.vue.d.ts +0 -82
- package/esm/lib/components/ToastWrapper.vue.d.ts +0 -18
- package/esm/lib/components/WordmarkWrapper.vue.d.ts +0 -51
- package/esm/lib/components/index.d.ts +0 -69
- package/esm/lib/types.d.ts +0 -1310
- package/esm/plugin.d.ts +0 -14
- package/esm/public-api.d.ts +0 -6
- package/esm/utils.d.ts +0 -10
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import type { BreakpointCustomizable, LinkPureAlignLabel, SelectedAriaAttributes, LinkPureAriaAttribute, LinkPureIcon, LinkPureSize, LinkPureTarget, Theme, LinkPureWeight } from '../types';
|
|
2
|
-
type PLinkPureProps = {
|
|
3
|
-
/**
|
|
4
|
-
* Display link in active state.
|
|
5
|
-
*/
|
|
6
|
-
active?: boolean;
|
|
7
|
-
/**
|
|
8
|
-
* Aligns the label.
|
|
9
|
-
*/
|
|
10
|
-
alignLabel?: BreakpointCustomizable<LinkPureAlignLabel>;
|
|
11
|
-
/**
|
|
12
|
-
* Add ARIA attributes.
|
|
13
|
-
*/
|
|
14
|
-
aria?: SelectedAriaAttributes<LinkPureAriaAttribute>;
|
|
15
|
-
/**
|
|
16
|
-
* Special download attribute to open native browser download dialog if target url points to a downloadable file.
|
|
17
|
-
*/
|
|
18
|
-
download?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Show or hide label. For better accessibility it is recommended to show the label.
|
|
21
|
-
*/
|
|
22
|
-
hideLabel?: BreakpointCustomizable<boolean>;
|
|
23
|
-
/**
|
|
24
|
-
* When providing an url then the component will be rendered as `<a>`.
|
|
25
|
-
*/
|
|
26
|
-
href?: string;
|
|
27
|
-
/**
|
|
28
|
-
* The icon shown. By choosing 'none', no icon is displayed
|
|
29
|
-
*/
|
|
30
|
-
icon?: LinkPureIcon;
|
|
31
|
-
/**
|
|
32
|
-
* A URL path to a custom icon.
|
|
33
|
-
*/
|
|
34
|
-
iconSource?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Specifies the relationship of the target object to the link object.
|
|
37
|
-
*/
|
|
38
|
-
rel?: string;
|
|
39
|
-
/**
|
|
40
|
-
* Size of the link.
|
|
41
|
-
*/
|
|
42
|
-
size?: BreakpointCustomizable<LinkPureSize>;
|
|
43
|
-
/**
|
|
44
|
-
* Stretches the area between icon and label to max available space.
|
|
45
|
-
*/
|
|
46
|
-
stretch?: BreakpointCustomizable<boolean>;
|
|
47
|
-
/**
|
|
48
|
-
* Target attribute where the link should be opened.
|
|
49
|
-
*/
|
|
50
|
-
target?: LinkPureTarget;
|
|
51
|
-
/**
|
|
52
|
-
* Adapts the button color depending on the theme.
|
|
53
|
-
*/
|
|
54
|
-
theme?: Theme;
|
|
55
|
-
/**
|
|
56
|
-
* Shows an underline under the label.
|
|
57
|
-
*/
|
|
58
|
-
underline?: boolean;
|
|
59
|
-
/**
|
|
60
|
-
* The weight of the text (only has effect with visible label).
|
|
61
|
-
* @deprecated since v3.0.0, will be removed with next major release
|
|
62
|
-
*/
|
|
63
|
-
weight?: LinkPureWeight;
|
|
64
|
-
};
|
|
65
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkPureProps>, {
|
|
66
|
-
active: boolean;
|
|
67
|
-
alignLabel: string;
|
|
68
|
-
hideLabel: boolean;
|
|
69
|
-
icon: string;
|
|
70
|
-
size: string;
|
|
71
|
-
stretch: boolean;
|
|
72
|
-
target: string;
|
|
73
|
-
underline: boolean;
|
|
74
|
-
weight: string;
|
|
75
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkPureProps>, {
|
|
76
|
-
active: boolean;
|
|
77
|
-
alignLabel: string;
|
|
78
|
-
hideLabel: boolean;
|
|
79
|
-
icon: string;
|
|
80
|
-
size: string;
|
|
81
|
-
stretch: boolean;
|
|
82
|
-
target: string;
|
|
83
|
-
underline: boolean;
|
|
84
|
-
weight: string;
|
|
85
|
-
}>>>, {
|
|
86
|
-
weight: "regular" | "semi-bold" | "bold" | "thin" | "semibold";
|
|
87
|
-
stretch: BreakpointCustomizable<boolean>;
|
|
88
|
-
size: BreakpointCustomizable<"inherit" | "small" | "medium" | "large" | "x-large" | "xx-small" | "x-small">;
|
|
89
|
-
active: boolean;
|
|
90
|
-
alignLabel: BreakpointCustomizable<"start" | "end" | "left" | "right">;
|
|
91
|
-
hideLabel: BreakpointCustomizable<boolean>;
|
|
92
|
-
icon: import("../types").LinkButtonIconName;
|
|
93
|
-
target: string;
|
|
94
|
-
underline: boolean;
|
|
95
|
-
}, {}>, {
|
|
96
|
-
default?(_: {}): any;
|
|
97
|
-
}>;
|
|
98
|
-
export default _default;
|
|
99
|
-
type __VLS_WithDefaults<P, D> = {
|
|
100
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
101
|
-
default: D[K];
|
|
102
|
-
}> : P[K];
|
|
103
|
-
};
|
|
104
|
-
type __VLS_Prettify<T> = {
|
|
105
|
-
[K in keyof T]: T[K];
|
|
106
|
-
} & {};
|
|
107
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
108
|
-
new (): {
|
|
109
|
-
$slots: S;
|
|
110
|
-
};
|
|
111
|
-
};
|
|
112
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
113
|
-
type __VLS_TypePropsToOption<T> = {
|
|
114
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
115
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
116
|
-
} : {
|
|
117
|
-
type: import('vue').PropType<T[K]>;
|
|
118
|
-
required: true;
|
|
119
|
-
};
|
|
120
|
-
};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import type { BreakpointCustomizable, LinkSocialIcon, LinkSocialTarget, Theme } from '../types';
|
|
2
|
-
type PLinkSocialProps = {
|
|
3
|
-
/**
|
|
4
|
-
* Show or hide label.
|
|
5
|
-
*/
|
|
6
|
-
hideLabel?: BreakpointCustomizable<boolean>;
|
|
7
|
-
/**
|
|
8
|
-
* When providing an url then the component will be rendered as `<a>`.
|
|
9
|
-
*/
|
|
10
|
-
href?: string;
|
|
11
|
-
/**
|
|
12
|
-
* The icon shown.
|
|
13
|
-
*/
|
|
14
|
-
icon?: LinkSocialIcon;
|
|
15
|
-
/**
|
|
16
|
-
* A URL path to a custom icon.
|
|
17
|
-
*/
|
|
18
|
-
iconSource?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Specifies the relationship of the target object to the link object.
|
|
21
|
-
*/
|
|
22
|
-
rel?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Target attribute where the link should be opened.
|
|
25
|
-
*/
|
|
26
|
-
target?: LinkSocialTarget;
|
|
27
|
-
/**
|
|
28
|
-
* Adapts the link color when used on dark background.
|
|
29
|
-
*/
|
|
30
|
-
theme?: Theme;
|
|
31
|
-
};
|
|
32
|
-
/** @deprecated since v3.0.0, will be removed with next major release. Use `p-link` with corresponding social icon instead. */
|
|
33
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkSocialProps>, {
|
|
34
|
-
hideLabel: boolean;
|
|
35
|
-
target: string;
|
|
36
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkSocialProps>, {
|
|
37
|
-
hideLabel: boolean;
|
|
38
|
-
target: string;
|
|
39
|
-
}>>>, {
|
|
40
|
-
hideLabel: BreakpointCustomizable<boolean>;
|
|
41
|
-
target: string;
|
|
42
|
-
}, {}>, {
|
|
43
|
-
default?(_: {}): any;
|
|
44
|
-
}>;
|
|
45
|
-
export default _default;
|
|
46
|
-
type __VLS_WithDefaults<P, D> = {
|
|
47
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
48
|
-
default: D[K];
|
|
49
|
-
}> : P[K];
|
|
50
|
-
};
|
|
51
|
-
type __VLS_Prettify<T> = {
|
|
52
|
-
[K in keyof T]: T[K];
|
|
53
|
-
} & {};
|
|
54
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
55
|
-
new (): {
|
|
56
|
-
$slots: S;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
60
|
-
type __VLS_TypePropsToOption<T> = {
|
|
61
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
62
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
63
|
-
} : {
|
|
64
|
-
type: import('vue').PropType<T[K]>;
|
|
65
|
-
required: true;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import type { BreakpointCustomizable, LinkTileModelSignatureAspectRatio, LinkTileModelSignatureHeadingTag, LinkTileModelSignatureLinkDirection, LinkTileModelSignatureModel, LinkTileModelSignatureWeight } from '../types';
|
|
2
|
-
type PLinkTileModelSignatureProps = {
|
|
3
|
-
/**
|
|
4
|
-
* Aspect ratio of the link-tile-model-signature.
|
|
5
|
-
*/
|
|
6
|
-
aspectRatio?: BreakpointCustomizable<LinkTileModelSignatureAspectRatio>;
|
|
7
|
-
/**
|
|
8
|
-
* Description text.
|
|
9
|
-
*/
|
|
10
|
-
description?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Heading text.
|
|
13
|
-
*/
|
|
14
|
-
heading: string;
|
|
15
|
-
/**
|
|
16
|
-
* Sets a custom headline tag which wraps the heading to enhance semantics.
|
|
17
|
-
*/
|
|
18
|
-
headingTag?: LinkTileModelSignatureHeadingTag;
|
|
19
|
-
/**
|
|
20
|
-
* 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
|
-
linkDirection?: BreakpointCustomizable<LinkTileModelSignatureLinkDirection>;
|
|
23
|
-
/**
|
|
24
|
-
* Adapts the model of the component.
|
|
25
|
-
*/
|
|
26
|
-
model?: LinkTileModelSignatureModel;
|
|
27
|
-
/**
|
|
28
|
-
* Adapts the font weight of the heading.
|
|
29
|
-
*/
|
|
30
|
-
weight?: BreakpointCustomizable<LinkTileModelSignatureWeight>;
|
|
31
|
-
};
|
|
32
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkTileModelSignatureProps>, {
|
|
33
|
-
aspectRatio: string;
|
|
34
|
-
headingTag: string;
|
|
35
|
-
linkDirection: () => {
|
|
36
|
-
base: string;
|
|
37
|
-
xs: string;
|
|
38
|
-
};
|
|
39
|
-
model: string;
|
|
40
|
-
weight: string;
|
|
41
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkTileModelSignatureProps>, {
|
|
42
|
-
aspectRatio: string;
|
|
43
|
-
headingTag: string;
|
|
44
|
-
linkDirection: () => {
|
|
45
|
-
base: string;
|
|
46
|
-
xs: string;
|
|
47
|
-
};
|
|
48
|
-
model: string;
|
|
49
|
-
weight: string;
|
|
50
|
-
}>>>, {
|
|
51
|
-
weight: BreakpointCustomizable<"regular" | "semi-bold">;
|
|
52
|
-
aspectRatio: BreakpointCustomizable<"1:1" | "4:3" | "3:4" | "16:9" | "9:16">;
|
|
53
|
-
headingTag: "h2" | "h3" | "h4" | "h5" | "h6";
|
|
54
|
-
linkDirection: BreakpointCustomizable<"row" | "column">;
|
|
55
|
-
model: "718" | "911" | "boxster" | "cayenne" | "cayman" | "macan" | "panamera" | "taycan" | "turbo-s" | "turbo";
|
|
56
|
-
}, {}>, {
|
|
57
|
-
default?(_: {}): any;
|
|
58
|
-
}>;
|
|
59
|
-
export default _default;
|
|
60
|
-
type __VLS_WithDefaults<P, D> = {
|
|
61
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
62
|
-
default: D[K];
|
|
63
|
-
}> : P[K];
|
|
64
|
-
};
|
|
65
|
-
type __VLS_Prettify<T> = {
|
|
66
|
-
[K in keyof T]: T[K];
|
|
67
|
-
} & {};
|
|
68
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
69
|
-
new (): {
|
|
70
|
-
$slots: S;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
74
|
-
type __VLS_TypePropsToOption<T> = {
|
|
75
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
76
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
77
|
-
} : {
|
|
78
|
-
type: import('vue').PropType<T[K]>;
|
|
79
|
-
required: true;
|
|
80
|
-
};
|
|
81
|
-
};
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import type { BreakpointCustomizable, LinkTileProductAspectRatio, LinkTileProductTarget, Theme } from '../types';
|
|
2
|
-
type PLinkTileProductProps = {
|
|
3
|
-
/**
|
|
4
|
-
* Aspect ratio of the link-tile-product.
|
|
5
|
-
*/
|
|
6
|
-
aspectRatio?: BreakpointCustomizable<LinkTileProductAspectRatio>;
|
|
7
|
-
/**
|
|
8
|
-
* Additional product description.
|
|
9
|
-
*/
|
|
10
|
-
description?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Product heading.
|
|
13
|
-
*/
|
|
14
|
-
heading: string;
|
|
15
|
-
/**
|
|
16
|
-
* href of the `<a>`.
|
|
17
|
-
*/
|
|
18
|
-
href?: string;
|
|
19
|
-
/**
|
|
20
|
-
* A Boolean attribute indicating that a like button should be shown.
|
|
21
|
-
*/
|
|
22
|
-
likeButton?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* A Boolean attribute indicating that a product is liked.
|
|
25
|
-
*/
|
|
26
|
-
liked?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Product retail price (with or without discount).
|
|
29
|
-
*/
|
|
30
|
-
price: string;
|
|
31
|
-
/**
|
|
32
|
-
* Shows original price (recommended retail price) with line-through. Needs prop "price" to be defined, otherwise this prop has no effect.
|
|
33
|
-
*/
|
|
34
|
-
priceOriginal?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Specifies the relationship of the target object to the link object.
|
|
37
|
-
*/
|
|
38
|
-
rel?: string;
|
|
39
|
-
/**
|
|
40
|
-
* Target attribute where the link should be opened.
|
|
41
|
-
*/
|
|
42
|
-
target?: LinkTileProductTarget;
|
|
43
|
-
/**
|
|
44
|
-
* Adapts the link-tile-product color depending on the theme.
|
|
45
|
-
*/
|
|
46
|
-
theme?: Theme;
|
|
47
|
-
};
|
|
48
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkTileProductProps>, {
|
|
49
|
-
aspectRatio: string;
|
|
50
|
-
likeButton: boolean;
|
|
51
|
-
liked: boolean;
|
|
52
|
-
target: string;
|
|
53
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
54
|
-
like: (value: import("../types").LinkTileProductLikeEvent) => void;
|
|
55
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkTileProductProps>, {
|
|
56
|
-
aspectRatio: string;
|
|
57
|
-
likeButton: boolean;
|
|
58
|
-
liked: boolean;
|
|
59
|
-
target: string;
|
|
60
|
-
}>>> & {
|
|
61
|
-
onLike?: ((value: import("../types").LinkTileProductLikeEvent) => any) | undefined;
|
|
62
|
-
}, {
|
|
63
|
-
aspectRatio: BreakpointCustomizable<LinkTileProductAspectRatio>;
|
|
64
|
-
target: string;
|
|
65
|
-
likeButton: boolean;
|
|
66
|
-
liked: boolean;
|
|
67
|
-
}, {}>, {
|
|
68
|
-
default?(_: {}): any;
|
|
69
|
-
}>;
|
|
70
|
-
export default _default;
|
|
71
|
-
type __VLS_WithDefaults<P, D> = {
|
|
72
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
73
|
-
default: D[K];
|
|
74
|
-
}> : P[K];
|
|
75
|
-
};
|
|
76
|
-
type __VLS_Prettify<T> = {
|
|
77
|
-
[K in keyof T]: T[K];
|
|
78
|
-
} & {};
|
|
79
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
80
|
-
new (): {
|
|
81
|
-
$slots: S;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
85
|
-
type __VLS_TypePropsToOption<T> = {
|
|
86
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
87
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
88
|
-
} : {
|
|
89
|
-
type: import('vue').PropType<T[K]>;
|
|
90
|
-
required: true;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import type { LinkTileAlign, SelectedAriaAttributes, LinkTileAriaAttribute, BreakpointCustomizable, LinkTileAspectRatio, LinkTileBackground, LinkTileSize, LinkTileTarget, LinkTileWeight } from '../types';
|
|
2
|
-
type PLinkTileProps = {
|
|
3
|
-
/**
|
|
4
|
-
* Alignment of link and description.
|
|
5
|
-
*/
|
|
6
|
-
align?: LinkTileAlign;
|
|
7
|
-
/**
|
|
8
|
-
* Add ARIA attributes.
|
|
9
|
-
*/
|
|
10
|
-
aria?: SelectedAriaAttributes<LinkTileAriaAttribute>;
|
|
11
|
-
/**
|
|
12
|
-
* Aspect ratio of the link-tile.
|
|
13
|
-
*/
|
|
14
|
-
aspectRatio?: BreakpointCustomizable<LinkTileAspectRatio>;
|
|
15
|
-
/**
|
|
16
|
-
* Adapts the description and link theme when used on light background image.
|
|
17
|
-
*/
|
|
18
|
-
background?: LinkTileBackground;
|
|
19
|
-
/**
|
|
20
|
-
* Displays the link-tile as compact version with description and link icon only.
|
|
21
|
-
*/
|
|
22
|
-
compact?: BreakpointCustomizable<boolean>;
|
|
23
|
-
/**
|
|
24
|
-
* Description text.
|
|
25
|
-
*/
|
|
26
|
-
description: string;
|
|
27
|
-
/**
|
|
28
|
-
* Special download attribute to open native browser download dialog if target url points to a downloadable file.
|
|
29
|
-
*/
|
|
30
|
-
download?: string;
|
|
31
|
-
/**
|
|
32
|
-
* Show gradient.
|
|
33
|
-
*/
|
|
34
|
-
gradient?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* href of the `<a>`.
|
|
37
|
-
*/
|
|
38
|
-
href: string;
|
|
39
|
-
/**
|
|
40
|
-
* Label of the <a />.
|
|
41
|
-
*/
|
|
42
|
-
label: string;
|
|
43
|
-
/**
|
|
44
|
-
* Specifies the relationship of the target object to the link object.
|
|
45
|
-
*/
|
|
46
|
-
rel?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Font size of the description.
|
|
49
|
-
*/
|
|
50
|
-
size?: BreakpointCustomizable<LinkTileSize>;
|
|
51
|
-
/**
|
|
52
|
-
* Target attribute where the link should be opened.
|
|
53
|
-
*/
|
|
54
|
-
target?: LinkTileTarget;
|
|
55
|
-
/**
|
|
56
|
-
* Font weight of the description.
|
|
57
|
-
*/
|
|
58
|
-
weight?: BreakpointCustomizable<LinkTileWeight>;
|
|
59
|
-
};
|
|
60
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkTileProps>, {
|
|
61
|
-
align: string;
|
|
62
|
-
aspectRatio: string;
|
|
63
|
-
background: string;
|
|
64
|
-
compact: boolean;
|
|
65
|
-
gradient: boolean;
|
|
66
|
-
size: string;
|
|
67
|
-
target: string;
|
|
68
|
-
weight: string;
|
|
69
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkTileProps>, {
|
|
70
|
-
align: string;
|
|
71
|
-
aspectRatio: string;
|
|
72
|
-
background: string;
|
|
73
|
-
compact: boolean;
|
|
74
|
-
gradient: boolean;
|
|
75
|
-
size: string;
|
|
76
|
-
target: string;
|
|
77
|
-
weight: string;
|
|
78
|
-
}>>>, {
|
|
79
|
-
weight: BreakpointCustomizable<"regular" | "semi-bold" | "semibold">;
|
|
80
|
-
compact: BreakpointCustomizable<boolean>;
|
|
81
|
-
size: BreakpointCustomizable<"default" | "inherit">;
|
|
82
|
-
align: "top" | "bottom";
|
|
83
|
-
aspectRatio: BreakpointCustomizable<"1:1" | "4:3" | "3:4" | "16:9" | "9:16">;
|
|
84
|
-
background: "light" | "dark" | "auto";
|
|
85
|
-
gradient: boolean;
|
|
86
|
-
target: string;
|
|
87
|
-
}, {}>, {
|
|
88
|
-
default?(_: {}): any;
|
|
89
|
-
}>;
|
|
90
|
-
export default _default;
|
|
91
|
-
type __VLS_WithDefaults<P, D> = {
|
|
92
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
93
|
-
default: D[K];
|
|
94
|
-
}> : P[K];
|
|
95
|
-
};
|
|
96
|
-
type __VLS_Prettify<T> = {
|
|
97
|
-
[K in keyof T]: T[K];
|
|
98
|
-
} & {};
|
|
99
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
100
|
-
new (): {
|
|
101
|
-
$slots: S;
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
105
|
-
type __VLS_TypePropsToOption<T> = {
|
|
106
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
107
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
108
|
-
} : {
|
|
109
|
-
type: import('vue').PropType<T[K]>;
|
|
110
|
-
required: true;
|
|
111
|
-
};
|
|
112
|
-
};
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import type { SelectedAriaAttributes, LinkAriaAttribute, BreakpointCustomizable, LinkIcon, LinkTarget, Theme, LinkVariant } from '../types';
|
|
2
|
-
type PLinkProps = {
|
|
3
|
-
/**
|
|
4
|
-
* Add ARIA attributes.
|
|
5
|
-
*/
|
|
6
|
-
aria?: SelectedAriaAttributes<LinkAriaAttribute>;
|
|
7
|
-
/**
|
|
8
|
-
* Special download attribute to open native browser download dialog if target url points to a downloadable file.
|
|
9
|
-
*/
|
|
10
|
-
download?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Show or hide label. For better accessibility it is recommended to show the label.
|
|
13
|
-
*/
|
|
14
|
-
hideLabel?: BreakpointCustomizable<boolean>;
|
|
15
|
-
/**
|
|
16
|
-
* When providing an url then the component will be rendered as `<a>`.
|
|
17
|
-
*/
|
|
18
|
-
href?: string;
|
|
19
|
-
/**
|
|
20
|
-
* The icon shown. By choosing 'none', no icon is displayed.
|
|
21
|
-
*/
|
|
22
|
-
icon?: LinkIcon;
|
|
23
|
-
/**
|
|
24
|
-
* A URL path to a custom icon.
|
|
25
|
-
*/
|
|
26
|
-
iconSource?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Specifies the relationship of the target object to the link object.
|
|
29
|
-
*/
|
|
30
|
-
rel?: string;
|
|
31
|
-
/**
|
|
32
|
-
* Target attribute where the link should be opened.
|
|
33
|
-
*/
|
|
34
|
-
target?: LinkTarget;
|
|
35
|
-
/**
|
|
36
|
-
* Adapts the link color when used on dark background.
|
|
37
|
-
*/
|
|
38
|
-
theme?: Theme;
|
|
39
|
-
/**
|
|
40
|
-
* The style variant of the link.
|
|
41
|
-
*/
|
|
42
|
-
variant?: LinkVariant;
|
|
43
|
-
};
|
|
44
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkProps>, {
|
|
45
|
-
hideLabel: boolean;
|
|
46
|
-
icon: string;
|
|
47
|
-
target: string;
|
|
48
|
-
variant: string;
|
|
49
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkProps>, {
|
|
50
|
-
hideLabel: boolean;
|
|
51
|
-
icon: string;
|
|
52
|
-
target: string;
|
|
53
|
-
variant: string;
|
|
54
|
-
}>>>, {
|
|
55
|
-
hideLabel: BreakpointCustomizable<boolean>;
|
|
56
|
-
icon: import("../types").LinkButtonIconName;
|
|
57
|
-
variant: "primary" | "secondary" | "tertiary";
|
|
58
|
-
target: string;
|
|
59
|
-
}, {}>, {
|
|
60
|
-
default?(_: {}): any;
|
|
61
|
-
}>;
|
|
62
|
-
export default _default;
|
|
63
|
-
type __VLS_WithDefaults<P, D> = {
|
|
64
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
65
|
-
default: D[K];
|
|
66
|
-
}> : P[K];
|
|
67
|
-
};
|
|
68
|
-
type __VLS_Prettify<T> = {
|
|
69
|
-
[K in keyof T]: T[K];
|
|
70
|
-
} & {};
|
|
71
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
72
|
-
new (): {
|
|
73
|
-
$slots: S;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
77
|
-
type __VLS_TypePropsToOption<T> = {
|
|
78
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
79
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
80
|
-
} : {
|
|
81
|
-
type: import('vue').PropType<T[K]>;
|
|
82
|
-
required: true;
|
|
83
|
-
};
|
|
84
|
-
};
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import type { SelectedAriaAttributes, MarqueAriaAttribute, MarqueSize, MarqueTarget, MarqueVariant } from '../types';
|
|
2
|
-
type PMarqueProps = {
|
|
3
|
-
/**
|
|
4
|
-
* Add ARIA attributes.
|
|
5
|
-
*/
|
|
6
|
-
aria?: SelectedAriaAttributes<MarqueAriaAttribute>;
|
|
7
|
-
/**
|
|
8
|
-
* When providing an url then the component will be rendered as `<a>`.
|
|
9
|
-
*/
|
|
10
|
-
href?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Adapts sizing of marque.
|
|
13
|
-
*/
|
|
14
|
-
size?: MarqueSize;
|
|
15
|
-
/**
|
|
16
|
-
* Target attribute where the link should be opened.
|
|
17
|
-
*/
|
|
18
|
-
target?: MarqueTarget;
|
|
19
|
-
/**
|
|
20
|
-
* Show/hide trademark sign (only has effect when variant is set to default).
|
|
21
|
-
*/
|
|
22
|
-
trademark?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Shows marque in special editions
|
|
25
|
-
*/
|
|
26
|
-
variant?: MarqueVariant;
|
|
27
|
-
};
|
|
28
|
-
/** @deprecated since v3.0.0, will be removed with next major release. Please use "p-wordmark" instead. */
|
|
29
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PMarqueProps>, {
|
|
30
|
-
size: string;
|
|
31
|
-
target: string;
|
|
32
|
-
trademark: boolean;
|
|
33
|
-
variant: string;
|
|
34
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PMarqueProps>, {
|
|
35
|
-
size: string;
|
|
36
|
-
target: string;
|
|
37
|
-
trademark: boolean;
|
|
38
|
-
variant: string;
|
|
39
|
-
}>>>, {
|
|
40
|
-
size: "small" | "medium" | "responsive";
|
|
41
|
-
variant: "default" | "75-years";
|
|
42
|
-
target: string;
|
|
43
|
-
trademark: boolean;
|
|
44
|
-
}, {}>;
|
|
45
|
-
export default _default;
|
|
46
|
-
type __VLS_WithDefaults<P, D> = {
|
|
47
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
48
|
-
default: D[K];
|
|
49
|
-
}> : P[K];
|
|
50
|
-
};
|
|
51
|
-
type __VLS_Prettify<T> = {
|
|
52
|
-
[K in keyof T]: T[K];
|
|
53
|
-
} & {};
|
|
54
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
55
|
-
type __VLS_TypePropsToOption<T> = {
|
|
56
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
57
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
58
|
-
} : {
|
|
59
|
-
type: import('vue').PropType<T[K]>;
|
|
60
|
-
required: true;
|
|
61
|
-
};
|
|
62
|
-
};
|