@porsche-design-system/components-vue 3.0.0-alpha.4 → 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.
Files changed (36) hide show
  1. package/CHANGELOG.md +161 -16
  2. package/lib/components/AccordionWrapper.vue.d.ts +5 -5
  3. package/lib/components/AccordionWrapper.vue.js +6 -6
  4. package/lib/components/BannerWrapper.vue.d.ts +25 -9
  5. package/lib/components/BannerWrapper.vue.js +15 -13
  6. package/lib/components/CarouselWrapper.vue.d.ts +5 -5
  7. package/lib/components/CarouselWrapper.vue.js +10 -10
  8. package/lib/components/CrestWrapper.vue.d.ts +49 -0
  9. package/lib/components/CrestWrapper.vue.js +24 -0
  10. package/lib/components/CrestWrapper.vue2.js +4 -0
  11. package/lib/components/GridItemWrapper.vue.d.ts +4 -4
  12. package/lib/components/InlineNotificationWrapper.vue.d.ts +13 -5
  13. package/lib/components/InlineNotificationWrapper.vue.js +7 -6
  14. package/lib/components/MarqueWrapper.vue.d.ts +1 -0
  15. package/lib/components/ModalWrapper.vue.d.ts +1 -1
  16. package/lib/components/PaginationWrapper.vue.d.ts +7 -7
  17. package/lib/components/PaginationWrapper.vue.js +9 -9
  18. package/lib/components/SegmentedControlWrapper.vue.d.ts +5 -5
  19. package/lib/components/SegmentedControlWrapper.vue.js +8 -8
  20. package/lib/components/StepperHorizontalWrapper.vue.d.ts +5 -5
  21. package/lib/components/StepperHorizontalWrapper.vue.js +12 -12
  22. package/lib/components/SwitchWrapper.vue.d.ts +5 -5
  23. package/lib/components/SwitchWrapper.vue.js +10 -10
  24. package/lib/components/TableWrapper.vue.d.ts +3 -3
  25. package/lib/components/TableWrapper.vue.js +12 -12
  26. package/lib/components/TabsBarWrapper.vue.d.ts +5 -5
  27. package/lib/components/TabsBarWrapper.vue.js +9 -9
  28. package/lib/components/TabsWrapper.vue.d.ts +4 -4
  29. package/lib/components/TabsWrapper.vue.js +11 -11
  30. package/lib/components/WordmarkWrapper.vue.d.ts +71 -0
  31. package/lib/components/WordmarkWrapper.vue.js +26 -0
  32. package/lib/components/WordmarkWrapper.vue2.js +4 -0
  33. package/lib/components/index.d.ts +2 -0
  34. package/lib/types.d.ts +35 -19
  35. package/package.json +2 -2
  36. package/public-api.js +109 -105
package/CHANGELOG.md CHANGED
@@ -9,15 +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
+
139
+ ### [3.0.0-alpha.5] - 2023-03-30
140
+
141
+ #### Added
142
+
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))
145
+ - Styles: changed color values of `theme[Light|Dark]ContrastMedium` and `theme[Light|Dark]Notification[*]` color tokens
146
+ of `Styles` subpackage ([#2436](https://github.com/porsche-design-system/porsche-design-system/pull/2436))
147
+
12
148
  ### [3.0.0-alpha.4] - 2023-03-28
13
149
 
14
150
  #### Changed
15
151
 
16
- - `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/))
17
154
 
18
155
  #### Added
19
156
 
20
- - 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))
21
158
  - `gridWide`
22
159
  - `gridWideColumnStart` and `pds-grid-wide-column-start`
23
160
  - `gridWideColumnEnd` and `pds-grid-wide-column-end`
@@ -30,14 +167,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
30
167
  - `gridWideOffset`, `gridWideOffsetBase`, `gridWideOffsetS`, `gridWideOffsetXXL` and `$pds-grid-wide-offset-base`,
31
168
  `$pds-grid-wide-offset-s`, `$pds-grid-wide-offset-xxl`
32
169
  - `gridFullOffset` and `$pds-grid-full-offset`
33
- - `Button Tile` [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2381)
34
- - `Fieldset` [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2404)
35
- - `Link Tile Model Signature` [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2388)
36
- - 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))
37
175
  - Prop `slidesPerPage` supports value `auto` of `Carousel`
38
- [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2421)
39
- - Prop `scrollbar` for `Scroller` [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2364/)
40
- - 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/))
41
179
 
42
180
  #### Fixed
43
181
 
@@ -46,30 +184,37 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
46
184
  #### Changed
47
185
 
48
186
  - Styles: `gridStyles` and `pds-grid` are supporting an additional column range called `wide`
49
- [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))
50
188
  - Styles: SCSS version needs to be imported by `@porsche-design-system/components-js/styles` instead of
51
189
  `@porsche-design-system/components-js/styles/scss`
52
- [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))
53
191
 
54
192
  #### Removed
55
193
 
56
194
  - `Banner`: CSS variable `--p-banner-position-type`
57
- [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))
58
196
  - `gridSafeZone`, `gridSafeZoneBase`, `gridSafeZoneXXL` and `pds-grid-safe-zone-base`, `pds-grid-safe-zone-xxl`
59
- [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))
60
198
  - `gridWidth`, `gridWidthMin`, `gridWidthMax` and `pds-grid-width-min`, `pds-grid-width-max`
61
- [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))
62
200
 
63
201
  #### 🤖 Property deprecations 🤖
64
202
 
65
203
  ##### Banner:
66
204
 
67
205
  - Prop `width` has no effect anymore, instead the component is aligned with Porsche Grid "extended" by default.
68
- [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))
69
207
 
70
208
  #### 🤡 Component deprecations 🤡
71
209
 
72
- ##### Fieldset Wrapper: [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2404)
210
+ ##### Marque: ([#2418](https://github.com/porsche-design-system/porsche-design-system/pull/2418))
211
+
212
+ ```diff
213
+ - <p-marque></p-marque>
214
+ + <p-wordmark></p-wordmark>
215
+ ```
216
+
217
+ ##### Fieldset Wrapper: ([#2404](https://github.com/porsche-design-system/porsche-design-system/pull/2404))
73
218
 
74
219
  ```diff
75
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));
@@ -0,0 +1,49 @@
1
+ import type { SelectedAriaAttributes, CrestTarget } from '../types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ /**
4
+ * Add ARIA attributes.
5
+ */
6
+ aria?: SelectedAriaAttributes<"aria-label"> | undefined;
7
+ /**
8
+ * When providing an url then the component will be rendered as `<a>`.
9
+ */
10
+ href?: string | undefined;
11
+ /**
12
+ * Target attribute where the link should be opened.
13
+ */
14
+ target?: string | undefined;
15
+ }>, {
16
+ target: string;
17
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
18
+ /**
19
+ * Add ARIA attributes.
20
+ */
21
+ aria?: SelectedAriaAttributes<"aria-label"> | undefined;
22
+ /**
23
+ * When providing an url then the component will be rendered as `<a>`.
24
+ */
25
+ href?: string | undefined;
26
+ /**
27
+ * Target attribute where the link should be opened.
28
+ */
29
+ target?: string | undefined;
30
+ }>, {
31
+ target: string;
32
+ }>>>, {
33
+ target: CrestTarget;
34
+ }>;
35
+ export default _default;
36
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
37
+ type __VLS_TypePropsToRuntimeProps<T> = {
38
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
39
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
40
+ } : {
41
+ type: import('vue').PropType<T[K]>;
42
+ required: true;
43
+ };
44
+ };
45
+ type __VLS_WithDefaults<P, D> = {
46
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
47
+ default: D[K];
48
+ } : P[K];
49
+ };
@@ -0,0 +1,24 @@
1
+ import { defineComponent as p, ref as a, onMounted as s, onUpdated as f, openBlock as c, createBlock as l, resolveDynamicComponent as m, unref as u } from "vue";
2
+ import { getPrefixedTagName as d, syncProperties as o } from "../../utils.js";
3
+ const k = /* @__PURE__ */ p({
4
+ __name: "CrestWrapper",
5
+ props: {
6
+ aria: null,
7
+ href: null,
8
+ target: { default: "_self" }
9
+ },
10
+ setup(r) {
11
+ const n = r, t = d("p-crest"), e = a();
12
+ return s(() => {
13
+ o(e.value, n);
14
+ }), f(() => {
15
+ o(e.value, n);
16
+ }), (i, _) => (c(), l(m(u(t)), {
17
+ ref_key: "pdsComponentRef",
18
+ ref: e
19
+ }, null, 512));
20
+ }
21
+ });
22
+ export {
23
+ k as default
24
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./CrestWrapper.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -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;