|
1 | 1 | # @swisspost/design-system-components |
2 | 2 |
|
| 3 | +## 10.0.0-next.56 |
| 4 | + |
| 5 | +### Major Changes |
| 6 | + |
| 7 | +- Updated `post-header` to prevent unnecessary h-tags. An h-tag can now only be used for the header title in microsite or one-page variants, other elements no longer use h-tags. (by [@alizedebray](https://github.com/alizedebray) with [#6693](https://github.com/swisspost/design-system/pull/6693)) |
| 8 | + |
| 9 | +### Patch Changes |
| 10 | + |
| 11 | +- Fixed console error "Cannot read properties of undefined" appearing when using the `post-stepper` component. (by [@alionazherdetska](https://github.com/alionazherdetska) with [#6685](https://github.com/swisspost/design-system/pull/6685)) |
| 12 | + |
| 13 | +- Added High Contrast border around the arrow element used in tooltip and popover components. (by [@myrta2302](https://github.com/myrta2302) with [#6623](https://github.com/swisspost/design-system/pull/6623)) |
| 14 | +- Updated dependencies: |
| 15 | + - @swisspost/design-system-icons@10.0.0-next.56 |
| 16 | + - @swisspost/design-system-styles@10.0.0-next.56 |
| 17 | + |
3 | 18 | ## 10.0.0-next.55 |
4 | 19 |
|
5 | 20 | ### Major Changes |
|
269 | 284 | - Updated `post-tooltip-trigger` and `post-menu-trigger` components to prevent errors when they do not contain an internal HTML element. (by [@myrta2302](https://github.com/myrta2302) with [#5591](https://github.com/swisspost/design-system/pull/5591)) |
270 | 285 |
|
271 | 286 | - Improved URL handling in `post-icon` component: |
272 | | - |
273 | 287 | - Enhanced URL construction to properly handle both absolute and relative URLs |
274 | 288 | - Fixed slug detection to correctly identify root paths ("/") as valid slugs |
275 | 289 | - Maintained priority order for URL sources: base property > base tag > data-post-icon-base meta attribute (by [@schaertim](https://github.com/schaertim) with [#5109](https://github.com/swisspost/design-system/pull/5109)) |
|
301 | 315 | - Improved `post-header` component responsive behavior for better mobile and desktop experience. Removed `postUpdateDevice` event as part of internal refactoring - if you were listening to this event in your application, you'll need to remove those event listeners. Fixed a bug causing the `post-mainnavigation` to misplace after resizing from tablet to desktop and then back to tablet. (by [@alionazherdetska](https://github.com/alionazherdetska) with [#5490](https://github.com/swisspost/design-system/pull/5490)) |
302 | 316 |
|
303 | 317 | - Updated the following props to be `required`: |
304 | | - |
305 | 318 | - `post-breadcrumbs`: `homeUrl` is now required. |
306 | 319 | - `post-collabpsible-trigger`: `for` is now required. |
307 | 320 | - `post-language-switch`: `caption` and `description` are now required. |
308 | 321 | - `post-tab-header`: `panel` is now required. |
309 | 322 | - `post-tab-panel`: `name` is now required. (by [@myrta2302](https://github.com/myrta2302) with [#5469](https://github.com/swisspost/design-system/pull/5469)) |
310 | 323 |
|
311 | 324 | - Added the styles responsible for preventing fouc (flashes of unstyled content) for web-, angular- and react-components in the respective component packages: |
312 | | - |
313 | 325 | - `@swisspost/design-system-components/post-components/post-components.css` |
314 | 326 | - `@swisspost/design-system-components-angular/post-components.css` |
315 | 327 | - `@swisspost/design-system-components-react/post-components.css` (by [@oliverschuerch](https://github.com/oliverschuerch) with [#5165](https://github.com/swisspost/design-system/pull/5165)) |
|
327 | 339 | - Replaced thrown errors with console.errors for all property checker functions. (by [@myrta2302](https://github.com/myrta2302) with [#5471](https://github.com/swisspost/design-system/pull/5471)) |
328 | 340 |
|
329 | 341 | - Updated the following props to be `optional`: |
330 | | - |
331 | 342 | - `post-banner`: `dismissLabel`, `icon` |
332 | 343 | - `post-card-control`: `description` |
333 | 344 | - `post-language-option`: `active`, `name`, `url`, `variant` |
|
336 | 347 | - `post-tag`: `variant` |
337 | 348 |
|
338 | 349 | Updated prop type: |
339 | | - |
340 | 350 | - `post-card-control`: `validity` type changed to boolean. (by [@myrta2302](https://github.com/myrta2302) with [#5469](https://github.com/swisspost/design-system/pull/5469)) |
341 | 351 |
|
342 | 352 | - Updated dependencies: |
|
356 | 366 | ### Major Changes |
357 | 367 |
|
358 | 368 | - Prefixed all CSS custom variables with `post`: |
359 | | - |
360 | 369 | - `--global-header-top` is now `--post-global-header-top` |
361 | 370 | - `--local-header-top` is now `--post-local-header-top` |
362 | 371 | - `--logo-height` is now `--post-logo-height` |
|
1110 | 1119 | ### Major Changes |
1111 | 1120 |
|
1112 | 1121 | - Synchronized the versions of the following packages: |
1113 | | - |
1114 | 1122 | - @swisspost/design-system-styles |
1115 | 1123 | - @swisspost/design-system-components |
1116 | 1124 | - @swisspost/design-system-components-react |
|
1122 | 1130 | This will help understanding the dependencies between these packages at a glance but also means that for the individual pacakges, semver is no longer being used. This enables us also to talk about and document Design System versions as a whole instead of documenting the fragmented versions in a complex lookup table. (by [@gfellerph](https://github.com/gfellerph) with [#2856](https://github.com/swisspost/design-system/pull/2856)) |
1123 | 1131 |
|
1124 | 1132 | - Updated the package entry properties in the package.json to the by stencil recommended files: |
1125 | | - |
1126 | 1133 | - Updated the `main` property from `loader/index.cjs.js` to `dist/index.cjs.js` |
1127 | 1134 | - Updated the `module` property from `loader/index.js` to `dist/loader.js` |
1128 | 1135 | - Updated the `types` property from `loader/index.d.ts` to `dist/types/index.d.ts` |
|
1157 | 1164 |
|
1158 | 1165 | - Updated Sass color variables: - Removed variables `$success-green`, `$error-red`, `$warning-orange`, `$success-text`, `$error-text`, `$danger` as well as the Sass map `$contextual-colors`. |
1159 | 1166 | Instead use the variables `$success`, `$error`, `$warning` and the Sass map `$signal-colors`. |
1160 | | - |
1161 | 1167 | - Updated the Sass map `$signal-colors` keys and added a new Sass map `$signal-background-colors`. |
1162 | 1168 | - Updated the Sass map `$background-colors` and all the dependant packages accordingly. |
1163 | 1169 |
|
|
0 commit comments