Skip to content

Releases: sbb-design-systems/lyne-components

v1.4.0

16 Jul 14:08
4f1f482
Compare
Choose a tag to compare

1.4.0 (2024-07-16)

Features

  • sbb-autocomplete-grid: component implementation (#2512) (0fc5f40)
  • sbb-image: provide ability to crop image on host (#2917) (84a7cf7)
  • sbb-radio-button, sbb-radio-button-group: add size xs (#2936) (7237dce)

Bug Fixes

  • sbb-checkbox, sbb-checkbox-panel: fix visual disabled state after prop change (#2906) (36999a9), closes #2905
  • sbb-container, sbb-tab-group: avoid reserving invisible space (#2921) (edec173), closes #2835
  • sbb-map-container: remove z-index to avoid stacking problems (#2924) (bf27c10), closes #2804
  • sbb-radio-button-panel: fix spacing between label and suffix (#2900) (c76a0ac)

v1.3.0

08 Jul 06:35
59efc09
Compare
Choose a tag to compare

1.3.0 (2024-07-08)

Features

  • sbb-datepicker: add support for DateAdapter (#2889) (4d9973e)

Bug Fixes

  • sbb-button: fix high contrast styles (#2890) (8f9237c)
  • sbb-form-field: ensure input element is detected during hydration (#2894) (9519827), closes #2877
  • sbb-map-container: respect disabled global animation (#2879) (d5e52e3)
  • sbb-notification: avoid resizeObserver loop warning (#2855) (6222b25)
  • sbb-popover: prevent matchMedia call before hydration (#2893) (c5bbb96), closes #2875
  • various: ensure slotchange event is handled properly in hydration (#2897) (9b5f498)

v1.2.1

27 Jun 13:27
75c0231
Compare
Choose a tag to compare

1.2.1 (2024-06-27)

Bug Fixes

  • ensure slotchange events are handled correctly in hydration (#2850) (06112a4)
  • missing async/await in tests (#2849) (14dcef4)
  • sbb-clock: treat a specific date consistently (#2838) (4ffa4bc)
  • sbb-visual-checkbox: fix high contrast mode of indeterminate state (#2845) (f7e5adb)

v1.2.0

26 Jun 07:40
9465a63
Compare
Choose a tag to compare

1.2.0 (2024-06-26)

Features

  • sbb-timetable-row: enhance trip status and display logic (#2680) (6e0424f)

v1.1.0

26 Jun 07:32
fed492a
Compare
Choose a tag to compare

Unfortunately, this release failed. This release entry is primarily to preserve the correct history. We will soon release a new version.

1.1.0 (2024-06-25)

Features

  • sbb-table-wrapper: initial implementation (#2715) (d6aaf68)

Bug Fixes

v1.0.0

17 Jun 10:34
4daf236
Compare
Choose a tag to compare

1.0.0 (2024-06-17)

Miscellaneous Chores

First Stable Release 🍾

This is our first stable release. We would like to take this moment to thank everyone involved in this project. Without your efforts, this would not have been possible.

Core Maintainers

Contributors

Founders

v0.53.0

17 Jun 08:53
9b59032
Compare
Choose a tag to compare

0.53.0 (2024-06-17)

⚠ BREAKING CHANGES

  • sbb-teaser-hero, sbb-teaser-paid: sbb-teaser-hero and sbb-teaser-paid are now part of the @sbb-esta/lyne-elements-experimental package.
  • sbb-tab: the sbb-tab-title component has been renamed to sbb-tab-label. A new component named sbb-tab has been created, and it is now the only supported tag for the tab's content; article, section and div are not supported anymore. To solve the issue #1351, the didChange event on sbb-tab-group now includes an object which contains the currently selected tab index, the sbb-tab-label component and related sbb-tab component, plus, if available, the previous ones.
  • sbb-selection-panel, sbb-checkbox, sbb-radio-button: sbb-selection-panel has been renamed to sbb-selection-expansion-panel. The sbb-checkbox and sbb-radio-button components cannot be used anymore with sbb-selection-expansion-panel (does not apply for cases where they are slotted inside the content slot). As a replacement, we introduce the new components sbb-checkbox-panel and sbb-radio-button-panel, which could also be used standalone in cases where there is no content. sbb-checkbox-group and sbb-radio-button-group also support the panel variants. How to migrate?
    • Rename usages of sbb-selection-panel to sbb-selection-expansion-panel.
    • Inside the sbb-selection-expansion-panel, replace sbb-checkbox with sbb-checkbox-panel and sbb-radio-button with sbb-radio-button-panel (does not apply for cases where they are slotted inside the content slot of the sbb-selection-expansion-panel)
    • In cases where there was no content (slot), don't use sbb-selection-panel/sbb-selection-expansion-panel anymore, but directly use sbb-checkbox-panel or sbb-radio-button-panel.

Bug Fixes

  • sbb-train-formation: hide sectors row if no sectors were defined (#2779) (b011a92)

Code Refactoring

  • sbb-selection-panel, sbb-checkbox, sbb-radio-button: split into regular and panel variants (#2778) (d206926)
  • sbb-tab: align with sbb-stepper (#2744) (4305ca8)
  • sbb-teaser-hero, sbb-teaser-paid: move to @sbb-esta/lyne-elements-experimental (#2782) (1032e76)

v0.52.2

14 Jun 11:04
6608285
Compare
Choose a tag to compare

0.52.2 (2024-06-14)

Bug Fixes

  • revert mangle configuration from build (239a6a1)
  • revert split of sbb-checkbox and sbb-radio-button (ebe391f)

v0.52.1

14 Jun 09:26
73d585e
Compare
Choose a tag to compare

0.52.1 (2024-06-14)

Features

Bug Fixes

  • avoid breaking type declarations due to alias resolution (#2776) (be72249)
  • fix stacked overlays inert mechanism (#2736) (b611271)
  • sbb-breadcrumb: avoid to collapse for two or fewer breadcrumbs (#2733) (ecdb355)

v0.52.0

06 Jun 14:04
8830e21
Compare
Choose a tag to compare

0.52.0 (2024-06-06)

⚠ BREAKING CHANGES

  • type 'SbbDialogCloseEventDetails' has been renamed to 'SbbOverlayCloseEventDetails'
  • 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

Bug Fixes

  • fix lead container tests (d6355dd)
  • prevent stack overflow with attribute changes (#2661) (4b382ed)
  • sbb-alert: improve SSR hydration support (#2650) (1b09429)
  • sbb-block-link: always show underline except for footer links (#2705) (5fbedd2)
  • sbb-button: fix gap between icon and text for size s (#2678) (38efbd8)
  • sbb-datepicker: handle hydration correctly (#2721) (058489a), closes #2691
  • sbb-dialog: fix dialog-content z-index (#2722) (55b3446)
  • sbb-image: render URL correctly with SSR (#2712) (fde1700)
  • sbb-link: fix accessibility by inlining link functionality into Shadow DOM (52344e9)
  • sbb-option: correctly determine highlight state with SSR (#2713) (d2d253c), closes #2689
  • sbb-radio-button: fix checked initialization (#2692) (abdaf43)

Code Refactoring

  • create base class for overlay functionality (#2599) (2059719)
  • rename lyne-components into lyne-elements and create lyne-elements-experimental (edd3a73)