@sbb-esta/lyne-elements 5.0.0-next.1 → 5.0.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/a11y.css +1 -3
- package/accordion/accordion.component.js +1 -1
- package/{accordion.component-CN8j_UYk.js → accordion.component-DN0x35kD.js} +20 -20
- package/accordion.js +1 -1
- package/accordion.pure.js +1 -1
- package/action-group/action-group.component.js +1 -1
- package/{action-group.component-B6X5FjkQ.js → action-group.component-BMYAFyHh.js} +23 -23
- package/action-group.js +1 -1
- package/action-group.pure.js +1 -1
- package/alert/alert/alert.component.js +1 -1
- package/alert/alert-group/alert-group.component.js +1 -1
- package/{alert-group.component-BCYOVicl.js → alert-group.component-BqJ6B49z.js} +6 -6
- package/{alert.component-BQsF0R1M.js → alert.component-D8NT9YJ-.js} +17 -17
- package/alert.js +2 -2
- package/alert.pure.js +2 -2
- package/autocomplete/autocomplete-base-element.js +1 -1
- package/autocomplete/autocomplete.component.js +1 -1
- package/{autocomplete-base-element-CSCv_WVh.js → autocomplete-base-element-BuCAxBy3.js} +16 -16
- package/autocomplete.js +1 -1
- package/autocomplete.pure.js +1 -1
- package/{block-link-common-BiM6tnUZ.js → block-link-common-aUfrxxDp.js} +2 -2
- package/breadcrumb/breadcrumb/breadcrumb.component.js +1 -1
- package/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +1 -1
- package/{breadcrumb-group.component-De3Lu3lx.js → breadcrumb-group.component-XPdnV6-a.js} +19 -19
- package/{breadcrumb.component-C8fW9ONc.js → breadcrumb.component-Kk1U6Iju.js} +7 -7
- package/breadcrumb.js +2 -2
- package/breadcrumb.pure.js +2 -2
- package/button/accent-button/accent-button.component.js +5 -9
- package/button/accent-button-link/accent-button-link.component.js +5 -9
- package/button/accent-button-static/accent-button-static.component.js +5 -9
- package/button/button/button.component.js +5 -9
- package/button/button-link/button-link.component.js +5 -9
- package/button/button-static/button-static.component.js +5 -9
- package/button/common/button-common.js +2 -2
- package/button/mini-button/mini-button.component.js +8 -12
- package/button/mini-button-group/mini-button-group.component.js +1 -1
- package/button/mini-button-link/mini-button-link.component.js +1 -1
- package/button/secondary-button/secondary-button.component.js +5 -9
- package/button/secondary-button-link/secondary-button-link.component.js +5 -9
- package/button/secondary-button-static/secondary-button-static.component.js +5 -9
- package/button/transparent-button/transparent-button.component.js +5 -9
- package/button/transparent-button-link/transparent-button-link.component.js +5 -9
- package/button/transparent-button-static/transparent-button-static.component.js +5 -9
- package/{button-common-U0ZsZMjC.js → button-common-BMpS65Zf.js} +15 -12
- package/button.js +4 -4
- package/button.pure.js +4 -4
- package/calendar/calendar/calendar.component.js +1 -1
- package/calendar/calendar-day/calendar-day.component.js +1 -1
- package/calendar/calendar-month/calendar-month.component.js +10 -14
- package/calendar/calendar-weekday/calendar-weekday.component.js +9 -13
- package/calendar/calendar-weeknumber/calendar-weeknumber.component.js +11 -14
- package/calendar/calendar-year/calendar-year.component.js +9 -13
- package/calendar/common/calendar-cell-base-element.js +2 -2
- package/calendar-cell-base-element-CUG1qYFb.js +23 -0
- package/{calendar-day.component-B2eFdrLP.js → calendar-day.component-CcZymuSD.js} +11 -16
- package/{calendar.component-nWdtZYqg.js → calendar.component-oS_T4s4k.js} +43 -44
- package/calendar.js +4 -4
- package/calendar.pure.js +4 -4
- package/card/card/card.component.js +1 -1
- package/card/card-badge/card-badge.component.js +1 -1
- package/card/common/card-action-common.js +1 -1
- package/{card-action-common-DIMD59l_.js → card-action-common-BNdGcJl-.js} +2 -2
- package/{card-badge.component-CEqox6TU.js → card-badge.component-BLAK_y8x.js} +11 -11
- package/card.component-WUQRK9jT.js +61 -0
- package/card.js +3 -3
- package/card.pure.js +3 -3
- package/carousel/carousel/carousel.component.js +1 -1
- package/carousel/carousel-item/carousel-item.component.js +1 -1
- package/carousel/carousel-list/carousel-list.component.js +1 -1
- package/{carousel-item.component-mHyHTxEd.js → carousel-item.component-DyZAdXL_.js} +1 -1
- package/{carousel-list.component-ByZDFoLe.js → carousel-list.component-Ai0uJWB7.js} +1 -1
- package/{carousel.component-a189Wn9e.js → carousel.component-9oMMOyWo.js} +14 -17
- package/carousel.js +3 -3
- package/carousel.pure.js +3 -3
- package/checkbox/checkbox.component.js +1 -1
- package/checkbox/common/checkbox-common.js +2 -2
- package/checkbox-common-BSzAnug3.js +69 -0
- package/checkbox-panel/checkbox-panel.component.js +15 -19
- package/{checkbox.component-CR2aIgjA.js → checkbox.component-ChQmCxal.js} +24 -28
- package/checkbox.js +3 -3
- package/checkbox.pure.js +3 -3
- package/chip/chip/chip.component.js +1 -1
- package/chip/chip-group/chip-group.component.js +1 -1
- package/{chip-group.component-DbNctvjy.js → chip-group.component-BMpczIZH.js} +23 -23
- package/chip-label/chip-label.component.js +1 -1
- package/{chip-label.component-zRiHSxbn.js → chip-label.component-BLbhqUAp.js} +13 -13
- package/chip-label.js +1 -1
- package/chip-label.pure.js +1 -1
- package/{chip.component-34R1PNPV.js → chip.component-gcvF3pEX.js} +13 -13
- package/chip.js +2 -2
- package/chip.pure.js +2 -2
- package/clock/clock.component.js +1 -1
- package/{clock.component-DHb5YwM4.js → clock.component-Cqrl999I.js} +28 -28
- package/clock.js +1 -1
- package/clock.pure.js +1 -1
- package/{compact-paginator.component-Dyu9bezr.js → compact-paginator.component-sRHapku-.js} +12 -12
- package/container/container/container.component.js +1 -1
- package/container/sticky-bar/sticky-bar.component.js +1 -1
- package/{container.component-CJL8qqFp.js → container.component-sQtiqWxT.js} +18 -18
- package/container.js +2 -2
- package/container.pure.js +2 -2
- package/core/base-elements/action-base-element.js +1 -1
- package/core/base-elements/element.js +2 -221
- package/core/base-elements/open-close-base-element.js +1 -1
- package/core/base-elements/selection-group-base-element.js +1 -1
- package/core/controllers/media-matchers-controller.js +1 -1
- package/core/datetime/native-date-adapter.js +1 -1
- package/core/datetime/temporal-date-adapter.js +1 -1
- package/core/i18n/i18n.js +103 -98
- package/core/mixins/form-associated-input-mixin.js +1 -1
- package/core/mixins/named-slot-list-mixin.js +6 -3
- package/core/mixins/panel-mixin.js +2 -2
- package/core/overlay/position.js +4 -4
- package/core/styles/a11y.scss +2 -7
- package/core/styles/core.scss +23 -71
- package/core/styles/mixins/card.scss +5 -3
- package/core/styles/mixins/scrollbar.scss +0 -6
- package/core/styles/mixins/typo.scss +13 -31
- package/core/styles/screen-reader-only.scss +5 -0
- package/core/styles/scrollbar.scss +19 -24
- package/core/styles/styles.js +2 -2
- package/core.css +60 -90
- package/core.js +16 -17
- package/custom-elements.json +11508 -3098
- package/date-input/date-input.component.js +1 -1
- package/{date-input.component-CP033UHJ.js → date-input.component-aFuUH3N_.js} +1 -1
- package/date-input.js +1 -1
- package/date-input.pure.js +1 -1
- package/datepicker/common/datepicker-button.js +2 -2
- package/datepicker/datepicker/datepicker.component.js +154 -2
- package/datepicker/datepicker-next-day/datepicker-next-day.component.js +5 -13
- package/datepicker/datepicker-previous-day/datepicker-previous-day.component.js +5 -13
- package/datepicker/datepicker-toggle/datepicker-toggle.component.js +12 -20
- package/{datepicker-button-ChMURQ0S.js → datepicker-button-aYDFZ_3v.js} +16 -13
- package/datepicker.js +7 -7
- package/datepicker.pure.js +6 -6
- package/development/accordion/accordion.component.d.ts.map +1 -1
- package/development/accordion/accordion.component.js +1 -1
- package/development/accordion.component-Bvx-b38W.js +165 -0
- package/development/accordion.js +1 -1
- package/development/accordion.pure.js +1 -1
- package/development/action-group/action-group.component.d.ts.map +1 -1
- package/development/action-group/action-group.component.js +1 -1
- package/development/{action-group.component-9Bkne2tt.js → action-group.component-DZkXqIbQ.js} +3 -3
- package/development/action-group.js +1 -1
- package/development/action-group.pure.js +1 -1
- package/development/alert/alert/alert.component.d.ts.map +1 -1
- package/development/alert/alert/alert.component.js +1 -1
- package/development/alert/alert-group/alert-group.component.d.ts.map +1 -1
- package/development/alert/alert-group/alert-group.component.js +1 -1
- package/development/alert-group.component-w5PbU_4C.js +186 -0
- package/development/{alert.component-Pv-Ol6XU.js → alert.component-DxzF0FOi.js} +3 -3
- package/development/alert.js +2 -2
- package/development/alert.pure.js +2 -2
- package/development/autocomplete/autocomplete-base-element.d.ts.map +1 -1
- package/development/autocomplete/autocomplete-base-element.js +1 -1
- package/development/autocomplete/autocomplete.component.js +1 -1
- package/development/autocomplete-base-element-CG5m0PpY.js +686 -0
- package/development/autocomplete.js +1 -1
- package/development/autocomplete.pure.js +1 -1
- package/development/{block-link-common-qMULXu4g.js → block-link-common-CoZgcEBY.js} +3 -3
- package/development/breadcrumb/breadcrumb/breadcrumb.component.d.ts.map +1 -1
- package/development/breadcrumb/breadcrumb/breadcrumb.component.js +1 -1
- package/development/breadcrumb/breadcrumb-group/breadcrumb-group.component.d.ts.map +1 -1
- package/development/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +1 -1
- package/development/breadcrumb-group.component-BUBfl6LV.js +193 -0
- package/development/{breadcrumb.component-BLxRIaje.js → breadcrumb.component-D6Cd2FPo.js} +3 -3
- package/development/breadcrumb.js +2 -2
- package/development/breadcrumb.pure.js +2 -2
- package/development/button/accent-button/accent-button.component.d.ts.map +1 -1
- package/development/button/accent-button/accent-button.component.js +4 -8
- package/development/button/accent-button-link/accent-button-link.component.d.ts.map +1 -1
- package/development/button/accent-button-link/accent-button-link.component.js +4 -8
- package/development/button/accent-button-static/accent-button-static.component.d.ts.map +1 -1
- package/development/button/accent-button-static/accent-button-static.component.js +4 -8
- package/development/button/button/button.component.d.ts.map +1 -1
- package/development/button/button/button.component.js +4 -8
- package/development/button/button-link/button-link.component.d.ts.map +1 -1
- package/development/button/button-link/button-link.component.js +4 -8
- package/development/button/button-static/button-static.component.d.ts.map +1 -1
- package/development/button/button-static/button-static.component.js +4 -8
- package/development/button/common/button-common.d.ts +0 -1
- package/development/button/common/button-common.d.ts.map +1 -1
- package/development/button/common/button-common.js +2 -2
- package/development/button/mini-button/mini-button.component.d.ts.map +1 -1
- package/development/button/mini-button/mini-button.component.js +3 -7
- package/development/button/mini-button-group/mini-button-group.component.d.ts.map +1 -1
- package/development/button/mini-button-group/mini-button-group.component.js +1 -1
- package/development/button/mini-button-link/mini-button-link.component.d.ts.map +1 -1
- package/development/button/mini-button-link/mini-button-link.component.js +1 -1
- package/development/button/secondary-button/secondary-button.component.d.ts.map +1 -1
- package/development/button/secondary-button/secondary-button.component.js +4 -8
- package/development/button/secondary-button-link/secondary-button-link.component.d.ts.map +1 -1
- package/development/button/secondary-button-link/secondary-button-link.component.js +4 -8
- package/development/button/secondary-button-static/secondary-button-static.component.d.ts.map +1 -1
- package/development/button/secondary-button-static/secondary-button-static.component.js +4 -8
- package/development/button/transparent-button/transparent-button.component.d.ts.map +1 -1
- package/development/button/transparent-button/transparent-button.component.js +4 -8
- package/development/button/transparent-button-link/transparent-button-link.component.d.ts.map +1 -1
- package/development/button/transparent-button-link/transparent-button-link.component.js +4 -8
- package/development/button/transparent-button-static/transparent-button-static.component.d.ts.map +1 -1
- package/development/button/transparent-button-static/transparent-button-static.component.js +4 -8
- package/development/{button-common-BdW88MAX.js → button-common-DZUBRwwD.js} +5 -3
- package/development/button.js +4 -4
- package/development/button.pure.js +4 -4
- package/development/calendar/calendar/calendar.component.d.ts.map +1 -1
- package/development/calendar/calendar/calendar.component.js +1 -1
- package/development/calendar/calendar-day/calendar-day.component.d.ts.map +1 -1
- package/development/calendar/calendar-day/calendar-day.component.js +1 -1
- package/development/calendar/calendar-month/calendar-month.component.d.ts +1 -2
- package/development/calendar/calendar-month/calendar-month.component.d.ts.map +1 -1
- package/development/calendar/calendar-month/calendar-month.component.js +2 -6
- package/development/calendar/calendar-weekday/calendar-weekday.component.d.ts +1 -2
- package/development/calendar/calendar-weekday/calendar-weekday.component.d.ts.map +1 -1
- package/development/calendar/calendar-weekday/calendar-weekday.component.js +2 -6
- package/development/calendar/calendar-weeknumber/calendar-weeknumber.component.d.ts +1 -2
- package/development/calendar/calendar-weeknumber/calendar-weeknumber.component.d.ts.map +1 -1
- package/development/calendar/calendar-weeknumber/calendar-weeknumber.component.js +3 -6
- package/development/calendar/calendar-year/calendar-year.component.d.ts +1 -2
- package/development/calendar/calendar-year/calendar-year.component.d.ts.map +1 -1
- package/development/calendar/calendar-year/calendar-year.component.js +2 -6
- package/development/calendar/common/calendar-cell-base-element.d.ts +2 -1
- package/development/calendar/common/calendar-cell-base-element.d.ts.map +1 -1
- package/development/calendar/common/calendar-cell-base-element.js +2 -2
- package/development/{calendar-cell-base-element-DDNYX7UQ.js → calendar-cell-base-element-mWRSDeWc.js} +7 -3
- package/development/calendar-day.component-BHvdRxll.js +139 -0
- package/development/calendar.component-CjlcDyS5.js +1450 -0
- package/development/calendar.js +4 -4
- package/development/calendar.pure.js +4 -4
- package/development/card/card/card.component.d.ts.map +1 -1
- package/development/card/card/card.component.js +1 -1
- package/development/card/card-badge/card-badge.component.d.ts.map +1 -1
- package/development/card/card-badge/card-badge.component.js +1 -1
- package/development/card/common/card-action-common.d.ts.map +1 -1
- package/development/card/common/card-action-common.js +1 -1
- package/development/card-action-common-zS5iNz23.js +115 -0
- package/development/{card-badge.component-CQBLpmpo.js → card-badge.component-CEfJdJBs.js} +3 -3
- package/development/card.component-CL2gHoyP.js +80 -0
- package/development/card.js +3 -3
- package/development/card.pure.js +3 -3
- package/development/carousel/carousel/carousel.component.d.ts +1 -2
- package/development/carousel/carousel/carousel.component.d.ts.map +1 -1
- package/development/carousel/carousel/carousel.component.js +1 -1
- package/development/carousel/carousel-item/carousel-item.component.d.ts.map +1 -1
- package/development/carousel/carousel-item/carousel-item.component.js +1 -1
- package/development/carousel/carousel-list/carousel-list.component.d.ts.map +1 -1
- package/development/carousel/carousel-list/carousel-list.component.js +1 -1
- package/development/{carousel-item.component-MZIypyNR.js → carousel-item.component-B_0wdIAu.js} +2 -2
- package/development/carousel-list.component-DpDh5tqB.js +133 -0
- package/development/carousel.component-ClWvnZ8s.js +139 -0
- package/development/carousel.js +3 -3
- package/development/carousel.pure.js +3 -3
- package/development/checkbox/checkbox.component.d.ts.map +1 -1
- package/development/checkbox/checkbox.component.js +1 -1
- package/development/checkbox/common/checkbox-common.d.ts +0 -1
- package/development/checkbox/common/checkbox-common.d.ts.map +1 -1
- package/development/checkbox/common/checkbox-common.js +2 -2
- package/development/checkbox-common-C3Ekixul.js +88 -0
- package/development/checkbox-panel/checkbox-panel.component.d.ts.map +1 -1
- package/development/checkbox-panel/checkbox-panel.component.js +6 -10
- package/development/{checkbox.component-DZjhQhbB.js → checkbox.component-D6BR8e7w.js} +4 -8
- package/development/checkbox.js +3 -3
- package/development/checkbox.pure.js +3 -3
- package/development/chip/chip/chip.component.d.ts.map +1 -1
- package/development/chip/chip/chip.component.js +1 -1
- package/development/chip/chip-group/chip-group.component.d.ts.map +1 -1
- package/development/chip/chip-group/chip-group.component.js +1 -1
- package/development/chip-group.component-DThvmmnh.js +402 -0
- package/development/chip-label/chip-label.component.d.ts.map +1 -1
- package/development/chip-label/chip-label.component.js +1 -1
- package/development/{chip-label.component-Cx8mfi0y.js → chip-label.component-DHHNtvTt.js} +3 -3
- package/development/chip-label.js +1 -1
- package/development/chip-label.pure.js +1 -1
- package/development/{chip.component-zwTaIBf2.js → chip.component-Uuf3tGFz.js} +5 -5
- package/development/chip.js +2 -2
- package/development/chip.pure.js +2 -2
- package/development/clock/clock.component.d.ts.map +1 -1
- package/development/clock/clock.component.js +1 -1
- package/development/{clock.component-EqFTxYod.js → clock.component-DcM1WFTN.js} +3 -3
- package/development/clock.js +1 -1
- package/development/clock.pure.js +1 -1
- package/development/{compact-paginator.component-CRojCci5.js → compact-paginator.component-Dyj5CulS.js} +6 -6
- package/development/container/container/container.component.d.ts.map +1 -1
- package/development/container/container/container.component.js +1 -1
- package/development/container/sticky-bar/sticky-bar.component.d.ts.map +1 -1
- package/development/container/sticky-bar/sticky-bar.component.js +1 -1
- package/development/{container.component-CM10qyHy.js → container.component-D1Qgp4HW.js} +3 -3
- package/development/container.js +2 -2
- package/development/container.pure.js +2 -2
- package/development/core/base-elements/action-base-element.js +1 -1
- package/development/core/base-elements/element.d.ts +11 -1
- package/development/core/base-elements/element.d.ts.map +1 -1
- package/development/core/base-elements/element.js +1 -370
- package/development/core/base-elements/open-close-base-element.js +1 -1
- package/development/core/base-elements/selection-group-base-element.d.ts.map +1 -1
- package/development/core/base-elements/selection-group-base-element.js +1 -1
- package/development/core/controllers/media-matchers-controller.js +1 -1
- package/development/core/datetime/native-date-adapter.js +2 -2
- package/development/core/datetime/temporal-date-adapter.js +2 -2
- package/development/core/i18n/i18n.d.ts +1 -0
- package/development/core/i18n/i18n.d.ts.map +1 -1
- package/development/core/i18n/i18n.js +8 -2
- package/development/core/mixins/form-associated-input-mixin.js +2 -2
- package/development/core/mixins/named-slot-list-mixin.d.ts.map +1 -1
- package/development/core/mixins/named-slot-list-mixin.js +7 -4
- package/development/core/mixins/panel-mixin.d.ts +0 -1
- package/development/core/mixins/panel-mixin.d.ts.map +1 -1
- package/development/core/mixins/panel-mixin.js +2 -2
- package/development/core/overlay/position.d.ts.map +1 -1
- package/development/core/overlay/position.js +4 -2
- package/development/core/styles/styles.d.ts +2 -1
- package/development/core/styles/styles.d.ts.map +1 -1
- package/development/core/styles/styles.js +2 -2
- package/development/core.d.ts +0 -1
- package/development/core.d.ts.map +1 -1
- package/development/core.js +6 -7
- package/development/date-input/date-input.component.d.ts.map +1 -1
- package/development/date-input/date-input.component.js +1 -1
- package/development/date-input.component-HxRyCudr.js +302 -0
- package/development/date-input.js +1 -1
- package/development/date-input.pure.js +1 -1
- package/development/datepicker/common/datepicker-button.d.ts +2 -2
- package/development/datepicker/common/datepicker-button.d.ts.map +1 -1
- package/development/datepicker/common/datepicker-button.js +2 -2
- package/development/datepicker/datepicker/datepicker.component.d.ts.map +1 -1
- package/development/datepicker/datepicker/datepicker.component.js +208 -1
- package/development/datepicker/datepicker-next-day/datepicker-next-day.component.d.ts +0 -2
- package/development/datepicker/datepicker-next-day/datepicker-next-day.component.d.ts.map +1 -1
- package/development/datepicker/datepicker-next-day/datepicker-next-day.component.js +3 -11
- package/development/datepicker/datepicker-previous-day/datepicker-previous-day.component.d.ts +0 -2
- package/development/datepicker/datepicker-previous-day/datepicker-previous-day.component.d.ts.map +1 -1
- package/development/datepicker/datepicker-previous-day/datepicker-previous-day.component.js +3 -11
- package/development/datepicker/datepicker-toggle/datepicker-toggle.component.d.ts +1 -2
- package/development/datepicker/datepicker-toggle/datepicker-toggle.component.d.ts.map +1 -1
- package/development/datepicker/datepicker-toggle/datepicker-toggle.component.js +3 -11
- package/development/datepicker-button-BAT1ebzJ.js +171 -0
- package/development/datepicker.js +3 -3
- package/development/datepicker.pure.js +3 -3
- package/development/dialog/dialog/dialog.component.d.ts +1 -2
- package/development/dialog/dialog/dialog.component.d.ts.map +1 -1
- package/development/dialog/dialog/dialog.component.js +1 -1
- package/development/dialog/dialog-actions/dialog-actions.component.d.ts.map +1 -1
- package/development/dialog/dialog-actions/dialog-actions.component.js +1 -1
- package/development/dialog/dialog-close-button/dialog-close-button.component.d.ts.map +1 -1
- package/development/dialog/dialog-close-button/dialog-close-button.component.js +1 -1
- package/development/dialog/dialog-content/dialog-content.component.d.ts +1 -0
- package/development/dialog/dialog-content/dialog-content.component.d.ts.map +1 -1
- package/development/dialog/dialog-content/dialog-content.component.js +1 -1
- package/development/dialog/dialog-title/dialog-title.component.d.ts.map +1 -1
- package/development/dialog/dialog-title/dialog-title.component.js +1 -1
- package/development/{dialog-actions.component-Bu950dM-.js → dialog-actions.component-e0ZTTUin.js} +2 -2
- package/development/{dialog-close-button.component-CxtWzXR4.js → dialog-close-button.component-Idc00dB9.js} +2 -2
- package/development/{dialog-content.component-DlSxpY_e.js → dialog-content.component-CThU7Z8A.js} +10 -3
- package/development/dialog-title.component-0uNsUR2C.js +29 -0
- package/development/{dialog.component-BTXyWi17.js → dialog.component-AItB8ixG.js} +4 -7
- package/development/dialog.js +5 -5
- package/development/dialog.pure.js +5 -5
- package/development/divider/divider.component.d.ts.map +1 -1
- package/development/divider/divider.component.js +1 -1
- package/development/{divider.component-BvmLUhzD.js → divider.component-Ck_0vISe.js} +3 -3
- package/development/divider.js +1 -1
- package/development/divider.pure.js +1 -1
- package/development/element-BAsBayf5.js +394 -0
- package/development/{error.component-TvgLhaZh.js → error.component-WCkiwM7_.js} +3 -3
- package/development/expansion-panel/expansion-panel/expansion-panel.component.d.ts.map +1 -1
- package/development/expansion-panel/expansion-panel/expansion-panel.component.js +1 -1
- package/development/expansion-panel/expansion-panel-content/expansion-panel-content.component.d.ts.map +1 -1
- package/development/expansion-panel/expansion-panel-content/expansion-panel-content.component.js +1 -1
- package/development/expansion-panel/expansion-panel-header/expansion-panel-header.component.d.ts.map +1 -1
- package/development/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +1 -1
- package/development/{expansion-panel-content.component-B-SV6ier.js → expansion-panel-content.component-BUbiseFP.js} +3 -3
- package/development/{expansion-panel-header.component-Ok8Qmq5K.js → expansion-panel-header.component-CQFSwrqu.js} +4 -4
- package/development/{expansion-panel.component-q7cJOmUs.js → expansion-panel.component-BVdylpqi.js} +3 -3
- package/development/expansion-panel.js +3 -3
- package/development/expansion-panel.pure.js +3 -3
- package/development/file-selector/common/file-selector-common.d.ts +0 -1
- package/development/file-selector/common/file-selector-common.d.ts.map +1 -1
- package/development/file-selector/common/file-selector-common.js +2 -2
- package/development/file-selector/file-selector/file-selector.component.d.ts +1 -2
- package/development/file-selector/file-selector/file-selector.component.d.ts.map +1 -1
- package/development/file-selector/file-selector/file-selector.component.js +3 -6
- package/development/file-selector/file-selector-dropzone/file-selector-dropzone.component.d.ts.map +1 -1
- package/development/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +1 -1
- package/development/file-selector-common-Da0KNfDP.js +413 -0
- package/development/{file-selector-dropzone.component-DMNom2OW.js → file-selector-dropzone.component-Bdcau18t.js} +5 -9
- package/development/file-selector.js +3 -3
- package/development/file-selector.pure.js +3 -3
- package/development/flip-card/flip-card/flip-card.component.d.ts.map +1 -1
- package/development/flip-card/flip-card/flip-card.component.js +1 -1
- package/development/flip-card/flip-card-details/flip-card-details.component.d.ts.map +1 -1
- package/development/flip-card/flip-card-details/flip-card-details.component.js +1 -1
- package/development/flip-card/flip-card-summary/flip-card-summary.component.d.ts.map +1 -1
- package/development/flip-card/flip-card-summary/flip-card-summary.component.js +1 -1
- package/development/{flip-card-details.component-CKRovHqO.js → flip-card-details.component-BYv_W66a.js} +3 -3
- package/development/{flip-card-summary.component-THvJF3Cl.js → flip-card-summary.component-C-US77Nw.js} +3 -3
- package/development/{flip-card.component-qnodzif2.js → flip-card.component-DujrPKzU.js} +5 -5
- package/development/flip-card.js +3 -3
- package/development/flip-card.pure.js +3 -3
- package/development/footer/footer.component.d.ts.map +1 -1
- package/development/footer/footer.component.js +1 -1
- package/development/footer.component-K2bWizjw.js +169 -0
- package/development/footer.js +1 -1
- package/development/footer.pure.js +1 -1
- package/development/form-field/error/error.component.d.ts.map +1 -1
- package/development/form-field/error/error.component.js +1 -1
- package/development/form-field/form-field/form-field.component.d.ts.map +1 -1
- package/development/form-field/form-field/form-field.component.js +1 -1
- package/development/form-field/form-field-clear/form-field-clear.component.d.ts.map +1 -1
- package/development/form-field/form-field-clear/form-field-clear.component.js +3 -3
- package/development/form-field/form-field-text-counter/form-field-text-counter.component.d.ts +1 -4
- package/development/form-field/form-field-text-counter/form-field-text-counter.component.d.ts.map +1 -1
- package/development/form-field/form-field-text-counter/form-field-text-counter.component.js +2 -8
- package/development/form-field/hint/hint.component.d.ts.map +1 -1
- package/development/form-field/hint/hint.component.js +1 -1
- package/development/{form-field.component-CdTnOAi2.js → form-field.component-_lnIpJF5.js} +3 -3
- package/development/form-field.js +3 -3
- package/development/form-field.pure.js +3 -3
- package/development/header/common/header-action-common.d.ts.map +1 -1
- package/development/header/common/header-action-common.js +1 -1
- package/development/header/header/header.component.d.ts.map +1 -1
- package/development/header/header/header.component.js +1 -1
- package/development/header/header-environment/header-environment.component.d.ts.map +1 -1
- package/development/header/header-environment/header-environment.component.js +1 -1
- package/development/{header-action-common-BEnsweEr.js → header-action-common-CQ1CaaBd.js} +2 -3
- package/development/{header-environment.component-D-SLP3CC.js → header-environment.component-CIyxQwkQ.js} +3 -3
- package/development/{header.component-BmZkCs9m.js → header.component-BX1rKPa_.js} +3 -3
- package/development/header.js +3 -3
- package/development/header.pure.js +3 -3
- package/development/{hint.component-D5rTFJ-O.js → hint.component-BB9QLGGx.js} +3 -3
- package/development/icon/icon-base.d.ts.map +1 -1
- package/development/icon/icon-base.js +1 -1
- package/development/icon/icon.component.js +1 -1
- package/development/{icon-base-VYmbZT1-.js → icon-base-DrBHy9BT.js} +3 -3
- package/development/icon-sidebar/icon-sidebar/icon-sidebar.component.js +1 -1
- package/development/icon-sidebar/icon-sidebar-button/icon-sidebar-button.component.d.ts.map +1 -1
- package/development/icon-sidebar/icon-sidebar-button/icon-sidebar-button.component.js +3 -3
- package/development/icon-sidebar/icon-sidebar-container/icon-sidebar-container.component.js +1 -1
- package/development/icon-sidebar/icon-sidebar-content/icon-sidebar-content.component.js +1 -1
- package/development/icon-sidebar/icon-sidebar-link/icon-sidebar-link.component.d.ts.map +1 -1
- package/development/icon-sidebar/icon-sidebar-link/icon-sidebar-link.component.js +3 -3
- package/development/{icon-sidebar-container.component-cw3kBQni.js → icon-sidebar-container.component-CM94Spwy.js} +1 -1
- package/development/{icon-sidebar-content.component-CfkM9k--.js → icon-sidebar-content.component-BP9W5ZxR.js} +1 -1
- package/development/{icon-sidebar.component-Cgvuxg4k.js → icon-sidebar.component-B68P2aNh.js} +1 -1
- package/development/icon-sidebar.js +3 -3
- package/development/icon-sidebar.pure.js +3 -3
- package/development/icon.js +1 -1
- package/development/icon.pure.js +1 -1
- package/development/image/image.component.d.ts.map +1 -1
- package/development/image/image.component.js +1 -1
- package/development/image.component-EfSMgHI_.js +772 -0
- package/development/image.js +1 -1
- package/development/image.pure.js +1 -1
- package/development/{inline-link-common-CONiCeR9.js → inline-link-common-gmt6yz3v.js} +3 -3
- package/development/journey-header/journey-header.component.d.ts +3 -9
- package/development/journey-header/journey-header.component.d.ts.map +1 -1
- package/development/journey-header/journey-header.component.js +1 -1
- package/development/journey-header.component-CA4juz9x.js +146 -0
- package/development/journey-header.js +1 -1
- package/development/journey-header.pure.js +1 -1
- package/development/lead-container/lead-container.component.d.ts.map +1 -1
- package/development/lead-container/lead-container.component.js +1 -1
- package/development/{lead-container.component-B1eW6Xgb.js → lead-container.component-C_mFeq1B.js} +3 -3
- package/development/lead-container.js +1 -1
- package/development/lead-container.pure.js +1 -1
- package/development/link/common/block-link-common.js +1 -1
- package/development/link/common/inline-link-common.js +1 -1
- package/development/link/common/link-common.d.ts.map +1 -1
- package/development/link/common/link-common.js +1 -1
- package/development/{link-common-4Ag6Mio-.js → link-common-2RGn9Qz_.js} +3 -3
- package/development/link-list/common/link-list-base.d.ts +2 -2
- package/development/link-list/common/link-list-base.d.ts.map +1 -1
- package/development/link-list/common/link-list-base.js +2 -2
- package/development/link-list/link-list.component.d.ts.map +1 -1
- package/development/link-list/link-list.component.js +1 -1
- package/development/link-list-anchor/link-list-anchor.component.d.ts.map +1 -1
- package/development/link-list-anchor/link-list-anchor.component.js +1 -1
- package/development/{link-list-anchor.component-Cotg5LDT.js → link-list-anchor.component-Csb-FOQL.js} +3 -8
- package/development/link-list-anchor.js +1 -1
- package/development/link-list-anchor.pure.js +1 -1
- package/development/link-list-base-QADBTZCN.js +160 -0
- package/development/{link-list.component-BFbrLjs0.js → link-list.component-CKVU3Gsr.js} +3 -8
- package/development/link-list.js +3 -3
- package/development/link-list.pure.js +3 -3
- package/development/link.js +3 -3
- package/development/link.pure.js +3 -3
- package/development/loading-indicator/loading-indicator.component.d.ts.map +1 -1
- package/development/loading-indicator/loading-indicator.component.js +1 -1
- package/development/loading-indicator-circle/loading-indicator-circle.component.d.ts.map +1 -1
- package/development/loading-indicator-circle/loading-indicator-circle.component.js +1 -1
- package/development/{loading-indicator-circle.component-nc-RH0jT.js → loading-indicator-circle.component-Cfjw5vyz.js} +3 -3
- package/development/loading-indicator-circle.js +1 -1
- package/development/loading-indicator-circle.pure.js +1 -1
- package/development/{loading-indicator.component-DNCUlh6S.js → loading-indicator.component-By2VaLCf.js} +3 -3
- package/development/loading-indicator.js +1 -1
- package/development/loading-indicator.pure.js +1 -1
- package/development/logo/logo.component.d.ts.map +1 -1
- package/development/logo/logo.component.js +1 -1
- package/development/{logo.component-tFe_T36e.js → logo.component-DYKgAgq0.js} +3 -3
- package/development/logo.js +1 -1
- package/development/logo.pure.js +1 -1
- package/development/map-container/map-container.component.d.ts.map +1 -1
- package/development/map-container/map-container.component.js +1 -1
- package/development/map-container.component-D0UVTolK.js +176 -0
- package/development/map-container.js +1 -1
- package/development/map-container.pure.js +1 -1
- package/development/menu/common/menu-action-common.d.ts.map +1 -1
- package/development/menu/common/menu-action-common.js +1 -1
- package/development/menu/menu/menu.component.d.ts.map +1 -1
- package/development/menu/menu/menu.component.js +1 -1
- package/development/{menu-action-common-CEnwq60Z.js → menu-action-common-DRXQc85Y.js} +3 -3
- package/development/menu.component-Cv9wRj4H.js +365 -0
- package/development/menu.js +2 -2
- package/development/menu.pure.js +2 -2
- package/development/message/message.component.d.ts.map +1 -1
- package/development/message/message.component.js +1 -1
- package/development/{message.component-Dzah9lXK.js → message.component-CdO5GyE2.js} +3 -3
- package/development/message.js +1 -1
- package/development/message.pure.js +1 -1
- package/development/{mini-button-group.component-DNFyLMg_.js → mini-button-group.component-Bg-etiu1.js} +3 -3
- package/development/mini-button-link.component-kpRsi8I2.js +39 -0
- package/development/mini-calendar/mini-calendar/mini-calendar.component.d.ts.map +1 -1
- package/development/mini-calendar/mini-calendar/mini-calendar.component.js +1 -1
- package/development/mini-calendar/mini-calendar-day/mini-calendar-day.component.d.ts.map +1 -1
- package/development/mini-calendar/mini-calendar-day/mini-calendar-day.component.js +1 -1
- package/development/mini-calendar/mini-calendar-month/mini-calendar-month.component.d.ts.map +1 -1
- package/development/mini-calendar/mini-calendar-month/mini-calendar-month.component.js +1 -1
- package/development/{mini-calendar-day.component-Bmx2GYGZ.js → mini-calendar-day.component-BLkJ12Bw.js} +2 -2
- package/development/{mini-calendar-month.component-CdIsxUAx.js → mini-calendar-month.component-D8XjjLmN.js} +3 -3
- package/development/mini-calendar.component-BOk8JovO.js +184 -0
- package/development/mini-calendar.js +3 -3
- package/development/mini-calendar.pure.js +3 -3
- package/development/navigation/common/navigation-action-common.d.ts.map +1 -1
- package/development/navigation/common/navigation-action-common.js +1 -1
- package/development/navigation/navigation/navigation.component.d.ts.map +1 -1
- package/development/navigation/navigation/navigation.component.js +1 -1
- package/development/navigation/navigation-list/navigation-list.component.d.ts.map +1 -1
- package/development/navigation/navigation-list/navigation-list.component.js +1 -1
- package/development/navigation/navigation-marker/navigation-marker.component.d.ts.map +1 -1
- package/development/navigation/navigation-marker/navigation-marker.component.js +1 -1
- package/development/navigation/navigation-section/navigation-section.component.d.ts.map +1 -1
- package/development/navigation/navigation-section/navigation-section.component.js +1 -1
- package/development/{navigation-action-common-Cv1AOqUk.js → navigation-action-common-CGy4K8q-.js} +2 -3
- package/development/{navigation-list.component-CQ4q671G.js → navigation-list.component-DrdbtDRs.js} +3 -3
- package/development/{navigation-marker.component-D7ks8vbC.js → navigation-marker.component-fB05cjtE.js} +3 -3
- package/development/navigation-section.component-iaypc6yQ.js +346 -0
- package/development/navigation.component-CqNkBvEs.js +315 -0
- package/development/navigation.js +5 -5
- package/development/navigation.pure.js +5 -5
- package/development/notification/notification.component.d.ts.map +1 -1
- package/development/notification/notification.component.js +1 -1
- package/development/{notification.component-BgF5aGrn.js → notification.component-D0rkSF3p.js} +3 -3
- package/development/notification.js +1 -1
- package/development/notification.pure.js +1 -1
- package/development/{optgroup-base-element-er7EBllh.js → optgroup-base-element-BEG1P4gK.js} +3 -3
- package/development/option/optgroup/optgroup-base-element.d.ts.map +1 -1
- package/development/option/optgroup/optgroup-base-element.js +1 -1
- package/development/option/optgroup/optgroup.component.js +1 -1
- package/development/option/option/option-base-element.d.ts +3 -3
- package/development/option/option/option-base-element.d.ts.map +1 -1
- package/development/option/option/option-base-element.js +5 -5
- package/development/option/option/option.component.d.ts.map +1 -1
- package/development/option/option/option.component.js +1 -1
- package/development/option/option-hint/option-hint.component.d.ts.map +1 -1
- package/development/option/option-hint/option-hint.component.js +1 -1
- package/development/{option-hint.component-DLp9rQrk.js → option-hint.component-CcSUSwjN.js} +3 -3
- package/development/{option.component-B2EO4N0R.js → option.component-BEbIEh5o.js} +4 -4
- package/development/option.js +3 -3
- package/development/option.pure.js +3 -3
- package/development/overlay/overlay-base-element.d.ts +3 -2
- package/development/overlay/overlay-base-element.d.ts.map +1 -1
- package/development/overlay/overlay-base-element.js +6 -3
- package/development/overlay/overlay.component.d.ts.map +1 -1
- package/development/overlay/overlay.component.js +1 -1
- package/development/overlay.component-rFmitc_r.js +206 -0
- package/development/overlay.js +1 -1
- package/development/overlay.pure.js +1 -1
- package/development/paginator/common/paginator-common.d.ts.map +1 -1
- package/development/paginator/common/paginator-common.js +8 -6
- package/development/paginator/compact-paginator/compact-paginator.component.d.ts.map +1 -1
- package/development/paginator/compact-paginator/compact-paginator.component.js +1 -1
- package/development/paginator/paginator/paginator.component.d.ts.map +1 -1
- package/development/paginator/paginator/paginator.component.js +1 -1
- package/development/{paginator.component-BlyTYIs0.js → paginator.component-DIuiY7It.js} +4 -4
- package/development/paginator.js +2 -2
- package/development/paginator.pure.js +2 -2
- package/development/{panel-mixin-CKHxLmjh.js → panel-mixin-CFz9-K_8.js} +7 -3
- package/development/popover/popover.component.d.ts +2 -1
- package/development/popover/popover.component.d.ts.map +1 -1
- package/development/popover/popover.component.js +1 -1
- package/development/popover.component-Bvbf4NyI.js +564 -0
- package/development/popover.js +1 -1
- package/development/popover.pure.js +1 -1
- package/development/radio-button/common/radio-button-common.d.ts +0 -1
- package/development/radio-button/common/radio-button-common.d.ts.map +1 -1
- package/development/radio-button/common/radio-button-common.js +2 -2
- package/development/radio-button/radio-button.component.d.ts.map +1 -1
- package/development/radio-button/radio-button.component.js +1 -1
- package/development/radio-button-common-tC_l-WdB.js +129 -0
- package/development/radio-button-panel/radio-button-panel.component.d.ts +1 -2
- package/development/radio-button-panel/radio-button-panel.component.d.ts.map +1 -1
- package/development/radio-button-panel/radio-button-panel.component.js +5 -12
- package/development/{radio-button.component-DggZ7RZD.js → radio-button.component-3BV31Fkc.js} +4 -8
- package/development/radio-button.js +3 -3
- package/development/radio-button.pure.js +3 -3
- package/development/{sbb-tokens-CGxax8uX.js → sbb-tokens-bg2elLoF.js} +1 -1
- package/development/select/select.component.d.ts.map +1 -1
- package/development/select/select.component.js +1 -1
- package/development/select.component-B8_tnz6D.js +806 -0
- package/development/select.js +1 -1
- package/development/select.pure.js +1 -1
- package/development/selection-action-panel/selection-action-panel.component.d.ts.map +1 -1
- package/development/selection-action-panel/selection-action-panel.component.js +1 -1
- package/development/{selection-action-panel.component-DvhL5Z_Q.js → selection-action-panel.component-ClpKsc-Z.js} +3 -3
- package/development/selection-action-panel.js +1 -1
- package/development/selection-action-panel.pure.js +1 -1
- package/development/selection-expansion-panel/selection-expansion-panel.component.d.ts.map +1 -1
- package/development/selection-expansion-panel/selection-expansion-panel.component.js +1 -1
- package/development/{selection-expansion-panel.component-D_HF9lzq.js → selection-expansion-panel.component-CTCVJiug.js} +3 -3
- package/development/selection-expansion-panel.js +1 -1
- package/development/selection-expansion-panel.pure.js +1 -1
- package/development/{selection-group-base-element-rKKX4OAJ.js → selection-group-base-element-RafKyWXP.js} +3 -4
- package/development/sidebar/sidebar/sidebar.component.d.ts.map +1 -1
- package/development/sidebar/sidebar/sidebar.component.js +1 -1
- package/development/sidebar/sidebar-close-button/sidebar-close-button.component.d.ts.map +1 -1
- package/development/sidebar/sidebar-close-button/sidebar-close-button.component.js +1 -1
- package/development/sidebar/sidebar-container/sidebar-container.component.d.ts.map +1 -1
- package/development/sidebar/sidebar-container/sidebar-container.component.js +1 -1
- package/development/sidebar/sidebar-content/sidebar-content.component.js +1 -1
- package/development/sidebar/sidebar-title/sidebar-title.component.d.ts.map +1 -1
- package/development/sidebar/sidebar-title/sidebar-title.component.js +1 -1
- package/development/{sidebar-close-button.component-DYE0tK-I.js → sidebar-close-button.component-D_grme_h.js} +2 -2
- package/development/sidebar-container.component-C_cu3Vfy.js +100 -0
- package/development/{sidebar-content.component-DbcREBUa.js → sidebar-content.component-CbYPeaaz.js} +1 -1
- package/development/{sidebar-title.component-DBb5MfIC.js → sidebar-title.component-BFqfnG6B.js} +2 -2
- package/development/sidebar.component-DcVKyd9R.js +352 -0
- package/development/sidebar.js +5 -5
- package/development/sidebar.pure.js +5 -5
- package/development/signet/signet.component.d.ts.map +1 -1
- package/development/signet/signet.component.js +1 -1
- package/development/{signet.component-DO73qKor.js → signet.component-NdFqUZK9.js} +3 -3
- package/development/signet.js +1 -1
- package/development/signet.pure.js +1 -1
- package/development/skiplink-list/skiplink-list.component.d.ts.map +1 -1
- package/development/skiplink-list/skiplink-list.component.js +1 -1
- package/development/skiplink-list.component-ppyytKn2.js +129 -0
- package/development/skiplink-list.js +1 -1
- package/development/skiplink-list.pure.js +1 -1
- package/development/slider/slider.component.d.ts.map +1 -1
- package/development/slider/slider.component.js +1 -1
- package/development/{slider.component-CXrGIpkh.js → slider.component-k8g6G0j9.js} +3 -3
- package/development/slider.js +1 -1
- package/development/slider.pure.js +1 -1
- package/development/status/status.component.d.ts.map +1 -1
- package/development/status/status.component.js +1 -1
- package/development/{status.component-BtJ8ri61.js → status.component-CtTNDvLl.js} +3 -3
- package/development/status.js +1 -1
- package/development/status.pure.js +1 -1
- package/development/{step-label.component-Dfx9rLcN.js → step-label.component-BpuNDWKl.js} +3 -3
- package/development/step.component-Di2fT-VG.js +146 -0
- package/development/stepper/step/step.component.d.ts.map +1 -1
- package/development/stepper/step/step.component.js +1 -1
- package/development/stepper/step-label/step-label.component.d.ts.map +1 -1
- package/development/stepper/step-label/step-label.component.js +1 -1
- package/development/stepper/stepper/stepper.component.d.ts.map +1 -1
- package/development/stepper/stepper/stepper.component.js +1 -1
- package/development/stepper.component-BnCUoYv6.js +423 -0
- package/development/stepper.js +3 -3
- package/development/stepper.pure.js +3 -3
- package/development/{sticky-bar.component-MMBSPa2B.js → sticky-bar.component-BrSBKlh-.js} +5 -5
- package/development/styles-BzEbxmCd.js +18 -0
- package/development/{styles-WppEBrlW.js → styles-Jlhoev1S.js} +1 -1
- package/development/tab-group.component-o1F-M_-2.js +266 -0
- package/development/{tab-label.component-Ggx6qaIk.js → tab-label.component-CPaKKeox.js} +3 -7
- package/development/tab-nav-bar.component-3uXgOman.js +110 -0
- package/development/{tab.component-BVhYPy5Y.js → tab.component-DxZtEaTP.js} +1 -1
- package/development/table/table-wrapper/table-wrapper.component.js +1 -1
- package/development/table-wrapper.component-Ba6NpQu1.js +119 -0
- package/development/table.js +1 -1
- package/development/table.pure.js +1 -1
- package/development/tabs/common/styles.js +1 -1
- package/development/tabs/tab/tab.component.js +1 -1
- package/development/tabs/tab-group/tab-group.component.d.ts.map +1 -1
- package/development/tabs/tab-group/tab-group.component.js +1 -1
- package/development/tabs/tab-label/tab-label.component.d.ts.map +1 -1
- package/development/tabs/tab-label/tab-label.component.js +1 -1
- package/development/tabs/tab-nav-bar/tab-nav-bar.component.d.ts.map +1 -1
- package/development/tabs/tab-nav-bar/tab-nav-bar.component.js +1 -1
- package/development/tabs.js +5 -5
- package/development/tabs.pure.js +5 -5
- package/development/tag/tag/tag.component.d.ts.map +1 -1
- package/development/tag/tag/tag.component.js +1 -1
- package/development/tag/tag-group/tag-group.component.d.ts.map +1 -1
- package/development/tag/tag-group/tag-group.component.js +1 -1
- package/development/tag-group.component-CYL62Umh.js +196 -0
- package/development/{tag.component-Davxisfj.js → tag.component-D5DYXQ3i.js} +3 -3
- package/development/tag.js +2 -2
- package/development/tag.pure.js +2 -2
- package/development/teaser/teaser.component.d.ts.map +1 -1
- package/development/teaser/teaser.component.js +1 -1
- package/development/teaser-hero/teaser-hero.component.d.ts.map +1 -1
- package/development/teaser-hero/teaser-hero.component.js +1 -1
- package/development/{teaser-hero.component-bp9IsVmY.js → teaser-hero.component-DrdkFx5X.js} +3 -3
- package/development/teaser-hero.js +1 -1
- package/development/teaser-hero.pure.js +1 -1
- package/development/teaser-panel/teaser-panel.component.d.ts.map +1 -1
- package/development/teaser-panel/teaser-panel.component.js +1 -1
- package/development/{teaser-panel.component-CjSrfJYG.js → teaser-panel.component-WSXbBzCq.js} +3 -3
- package/development/teaser-panel.js +1 -1
- package/development/teaser-panel.pure.js +1 -1
- package/development/teaser-product/common/teaser-product-common.d.ts +0 -1
- package/development/teaser-product/common/teaser-product-common.d.ts.map +1 -1
- package/development/teaser-product/common/teaser-product-common.js +2 -2
- package/development/teaser-product/teaser-product/teaser-product.component.d.ts +1 -2
- package/development/teaser-product/teaser-product/teaser-product.component.d.ts.map +1 -1
- package/development/teaser-product/teaser-product/teaser-product.component.js +1 -1
- package/development/teaser-product/teaser-product-static/teaser-product-static.component.d.ts +0 -2
- package/development/teaser-product/teaser-product-static/teaser-product-static.component.d.ts.map +1 -1
- package/development/teaser-product/teaser-product-static/teaser-product-static.component.js +3 -6
- package/development/teaser-product-common-B8a-KHTi.js +82 -0
- package/development/teaser-product.component-gHjSaG6c.js +37 -0
- package/development/teaser-product.js +3 -3
- package/development/teaser-product.pure.js +3 -3
- package/development/teaser.component-B8kQNF6g.js +116 -0
- package/development/teaser.js +1 -1
- package/development/teaser.pure.js +1 -1
- package/development/time-input/time-input.component.d.ts.map +1 -1
- package/development/time-input/time-input.component.js +1 -1
- package/development/time-input.component-Bc4Sfu-1.js +187 -0
- package/development/time-input.js +1 -1
- package/development/time-input.pure.js +1 -1
- package/development/timetable-form/timetable-form/timetable-form.component.d.ts.map +1 -1
- package/development/timetable-form/timetable-form/timetable-form.component.js +1 -1
- package/development/timetable-form/timetable-form-details/timetable-form-details.component.d.ts.map +1 -1
- package/development/timetable-form/timetable-form-details/timetable-form-details.component.js +1 -1
- package/development/timetable-form/timetable-form-field/timetable-form-field.component.d.ts.map +1 -1
- package/development/timetable-form/timetable-form-field/timetable-form-field.component.js +1 -1
- package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.d.ts.map +1 -1
- package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +1 -1
- package/development/{timetable-form-details.component-B7mwIQoz.js → timetable-form-details.component-DacESFsP.js} +2 -2
- package/development/{timetable-form-field.component-BIpoMaJW.js → timetable-form-field.component-DWCb4SY0.js} +2 -2
- package/development/{timetable-form-swap-button.component-CyHdctws.js → timetable-form-swap-button.component-DGCpV2_y.js} +2 -2
- package/development/{timetable-form.component-BBkeono7.js → timetable-form.component-CtRlKR7e.js} +2 -2
- package/development/timetable-form.js +4 -4
- package/development/timetable-form.pure.js +4 -4
- package/development/timetable-occupancy/timetable-occupancy.component.d.ts.map +1 -1
- package/development/timetable-occupancy/timetable-occupancy.component.js +1 -1
- package/development/timetable-occupancy-icon/timetable-occupancy-icon.component.d.ts.map +1 -1
- package/development/timetable-occupancy-icon/timetable-occupancy-icon.component.js +1 -1
- package/development/{timetable-occupancy-icon.component-CRayfWIo.js → timetable-occupancy-icon.component-uaabLEC5.js} +2 -2
- package/development/timetable-occupancy-icon.js +1 -1
- package/development/timetable-occupancy-icon.pure.js +1 -1
- package/development/{timetable-occupancy.component-B-uVA9KC.js → timetable-occupancy.component-DKWki5pG.js} +6 -6
- package/development/timetable-occupancy.js +1 -1
- package/development/timetable-occupancy.pure.js +1 -1
- package/development/title/title-base.d.ts.map +1 -1
- package/development/title/title-base.js +1 -1
- package/development/title/title.component.d.ts.map +1 -1
- package/development/title/title.component.js +1 -1
- package/development/title-base-fg03gSOD.js +102 -0
- package/development/title.component-B1Uq-Ctr.js +71 -0
- package/development/title.js +2 -2
- package/development/title.pure.js +2 -2
- package/development/toast/toast.component.d.ts.map +1 -1
- package/development/toast/toast.component.js +1 -1
- package/development/toast.component-DeQSxWdf.js +268 -0
- package/development/toast.js +1 -1
- package/development/toast.pure.js +1 -1
- package/development/toggle/toggle/toggle.component.d.ts.map +1 -1
- package/development/toggle/toggle/toggle.component.js +1 -1
- package/development/toggle/toggle-option/toggle-option.component.d.ts.map +1 -1
- package/development/toggle/toggle-option/toggle-option.component.js +1 -1
- package/development/toggle-check/toggle-check.component.d.ts.map +1 -1
- package/development/toggle-check/toggle-check.component.js +1 -1
- package/development/{toggle-check.component-LYr7DJj1.js → toggle-check.component-BUYj49gP.js} +3 -3
- package/development/toggle-check.js +1 -1
- package/development/toggle-check.pure.js +1 -1
- package/development/toggle-option.component-heU6pMCB.js +164 -0
- package/development/toggle.component-DndGyA1x.js +244 -0
- package/development/toggle.js +2 -2
- package/development/toggle.pure.js +2 -2
- package/development/tooltip/tooltip.component.d.ts.map +1 -1
- package/development/tooltip/tooltip.component.js +1 -1
- package/development/tooltip.component-BjOgv29e.js +369 -0
- package/development/tooltip.js +1 -1
- package/development/tooltip.pure.js +1 -1
- package/development/train/train/train.component.d.ts +2 -5
- package/development/train/train/train.component.d.ts.map +1 -1
- package/development/train/train/train.component.js +1 -1
- package/development/train/train-blocked-passage/train-blocked-passage.component.d.ts +4 -3
- package/development/train/train-blocked-passage/train-blocked-passage.component.d.ts.map +1 -1
- package/development/train/train-blocked-passage/train-blocked-passage.component.js +1 -1
- package/development/train/train-formation/train-formation.component.d.ts +6 -2
- package/development/train/train-formation/train-formation.component.d.ts.map +1 -1
- package/development/train/train-formation/train-formation.component.js +1 -1
- package/development/train/train-formation-orientation-mixin.d.ts +12 -0
- package/development/train/train-formation-orientation-mixin.d.ts.map +1 -0
- package/development/train/train-formation-orientation-mixin.js +62 -0
- package/development/train/train-wagon/train-wagon.component.d.ts +5 -32
- package/development/train/train-wagon/train-wagon.component.d.ts.map +1 -1
- package/development/train/train-wagon/train-wagon.component.js +19 -1
- package/development/train/train-wagon-button/train-wagon-button.component.d.ts +18 -0
- package/development/train/train-wagon-button/train-wagon-button.component.d.ts.map +1 -0
- package/development/train/train-wagon-button/train-wagon-button.component.js +18 -0
- package/development/train/train-wagon-common.d.ts +15 -0
- package/development/train/train-wagon-common.d.ts.map +1 -0
- package/development/train/train-wagon-common.js +2 -0
- package/development/train/train-wagon-link/train-wagon-link.component.d.ts +18 -0
- package/development/train/train-wagon-link/train-wagon-link.component.d.ts.map +1 -0
- package/development/train/train-wagon-link/train-wagon-link.component.js +18 -0
- package/development/train-blocked-passage.component-2TuSqbDg.js +22 -0
- package/development/train-formation.component-BYB03zX5.js +190 -0
- package/development/train-wagon-common-C-0fI1r2.js +441 -0
- package/development/train.component-BDG8SlCc.js +239 -0
- package/development/train.d.ts.map +1 -1
- package/development/train.js +13 -7
- package/development/train.pure.d.ts +4 -0
- package/development/train.pure.d.ts.map +1 -1
- package/development/train.pure.js +9 -5
- package/development/visual-checkbox/visual-checkbox.component.d.ts.map +1 -1
- package/development/visual-checkbox/visual-checkbox.component.js +1 -1
- package/development/{visual-checkbox.component-DJ30EugM.js → visual-checkbox.component-Dzdm0TH-.js} +3 -3
- package/development/visual-checkbox.js +1 -1
- package/development/visual-checkbox.pure.js +1 -1
- package/dialog/dialog/dialog.component.js +1 -1
- package/dialog/dialog-actions/dialog-actions.component.js +1 -1
- package/dialog/dialog-close-button/dialog-close-button.component.js +1 -1
- package/dialog/dialog-content/dialog-content.component.js +1 -1
- package/dialog/dialog-title/dialog-title.component.js +1 -1
- package/{dialog-actions.component-DjBJ65tV.js → dialog-actions.component-DxmjSvd-.js} +1 -1
- package/{dialog-close-button.component-CLWP-IVb.js → dialog-close-button.component-B8troaaQ.js} +1 -1
- package/{dialog-content.component-C_Gr8BNL.js → dialog-content.component-Chfg-IY1.js} +7 -2
- package/dialog-title.component-BbcbQXjp.js +17 -0
- package/{dialog.component-ChB9gCyY.js → dialog.component-4O3__zyd.js} +24 -27
- package/dialog.js +5 -5
- package/dialog.pure.js +5 -5
- package/divider/divider.component.js +1 -1
- package/{divider.component-Biqv6ZpH.js → divider.component-WsZcNUnN.js} +11 -11
- package/divider.js +1 -1
- package/divider.pure.js +1 -1
- package/element-C7t5_1gu.js +229 -0
- package/{error.component-D3JgDJfN.js → error.component-D9Tu2YIl.js} +4 -4
- package/expansion-panel/expansion-panel/expansion-panel.component.js +1 -1
- package/expansion-panel/expansion-panel-content/expansion-panel-content.component.js +1 -1
- package/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +1 -1
- package/{expansion-panel-content.component-CL_uEP-7.js → expansion-panel-content.component-Cf1CWu5_.js} +4 -4
- package/{expansion-panel-header.component-DYvq-uUi.js → expansion-panel-header.component-DloOF4eC.js} +7 -7
- package/{expansion-panel.component-BYOTclLb.js → expansion-panel.component-5heRRQ0C.js} +24 -24
- package/expansion-panel.js +3 -3
- package/expansion-panel.pure.js +3 -3
- package/file-selector/common/file-selector-common.js +2 -2
- package/file-selector/file-selector/file-selector.component.js +10 -13
- package/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +1 -1
- package/{file-selector-common-CMLaHuDP.js → file-selector-common-CmbsJ64j.js} +38 -36
- package/{file-selector-dropzone.component-CWwpvAVD.js → file-selector-dropzone.component-74fipV3m.js} +20 -24
- package/file-selector.js +5 -5
- package/file-selector.pure.js +4 -4
- package/flip-card/flip-card/flip-card.component.js +1 -1
- package/flip-card/flip-card-details/flip-card-details.component.js +1 -1
- package/flip-card/flip-card-summary/flip-card-summary.component.js +1 -1
- package/{flip-card-details.component-DXpqywbn.js → flip-card-details.component-BgOeJ53R.js} +6 -6
- package/{flip-card-summary.component-X3PL0o4l.js → flip-card-summary.component-CuMMdJ-B.js} +12 -12
- package/{flip-card.component-Cq5BUWxc.js → flip-card.component-CZ0v44Ym.js} +18 -18
- package/flip-card.js +3 -3
- package/flip-card.pure.js +3 -3
- package/footer/footer.component.js +1 -1
- package/{footer.component-CdTEaV6u.js → footer.component-DsIoOLu-.js} +6 -6
- package/footer.js +1 -1
- package/footer.pure.js +1 -1
- package/form-field/error/error.component.js +1 -1
- package/form-field/form-field/form-field.component.js +1 -1
- package/form-field/form-field-clear/form-field-clear.component.js +8 -8
- package/form-field/form-field-text-counter/form-field-text-counter.component.js +14 -20
- package/form-field/hint/hint.component.js +1 -1
- package/{form-field.component-Dtzbp6-e.js → form-field.component-Dg-a3lS5.js} +18 -18
- package/form-field.js +3 -3
- package/form-field.pure.js +3 -3
- package/header/common/header-action-common.js +1 -1
- package/header/header/header.component.js +1 -1
- package/header/header-environment/header-environment.component.js +1 -1
- package/{header-action-common-BOKlGz-X.js → header-action-common-B1jGzY-U.js} +14 -15
- package/{header-environment.component-BXPJRKXx.js → header-environment.component-B0VYZh7C.js} +6 -6
- package/{header.component-DoAFSXgO.js → header.component-Bj7phY1B.js} +18 -18
- package/header.js +3 -3
- package/header.pure.js +3 -3
- package/{hint.component-BB_h0G6v.js → hint.component-DTKfI9tq.js} +4 -4
- package/icon/icon-base.js +1 -1
- package/icon/icon.component.js +1 -1
- package/{icon-base-BRde2Po9.js → icon-base-CCpB1w3b.js} +21 -21
- package/icon-sidebar/icon-sidebar/icon-sidebar.component.js +1 -1
- package/icon-sidebar/icon-sidebar-button/icon-sidebar-button.component.js +6 -6
- package/icon-sidebar/icon-sidebar-container/icon-sidebar-container.component.js +1 -1
- package/icon-sidebar/icon-sidebar-content/icon-sidebar-content.component.js +1 -1
- package/icon-sidebar/icon-sidebar-link/icon-sidebar-link.component.js +6 -6
- package/icon-sidebar.js +3 -3
- package/icon-sidebar.pure.js +3 -3
- package/icon.js +1 -1
- package/icon.pure.js +1 -1
- package/image/image.component.js +1 -1
- package/{image.component-BPXQC-6E.js → image.component-BSSyfPru.js} +28 -28
- package/image.js +1 -1
- package/image.pure.js +1 -1
- package/index.d.ts +3 -3
- package/index.js +3 -3
- package/{inline-link-common-DyeQzML8.js → inline-link-common-BqqH1ExY.js} +2 -2
- package/journey-header/journey-header.component.js +1 -1
- package/journey-header.component-CXyULeHJ.js +113 -0
- package/journey-header.js +1 -1
- package/journey-header.pure.js +1 -1
- package/lead-container/lead-container.component.js +1 -1
- package/{lead-container.component-BX5mBnB5.js → lead-container.component-CdfHJFFN.js} +4 -4
- package/lead-container.js +1 -1
- package/lead-container.pure.js +1 -1
- package/link/common/block-link-common.js +1 -1
- package/link/common/inline-link-common.js +1 -1
- package/link/common/link-common.js +1 -1
- package/{link-common-DO7R6Wp4.js → link-common-ezSu7e9c.js} +8 -8
- package/link-list/common/link-list-base.js +2 -2
- package/link-list/link-list.component.js +1 -1
- package/link-list-anchor/link-list-anchor.component.js +1 -1
- package/{link-list-anchor.component-DAK9GUuf.js → link-list-anchor.component-DG_HCtHH.js} +4 -9
- package/link-list-anchor.js +1 -1
- package/link-list-anchor.pure.js +1 -1
- package/{link-list-base-Dt7UnNwU.js → link-list-base-CEEw1SMd.js} +15 -13
- package/{link-list.component-B0fI8akl.js → link-list.component-CS4KuMkQ.js} +17 -22
- package/link-list.js +4 -4
- package/link-list.pure.js +3 -3
- package/link.js +3 -3
- package/link.pure.js +3 -3
- package/loading-indicator/loading-indicator.component.js +1 -1
- package/loading-indicator-circle/loading-indicator-circle.component.js +1 -1
- package/{loading-indicator-circle.component-B3gn0-ee.js → loading-indicator-circle.component-CSU2Ludy.js} +11 -11
- package/loading-indicator-circle.js +1 -1
- package/loading-indicator-circle.pure.js +1 -1
- package/{loading-indicator.component-DgYCAAkf.js → loading-indicator.component-DxyhIaFo.js} +13 -13
- package/loading-indicator.js +1 -1
- package/loading-indicator.pure.js +1 -1
- package/logo/logo.component.js +1 -1
- package/{logo.component-CaIUvKBz.js → logo.component-DVMNS8Op.js} +14 -14
- package/logo.js +1 -1
- package/logo.pure.js +1 -1
- package/map-container/map-container.component.js +1 -1
- package/{map-container.component-BlrPWANi.js → map-container.component-DyJBA3qj.js} +9 -6
- package/map-container.js +1 -1
- package/map-container.pure.js +1 -1
- package/menu/common/menu-action-common.js +1 -1
- package/menu/menu/menu.component.js +1 -1
- package/{menu-action-common-krzD_Ca2.js → menu-action-common-Wy36tk18.js} +7 -7
- package/{menu.component-KdXwqe55.js → menu.component-DrrKSRmJ.js} +16 -16
- package/menu.js +2 -2
- package/menu.pure.js +2 -2
- package/message/message.component.js +1 -1
- package/{message.component-CF-_MD7m.js → message.component-CdfsCpnE.js} +4 -4
- package/message.js +1 -1
- package/message.pure.js +1 -1
- package/{mini-button-group.component-BHbNqePj.js → mini-button-group.component-BOJNsLrh.js} +11 -11
- package/{mini-button-link.component-CF9-gRPn.js → mini-button-link.component-B8HmvVCg.js} +7 -8
- package/mini-calendar/mini-calendar/mini-calendar.component.js +1 -1
- package/mini-calendar/mini-calendar-day/mini-calendar-day.component.js +1 -1
- package/mini-calendar/mini-calendar-month/mini-calendar-month.component.js +1 -1
- package/{mini-calendar-day.component-0lJIxizR.js → mini-calendar-day.component-CVYqN3Yn.js} +1 -1
- package/{mini-calendar-month.component-C1oHh5pA.js → mini-calendar-month.component-DbiqMOH8.js} +10 -10
- package/{mini-calendar.component-DjQYQ3Yf.js → mini-calendar.component-BKzbqHim.js} +1 -1
- package/mini-calendar.js +3 -3
- package/mini-calendar.pure.js +3 -3
- package/navigation/common/navigation-action-common.js +1 -1
- package/navigation/navigation/navigation.component.js +1 -1
- package/navigation/navigation-list/navigation-list.component.js +1 -1
- package/navigation/navigation-marker/navigation-marker.component.js +1 -1
- package/navigation/navigation-section/navigation-section.component.js +1 -1
- package/{navigation-action-common-BKI1MS1v.js → navigation-action-common-HG5kdQJR.js} +13 -14
- package/{navigation-list.component-BX-kv06z.js → navigation-list.component-NQZA2mui.js} +12 -12
- package/{navigation-marker.component-iSodFQRj.js → navigation-marker.component-D1p9TkWH.js} +13 -13
- package/{navigation-section.component-K4Pa53K7.js → navigation-section.component-Bmh4Xtrm.js} +11 -11
- package/{navigation.component-BFejmwjr.js → navigation.component-DLgmWh_c.js} +10 -10
- package/navigation.js +5 -5
- package/navigation.pure.js +5 -5
- package/notification/notification.component.js +1 -1
- package/{notification.component-D9oxjMJs.js → notification.component-DpC6ulTx.js} +22 -22
- package/notification.js +1 -1
- package/notification.pure.js +1 -1
- package/off-brand-theme.css +94 -190
- package/{optgroup-base-element-BkboZL9_.js → optgroup-base-element-C6KwbQ0N.js} +16 -16
- package/option/optgroup/optgroup-base-element.js +1 -1
- package/option/optgroup/optgroup.component.js +1 -1
- package/option/option/option-base-element.js +10 -10
- package/option/option/option.component.js +1 -1
- package/option/option-hint/option-hint.component.js +1 -1
- package/{option-hint.component-B388JuQb.js → option-hint.component-Bayihbh1.js} +4 -4
- package/{option.component-B8PivDHD.js → option.component-C-GGTcqF.js} +7 -7
- package/option.js +3 -3
- package/option.pure.js +3 -3
- package/overlay/overlay-base-element.js +24 -21
- package/overlay/overlay.component.js +1 -1
- package/overlay.component-C80XN61v.js +156 -0
- package/overlay.js +1 -1
- package/overlay.pure.js +1 -1
- package/package.json +1 -1
- package/paginator/common/paginator-common.js +16 -14
- package/paginator/compact-paginator/compact-paginator.component.js +1 -1
- package/paginator/paginator/paginator.component.js +1 -1
- package/{paginator.component-DA_wUypF.js → paginator.component-3ra04AQU.js} +31 -31
- package/paginator.js +2 -2
- package/paginator.pure.js +2 -2
- package/panel-mixin-CcbyRemy.js +115 -0
- package/popover/popover.component.js +1 -1
- package/{popover.component-BkhmysoH.js → popover.component-C66BxhNQ.js} +62 -39
- package/popover.js +1 -1
- package/popover.pure.js +1 -1
- package/radio-button/common/radio-button-common.js +2 -2
- package/radio-button/radio-button.component.js +1 -1
- package/radio-button-common-BDGoskeZ.js +82 -0
- package/radio-button-panel/radio-button-panel.component.js +12 -19
- package/{radio-button.component-v5czJYC3.js → radio-button.component-DedTTka_.js} +18 -22
- package/radio-button.js +4 -4
- package/radio-button.pure.js +3 -3
- package/safety-theme.css +94 -190
- package/scrollbar.css +33 -97
- package/select/select.component.js +1 -1
- package/{select.component-De-aDcuf.js → select.component-PLjAiAA3.js} +41 -41
- package/select.js +1 -1
- package/select.pure.js +1 -1
- package/selection-action-panel/selection-action-panel.component.js +1 -1
- package/{selection-action-panel.component-CRk9svQp.js → selection-action-panel.component-B7OtT_t2.js} +4 -4
- package/selection-action-panel.js +1 -1
- package/selection-action-panel.pure.js +1 -1
- package/selection-expansion-panel/selection-expansion-panel.component.js +1 -1
- package/{selection-expansion-panel.component-XKyTzHtv.js → selection-expansion-panel.component-NXfxG9uN.js} +16 -16
- package/selection-expansion-panel.js +1 -1
- package/selection-expansion-panel.pure.js +1 -1
- package/{selection-group-base-element-DwtaC7vx.js → selection-group-base-element-BCEzcnya.js} +16 -17
- package/sidebar/sidebar/sidebar.component.js +1 -1
- package/sidebar/sidebar-close-button/sidebar-close-button.component.js +1 -1
- package/sidebar/sidebar-container/sidebar-container.component.js +1 -1
- package/sidebar/sidebar-content/sidebar-content.component.js +1 -1
- package/sidebar/sidebar-title/sidebar-title.component.js +1 -1
- package/{sidebar-close-button.component-YZyIVv1P.js → sidebar-close-button.component-D5gxiJ_e.js} +1 -1
- package/{sidebar-container.component-BRTbHYKk.js → sidebar-container.component-BI2Jm-cJ.js} +11 -15
- package/{sidebar-title.component-W_fxPBDi.js → sidebar-title.component-ByroIWTZ.js} +1 -1
- package/{sidebar.component-Sw06otwx.js → sidebar.component-B2IfBEhW.js} +13 -10
- package/sidebar.js +5 -5
- package/sidebar.pure.js +5 -5
- package/signet/signet.component.js +1 -1
- package/{signet.component-BXAwmsGx.js → signet.component-xkCj9Bel.js} +14 -14
- package/signet.js +1 -1
- package/signet.pure.js +1 -1
- package/skiplink-list/skiplink-list.component.js +1 -1
- package/skiplink-list.component-Dsg-qVWZ.js +95 -0
- package/skiplink-list.js +1 -1
- package/skiplink-list.pure.js +1 -1
- package/slider/slider.component.js +1 -1
- package/{slider.component-DfMkuXac.js → slider.component-DX8K9GWl.js} +25 -25
- package/slider.js +1 -1
- package/slider.pure.js +1 -1
- package/standard-theme.css +94 -190
- package/status/status.component.js +1 -1
- package/{status.component-5SKEusnj.js → status.component-BkBUOZC5.js} +11 -11
- package/status.js +1 -1
- package/status.pure.js +1 -1
- package/{step-label.component-DM7lQw8b.js → step-label.component-BkiOyF7s.js} +6 -6
- package/{step.component-DuLOqjZk.js → step.component-KiTfzfTj.js} +7 -7
- package/stepper/step/step.component.js +1 -1
- package/stepper/step-label/step-label.component.js +1 -1
- package/stepper/stepper/stepper.component.js +1 -1
- package/{stepper.component-8IXNrdx7.js → stepper.component-BX3gSLpt.js} +24 -24
- package/stepper.js +3 -3
- package/stepper.pure.js +3 -3
- package/{sticky-bar.component-B_cdkr-V.js → sticky-bar.component-CmB6U3iY.js} +15 -15
- package/styles-OHFAsnJq.js +5 -0
- package/{tab-group.component-B3uz-8FA.js → tab-group.component-BGDY-hvA.js} +23 -27
- package/{tab-label.component-JjktN30A.js → tab-label.component-CMbmEoNe.js} +21 -25
- package/{tab-nav-bar.component-C6ZRnHq_.js → tab-nav-bar.component-Cwrqhb-2.js} +13 -14
- package/table/table-wrapper/table-wrapper.component.js +1 -1
- package/{table-wrapper.component-Dxb8kzV3.js → table-wrapper.component-CQ76PAQl.js} +1 -1
- package/table.js +1 -1
- package/table.pure.js +1 -1
- package/tabs/common/styles.js +1 -1
- package/tabs/tab/tab.component.js +1 -1
- package/tabs/tab-group/tab-group.component.js +1 -1
- package/tabs/tab-label/tab-label.component.js +1 -1
- package/tabs/tab-nav-bar/tab-nav-bar.component.js +1 -1
- package/tabs.js +5 -5
- package/tabs.pure.js +5 -5
- package/tag/tag/tag.component.js +1 -1
- package/tag/tag-group/tag-group.component.js +1 -1
- package/{tag-group.component-Bha1unpW.js → tag-group.component-DyXEgvbN.js} +14 -14
- package/{tag.component-BGYVbfUx.js → tag.component-C74wsPOB.js} +17 -17
- package/tag.js +2 -2
- package/tag.pure.js +2 -2
- package/teaser/teaser.component.js +1 -1
- package/teaser-hero/teaser-hero.component.js +1 -1
- package/{teaser-hero.component-By1HInfz.js → teaser-hero.component-mT8miROU.js} +18 -18
- package/teaser-hero.js +1 -1
- package/teaser-hero.pure.js +1 -1
- package/teaser-panel/teaser-panel.component.js +1 -1
- package/{teaser-panel.component-C4auDYCc.js → teaser-panel.component-DWdMzyoI.js} +6 -6
- package/teaser-panel.js +1 -1
- package/teaser-panel.pure.js +1 -1
- package/teaser-product/common/teaser-product-common.js +2 -2
- package/teaser-product/teaser-product/teaser-product.component.js +1 -1
- package/teaser-product/teaser-product-static/teaser-product-static.component.js +4 -7
- package/teaser-product-common-DOQ6f2B7.js +65 -0
- package/teaser-product.component-Dzclz3Sg.js +23 -0
- package/teaser-product.js +5 -5
- package/teaser-product.pure.js +4 -4
- package/teaser.component-BSpcEI3Z.js +89 -0
- package/teaser.js +1 -1
- package/teaser.pure.js +1 -1
- package/time-input/time-input.component.js +1 -1
- package/{time-input.component-BVoO7JLV.js → time-input.component-BRJerke6.js} +1 -1
- package/time-input.js +1 -1
- package/time-input.pure.js +1 -1
- package/timetable-form/timetable-form/timetable-form.component.js +1 -1
- package/timetable-form/timetable-form-details/timetable-form-details.component.js +1 -1
- package/timetable-form/timetable-form-field/timetable-form-field.component.js +1 -1
- package/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +1 -1
- package/{timetable-form-details.component-BQmF3WLu.js → timetable-form-details.component-Wmad9usT.js} +1 -1
- package/{timetable-form-field.component-DrQuTOJr.js → timetable-form-field.component-D3P3lV86.js} +1 -1
- package/{timetable-form-swap-button.component-D9wBQQkG.js → timetable-form-swap-button.component-B8yPDfMq.js} +1 -1
- package/{timetable-form.component-AbZF15Tg.js → timetable-form.component-CJKyHMZk.js} +1 -1
- package/timetable-form.js +4 -4
- package/timetable-form.pure.js +4 -4
- package/timetable-occupancy/timetable-occupancy.component.js +1 -1
- package/timetable-occupancy-icon/timetable-occupancy-icon.component.js +1 -1
- package/{timetable-occupancy-icon.component-B6pF-j0D.js → timetable-occupancy-icon.component-DA9NTQJn.js} +1 -1
- package/timetable-occupancy-icon.js +1 -1
- package/timetable-occupancy-icon.pure.js +1 -1
- package/{timetable-occupancy.component-Dq9RM6qS.js → timetable-occupancy.component-B0OJi-B1.js} +16 -16
- package/timetable-occupancy.js +1 -1
- package/timetable-occupancy.pure.js +1 -1
- package/title/title-base.js +1 -1
- package/title/title.component.js +1 -1
- package/{title-base-B43-Q_7r.js → title-base-B70qaksx.js} +2 -2
- package/title.component-DO67K8g1.js +54 -0
- package/title.js +2 -2
- package/title.pure.js +2 -2
- package/toast/toast.component.js +1 -1
- package/{toast.component-2hmfUgsX.js → toast.component-DVaz-D5o.js} +22 -22
- package/toast.js +1 -1
- package/toast.pure.js +1 -1
- package/toggle/toggle/toggle.component.js +1 -1
- package/toggle/toggle-option/toggle-option.component.js +1 -1
- package/toggle-check/toggle-check.component.js +1 -1
- package/{toggle-check.component-WVQ4NM-R.js → toggle-check.component-YWr3IHEL.js} +17 -17
- package/toggle-check.js +1 -1
- package/toggle-check.pure.js +1 -1
- package/{toggle-option.component-DeePQ-NW.js → toggle-option.component-BP9QEwh9.js} +15 -15
- package/{toggle.component-BGgAnHau.js → toggle.component-BFsrJ98d.js} +15 -15
- package/toggle.js +2 -2
- package/toggle.pure.js +2 -2
- package/tooltip/tooltip.component.js +1 -1
- package/{tooltip.component-Bp-8vRoA.js → tooltip.component-BrXCWlQB.js} +29 -29
- package/tooltip.js +1 -1
- package/tooltip.pure.js +1 -1
- package/train/train/train.component.js +1 -1
- package/train/train-blocked-passage/train-blocked-passage.component.js +1 -1
- package/train/train-formation/train-formation.component.js +1 -1
- package/train/train-formation-orientation-mixin.js +45 -0
- package/train/train-wagon/train-wagon.component.js +13 -2
- package/train/train-wagon-button/train-wagon-button.component.js +10 -0
- package/train/train-wagon-common.js +2 -0
- package/train/train-wagon-link/train-wagon-link.component.js +10 -0
- package/train-blocked-passage.component-DxqSh9I8.js +14 -0
- package/train-formation.component-HM0M0FHW.js +143 -0
- package/train-wagon-common-BH9bSebN.js +354 -0
- package/train.component-BZ3jtqQ4.js +181 -0
- package/train.js +10 -6
- package/train.pure.js +9 -5
- package/visual-checkbox/visual-checkbox.component.js +1 -1
- package/{visual-checkbox.component-BsjmJgcn.js → visual-checkbox.component-R9bYxeNp.js} +17 -17
- package/visual-checkbox.js +1 -1
- package/visual-checkbox.pure.js +1 -1
- package/calendar-cell-base-element-Bip0m9Wr.js +0 -21
- package/card.component-DZrNg3sQ.js +0 -61
- package/checkbox-common-DSmxKbmR.js +0 -67
- package/core/screen-reader-only/screen-reader-only.component.js +0 -2
- package/core/styles/box-sizing.scss +0 -3
- package/datepicker.component-CNQGkdr-.js +0 -154
- package/development/accordion.component-DGUoG6p2.js +0 -165
- package/development/alert-group.component-D4KxKTd2.js +0 -186
- package/development/autocomplete-base-element-Bwkns3IL.js +0 -686
- package/development/breadcrumb-group.component-BC1mWiQE.js +0 -193
- package/development/calendar-day.component-CnNml44_.js +0 -144
- package/development/calendar.component-B5dz7mau.js +0 -1451
- package/development/card-action-common-HYrFMTkA.js +0 -115
- package/development/card.component-B2cQYSCD.js +0 -80
- package/development/carousel-list.component-z40-4ANn.js +0 -133
- package/development/carousel.component-BHYBvOm7.js +0 -142
- package/development/checkbox-common-DOoEKgML.js +0 -84
- package/development/chip-group.component-B4Mjcep2.js +0 -402
- package/development/core/screen-reader-only/screen-reader-only.component.d.ts +0 -18
- package/development/core/screen-reader-only/screen-reader-only.component.d.ts.map +0 -1
- package/development/core/screen-reader-only/screen-reader-only.component.js +0 -2
- package/development/date-input.component-osVJFOS-.js +0 -302
- package/development/datepicker-button-BI5R118p.js +0 -166
- package/development/datepicker.component-Chnvwnp7.js +0 -212
- package/development/dialog-title.component-CNMzIUB2.js +0 -29
- package/development/file-selector-common-BX5f18cJ.js +0 -409
- package/development/footer.component-kFeZqO-Q.js +0 -169
- package/development/image.component-BuAPmhIt.js +0 -772
- package/development/journey-header.component-BKX1K6cf.js +0 -186
- package/development/link-list-base-B7vidwUW.js +0 -156
- package/development/map-container.component-DvHVJZEZ.js +0 -173
- package/development/menu.component-DbNRrGYy.js +0 -365
- package/development/mini-button-link.component-DflgG59S.js +0 -40
- package/development/mini-calendar.component-Ddxgy4Tj.js +0 -184
- package/development/navigation-section.component-t36xyaq4.js +0 -346
- package/development/navigation.component-Djm0PFOA.js +0 -315
- package/development/overlay.component-BcOBxY6k.js +0 -210
- package/development/popover.component-DM9Bn8xl.js +0 -535
- package/development/radio-button-common-ZMs5IFm2.js +0 -125
- package/development/screen-reader-only.component-D60AmiFy.js +0 -26
- package/development/select.component-BnHx3v3c.js +0 -806
- package/development/sidebar-container.component-CC9TtB6I.js +0 -104
- package/development/sidebar.component-zMWbdz0h.js +0 -349
- package/development/skiplink-list.component-DqYT2mmv.js +0 -129
- package/development/step.component-D1Gq0VRW.js +0 -146
- package/development/stepper.component-BTwJttZt.js +0 -423
- package/development/styles-DcuJgwEt.js +0 -14
- package/development/tab-group.component-DX7BY7Xy.js +0 -270
- package/development/tab-nav-bar.component-BTPTHy2C.js +0 -111
- package/development/table-wrapper.component-DcLwEDzr.js +0 -119
- package/development/tag-group.component-SEbOfnip.js +0 -196
- package/development/teaser-product-common-DasV_SDa.js +0 -78
- package/development/teaser-product.component-CB6fOX7T.js +0 -44
- package/development/teaser.component-C7uXEaPK.js +0 -116
- package/development/time-input.component-x-QOtbwE.js +0 -187
- package/development/title-base-DKVyL7TQ.js +0 -102
- package/development/title.component-BEEzA9cF.js +0 -71
- package/development/toast.component-DvVY7zpe.js +0 -268
- package/development/toggle-option.component-DRAJ11fp.js +0 -164
- package/development/toggle.component-CQYpVyvs.js +0 -244
- package/development/tooltip.component-Br7aDPFn.js +0 -369
- package/development/train-blocked-passage.component-Bh2dR1gn.js +0 -30
- package/development/train-formation.component-Dm0t9N_h.js +0 -149
- package/development/train-wagon.component-B6V4dPKn.js +0 -334
- package/development/train.component-BvbNBkZF.js +0 -229
- package/dialog-title.component-CRGqiwZu.js +0 -17
- package/journey-header.component-DeNd5WzP.js +0 -140
- package/overlay.component-C6i5RA4B.js +0 -160
- package/panel-mixin-By8Uy5yz.js +0 -113
- package/radio-button-common-iNYco_B8.js +0 -80
- package/screen-reader-only.component-B08Bt5Ct.js +0 -16
- package/skiplink-list.component-By3lc_fn.js +0 -95
- package/styles-swTeDfst.js +0 -5
- package/teaser-product-common-Kz3ApcVE.js +0 -63
- package/teaser-product.component-C7KoSqcP.js +0 -30
- package/teaser.component-B2y2AlAx.js +0 -89
- package/title.component-DXJHJ6p6.js +0 -54
- package/train-blocked-passage.component-DIh8dbU9.js +0 -22
- package/train-formation.component-DS4EDwPY.js +0 -117
- package/train-wagon.component-LwKwwuta.js +0 -257
- package/train.component-DuFi_iBX.js +0 -174
- /package/{icon-sidebar-container.component-BhgNmjw4.js → icon-sidebar-container.component-CDBkiGlz.js} +0 -0
- /package/{icon-sidebar-content.component-lFstg91Y.js → icon-sidebar-content.component-CN4Que2a.js} +0 -0
- /package/{icon-sidebar.component-D0TtF-kR.js → icon-sidebar.component-DA2cmcyy.js} +0 -0
- /package/{sbb-tokens-vtQhz2S7.js → sbb-tokens-BBic3kP6.js} +0 -0
- /package/{sidebar-content.component-CYupfsq_.js → sidebar-content.component-C44ixSgf.js} +0 -0
- /package/{styles-DisU4TWi.js → styles-BNu0Fjw5.js} +0 -0
- /package/{tab.component-D6hfhlZw.js → tab.component-BtN993ye.js} +0 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { __esDecorate, __runInitializers } from "tslib";
|
|
2
|
+
import { state } from "lit/decorators.js";
|
|
3
|
+
import { SbbPropertyWatcherController } from "../core.js";
|
|
4
|
+
//#region src/elements/train/train-formation-orientation-mixin.ts
|
|
5
|
+
/**
|
|
6
|
+
* Mixin that reads the `orientation` property from the closest `sbb-train-formation`
|
|
7
|
+
* and reflects it as a CSS custom state (`orientation-horizontal` / `orientation-vertical`).
|
|
8
|
+
*/
|
|
9
|
+
var SbbTrainFormationOrientationMixin = (superClass) => {
|
|
10
|
+
return (() => {
|
|
11
|
+
let _classSuper = superClass;
|
|
12
|
+
let _orientation_decorators;
|
|
13
|
+
let _orientation_initializers = [];
|
|
14
|
+
let _orientation_extraInitializers = [];
|
|
15
|
+
return class SbbTrainFormationOrientationElement extends _classSuper {
|
|
16
|
+
static {
|
|
17
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
18
|
+
_orientation_decorators = [state()];
|
|
19
|
+
__esDecorate(this, null, _orientation_decorators, {
|
|
20
|
+
kind: "accessor",
|
|
21
|
+
name: "orientation",
|
|
22
|
+
static: false,
|
|
23
|
+
private: false,
|
|
24
|
+
access: {
|
|
25
|
+
has: (obj) => "orientation" in obj,
|
|
26
|
+
get: (obj) => obj.orientation,
|
|
27
|
+
set: (obj, value) => {
|
|
28
|
+
obj.orientation = value;
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
metadata: _metadata
|
|
32
|
+
}, _orientation_initializers, _orientation_extraInitializers);
|
|
33
|
+
if (_metadata) Object.defineProperty(this, Symbol.metadata, {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
configurable: true,
|
|
36
|
+
writable: true,
|
|
37
|
+
value: _metadata
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
#orientation_accessor_storage = __runInitializers(this, _orientation_initializers, null);
|
|
41
|
+
get orientation() {
|
|
42
|
+
return this.#orientation_accessor_storage;
|
|
43
|
+
}
|
|
44
|
+
set orientation(value) {
|
|
45
|
+
this.#orientation_accessor_storage = value;
|
|
46
|
+
}
|
|
47
|
+
constructor(...args) {
|
|
48
|
+
super(...args);
|
|
49
|
+
__runInitializers(this, _orientation_extraInitializers);
|
|
50
|
+
this.addController(new SbbPropertyWatcherController(this, () => this.closest("sbb-train-formation"), { orientation: (t) => {
|
|
51
|
+
if (this.orientation) this.internals.states.delete(`orientation-${this.orientation}`);
|
|
52
|
+
this.orientation = t.orientation;
|
|
53
|
+
if (this.orientation) this.internals.states.add(`orientation-${this.orientation}`);
|
|
54
|
+
} }));
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
})();
|
|
58
|
+
};
|
|
59
|
+
//#endregion
|
|
60
|
+
export { SbbTrainFormationOrientationMixin };
|
|
61
|
+
|
|
62
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhaW4tZm9ybWF0aW9uLW9yaWVudGF0aW9uLW1peGluLmpzIiwibmFtZXMiOltdLCJzb3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LEdBQUcsS0FBSzs7QUFDZCxTQUFLLGNBQ0gsSUFBSSw2QkFBNkIsWUFBWSxLQUFLLFFBQVEsc0JBQXNCLEVBQUUsRUFDaEYsY0FBYyxNQUErQjtBQUMzQyxTQUFJLEtBQUssWUFDUCxNQUFLLFVBQVUsT0FBTyxPQUFPLGVBQWUsS0FBSyxjQUFjO0FBRWpFLFVBQUssY0FBYyxFQUFFO0FBQ3JCLFNBQUksS0FBSyxZQUNQLE1BQUssVUFBVSxPQUFPLElBQUksZUFBZSxLQUFLLGNBQWM7T0FHakUsQ0FBQyxDQUNIOzs7S0FJRSJ9
|
|
@@ -1,41 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
declare const SbbTrainWagonElement_base: import('../../core.ts').AbstractConstructor<import('../../core.ts').SbbNamedSlotListMixinType<SbbIconElement>> & typeof SbbElement;
|
|
1
|
+
import { TemplateResult } from 'lit';
|
|
2
|
+
import { SbbElement } from '../../core.ts';
|
|
3
|
+
declare const SbbTrainWagonElement_base: import('../../core.ts').AbstractConstructor<import('../train-wagon-common.ts').SbbTrainWagonMixinType> & typeof SbbElement;
|
|
5
4
|
/**
|
|
6
5
|
* It displays a train compartment within a `sbb-train` component.
|
|
7
6
|
*
|
|
8
|
-
* @slot - Use the unnamed slot to add one or more `sbb-icon` for meta-information of the
|
|
7
|
+
* @slot - Use the unnamed slot to add one or more `sbb-icon` for meta-information of the wagon.
|
|
9
8
|
*/
|
|
10
9
|
export declare class SbbTrainWagonElement extends SbbTrainWagonElement_base {
|
|
11
10
|
static readonly elementName: string;
|
|
12
|
-
|
|
13
|
-
static styles: CSSResultGroup;
|
|
14
|
-
static readonly events: {
|
|
15
|
-
readonly sectorchange: "sectorchange";
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* Wagon type.
|
|
19
|
-
* For `wagon-end-left` and `wagon-end-right`, please set the corresponding value of the `blockedPassage` property.
|
|
20
|
-
*/
|
|
21
|
-
accessor type: 'wagon' | 'wagon-end-left' | 'wagon-end-right' | 'couchette' | 'sleeping' | 'restaurant' | 'locomotive' | 'closed';
|
|
22
|
-
protected readonly listChildLocalNames: string[];
|
|
23
|
-
/** Occupancy of a wagon. */
|
|
24
|
-
accessor occupancy: SbbOccupancy | null;
|
|
25
|
-
/** Sector in which the wagon stops. */
|
|
26
|
-
accessor sector: string;
|
|
27
|
-
/** Accessibility text for blocked passages of the wagon. */
|
|
28
|
-
accessor blockedPassage: 'previous' | 'next' | 'both' | 'none';
|
|
29
|
-
/** Class label */
|
|
30
|
-
accessor wagonClass: '1' | '2' | null;
|
|
31
|
-
/** Wagon number */
|
|
32
|
-
accessor label: string;
|
|
33
|
-
/** Additional accessibility text which will be appended to the end. */
|
|
34
|
-
accessor additionalAccessibilityText: string;
|
|
35
|
-
private _language;
|
|
36
|
-
private _sectorChanged;
|
|
37
|
-
private _typeLabel;
|
|
38
|
-
protected render(): TemplateResult;
|
|
11
|
+
render(): TemplateResult;
|
|
39
12
|
}
|
|
40
13
|
declare global {
|
|
41
14
|
interface HTMLElementTagNameMap {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"train-wagon.component.d.ts","sourceRoot":"","sources":["../../../../../src/elements/train/train-wagon/train-wagon.component.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"train-wagon.component.d.ts","sourceRoot":"","sources":["../../../../../src/elements/train/train-wagon/train-wagon.component.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAE1C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;;AAG3C;;;;GAIG;AACH,qBAAa,oBAAqB,SAAQ,yBAA8B;IACtE,gBAAgC,WAAW,EAAE,MAAM,CAAqB;IAExD,MAAM,IAAI,cAAc;CAGzC;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,iBAAiB,EAAE,oBAAoB,CAAC;KACzC;CACF"}
|
|
@@ -1,2 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SbbElement } from "../../core.js";
|
|
2
|
+
import { SbbTrainWagonMixin } from "../train-wagon-common.js";
|
|
3
|
+
//#region src/elements/train/train-wagon/train-wagon.component.ts
|
|
4
|
+
/**
|
|
5
|
+
* It displays a train compartment within a `sbb-train` component.
|
|
6
|
+
*
|
|
7
|
+
* @slot - Use the unnamed slot to add one or more `sbb-icon` for meta-information of the wagon.
|
|
8
|
+
*/
|
|
9
|
+
var SbbTrainWagonElement = class extends SbbTrainWagonMixin(SbbElement) {
|
|
10
|
+
static {
|
|
11
|
+
this.elementName = "sbb-train-wagon";
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return this.renderTemplate();
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
2
18
|
export { SbbTrainWagonElement };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhaW4td2Fnb24uY29tcG9uZW50LmpzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9lbGVtZW50cy90cmFpbi90cmFpbi13YWdvbi90cmFpbi13YWdvbi5jb21wb25lbnQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBUZW1wbGF0ZVJlc3VsdCB9IGZyb20gJ2xpdCc7XG5cbmltcG9ydCB7IFNiYkVsZW1lbnQgfSBmcm9tICcuLi8uLi9jb3JlLnRzJztcbmltcG9ydCB7IFNiYlRyYWluV2Fnb25NaXhpbiB9IGZyb20gJy4uL3RyYWluLXdhZ29uLWNvbW1vbi50cyc7XG5cbi8qKlxuICogSXQgZGlzcGxheXMgYSB0cmFpbiBjb21wYXJ0bWVudCB3aXRoaW4gYSBgc2JiLXRyYWluYCBjb21wb25lbnQuXG4gKlxuICogQHNsb3QgLSBVc2UgdGhlIHVubmFtZWQgc2xvdCB0byBhZGQgb25lIG9yIG1vcmUgYHNiYi1pY29uYCBmb3IgbWV0YS1pbmZvcm1hdGlvbiBvZiB0aGUgd2Fnb24uXG4gKi9cbmV4cG9ydCBjbGFzcyBTYmJUcmFpbldhZ29uRWxlbWVudCBleHRlbmRzIFNiYlRyYWluV2Fnb25NaXhpbihTYmJFbGVtZW50KSB7XG4gIHB1YmxpYyBzdGF0aWMgb3ZlcnJpZGUgcmVhZG9ubHkgZWxlbWVudE5hbWU6IHN0cmluZyA9ICdzYmItdHJhaW4td2Fnb24nO1xuXG4gIHB1YmxpYyBvdmVycmlkZSByZW5kZXIoKTogVGVtcGxhdGVSZXN1bHQge1xuICAgIHJldHVybiB0aGlzLnJlbmRlclRlbXBsYXRlKCk7XG4gIH1cbn1cblxuZGVjbGFyZSBnbG9iYWwge1xuICBpbnRlcmZhY2UgSFRNTEVsZW1lbnRUYWdOYW1lTWFwIHtcbiAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgQHR5cGVzY3JpcHQtZXNsaW50L25hbWluZy1jb252ZW50aW9uXG4gICAgJ3NiYi10cmFpbi13YWdvbic6IFNiYlRyYWluV2Fnb25FbGVtZW50O1xuICB9XG59XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBVUEsSUFBYSx1QkFBYixjQUEwQyxtQkFBbUIsV0FBVyxDQUFBOztBQUN0QyxPQUFBLGNBQXNCOztDQUV0QyxTQUFNO0FBQ3BCLFNBQU8sS0FBSyxnQkFBZ0IifQ==
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SbbButtonBaseElement } from '../../core.ts';
|
|
2
|
+
declare const SbbTrainWagonButtonElement_base: import('../../core.ts').AbstractConstructor<import('../train-wagon-common.ts').SbbTrainWagonMixinType> & typeof SbbButtonBaseElement;
|
|
3
|
+
/**
|
|
4
|
+
* It displays a train compartment within a `sbb-train` component and behaves like a button.
|
|
5
|
+
* It can be used to display the train compartment as well as to trigger an action, e.g., to show more details about the train compartment.
|
|
6
|
+
*
|
|
7
|
+
* @slot - Use the unnamed slot to add one or more `sbb-icon` for meta-information of the wagon.
|
|
8
|
+
*/
|
|
9
|
+
export declare class SbbTrainWagonButtonElement extends SbbTrainWagonButtonElement_base {
|
|
10
|
+
static readonly elementName: string;
|
|
11
|
+
}
|
|
12
|
+
declare global {
|
|
13
|
+
interface HTMLElementTagNameMap {
|
|
14
|
+
'sbb-train-wagon-button': SbbTrainWagonButtonElement;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=train-wagon-button.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"train-wagon-button.component.d.ts","sourceRoot":"","sources":["../../../../../src/elements/train/train-wagon-button/train-wagon-button.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;;AAGrD;;;;;GAKG;AACH,qBAAa,0BAA2B,SAAQ,+BAAwC;IACtF,gBAAgC,WAAW,EAAE,MAAM,CAA4B;CAChF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,wBAAwB,EAAE,0BAA0B,CAAC;KACtD;CACF"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SbbButtonBaseElement } from "../../core.js";
|
|
2
|
+
import { SbbTrainWagonMixin } from "../train-wagon-common.js";
|
|
3
|
+
//#region src/elements/train/train-wagon-button/train-wagon-button.component.ts
|
|
4
|
+
/**
|
|
5
|
+
* It displays a train compartment within a `sbb-train` component and behaves like a button.
|
|
6
|
+
* It can be used to display the train compartment as well as to trigger an action, e.g., to show more details about the train compartment.
|
|
7
|
+
*
|
|
8
|
+
* @slot - Use the unnamed slot to add one or more `sbb-icon` for meta-information of the wagon.
|
|
9
|
+
*/
|
|
10
|
+
var SbbTrainWagonButtonElement = class extends SbbTrainWagonMixin(SbbButtonBaseElement) {
|
|
11
|
+
static {
|
|
12
|
+
this.elementName = "sbb-train-wagon-button";
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
export { SbbTrainWagonButtonElement };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhaW4td2Fnb24tYnV0dG9uLmNvbXBvbmVudC5qcyIsIm5hbWVzIjpbXSwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvZWxlbWVudHMvdHJhaW4vdHJhaW4td2Fnb24tYnV0dG9uL3RyYWluLXdhZ29uLWJ1dHRvbi5jb21wb25lbnQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgU2JiQnV0dG9uQmFzZUVsZW1lbnQgfSBmcm9tICcuLi8uLi9jb3JlLnRzJztcbmltcG9ydCB7IFNiYlRyYWluV2Fnb25NaXhpbiB9IGZyb20gJy4uL3RyYWluLXdhZ29uLWNvbW1vbi50cyc7XG5cbi8qKlxuICogSXQgZGlzcGxheXMgYSB0cmFpbiBjb21wYXJ0bWVudCB3aXRoaW4gYSBgc2JiLXRyYWluYCBjb21wb25lbnQgYW5kIGJlaGF2ZXMgbGlrZSBhIGJ1dHRvbi5cbiAqIEl0IGNhbiBiZSB1c2VkIHRvIGRpc3BsYXkgdGhlIHRyYWluIGNvbXBhcnRtZW50IGFzIHdlbGwgYXMgdG8gdHJpZ2dlciBhbiBhY3Rpb24sIGUuZy4sIHRvIHNob3cgbW9yZSBkZXRhaWxzIGFib3V0IHRoZSB0cmFpbiBjb21wYXJ0bWVudC5cbiAqXG4gKiBAc2xvdCAtIFVzZSB0aGUgdW5uYW1lZCBzbG90IHRvIGFkZCBvbmUgb3IgbW9yZSBgc2JiLWljb25gIGZvciBtZXRhLWluZm9ybWF0aW9uIG9mIHRoZSB3YWdvbi5cbiAqL1xuZXhwb3J0IGNsYXNzIFNiYlRyYWluV2Fnb25CdXR0b25FbGVtZW50IGV4dGVuZHMgU2JiVHJhaW5XYWdvbk1peGluKFNiYkJ1dHRvbkJhc2VFbGVtZW50KSB7XG4gIHB1YmxpYyBzdGF0aWMgb3ZlcnJpZGUgcmVhZG9ubHkgZWxlbWVudE5hbWU6IHN0cmluZyA9ICdzYmItdHJhaW4td2Fnb24tYnV0dG9uJztcbn1cblxuZGVjbGFyZSBnbG9iYWwge1xuICBpbnRlcmZhY2UgSFRNTEVsZW1lbnRUYWdOYW1lTWFwIHtcbiAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgQHR5cGVzY3JpcHQtZXNsaW50L25hbWluZy1jb252ZW50aW9uXG4gICAgJ3NiYi10cmFpbi13YWdvbi1idXR0b24nOiBTYmJUcmFpbldhZ29uQnV0dG9uRWxlbWVudDtcbiAgfVxufVxuIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFTQSxJQUFhLDZCQUFiLGNBQWdELG1CQUFtQixxQkFBcUIsQ0FBQTs7QUFDdEQsT0FBQSxjQUFzQiJ9
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TemplateResult } from 'lit';
|
|
2
|
+
import { AbstractConstructor } from '../core/mixins/constructor.ts';
|
|
3
|
+
import { SbbElement, SbbOccupancy } from '../core.ts';
|
|
4
|
+
export declare class SbbTrainWagonMixinType extends SbbElement {
|
|
5
|
+
accessor wagonType: 'wagon' | 'wagon-end-left' | 'wagon-end-right' | 'couchette' | 'sleeping' | 'restaurant' | 'locomotive' | 'closed';
|
|
6
|
+
accessor occupancy: SbbOccupancy | null;
|
|
7
|
+
accessor sector: string;
|
|
8
|
+
accessor blockedPassage: 'previous' | 'next' | 'both' | 'none';
|
|
9
|
+
accessor wagonClass: '1' | '2' | '1-2' | '2-1' | null;
|
|
10
|
+
accessor label: string;
|
|
11
|
+
accessor additionalAccessibilityText: string;
|
|
12
|
+
protected renderTemplate(): TemplateResult;
|
|
13
|
+
}
|
|
14
|
+
export declare const SbbTrainWagonMixin: <T extends AbstractConstructor<SbbElement>>(superClass: T) => AbstractConstructor<SbbTrainWagonMixinType> & T;
|
|
15
|
+
//# sourceMappingURL=train-wagon-common.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"train-wagon-common.d.ts","sourceRoot":"","sources":["../../../../src/elements/train/train-wagon-common.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0C,KAAK,cAAc,EAAa,MAAM,KAAK,CAAC;AAK7F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAgBL,KAAK,UAAU,EAIf,KAAK,YAAY,EAElB,MAAM,YAAY,CAAC;AAqCpB,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,UAAU;IAC5D,SAAgB,SAAS,EACrB,OAAO,GACP,gBAAgB,GAChB,iBAAiB,GACjB,WAAW,GACX,UAAU,GACV,YAAY,GACZ,YAAY,GACZ,QAAQ,CAAC;IACb,SAAgB,SAAS,EAAE,YAAY,GAAG,IAAI,CAAC;IAC/C,SAAgB,MAAM,EAAE,MAAM,CAAC;IAC/B,SAAgB,cAAc,EAAE,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IACtE,SAAgB,UAAU,EAAE,GAAG,GAAG,GAAG,GAAG,KAAK,GAAG,KAAK,GAAG,IAAI,CAAC;IAC7D,SAAgB,KAAK,EAAE,MAAM,CAAC;IAC9B,SAAgB,2BAA2B,EAAE,MAAM,CAAC;IAEpD,SAAS,CAAC,cAAc,IAAI,cAAc;CAC3C;AAGD,eAAO,MAAM,kBAAkB,GAAI,CAAC,SAAS,mBAAmB,CAAC,UAAU,CAAC,EAC1E,YAAY,CAAC,KACZ,mBAAmB,CAAC,sBAAsB,CAAC,GAAG,CA6RhD,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SbbLinkBaseElement } from '../../core.ts';
|
|
2
|
+
declare const SbbTrainWagonLinkElement_base: import('../../core.ts').AbstractConstructor<import('../train-wagon-common.ts').SbbTrainWagonMixinType> & typeof SbbLinkBaseElement;
|
|
3
|
+
/**
|
|
4
|
+
* It displays a train compartment within a `sbb-train` component and behaves like a link.
|
|
5
|
+
* It can be used to display the train compartment as well as to trigger an action, e.g., to show more details about the train compartment.
|
|
6
|
+
*
|
|
7
|
+
* @slot - Use the unnamed slot to add one or more `sbb-icon` for meta-information of the wagon.
|
|
8
|
+
*/
|
|
9
|
+
export declare class SbbTrainWagonLinkElement extends SbbTrainWagonLinkElement_base {
|
|
10
|
+
static readonly elementName: string;
|
|
11
|
+
}
|
|
12
|
+
declare global {
|
|
13
|
+
interface HTMLElementTagNameMap {
|
|
14
|
+
'sbb-train-wagon-link': SbbTrainWagonLinkElement;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=train-wagon-link.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"train-wagon-link.component.d.ts","sourceRoot":"","sources":["../../../../../src/elements/train/train-wagon-link/train-wagon-link.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;;AAGnD;;;;;GAKG;AACH,qBAAa,wBAAyB,SAAQ,6BAAsC;IAClF,gBAAgC,WAAW,EAAE,MAAM,CAA0B;CAC9E;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,sBAAsB,EAAE,wBAAwB,CAAC;KAClD;CACF"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SbbLinkBaseElement } from "../../core.js";
|
|
2
|
+
import { SbbTrainWagonMixin } from "../train-wagon-common.js";
|
|
3
|
+
//#region src/elements/train/train-wagon-link/train-wagon-link.component.ts
|
|
4
|
+
/**
|
|
5
|
+
* It displays a train compartment within a `sbb-train` component and behaves like a link.
|
|
6
|
+
* It can be used to display the train compartment as well as to trigger an action, e.g., to show more details about the train compartment.
|
|
7
|
+
*
|
|
8
|
+
* @slot - Use the unnamed slot to add one or more `sbb-icon` for meta-information of the wagon.
|
|
9
|
+
*/
|
|
10
|
+
var SbbTrainWagonLinkElement = class extends SbbTrainWagonMixin(SbbLinkBaseElement) {
|
|
11
|
+
static {
|
|
12
|
+
this.elementName = "sbb-train-wagon-link";
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
export { SbbTrainWagonLinkElement };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhaW4td2Fnb24tbGluay5jb21wb25lbnQuanMiLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2VsZW1lbnRzL3RyYWluL3RyYWluLXdhZ29uLWxpbmsvdHJhaW4td2Fnb24tbGluay5jb21wb25lbnQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgU2JiTGlua0Jhc2VFbGVtZW50IH0gZnJvbSAnLi4vLi4vY29yZS50cyc7XG5pbXBvcnQgeyBTYmJUcmFpbldhZ29uTWl4aW4gfSBmcm9tICcuLi90cmFpbi13YWdvbi1jb21tb24udHMnO1xuXG4vKipcbiAqIEl0IGRpc3BsYXlzIGEgdHJhaW4gY29tcGFydG1lbnQgd2l0aGluIGEgYHNiYi10cmFpbmAgY29tcG9uZW50IGFuZCBiZWhhdmVzIGxpa2UgYSBsaW5rLlxuICogSXQgY2FuIGJlIHVzZWQgdG8gZGlzcGxheSB0aGUgdHJhaW4gY29tcGFydG1lbnQgYXMgd2VsbCBhcyB0byB0cmlnZ2VyIGFuIGFjdGlvbiwgZS5nLiwgdG8gc2hvdyBtb3JlIGRldGFpbHMgYWJvdXQgdGhlIHRyYWluIGNvbXBhcnRtZW50LlxuICpcbiAqIEBzbG90IC0gVXNlIHRoZSB1bm5hbWVkIHNsb3QgdG8gYWRkIG9uZSBvciBtb3JlIGBzYmItaWNvbmAgZm9yIG1ldGEtaW5mb3JtYXRpb24gb2YgdGhlIHdhZ29uLlxuICovXG5leHBvcnQgY2xhc3MgU2JiVHJhaW5XYWdvbkxpbmtFbGVtZW50IGV4dGVuZHMgU2JiVHJhaW5XYWdvbk1peGluKFNiYkxpbmtCYXNlRWxlbWVudCkge1xuICBwdWJsaWMgc3RhdGljIG92ZXJyaWRlIHJlYWRvbmx5IGVsZW1lbnROYW1lOiBzdHJpbmcgPSAnc2JiLXRyYWluLXdhZ29uLWxpbmsnO1xufVxuXG5kZWNsYXJlIGdsb2JhbCB7XG4gIGludGVyZmFjZSBIVE1MRWxlbWVudFRhZ05hbWVNYXAge1xuICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBAdHlwZXNjcmlwdC1lc2xpbnQvbmFtaW5nLWNvbnZlbnRpb25cbiAgICAnc2JiLXRyYWluLXdhZ29uLWxpbmsnOiBTYmJUcmFpbldhZ29uTGlua0VsZW1lbnQ7XG4gIH1cbn1cbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBU0EsSUFBYSwyQkFBYixjQUE4QyxtQkFBbUIsbUJBQW1CLENBQUE7O0FBQ2xELE9BQUEsY0FBc0IifQ==
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { unsafeCSS } from "lit";
|
|
2
|
+
import { SbbElement } from "./core.js";
|
|
3
|
+
import { SbbTrainFormationOrientationMixin } from "./train/train-formation-orientation-mixin.js";
|
|
4
|
+
//#region src/elements/train/train-blocked-passage/train-blocked-passage.scss?inline
|
|
5
|
+
var train_blocked_passage_default = ":host {\n display: grid;\n grid-template-areas: \"icon\";\n align-items: center;\n width: var(--sbb-train-formation-blocked-passage-dimension);\n height: var(--_sbb-train-formation-wagon-height);\n}\n\n:host(:is(:state(orientation-vertical),[state--orientation-vertical])) {\n width: var(--_sbb-train-formation-wagon-width);\n height: var(--sbb-train-formation-blocked-passage-dimension);\n}\n\n:host::before,\n:host::after {\n content: \"\";\n grid-area: icon;\n justify-self: center;\n}\n\n:host::before {\n width: var(--sbb-train-formation-blocked-passage-dimension);\n height: var(--sbb-train-formation-blocked-passage-dimension);\n border-radius: 50%;\n background-color: var(--sbb-train-blocked-passage-background-color);\n}\n\n:host::after {\n width: var(--sbb-train-blocked-passage-icon-bar-width);\n height: var(--sbb-train-blocked-passage-icon-bar-height);\n border-radius: var(--sbb-train-blocked-passage-icon-bar-border-radius);\n background-color: var(--sbb-train-blocked-passage-bar-color);\n}";
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/elements/train/train-blocked-passage/train-blocked-passage.component.ts
|
|
8
|
+
/**
|
|
9
|
+
* It visually displays a blocked passage between train wagons.
|
|
10
|
+
*/
|
|
11
|
+
var SbbTrainBlockedPassageElement = class extends SbbTrainFormationOrientationMixin(SbbElement) {
|
|
12
|
+
static {
|
|
13
|
+
this.elementName = "sbb-train-blocked-passage";
|
|
14
|
+
}
|
|
15
|
+
static {
|
|
16
|
+
this.styles = [unsafeCSS(train_blocked_passage_default)];
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
//#endregion
|
|
20
|
+
export { SbbTrainBlockedPassageElement as t };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhaW4tYmxvY2tlZC1wYXNzYWdlLmNvbXBvbmVudC0yVHVTcWJEZy5qcyIsIm5hbWVzIjpbXSwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZWxlbWVudHMvdHJhaW4vdHJhaW4tYmxvY2tlZC1wYXNzYWdlL3RyYWluLWJsb2NrZWQtcGFzc2FnZS5zY3NzP2lubGluZSIsIi4uLy4uLy4uL3NyYy9lbGVtZW50cy90cmFpbi90cmFpbi1ibG9ja2VkLXBhc3NhZ2UvdHJhaW4tYmxvY2tlZC1wYXNzYWdlLmNvbXBvbmVudC50cyJdLCJzb3VyY2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TU1Jlc3VsdEdyb3VwID0gW3Vuc2FmZUNTUyhzdHlsZSldO1xufVxuXG5kZWNsYXJlIGdsb2JhbCB7XG4gIGludGVyZmFjZSBIVE1MRWxlbWVudFRhZ05hbWVNYXAge1xuICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBAdHlwZXNjcmlwdC1lc2xpbnQvbmFtaW5nLWNvbnZlbnRpb25cbiAgICAnc2JiLXRyYWluLWJsb2NrZWQtcGFzc2FnZSc6IFNiYlRyYWluQmxvY2tlZFBhc3NhZ2VFbGVtZW50O1xuICB9XG59XG4iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUNVQSxJQUFhLGdDQUFiLGNBQW1ELGtDQUFrQyxXQUFXLENBQUE7O0FBQzlELE9BQUEsY0FBc0I7OztBQUMvQixPQUFBLFNBQXlCLENBQUMsVUFBVSw4QkFBTSxDQUFDIn0=
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { __esDecorate, __runInitializers } from "tslib";
|
|
2
|
+
import { html, nothing, unsafeCSS } from "lit";
|
|
3
|
+
import { property, state } from "lit/decorators.js";
|
|
4
|
+
import { SbbElement, SbbLanguageController, SbbNamedSlotListMixin, hostScrollbarStyles, i18nSector, i18nSectorShort, i18nTrains } from "./core.js";
|
|
5
|
+
import { styleMap } from "lit/directives/style-map.js";
|
|
6
|
+
//#region src/elements/train/train-formation/train-formation.scss?inline
|
|
7
|
+
var train_formation_default = ":host {\n --sbb-train-formation-scroll-padding: var(--sbb-train-formation-padding);\n --_sbb-train-formation-wagon-width: var(--sbb-train-formation-wagon-dimension-long);\n --_sbb-train-formation-wagon-height: var(--sbb-train-formation-wagon-dimension-short);\n display: grid;\n grid-template: \"start sectors end\" auto \"start trains end\" auto/auto 1fr auto;\n position: relative;\n overflow: auto visible;\n gap: var(--_sbb-train-formation-sectors-to-train-gap, 0) 0;\n padding-block: var(--sbb-train-formation-padding);\n color: var(--sbb-train-formation-text-color);\n font-size: var(--sbb-text-font-size-xs);\n letter-spacing: var(--sbb-typo-letter-spacing-text);\n line-height: var(--sbb-typo-line-height-text);\n}\n:host::before, :host::after {\n content: \"\";\n display: block;\n width: var(--sbb-train-formation-scroll-padding);\n}\n:host::before {\n grid-area: start;\n}\n:host::after {\n grid-area: end;\n}\n\n:host(:focus-visible) {\n outline-offset: var(--sbb-focus-outline-offset);\n outline: var(--sbb-focus-outline-color) var(--sbb-focus-outline-style, solid) var(--sbb-focus-outline-width);\n}\n\n:host(:is(:state(has-sectors),[state--has-sectors])) {\n --_sbb-train-formation-sectors-to-train-gap: var(--sbb-train-formation-gap);\n}\n\n:host(:is(:state(has-direction-label),[state--has-direction-label])) {\n --_sbb-train-formation-reserve-spacing-display: block;\n}\n\n:host([orientation=vertical]) {\n --_sbb-train-formation-wagon-width: var(--sbb-train-formation-wagon-dimension-short);\n --_sbb-train-formation-wagon-height: var(--sbb-train-formation-wagon-dimension-long);\n --_sbb-train-formation-flex-direction: column;\n --_sbb-train-formation-flex-direction-inverted: row;\n grid-template: \"start start\" auto \"sectors trains\" 1fr \"end end\" auto;\n overflow: visible auto;\n padding-block: unset;\n padding-inline: var(--sbb-train-formation-padding);\n gap: 0 var(--_sbb-train-formation-sectors-to-train-gap, 0);\n width: fit-content;\n}\n:host([orientation=vertical])::before, :host([orientation=vertical])::after {\n width: auto;\n height: var(--sbb-train-formation-scroll-padding);\n}\n\n.sbb-train-formation__sectors {\n display: flex;\n grid-area: sectors;\n gap: var(--sbb-train-formation-wagon-gap);\n flex-direction: var(--_sbb-train-formation-flex-direction);\n}\n\n.sbb-train-formation__sector {\n --_wagon-sum: var(--sbb-train-formation-wagon-count) *\n var(--sbb-train-formation-wagon-dimension-long);\n --_blocked-passage-sum: var(--sbb-train-formation-wagon-blocked-passage-count) *\n var(--sbb-train-formation-blocked-passage-dimension);\n --_total-count: calc(\n var(--sbb-train-formation-wagon-count) + var(--sbb-train-formation-wagon-blocked-passage-count)\n );\n --_gap-sum: calc((var(--_total-count) - 1) * var(--sbb-train-formation-wagon-gap));\n --_sector-width: calc(var(--_wagon-sum) + var(--_blocked-passage-sum) + var(--_gap-sum));\n --_sector-line-length: calc(0.5 * var(--_sector-width));\n flex: 0 0 var(--_sector-width);\n display: flex;\n flex-direction: var(--_sbb-train-formation-flex-direction);\n justify-content: center;\n overflow: clip visible;\n}\n:host([orientation=vertical]) .sbb-train-formation__sector {\n overflow: visible clip;\n}\n\n.sbb-train-formation__sector-sticky-wrapper {\n position: sticky;\n inset: auto 0;\n padding: 0 var(--sbb-train-formation-sector-padding);\n margin: 0 var(--sbb-train-formation-sector-margin);\n white-space: nowrap;\n}\n:host([orientation=vertical]) .sbb-train-formation__sector-sticky-wrapper {\n writing-mode: sideways-lr;\n inset: 0 auto;\n padding: var(--sbb-train-formation-sector-padding) 0;\n margin: var(--sbb-train-formation-sector-margin) 0;\n}\n.sbb-train-formation__sector-sticky-wrapper::before, .sbb-train-formation__sector-sticky-wrapper::after {\n content: \"\";\n position: absolute;\n inset-block: calc(50% - var(--sbb-train-formation-sector-line-width) / 2);\n border-block-end: var(--sbb-train-formation-sector-line-width) solid var(--sbb-train-formation-sector-line-color);\n width: var(--_sector-line-length);\n}\n:host([orientation=vertical]) .sbb-train-formation__sector-sticky-wrapper::before, :host([orientation=vertical]) .sbb-train-formation__sector-sticky-wrapper::after {\n width: auto;\n height: var(--_sector-line-length);\n}\n.sbb-train-formation__sector-sticky-wrapper::before {\n inset-inline-end: 100%;\n}\n.sbb-train-formation__sector-sticky-wrapper::after {\n inset-inline-start: 100%;\n}\n\n.sbb-train-formation__trains {\n grid-area: trains;\n}\n\n.sbb-train-formation__train-list {\n list-style: none;\n margin: 0;\n padding: 0;\n font-size: inherit;\n display: flex;\n flex-direction: var(--_sbb-train-formation-flex-direction);\n gap: var(--sbb-train-formation-wagon-gap);\n}\n\n.sbb-train-formation__train-list > :is(li, span) {\n display: inline-flex;\n}";
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region src/elements/train/train-formation/train-formation.component.ts
|
|
10
|
+
/**
|
|
11
|
+
* It displays a train composition, acting as a container for one or more `sbb-train` component.
|
|
12
|
+
*
|
|
13
|
+
* @slot - Use the unnamed slot to add 'sbb-train' elements to the `sbb-train-formation`.
|
|
14
|
+
* @cssprop [--sbb-train-formation-scroll-padding=var(--sbb-spacing-fixed-1x)] - Defines the inline or block padding inside the horizontal or vertical scrolling area.
|
|
15
|
+
*/
|
|
16
|
+
var SbbTrainFormationElement = (() => {
|
|
17
|
+
let _classSuper = SbbNamedSlotListMixin(SbbElement);
|
|
18
|
+
let _view_decorators;
|
|
19
|
+
let _view_initializers = [];
|
|
20
|
+
let _view_extraInitializers = [];
|
|
21
|
+
let _orientation_decorators;
|
|
22
|
+
let _orientation_initializers = [];
|
|
23
|
+
let _orientation_extraInitializers = [];
|
|
24
|
+
let __sectors_decorators;
|
|
25
|
+
let __sectors_initializers = [];
|
|
26
|
+
let __sectors_extraInitializers = [];
|
|
27
|
+
return class SbbTrainFormationElement extends _classSuper {
|
|
28
|
+
static {
|
|
29
|
+
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
|
|
30
|
+
_view_decorators = [property({ reflect: true })];
|
|
31
|
+
_orientation_decorators = [property({ reflect: true })];
|
|
32
|
+
__sectors_decorators = [state()];
|
|
33
|
+
__esDecorate(this, null, _view_decorators, {
|
|
34
|
+
kind: "accessor",
|
|
35
|
+
name: "view",
|
|
36
|
+
static: false,
|
|
37
|
+
private: false,
|
|
38
|
+
access: {
|
|
39
|
+
has: (obj) => "view" in obj,
|
|
40
|
+
get: (obj) => obj.view,
|
|
41
|
+
set: (obj, value) => {
|
|
42
|
+
obj.view = value;
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
metadata: _metadata
|
|
46
|
+
}, _view_initializers, _view_extraInitializers);
|
|
47
|
+
__esDecorate(this, null, _orientation_decorators, {
|
|
48
|
+
kind: "accessor",
|
|
49
|
+
name: "orientation",
|
|
50
|
+
static: false,
|
|
51
|
+
private: false,
|
|
52
|
+
access: {
|
|
53
|
+
has: (obj) => "orientation" in obj,
|
|
54
|
+
get: (obj) => obj.orientation,
|
|
55
|
+
set: (obj, value) => {
|
|
56
|
+
obj.orientation = value;
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
metadata: _metadata
|
|
60
|
+
}, _orientation_initializers, _orientation_extraInitializers);
|
|
61
|
+
__esDecorate(this, null, __sectors_decorators, {
|
|
62
|
+
kind: "accessor",
|
|
63
|
+
name: "_sectors",
|
|
64
|
+
static: false,
|
|
65
|
+
private: false,
|
|
66
|
+
access: {
|
|
67
|
+
has: (obj) => "_sectors" in obj,
|
|
68
|
+
get: (obj) => obj._sectors,
|
|
69
|
+
set: (obj, value) => {
|
|
70
|
+
obj._sectors = value;
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
metadata: _metadata
|
|
74
|
+
}, __sectors_initializers, __sectors_extraInitializers);
|
|
75
|
+
if (_metadata) Object.defineProperty(this, Symbol.metadata, {
|
|
76
|
+
enumerable: true,
|
|
77
|
+
configurable: true,
|
|
78
|
+
writable: true,
|
|
79
|
+
value: _metadata
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
static {
|
|
83
|
+
this.elementName = "sbb-train-formation";
|
|
84
|
+
}
|
|
85
|
+
static {
|
|
86
|
+
this.styles = [hostScrollbarStyles, unsafeCSS(train_formation_default)];
|
|
87
|
+
}
|
|
88
|
+
#view_accessor_storage;
|
|
89
|
+
/** Whether the view of the wagons is from side or top perspective. */
|
|
90
|
+
get view() {
|
|
91
|
+
return this.#view_accessor_storage;
|
|
92
|
+
}
|
|
93
|
+
set view(value) {
|
|
94
|
+
this.#view_accessor_storage = value;
|
|
95
|
+
}
|
|
96
|
+
#orientation_accessor_storage;
|
|
97
|
+
/** Orientation, either horizontal or vertical. */
|
|
98
|
+
get orientation() {
|
|
99
|
+
return this.#orientation_accessor_storage;
|
|
100
|
+
}
|
|
101
|
+
set orientation(value) {
|
|
102
|
+
this.#orientation_accessor_storage = value;
|
|
103
|
+
}
|
|
104
|
+
#_sectors_accessor_storage;
|
|
105
|
+
get _sectors() {
|
|
106
|
+
return this.#_sectors_accessor_storage;
|
|
107
|
+
}
|
|
108
|
+
set _sectors(value) {
|
|
109
|
+
this.#_sectors_accessor_storage = value;
|
|
110
|
+
}
|
|
111
|
+
constructor() {
|
|
112
|
+
super();
|
|
113
|
+
this.listChildLocalNames = ["sbb-train"];
|
|
114
|
+
this.#view_accessor_storage = __runInitializers(this, _view_initializers, "side");
|
|
115
|
+
this.#orientation_accessor_storage = (__runInitializers(this, _view_extraInitializers), __runInitializers(this, _orientation_initializers, "horizontal"));
|
|
116
|
+
this.#_sectors_accessor_storage = (__runInitializers(this, _orientation_extraInitializers), __runInitializers(this, __sectors_initializers, []));
|
|
117
|
+
this._language = (__runInitializers(this, __sectors_extraInitializers), new SbbLanguageController(this));
|
|
118
|
+
this.addEventListener?.("trainslotchange", (e) => {
|
|
119
|
+
this._readSectors(e);
|
|
120
|
+
this._readDirectionLabel(e);
|
|
121
|
+
});
|
|
122
|
+
this.addEventListener?.("sectorchange", (e) => this._readSectors(e));
|
|
123
|
+
this.addEventListener?.("directionlabelchange", (e) => this._readDirectionLabel(e));
|
|
124
|
+
}
|
|
125
|
+
connectedCallback() {
|
|
126
|
+
super.connectedCallback();
|
|
127
|
+
this.classList.add("sbb-scrollbar");
|
|
128
|
+
}
|
|
129
|
+
_readDirectionLabel(event) {
|
|
130
|
+
event?.stopPropagation();
|
|
131
|
+
this.toggleState("has-direction-label", Array.from(this.querySelectorAll?.("sbb-train") ?? []).some((train) => !!train.directionLabel));
|
|
132
|
+
}
|
|
133
|
+
_readSectors(event) {
|
|
134
|
+
event?.stopPropagation();
|
|
135
|
+
this._sectors = Array.from(this.querySelectorAll?.("sbb-train-wagon,sbb-train-wagon-button,sbb-train-wagon-link,sbb-train-blocked-passage") ?? []).reduce((aggregatedSectors, item) => {
|
|
136
|
+
const currentAggregatedSector = aggregatedSectors[aggregatedSectors.length - 1];
|
|
137
|
+
if (item.localName.startsWith("sbb-train-wagon")) {
|
|
138
|
+
const sectorAttribute = item.sector ?? item.getAttribute("sector");
|
|
139
|
+
if (!currentAggregatedSector.label && sectorAttribute) currentAggregatedSector.label = sectorAttribute;
|
|
140
|
+
if (!sectorAttribute || currentAggregatedSector.label === sectorAttribute) currentAggregatedSector.wagonCount++;
|
|
141
|
+
else aggregatedSectors.push({
|
|
142
|
+
label: sectorAttribute,
|
|
143
|
+
wagonCount: 1,
|
|
144
|
+
blockedPassageCount: 0
|
|
145
|
+
});
|
|
146
|
+
} else if (item.localName === "sbb-train-blocked-passage") currentAggregatedSector.blockedPassageCount++;
|
|
147
|
+
return aggregatedSectors;
|
|
148
|
+
}, [{
|
|
149
|
+
wagonCount: 0,
|
|
150
|
+
blockedPassageCount: 0
|
|
151
|
+
}]);
|
|
152
|
+
this.toggleState("has-sectors", this._sectors.some((s) => !!s.label));
|
|
153
|
+
}
|
|
154
|
+
willUpdate(changedProperties) {
|
|
155
|
+
super.willUpdate(changedProperties);
|
|
156
|
+
if (changedProperties.has("listChildren")) {
|
|
157
|
+
this._readSectors();
|
|
158
|
+
this._readDirectionLabel();
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
render() {
|
|
162
|
+
return html`
|
|
163
|
+
${this._sectors.length && this._sectors[0].label !== void 0 ? html`<div class="sbb-train-formation__sectors" aria-hidden="true">
|
|
164
|
+
${this._sectors.map((aggregatedSector) => html`<span
|
|
165
|
+
class="sbb-train-formation__sector"
|
|
166
|
+
style=${styleMap({
|
|
167
|
+
"--sbb-train-formation-wagon-count": aggregatedSector.wagonCount,
|
|
168
|
+
"--sbb-train-formation-wagon-blocked-passage-count": aggregatedSector.blockedPassageCount
|
|
169
|
+
})}
|
|
170
|
+
>
|
|
171
|
+
<span class="sbb-train-formation__sector-sticky-wrapper">
|
|
172
|
+
${`${aggregatedSector.wagonCount === 1 && aggregatedSector.label ? i18nSectorShort[this._language.current] : i18nSector[this._language.current]} ${aggregatedSector.label ? aggregatedSector.label : ""}`}
|
|
173
|
+
</span>
|
|
174
|
+
</span>`)}
|
|
175
|
+
</div>` : nothing}
|
|
176
|
+
|
|
177
|
+
<div class="sbb-train-formation__trains">
|
|
178
|
+
${this.renderList({
|
|
179
|
+
class: "sbb-train-formation__train-list",
|
|
180
|
+
ariaLabel: i18nTrains[this._language.current]
|
|
181
|
+
})}
|
|
182
|
+
</div>
|
|
183
|
+
`;
|
|
184
|
+
}
|
|
185
|
+
};
|
|
186
|
+
})();
|
|
187
|
+
//#endregion
|
|
188
|
+
export { SbbTrainFormationElement as t };
|
|
189
|
+
|
|
190
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhaW4tZm9ybWF0aW9uLmNvbXBvbmVudC1CWUIwM3pYNS5qcyIsIm5hbWVzIjpbXSwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZWxlbWVudHMvdHJhaW4vdHJhaW4tZm9ybWF0aW9uL3RyYWluLWZvcm1hdGlvbi5zY3NzP2lubGluZSIsIi4uLy4uLy4uL3NyYy9lbGVtZW50cy90cmFpbi90cmFpbi1mb3JtYXRpb24vdHJhaW4tZm9ybWF0aW9uLmNvbXBvbmVudC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJAdXNlICcuLi8uLi9jb3JlL3N0eWxlcycgYXMgc2JiO1xuXG46aG9zdCB7XG4gIC0tc2JiLXRyYWluLWZvcm1hdGlvbi1zY3JvbGwtcGFkZGluZzogdmFyKC0tc2JiLXRyYWluLWZvcm1hdGlvbi1wYWRkaW5nKTtcbiAgLS1fc2JiLXRyYWluLWZvcm1hdGlvbi13YWdvbi13aWR0aDogdmFyKC0tc2JiLXRyYWluLWZvcm1hdGlvbi13YWdvbi1kaW1lbnNpb24tbG9uZyk7XG4gIC0tX3NiYi10cmFpbi1mb3JtYXRpb24td2Fnb24taGVpZ2h0OiB2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ICAgICAgICA/IGh0bWxgPGRpdiBjbGFzcz1cInNiYi10cmFpbi1mb3JtYXRpb25fX3NlY3RvcnNcIiBhcmlhLWhpZGRlbj1cInRydWVcIj5cbiAgICAgICAgICAgICR7dGhpcy5fc2VjdG9ycy5tYXAoXG4gICAgICAgICAgICAgIChhZ2dyZWdhdGVkU2VjdG9yKSA9PlxuICAgICAgICAgICAgICAgIGh0bWxgPHNwYW5cbiAgICAgICAgICAgICAgICAgIGNsYXNzPVwic2JiLXRyYWluLWZvcm1hdGlvbl9fc2VjdG9yXCJcbiAgICAgICAgICAgICAgICAgIHN0eWxlPSR7c3R5bGVNYXAoe1xuICAgICAgICAgICAgICAgICAgICAnLS1zYmItdHJhaW4tZm9ybWF0aW9uLXdhZ29uLWNvdW50JzogYWdncmVnYXRlZFNlY3Rvci53YWdvbkNvdW50LFxuICAgICAgICAgICAgICAgICAgICAnLS1zYmItdHJhaW4tZm9ybWF0aW9uLXdhZ29uLWJsb2NrZWQtcGFzc2FnZS1jb3VudCc6XG4gICAgICAgICAgICAgICAgICAgICAgYWdncmVnYXRlZFNlY3Rvci5ibG9ja2VkUGFzc2FnZUNvdW50LFxuICAgICAgICAgICAgICAgICAgfSl9XG4gICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJzYmItdHJhaW4tZm9ybWF0aW9uX19zZWN0b3Itc3RpY2t5LXdyYXBwZXJcIj5cbiAgICAgICAgICAgICAgICAgICAgJHtgJHtcbiAgICAgICAgICAgICAgICAgICAgICBhZ2dyZWdhdGVkU2VjdG9yLndhZ29uQ291bnQgPT09IDEgJiYgYWdncmVnYXRlZFNlY3Rvci5sYWJlbFxuICAgICAgICAgICAgICAgICAgICAgICAgPyBpMThuU2VjdG9yU2hvcnRbdGhpcy5fbGFuZ3VhZ2UuY3VycmVudF1cbiAgICAgICAgICAgICAgICAgICAgICAgIDogaTE4blNlY3Rvclt0aGlzLl9sYW5ndWFnZS5jdXJyZW50XV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