@porsche-design-system/components-vue 3.1.0-rc.0 → 3.1.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 +37 -1
- package/PorscheDesignSystemProvider.vue.d.ts +1 -6
- package/lib/components/AccordionWrapper.vue.d.ts +1 -6
- package/lib/components/AccordionWrapper.vue.js +8 -8
- package/lib/components/BannerWrapper.vue.d.ts +1 -6
- package/lib/components/BannerWrapper.vue.js +5 -5
- package/lib/components/ButtonGroupWrapper.vue.d.ts +1 -6
- package/lib/components/ButtonPureWrapper.vue.d.ts +1 -6
- package/lib/components/ButtonPureWrapper.vue.js +2 -2
- package/lib/components/ButtonTileWrapper.vue.d.ts +1 -6
- package/lib/components/ButtonTileWrapper.vue.js +11 -11
- package/lib/components/ButtonWrapper.vue.d.ts +1 -6
- package/lib/components/ButtonWrapper.vue.js +7 -7
- package/lib/components/CarouselWrapper.vue.d.ts +1 -6
- package/lib/components/CarouselWrapper.vue.js +13 -13
- package/lib/components/CheckboxWrapperWrapper.vue.d.ts +2 -7
- package/lib/components/ContentWrapperWrapper.vue.d.ts +1 -6
- package/lib/components/CrestWrapper.vue.d.ts +1 -2
- package/lib/components/CrestWrapper.vue.js +8 -8
- package/lib/components/DisplayWrapper.vue.d.ts +1 -6
- package/lib/components/DisplayWrapper.vue.js +7 -7
- package/lib/components/DividerWrapper.vue.d.ts +1 -2
- package/lib/components/DividerWrapper.vue.js +9 -9
- package/lib/components/FieldsetWrapper.vue.d.ts +1 -6
- package/lib/components/FieldsetWrapperWrapper.vue.d.ts +1 -6
- package/lib/components/FlexItemWrapper.vue.d.ts +1 -6
- package/lib/components/FlexWrapper.vue.d.ts +1 -6
- package/lib/components/FlyoutWrapper.vue.d.ts +61 -0
- package/lib/components/FlyoutWrapper.vue.js +31 -0
- package/lib/components/FlyoutWrapper.vue2.js +4 -0
- package/lib/components/GridItemWrapper.vue.d.ts +1 -6
- package/lib/components/GridWrapper.vue.d.ts +1 -6
- package/lib/components/HeadingWrapper.vue.d.ts +1 -6
- package/lib/components/HeadingWrapper.vue.js +3 -3
- package/lib/components/HeadlineWrapper.vue.d.ts +1 -6
- package/lib/components/HeadlineWrapper.vue.js +5 -5
- package/lib/components/IconWrapper.vue.d.ts +2 -3
- package/lib/components/IconWrapper.vue.js +2 -2
- package/lib/components/InlineNotificationWrapper.vue.d.ts +2 -7
- package/lib/components/InlineNotificationWrapper.vue.js +7 -7
- package/lib/components/LinkPureWrapper.vue.d.ts +1 -6
- package/lib/components/LinkPureWrapper.vue.js +16 -16
- package/lib/components/LinkSocialWrapper.vue.d.ts +1 -6
- package/lib/components/LinkSocialWrapper.vue.js +14 -14
- package/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +1 -6
- package/lib/components/LinkTileModelSignatureWrapper.vue.js +6 -6
- package/lib/components/LinkTileWrapper.vue.d.ts +1 -6
- package/lib/components/LinkTileWrapper.vue.js +16 -16
- package/lib/components/LinkWrapper.vue.d.ts +1 -6
- package/lib/components/LinkWrapper.vue.js +15 -15
- package/lib/components/MarqueWrapper.vue.d.ts +1 -2
- package/lib/components/MarqueWrapper.vue.js +10 -10
- package/lib/components/ModalWrapper.vue.d.ts +1 -6
- package/lib/components/ModalWrapper.vue.js +7 -7
- package/lib/components/ModelSignatureWrapper.vue.d.ts +1 -2
- package/lib/components/PaginationWrapper.vue.d.ts +1 -2
- package/lib/components/PaginationWrapper.vue.js +10 -10
- package/lib/components/PopoverWrapper.vue.d.ts +1 -6
- package/lib/components/PopoverWrapper.vue.js +7 -7
- package/lib/components/RadioButtonWrapperWrapper.vue.d.ts +1 -6
- package/lib/components/ScrollerWrapper.vue.d.ts +1 -6
- package/lib/components/ScrollerWrapper.vue.js +11 -11
- package/lib/components/SegmentedControlItemWrapper.vue.d.ts +1 -6
- package/lib/components/SegmentedControlItemWrapper.vue.js +13 -13
- package/lib/components/SegmentedControlWrapper.vue.d.ts +1 -6
- package/lib/components/SegmentedControlWrapper.vue.js +11 -11
- package/lib/components/SelectWrapperWrapper.vue.d.ts +1 -6
- package/lib/components/SpinnerWrapper.vue.d.ts +1 -2
- package/lib/components/SpinnerWrapper.vue.js +4 -4
- package/lib/components/StepperHorizontalItemWrapper.vue.d.ts +1 -6
- package/lib/components/StepperHorizontalItemWrapper.vue.js +4 -4
- package/lib/components/StepperHorizontalWrapper.vue.d.ts +1 -6
- package/lib/components/SwitchWrapper.vue.d.ts +1 -6
- package/lib/components/TableBodyWrapper.vue.d.ts +1 -6
- package/lib/components/TableCellWrapper.vue.d.ts +1 -6
- package/lib/components/TableHeadCellWrapper.vue.d.ts +1 -6
- package/lib/components/TableHeadCellWrapper.vue.js +3 -3
- package/lib/components/TableHeadRowWrapper.vue.d.ts +1 -6
- package/lib/components/TableHeadWrapper.vue.d.ts +1 -6
- package/lib/components/TableRowWrapper.vue.d.ts +1 -6
- package/lib/components/TableWrapper.vue.d.ts +1 -6
- package/lib/components/TableWrapper.vue.js +4 -4
- package/lib/components/TabsBarWrapper.vue.d.ts +1 -6
- package/lib/components/TabsBarWrapper.vue.js +8 -8
- package/lib/components/TabsItemWrapper.vue.d.ts +1 -6
- package/lib/components/TabsItemWrapper.vue.js +3 -3
- package/lib/components/TabsWrapper.vue.d.ts +1 -6
- package/lib/components/TabsWrapper.vue.js +7 -7
- package/lib/components/TagDismissibleWrapper.vue.d.ts +1 -6
- package/lib/components/TagDismissibleWrapper.vue.js +7 -7
- package/lib/components/TagWrapper.vue.d.ts +1 -6
- package/lib/components/TagWrapper.vue.js +11 -11
- package/lib/components/TextFieldWrapperWrapper.vue.d.ts +8 -6
- package/lib/components/TextFieldWrapperWrapper.vue.js +13 -12
- package/lib/components/TextListItemWrapper.vue.d.ts +1 -6
- package/lib/components/TextListWrapper.vue.d.ts +1 -6
- package/lib/components/TextListWrapper.vue.js +8 -8
- package/lib/components/TextWrapper.vue.d.ts +1 -6
- package/lib/components/TextareaWrapperWrapper.vue.d.ts +1 -6
- package/lib/components/ToastWrapper.vue.d.ts +1 -2
- package/lib/components/WordmarkWrapper.vue.d.ts +1 -2
- package/lib/components/WordmarkWrapper.vue.js +11 -11
- package/lib/components/index.d.ts +1 -0
- package/lib/types.d.ts +17 -1
- package/package.json +2 -2
- package/public-api.js +103 -101
- package/utils.d.ts +1 -1
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { defineComponent as s, ref as
|
|
1
|
+
import { defineComponent as s, ref as p, onMounted as l, onUpdated as f, openBlock as i, createBlock as m, resolveDynamicComponent as c, unref as d, withCtx as u, renderSlot as g } from "vue";
|
|
2
2
|
import { getPrefixedTagName as _, syncProperties as t } from "../../utils.js";
|
|
3
3
|
const k = /* @__PURE__ */ s({
|
|
4
4
|
__name: "TagDismissibleWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
aria:
|
|
6
|
+
aria: {},
|
|
7
7
|
color: { default: "background-surface" },
|
|
8
|
-
label:
|
|
8
|
+
label: {},
|
|
9
9
|
theme: { default: "light" }
|
|
10
10
|
},
|
|
11
11
|
setup(n) {
|
|
12
|
-
const o = n, r = _("p-tag-dismissible"), e =
|
|
13
|
-
return
|
|
12
|
+
const o = n, r = _("p-tag-dismissible"), e = p();
|
|
13
|
+
return l(() => {
|
|
14
14
|
t(e.value, o);
|
|
15
15
|
}), f(() => {
|
|
16
16
|
t(e.value, o);
|
|
17
|
-
}), (a, C) => (i(), m(
|
|
17
|
+
}), (a, C) => (i(), m(c(d(r)), {
|
|
18
18
|
ref_key: "pdsComponentRef",
|
|
19
19
|
ref: e
|
|
20
20
|
}, {
|
|
21
|
-
default:
|
|
21
|
+
default: u(() => [
|
|
22
22
|
g(a.$slots, "default")
|
|
23
23
|
]),
|
|
24
24
|
_: 3
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { TagColor, TagIcon, Theme } from '../types';
|
|
3
2
|
type PTagProps = {
|
|
4
3
|
/**
|
|
@@ -27,7 +26,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
27
26
|
}>>>, {
|
|
28
27
|
theme: "light" | "dark";
|
|
29
28
|
color: "background-base" | "background-surface" | "primary" | "notification-success" | "notification-warning" | "notification-error" | "neutral-contrast-high" | "notification-neutral" | "background-default" | "notification-info-soft" | "notification-warning-soft" | "notification-success-soft" | "notification-error-soft";
|
|
30
|
-
}>, {
|
|
29
|
+
}, {}>, {
|
|
31
30
|
default?(_: {}): any;
|
|
32
31
|
}>;
|
|
33
32
|
export default _default;
|
|
@@ -48,12 +47,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
48
47
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
49
48
|
new (): {
|
|
50
49
|
$slots: S;
|
|
51
|
-
$props: __VLS_PropsChildren<S>;
|
|
52
50
|
};
|
|
53
51
|
};
|
|
54
|
-
type __VLS_PropsChildren<S> = {
|
|
55
|
-
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
56
|
-
};
|
|
57
52
|
type __VLS_Prettify<T> = {
|
|
58
53
|
[K in keyof T]: T[K];
|
|
59
54
|
} & {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as p, ref as c, onMounted as
|
|
2
|
-
import { getPrefixedTagName as _, syncProperties as
|
|
1
|
+
import { defineComponent as p, ref as c, onMounted as f, onUpdated as s, openBlock as u, createBlock as d, resolveDynamicComponent as l, unref as m, withCtx as i, renderSlot as g } from "vue";
|
|
2
|
+
import { getPrefixedTagName as _, syncProperties as t } from "../../utils.js";
|
|
3
3
|
const v = /* @__PURE__ */ p({
|
|
4
4
|
__name: "TagWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
color: { default: "background-surface" },
|
|
7
|
-
icon:
|
|
8
|
-
iconSource:
|
|
7
|
+
icon: {},
|
|
8
|
+
iconSource: {},
|
|
9
9
|
theme: { default: "light" }
|
|
10
10
|
},
|
|
11
|
-
setup(
|
|
12
|
-
const o =
|
|
13
|
-
return
|
|
14
|
-
|
|
15
|
-
}),
|
|
16
|
-
|
|
17
|
-
}), (a, C) => (
|
|
11
|
+
setup(n) {
|
|
12
|
+
const o = n, r = _("p-tag"), e = c();
|
|
13
|
+
return f(() => {
|
|
14
|
+
t(e.value, o);
|
|
15
|
+
}), s(() => {
|
|
16
|
+
t(e.value, o);
|
|
17
|
+
}), (a, C) => (u(), d(l(m(r)), {
|
|
18
18
|
ref_key: "pdsComponentRef",
|
|
19
19
|
ref: e
|
|
20
20
|
}, {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { TextFieldWrapperActionIcon, BreakpointCustomizable, TextFieldWrapperState, Theme, TextFieldWrapperUnitPosition } from '../types';
|
|
3
2
|
type PTextFieldWrapperProps = {
|
|
4
3
|
/**
|
|
@@ -33,6 +32,10 @@ type PTextFieldWrapperProps = {
|
|
|
33
32
|
* Show or hide max character count.
|
|
34
33
|
*/
|
|
35
34
|
showCounter?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* __Experimental__: Show or hide password toggle for `input type="password"`.
|
|
37
|
+
*/
|
|
38
|
+
showPasswordToggle?: boolean;
|
|
36
39
|
/**
|
|
37
40
|
* The validation state.
|
|
38
41
|
*/
|
|
@@ -57,6 +60,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
57
60
|
label: string;
|
|
58
61
|
message: string;
|
|
59
62
|
showCounter: boolean;
|
|
63
|
+
showPasswordToggle: boolean;
|
|
60
64
|
state: string;
|
|
61
65
|
theme: string;
|
|
62
66
|
unit: string;
|
|
@@ -70,6 +74,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
70
74
|
label: string;
|
|
71
75
|
message: string;
|
|
72
76
|
showCounter: boolean;
|
|
77
|
+
showPasswordToggle: boolean;
|
|
73
78
|
state: string;
|
|
74
79
|
theme: string;
|
|
75
80
|
unit: string;
|
|
@@ -85,9 +90,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
85
90
|
message: string;
|
|
86
91
|
actionLoading: boolean;
|
|
87
92
|
showCounter: boolean;
|
|
93
|
+
showPasswordToggle: boolean;
|
|
88
94
|
unit: string;
|
|
89
95
|
unitPosition: "prefix" | "suffix";
|
|
90
|
-
}>, {
|
|
96
|
+
}, {}>, {
|
|
91
97
|
default?(_: {}): any;
|
|
92
98
|
}>;
|
|
93
99
|
export default _default;
|
|
@@ -108,12 +114,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
108
114
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
109
115
|
new (): {
|
|
110
116
|
$slots: S;
|
|
111
|
-
$props: __VLS_PropsChildren<S>;
|
|
112
117
|
};
|
|
113
118
|
};
|
|
114
|
-
type __VLS_PropsChildren<S> = {
|
|
115
|
-
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
116
|
-
};
|
|
117
119
|
type __VLS_Prettify<T> = {
|
|
118
120
|
[K in keyof T]: T[K];
|
|
119
121
|
} & {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as p, ref as
|
|
2
|
-
import { getPrefixedTagName as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as p, ref as d, onMounted as f, onUpdated as s, openBlock as u, createBlock as i, resolveDynamicComponent as c, unref as m, withCtx as h, renderSlot as C } from "vue";
|
|
2
|
+
import { getPrefixedTagName as g, syncProperties as o, addEventListenerToElementRef as w } from "../../utils.js";
|
|
3
|
+
const B = /* @__PURE__ */ p({
|
|
4
4
|
__name: "TextFieldWrapperWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
actionIcon:
|
|
6
|
+
actionIcon: {},
|
|
7
7
|
actionLoading: { type: Boolean, default: !1 },
|
|
8
8
|
description: { default: "" },
|
|
9
9
|
hideLabel: { default: !1 },
|
|
@@ -11,29 +11,30 @@ const w = /* @__PURE__ */ p({
|
|
|
11
11
|
message: { default: "" },
|
|
12
12
|
showCharacterCount: { type: Boolean },
|
|
13
13
|
showCounter: { type: Boolean, default: !0 },
|
|
14
|
+
showPasswordToggle: { type: Boolean, default: !0 },
|
|
14
15
|
state: { default: "none" },
|
|
15
16
|
theme: { default: "light" },
|
|
16
17
|
unit: { default: "" },
|
|
17
18
|
unitPosition: { default: "prefix" }
|
|
18
19
|
},
|
|
19
20
|
emits: ["action"],
|
|
20
|
-
setup(
|
|
21
|
-
const t =
|
|
22
|
-
return
|
|
23
|
-
o(e.value, t),
|
|
21
|
+
setup(a, { emit: n }) {
|
|
22
|
+
const t = a, r = g("p-text-field-wrapper"), e = d();
|
|
23
|
+
return f(() => {
|
|
24
|
+
o(e.value, t), w(e.value, "action", n);
|
|
24
25
|
}), s(() => {
|
|
25
26
|
o(e.value, t);
|
|
26
|
-
}), (
|
|
27
|
+
}), (l, y) => (u(), i(c(m(r)), {
|
|
27
28
|
ref_key: "pdsComponentRef",
|
|
28
29
|
ref: e
|
|
29
30
|
}, {
|
|
30
|
-
default:
|
|
31
|
-
|
|
31
|
+
default: h(() => [
|
|
32
|
+
C(l.$slots, "default")
|
|
32
33
|
]),
|
|
33
34
|
_: 3
|
|
34
35
|
}, 512));
|
|
35
36
|
}
|
|
36
37
|
});
|
|
37
38
|
export {
|
|
38
|
-
|
|
39
|
+
B as default
|
|
39
40
|
};
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, {
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
3
2
|
default?(_: {}): any;
|
|
4
3
|
}>;
|
|
5
4
|
export default _default;
|
|
6
5
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
7
6
|
new (): {
|
|
8
7
|
$slots: S;
|
|
9
|
-
$props: __VLS_PropsChildren<S>;
|
|
10
8
|
};
|
|
11
9
|
};
|
|
12
|
-
type __VLS_PropsChildren<S> = {
|
|
13
|
-
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
14
|
-
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { TextListListType, TextListOrderType, Theme, TextListType } from '../types';
|
|
3
2
|
type PTextListProps = {
|
|
4
3
|
/**
|
|
@@ -27,7 +26,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
27
26
|
}>>>, {
|
|
28
27
|
type: "unordered" | "numbered" | "alphabetically";
|
|
29
28
|
theme: "light" | "dark";
|
|
30
|
-
}>, {
|
|
29
|
+
}, {}>, {
|
|
31
30
|
default?(_: {}): any;
|
|
32
31
|
}>;
|
|
33
32
|
export default _default;
|
|
@@ -48,12 +47,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
48
47
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
49
48
|
new (): {
|
|
50
49
|
$slots: S;
|
|
51
|
-
$props: __VLS_PropsChildren<S>;
|
|
52
50
|
};
|
|
53
51
|
};
|
|
54
|
-
type __VLS_PropsChildren<S> = {
|
|
55
|
-
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
56
|
-
};
|
|
57
52
|
type __VLS_Prettify<T> = {
|
|
58
53
|
[K in keyof T]: T[K];
|
|
59
54
|
} & {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as s, ref as a, onMounted as d, onUpdated as f, openBlock as l, createBlock as m, resolveDynamicComponent as u, unref as c, withCtx as i, renderSlot as _ } from "vue";
|
|
2
2
|
import { getPrefixedTagName as y, syncProperties as o } from "../../utils.js";
|
|
3
|
-
const g = /* @__PURE__ */
|
|
3
|
+
const g = /* @__PURE__ */ s({
|
|
4
4
|
__name: "TextListWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
listType:
|
|
7
|
-
orderType:
|
|
6
|
+
listType: {},
|
|
7
|
+
orderType: {},
|
|
8
8
|
theme: { default: "light" },
|
|
9
9
|
type: { default: "unordered" }
|
|
10
10
|
},
|
|
11
11
|
setup(n) {
|
|
12
|
-
const t = n, r = y("p-text-list"), e =
|
|
13
|
-
return
|
|
12
|
+
const t = n, r = y("p-text-list"), e = a();
|
|
13
|
+
return d(() => {
|
|
14
14
|
o(e.value, t);
|
|
15
|
-
}),
|
|
15
|
+
}), f(() => {
|
|
16
16
|
o(e.value, t);
|
|
17
|
-
}), (p, C) => (
|
|
17
|
+
}), (p, C) => (l(), m(u(c(r)), {
|
|
18
18
|
ref_key: "pdsComponentRef",
|
|
19
19
|
ref: e
|
|
20
20
|
}, {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { TextAlign, TextColor, BreakpointCustomizable, TextSize, TextTag, Theme, TextWeight } from '../types';
|
|
3
2
|
type PTextProps = {
|
|
4
3
|
/**
|
|
@@ -54,7 +53,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
54
53
|
align: "center" | "left" | "right";
|
|
55
54
|
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";
|
|
56
55
|
ellipsis: boolean;
|
|
57
|
-
}>, {
|
|
56
|
+
}, {}>, {
|
|
58
57
|
default?(_: {}): any;
|
|
59
58
|
}>;
|
|
60
59
|
export default _default;
|
|
@@ -75,12 +74,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
75
74
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
76
75
|
new (): {
|
|
77
76
|
$slots: S;
|
|
78
|
-
$props: __VLS_PropsChildren<S>;
|
|
79
77
|
};
|
|
80
78
|
};
|
|
81
|
-
type __VLS_PropsChildren<S> = {
|
|
82
|
-
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
83
|
-
};
|
|
84
79
|
type __VLS_Prettify<T> = {
|
|
85
80
|
[K in keyof T]: T[K];
|
|
86
81
|
} & {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { BreakpointCustomizable, TextareaWrapperState, Theme } from '../types';
|
|
3
2
|
type PTextareaWrapperProps = {
|
|
4
3
|
/**
|
|
@@ -58,7 +57,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
58
57
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
59
58
|
message: string;
|
|
60
59
|
showCounter: boolean;
|
|
61
|
-
}>, {
|
|
60
|
+
}, {}>, {
|
|
62
61
|
default?(_: {}): any;
|
|
63
62
|
}>;
|
|
64
63
|
export default _default;
|
|
@@ -79,12 +78,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
79
78
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
80
79
|
new (): {
|
|
81
80
|
$slots: S;
|
|
82
|
-
$props: __VLS_PropsChildren<S>;
|
|
83
81
|
};
|
|
84
82
|
};
|
|
85
|
-
type __VLS_PropsChildren<S> = {
|
|
86
|
-
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
87
|
-
};
|
|
88
83
|
type __VLS_Prettify<T> = {
|
|
89
84
|
[K in keyof T]: T[K];
|
|
90
85
|
} & {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { Theme } from '../types';
|
|
3
2
|
type PToastProps = {
|
|
4
3
|
/**
|
|
@@ -12,7 +11,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
12
11
|
theme: string;
|
|
13
12
|
}>>>, {
|
|
14
13
|
theme: "light" | "dark";
|
|
15
|
-
}>;
|
|
14
|
+
}, {}>;
|
|
16
15
|
export default _default;
|
|
17
16
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
17
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** __vue_virtual_code_placeholder */
|
|
2
1
|
import type { SelectedAriaAttributes, WordmarkAriaAttribute, WordmarkSize, WordmarkTarget, Theme } from '../types';
|
|
3
2
|
type PWordmarkProps = {
|
|
4
3
|
/**
|
|
@@ -34,7 +33,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
34
33
|
size: "inherit" | "small";
|
|
35
34
|
theme: "light" | "dark";
|
|
36
35
|
target: string;
|
|
37
|
-
}>;
|
|
36
|
+
}, {}>;
|
|
38
37
|
export default _default;
|
|
39
38
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
39
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { defineComponent as a, ref as p, onMounted as
|
|
2
|
-
import { getPrefixedTagName as
|
|
1
|
+
import { defineComponent as a, ref as p, onMounted as f, onUpdated as m, openBlock as s, createBlock as l, resolveDynamicComponent as c, unref as d } from "vue";
|
|
2
|
+
import { getPrefixedTagName as u, syncProperties as r } from "../../utils.js";
|
|
3
3
|
const C = /* @__PURE__ */ a({
|
|
4
4
|
__name: "WordmarkWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
aria:
|
|
7
|
-
href:
|
|
6
|
+
aria: {},
|
|
7
|
+
href: {},
|
|
8
8
|
size: { default: "small" },
|
|
9
9
|
target: { default: "_self" },
|
|
10
10
|
theme: { default: "light" }
|
|
11
11
|
},
|
|
12
|
-
setup(
|
|
13
|
-
const o =
|
|
14
|
-
return
|
|
15
|
-
|
|
16
|
-
}),
|
|
17
|
-
|
|
18
|
-
}), (i, _) => (
|
|
12
|
+
setup(t) {
|
|
13
|
+
const o = t, n = u("p-wordmark"), e = p();
|
|
14
|
+
return f(() => {
|
|
15
|
+
r(e.value, o);
|
|
16
|
+
}), m(() => {
|
|
17
|
+
r(e.value, o);
|
|
18
|
+
}), (i, _) => (s(), l(c(d(n)), {
|
|
19
19
|
ref_key: "pdsComponentRef",
|
|
20
20
|
ref: e
|
|
21
21
|
}, null, 512));
|
|
@@ -14,6 +14,7 @@ export { default as PFieldset } from './FieldsetWrapper.vue';
|
|
|
14
14
|
export { default as PFieldsetWrapper } from './FieldsetWrapperWrapper.vue';
|
|
15
15
|
export { default as PFlex } from './FlexWrapper.vue';
|
|
16
16
|
export { default as PFlexItem } from './FlexItemWrapper.vue';
|
|
17
|
+
export { default as PFlyout } from './FlyoutWrapper.vue';
|
|
17
18
|
export { default as PGrid } from './GridWrapper.vue';
|
|
18
19
|
export { default as PGridItem } from './GridItemWrapper.vue';
|
|
19
20
|
export { default as PHeading } from './HeadingWrapper.vue';
|
package/lib/types.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ declare const ICON_NAMES: readonly [
|
|
|
45
45
|
"co2-emission",
|
|
46
46
|
"compare",
|
|
47
47
|
"configurate",
|
|
48
|
+
"copy",
|
|
48
49
|
"country-road",
|
|
49
50
|
"cubic-capacity",
|
|
50
51
|
"delete",
|
|
@@ -58,12 +59,15 @@ declare const ICON_NAMES: readonly [
|
|
|
58
59
|
"exclamation",
|
|
59
60
|
"external",
|
|
60
61
|
"filter",
|
|
62
|
+
"fingerprint",
|
|
61
63
|
"flash",
|
|
62
64
|
"fuel-station",
|
|
63
65
|
"garage",
|
|
64
66
|
"gift",
|
|
65
67
|
"globe",
|
|
66
68
|
"grid",
|
|
69
|
+
"heart",
|
|
70
|
+
"heart-filled",
|
|
67
71
|
"highway",
|
|
68
72
|
"home",
|
|
69
73
|
"horn",
|
|
@@ -143,6 +147,8 @@ declare const ICON_NAMES: readonly [
|
|
|
143
147
|
"refresh",
|
|
144
148
|
"replay",
|
|
145
149
|
"reset",
|
|
150
|
+
"roof-closed",
|
|
151
|
+
"roof-open",
|
|
146
152
|
"route",
|
|
147
153
|
"rss",
|
|
148
154
|
"save",
|
|
@@ -168,6 +174,7 @@ declare const ICON_NAMES: readonly [
|
|
|
168
174
|
"switch",
|
|
169
175
|
"tablet",
|
|
170
176
|
"tachometer",
|
|
177
|
+
"tire",
|
|
171
178
|
"truck",
|
|
172
179
|
"upload",
|
|
173
180
|
"user",
|
|
@@ -750,6 +757,15 @@ declare const FLEX_ITEM_FLEXS: readonly [
|
|
|
750
757
|
"equal"
|
|
751
758
|
];
|
|
752
759
|
export type FlexItemFlex = typeof FLEX_ITEM_FLEXS[number];
|
|
760
|
+
declare const FLYOUT_POSITIONS: readonly [
|
|
761
|
+
"left",
|
|
762
|
+
"right"
|
|
763
|
+
];
|
|
764
|
+
export type FlyoutPosition = (typeof FLYOUT_POSITIONS)[number];
|
|
765
|
+
declare const FLYOUT_ARIA_ATTRIBUTES: readonly [
|
|
766
|
+
"aria-label"
|
|
767
|
+
];
|
|
768
|
+
export type FlyoutAriaAttribute = (typeof FLYOUT_ARIA_ATTRIBUTES)[number];
|
|
753
769
|
declare const GRID_DIRECTIONS: readonly [
|
|
754
770
|
"row",
|
|
755
771
|
"row-reverse",
|
|
@@ -1003,7 +1019,7 @@ declare const DROPDOWN_DIRECTIONS: readonly [
|
|
|
1003
1019
|
"up",
|
|
1004
1020
|
"auto"
|
|
1005
1021
|
];
|
|
1006
|
-
export type SelectWrapperDropdownDirection = typeof DROPDOWN_DIRECTIONS[number];
|
|
1022
|
+
export type SelectWrapperDropdownDirection = (typeof DROPDOWN_DIRECTIONS)[number];
|
|
1007
1023
|
export type SelectWrapperState = FormState;
|
|
1008
1024
|
declare const SPINNER_SIZES: readonly [
|
|
1009
1025
|
"small",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porsche-design-system/components-vue",
|
|
3
|
-
"version": "3.1.0-rc.
|
|
3
|
+
"version": "3.1.0-rc.2",
|
|
4
4
|
"description": "Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"porsche",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"license": "SEE LICENSE IN LICENSE",
|
|
18
18
|
"homepage": "https://designsystem.porsche.com",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@porsche-design-system/components-js": "3.1.0-rc.
|
|
20
|
+
"@porsche-design-system/components-js": "3.1.0-rc.2"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"vue": ">=3.0.0 <4.0.0"
|