You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
support for the sbb-lean CSS class has been removed. Use the lean-theme.css instead of the standard-theme.css to have the lean styles applied. For off-brand and safety variants there are respective variants too.
dialog: the sbb-dialog is not full size in 'zero' breakpoint anymore, but it opens from the bottom like the menu, adapting its height to the slotted content. From 'small' breakpoint, the width adapts to the content too.
header: The expandFrom property of <sbb-header-button> and <sbb-header-link> has been renamed to hideLabelBelow and no longer has a default value. Previously, expandFrom defaulted to large. To preserve the existing behavior, all instances of <sbb-header-button> and <sbb-header-link> that do not explicitly define expandFrom must now be configured with hide-label-below="large".
calendar: The sbb-calendarwide property has been replaced with the amount property and the selected property has been replaced with the value property.
action-group, sbb-dialog-actions: The properties orientation, alignGroup, horizontalFrom, buttonSize and linkSize have been removed from the sbb-action-group and sbb-dialog-actions elements. Further, the global align-self attribute has been removed. Consumers can apply their custom flex styles directly on host of the sbb-action-group and sbb-dialog-actions elements.
popover: The properties hide-close-button and accessibilityCloseLabel of the <sbb-popover> have been removed. Slot the <sbb-popover-close-button> element whenever a close button is needed.
tag-group: The property listAccessibilityLabel of the <sbb-tag-group> has been renamed to accessibilityLabel.
form-field: The optional property of the sbb-form-field has been removed. The (optional) string should be managed by consumer inside the <label>.
The type of several events have been changed from CustomEvents to specific events which extend the native Event (see details in #4918).
table: the sbb-tabledefault row styling has been changed from striped to unstriped. To achieve the striped look, use the CSS class sbb-table--striped on your table.
<sbb-screen-reader-only> component has been removed. Use the CSS class sbb-screen-reader-only as a replacement.
title: the CSS variables --sbb-title-text-color-normal and --sbb-title-text-color-normal-override have been renamed to --sbb-title-color.
train: In order to mitigate the new requirements the following breaking changes were introduced:
The property type of sbb-train-wagon has been renamed towagon-type
The default inline padding of sbb-train-formation was changed from 0 to var(--sbb-spacing-fixed-1x)
The CSS variable --sbb-train-formation-padding-inline was renamed to --sbb-train-formation-scroll-padding
journey-header: The size property of the sbb-journey-header has been removed. Use the visualLevel property to set the font-size by using the following mapping from size to visualLevel: s -> 6, m -> 5, l > 4.
button, action-group: The default size of the buttons has changed from l to m in standard theme. The sbb-action-group doesn't have a default buttonSize and linkSize applied anymore but delegates the default size choice to slotted button and links.
Various TypeScript types have been removed. SbbTitleLevel was renamed to SbbHeadingLevel and moved to core module.
autocomplete, select: Deleted core/overlay mixins
sbb-chip-label: chip-label Sass mixins were removed. As the chip-label styles were moved to the host, the chip-label can behave slightly different in text flow.
removed the automatic ID assignment from the following components: sbb-tab, sbb-menu, sbb-dialog, sbb-popover, sbb-tooltip, sbb-stepper, sbb-datepicker, sbb-overlay, sbb-navigation, sbb-navigation-section.
option:sbb-option does not automatically assign an ID anymore
core: deleted setAriaOverlayTriggerAttributes and removeAriaOverlayTriggerAttributes methods.
link: the size property has been removed from sbb-link,sbb-link-button and sbb-link-static, since it has effects only on block-links.
navigation: The size property of the sbb-navigation-button and sbb-navigation-link has been removed.
Some global CSS refactorings have been executed.
The Sass text mixins ending with -bold have been removed. Just use font-weight: bold.
The suffix --regular of the Sass text mixins were removed. E.g. text-s--regular becomes text-s.
The CSS file disable-animation.css was renamed to disable-animation-extension.css
The CSS variable --sbb-title-margin-block has been removed. Margins
can directly be written from outside.
Various Sass mixins were removed or renamed.
The CSS classes sbb-table-header-cell, sbb-table-header-row and sbb-table-data-cell have been removed.
Elements no longer have side effects (i.e. register globally) unless imported via the non-pure entrypoint or when calling define(). Additionally, SbbElement is now enforced as the base class for all elements and the mixins SbbElementInternalsMixin and SbbHydrationMixin have been inlined into SbbElement and therefore removed.