@porsche-design-system/components-angular 2.13.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/CHANGELOG.md +1428 -0
  2. package/LICENSE +59 -0
  3. package/OSS_NOTICE +20981 -0
  4. package/README.md +74 -0
  5. package/components-wrapper.module.d.ts +60 -0
  6. package/esm2020/components-wrapper.module.mjs +87 -0
  7. package/esm2020/lib/components/accordion.wrapper.mjs +33 -0
  8. package/esm2020/lib/components/banner.wrapper.mjs +33 -0
  9. package/esm2020/lib/components/barrel.mjs +138 -0
  10. package/esm2020/lib/components/button-group.wrapper.mjs +30 -0
  11. package/esm2020/lib/components/button-pure.wrapper.mjs +30 -0
  12. package/esm2020/lib/components/button.wrapper.mjs +30 -0
  13. package/esm2020/lib/components/checkbox-wrapper.wrapper.mjs +30 -0
  14. package/esm2020/lib/components/content-wrapper.wrapper.mjs +30 -0
  15. package/esm2020/lib/components/divider.wrapper.mjs +30 -0
  16. package/esm2020/lib/components/fieldset-wrapper.wrapper.mjs +30 -0
  17. package/esm2020/lib/components/flex-item.wrapper.mjs +30 -0
  18. package/esm2020/lib/components/flex.wrapper.mjs +30 -0
  19. package/esm2020/lib/components/grid-item.wrapper.mjs +30 -0
  20. package/esm2020/lib/components/grid.wrapper.mjs +30 -0
  21. package/esm2020/lib/components/headline.wrapper.mjs +30 -0
  22. package/esm2020/lib/components/icon.wrapper.mjs +30 -0
  23. package/esm2020/lib/components/inline-notification.wrapper.mjs +33 -0
  24. package/esm2020/lib/components/link-pure.wrapper.mjs +30 -0
  25. package/esm2020/lib/components/link-social.wrapper.mjs +30 -0
  26. package/esm2020/lib/components/link.wrapper.mjs +30 -0
  27. package/esm2020/lib/components/marque.wrapper.mjs +30 -0
  28. package/esm2020/lib/components/modal.wrapper.mjs +33 -0
  29. package/esm2020/lib/components/pagination.wrapper.mjs +33 -0
  30. package/esm2020/lib/components/popover.wrapper.mjs +30 -0
  31. package/esm2020/lib/components/radio-button-wrapper.wrapper.mjs +30 -0
  32. package/esm2020/lib/components/select-wrapper.wrapper.mjs +30 -0
  33. package/esm2020/lib/components/spinner.wrapper.mjs +30 -0
  34. package/esm2020/lib/components/switch.wrapper.mjs +33 -0
  35. package/esm2020/lib/components/table-body.wrapper.mjs +26 -0
  36. package/esm2020/lib/components/table-cell.wrapper.mjs +30 -0
  37. package/esm2020/lib/components/table-head-cell.wrapper.mjs +30 -0
  38. package/esm2020/lib/components/table-head-row.wrapper.mjs +26 -0
  39. package/esm2020/lib/components/table-head.wrapper.mjs +26 -0
  40. package/esm2020/lib/components/table-row.wrapper.mjs +26 -0
  41. package/esm2020/lib/components/table.wrapper.mjs +33 -0
  42. package/esm2020/lib/components/tabs-bar.wrapper.mjs +33 -0
  43. package/esm2020/lib/components/tabs-item.wrapper.mjs +30 -0
  44. package/esm2020/lib/components/tabs.wrapper.mjs +33 -0
  45. package/esm2020/lib/components/tag-dismissible.wrapper.mjs +30 -0
  46. package/esm2020/lib/components/tag.wrapper.mjs +30 -0
  47. package/esm2020/lib/components/text-field-wrapper.wrapper.mjs +30 -0
  48. package/esm2020/lib/components/text-list-item.wrapper.mjs +26 -0
  49. package/esm2020/lib/components/text-list.wrapper.mjs +30 -0
  50. package/esm2020/lib/components/text.wrapper.mjs +30 -0
  51. package/esm2020/lib/components/textarea-wrapper.wrapper.mjs +30 -0
  52. package/esm2020/lib/components/toast.wrapper.mjs +30 -0
  53. package/esm2020/lib/types.mjs +2 -0
  54. package/esm2020/porsche-design-system-components-angular.mjs +5 -0
  55. package/esm2020/public-api.mjs +6 -0
  56. package/esm2020/skeleton-helper.mjs +4 -0
  57. package/esm2020/toast-manager.mjs +17 -0
  58. package/esm2020/utils.mjs +41 -0
  59. package/fesm2015/porsche-design-system-components-angular.mjs +1289 -0
  60. package/fesm2015/porsche-design-system-components-angular.mjs.map +1 -0
  61. package/fesm2020/porsche-design-system-components-angular.mjs +1287 -0
  62. package/fesm2020/porsche-design-system-components-angular.mjs.map +1 -0
  63. package/lib/components/accordion.wrapper.d.ts +17 -0
  64. package/lib/components/banner.wrapper.d.ts +15 -0
  65. package/lib/components/barrel.d.ts +91 -0
  66. package/lib/components/button-group.wrapper.d.ts +11 -0
  67. package/lib/components/button-pure.wrapper.d.ts +24 -0
  68. package/lib/components/button.wrapper.d.ts +20 -0
  69. package/lib/components/checkbox-wrapper.wrapper.d.ts +14 -0
  70. package/lib/components/content-wrapper.wrapper.d.ts +13 -0
  71. package/lib/components/divider.wrapper.d.ts +13 -0
  72. package/lib/components/fieldset-wrapper.wrapper.d.ts +15 -0
  73. package/lib/components/flex-item.wrapper.d.ts +16 -0
  74. package/lib/components/flex.wrapper.d.ts +16 -0
  75. package/lib/components/grid-item.wrapper.d.ts +12 -0
  76. package/lib/components/grid.wrapper.d.ts +13 -0
  77. package/lib/components/headline.wrapper.d.ts +16 -0
  78. package/lib/components/icon.wrapper.d.ts +17 -0
  79. package/lib/components/inline-notification.wrapper.d.ts +20 -0
  80. package/lib/components/link-pure.wrapper.d.ts +24 -0
  81. package/lib/components/link-social.wrapper.d.ts +17 -0
  82. package/lib/components/link.wrapper.d.ts +20 -0
  83. package/lib/components/marque.wrapper.d.ts +15 -0
  84. package/lib/components/modal.wrapper.d.ts +17 -0
  85. package/lib/components/pagination.wrapper.d.ts +20 -0
  86. package/lib/components/popover.wrapper.d.ts +13 -0
  87. package/lib/components/radio-button-wrapper.wrapper.d.ts +14 -0
  88. package/lib/components/select-wrapper.wrapper.d.ts +19 -0
  89. package/lib/components/spinner.wrapper.d.ts +13 -0
  90. package/lib/components/switch.wrapper.d.ts +19 -0
  91. package/lib/components/table-body.wrapper.d.ts +9 -0
  92. package/lib/components/table-cell.wrapper.d.ts +10 -0
  93. package/lib/components/table-head-cell.wrapper.d.ts +13 -0
  94. package/lib/components/table-head-row.wrapper.d.ts +9 -0
  95. package/lib/components/table-head.wrapper.d.ts +9 -0
  96. package/lib/components/table-row.wrapper.d.ts +9 -0
  97. package/lib/components/table.wrapper.d.ts +12 -0
  98. package/lib/components/tabs-bar.wrapper.d.ts +16 -0
  99. package/lib/components/tabs-item.wrapper.d.ts +10 -0
  100. package/lib/components/tabs.wrapper.d.ts +16 -0
  101. package/lib/components/tag-dismissible.wrapper.d.ts +13 -0
  102. package/lib/components/tag.wrapper.d.ts +14 -0
  103. package/lib/components/text-field-wrapper.wrapper.d.ts +18 -0
  104. package/lib/components/text-list-item.wrapper.d.ts +9 -0
  105. package/lib/components/text-list.wrapper.d.ts +13 -0
  106. package/lib/components/text.wrapper.d.ts +17 -0
  107. package/lib/components/textarea-wrapper.wrapper.d.ts +16 -0
  108. package/lib/components/toast.wrapper.d.ts +11 -0
  109. package/lib/types.d.ts +543 -0
  110. package/package.json +57 -0
  111. package/partials/esm/partials.js +1 -0
  112. package/partials/package.json +6 -0
  113. package/partials/partials.d.ts +1 -0
  114. package/partials/partials.js +14 -0
  115. package/porsche-design-system-components-angular.d.ts +5 -0
  116. package/public-api.d.ts +5 -0
  117. package/skeleton-helper.d.ts +3 -0
  118. package/toast-manager.d.ts +7 -0
  119. package/utilities/js/esm/js.js +1 -0
  120. package/utilities/js/js.d.ts +1 -0
  121. package/utilities/js/js.js +14 -0
  122. package/utilities/js/package.json +6 -0
  123. package/utilities/scss.scss +1 -0
  124. package/utils.d.ts +7 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,1428 @@
1
+ # Changelog
2
+
3
+ ## Porsche Design System - Components
4
+
5
+ All notable changes to this project will be documented in this file.
6
+
7
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to
8
+ [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
9
+
10
+ ### [Unreleased]
11
+
12
+ ### [2.13.0-rc.0] - 2022-06-21
13
+
14
+ #### Changed
15
+
16
+ - `Button`, `Button Pure` and `Switch` apply `aria-disabled="true"` instead of `disabled` attribute to native button
17
+ internally in case `disabled` and/or `loading` property is set
18
+
19
+ ### [2.12.1] - 2022-05-25
20
+
21
+ ### [2.12.1-rc.0] - 2022-05-25
22
+
23
+ #### Fixed
24
+
25
+ - Issue with `JssStyle` typing import
26
+
27
+ ### [2.12.0] - 2022-05-19
28
+
29
+ #### Changed
30
+
31
+ - npm package is prepared for public release on [npmjs.org](https://npmjs.com)
32
+
33
+ ### [2.12.0-rc.2] - 2022-05-12
34
+
35
+ ### [2.12.0-rc.1] - 2022-05-11
36
+
37
+ ### [2.12.0-rc.0] - 2022-05-04
38
+
39
+ #### Added
40
+
41
+ - `Table Head Cell` now has a `multiline` property
42
+
43
+ #### Changed
44
+
45
+ - `Headline` has no `hypens` / `overflow-wrap` style by default
46
+ - Partials now throw an exception if they are executed in browser
47
+
48
+ #### Fixed
49
+
50
+ - Exception in `Headline`, `Select Wrapper`, `Text` and `Text List` when changing `theme` prop from `dark` to `light`
51
+ - `getInitialStyles()` partial now returns `.hydrated` styles, too
52
+
53
+ ### [2.11.0-skeletons] - 2022-04-21
54
+
55
+ ### [2.11.0] - 2022-04-21
56
+
57
+ ### [2.11.0-rc.0] - 2022-04-20
58
+
59
+ #### Added
60
+
61
+ - `Tag`
62
+ - `Tag Dismissible`
63
+
64
+ ### [2.10.0-skeletons] - 2022-04-13
65
+
66
+ ### [2.10.0] - 2022-04-13
67
+
68
+ ### [2.9.3-rc.1] - 2022-04-06
69
+
70
+ #### Added
71
+
72
+ - `Text Field Wrapper` now has a `showCharacterCount` property which can be used to hide the character count when a
73
+ `maxLength` attribute is set on the wrapped `input`.
74
+ - `Textarea Wrapper` now has a `showCharacterCount` property which can be used to hide the character count when a
75
+ `maxLength` attribute is set on the wrapped `textarea`.
76
+
77
+ ### [2.9.3-rc.0-skeletons] - 2022-03-29
78
+
79
+ ### [2.9.3-rc.0] - 2022-03-28
80
+
81
+ #### Added
82
+
83
+ - `Text Field Wrapper` supports `unit` property on `input type="text"`
84
+ - `Marque` optional configurable clickable/focusable area by defining padding on host element
85
+
86
+ #### Fixed
87
+
88
+ - `Tabs Item` improved accessibility
89
+ - Angular: circular dependency in development mode in `2.9.2-skeletons`
90
+
91
+ ### [2.9.2-skeletons] - 2022-03-24
92
+
93
+ #### Added
94
+
95
+ - **[EXPERIMENTAL]** `getInitialStyles` partial now accepts a `skeletonTagNames` array of component names that will
96
+ initially have skeleton styles while the Porsche Design System is loading
97
+ - **[EXPERIMENTAL]** `Button`, `Button Pure`, `Checkbox Wrapper`, `Fieldset Wrapper`, `Link`, `Link Pure`, `Link Social`
98
+ , `Radio Button Wrapper`, `Select Wrapper`, `Text Field Wrapper`, `Textarea Wrapper` can now have initial skeleton
99
+ styles when passed as `skeletonTagNames` to the `getInitialStyles` partial
100
+
101
+ ### [2.9.2] - 2022-03-24
102
+
103
+ ### [2.9.2-rc.1] - 2022-03-23
104
+
105
+ #### Fixed
106
+
107
+ - Bug caused by Chrome where hover styles of `Link Pure` are not displayed correctly
108
+
109
+ ### [2.9.2-rc.0] - 2022-03-22
110
+
111
+ #### Added
112
+
113
+ - Normalized font behavior (`hyphen`, `overflow-wrap` and `text-size-adjust`) across components
114
+
115
+ #### Fixed
116
+
117
+ - `Modal` scrolling and pinch to zoom on iOS
118
+ - `Modal` initial position if scrollable
119
+ - `Table Head Cell` sort icon `asc` + `desc`
120
+
121
+ ### [2.9.1] - 2022-03-10
122
+
123
+ ### [2.9.1-rc.0] - 2022-03-09
124
+
125
+ #### Added
126
+
127
+ - Styles for slotted `<button>` in `Text`
128
+
129
+ #### Changed
130
+
131
+ - `Modal` heading and aria validation happens only when open
132
+
133
+ #### Fixed
134
+
135
+ - React: bundling format of partials
136
+
137
+ ### [2.9.0] - 2022-02-28
138
+
139
+ ### [2.9.0-rc.1] - 2022-02-25
140
+
141
+ #### Fixed
142
+
143
+ - `Modal` focus trap respecting elements in shadow DOM and dynamically added/removed elements on first level
144
+ - `Tabs Item` focus outline on click in Safari
145
+ - Error while using partials in Vanilla JS and Angular
146
+
147
+ ### [2.9.0-rc.0] - 2022-02-16
148
+
149
+ #### Added
150
+
151
+ - `getFontFaceStylesheet` returns additional `<link>` tags with `rel="preconnect"` and `rel="dns-prefetch"`
152
+ - Option `format` to partials `getFontFaceStylesheet`, `getComponentChunkLinks()`, `getFontLinks()`, `getIconLinks()` ,
153
+ `getInitialStyles()`, `getLoaderScript()` and `getMetaTagsAndIconLinks()`
154
+
155
+ #### Deprecated
156
+
157
+ - The option `withoutTags` of partials `getFontFaceStylesheet`, `getComponentChunkLinks()`, `getFontLinks()` ,
158
+ `getIconLinks()`, `getInitialStyles()`, `getLoaderScript()` and `getMetaTagsAndIconLinks()` is deprecated and will be
159
+ removed in `v3.0.0`. Please use `format: 'jsx'` instead.
160
+
161
+ ```diff
162
+ - <link rel="stylesheet" href={getFontFaceStylesheet({ withoutTags: true })} crossOrigin="true" />
163
+ + {getFontFaceStylesheet({ format: 'jsx' })}
164
+ ```
165
+
166
+ ### [2.9.0-beta.1] - 2022-01-27
167
+
168
+ #### Added
169
+
170
+ - `:focus-visible` content of selected Tab in `Tabs` component gets focus styling
171
+ - Improved accessibility of `Text Field Wrapper` and `Textarea Wrapper` when `maxlength` attribute is set
172
+ - `Modal` aria property
173
+ - `Modal` class for slotted elements to make content full-width
174
+
175
+ #### Changed
176
+
177
+ - `Button Pure` and `Link Pure` removed `position: relative` imposition, make sure to **not** override it with
178
+ `position: static`
179
+
180
+ #### Fixed
181
+
182
+ - `Modal` close button styles when no heading is passed
183
+
184
+ ### [2.9.0-beta.0] - 2022-01-18
185
+
186
+ #### Added
187
+
188
+ - React: `getByRoleShadowed`, `getByLabelTextShadowed` and `getByTextShadowed` utilities which uses
189
+ `@testing-library/dom` queries internally to support Shadow DOM
190
+
191
+ #### Fixed
192
+
193
+ - React: `UnhandledPromiseRejectionWarning` when using `skipPorscheDesignSystemCDNRequestsDuringTests()`
194
+
195
+ ### [2.8.0] - 2022-01-17
196
+
197
+ #### Fixed
198
+
199
+ - Accessibility issue of `Icon` component in Windows High Contrast Mode in Chromium Browser
200
+
201
+ ### [2.8.0-rc.0] - 2022-01-14
202
+
203
+ #### Added
204
+
205
+ - Support for `tabindex` attribute on `Button`, `Button Pure`, `Switch`, `Link`, `Link Pure` and `Link Social`
206
+
207
+ #### Changed
208
+
209
+ - `:focus-visible` style matches outline color of `Button` while hovered
210
+
211
+ #### Deprecated
212
+
213
+ - The `tabbable` property of `Button`, `Button Pure` and `Switch` is deprecated and will be removed in `v3.0.0`. Please
214
+ use `tabindex` instead.
215
+
216
+ ```diff
217
+ - <p-button tabbable="false">Some button</p-button>
218
+ + <p-button tabindex="-1">Some button</p-button>
219
+ ```
220
+
221
+ ### [2.8.0-beta.3] - 2021-12-22
222
+
223
+ #### Added
224
+
225
+ **Disclaimer:** The provided themes `light-electric` and `dark-electric` are just a proof of concept, it's **not**
226
+ accessible regarding its color contrast and might even be removed in an upcoming major release again.
227
+
228
+ - `light-electric` theme for `Switch`
229
+ - `dark-electric` theme for `Button Pure` and `Link Pure`
230
+ - Character counter to `Text Field Wrapper` and `Textarea Wrapper` if `maxlength` is present on `input type="text"` and
231
+ `textarea`
232
+
233
+ #### Changed
234
+
235
+ - `:focus-visible` style matches outline color of `Switch` while hovered
236
+
237
+ #### Fixed
238
+
239
+ - Box model of `Button Pure`
240
+
241
+ ### [2.8.0-beta.2] - 2021-12-22
242
+
243
+ #### Fixed
244
+
245
+ - `Content Wrapper` regression for `!important` style
246
+
247
+ #### Added
248
+
249
+ - Usage validation for `Link`, `Link Pure` and `Link Social`
250
+
251
+ ### [2.8.0-beta.1] - 2021-12-16
252
+
253
+ #### Fixed
254
+
255
+ - `Select Wrapper` validation of select element
256
+
257
+ ### [2.8.0-beta.0] - 2021-12-15
258
+
259
+ #### Changed
260
+
261
+ - Angular: Increased peer dependency to `>=12.0.0 <14.0.0`
262
+
263
+ ### [2.7.0] - 2021-12-14
264
+
265
+ ### [2.7.0-rc.0] - 2021-12-14
266
+
267
+ #### Removed
268
+
269
+ - `offset-bottom` prop of `Toast` (use `--p-toast-position-bottom` CSS variable instead)
270
+
271
+ ### [2.7.0-beta.6] - 2021-12-08
272
+
273
+ #### Added
274
+
275
+ - `Popover`
276
+
277
+ ### [2.7.0-beta.5] - 2021-12-07
278
+
279
+ #### Added
280
+
281
+ **Disclaimer:** The provided theme `light-electric` is just a proof of concept, it's **not** accessible regarding its
282
+ color contrast and might even be removed in an upcoming major release again.
283
+
284
+ - `light-electric` theme for `Accordion`, `Link`, `Link Pure`, `Button`, `Button Pure`, `Tabs`, `Tabs Bar`
285
+
286
+ ### [2.7.0-beta.4] - 2021-12-02
287
+
288
+ ### [2.7.0-beta.3] - 2021-11-30
289
+
290
+ #### Added
291
+
292
+ - `Accordion` uses `MutationObserver` fallback when no `ResizeObserver` is available in older browsers
293
+
294
+ #### Fixed
295
+
296
+ - `Link` and `Link Social` not adapting slotted anchor to the width of the element
297
+
298
+ ### [2.7.0-beta.2] - 2021-11-24
299
+
300
+ #### Added
301
+
302
+ - `Toast`
303
+
304
+ #### Fixed
305
+
306
+ - `Banner` animations respect offset correctly
307
+
308
+ ### [2.7.0-beta.1] - 2021-11-16
309
+
310
+ #### Fixed
311
+
312
+ - `Headline` applies `align` and `ellipsis` prop correctly
313
+
314
+ ### [2.7.0-beta.0] - 2021-11-11
315
+
316
+ #### Added
317
+
318
+ - New `aria` property for `ARIA` attribute handling for: `Button`, `Button Pure`, `Icon`, `Link`, `Link Pure`, `Marque`
319
+ , `Spinner`
320
+
321
+ #### Fixed
322
+
323
+ - React: warnings about `useLayoutEffect` in SSR context
324
+
325
+ ### [2.6.1] - 2021-11-05
326
+
327
+ #### Fixed
328
+
329
+ - Prevent breaking entire Porsche Design System due to lacking support of `ResizeObserver`, however `Accordion` still
330
+ requires it
331
+
332
+ ### [2.6.0] - 2021-11-04
333
+
334
+ #### Added
335
+
336
+ - `unit` and `unitPosition` properties to `Text Field Wrapper`
337
+
338
+ ### [2.6.0-beta.0] - 2021-10-29
339
+
340
+ #### Changed
341
+
342
+ - Use `Heiti SC` (pre-installed on iOS/macOS) and `SimHei` (pre-installed on Windows) as Chinese fallback font
343
+
344
+ #### Added
345
+
346
+ - `Marque` uses `webp` images for browsers that support it
347
+ - `Inline Notification`
348
+ - `Icon` now supports `success` for `name` property
349
+
350
+ #### Fixed
351
+
352
+ - Colors of `Banner` for dark theme
353
+ - Replaced CSS `inset` property with `top`, `left`, `right` and `bottom` for browser compatibility
354
+ - Opening and closing transition of `Modal`
355
+
356
+ ### [2.5.1-beta.0] - 2021-10-11
357
+
358
+ #### Fixed
359
+
360
+ - Possible exceptions when components get unmounted directly
361
+
362
+ ### [2.5.0] - 2021-10-04
363
+
364
+ #### Added
365
+
366
+ - `SimHei` and `黑体` as fallback for all components' `font-family`
367
+
368
+ ### [2.5.0-beta.1] - 2021-09-28
369
+
370
+ #### Changed
371
+
372
+ - React: improved render behavior of components
373
+
374
+ ### [2.5.0-beta.0] - 2021-09-22
375
+
376
+ #### Added
377
+
378
+ - React: utility function `skipPorscheDesignSystemCDNRequestsDuringTests`
379
+
380
+ ### [2.4.0] - 2021-09-21
381
+
382
+ ### [2.4.0-beta.2] - 2021-09-21
383
+
384
+ #### Added
385
+
386
+ - `Link Social` and `Icon` now support `kakaotalk`, `naver`, `reddit` and `tiktok`
387
+ - JSS caching mechanism to improve style performance
388
+
389
+ #### Changed
390
+
391
+ - Alignment of `linkedin` icon
392
+ - Improved accessibility of `Select Wrapper`
393
+ - `Icon` loading behaviour to non-blocking, components using the `Icon` will no longer wait for it to load
394
+ - Validation messages of `Fieldset Wrapper` have now an additional icon representing the validation state
395
+
396
+ #### Fixed
397
+
398
+ - Box model of `Link Pure`
399
+ - Focus of `Link Pure` with slotted anchor and hidden label
400
+ - Focus cycling of `Modal` without focusable children
401
+ - Suppress CORS error
402
+
403
+ ### [2.4.0-beta.1] - 2021-08-26
404
+
405
+ #### Added
406
+
407
+ - `active` property to `Button Pure`
408
+
409
+ ### [2.4.0-beta.0] - 2021-08-26
410
+
411
+ #### Added
412
+
413
+ - `icon` property of `Button Pure` and `Link Pure` was extended by `none` value
414
+ - `alignLabel` and `stretch` property to `Button Pure` and `Link Pure`
415
+
416
+ #### Changed
417
+
418
+ - Improved `:focus-visible` and `:hover:focus-visible` colors for `Link Social` and `Link`
419
+ - Improved slotted `<a>` coloring in dark theme for `Link Social` and `Link`
420
+ - Validation messages of `Checkbox Wrapper`, `Radio Button Wrapper`, `Select Wrapper`, `Textarea Wrapper` and
421
+ `Text Field Wrapper` have now an additional icon representing the validation state
422
+ - `Modal` backdrop behavior to close modal on mouse-down
423
+
424
+ #### Fixed
425
+
426
+ - Slotted `<a>` coloring in dark theme for `Text`, `Headline`, `Text List`, `Banner`, `Select Wrapper` and `Link Pure`
427
+ - Wrong background color of scrollable `Modal`'s backdrop in Safari
428
+
429
+ ### [2.3.0] - 2021-07-28
430
+
431
+ ### [2.3.0-beta.3] - 2021-07-28
432
+
433
+ #### Changed
434
+
435
+ - `Accordion` reduce paddings, vertically align carets to the first heading row, adjust border color and hover styles
436
+
437
+ #### Fixed
438
+
439
+ - `Text Field Wrapper` accessibility of type password and search
440
+
441
+ ### [2.3.0-beta.2] - 2021-07-15
442
+
443
+ #### Added
444
+
445
+ - `Checkbox Wrapper`, `Radio Button Wrapper`, `Select Wrapper`, `Textarea Wrapper` and `Text Field Wrapper` now reflect
446
+ changes of the `required` attribute on their child component
447
+ - `multiline` property to `Table Cell`
448
+ - Partial function `getLoaderScript()` to initialize Porsche Design System as early as possible
449
+
450
+ #### Fixed
451
+
452
+ - `Table Head Cell` uses semi bold instead of bold as font weight
453
+ - Transition of `Modal`
454
+
455
+ ### [2.3.0-beta.1] - 2021-07-08
456
+
457
+ #### Added
458
+
459
+ - `Accordion`
460
+
461
+ #### Changed
462
+
463
+ - Removed initial delay of `Banner`
464
+
465
+ ### [2.3.0-beta.0] - 2021-07-01
466
+
467
+ #### Added
468
+
469
+ - `Table`
470
+ - Angular: export types from package root
471
+ - Accessibility icon
472
+
473
+ #### Changed
474
+
475
+ - `Button`, `Button Pure` and `Switch` are now focusable while in `loading` state
476
+ - `Text` and `Headline` inherits white-space CSS property
477
+ - React: sync component props via property instead of attribute
478
+
479
+ #### Fixed
480
+
481
+ - Angular: support `"strictTemplates": true` option in `tsconfig.json`
482
+ - Use correct icon for `arrow-last` and `arrow-first` in `Icon`, `Button` and `Link` components
483
+
484
+ ### [2.2.1] - 2021-06-08
485
+
486
+ #### Changed
487
+
488
+ - Optimize vertical alignment of `Modal`
489
+
490
+ #### Fixed
491
+
492
+ - URL in inject global style warning
493
+
494
+ ### [2.2.1-beta.1] - 2021-06-02
495
+
496
+ #### Fixed
497
+
498
+ - Margin of `Tabs Bar` within `Tabs` for Firefox and Safari
499
+ - SVG of `Icon` is not removed after prop change, e.g. on color change
500
+ - Fullscreen behavior of `Modal` on screens larger than 1760px
501
+
502
+ ### [2.2.0] - 2021-05-19
503
+
504
+ #### Fixed
505
+
506
+ - `Text` inside `Button` now has the proper size on iOS Safari when changing to and from landscape mode
507
+ - `Banner` can now be re-opened after closing
508
+ - Closing one `Banner` will not close other `Banners` on the site
509
+
510
+ ### [2.2.0-beta.2] - 2021-05-12
511
+
512
+ #### Fixed
513
+
514
+ - `Select Wrapper` value changes are now reflected correctly
515
+ - `Select Wrapper` dark theme background color if used with `filter` prop
516
+
517
+ ### [2.2.0-beta.1] - 2021-05-05
518
+
519
+ #### Added
520
+
521
+ - Partial function `getIconLinks()` to preload Porsche Design System Icons
522
+
523
+ #### Fixed
524
+
525
+ - `Text Field Wrapper` spacing in Safari
526
+
527
+ ### [2.2.0-beta.0] - 2021-05-05
528
+
529
+ #### Added
530
+
531
+ - Partial function `getMetaTagsAndIconLinks()` to simplify cross device fav and meta icons
532
+
533
+ ### [2.1.0] - 2021-05-03
534
+
535
+ ### [2.1.0-beta.0] - 2021-05-03
536
+
537
+ #### Added
538
+
539
+ - `Switch`
540
+
541
+ #### Changed
542
+
543
+ - `Text` automatically breaks words/strings into new line being too long to fit inside their container
544
+ - `Headline` automatically breaks words/strings into new line being too long to fit inside their container
545
+ - Extended `Fieldset Wrapper` with `labelSize`, `required`, `state` and `message` properties. If the `Fieldset Wrapper`
546
+ is set to required only the label of the **Fieldset Wrapper** gets an asterisk. It is removed from all wrapped child
547
+ components, as long as they are Porsche Design System form elements.
548
+
549
+ ### [2.0.3] - 2021-04-28
550
+
551
+ ### [2.0.3-beta] - 2021-04-28
552
+
553
+ #### Fixed
554
+
555
+ - Angular: Events firing twice in `Pagination`, `Modal`, `Tabs`, `Tabs Bar` and `Banner` component
556
+
557
+ ### [2.0.2] - 2021-04-21
558
+
559
+ ### [2.0.2-beta.0] - 2021-04-20
560
+
561
+ #### Fixed
562
+
563
+ - TypeScript build errors due to duplicate declarations in `types.d.ts`
564
+
565
+ ### [2.0.1] - 2021-04-16
566
+
567
+ #### Fixed
568
+
569
+ - Visual appearance of `Checkbox Wrapper` in iOS Safari
570
+ - A bug where `Text Field Wrapper` would throw an error when reattaching to DOM too quickly
571
+ - Visual bug in Firefox when zooming out `Text Field Wrapper`, `Checkbox Wrapper` and `Textarea Wrapper`
572
+ - Angular: Streamline component styles in dark theme
573
+
574
+ #### Changed
575
+
576
+ - Aligned focus states of `Checkbox Wrapper` and `Radio Button Wrapper` across browsers
577
+
578
+ ### [2.0.0] - 2021-04-13
579
+
580
+ In keeping with [Semver](https://semver.org/), Porsche Design System v2.0.0 was released due to changes in the API,
581
+ fundamental changes in loading behavior and others. With our new major version `v2.0.0` there are some important changes
582
+ that you should watch out for. To make the migration from `v1.5.x` to our current `v2.0.0` easier, we offer a few
583
+ guidelines.
584
+
585
+ ## General changes / improvements:
586
+
587
+ #### All components, icons, fonts, styles and marque of the Porsche Design System are loaded versioned and chunked from a central CDN
588
+
589
+ This way all web based digital Porsche products share and use the cached and versioned assets regardless of the JS
590
+ framework used to improve loading performance across the Porsche group. Only a tiny (1.4kb sized) Porsche Design System
591
+ loader script gets bundled into your application code. Everything else gets loaded versioned, cached and chunked from a
592
+ central CDN ([read more](https://designsystem.porsche.com/latest/performance/cdn)). However, this also means that you
593
+ will need an **Internet connection** to render the components in a browser (possibly relevant for development stage or
594
+ intranet applications).
595
+
596
+ #### Enabling Micro Frontend Architecture
597
+
598
+ In case of a micro-frontend architecture, multiple instances and versions of the Porsche Design System can be combined
599
+ in a final application by configurable prefixing technique of the Porsche Design System components during runtime.
600
+ Please refer to our framework specific guidelines
601
+ [Vanilla JS](https://designsystem.porsche.com/latest/start-coding/vanilla-js) ,
602
+ [Angular](https://designsystem.porsche.com/latest/start-coding/angular) and
603
+ [React](https://designsystem.porsche.com/latest/start-coding/react).
604
+
605
+ #### Prevent Flash of Unstyled Content (FOUC) and Flash of Unstyled Text (FOUT)
606
+
607
+ To prevent FOUC/FOUT, the Porsche Design System offers various partials as part of the
608
+ `@porsche-design-system/components-{js|angular|react}` package to ensure all necessary Porsche Design System fonts and
609
+ components are fully loaded. If you've used the `@porsche-design-system/partials` package previously, stop using it and
610
+ replace the integration with the partials provided by `@porsche-design-system/components-{js|angular|react}` package.
611
+ Have a look at our [FOUC/FOUT guidelines](https://designsystem.porsche.com/latest/performance/loading-behaviour).
612
+
613
+ ```diff
614
+ - <%= require('@porsche-design-system/partials').getPorscheDesignSystemCoreStyles() %>
615
+ + <%= require('@porsche-design-system/components-{js|angular|react}/partials').getInitialStyles() %>
616
+
617
+ - <%= require('@porsche-design-system/partials').getFontFaceCSS() %>
618
+ + <%= require('@porsche-design-system/components-{js|angular|react}/partials').getFontFaceStylesheet() %>
619
+
620
+ - <link rel="preload" href="path/to/webfont/nameOfWebFontFile" as="font" type="font/woff2" crossorigin />
621
+ + <%= require('@porsche-design-system/components-{js|angular|react}/partials').getFontLinks({ weights: ['regular', 'semi-bold'] }) %>
622
+ ```
623
+
624
+ #### Added support for China CDN
625
+
626
+ Our CDN is configured to forward requests to Chinese CDN automatically when necessary. So you're good to go without any
627
+ configuration or multiple region specific builds of your application. However, if you are aiming for the maximum
628
+ possible performance in China, you can configure which CDN the Porsche Design System must use. Please follow our
629
+ [CDN guidelines](https://designsystem.porsche.com/latest/performance/cdn) for more information.
630
+
631
+ #### New/optimized components
632
+
633
+ - **Tabs**
634
+ - **Tabs Bar**
635
+ - **Banner**
636
+ - **Modal**
637
+ - Headline
638
+ - Select
639
+ - Pagination
640
+ - Button
641
+ - Button Pure
642
+ - Link
643
+ - Link Pure
644
+ - Spinner
645
+ - Checkbox
646
+ - Radio Button
647
+
648
+ #### Improved TypeScript support for Angular and React
649
+
650
+ To ensure the best possible typing support, we have refactored our Angular and React wrappers which integrate the native
651
+ web components of the Porsche Design System.
652
+
653
+ #### componentsReady() works reliable
654
+
655
+ Because the Porsche Design System components get loaded async at the time they are needed, it might be relevant within
656
+ your application or test automation to know when those have been initialized. Therefore, we provide in all three
657
+ `@porsche-design-system/components-{js|angular|react}')` packages a reliable helper function `componentsReady()`.
658
+ [Read more about it](https://designsystem.porsche.com/latest/helpers/components-ready).
659
+
660
+ #### Removed "blur on focus"
661
+
662
+ Now focus styling is only applied when you navigate through keyboard and ignored by mouse interaction for browsers
663
+ supporting `:focus-visible` otherwise it will fallback to `:focus` CSS implementation.
664
+
665
+ #### Changed focus styling for a better compromise between accessibility and visual appearance
666
+
667
+ Color and outline of general focus styling has changed to `currentColor` for light/dark theme with an outline of 1px
668
+ width/offset. If you have custom components build with the usage of our `@porsche-design-system/utilities` package then
669
+ update it to the latest version (we also provide a focus
670
+ [SCSS mixin](https://designsystem.porsche.com/latest/utilities/scss/functions) and
671
+ [JS function](https://designsystem.porsche.com/latest/utilities/js/functions)).
672
+
673
+ #### Improved geometry of Porsche Next font
674
+
675
+ For better alignment and readability we've changed the geometry of the Porsche Next font which results in a visual
676
+ change of font size and spacing.
677
+
678
+ #### Dropped support for IE11 and EdgeHTML according to Porsche's official browser strategy 2021
679
+
680
+ If you still need to support these browsers, you have to stick to `v1.5.x`. We offer a Browser Notification package
681
+ `@porsche-design-system/browser-notification` to alert users that these browsers are no longer supported. It supports a
682
+ blocking layer (to be used with Porsche Design System `v2.x`), or a dismissible banner (to be used with Porsche Design
683
+ System `v1.x`). Please refer to our
684
+ [Browser compatibility guidelines](https://designsystem.porsche.com/latest/help/browser-compatibility).
685
+
686
+ #### Changed default type of Button and Button Pure
687
+
688
+ To be in sync with native `<button>` behavior we've changed the default `type` of **Button** and **Button Pure**
689
+ component. Those components will render a button within their Shadow DOM as `<button type="submit">` ( previously
690
+ `<button type="button">`).
691
+
692
+ - `submit`: The button submits the form data to the server. This is the default if the attribute is not specified for
693
+ buttons associated with a `<form>`, or if the attribute is an empty or invalid value.
694
+ - `button`: The button has no default behavior, and does nothing when pressed by default. It can have client-side
695
+ scripts listen to the element's events, which are triggered when the events occur.
696
+
697
+ #### Changed support for wrapped links around Link, Link Pure and Link Social component
698
+
699
+ Due to the support for setting links (`<a href="#">`) in our **Link**, **Link Pure** and **Link Social** components as
700
+ child, we've removed support for styling the anchor tag (`<a>`) when it surrounds the component. So we recommend
701
+ changing the position of the `<a>` tag from wrapping the component to a direct slot (child) of it.
702
+
703
+ ```diff
704
+ - <a href="#"><p-link>Some label</p-link></a>
705
+ + <p-link><a href="#">Some label</a></p-link>
706
+
707
+ - <a href="#"><p-link-pure>Some label</p-link-pure></a>
708
+ + <p-link-pure><a href="#">Some label</a></p-link-pure>
709
+
710
+ - <a href="#"><p-link-social>Some label</p-link-social></a>
711
+ + <p-link-social><a href="#">Some label</a></p-link-social>
712
+ ```
713
+
714
+ #### Automatic \* asterisk symbol to form field labels
715
+
716
+ We added an automatic generated _ asterisk symbol to form field labels which have the required attribute. This might
717
+ lead to a doubled _ symbol if you set one by yourself.
718
+
719
+ ```diff
720
+ - <p-text-field-wrapper label="Some label *"><input type="text" name="some-name" required /></p-text-field-wrapper>
721
+ + <p-text-field-wrapper label="Some label"><input type="text" name="some-name" required /></p-text-field-wrapper>
722
+
723
+ - <p-checkbox-wrapper label="Some label *"><input type="checkbox" name="some-name" required /></p-checkbox-wrapper>
724
+ + <p-checkbox-wrapper label="Some label"><input type="checkbox" name="some-name" required /></p-checkbox-wrapper>
725
+
726
+ - <p-radio-button-wrapper label="Some label *"><input type="radio" name="some-name" required /></p-radio-button-wrapper>
727
+ + <p-radio-button-wrapper label="Some label"><input type="radio" name="some-name" required /></p-radio-button-wrapper>
728
+
729
+ - <p-radio-button-wrapper label="Some label *"><input type="radio" name="some-name" required /></p-radio-button-wrapper>
730
+ + <p-radio-button-wrapper label="Some label"><input type="radio" name="some-name" required /></p-radio-button-wrapper>
731
+
732
+ - <p-textarea-wrapper label="Some label *"><textarea name="some-name" required></textarea></p-textarea-wrapper>
733
+ + <p-textarea-wrapper label="Some label"><textarea name="some-name" required></textarea></p-textarea-wrapper>
734
+
735
+ - <p-select-wrapper label="Some label *"><select name="some-name" required><option>A</option></select></p-select-wrapper>
736
+ + <p-select-wrapper label="Some label"><select name="some-name" required><option>A</option></select></p-select-wrapper>
737
+ ```
738
+
739
+ #### Shadow DOM
740
+
741
+ `Flex`, `Flex Item`, `Grid` and `Grid Item` now use Shadow DOM, thus you are not able to overwrite styles defined by
742
+ these components any longer.
743
+
744
+ ---
745
+
746
+ ## Angular
747
+
748
+ #### Integration of Angular components
749
+
750
+ In the past it was possible to provide a token called `PREVENT_WEB_COMPONENTS_REGISTRATION` which prevented the
751
+ registration of the Porsche Design System components and loading of polyfills. Due to the fact that we no longer provide
752
+ / need poly filling, we have completely removed the token. For advanced usage please
753
+ [read further](https://designsystem.porsche.com/latest/start-coding/angular).
754
+
755
+ ---
756
+
757
+ ## React
758
+
759
+ #### Integration of React components
760
+
761
+ In the past `@porsche-design-system/components-react` components have initialized the **Porsche Design System Loader**
762
+ automatically as soon as a component was imported. With `v2.x` you have to import the `PorscheDesignSystemProvider` once
763
+ in your `index.tsx` which then initializes the **Porsche Design System Loader**, e.g. like:
764
+
765
+ ```diff
766
+ // index.tsx
767
+
768
+ import ReactDOM from 'react-dom';
769
+ import { PorscheDesignSystemProvider } from '@porsche-design-system/components-react';
770
+ import { App } from './App';
771
+
772
+ ReactDOM.render(
773
+ <React.StrictMode>
774
+ + <PorscheDesignSystemProvider>
775
+ <App />
776
+ + </PorscheDesignSystemProvider>
777
+ </React.StrictMode>,
778
+ document.getElementById('root')
779
+ );
780
+ ```
781
+
782
+ For advanced usage please [read further](https://designsystem.porsche.com/latest/start-coding/react).
783
+
784
+ #### Jsdom Polyfill for React / Jest / jsdom test automation
785
+
786
+ We removed test mocks for React / Jest / jsdom as Shadow DOM is supported since jsdom v12.2.0. Instead, we provide a
787
+ Jsdom Polyfill (exclusivly for `@porsche-design-system/components-react` package) fixing missing implementation of jsdom
788
+ which the Porsche Design System relies on. **Note:** If your test includes Porsche Design System components, make sure
789
+ to wrap the component you want to test with a PorscheDesignSystemProvider in order to avoid exceptions. For more
790
+ information please [read further](https://designsystem.porsche.com/latest/start-coding/react).
791
+
792
+ ---
793
+
794
+ ## Vanilla JS
795
+
796
+ #### Integration of Vanilla JS components
797
+
798
+ With `v1.x` of the Porsche Design System you've had to copy all needed JS files of
799
+ `@porsche-design-system/components-js` into your target directory and include the ES5 and ESM loader snippet. Now you
800
+ only need to copy one `index.js` file and initialize the Porsche Design System like in the example below:
801
+
802
+ ```diff
803
+ <!DOCTYPE html>
804
+ <html lang="en">
805
+ <head>
806
+ <meta charset="utf-8">
807
+ <meta name="viewport" content="width=device-width,initial-scale=1.0">
808
+ <title>Porsche Design System</title>
809
+ - <script nomodule src="PATH/TO/PACKAGE/@porsche-design-system/components-js/dist/porsche-design-system/porsche-design-system.js"></script>
810
+ - <script type="module" src="PATH/TO/PACKAGE/@porsche-design-system/components-js/dist/porsche-design-system/porsche-design-system.esm.js"></script>
811
+ + <script src="PATH/TO/PACKAGE/@porsche-design-system/components-js/index.js"></script>
812
+ </head>
813
+ <body>
814
+ + <script type="text/javascript">
815
+ + porscheDesignSystem.load();
816
+ + </script>
817
+ <p-headline variant="headline-1">Some text</p-headline>
818
+ </body>
819
+ </html>
820
+ ```
821
+
822
+ For advanced usage please [read further](https://designsystem.porsche.com/latest/start-coding/vanilla-js).
823
+
824
+ ---
825
+
826
+ ### [2.0.0-rc.10] - 2021-04-12
827
+
828
+ #### Changed
829
+
830
+ - `Tabs` and `Tabs Bar` now respect dynamic additions / removals of `p-tabs-item`, `a` and `button` elements. Make sure
831
+ to update the `activeTabIndex` when mutating elements
832
+ - Improved performance of `Text`, `Button Pure` and `Link Pure` when `size` is not `inherit`
833
+
834
+ #### Added
835
+
836
+ - `Grid` now has a `wrap` and `gutter` property
837
+ - Components (`Grid Item`, `Flex Item`, `Tabs Item` and `Text List Item`) that require a specific parent (`Grid`, `Flex`
838
+ , `Tabs` and `Text List`) will now throw an error if used without that parent
839
+
840
+ #### Fixed
841
+
842
+ - Visual appearance of `Checkbox Wrapper` and `Radio Button Wrapper` reflect the state of the wrapped `input` element
843
+
844
+ ### [2.0.0-rc.9] - 2021-03-26
845
+
846
+ #### Added
847
+
848
+ - `Button Group` component
849
+ - Fullscreen property for `Modal` on mobile
850
+
851
+ #### Changed
852
+
853
+ - Spacings, heading and sizes of `Modal`
854
+
855
+ #### Fixed
856
+
857
+ - Prevent duplicate loading of `porsche-design-system.v2.x.HASH.js` chunk when using `getComponentChunkLinks()` partial
858
+
859
+ ### [2.0.0-rc.8] - 2021-03-17
860
+
861
+ #### Added
862
+
863
+ - Support for full height `Content Wrapper` with flex
864
+ - `Tabs Bar` now supports `undefined` as `activeTabIndex`
865
+
866
+ #### Changed
867
+
868
+ - `Tabs Bar` has a new default `activeTabIndex`, which is `undefined`
869
+ - `Tabs Bar` does not work by itself anymore. The `activeTabIndex` needs to be controlled from the outside
870
+ ([read more](https://designsystem.porsche.com/latest/components/tabs-bar/examples))
871
+ - Background Color of `Select Wrapper` in `dark` theme to meet accessibility criteria
872
+
873
+ ### [2.0.0-rc.7] - 2021-03-15
874
+
875
+ #### Fixed
876
+
877
+ - Make shadowed `Flex` and `Grid` work in Firefox + Safari
878
+
879
+ ### [2.0.0-rc.6] - 2021-03-11
880
+
881
+ #### Changed
882
+
883
+ - Make `Grid` and `Grid Item` use Shadow DOM
884
+ - Make `Flex` and `Flex Item` use Shadow DOM
885
+
886
+ ### [2.0.0-rc.5] - 2021-03-09
887
+
888
+ #### Added
889
+
890
+ - Configurable background color of `Content Wrapper`
891
+ - `italic` font-style in `Text` is now overridden with `normal`
892
+
893
+ #### Fixed
894
+
895
+ - Usage of `Select Wrapper` within custom elements
896
+ - A bug that caused `Spinner` to be displayed in a wrong size
897
+
898
+ ### [2.0.0-rc.4] - 2021-03-01
899
+
900
+ #### Changed
901
+
902
+ - Filter of `Select Wrapper` supports substring search
903
+
904
+ #### Fixed
905
+
906
+ - Build error in SSR
907
+
908
+ ### [2.0.0-rc.3] - 2021-02-17
909
+
910
+ #### Added
911
+
912
+ - React: utility function `skipCheckForPorscheDesignSystemProviderDuringTests`
913
+ - React: tree shaking for component wrappers
914
+
915
+ #### Fixed
916
+
917
+ - Angular: error in `Checkbox Wrapper`, `Radio Button Wrapper` and `Text Field Wrapper` when `input[type]` is bound
918
+
919
+ ### [2.0.0-rc.2] - 2021-02-12
920
+
921
+ #### Added
922
+
923
+ - Validate usage of `Checkbox Wrapper`, `Radio Button Wrapper`, `Select Wrapper`, `Text Field Wrapper` and
924
+ `Textarea Wrapper`
925
+
926
+ ### [2.0.0-rc.1] - 2021-02-04
927
+
928
+ #### Added
929
+
930
+ - Partial function `getComponentChunkLinks()` to preload Porsche Design System Components
931
+
932
+ #### Changed
933
+
934
+ - Added a space before asterisk (`*`) when `input`, `textarea` or `select` have `required` attribute within form wrapper
935
+ components
936
+ - Renamed partial `getFontLinks()` option from `weight` to `weights`
937
+
938
+ #### Fixed
939
+
940
+ - A bug in `Tabs Bar` where the nextButton was mistakenly rendered.
941
+ - A bug where `Icon` was not rendered when using `lazy` property.
942
+ - A bug in `Text Field Wrapper` with input type password where characters would overlap the icon.
943
+
944
+ ### [2.0.0-rc.0] - 2021-01-29
945
+
946
+ #### Added
947
+
948
+ - Link support for `Marque`
949
+ - Sizing options `'responsive' | 'small' | 'medium'` for `Marque`
950
+
951
+ #### Changed
952
+
953
+ - Angular: added static `load()` function `PorscheDesignSystemModule` for custom prefix
954
+ - Hide up/down spin button when using **Text Field** with `type="number"` in Firefox
955
+
956
+ #### Fixed
957
+
958
+ - Angular: typings
959
+ - React: correct handling of `ref` property
960
+ - Unhandled exception in `Select Wrapper` if `selected` and `disabled` attributes are set on the same option
961
+ - A bug in `Tabs Bar` where scrolling was broken when a tab was selected
962
+ - A bug in `Tabs Bar` where the `nextButton` was always rendered
963
+
964
+ ### [2.0.0-alpha.13] - 2021-01-26
965
+
966
+ #### Added
967
+
968
+ - Partial function `getFontLinks()` to prevent **Flash of Unstyled Text** (FOUT)
969
+
970
+ #### Fixed
971
+
972
+ - React: correct handling of `className` property
973
+
974
+ ### [2.0.0-alpha.12] - 2021-01-20
975
+
976
+ #### Added
977
+
978
+ - Partial function `getInitialStyles()` to prevent **Flash of Unstyled Content** (FOUC)
979
+ - Partial function `getFontFaceStylesheet()` to prevent **Flash of Unstyled Text** (FOUT)
980
+
981
+ #### Changed
982
+
983
+ - React: `PorscheDesignSystemProvider` needs to wrap application
984
+ - React: component props have to be camelCase
985
+ - React: `PorscheDesignSystemProvider` is needed while testing components
986
+
987
+ #### Fixed
988
+
989
+ - React: typings
990
+ - React: support of objects for property values
991
+
992
+ #### Removed
993
+
994
+ - React: `getPrefixedComponents`, prefixing is handled by `PorscheDesignSystemProvider`
995
+
996
+ ### [2.0.0-alpha.11] - 2021-01-08
997
+
998
+ #### Changed
999
+
1000
+ - Precision of relative line height
1001
+ - Changed color of `neutral contrast low`
1002
+
1003
+ ### [2.0.0-alpha.10] - 2020-12-14
1004
+
1005
+ #### Added
1006
+
1007
+ - `native` property to `Select Wrapper` to force rendering of native Browser select dropdown
1008
+ - Extended flexibility of `Headline`
1009
+
1010
+ #### Changed
1011
+
1012
+ - Some styling improvements of `Select Wrapper`
1013
+
1014
+ #### Fixed
1015
+
1016
+ - Jsdom Polyfill `fetch` error
1017
+
1018
+ ### [2.0.0-alpha.9] - 2020-12-09
1019
+
1020
+ ### Fixed
1021
+
1022
+ - Improved reliability of `componentsReady()`
1023
+
1024
+ #### Changed
1025
+
1026
+ - Jsdom Polyfill `console.warn` behaviour
1027
+
1028
+ ### [2.0.0-alpha.8] - 2020-12-03
1029
+
1030
+ ### Fixed
1031
+
1032
+ - A bug where `Modal` did not remove `overflow=hidden` on document body.
1033
+
1034
+ ### [2.0.0-alpha.7] - 2020-11-26
1035
+
1036
+ #### Added
1037
+
1038
+ - Jsdom Polyfill
1039
+
1040
+ #### Removed
1041
+
1042
+ - Jsdom Mocks
1043
+ - Global "blur on focus" script
1044
+
1045
+ #### Changed
1046
+
1047
+ - Default dropdown direction of `SelectWrapper` from `down` to `auto`
1048
+ - Made API of `Tabs` consistent with `Tabs Bar`
1049
+ - Removed transition for focus styling
1050
+ - Use `:focus-visible` as default and `:focus` as fallback for focusable elements
1051
+
1052
+ #### Fixed
1053
+
1054
+ - The Selected element of `SelectWrapper` dropdown keeps now in sync with native selection if changed programmatically
1055
+ - Invalid search results get cleared if `SelectWrapper` becomes focus state
1056
+ - Some bugs in `TabsBar`
1057
+ - Minification of dynamic slotted content styles
1058
+ - An issue where `Pagination` throws console errors if disconnected from dom.
1059
+
1060
+ ### [2.0.0-alpha.6] - 2020-10-28
1061
+
1062
+ #### Changed
1063
+
1064
+ - default `type` of `Button` and `Button Pure` to `submit`
1065
+
1066
+ #### Fixed
1067
+
1068
+ - Typings
1069
+
1070
+ ### [2.0.0-alpha.5] - 2020-10-26
1071
+
1072
+ #### Added
1073
+
1074
+ - `Modal` component
1075
+
1076
+ #### Fixed
1077
+
1078
+ - Typing for `pageChange` event of `Pagination` component
1079
+ - Typings
1080
+
1081
+ #### Changed
1082
+
1083
+ - Focus styling
1084
+
1085
+ ### [2.0.0-alpha.4] - 2020-10-14
1086
+
1087
+ #### Added
1088
+
1089
+ - Custom filter to `Select Wrapper` component
1090
+ - DropDown direction property to `Select Wrapper` component
1091
+ - Display `*` after label when `input`, `textarea` or `select` have `required` attribute within form wrapper components
1092
+ - `Tabs` component
1093
+ - `Tabs Bar` component
1094
+ - `Banner` component
1095
+
1096
+ #### Removed
1097
+
1098
+ - Default `position: relative;` style of `Link Pure` and `Button Pure`
1099
+
1100
+ #### Fixed
1101
+
1102
+ - `Spinner` zooming bug on Safari
1103
+
1104
+ ### [2.0.0-alpha.3] - 2020-09-11
1105
+
1106
+ #### Added
1107
+
1108
+ - Support to load assets from China CDN directly via browser flag: `PORSCHE_DESIGN_SYSTEM_CDN = 'cn';`
1109
+
1110
+ #### Removed
1111
+
1112
+ - Support for `<a>` wrapped `Link` and `Link Pure`
1113
+
1114
+ ### [2.0.0-alpha.2] - 2020-08-20
1115
+
1116
+ ### [2.0.0-alpha.1] - 2020-08-17
1117
+
1118
+ #### Changed
1119
+
1120
+ - Removed classnames dependency
1121
+ - Stencil Core `taskQueue` from `congestionAsync` to `async` for more performant component rendering
1122
+
1123
+ #### Fixed
1124
+
1125
+ - Focus input on label click of `Checkbox Wrapper` and `Radio Button Wrapper`
1126
+
1127
+ ### [1.5.6] - 2020-10-15
1128
+
1129
+ ### [1.5.6-rc.0] - 2020-10-13
1130
+
1131
+ ### Fixed
1132
+
1133
+ - `Spinner` zooming bug on Safari
1134
+
1135
+ ### [1.5.5] - 2020-09-11
1136
+
1137
+ ### [1.5.5-rc.0] - 2020-09-07
1138
+
1139
+ ### Changed
1140
+
1141
+ - Deprecated stencil lifecycle-method `componentDidUnload` to `disconnectedCallback` to fix "`selectObserver` is
1142
+ undefined" bug in `Select Wrapper` and `Pagination`
1143
+
1144
+ ### [1.5.4] - 2020-08-25
1145
+
1146
+ ### [1.5.4-rc.0] - 2020-08-17
1147
+
1148
+ #### Changed
1149
+
1150
+ - Removed classnames dependency
1151
+ - Stencil Core `taskQueue` from `congestionAsync` to `async` for more performant component rendering
1152
+
1153
+ #### Fixed
1154
+
1155
+ - Focus input on label click of `Checkbox Wrapper` and `Radio Button Wrapper`
1156
+ - Fix typings for `orientation` of `Divider` component
1157
+
1158
+ ### [2.0.0-alpha.0] - 2020-08-06
1159
+
1160
+ #### Added
1161
+
1162
+ - **Experimental:** Optional web component scoping mechanism during runtime to enable micro service architecture
1163
+
1164
+ #### Changed
1165
+
1166
+ - Web components get lazy loaded from central CDN to improve caching strategy across Porsche's digital eco system
1167
+
1168
+ #### Removed
1169
+
1170
+ - Stop browser support for **IE11** and **EdgeHTML**
1171
+
1172
+ #### Fixed
1173
+
1174
+ - Mix of `Optgroups` and `Options` on same level in `Select Wrapper` component
1175
+ - Fix typings for `orientation` of `Divider` component
1176
+
1177
+ ### [1.5.3] - 2020-08-10
1178
+
1179
+ ### [1.5.3-rc.0] - 2020-08-10
1180
+
1181
+ #### Fixed
1182
+
1183
+ - Mix of `Optgroups` and `Options` on same level in `Select Wrapper` component
1184
+
1185
+ ### [1.5.2] - 2020-07-22
1186
+
1187
+ #### Fixed
1188
+
1189
+ - Dispatch change event in `Select Wrapper`
1190
+ - Stencil react-output-target SSR Bug
1191
+
1192
+ ### [1.5.1] - 2020-07-20
1193
+
1194
+ #### Fixed
1195
+
1196
+ - SVGO settings for icons
1197
+ - Angular bug which causes `ngcc` to fail
1198
+
1199
+ ### [1.5.0] - 2020-07-16
1200
+
1201
+ #### Added
1202
+
1203
+ - Icons (active-cabin-ventilation, battery-full, bell, bookmark, car-battery, charging-active, charging-state, climate,
1204
+ climate-control, garage, horn, key, map, parking-brake, parking-light, preheating, send, shopping-bag, sidelights,
1205
+ user-manual, wrenches)
1206
+
1207
+ #### Changed
1208
+
1209
+ - Icons (arrow-first, arrow-last, battery-empty, car, card, charging-station, question)
1210
+
1211
+ #### Fixed
1212
+
1213
+ - Porsche Marque images
1214
+
1215
+ ### [1.5.0-rc.2] - 2020-07-06
1216
+
1217
+ ### [1.5.0-rc.1] - 2020-07-06
1218
+
1219
+ #### Added
1220
+
1221
+ - **Notification Neutral** color to `color` property of `p-text` and `p-icon`
1222
+
1223
+ ### [1.5.0-rc.0] - 2020-06-25
1224
+
1225
+ #### Added
1226
+
1227
+ - `Fieldset Wrapper` component
1228
+ - Improved SEO of `p-headline` and `p-text`: Added possibility to write semantic HTML tags (e.g. `<h1>-<h6>` or `<p>` ,
1229
+ `<blockquote>`, etc.) directly as slotted content.
1230
+ - Possibility to include anchor tags directly as slots of `Link`, `Link Pure` and `Link Social`
1231
+ - `Text` new `weight` property `semibold`
1232
+ - `Button Pure` label with subline pattern as slot
1233
+ - `Link Pure` label with subline pattern as slot
1234
+
1235
+ #### Changed
1236
+
1237
+ - `Select Wrapper` is now ready for the catwalk. It is dressed now with a custom drop down list box and gets naked by
1238
+ default on touch devices.
1239
+
1240
+ #### Fixed
1241
+
1242
+ - Minor accessibility improvements of `icons` and `Text Field`
1243
+ - Remove native number spinner buttons of `Text Field` with type text for Firefox
1244
+ - An issue with `Button` and `Button Pure` and their `disabled` attribute
1245
+
1246
+ ### [1.4.0] - 2020-05-14
1247
+
1248
+ ### [1.4.0-rc.3] - 2020-05-08
1249
+
1250
+ #### Added
1251
+
1252
+ - `Text List`
1253
+
1254
+ #### Changed
1255
+
1256
+ - Improve caching strategy for fonts by content-based hash
1257
+ - Improve caching strategy for marque by content-based hash
1258
+ - Dimensions and sharpness of marque
1259
+ - Props for `Content Wrapper`
1260
+
1261
+ ### [1.4.0-rc.2] - 2020-05-06
1262
+
1263
+ #### Added
1264
+
1265
+ - `Content Wrapper`
1266
+ - Description property to `p-text-field-wrapper`, `p-textarea-wrapper` and `p-select-wrapper`
1267
+ - `Link Social`
1268
+
1269
+ #### Changed
1270
+
1271
+ - Improve accessibility of error and success states of form elements
1272
+ - Aria-invalid attribute of form elements if they are in error state is now managed by component
1273
+ - Rename icon name `configure` to `configurate` (prevents breaking change compared to stable v1.3.0)
1274
+ - Improve `p-icon` loading behavior
1275
+
1276
+ #### Fixed
1277
+
1278
+ - Display of wrong icons
1279
+
1280
+ #### Removed
1281
+
1282
+ - `safe-zone` property of `p-grid` (`Content Wrapper` should be used instead)
1283
+
1284
+ ### [1.4.0-rc.1] - 2020-04-27
1285
+
1286
+ #### Added
1287
+
1288
+ - Add `safe-zone` property to `p-grid` for outer grid margin, max-width and centering
1289
+ - Submit button with search icon to `p-textfield-wrapper` type search
1290
+ - Test-Projects React, Angular, Gatsby and NextJS
1291
+
1292
+ #### Changed
1293
+
1294
+ - Background color of readonly state in components `p-textfield-wrapper` and `p-textarea-wrapper`
1295
+ - Visual appearance of icons
1296
+ - Improve caching strategy for icons by content-based hash
1297
+ - Cursor of Radio, Checkbox and Select
1298
+ - Fixed naming of Mock from `p-textfield-wrapper` to `p-text-field-wrapper`
1299
+
1300
+ #### Fixed
1301
+
1302
+ - Icon loading mechanism
1303
+
1304
+ ### [1.4.0-rc.0] - 2020-04-09
1305
+
1306
+ #### Added
1307
+
1308
+ - SSR support
1309
+
1310
+ ### [1.3.0] - 2020-04-08
1311
+
1312
+ #### Added
1313
+
1314
+ - New headline size `headline-5` to `p-headline`
1315
+ - Test Mocks
1316
+
1317
+ #### Fixed
1318
+
1319
+ - Text styling of Select component on focus in IE11 and Chrome on Windows 10
1320
+
1321
+ ### [1.3.0-rc.0] - 2020-04-03
1322
+
1323
+ #### Fixed
1324
+
1325
+ - Improve form elements
1326
+
1327
+ ### [1.2.0] - 2020-03-25
1328
+
1329
+ #### Added
1330
+
1331
+ - `Divider`
1332
+ - Hover state for form elements
1333
+
1334
+ #### Fixed
1335
+
1336
+ - Support label text of form elements for Screen readers
1337
+
1338
+ ### [1.1.2] - 2020-03-17
1339
+
1340
+ #### Changed
1341
+
1342
+ - Notification colors
1343
+
1344
+ ### [1.1.1] - 2020-03-13
1345
+
1346
+ #### Changed
1347
+
1348
+ - Icon of `Checkbox` indeterminate state
1349
+
1350
+ ### [1.1.0] - 2020-03-11
1351
+
1352
+ #### Fixed
1353
+
1354
+ - Minor improvements
1355
+
1356
+ ### [1.1.0-rc.0] - 2020-03-02
1357
+
1358
+ #### Added
1359
+
1360
+ - `Select Wrapper`
1361
+ - `Checkbox Wrapper`
1362
+ - `Radio Button Wrapper`
1363
+ - `Textarea Wrapper`
1364
+
1365
+ #### Fixed
1366
+
1367
+ - `Text Field Wrapper` toggle password visibility
1368
+
1369
+ ### [1.0.3] - 2020-02-13
1370
+
1371
+ #### Fixed
1372
+
1373
+ - JS framework compatibility
1374
+
1375
+ ### [1.1.0-0] - 2020-02-06
1376
+
1377
+ #### Added
1378
+
1379
+ - `Text Field Wrapper`
1380
+
1381
+ #### Changed
1382
+
1383
+ - Add proper cursor for disabled state for `Button` and `Button Pure`
1384
+
1385
+ ### [1.0.2] - 2020-02-04
1386
+
1387
+ #### Fixed
1388
+
1389
+ - Inheritable styling of slotted content
1390
+
1391
+ ### [1.0.1] - 2020-01-30
1392
+
1393
+ #### Added
1394
+
1395
+ - Clickable area of `Link Pure` and `Button Pure` is optionally configurable by defining padding on host element
1396
+
1397
+ ### [1.0.0] - 2020-01-28
1398
+
1399
+ #### Added
1400
+
1401
+ - Cursor pointer on hover for `Button` and `Button Pure`
1402
+ - Line-height gets calculated based on Porsche type-scaling formula automatically for `Text`, `Link Pure` and
1403
+ `Button Pure`
1404
+ - Test helper function `componentsReady()` which indicates when lazy loaded components fully have loaded
1405
+
1406
+ #### Changed
1407
+
1408
+ - Update CDN asset paths
1409
+ - Improve font-weight definitions
1410
+ - Rename and optimize neutral colors for `Icon` and `Text`
1411
+
1412
+ ### [1.0.0-rc.1] - 2019-12-13
1413
+
1414
+ #### Added
1415
+
1416
+ - `Headline`
1417
+ - `Text`
1418
+ - `Marque`
1419
+ - `Button`
1420
+ - `Button Pure`
1421
+ - `Spinner`
1422
+ - `Icon`
1423
+ - `Flex`
1424
+ - `Grid`
1425
+ - `Link`
1426
+ - `Link Pure`
1427
+ - `Pagination`
1428
+ - "Blur on focus"