@sbb-esta/lyne-elements 4.8.1 → 4.9.0
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/action-group/action-group.component.js +1 -1
- package/action-group.component-OZNshH7G.js +158 -0
- 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/alert-group.js +1 -1
- package/alert/alert.js +1 -1
- package/{alert-group.component-RV1M1OKy.js → alert-group.component-DnYg4aPB.js} +1 -1
- package/{alert.component-PPR7hfTi.js → alert.component-B94SoaHI.js} +1 -1
- 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-DVFCZ4lt.js → autocomplete-base-element-BQj0oiHC.js} +1 -1
- package/autocomplete.js +1 -1
- package/autocomplete.pure.js +1 -1
- package/block-link-common-ClyAETjl.js +63 -0
- package/breadcrumb/breadcrumb/breadcrumb.component.js +1 -1
- package/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +1 -1
- package/breadcrumb/breadcrumb-group.js +1 -1
- package/breadcrumb/breadcrumb.js +1 -1
- package/{breadcrumb-group.component-CfUyO1sI.js → breadcrumb-group.component-ioEaxcGE.js} +1 -1
- package/breadcrumb.component-CDs1jq2d.js +24 -0
- package/breadcrumb.js +2 -2
- package/breadcrumb.pure.js +2 -2
- package/button/common.js +1 -1
- package/button/mini-button-group/mini-button-group.component.js +1 -1
- package/button/mini-button-group.js +1 -1
- package/button/mini-button-link/mini-button-link.component.js +1 -1
- package/button/mini-button-link.js +1 -1
- package/button.js +3 -3
- package/button.pure.js +3 -3
- package/calendar/calendar/calendar.component.js +1 -1
- package/calendar/calendar-day/calendar-day.component.js +1 -1
- package/calendar/calendar-day.js +1 -1
- package/calendar/calendar.js +1 -1
- package/calendar/common.js +1 -1
- package/{calendar-day.component-Iewo-vBR.js → calendar-day.component-BZxPrp22.js} +1 -1
- package/{calendar.component-Cz-OGQu6.js → calendar.component-DtdBj_D-.js} +1 -1
- package/calendar.js +2 -2
- package/calendar.pure.js +2 -2
- package/card/card/card.component.js +1 -1
- package/card/card-badge/card-badge.component.js +1 -1
- package/card/card-badge.js +1 -1
- package/card/card.js +1 -1
- package/card/common/card-action-common.js +1 -1
- package/card/common.js +1 -1
- package/{card-action-common-GpkaNYtV.js → card-action-common-BNe4LRHp.js} +1 -1
- package/card-badge.component-CtpSWL9S.js +65 -0
- package/card.component-Bd-2-dP3.js +62 -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-item.js +1 -1
- package/carousel/carousel-list/carousel-list.component.js +1 -1
- package/carousel/carousel-list.js +1 -1
- package/carousel/carousel.js +1 -1
- package/{carousel-item.component-kv3rY8B-.js → carousel-item.component-BdW4Fe7j.js} +1 -1
- package/{carousel-list.component-DMMk66SP.js → carousel-list.component-CXKdk4dv.js} +1 -1
- package/{carousel.component-BA0V2JHI.js → carousel.component-D9By2rDH.js} +1 -1
- package/carousel.js +3 -3
- package/carousel.pure.js +3 -3
- package/checkbox/checkbox.component.js +2 -2
- package/checkbox/checkbox.js +2 -2
- package/checkbox/common/checkbox-common.js +1 -1
- package/checkbox/common.js +1 -1
- package/{checkbox-common-J-7Y966k.js → checkbox-common-CPIIGgkG.js} +1 -1
- package/{checkbox.component-Bazdxs9R.js → checkbox.component-Cax24yN1.js} +2 -2
- package/checkbox.js +2 -2
- package/checkbox.pure.js +2 -2
- package/chip/chip/chip.component.js +1 -1
- package/chip/chip-group/chip-group.component.js +1 -1
- package/chip/chip-group.js +1 -1
- package/chip/chip.js +1 -1
- package/{chip-group.component-CbruCoHR.js → chip-group.component-CpXuOisx.js} +1 -1
- package/chip-label/chip-label.component.js +1 -1
- package/{chip-label.component-D9AZdMSJ.js → chip-label.component-CFDlJJZv.js} +1 -1
- package/chip-label.js +1 -1
- package/chip-label.pure.js +1 -1
- package/chip.component-vKOg_uFQ.js +94 -0
- package/chip.js +2 -2
- package/chip.pure.js +2 -2
- package/clock/clock.component.js +1 -1
- package/{clock.component-gZJy4AU4.js → clock.component-CZq8NuSw.js} +1 -1
- package/clock.js +1 -1
- package/clock.pure.js +1 -1
- package/common-BdjLJuBp.js +5 -0
- package/{compact-paginator.component-BK7xj9tc.js → compact-paginator.component-JM9tD9ys.js} +1 -1
- package/container/container/container.component.js +1 -1
- package/container/container.js +1 -1
- package/container/sticky-bar/sticky-bar.component.js +1 -1
- package/container/sticky-bar.js +1 -1
- package/{container.component-C-jpJN2k.js → container.component-mgU80iW0.js} +1 -1
- package/container.js +2 -2
- package/container.pure.js +2 -2
- package/core/a11y/focus-trap-controller.js +2 -2
- package/core/base-elements/selection-group-base-element.js +1 -1
- package/core/base-elements.js +1 -1
- package/core/mixins.js +1 -1
- package/core/styles/core.scss +9 -0
- package/core.css +13 -0
- package/custom-elements.json +83 -0
- package/date-input/date-input.component.js +1 -1
- package/{date-input.component-Da-aS3jt.js → date-input.component-lInRTqua.js} +1 -1
- package/date-input.js +1 -1
- package/date-input.pure.js +1 -1
- package/datepicker/common/datepicker-button.js +1 -1
- package/datepicker/common.js +1 -1
- package/datepicker/datepicker/datepicker.component.js +1 -1
- package/datepicker/datepicker.js +1 -1
- package/{datepicker-button-Dk2UQkPN.js → datepicker-button--Bz_ztGR.js} +1 -1
- package/{datepicker.component-DUVgoAGU.js → datepicker.component-B64-Fip5.js} +1 -1
- package/datepicker.js +2 -2
- package/datepicker.pure.js +2 -2
- package/development/core/a11y/focus-trap-controller.js +3 -3
- package/development/core/mixins.js +2 -1
- package/development/header/header/header.component.d.ts +7 -0
- package/development/header/header/header.component.d.ts.map +1 -1
- package/development/header/header/header.component.js +1 -1
- package/development/header/header.js +1 -1
- package/development/header.component-C9JGj-z6.js +489 -0
- package/development/header.js +1 -1
- package/development/header.pure.js +1 -1
- package/development/popover/popover.component.js +1 -1
- package/development/popover.component-dRXm7_Mv.js +736 -0
- package/development/popover.js +1 -1
- package/development/popover.pure.js +1 -1
- package/development/radio-button/common/radio-button-common.d.ts.map +1 -1
- package/development/radio-button/common/radio-button-common.js +1 -1
- package/development/radio-button/common.js +1 -1
- package/development/radio-button/radio-button.component.js +2 -2
- package/development/radio-button/radio-button.js +2 -2
- package/development/{radio-button-common-CsjMvmAn.js → radio-button-common-CCrvhOPQ.js} +7 -1
- package/development/radio-button-group/radio-button-group.component.d.ts.map +1 -1
- package/development/radio-button-group/radio-button-group.component.js +2 -1
- package/development/{radio-button.component-BTnHGixs.js → radio-button.component-DYD1hVIZ.js} +2 -2
- package/development/radio-button.js +2 -2
- package/development/radio-button.pure.js +2 -2
- package/development/signet/signet.component.d.ts.map +1 -1
- package/development/signet/signet.component.js +1 -1
- package/development/signet.component-9afq0BQh.js +164 -0
- 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-BvbnZ24-.js → skiplink-list.component--EzDilpP.js} +12 -22
- package/development/skiplink-list.js +1 -1
- package/development/skiplink-list.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-actions.js +1 -1
- package/dialog/dialog-close-button/dialog-close-button.component.js +1 -1
- package/dialog/dialog-close-button.js +1 -1
- package/dialog/dialog-content/dialog-content.component.js +1 -1
- package/dialog/dialog-content.js +1 -1
- package/dialog/dialog-title/dialog-title.component.js +1 -1
- package/dialog/dialog-title.js +1 -1
- package/dialog/dialog.js +1 -1
- package/dialog-actions.component-C6m1odAP.js +17 -0
- package/{dialog-close-button.component-CeZrvBtz.js → dialog-close-button.component-DsNnE7BE.js} +1 -1
- package/{dialog-content.component-bHJNAgKn.js → dialog-content.component-DIKknjUX.js} +1 -1
- package/dialog-title.component-DSq0esCH.js +17 -0
- package/{dialog.component-CIPresmM.js → dialog.component-BuIFpeUd.js} +1 -1
- package/dialog.js +5 -5
- package/dialog.pure.js +5 -5
- package/divider/divider.component.js +1 -1
- package/{divider.component-B99DkxCv.js → divider.component-DwDhJGac.js} +1 -1
- package/divider.js +1 -1
- package/divider.pure.js +1 -1
- package/{error.component-DTYppqRY.js → error.component-DpUkVwHl.js} +1 -1
- 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-content.js +1 -1
- package/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +1 -1
- package/expansion-panel/expansion-panel-header.js +1 -1
- package/expansion-panel/expansion-panel.js +1 -1
- package/expansion-panel-content.component-2C7bavY5.js +29 -0
- package/expansion-panel-header.component-B5ulwstr.js +56 -0
- package/{expansion-panel.component-CGss5cPS.js → expansion-panel.component-DxEqf6H1.js} +1 -1
- package/expansion-panel.js +3 -3
- package/expansion-panel.pure.js +3 -3
- package/file-selector/common/file-selector-common.js +1 -1
- package/file-selector/common.js +1 -1
- package/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +1 -1
- package/file-selector/file-selector-dropzone.js +1 -1
- package/{file-selector-common-C--h0Yj2.js → file-selector-common-Bk07ovZm.js} +1 -1
- package/{file-selector-dropzone.component-BFlkqlsq.js → file-selector-dropzone.component-DhPsfRQk.js} +1 -1
- package/file-selector.js +2 -2
- package/file-selector.pure.js +2 -2
- 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-details.js +1 -1
- package/flip-card/flip-card-summary/flip-card-summary.component.js +1 -1
- package/flip-card/flip-card-summary.js +1 -1
- package/flip-card/flip-card.js +1 -1
- package/{flip-card-details.component-BOVK7F1U.js → flip-card-details.component-Dd9w2AaO.js} +1 -1
- package/flip-card-summary.component-DN08GsS9.js +65 -0
- package/{flip-card.component-5pxuwGAv.js → flip-card.component-CrUlzxck.js} +1 -1
- package/flip-card.js +3 -3
- package/flip-card.pure.js +3 -3
- package/footer/footer.component.js +1 -1
- package/footer.component-C8s7qhZs.js +129 -0
- package/footer.js +1 -1
- package/footer.pure.js +1 -1
- package/form-field/error/error.component.js +1 -1
- package/form-field/error.js +1 -1
- package/form-field/form-field/form-field.component.js +1 -1
- package/form-field/form-field.js +1 -1
- package/{form-field.component-CWj6jfYZ.js → form-field.component-Dc0CkOvA.js} +1 -1
- package/form-field.js +2 -2
- package/form-field.pure.js +2 -2
- package/header/common/header-action-common.js +1 -1
- package/header/common.js +1 -1
- package/header/header/header.component.js +1 -1
- package/header/header-environment/header-environment.component.js +1 -1
- package/header/header-environment.js +1 -1
- package/header/header.js +1 -1
- package/header-action-common-D9CO0Jax.js +62 -0
- package/header-environment.component-DDZ9fcZd.js +36 -0
- package/header.component-BPkEKqnQ.js +232 -0
- package/header.js +3 -3
- package/header.pure.js +3 -3
- package/icon/icon-base.js +1 -1
- package/icon/icon-name-mixin.js +1 -1
- package/icon/icon.component.js +1 -1
- package/{icon-base-C2VxpriZ.js → icon-base-BkDvJr2l.js} +1 -1
- package/icon-sidebar/icon-sidebar/icon-sidebar.component.js +1 -1
- package/icon-sidebar/icon-sidebar.js +1 -1
- package/{icon-sidebar.component-D3vOnYrs.js → icon-sidebar.component-CQ6KLiCN.js} +1 -1
- package/icon-sidebar.js +1 -1
- package/icon-sidebar.pure.js +1 -1
- package/icon.js +1 -1
- package/icon.pure.js +1 -1
- package/image/image.component.js +1 -1
- package/{image.component-BcOwT7-U.js → image.component-BSWcI8r3.js} +1 -1
- package/image.js +1 -1
- package/image.pure.js +1 -1
- package/inline-link-common-B7MnXE80.js +18 -0
- package/journey-header/journey-header.component.js +1 -1
- package/{journey-header.component-CjXBxEor.js → journey-header.component-mIbM-KVg.js} +1 -1
- 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-w3zhibLj.js +27 -0
- package/lead-container.js +1 -1
- package/lead-container.pure.js +1 -1
- package/link/common/block-link-common.js +2 -2
- package/link/common/inline-link-common.js +2 -2
- package/link/common/link-common.js +1 -1
- package/link/common.js +3 -3
- package/link-common-DqIfaliQ.js +52 -0
- package/link-list/common/link-list-base.js +1 -1
- package/link-list/common.js +1 -1
- package/link-list/link-list-anchor.js +2 -2
- package/link-list/link-list.component.js +2 -2
- package/link-list/link-list.js +2 -2
- package/link-list-anchor/link-list-anchor.component.js +1 -1
- package/link-list-anchor.component-CwmljGqM.js +18 -0
- package/link-list-anchor.js +1 -1
- package/link-list-anchor.pure.js +1 -1
- package/{link-list-base-CrpC5D4u.js → link-list-base-DwOmdG3N.js} +1 -1
- package/link-list.component-e-UmSwDi.js +78 -0
- package/link-list.js +3 -3
- package/link-list.pure.js +2 -2
- 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-5o-TFlzV.js +62 -0
- package/loading-indicator-circle.js +1 -1
- package/loading-indicator-circle.pure.js +1 -1
- package/loading-indicator.component-8XIZYm8V.js +92 -0
- package/loading-indicator.js +1 -1
- package/loading-indicator.pure.js +1 -1
- package/logo/logo.component.js +1 -1
- package/{logo.component-CdZe8lrB.js → logo.component-D0-6sm1j.js} +1 -1
- package/logo.js +1 -1
- package/logo.pure.js +1 -1
- package/map-container/map-container.component.js +1 -1
- package/map-container.component-CnErYagX.js +128 -0
- package/map-container.js +1 -1
- package/map-container.pure.js +1 -1
- package/menu/common/menu-action-common.js +1 -1
- package/menu/common.js +1 -1
- package/menu/menu/menu.component.js +1 -1
- package/menu/menu.js +1 -1
- package/menu-action-common-Br3mThg1.js +29 -0
- package/{menu.component-elxRPsQz.js → menu.component-D5u2hL8X.js} +1 -1
- package/menu.js +2 -2
- package/menu.pure.js +2 -2
- package/message/message.component.js +1 -1
- package/{message.component-DDMr1IXM.js → message.component-CnIfjJj8.js} +1 -1
- package/message.js +1 -1
- package/message.pure.js +1 -1
- package/{mini-button-group.component-D5Dph1Z7.js → mini-button-group.component-CDXkOnq4.js} +1 -1
- package/{mini-button-link.component-BYK_EUud.js → mini-button-link.component-BlPfUvvp.js} +1 -1
- 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-day.js +1 -1
- package/mini-calendar/mini-calendar-month/mini-calendar-month.component.js +1 -1
- package/mini-calendar/mini-calendar-month.js +1 -1
- package/mini-calendar/mini-calendar.js +1 -1
- package/{mini-calendar-day.component-Tj7wlWj7.js → mini-calendar-day.component-CM1dgWp6.js} +1 -1
- package/{mini-calendar-month.component-DTod_RRs.js → mini-calendar-month.component-DZ45IgFZ.js} +1 -1
- package/{mini-calendar.component-BCDHUUZG.js → mini-calendar.component-CKR-WJWW.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/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-list.js +1 -1
- package/navigation/navigation-marker/navigation-marker.component.js +1 -1
- package/navigation/navigation-marker.js +1 -1
- package/navigation/navigation-section/navigation-section.component.js +1 -1
- package/navigation/navigation-section.js +1 -1
- package/navigation/navigation.js +1 -1
- package/navigation-action-common-Cme_2GEs.js +64 -0
- package/{navigation-list.component-DnB7FrKG.js → navigation-list.component-DiyAt5hV.js} +1 -1
- package/{navigation-marker.component-B7hmb9iS.js → navigation-marker.component-D_U3Nd-_.js} +1 -1
- package/{navigation-section.component-C86pkDLG.js → navigation-section.component-DqFRimuS.js} +1 -1
- package/{navigation.component-BzgTWUiD.js → navigation.component-BAgxKoOU.js} +1 -1
- package/navigation.js +5 -5
- package/navigation.pure.js +5 -5
- package/notification/notification.component.js +1 -1
- package/notification.component-BYm_I7Df.js +197 -0
- package/notification.js +1 -1
- package/notification.pure.js +1 -1
- package/off-brand-theme.css +13 -0
- package/{optgroup-base-element-C8LeifgF.js → optgroup-base-element-D0ebmnMV.js} +1 -1
- package/option/optgroup/optgroup-base-element.js +1 -1
- package/option/optgroup/optgroup.component.js +1 -1
- package/option/optgroup.js +1 -1
- package/option/option/option.component.js +1 -1
- package/option/option-hint/option-hint.component.js +1 -1
- package/option/option-hint.js +1 -1
- package/option/option.js +1 -1
- package/option-hint.component-5KZ_UDB6.js +23 -0
- package/option.component-DJO5o_Ig.js +98 -0
- package/option.js +3 -3
- package/option.pure.js +3 -3
- package/overlay/overlay.component.js +1 -1
- package/{overlay.component-CAN3BK7B.js → overlay.component-CaBxt4sb.js} +1 -1
- package/overlay.js +1 -1
- package/overlay.pure.js +1 -1
- package/package.json +1 -1
- package/paginator/compact-paginator/compact-paginator.component.js +1 -1
- package/paginator/compact-paginator.js +1 -1
- package/paginator/paginator/paginator.component.js +1 -1
- package/paginator/paginator.js +1 -1
- package/paginator.component-nXF_Zbze.js +206 -0
- package/paginator.js +2 -2
- package/paginator.pure.js +2 -2
- package/popover/popover.component.js +1 -1
- package/{popover.component-CiOGSWOz.js → popover.component-H1g1e1o9.js} +2 -2
- package/popover.js +1 -1
- package/popover.pure.js +1 -1
- package/radio-button/common/radio-button-common.js +1 -1
- package/radio-button/common.js +1 -1
- package/radio-button/radio-button.component.js +2 -2
- package/radio-button/radio-button.js +2 -2
- package/radio-button-common-Ch3i83Qb.js +80 -0
- package/radio-button-group/radio-button-group.component.js +1 -1
- package/{radio-button.component-CVPy3eQi.js → radio-button.component-BGIJJyFd.js} +2 -2
- package/radio-button.js +2 -2
- package/radio-button.pure.js +2 -2
- package/safety-theme.css +13 -0
- package/screen-reader-only/screen-reader-only.component.js +1 -1
- package/{screen-reader-only.component-DEOirlKo.js → screen-reader-only.component-DxVn8U9m.js} +1 -1
- package/screen-reader-only.js +1 -1
- package/screen-reader-only.pure.js +1 -1
- package/select/select.component.js +1 -1
- package/{select.component-CsIiislt.js → select.component-Bo7kkaOF.js} +1 -1
- 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-DsXSIUJY.js +35 -0
- 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-BQw9icBM.js → selection-expansion-panel.component-DdUCJdYH.js} +1 -1
- package/selection-expansion-panel.js +1 -1
- package/selection-expansion-panel.pure.js +1 -1
- package/{selection-group-base-element-Bd6na8dT.js → selection-group-base-element-CBG8qr2t.js} +1 -1
- package/sidebar/common/styles.js +1 -1
- package/sidebar/common.js +1 -1
- package/sidebar/sidebar/sidebar.component.js +1 -1
- package/sidebar/sidebar-close-button/sidebar-close-button.component.js +1 -1
- package/sidebar/sidebar-close-button.js +1 -1
- package/sidebar/sidebar-container/sidebar-container.component.js +1 -1
- package/sidebar/sidebar-container.js +1 -1
- package/sidebar/sidebar-content/sidebar-content.component.js +1 -1
- package/sidebar/sidebar-content.js +1 -1
- package/sidebar/sidebar-title/sidebar-title.component.js +1 -1
- package/sidebar/sidebar-title.js +1 -1
- package/sidebar/sidebar.js +1 -1
- package/{sidebar-close-button.component-D0JS2p5L.js → sidebar-close-button.component-BTrt_KtJ.js} +1 -1
- package/{sidebar-container.component-BFxFShTF.js → sidebar-container.component-5s-OUp0W.js} +1 -1
- package/{sidebar-content.component-M7FGd8SF.js → sidebar-content.component-cZMzji92.js} +1 -1
- package/{sidebar-title.component-BfjxBPpH.js → sidebar-title.component-DYd-60nF.js} +1 -1
- package/{sidebar.component-zRpWDGKR.js → sidebar.component-BcgVWM8W.js} +1 -1
- package/sidebar.js +5 -5
- package/sidebar.pure.js +5 -5
- package/signet/signet.component.js +1 -1
- package/signet.component-CobWzWhG.js +99 -0
- package/signet.js +1 -1
- package/signet.pure.js +1 -1
- package/skiplink-list/skiplink-list.component.js +1 -1
- package/{skiplink-list.component-BRJk6HvC.js → skiplink-list.component-DHOXaPS-.js} +8 -10
- package/skiplink-list.js +1 -1
- package/skiplink-list.pure.js +1 -1
- package/slider/slider.component.js +1 -1
- package/{slider.component-CLNsu212.js → slider.component-MdvM78XU.js} +1 -1
- package/slider.js +1 -1
- package/slider.pure.js +1 -1
- package/standard-theme.css +13 -0
- package/status/status.component.js +1 -1
- package/{status.component-CmLdUn37.js → status.component-C3Wx4Gvn.js} +1 -1
- package/status.js +1 -1
- package/status.pure.js +1 -1
- package/step-label.component-zeKJCNqa.js +82 -0
- package/{step.component-eKVtXlT4.js → step.component-DluGAXNI.js} +1 -1
- package/stepper/step/step.component.js +1 -1
- package/stepper/step-label/step-label.component.js +1 -1
- package/stepper/step-label.js +1 -1
- package/stepper/step.js +1 -1
- package/stepper/stepper/stepper.component.js +1 -1
- package/stepper/stepper.js +1 -1
- package/{stepper.component-yWCQtYWc.js → stepper.component-BIFuIy3T.js} +1 -1
- package/stepper.js +3 -3
- package/stepper.pure.js +3 -3
- package/sticky-bar.component-DnPfDrKx.js +141 -0
- package/styles-BhYx61ZB.js +5 -0
- package/styles-DjLiBgML.js +5 -0
- package/{tab-group.component-DE4H3_H4.js → tab-group.component-BTwC9WKX.js} +1 -1
- package/tab-label.component-CsT_0RH7.js +165 -0
- package/{tab-nav-bar.component-n5TiTWxE.js → tab-nav-bar.component-UOqFJjhe.js} +1 -1
- package/{tab.component-BrIEFDxk.js → tab.component-BpUsS18w.js} +1 -1
- package/table/table-wrapper/table-wrapper.component.js +1 -1
- package/table/table-wrapper.js +1 -1
- package/{table-wrapper.component-CoqozurQ.js → table-wrapper.component-DPUvpfK4.js} +1 -1
- package/table.js +1 -1
- package/table.pure.js +1 -1
- package/tabs/common/styles.js +1 -1
- package/tabs/common.js +1 -1
- package/tabs/tab/tab.component.js +1 -1
- package/tabs/tab-group/tab-group.component.js +1 -1
- package/tabs/tab-group.js +1 -1
- package/tabs/tab-label/tab-label.component.js +1 -1
- package/tabs/tab-label.js +1 -1
- package/tabs/tab-nav-bar/tab-nav-bar.component.js +1 -1
- package/tabs/tab-nav-bar.js +1 -1
- package/tabs/tab.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/tag-group.js +1 -1
- package/tag/tag.js +1 -1
- package/{tag-group.component-DiIp6zS1.js → tag-group.component-CoChkHtw.js} +1 -1
- package/tag.component-ClZ-ZKFC.js +170 -0
- 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-dKZsY0fS.js +80 -0
- package/teaser-hero.js +1 -1
- package/teaser-hero.pure.js +1 -1
- package/teaser-product/common/teaser-product-common.js +1 -1
- package/teaser-product/common.js +1 -1
- package/teaser-product/teaser-product/teaser-product.component.js +1 -1
- package/teaser-product/teaser-product.js +1 -1
- package/teaser-product-common-CFCb5Rsx.js +62 -0
- package/{teaser-product.component-DiOhM_rU.js → teaser-product.component-C3Zi8Pdd.js} +1 -1
- package/teaser-product.js +2 -2
- package/teaser-product.pure.js +2 -2
- package/teaser.component-CUUvAAZ7.js +91 -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-DT1BOC8m.js → time-input.component-BDkxBiPM.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-details.js +1 -1
- package/timetable-form/timetable-form-field/timetable-form-field.component.js +1 -1
- package/timetable-form/timetable-form-field.js +1 -1
- package/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +1 -1
- package/timetable-form/timetable-form-swap-button.js +1 -1
- package/timetable-form/timetable-form.js +1 -1
- package/timetable-form-details.component-CfpM_Kse.js +16 -0
- package/timetable-form-field.component-DJ9FZ9vI.js +32 -0
- package/{timetable-form-swap-button.component-BGP-OsHD.js → timetable-form-swap-button.component-BXQ-ukkk.js} +1 -1
- package/{timetable-form.component-BqdKekNM.js → timetable-form.component-BeopwQmE.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-ZrzpXaeV.js → timetable-occupancy-icon.component-LLMT_897.js} +1 -1
- package/timetable-occupancy-icon.js +1 -1
- package/timetable-occupancy-icon.pure.js +1 -1
- package/{timetable-occupancy.component-DMztYVmj.js → timetable-occupancy.component-CuI4uxPK.js} +1 -1
- 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 +2 -2
- package/{title-base-BDYkc8fG.js → title-base-DRgSZMaU.js} +1 -1
- package/{title.component-DafVwymI.js → title.component-1oKmMeCz.js} +2 -2
- package/title.js +2 -2
- package/title.pure.js +2 -2
- package/toast/toast.component.js +1 -1
- package/{toast.component-DbILctK5.js → toast.component-BGevO6ad.js} +1 -1
- 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/toggle-option.js +1 -1
- package/toggle/toggle.js +1 -1
- package/toggle-check/toggle-check.component.js +1 -1
- package/toggle-check.component-C2Ejl7a_.js +119 -0
- package/toggle-check.js +1 -1
- package/toggle-check.pure.js +1 -1
- package/{toggle-option.component-NMfqwd12.js → toggle-option.component-Lm0irQKj.js} +1 -1
- package/{toggle.component-D1n5S5ev.js → toggle.component-D8rRkRAo.js} +1 -1
- package/toggle.js +2 -2
- package/toggle.pure.js +2 -2
- package/tooltip/tooltip.component.js +1 -1
- package/{tooltip.component-X45T6iQH.js → tooltip.component-Bwp_yTA8.js} +1 -1
- 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-blocked-passage.js +1 -1
- package/train/train-formation/train-formation.component.js +1 -1
- package/train/train-formation.js +1 -1
- package/train/train-wagon/train-wagon.component.js +1 -1
- package/train/train-wagon.js +1 -1
- package/train/train.js +1 -1
- package/train-blocked-passage.component-D3mbnoQ4.js +23 -0
- package/train-formation.component-DoNKUil3.js +121 -0
- package/{train-wagon.component-bGA2a-0M.js → train-wagon.component-CLrqgGwH.js} +1 -1
- package/{train.component-V6FLqC82.js → train.component-COPys5v7.js} +1 -1
- package/train.js +4 -4
- package/train.pure.js +4 -4
- package/visual-checkbox/visual-checkbox.component.js +1 -1
- package/{visual-checkbox.component-eajUDpKu.js → visual-checkbox.component-CiAaB_Yc.js} +1 -1
- package/visual-checkbox.js +1 -1
- package/visual-checkbox.pure.js +1 -1
- package/action-group.component-KWugkMGf.js +0 -158
- package/block-link-common-BMTrbSfi.js +0 -63
- package/breadcrumb.component-DjkZzGJD.js +0 -24
- package/card-badge.component-D_PI9Ega.js +0 -65
- package/card.component-Dt2YFmd3.js +0 -62
- package/chip.component-DMB36gvC.js +0 -94
- package/common-CI_BB6sF.js +0 -5
- package/development/header.component-DEw_zC-n.js +0 -446
- package/development/popover.component-DCJdrVsB.js +0 -746
- package/development/signet.component-B9nY5tTL.js +0 -188
- package/dialog-actions.component-QvbasYxg.js +0 -17
- package/dialog-title.component-BDHYjDn0.js +0 -17
- package/expansion-panel-content.component-DCl4nQ8V.js +0 -29
- package/expansion-panel-header.component-jc1Ty5jz.js +0 -56
- package/flip-card-summary.component-DVa7wF7x.js +0 -65
- package/footer.component-C-mSrCud.js +0 -129
- package/header-action-common-W_j0KPr-.js +0 -62
- package/header-environment.component-DduyZo6W.js +0 -36
- package/header.component-DW23EnaO.js +0 -203
- package/inline-link-common-DANB-hT-.js +0 -18
- package/lead-container.component-D9VzZCQa.js +0 -27
- package/link-common-akQv_-UR.js +0 -52
- package/link-list-anchor.component-Qm7h2mHK.js +0 -18
- package/link-list.component-C8zrqHYc.js +0 -78
- package/loading-indicator-circle.component-DfjVqe7n.js +0 -62
- package/loading-indicator.component-DkYs30Nf.js +0 -92
- package/map-container.component-C_wbi6WL.js +0 -128
- package/menu-action-common-vt9j6nkG.js +0 -29
- package/navigation-action-common-D_-gGOYm.js +0 -64
- package/notification.component-Cor1vQGU.js +0 -197
- package/option-hint.component-kPdwK61Z.js +0 -23
- package/option.component-DF9ZTj12.js +0 -98
- package/paginator.component-CsSs5q4D.js +0 -206
- package/radio-button-common-QHPueQrm.js +0 -77
- package/selection-action-panel.component-QfR2kPeM.js +0 -35
- package/signet.component-Kwdy4Uor.js +0 -101
- package/step-label.component-DTkviH8Q.js +0 -82
- package/sticky-bar.component-BqZVKHc7.js +0 -141
- package/styles-CsBiCI23.js +0 -5
- package/styles-DYZWSKeo.js +0 -5
- package/tab-label.component-BnxPGws1.js +0 -165
- package/tag.component-CfK6JwsO.js +0 -170
- package/teaser-hero.component-DjodzcX_.js +0 -80
- package/teaser-product-common-DkumwiRA.js +0 -62
- package/teaser.component-C7sJLVMk.js +0 -91
- package/timetable-form-details.component-DI5Mr8-O.js +0 -16
- package/timetable-form-field.component-2kEWygEC.js +0 -32
- package/toggle-check.component-CPewUjOg.js +0 -119
- package/train-blocked-passage.component-RIMoX91U.js +0 -23
- package/train-formation.component-B17tc6cx.js +0 -121
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
import { __esDecorate as e, __runInitializers as t } from "tslib";
|
|
2
|
+
import { css as n, html as r, isServer as i } from "lit";
|
|
3
|
+
import { property as a, state as o } from "lit/decorators.js";
|
|
4
|
+
import { SbbElement as s } from "./core/base-elements.js";
|
|
5
|
+
import { forceType as c, idReference as l } from "./core/decorators.js";
|
|
6
|
+
import { isLean as u, queueDomContentLoaded as d } from "./core/dom.js";
|
|
7
|
+
import { boxSizingStyles as f } from "./core/styles.js";
|
|
8
|
+
import { SbbFocusVisibleWithinController as p } from "./core/a11y.js";
|
|
9
|
+
//#region src/elements/header/header/header.scss?lit&inline
|
|
10
|
+
var m = n`:host{--sbb-logo-height: 1rem;--sbb-signet-height: 1rem;--sbb-header-transition-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-6x) )}@media(min-width:64rem){:host{--sbb-logo-height: 1.25rem;--sbb-signet-height: 1.25rem}}:host{display:block;height:var(--sbb-header-height)}:host([size=s]) ::slotted(:is(sbb-header-button,sbb-header-link)){--sbb-header-action-min-height: var(--sbb-size-element-xs);--sbb-header-action-padding-inline: var(--sbb-spacing-fixed-4x)}:host([hide-on-scroll]){--sbb-header-position: absolute}:host([hide-on-scroll]:is(:state(fixed),[state--fixed])){--sbb-header-position: fixed;--sbb-header-animation-name: hide;--sbb-header-transform: translate3d(0, -100%, 0);--sbb-header-inset-inline-end: var(--sbb-scrollbar-width, 0)}:host([hide-on-scroll]:is(:state(fixed),[state--fixed]):is(:state(animated),[state--animated])){--sbb-header-transition-timing: cubic-bezier(.4, 0, 1, 1)}:host([hide-on-scroll]:is(:state(fixed),[state--fixed]):is(:state(visible),[state--visible])){--sbb-header-animation-name: show;--sbb-header-transform: translate3d(0, 0, 0);--sbb-header-transition-timing: cubic-bezier(0, 0, .2, 1)}:host([hide-on-scroll]:is(:state(fixed),[state--fixed]):is(:state(has-visible-focus-within),[state--has-visible-focus-within])){--sbb-header-transition-duration: 0;--sbb-header-transform: translate3d(0, 0, 0)}.sbb-header{position:var(--sbb-header-position);inset:0 var(--sbb-header-inset-inline-end) auto 0;background:var(--sbb-header-background);z-index:var(--sbb-header-z-index, 10);transform:var(--sbb-header-transform);transition-property:box-shadow;transition-duration:var(--sbb-header-transition-duration);transition-timing-function:var(--sbb-header-transition-timing);animation-name:var(--sbb-header-animation-name);animation-duration:var(--sbb-header-transition-duration);animation-timing-function:var(--sbb-header-transition-timing)}:host(:is(:is(:state(shadow),[state--shadow]),:is(:state(has-visible-focus-within),[state--has-visible-focus-within]):is(:state(fixed),[state--fixed]))) .sbb-header{box-shadow:var(--sbb-header-box-shadow)}@media(forced-colors:active){.sbb-header{border-block-end:var(--sbb-border-width-1x) solid CanvasText}}.sbb-header__wrapper{display:flex;align-items:center;justify-content:flex-start;height:var(--sbb-header-height)}:host(:not([expanded])) .sbb-header__wrapper{padding-inline:var(--sbb-page-spacing-padding, var(--sbb-layout-base-offset-responsive));margin-inline:auto;width:100%}@media(min-width:90rem){:host(:not([expanded])) .sbb-header__wrapper{max-width:var(--sbb-spacing-max-width, calc(var(--sbb-layout-base-page-max-width) + 2 * var(--sbb-layout-base-offset-responsive)))}}:host([expanded]) .sbb-header__wrapper{padding-inline:var(--sbb-page-spacing-padding, var(--sbb-spacing-responsive-xxs))}::slotted(:is(sbb-header-button,sbb-header-link):first-child){margin-inline-start:var(--sbb-header-first-item-margin-inline-start)}::slotted(*){flex:0 0 auto}::slotted(.sbb-header-shrinkable){flex-shrink:1;min-width:0}::slotted(.sbb-header-spacer){flex-grow:1}::slotted(.sbb-header-logo){margin-inline-start:var(--sbb-spacing-responsive-s)}::slotted(a.sbb-header-logo){display:block;padding-block:var(--sbb-spacing-fixed-3x);position:relative;outline:none!important}::slotted(a.sbb-header-logo):before{content:"";display:block;position:absolute;inset:var(--sbb-spacing-fixed-3x) 0}::slotted(a.sbb-header-logo:focus-visible):before{outline-offset:var(--sbb-focus-outline-offset);outline:var(--sbb-focus-outline-color) var(--sbb-focus-outline-style, solid) var(--sbb-focus-outline-width);outline-offset:var(--sbb-spacing-fixed-3x);border-radius:1px}@keyframes show{0%{transform:translate3d(0,-100%,0)}to{transform:translateZ(0)}}@keyframes hide{0%{transform:translateZ(0)}to{transform:translate3d(0,-100%,0)}}`, h = "[aria-controls][aria-expanded='true']", g = (() => {
|
|
11
|
+
let n = s, g, _ = [], v = [], y, b = [], x = [], S, C = [], w = [], T, E = [], D = [], O, k = [], A = [];
|
|
12
|
+
return class s extends n {
|
|
13
|
+
static {
|
|
14
|
+
let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(n[Symbol.metadata] ?? null) : void 0;
|
|
15
|
+
g = [c(), a({
|
|
16
|
+
reflect: !0,
|
|
17
|
+
type: Boolean
|
|
18
|
+
})], y = [l(), a({ attribute: "scroll-origin" })], S = [c(), a({
|
|
19
|
+
attribute: "hide-on-scroll",
|
|
20
|
+
reflect: !0,
|
|
21
|
+
type: Boolean
|
|
22
|
+
})], T = [a({ reflect: !0 })], O = [o()], e(this, null, g, {
|
|
23
|
+
kind: "accessor",
|
|
24
|
+
name: "expanded",
|
|
25
|
+
static: !1,
|
|
26
|
+
private: !1,
|
|
27
|
+
access: {
|
|
28
|
+
has: (e) => "expanded" in e,
|
|
29
|
+
get: (e) => e.expanded,
|
|
30
|
+
set: (e, t) => {
|
|
31
|
+
e.expanded = t;
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
metadata: t
|
|
35
|
+
}, _, v), e(this, null, y, {
|
|
36
|
+
kind: "accessor",
|
|
37
|
+
name: "scrollOrigin",
|
|
38
|
+
static: !1,
|
|
39
|
+
private: !1,
|
|
40
|
+
access: {
|
|
41
|
+
has: (e) => "scrollOrigin" in e,
|
|
42
|
+
get: (e) => e.scrollOrigin,
|
|
43
|
+
set: (e, t) => {
|
|
44
|
+
e.scrollOrigin = t;
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
metadata: t
|
|
48
|
+
}, b, x), e(this, null, S, {
|
|
49
|
+
kind: "accessor",
|
|
50
|
+
name: "hideOnScroll",
|
|
51
|
+
static: !1,
|
|
52
|
+
private: !1,
|
|
53
|
+
access: {
|
|
54
|
+
has: (e) => "hideOnScroll" in e,
|
|
55
|
+
get: (e) => e.hideOnScroll,
|
|
56
|
+
set: (e, t) => {
|
|
57
|
+
e.hideOnScroll = t;
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
metadata: t
|
|
61
|
+
}, C, w), e(this, null, T, {
|
|
62
|
+
kind: "accessor",
|
|
63
|
+
name: "size",
|
|
64
|
+
static: !1,
|
|
65
|
+
private: !1,
|
|
66
|
+
access: {
|
|
67
|
+
has: (e) => "size" in e,
|
|
68
|
+
get: (e) => e.size,
|
|
69
|
+
set: (e, t) => {
|
|
70
|
+
e.size = t;
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
metadata: t
|
|
74
|
+
}, E, D), e(this, null, O, {
|
|
75
|
+
kind: "accessor",
|
|
76
|
+
name: "_headerOnTop",
|
|
77
|
+
static: !1,
|
|
78
|
+
private: !1,
|
|
79
|
+
access: {
|
|
80
|
+
has: (e) => "_headerOnTop" in e,
|
|
81
|
+
get: (e) => e._headerOnTop,
|
|
82
|
+
set: (e, t) => {
|
|
83
|
+
e._headerOnTop = t;
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
metadata: t
|
|
87
|
+
}, k, A), t && Object.defineProperty(this, Symbol.metadata, {
|
|
88
|
+
enumerable: !0,
|
|
89
|
+
configurable: !0,
|
|
90
|
+
writable: !0,
|
|
91
|
+
value: t
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
static {
|
|
95
|
+
this.elementName = "sbb-header";
|
|
96
|
+
}
|
|
97
|
+
static {
|
|
98
|
+
this.styles = [f, m];
|
|
99
|
+
}
|
|
100
|
+
static {
|
|
101
|
+
this._headerScrollOrigins = /* @__PURE__ */ new Set();
|
|
102
|
+
}
|
|
103
|
+
static {
|
|
104
|
+
this._headerElements = /* @__PURE__ */ new Set();
|
|
105
|
+
}
|
|
106
|
+
static {
|
|
107
|
+
i || d(() => this._initializeScrollOriginObserver());
|
|
108
|
+
}
|
|
109
|
+
#e;
|
|
110
|
+
get expanded() {
|
|
111
|
+
return this.#e;
|
|
112
|
+
}
|
|
113
|
+
set expanded(e) {
|
|
114
|
+
this.#e = e;
|
|
115
|
+
}
|
|
116
|
+
#t;
|
|
117
|
+
get scrollOrigin() {
|
|
118
|
+
return this.#t;
|
|
119
|
+
}
|
|
120
|
+
set scrollOrigin(e) {
|
|
121
|
+
this.#t = e;
|
|
122
|
+
}
|
|
123
|
+
#n;
|
|
124
|
+
get hideOnScroll() {
|
|
125
|
+
return this.#n;
|
|
126
|
+
}
|
|
127
|
+
set hideOnScroll(e) {
|
|
128
|
+
this.#n = e;
|
|
129
|
+
}
|
|
130
|
+
#r;
|
|
131
|
+
get size() {
|
|
132
|
+
return this.#r;
|
|
133
|
+
}
|
|
134
|
+
set size(e) {
|
|
135
|
+
this.#r = e;
|
|
136
|
+
}
|
|
137
|
+
#i;
|
|
138
|
+
get _headerOnTop() {
|
|
139
|
+
return this.#i;
|
|
140
|
+
}
|
|
141
|
+
set _headerOnTop(e) {
|
|
142
|
+
this.#i = e;
|
|
143
|
+
}
|
|
144
|
+
constructor() {
|
|
145
|
+
super(), this.#e = t(this, _, !1), this.#t = (t(this, v), t(this, b, null)), this.#n = (t(this, x), t(this, C, !1)), this.#r = (t(this, w), t(this, E, u() ? "s" : "m")), this.#i = (t(this, D), t(this, k, !0)), this._scrollElement = t(this, A), this._lastScroll = 0, this._scrollOriginFromObserver = null, this.addController(new p(this));
|
|
146
|
+
}
|
|
147
|
+
static _initializeScrollOriginObserver() {
|
|
148
|
+
new MutationObserver((e) => {
|
|
149
|
+
for (let t of e) if (t.type === "attributes") this._handleScrollOriginElement(t.target);
|
|
150
|
+
else if (t.type === "childList") for (let e of [...t.addedNodes, ...t.removedNodes].filter((e) => e.nodeType === e.ELEMENT_NODE)) this._handleScrollOriginElement(e), this._findAndHandleScrollOrigins(e);
|
|
151
|
+
this._updateHeaderElements();
|
|
152
|
+
}).observe(document.documentElement, {
|
|
153
|
+
attributeFilter: ["sbb-header-scroll-origin"],
|
|
154
|
+
childList: !0,
|
|
155
|
+
subtree: !0
|
|
156
|
+
}), this._findAndHandleScrollOrigins(document.body), this._updateHeaderElements();
|
|
157
|
+
}
|
|
158
|
+
static _findAndHandleScrollOrigins(e) {
|
|
159
|
+
e.querySelectorAll("[sbb-header-scroll-origin]").forEach((e) => this._handleScrollOriginElement(e));
|
|
160
|
+
}
|
|
161
|
+
static _handleScrollOriginElement(e) {
|
|
162
|
+
e.isConnected && e.hasAttribute("sbb-header-scroll-origin") ? this._headerScrollOrigins.add(e) : this._headerScrollOrigins.delete(e);
|
|
163
|
+
}
|
|
164
|
+
static _updateHeaderElements() {
|
|
165
|
+
for (let e of this._headerElements) this._headerScrollOrigins.size === 0 ? e._scrollOriginFromObserver = null : this._headerScrollOrigins.size === 1 ? e._scrollOriginFromObserver = this._headerScrollOrigins.values().next().value ?? null : e._scrollOriginFromObserver = Array.from(this._headerScrollOrigins).sort((e, t) => e.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_CONTAINS).at(-1) ?? null, e._updateScrollListener();
|
|
166
|
+
}
|
|
167
|
+
connectedCallback() {
|
|
168
|
+
super.connectedCallback(), s._headerElements.add(this), this.hasUpdated && this._updateScrollListener();
|
|
169
|
+
}
|
|
170
|
+
disconnectedCallback() {
|
|
171
|
+
super.disconnectedCallback(), this._scrollElement = null, this._scrollEventsController?.abort(), s._headerElements.delete(this);
|
|
172
|
+
}
|
|
173
|
+
requestUpdate(e, t, n) {
|
|
174
|
+
super.requestUpdate(e, t, n), !i && (!e || e === "scrollOrigin") && this.hasUpdated && this._updateScrollListener();
|
|
175
|
+
}
|
|
176
|
+
firstUpdated(e) {
|
|
177
|
+
super.firstUpdated(e), this._updateScrollListener();
|
|
178
|
+
}
|
|
179
|
+
_updateScrollListener() {
|
|
180
|
+
let e = this.scrollOrigin ?? this._scrollOriginFromObserver ?? document;
|
|
181
|
+
if (e === this._scrollElement || (this._scrollEventsController?.abort(), this._scrollElement = e, !this._scrollElement)) return;
|
|
182
|
+
this._scrollEventsController = new AbortController(), this._scrollFunction = this._getScrollFunction.bind(this), this._scrollElement.addEventListener("scroll", this._scrollFunction, {
|
|
183
|
+
passive: !0,
|
|
184
|
+
signal: this._scrollEventsController.signal
|
|
185
|
+
});
|
|
186
|
+
let t = this._getCurrentScrollProperty("scrollTop");
|
|
187
|
+
this._lastScroll = t <= 0 ? 0 : t;
|
|
188
|
+
}
|
|
189
|
+
_getScrollFunction() {
|
|
190
|
+
return this.hideOnScroll ? this._scrollListener() : this._scrollShadowListener();
|
|
191
|
+
}
|
|
192
|
+
_getCurrentScrollProperty(e) {
|
|
193
|
+
return this._scrollElement instanceof Document ? this._scrollElement.documentElement[e] || this._scrollElement.body[e] : this._scrollElement?.[e] || 0;
|
|
194
|
+
}
|
|
195
|
+
_scrollListener() {
|
|
196
|
+
let e = this._getCurrentScrollProperty("scrollTop");
|
|
197
|
+
this._getCurrentScrollProperty("scrollHeight") - window.innerHeight - e <= 0 || (this.toggleState("shadow", e !== 0), e > this.offsetHeight && e > 0 && this._lastScroll < e && this._closeOpenOverlays(), e > this.offsetHeight * 2 ? (this._headerOnTop = !1, e > 0 && this._lastScroll < e ? ["shadow", "visible"].forEach((e) => this.internals.states.delete(e)) : [
|
|
198
|
+
"fixed",
|
|
199
|
+
"shadow",
|
|
200
|
+
"animated",
|
|
201
|
+
"visible"
|
|
202
|
+
].forEach((e) => this.internals.states.add(e))) : (e === 0 && (this._headerOnTop = !0), this._headerOnTop && [
|
|
203
|
+
"shadow",
|
|
204
|
+
"animated",
|
|
205
|
+
"fixed",
|
|
206
|
+
"visible"
|
|
207
|
+
].forEach((e) => this.internals.states.delete(e))), this._lastScroll = e <= 0 ? 0 : e);
|
|
208
|
+
}
|
|
209
|
+
_scrollShadowListener() {
|
|
210
|
+
this.toggleState("shadow", this._getCurrentScrollProperty("scrollTop") !== 0);
|
|
211
|
+
}
|
|
212
|
+
_closeOpenOverlays() {
|
|
213
|
+
if (this.matches(":is(:state(has-visible-focus-within),[state--has-visible-focus-within])")) return;
|
|
214
|
+
let e = Array.from(this.querySelectorAll(h));
|
|
215
|
+
for (let t of e) {
|
|
216
|
+
let e = t.getAttribute("aria-controls"), n = document.getElementById(e);
|
|
217
|
+
typeof n?.close == "function" && n.close();
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
render() {
|
|
221
|
+
return r`
|
|
222
|
+
<header class="sbb-header">
|
|
223
|
+
<div class="sbb-header__wrapper">
|
|
224
|
+
<slot></slot>
|
|
225
|
+
</div>
|
|
226
|
+
</header>
|
|
227
|
+
`;
|
|
228
|
+
}
|
|
229
|
+
};
|
|
230
|
+
})();
|
|
231
|
+
//#endregion
|
|
232
|
+
export { g as t };
|
package/header.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as e } from "./header-action-common-
|
|
1
|
+
import { t as e } from "./header-action-common-D9CO0Jax.js";
|
|
2
2
|
import { SbbHeaderButtonElement as t } from "./header/header-button/header-button.component.js";
|
|
3
|
-
import { t as n } from "./header-environment.component-
|
|
3
|
+
import { t as n } from "./header-environment.component-DDZ9fcZd.js";
|
|
4
4
|
import { SbbHeaderLinkElement as r } from "./header/header-link/header-link.component.js";
|
|
5
|
-
import { t as i } from "./header.component-
|
|
5
|
+
import { t as i } from "./header.component-BPkEKqnQ.js";
|
|
6
6
|
import "./header.pure.js";
|
|
7
7
|
i.define(), t.define(), n.define(), r.define();
|
|
8
8
|
//#endregion
|
package/header.pure.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "./header-action-common-
|
|
1
|
+
import { t as e } from "./header-action-common-D9CO0Jax.js";
|
|
2
2
|
import { SbbHeaderButtonElement as t } from "./header/header-button/header-button.component.js";
|
|
3
|
-
import { t as n } from "./header-environment.component-
|
|
3
|
+
import { t as n } from "./header-environment.component-DDZ9fcZd.js";
|
|
4
4
|
import { SbbHeaderLinkElement as r } from "./header/header-link/header-link.component.js";
|
|
5
|
-
import { t as i } from "./header.component-
|
|
5
|
+
import { t as i } from "./header.component-BPkEKqnQ.js";
|
|
6
6
|
export { e as SbbHeaderActionCommonElementMixin, t as SbbHeaderButtonElement, i as SbbHeaderElement, n as SbbHeaderEnvironmentElement, r as SbbHeaderLinkElement };
|
package/icon/icon-base.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../icon-base-
|
|
1
|
+
import { t as e } from "../icon-base-BkDvJr2l.js";
|
|
2
2
|
export { e as SbbIconBase };
|
package/icon/icon-name-mixin.js
CHANGED
package/icon/icon.component.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../icon-base-
|
|
1
|
+
import { t as e } from "../icon-base-BkDvJr2l.js";
|
|
2
2
|
import { __esDecorate as t, __runInitializers as n } from "tslib";
|
|
3
3
|
import { html as r } from "lit";
|
|
4
4
|
import { property as i, state as a } from "lit/decorators.js";
|
|
@@ -8,7 +8,7 @@ import { boxSizingStyles as l } from "./core/styles.js";
|
|
|
8
8
|
import { until as u } from "lit/directives/until.js";
|
|
9
9
|
import { unsafeHTML as d } from "lit/directives/unsafe-html.js";
|
|
10
10
|
//#region src/elements/icon/icon.scss?lit&inline
|
|
11
|
-
var f = r`:host{-webkit-tap-highlight-color:transparent
|
|
11
|
+
var f = r`:host{display:inline-block;line-height:0;-webkit-tap-highlight-color:transparent}:host(:is(:state(empty),[state--empty])){--sbb-icon-default-dimension: 0}:host(:is(:state(empty),[state--empty]):is(:state(namespace-default),[state--namespace-default])[name$=-extra-small]){--sbb-icon-default-dimension: var(--sbb-size-icon-ui-extra-small)}:host(:is(:state(empty),[state--empty]):is(:state(namespace-default),[state--namespace-default])[name$=-small]){--sbb-icon-default-dimension: var(--sbb-size-icon-ui-small)}:host(:is(:state(empty),[state--empty]):is(:state(namespace-default),[state--namespace-default])[name$=-medium]){--sbb-icon-default-dimension: var(--sbb-size-icon-ui-medium)}:host(:is(:state(empty),[state--empty]):is(:state(namespace-default),[state--namespace-default])[name$=-large]){--sbb-icon-default-dimension: var(--sbb-size-icon-ui-large)}svg{width:var(--sbb-icon-svg-width, var(--sbb-icon-default-dimension));height:var(--sbb-icon-svg-height, var(--sbb-icon-default-dimension));stroke:var(--sbb-icon-svg-stroke-color);stroke-width:var(--sbb-icon-svg-stroke-width)}svg:not(.color-immutable) [fill]:not([fill=none]){fill:currentcolor}svg:not(.color-immutable) [stroke]:not([stroke=none]){stroke:currentcolor}svg:not(.color-immutable)>:where(path,polygon,polyline):where(:not([stroke]):not([fill])),svg:not(.color-immutable) :where(:not([stroke]):not([fill])) :where(path,polygon,polyline):where(:not([stroke]):not([fill])){fill:currentcolor}`, p = "default", m = (() => {
|
|
12
12
|
let r = s, m, h = [], g = [], _, v = [], y = [], b, x = [], S = [];
|
|
13
13
|
return class extends r {
|
|
14
14
|
static {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../icon-sidebar.component-
|
|
1
|
+
import { t as e } from "../../icon-sidebar.component-CQ6KLiCN.js";
|
|
2
2
|
export { e as SbbIconSidebarElement };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../icon-sidebar.component-
|
|
1
|
+
import { t as e } from "../icon-sidebar.component-CQ6KLiCN.js";
|
|
2
2
|
e.define(), console.warn("The entrypoint '@sbb-esta/elements/icon-sidebar/icon-sidebar.js' has been deprecated.\nUse either '@sbb-esta/elements/icon-sidebar.js' or '@sbb-esta/elements/icon-sidebar.pure.js' instead.");
|
|
3
3
|
//#endregion
|
|
4
4
|
export { e as SbbIconSidebarElement };
|
|
@@ -3,7 +3,7 @@ import { css as n, html as r } from "lit";
|
|
|
3
3
|
import { property as i } from "lit/decorators.js";
|
|
4
4
|
import { SbbElement as a } from "./core/base-elements.js";
|
|
5
5
|
//#region src/elements/icon-sidebar/icon-sidebar/icon-sidebar.scss?lit&inline
|
|
6
|
-
var o = n`:host{width:var(--sbb-size-element-m);background-color:var(--sbb-icon-sidebar-background-color);
|
|
6
|
+
var o = n`:host{display:flex;flex-direction:column;flex-shrink:0;width:var(--sbb-size-element-m);overflow-y:auto;background-color:var(--sbb-icon-sidebar-background-color);margin-block-start:var(--sbb-spacing-fixed-3x);padding-block-start:var(--sbb-spacing-fixed-1x);border-start-end-radius:var(--sbb-icon-sidebar-border-radius);border-start-start-radius:0}:host([color=white]){--sbb-icon-sidebar-background-color: var(--sbb-background-color-1)}:host([color=milk]){--sbb-icon-sidebar-background-color: var(--sbb-background-color-3)}`, s = (() => {
|
|
7
7
|
let n = a, s, c = [], l = [];
|
|
8
8
|
return class extends n {
|
|
9
9
|
static {
|
package/icon-sidebar.js
CHANGED
|
@@ -2,7 +2,7 @@ import { SbbIconSidebarButtonElement as e } from "./icon-sidebar/icon-sidebar-bu
|
|
|
2
2
|
import { t } from "./icon-sidebar-container.component-BGhKzy4e.js";
|
|
3
3
|
import { t as n } from "./icon-sidebar-content.component-Ck5kHeMx.js";
|
|
4
4
|
import { SbbIconSidebarLinkElement as r } from "./icon-sidebar/icon-sidebar-link/icon-sidebar-link.component.js";
|
|
5
|
-
import { t as i } from "./icon-sidebar.component-
|
|
5
|
+
import { t as i } from "./icon-sidebar.component-CQ6KLiCN.js";
|
|
6
6
|
import "./icon-sidebar.pure.js";
|
|
7
7
|
i.define(), e.define(), t.define(), n.define(), r.define();
|
|
8
8
|
//#endregion
|
package/icon-sidebar.pure.js
CHANGED
|
@@ -2,5 +2,5 @@ import { SbbIconSidebarButtonElement as e } from "./icon-sidebar/icon-sidebar-bu
|
|
|
2
2
|
import { t } from "./icon-sidebar-container.component-BGhKzy4e.js";
|
|
3
3
|
import { t as n } from "./icon-sidebar-content.component-Ck5kHeMx.js";
|
|
4
4
|
import { SbbIconSidebarLinkElement as r } from "./icon-sidebar/icon-sidebar-link/icon-sidebar-link.component.js";
|
|
5
|
-
import { t as i } from "./icon-sidebar.component-
|
|
5
|
+
import { t as i } from "./icon-sidebar.component-CQ6KLiCN.js";
|
|
6
6
|
export { e as SbbIconSidebarButtonElement, t as SbbIconSidebarContainerElement, n as SbbIconSidebarContentElement, i as SbbIconSidebarElement, r as SbbIconSidebarLinkElement };
|
package/icon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isValid as e, validateContent as t } from "./icon/icon-validate.js";
|
|
2
2
|
import { getSvgContent as n } from "./icon/icon-request.js";
|
|
3
|
-
import { t as r } from "./icon-base-
|
|
3
|
+
import { t as r } from "./icon-base-BkDvJr2l.js";
|
|
4
4
|
import { SbbIconElement as i } from "./icon/icon.component.js";
|
|
5
5
|
import { SbbIconNameMixin as a } from "./icon/icon-name-mixin.js";
|
|
6
6
|
import "./icon.pure.js";
|
package/icon.pure.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isValid as e, validateContent as t } from "./icon/icon-validate.js";
|
|
2
2
|
import { getSvgContent as n } from "./icon/icon-request.js";
|
|
3
|
-
import { t as r } from "./icon-base-
|
|
3
|
+
import { t as r } from "./icon-base-BkDvJr2l.js";
|
|
4
4
|
import { SbbIconElement as i } from "./icon/icon.component.js";
|
|
5
5
|
import { SbbIconNameMixin as a } from "./icon/icon-name-mixin.js";
|
|
6
6
|
export { r as SbbIconBase, i as SbbIconElement, a as SbbIconNameMixin, n as getSvgContent, e as isValid, t as validateContent };
|
package/image/image.component.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../image.component-
|
|
1
|
+
import { t as e } from "../image.component-BSWcI8r3.js";
|
|
2
2
|
export { e as SbbImageElement };
|
|
@@ -6,7 +6,7 @@ import { SbbElement as h } from "./core/base-elements.js";
|
|
|
6
6
|
import { forceType as g } from "./core/decorators.js";
|
|
7
7
|
import { boxSizingStyles as _ } from "./core/styles.js";
|
|
8
8
|
//#region src/elements/image/image.scss?lit&inline
|
|
9
|
-
var v = u`:host{--sbb-image-aspect-ratio:16 / 9;--sbb-image-animation-duration:var(--sbb-disable-animation-duration,var(--sbb-animation-duration-4x));--sbb-image-object-fit:cover;border-radius:var(--sbb-border-radius-4x)
|
|
9
|
+
var v = u`:host{--sbb-image-aspect-ratio: 16 / 9;--sbb-image-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-4x) );--sbb-image-object-fit: cover;display:block;border-radius:var(--sbb-border-radius-4x)}.sbb-image__img{opacity:.000001}:host(:is(:state(loaded),[state--loaded])) .sbb-image__img{opacity:.999999}:host(:not([skip-lqip])) .sbb-image__img{position:absolute;inset:0}:host(:is(:state(loaded),[state--loaded])) .sbb-image__blurred{opacity:0}picture{display:contents}:is(.sbb-image__img,.sbb-image__blurred){width:100%;height:100%;object-fit:var(--sbb-image-object-fit);object-position:var(--sbb-image-object-position);transition:opacity var(--sbb-image-animation-duration) var(--sbb-animation-easing)}.sbb-image__wrapper{display:flex;position:relative;width:100%;height:100%;aspect-ratio:var(--sbb-image-aspect-ratio);border-radius:inherit;overflow:hidden}`, y = (e) => {
|
|
10
10
|
if (!e || e.length === 0) return [];
|
|
11
11
|
let t;
|
|
12
12
|
try {
|
package/image.js
CHANGED
package/image.pure.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./image.component-
|
|
1
|
+
import { t as e } from "./image.component-BSWcI8r3.js";
|
|
2
2
|
export { e as SbbImageElement };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { n as e, t } from "./link-common-DqIfaliQ.js";
|
|
2
|
+
import { css as n } from "lit";
|
|
3
|
+
import { boxSizingStyles as r } from "./core/styles.js";
|
|
4
|
+
//#region src/elements/link/common/inline-link.scss?lit&inline
|
|
5
|
+
var i = n`:host{font-family:inherit;font-weight:inherit;line-height:inherit;letter-spacing:inherit;font-size:inherit;text-align:inherit;--sbb-link-color-hover: var(--sbb-color-primary125);--sbb-link-color-hover: light-dark(var(--sbb-color-primary125), var(--sbb-color-graphite));--sbb-link-color-active: var(--sbb-color-primary150);--sbb-link-color-active: light-dark(var(--sbb-color-primary150), var(--sbb-color-metal));--sbb-link-color-normal: inherit;color:inherit;display:inline-block}:host([negative]){--sbb-focus-outline-color: var(--sbb-focus-outline-color-dark);--sbb-link-color-hover: var(--sbb-color-graphite);--sbb-link-color-active: var(--sbb-color-metal)}.sbb-action-base{font-family:inherit;font-weight:inherit;line-height:inherit;letter-spacing:inherit;font-size:inherit;text-align:inherit}`, a = (n) => {
|
|
6
|
+
class a extends t(n) {
|
|
7
|
+
static {
|
|
8
|
+
this.styles = [
|
|
9
|
+
r,
|
|
10
|
+
e,
|
|
11
|
+
i
|
|
12
|
+
];
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
return a;
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
18
|
+
export { a as t };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../journey-header.component-
|
|
1
|
+
import { t as e } from "../journey-header.component-mIbM-KVg.js";
|
|
2
2
|
export { e as SbbJourneyHeaderElement };
|
|
@@ -11,7 +11,7 @@ import "./icon.js";
|
|
|
11
11
|
import "./screen-reader-only.js";
|
|
12
12
|
import { SbbTitleBase as p } from "./title.js";
|
|
13
13
|
//#region src/elements/journey-header/journey-header.scss?lit&inline
|
|
14
|
-
var m = n`:host{--sbb-journey-header-gap:var(--sbb-spacing-fixed-1x);display:block}:host([id]){scroll-margin-block-start:var(--sbb-spacing-fixed-10x)}:host([negative]){--sbb-title-text-color-normal:var(--sbb-color-3-negative)}sbb-icon{min-width:var(--sbb-size-icon-ui-small)}.sbb-journey-header{align-items:center;column-gap:var(--sbb-journey-header-gap);
|
|
14
|
+
var m = n`:host{--sbb-journey-header-gap: var(--sbb-spacing-fixed-1x);display:block}:host([id]){scroll-margin-block-start:var(--sbb-spacing-fixed-10x)}:host([negative]){--sbb-title-text-color-normal: var(--sbb-color-3-negative)}sbb-icon{min-width:var(--sbb-size-icon-ui-small)}.sbb-journey-header{display:flex;flex-wrap:wrap;align-items:center;column-gap:var(--sbb-journey-header-gap);width:fit-content}.sbb-journey-header:dir(rtl) sbb-icon{transform:rotate(-180deg)}.sbb-journey-header>span{max-width:100%}`, h = new Map([
|
|
15
15
|
["s", "6"],
|
|
16
16
|
["m", "5"],
|
|
17
17
|
["l", "4"]
|
package/journey-header.js
CHANGED
package/journey-header.pure.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./journey-header.component-
|
|
1
|
+
import { t as e } from "./journey-header.component-mIbM-KVg.js";
|
|
2
2
|
export { e as SbbJourneyHeaderElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../lead-container.component-
|
|
1
|
+
import { t as e } from "../lead-container.component-w3zhibLj.js";
|
|
2
2
|
export { e as SbbLeadContainerElement };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { css as e, html as t } from "lit";
|
|
2
|
+
import { SbbElement as n } from "./core/base-elements.js";
|
|
3
|
+
import { boxSizingStyles as r } from "./core/styles.js";
|
|
4
|
+
//#region src/elements/lead-container/lead-container.scss?lit&inline
|
|
5
|
+
var i = e`:host{display:block;padding-block:var(--sbb-lead-container-padding-block)}:host(:not(:is(:state(slotted-image),[state--slotted-image]))){--sbb-lead-container-image-overlap: 0}::slotted([slot=image]){display:block;width:100%}::slotted(:is(sbb-breadcrumb-group,sbb-block-link).sbb-lead-container-spacing){margin-block-end:var(--sbb-spacing-fixed-4x)}::slotted(:is(sbb-alert,sbb-alert-group).sbb-lead-container-spacing){margin-block-end:var(--sbb-spacing-responsive-m)}::slotted(sbb-title.sbb-lead-container-spacing){margin-block-start:0}::slotted(sbb-notification.sbb-lead-container-spacing){margin-block-end:var(--sbb-spacing-responsive-xxxs)}::slotted(.sbb-lead-container-lead-text){margin-block:0 var(--sbb-spacing-responsive-s);color:var(--sbb-color-iron);color:light-dark(var(--sbb-color-iron),var(--sbb-color-smoke))}@media(min-width:90rem){.sbb-lead-container-image{max-width:calc(var(--sbb-layout-base-page-max-width) + 2 * var(--sbb-layout-base-offset-responsive));margin-inline:auto}}.sbb-lead-container-content-wrapper{background-color:var(--sbb-lead-container-background-color);display:grid;gap:var(--sbb-grid-base-gutter-responsive);grid-template-columns:repeat(var(--sbb-grid-base-columns),1fr);padding-inline:var(--sbb-page-spacing-padding, var(--sbb-layout-base-offset-responsive));margin-inline:auto;width:100%}@media(min-width:90rem){.sbb-lead-container-content-wrapper{max-width:var(--sbb-spacing-max-width, calc(var(--sbb-layout-base-page-max-width) + 2 * var(--sbb-layout-base-offset-responsive)))}}@media(min-width:64rem){.sbb-lead-container-content-wrapper{background-color:transparent}}.sbb-lead-container-content{position:relative;border-radius:var(--sbb-lead-container-border-radius);padding-block:var(--sbb-lead-container-content-padding-block);background-color:var(--sbb-lead-container-background-color);grid-column:1/-1}@media(min-width:64rem){.sbb-lead-container-content{grid-column:2/-2;margin-block-start:calc(-1 * var(--sbb-lead-container-image-overlap));padding-inline:var(--sbb-lead-container-padding-inline);margin-inline:calc(-1 * var(--sbb-lead-container-padding-inline))}}@media(min-width:90rem){.sbb-lead-container-content{grid-column:4/-4}}`, a = class extends n {
|
|
6
|
+
static {
|
|
7
|
+
this.elementName = "sbb-lead-container";
|
|
8
|
+
}
|
|
9
|
+
static {
|
|
10
|
+
this.styles = [r, i];
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return t`
|
|
14
|
+
<div class="sbb-lead-container-image">
|
|
15
|
+
<slot name="image"></slot>
|
|
16
|
+
</div>
|
|
17
|
+
<!-- Content wrapper needed because grid needs to be applied but container image should not be touched by grid. -->
|
|
18
|
+
<div class="sbb-lead-container-content-wrapper">
|
|
19
|
+
<div class="sbb-lead-container-content">
|
|
20
|
+
<slot></slot>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
`;
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
//#endregion
|
|
27
|
+
export { a as t };
|
package/lead-container.js
CHANGED
package/lead-container.pure.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./lead-container.component-
|
|
1
|
+
import { t as e } from "./lead-container.component-w3zhibLj.js";
|
|
2
2
|
export { e as SbbLeadContainerElement };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../../link-common-
|
|
2
|
-
import { t as e } from "../../block-link-common-
|
|
1
|
+
import "../../link-common-DqIfaliQ.js";
|
|
2
|
+
import { t as e } from "../../block-link-common-ClyAETjl.js";
|
|
3
3
|
export { e as SbbBlockLinkCommonElementMixin };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../../link-common-
|
|
2
|
-
import { t as e } from "../../inline-link-common-
|
|
1
|
+
import "../../link-common-DqIfaliQ.js";
|
|
2
|
+
import { t as e } from "../../inline-link-common-B7MnXE80.js";
|
|
3
3
|
export { e as SbbInlineLinkCommonElementMixin };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../link-common-
|
|
1
|
+
import { t as e } from "../../link-common-DqIfaliQ.js";
|
|
2
2
|
export { e as SbbLinkCommonElementMixin };
|
package/link/common.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../link-common-
|
|
2
|
-
import { t } from "../block-link-common-
|
|
3
|
-
import { t as n } from "../inline-link-common-
|
|
1
|
+
import { t as e } from "../link-common-DqIfaliQ.js";
|
|
2
|
+
import { t } from "../block-link-common-ClyAETjl.js";
|
|
3
|
+
import { t as n } from "../inline-link-common-B7MnXE80.js";
|
|
4
4
|
export { t as SbbBlockLinkCommonElementMixin, n as SbbInlineLinkCommonElementMixin, e as SbbLinkCommonElementMixin };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { __esDecorate as e, __runInitializers as t } from "tslib";
|
|
2
|
+
import { css as n } from "lit";
|
|
3
|
+
import { property as r } from "lit/decorators.js";
|
|
4
|
+
import { isLean as i } from "./core/dom.js";
|
|
5
|
+
import { SbbNegativeMixin as a } from "./core/mixins.js";
|
|
6
|
+
import { html as o } from "lit/static-html.js";
|
|
7
|
+
//#region src/elements/link/common/link.scss?lit&inline
|
|
8
|
+
var s = n`:host{outline:none!important}@media(forced-colors:active){:host(:is(:state(button),[state--button])){--sbb-link-color-normal: ButtonText;--sbb-link-color-hover: ButtonText;--sbb-link-color-active: ButtonText}}.sbb-action-base{color:var(--sbb-link-color-normal);text-decoration-line:var(--sbb-link-text-decoration-line, underline);text-decoration-thickness:.0625rem;text-underline-offset:.3125em}@media(forced-colors:active){.sbb-action-base{text-decoration:underline}}.sbb-action-base{display:flex;align-items:center;width:100%;cursor:var(--sbb-cursor-pointer);padding:var(--sbb-link-padding, 0);outline:none}:host(:is([disabled],:disabled,[disabled-interactive])) .sbb-action-base{pointer-events:none;cursor:var(--sbb-cursor-default)}@media(forced-colors:active){:host(:is([disabled],:disabled,[disabled-interactive])) .sbb-action-base{color:GrayText}}:host(:focus-visible) .sbb-action-base,.sbb-action-base:focus-visible{outline-offset:var(--sbb-focus-outline-offset);outline:var(--sbb-focus-outline-color) var(--sbb-focus-outline-style, solid) var(--sbb-focus-outline-width);border-radius:calc(var(--sbb-border-radius-4x) - var(--sbb-focus-outline-offset))}@media(any-hover:hover){:host(:hover:not([disabled],:disabled,[disabled-interactive])) .sbb-action-base{color:var(--sbb-link-color-hover);text-decoration-line:var(--sbb-link-hover-text-decoration, underline)}}:host(:is(:active,:is(:state(active),[state--active])):not([disabled],:disabled,[disabled-interactive])) .sbb-action-base{color:var(--sbb-link-color-active)}`, c = (n) => (() => {
|
|
9
|
+
let c = a(n), l, u = [], d = [];
|
|
10
|
+
return class extends c {
|
|
11
|
+
static {
|
|
12
|
+
let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(c[Symbol.metadata] ?? null) : void 0;
|
|
13
|
+
l = [r({ reflect: !0 })], e(this, null, l, {
|
|
14
|
+
kind: "accessor",
|
|
15
|
+
name: "size",
|
|
16
|
+
static: !1,
|
|
17
|
+
private: !1,
|
|
18
|
+
access: {
|
|
19
|
+
has: (e) => "size" in e,
|
|
20
|
+
get: (e) => e.size,
|
|
21
|
+
set: (e, t) => {
|
|
22
|
+
e.size = t;
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
metadata: t
|
|
26
|
+
}, u, d), t && Object.defineProperty(this, Symbol.metadata, {
|
|
27
|
+
enumerable: !0,
|
|
28
|
+
configurable: !0,
|
|
29
|
+
writable: !0,
|
|
30
|
+
value: t
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
static {
|
|
34
|
+
this.styles = s;
|
|
35
|
+
}
|
|
36
|
+
#e = t(this, u, i() ? "xs" : "s");
|
|
37
|
+
get size() {
|
|
38
|
+
return this.#e;
|
|
39
|
+
}
|
|
40
|
+
set size(e) {
|
|
41
|
+
this.#e = e;
|
|
42
|
+
}
|
|
43
|
+
constructor() {
|
|
44
|
+
super(), t(this, d), this.internals.states.add("sbb-link");
|
|
45
|
+
}
|
|
46
|
+
renderTemplate() {
|
|
47
|
+
return o`<slot></slot>`;
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
})();
|
|
51
|
+
//#endregion
|
|
52
|
+
export { s as n, c as t };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../link-list-base-
|
|
1
|
+
import { n as e, t } from "../../link-list-base-DwOmdG3N.js";
|
|
2
2
|
export { t as SbbLinkListBaseElement, e as linkListBaseStyle };
|
package/link-list/common.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e, t } from "../link-list-base-
|
|
1
|
+
import { n as e, t } from "../link-list-base-DwOmdG3N.js";
|
|
2
2
|
//#region src/elements/link-list/common.ts
|
|
3
3
|
console.warn("The entrypoint '@sbb-esta/elements/link-list/common.js' has been deprecated.\nUse either '@sbb-esta/elements/link-list.js' or '@sbb-esta/elements/link-list.pure.js' instead.");
|
|
4
4
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../link-list-base-
|
|
2
|
-
import { t as e } from "../link-list.component-
|
|
1
|
+
import "../link-list-base-DwOmdG3N.js";
|
|
2
|
+
import { t as e } from "../link-list.component-e-UmSwDi.js";
|
|
3
3
|
import { SbbLinkListAnchorElement as t } from "../link-list-anchor.pure.js";
|
|
4
4
|
export * from "../link-list-anchor/link-list-anchor.component.js";
|
|
5
5
|
t.define(), console.warn("The entrypoint '@sbb-esta/elements/link-list/link-list-anchor.js' has been deprecated.\nUse either '@sbb-esta/elements/link-list-anchor.js' or '@sbb-esta/elements/link-list-anchor.pure.js' instead.");
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../link-list-base-
|
|
2
|
-
import { t as e } from "../link-list.component-
|
|
1
|
+
import "../link-list-base-DwOmdG3N.js";
|
|
2
|
+
import { t as e } from "../link-list.component-e-UmSwDi.js";
|
|
3
3
|
export { e as SbbLinkListElement };
|
package/link-list/link-list.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../link-list-base-
|
|
2
|
-
import { t as e } from "../link-list.component-
|
|
1
|
+
import "../link-list-base-DwOmdG3N.js";
|
|
2
|
+
import { t as e } from "../link-list.component-e-UmSwDi.js";
|
|
3
3
|
e.define(), console.warn("The entrypoint '@sbb-esta/elements/link-list/link-list.js' has been deprecated.\nUse either '@sbb-esta/elements/link-list.js' or '@sbb-esta/elements/link-list.pure.js' instead.");
|
|
4
4
|
//#endregion
|
|
5
5
|
export { e as SbbLinkListElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../link-list-anchor.component-
|
|
1
|
+
import { t as e } from "../link-list-anchor.component-CwmljGqM.js";
|
|
2
2
|
export { e as SbbLinkListAnchorElement };
|