Skip to content

Commit

Permalink
chore(main): release 0.52.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Jun 5, 2024
1 parent fde1700 commit a6f9fae
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 1 deletion.
54 changes: 54 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,60 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [0.52.0](https://github.com/sbb-design-systems/lyne-components/compare/v0.51.1...v0.52.0) (2024-06-05)


### ⚠ BREAKING CHANGES

* The half-public data-now attribute has become a public `now` property that can be used to set time or date-based components into a specific state, especially for testing purposes.
- `sbb-calendar`, `sbb-datepicker`, `sbb-timetable-row`, `sbb-journey-summary`, `sbb-pearl-chain`, `sbb-pearl-chain-time`: change the attribute `data-now` to `now`. The property `now` can be a Date or Unix timestamp. If you had a timestamp in milliseconds before, please divide by 1000 to get seconds.
- `sbb-clock`: change the attribute `data-now` to `now`. The property `now` has to be in the format "HH:MM:SS".
* `Lyne components` and `Lyne components react` libraries have been renamed, please update imports accordingly.
- `@sbb-esta/lyne-components` => `@sbb-esta/lyne-elements`
- `@sbb-esta/lyne-components-react` => `@sbb-esta/lyne-react`
The following components, and their react wrappers, have been moved into `@sbb-esta/lyne-elements-experimental` and `@sbb-esta/lyne-react-experimental` respectively:
- sbb-journey-summary
- sbb-pearl-chain
- sbb-pearl-chain-time
- sbb-pearl-chain-vertical
- sbb-pearl-chain-vertical-item
- sbb-timetable-duration
- sbb-timetable-row
* **sbb-link:** Due to screen reader limitations, we had to move the `link` role inside the Shadow DOM. Therefore, for the following components, replace the `[aria-label]` usages with `[accessibility-label]` attribute or `accessibilityLabel` property:
- `sbb-breadcrumb`
- `sbb-button-link`, `sbb-secondary-button-link`, `sbb-tertiary-button-link`, `sbb-transparent-button-link`
- `sbb-card-link`
- `sbb-header-link`
- `sbb-link`, `sbb-block-link`
- `sbb-menu-link`
- `sbb-navigation-link`
- `sbb-teaser`, `sbb-teaser-hero`, `sbb-teaser-paid`

### Features

* add 'now' property instead of data-now attribute ([#2674](https://github.com/sbb-design-systems/lyne-components/issues/2674)) ([94c25b1](https://github.com/sbb-design-systems/lyne-components/commit/94c25b1b84250ea39f07ea3c6efa38a1c9c74e39))
* **journey-header:** add size s ([#2656](https://github.com/sbb-design-systems/lyne-components/issues/2656)) ([610ef3a](https://github.com/sbb-design-systems/lyne-components/commit/610ef3af31a161fadbc7202f54dc49a95c1fd3f4))
* **sbb-lead-container:** initial implementation ([#2672](https://github.com/sbb-design-systems/lyne-components/issues/2672)) ([bb1f3a8](https://github.com/sbb-design-systems/lyne-components/commit/bb1f3a850291b533491563feca207cadcbd08a9d))
* **sbb-popover:** change close button size ([#2688](https://github.com/sbb-design-systems/lyne-components/issues/2688)) ([1f259be](https://github.com/sbb-design-systems/lyne-components/commit/1f259beb31d09a185803f3b24e418489376c3bce))
* **sbb-tab-group:** add size s variant ([#2683](https://github.com/sbb-design-systems/lyne-components/issues/2683)) ([c00aa58](https://github.com/sbb-design-systems/lyne-components/commit/c00aa58add944e30ad74a99e5058860b9d263251))
* **sbb-tag, sbb-tag-group:** add size s variant ([#2664](https://github.com/sbb-design-systems/lyne-components/issues/2664)) ([6291bdc](https://github.com/sbb-design-systems/lyne-components/commit/6291bdcf62c7b5cecbd60296841a4dbd2e1b852b))


### Bug Fixes

* prevent stack overflow with attribute changes ([#2661](https://github.com/sbb-design-systems/lyne-components/issues/2661)) ([4b382ed](https://github.com/sbb-design-systems/lyne-components/commit/4b382ede1942ecf09fce323e2a57b7fac437d064))
* **sbb-alert:** improve SSR hydration support ([#2650](https://github.com/sbb-design-systems/lyne-components/issues/2650)) ([1b09429](https://github.com/sbb-design-systems/lyne-components/commit/1b094291be6e03516bd4e41555c05fe2c6fa46c3))
* **sbb-block-link:** always show underline except for footer links ([#2705](https://github.com/sbb-design-systems/lyne-components/issues/2705)) ([5fbedd2](https://github.com/sbb-design-systems/lyne-components/commit/5fbedd2b05a0b88e05e156b168409f8a741860f5))
* **sbb-button:** fix gap between icon and text for size s ([#2678](https://github.com/sbb-design-systems/lyne-components/issues/2678)) ([38efbd8](https://github.com/sbb-design-systems/lyne-components/commit/38efbd86161f1bb59a66512c054543bfcf62bac2))
* **sbb-image:** render URL correctly with SSR ([#2712](https://github.com/sbb-design-systems/lyne-components/issues/2712)) ([fde1700](https://github.com/sbb-design-systems/lyne-components/commit/fde17007f0391fdf7cd6f1512477a8a67b65a1b6))
* **sbb-link:** fix accessibility by inlining link functionality into Shadow DOM ([52344e9](https://github.com/sbb-design-systems/lyne-components/commit/52344e95138a622b2fa3012b7f13963002fde0de))
* **sbb-radio-button:** fix checked initialization ([#2692](https://github.com/sbb-design-systems/lyne-components/issues/2692)) ([abdaf43](https://github.com/sbb-design-systems/lyne-components/commit/abdaf43389ac19f590b5b0326cc8783166bc243d))


### Code Refactoring

* rename `lyne-components` into `lyne-elements` and create `lyne-elements-experimental` ([edd3a73](https://github.com/sbb-design-systems/lyne-components/commit/edd3a730ee09d2ca3e54f77c6e1510ff83789ec9))

## [0.51.1](https://github.com/sbb-design-systems/lyne-components/compare/v0.51.0...v0.51.1) (2024-05-08)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sbb-esta/lyne-elements",
"version": "0.51.1",
"version": "0.52.0",
"description": "Lyne Design System",
"keywords": [
"design system",
Expand Down

0 comments on commit a6f9fae

Please sign in to comment.