@porsche-design-system/components-vue 3.33.0 → 3.34.0-rc.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 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.34.0-rc.0] - 2026-04-01
18
+
19
+ ### Added
20
+
21
+ - `Segmented Control`: `noWrap` property to render items inline with optional scroller
22
+ ([#4244](https://github.com/porsche-design-system/porsche-design-system/pull/4244))
23
+
24
+ ### Fixed
25
+
26
+ - `Accordion`: missing `delegatesFocus`
27
+ ([#4238](https://github.com/porsche-design-system/porsche-design-system/pull/4238))
28
+
17
29
  ## [3.33.0] - 2026-03-09
18
30
 
19
31
  ## [3.33.0-rc.0] - 2026-03-04
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),t=require("../../utils.cjs"),m=e.defineComponent({__name:"SegmentedControlWrapper",props:{backgroundColor:{},columns:{default:"auto"},compact:{type:Boolean,default:!1},description:{default:""},disabled:{type:Boolean,default:!1},form:{},hideLabel:{type:[Boolean,Object],default:!1},label:{default:""},message:{default:""},name:{},required:{type:Boolean,default:!1},state:{default:"none"},theme:{},value:{}},emits:["update:value","blur","change","segmentedControlChange","update"],setup(d,{emit:u}){const c=t.usePrefix("p-segmented-control"),s=d,n=e.ref(),o=u,l=e.inject(t.themeInjectionKey),r=()=>t.syncProperties(n,{...s,theme:s.theme||l.value});return e.onMounted(()=>{r(),t.addEventListenerToElementRef(n,"blur",o),t.addEventListenerToElementRef(n,"change",o,a=>{o("update:value",a.target.value)}),t.addEventListenerToElementRef(n,"segmentedControlChange",o),t.addEventListenerToElementRef(n,"update",o)}),e.onUpdated(r),e.watch(l,a=>{t.syncProperties(n,{theme:s.theme||a})}),(a,p)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(c)),{ref_key:"pdsComponentRef",ref:n},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},512))}});module.exports=m;
1
+ "use strict";const e=require("vue"),t=require("../../utils.cjs"),c=e.defineComponent({__name:"SegmentedControlWrapper",props:{backgroundColor:{},columns:{default:"auto"},compact:{type:Boolean,default:!1},description:{default:""},disabled:{type:Boolean,default:!1},form:{},hideLabel:{type:[Boolean,Object],default:!1},label:{default:""},message:{default:""},name:{},noWrap:{type:Boolean,default:!1},required:{type:Boolean,default:!1},state:{default:"none"},theme:{},value:{}},emits:["update:value","blur","change","segmentedControlChange","update"],setup(d,{emit:u}){const p=t.usePrefix("p-segmented-control"),l=d,n=e.ref(),o=u,s=e.inject(t.themeInjectionKey),r=()=>t.syncProperties(n,{...l,theme:l.theme||s.value});return e.onMounted(()=>{r(),t.addEventListenerToElementRef(n,"blur",o),t.addEventListenerToElementRef(n,"change",o,a=>{o("update:value",a.target.value)}),t.addEventListenerToElementRef(n,"segmentedControlChange",o),t.addEventListenerToElementRef(n,"update",o)}),e.onUpdated(r),e.watch(s,a=>{t.syncProperties(n,{theme:l.theme||a})}),(a,f)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(p)),{ref_key:"pdsComponentRef",ref:n},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},512))}});module.exports=c;
@@ -40,6 +40,10 @@ type PSegmentedControlProps = {
40
40
  * The name of the segmented-control.
41
41
  */
42
42
  name?: string;
43
+ /**
44
+ * If true, prevents items from wrapping to new rows and renders them in a single scrollable row instead.
45
+ */
46
+ noWrap?: boolean;
43
47
  /**
44
48
  * A boolean value that specifies a selection must be made from the group before the form can be submitted.
45
49
  */
@@ -75,6 +79,7 @@ declare const __VLS_base: import("vue").DefineComponent<PSegmentedControlProps,
75
79
  hideLabel: BreakpointCustomizable<boolean>;
76
80
  message: string;
77
81
  columns: BreakpointCustomizable<SegmentedControlColumns>;
82
+ noWrap: boolean;
78
83
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
79
84
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
80
85
  declare const _default: typeof __VLS_export;
@@ -1,6 +1,6 @@
1
- import { defineComponent as p, ref as f, inject as c, onMounted as i, onUpdated as h, watch as g, createBlock as C, openBlock as y, resolveDynamicComponent as b, unref as v, withCtx as _, renderSlot as B } from "vue";
1
+ import { defineComponent as f, ref as m, inject as c, onMounted as i, onUpdated as h, watch as g, createBlock as C, openBlock as y, resolveDynamicComponent as b, unref as v, withCtx as B, renderSlot as _ } from "vue";
2
2
  import { usePrefix as k, themeInjectionKey as R, syncProperties as s, addEventListenerToElementRef as n } from "../../utils.mjs";
3
- const P = /* @__PURE__ */ p({
3
+ const P = /* @__PURE__ */ f({
4
4
  __name: "SegmentedControlWrapper",
5
5
  props: {
6
6
  backgroundColor: {},
@@ -13,26 +13,27 @@ const P = /* @__PURE__ */ p({
13
13
  label: { default: "" },
14
14
  message: { default: "" },
15
15
  name: {},
16
+ noWrap: { type: Boolean, default: !1 },
16
17
  required: { type: Boolean, default: !1 },
17
18
  state: { default: "none" },
18
19
  theme: {},
19
20
  value: {}
20
21
  },
21
22
  emits: ["update:value", "blur", "change", "segmentedControlChange", "update"],
22
- setup(d, { emit: u }) {
23
- const m = k("p-segmented-control"), a = d, e = f(), t = u, l = c(R), r = () => s(e, { ...a, theme: a.theme || l.value });
23
+ setup(d, { emit: p }) {
24
+ const u = k("p-segmented-control"), a = d, e = m(), t = p, l = c(R), r = () => s(e, { ...a, theme: a.theme || l.value });
24
25
  return i(() => {
25
26
  r(), n(e, "blur", t), n(e, "change", t, (o) => {
26
27
  t("update:value", o.target.value);
27
28
  }), n(e, "segmentedControlChange", t), n(e, "update", t);
28
29
  }), h(r), g(l, (o) => {
29
30
  s(e, { theme: a.theme || o });
30
- }), (o, j) => (y(), C(b(v(m)), {
31
+ }), (o, j) => (y(), C(b(v(u)), {
31
32
  ref_key: "pdsComponentRef",
32
33
  ref: e
33
34
  }, {
34
- default: _(() => [
35
- B(o.$slots, "default")
35
+ default: B(() => [
36
+ _(o.$slots, "default")
36
37
  ]),
37
38
  _: 3
38
39
  }, 512));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@porsche-design-system/components-vue",
3
- "version": "3.33.0",
3
+ "version": "3.34.0-rc.0",
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.33.0"
20
+ "@porsche-design-system/components-js": "3.34.0-rc.0"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "ag-grid-enterprise": ">= 35.0.0 <36.0.0",