@porsche-design-system/components-vue 3.0.0-alpha.2 → 3.0.0-alpha.4

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 (72) hide show
  1. package/CHANGELOG.md +385 -0
  2. package/lib/components/AccordionWrapper.vue.d.ts +3 -0
  3. package/lib/components/AccordionWrapper.vue.js +13 -13
  4. package/lib/components/BannerWrapper.vue.d.ts +32 -2
  5. package/lib/components/BannerWrapper.vue.js +11 -9
  6. package/lib/components/ButtonPureWrapper.vue.d.ts +11 -11
  7. package/lib/components/ButtonTileWrapper.vue.d.ts +171 -0
  8. package/lib/components/ButtonTileWrapper.vue.js +40 -0
  9. package/lib/components/ButtonTileWrapper.vue2.js +4 -0
  10. package/lib/components/ButtonWrapper.vue.d.ts +5 -5
  11. package/lib/components/CarouselWrapper.vue.d.ts +32 -13
  12. package/lib/components/CarouselWrapper.vue.js +17 -15
  13. package/lib/components/CheckboxWrapperWrapper.vue.d.ts +2 -2
  14. package/lib/components/DisplayWrapper.vue.d.ts +4 -4
  15. package/lib/components/DividerWrapper.vue.d.ts +14 -6
  16. package/lib/components/DividerWrapper.vue.js +11 -10
  17. package/lib/components/FieldsetWrapper.vue.d.ts +95 -0
  18. package/lib/components/FieldsetWrapper.vue.js +32 -0
  19. package/lib/components/FieldsetWrapper.vue2.js +4 -0
  20. package/lib/components/FieldsetWrapperWrapper.vue.d.ts +4 -3
  21. package/lib/components/GridItemWrapper.vue.d.ts +4 -4
  22. package/lib/components/HeadingWrapper.vue.d.ts +4 -4
  23. package/lib/components/HeadlineWrapper.vue.d.ts +3 -3
  24. package/lib/components/IconWrapper.vue.d.ts +4 -4
  25. package/lib/components/InlineNotificationWrapper.vue.d.ts +3 -3
  26. package/lib/components/LinkPureWrapper.vue.d.ts +10 -10
  27. package/lib/components/LinkSocialWrapper.vue.d.ts +5 -5
  28. package/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +106 -0
  29. package/lib/components/LinkTileModelSignatureWrapper.vue.js +33 -0
  30. package/lib/components/LinkTileModelSignatureWrapper.vue2.js +4 -0
  31. package/lib/components/LinkTileWrapper.vue.d.ts +6 -6
  32. package/lib/components/LinkTileWrapper.vue.js +1 -1
  33. package/lib/components/LinkWrapper.vue.d.ts +4 -4
  34. package/lib/components/MarqueWrapper.vue.d.ts +2 -2
  35. package/lib/components/ModalWrapper.vue.d.ts +16 -5
  36. package/lib/components/ModalWrapper.vue.js +13 -12
  37. package/lib/components/ModelSignatureWrapper.vue.d.ts +4 -4
  38. package/lib/components/PaginationWrapper.vue.d.ts +36 -24
  39. package/lib/components/PaginationWrapper.vue.js +17 -16
  40. package/lib/components/PopoverWrapper.vue.d.ts +2 -2
  41. package/lib/components/RadioButtonWrapperWrapper.vue.d.ts +2 -2
  42. package/lib/components/ScrollerWrapper.vue.d.ts +38 -11
  43. package/lib/components/ScrollerWrapper.vue.js +16 -13
  44. package/lib/components/SegmentedControlItemWrapper.vue.d.ts +2 -2
  45. package/lib/components/SegmentedControlWrapper.vue.d.ts +5 -2
  46. package/lib/components/SegmentedControlWrapper.vue.js +12 -12
  47. package/lib/components/SelectWrapperWrapper.vue.d.ts +4 -4
  48. package/lib/components/StepperHorizontalWrapper.vue.d.ts +6 -3
  49. package/lib/components/StepperHorizontalWrapper.vue.js +13 -13
  50. package/lib/components/SwitchWrapper.vue.d.ts +6 -3
  51. package/lib/components/SwitchWrapper.vue.js +13 -13
  52. package/lib/components/TableWrapper.vue.d.ts +26 -3
  53. package/lib/components/TableWrapper.vue.js +14 -13
  54. package/lib/components/TabsBarWrapper.vue.d.ts +21 -10
  55. package/lib/components/TabsBarWrapper.vue.js +15 -14
  56. package/lib/components/TabsWrapper.vue.d.ts +21 -10
  57. package/lib/components/TabsWrapper.vue.js +15 -14
  58. package/lib/components/TagDismissibleWrapper.vue.d.ts +2 -2
  59. package/lib/components/TagWrapper.vue.d.ts +2 -2
  60. package/lib/components/TextFieldWrapperWrapper.vue.d.ts +16 -8
  61. package/lib/components/TextFieldWrapperWrapper.vue.js +7 -6
  62. package/lib/components/TextListWrapper.vue.d.ts +16 -11
  63. package/lib/components/TextListWrapper.vue.js +11 -10
  64. package/lib/components/TextWrapper.vue.d.ts +4 -4
  65. package/lib/components/TextareaWrapperWrapper.vue.d.ts +16 -8
  66. package/lib/components/TextareaWrapperWrapper.vue.js +12 -11
  67. package/lib/components/index.d.ts +3 -0
  68. package/lib/types.d.ts +164 -68
  69. package/package.json +2 -2
  70. package/public-api.js +117 -111
  71. package/styles/_index.scss +1 -0
  72. package/styles/scss.scss +0 -1
package/CHANGELOG.md CHANGED
@@ -9,6 +9,380 @@ 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.4] - 2023-03-28
13
+
14
+ #### Changed
15
+
16
+ - `Table` matches new design language [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2364/)
17
+
18
+ #### Added
19
+
20
+ - Styles: [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2422)
21
+ - `gridWide`
22
+ - `gridWideColumnStart` and `pds-grid-wide-column-start`
23
+ - `gridWideColumnEnd` and `pds-grid-wide-column-end`
24
+ - `gridNarrowOffset`, `gridNarrowOffsetBase`, `gridNarrowOffsetS`, `gridNarrowOffsetXXL` and
25
+ `$pds-grid-narrow-offset-base`, `$pds-grid-narrow-offset-s`, `$pds-grid-narrow-offset-xxl`
26
+ - `gridBasicOffset`, `gridBasicOffsetBase`, `gridBasicOffsetS`, `gridBasicOffsetXXL` and
27
+ `$pds-grid-basic-offset-base`, `$pds-grid-basic-offset-s`, `$pds-grid-basic-offset-xxl`
28
+ - `gridExtendedOffset`, `gridExtendedOffsetBase`, `gridExtendedOffsetS`, `gridExtendedOffsetXXL` and
29
+ `$pds-grid-extended-offset-base`, `$pds-grid-extended-offset-s`, `$pds-grid-extended-offset-xxl`
30
+ - `gridWideOffset`, `gridWideOffsetBase`, `gridWideOffsetS`, `gridWideOffsetXXL` and `$pds-grid-wide-offset-base`,
31
+ `$pds-grid-wide-offset-s`, `$pds-grid-wide-offset-xxl`
32
+ - `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)
37
+ - 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/)
41
+
42
+ #### Fixed
43
+
44
+ - React: missing animation of `Carousel` in certain scenarios
45
+
46
+ #### Changed
47
+
48
+ - 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)
50
+ - Styles: SCSS version needs to be imported by `@porsche-design-system/components-js/styles` instead of
51
+ `@porsche-design-system/components-js/styles/scss`
52
+ [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2422)
53
+
54
+ #### Removed
55
+
56
+ - `Banner`: CSS variable `--p-banner-position-type`
57
+ [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2422)
58
+ - `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)
60
+ - `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)
62
+
63
+ #### 🤖 Property deprecations 🤖
64
+
65
+ ##### Banner:
66
+
67
+ - 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)
69
+
70
+ #### 🤡 Component deprecations 🤡
71
+
72
+ ##### Fieldset Wrapper: [PR](https://github.com/porsche-design-system/porsche-design-system/pull/2404)
73
+
74
+ ```diff
75
+ - <p-fieldset-wrapper label="Some legend label">
76
+ + <p-fieldset label="Some legend label">
77
+ <p-text-field-wrapper label="Some label">
78
+ <input type="text" name="some-name" />
79
+ </p-text-field-wrapper>
80
+ - </p-fieldset-wrapper>
81
+ + </p-fieldset>
82
+ ```
83
+
84
+ ### [3.0.0-alpha.3] - 2023-03-17
85
+
86
+ #### 🤖 Property deprecations 🤖
87
+
88
+ ##### Accordion:
89
+
90
+ - Event `accordionChange` is deprecated, use `change` event instead.
91
+
92
+ ```diff
93
+ - <PAccordion onAccordionChange={(e: CustomEvent<AccordionChangeEvent>) => {}} />
94
+ + <PAccordion onChange={(e: CustomEvent<AccordionChangeEvent>) => {}} />
95
+ ```
96
+
97
+ #### Banner:
98
+
99
+ - Named `slot="title"` is deprecated, use `heading` prop or `slot="heading"` instead.
100
+
101
+ ```diff
102
+ <p-banner>
103
+ - <span slot="title">Some heading</span>
104
+ + <span slot="heading">Some heading</span>
105
+ <span slot="description">Some notification description.</span>
106
+ </p-banner>
107
+
108
+ -<p-banner>
109
+ +<p-banner heading="Some heading" description="Some notification description.">
110
+ - <span slot="title">Some heading</span>
111
+ - <span slot="description">Some notification description.</span>
112
+ </p-banner>
113
+ ```
114
+
115
+ ##### Carousel:
116
+
117
+ - Prop `disablePagination` is deprecated, use `pagination` instead.
118
+ - Event `carouselChange` is deprecated, use `change` event instead.
119
+
120
+ ```diff
121
+ - <p-carousel disable-pagination="true"></p-carousel>
122
+ + <p-carousel pagination="false"></p-carousel>
123
+
124
+ - <PCarousel onCarouselChange={(e: CustomEvent<CarouselChangeEvent>) => {}} />
125
+ + <PCarousel onChange={(e: CustomEvent<CarouselChangeEvent>) => {}} />
126
+ ```
127
+
128
+ ##### Divider:
129
+
130
+ - Prop `orientation` is deprecated, use `direction` instead.
131
+
132
+ ```diff
133
+ - <p-divider orientation="horizontal"></p-divider>
134
+ + <p-divider direction="horizontal"></p-divider>
135
+ ```
136
+
137
+ ##### Icon:
138
+
139
+ - Prop `colors`'s value `disabled` is removed, use `state-disabled` instead.
140
+
141
+ ```diff
142
+ - <p-icon color="disabled"></p-icon>
143
+ + <p-icon color="state-disabled"></p-icon>
144
+ ```
145
+
146
+ ##### Link Tile:
147
+
148
+ - Prop `weight`'s value `semibold` is deprecated, use `semi-bold` instead.
149
+
150
+ ```diff
151
+ - <p-link-tile weight="semibold"></p-link-tile>
152
+ + <p-link-tile weight="semi-bold"></p-link-tile>
153
+ ```
154
+
155
+ #### Modal:
156
+
157
+ - Prop `disableCloseButton` is deprecated, use `dismissButton` instead.
158
+ - Event `close` is deprecated, use `dismiss` event instead.
159
+
160
+ ```diff
161
+ - <p-modal disable-close-button="true"></p-modal>
162
+ + <p-modal dismiss-button="false"></p-modal>
163
+
164
+ - <PModal onClose={(e: CustomEvent<void>) => {}} />
165
+ + <PModal onDismiss={(e: CustomEvent<void>) => {}} />
166
+ ```
167
+
168
+ ##### Pagination:
169
+
170
+ - Props `allyLabelNext`, `allyLabelPage`, `allyLabelPrev` and `allyLabel` are deprecated.
171
+ - Event `pageChange` is deprecated, use `change` event instead.
172
+
173
+ ```diff
174
+ - <p-pagination ally-label="Paginierung" ally-label-prev="Vorherige Seite" ally-label-next="Nächste Seite" ally-label-page="Seite"></p-pagination>
175
+ + <p-pagination intl="{root: 'Paginierung', prev: 'Vorherige Seite', next: 'Nächste Seite', page: 'Seite'}"></p-pagination>
176
+
177
+ - <PPagination onPageChange={(e: CustomEvent<PageChangeEvent>) => {}} />
178
+ + <PPagination onChange={(e: CustomEvent<PaginationChangeEvent>) => {}} />
179
+ ```
180
+
181
+ ##### Scroller:
182
+
183
+ - Prop `gradientColorScheme` is deprecated, use `gradientColor` instead.
184
+ - Prop `scrollIndicatorPosition` is deprecated, use `alignScrollIndicator` instead.
185
+
186
+ ```diff
187
+ - <p-scroller gradient-color-scheme="surface"></p-scroller>
188
+ + <p-scroller gradient-color="background-surface"></p-scroller>
189
+
190
+ - <p-scroller scroll-indicator-position="top"></p-scroller>
191
+ + <p-scroller align-scroll-indicator="top"></p-scroller>
192
+ ```
193
+
194
+ #### Segmented Control:
195
+
196
+ - Event `segmentedControlChange` is deprecated, use `change` event instead.
197
+
198
+ ```diff
199
+ - <PSegmentedControl onSegmentedControlChange={(e: CustomEvent<SegmentedControlChangeEvent>) => {}} />
200
+ + <PSegmentedControl onChange={(e: CustomEvent<SegmentedControlChangeEvent>) => {}} />
201
+ ```
202
+
203
+ #### Stepper Horizontal:
204
+
205
+ - Event `stepChange` is deprecated, use `change` event instead.
206
+
207
+ ```diff
208
+ - <PStepperHorizontal onStepChange={(e: CustomEvent<StepChangeEvent>) => {}} />
209
+ + <PStepperHorizontal onChange={(e: CustomEvent<StepperHorizontalChangeEvent>) => {}} />
210
+ ```
211
+
212
+ #### Switch:
213
+
214
+ - Event `switchChange` is deprecated, use `change` event instead.
215
+
216
+ ```diff
217
+ - <PSwitch onSwitchChange={(e: CustomEvent<SwitchChangeEvent>) => {}} />
218
+ + <PSwitch onChange={(e: CustomEvent<SwitchChangeEvent>) => {}} />
219
+ ```
220
+
221
+ #### Table:
222
+
223
+ - Event `sortingChange` is deprecated, use `change` event instead.
224
+
225
+ ```diff
226
+ - <PTable onSortingChange={(e: CustomEvent<SortingChangeEvent>) => {}} />
227
+ + <PTable onChange={(e: CustomEvent<TableChangeEvent>) => {}} />
228
+ ```
229
+
230
+ ##### Tabs:
231
+
232
+ - Prop `gradientColorScheme` is deprecated, use `gradientColor` instead.
233
+ - Prop `weight`'s value `semibold` is deprecated, use `semi-bold` instead.
234
+ - Event `tabChange` is deprecated, use `change` event instead.
235
+
236
+ ```diff
237
+ - <p-tabs gradient-color-scheme="surface"></p-tabs>
238
+ + <p-tabs gradient-color="background-surface"></p-tabs>
239
+
240
+ - <p-tabs weight="semibold"></p-tabs>
241
+ + <p-tabs weight="semi-bold"></p-tabs>
242
+
243
+ - <PTabs onTabChange={(e: CustomEvent<TabChangeEvent>) => {}} />
244
+ + <PTabs onChange={(e: CustomEvent<TabsChangeEvent>) => {}} />
245
+ ```
246
+
247
+ ##### Tabs Bar:
248
+
249
+ - Prop `gradientColorScheme` is deprecated, use `gradientColor` instead.
250
+ - Prop `weight`'s value `semibold` is deprecated, use `semi-bold` instead.
251
+ - Event `tabChange` is deprecated, use `change` event instead.
252
+
253
+ ```diff
254
+ - <p-tabs-bar gradient-color-scheme="surface"></p-tabs-bar>
255
+ + <p-tabs-bar gradient-color="background-surface"></p-tabs-bar>
256
+
257
+ - <p-tabs-bar weight="semibold"></p-tabs>
258
+ + <p-tabs-bar weight="semi-bold"></p-tabs>
259
+
260
+ - <PTabsBar onTabChange={(e: CustomEvent<TabChangeEvent>) => {}} />
261
+ + <PTabsBar onChange={(e: CustomEvent<TabsChangeEvent>) => {}} />
262
+ ```
263
+
264
+ ##### Tag:
265
+
266
+ - Prop `color`'s value `notification-warning`, `notification-success` and `notification-error` are deprecated, use
267
+ `notification-warning-soft`, `notification-success-soft` and `notification-error-soft` instead.
268
+
269
+ ```diff
270
+ - <p-tag color="notification-warning"></p-tag>
271
+ + <p-tag color="notification-warning-soft"></p-tag>
272
+
273
+ - <p-tag color="notification-success"></p-tag>
274
+ + <p-tag color="notification-success-soft"></p-tag>
275
+
276
+ - <p-tag color="notification-error"></p-tag>
277
+ + <p-tag color="notification-error-soft"></p-tag>
278
+ ```
279
+
280
+ ##### Text Field Wrapper:
281
+
282
+ - Prop `showCharacterCount` is deprecated, use `showCounter` instead.
283
+
284
+ ```diff
285
+ -<p-text-field-wrapper show-character-count="false">
286
+ +<p-text-field-wrapper show-counter="false">
287
+ <input type="text" maxlength="20" />
288
+ </p-text-field-wrapper>
289
+ ```
290
+
291
+ ##### Textarea Wrapper:
292
+
293
+ - Prop `showCharacterCount` is deprecated, use `showCounter` instead.
294
+
295
+ ```diff
296
+ -<p-textarea-wrapper show-character-count="false">
297
+ +<p-textarea-wrapper show-counter="false">
298
+ <textarea maxlength="80"></textarea>
299
+ </p-textarea-wrapper>
300
+ ```
301
+
302
+ ##### Text List
303
+
304
+ - Props `listType` and `orderType` are deprecated, use `type` instead.
305
+
306
+ ```diff
307
+ - <p-text-list list-type="unordered"></p-text-list>
308
+ + <p-text-list type="unordered"></p-text-list>
309
+
310
+ - <p-text-list list-type="ordered" order-type="numbered"></p-text-list>
311
+ + <p-text-list type="numbered"></p-text-list>
312
+
313
+ - <p-text-list list-type="ordered" order-type="alphabetically"></p-text-list>
314
+ + <p-text-list type="alphabetically"></p-text-list>
315
+ ```
316
+
317
+ #### Added
318
+
319
+ - `Text`, `Icon`, `Button Pure` and `Link Pure` support value `xx-small` for prop `size`
320
+ - `Display` supports value `small` for prop `size`
321
+ - Partials: `getInitialStyles` supports multi prefix, e.g.
322
+ `getInitialStyles({ prefix: ['', 'some-prefix', 'another-prefix'] });`
323
+ - Styles: `displaySmallStyle` and `pds-display-small`
324
+ - Styles: `textXXSmallStyle` and `pds-text-xx-small`
325
+ - Styles: `fontSizeDisplaySmall` and `$pds-font-size-display-small`
326
+ - Styles: `fontSizeTextXXSmall` and `$pds-font-size-text-xx-small`
327
+ - Styles: `getHoverStyle` and `pds-hover`
328
+ - `Banner` has `heading` and `description` prop as well as `slot="heading"` and deprecated `slot="title"`
329
+ - Custom events have consistent names across components and deprecated old event names
330
+ - `Accordion` emits `change` and deprecated `accordionChange` event
331
+ - `Carousel` emits `change` and deprecated `carouselChange` event
332
+ - `Modal` emits `dismiss` and deprecated `close` event
333
+ - `Pagination` emits `change` and deprecated `pageChange` event
334
+ - `Segmented Control` emits `change` and deprecated `segmentedControlChange` event
335
+ - `Stepper Horizontal` emits `change` and deprecated `stepChange` event
336
+ - `Switch` emits `change`and deprecated `switchChange` event
337
+ - `Table` emits `change`and deprecated `sortingChange` event
338
+ - `Tabs` emits `change`and deprecated `tabChange` event
339
+ - `Tabs Bar` emits `change`and deprecated `tabChange` event
340
+ - Props have consistent names across components and deprecated old props
341
+ - `Carousel` got `pagination` prop and deprecated `disablePagination` prop
342
+ - `Divider` got `direction` prop and deprecated `orientation` prop
343
+ - `Modal` got `dismissButton` prop and deprecated `disableCloseButton` prop
344
+ - `Pagination` got `intl` prop and deprecated `allyLabelNext`, `allyLabelPage`, `allyLabelPrev` and `allyLabel` props
345
+ - `Scroller` got `gradientColor` prop and deprecated `gradientColorScheme` prop
346
+ - `Scroller` got `alignScrollIndicator` prop and deprecated `scrollIndicatorPosition` prop
347
+ - `Tabs` got `gradientColor` prop and deprecated `gradientColorScheme` prop
348
+ - `Tabs Bar` got `gradientColor` prop and deprecated `gradientColorScheme` prop
349
+ - `Text Field Wrapper` got `showCounter` prop and deprecated `showCharacterCount` prop
350
+ - `Textarea Wrapper` got `showCounter` prop and deprecated `showCharacterCount` prop
351
+ - `Text List` got `type` prop and deprecated `listType` and `orderType` prop
352
+ - Props have consistent values across components and deprecated old values
353
+ - `Icon` prop `color` got value `state-disabled` and removed `disabled` value
354
+ - `Link Tile` prop `weight` got value `semi-bold` and deprecated `semibold` value
355
+ - `Tabs Bar` and `Tabs` prop `weight` got value `semi-bold` and deprecated `semibold` value
356
+ - `Tag` prop `color` got values `notification-info-soft`, `notification-warning-soft`, `notification-success-soft`,
357
+ `notification-error-soft` and deprecated `notification-warning`, `notification-success`, `notification-error` values
358
+
359
+ #### Changed
360
+
361
+ - `Display` uses font-weight regular and font-style normal
362
+ - Partials: `getInitialStyles` matches new design language
363
+ - Partials: All component related, slotted Light DOM styles have been moved to `getInitialStyles`
364
+ - Styles: `getFocusStyle` and `pds-focus` doesn't need `theme` parameter anymore
365
+ - Styles: `breakpoint{Base|XS|S|M|L|XL|XXL}` and `$pds-breakpoint-{base|xs|s|m|l|xl|xxl}` are provided as number without
366
+ unit (px)
367
+ - `Link Tile` matches new design language
368
+ - Typings for all component props start with the component name, e.g. `SwitchAlignLabel`, `TabsBarGradientColor` or
369
+ `LinkPureIcon`
370
+ - `Icon` prop `color` value `disabled` is renamed to `state-disabled`
371
+ - `Tag` prop `color` value `notification-info` is renamed to `notification-info-soft`
372
+
373
+ #### Fixed
374
+
375
+ - `Text Field Wrapper` calendar and time indicator icons respect color definition in dark theme
376
+ - `Text Field Wrapper` has correct height when type date or time is used
377
+ - Partials: Typings of return value with and without options parameter
378
+ - `Modal` scrolling behavior on mouse drag
379
+
380
+ #### Removed
381
+
382
+ - `Heading`: value `xxx-large` for prop `size`
383
+ - Styles: `headingXXXLargeStyle` and `pds-heading-xxx-large`
384
+ - Styles: `fontSizeHeadingXXLarge` and `$pds-font-size-heading-xx-large`
385
+
12
386
  ### [3.0.0-alpha.2] - 2023-02-27
13
387
 
14
388
  #### 🤖 Property deprecations 🤖
@@ -162,6 +536,17 @@ possible. Nevertheless, there are a few breaking changes and some more deprecati
162
536
  </p-link-pure>
163
537
  ```
164
538
 
539
+ ##### Marque:
540
+
541
+ - Removed `variant` property.
542
+
543
+ ```diff
544
+ - <p-marque variant="75-years"></p-marque>
545
+ + <p-marque></p-marque>
546
+ // or even better, replace component by wordmark
547
+ + <p-wordmark></p-wordmark>
548
+ ```
549
+
165
550
  ##### Switch:
166
551
 
167
552
  - Removed deprecated prop `tabbable`.
@@ -30,6 +30,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
30
30
  theme: string;
31
31
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
32
32
  accordionChange: (value: AccordionChangeEvent) => void;
33
+ } & {
34
+ change: (value: AccordionChangeEvent) => void;
33
35
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
34
36
  /**
35
37
  * Displays the Accordion as compact version with thinner border and smaller paddings.
@@ -60,6 +62,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
60
62
  tag: string;
61
63
  theme: string;
62
64
  }>>> & {
65
+ onChange?: ((value: AccordionChangeEvent) => any) | undefined;
63
66
  onAccordionChange?: ((value: AccordionChangeEvent) => any) | undefined;
64
67
  }, {
65
68
  size: BreakpointCustomizable<AccordionSize>;
@@ -1,6 +1,6 @@
1
- import { defineComponent as c, ref as l, onMounted as d, onUpdated as s, openBlock as f, createBlock as m, resolveDynamicComponent as i, unref as u, withCtx as g, renderSlot as h } from "vue";
2
- import { getPrefixedTagName as C, syncProperties as n, addEventListenerToElementRef as _ } from "../../utils.js";
3
- const k = /* @__PURE__ */ c({
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";
2
+ import { getPrefixedTagName as _, syncProperties as t, addEventListenerToElementRef as a } from "../../utils.js";
3
+ const k = /* @__PURE__ */ l({
4
4
  __name: "AccordionWrapper",
5
5
  props: {
6
6
  compact: { type: Boolean },
@@ -10,19 +10,19 @@ const k = /* @__PURE__ */ c({
10
10
  tag: { default: "h2" },
11
11
  theme: { default: "light" }
12
12
  },
13
- emits: ["accordionChange"],
14
- setup(t, { emit: a }) {
15
- const o = t, r = C("p-accordion"), e = l();
16
- return d(() => {
17
- n(e.value, o), _(e.value, "accordionChange", a);
18
- }), s(() => {
19
- n(e.value, o);
20
- }), (p, v) => (f(), m(i(u(r)), {
13
+ emits: ["accordionChange", "change"],
14
+ setup(r, { emit: o }) {
15
+ const n = r, p = _("p-accordion"), e = d();
16
+ return s(() => {
17
+ t(e.value, n), a(e.value, "accordionChange", o), a(e.value, "change", o);
18
+ }), f(() => {
19
+ t(e.value, n);
20
+ }), (c, v) => (m(), i(u(g(p)), {
21
21
  ref_key: "pdsComponentRef",
22
22
  ref: e
23
23
  }, {
24
- default: g(() => [
25
- h(p.$slots, "default")
24
+ default: h(() => [
25
+ C(c.$slots, "default")
26
26
  ]),
27
27
  _: 3
28
28
  }, 512));
@@ -1,5 +1,16 @@
1
1
  import type { BannerState, Theme, BannerWidth } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ /**
4
+ * Description of the banner.
5
+ */
6
+ description?: string | undefined;
7
+ /**
8
+ * Heading of the banner.
9
+ */
10
+ heading?: string | undefined;
11
+ /**
12
+ * Defines if the banner can be closed/removed by the user.
13
+ */
3
14
  persistent?: boolean | undefined;
4
15
  /**
5
16
  * State of the banner.
@@ -10,10 +21,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
10
21
  */
11
22
  theme?: "light" | "dark" | undefined;
12
23
  /**
13
- * Defines the width of the banner corresponding to the `content-wrapper` dimensions
24
+ * Has no effect anymore
25
+ * @deprecated since v3.0.0, will be removed with next major release
14
26
  */
15
27
  width?: "extended" | "basic" | "fluid" | undefined;
16
28
  }>, {
29
+ description: string;
30
+ heading: string;
17
31
  persistent: boolean;
18
32
  state: string;
19
33
  theme: string;
@@ -21,6 +35,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
21
35
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
36
  dismiss: (value?: void | undefined) => void;
23
37
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
38
+ /**
39
+ * Description of the banner.
40
+ */
41
+ description?: string | undefined;
42
+ /**
43
+ * Heading of the banner.
44
+ */
45
+ heading?: string | undefined;
46
+ /**
47
+ * Defines if the banner can be closed/removed by the user.
48
+ */
24
49
  persistent?: boolean | undefined;
25
50
  /**
26
51
  * State of the banner.
@@ -31,10 +56,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
31
56
  */
32
57
  theme?: "light" | "dark" | undefined;
33
58
  /**
34
- * Defines the width of the banner corresponding to the `content-wrapper` dimensions
59
+ * Has no effect anymore
60
+ * @deprecated since v3.0.0, will be removed with next major release
35
61
  */
36
62
  width?: "extended" | "basic" | "fluid" | undefined;
37
63
  }>, {
64
+ description: string;
65
+ heading: string;
38
66
  persistent: boolean;
39
67
  state: string;
40
68
  theme: string;
@@ -42,7 +70,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
42
70
  }>>> & {
43
71
  onDismiss?: ((value?: void | undefined) => any) | undefined;
44
72
  }, {
73
+ heading: string;
45
74
  theme: Theme;
75
+ description: string;
46
76
  persistent: boolean;
47
77
  state: BannerState;
48
78
  width: BannerWidth;
@@ -1,26 +1,28 @@
1
- import { defineComponent as p, ref as d, onMounted as f, onUpdated as l, openBlock as i, createBlock as m, resolveDynamicComponent as u, unref as c, withCtx as _, renderSlot as C } from "vue";
2
- import { getPrefixedTagName as h, syncProperties as n, addEventListenerToElementRef as v } from "../../utils.js";
3
- const B = /* @__PURE__ */ p({
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({
4
4
  __name: "BannerWrapper",
5
5
  props: {
6
+ description: { default: "" },
7
+ heading: { default: "" },
6
8
  persistent: { type: Boolean, default: !1 },
7
9
  state: { default: "info" },
8
10
  theme: { default: "light" },
9
11
  width: { default: "extended" }
10
12
  },
11
13
  emits: ["dismiss"],
12
- setup(o, { emit: r }) {
13
- const t = o, s = h("p-banner"), e = d();
14
+ setup(o, { emit: a }) {
15
+ const t = o, r = C("p-banner"), e = p();
14
16
  return f(() => {
15
- n(e.value, t), v(e.value, "dismiss", r);
16
- }), l(() => {
17
+ n(e.value, t), g(e.value, "dismiss", a);
18
+ }), i(() => {
17
19
  n(e.value, t);
18
- }), (a, g) => (i(), m(u(c(s)), {
20
+ }), (s, v) => (l(), m(u(c(r)), {
19
21
  ref_key: "pdsComponentRef",
20
22
  ref: e
21
23
  }, {
22
24
  default: _(() => [
23
- C(a.$slots, "default")
25
+ h(s.$slots, "default")
24
26
  ]),
25
27
  _: 3
26
28
  }, 512));
@@ -1,4 +1,4 @@
1
- import type { BreakpointCustomizable, AlignLabel, SelectedAriaAttributes, LinkButtonIconName, TextSize, Theme, ButtonType, TextWeight } from '../types';
1
+ import type { BreakpointCustomizable, ButtonPureAlignLabel, SelectedAriaAttributes, ButtonPureIcon, ButtonPureSize, Theme, ButtonPureType, ButtonPureWeight } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * Display button in active state.
@@ -23,7 +23,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
23
23
  /**
24
24
  * The icon shown.
25
25
  */
26
- icon?: LinkButtonIconName | undefined;
26
+ icon?: import("../types").LinkButtonIconName | undefined;
27
27
  /**
28
28
  * A URL path to a custom icon.
29
29
  */
@@ -35,7 +35,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
35
35
  /**
36
36
  * Size of the button.
37
37
  */
38
- size?: BreakpointCustomizable<"inherit" | "x-small" | "small" | "medium" | "large" | "x-large"> | undefined;
38
+ size?: BreakpointCustomizable<"inherit" | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large"> | undefined;
39
39
  /**
40
40
  * Stretches the area between icon and label to max available space.
41
41
  */
@@ -89,7 +89,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
89
89
  /**
90
90
  * The icon shown.
91
91
  */
92
- icon?: LinkButtonIconName | undefined;
92
+ icon?: import("../types").LinkButtonIconName | undefined;
93
93
  /**
94
94
  * A URL path to a custom icon.
95
95
  */
@@ -101,7 +101,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
101
101
  /**
102
102
  * Size of the button.
103
103
  */
104
- size?: BreakpointCustomizable<"inherit" | "x-small" | "small" | "medium" | "large" | "x-large"> | undefined;
104
+ size?: BreakpointCustomizable<"inherit" | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large"> | undefined;
105
105
  /**
106
106
  * Stretches the area between icon and label to max available space.
107
107
  */
@@ -132,16 +132,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
132
132
  type: string;
133
133
  weight: string;
134
134
  }>>>, {
135
- weight: TextWeight;
135
+ weight: ButtonPureWeight;
136
136
  stretch: BreakpointCustomizable<boolean>;
137
- disabled: boolean;
138
- size: BreakpointCustomizable<TextSize>;
137
+ size: BreakpointCustomizable<ButtonPureSize>;
139
138
  theme: Theme;
140
- type: ButtonType;
139
+ type: ButtonPureType;
141
140
  active: boolean;
142
- alignLabel: BreakpointCustomizable<AlignLabel>;
141
+ alignLabel: BreakpointCustomizable<ButtonPureAlignLabel>;
142
+ disabled: boolean;
143
143
  hideLabel: BreakpointCustomizable<boolean>;
144
- icon: LinkButtonIconName;
144
+ icon: ButtonPureIcon;
145
145
  loading: boolean;
146
146
  }>, {
147
147
  default: (_: {}) => any;