@porsche-design-system/components-vue 3.16.0-rc.1 → 3.16.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 +29 -0
- package/cjs/lib/components/FlyoutMultilevelItemWrapper.vue.cjs +1 -0
- package/cjs/lib/components/FlyoutMultilevelItemWrapper.vue2.cjs +1 -0
- package/cjs/lib/components/FlyoutMultilevelWrapper.vue.cjs +1 -0
- package/cjs/lib/components/FlyoutMultilevelWrapper.vue2.cjs +1 -0
- package/cjs/public-api.cjs +1 -1
- package/esm/PorscheDesignSystemProvider.vue.d.ts +42 -0
- package/esm/lib/components/AccordionWrapper.vue.d.ts +76 -0
- package/esm/lib/components/BannerWrapper.vue.d.ts +89 -0
- package/esm/lib/components/ButtonGroupWrapper.vue.d.ts +45 -0
- package/esm/lib/components/ButtonPureWrapper.vue.d.ts +130 -0
- package/esm/lib/components/ButtonTileWrapper.vue.d.ts +125 -0
- package/esm/lib/components/ButtonWrapper.vue.d.ts +94 -0
- package/esm/lib/components/CanvasWrapper.vue.d.ts +59 -0
- package/esm/lib/components/CarouselWrapper.vue.d.ts +120 -0
- package/esm/lib/components/CheckboxWrapperWrapper.vue.d.ts +71 -0
- package/esm/lib/components/ContentWrapperWrapper.vue.d.ts +53 -0
- package/esm/lib/components/CrestWrapper.vue.d.ts +40 -0
- package/esm/lib/components/DisplayWrapper.vue.d.ts +68 -0
- package/esm/lib/components/DividerWrapper.vue.d.ts +47 -0
- package/esm/lib/components/FieldsetWrapper.vue.d.ts +71 -0
- package/esm/lib/components/FieldsetWrapperWrapper.vue.d.ts +72 -0
- package/esm/lib/components/FlexItemWrapper.vue.d.ts +75 -0
- package/esm/lib/components/FlexWrapper.vue.d.ts +75 -0
- package/esm/lib/components/FlyoutMultilevelItemWrapper.vue.d.ts +28 -0
- package/esm/lib/components/FlyoutMultilevelItemWrapper.vue.mjs +24 -0
- package/esm/lib/components/FlyoutMultilevelItemWrapper.vue2.mjs +4 -0
- package/esm/lib/components/FlyoutMultilevelWrapper.vue.d.ts +53 -0
- package/esm/lib/components/FlyoutMultilevelWrapper.vue.mjs +31 -0
- package/esm/lib/components/FlyoutMultilevelWrapper.vue2.mjs +4 -0
- package/esm/lib/components/FlyoutWrapper.vue.d.ts +63 -0
- package/esm/lib/components/GridItemWrapper.vue.d.ts +47 -0
- package/esm/lib/components/GridWrapper.vue.d.ts +63 -0
- package/esm/lib/components/HeadingWrapper.vue.d.ts +68 -0
- package/esm/lib/components/HeadlineWrapper.vue.d.ts +69 -0
- package/esm/lib/components/IconWrapper.vue.d.ts +63 -0
- package/esm/lib/components/InlineNotificationWrapper.vue.d.ts +95 -0
- package/esm/lib/components/LinkPureWrapper.vue.d.ts +120 -0
- package/esm/lib/components/LinkSocialWrapper.vue.d.ts +67 -0
- package/esm/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +81 -0
- package/esm/lib/components/LinkTileProductWrapper.vue.d.ts +92 -0
- package/esm/lib/components/LinkTileWrapper.vue.d.ts +112 -0
- package/esm/lib/components/LinkWrapper.vue.d.ts +84 -0
- package/esm/lib/components/MarqueWrapper.vue.d.ts +62 -0
- package/esm/lib/components/ModalWrapper.vue.d.ts +86 -0
- package/esm/lib/components/ModelSignatureWrapper.vue.d.ts +78 -0
- package/esm/lib/components/MultiSelectOptionWrapper.vue.d.ts +42 -0
- package/esm/lib/components/MultiSelectWrapper.vue.d.ts +107 -0
- package/esm/lib/components/PaginationWrapper.vue.d.ts +101 -0
- package/esm/lib/components/PinCodeWrapper.vue.d.ts +121 -0
- package/esm/lib/components/PopoverWrapper.vue.d.ts +51 -0
- package/esm/lib/components/RadioButtonWrapperWrapper.vue.d.ts +71 -0
- package/esm/lib/components/ScrollerWrapper.vue.d.ts +73 -0
- package/esm/lib/components/SegmentedControlItemWrapper.vue.d.ts +59 -0
- package/esm/lib/components/SegmentedControlWrapper.vue.d.ts +57 -0
- package/esm/lib/components/SelectOptionWrapper.vue.d.ts +42 -0
- package/esm/lib/components/SelectWrapper.vue.d.ts +104 -0
- package/esm/lib/components/SelectWrapperWrapper.vue.d.ts +92 -0
- package/esm/lib/components/SpinnerWrapper.vue.d.ts +40 -0
- package/esm/lib/components/StepperHorizontalItemWrapper.vue.d.ts +43 -0
- package/esm/lib/components/StepperHorizontalWrapper.vue.d.ts +46 -0
- package/esm/lib/components/SwitchWrapper.vue.d.ts +84 -0
- package/esm/lib/components/TableBodyWrapper.vue.d.ts +9 -0
- package/esm/lib/components/TableCellWrapper.vue.d.ts +38 -0
- package/esm/lib/components/TableHeadCellWrapper.vue.d.ts +50 -0
- package/esm/lib/components/TableHeadRowWrapper.vue.d.ts +9 -0
- package/esm/lib/components/TableHeadWrapper.vue.d.ts +9 -0
- package/esm/lib/components/TableRowWrapper.vue.d.ts +9 -0
- package/esm/lib/components/TableWrapper.vue.d.ts +35 -0
- package/esm/lib/components/TabsBarWrapper.vue.d.ts +71 -0
- package/esm/lib/components/TabsItemWrapper.vue.d.ts +24 -0
- package/esm/lib/components/TabsWrapper.vue.d.ts +74 -0
- package/esm/lib/components/TagDismissibleWrapper.vue.d.ts +51 -0
- package/esm/lib/components/TagWrapper.vue.d.ts +51 -0
- package/esm/lib/components/TextFieldWrapperWrapper.vue.d.ts +123 -0
- package/esm/lib/components/TextListItemWrapper.vue.d.ts +9 -0
- package/esm/lib/components/TextListWrapper.vue.d.ts +51 -0
- package/esm/lib/components/TextWrapper.vue.d.ts +78 -0
- package/esm/lib/components/TextareaWrapperWrapper.vue.d.ts +82 -0
- package/esm/lib/components/ToastWrapper.vue.d.ts +18 -0
- package/esm/lib/components/WordmarkWrapper.vue.d.ts +51 -0
- package/esm/lib/components/index.d.ts +70 -0
- package/esm/lib/types.d.ts +1371 -0
- package/esm/plugin.d.ts +14 -0
- package/esm/public-api.d.ts +6 -0
- package/esm/public-api.mjs +39 -39
- package/esm/utils.d.ts +10 -0
- package/package.json +2 -2
- package/cjs/lib/components/FlyoutNavigationItemWrapper.vue.cjs +0 -1
- package/cjs/lib/components/FlyoutNavigationItemWrapper.vue2.cjs +0 -1
- package/cjs/lib/components/FlyoutNavigationWrapper.vue.cjs +0 -1
- package/cjs/lib/components/FlyoutNavigationWrapper.vue2.cjs +0 -1
- package/esm/lib/components/FlyoutNavigationItemWrapper.vue.mjs +0 -24
- package/esm/lib/components/FlyoutNavigationItemWrapper.vue2.mjs +0 -4
- package/esm/lib/components/FlyoutNavigationWrapper.vue.mjs +0 -31
- package/esm/lib/components/FlyoutNavigationWrapper.vue2.mjs +0 -4
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import type { TextFieldWrapperActionIcon, BreakpointCustomizable, TextFieldWrapperState, Theme, TextFieldWrapperUnitPosition } from '../types';
|
|
2
|
+
type PTextFieldWrapperProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Action icon can be set to `locate` for `input type="search"` in order to display an action button.
|
|
5
|
+
*/
|
|
6
|
+
actionIcon?: TextFieldWrapperActionIcon;
|
|
7
|
+
/**
|
|
8
|
+
* Disables the action button and shows a loading indicator. No events will be triggered while loading state is active.
|
|
9
|
+
*/
|
|
10
|
+
actionLoading?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* The description text.
|
|
13
|
+
*/
|
|
14
|
+
description?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Show or hide label and description text. For better accessibility it is recommended to show the label.
|
|
17
|
+
*/
|
|
18
|
+
hideLabel?: BreakpointCustomizable<boolean>;
|
|
19
|
+
/**
|
|
20
|
+
* The label text.
|
|
21
|
+
*/
|
|
22
|
+
label?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The message styled depending on validation state.
|
|
25
|
+
*/
|
|
26
|
+
message?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated since v3.0.0, will be removed with next major release, use `showCounter` instead. Show or hide max character count.
|
|
29
|
+
*/
|
|
30
|
+
showCharacterCount?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Show or hide max character count.
|
|
33
|
+
*/
|
|
34
|
+
showCounter?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* @experimental Show or hide password toggle for `input type="password"`.
|
|
37
|
+
*/
|
|
38
|
+
showPasswordToggle?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* The validation state.
|
|
41
|
+
*/
|
|
42
|
+
state?: TextFieldWrapperState;
|
|
43
|
+
/**
|
|
44
|
+
* Show search button if wrapped inside a form.
|
|
45
|
+
*/
|
|
46
|
+
submitButton?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Adapts the color depending on the theme.
|
|
49
|
+
*/
|
|
50
|
+
theme?: Theme;
|
|
51
|
+
/**
|
|
52
|
+
* The unit text.
|
|
53
|
+
*/
|
|
54
|
+
unit?: string;
|
|
55
|
+
/**
|
|
56
|
+
* The unit position.
|
|
57
|
+
*/
|
|
58
|
+
unitPosition?: TextFieldWrapperUnitPosition;
|
|
59
|
+
};
|
|
60
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PTextFieldWrapperProps>, {
|
|
61
|
+
actionLoading: boolean;
|
|
62
|
+
description: string;
|
|
63
|
+
hideLabel: boolean;
|
|
64
|
+
label: string;
|
|
65
|
+
message: string;
|
|
66
|
+
showCounter: boolean;
|
|
67
|
+
showPasswordToggle: boolean;
|
|
68
|
+
state: string;
|
|
69
|
+
submitButton: boolean;
|
|
70
|
+
unit: string;
|
|
71
|
+
unitPosition: string;
|
|
72
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
73
|
+
[x: string]: (...args: unknown[]) => void;
|
|
74
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PTextFieldWrapperProps>, {
|
|
75
|
+
actionLoading: boolean;
|
|
76
|
+
description: string;
|
|
77
|
+
hideLabel: boolean;
|
|
78
|
+
label: string;
|
|
79
|
+
message: string;
|
|
80
|
+
showCounter: boolean;
|
|
81
|
+
showPasswordToggle: boolean;
|
|
82
|
+
state: string;
|
|
83
|
+
submitButton: boolean;
|
|
84
|
+
unit: string;
|
|
85
|
+
unitPosition: string;
|
|
86
|
+
}>>>, {
|
|
87
|
+
label: string;
|
|
88
|
+
description: string;
|
|
89
|
+
state: "none" | "success" | "error";
|
|
90
|
+
hideLabel: BreakpointCustomizable<boolean>;
|
|
91
|
+
message: string;
|
|
92
|
+
actionLoading: boolean;
|
|
93
|
+
showCounter: boolean;
|
|
94
|
+
showPasswordToggle: boolean;
|
|
95
|
+
submitButton: boolean;
|
|
96
|
+
unit: string;
|
|
97
|
+
unitPosition: "prefix" | "suffix";
|
|
98
|
+
}, {}>, {
|
|
99
|
+
default?(_: {}): any;
|
|
100
|
+
}>;
|
|
101
|
+
export default _default;
|
|
102
|
+
type __VLS_WithDefaults<P, D> = {
|
|
103
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
104
|
+
default: D[K];
|
|
105
|
+
}> : P[K];
|
|
106
|
+
};
|
|
107
|
+
type __VLS_Prettify<T> = {
|
|
108
|
+
[K in keyof T]: T[K];
|
|
109
|
+
} & {};
|
|
110
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
111
|
+
new (): {
|
|
112
|
+
$slots: S;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
116
|
+
type __VLS_TypePropsToOption<T> = {
|
|
117
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
118
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
119
|
+
} : {
|
|
120
|
+
type: import('vue').PropType<T[K]>;
|
|
121
|
+
required: true;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { TextListListType, TextListOrderType, Theme, TextListType } from '../types';
|
|
2
|
+
type PTextListProps = {
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated since v3.0.0, will be removed with next major release, use `type` instead. The type of the list.
|
|
5
|
+
*/
|
|
6
|
+
listType?: TextListListType;
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated since v3.0.0, will be removed with next major release, use `type` instead. The list style type of ordered list. Only has effect when list type is set to 'ordered'.
|
|
9
|
+
*/
|
|
10
|
+
orderType?: TextListOrderType;
|
|
11
|
+
/**
|
|
12
|
+
* Adapts the text color depending on the theme.
|
|
13
|
+
*/
|
|
14
|
+
theme?: Theme;
|
|
15
|
+
/**
|
|
16
|
+
* The list style type.
|
|
17
|
+
*/
|
|
18
|
+
type?: TextListType;
|
|
19
|
+
};
|
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PTextListProps>, {
|
|
21
|
+
type: string;
|
|
22
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PTextListProps>, {
|
|
23
|
+
type: string;
|
|
24
|
+
}>>>, {
|
|
25
|
+
type: "unordered" | "numbered" | "alphabetically";
|
|
26
|
+
}, {}>, {
|
|
27
|
+
default?(_: {}): any;
|
|
28
|
+
}>;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithDefaults<P, D> = {
|
|
31
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
32
|
+
default: D[K];
|
|
33
|
+
}> : P[K];
|
|
34
|
+
};
|
|
35
|
+
type __VLS_Prettify<T> = {
|
|
36
|
+
[K in keyof T]: T[K];
|
|
37
|
+
} & {};
|
|
38
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
44
|
+
type __VLS_TypePropsToOption<T> = {
|
|
45
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
46
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
47
|
+
} : {
|
|
48
|
+
type: import('vue').PropType<T[K]>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import type { TextAlign, TextColor, BreakpointCustomizable, TextSize, TextTag, Theme, TextWeight } from '../types';
|
|
2
|
+
type PTextProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Text alignment of the component.
|
|
5
|
+
*/
|
|
6
|
+
align?: TextAlign;
|
|
7
|
+
/**
|
|
8
|
+
* Basic text color variations depending on theme property.
|
|
9
|
+
*/
|
|
10
|
+
color?: TextColor;
|
|
11
|
+
/**
|
|
12
|
+
* Adds an ellipsis to a single line of text if it overflows.
|
|
13
|
+
*/
|
|
14
|
+
ellipsis?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Size of the text. Also defines the size for specific breakpoints, like {base: "small", l: "medium"}. You always need to provide a base value when doing this.
|
|
17
|
+
*/
|
|
18
|
+
size?: BreakpointCustomizable<TextSize>;
|
|
19
|
+
/**
|
|
20
|
+
* Sets a custom HTML tag depending on the usage of the text component.
|
|
21
|
+
*/
|
|
22
|
+
tag?: TextTag;
|
|
23
|
+
/**
|
|
24
|
+
* Adapts the text color depending on the theme. Has no effect when "inherit" is set as color prop.
|
|
25
|
+
*/
|
|
26
|
+
theme?: Theme;
|
|
27
|
+
/**
|
|
28
|
+
* The weight of the text.
|
|
29
|
+
*/
|
|
30
|
+
weight?: TextWeight;
|
|
31
|
+
};
|
|
32
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PTextProps>, {
|
|
33
|
+
align: string;
|
|
34
|
+
color: string;
|
|
35
|
+
ellipsis: boolean;
|
|
36
|
+
size: string;
|
|
37
|
+
tag: string;
|
|
38
|
+
weight: string;
|
|
39
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PTextProps>, {
|
|
40
|
+
align: string;
|
|
41
|
+
color: string;
|
|
42
|
+
ellipsis: boolean;
|
|
43
|
+
size: string;
|
|
44
|
+
tag: string;
|
|
45
|
+
weight: string;
|
|
46
|
+
}>>>, {
|
|
47
|
+
weight: "regular" | "semi-bold" | "bold" | "thin" | "semibold";
|
|
48
|
+
size: BreakpointCustomizable<"inherit" | "small" | "medium" | "large" | "x-large" | "xx-small" | "x-small">;
|
|
49
|
+
tag: "time" | "p" | "span" | "div" | "address" | "blockquote" | "figcaption" | "cite" | "legend";
|
|
50
|
+
align: "center" | "start" | "end" | "left" | "right";
|
|
51
|
+
color: "default" | "inherit" | "primary" | "contrast-low" | "contrast-medium" | "contrast-high" | "notification-success" | "notification-warning" | "notification-error" | "notification-info" | "brand" | "neutral-contrast-low" | "neutral-contrast-medium" | "neutral-contrast-high" | "notification-neutral";
|
|
52
|
+
ellipsis: boolean;
|
|
53
|
+
}, {}>, {
|
|
54
|
+
default?(_: {}): any;
|
|
55
|
+
}>;
|
|
56
|
+
export default _default;
|
|
57
|
+
type __VLS_WithDefaults<P, D> = {
|
|
58
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
59
|
+
default: D[K];
|
|
60
|
+
}> : P[K];
|
|
61
|
+
};
|
|
62
|
+
type __VLS_Prettify<T> = {
|
|
63
|
+
[K in keyof T]: T[K];
|
|
64
|
+
} & {};
|
|
65
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
66
|
+
new (): {
|
|
67
|
+
$slots: S;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
71
|
+
type __VLS_TypePropsToOption<T> = {
|
|
72
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
73
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
74
|
+
} : {
|
|
75
|
+
type: import('vue').PropType<T[K]>;
|
|
76
|
+
required: true;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type { BreakpointCustomizable, TextareaWrapperState, Theme } from '../types';
|
|
2
|
+
type PTextareaWrapperProps = {
|
|
3
|
+
/**
|
|
4
|
+
* The description text.
|
|
5
|
+
*/
|
|
6
|
+
description?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Show or hide label. For better accessibility it is recommended to show the label.
|
|
9
|
+
*/
|
|
10
|
+
hideLabel?: BreakpointCustomizable<boolean>;
|
|
11
|
+
/**
|
|
12
|
+
* The label text.
|
|
13
|
+
*/
|
|
14
|
+
label?: string;
|
|
15
|
+
/**
|
|
16
|
+
* The message styled depending on validation state.
|
|
17
|
+
*/
|
|
18
|
+
message?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @deprecated since v3.0.0, will be removed with next major release, use `showCounter` instead. Show or hide max character count.
|
|
21
|
+
*/
|
|
22
|
+
showCharacterCount?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Show or hide max character count.
|
|
25
|
+
*/
|
|
26
|
+
showCounter?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* The validation state.
|
|
29
|
+
*/
|
|
30
|
+
state?: TextareaWrapperState;
|
|
31
|
+
/**
|
|
32
|
+
* Adapts the color depending on the theme.
|
|
33
|
+
*/
|
|
34
|
+
theme?: Theme;
|
|
35
|
+
};
|
|
36
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PTextareaWrapperProps>, {
|
|
37
|
+
description: string;
|
|
38
|
+
hideLabel: boolean;
|
|
39
|
+
label: string;
|
|
40
|
+
message: string;
|
|
41
|
+
showCounter: boolean;
|
|
42
|
+
state: string;
|
|
43
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PTextareaWrapperProps>, {
|
|
44
|
+
description: string;
|
|
45
|
+
hideLabel: boolean;
|
|
46
|
+
label: string;
|
|
47
|
+
message: string;
|
|
48
|
+
showCounter: boolean;
|
|
49
|
+
state: string;
|
|
50
|
+
}>>>, {
|
|
51
|
+
label: string;
|
|
52
|
+
description: string;
|
|
53
|
+
state: "none" | "success" | "error";
|
|
54
|
+
hideLabel: BreakpointCustomizable<boolean>;
|
|
55
|
+
message: string;
|
|
56
|
+
showCounter: boolean;
|
|
57
|
+
}, {}>, {
|
|
58
|
+
default?(_: {}): any;
|
|
59
|
+
}>;
|
|
60
|
+
export default _default;
|
|
61
|
+
type __VLS_WithDefaults<P, D> = {
|
|
62
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
63
|
+
default: D[K];
|
|
64
|
+
}> : P[K];
|
|
65
|
+
};
|
|
66
|
+
type __VLS_Prettify<T> = {
|
|
67
|
+
[K in keyof T]: T[K];
|
|
68
|
+
} & {};
|
|
69
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
70
|
+
new (): {
|
|
71
|
+
$slots: S;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
75
|
+
type __VLS_TypePropsToOption<T> = {
|
|
76
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
77
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
78
|
+
} : {
|
|
79
|
+
type: import('vue').PropType<T[K]>;
|
|
80
|
+
required: true;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Theme } from '../types';
|
|
2
|
+
type PToastProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Adapts the toast color depending on the theme.
|
|
5
|
+
*/
|
|
6
|
+
theme?: Theme;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<PToastProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<PToastProps>>>, {}, {}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
+
type __VLS_TypePropsToOption<T> = {
|
|
12
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
+
} : {
|
|
15
|
+
type: import('vue').PropType<T[K]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { SelectedAriaAttributes, WordmarkAriaAttribute, WordmarkSize, WordmarkTarget, Theme } from '../types';
|
|
2
|
+
type PWordmarkProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Add ARIA attributes.
|
|
5
|
+
*/
|
|
6
|
+
aria?: SelectedAriaAttributes<WordmarkAriaAttribute>;
|
|
7
|
+
/**
|
|
8
|
+
* When providing an url then the component will be rendered as `<a>`.
|
|
9
|
+
*/
|
|
10
|
+
href?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Adapts sizing of wordmark.
|
|
13
|
+
*/
|
|
14
|
+
size?: WordmarkSize;
|
|
15
|
+
/**
|
|
16
|
+
* Target attribute where the link should be opened.
|
|
17
|
+
*/
|
|
18
|
+
target?: WordmarkTarget;
|
|
19
|
+
/**
|
|
20
|
+
* Adapts color depending on theme.
|
|
21
|
+
*/
|
|
22
|
+
theme?: Theme;
|
|
23
|
+
};
|
|
24
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PWordmarkProps>, {
|
|
25
|
+
size: string;
|
|
26
|
+
target: string;
|
|
27
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PWordmarkProps>, {
|
|
28
|
+
size: string;
|
|
29
|
+
target: string;
|
|
30
|
+
}>>>, {
|
|
31
|
+
size: "inherit" | "small";
|
|
32
|
+
target: string;
|
|
33
|
+
}, {}>;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithDefaults<P, D> = {
|
|
36
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
37
|
+
default: D[K];
|
|
38
|
+
}> : P[K];
|
|
39
|
+
};
|
|
40
|
+
type __VLS_Prettify<T> = {
|
|
41
|
+
[K in keyof T]: T[K];
|
|
42
|
+
} & {};
|
|
43
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
44
|
+
type __VLS_TypePropsToOption<T> = {
|
|
45
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
46
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
47
|
+
} : {
|
|
48
|
+
type: import('vue').PropType<T[K]>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
export { default as PAccordion } from './AccordionWrapper.vue';
|
|
2
|
+
export { default as PBanner } from './BannerWrapper.vue';
|
|
3
|
+
export { default as PButton } from './ButtonWrapper.vue';
|
|
4
|
+
export { default as PButtonGroup } from './ButtonGroupWrapper.vue';
|
|
5
|
+
export { default as PButtonPure } from './ButtonPureWrapper.vue';
|
|
6
|
+
export { default as PButtonTile } from './ButtonTileWrapper.vue';
|
|
7
|
+
export { default as PCanvas } from './CanvasWrapper.vue';
|
|
8
|
+
export { default as PCarousel } from './CarouselWrapper.vue';
|
|
9
|
+
export { default as PCheckboxWrapper } from './CheckboxWrapperWrapper.vue';
|
|
10
|
+
export { default as PContentWrapper } from './ContentWrapperWrapper.vue';
|
|
11
|
+
export { default as PCrest } from './CrestWrapper.vue';
|
|
12
|
+
export { default as PDisplay } from './DisplayWrapper.vue';
|
|
13
|
+
export { default as PDivider } from './DividerWrapper.vue';
|
|
14
|
+
export { default as PFieldset } from './FieldsetWrapper.vue';
|
|
15
|
+
export { default as PFieldsetWrapper } from './FieldsetWrapperWrapper.vue';
|
|
16
|
+
export { default as PFlex } from './FlexWrapper.vue';
|
|
17
|
+
export { default as PFlexItem } from './FlexItemWrapper.vue';
|
|
18
|
+
export { default as PFlyout } from './FlyoutWrapper.vue';
|
|
19
|
+
export { default as PFlyoutMultilevel } from './FlyoutMultilevelWrapper.vue';
|
|
20
|
+
export { default as PFlyoutMultilevelItem } from './FlyoutMultilevelItemWrapper.vue';
|
|
21
|
+
export { default as PGrid } from './GridWrapper.vue';
|
|
22
|
+
export { default as PGridItem } from './GridItemWrapper.vue';
|
|
23
|
+
export { default as PHeading } from './HeadingWrapper.vue';
|
|
24
|
+
export { default as PHeadline } from './HeadlineWrapper.vue';
|
|
25
|
+
export { default as PIcon } from './IconWrapper.vue';
|
|
26
|
+
export { default as PInlineNotification } from './InlineNotificationWrapper.vue';
|
|
27
|
+
export { default as PLink } from './LinkWrapper.vue';
|
|
28
|
+
export { default as PLinkPure } from './LinkPureWrapper.vue';
|
|
29
|
+
export { default as PLinkSocial } from './LinkSocialWrapper.vue';
|
|
30
|
+
export { default as PLinkTile } from './LinkTileWrapper.vue';
|
|
31
|
+
export { default as PLinkTileModelSignature } from './LinkTileModelSignatureWrapper.vue';
|
|
32
|
+
export { default as PLinkTileProduct } from './LinkTileProductWrapper.vue';
|
|
33
|
+
export { default as PMarque } from './MarqueWrapper.vue';
|
|
34
|
+
export { default as PModal } from './ModalWrapper.vue';
|
|
35
|
+
export { default as PModelSignature } from './ModelSignatureWrapper.vue';
|
|
36
|
+
export { default as PMultiSelect } from './MultiSelectWrapper.vue';
|
|
37
|
+
export { default as PMultiSelectOption } from './MultiSelectOptionWrapper.vue';
|
|
38
|
+
export { default as PPagination } from './PaginationWrapper.vue';
|
|
39
|
+
export { default as PPinCode } from './PinCodeWrapper.vue';
|
|
40
|
+
export { default as PPopover } from './PopoverWrapper.vue';
|
|
41
|
+
export { default as PRadioButtonWrapper } from './RadioButtonWrapperWrapper.vue';
|
|
42
|
+
export { default as PScroller } from './ScrollerWrapper.vue';
|
|
43
|
+
export { default as PSegmentedControl } from './SegmentedControlWrapper.vue';
|
|
44
|
+
export { default as PSegmentedControlItem } from './SegmentedControlItemWrapper.vue';
|
|
45
|
+
export { default as PSelect } from './SelectWrapper.vue';
|
|
46
|
+
export { default as PSelectOption } from './SelectOptionWrapper.vue';
|
|
47
|
+
export { default as PSelectWrapper } from './SelectWrapperWrapper.vue';
|
|
48
|
+
export { default as PSpinner } from './SpinnerWrapper.vue';
|
|
49
|
+
export { default as PStepperHorizontal } from './StepperHorizontalWrapper.vue';
|
|
50
|
+
export { default as PStepperHorizontalItem } from './StepperHorizontalItemWrapper.vue';
|
|
51
|
+
export { default as PSwitch } from './SwitchWrapper.vue';
|
|
52
|
+
export { default as PTable } from './TableWrapper.vue';
|
|
53
|
+
export { default as PTableBody } from './TableBodyWrapper.vue';
|
|
54
|
+
export { default as PTableCell } from './TableCellWrapper.vue';
|
|
55
|
+
export { default as PTableHead } from './TableHeadWrapper.vue';
|
|
56
|
+
export { default as PTableHeadCell } from './TableHeadCellWrapper.vue';
|
|
57
|
+
export { default as PTableHeadRow } from './TableHeadRowWrapper.vue';
|
|
58
|
+
export { default as PTableRow } from './TableRowWrapper.vue';
|
|
59
|
+
export { default as PTabs } from './TabsWrapper.vue';
|
|
60
|
+
export { default as PTabsBar } from './TabsBarWrapper.vue';
|
|
61
|
+
export { default as PTabsItem } from './TabsItemWrapper.vue';
|
|
62
|
+
export { default as PTag } from './TagWrapper.vue';
|
|
63
|
+
export { default as PTagDismissible } from './TagDismissibleWrapper.vue';
|
|
64
|
+
export { default as PText } from './TextWrapper.vue';
|
|
65
|
+
export { default as PTextFieldWrapper } from './TextFieldWrapperWrapper.vue';
|
|
66
|
+
export { default as PTextList } from './TextListWrapper.vue';
|
|
67
|
+
export { default as PTextListItem } from './TextListItemWrapper.vue';
|
|
68
|
+
export { default as PTextareaWrapper } from './TextareaWrapperWrapper.vue';
|
|
69
|
+
export { default as PToast } from './ToastWrapper.vue';
|
|
70
|
+
export { default as PWordmark } from './WordmarkWrapper.vue';
|