@porsche-design-system/components-vue 3.1.0-rc.0 → 3.1.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.
Files changed (102) hide show
  1. package/CHANGELOG.md +17 -1
  2. package/PorscheDesignSystemProvider.vue.d.ts +1 -6
  3. package/lib/components/AccordionWrapper.vue.d.ts +1 -6
  4. package/lib/components/AccordionWrapper.vue.js +8 -8
  5. package/lib/components/BannerWrapper.vue.d.ts +1 -6
  6. package/lib/components/BannerWrapper.vue.js +5 -5
  7. package/lib/components/ButtonGroupWrapper.vue.d.ts +1 -6
  8. package/lib/components/ButtonPureWrapper.vue.d.ts +1 -6
  9. package/lib/components/ButtonPureWrapper.vue.js +2 -2
  10. package/lib/components/ButtonTileWrapper.vue.d.ts +1 -6
  11. package/lib/components/ButtonTileWrapper.vue.js +11 -11
  12. package/lib/components/ButtonWrapper.vue.d.ts +1 -6
  13. package/lib/components/ButtonWrapper.vue.js +7 -7
  14. package/lib/components/CarouselWrapper.vue.d.ts +1 -6
  15. package/lib/components/CarouselWrapper.vue.js +13 -13
  16. package/lib/components/CheckboxWrapperWrapper.vue.d.ts +2 -7
  17. package/lib/components/ContentWrapperWrapper.vue.d.ts +1 -6
  18. package/lib/components/CrestWrapper.vue.d.ts +1 -2
  19. package/lib/components/CrestWrapper.vue.js +8 -8
  20. package/lib/components/DisplayWrapper.vue.d.ts +1 -6
  21. package/lib/components/DisplayWrapper.vue.js +7 -7
  22. package/lib/components/DividerWrapper.vue.d.ts +1 -2
  23. package/lib/components/DividerWrapper.vue.js +9 -9
  24. package/lib/components/FieldsetWrapper.vue.d.ts +1 -6
  25. package/lib/components/FieldsetWrapperWrapper.vue.d.ts +1 -6
  26. package/lib/components/FlexItemWrapper.vue.d.ts +1 -6
  27. package/lib/components/FlexWrapper.vue.d.ts +1 -6
  28. package/lib/components/GridItemWrapper.vue.d.ts +1 -6
  29. package/lib/components/GridWrapper.vue.d.ts +1 -6
  30. package/lib/components/HeadingWrapper.vue.d.ts +1 -6
  31. package/lib/components/HeadingWrapper.vue.js +3 -3
  32. package/lib/components/HeadlineWrapper.vue.d.ts +1 -6
  33. package/lib/components/HeadlineWrapper.vue.js +5 -5
  34. package/lib/components/IconWrapper.vue.d.ts +2 -3
  35. package/lib/components/IconWrapper.vue.js +2 -2
  36. package/lib/components/InlineNotificationWrapper.vue.d.ts +2 -7
  37. package/lib/components/InlineNotificationWrapper.vue.js +7 -7
  38. package/lib/components/LinkPureWrapper.vue.d.ts +1 -6
  39. package/lib/components/LinkPureWrapper.vue.js +16 -16
  40. package/lib/components/LinkSocialWrapper.vue.d.ts +1 -6
  41. package/lib/components/LinkSocialWrapper.vue.js +14 -14
  42. package/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +1 -6
  43. package/lib/components/LinkTileModelSignatureWrapper.vue.js +6 -6
  44. package/lib/components/LinkTileWrapper.vue.d.ts +1 -6
  45. package/lib/components/LinkTileWrapper.vue.js +16 -16
  46. package/lib/components/LinkWrapper.vue.d.ts +1 -6
  47. package/lib/components/LinkWrapper.vue.js +15 -15
  48. package/lib/components/MarqueWrapper.vue.d.ts +1 -2
  49. package/lib/components/MarqueWrapper.vue.js +10 -10
  50. package/lib/components/ModalWrapper.vue.d.ts +1 -6
  51. package/lib/components/ModalWrapper.vue.js +7 -7
  52. package/lib/components/ModelSignatureWrapper.vue.d.ts +1 -2
  53. package/lib/components/PaginationWrapper.vue.d.ts +1 -2
  54. package/lib/components/PaginationWrapper.vue.js +10 -10
  55. package/lib/components/PopoverWrapper.vue.d.ts +1 -6
  56. package/lib/components/PopoverWrapper.vue.js +7 -7
  57. package/lib/components/RadioButtonWrapperWrapper.vue.d.ts +1 -6
  58. package/lib/components/ScrollerWrapper.vue.d.ts +1 -6
  59. package/lib/components/ScrollerWrapper.vue.js +11 -11
  60. package/lib/components/SegmentedControlItemWrapper.vue.d.ts +1 -6
  61. package/lib/components/SegmentedControlItemWrapper.vue.js +13 -13
  62. package/lib/components/SegmentedControlWrapper.vue.d.ts +1 -6
  63. package/lib/components/SegmentedControlWrapper.vue.js +11 -11
  64. package/lib/components/SelectWrapperWrapper.vue.d.ts +1 -6
  65. package/lib/components/SpinnerWrapper.vue.d.ts +1 -2
  66. package/lib/components/SpinnerWrapper.vue.js +4 -4
  67. package/lib/components/StepperHorizontalItemWrapper.vue.d.ts +1 -6
  68. package/lib/components/StepperHorizontalItemWrapper.vue.js +4 -4
  69. package/lib/components/StepperHorizontalWrapper.vue.d.ts +1 -6
  70. package/lib/components/SwitchWrapper.vue.d.ts +1 -6
  71. package/lib/components/TableBodyWrapper.vue.d.ts +1 -6
  72. package/lib/components/TableCellWrapper.vue.d.ts +1 -6
  73. package/lib/components/TableHeadCellWrapper.vue.d.ts +1 -6
  74. package/lib/components/TableHeadCellWrapper.vue.js +3 -3
  75. package/lib/components/TableHeadRowWrapper.vue.d.ts +1 -6
  76. package/lib/components/TableHeadWrapper.vue.d.ts +1 -6
  77. package/lib/components/TableRowWrapper.vue.d.ts +1 -6
  78. package/lib/components/TableWrapper.vue.d.ts +1 -6
  79. package/lib/components/TableWrapper.vue.js +4 -4
  80. package/lib/components/TabsBarWrapper.vue.d.ts +1 -6
  81. package/lib/components/TabsBarWrapper.vue.js +8 -8
  82. package/lib/components/TabsItemWrapper.vue.d.ts +1 -6
  83. package/lib/components/TabsItemWrapper.vue.js +3 -3
  84. package/lib/components/TabsWrapper.vue.d.ts +1 -6
  85. package/lib/components/TabsWrapper.vue.js +7 -7
  86. package/lib/components/TagDismissibleWrapper.vue.d.ts +1 -6
  87. package/lib/components/TagDismissibleWrapper.vue.js +7 -7
  88. package/lib/components/TagWrapper.vue.d.ts +1 -6
  89. package/lib/components/TagWrapper.vue.js +11 -11
  90. package/lib/components/TextFieldWrapperWrapper.vue.d.ts +8 -6
  91. package/lib/components/TextFieldWrapperWrapper.vue.js +13 -12
  92. package/lib/components/TextListItemWrapper.vue.d.ts +1 -6
  93. package/lib/components/TextListWrapper.vue.d.ts +1 -6
  94. package/lib/components/TextListWrapper.vue.js +8 -8
  95. package/lib/components/TextWrapper.vue.d.ts +1 -6
  96. package/lib/components/TextareaWrapperWrapper.vue.d.ts +1 -6
  97. package/lib/components/ToastWrapper.vue.d.ts +1 -2
  98. package/lib/components/WordmarkWrapper.vue.d.ts +1 -2
  99. package/lib/components/WordmarkWrapper.vue.js +11 -11
  100. package/lib/types.d.ts +8 -1
  101. package/package.json +2 -2
  102. package/utils.d.ts +1 -1
@@ -1,9 +1,9 @@
1
- import { defineComponent as p, ref as f, onMounted as d, onUpdated as s, openBlock as u, createBlock as i, resolveDynamicComponent as c, unref as m, withCtx as C, renderSlot as h } from "vue";
2
- import { getPrefixedTagName as _, syncProperties as o, addEventListenerToElementRef as g } from "../../utils.js";
3
- const w = /* @__PURE__ */ p({
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: null,
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(n, { emit: a }) {
21
- const t = n, l = _("p-text-field-wrapper"), e = f();
22
- return d(() => {
23
- o(e.value, t), g(e.value, "action", a);
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
- }), (r, x) => (u(), i(c(m(l)), {
27
+ }), (l, y) => (u(), i(c(m(r)), {
27
28
  ref_key: "pdsComponentRef",
28
29
  ref: e
29
30
  }, {
30
- default: C(() => [
31
- h(r.$slots, "default")
31
+ default: h(() => [
32
+ C(l.$slots, "default")
32
33
  ]),
33
34
  _: 3
34
35
  }, 512));
35
36
  }
36
37
  });
37
38
  export {
38
- w as default
39
+ B as default
39
40
  };
@@ -1,14 +1,9 @@
1
- /** __vue_virtual_code_placeholder */
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 l, ref as s, onMounted as a, onUpdated as d, openBlock as f, createBlock as u, resolveDynamicComponent as m, unref as c, withCtx as i, renderSlot as _ } from "vue";
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__ */ l({
3
+ const g = /* @__PURE__ */ s({
4
4
  __name: "TextListWrapper",
5
5
  props: {
6
- listType: null,
7
- orderType: null,
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 = s();
13
- return a(() => {
12
+ const t = n, r = y("p-text-list"), e = a();
13
+ return d(() => {
14
14
  o(e.value, t);
15
- }), d(() => {
15
+ }), f(() => {
16
16
  o(e.value, t);
17
- }), (p, C) => (f(), u(m(c(r)), {
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 l, onUpdated as f, openBlock as m, createBlock as s, resolveDynamicComponent as u, unref as c } from "vue";
2
- import { getPrefixedTagName as d, syncProperties as n } from "../../utils.js";
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: null,
7
- href: null,
6
+ aria: {},
7
+ href: {},
8
8
  size: { default: "small" },
9
9
  target: { default: "_self" },
10
10
  theme: { default: "light" }
11
11
  },
12
- setup(r) {
13
- const o = r, t = d("p-wordmark"), e = p();
14
- return l(() => {
15
- n(e.value, o);
16
- }), f(() => {
17
- n(e.value, o);
18
- }), (i, _) => (m(), s(u(c(t)), {
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));
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",
@@ -1003,7 +1010,7 @@ declare const DROPDOWN_DIRECTIONS: readonly [
1003
1010
  "up",
1004
1011
  "auto"
1005
1012
  ];
1006
- export type SelectWrapperDropdownDirection = typeof DROPDOWN_DIRECTIONS[number];
1013
+ export type SelectWrapperDropdownDirection = (typeof DROPDOWN_DIRECTIONS)[number];
1007
1014
  export type SelectWrapperState = FormState;
1008
1015
  declare const SPINNER_SIZES: readonly [
1009
1016
  "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.0",
3
+ "version": "3.1.0-rc.1",
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.0"
20
+ "@porsche-design-system/components-js": "3.1.0-rc.1"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "vue": ">=3.0.0 <4.0.0"
package/utils.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { InjectionKey } from 'vue';
2
2
  import type { ToastMessage } from './lib/types';
3
- export declare const prefixInjectionKey: InjectionKey<"pdsPrefix">;
3
+ export declare const prefixInjectionKey: InjectionKey<string>;
4
4
  export declare const getPrefixedTagName: (tagName: string) => string;
5
5
  export declare const syncProperties: <T extends HTMLElement>(elementRef: T, props: Partial<T>) => void;
6
6
  export declare const addEventListenerToElementRef: <T extends HTMLElement, E extends string>(elementRef: T, eventName: E, emit: (eventName: E, detail: any) => void) => void;