Skip to content

v0.50.0

Compare
Choose a tag to compare
@github-actions github-actions released this 11 Apr 13:57
fab38ba

0.50.0 (2024-04-11)

⚠ 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: <sbb-dialog title-content="Title"><p>Dialog content.</p><sbb-action-group slot="action-group">...</sbb-action-group></sbb-dialog>. New: <sbb-dialog><sbb-dialog-title>Title</sbb-dialog-title><sbb-dialog-content><p>Dialog content</p></sbb-dialog-content><sbb-dialog-actions>...</sbb-dialog-actions></sbb-dialog>. Previously, a full-screen dialog was displayed if no title was provided to the dialog component: <sbb-dialog><p>Dialog content.</p></sbb-dialog>. To achieve the same, it is now mandatory to use the sbb-overlay component: <sbb-overlay><p>Overlay content.</p></sbb-overlay>.
  • 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.

Features

Bug Fixes

  • fix boolean handling in react wrapper (#2547) (e4ba04b)
  • sbb-calendar: align month view label (#2564) (0215e00)
  • sbb-dialog: fix accessibility with option to hide the header on scroll (159f536)
  • sbb-dialog: fix z-index (#2572) (374d7b7)
  • sbb-form-error: fix internal css variable name (#2558) (cc275af)
  • set colspan properly (0215e00)
  • use valid import/export syntax (#2563) (585cfc5)

Code Refactoring