@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
package/teaser.pure.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./teaser.component-
|
|
1
|
+
import { t as e } from "./teaser.component-CUUvAAZ7.js";
|
|
2
2
|
export { e as SbbTeaserElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../time-input.component-
|
|
1
|
+
import { t as e } from "../time-input.component-BDkxBiPM.js";
|
|
2
2
|
export { e as SbbTimeInputElement };
|
|
@@ -7,7 +7,7 @@ import { SbbLanguageController as s } from "./core/controllers.js";
|
|
|
7
7
|
import { i18nTimeInputChange as c, i18nTimeInvalid as l, i18nTimeMax as u, i18nTimeMaxLength as d } from "./core/i18n.js";
|
|
8
8
|
import { sbbLiveAnnouncer as f } from "./core/a11y.js";
|
|
9
9
|
//#region src/elements/time-input/time-input.scss?lit&inline
|
|
10
|
-
var p = n`:host{min-width:var(--sbb-time-input-max-width);max-width:var(--sbb-time-input-max-width);cursor:text;align-items:center
|
|
10
|
+
var p = n`:host{display:inline-flex;min-width:var(--sbb-time-input-max-width);max-width:var(--sbb-time-input-max-width);cursor:text;align-items:center}@media(forced-colors:active){:host{color:FieldText}}:host(:disabled){cursor:var(--sbb-cursor-default)}:host(:focus){text-overflow:initial!important}:host(:empty):after{content:attr(placeholder);color:var(--sbb-color-5);-webkit-text-fill-color:var(--sbb-color-5);opacity:1}@media(forced-colors:active){:host(:empty):after{color:GrayText}}`, m = /[0-9.:,\-;_hH]/, h = /[^0-9.:,\-;_hH]/g, g = /^([0-9]{1,2})([0-9]{2})$/, _ = /^([0-9]{1,2})?[.:,\-;_hH]?([0-9]{1,2})?$/, v = (() => {
|
|
11
11
|
let n = o(a), v = [], y;
|
|
12
12
|
return class extends n {
|
|
13
13
|
static {
|
package/time-input.js
CHANGED
package/time-input.pure.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./time-input.component-
|
|
1
|
+
import { t as e } from "./time-input.component-BDkxBiPM.js";
|
|
2
2
|
export { e as SbbTimeInputElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../timetable-form.component-
|
|
1
|
+
import { t as e } from "../../timetable-form.component-BeopwQmE.js";
|
|
2
2
|
export { e as SbbTimetableFormElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../timetable-form-details.component-
|
|
1
|
+
import { t as e } from "../../timetable-form-details.component-CfpM_Kse.js";
|
|
2
2
|
export { e as SbbTimetableFormDetailsElement };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../timetable-form-details.component-
|
|
1
|
+
import { t as e } from "../timetable-form-details.component-CfpM_Kse.js";
|
|
2
2
|
e.define(), console.warn("The entrypoint '@sbb-esta/elements/timetable-form/timetable-form-details.js' has been deprecated.\nUse either '@sbb-esta/elements/timetable-form.js' or '@sbb-esta/elements/timetable-form.pure.js' instead.");
|
|
3
3
|
//#endregion
|
|
4
4
|
export { e as SbbTimetableFormDetailsElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../timetable-form-field.component-
|
|
1
|
+
import { t as e } from "../../timetable-form-field.component-DJ9FZ9vI.js";
|
|
2
2
|
export { e as SbbTimetableFormFieldElement };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../timetable-form-field.component-
|
|
1
|
+
import { t as e } from "../timetable-form-field.component-DJ9FZ9vI.js";
|
|
2
2
|
e.define(), console.warn("The entrypoint '@sbb-esta/elements/timetable-form/timetable-form-field.js' has been deprecated.\nUse either '@sbb-esta/elements/timetable-form.js' or '@sbb-esta/elements/timetable-form.pure.js' instead.");
|
|
3
3
|
//#endregion
|
|
4
4
|
export { e as SbbTimetableFormFieldElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../timetable-form-swap-button.component-
|
|
1
|
+
import { t as e } from "../../timetable-form-swap-button.component-BXQ-ukkk.js";
|
|
2
2
|
export { e as SbbTimetableFormSwapButtonElement };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../timetable-form-swap-button.component-
|
|
1
|
+
import { t as e } from "../timetable-form-swap-button.component-BXQ-ukkk.js";
|
|
2
2
|
e.define(), console.warn("The entrypoint '@sbb-esta/elements/timetable-form/timetable-form-swap-button.js' has been deprecated.\nUse either '@sbb-esta/elements/timetable-form.js' or '@sbb-esta/elements/timetable-form.pure.js' instead.");
|
|
3
3
|
//#endregion
|
|
4
4
|
export { e as SbbTimetableFormSwapButtonElement };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../timetable-form.component-
|
|
1
|
+
import { t as e } from "../timetable-form.component-BeopwQmE.js";
|
|
2
2
|
e.define(), console.warn("The entrypoint '@sbb-esta/elements/timetable-form/timetable-form.js' has been deprecated.\nUse either '@sbb-esta/elements/timetable-form.js' or '@sbb-esta/elements/timetable-form.pure.js' instead.");
|
|
3
3
|
//#endregion
|
|
4
4
|
export { e as SbbTimetableFormElement };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { css as e, html as t } from "lit";
|
|
2
|
+
import { SbbElement as n } from "./core/base-elements.js";
|
|
3
|
+
//#region src/elements/timetable-form/timetable-form-details/timetable-form-details.scss?lit&inline
|
|
4
|
+
var r = e`:host{--sbb-timetable-form-details-padding-block: var(--sbb-spacing-fixed-1x);--sbb-timetable-form-details-padding-inline: var(--sbb-spacing-responsive-xxs);--sbb-timetable-form-details-horizontal-divider-height: 1.5rem;display:flex;flex-wrap:wrap;gap:var(--sbb-spacing-fixed-1x);border-block-start:var(--sbb-border-width-1x) solid var(--sbb-border-color-4-inverted);padding-block:var(--sbb-timetable-form-details-padding-block);padding-inline-start:calc(var(--sbb-size-icon-ui-small) + var(--sbb-spacing-responsive-xxxs));align-items:center}::slotted(sbb-form-field){--sbb-form-field-border-radius: var(--sbb-border-radius-6x);--sbb-form-field-outline-offset: -.3125rem}::slotted(sbb-divider[orientation=vertical]){height:var(--sbb-timetable-form-details-horizontal-divider-height)}::slotted(:last-child){margin-inline-end:var(--sbb-timetable-form-details-padding-inline)}`, i = class extends n {
|
|
5
|
+
static {
|
|
6
|
+
this.elementName = "sbb-timetable-form-details";
|
|
7
|
+
}
|
|
8
|
+
static {
|
|
9
|
+
this.styles = r;
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
return t`<slot></slot>`;
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
export { i as t };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { css as e, html as t, isServer as n } from "lit";
|
|
2
|
+
import { SbbFormFieldElement as r } from "./form-field.pure.js";
|
|
3
|
+
//#region src/elements/timetable-form/timetable-form-field/timetable-form-field.scss?lit&inline
|
|
4
|
+
var i = e`:host{display:flex;--sbb-form-field-border-radius: var(--sbb-border-radius-6x);--sbb-form-field-outline-offset: -.3125rem;--sbb-timetable-form-field-route-icon-color: var(--sbb-color-2);--sbb-timetable-form-field-route-icon-background-color: var(--sbb-background-color-1)}:host(:first-of-type){--sbb-timetable-form-field-route-icon-rotate: 90deg}:host(:last-of-type){--sbb-timetable-form-field-route-icon-rotate: -90deg;--sbb-timetable-form-field-route-icon-translate: -.0625rem 0}:host(:where(:not(:last-of-type))) .sbb-form-field__wrapper:after{content:"";position:absolute;border-block-end:var(--sbb-border-width-1x) var(--sbb-form-field-border-style) var(--sbb-border-color-4-inverted);inset-inline:var(--sbb-form-field-padding-inline);inset-block-end:0}.sbb-timetable-form-field__start-route-icon{align-self:center;margin-inline-start:var(--sbb-form-field-padding-inline);rotate:var(--sbb-timetable-form-field-route-icon-rotate);translate:var(--sbb-timetable-form-field-route-icon-translate)}.sbb-timetable-form-field__start-route-icon:after{--connecting-line-offset: .1875rem;--connecting-line-width: calc( (var(--sbb-form-field-min-height) - var(--sbb-icon-svg-height)) / 2 + var(--connecting-line-offset) );content:"";position:absolute;inset-block-start:50%;border-block-start:var(--sbb-border-width-1x) solid var(--sbb-timetable-form-field-route-icon-color);width:var(--connecting-line-width);margin-left:calc(var(--connecting-line-offset) * -1)}.sbb-timetable-form-field__via-route-icon{align-self:stretch;position:relative;width:var(--sbb-size-icon-ui-small);margin-inline-start:var(--sbb-form-field-padding-inline)}.sbb-timetable-form-field__via-route-icon:before{content:"";position:absolute;inset-inline-start:50%;height:100%;margin-inline-start:-.0625rem;border-inline-start:var(--sbb-border-width-1x) solid var(--sbb-timetable-form-field-route-icon-color)}.sbb-timetable-form-field__via-route-icon:after{content:"";position:absolute;inset-block-start:50%;inset-inline-start:50%;translate:-50% -50%;width:.4375rem;height:.4375rem;border:var(--sbb-border-width-1x) solid var(--sbb-timetable-form-field-route-icon-color);border-radius:var(--sbb-border-radius-infinity);background-color:var(--sbb-timetable-form-field-route-icon-background-color);margin-inline-start:-.03125rem}.sbb-form-field__space-wrapper{flex-grow:1}`;
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region src/elements/timetable-form/timetable-form-field/timetable-form-field.component.ts
|
|
7
|
+
r.define();
|
|
8
|
+
var a = class extends r {
|
|
9
|
+
static {
|
|
10
|
+
this.elementName = "sbb-timetable-form-field";
|
|
11
|
+
}
|
|
12
|
+
static {
|
|
13
|
+
this.styles = [r.styles, i];
|
|
14
|
+
}
|
|
15
|
+
constructor() {
|
|
16
|
+
super(), this._routeIcon = !1, this.borderless = !0, this.floatingLabel = !0, this.width = "collapse", this.size = "l";
|
|
17
|
+
}
|
|
18
|
+
connectedCallback() {
|
|
19
|
+
super.connectedCallback(), !n && this.hydrationComplete.then(() => this._routeIcon = this.matches(":first-of-type, :last-of-type"));
|
|
20
|
+
}
|
|
21
|
+
render() {
|
|
22
|
+
return t`
|
|
23
|
+
${this._routeIcon ? t` <sbb-icon
|
|
24
|
+
name="route-circle-start-small"
|
|
25
|
+
class="sbb-timetable-form-field__start-route-icon"
|
|
26
|
+
></sbb-icon>` : t` <span class="sbb-timetable-form-field__via-route-icon"></span> `}
|
|
27
|
+
${super.render()}
|
|
28
|
+
`;
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
//#endregion
|
|
32
|
+
export { a as t };
|
|
@@ -3,7 +3,7 @@ import { SbbLanguageController as t } from "./core/controllers.js";
|
|
|
3
3
|
import { i18nTimetableFormSwapButtonLabel as n } from "./core/i18n.js";
|
|
4
4
|
import { SbbSecondaryButtonElement as r } from "./button/secondary-button.js";
|
|
5
5
|
//#region src/elements/timetable-form/timetable-form-swap-button/timetable-form-swap-button.scss?lit&inline
|
|
6
|
-
var i = e`:host(:is(:state(timetable-form-context),[state--timetable-form-context])){--sbb-timetable-form-swap-button-margin-inline-end:var(--sbb-spacing-fixed-6x);--sbb-timetable-form-swap-button-translate:0 -50%;--sbb-timetable-form-swap-button-z-index:1;--sbb-timetable-form-swap-button-position:absolute;position:relative}.sbb-timetable-form-swap-button{position:var(--sbb-timetable-form-swap-button-position,relative);
|
|
6
|
+
var i = e`:host(:is(:state(timetable-form-context),[state--timetable-form-context])){--sbb-timetable-form-swap-button-margin-inline-end: var(--sbb-spacing-fixed-6x);--sbb-timetable-form-swap-button-translate: 0 -50%;--sbb-timetable-form-swap-button-z-index: 1;--sbb-timetable-form-swap-button-position: absolute;position:relative}.sbb-timetable-form-swap-button{position:var(--sbb-timetable-form-swap-button-position, relative);margin-inline-end:var(--sbb-timetable-form-swap-button-margin-inline-end);translate:var(--sbb-timetable-form-swap-button-translate);z-index:var(--sbb-timetable-form-swap-button-z-index);inset-inline-end:0}`, a = class extends r {
|
|
7
7
|
static {
|
|
8
8
|
this.elementName = "sbb-timetable-form-swap-button";
|
|
9
9
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { css as e, html as t } from "lit";
|
|
2
2
|
import { SbbElement as n } from "./core/base-elements.js";
|
|
3
3
|
//#region src/elements/timetable-form/timetable-form/timetable-form.scss?lit&inline
|
|
4
|
-
var r = e`:host{--sbb-timetable-form-background-color:var(--sbb-background-color-1);--sbb-timetable-form-border-radius:var(--sbb-border-radius-4x);border-radius:var(--sbb-timetable-form-border-radius);background-color:var(--sbb-timetable-form-background-color);flex-direction:column
|
|
4
|
+
var r = e`:host{--sbb-timetable-form-background-color: var(--sbb-background-color-1);--sbb-timetable-form-border-radius: var(--sbb-border-radius-4x);border-radius:var(--sbb-timetable-form-border-radius);background-color:var(--sbb-timetable-form-background-color);display:flex;flex-direction:column}`, i = class extends n {
|
|
5
5
|
static {
|
|
6
6
|
this.elementName = "sbb-timetable-form";
|
|
7
7
|
}
|
package/timetable-form.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as e } from "./timetable-form-details.component-
|
|
2
|
-
import { t } from "./timetable-form-field.component-
|
|
3
|
-
import { t as n } from "./timetable-form-swap-button.component-
|
|
4
|
-
import { t as r } from "./timetable-form.component-
|
|
1
|
+
import { t as e } from "./timetable-form-details.component-CfpM_Kse.js";
|
|
2
|
+
import { t } from "./timetable-form-field.component-DJ9FZ9vI.js";
|
|
3
|
+
import { t as n } from "./timetable-form-swap-button.component-BXQ-ukkk.js";
|
|
4
|
+
import { t as r } from "./timetable-form.component-BeopwQmE.js";
|
|
5
5
|
import "./timetable-form.pure.js";
|
|
6
6
|
r.define(), e.define(), t.define(), n.define();
|
|
7
7
|
//#endregion
|
package/timetable-form.pure.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./timetable-form-details.component-
|
|
2
|
-
import { t } from "./timetable-form-field.component-
|
|
3
|
-
import { t as n } from "./timetable-form-swap-button.component-
|
|
4
|
-
import { t as r } from "./timetable-form.component-
|
|
1
|
+
import { t as e } from "./timetable-form-details.component-CfpM_Kse.js";
|
|
2
|
+
import { t } from "./timetable-form-field.component-DJ9FZ9vI.js";
|
|
3
|
+
import { t as n } from "./timetable-form-swap-button.component-BXQ-ukkk.js";
|
|
4
|
+
import { t as r } from "./timetable-form.component-BeopwQmE.js";
|
|
5
5
|
export { e as SbbTimetableFormDetailsElement, r as SbbTimetableFormElement, t as SbbTimetableFormFieldElement, n as SbbTimetableFormSwapButtonElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../timetable-occupancy.component-
|
|
1
|
+
import { t as e } from "../timetable-occupancy.component-CuI4uxPK.js";
|
|
2
2
|
export { e as SbbTimetableOccupancyElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../timetable-occupancy-icon.component-
|
|
1
|
+
import { t as e } from "../timetable-occupancy-icon.component-LLMT_897.js";
|
|
2
2
|
export { e as SbbTimetableOccupancyIconElement };
|
|
@@ -6,7 +6,7 @@ import { SbbDarkModeController as a, SbbLanguageController as o, SbbMediaMatcher
|
|
|
6
6
|
import { i18nOccupancy as l } from "./core/i18n.js";
|
|
7
7
|
import { SbbIconBase as u } from "./icon.js";
|
|
8
8
|
//#region src/elements/timetable-occupancy-icon/timetable-occupancy-icon.scss?lit&inline
|
|
9
|
-
var d = n`@media
|
|
9
|
+
var d = n`@media(forced-colors:active)and (prefers-color-scheme:light){:host svg{filter:invert(1)}}`, f = (() => {
|
|
10
10
|
let n = i(u), f, p = [], m = [];
|
|
11
11
|
return class extends n {
|
|
12
12
|
constructor() {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./timetable-occupancy-icon.component-
|
|
1
|
+
import { t as e } from "./timetable-occupancy-icon.component-LLMT_897.js";
|
|
2
2
|
export { e as SbbTimetableOccupancyIconElement };
|
package/{timetable-occupancy.component-DMztYVmj.js → timetable-occupancy.component-CuI4uxPK.js}
RENAMED
|
@@ -9,7 +9,7 @@ import { i18nClass as u } from "./core/i18n.js";
|
|
|
9
9
|
import "./screen-reader-only.js";
|
|
10
10
|
import "./timetable-occupancy-icon.js";
|
|
11
11
|
//#region src/elements/timetable-occupancy/timetable-occupancy.scss?lit&inline
|
|
12
|
-
var d = n`:host{
|
|
12
|
+
var d = n`:host{display:inline-block;--sbb-timetable-occupancy-color: var(--sbb-color-2);--sbb-icon-svg-width: .890625rem;--sbb-icon-svg-height: v0.75rem}@media(min-width:64rem){:host{--sbb-icon-svg-width: 1.1875rem;--sbb-icon-svg-height: v1rem}}:host([negative]){--sbb-timetable-occupancy-color: var(--sbb-color-2-negative)}.sbb-timetable-occupancy__list{list-style:none;margin:0;padding:0;font-size:inherit;display:flex;align-items:center;flex-wrap:nowrap;gap:var(--sbb-spacing-fixed-2x)}.sbb-timetable-occupancy__list-item{display:flex;align-items:center;flex-wrap:nowrap;gap:var(--sbb-spacing-fixed-1x)}.sbb-timetable-occupancy__list-item-class{--sbb-text-font-size: var(--sbb-text-font-size-s);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size);line-height:1;color:var(--sbb-timetable-occupancy-color)}.sbb-timetable-occupancy__list-item-icon{display:flex}`, f = (() => {
|
|
13
13
|
let n = s(o), f, p = [], m = [], h, g = [], _ = [];
|
|
14
14
|
return class extends n {
|
|
15
15
|
constructor() {
|
package/timetable-occupancy.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./timetable-occupancy.component-
|
|
1
|
+
import { t as e } from "./timetable-occupancy.component-CuI4uxPK.js";
|
|
2
2
|
export { e as SbbTimetableOccupancyElement };
|
package/title/title-base.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../title-base-
|
|
1
|
+
import { t as e } from "../title-base-DRgSZMaU.js";
|
|
2
2
|
export { e as SbbTitleBase };
|
package/title/title.component.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../title-base-
|
|
2
|
-
import { t as e } from "../title.component-
|
|
1
|
+
import "../title-base-DRgSZMaU.js";
|
|
2
|
+
import { t as e } from "../title.component-1oKmMeCz.js";
|
|
3
3
|
export { e as SbbTitleElement };
|
|
@@ -4,7 +4,7 @@ import { property as r } from "lit/decorators.js";
|
|
|
4
4
|
import { SbbElement as i } from "./core/base-elements.js";
|
|
5
5
|
import { html as a } from "lit/static-html.js";
|
|
6
6
|
//#region src/elements/title/title-common.scss?lit&inline
|
|
7
|
-
var o = n`:host{margin-block:var(--sbb-title-margin-block,0);font-family:var(--sbb-typo-font-family);font-weight:700;line-height:var(--sbb-title-line-height,var(--sbb-typo-line-height-heading));letter-spacing:var(--sbb-typo-letter-spacing-heading);font-size:var(--sbb-title-font-size);--sbb-title-text-color-normal:var(--sbb-title-text-color-normal-override,var(--sbb-color-3));color:var(--sbb-title-text-color-normal)
|
|
7
|
+
var o = n`:host{margin-block:var(--sbb-title-margin-block, 0);margin-inline:0;font-family:var(--sbb-typo-font-family);font-weight:700;line-height:var(--sbb-title-line-height, var(--sbb-typo-line-height-heading));letter-spacing:var(--sbb-typo-letter-spacing-heading);font-size:var(--sbb-title-font-size);--sbb-title-text-color-normal: var(--sbb-title-text-color-normal-override, var(--sbb-color-3));display:block;color:var(--sbb-title-text-color-normal)}:host([id]){scroll-margin-block-start:var(--sbb-spacing-fixed-10x)}:host(:where([level="1"]:not([visual-level]),[visual-level="1"])){--sbb-title-font-size: var(--sbb-title-font-size-level-1-lean, var(--sbb-heading-font-size-1))}:host(:where([level="2"]:not([visual-level]),[visual-level="2"])){--sbb-title-font-size: var(--sbb-title-font-size-level-2-lean, var(--sbb-heading-font-size-2))}:host(:where([level="3"]:not([visual-level]),[visual-level="3"])){--sbb-title-font-size: var(--sbb-title-font-size-level-3-lean, var(--sbb-heading-font-size-3))}:host(:where([level="4"]:not([visual-level]),[visual-level="4"])){--sbb-title-font-size: var(--sbb-title-font-size-level-4-lean, var(--sbb-heading-font-size-4))}:host(:where([level="5"]:not([visual-level]),[visual-level="5"])){--sbb-title-font-size: var(--sbb-title-font-size-level-5-lean, var(--sbb-heading-font-size-5))}:host(:where([level="6"]:not([visual-level]),[visual-level="6"])){--sbb-title-font-size: var(--sbb-title-font-size-level-6-lean, var(--sbb-heading-font-size-6));--sbb-title-line-height: var(--sbb-typo-line-height-text)}`, s = (() => {
|
|
8
8
|
let n = i, s, c = [], l = [], u, d = [], f = [];
|
|
9
9
|
return class extends n {
|
|
10
10
|
static {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as e } from "./title-base-
|
|
1
|
+
import { t as e } from "./title-base-DRgSZMaU.js";
|
|
2
2
|
import { __esDecorate as t, __runInitializers as n } from "tslib";
|
|
3
3
|
import { css as r } from "lit";
|
|
4
4
|
import { property as i } from "lit/decorators.js";
|
|
5
5
|
import { SbbNegativeMixin as a } from "./core/mixins.js";
|
|
6
6
|
//#region src/elements/title/title.scss?lit&inline
|
|
7
|
-
var o = r`:host([negative]){--sbb-title-text-color-normal:var(--sbb-color-3-negative)}:host(:where([level="1"]:not([visual-level]),[visual-level="1"])){--sbb-title-margin-block:var(--sbb-heading-margin-block-1-lean,var(--sbb-heading-margin-block-1))}:host(:where([level="2"]:not([visual-level]),[visual-level="2"])){--sbb-title-margin-block:var(--sbb-heading-margin-block-2-lean,var(--sbb-heading-margin-block-2))}:host(:where([level="3"]:not([visual-level]),[visual-level="3"])){--sbb-title-margin-block:var(--sbb-heading-margin-block-3-lean,var(--sbb-heading-margin-block-3))}:host(:where([level="4"]:not([visual-level]),[visual-level="4"])){--sbb-title-margin-block:var(--sbb-heading-margin-block-4-lean,var(--sbb-heading-margin-block-4))}:host(:where([level="5"]:not([visual-level]),[visual-level="5"])){--sbb-title-margin-block:var(--sbb-heading-margin-block-5-lean,var(--sbb-heading-margin-block-5))}:host(:where([level="6"]:not([visual-level]),[visual-level="6"])){--sbb-title-margin-block:var(--sbb-heading-margin-block-6-lean,var(--sbb-heading-margin-block-6))}`, s = (() => {
|
|
7
|
+
var o = r`:host([negative]){--sbb-title-text-color-normal: var(--sbb-color-3-negative)}:host(:where([level="1"]:not([visual-level]),[visual-level="1"])){--sbb-title-margin-block: var( --sbb-heading-margin-block-1-lean, var(--sbb-heading-margin-block-1) )}:host(:where([level="2"]:not([visual-level]),[visual-level="2"])){--sbb-title-margin-block: var( --sbb-heading-margin-block-2-lean, var(--sbb-heading-margin-block-2) )}:host(:where([level="3"]:not([visual-level]),[visual-level="3"])){--sbb-title-margin-block: var( --sbb-heading-margin-block-3-lean, var(--sbb-heading-margin-block-3) )}:host(:where([level="4"]:not([visual-level]),[visual-level="4"])){--sbb-title-margin-block: var( --sbb-heading-margin-block-4-lean, var(--sbb-heading-margin-block-4) )}:host(:where([level="5"]:not([visual-level]),[visual-level="5"])){--sbb-title-margin-block: var( --sbb-heading-margin-block-5-lean, var(--sbb-heading-margin-block-5) )}:host(:where([level="6"]:not([visual-level]),[visual-level="6"])){--sbb-title-margin-block: var( --sbb-heading-margin-block-6-lean, var(--sbb-heading-margin-block-6) )}`, s = (() => {
|
|
8
8
|
let r = a(e), s, c = [], l = [];
|
|
9
9
|
return class extends r {
|
|
10
10
|
static {
|
package/title.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./title-base-
|
|
2
|
-
import { t } from "./title.component-
|
|
1
|
+
import { t as e } from "./title-base-DRgSZMaU.js";
|
|
2
|
+
import { t } from "./title.component-1oKmMeCz.js";
|
|
3
3
|
import "./title.pure.js";
|
|
4
4
|
//#region src/elements/title.ts
|
|
5
5
|
t.define();
|
package/title.pure.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as e } from "./title-base-
|
|
2
|
-
import { t } from "./title.component-
|
|
1
|
+
import { t as e } from "./title-base-DRgSZMaU.js";
|
|
2
|
+
import { t } from "./title.component-1oKmMeCz.js";
|
|
3
3
|
export { e as SbbTitleBase, t as SbbTitleElement };
|
package/toast/toast.component.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../toast.component-
|
|
1
|
+
import { t as e } from "../toast.component-BGevO6ad.js";
|
|
2
2
|
export { e as SbbToastElement };
|
|
@@ -13,7 +13,7 @@ import { SbbIconNameMixin as g } from "./icon.js";
|
|
|
13
13
|
import "./button/transparent-button.js";
|
|
14
14
|
import "./divider.js";
|
|
15
15
|
//#region src/elements/toast/toast.scss?lit&inline
|
|
16
|
-
var _ = n`:host{--sbb-toast-max-width:25rem;--sbb-toast-animation-duration:var(--sbb-disable-animation-duration,var(--sbb-animation-duration-6x));--sbb-toast-animation-timing-function:ease;--sbb-toast-text-color:var(--sbb-color-3-inverted);--sbb-toast-background-color:var(--sbb-background-color-1-inverted);--sbb-toast-margin:var(--sbb-spacing-responsive-s);--sbb-toast-padding-block:var(--sbb-spacing-responsive-xxxs);--sbb-toast-padding-inline:var(--sbb-spacing-responsive-xs);--sbb-toast-border-radius:var(--sbb-border-radius-4x);--sbb-toast-container-display:none;--sbb-toast-container-position:fixed;--sbb-toast-horizontal-position:initial;--sbb-toast-vertical-position:initial;--sbb-toast-gap:var(--sbb-spacing-fixed-2x);--sbb-focus-outline-color:var(--sbb-focus-outline-color-dark);display:none}:host(:is(:is(:state(state-opening),[state--state-opening]),:is(:state(state-opened),[state--state-opened]),:is(:state(state-closing),[state--state-closing]))){--sbb-toast-container-display:flex;display:block}:host([position=bottom-left]),:host([position=bottom-start]){--sbb-toast-horizontal-position:flex-start;--sbb-toast-vertical-position:flex-end}:host([position=bottom-center]){--sbb-toast-horizontal-position:center;--sbb-toast-vertical-position:flex-end}:host([position=bottom-right]),:host([position=bottom-end]){--sbb-toast-horizontal-position:flex-end;--sbb-toast-vertical-position:flex-end}:host([position=top-left]),:host([position=top-start]){--sbb-toast-horizontal-position:flex-start;--sbb-toast-vertical-position:flex-start}:host([position=top-center]){--sbb-toast-horizontal-position:center;--sbb-toast-vertical-position:flex-start}:host([position=top-right]),:host([position=top-end]){--sbb-toast-horizontal-position:flex-end;--sbb-toast-vertical-position:flex-start}:host(:is(:state(dark),[state--dark])){--sbb-focus-outline-color:var(--sbb-focus-outline-color-default)}.sbb-toast__overlay-container{position:var(--sbb-toast-container-position);pointer-events:none;display:var(--sbb-toast-container-display);justify-content:var(--sbb-toast-horizontal-position);align-items:var(--sbb-toast-vertical-position)
|
|
16
|
+
var _ = n`:host{--sbb-toast-max-width: 25rem;--sbb-toast-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-6x) );--sbb-toast-animation-timing-function: ease;--sbb-toast-text-color: var(--sbb-color-3-inverted);--sbb-toast-background-color: var(--sbb-background-color-1-inverted);--sbb-toast-margin: var(--sbb-spacing-responsive-s);--sbb-toast-padding-block: var(--sbb-spacing-responsive-xxxs);--sbb-toast-padding-inline: var(--sbb-spacing-responsive-xs);--sbb-toast-border-radius: var(--sbb-border-radius-4x);--sbb-toast-container-display: none;--sbb-toast-container-position: fixed;--sbb-toast-horizontal-position: initial;--sbb-toast-vertical-position: initial;--sbb-toast-gap: var(--sbb-spacing-fixed-2x);--sbb-focus-outline-color: var(--sbb-focus-outline-color-dark);display:none}:host(:is(:is(:state(state-opening),[state--state-opening]),:is(:state(state-opened),[state--state-opened]),:is(:state(state-closing),[state--state-closing]))){--sbb-toast-container-display: flex;display:block}:host([position=bottom-left]),:host([position=bottom-start]){--sbb-toast-horizontal-position: flex-start;--sbb-toast-vertical-position: flex-end}:host([position=bottom-center]){--sbb-toast-horizontal-position: center;--sbb-toast-vertical-position: flex-end}:host([position=bottom-right]),:host([position=bottom-end]){--sbb-toast-horizontal-position: flex-end;--sbb-toast-vertical-position: flex-end}:host([position=top-left]),:host([position=top-start]){--sbb-toast-horizontal-position: flex-start;--sbb-toast-vertical-position: flex-start}:host([position=top-center]){--sbb-toast-horizontal-position: center;--sbb-toast-vertical-position: flex-start}:host([position=top-right]),:host([position=top-end]){--sbb-toast-horizontal-position: flex-end;--sbb-toast-vertical-position: flex-start}:host(:is(:state(dark),[state--dark])){--sbb-focus-outline-color: var(--sbb-focus-outline-color-default)}.sbb-toast__overlay-container{position:var(--sbb-toast-container-position);pointer-events:none;inset:0;display:var(--sbb-toast-container-display);justify-content:var(--sbb-toast-horizontal-position);align-items:var(--sbb-toast-vertical-position)}.sbb-toast{z-index:var(--sbb-toast-z-index, var(--sbb-overlay-default-z-index));pointer-events:auto;margin:var(--sbb-toast-margin);border-radius:var(--sbb-toast-border-radius);max-width:var(--sbb-toast-max-width);display:flex;color:var(--sbb-toast-text-color);background-color:var(--sbb-toast-background-color)}:host(:is(:state(state-opening),[state--state-opening])) .sbb-toast{animation-name:open;animation-duration:var(--sbb-toast-animation-duration);animation-timing-function:var(--sbb-toast-animation-timing-function)}:host(:is(:state(state-closing),[state--state-closing])) .sbb-toast{animation-name:close;animation-duration:var(--sbb-toast-animation-duration);animation-timing-function:var(--sbb-toast-animation-timing-function)}.sbb-toast-wrapper{display:flex;align-items:center;gap:var(--sbb-toast-gap);padding-block:var(--sbb-toast-padding-block);padding-inline:var(--sbb-toast-padding-inline)}slot:not([name=icon]),.sbb-toast__close{color-scheme:only light}.sbb-toast__content{--sbb-title-font-size: var(--sbb-title-font-size-level-6-lean, var(--sbb-heading-font-size-6));--sbb-title-line-height: var(--sbb-typo-line-height-text);margin-block:var(--sbb-title-margin-block, 0);margin-inline:0;font-family:var(--sbb-typo-font-family);font-weight:700;line-height:var(--sbb-title-line-height, var(--sbb-typo-line-height-heading));letter-spacing:var(--sbb-typo-letter-spacing-heading);font-size:var(--sbb-title-font-size);flex:1 1 0}.sbb-toast__close{display:flex;align-items:center}.sbb-toast__close-divider{padding-block:var(--sbb-toast-padding-block)}.sbb-toast__close-button{margin-inline:var(--sbb-spacing-responsive-xxxs)}@keyframes open{0%{visibility:hidden;opacity:0;translate:0 var(--sbb-spacing-fixed-2x)}to{visibility:visible;opacity:1;translate:0}}@keyframes close{0%{visibility:visible;opacity:1;translate:0}to{visibility:hidden;opacity:0;translate:0 var(--sbb-spacing-fixed-2x)}}`, v = /* @__PURE__ */ new Set(), y = (() => {
|
|
17
17
|
let n = g(d(o)), y, b = [], x = [], S, C = [], w = [], T, E = [], D = [];
|
|
18
18
|
return class extends n {
|
|
19
19
|
static {
|
package/toast.js
CHANGED
package/toast.pure.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./toast.component-
|
|
1
|
+
import { t as e } from "./toast.component-BGevO6ad.js";
|
|
2
2
|
export { e as SbbToastElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../toggle.component-
|
|
1
|
+
import { t as e } from "../../toggle.component-D8rRkRAo.js";
|
|
2
2
|
export { e as SbbToggleElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../toggle-option.component-
|
|
1
|
+
import { t as e } from "../../toggle-option.component-Lm0irQKj.js";
|
|
2
2
|
export { e as SbbToggleOptionElement };
|
package/toggle/toggle-option.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../toggle-option.component-
|
|
1
|
+
import { t as e } from "../toggle-option.component-Lm0irQKj.js";
|
|
2
2
|
e.define(), console.warn("The entrypoint '@sbb-esta/elements/toggle/toggle-option.js' has been deprecated.\nUse either '@sbb-esta/elements/toggle.js' or '@sbb-esta/elements/toggle.pure.js' instead.");
|
|
3
3
|
//#endregion
|
|
4
4
|
export { e as SbbToggleOptionElement };
|
package/toggle/toggle.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../toggle.component-
|
|
1
|
+
import { t as e } from "../toggle.component-D8rRkRAo.js";
|
|
2
2
|
e.define(), console.warn("The entrypoint '@sbb-esta/elements/toggle/toggle.js' has been deprecated.\nUse either '@sbb-esta/elements/toggle.js' or '@sbb-esta/elements/toggle.pure.js' instead.");
|
|
3
3
|
//#endregion
|
|
4
4
|
export { e as SbbToggleElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../toggle-check.component-
|
|
1
|
+
import { t as e } from "../toggle-check.component-C2Ejl7a_.js";
|
|
2
2
|
export { e as SbbToggleCheckElement };
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { __esDecorate as e, __runInitializers as t } from "tslib";
|
|
2
|
+
import { css as n, html as r } from "lit";
|
|
3
|
+
import { property as i } from "lit/decorators.js";
|
|
4
|
+
import { SbbElement as a } from "./core/base-elements.js";
|
|
5
|
+
import { isLean as o } from "./core/dom.js";
|
|
6
|
+
import { SbbFormAssociatedCheckboxMixin as s } from "./core/mixins.js";
|
|
7
|
+
import { boxSizingStyles as c } from "./core/styles.js";
|
|
8
|
+
import { SbbIconNameMixin as l } from "./icon.js";
|
|
9
|
+
//#region src/elements/toggle-check/toggle-check.scss?lit&inline
|
|
10
|
+
var u = n`@charset "UTF-8";:host{display:inline-block;outline:none!important;--sbb-toggle-check-color: var(--sbb-color-2);--sbb-toggle-check-checked-color: var(--sbb-color-primary);--sbb-toggle-check-background-color: var(--sbb-background-color-4);--sbb-toggle-check-icon-color: var(--sbb-toggle-check-checked-color);--sbb-toggle-check-icon-opacity: 0;--sbb-toggle-check-circle-background-color: var(--sbb-background-color-1);--sbb-toggle-check-circle-border-color: var(--sbb-border-color-5);--sbb-toggle-check-circle-border-style: solid;--sbb-toggle-check-circle-diameter: 1.75rem;--sbb-toggle-check-overall-height: var(--sbb-toggle-check-circle-diameter);--sbb-toggle-check-circle-transform: translate(0, -50%);--sbb-toggle-check-height: 1.5rem;--sbb-toggle-check-width: calc(2 * var(--sbb-toggle-check-height));--sbb-toggle-check-cursor: var(--sbb-cursor-pointer);--sbb-toggle-check-flex-direction: row-reverse;--sbb-toggle-check-gap: var(--sbb-spacing-fixed-3x);--sbb-toggle-check-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-6x) )}@media(forced-colors:active){:host{--sbb-toggle-check-background-color: CanvasText;--sbb-toggle-check-circle-background-color: Canvas}}:host([size=m]){--sbb-toggle-check-overall-height: calc(1em * var(--sbb-typo-line-height-text))}:host(:is(:state(checked),[state--checked])){--sbb-toggle-check-background-color: var(--sbb-toggle-check-checked-color);--sbb-toggle-check-circle-background-color: var(--sbb-background-color-1-negative-inverted);--sbb-toggle-check-circle-border-color: var(--sbb-toggle-check-background-color);--sbb-toggle-check-icon-opacity: 1;--sbb-toggle-check-circle-transform: translate( calc(100% - 2 * (100% - .5 * var(--sbb-toggle-check-width))), -50% )}@media(forced-colors:active){:host(:is(:state(checked),[state--checked])){--sbb-toggle-check-icon-color: Highlight;--sbb-toggle-check-background-color: Highlight}}:host(:disabled){--sbb-toggle-check-background-color: var(--sbb-background-color-4);--sbb-toggle-check-circle-background-color: var(--sbb-background-color-3);--sbb-toggle-check-circle-border-color: var(--sbb-border-color-5);--sbb-toggle-check-circle-border-style: dashed;--sbb-toggle-check-icon-color: var(--sbb-color-granite);--sbb-toggle-check-icon-color: light-dark(var(--sbb-color-granite), var(--sbb-color-storm));--sbb-toggle-check-cursor: var(--sbb-cursor-default)}@media(forced-colors:active){:host(:disabled){--sbb-toggle-check-icon-color: GrayText;--sbb-toggle-check-background-color: GrayText;--sbb-toggle-check-circle-border-style: solid}}:host([label-position=before]){--sbb-toggle-check-flex-direction: row}.sbb-toggle-check{position:relative;display:flex;color:var(--sbb-toggle-check-color);-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;cursor:var(--sbb-toggle-check-cursor)}.sbb-toggle-check:before{content:"";-webkit-user-select:none;user-select:none;width:0;height:0}:host(:focus-visible) .sbb-toggle-check{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))}.sbb-toggle-check__container{--sbb-text-font-size: var(--sbb-text-font-size-s);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size);display:flex;flex-direction:var(--sbb-toggle-check-flex-direction);gap:var(--sbb-toggle-check-gap);align-items:start;width:100%}:host([size=m]) .sbb-toggle-check__container{--sbb-text-font-size: var(--sbb-text-font-size-m);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size)}:host([size=xs]) .sbb-toggle-check__container{--sbb-text-font-size: var(--sbb-text-font-size-xs);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size)}.sbb-toggle-check__label{flex-grow:1;padding-block-start:calc((var(--sbb-toggle-check-circle-diameter) - var(--sbb-typo-line-height-text) * 1em) / 2)}:host(:not(:is(:state(slotted),[state--slotted]))) .sbb-toggle-check__label{display:none}.sbb-toggle-check__track{display:inline-block;position:relative;min-width:var(--sbb-toggle-check-width);height:var(--sbb-toggle-check-height);border-radius:var(--sbb-border-radius-infinity);background-color:var(--sbb-toggle-check-background-color);margin-block:calc((var(--sbb-toggle-check-overall-height) - var(--sbb-toggle-check-height)) / 2)}.sbb-toggle-check__circle{box-shadow:var(--sbb-box-shadow-level-5-hard);position:absolute;top:50%;transform:translateY(-50%);width:var(--sbb-toggle-check-circle-diameter);height:var(--sbb-toggle-check-circle-diameter);border:var(--sbb-border-width-1x) var(--sbb-toggle-check-circle-border-style) var(--sbb-toggle-check-circle-border-color);border-radius:50%;background-color:var(--sbb-toggle-check-circle-background-color);color:var(--sbb-toggle-check-icon-color);will-change:transform;transform:var(--sbb-toggle-check-circle-transform);transition:transform ease var(--sbb-toggle-check-animation-duration)}.sbb-toggle-check__icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:var(--sbb-size-icon-ui-small);height:var(--sbb-size-icon-ui-small);opacity:var(--sbb-toggle-check-icon-opacity);transition:opacity ease var(--sbb-toggle-check-animation-duration)}`, d = (() => {
|
|
11
|
+
let n = l(s(a)), d, f = [], p = [], m, h = [], g = [], _, v = [], y = [];
|
|
12
|
+
return class extends n {
|
|
13
|
+
static {
|
|
14
|
+
let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(n[Symbol.metadata] ?? null) : void 0;
|
|
15
|
+
d = [i()], m = [i({ reflect: !0 })], _ = [i({
|
|
16
|
+
attribute: "label-position",
|
|
17
|
+
reflect: !0
|
|
18
|
+
})], e(this, null, d, {
|
|
19
|
+
kind: "accessor",
|
|
20
|
+
name: "value",
|
|
21
|
+
static: !1,
|
|
22
|
+
private: !1,
|
|
23
|
+
access: {
|
|
24
|
+
has: (e) => "value" in e,
|
|
25
|
+
get: (e) => e.value,
|
|
26
|
+
set: (e, t) => {
|
|
27
|
+
e.value = t;
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
metadata: t
|
|
31
|
+
}, f, p), e(this, null, m, {
|
|
32
|
+
kind: "accessor",
|
|
33
|
+
name: "size",
|
|
34
|
+
static: !1,
|
|
35
|
+
private: !1,
|
|
36
|
+
access: {
|
|
37
|
+
has: (e) => "size" in e,
|
|
38
|
+
get: (e) => e.size,
|
|
39
|
+
set: (e, t) => {
|
|
40
|
+
e.size = t;
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
metadata: t
|
|
44
|
+
}, h, g), e(this, null, _, {
|
|
45
|
+
kind: "accessor",
|
|
46
|
+
name: "labelPosition",
|
|
47
|
+
static: !1,
|
|
48
|
+
private: !1,
|
|
49
|
+
access: {
|
|
50
|
+
has: (e) => "labelPosition" in e,
|
|
51
|
+
get: (e) => e.labelPosition,
|
|
52
|
+
set: (e, t) => {
|
|
53
|
+
e.labelPosition = t;
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
metadata: t
|
|
57
|
+
}, v, y), t && Object.defineProperty(this, Symbol.metadata, {
|
|
58
|
+
enumerable: !0,
|
|
59
|
+
configurable: !0,
|
|
60
|
+
writable: !0,
|
|
61
|
+
value: t
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
static {
|
|
65
|
+
this.elementName = "sbb-toggle-check";
|
|
66
|
+
}
|
|
67
|
+
static {
|
|
68
|
+
this.styles = [c, u];
|
|
69
|
+
}
|
|
70
|
+
#e = t(this, f, null);
|
|
71
|
+
get value() {
|
|
72
|
+
return this.#e;
|
|
73
|
+
}
|
|
74
|
+
set value(e) {
|
|
75
|
+
this.#e = e;
|
|
76
|
+
}
|
|
77
|
+
#t = (t(this, p), t(this, h, o() ? "xs" : "s"));
|
|
78
|
+
get size() {
|
|
79
|
+
return this.#t;
|
|
80
|
+
}
|
|
81
|
+
set size(e) {
|
|
82
|
+
this.#t = e;
|
|
83
|
+
}
|
|
84
|
+
#n = (t(this, g), t(this, v, "after"));
|
|
85
|
+
get labelPosition() {
|
|
86
|
+
return this.#n;
|
|
87
|
+
}
|
|
88
|
+
set labelPosition(e) {
|
|
89
|
+
this.#n = e;
|
|
90
|
+
}
|
|
91
|
+
requestUpdate(e, t, n) {
|
|
92
|
+
super.requestUpdate(e, t, n), e === "checked" && (this.internals.ariaChecked = `${this.checked}`, this.toggleState("checked", this.checked));
|
|
93
|
+
}
|
|
94
|
+
renderIconName() {
|
|
95
|
+
return super.renderIconName() || "tick-small";
|
|
96
|
+
}
|
|
97
|
+
render() {
|
|
98
|
+
return r`
|
|
99
|
+
<span class="sbb-toggle-check">
|
|
100
|
+
<span class="sbb-toggle-check__container">
|
|
101
|
+
<span class="sbb-toggle-check__label">
|
|
102
|
+
<slot></slot>
|
|
103
|
+
</span>
|
|
104
|
+
<span class="sbb-toggle-check__track">
|
|
105
|
+
<span class="sbb-toggle-check__circle">
|
|
106
|
+
<span class="sbb-toggle-check__icon"> ${this.renderIconSlot()} </span>
|
|
107
|
+
</span>
|
|
108
|
+
</span>
|
|
109
|
+
</span>
|
|
110
|
+
</span>
|
|
111
|
+
`;
|
|
112
|
+
}
|
|
113
|
+
constructor() {
|
|
114
|
+
super(...arguments), t(this, y);
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
})();
|
|
118
|
+
//#endregion
|
|
119
|
+
export { d as t };
|
package/toggle-check.js
CHANGED
package/toggle-check.pure.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./toggle-check.component-
|
|
1
|
+
import { t as e } from "./toggle-check.component-C2Ejl7a_.js";
|
|
2
2
|
export { e as SbbToggleCheckElement };
|
|
@@ -8,7 +8,7 @@ import { boxSizingStyles as c } from "./core/styles.js";
|
|
|
8
8
|
import { SbbIconNameMixin as l } from "./icon.js";
|
|
9
9
|
import { ResizeController as u } from "@lit-labs/observers/resize-controller.js";
|
|
10
10
|
//#region src/elements/toggle/toggle-option/toggle-option.scss?lit&inline
|
|
11
|
-
var d = n`:host{--sbb-toggle-option-cursor:var(--sbb-cursor-pointer);--sbb-toggle-option-color:var(--
|
|
11
|
+
var d = n`:host{--sbb-toggle-option-cursor: var(--sbb-cursor-pointer);--sbb-toggle-option-color: var(--sbb-color-anthracite);--sbb-toggle-option-color: light-dark(var(--sbb-color-anthracite), var(--sbb-color-cloud));--sbb-toggle-option-icon-min-size: var(--sbb-size-icon-ui-small);display:inline-block;overflow:hidden;outline:none!important}:host([checked]){--sbb-toggle-option-color: var(--sbb-color-2)}:host([disabled]){--sbb-toggle-option-cursor: unset;--sbb-toggle-option-color: var(--sbb-color-anthracite);--sbb-toggle-option-color: light-dark(var(--sbb-color-anthracite), var(--sbb-color-cloud))}.sbb-toggle-option{--sbb-text-font-size: var(--sbb-text-font-size-xs);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size);font-weight:700;display:flex;justify-content:center;align-items:center;gap:var(--sbb-spacing-fixed-1x);height:var(--sbb-toggle-height);padding-inline:var(--sbb-toggle-padding-inline);color:var(--sbb-toggle-option-color);cursor:var(--sbb-toggle-option-cursor)}.sbb-toggle-option__label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}sbb-icon,::slotted(sbb-icon){min-width:var(--sbb-toggle-option-icon-min-size);min-height:var(--sbb-toggle-option-icon-min-size)}`, f = (() => {
|
|
12
12
|
let n = s(l(a)), f, p = [], m = [], h, g = [], _ = [];
|
|
13
13
|
return class extends n {
|
|
14
14
|
static {
|
|
@@ -8,7 +8,7 @@ import { SbbDisabledMixin as l, SbbFormAssociatedMixin as u } from "./core/mixin
|
|
|
8
8
|
import { boxSizingStyles as d } from "./core/styles.js";
|
|
9
9
|
import { interactivityChecker as f } from "./core/a11y.js";
|
|
10
10
|
//#region src/elements/toggle/toggle/toggle.scss?lit&inline
|
|
11
|
-
var p = n`:host{border-radius:var(--sbb-toggle-border-radius);--sbb-toggle-width:fit-content;--sbb-toggle-min-width:calc(var(--sbb-toggle-padding-inline) * 4 + var(--sbb-size-icon-ui-small));--sbb-toggle-selected-option-border-width:var(--sbb-border-width-1x);--sbb-toggle-selected-option-border-style:solid;--sbb-toggle-selected-option-border-color:var(--sbb-border-color-5);--sbb-toggle-selected-option-background-color:var(--sbb-background-color-1);--sbb-toggle-background-inset
|
|
11
|
+
var p = n`:host{display:block;width:fit-content;border-radius:var(--sbb-toggle-border-radius);--sbb-toggle-width: fit-content;--sbb-toggle-min-width: calc( var(--sbb-toggle-padding-inline) * 4 + var(--sbb-size-icon-ui-small) );--sbb-toggle-selected-option-border-width: var(--sbb-border-width-1x);--sbb-toggle-selected-option-border-style: solid;--sbb-toggle-selected-option-border-color: var(--sbb-border-color-5);--sbb-toggle-selected-option-background-color: var(--sbb-background-color-1);--sbb-toggle-background-inset: .125rem;--sbb-toggle-padding-inline: var(--sbb-spacing-responsive-xs);--sbb-toggle-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-6x) );--sbb-toggle-height: var(--sbb-size-element-m);--sbb-toggle-border-radius: var(--sbb-border-radius-infinity);--sbb-toggle-grid-template-columns: auto auto}@media(forced-colors:active){:host{--sbb-toggle-selected-option-border-color: Highlight;--sbb-toggle-selected-option-border-width: var(--sbb-border-width-2x)}}:host([even]){width:100%;--sbb-toggle-width: 100%;--sbb-toggle-grid-template-columns: 50% 50%}:host(:disabled){--sbb-toggle-selected-option-border-color: var(--sbb-color-graphite);--sbb-toggle-selected-option-border-color: light-dark( var(--sbb-color-graphite), var(--sbb-color-smoke) );--sbb-toggle-selected-option-border-style: dashed}@media(forced-colors:active){:host(:disabled){--sbb-toggle-selected-option-border-style: solid;--sbb-toggle-selected-option-border-color: GrayText}}:host([size=s]){--sbb-toggle-padding-inline: var(--sbb-spacing-responsive-xxxs);--sbb-toggle-height: var(--sbb-size-element-xxs)}:host(:is(:not(:is(:state(initialized),[state--initialized])),:is(:state(disable-animation-on-resizing),[state--disable-animation-on-resizing]))){--sbb-disable-animation-duration: 0s}.sbb-toggle{--sbb-text-font-size: var(--sbb-text-font-size-m);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size);display:grid;grid-template-columns:var(--sbb-toggle-grid-template-columns);grid-template-areas:"start end";align-items:center;min-width:var(--sbb-toggle-min-width);width:var(--sbb-toggle-width);height:var(--sbb-toggle-height);max-width:100%;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;border-radius:var(--sbb-toggle-border-radius)}.sbb-toggle:before{content:"";display:block;grid-area:start/start/end/end;margin-inline:var(--sbb-toggle-option-left, 0) var(--sbb-toggle-option-right, 0);background-color:var(--sbb-toggle-selected-option-background-color);border-radius:var(--sbb-toggle-border-radius);max-width:100%;height:100%;border:var(--sbb-toggle-selected-option-border-width) var(--sbb-toggle-selected-option-border-style) var(--sbb-toggle-selected-option-border-color);transition-duration:var(--sbb-toggle-animation-duration);transition-timing-function:ease;transition-property:margin-inline-start,margin-inline-end}.sbb-toggle:after{content:"";grid-area:start/start/end/end;order:-1;background:var(--sbb-background-color-4);margin-inline:var(--sbb-toggle-background-inset);height:calc(100% - 2 * var(--sbb-toggle-background-inset));border-radius:var(--sbb-toggle-border-radius)}@media(forced-colors:active){.sbb-toggle:after{border:var(--sbb-border-width-1x) solid CanvasText}}::slotted(sbb-toggle-option:first-of-type){grid-area:start}::slotted(sbb-toggle-option:last-of-type){grid-area:end}`, m = (() => {
|
|
12
12
|
let n = l(u(o)), m = [], h, g = [], _ = [], v, y = [], b = [], x;
|
|
13
13
|
return class extends n {
|
|
14
14
|
static {
|
package/toggle.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./toggle-option.component-
|
|
2
|
-
import { t } from "./toggle.component-
|
|
1
|
+
import { t as e } from "./toggle-option.component-Lm0irQKj.js";
|
|
2
|
+
import { t } from "./toggle.component-D8rRkRAo.js";
|
|
3
3
|
import "./toggle.pure.js";
|
|
4
4
|
t.define(), e.define();
|
|
5
5
|
//#endregion
|
package/toggle.pure.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as e } from "./toggle-option.component-
|
|
2
|
-
import { t } from "./toggle.component-
|
|
1
|
+
import { t as e } from "./toggle-option.component-Lm0irQKj.js";
|
|
2
|
+
import { t } from "./toggle.component-D8rRkRAo.js";
|
|
3
3
|
export { t as SbbToggleElement, e as SbbToggleOptionElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../tooltip.component-
|
|
1
|
+
import { t as e } from "../tooltip.component-Bwp_yTA8.js";
|
|
2
2
|
export { e as SbbTooltipElement };
|