@sbb-esta/lyne-elements-dev 5.0.0-next.3-dev.1779265349 → 5.0.0-next.3-dev.1779268556
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/_index.scss +6 -2
- package/autocomplete/autocomplete-base-element.js +1 -1
- package/autocomplete/autocomplete.component.js +1 -1
- package/{autocomplete-base-element-6leI6UF4.js → autocomplete-base-element-jaXVQcA7.js} +11 -9
- package/autocomplete.js +1 -1
- package/autocomplete.pure.js +1 -1
- package/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +1 -1
- package/{breadcrumb-group.component-XPdnV6-a.js → breadcrumb-group.component-a49dItu9.js} +23 -19
- package/breadcrumb.js +1 -1
- package/breadcrumb.pure.js +1 -1
- package/button/mini-button-group/mini-button-group.component.js +1 -1
- package/button.js +1 -1
- package/button.pure.js +1 -1
- package/calendar/calendar/calendar.component.js +1 -1
- package/{calendar.component-CiT0mE7S.js → calendar.component-DKgkIocz.js} +37 -33
- package/calendar.js +1 -1
- package/calendar.pure.js +1 -1
- package/container/sticky-bar/sticky-bar.component.js +1 -1
- package/container.js +1 -1
- package/container.pure.js +1 -1
- package/core/mixins/named-slot-list-mixin.js +14 -14
- package/core/styles/_index.scss +1 -12
- package/core/styles/_theme.scss +16 -0
- package/core/styles/core/functions.scss +0 -8
- package/core/styles/{a11y.scss → features/a11y.scss} +2 -2
- package/core/styles/{animation.scss → features/animation.scss} +1 -1
- package/core/styles/features/color-scheme.scss +11 -0
- package/core/styles/{core.scss → features/core.scss} +138 -171
- package/core/styles/{image.scss → features/image.scss} +29 -7
- package/core/styles/{layout.private.scss → features/layout.private.scss} +5 -4
- package/core/styles/{layout.scss → features/layout.scss} +1 -1
- package/core/styles/{lists.scss → features/lists.scss} +1 -1
- package/core/styles/{scrollbar.scss → features/scrollbar.scss} +1 -1
- package/core/styles/features/typography.private.scss +9 -0
- package/core/styles/{typography.scss → features/typography.scss} +2 -2
- package/core/styles/internals/button-reset.scss +5 -0
- package/core/styles/{host-scrollbar.scss → internals/host-scrollbar.scss} +1 -1
- package/core/styles/internals/list-reset.scss +6 -0
- package/core/styles/internals/popover-reset.scss +6 -0
- package/core/styles/{screen-reader-only.scss → internals/screen-reader-only.scss} +1 -1
- package/core/styles/mixins/{a11y.scss → _a11y.scss} +0 -21
- package/core/styles/mixins/{helpers.scss → _helpers.scss} +3 -14
- package/core/styles/mixins/{lists.scss → _lists.scss} +8 -12
- package/core/styles/mixins/{pearl-chain-bullet.scss → _pearl-chain-bullet.scss} +5 -5
- package/core/styles/mixins/_reset.scss +38 -0
- package/core/styles/mixins/{typo.scss → _typo.scss} +23 -75
- package/core/styles/styles.js +2 -2
- package/core.js +2 -2
- package/custom-elements.json +68 -22
- package/development/autocomplete/autocomplete-base-element.d.ts.map +1 -1
- package/development/autocomplete/autocomplete-base-element.js +1 -1
- package/development/autocomplete/autocomplete.component.js +1 -1
- package/development/autocomplete-base-element-JxM7QbC4.js +697 -0
- package/development/autocomplete.js +1 -1
- package/development/autocomplete.pure.js +1 -1
- package/development/block-link-common-DNvRfeay.js +1 -1
- package/development/breadcrumb/breadcrumb-group/breadcrumb-group.component.d.ts.map +1 -1
- package/development/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +1 -1
- package/development/breadcrumb-group.component-DvY1hq51.js +197 -0
- package/development/breadcrumb.component-D6Cd2FPo.js +1 -1
- package/development/breadcrumb.js +1 -1
- package/development/breadcrumb.pure.js +1 -1
- package/development/button/mini-button-group/mini-button-group.component.js +1 -1
- package/development/button-common-C-A7Dulr.js +1 -1
- package/development/button.js +1 -1
- package/development/button.pure.js +1 -1
- package/development/calendar/calendar/calendar.component.d.ts.map +1 -1
- package/development/calendar/calendar/calendar.component.js +1 -1
- package/development/calendar-cell-base-element-mWRSDeWc.js +1 -1
- package/development/calendar.component-CgEXjBeQ.js +1473 -0
- package/development/calendar.js +1 -1
- package/development/calendar.pure.js +1 -1
- package/development/card.component-CL2gHoyP.js +1 -1
- package/development/chip-label.component-DHHNtvTt.js +1 -1
- package/development/{compact-paginator.component-BgkpxaaD.js → compact-paginator.component-m8MASSB7.js} +1 -1
- package/development/container/sticky-bar/sticky-bar.component.js +1 -1
- package/development/container.js +1 -1
- package/development/container.pure.js +1 -1
- package/development/core/mixins/named-slot-list-mixin.js +3 -3
- package/development/core/styles/styles.d.ts +3 -1
- package/development/core/styles/styles.d.ts.map +1 -1
- package/development/core/styles/styles.js +2 -2
- package/development/core.js +2 -2
- package/development/date-input.component-HxRyCudr.js +1 -1
- package/development/dialog-actions.component-e0ZTTUin.js +1 -1
- package/development/dialog.component-D8B2dVck.js +1 -1
- package/development/error.component-WCkiwM7_.js +1 -1
- package/development/expansion-panel-header.component-gg5A_7Pz.js +1 -1
- package/development/expansion-panel.component-DcFrWkIt.js +1 -1
- package/development/file-selector/common/file-selector-common.js +1 -1
- package/development/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +1 -1
- package/development/file-selector-common-Dd0S0qE3.js +421 -0
- package/development/{file-selector-dropzone.component-B84OL4Xd.js → file-selector-dropzone.component-DWLdqMmI.js} +2 -2
- package/development/file-selector.js +2 -2
- package/development/file-selector.pure.js +2 -2
- package/development/flip-card/flip-card/flip-card.component.d.ts.map +1 -1
- package/development/flip-card/flip-card/flip-card.component.js +1 -1
- package/development/flip-card.component-MmiS-x-W.js +189 -0
- package/development/flip-card.js +1 -1
- package/development/flip-card.pure.js +1 -1
- package/development/footer.component-K2bWizjw.js +1 -1
- package/development/form-field.component-CPWBCHer.js +1 -1
- package/development/header/common/header-action-common.js +1 -1
- package/development/header-action-common-BYB-HYtn.js +86 -0
- package/development/header.component-C4e7CNql.js +1 -1
- package/development/header.js +1 -1
- package/development/header.pure.js +1 -1
- package/development/inline-link-common-BV6oAtAA.js +18 -0
- package/development/link/common/inline-link-common.js +1 -1
- package/development/link-common-2RGn9Qz_.js +1 -1
- package/development/link-list/link-list.component.js +1 -1
- package/development/link-list-anchor/link-list-anchor.component.js +1 -1
- package/development/{link-list-anchor.component-Csb-FOQL.js → link-list-anchor.component-BMtCbCRD.js} +2 -2
- package/development/link-list-anchor.js +1 -1
- package/development/link-list-anchor.pure.js +1 -1
- package/development/link-list.component-CLxhjWR7.js +97 -0
- package/development/link-list.js +1 -1
- package/development/link-list.pure.js +1 -1
- package/development/link.js +1 -1
- package/development/link.pure.js +1 -1
- package/development/loading-indicator-circle.component-Cfjw5vyz.js +1 -1
- package/development/logo.component-DYKgAgq0.js +1 -1
- package/development/menu/common/menu-action-common.js +1 -1
- package/development/menu/menu/menu.component.d.ts.map +1 -1
- package/development/menu/menu/menu.component.js +1 -1
- package/development/menu-action-common-DL4t4_-J.js +32 -0
- package/development/menu.component-3qEIFutc.js +369 -0
- package/development/menu.js +2 -2
- package/development/menu.pure.js +2 -2
- package/development/message/message.component.js +1 -1
- package/development/{message.component-CdO5GyE2.js → message.component-BJ-84a0B.js} +2 -2
- package/development/message.js +1 -1
- package/development/message.pure.js +1 -1
- package/development/{mini-button-group.component-VYKZf1rq.js → mini-button-group.component-C88pIaaL.js} +2 -2
- package/development/mini-button-link.component-kpRsi8I2.js +1 -1
- package/development/navigation/navigation/navigation.component.d.ts.map +1 -1
- package/development/navigation/navigation/navigation.component.js +1 -1
- package/development/navigation/navigation-list/navigation-list.component.js +1 -1
- package/development/navigation/navigation-marker/navigation-marker.component.js +1 -1
- package/development/navigation-action-common-wrzPCkMT.js +1 -1
- package/development/navigation-list.component-CU-SGC8c.js +86 -0
- package/development/navigation-marker.component-CTk9U0kA.js +120 -0
- package/development/navigation-section.component-iaypc6yQ.js +1 -1
- package/development/navigation.component-Bu1wVUNx.js +319 -0
- package/development/navigation.js +3 -3
- package/development/navigation.pure.js +3 -3
- package/development/option/option/option.component.js +1 -1
- package/development/option/option-styles.d.ts +2 -0
- package/development/option/option-styles.d.ts.map +1 -0
- package/development/option/option-styles.js +2 -0
- package/development/option-styles-IEQgVpCe.js +8 -0
- package/development/option.component-BrTjDq6X.js +131 -0
- package/development/option.js +4 -3
- package/development/option.pure.d.ts +1 -0
- package/development/option.pure.d.ts.map +1 -1
- package/development/option.pure.js +3 -2
- package/development/overlay/overlay-base-element.d.ts.map +1 -1
- package/development/overlay/overlay-base-element.js +3 -3
- package/development/overlay/overlay.component.js +1 -1
- package/development/{overlay.component-YSCuGeme.js → overlay.component-BH-aue7w.js} +1 -1
- package/development/overlay.js +1 -1
- package/development/overlay.pure.js +1 -1
- package/development/paginator/common/paginator-common.js +1 -1
- package/development/paginator/compact-paginator/compact-paginator.component.js +1 -1
- package/development/paginator/paginator/paginator.component.d.ts.map +1 -1
- package/development/paginator/paginator/paginator.component.js +1 -1
- package/development/{paginator-common-B7iba0wQ.js → paginator-common-CRchtcXc.js} +1 -1
- package/development/paginator.component-B8y5tVCL.js +265 -0
- package/development/paginator.js +3 -3
- package/development/paginator.pure.js +3 -3
- package/development/panel-mixin-DPybe45K.js +1 -1
- package/development/popover/popover.component.d.ts.map +1 -1
- package/development/popover/popover.component.js +1 -1
- package/development/popover.component-Ds4fNNsq.js +578 -0
- package/development/popover.js +1 -1
- package/development/popover.pure.js +1 -1
- package/development/radio-button/common/radio-button-common.js +1 -1
- package/development/radio-button/radio-button.component.js +1 -1
- package/development/radio-button-common-Ckz2nMS7.js +129 -0
- package/development/{radio-button.component-DnErH-1J.js → radio-button.component-qsLFvciH.js} +2 -2
- package/development/radio-button.js +2 -2
- package/development/radio-button.pure.js +2 -2
- package/development/select/select.component.d.ts.map +1 -1
- package/development/select/select.component.js +1 -1
- package/development/select.component-BE7ZMrAc.js +809 -0
- package/development/select.js +1 -1
- package/development/select.pure.js +1 -1
- package/development/selection-action-panel/selection-action-panel.component.js +1 -1
- package/development/{selection-action-panel.component-BT0HmTja.js → selection-action-panel.component-C3UlmLkJ.js} +1 -1
- package/development/selection-action-panel.js +1 -1
- package/development/selection-action-panel.pure.js +1 -1
- package/development/selection-expansion-panel/selection-expansion-panel.component.js +1 -1
- package/development/selection-expansion-panel.component-4Ron8XNy.js +186 -0
- package/development/selection-expansion-panel.js +1 -1
- package/development/selection-expansion-panel.pure.js +1 -1
- package/development/sidebar/common/styles.js +1 -1
- package/development/sidebar/sidebar/sidebar.component.js +1 -1
- package/development/sidebar/sidebar-close-button/sidebar-close-button.component.js +1 -1
- package/development/sidebar/sidebar-container/sidebar-container.component.js +1 -1
- package/development/sidebar/sidebar-content/sidebar-content.component.js +1 -1
- package/development/sidebar/sidebar-title/sidebar-title.component.js +1 -1
- package/development/{sidebar-close-button.component-CXnf-P5H.js → sidebar-close-button.component-ByQtC65O.js} +1 -1
- package/development/sidebar-container.component-BmavabUg.js +100 -0
- package/development/{sidebar-content.component-DbcREBUa.js → sidebar-content.component-DcsIIWpz.js} +1 -1
- package/development/{sidebar-title.component-BW04otyD.js → sidebar-title.component-DgJdkoiE.js} +1 -1
- package/development/{sidebar.component-mfXnE6WQ.js → sidebar.component-BszwyJQa.js} +1 -1
- package/development/sidebar.js +5 -5
- package/development/sidebar.pure.js +5 -5
- package/development/signet/signet.component.js +1 -1
- package/development/{signet.component-k14RJ8FA.js → signet.component-DXLTVjJS.js} +1 -1
- package/development/signet.js +1 -1
- package/development/signet.pure.js +1 -1
- package/development/skiplink-list/skiplink-list.component.js +1 -1
- package/development/skiplink-list.component-BC8rpyf9.js +129 -0
- package/development/skiplink-list.js +1 -1
- package/development/skiplink-list.pure.js +1 -1
- package/development/slider/slider.component.js +1 -1
- package/development/slider.component-BLptxiZ4.js +346 -0
- package/development/slider.js +1 -1
- package/development/slider.pure.js +1 -1
- package/development/status/status.component.js +1 -1
- package/development/{status.component-B9en2l26.js → status.component-thSGiOrl.js} +1 -1
- package/development/status.js +1 -1
- package/development/status.pure.js +1 -1
- package/development/step-label.component-CpdXVv32.js +127 -0
- package/development/{step.component-B_YHm1tz.js → step.component-DpSJEkrK.js} +1 -1
- package/development/stepper/step/step.component.js +1 -1
- package/development/stepper/step-label/step-label.component.js +1 -1
- package/development/stepper/stepper/stepper.component.js +1 -1
- package/development/stepper.component-Bv6LCFU0.js +443 -0
- package/development/stepper.js +3 -3
- package/development/stepper.pure.js +3 -3
- package/development/{sticky-bar.component-BJLtRvcd.js → sticky-bar.component-DZpy1gBU.js} +2 -2
- package/development/{styles-WppEBrlW.js → styles-BmvNZZle.js} +1 -1
- package/development/styles-D8h0fqb5.js +30 -0
- package/development/{tab-group.component-CGMBihsQ.js → tab-group.component-DhcfjVxe.js} +1 -1
- package/development/{tab-label.component-CQOLO2t7.js → tab-label.component-B7YEhR1C.js} +1 -1
- package/development/tab-nav-bar.component-DrZ1U7lM.js +109 -0
- package/development/{tab.component-BVhYPy5Y.js → tab.component-COn1G0XA.js} +1 -1
- package/development/table/table-wrapper/table-wrapper.component.js +1 -1
- package/development/{table-wrapper.component-By59zmcU.js → table-wrapper.component-9Lst6dT2.js} +1 -1
- package/development/table.js +1 -1
- package/development/table.pure.js +1 -1
- package/development/tabs/common/styles.js +1 -1
- package/development/tabs/tab/tab.component.js +1 -1
- package/development/tabs/tab-group/tab-group.component.js +1 -1
- package/development/tabs/tab-label/tab-label.component.js +1 -1
- package/development/tabs/tab-nav-bar/tab-nav-bar.component.js +1 -1
- package/development/tabs.js +5 -5
- package/development/tabs.pure.js +5 -5
- package/development/tag/tag/tag.component.js +1 -1
- package/development/tag/tag-group/tag-group.component.js +1 -1
- package/development/tag-group.component-OQ3sxhZI.js +194 -0
- package/development/tag.component-DWOPDWwe.js +238 -0
- package/development/tag.js +2 -2
- package/development/tag.pure.js +2 -2
- package/development/teaser/teaser.component.js +1 -1
- package/development/teaser-hero/teaser-hero.component.js +1 -1
- package/development/{teaser-hero.component-BHMcPmdh.js → teaser-hero.component-Cp42iJGt.js} +1 -1
- package/development/teaser-hero.js +1 -1
- package/development/teaser-hero.pure.js +1 -1
- package/development/teaser-panel/teaser-panel.component.js +1 -1
- package/development/{teaser-panel.component-BRfbvmkb.js → teaser-panel.component-ptDalUEe.js} +1 -1
- package/development/teaser-panel.js +1 -1
- package/development/teaser-panel.pure.js +1 -1
- package/development/teaser-product/common/teaser-product-common.js +1 -1
- package/development/teaser-product/teaser-product/teaser-product.component.js +1 -1
- package/development/{teaser-product-common-DOyLdTks.js → teaser-product-common-DxBw-__I.js} +1 -1
- package/development/teaser-product.component-CPj4vJ2V.js +37 -0
- package/development/teaser-product.js +2 -2
- package/development/teaser-product.pure.js +2 -2
- package/development/teaser.component-Dgrc2jh8.js +116 -0
- package/development/teaser.js +1 -1
- package/development/teaser.pure.js +1 -1
- package/development/time-input/time-input.component.js +1 -1
- package/development/time-input.component-BFjDAfbv.js +187 -0
- package/development/time-input.js +1 -1
- package/development/time-input.pure.js +1 -1
- package/development/timetable-form/timetable-form/timetable-form.component.js +1 -1
- package/development/timetable-form/timetable-form-details/timetable-form-details.component.js +1 -1
- package/development/timetable-form/timetable-form-field/timetable-form-field.component.js +1 -1
- package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +1 -1
- package/development/{timetable-form-details.component-BeuAZUQe.js → timetable-form-details.component-BFmuJ8-6.js} +1 -1
- package/development/{timetable-form-field.component-DC2z1Cwf.js → timetable-form-field.component-DD04XyA0.js} +1 -1
- package/development/{timetable-form-swap-button.component-CnbVc8Ok.js → timetable-form-swap-button.component-DphGegO6.js} +1 -1
- package/development/{timetable-form.component-C8DfPePn.js → timetable-form.component-EIr4B4mA.js} +1 -1
- package/development/timetable-form.js +4 -4
- package/development/timetable-form.pure.js +4 -4
- package/development/timetable-occupancy/timetable-occupancy.component.d.ts.map +1 -1
- package/development/timetable-occupancy/timetable-occupancy.component.js +1 -1
- package/development/timetable-occupancy-icon/timetable-occupancy-icon.component.js +1 -1
- package/development/timetable-occupancy-icon.component-vsXoAiKz.js +95 -0
- package/development/timetable-occupancy-icon.js +1 -1
- package/development/timetable-occupancy-icon.pure.js +1 -1
- package/development/timetable-occupancy.component-B0zY0RnI.js +126 -0
- package/development/timetable-occupancy.js +1 -1
- package/development/timetable-occupancy.pure.js +1 -1
- package/development/title/title-base.js +1 -1
- package/development/title/title.component.d.ts +0 -2
- package/development/title/title.component.d.ts.map +1 -1
- package/development/title/title.component.js +1 -1
- package/development/title-base-CPAVrsQ9.js +102 -0
- package/development/title.component-DCg9U2CK.js +69 -0
- package/development/title.js +2 -2
- package/development/title.pure.js +2 -2
- package/development/toast/toast.component.d.ts.map +1 -1
- package/development/toast/toast.component.js +1 -1
- package/development/{toast.component-DonS3uQm.js → toast.component-TvSfu5nl.js} +3 -3
- package/development/toast.js +1 -1
- package/development/toast.pure.js +1 -1
- package/development/toggle/toggle/toggle.component.js +1 -1
- package/development/toggle/toggle-option/toggle-option.component.js +1 -1
- package/development/toggle-check/toggle-check.component.js +1 -1
- package/development/{toggle-check.component-BIV7jFIc.js → toggle-check.component-CbGa5-8I.js} +1 -1
- package/development/toggle-check.js +1 -1
- package/development/toggle-check.pure.js +1 -1
- package/development/{toggle-option.component-DRxwLSKU.js → toggle-option.component-BxGnhJFH.js} +1 -1
- package/development/toggle.component-Q68IDQWX.js +243 -0
- package/development/toggle.js +2 -2
- package/development/toggle.pure.js +2 -2
- package/development/tooltip/tooltip.component.d.ts.map +1 -1
- package/development/tooltip/tooltip.component.js +1 -1
- package/development/tooltip.component-Baoh6M8V.js +369 -0
- package/development/tooltip.js +1 -1
- package/development/tooltip.pure.js +1 -1
- package/development/train/train/train.component.js +1 -1
- package/development/train/train-blocked-passage/train-blocked-passage.component.js +1 -1
- package/development/train/train-formation/train-formation.component.js +1 -1
- package/development/train/train-wagon-common.js +1 -1
- package/development/{train-blocked-passage.component-Cxd7dBDC.js → train-blocked-passage.component-C7ve-a1E.js} +1 -1
- package/development/{train-formation.component-BEg6OPib.js → train-formation.component-DQ_hLKNv.js} +2 -2
- package/development/train-wagon-common-CdckItEt.js +441 -0
- package/development/train.component-Bi74L6C7.js +239 -0
- package/development/train.js +4 -4
- package/development/train.pure.js +4 -4
- package/development/visual-checkbox/visual-checkbox.component.js +1 -1
- package/development/{visual-checkbox.component-Dm8DNhH2.js → visual-checkbox.component-B4_iHcsX.js} +1 -1
- package/development/visual-checkbox.js +1 -1
- package/development/visual-checkbox.pure.js +1 -1
- package/file-selector/common/file-selector-common.js +1 -1
- package/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +1 -1
- package/{file-selector-common-VNwWFEmM.js → file-selector-common-BNGnjK__.js} +1 -1
- package/{file-selector-dropzone.component-CGo6odhC.js → file-selector-dropzone.component-sE_fofSq.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.component-CZ0v44Ym.js → flip-card.component-ZsA_kDPS.js} +22 -18
- package/flip-card.js +1 -1
- package/flip-card.pure.js +1 -1
- package/header/common/header-action-common.js +1 -1
- package/header-action-common-B-eRBjSz.js +64 -0
- package/header.js +1 -1
- package/header.pure.js +1 -1
- package/inline-link-common-O650N_pm.js +13 -0
- package/lean-off-brand-theme.css +415 -503
- package/lean-safety-theme.css +415 -503
- package/lean-theme.css +415 -503
- package/link/common/inline-link-common.js +1 -1
- package/link-list/link-list.component.js +1 -1
- package/link-list-anchor/link-list-anchor.component.js +1 -1
- package/{link-list-anchor.component-DG_HCtHH.js → link-list-anchor.component-Bjz_EKvE.js} +1 -1
- package/link-list-anchor.js +1 -1
- package/link-list-anchor.pure.js +1 -1
- package/{link-list.component-BNVd0a8U.js → link-list.component-Dg-7TBPC.js} +1 -1
- package/link-list.js +1 -1
- package/link-list.pure.js +1 -1
- package/link.js +1 -1
- package/link.pure.js +1 -1
- package/menu/common/menu-action-common.js +1 -1
- package/menu/menu/menu.component.js +1 -1
- package/{menu-action-common-Wy36tk18.js → menu-action-common-DakEXPg7.js} +1 -1
- package/{menu.component-DrrKSRmJ.js → menu.component-CqXsI5Cg.js} +25 -21
- package/menu.js +2 -2
- package/menu.pure.js +2 -2
- package/message/message.component.js +1 -1
- package/{message.component-CdfsCpnE.js → message.component-CORYX4KP.js} +1 -1
- package/message.js +1 -1
- package/message.pure.js +1 -1
- package/{mini-button-group.component-DQBU0BDm.js → mini-button-group.component-DWayyUpK.js} +1 -1
- package/navigation/navigation/navigation.component.js +1 -1
- package/navigation/navigation-list/navigation-list.component.js +1 -1
- package/navigation/navigation-marker/navigation-marker.component.js +1 -1
- package/{navigation-list.component-Cezo1tC-.js → navigation-list.component-C5y3ohH0.js} +1 -1
- package/{navigation-marker.component-CNsMaqpH.js → navigation-marker.component-VbvKu1TR.js} +1 -1
- package/{navigation.component-DLgmWh_c.js → navigation.component-DKJujMqj.js} +23 -19
- package/navigation.js +3 -3
- package/navigation.pure.js +3 -3
- package/off-brand-theme.css +415 -503
- package/option/option/option.component.js +1 -1
- package/option/option-styles.js +2 -0
- package/option-styles-DcD5grSB.js +6 -0
- package/option.js +5 -4
- package/option.pure.js +4 -3
- package/overlay/overlay-base-element.js +21 -21
- package/overlay/overlay.component.js +1 -1
- package/overlay.js +1 -1
- package/overlay.pure.js +1 -1
- package/package.json +5 -49
- package/paginator/common/paginator-common.js +1 -1
- package/paginator/compact-paginator/compact-paginator.component.js +1 -1
- package/paginator/paginator/paginator.component.js +1 -1
- package/paginator.component-Dk1xDHgW.js +212 -0
- package/paginator.js +3 -3
- package/paginator.pure.js +3 -3
- package/popover/popover.component.js +1 -1
- package/{popover.component-Dm_86bPY.js → popover.component-Bm-bx-Hs.js} +32 -32
- package/popover.js +1 -1
- package/popover.pure.js +1 -1
- package/radio-button/common/radio-button-common.js +1 -1
- package/radio-button/radio-button.component.js +1 -1
- package/{radio-button.component-CZ273yAb.js → radio-button.component-CGeTCfMq.js} +1 -1
- package/radio-button.js +2 -2
- package/radio-button.pure.js +2 -2
- package/safety-theme.css +415 -503
- package/select/select.component.js +1 -1
- package/{select.component-CLPLpFDz.js → select.component-UcWSndDu.js} +41 -39
- 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.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.js +1 -1
- package/selection-expansion-panel.pure.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-container/sidebar-container.component.js +1 -1
- package/sidebar/sidebar-content/sidebar-content.component.js +1 -1
- package/sidebar/sidebar-title/sidebar-title.component.js +1 -1
- package/sidebar.js +5 -5
- package/sidebar.pure.js +5 -5
- package/signet/signet.component.js +1 -1
- package/signet.js +1 -1
- package/signet.pure.js +1 -1
- package/skiplink-list/skiplink-list.component.js +1 -1
- package/{skiplink-list.component-BXaqYpsI.js → skiplink-list.component-ClGb1J_H.js} +1 -1
- package/skiplink-list.js +1 -1
- package/skiplink-list.pure.js +1 -1
- package/slider/slider.component.js +1 -1
- package/slider.js +1 -1
- package/slider.pure.js +1 -1
- package/standard-theme.css +415 -503
- package/status/status.component.js +1 -1
- package/status.js +1 -1
- package/status.pure.js +1 -1
- package/stepper/step/step.component.js +1 -1
- package/stepper/step-label/step-label.component.js +1 -1
- package/stepper/stepper/stepper.component.js +1 -1
- package/stepper.js +3 -3
- package/stepper.pure.js +3 -3
- package/{sticky-bar.component-dmlGAZLW.js → sticky-bar.component-DtXeRUqi.js} +1 -1
- package/styles-DV41ClRb.js +5 -0
- package/{tab-nav-bar.component-FT2W0urU.js → tab-nav-bar.component-CRC6xnaX.js} +1 -1
- package/table/table-wrapper/table-wrapper.component.js +1 -1
- package/table.js +1 -1
- package/table.pure.js +1 -1
- package/tabs/common/styles.js +1 -1
- package/tabs/tab/tab.component.js +1 -1
- package/tabs/tab-group/tab-group.component.js +1 -1
- package/tabs/tab-label/tab-label.component.js +1 -1
- package/tabs/tab-nav-bar/tab-nav-bar.component.js +1 -1
- package/tabs.js +5 -5
- package/tabs.pure.js +5 -5
- package/tag/tag/tag.component.js +1 -1
- package/tag/tag-group/tag-group.component.js +1 -1
- package/{tag-group.component-9UfHHJ79.js → tag-group.component-wnzXwLPf.js} +1 -1
- 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.js +1 -1
- package/teaser-hero.pure.js +1 -1
- package/teaser-panel/teaser-panel.component.js +1 -1
- package/teaser-panel.js +1 -1
- package/teaser-panel.pure.js +1 -1
- package/teaser-product/common/teaser-product-common.js +1 -1
- package/teaser-product/teaser-product/teaser-product.component.js +1 -1
- package/teaser-product.js +2 -2
- package/teaser-product.pure.js +2 -2
- package/teaser.js +1 -1
- package/teaser.pure.js +1 -1
- package/time-input/time-input.component.js +1 -1
- package/time-input.js +1 -1
- package/time-input.pure.js +1 -1
- package/timetable-form/timetable-form/timetable-form.component.js +1 -1
- package/timetable-form/timetable-form-details/timetable-form-details.component.js +1 -1
- package/timetable-form/timetable-form-field/timetable-form-field.component.js +1 -1
- package/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +1 -1
- package/timetable-form.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.js +1 -1
- package/timetable-occupancy-icon.pure.js +1 -1
- package/{timetable-occupancy.component-DGQ20zH1.js → timetable-occupancy.component-CIkq1cT7.js} +17 -13
- package/timetable-occupancy.js +1 -1
- package/timetable-occupancy.pure.js +1 -1
- package/title/title-base.js +1 -1
- package/title/title.component.js +1 -1
- package/{title-base-JBhKD3ur.js → title-base-B1xzk7Zb.js} +1 -1
- package/{title.component-VnTeqomb.js → title.component-DTnG8op9.js} +2 -2
- package/title.js +2 -2
- package/title.pure.js +2 -2
- package/toast/toast.component.js +1 -1
- package/{toast.component-BMN90Ouu.js → toast.component-Ew5vuGXf.js} +19 -19
- package/toast.js +1 -1
- package/toast.pure.js +1 -1
- package/toggle/toggle/toggle.component.js +1 -1
- package/toggle/toggle-option/toggle-option.component.js +1 -1
- package/toggle-check/toggle-check.component.js +1 -1
- package/toggle-check.js +1 -1
- package/toggle-check.pure.js +1 -1
- package/toggle.js +2 -2
- package/toggle.pure.js +2 -2
- package/tooltip/tooltip.component.js +1 -1
- package/{tooltip.component-NfyDxfw7.js → tooltip.component-ihyNBI7f.js} +25 -25
- package/tooltip.js +1 -1
- package/tooltip.pure.js +1 -1
- package/train/train/train.component.js +1 -1
- package/train/train-blocked-passage/train-blocked-passage.component.js +1 -1
- package/train/train-formation/train-formation.component.js +1 -1
- package/train/train-wagon-common.js +1 -1
- package/{train-formation.component-DVxNBPIB.js → train-formation.component-CYqdWnkL.js} +1 -1
- package/{train-wagon-common-CDCsWVgi.js → train-wagon-common-C1Py1D01.js} +1 -1
- package/{train.component-DxadS7O8.js → train.component-DRLUjuXY.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.js +1 -1
- package/visual-checkbox.pure.js +1 -1
- package/a11y.css +0 -20
- package/animation.css +0 -14
- package/badge.css +0 -32
- package/core/styles/badge.scss +0 -3
- package/core/styles/mixins/badge.scss +0 -42
- package/core/styles/mixins/buttons.scss +0 -12
- package/core/styles/mixins/card.scss +0 -205
- package/core/styles/mixins/dev_and_debug.scss +0 -8
- package/core/styles/mixins/image.scss +0 -43
- package/core/styles/mixins/inputs.scss +0 -11
- package/core/styles/mixins/link.scss +0 -125
- package/core/styles/mixins/panel.scss +0 -80
- package/core/styles/mixins/popover.scss +0 -14
- package/core/styles/mixins/table.scss +0 -185
- package/core/styles/mixins/timetable-form.scss +0 -63
- package/core/styles/option-panel-common.global.scss +0 -11
- package/core/styles/option-panel-common.scss +0 -157
- package/core/styles/theme.scss +0 -20
- package/core/styles/timetable-form.scss +0 -27
- package/core/styles/typography.private.scss +0 -9
- package/core.css +0 -2713
- package/development/autocomplete-base-element-qnPoRLvM.js +0 -695
- package/development/breadcrumb-group.component-BUBfl6LV.js +0 -193
- package/development/calendar.component-CG96KGTg.js +0 -1469
- package/development/file-selector-common-mZ5UYxOF.js +0 -421
- package/development/flip-card.component-DujrPKzU.js +0 -185
- package/development/header-action-common-Be0XQge2.js +0 -86
- package/development/inline-link-common-gmt6yz3v.js +0 -18
- package/development/link-list.component-B90qHOUD.js +0 -97
- package/development/menu-action-common-DRXQc85Y.js +0 -32
- package/development/menu.component-Cv9wRj4H.js +0 -365
- package/development/navigation-list.component-Dvv-bZ2V.js +0 -86
- package/development/navigation-marker.component-DMqe-VlY.js +0 -120
- package/development/navigation.component-CqNkBvEs.js +0 -315
- package/development/option.component-CV6cZnJe.js +0 -131
- package/development/paginator.component-BwLUSpDj.js +0 -261
- package/development/popover.component-CKUZbWbV.js +0 -578
- package/development/radio-button-common-G0jLFo41.js +0 -129
- package/development/select.component-CUjF11sq.js +0 -807
- package/development/selection-expansion-panel.component-BT78Qhbf.js +0 -186
- package/development/sidebar-container.component-CxwDKxv9.js +0 -100
- package/development/skiplink-list.component-m7xm-pns.js +0 -129
- package/development/slider.component-D_nLTlRF.js +0 -346
- package/development/step-label.component-Bo7Z0w7N.js +0 -127
- package/development/stepper.component-BeqeUIRN.js +0 -443
- package/development/styles-Cctez2BS.js +0 -22
- package/development/tab-nav-bar.component-B_mi8GGR.js +0 -109
- package/development/tag-group.component-Db8prSBL.js +0 -194
- package/development/tag.component-DG1uxD28.js +0 -238
- package/development/teaser-product.component-DMyuB-cH.js +0 -37
- package/development/teaser.component-CF_NUbwJ.js +0 -116
- package/development/time-input.component-XxzRoupm.js +0 -187
- package/development/timetable-occupancy-icon.component-UBmyZsTO.js +0 -95
- package/development/timetable-occupancy.component-DMm242Fr.js +0 -122
- package/development/title-base-D_Rjyk_j.js +0 -102
- package/development/title.component-CMxYhTfw.js +0 -71
- package/development/toggle.component-B03k5qc1.js +0 -243
- package/development/tooltip.component-D8zik3p4.js +0 -369
- package/development/train-wagon-common-Dg-BjUtC.js +0 -441
- package/development/train.component-dECIGw2x.js +0 -239
- package/header-action-common-DuPx0U2o.js +0 -64
- package/inline-link-common-BqqH1ExY.js +0 -13
- package/layout.css +0 -30
- package/lists.css +0 -194
- package/normalize.css +0 -95
- package/paginator.component-DB8l-B6J.js +0 -208
- package/scrollbar.css +0 -124
- package/styles-DAMaYe4p.js +0 -5
- package/table.css +0 -261
- package/timetable-form.css +0 -73
- package/typography.css +0 -67
- /package/{compact-paginator.component-BAuShgQE.js → compact-paginator.component-B-8gf_qD.js} +0 -0
- /package/core/styles/{disable-animation.scss → disable-animation-extension.scss} +0 -0
- /package/core/styles/{node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables-as-css.scss → features/node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables-as-css.scss} +0 -0
- /package/core/styles/{node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables.scss → features/node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables.scss} +0 -0
- /package/core/styles/{normalize.scss → features/normalize.scss} +0 -0
- /package/core/styles/{scrollbar.private.scss → features/scrollbar.private.scss} +0 -0
- /package/core/styles/mixins/{animation.scss → _animation.scss} +0 -0
- /package/core/styles/mixins/{font-face.scss → _font-face.scss} +0 -0
- /package/core/styles/mixins/{layout.scss → _layout.scss} +0 -0
- /package/core/styles/mixins/{scrollbar.scss → _scrollbar.scss} +0 -0
- /package/{disable-animation.css → disable-animation-extension.css} +0 -0
- /package/{option.component-BeorlZT0.js → option.component-DiH8AMlV.js} +0 -0
- /package/{overlay.component-myJflfLY.js → overlay.component-D7Z_vx1A.js} +0 -0
- /package/{paginator-common-BWewgXga.js → paginator-common-C0Kn9ibe.js} +0 -0
- /package/{radio-button-common-CrIRn10q.js → radio-button-common-BDNSqXg-.js} +0 -0
- /package/{selection-action-panel.component-DCGJQ3Mx.js → selection-action-panel.component-Ba7N1Hgt.js} +0 -0
- /package/{selection-expansion-panel.component-Cu1egfTY.js → selection-expansion-panel.component-BL1FPfPM.js} +0 -0
- /package/{sidebar-close-button.component-8owwjvk3.js → sidebar-close-button.component-CLjOpBM2.js} +0 -0
- /package/{sidebar-container.component-Dcke-Uhr.js → sidebar-container.component-8filIF5E.js} +0 -0
- /package/{sidebar-content.component-CYupfsq_.js → sidebar-content.component-DMdjHDdq.js} +0 -0
- /package/{sidebar-title.component-Cf64lCJx.js → sidebar-title.component-DaIkBNY9.js} +0 -0
- /package/{sidebar.component-LaqQzMo2.js → sidebar.component-D_HLDNnq.js} +0 -0
- /package/{signet.component-3Xfke8uk.js → signet.component-6q3GxORI.js} +0 -0
- /package/{slider.component-BlUWAWJU.js → slider.component-C8LKcM11.js} +0 -0
- /package/{status.component-mel7wA1j.js → status.component-DMfZTgzz.js} +0 -0
- /package/{step-label.component-BGSaHafq.js → step-label.component-CjNZYk5b.js} +0 -0
- /package/{step.component-tJh-Pb_E.js → step.component-BCkwsZdk.js} +0 -0
- /package/{stepper.component-BCl77LVa.js → stepper.component-mq66fR06.js} +0 -0
- /package/{styles-DisU4TWi.js → styles-DWm_OYpV.js} +0 -0
- /package/{tab-group.component-CDhggNpe.js → tab-group.component-MEm2W7QR.js} +0 -0
- /package/{tab-label.component-BuF2qt1T.js → tab-label.component-BqznCfW8.js} +0 -0
- /package/{tab.component-D6hfhlZw.js → tab.component-DPwbvqp4.js} +0 -0
- /package/{table-wrapper.component-C83EYuZP.js → table-wrapper.component-LzYuAVPb.js} +0 -0
- /package/{tag.component-BKuxfdDi.js → tag.component-zGPaopTo.js} +0 -0
- /package/{teaser-hero.component-mv6HL4vm.js → teaser-hero.component-BlhffYux.js} +0 -0
- /package/{teaser-panel.component-qRmy2lbz.js → teaser-panel.component-BCbKgXVt.js} +0 -0
- /package/{teaser-product-common-J1KZ2Hlw.js → teaser-product-common-C_lgMbyC.js} +0 -0
- /package/{teaser-product.component-BcleFVcu.js → teaser-product.component-CQIXu7sq.js} +0 -0
- /package/{teaser.component-BOqCERR7.js → teaser.component-D9z78Eny.js} +0 -0
- /package/{time-input.component-Dw8pPYDK.js → time-input.component-CLHEoWze.js} +0 -0
- /package/{timetable-form-details.component-0c6h6shd.js → timetable-form-details.component-DJ3oPkQP.js} +0 -0
- /package/{timetable-form-field.component-Cya8n2Ms.js → timetable-form-field.component-6s8_sz9h.js} +0 -0
- /package/{timetable-form-swap-button.component-rI_0UYJw.js → timetable-form-swap-button.component-BY2m2_k9.js} +0 -0
- /package/{timetable-form.component-DVps6baq.js → timetable-form.component-Swe8BX7g.js} +0 -0
- /package/{timetable-occupancy-icon.component-ABh1bz-X.js → timetable-occupancy-icon.component-C44eSFOM.js} +0 -0
- /package/{toggle-check.component-BcQ5ht0O.js → toggle-check.component-Ce-klZJB.js} +0 -0
- /package/{toggle-option.component-DQcPDXyl.js → toggle-option.component-BdMfGuA-.js} +0 -0
- /package/{toggle.component-DARkqJol.js → toggle.component-ySmrXvjA.js} +0 -0
- /package/{train-blocked-passage.component-B601YYJl.js → train-blocked-passage.component-UnNCmspZ.js} +0 -0
- /package/{visual-checkbox.component-YhX5Qk3j.js → visual-checkbox.component-JmGORoDU.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { __esDecorate as e, __runInitializers as t } from "tslib";
|
|
2
2
|
import { html as n, nothing as r, unsafeCSS as i } from "lit";
|
|
3
3
|
import { property as a } from "lit/decorators.js";
|
|
4
|
-
import { SbbDarkModeController as o, SbbLanguageController as s, SbbOpenCloseBaseElement as c, SbbReadonlyMixin as l, composedPathHasAttribute as u, forceType as d, i18nCloseAlert as f, isZeroAnimationDuration as p } from "./core.js";
|
|
5
|
-
import { SbbTransparentButtonElement as
|
|
6
|
-
import { SbbDividerElement as
|
|
7
|
-
import { SbbIconNameMixin as
|
|
4
|
+
import { SbbDarkModeController as o, SbbLanguageController as s, SbbOpenCloseBaseElement as c, SbbReadonlyMixin as l, composedPathHasAttribute as u, forceType as d, i18nCloseAlert as f, isZeroAnimationDuration as p, popoverResetStyles as m } from "./core.js";
|
|
5
|
+
import { SbbTransparentButtonElement as h } from "./button.pure.js";
|
|
6
|
+
import { SbbDividerElement as g } from "./divider.pure.js";
|
|
7
|
+
import { SbbIconNameMixin as _ } from "./icon.pure.js";
|
|
8
8
|
//#region src/elements/toast/toast.scss?inline
|
|
9
|
-
var
|
|
10
|
-
let
|
|
11
|
-
return class extends
|
|
9
|
+
var v = ":host{--sbb-toast-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-6x) );--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, none);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{font-weight:700;font-size:var(--sbb-heading-font-size-6);letter-spacing:var(--sbb-typo-letter-spacing-heading);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)}}", y = /* @__PURE__ */ new Set(), b = (() => {
|
|
10
|
+
let b = _(l(c)), x, S = [], C = [], w, T = [], E = [], D, O = [], k = [];
|
|
11
|
+
return class extends b {
|
|
12
12
|
static {
|
|
13
|
-
let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(
|
|
14
|
-
|
|
13
|
+
let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(b[Symbol.metadata] ?? null) : void 0;
|
|
14
|
+
x = [d(), a({ type: Number })], w = [a({ reflect: !0 })], D = [a()], e(this, null, x, {
|
|
15
15
|
kind: "accessor",
|
|
16
16
|
name: "timeout",
|
|
17
17
|
static: !1,
|
|
@@ -24,7 +24,7 @@ var _ = ":host{--sbb-toast-animation-duration: var( --sbb-disable-animation-dura
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
metadata: t
|
|
27
|
-
},
|
|
27
|
+
}, S, C), e(this, null, w, {
|
|
28
28
|
kind: "accessor",
|
|
29
29
|
name: "position",
|
|
30
30
|
static: !1,
|
|
@@ -37,7 +37,7 @@ var _ = ":host{--sbb-toast-animation-duration: var( --sbb-disable-animation-dura
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
metadata: t
|
|
40
|
-
},
|
|
40
|
+
}, T, E), e(this, null, D, {
|
|
41
41
|
kind: "accessor",
|
|
42
42
|
name: "politeness",
|
|
43
43
|
static: !1,
|
|
@@ -50,7 +50,7 @@ var _ = ":host{--sbb-toast-animation-duration: var( --sbb-disable-animation-dura
|
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
metadata: t
|
|
53
|
-
},
|
|
53
|
+
}, O, k), t && Object.defineProperty(this, Symbol.metadata, {
|
|
54
54
|
enumerable: !0,
|
|
55
55
|
configurable: !0,
|
|
56
56
|
writable: !0,
|
|
@@ -61,10 +61,10 @@ var _ = ":host{--sbb-toast-animation-duration: var( --sbb-disable-animation-dura
|
|
|
61
61
|
this.elementName = "sbb-toast";
|
|
62
62
|
}
|
|
63
63
|
static {
|
|
64
|
-
this.elementDependencies = [
|
|
64
|
+
this.elementDependencies = [h, g];
|
|
65
65
|
}
|
|
66
66
|
static {
|
|
67
|
-
this.styles = [i(
|
|
67
|
+
this.styles = [m, i(v)];
|
|
68
68
|
}
|
|
69
69
|
#e;
|
|
70
70
|
get timeout() {
|
|
@@ -88,15 +88,15 @@ var _ = ":host{--sbb-toast-animation-duration: var( --sbb-disable-animation-dura
|
|
|
88
88
|
this.#n = e;
|
|
89
89
|
}
|
|
90
90
|
constructor() {
|
|
91
|
-
super(), this.#e = t(this,
|
|
91
|
+
super(), this.#e = t(this, S, 0), this.#t = (t(this, C), t(this, T, "bottom-center")), this.#n = (t(this, E), t(this, O, "polite")), this._closeTimeout = t(this, k), this._language = new s(this), this._darkModeController = new o(this, () => {
|
|
92
92
|
this._syncSlottedElements(), this.requestUpdate();
|
|
93
93
|
}), this.addEventListener?.("click", (e) => this._onClick(e));
|
|
94
94
|
}
|
|
95
95
|
connectedCallback() {
|
|
96
|
-
this.popover = "manual", super.connectedCallback(),
|
|
96
|
+
this.popover = "manual", super.connectedCallback(), y.add(this);
|
|
97
97
|
}
|
|
98
98
|
disconnectedCallback() {
|
|
99
|
-
super.disconnectedCallback(), clearTimeout(this._closeTimeout),
|
|
99
|
+
super.disconnectedCallback(), clearTimeout(this._closeTimeout), y.delete(this);
|
|
100
100
|
}
|
|
101
101
|
willUpdate(e) {
|
|
102
102
|
super.willUpdate(e), e.has("politeness") && (this.internals.ariaLive = this.politeness);
|
|
@@ -142,7 +142,7 @@ var _ = ":host{--sbb-toast-animation-duration: var( --sbb-disable-animation-dura
|
|
|
142
142
|
e.animationName === "open" && this.state === "opening" ? this._handleOpening() : e.animationName === "close" && this.state === "closing" && this._handleClosing();
|
|
143
143
|
}
|
|
144
144
|
_closeOtherToasts() {
|
|
145
|
-
|
|
145
|
+
y.forEach((e) => {
|
|
146
146
|
(e.state === "opened" || e.state === "opening") && e.close();
|
|
147
147
|
});
|
|
148
148
|
}
|
|
@@ -181,4 +181,4 @@ var _ = ":host{--sbb-toast-animation-duration: var( --sbb-disable-animation-dura
|
|
|
181
181
|
};
|
|
182
182
|
})();
|
|
183
183
|
//#endregion
|
|
184
|
-
export {
|
|
184
|
+
export { b as t };
|
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-Ew5vuGXf.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-ySmrXvjA.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-BdMfGuA-.js";
|
|
2
2
|
export { e as SbbToggleOptionElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../toggle-check.component-
|
|
1
|
+
import { t as e } from "../toggle-check.component-Ce-klZJB.js";
|
|
2
2
|
export { e as SbbToggleCheckElement };
|
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-Ce-klZJB.js";
|
|
2
2
|
export { e as SbbToggleCheckElement };
|
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-BdMfGuA-.js";
|
|
2
|
+
import { t } from "./toggle.component-ySmrXvjA.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-BdMfGuA-.js";
|
|
2
|
+
import { t } from "./toggle.component-ySmrXvjA.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-ihyNBI7f.js";
|
|
2
2
|
export { e as SbbTooltipElement };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { __esDecorate as e, __runInitializers as t } from "tslib";
|
|
2
2
|
import { html as n, isServer as r, unsafeCSS as i } from "lit";
|
|
3
3
|
import { property as a } from "lit/decorators.js";
|
|
4
|
-
import { SbbDisabledMixin as o, SbbEscapableOverlayController as s, SbbOpenCloseBaseElement as c, SbbOverlayPositionController as l, appendAriaElements as u, idReference as d, isAndroid as f, isIOS as p, isZeroAnimationDuration as m,
|
|
4
|
+
import { SbbDisabledMixin as o, SbbEscapableOverlayController as s, SbbOpenCloseBaseElement as c, SbbOverlayPositionController as l, appendAriaElements as u, idReference as d, isAndroid as f, isIOS as p, isZeroAnimationDuration as m, popoverResetStyles as h, queueDomContentLoaded as g, readConfig as _, removeAriaElements as v, sbbOverlayOutsidePointerEventListener as y } from "./core.js";
|
|
5
5
|
//#region src/elements/tooltip/tooltip.scss?inline
|
|
6
|
-
var
|
|
7
|
-
let f = o(c), p = [],
|
|
6
|
+
var b = ":host{--sbb-tooltip-max-width: min( 25rem, calc(100vw - var(--sbb-spacing-fixed-2x)) );--sbb-tooltip-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-4x) );position-area:var(--sbb-overlay-position-area);position-try-fallbacks:var(--sbb-overlay-position-try-fallbacks);display:none;position:fixed;pointer-events:var(--sbb-tooltip-pointer-events, all);z-index:var(--sbb-tooltip-z-index, var(--sbb-overlay-default-z-index));animation-name:var(--sbb-tooltip-animation-name);animation-duration:var(--sbb-tooltip-animation-duration);animation-timing-function:var(--sbb-tooltip-animation-easing);font-size:var(--sbb-tooltip-font-size);letter-spacing:var(--sbb-typo-letter-spacing-text);line-height:var(--sbb-typo-line-height-text)}:host(:is(:is(:state(state-opening),[state--state-opening]),:is(:state(state-opened),[state--state-opened]),:is(:state(state-closing),[state--state-closing]))){--sbb-tooltip-animation-name: open;display:block}:host(:is(:state(state-closing),[state--state-closing])){--sbb-tooltip-animation-name: close;--sbb-tooltip-pointer-events: none}:host(:is([data-position~=block-end],[data-position~=bottom],[data-position^=end])){padding-block-start:var(--sbb-tooltip-gap)}:host(:is([data-position~=block-start],[data-position~=top],[data-position^=start])){padding-block-end:var(--sbb-tooltip-gap)}:host(:is([data-position~=inline-start],[data-position~=inline-end],[data-position~=left],[data-position~=right],[data-position$=\" start\"],[data-position$=\" end\"])){padding-inline:var(--sbb-tooltip-gap)}.sbb-tooltip{box-shadow:var(--sbb-box-shadow-level-5-soft);border:var(--sbb-border-width-1x) solid var(--sbb-tooltip-border-color);border-radius:var(--sbb-tooltip-border-radius);padding:var(--sbb-tooltip-padding);color:var(--sbb-tooltip-color);background-color:var(--sbb-tooltip-background-color);min-width:var(--sbb-tooltip-min-width);max-width:var(--sbb-tooltip-max-width)}@keyframes open{0%{opacity:0;translate:var(--sbb-tooltip-animation-translate)}to{opacity:1;translate:0}}@keyframes close{0%{opacity:1;translate:0}to{opacity:0;translate:var(--sbb-tooltip-animation-translate)}}", x = 500, S = f || p, C = /* @__PURE__ */ new WeakMap(), w = (() => {
|
|
7
|
+
let f = o(c), p = [], w, T = [], E = [], D, O, k;
|
|
8
8
|
return class extends f {
|
|
9
9
|
static {
|
|
10
10
|
let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(f[Symbol.metadata] ?? null) : void 0;
|
|
11
|
-
|
|
11
|
+
w = [d(), a()], D = [a({
|
|
12
12
|
attribute: "open-delay",
|
|
13
13
|
type: Number
|
|
14
|
-
})],
|
|
14
|
+
})], O = [a({
|
|
15
15
|
attribute: "close-delay",
|
|
16
16
|
type: Number
|
|
17
|
-
})],
|
|
17
|
+
})], k = [a({
|
|
18
18
|
attribute: "long-press-close-delay",
|
|
19
19
|
type: Number
|
|
20
|
-
})], e(this, null,
|
|
20
|
+
})], e(this, null, w, {
|
|
21
21
|
kind: "accessor",
|
|
22
22
|
name: "trigger",
|
|
23
23
|
static: !1,
|
|
@@ -30,7 +30,7 @@ var y = ":host{--sbb-tooltip-max-width: min( 25rem, calc(100vw - var(--sbb-spaci
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
metadata: t
|
|
33
|
-
},
|
|
33
|
+
}, T, E), e(this, null, D, {
|
|
34
34
|
kind: "setter",
|
|
35
35
|
name: "openDelay",
|
|
36
36
|
static: !1,
|
|
@@ -42,7 +42,7 @@ var y = ":host{--sbb-tooltip-max-width: min( 25rem, calc(100vw - var(--sbb-spaci
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
metadata: t
|
|
45
|
-
}, null, p), e(this, null,
|
|
45
|
+
}, null, p), e(this, null, O, {
|
|
46
46
|
kind: "setter",
|
|
47
47
|
name: "closeDelay",
|
|
48
48
|
static: !1,
|
|
@@ -54,7 +54,7 @@ var y = ":host{--sbb-tooltip-max-width: min( 25rem, calc(100vw - var(--sbb-spaci
|
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
metadata: t
|
|
57
|
-
}, null, p), e(this, null,
|
|
57
|
+
}, null, p), e(this, null, k, {
|
|
58
58
|
kind: "setter",
|
|
59
59
|
name: "longPressCloseDelay",
|
|
60
60
|
static: !1,
|
|
@@ -80,10 +80,10 @@ var y = ":host{--sbb-tooltip-max-width: min( 25rem, calc(100vw - var(--sbb-spaci
|
|
|
80
80
|
this.role = "tooltip";
|
|
81
81
|
}
|
|
82
82
|
static {
|
|
83
|
-
this.styles = [i(
|
|
83
|
+
this.styles = [h, i(b)];
|
|
84
84
|
}
|
|
85
85
|
static {
|
|
86
|
-
r ||
|
|
86
|
+
r || g(() => this._initializeTooltipOutlet());
|
|
87
87
|
}
|
|
88
88
|
#e;
|
|
89
89
|
get trigger() {
|
|
@@ -96,22 +96,22 @@ var y = ":host{--sbb-tooltip-max-width: min( 25rem, calc(100vw - var(--sbb-spaci
|
|
|
96
96
|
this._openDelay = e;
|
|
97
97
|
}
|
|
98
98
|
get openDelay() {
|
|
99
|
-
return this._openDelay ??
|
|
99
|
+
return this._openDelay ?? _().tooltip?.openDelay ?? 0;
|
|
100
100
|
}
|
|
101
101
|
set closeDelay(e) {
|
|
102
102
|
this._closeDelay = e;
|
|
103
103
|
}
|
|
104
104
|
get closeDelay() {
|
|
105
|
-
return this._closeDelay ??
|
|
105
|
+
return this._closeDelay ?? _().tooltip?.closeDelay ?? 0;
|
|
106
106
|
}
|
|
107
107
|
set longPressCloseDelay(e) {
|
|
108
108
|
this._longPressCloseDelay = +e;
|
|
109
109
|
}
|
|
110
110
|
get longPressCloseDelay() {
|
|
111
|
-
return this._longPressCloseDelay ??
|
|
111
|
+
return this._longPressCloseDelay ?? _().tooltip?.longPressCloseDelay ?? 1500;
|
|
112
112
|
}
|
|
113
113
|
constructor() {
|
|
114
|
-
super(), this.#e = (t(this, p), t(this,
|
|
114
|
+
super(), this.#e = (t(this, p), t(this, T, null)), this._openDelay = (t(this, E), null), this._closeDelay = null, this._triggerElement = null, this._escapableOverlayController = new s(this), this._overlayController = new l(this), this.addEventListener("mouseleave", (e) => {
|
|
115
115
|
(this.state === "opened" || this.state === "opening") && (!e.relatedTarget || !this._triggerElement?.contains(e.relatedTarget)) && this._delayedClose();
|
|
116
116
|
}, { passive: !0 }), this.addEventListener("overlayOutsidePointer", () => this.close(), { passive: !0 }), this.addEventListener("animationend", (e) => this._onTooltipAnimationEnd(e), { passive: !0 });
|
|
117
117
|
}
|
|
@@ -134,18 +134,18 @@ var y = ":host{--sbb-tooltip-max-width: min( 25rem, calc(100vw - var(--sbb-spaci
|
|
|
134
134
|
e.querySelectorAll("[sbb-tooltip]").forEach((e) => this._handleTooltipTrigger(e));
|
|
135
135
|
}
|
|
136
136
|
static _handleTooltipTrigger(e) {
|
|
137
|
-
let t = e.getAttribute("sbb-tooltip"), n =
|
|
137
|
+
let t = e.getAttribute("sbb-tooltip"), n = C.get(e);
|
|
138
138
|
if (t && e.isConnected) {
|
|
139
|
-
n || (n = document.createElement("sbb-tooltip"),
|
|
139
|
+
n || (n = document.createElement("sbb-tooltip"), C.set(e, n), this._tooltipOutlet.appendChild(n), n.trigger = e), n.textContent = t, n.openDelay = e.hasAttribute("sbb-tooltip-open-delay") ? +e.getAttribute("sbb-tooltip-open-delay") : null, n.closeDelay = e.hasAttribute("sbb-tooltip-close-delay") ? +e.getAttribute("sbb-tooltip-close-delay") : null;
|
|
140
140
|
let r = e.hasAttribute("sbb-tooltip-position") ? e.getAttribute("sbb-tooltip-position").split(",").map((e) => e.trim()) : e.tooltipPositions;
|
|
141
141
|
r && r.length > 0 ? (n.style.setProperty("--sbb-overlay-position-area", r[0]), n.style.setProperty("--sbb-overlay-position-try-fallbacks", r.slice(1).join(", "))) : (n.style.removeProperty("--sbb-overlay-position-area"), n.style.removeProperty("--sbb-overlay-position-try-fallbacks"));
|
|
142
|
-
} else n && (
|
|
142
|
+
} else n && (C.delete(e), n._destroy?.());
|
|
143
143
|
}
|
|
144
144
|
connectedCallback() {
|
|
145
|
-
super.connectedCallback(), this.popover = "manual", this.state = "closed",
|
|
145
|
+
super.connectedCallback(), this.popover = "manual", this.state = "closed", y.connect(this), this.hasUpdated && this.trigger && this._attach(this.trigger);
|
|
146
146
|
}
|
|
147
147
|
disconnectedCallback() {
|
|
148
|
-
super.disconnectedCallback(),
|
|
148
|
+
super.disconnectedCallback(), y.disconnect(this), this._detach();
|
|
149
149
|
}
|
|
150
150
|
requestUpdate(e, t, n) {
|
|
151
151
|
super.requestUpdate(e, t, n), !r && (!e || e === "trigger") && this.hasUpdated && this._attach(this.trigger);
|
|
@@ -178,7 +178,7 @@ var y = ":host{--sbb-tooltip-max-width: min( 25rem, calc(100vw - var(--sbb-spaci
|
|
|
178
178
|
this._triggerElement && this._detach(), this._triggerElement = e, this._triggerElement && (this._triggerElement.ariaDescribedByElements = u(this._triggerElement.ariaDescribedByElements, this), this._addTriggerEventHandlers());
|
|
179
179
|
}
|
|
180
180
|
_detach() {
|
|
181
|
-
this._triggerAbortController?.abort(), this._openStateController?.abort(), this._resetOpenCloseTimeout(), clearTimeout(this._longPressOpenTimeout), clearTimeout(this._longPressCloseTimeout), this._triggerElement &&= (this._triggerElement.ariaDescribedByElements =
|
|
181
|
+
this._triggerAbortController?.abort(), this._openStateController?.abort(), this._resetOpenCloseTimeout(), clearTimeout(this._longPressOpenTimeout), clearTimeout(this._longPressCloseTimeout), this._triggerElement &&= (this._triggerElement.ariaDescribedByElements = v(this._triggerElement.ariaDescribedByElements, this), null);
|
|
182
182
|
}
|
|
183
183
|
_destroy() {
|
|
184
184
|
this._detach(), this.remove();
|
|
@@ -191,11 +191,11 @@ var y = ":host{--sbb-tooltip-max-width: min( 25rem, calc(100vw - var(--sbb-spaci
|
|
|
191
191
|
signal: this._triggerAbortController.signal,
|
|
192
192
|
passive: !0
|
|
193
193
|
};
|
|
194
|
-
|
|
194
|
+
S || (e.addEventListener("mouseenter", () => this._delayedOpen(), t), e.addEventListener("mouseleave", (e) => {
|
|
195
195
|
let t = e.relatedTarget;
|
|
196
196
|
(!t || t !== this) && this._delayedClose();
|
|
197
197
|
}, t), e.addEventListener("blur", () => this.close(), t), e.addEventListener("focus", () => this._delayedOpen(), t)), e.addEventListener("touchstart", () => {
|
|
198
|
-
clearTimeout(this._longPressOpenTimeout), clearTimeout(this._longPressCloseTimeout), this._longPressOpenTimeout = setTimeout(() => this.open(),
|
|
198
|
+
clearTimeout(this._longPressOpenTimeout), clearTimeout(this._longPressCloseTimeout), this._longPressOpenTimeout = setTimeout(() => this.open(), x);
|
|
199
199
|
}, t), e.addEventListener("touchend", () => {
|
|
200
200
|
clearTimeout(this._longPressOpenTimeout), this._longPressCloseTimeout = setTimeout(() => this.close(), this.longPressCloseDelay);
|
|
201
201
|
}, t), e.addEventListener("touchcancel", () => {
|
|
@@ -218,4 +218,4 @@ var y = ":host{--sbb-tooltip-max-width: min( 25rem, calc(100vw - var(--sbb-spaci
|
|
|
218
218
|
};
|
|
219
219
|
})();
|
|
220
220
|
//#endregion
|
|
221
|
-
export {
|
|
221
|
+
export { w as t };
|
package/tooltip.js
CHANGED
package/tooltip.pure.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./tooltip.component-
|
|
1
|
+
import { t as e } from "./tooltip.component-ihyNBI7f.js";
|
|
2
2
|
export { e as SbbTooltipElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../train.component-
|
|
1
|
+
import { t as e } from "../../train.component-DRLUjuXY.js";
|
|
2
2
|
export { e as SbbTrainElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../train-blocked-passage.component-
|
|
1
|
+
import { t as e } from "../../train-blocked-passage.component-UnNCmspZ.js";
|
|
2
2
|
export { e as SbbTrainBlockedPassageElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../train-formation.component-
|
|
1
|
+
import { t as e } from "../../train-formation.component-CYqdWnkL.js";
|
|
2
2
|
export { e as SbbTrainFormationElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../train-wagon-common-
|
|
1
|
+
import { t as e } from "../train-wagon-common-C1Py1D01.js";
|
|
2
2
|
export { e as SbbTrainWagonMixin };
|
|
@@ -4,7 +4,7 @@ import { property as a, state as o } from "lit/decorators.js";
|
|
|
4
4
|
import { SbbElement as s, SbbLanguageController as c, SbbNamedSlotListMixin as l, hostScrollbarStyles as u, i18nSector as d, i18nSectorShort as f, i18nTrains as p } from "./core.js";
|
|
5
5
|
import { styleMap as m } from "lit/directives/style-map.js";
|
|
6
6
|
//#region src/elements/train/train-formation/train-formation.scss?inline
|
|
7
|
-
var h = ":host{--sbb-train-formation-scroll-padding: var(--sbb-train-formation-padding);--_sbb-train-formation-wagon-width: var(--sbb-train-formation-wagon-dimension-long);--_sbb-train-formation-wagon-height: var(--sbb-train-formation-wagon-dimension-short);display:grid;grid-template:\"start sectors end\" auto \"start trains end\" auto/auto 1fr auto;position:relative;overflow:auto visible;gap:var(--_sbb-train-formation-sectors-to-train-gap, 0) 0;padding-block:var(--sbb-train-formation-padding);color:var(--sbb-train-formation-text-color);font-size:var(--sbb-text-font-size-xs);letter-spacing:var(--sbb-typo-letter-spacing-text);line-height:var(--sbb-typo-line-height-text)}:host:before,:host:after{content:\"\";display:block;width:var(--sbb-train-formation-scroll-padding)}:host:before{grid-area:start}:host:after{grid-area:end}:host(: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)}:host(:is(:state(has-sectors),[state--has-sectors])){--_sbb-train-formation-sectors-to-train-gap: var(--sbb-train-formation-gap)}:host(:is(:state(has-direction-label),[state--has-direction-label])){--_sbb-train-formation-reserve-spacing-display: block}:host([orientation=vertical]){--_sbb-train-formation-wagon-width: var(--sbb-train-formation-wagon-dimension-short);--_sbb-train-formation-wagon-height: var(--sbb-train-formation-wagon-dimension-long);--_sbb-train-formation-flex-direction: column;--_sbb-train-formation-flex-direction-inverted: row;grid-template:\"start start\" auto \"sectors trains\" 1fr \"end end\" auto;overflow:visible auto;padding-block:unset;padding-inline:var(--sbb-train-formation-padding);gap:0 var(--_sbb-train-formation-sectors-to-train-gap, 0);width:fit-content}:host([orientation=vertical]):before,:host([orientation=vertical]):after{width:auto;height:var(--sbb-train-formation-scroll-padding)}.sbb-train-formation__sectors{display:flex;grid-area:sectors;gap:var(--sbb-train-formation-wagon-gap);flex-direction:var(--_sbb-train-formation-flex-direction)}.sbb-train-formation__sector{--_wagon-sum: var(--sbb-train-formation-wagon-count) * var(--sbb-train-formation-wagon-dimension-long);--_blocked-passage-sum: var(--sbb-train-formation-wagon-blocked-passage-count) * var(--sbb-train-formation-blocked-passage-dimension);--_total-count: calc( var(--sbb-train-formation-wagon-count) + var(--sbb-train-formation-wagon-blocked-passage-count) );--_gap-sum: calc((var(--_total-count) - 1) * var(--sbb-train-formation-wagon-gap));--_sector-width: calc(var(--_wagon-sum) + var(--_blocked-passage-sum) + var(--_gap-sum));--_sector-line-length: calc(.5 * var(--_sector-width));flex:0 0 var(--_sector-width);display:flex;flex-direction:var(--_sbb-train-formation-flex-direction);justify-content:center;overflow:clip visible}:host([orientation=vertical]) .sbb-train-formation__sector{overflow:visible clip}.sbb-train-formation__sector-sticky-wrapper{position:sticky;inset:auto 0;padding:0 var(--sbb-train-formation-sector-padding);margin:0 var(--sbb-train-formation-sector-margin);white-space:nowrap}:host([orientation=vertical]) .sbb-train-formation__sector-sticky-wrapper{writing-mode:sideways-lr;inset:0 auto;padding:var(--sbb-train-formation-sector-padding) 0;margin:var(--sbb-train-formation-sector-margin) 0}.sbb-train-formation__sector-sticky-wrapper:before,.sbb-train-formation__sector-sticky-wrapper:after{content:\"\";position:absolute;inset-block:calc(50% - var(--sbb-train-formation-sector-line-width) / 2);border-block-end:var(--sbb-train-formation-sector-line-width) solid var(--sbb-train-formation-sector-line-color);width:var(--_sector-line-length)}:host([orientation=vertical]) .sbb-train-formation__sector-sticky-wrapper:before,:host([orientation=vertical]) .sbb-train-formation__sector-sticky-wrapper:after{width:auto;height:var(--_sector-line-length)}.sbb-train-formation__sector-sticky-wrapper:before{inset-inline-end:100%}.sbb-train-formation__sector-sticky-wrapper:after{inset-inline-start:100%}.sbb-train-formation__trains{grid-area:trains}.sbb-train-formation__train-list{
|
|
7
|
+
var h = ":host{--sbb-train-formation-scroll-padding: var(--sbb-train-formation-padding);--_sbb-train-formation-wagon-width: var(--sbb-train-formation-wagon-dimension-long);--_sbb-train-formation-wagon-height: var(--sbb-train-formation-wagon-dimension-short);display:grid;grid-template:\"start sectors end\" auto \"start trains end\" auto/auto 1fr auto;position:relative;overflow:auto visible;gap:var(--_sbb-train-formation-sectors-to-train-gap, 0) 0;padding-block:var(--sbb-train-formation-padding);color:var(--sbb-train-formation-text-color);font-size:var(--sbb-text-font-size-xs);letter-spacing:var(--sbb-typo-letter-spacing-text);line-height:var(--sbb-typo-line-height-text)}:host:before,:host:after{content:\"\";display:block;width:var(--sbb-train-formation-scroll-padding)}:host:before{grid-area:start}:host:after{grid-area:end}:host(: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)}:host(:is(:state(has-sectors),[state--has-sectors])){--_sbb-train-formation-sectors-to-train-gap: var(--sbb-train-formation-gap)}:host(:is(:state(has-direction-label),[state--has-direction-label])){--_sbb-train-formation-reserve-spacing-display: block}:host([orientation=vertical]){--_sbb-train-formation-wagon-width: var(--sbb-train-formation-wagon-dimension-short);--_sbb-train-formation-wagon-height: var(--sbb-train-formation-wagon-dimension-long);--_sbb-train-formation-flex-direction: column;--_sbb-train-formation-flex-direction-inverted: row;grid-template:\"start start\" auto \"sectors trains\" 1fr \"end end\" auto;overflow:visible auto;padding-block:unset;padding-inline:var(--sbb-train-formation-padding);gap:0 var(--_sbb-train-formation-sectors-to-train-gap, 0);width:fit-content}:host([orientation=vertical]):before,:host([orientation=vertical]):after{width:auto;height:var(--sbb-train-formation-scroll-padding)}.sbb-train-formation__sectors{display:flex;grid-area:sectors;gap:var(--sbb-train-formation-wagon-gap);flex-direction:var(--_sbb-train-formation-flex-direction)}.sbb-train-formation__sector{--_wagon-sum: var(--sbb-train-formation-wagon-count) * var(--sbb-train-formation-wagon-dimension-long);--_blocked-passage-sum: var(--sbb-train-formation-wagon-blocked-passage-count) * var(--sbb-train-formation-blocked-passage-dimension);--_total-count: calc( var(--sbb-train-formation-wagon-count) + var(--sbb-train-formation-wagon-blocked-passage-count) );--_gap-sum: calc((var(--_total-count) - 1) * var(--sbb-train-formation-wagon-gap));--_sector-width: calc(var(--_wagon-sum) + var(--_blocked-passage-sum) + var(--_gap-sum));--_sector-line-length: calc(.5 * var(--_sector-width));flex:0 0 var(--_sector-width);display:flex;flex-direction:var(--_sbb-train-formation-flex-direction);justify-content:center;overflow:clip visible}:host([orientation=vertical]) .sbb-train-formation__sector{overflow:visible clip}.sbb-train-formation__sector-sticky-wrapper{position:sticky;inset:auto 0;padding:0 var(--sbb-train-formation-sector-padding);margin:0 var(--sbb-train-formation-sector-margin);white-space:nowrap}:host([orientation=vertical]) .sbb-train-formation__sector-sticky-wrapper{writing-mode:sideways-lr;inset:0 auto;padding:var(--sbb-train-formation-sector-padding) 0;margin:var(--sbb-train-formation-sector-margin) 0}.sbb-train-formation__sector-sticky-wrapper:before,.sbb-train-formation__sector-sticky-wrapper:after{content:\"\";position:absolute;inset-block:calc(50% - var(--sbb-train-formation-sector-line-width) / 2);border-block-end:var(--sbb-train-formation-sector-line-width) solid var(--sbb-train-formation-sector-line-color);width:var(--_sector-line-length)}:host([orientation=vertical]) .sbb-train-formation__sector-sticky-wrapper:before,:host([orientation=vertical]) .sbb-train-formation__sector-sticky-wrapper:after{width:auto;height:var(--_sector-line-length)}.sbb-train-formation__sector-sticky-wrapper:before{inset-inline-end:100%}.sbb-train-formation__sector-sticky-wrapper:after{inset-inline-start:100%}.sbb-train-formation__trains{grid-area:trains}.sbb-train-formation__train-list{display:flex;flex-direction:var(--_sbb-train-formation-flex-direction);gap:var(--sbb-train-formation-wagon-gap)}.sbb-train-formation__train-list>:is(li,span){display:inline-flex}", g = (() => {
|
|
8
8
|
let g = l(s), _, v = [], y = [], b, x = [], S = [], C, w = [], T = [];
|
|
9
9
|
return class extends g {
|
|
10
10
|
static {
|
|
@@ -9,7 +9,7 @@ import { SbbIconElement as S } from "./icon.pure.js";
|
|
|
9
9
|
import { SbbTimetableOccupancyIconElement as C } from "./timetable-occupancy-icon.pure.js";
|
|
10
10
|
import { when as w } from "lit/directives/when.js";
|
|
11
11
|
//#region src/elements/train/train-wagon-common.scss?inline
|
|
12
|
-
var T = ":host{--sbb-train-wagon-transition-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-2x) );display:block;font-size:var(--sbb-train-wagon-font-size);letter-spacing:var(--sbb-typo-letter-spacing-text);outline:none!important}:host([wagon-type=closed]){--sbb-train-wagon-crossed-shape-display: block}@media(forced-colors:active){:host([wagon-type=closed]){--sbb-train-wagon-shape-color: GrayText}}:host(:is(:state(view-side),[state--view-side])[wagon-type=wagon-end-left]){--sbb-train-wagon-padding-inline: var(--sbb-spacing-fixed-4x) var(--sbb-spacing-fixed-3x)}:host(:is(:state(view-side),[state--view-side])[wagon-type=wagon-end-right]){--sbb-train-wagon-padding-inline: var(--sbb-spacing-fixed-3x) var(--sbb-spacing-fixed-4x)}:host(:is(:state(view-side),[state--view-side])[wagon-type=locomotive]){--sbb-train-wagon-padding-inline: var(--sbb-spacing-fixed-4x)}:host(:is(:state(view-top),[state--view-top])){--sbb-train-wagon-border-radius: var(--sbb-border-radius-4x)}:host([label]){--_sbb-train-wagon-attributes-max-width: var(--sbb-train-wagon-attributes-max-width)}:host(:not([label])){--_sbb-train-wagon-attributes-justify-content: center}:host(.sbb-active){--sbb-train-wagon-border-width: var(--sbb-border-width-3x)}:host(:is(:state(action),[state--action])){cursor:var(--sbb-cursor-pointer)}@media(forced-colors:active){:host(:is(:state(link),[state--link])){--sbb-train-wagon-shape-color: LinkText}}.sbb-train-wagon-link{outline:none;color:inherit;text-decoration:none}.sbb-train-wagon{display:flex;flex-direction:var(--_sbb-train-formation-flex-direction-inverted);align-items:center;width:var(--_sbb-train-formation-wagon-width);gap:var(--sbb-train-wagon-vertical-gap);position:relative}:host(:is(:state(orientation-vertical),[state--orientation-vertical])) .sbb-train-wagon{width:auto;height:var(--_sbb-train-formation-wagon-height)}.sbb-train-wagon:before{content:\"\";position:absolute;width:var(--_sbb-train-formation-wagon-width);height:var(--_sbb-train-formation-wagon-height);border-radius:var(--sbb-train-wagon-border-radius)}:host(:is(:state(button),[state--button]):focus-visible) .sbb-train-wagon:before,.sbb-train-wagon-link:focus-visible .sbb-train-wagon: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)}.sbb-train-wagon__compartment{
|
|
12
|
+
var T = ":host{--sbb-train-wagon-transition-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-2x) );display:block;font-size:var(--sbb-train-wagon-font-size);letter-spacing:var(--sbb-typo-letter-spacing-text);outline:none!important}:host([wagon-type=closed]){--sbb-train-wagon-crossed-shape-display: block}@media(forced-colors:active){:host([wagon-type=closed]){--sbb-train-wagon-shape-color: GrayText}}:host(:is(:state(view-side),[state--view-side])[wagon-type=wagon-end-left]){--sbb-train-wagon-padding-inline: var(--sbb-spacing-fixed-4x) var(--sbb-spacing-fixed-3x)}:host(:is(:state(view-side),[state--view-side])[wagon-type=wagon-end-right]){--sbb-train-wagon-padding-inline: var(--sbb-spacing-fixed-3x) var(--sbb-spacing-fixed-4x)}:host(:is(:state(view-side),[state--view-side])[wagon-type=locomotive]){--sbb-train-wagon-padding-inline: var(--sbb-spacing-fixed-4x)}:host(:is(:state(view-top),[state--view-top])){--sbb-train-wagon-border-radius: var(--sbb-border-radius-4x)}:host([label]){--_sbb-train-wagon-attributes-max-width: var(--sbb-train-wagon-attributes-max-width)}:host(:not([label])){--_sbb-train-wagon-attributes-justify-content: center}:host(.sbb-active){--sbb-train-wagon-border-width: var(--sbb-border-width-3x)}:host(:is(:state(action),[state--action])){cursor:var(--sbb-cursor-pointer)}@media(forced-colors:active){:host(:is(:state(link),[state--link])){--sbb-train-wagon-shape-color: LinkText}}.sbb-train-wagon-link{outline:none;color:inherit;text-decoration:none}.sbb-train-wagon{display:flex;flex-direction:var(--_sbb-train-formation-flex-direction-inverted);align-items:center;width:var(--_sbb-train-formation-wagon-width);gap:var(--sbb-train-wagon-vertical-gap);position:relative}:host(:is(:state(orientation-vertical),[state--orientation-vertical])) .sbb-train-wagon{width:auto;height:var(--_sbb-train-formation-wagon-height)}.sbb-train-wagon:before{content:\"\";position:absolute;width:var(--_sbb-train-formation-wagon-width);height:var(--_sbb-train-formation-wagon-height);border-radius:var(--sbb-train-wagon-border-radius)}:host(:is(:state(button),[state--button]):focus-visible) .sbb-train-wagon:before,.sbb-train-wagon-link:focus-visible .sbb-train-wagon: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)}.sbb-train-wagon__compartment{display:flex;flex-direction:var(--_sbb-train-formation-flex-direction);justify-content:center;padding-inline:var(--sbb-train-wagon-padding-inline);-webkit-mask-image:var(--_sbb-train-wagon-clip-shape-compartment);mask-image:var(--_sbb-train-wagon-clip-shape-compartment);transition:background-color var(--sbb-train-wagon-transition-duration) var(--sbb-animation-easing)}@media(any-hover:hover){:host(:is(:state(action),[state--action]):hover) .sbb-train-wagon__compartment{background-color:var(--sbb-train-wagon-background-color-hover)}}:host(:is(:state(action),[state--action]):is(:active,:is(:state(active),[state--active]))) .sbb-train-wagon__compartment{background-color:var(--sbb-train-wagon-background-color-active)}.sbb-train-wagon__compartment:has(.sbb-train-wagon__occupancy):has(.sbb-train-wagon__class){justify-content:space-between}:host(:is(:state(orientation-vertical),[state--orientation-vertical])) .sbb-train-wagon__compartment{padding-inline:0;padding-block:var(--sbb-train-wagon-padding-inline)}.sbb-train-wagon__compartment,.sbb-train-wagon__main-icon{width:var(--_sbb-train-formation-wagon-width);height:var(--_sbb-train-formation-wagon-height)}.sbb-train-wagon__shape{position:absolute;inset:0;width:var(--sbb-train-formation-wagon-dimension-long);height:var(--sbb-train-formation-wagon-dimension-short);transform-origin:0 0;will-change:transform}:host(:is(:state(orientation-vertical),[state--orientation-vertical])) .sbb-train-wagon__shape{rotate:-90deg;transform:scaleX(-1)}.sbb-train-wagon__shape{-webkit-mask-image:var(--_sbb-train-wagon-clip-shape);mask-image:var(--_sbb-train-wagon-clip-shape);pointer-events:none;fill:none;stroke:var(--sbb-train-wagon-shape-color);stroke-width:calc(var(--sbb-train-wagon-border-width) * 2)}.sbb-train-wagon__main-icon{--sbb-icon-svg-height: var(--sbb-train-wagon-main-icon-height);position:absolute;inset:0;display:flex;justify-content:center;align-items:center}.sbb-train-wagon__shape-closed{display:var(--sbb-train-wagon-crossed-shape-display, none);stroke-width:var(--sbb-border-width-1x)}.sbb-train-wagon__occupancy,.sbb-train-wagon__class{height:var(--_sbb-train-formation-wagon-height);flex-direction:var(--_sbb-train-formation-flex-direction);display:flex;align-items:center;justify-content:center}:host(:is(:state(orientation-vertical),[state--orientation-vertical])) .sbb-train-wagon__occupancy,:host(:is(:state(orientation-vertical),[state--orientation-vertical])) .sbb-train-wagon__class{height:auto;width:var(--_sbb-train-formation-wagon-width)}.sbb-train-wagon__occupancy{--sbb-icon-svg-height: var(--sbb-train-wagon-occupancy-height);grid-area:occupancy}.sbb-train-wagon__class{gap:.0625rem;order:1}.sbb-train-wagon__class-entry{display:flex;align-items:center;justify-content:center;width:var(--sbb-train-wagon-class-dimension);height:var(--sbb-train-wagon-class-dimension);border:var(--sbb-train-wagon-class-border);background-color:var(--sbb-train-wagon-class-background-color);border-radius:var(--sbb-train-wagon-class-border-radius);font-weight:var(--sbb-train-wagon-class-font-weight);color:var(--sbb-train-wagon-class-color);position:relative;line-height:1}.sbb-train-wagon__class-entry.first:before{content:\"\";position:absolute;background-color:var(--sbb-train-wagon-class-first-color);border-end-end-radius:var(--sbb-train-wagon-class-first-border-radius)}:host(:not(:is(:state(orientation-vertical),[state--orientation-vertical]))) .sbb-train-wagon__class-entry.first:before{height:var(--sbb-train-wagon-class-first-thickness);width:var(--sbb-train-wagon-class-dimension);inset:calc(-.5 * (var(--_sbb-train-formation-wagon-height) - var(--sbb-train-wagon-class-dimension)) + var(--sbb-train-wagon-border-width) - var(--sbb-train-wagon-class-border-width)) 0 auto calc(-1 * var(--sbb-train-wagon-class-border-width));border-end-start-radius:var(--sbb-train-wagon-class-first-border-radius)}:host(:is(:state(orientation-vertical),[state--orientation-vertical])) .sbb-train-wagon__class-entry.first:before{width:var(--sbb-train-wagon-class-first-thickness);height:var(--sbb-train-wagon-class-dimension);inset:calc(-1 * var(--sbb-train-wagon-class-border-width)) auto 0 calc(-.5 * (var(--_sbb-train-formation-wagon-width) - var(--sbb-train-wagon-class-dimension)) + var(--sbb-train-wagon-border-width) - var(--sbb-train-wagon-class-border-width));border-start-end-radius:var(--sbb-train-wagon-class-first-border-radius)}.sbb-train-wagon__information-wrapper{display:flex;align-items:start;flex-direction:var(--_sbb-train-formation-flex-direction);gap:var(--sbb-train-wagon-information-gap)}:host(:is(:state(orientation-vertical),[state--orientation-vertical])) .sbb-train-wagon__information-wrapper{min-width:var(--sbb-train-wagon-information-min-width)}.sbb-train-wagon__information-wrapper[hidden]{display:none}:is(.sbb-train-wagon__label,.sbb-train-wagon__label-divider){margin-block-start:calc(.5 * (1em * var(--sbb-typo-line-height-text) - var(--sbb-train-wagon-font-size)))}:host(:is(:state(orientation-vertical),[state--orientation-vertical])) :is(.sbb-train-wagon__label,.sbb-train-wagon__label-divider){margin-block-start:0}.sbb-train-wagon__label{line-height:1}:host(:is(:state(orientation-vertical),[state--orientation-vertical])) .sbb-train-wagon__label{max-width:var(--sbb-train-wagon-information-min-width);width:100%;text-align:center}.sbb-train-wagon__label-divider{height:var(--sbb-train-wagon-font-size)}:host(:is(:state(orientation-vertical),[state--orientation-vertical])) .sbb-train-wagon__label-divider{height:auto;width:var(--sbb-train-wagon-font-size);margin-inline-start:calc(.5 * (var(--sbb-train-wagon-information-min-width) - var(--sbb-train-wagon-font-size)))}.sbb-train-wagon__attribute-icon-list{--sbb-icon-svg-height: var(--sbb-train-wagon-attribute-icon-height);display:flex;justify-content:var(--_sbb-train-wagon-attributes-justify-content, start);flex-wrap:wrap;gap:var(--sbb-train-wagon-attribute-icon-gap);color:var(--sbb-train-wagon-attribute-icon-color);padding-block-start:calc(.5 * (1em * var(--sbb-typo-line-height-text) - var(--sbb-train-wagon-attribute-icon-height)));max-width:var(--_sbb-train-wagon-attributes-max-width)}:host(:is(:state(orientation-vertical),[state--orientation-vertical])) .sbb-train-wagon__attribute-icon-list{max-width:calc(var(--_sbb-train-wagon-attributes-icon-columns) * var(--sbb-train-wagon-attributes-mean-width));max-height:calc(var(--_sbb-train-wagon-attributes-icon-rows, 3) * var(--sbb-train-wagon-attribute-icon-height) + (var(--_sbb-train-wagon-attributes-icon-rows, 3) - 1) * var(--sbb-train-wagon-attribute-icon-gap));padding-block-start:0;justify-content:center;width:100%}.sbb-train-wagon__attribute-icon-list>:is(li,span){display:inline-flex}", E = {
|
|
13
13
|
couchette: "sa-cc",
|
|
14
14
|
sleeping: "sa-wl",
|
|
15
15
|
restaurant: "sa-wr"
|
|
@@ -6,7 +6,7 @@ import { html as p, unsafeStatic as m } from "lit/static-html.js";
|
|
|
6
6
|
import { SbbIconElement as h } from "./icon.pure.js";
|
|
7
7
|
import { SbbTrainFormationOrientationMixin as g } from "./train/train-formation-orientation-mixin.js";
|
|
8
8
|
//#region src/elements/train/train/train.scss?inline
|
|
9
|
-
var _ = ":host{--sbb-train-direction-label-spacing: var(--sbb-spacing-fixed-1x);--_sbb-train-direction-row-dimension: max(var(--sbb-size-icon-ui-small), 1em * var(--sbb-typo-line-height-text)) ;display:flex;font-size:var(--sbb-text-font-size-xs);letter-spacing:var(--sbb-typo-letter-spacing-text);flex-direction:var(--_sbb-train-formation-flex-direction-inverted);gap:var(--sbb-train-formation-gap);position:relative}:host:before{content:\"\";display:var(--_sbb-train-formation-reserve-spacing-display, none);height:var(--_sbb-train-direction-row-dimension)}:host(:is(:state(orientation-vertical),[state--orientation-vertical])):before{height:auto;width:var(--_sbb-train-direction-row-dimension)}.sbb-train__wagons{
|
|
9
|
+
var _ = ":host{--sbb-train-direction-label-spacing: var(--sbb-spacing-fixed-1x);--_sbb-train-direction-row-dimension: max(var(--sbb-size-icon-ui-small), 1em * var(--sbb-typo-line-height-text)) ;display:flex;font-size:var(--sbb-text-font-size-xs);letter-spacing:var(--sbb-typo-letter-spacing-text);flex-direction:var(--_sbb-train-formation-flex-direction-inverted);gap:var(--sbb-train-formation-gap);position:relative}:host:before{content:\"\";display:var(--_sbb-train-formation-reserve-spacing-display, none);height:var(--_sbb-train-direction-row-dimension)}:host(:is(:state(orientation-vertical),[state--orientation-vertical])):before{height:auto;width:var(--_sbb-train-direction-row-dimension)}.sbb-train__wagons{display:flex;flex-direction:var(--_sbb-train-formation-flex-direction);gap:var(--sbb-train-formation-wagon-gap)}.sbb-train__direction-heading{display:flex;position:absolute;width:100%;flex-direction:var(--_sbb-train-formation-flex-direction)}:host(:is(:state(orientation-vertical),[state--orientation-vertical])) .sbb-train__direction-heading{width:auto;height:100%}.sbb-train__direction-sticky-wrapper{position:sticky;inset-inline-start:0;display:inline-flex;flex-direction:var(--_sbb-train-formation-flex-direction);align-items:center;gap:var(--sbb-train-direction-label-spacing);max-width:100%}:host(:is(:state(orientation-vertical),[state--orientation-vertical])) .sbb-train__direction-sticky-wrapper{inset-inline-start:unset;inset-block-start:0;max-width:unset;max-height:100%}:host([direction=right]) .sbb-train__direction-arrow{transform:scaleX(-1);order:2}:host(:is(:state(orientation-vertical),[state--orientation-vertical])) .sbb-train__direction-arrow{rotate:90deg}.sbb-train__direction-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host(:is(:state(orientation-vertical),[state--orientation-vertical])) .sbb-train__direction-label{writing-mode:sideways-lr}", v = (() => {
|
|
10
10
|
let v = g(s(a)), y, b = [], x = [], S, C = [], w = [], T, E = [], D = [], O, k = [], A = [], j, M = [], N = [];
|
|
11
11
|
return class extends v {
|
|
12
12
|
constructor() {
|
package/train.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as e } from "./train-blocked-passage.component-
|
|
2
|
-
import { t } from "./train-formation.component-
|
|
1
|
+
import { t as e } from "./train-blocked-passage.component-UnNCmspZ.js";
|
|
2
|
+
import { t } from "./train-formation.component-CYqdWnkL.js";
|
|
3
3
|
import { SbbTrainWagonButtonElement as n } from "./train/train-wagon-button/train-wagon-button.component.js";
|
|
4
4
|
import { SbbTrainWagonLinkElement as r } from "./train/train-wagon-link/train-wagon-link.component.js";
|
|
5
5
|
import { SbbTrainWagonElement as i } from "./train/train-wagon/train-wagon.component.js";
|
|
6
|
-
import { t as a } from "./train.component-
|
|
6
|
+
import { t as a } from "./train.component-DRLUjuXY.js";
|
|
7
7
|
import { SbbTrainFormationOrientationMixin as o } from "./train/train-formation-orientation-mixin.js";
|
|
8
|
-
import { t as s } from "./train-wagon-common-
|
|
8
|
+
import { t as s } from "./train-wagon-common-C1Py1D01.js";
|
|
9
9
|
import "./train.pure.js";
|
|
10
10
|
e.define(), a.define(), t.define(), n.define(), r.define(), i.define();
|
|
11
11
|
//#endregion
|
package/train.pure.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as e } from "./train-blocked-passage.component-
|
|
2
|
-
import { t } from "./train-formation.component-
|
|
1
|
+
import { t as e } from "./train-blocked-passage.component-UnNCmspZ.js";
|
|
2
|
+
import { t } from "./train-formation.component-CYqdWnkL.js";
|
|
3
3
|
import { SbbTrainWagonButtonElement as n } from "./train/train-wagon-button/train-wagon-button.component.js";
|
|
4
4
|
import { SbbTrainWagonLinkElement as r } from "./train/train-wagon-link/train-wagon-link.component.js";
|
|
5
5
|
import { SbbTrainWagonElement as i } from "./train/train-wagon/train-wagon.component.js";
|
|
6
|
-
import { t as a } from "./train.component-
|
|
6
|
+
import { t as a } from "./train.component-DRLUjuXY.js";
|
|
7
7
|
import { SbbTrainFormationOrientationMixin as o } from "./train/train-formation-orientation-mixin.js";
|
|
8
|
-
import { t as s } from "./train-wagon-common-
|
|
8
|
+
import { t as s } from "./train-wagon-common-C1Py1D01.js";
|
|
9
9
|
export { e as SbbTrainBlockedPassageElement, a as SbbTrainElement, t as SbbTrainFormationElement, o as SbbTrainFormationOrientationMixin, n as SbbTrainWagonButtonElement, i as SbbTrainWagonElement, r as SbbTrainWagonLinkElement, s as SbbTrainWagonMixin };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../visual-checkbox.component-
|
|
1
|
+
import { t as e } from "../visual-checkbox.component-JmGORoDU.js";
|
|
2
2
|
export { e as SbbVisualCheckboxElement };
|
package/visual-checkbox.js
CHANGED
package/visual-checkbox.pure.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./visual-checkbox.component-
|
|
1
|
+
import { t as e } from "./visual-checkbox.component-JmGORoDU.js";
|
|
2
2
|
export { e as SbbVisualCheckboxElement };
|
package/a11y.css
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
.sbb-screen-reader-only {
|
|
2
|
-
border: 0;
|
|
3
|
-
clip-path: rect(0 0 0 0);
|
|
4
|
-
height: 1px;
|
|
5
|
-
margin: -1px;
|
|
6
|
-
overflow: hidden;
|
|
7
|
-
padding: 0;
|
|
8
|
-
position: absolute;
|
|
9
|
-
white-space: nowrap;
|
|
10
|
-
width: 1px;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
:is(.sbb-focus-outline, .sbb-focus-outline-dark):focus-visible {
|
|
14
|
-
outline-offset: var(--sbb-focus-outline-offset);
|
|
15
|
-
outline: var(--sbb-focus-outline-color) var(--sbb-focus-outline-style, solid) var(--sbb-focus-outline-width);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.sbb-focus-outline-dark:focus-visible {
|
|
19
|
-
--sbb-focus-outline-color: var(--sbb-focus-outline-color-dark);
|
|
20
|
-
}
|
package/animation.css
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
.sbb-disable-animation {
|
|
2
|
-
--sbb-disable-animation-duration: 0s;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.sbb-disable-animation-locally {
|
|
6
|
-
--sbb-disable-animation-duration: 0s;
|
|
7
|
-
}
|
|
8
|
-
.sbb-disable-animation-locally > * {
|
|
9
|
-
--sbb-disable-animation-duration: initial;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.sbb-enable-animation {
|
|
13
|
-
--sbb-disable-animation-duration: initial;
|
|
14
|
-
}
|
package/badge.css
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
[sbb-badge] {
|
|
2
|
-
--sbb-badge-position-offset: calc(var(--sbb-spacing-fixed-2x) * -1);
|
|
3
|
-
position: relative;
|
|
4
|
-
}
|
|
5
|
-
[sbb-badge]::after {
|
|
6
|
-
--sbb-text-font-size: var(--sbb-text-font-size-xxs);
|
|
7
|
-
font-family: var(--sbb-typo-font-family);
|
|
8
|
-
font-weight: normal;
|
|
9
|
-
line-height: var(--sbb-typo-line-height-text);
|
|
10
|
-
letter-spacing: var(--sbb-typo-letter-spacing-text);
|
|
11
|
-
font-size: var(--sbb-text-font-size);
|
|
12
|
-
font-weight: bold;
|
|
13
|
-
display: flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
justify-content: center;
|
|
16
|
-
padding-inline: var(--sbb-spacing-fixed-1x);
|
|
17
|
-
border-radius: var(--sbb-border-radius-infinity);
|
|
18
|
-
background-color: var(--sbb-color-primary);
|
|
19
|
-
color: var(--sbb-color-1-negative);
|
|
20
|
-
min-width: var(--sbb-spacing-fixed-4x);
|
|
21
|
-
max-height: var(--sbb-spacing-fixed-4x);
|
|
22
|
-
outline: var(--sbb-border-width-1x) solid transparent;
|
|
23
|
-
content: attr(sbb-badge);
|
|
24
|
-
position: absolute;
|
|
25
|
-
inset-block-start: var(--sbb-badge-position-offset);
|
|
26
|
-
}
|
|
27
|
-
[sbb-badge]:where([sbb-badge-position=before])::after {
|
|
28
|
-
inset-inline-start: var(--sbb-badge-position-offset);
|
|
29
|
-
}
|
|
30
|
-
[sbb-badge]:where(:not([sbb-badge-position]), [sbb-badge-position=after])::after {
|
|
31
|
-
inset-inline-end: var(--sbb-badge-position-offset);
|
|
32
|
-
}
|
package/core/styles/badge.scss
DELETED