@porsche-design-system/components-vue 3.29.0-rc.4 → 3.29.0-rc.5

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 CHANGED
@@ -14,6 +14,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0),
14
14
 
15
15
  ## [Unreleased]
16
16
 
17
+ ## [3.29.0-rc.5] - 2025-08-19
18
+
19
+ ### Changed
20
+
21
+ - `Checkbox`, `Multi Select`, `Select`, `Pin Code`, `Textarea`: removed slotted anchor styles
22
+ ([#3981](https://github.com/porsche-design-system/porsche-design-system/pull/3981))
23
+
24
+ ### Fixed
25
+
26
+ - `Popover`: support for custom slotted button & improvements
27
+ ([#3976](https://github.com/porsche-design-system/porsche-design-system/pull/3976))
28
+
17
29
  ## [3.29.0-rc.4] - 2025-08-15
18
30
 
19
31
  ### Added
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),t=require("../../utils.cjs"),d=e.defineComponent({__name:"PopoverWrapper",props:{aria:{},description:{},direction:{default:"bottom"},open:{type:Boolean,default:!1},theme:{}},emits:["dismiss"],setup(i,{emit:c}){const m=t.usePrefix("p-popover"),n=i,o=e.ref(),a=c,r=e.inject(t.themeInjectionKey),p=()=>t.syncProperties(o,{...n,theme:n.theme||r.value});return e.onMounted(()=>{p(),t.addEventListenerToElementRef(o,"dismiss",a)}),e.onUpdated(p),e.watch(r,s=>{t.syncProperties(o,{theme:n.theme||s})}),(s,f)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(m)),{ref_key:"pdsComponentRef",ref:o},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},512))}});module.exports=d;
1
+ "use strict";const e=require("vue"),t=require("../../utils.cjs"),m=e.defineComponent({__name:"PopoverWrapper",props:{aria:{},description:{},direction:{default:"bottom"},theme:{}},setup(c){const i=t.usePrefix("p-popover"),o=c,n=e.ref(),s=e.inject(t.themeInjectionKey),p=()=>t.syncProperties(n,{...o,theme:o.theme||s.value});return e.onMounted(p),e.onUpdated(p),e.watch(s,r=>{t.syncProperties(n,{theme:o.theme||r})}),(r,a)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(i)),{ref_key:"pdsComponentRef",ref:n},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},512))}});module.exports=m;
@@ -36,6 +36,7 @@ declare const __VLS_component: import("vue").DefineComponent<PCheckboxWrapperPro
36
36
  loading: boolean;
37
37
  message: string;
38
38
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
39
+ /** @deprecated since v3.29.0, will be removed with next major release. Please use `p-checkbox` instead. */
39
40
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
40
41
  export default _default;
41
42
  type __VLS_WithSlots<T, S> = T & {
@@ -36,7 +36,7 @@ declare const __VLS_component: import("vue").DefineComponent<PFieldsetWrapperPro
36
36
  message: string;
37
37
  labelSize: FieldsetWrapperLabelSize;
38
38
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
39
- /** @deprecated since v3.0.0, will be removed with next major release. Please use "p-fieldset" instead. */
39
+ /** @deprecated since v3.0.0, will be removed with next major release. Please use `p-fieldset` instead. */
40
40
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
41
41
  export default _default;
42
42
  type __VLS_WithSlots<T, S> = T & {
@@ -12,10 +12,6 @@ type PPopoverProps = {
12
12
  * Preferred direction in which popover should open, given there is enough space in viewport. Otherwise, it will be opened in the direction with most available space.
13
13
  */
14
14
  direction?: PopoverDirection;
15
- /**
16
- * If true, the popover is open.
17
- */
18
- open?: boolean;
19
15
  /**
20
16
  * Adapts the popover color depending on the theme.
21
17
  */
@@ -25,14 +21,7 @@ declare var __VLS_8: {};
25
21
  type __VLS_Slots = {} & {
26
22
  default?: (props: typeof __VLS_8) => any;
27
23
  };
28
- declare const __VLS_component: import("vue").DefineComponent<PPopoverProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
- [x: string]: any;
30
- } & {
31
- [x: string]: any;
32
- }, string, import("vue").PublicProps, Readonly<PPopoverProps> & Readonly<{
33
- [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
34
- }>, {
35
- open: boolean;
24
+ declare const __VLS_component: import("vue").DefineComponent<PPopoverProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PPopoverProps> & Readonly<{}>, {
36
25
  direction: PopoverDirection;
37
26
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
38
27
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -1,32 +1,28 @@
1
- import { defineComponent as c, ref as f, inject as d, onMounted as l, onUpdated as u, watch as h, openBlock as _, createBlock as y, resolveDynamicComponent as C, unref as v, withCtx as P, renderSlot as R } from "vue";
2
- import { usePrefix as k, themeInjectionKey as w, addEventListenerToElementRef as x, syncProperties as r } from "../../utils.mjs";
3
- const E = /* @__PURE__ */ c({
1
+ import { defineComponent as m, ref as a, inject as f, onMounted as i, onUpdated as d, watch as u, openBlock as h, createBlock as l, resolveDynamicComponent as _, unref as C, withCtx as y, renderSlot as v } from "vue";
2
+ import { usePrefix as P, themeInjectionKey as k, syncProperties as p } from "../../utils.mjs";
3
+ const b = /* @__PURE__ */ m({
4
4
  __name: "PopoverWrapper",
5
5
  props: {
6
6
  aria: {},
7
7
  description: {},
8
8
  direction: { default: "bottom" },
9
- open: { type: Boolean, default: !1 },
10
9
  theme: {}
11
10
  },
12
- emits: ["dismiss"],
13
- setup(p, { emit: m }) {
14
- const i = k("p-popover"), t = p, e = f(), a = m, n = d(w), s = () => r(e, { ...t, theme: t.theme || n.value });
15
- return l(() => {
16
- s(), x(e, "dismiss", a);
17
- }), u(s), h(n, (o) => {
18
- r(e, { theme: t.theme || o });
19
- }), (o, B) => (_(), y(C(v(i)), {
11
+ setup(s) {
12
+ const c = P("p-popover"), e = s, o = a(), n = f(k), r = () => p(o, { ...e, theme: e.theme || n.value });
13
+ return i(r), d(r), u(n, (t) => {
14
+ p(o, { theme: e.theme || t });
15
+ }), (t, w) => (h(), l(_(C(c)), {
20
16
  ref_key: "pdsComponentRef",
21
- ref: e
17
+ ref: o
22
18
  }, {
23
- default: P(() => [
24
- R(o.$slots, "default")
19
+ default: y(() => [
20
+ v(t.$slots, "default")
25
21
  ]),
26
22
  _: 3
27
23
  }, 512));
28
24
  }
29
25
  });
30
26
  export {
31
- E as default
27
+ b as default
32
28
  };
@@ -51,6 +51,7 @@ declare const __VLS_component: import("vue").DefineComponent<PSelectWrapperProps
51
51
  dropdownDirection: SelectWrapperDropdownDirection;
52
52
  native: boolean;
53
53
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
54
+ /** @deprecated since v3.29.0, will be removed with next major release. Please use `p-select` instead. */
54
55
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
55
56
  export default _default;
56
57
  type __VLS_WithSlots<T, S> = T & {
@@ -80,6 +80,7 @@ declare const __VLS_component: import("vue").DefineComponent<PTextFieldWrapperPr
80
80
  unit: string;
81
81
  unitPosition: TextFieldWrapperUnitPosition;
82
82
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
83
+ /** @deprecated since v3.29.0, will be removed with next major release. Please use one of the specific input components instead: `p-input-date`, `p-input-email`, `p-input-number`, `p-input-password`, `p-input-search`, `p-input-tel`, `p-input-text`, `p-input-time` or `p-input-url`. */
83
84
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
84
85
  export default _default;
85
86
  type __VLS_WithSlots<T, S> = T & {
@@ -45,6 +45,7 @@ declare const __VLS_component: import("vue").DefineComponent<PTextareaWrapperPro
45
45
  message: string;
46
46
  showCounter: boolean;
47
47
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
48
+ /** @deprecated since v3.29.0, will be removed with next major release. Please use `p-textarea` instead. */
48
49
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
49
50
  export default _default;
50
51
  type __VLS_WithSlots<T, S> = T & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@porsche-design-system/components-vue",
3
- "version": "3.29.0-rc.4",
3
+ "version": "3.29.0-rc.5",
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,11 +17,12 @@
17
17
  "license": "SEE LICENSE IN LICENSE",
18
18
  "homepage": "https://designsystem.porsche.com",
19
19
  "dependencies": {
20
- "@porsche-design-system/components-js": "3.29.0-rc.4"
20
+ "@porsche-design-system/components-js": "3.29.0-rc.5"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "ag-grid-enterprise": ">= 33.0.0 <35.0.0",
24
24
  "ag-grid-vue3": ">= 33.0.0 <35.0.0",
25
+ "tailwindcss": ">= 4.0.0 <5.0.0",
25
26
  "vue": ">=3.0.0 <4.0.0"
26
27
  },
27
28
  "peerDependenciesMeta": {
@@ -30,6 +31,9 @@
30
31
  },
31
32
  "ag-grid-vue3": {
32
33
  "optional": true
34
+ },
35
+ "tailwindcss": {
36
+ "optional": true
33
37
  }
34
38
  },
35
39
  "main": "cjs/public-api.cjs",