diff --git a/CHANGELOG.md b/CHANGELOG.md index 2940ed8bea..86dfed8728 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,192 @@ 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.51.0](https://github.com/mbleuer/lyne-components/compare/v0.50.2...v0.51.0) (2024-04-22) + + +### ⚠ BREAKING CHANGES + +* The entry points for the `@sbb-esta/lyne-components` have changed from extension-less to including the extension (e.g. `@sbb-esta/lyne-components/button` to `@sbb-esta/lyne-components/button.js`). +* **sbb-dialog:** The `sbb-dialog` component now needs the dedicated inner elements `sbb-dialog-title`, `sbb-dialog-content`, and `sbb-dialog-actions`. Use these components to respectively provide a title, a content and, optionally, a footer with an action group. Moreover, the full-screen variant (which occurred when no title was provided to the dialog) has been removed. To achieve a full-screen overlay, please use the new `sbb-overlay` component. As a migration help, consider the following example. Old: ```

Dialog content.

...
```. New: ```Title

Dialog content

...
```. Previously, a full-screen dialog was displayed if no title was provided to the dialog component: ```

Dialog content.

```. To achieve the same, it is now mandatory to use the `sbb-overlay` component: ```

Overlay content.

```. +* Changed several internal class names. Consumers shouldn't be affected. +* **sbb-form-field:** The css var `--sbb-form-field-height` has been renamed to `--sbb-form-field-min-height`. +* **sbb-form-field:** `label` property and attribute of `` was removed. Use `