@porsche-design-system/components-vue 3.0.0-alpha.5 → 3.0.0-alpha.6

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
@@ -9,24 +9,152 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
9
9
 
10
10
  ### [Unreleased]
11
11
 
12
+ ### [3.0.0-alpha.6] - 2023-04-06
13
+
14
+ #### Added
15
+
16
+ - `xxl` breakpoint for all breakpoint customizable component values
17
+ ([#2454](https://github.com/porsche-design-system/porsche-design-system/pull/2454))
18
+
19
+ #### Fixed
20
+
21
+ - Disabled color of `Icon` component ([#2446](https://github.com/porsche-design-system/porsche-design-system/pull/2446))
22
+ - Support of `Radio Button Wrapper` for name value with non-alphanumeric characters
23
+ ([#2443](https://github.com/porsche-design-system/porsche-design-system/pull/2443))
24
+
25
+ #### Changed
26
+
27
+ - `Banner` is a controlled component now and its visibility has to be controlled via the `open` prop
28
+ ([#2447](https://github.com/porsche-design-system/porsche-design-system/pull/2447))
29
+
30
+ ```diff
31
+ - <p-banner></p-banner>
32
+ + <p-banner open="true"></p-banner>
33
+ ```
34
+
35
+ - Renamed all custom `change` events to `update` because of bad event emissions with native `change` events, e.g. with
36
+ nested `select` or `input` elements
37
+
38
+ #### 🤖 Property deprecations 🤖
39
+
40
+ ##### Accordion:
41
+
42
+ - Event `accordionChange` is deprecated, use `update` event instead.
43
+
44
+ ```diff
45
+ - <PAccordion onAccordionChange={(e: CustomEvent<AccordionChangeEvent>) => {}} />
46
+ + <PAccordion onUpdate={(e: CustomEvent<AccordionUPdateEvent>) => {}} />
47
+ ```
48
+
49
+ ##### Banner:
50
+
51
+ - Prop `persistent` is deprecated, use `dismissButton` instead.
52
+
53
+ ```diff
54
+ - <p-banner persistent="true"></p-banner>
55
+ + <p-banner dismiss-button="false"></p-banner>
56
+ ```
57
+
58
+ ##### Carousel:
59
+
60
+ - Event `carouselChange` is deprecated, use `update` event instead.
61
+
62
+ ```diff
63
+ - <PCarousel onCarouselChange={(e: CustomEvent<CarouselChangeEvent>) => {}} />
64
+ + <PCarousel onUpdate={(e: CustomEvent<CarouselUpdateEvent>) => {}} />
65
+ ```
66
+
67
+ ##### Inline Notification:
68
+
69
+ - Prop `persistent` is deprecated, use `dismissButton` instead.
70
+
71
+ ```diff
72
+ - <p-inline-notification persistent="true"></p-inline-notification>
73
+ + <p-inline-notification dismiss-button="false"></p-inline-notification>
74
+ ```
75
+
76
+ ##### Pagination:
77
+
78
+ - Event `pageChange` is deprecated, use `update` event instead.
79
+
80
+ ```diff
81
+ - <PPagination onPageChange={(e: CustomEvent<PageChangeEvent>) => {}} />
82
+ + <PPagination onUpdate={(e: CustomEvent<PaginationUpdateEvent>) => {}} />
83
+ ```
84
+
85
+ #### Segmented Control:
86
+
87
+ - Event `segmentedControlChange` is deprecated, use `update` event instead.
88
+
89
+ ```diff
90
+ - <PSegmentedControl onSegmentedControlChange={(e: CustomEvent<SegmentedControlChangeEvent>) => {}} />
91
+ + <PSegmentedControl onUpdate={(e: CustomEvent<SegmentedControlUpdateEvent>) => {}} />
92
+ ```
93
+
94
+ #### Stepper Horizontal:
95
+
96
+ - Event `stepChange` is deprecated, use `update` event instead.
97
+
98
+ ```diff
99
+ - <PStepperHorizontal onStepChange={(e: CustomEvent<StepChangeEvent>) => {}} />
100
+ + <PStepperHorizontal onUpdate={(e: CustomEvent<StepperHorizontalUpdateEvent>) => {}} />
101
+ ```
102
+
103
+ #### Switch:
104
+
105
+ - Event `switchChange` is deprecated, use `update` event instead.
106
+
107
+ ```diff
108
+ - <PSwitch onSwitchChange={(e: CustomEvent<SwitchChangeEvent>) => {}} />
109
+ + <PSwitch onUpdate={(e: CustomEvent<SwitchUpdateEvent>) => {}} />
110
+ ```
111
+
112
+ #### Table:
113
+
114
+ - Event `sortingChange` is deprecated, use `update` event instead.
115
+
116
+ ```diff
117
+ - <PTable onSortingChange={(e: CustomEvent<SortingChangeEvent>) => {}} />
118
+ + <PTable onUpdate={(e: CustomEvent<TableUpdateEvent>) => {}} />
119
+ ```
120
+
121
+ ##### Tabs:
122
+
123
+ - Event `tabChange` is deprecated, use `update` event instead.
124
+
125
+ ```diff
126
+ - <PTabs onTabChange={(e: CustomEvent<TabChangeEvent>) => {}} />
127
+ + <PTabs onUpdate={(e: CustomEvent<TabsUpdateEvent>) => {}} />
128
+ ```
129
+
130
+ ##### Tabs Bar:
131
+
132
+ - Event `tabChange` is deprecated, use `update` event instead.
133
+
134
+ ```diff
135
+ - <PTabsBar onTabChange={(e: CustomEvent<TabChangeEvent>) => {}} />
136
+ + <PTabsBar onUpdate={(e: CustomEvent<TabsUpdateEvent>) => {}} />
137
+ ```
138
+
12
139
  ### [3.0.0-alpha.5] - 2023-03-30
13
140
 
14
141
  #### Added
15
142
 
16
- - `Wordmark` [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2418)
17
- - `Crest` [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2437)
143
+ - `Wordmark` ([#2418](https://github.com/porsche-design-system/porsche-design-system/pull/2418))
144
+ - `Crest` ([#2437](https://github.com/porsche-design-system/porsche-design-system/pull/2437))
18
145
  - Styles: changed color values of `theme[Light|Dark]ContrastMedium` and `theme[Light|Dark]Notification[*]` color tokens
19
- of `Styles` subpackage [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2436)
146
+ of `Styles` subpackage ([#2436](https://github.com/porsche-design-system/porsche-design-system/pull/2436))
20
147
 
21
148
  ### [3.0.0-alpha.4] - 2023-03-28
22
149
 
23
150
  #### Changed
24
151
 
25
- - `Table` matches new design language [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2364/)
152
+ - `Table` matches new design language
153
+ ([#2364](https://github.com/porsche-design-system/porsche-design-system/pull/2364/))
26
154
 
27
155
  #### Added
28
156
 
29
- - Styles: [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2422)
157
+ - Styles: ([#2422](https://github.com/porsche-design-system/porsche-design-system/pull/2422))
30
158
  - `gridWide`
31
159
  - `gridWideColumnStart` and `pds-grid-wide-column-start`
32
160
  - `gridWideColumnEnd` and `pds-grid-wide-column-end`
@@ -39,14 +167,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
39
167
  - `gridWideOffset`, `gridWideOffsetBase`, `gridWideOffsetS`, `gridWideOffsetXXL` and `$pds-grid-wide-offset-base`,
40
168
  `$pds-grid-wide-offset-s`, `$pds-grid-wide-offset-xxl`
41
169
  - `gridFullOffset` and `$pds-grid-full-offset`
42
- - `Button Tile` [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2381)
43
- - `Fieldset` [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2404)
44
- - `Link Tile Model Signature` [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2388)
45
- - Prop `activeSlideIndex` to `Carousel` [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2421)
170
+ - `Button Tile` ([#2381](https://github.com/porsche-design-system/porsche-design-system/pull/2381))
171
+ - `Fieldset` ([#2404](https://github.com/porsche-design-system/porsche-design-system/pull/2404))
172
+ - `Link Tile Model Signature` ([#2388](https://github.com/porsche-design-system/porsche-design-system/pull/2388))
173
+ - Prop `activeSlideIndex` to `Carousel`
174
+ ([#2421](https://github.com/porsche-design-system/porsche-design-system/pull/2421))
46
175
  - Prop `slidesPerPage` supports value `auto` of `Carousel`
47
- [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2421)
48
- - Prop `scrollbar` for `Scroller` [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2364/)
49
- - Prop `theme` for `Table` [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2364/)
176
+ ([#2421](https://github.com/porsche-design-system/porsche-design-system/pull/2421))
177
+ - Prop `scrollbar` for `Scroller` ([#2364](https://github.com/porsche-design-system/porsche-design-system/pull/2364/))
178
+ - Prop `theme` for `Table` ([#2364](https://github.com/porsche-design-system/porsche-design-system/pull/2364/))
50
179
 
51
180
  #### Fixed
52
181
 
@@ -55,37 +184,37 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
184
  #### Changed
56
185
 
57
186
  - Styles: `gridStyles` and `pds-grid` are supporting an additional column range called `wide`
58
- [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2422)
187
+ ([#2422](https://github.com/porsche-design-system/porsche-design-system/pull/2422))
59
188
  - Styles: SCSS version needs to be imported by `@porsche-design-system/components-js/styles` instead of
60
189
  `@porsche-design-system/components-js/styles/scss`
61
- [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2422)
190
+ ([#2422](https://github.com/porsche-design-system/porsche-design-system/pull/2422))
62
191
 
63
192
  #### Removed
64
193
 
65
194
  - `Banner`: CSS variable `--p-banner-position-type`
66
- [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2422)
195
+ ([#2422](https://github.com/porsche-design-system/porsche-design-system/pull/2422))
67
196
  - `gridSafeZone`, `gridSafeZoneBase`, `gridSafeZoneXXL` and `pds-grid-safe-zone-base`, `pds-grid-safe-zone-xxl`
68
- [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2422)
197
+ ([#2422](https://github.com/porsche-design-system/porsche-design-system/pull/2422))
69
198
  - `gridWidth`, `gridWidthMin`, `gridWidthMax` and `pds-grid-width-min`, `pds-grid-width-max`
70
- [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2422)
199
+ ([#2422](https://github.com/porsche-design-system/porsche-design-system/pull/2422))
71
200
 
72
201
  #### 🤖 Property deprecations 🤖
73
202
 
74
203
  ##### Banner:
75
204
 
76
205
  - Prop `width` has no effect anymore, instead the component is aligned with Porsche Grid "extended" by default.
77
- [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2422)
206
+ ([#2422](https://github.com/porsche-design-system/porsche-design-system/pull/2422))
78
207
 
79
208
  #### 🤡 Component deprecations 🤡
80
209
 
81
- ##### Marque [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2418)
210
+ ##### Marque: ([#2418](https://github.com/porsche-design-system/porsche-design-system/pull/2418))
82
211
 
83
212
  ```diff
84
213
  - <p-marque></p-marque>
85
214
  + <p-wordmark></p-wordmark>
86
215
  ```
87
216
 
88
- ##### Fieldset Wrapper: [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2404)
217
+ ##### Fieldset Wrapper: ([#2404](https://github.com/porsche-design-system/porsche-design-system/pull/2404))
89
218
 
90
219
  ```diff
91
220
  - <p-fieldset-wrapper label="Some legend label">
@@ -1,4 +1,4 @@
1
- import type { AccordionChangeEvent, BreakpointCustomizable, AccordionSize, AccordionTag, Theme } from '../types';
1
+ import type { AccordionUpdateEvent, BreakpointCustomizable, AccordionSize, AccordionTag, Theme } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * Displays the Accordion as compact version with thinner border and smaller paddings.
@@ -29,9 +29,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
29
29
  tag: string;
30
30
  theme: string;
31
31
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
32
- accordionChange: (value: AccordionChangeEvent) => void;
32
+ accordionChange: (value: AccordionUpdateEvent) => void;
33
33
  } & {
34
- change: (value: AccordionChangeEvent) => void;
34
+ update: (value: AccordionUpdateEvent) => void;
35
35
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
36
36
  /**
37
37
  * Displays the Accordion as compact version with thinner border and smaller paddings.
@@ -62,8 +62,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
62
62
  tag: string;
63
63
  theme: string;
64
64
  }>>> & {
65
- onChange?: ((value: AccordionChangeEvent) => any) | undefined;
66
- onAccordionChange?: ((value: AccordionChangeEvent) => any) | undefined;
65
+ onAccordionChange?: ((value: AccordionUpdateEvent) => any) | undefined;
66
+ onUpdate?: ((value: AccordionUpdateEvent) => any) | undefined;
67
67
  }, {
68
68
  size: BreakpointCustomizable<AccordionSize>;
69
69
  tag: AccordionTag;
@@ -1,4 +1,4 @@
1
- import { defineComponent as l, ref as d, onMounted as s, onUpdated as f, openBlock as m, createBlock as i, resolveDynamicComponent as u, unref as g, withCtx as h, renderSlot as C } from "vue";
1
+ import { defineComponent as l, ref as c, onMounted as s, onUpdated as f, openBlock as u, createBlock as m, resolveDynamicComponent as i, unref as g, withCtx as h, renderSlot as C } from "vue";
2
2
  import { getPrefixedTagName as _, syncProperties as t, addEventListenerToElementRef as a } from "../../utils.js";
3
3
  const k = /* @__PURE__ */ l({
4
4
  __name: "AccordionWrapper",
@@ -10,19 +10,19 @@ const k = /* @__PURE__ */ l({
10
10
  tag: { default: "h2" },
11
11
  theme: { default: "light" }
12
12
  },
13
- emits: ["accordionChange", "change"],
13
+ emits: ["accordionChange", "update"],
14
14
  setup(r, { emit: o }) {
15
- const n = r, p = _("p-accordion"), e = d();
15
+ const n = r, p = _("p-accordion"), e = c();
16
16
  return s(() => {
17
- t(e.value, n), a(e.value, "accordionChange", o), a(e.value, "change", o);
17
+ t(e.value, n), a(e.value, "accordionChange", o), a(e.value, "update", o);
18
18
  }), f(() => {
19
19
  t(e.value, n);
20
- }), (c, v) => (m(), i(u(g(p)), {
20
+ }), (d, v) => (u(), m(i(g(p)), {
21
21
  ref_key: "pdsComponentRef",
22
22
  ref: e
23
23
  }, {
24
24
  default: h(() => [
25
- C(c.$slots, "default")
25
+ C(d.$slots, "default")
26
26
  ]),
27
27
  _: 3
28
28
  }, 512));
@@ -1,15 +1,23 @@
1
- import type { BannerState, Theme, BannerWidth } from '../types';
1
+ import type { BannerState, Theme } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * Description of the banner.
5
5
  */
6
6
  description?: string | undefined;
7
+ /**
8
+ * If false, the banner will not have a dismiss button.
9
+ */
10
+ dismissButton?: boolean | undefined;
7
11
  /**
8
12
  * Heading of the banner.
9
13
  */
10
14
  heading?: string | undefined;
11
15
  /**
12
- * Defines if the banner can be closed/removed by the user.
16
+ * If true, the banner is open.
17
+ */
18
+ open: boolean;
19
+ /**
20
+ * @deprecated since v3.0.0, will be removed with next major release, use `dismissButton` instead. Defines if the banner can be closed/removed by the user.
13
21
  */
14
22
  persistent?: boolean | undefined;
15
23
  /**
@@ -27,11 +35,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
27
35
  width?: "extended" | "basic" | "fluid" | undefined;
28
36
  }>, {
29
37
  description: string;
38
+ dismissButton: boolean;
30
39
  heading: string;
31
- persistent: boolean;
40
+ open: boolean;
32
41
  state: string;
33
42
  theme: string;
34
- width: string;
35
43
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
36
44
  dismiss: (value?: void | undefined) => void;
37
45
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
@@ -39,12 +47,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
39
47
  * Description of the banner.
40
48
  */
41
49
  description?: string | undefined;
50
+ /**
51
+ * If false, the banner will not have a dismiss button.
52
+ */
53
+ dismissButton?: boolean | undefined;
42
54
  /**
43
55
  * Heading of the banner.
44
56
  */
45
57
  heading?: string | undefined;
46
58
  /**
47
- * Defines if the banner can be closed/removed by the user.
59
+ * If true, the banner is open.
60
+ */
61
+ open: boolean;
62
+ /**
63
+ * @deprecated since v3.0.0, will be removed with next major release, use `dismissButton` instead. Defines if the banner can be closed/removed by the user.
48
64
  */
49
65
  persistent?: boolean | undefined;
50
66
  /**
@@ -62,20 +78,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
62
78
  width?: "extended" | "basic" | "fluid" | undefined;
63
79
  }>, {
64
80
  description: string;
81
+ dismissButton: boolean;
65
82
  heading: string;
66
- persistent: boolean;
83
+ open: boolean;
67
84
  state: string;
68
85
  theme: string;
69
- width: string;
70
86
  }>>> & {
71
87
  onDismiss?: ((value?: void | undefined) => any) | undefined;
72
88
  }, {
73
89
  heading: string;
90
+ open: boolean;
74
91
  theme: Theme;
75
92
  description: string;
76
- persistent: boolean;
93
+ dismissButton: boolean;
77
94
  state: BannerState;
78
- width: BannerWidth;
79
95
  }>, {
80
96
  default: (_: {}) => any;
81
97
  }>;
@@ -1,33 +1,35 @@
1
- import { defineComponent as d, ref as p, onMounted as f, onUpdated as i, openBlock as l, createBlock as m, resolveDynamicComponent as u, unref as c, withCtx as _, renderSlot as h } from "vue";
2
- import { getPrefixedTagName as C, syncProperties as n, addEventListenerToElementRef as g } from "../../utils.js";
3
- const B = /* @__PURE__ */ d({
1
+ import { defineComponent as p, ref as d, onMounted as l, onUpdated as f, openBlock as i, createBlock as u, resolveDynamicComponent as m, unref as c, withCtx as B, renderSlot as _ } from "vue";
2
+ import { getPrefixedTagName as h, syncProperties as n, addEventListenerToElementRef as y } from "../../utils.js";
3
+ const k = /* @__PURE__ */ p({
4
4
  __name: "BannerWrapper",
5
5
  props: {
6
6
  description: { default: "" },
7
+ dismissButton: { type: Boolean, default: !0 },
7
8
  heading: { default: "" },
8
- persistent: { type: Boolean, default: !1 },
9
+ open: { type: Boolean, default: !1 },
10
+ persistent: { type: Boolean },
9
11
  state: { default: "info" },
10
12
  theme: { default: "light" },
11
- width: { default: "extended" }
13
+ width: null
12
14
  },
13
15
  emits: ["dismiss"],
14
16
  setup(o, { emit: a }) {
15
- const t = o, r = C("p-banner"), e = p();
16
- return f(() => {
17
- n(e.value, t), g(e.value, "dismiss", a);
18
- }), i(() => {
17
+ const t = o, s = h("p-banner"), e = d();
18
+ return l(() => {
19
+ n(e.value, t), y(e.value, "dismiss", a);
20
+ }), f(() => {
19
21
  n(e.value, t);
20
- }), (s, v) => (l(), m(u(c(r)), {
22
+ }), (r, C) => (i(), u(m(c(s)), {
21
23
  ref_key: "pdsComponentRef",
22
24
  ref: e
23
25
  }, {
24
- default: _(() => [
25
- h(s.$slots, "default")
26
+ default: B(() => [
27
+ _(r.$slots, "default")
26
28
  ]),
27
29
  _: 3
28
30
  }, 512));
29
31
  }
30
32
  });
31
33
  export {
32
- B as default
34
+ k as default
33
35
  };
@@ -1,4 +1,4 @@
1
- import type { CarouselAlignHeader, BreakpointCustomizable, CarouselChangeEvent, Theme, CarouselWidth } from '../types';
1
+ import type { CarouselAlignHeader, BreakpointCustomizable, CarouselUpdateEvent, Theme, CarouselWidth } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * Defines which slide to be active (zero-based numbering).
@@ -58,9 +58,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
58
58
  theme: string;
59
59
  width: string;
60
60
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
61
- carouselChange: (value: CarouselChangeEvent) => void;
61
+ carouselChange: (value: CarouselUpdateEvent) => void;
62
62
  } & {
63
- change: (value: CarouselChangeEvent) => void;
63
+ update: (value: CarouselUpdateEvent) => void;
64
64
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
65
65
  /**
66
66
  * Defines which slide to be active (zero-based numbering).
@@ -120,8 +120,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
120
120
  theme: string;
121
121
  width: string;
122
122
  }>>> & {
123
- onChange?: ((value: CarouselChangeEvent) => any) | undefined;
124
- onCarouselChange?: ((value: CarouselChangeEvent) => any) | undefined;
123
+ onUpdate?: ((value: CarouselUpdateEvent) => any) | undefined;
124
+ onCarouselChange?: ((value: CarouselUpdateEvent) => any) | undefined;
125
125
  }, {
126
126
  theme: Theme;
127
127
  width: CarouselWidth;
@@ -1,4 +1,4 @@
1
- import { defineComponent as u, ref as s, onMounted as i, onUpdated as p, openBlock as f, createBlock as c, resolveDynamicComponent as m, unref as g, withCtx as h, renderSlot as C } from "vue";
1
+ import { defineComponent as u, ref as p, onMounted as s, onUpdated as i, openBlock as f, createBlock as c, resolveDynamicComponent as m, unref as g, withCtx as C, renderSlot as h } from "vue";
2
2
  import { getPrefixedTagName as v, syncProperties as a, addEventListenerToElementRef as o } from "../../utils.js";
3
3
  const P = /* @__PURE__ */ u({
4
4
  __name: "CarouselWrapper",
@@ -16,19 +16,19 @@ const P = /* @__PURE__ */ u({
16
16
  width: { default: "basic" },
17
17
  wrapContent: { type: Boolean }
18
18
  },
19
- emits: ["carouselChange", "change"],
20
- setup(l, { emit: n }) {
21
- const t = l, r = v("p-carousel"), e = s();
22
- return i(() => {
23
- a(e.value, t), o(e.value, "carouselChange", n), o(e.value, "change", n);
24
- }), p(() => {
25
- a(e.value, t);
19
+ emits: ["carouselChange", "update"],
20
+ setup(l, { emit: t }) {
21
+ const n = l, r = v("p-carousel"), e = p();
22
+ return s(() => {
23
+ a(e.value, n), o(e.value, "carouselChange", t), o(e.value, "update", t);
24
+ }), i(() => {
25
+ a(e.value, n);
26
26
  }), (d, _) => (f(), c(m(g(r)), {
27
27
  ref_key: "pdsComponentRef",
28
28
  ref: e
29
29
  }, {
30
- default: h(() => [
31
- C(d.$slots, "default")
30
+ default: C(() => [
31
+ h(d.$slots, "default")
32
32
  ]),
33
33
  _: 3
34
34
  }, 512));
@@ -4,11 +4,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
4
4
  /**
5
5
  * The offset of the column. Can be between 0 and 11. Also defines the offset of the column for specific breakpoints, like {base: 6, l: 3}. You always need to provide a base value when doing this.
6
6
  */
7
- offset?: BreakpointCustomizable<0 | 3 | 4 | 6 | 5 | 2 | 7 | 1 | 8 | 9 | 10 | 11> | undefined;
7
+ offset?: BreakpointCustomizable<0 | 3 | 4 | 7 | 5 | 2 | 6 | 1 | 8 | 9 | 10 | 11> | undefined;
8
8
  /**
9
9
  * The size of the column. Can be between 1 and 12. Also defines the size of the column for specific breakpoints, like {base: 6, l: 3}. You always need to provide a base value when doing this.
10
10
  */
11
- size?: BreakpointCustomizable<3 | 4 | 6 | 5 | 2 | 7 | 1 | 12 | 8 | 9 | 10 | 11> | undefined;
11
+ size?: BreakpointCustomizable<3 | 4 | 7 | 5 | 2 | 6 | 1 | 12 | 8 | 9 | 10 | 11> | undefined;
12
12
  }>, {
13
13
  offset: number;
14
14
  size: number;
@@ -16,11 +16,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
16
16
  /**
17
17
  * The offset of the column. Can be between 0 and 11. Also defines the offset of the column for specific breakpoints, like {base: 6, l: 3}. You always need to provide a base value when doing this.
18
18
  */
19
- offset?: BreakpointCustomizable<0 | 3 | 4 | 6 | 5 | 2 | 7 | 1 | 8 | 9 | 10 | 11> | undefined;
19
+ offset?: BreakpointCustomizable<0 | 3 | 4 | 7 | 5 | 2 | 6 | 1 | 8 | 9 | 10 | 11> | undefined;
20
20
  /**
21
21
  * The size of the column. Can be between 1 and 12. Also defines the size of the column for specific breakpoints, like {base: 6, l: 3}. You always need to provide a base value when doing this.
22
22
  */
23
- size?: BreakpointCustomizable<3 | 4 | 6 | 5 | 2 | 7 | 1 | 12 | 8 | 9 | 10 | 11> | undefined;
23
+ size?: BreakpointCustomizable<3 | 4 | 7 | 5 | 2 | 6 | 1 | 12 | 8 | 9 | 10 | 11> | undefined;
24
24
  }>, {
25
25
  offset: number;
26
26
  size: number;
@@ -16,12 +16,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
16
16
  * Description of the inline-notification.
17
17
  */
18
18
  description?: string | undefined;
19
+ /**
20
+ * If false, the inline-notification will not have a dismiss button.
21
+ */
22
+ dismissButton?: boolean | undefined;
19
23
  /**
20
24
  * Heading of the inline-notification.
21
25
  */
22
26
  heading?: string | undefined;
23
27
  /**
24
- * Defines if the inline-notification can be closed/removed by the user.
28
+ * @deprecated since v3.0.0, will be removed with next major release, use `dismissButton` instead. Defines if the inline-notification can be closed/removed by the user.
25
29
  */
26
30
  persistent?: boolean | undefined;
27
31
  /**
@@ -36,8 +40,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
36
40
  actionIcon: string;
37
41
  actionLoading: boolean;
38
42
  description: string;
43
+ dismissButton: boolean;
39
44
  heading: string;
40
- persistent: boolean;
41
45
  state: string;
42
46
  theme: string;
43
47
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -61,12 +65,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
61
65
  * Description of the inline-notification.
62
66
  */
63
67
  description?: string | undefined;
68
+ /**
69
+ * If false, the inline-notification will not have a dismiss button.
70
+ */
71
+ dismissButton?: boolean | undefined;
64
72
  /**
65
73
  * Heading of the inline-notification.
66
74
  */
67
75
  heading?: string | undefined;
68
76
  /**
69
- * Defines if the inline-notification can be closed/removed by the user.
77
+ * @deprecated since v3.0.0, will be removed with next major release, use `dismissButton` instead. Defines if the inline-notification can be closed/removed by the user.
70
78
  */
71
79
  persistent?: boolean | undefined;
72
80
  /**
@@ -81,8 +89,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
81
89
  actionIcon: string;
82
90
  actionLoading: boolean;
83
91
  description: string;
92
+ dismissButton: boolean;
84
93
  heading: string;
85
- persistent: boolean;
86
94
  state: string;
87
95
  theme: string;
88
96
  }>>> & {
@@ -92,7 +100,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
92
100
  heading: string;
93
101
  theme: Theme;
94
102
  description: string;
95
- persistent: boolean;
103
+ dismissButton: boolean;
96
104
  state: InlineNotificationState;
97
105
  actionIcon: InlineNotificationActionIcon;
98
106
  actionLoading: boolean;
@@ -1,25 +1,26 @@
1
- import { defineComponent as s, ref as f, onMounted as d, onUpdated as p, openBlock as c, createBlock as u, resolveDynamicComponent as m, unref as g, withCtx as _, renderSlot as h } from "vue";
1
+ import { defineComponent as l, ref as d, onMounted as f, onUpdated as p, openBlock as u, createBlock as c, resolveDynamicComponent as m, unref as g, withCtx as _, renderSlot as h } from "vue";
2
2
  import { getPrefixedTagName as v, syncProperties as o, addEventListenerToElementRef as a } from "../../utils.js";
3
- const k = /* @__PURE__ */ s({
3
+ const k = /* @__PURE__ */ l({
4
4
  __name: "InlineNotificationWrapper",
5
5
  props: {
6
6
  actionIcon: { default: "arrow-right" },
7
7
  actionLabel: null,
8
8
  actionLoading: { type: Boolean, default: !1 },
9
9
  description: { default: "" },
10
+ dismissButton: { type: Boolean, default: !0 },
10
11
  heading: { default: "" },
11
- persistent: { type: Boolean, default: !1 },
12
+ persistent: { type: Boolean },
12
13
  state: { default: "info" },
13
14
  theme: { default: "light" }
14
15
  },
15
16
  emits: ["action", "dismiss"],
16
17
  setup(i, { emit: t }) {
17
- const n = i, l = v("p-inline-notification"), e = f();
18
- return d(() => {
18
+ const n = i, s = v("p-inline-notification"), e = d();
19
+ return f(() => {
19
20
  o(e.value, n), a(e.value, "action", t), a(e.value, "dismiss", t);
20
21
  }), p(() => {
21
22
  o(e.value, n);
22
- }), (r, C) => (c(), u(m(g(l)), {
23
+ }), (r, y) => (u(), c(m(g(s)), {
23
24
  ref_key: "pdsComponentRef",
24
25
  ref: e
25
26
  }, {
@@ -76,8 +76,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
76
76
  onClose?: ((value?: void | undefined) => any) | undefined;
77
77
  }, {
78
78
  open: boolean;
79
- disableBackdropClick: boolean;
80
79
  dismissButton: boolean;
80
+ disableBackdropClick: boolean;
81
81
  fullscreen: BreakpointCustomizable<boolean>;
82
82
  }>, {
83
83
  default: (_: {}) => any;
@@ -1,4 +1,4 @@
1
- import type { BreakpointCustomizable, PaginationMaxNumberOfPageLinks, PaginationChangeEvent, Theme } from '../types';
1
+ import type { BreakpointCustomizable, PaginationMaxNumberOfPageLinks, PaginationUpdateEvent, Theme } from '../types';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * Index of the currently active page.
@@ -31,7 +31,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
31
31
  /**
32
32
  * The maximum number of page links rendered
33
33
  */
34
- maxNumberOfPageLinks?: BreakpointCustomizable<5 | 7> | undefined;
34
+ maxNumberOfPageLinks?: BreakpointCustomizable<7 | 5> | undefined;
35
35
  /**
36
36
  * Adapts the color when used on dark background.
37
37
  */
@@ -56,9 +56,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
56
56
  theme: string;
57
57
  totalItemsCount: number;
58
58
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
59
- change: (value: PaginationChangeEvent) => void;
59
+ pageChange: (value: PaginationUpdateEvent) => void;
60
60
  } & {
61
- pageChange: (value: PaginationChangeEvent) => void;
61
+ update: (value: PaginationUpdateEvent) => void;
62
62
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
63
63
  /**
64
64
  * Index of the currently active page.
@@ -91,7 +91,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
91
91
  /**
92
92
  * The maximum number of page links rendered
93
93
  */
94
- maxNumberOfPageLinks?: BreakpointCustomizable<5 | 7> | undefined;
94
+ maxNumberOfPageLinks?: BreakpointCustomizable<7 | 5> | undefined;
95
95
  /**
96
96
  * Adapts the color when used on dark background.
97
97
  */
@@ -116,8 +116,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
116
116
  theme: string;
117
117
  totalItemsCount: number;
118
118
  }>>> & {
119
- onChange?: ((value: PaginationChangeEvent) => any) | undefined;
120
- onPageChange?: ((value: PaginationChangeEvent) => any) | undefined;
119
+ onUpdate?: ((value: PaginationUpdateEvent) => any) | undefined;
120
+ onPageChange?: ((value: PaginationUpdateEvent) => any) | undefined;
121
121
  }, {
122
122
  theme: Theme;
123
123
  intl: Partial<Record<"page" | "prev" | "next" | "root", string>>;
@@ -1,6 +1,6 @@
1
- import { defineComponent as p, ref as u, onMounted as s, onUpdated as g, openBlock as f, createBlock as i, resolveDynamicComponent as m, unref as c } from "vue";
2
- import { getPrefixedTagName as d, syncProperties as t, addEventListenerToElementRef as l } from "../../utils.js";
3
- const b = /* @__PURE__ */ p({
1
+ import { defineComponent as r, ref as u, onMounted as s, onUpdated as f, openBlock as i, createBlock as g, resolveDynamicComponent as m, unref as d } from "vue";
2
+ import { getPrefixedTagName as c, syncProperties as n, addEventListenerToElementRef as l } from "../../utils.js";
3
+ const b = /* @__PURE__ */ r({
4
4
  __name: "PaginationWrapper",
5
5
  props: {
6
6
  activePage: { default: 1 },
@@ -14,14 +14,14 @@ const b = /* @__PURE__ */ p({
14
14
  theme: { default: "light" },
15
15
  totalItemsCount: { default: 1 }
16
16
  },
17
- emits: ["change", "pageChange"],
17
+ emits: ["pageChange", "update"],
18
18
  setup(o, { emit: a }) {
19
- const n = o, r = d("p-pagination"), e = u();
19
+ const t = o, p = c("p-pagination"), e = u();
20
20
  return s(() => {
21
- t(e.value, n), l(e.value, "change", a), l(e.value, "pageChange", a);
22
- }), g(() => {
23
- t(e.value, n);
24
- }), (P, v) => (f(), i(m(c(r)), {
21
+ n(e.value, t), l(e.value, "pageChange", a), l(e.value, "update", a);
22
+ }), f(() => {
23
+ n(e.value, t);
24
+ }), (P, v) => (i(), g(m(d(p)), {
25
25
  ref_key: "pdsComponentRef",
26
26
  ref: e
27
27
  }, null, 512));
@@ -1,4 +1,4 @@
1
- import type { SegmentedControlChangeEvent, Theme } from '../types';
1
+ import type { SegmentedControlUpdateEvent, Theme } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * @deprecated since v3.0.0, will be removed with next major release. Background color variations
@@ -15,9 +15,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
15
15
  }>, {
16
16
  theme: string;
17
17
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
- change: (value: SegmentedControlChangeEvent) => void;
18
+ segmentedControlChange: (value: SegmentedControlUpdateEvent) => void;
19
19
  } & {
20
- segmentedControlChange: (value: SegmentedControlChangeEvent) => void;
20
+ update: (value: SegmentedControlUpdateEvent) => void;
21
21
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
22
22
  /**
23
23
  * @deprecated since v3.0.0, will be removed with next major release. Background color variations
@@ -34,8 +34,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
34
34
  }>, {
35
35
  theme: string;
36
36
  }>>> & {
37
- onChange?: ((value: SegmentedControlChangeEvent) => any) | undefined;
38
- onSegmentedControlChange?: ((value: SegmentedControlChangeEvent) => any) | undefined;
37
+ onUpdate?: ((value: SegmentedControlUpdateEvent) => any) | undefined;
38
+ onSegmentedControlChange?: ((value: SegmentedControlUpdateEvent) => any) | undefined;
39
39
  }, {
40
40
  theme: Theme;
41
41
  }>, {
@@ -1,25 +1,25 @@
1
- import { defineComponent as s, ref as d, onMounted as m, onUpdated as u, openBlock as c, createBlock as f, resolveDynamicComponent as g, unref as C, withCtx as i, renderSlot as h } from "vue";
2
- import { getPrefixedTagName as v, syncProperties as t, addEventListenerToElementRef as r } from "../../utils.js";
3
- const y = /* @__PURE__ */ s({
1
+ import { defineComponent as d, ref as s, onMounted as m, onUpdated as u, openBlock as f, createBlock as c, resolveDynamicComponent as C, unref as g, withCtx as i, renderSlot as v } from "vue";
2
+ import { getPrefixedTagName as _, syncProperties as t, addEventListenerToElementRef as r } from "../../utils.js";
3
+ const y = /* @__PURE__ */ d({
4
4
  __name: "SegmentedControlWrapper",
5
5
  props: {
6
6
  backgroundColor: null,
7
7
  theme: { default: "light" },
8
8
  value: null
9
9
  },
10
- emits: ["change", "segmentedControlChange"],
10
+ emits: ["segmentedControlChange", "update"],
11
11
  setup(a, { emit: n }) {
12
- const o = a, l = v("p-segmented-control"), e = d();
12
+ const o = a, l = _("p-segmented-control"), e = s();
13
13
  return m(() => {
14
- t(e.value, o), r(e.value, "change", n), r(e.value, "segmentedControlChange", n);
14
+ t(e.value, o), r(e.value, "segmentedControlChange", n), r(e.value, "update", n);
15
15
  }), u(() => {
16
16
  t(e.value, o);
17
- }), (p, _) => (c(), f(g(C(l)), {
17
+ }), (p, h) => (f(), c(C(g(l)), {
18
18
  ref_key: "pdsComponentRef",
19
19
  ref: e
20
20
  }, {
21
21
  default: i(() => [
22
- h(p.$slots, "default")
22
+ v(p.$slots, "default")
23
23
  ]),
24
24
  _: 3
25
25
  }, 512));
@@ -1,4 +1,4 @@
1
- import type { StepperHorizontalChangeEvent, BreakpointCustomizable, StepperHorizontalSize, Theme } from '../types';
1
+ import type { StepperHorizontalUpdateEvent, BreakpointCustomizable, StepperHorizontalSize, Theme } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  size?: BreakpointCustomizable<"small" | "medium"> | undefined;
4
4
  /**
@@ -9,9 +9,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
9
9
  size: string;
10
10
  theme: string;
11
11
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
- change: (value: StepperHorizontalChangeEvent) => void;
12
+ stepChange: (value: StepperHorizontalUpdateEvent) => void;
13
13
  } & {
14
- stepChange: (value: StepperHorizontalChangeEvent) => void;
14
+ update: (value: StepperHorizontalUpdateEvent) => void;
15
15
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
16
16
  size?: BreakpointCustomizable<"small" | "medium"> | undefined;
17
17
  /**
@@ -22,8 +22,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
22
22
  size: string;
23
23
  theme: string;
24
24
  }>>> & {
25
- onChange?: ((value: StepperHorizontalChangeEvent) => any) | undefined;
26
- onStepChange?: ((value: StepperHorizontalChangeEvent) => any) | undefined;
25
+ onUpdate?: ((value: StepperHorizontalUpdateEvent) => any) | undefined;
26
+ onStepChange?: ((value: StepperHorizontalUpdateEvent) => any) | undefined;
27
27
  }, {
28
28
  size: BreakpointCustomizable<StepperHorizontalSize>;
29
29
  theme: Theme;
@@ -1,24 +1,24 @@
1
- import { defineComponent as l, ref as f, onMounted as m, onUpdated as d, openBlock as c, createBlock as u, resolveDynamicComponent as i, unref as h, withCtx as g, renderSlot as C } from "vue";
2
- import { getPrefixedTagName as _, syncProperties as o, addEventListenerToElementRef as r } from "../../utils.js";
1
+ import { defineComponent as l, ref as d, onMounted as f, onUpdated as m, openBlock as u, createBlock as i, resolveDynamicComponent as c, unref as C, withCtx as h, renderSlot as _ } from "vue";
2
+ import { getPrefixedTagName as g, syncProperties as n, addEventListenerToElementRef as p } from "../../utils.js";
3
3
  const y = /* @__PURE__ */ l({
4
4
  __name: "StepperHorizontalWrapper",
5
5
  props: {
6
6
  size: { default: "small" },
7
7
  theme: { default: "light" }
8
8
  },
9
- emits: ["change", "stepChange"],
10
- setup(a, { emit: t }) {
11
- const n = a, p = _("p-stepper-horizontal"), e = f();
12
- return m(() => {
13
- o(e.value, n), r(e.value, "change", t), r(e.value, "stepChange", t);
14
- }), d(() => {
15
- o(e.value, n);
16
- }), (s, v) => (c(), u(i(h(p)), {
9
+ emits: ["stepChange", "update"],
10
+ setup(r, { emit: t }) {
11
+ const o = r, a = g("p-stepper-horizontal"), e = d();
12
+ return f(() => {
13
+ n(e.value, o), p(e.value, "stepChange", t), p(e.value, "update", t);
14
+ }), m(() => {
15
+ n(e.value, o);
16
+ }), (s, v) => (u(), i(c(C(a)), {
17
17
  ref_key: "pdsComponentRef",
18
18
  ref: e
19
19
  }, {
20
- default: g(() => [
21
- C(s.$slots, "default")
20
+ default: h(() => [
21
+ _(s.$slots, "default")
22
22
  ]),
23
23
  _: 3
24
24
  }, 512));
@@ -1,4 +1,4 @@
1
- import type { BreakpointCustomizable, SwitchAlignLabel, SwitchChangeEvent, Theme } from '../types';
1
+ import type { BreakpointCustomizable, SwitchAlignLabel, SwitchUpdateEvent, Theme } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * Aligns the label.
@@ -37,9 +37,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
37
37
  stretch: boolean;
38
38
  theme: string;
39
39
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
40
- change: (value: SwitchChangeEvent) => void;
40
+ switchChange: (value: SwitchUpdateEvent) => void;
41
41
  } & {
42
- switchChange: (value: SwitchChangeEvent) => void;
42
+ update: (value: SwitchUpdateEvent) => void;
43
43
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
44
44
  /**
45
45
  * Aligns the label.
@@ -78,8 +78,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
78
78
  stretch: boolean;
79
79
  theme: string;
80
80
  }>>> & {
81
- onChange?: ((value: SwitchChangeEvent) => any) | undefined;
82
- onSwitchChange?: ((value: SwitchChangeEvent) => any) | undefined;
81
+ onUpdate?: ((value: SwitchUpdateEvent) => any) | undefined;
82
+ onSwitchChange?: ((value: SwitchUpdateEvent) => any) | undefined;
83
83
  }, {
84
84
  stretch: BreakpointCustomizable<boolean>;
85
85
  theme: Theme;
@@ -1,6 +1,6 @@
1
- import { defineComponent as r, ref as d, onMounted as p, onUpdated as c, openBlock as i, createBlock as u, resolveDynamicComponent as h, unref as m, withCtx as g, renderSlot as C } from "vue";
2
- import { getPrefixedTagName as _, syncProperties as n, addEventListenerToElementRef as o } from "../../utils.js";
3
- const B = /* @__PURE__ */ r({
1
+ import { defineComponent as f, ref as r, onMounted as p, onUpdated as u, openBlock as c, createBlock as i, resolveDynamicComponent as m, unref as h, withCtx as g, renderSlot as C } from "vue";
2
+ import { getPrefixedTagName as _, syncProperties as o, addEventListenerToElementRef as n } from "../../utils.js";
3
+ const B = /* @__PURE__ */ f({
4
4
  __name: "SwitchWrapper",
5
5
  props: {
6
6
  alignLabel: { default: "right" },
@@ -11,19 +11,19 @@ const B = /* @__PURE__ */ r({
11
11
  stretch: { default: !1 },
12
12
  theme: { default: "light" }
13
13
  },
14
- emits: ["change", "switchChange"],
14
+ emits: ["switchChange", "update"],
15
15
  setup(l, { emit: t }) {
16
- const a = l, s = _("p-switch"), e = d();
16
+ const a = l, s = _("p-switch"), e = r();
17
17
  return p(() => {
18
- n(e.value, a), o(e.value, "change", t), o(e.value, "switchChange", t);
19
- }), c(() => {
20
- n(e.value, a);
21
- }), (f, v) => (i(), u(h(m(s)), {
18
+ o(e.value, a), n(e.value, "switchChange", t), n(e.value, "update", t);
19
+ }), u(() => {
20
+ o(e.value, a);
21
+ }), (d, v) => (c(), i(m(h(s)), {
22
22
  ref_key: "pdsComponentRef",
23
23
  ref: e
24
24
  }, {
25
25
  default: g(() => [
26
- C(f.$slots, "default")
26
+ C(d.$slots, "default")
27
27
  ]),
28
28
  _: 3
29
29
  }, 512));
@@ -11,9 +11,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
11
11
  }>, {
12
12
  theme: string;
13
13
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
- change: (value: import("../types").TableHeadCellSort) => void;
15
- } & {
16
14
  sortingChange: (value: import("../types").TableHeadCellSort) => void;
15
+ } & {
16
+ update: (value: import("../types").TableHeadCellSort) => void;
17
17
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
18
18
  /**
19
19
  * A caption describing the contents of the table for accessibility only. This won't be visible in the browser. Use an element with an attribute of `slot="caption"` for a visible caption.
@@ -26,7 +26,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
26
26
  }>, {
27
27
  theme: string;
28
28
  }>>> & {
29
- onChange?: ((value: import("../types").TableHeadCellSort) => any) | undefined;
29
+ onUpdate?: ((value: import("../types").TableHeadCellSort) => any) | undefined;
30
30
  onSortingChange?: ((value: import("../types").TableHeadCellSort) => any) | undefined;
31
31
  }, {
32
32
  theme: Theme;
@@ -1,24 +1,24 @@
1
- import { defineComponent as l, ref as f, onMounted as c, onUpdated as m, openBlock as d, createBlock as u, resolveDynamicComponent as i, unref as g, withCtx as h, renderSlot as C } from "vue";
2
- import { getPrefixedTagName as _, syncProperties as o, addEventListenerToElementRef as a } from "../../utils.js";
1
+ import { defineComponent as l, ref as d, onMounted as f, onUpdated as u, openBlock as m, createBlock as c, resolveDynamicComponent as i, unref as g, withCtx as C, renderSlot as _ } from "vue";
2
+ import { getPrefixedTagName as h, syncProperties as o, addEventListenerToElementRef as a } from "../../utils.js";
3
3
  const k = /* @__PURE__ */ l({
4
4
  __name: "TableWrapper",
5
5
  props: {
6
6
  caption: null,
7
7
  theme: { default: "light" }
8
8
  },
9
- emits: ["change", "sortingChange"],
10
- setup(r, { emit: n }) {
11
- const t = r, p = _("p-table"), e = f();
12
- return c(() => {
13
- o(e.value, t), a(e.value, "change", n), a(e.value, "sortingChange", n);
14
- }), m(() => {
15
- o(e.value, t);
16
- }), (s, v) => (d(), u(i(g(p)), {
9
+ emits: ["sortingChange", "update"],
10
+ setup(r, { emit: t }) {
11
+ const n = r, p = h("p-table"), e = d();
12
+ return f(() => {
13
+ o(e.value, n), a(e.value, "sortingChange", t), a(e.value, "update", t);
14
+ }), u(() => {
15
+ o(e.value, n);
16
+ }), (s, v) => (m(), c(i(g(p)), {
17
17
  ref_key: "pdsComponentRef",
18
18
  ref: e
19
19
  }, {
20
- default: h(() => [
21
- C(s.$slots, "default")
20
+ default: C(() => [
21
+ _(s.$slots, "default")
22
22
  ]),
23
23
  _: 3
24
24
  }, 512));
@@ -1,4 +1,4 @@
1
- import type { TabsBarGradientColor, TabsBarChangeEvent, BreakpointCustomizable, TabsBarSize, Theme, TabsBarWeight } from '../types';
1
+ import type { TabsBarGradientColor, TabsBarUpdateEvent, BreakpointCustomizable, TabsBarSize, Theme, TabsBarWeight } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * Defines which tab to be visualized as selected (zero-based numbering), undefined if none should be selected.
@@ -30,9 +30,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
30
30
  theme: string;
31
31
  weight: string;
32
32
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
33
- change: (value: TabsBarChangeEvent) => void;
33
+ tabChange: (value: TabsBarUpdateEvent) => void;
34
34
  } & {
35
- tabChange: (value: TabsBarChangeEvent) => void;
35
+ update: (value: TabsBarUpdateEvent) => void;
36
36
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
37
37
  /**
38
38
  * Defines which tab to be visualized as selected (zero-based numbering), undefined if none should be selected.
@@ -64,8 +64,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
64
64
  theme: string;
65
65
  weight: string;
66
66
  }>>> & {
67
- onChange?: ((value: TabsBarChangeEvent) => any) | undefined;
68
- onTabChange?: ((value: TabsBarChangeEvent) => any) | undefined;
67
+ onUpdate?: ((value: TabsBarUpdateEvent) => any) | undefined;
68
+ onTabChange?: ((value: TabsBarUpdateEvent) => any) | undefined;
69
69
  }, {
70
70
  weight: TabsBarWeight;
71
71
  size: BreakpointCustomizable<TabsBarSize>;
@@ -1,6 +1,6 @@
1
- import { defineComponent as d, ref as p, onMounted as u, onUpdated as f, openBlock as c, createBlock as m, resolveDynamicComponent as i, unref as g, withCtx as h, renderSlot as C } from "vue";
2
- import { getPrefixedTagName as b, syncProperties as n, addEventListenerToElementRef as o } from "../../utils.js";
3
- const k = /* @__PURE__ */ d({
1
+ import { defineComponent as p, ref as s, onMounted as u, onUpdated as f, openBlock as m, createBlock as c, resolveDynamicComponent as i, unref as g, withCtx as C, renderSlot as b } from "vue";
2
+ import { getPrefixedTagName as h, syncProperties as n, addEventListenerToElementRef as o } from "../../utils.js";
3
+ const k = /* @__PURE__ */ p({
4
4
  __name: "TabsBarWrapper",
5
5
  props: {
6
6
  activeTabIndex: null,
@@ -10,19 +10,19 @@ const k = /* @__PURE__ */ d({
10
10
  theme: { default: "light" },
11
11
  weight: { default: "regular" }
12
12
  },
13
- emits: ["change", "tabChange"],
13
+ emits: ["tabChange", "update"],
14
14
  setup(r, { emit: t }) {
15
- const a = r, l = b("p-tabs-bar"), e = p();
15
+ const a = r, l = h("p-tabs-bar"), e = s();
16
16
  return u(() => {
17
- n(e.value, a), o(e.value, "change", t), o(e.value, "tabChange", t);
17
+ n(e.value, a), o(e.value, "tabChange", t), o(e.value, "update", t);
18
18
  }), f(() => {
19
19
  n(e.value, a);
20
- }), (s, v) => (c(), m(i(g(l)), {
20
+ }), (d, v) => (m(), c(i(g(l)), {
21
21
  ref_key: "pdsComponentRef",
22
22
  ref: e
23
23
  }, {
24
- default: h(() => [
25
- C(s.$slots, "default")
24
+ default: C(() => [
25
+ b(d.$slots, "default")
26
26
  ]),
27
27
  _: 3
28
28
  }, 512));
@@ -31,9 +31,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
31
31
  theme: string;
32
32
  weight: string;
33
33
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
34
- change: (value: import("../types").TabsBarChangeEvent) => void;
34
+ tabChange: (value: import("../types").TabsBarUpdateEvent) => void;
35
35
  } & {
36
- tabChange: (value: import("../types").TabsBarChangeEvent) => void;
36
+ update: (value: import("../types").TabsBarUpdateEvent) => void;
37
37
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
38
38
  /**
39
39
  * Defines which tab to be visualized as selected (zero-based numbering).
@@ -66,8 +66,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
66
66
  theme: string;
67
67
  weight: string;
68
68
  }>>> & {
69
- onChange?: ((value: import("../types").TabsBarChangeEvent) => any) | undefined;
70
- onTabChange?: ((value: import("../types").TabsBarChangeEvent) => any) | undefined;
69
+ onUpdate?: ((value: import("../types").TabsBarUpdateEvent) => any) | undefined;
70
+ onTabChange?: ((value: import("../types").TabsBarUpdateEvent) => any) | undefined;
71
71
  }, {
72
72
  weight: TabsWeight;
73
73
  size: BreakpointCustomizable<TabsSize>;
@@ -1,6 +1,6 @@
1
- import { defineComponent as d, ref as p, onMounted as f, onUpdated as u, openBlock as c, createBlock as m, resolveDynamicComponent as i, unref as g, withCtx as h, renderSlot as C } from "vue";
2
- import { getPrefixedTagName as b, syncProperties as n, addEventListenerToElementRef as o } from "../../utils.js";
3
- const k = /* @__PURE__ */ d({
1
+ import { defineComponent as p, ref as s, onMounted as u, onUpdated as f, openBlock as m, createBlock as c, resolveDynamicComponent as i, unref as g, withCtx as C, renderSlot as b } from "vue";
2
+ import { getPrefixedTagName as h, syncProperties as n, addEventListenerToElementRef as o } from "../../utils.js";
3
+ const k = /* @__PURE__ */ p({
4
4
  __name: "TabsWrapper",
5
5
  props: {
6
6
  activeTabIndex: { default: 0 },
@@ -10,19 +10,19 @@ const k = /* @__PURE__ */ d({
10
10
  theme: { default: "light" },
11
11
  weight: { default: "regular" }
12
12
  },
13
- emits: ["change", "tabChange"],
13
+ emits: ["tabChange", "update"],
14
14
  setup(r, { emit: t }) {
15
- const a = r, l = b("p-tabs"), e = p();
16
- return f(() => {
17
- n(e.value, a), o(e.value, "change", t), o(e.value, "tabChange", t);
18
- }), u(() => {
15
+ const a = r, l = h("p-tabs"), e = s();
16
+ return u(() => {
17
+ n(e.value, a), o(e.value, "tabChange", t), o(e.value, "update", t);
18
+ }), f(() => {
19
19
  n(e.value, a);
20
- }), (s, v) => (c(), m(i(g(l)), {
20
+ }), (d, v) => (m(), c(i(g(l)), {
21
21
  ref_key: "pdsComponentRef",
22
22
  ref: e
23
23
  }, {
24
- default: h(() => [
25
- C(s.$slots, "default")
24
+ default: C(() => [
25
+ b(d.$slots, "default")
26
26
  ]),
27
27
  _: 3
28
28
  }, 512));
package/lib/types.d.ts CHANGED
@@ -194,17 +194,18 @@ declare const BUTTON_ARIA_ATTRIBUTES: readonly [
194
194
  "aria-haspopup"
195
195
  ];
196
196
  export declare type ButtonAriaAttribute = typeof BUTTON_ARIA_ATTRIBUTES[number];
197
- declare const BREAKPOINTS: readonly [
197
+ declare const breakpoints: readonly [
198
198
  "base",
199
199
  "xs",
200
200
  "s",
201
201
  "m",
202
202
  "l",
203
- "xl"
203
+ "xl",
204
+ "xxl"
204
205
  ];
205
- export declare type BreakpointKey = typeof BREAKPOINTS[number];
206
+ export type Breakpoint = (typeof breakpoints)[number];
206
207
  export declare type BreakpointValues<T> = {
207
- [key in BreakpointKey]?: T;
208
+ [key in Breakpoint]?: T;
208
209
  } & {
209
210
  base: T;
210
211
  };
@@ -529,8 +530,8 @@ declare const ACCORDION_SIZES: readonly [
529
530
  "small",
530
531
  "medium"
531
532
  ];
532
- export declare type AccordionSize = typeof ACCORDION_SIZES[number];
533
- export declare type AccordionChangeEvent = {
533
+ export declare type AccordionSize = (typeof ACCORDION_SIZES)[number];
534
+ export declare type AccordionUpdateEvent = {
534
535
  open: boolean;
535
536
  };
536
537
  export declare type AccordionTag = HeadingTag;
@@ -579,7 +580,7 @@ declare const CAROUSEL_ALIGN_HEADERS: readonly [
579
580
  ];
580
581
  export declare type CarouselAlignHeader = (typeof CAROUSEL_ALIGN_HEADERS)[number];
581
582
  export declare type CarouselInternationalization = Partial<Record<"prev" | "next" | "first" | "last" | "slideLabel" | "slide", string>>;
582
- export declare type CarouselChangeEvent = {
583
+ export declare type CarouselUpdateEvent = {
583
584
  activeIndex: number;
584
585
  previousIndex: number;
585
586
  };
@@ -937,8 +938,8 @@ declare const PAGINATION_NUMBER_OF_PAGE_LINKS: readonly [
937
938
  5,
938
939
  7
939
940
  ];
940
- export declare type PaginationMaxNumberOfPageLinks = typeof PAGINATION_NUMBER_OF_PAGE_LINKS[number];
941
- export declare type PaginationChangeEvent = {
941
+ export declare type PaginationMaxNumberOfPageLinks = (typeof PAGINATION_NUMBER_OF_PAGE_LINKS)[number];
942
+ export declare type PaginationUpdateEvent = {
942
943
  page: number;
943
944
  previousPage: number;
944
945
  };
@@ -959,8 +960,8 @@ declare const SEGMENTED_CONTROL_BACKGROUND_COLORS: readonly [
959
960
  "background-surface",
960
961
  "background-default"
961
962
  ];
962
- export declare type SegmentedControlBackgroundColor = typeof SEGMENTED_CONTROL_BACKGROUND_COLORS[number];
963
- export declare type SegmentedControlChangeEvent = {
963
+ export declare type SegmentedControlBackgroundColor = (typeof SEGMENTED_CONTROL_BACKGROUND_COLORS)[number];
964
+ export declare type SegmentedControlUpdateEvent = {
964
965
  value: string | number;
965
966
  };
966
967
  export declare type SegmentedControlItemIcon = LinkButtonIconName;
@@ -986,8 +987,8 @@ declare const STEPPER_HORIZONTAL_SIZES: readonly [
986
987
  "small",
987
988
  "medium"
988
989
  ];
989
- export declare type StepperHorizontalSize = typeof STEPPER_HORIZONTAL_SIZES[number];
990
- export declare type StepperHorizontalChangeEvent = {
990
+ export declare type StepperHorizontalSize = (typeof STEPPER_HORIZONTAL_SIZES)[number];
991
+ export declare type StepperHorizontalUpdateEvent = {
991
992
  activeStepIndex: number;
992
993
  };
993
994
  declare const STEPPER_ITEM_STATES: readonly [
@@ -997,7 +998,7 @@ declare const STEPPER_ITEM_STATES: readonly [
997
998
  ];
998
999
  export declare type StepperHorizontalItemState = typeof STEPPER_ITEM_STATES[number];
999
1000
  export declare type SwitchAlignLabel = AlignLabel;
1000
- export declare type SwitchChangeEvent = {
1001
+ export declare type SwitchUpdateEvent = {
1001
1002
  checked: boolean;
1002
1003
  };
1003
1004
  export declare type Direction = "asc" | "desc";
@@ -1006,19 +1007,19 @@ export declare type TableHeadCellSort = {
1006
1007
  active?: boolean;
1007
1008
  direction?: Direction;
1008
1009
  };
1009
- export declare type TableChangeEvent = TableHeadCellSort;
1010
+ export declare type TableUpdateEvent = TableHeadCellSort;
1010
1011
  declare const TABS_BAR_SIZES: readonly [
1011
1012
  "small",
1012
1013
  "medium"
1013
1014
  ];
1014
- export declare type TabsBarSize = typeof TABS_BAR_SIZES[number];
1015
+ export declare type TabsBarSize = (typeof TABS_BAR_SIZES)[number];
1015
1016
  declare const TABS_BAR_WEIGHTS: readonly [
1016
1017
  "regular",
1017
1018
  "semi-bold",
1018
1019
  "semibold"
1019
1020
  ];
1020
- export declare type TabsBarWeight = typeof TABS_BAR_WEIGHTS[number];
1021
- export declare type TabsBarChangeEvent = {
1021
+ export declare type TabsBarWeight = (typeof TABS_BAR_WEIGHTS)[number];
1022
+ export declare type TabsBarUpdateEvent = {
1022
1023
  activeTabIndex: number;
1023
1024
  };
1024
1025
  /** @deprecated */
@@ -1029,7 +1030,7 @@ export declare type TabsWeight = TabsBarWeight;
1029
1030
  /** @deprecated */
1030
1031
  export declare type TabsGradientColorScheme = TabsBarGradientColorScheme;
1031
1032
  export declare type TabsGradientColor = TabsBarGradientColor;
1032
- export declare type TabsChangeEvent = TabsBarChangeEvent;
1033
+ export declare type TabsUpdateEvent = TabsBarUpdateEvent;
1033
1034
  declare const TAG_DISMISSIBLE_COLORS: readonly [
1034
1035
  "background-base",
1035
1036
  "background-surface",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@porsche-design-system/components-vue",
3
- "version": "3.0.0-alpha.5",
3
+ "version": "3.0.0-alpha.6",
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.0.0-alpha.5"
20
+ "@porsche-design-system/components-js": "3.0.0-alpha.6"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "vue": ">=3.0.0 <4.0.0"