Releases: sbb-design-systems/lyne-components
Releases · sbb-design-systems/lyne-components
v1.4.0
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
1.3.0 (2024-07-08)
Features
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
1.2.1 (2024-06-27)
Bug Fixes
v1.2.0
v1.1.0
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
Bug Fixes
v1.0.0
1.0.0 (2024-06-17)
Miscellaneous Chores
- prepare release 1.0.0 (33c4e4b)
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
- @jeripeierSBB
- @DavideMininni-Fincons
- @dauriamarco
- @federicoisepponfincons
- @MarioCastigliano
- @mcilurzo
- @simone-sabato
- @TomMenga
Contributors
- @christoph-bittmann
- @HendrikExtSBB
- @k-luise
- @konstantin-pachemski-one
- @liviakuenzli
- @mariohamann
- @osminaz / @WalkingOS
- @sandrooco
- @schlpbch
- @sebastiencloss
Founders
v0.53.0
0.53.0 (2024-06-17)
⚠ BREAKING CHANGES
- sbb-teaser-hero, sbb-teaser-paid:
sbb-teaser-hero
andsbb-teaser-paid
are now part of the@sbb-esta/lyne-elements-experimental
package. - sbb-tab: the
sbb-tab-title
component has been renamed tosbb-tab-label
. A new component namedsbb-tab
has been created, and it is now the only supported tag for the tab's content;article
,section
anddiv
are not supported anymore. To solve the issue #1351, thedidChange
event onsbb-tab-group
now includes an object which contains the currently selected tab index, thesbb-tab-label
component and relatedsbb-tab
component, plus, if available, the previous ones. - sbb-selection-panel, sbb-checkbox, sbb-radio-button:
sbb-selection-panel
has been renamed tosbb-selection-expansion-panel
. Thesbb-checkbox
andsbb-radio-button
components cannot be used anymore withsbb-selection-expansion-panel
(does not apply for cases where they are slotted inside thecontent
slot). As a replacement, we introduce the new componentssbb-checkbox-panel
andsbb-radio-button-panel
, which could also be used standalone in cases where there is no content.sbb-checkbox-group
andsbb-radio-button-group
also support the panel variants. How to migrate?- Rename usages of
sbb-selection-panel
tosbb-selection-expansion-panel
. - Inside the
sbb-selection-expansion-panel
, replacesbb-checkbox
withsbb-checkbox-panel
andsbb-radio-button
withsbb-radio-button-panel
(does not apply for cases where they are slotted inside thecontent
slot of thesbb-selection-expansion-panel
) - In cases where there was no content (slot), don't use
sbb-selection-panel
/sbb-selection-expansion-panel
anymore, but directly usesbb-checkbox-panel
orsbb-radio-button-panel
.
- Rename usages of
Bug Fixes
Code Refactoring
v0.52.2
v0.52.1
v0.52.0
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 attributedata-now
tonow
. The propertynow
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 attributedata-now
tonow
. The propertynow
has to be in the format "HH:MM:SS".
Lyne components
andLyne 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 oraccessibilityLabel
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) (94c25b1)
- file-selector: add size s (#2685) (6783621)
- journey-header: add size s (#2656) (610ef3a)
- sbb-lead-container: add support for sbb-alert-group (#2719) (3d556f9), closes #2714
- sbb-lead-container: initial implementation (#2672) (bb1f3a8)
- sbb-popover: change close button size (#2688) (1f259be)
- sbb-stepper: introduce
sbb-stepper
component (#2491) (d389572) - sbb-tab-group: add size s variant (#2683) (c00aa58)
- sbb-tag, sbb-tag-group: add size s variant (#2664) (6291bdc)
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)