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
Closes#2681
BREAKING CHANGE: The `hide-wagen-label` property of the
`sbb-train-formation` was removed. Now it automatically doesn't show the
label if no label is set on all the wagons.
The i18n `i18nClosedCompartmentLabel()` method doesn't take
`wagonNumber` as an argument anymore but is a constant now.
Additionally, there are some visual changes:
- `sbb-train-wagon`: The `ouccpancy` property doesn't default to `none`
anymore but to `null`. Please replace the currently undefined occupancy
property with the value `none`.
- `sbb-train-wagon`: Previously for the locomotive the label was not
displayed, but now it would, as soon as there is one provided
- `sbb-train-formation`: The inline padding (left / right) was removed
but can be set by CSS variable. See documentation.
Preflight Checklist
Request type
Request for enhancement of a component
It affects the following packages
Components
Functionality
As discussed with SBB Mobile and sbb.ch we want to make a few slight changes on the display of the train formation.
Link to design proposal file
https://www.figma.com/design/9r6xSfNmEfCFxl1yFYedrj/Lyne-Components?m=auto&node-id=43654-271442&t=LMy9FQ5CJzbAblb5-1
The text was updated successfully, but these errors were encountered: