|
1 | 1 | # @swisspost/design-system-components |
2 | 2 |
|
| 3 | +## 9.0.0-next.34 |
| 4 | + |
| 5 | +### Minor Changes |
| 6 | + |
| 7 | +- Added a new utility, to distinguish between server and client environment. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#5160](https://github.com/swisspost/design-system/pull/5160)) |
| 8 | + |
| 9 | +- Adjusted the collapse animation to be compatible with server-side rendering (SSR). (by [@oliverschuerch](https://github.com/oliverschuerch) with [#5182](https://github.com/swisspost/design-system/pull/5182)) |
| 10 | + |
| 11 | +- Enabled server-side rendering for the `post-popover` and the `post-tooltip` components, ensuring no hydration errors occur on the client side. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#5166](https://github.com/swisspost/design-system/pull/5166)) |
| 12 | + |
| 13 | +- Made `post-linkarea` a shadow component to avoid hydration errors when used in a server-side rendered environment. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#5156](https://github.com/swisspost/design-system/pull/5156)) |
| 14 | + |
| 15 | +- Made `post-close-button` a shadow component. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#5151](https://github.com/swisspost/design-system/pull/5151)) |
| 16 | + |
| 17 | +- Made `post-collapsible-trigger` a shadow component to avoid hydration errors when used in a server-side rendered environment. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#5168](https://github.com/swisspost/design-system/pull/5168)) |
| 18 | + |
| 19 | +- Enabled server-side rendering for the `post-icon` component, ensuring no hydration errors occur on the client side. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#5170](https://github.com/swisspost/design-system/pull/5170)) |
| 20 | + |
| 21 | +- Made utilities SSR conform. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#5166](https://github.com/swisspost/design-system/pull/5166)) |
| 22 | + |
| 23 | +### Patch Changes |
| 24 | + |
| 25 | +- Resolved an issue with the `post-footer` component to ensure event bindings are correctly removed when the component is detached. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#5173](https://github.com/swisspost/design-system/pull/5173)) |
| 26 | + |
| 27 | +- Enhanced the `for` property of the `post-menu-trigger` component to ensure it stays synchronized in the DOM whenever it changes, enabling compatibility with `querySelector` and similar methods. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#5157](https://github.com/swisspost/design-system/pull/5157)) |
| 28 | + |
| 29 | +- Fixed update flow for `post-collapsible` and `post-collapsible-trigger` aria attributes. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#5168](https://github.com/swisspost/design-system/pull/5168)) |
| 30 | + |
| 31 | +- Fixed `post-header` component `version` attribute. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#5152](https://github.com/swisspost/design-system/pull/5152)) |
| 32 | + |
| 33 | +- Enhanced the `label` property of the `post-card-control` component to ensure it stays synchronized in the DOM whenever it changes, enabling compatibility with `querySelector` and similar methods. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#5150](https://github.com/swisspost/design-system/pull/5150)) |
| 34 | + |
| 35 | +- Enabled server-side rendering for the `post-popovercontainer` component, ensuring no hydration errors occur on the client side. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#5161](https://github.com/swisspost/design-system/pull/5161)) |
| 36 | + |
| 37 | +- Refactored the `post-language-switch` component to remove redundant update functions and unnecessary slot event handling. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#5184](https://github.com/swisspost/design-system/pull/5184)) |
| 38 | + |
| 39 | +- Updated `post-header` by moving `handleScrollEvent` from `connectedCallback` to `componentWillRender`. Added fallback value to the `--post-header-scroll-top` property within the `--logo-height` calculation. (by [@myrta2302](https://github.com/myrta2302) with [#5268](https://github.com/swisspost/design-system/pull/5268)) |
| 40 | + |
| 41 | +- Enhanced the `label` property of the `post-back-to-top` component to ensure it stays synchronized in the DOM whenever it changes, enabling compatibility with `querySelector` and similar methods. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#5149](https://github.com/swisspost/design-system/pull/5149)) |
| 42 | + |
| 43 | +- Enhanced the `panel` property of the `post-tab-header` component and the `name` property of the `post-tab-panel` component, to ensure they stay synchronized in the DOM whenever they change, enabling compatibility with `querySelector` and similar methods. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#5158](https://github.com/swisspost/design-system/pull/5158)) |
| 44 | + |
| 45 | +- Added the `reflect: true` option to the `post-avatar` component property `firstname` to prepare the component for the next stencil update. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#5148](https://github.com/swisspost/design-system/pull/5148)) |
| 46 | + |
| 47 | +- Refactored the `post-mainnavigation` component to handle overflow using native scroll. (by [@alizedebray](https://github.com/alizedebray) with [#4948](https://github.com/swisspost/design-system/pull/4948)) |
| 48 | +- Updated dependencies: |
| 49 | + - @swisspost/design-system-icons@9.0.0-next.34 |
| 50 | + - @swisspost/design-system-styles@9.0.0-next.34 |
| 51 | + |
3 | 52 | ## 9.0.0-next.33 |
4 | 53 |
|
5 | 54 | ### Minor Changes |
|
0 commit comments