@sbb-esta/lyne-elements-dev 4.7.0-dev.1773648103 → 4.7.0-dev.1773648656
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/accordion/accordion.component.js +2 -98
- package/accordion.component-DmaGQH3Q.js +127 -0
- package/accordion.js +5 -4
- package/accordion.pure.js +2 -4
- package/action-group/action-group.component.js +2 -107
- package/action-group.component-KWugkMGf.js +158 -0
- package/action-group.js +5 -4
- package/action-group.pure.js +2 -4
- package/alert/alert/alert.component.js +2 -143
- package/alert/alert-group/alert-group.component.js +2 -103
- package/alert/alert-group.js +4 -7
- package/alert/alert.js +4 -7
- package/alert-group.component-RV1M1OKy.js +141 -0
- package/alert.component-PPR7hfTi.js +165 -0
- package/alert.js +6 -8
- package/alert.pure.js +3 -6
- package/autocomplete/autocomplete-base-element.js +2 -373
- package/autocomplete/autocomplete.component.js +51 -50
- package/autocomplete-base-element-DVFCZ4lt.js +425 -0
- package/autocomplete.js +7 -7
- package/autocomplete.pure.js +3 -6
- package/block-link-common-D4aizuV-.js +63 -0
- package/breadcrumb/breadcrumb/breadcrumb.component.js +2 -20
- package/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +2 -135
- package/breadcrumb/breadcrumb-group.js +4 -7
- package/breadcrumb/breadcrumb.js +4 -7
- package/breadcrumb-group.component-BA8KK3Om.js +145 -0
- package/breadcrumb.component-DjkZzGJD.js +24 -0
- package/breadcrumb.js +6 -8
- package/breadcrumb.pure.js +3 -6
- package/button/accent-button/accent-button.component.js +18 -14
- package/button/accent-button-link/accent-button-link.component.js +18 -14
- package/button/accent-button-link.js +4 -4
- package/button/accent-button-static/accent-button-static.component.js +17 -13
- package/button/accent-button-static.js +4 -4
- package/button/accent-button.js +4 -4
- package/button/button/button.component.js +18 -14
- package/button/button-link/button-link.component.js +18 -14
- package/button/button-link.js +4 -4
- package/button/button-static/button-static.component.js +18 -14
- package/button/button-static.js +4 -4
- package/button/button.js +4 -4
- package/button/common/button-common.js +81 -67
- package/button/common.js +3 -12
- package/button/mini-button/mini-button.component.js +22 -18
- package/button/mini-button-group/mini-button-group.component.js +2 -68
- package/button/mini-button-group.js +6 -6
- package/button/mini-button-link/mini-button-link.component.js +2 -27
- package/button/mini-button-link.js +6 -6
- package/button/mini-button.js +4 -4
- package/button/secondary-button/secondary-button.component.js +18 -14
- package/button/secondary-button-link/secondary-button-link.component.js +18 -14
- package/button/secondary-button-link.js +6 -6
- package/button/secondary-button-static/secondary-button-static.component.js +18 -14
- package/button/secondary-button-static.js +4 -4
- package/button/secondary-button.js +6 -6
- package/button/transparent-button/transparent-button.component.js +18 -14
- package/button/transparent-button-link/transparent-button-link.component.js +18 -14
- package/button/transparent-button-link.js +6 -6
- package/button/transparent-button-static/transparent-button-static.component.js +18 -14
- package/button/transparent-button-static.js +4 -4
- package/button/transparent-button.js +4 -4
- package/button.js +20 -56
- package/button.pure.js +18 -42
- package/calendar/calendar/calendar.component.js +2 -1227
- package/calendar/calendar-day/calendar-day.component.js +2 -98
- package/calendar/calendar-day.js +4 -7
- package/calendar/calendar.js +4 -9
- package/calendar-day.component-DqAXvoP3.js +113 -0
- package/calendar.component-BgZDy-rX.js +1246 -0
- package/calendar.js +6 -10
- package/calendar.pure.js +3 -7
- package/card/card/card.component.js +2 -48
- package/card/card-badge/card-badge.component.js +2 -48
- package/card/card-badge.js +4 -7
- package/card/card-button/card-button.component.js +11 -10
- package/card/card-button.js +3 -6
- package/card/card-link/card-link.component.js +11 -10
- package/card/card-link.js +3 -6
- package/card/card.js +4 -7
- package/card/common/card-action-common.js +2 -63
- package/card/common.js +5 -6
- package/card-action-common-GpkaNYtV.js +88 -0
- package/card-badge.component-D_PI9Ega.js +65 -0
- package/card.component-Dt2YFmd3.js +62 -0
- package/card.js +9 -16
- package/card.pure.js +5 -11
- package/carousel/carousel/carousel.component.js +2 -88
- package/carousel/carousel-item/carousel-item.component.js +2 -18
- package/carousel/carousel-item.js +4 -7
- package/carousel/carousel-list/carousel-list.component.js +2 -90
- package/carousel/carousel-list.js +4 -7
- package/carousel/carousel.js +4 -7
- package/carousel-item.component-kv3rY8B-.js +25 -0
- package/carousel-list.component-DMMk66SP.js +91 -0
- package/carousel.component-Bd0iGUbf.js +97 -0
- package/carousel.js +7 -11
- package/carousel.pure.js +4 -8
- package/checkbox/checkbox-group.js +2 -3
- package/checkbox/checkbox-panel.js +2 -3
- package/checkbox/checkbox.component.js +3 -91
- package/checkbox/checkbox.js +5 -7
- package/checkbox/common/checkbox-common.js +2 -57
- package/checkbox/common.js +5 -7
- package/checkbox-common-D9htxWLZ.js +68 -0
- package/checkbox-group/checkbox-group.component.js +2 -101
- package/checkbox-group.component-CNAwwaS0.js +146 -0
- package/checkbox-group.js +5 -4
- package/checkbox-group.pure.js +2 -4
- package/checkbox-panel/checkbox-panel.component.js +63 -48
- package/checkbox-panel.js +4 -3
- package/checkbox-panel.pure.js +2 -4
- package/checkbox.component-CJcC5JnN.js +125 -0
- package/checkbox.js +10 -14
- package/checkbox.pure.js +3 -7
- package/chip/chip/chip.component.js +2 -73
- package/chip/chip-group/chip-group.component.js +2 -267
- package/chip/chip-group.js +4 -9
- package/chip/chip.js +4 -7
- package/chip-group.component-D2AZqL3m.js +290 -0
- package/chip-label/chip-label.component.js +2 -56
- package/chip-label.component-DBN4jfW7.js +80 -0
- package/chip-label.js +5 -4
- package/chip-label.pure.js +2 -4
- package/chip.component-BNOs8T6O.js +94 -0
- package/chip.js +6 -10
- package/chip.pure.js +3 -7
- package/clock/clock.component.js +2 -153
- package/clock.component-DDaWbXHW.js +148 -0
- package/clock.js +5 -4
- package/clock.pure.js +2 -4
- package/common-CI_BB6sF.js +5 -0
- package/compact-paginator.component-BxSy5YXY.js +45 -0
- package/container/container/container.component.js +2 -76
- package/container/container.js +4 -7
- package/container/sticky-bar/sticky-bar.component.js +2 -122
- package/container/sticky-bar.js +4 -7
- package/container.component-DXFIvseq.js +117 -0
- package/container.js +6 -8
- package/container.pure.js +3 -6
- package/core/a11y/arrow-navigation.js +45 -33
- package/core/a11y/fake-event-detection.js +8 -9
- package/core/a11y/focus-trap-controller.js +69 -91
- package/core/a11y/focus-visible-within-controller.js +18 -18
- package/core/a11y/focus.js +13 -13
- package/core/a11y/input-modality-detector.js +42 -47
- package/core/a11y/interactivity-checker.js +61 -96
- package/core/a11y/live-announcer.js +29 -40
- package/core/a11y.js +9 -26
- package/core/base-elements/action-base-element.js +29 -37
- package/core/base-elements/button-base-element.js +165 -145
- package/core/base-elements/element.js +28 -63
- package/core/base-elements/link-base-element.js +186 -119
- package/core/base-elements/open-close-base-element.js +40 -42
- package/core/base-elements.js +6 -13
- package/core/config/config.js +8 -9
- package/core/config.js +2 -5
- package/core/controllers/escapable-overlay-controller.js +23 -25
- package/core/controllers/id-reference-controller.js +50 -59
- package/core/controllers/inert-controller.js +55 -57
- package/core/controllers/language-controller.js +53 -38
- package/core/controllers/media-matchers-controller.js +82 -96
- package/core/controllers/overlay-position-controller.js +215 -222
- package/core/controllers/property-watcher-controller.js +55 -59
- package/core/controllers/slot-state-controller.js +34 -36
- package/core/controllers.js +7 -28
- package/core/datetime/date-adapter.js +61 -135
- package/core/datetime/native-date-adapter.js +91 -140
- package/core/datetime/temporal-date-adapter.js +108 -144
- package/core/datetime.js +4 -16
- package/core/decorators/base.js +0 -1
- package/core/decorators/force-type.js +12 -16
- package/core/decorators/get-override.js +10 -13
- package/core/decorators/handle-distinct-change.js +12 -15
- package/core/decorators/host-attributes.js +15 -16
- package/core/decorators/id-reference.js +65 -75
- package/core/decorators/omit-empty-converter.js +7 -9
- package/core/decorators/plain-date.js +21 -25
- package/core/decorators.js +8 -17
- package/core/dom/animation.js +8 -9
- package/core/dom/contains-pierce-shadow-dom.js +10 -11
- package/core/dom/lean-context.js +4 -4
- package/core/dom/platform.js +8 -18
- package/core/dom/queue-dom-content-loaded.js +6 -6
- package/core/dom/scroll.js +14 -16
- package/core/dom/set-or-remove-attribute.js +5 -5
- package/core/dom.js +6 -25
- package/core/eventing/composed-path-has-attribute.js +6 -7
- package/core/eventing/event-target.js +5 -5
- package/core/eventing/form-element-handlers.js +5 -5
- package/core/eventing/forward-event.js +6 -6
- package/core/eventing/is-event-prevented.js +5 -5
- package/core/eventing/throttle.js +10 -10
- package/core/eventing.js +7 -14
- package/core/i18n/i18n.js +634 -738
- package/core/i18n.js +2 -104
- package/core/images.js +14 -14
- package/core/interfaces.js +0 -1
- package/core/mixins/animation-complete-mixin.js +34 -42
- package/core/mixins/constructor.js +0 -1
- package/core/mixins/disabled-mixin.js +91 -74
- package/core/mixins/element-internals-mixin.js +149 -155
- package/core/mixins/form-associated-checkbox-mixin.js +106 -93
- package/core/mixins/form-associated-input-mixin.js +202 -193
- package/core/mixins/form-associated-mixin.js +168 -226
- package/core/mixins/form-associated-radio-button-mixin.js +152 -168
- package/core/mixins/hydration-mixin.js +27 -37
- package/core/mixins/named-slot-list-mixin.js +77 -95
- package/core/mixins/negative-mixin.js +45 -33
- package/core/mixins/panel-mixin.js +109 -70
- package/core/mixins/readonly-mixin.js +40 -34
- package/core/mixins/required-mixin.js +48 -35
- package/core/mixins/selection-panel-mixin.js +36 -39
- package/core/mixins/update-scheduler-mixin.js +20 -21
- package/core/mixins.js +21 -41
- package/core/overlay/overlay-option-panel.js +15 -16
- package/core/overlay/overlay-outside-pointer-event-listener.js +34 -37
- package/core/overlay/overlay-trigger-attributes.js +11 -14
- package/core/overlay/overlay.js +6 -6
- package/core/overlay/position.js +53 -49
- package/core/overlay.js +6 -19
- package/core/styles.js +5 -5
- package/core/testing/event-spy.js +46 -50
- package/core/testing/mocha-extensions.js +7 -10
- package/core/testing/wait-for-condition.js +10 -12
- package/core/testing/wait-for-image-ready.js +15 -16
- package/core/testing/wait-for-render.js +12 -13
- package/core/testing.js +6 -14
- package/custom-elements.json +746 -746
- package/date-input/date-input.component.js +2 -166
- package/date-input.component-zZtnd9Og.js +205 -0
- package/date-input.js +5 -4
- package/date-input.pure.js +2 -4
- package/datepicker/common/datepicker-button.js +2 -102
- package/datepicker/common.js +5 -8
- package/datepicker/datepicker/datepicker.component.js +2 -120
- package/datepicker/datepicker-next-day/datepicker-next-day.component.js +27 -23
- package/datepicker/datepicker-next-day.js +3 -6
- package/datepicker/datepicker-previous-day/datepicker-previous-day.component.js +27 -23
- package/datepicker/datepicker-previous-day.js +3 -6
- package/datepicker/datepicker-toggle/datepicker-toggle.component.js +66 -51
- package/datepicker/datepicker-toggle.js +3 -6
- package/datepicker/datepicker.js +4 -7
- package/datepicker-button-C1TrzFl-.js +109 -0
- package/datepicker.component-cmdnlVgf.js +156 -0
- package/datepicker.js +9 -18
- package/datepicker.pure.js +5 -13
- package/development/accordion/accordion.component.js +2 -132
- package/development/accordion.component-BIFcgIa0.js +172 -0
- package/development/accordion.js +8 -5
- package/development/accordion.pure.js +2 -5
- package/development/action-group/action-group.component.js +2 -305
- package/development/action-group.component-CuhO6yb9.js +379 -0
- package/development/action-group.js +8 -5
- package/development/action-group.pure.js +2 -5
- package/development/alert/alert/alert.component.js +2 -385
- package/development/alert/alert-group/alert-group.component.js +2 -166
- package/development/alert/alert-group.js +7 -5
- package/development/alert/alert.js +7 -5
- package/development/alert-group.component-BlrlsRB8.js +219 -0
- package/development/alert.component-CJ2yLyOY.js +411 -0
- package/development/alert.js +9 -7
- package/development/alert.pure.js +3 -7
- package/development/autocomplete/autocomplete-base-element.js +2 -897
- package/development/autocomplete/autocomplete.component.js +82 -72
- package/development/autocomplete-base-element-DCfmuVY6.js +960 -0
- package/development/autocomplete.js +8 -6
- package/development/autocomplete.pure.js +2 -6
- package/development/block-link-common-FvD8So7p.js +145 -0
- package/development/breadcrumb/breadcrumb/breadcrumb.component.js +2 -77
- package/development/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +2 -263
- package/development/breadcrumb/breadcrumb-group.js +7 -5
- package/development/breadcrumb/breadcrumb.js +7 -5
- package/development/breadcrumb-group.component-DjsoMTPI.js +278 -0
- package/development/breadcrumb.component-DvOf-PiO.js +89 -0
- package/development/breadcrumb.js +9 -7
- package/development/breadcrumb.pure.js +3 -7
- package/development/button/accent-button/accent-button.component.js +24 -13
- package/development/button/accent-button-link/accent-button-link.component.js +24 -13
- package/development/button/accent-button-link.js +9 -7
- package/development/button/accent-button-static/accent-button-static.component.js +24 -13
- package/development/button/accent-button-static.js +9 -7
- package/development/button/accent-button.js +9 -7
- package/development/button/button/button.component.js +23 -12
- package/development/button/button-link/button-link.component.js +23 -12
- package/development/button/button-link.js +9 -7
- package/development/button/button-static/button-static.component.js +23 -12
- package/development/button/button-static.js +9 -7
- package/development/button/button.js +9 -7
- package/development/button/common/button-common.js +104 -85
- package/development/button/common.js +2 -12
- package/development/button/mini-button/mini-button.component.js +28 -17
- package/development/button/mini-button-group/mini-button-group.component.js +2 -141
- package/development/button/mini-button-group.js +9 -7
- package/development/button/mini-button-link/mini-button-link.component.js +2 -34
- package/development/button/mini-button-link.js +9 -7
- package/development/button/mini-button.js +9 -7
- package/development/button/secondary-button/secondary-button.component.js +23 -12
- package/development/button/secondary-button-link/secondary-button-link.component.js +23 -12
- package/development/button/secondary-button-link.js +9 -7
- package/development/button/secondary-button-static/secondary-button-static.component.js +23 -12
- package/development/button/secondary-button-static.js +9 -7
- package/development/button/secondary-button.js +9 -7
- package/development/button/transparent-button/transparent-button.component.js +23 -12
- package/development/button/transparent-button-link/transparent-button-link.component.js +23 -12
- package/development/button/transparent-button-link.js +9 -7
- package/development/button/transparent-button-static/transparent-button-static.component.js +23 -12
- package/development/button/transparent-button-static.js +9 -7
- package/development/button/transparent-button.js +9 -7
- package/development/button.js +10 -29
- package/development/button.pure.js +4 -29
- package/development/calendar/calendar/calendar.component.js +2 -1984
- package/development/calendar/calendar-day/calendar-day.component.js +2 -248
- package/development/calendar/calendar-day.js +7 -5
- package/development/calendar/calendar.js +7 -7
- package/development/calendar-day.component-De9Xn3-q.js +283 -0
- package/development/calendar.component-PHpgLc0z.js +2458 -0
- package/development/calendar.js +9 -9
- package/development/calendar.pure.js +3 -8
- package/development/card/card/card.component.js +2 -233
- package/development/card/card-badge/card-badge.component.js +2 -119
- package/development/card/card-badge.js +7 -5
- package/development/card/card-button/card-button.component.js +19 -11
- package/development/card/card-button.js +6 -4
- package/development/card/card-link/card-link.component.js +19 -11
- package/development/card/card-link.js +6 -4
- package/development/card/card.js +7 -5
- package/development/card/common/card-action-common.js +2 -121
- package/development/card/common.js +6 -5
- package/development/card-action-common-DqBn3bPy.js +147 -0
- package/development/card-badge.component-Cs4dow18.js +146 -0
- package/development/card.component-CeOZXXWU.js +258 -0
- package/development/card.js +10 -11
- package/development/card.pure.js +4 -11
- package/development/carousel/carousel/carousel.component.js +2 -160
- package/development/carousel/carousel-item/carousel-item.component.js +2 -32
- package/development/carousel/carousel-item.js +7 -5
- package/development/carousel/carousel-list/carousel-list.component.js +2 -157
- package/development/carousel/carousel-list.js +7 -5
- package/development/carousel/carousel.js +7 -5
- package/development/carousel-item.component-DOIXA2QK.js +47 -0
- package/development/carousel-list.component-7Z3dYtAF.js +160 -0
- package/development/carousel.component-b4C-hxkj.js +169 -0
- package/development/carousel.js +10 -9
- package/development/carousel.pure.js +4 -9
- package/development/checkbox/checkbox-group.js +5 -1
- package/development/checkbox/checkbox-panel.js +5 -1
- package/development/checkbox/checkbox.component.js +3 -141
- package/development/checkbox/checkbox.js +8 -5
- package/development/checkbox/common/checkbox-common.js +2 -137
- package/development/checkbox/common.js +6 -6
- package/development/checkbox-common-DD7r8g0_.js +147 -0
- package/development/checkbox-group/checkbox-group.component.js +2 -212
- package/development/checkbox-group.component-CRZO7CEc.js +265 -0
- package/development/checkbox-group.js +8 -5
- package/development/checkbox-group.pure.js +2 -5
- package/development/checkbox-panel/checkbox-panel.component.js +81 -54
- package/development/checkbox-panel.js +7 -4
- package/development/checkbox-panel.pure.js +1 -4
- package/development/checkbox.component-B43Akyck.js +193 -0
- package/development/checkbox.js +12 -11
- package/development/checkbox.pure.js +3 -8
- package/development/chip/chip/chip.component.js +2 -164
- package/development/chip/chip-group/chip-group.component.js +2 -464
- package/development/chip/chip-group.js +7 -7
- package/development/chip/chip.js +7 -5
- package/development/chip-group.component-DzCCcoOw.js +506 -0
- package/development/chip-label/chip-label.component.js +2 -131
- package/development/chip-label.component-jN_Fulv_.js +165 -0
- package/development/chip-label.js +8 -5
- package/development/chip-label.pure.js +2 -5
- package/development/chip.component-Bn7ffNEr.js +191 -0
- package/development/chip.js +9 -9
- package/development/chip.pure.js +3 -8
- package/development/clock/clock.component.js +2 -362
- package/development/clock.component-btjeVAaa.js +392 -0
- package/development/clock.js +8 -5
- package/development/clock.pure.js +2 -5
- package/development/common-Da_cep8M.js +565 -0
- package/development/compact-paginator.component-CCDP0TMd.js +96 -0
- package/development/container/container/container.component.js +2 -182
- package/development/container/container.js +7 -5
- package/development/container/sticky-bar/sticky-bar.component.js +2 -357
- package/development/container/sticky-bar.js +7 -5
- package/development/container.component-CVm8-HZ4.js +238 -0
- package/development/container.js +9 -7
- package/development/container.pure.js +3 -7
- package/development/core/a11y/arrow-navigation.js +67 -28
- package/development/core/a11y/fake-event-detection.js +10 -8
- package/development/core/a11y/focus-trap-controller.js +104 -120
- package/development/core/a11y/focus-visible-within-controller.js +25 -24
- package/development/core/a11y/focus.js +14 -13
- package/development/core/a11y/input-modality-detector.js +128 -75
- package/development/core/a11y/interactivity-checker.js +115 -108
- package/development/core/a11y/live-announcer.js +76 -80
- package/development/core/a11y.js +3 -21
- package/development/core/base-elements/action-base-element.js +37 -42
- package/development/core/base-elements/button-base-element.js +247 -205
- package/development/core/base-elements/element.js +69 -67
- package/development/core/base-elements/link-base-element.js +226 -150
- package/development/core/base-elements/open-close-base-element.js +54 -49
- package/development/core/base-elements.js +2 -10
- package/development/core/config/config.js +9 -11
- package/development/core/config.js +1 -5
- package/development/core/controllers/escapable-overlay-controller.js +34 -36
- package/development/core/controllers/id-reference-controller.js +76 -81
- package/development/core/controllers/inert-controller.js +99 -105
- package/development/core/controllers/language-controller.js +76 -66
- package/development/core/controllers/media-matchers-controller.js +145 -138
- package/development/core/controllers/overlay-position-controller.js +297 -283
- package/development/core/controllers/property-watcher-controller.js +94 -119
- package/development/core/controllers/slot-state-controller.js +75 -63
- package/development/core/controllers.js +1 -23
- package/development/core/datetime/date-adapter.js +143 -166
- package/development/core/datetime/native-date-adapter.js +142 -148
- package/development/core/datetime/temporal-date-adapter.js +162 -149
- package/development/core/datetime.js +1 -14
- package/development/core/decorators/base.js +0 -2
- package/development/core/decorators/force-type.js +24 -27
- package/development/core/decorators/get-override.js +17 -17
- package/development/core/decorators/handle-distinct-change.js +20 -21
- package/development/core/decorators/host-attributes.js +37 -26
- package/development/core/decorators/id-reference.js +115 -114
- package/development/core/decorators/omit-empty-converter.js +13 -9
- package/development/core/decorators/plain-date.js +36 -31
- package/development/core/decorators.js +1 -11
- package/development/core/dom/animation.js +8 -9
- package/development/core/dom/contains-pierce-shadow-dom.js +12 -12
- package/development/core/dom/lean-context.js +9 -5
- package/development/core/dom/platform.js +35 -28
- package/development/core/dom/queue-dom-content-loaded.js +11 -10
- package/development/core/dom/scroll.js +34 -34
- package/development/core/dom/set-or-remove-attribute.js +13 -9
- package/development/core/dom.js +1 -21
- package/development/core/eventing/composed-path-has-attribute.js +17 -10
- package/development/core/eventing/event-target.js +7 -5
- package/development/core/eventing/form-element-handlers.js +10 -7
- package/development/core/eventing/forward-event.js +12 -7
- package/development/core/eventing/is-event-prevented.js +8 -6
- package/development/core/eventing/throttle.js +16 -17
- package/development/core/eventing.js +1 -9
- package/development/core/i18n/i18n.js +770 -875
- package/development/core/i18n.js +1 -104
- package/development/core/images.js +20 -15
- package/development/core/interfaces.js +0 -2
- package/development/core/mixins/animation-complete-mixin.js +55 -51
- package/development/core/mixins/constructor.js +0 -2
- package/development/core/mixins/disabled-mixin.js +124 -101
- package/development/core/mixins/element-internals-mixin.js +212 -225
- package/development/core/mixins/form-associated-checkbox-mixin.js +160 -141
- package/development/core/mixins/form-associated-input-mixin.js +334 -314
- package/development/core/mixins/form-associated-mixin.js +287 -279
- package/development/core/mixins/form-associated-radio-button-mixin.js +260 -247
- package/development/core/mixins/hydration-mixin.js +58 -55
- package/development/core/mixins/named-slot-list-mixin.js +116 -114
- package/development/core/mixins/negative-mixin.js +56 -41
- package/development/core/mixins/panel-mixin.js +142 -93
- package/development/core/mixins/readonly-mixin.js +54 -43
- package/development/core/mixins/required-mixin.js +65 -46
- package/development/core/mixins/selection-panel-mixin.js +50 -55
- package/development/core/mixins/update-scheduler-mixin.js +30 -25
- package/development/core/mixins.js +10 -29
- package/development/core/overlay/overlay-option-panel.js +34 -26
- package/development/core/overlay/overlay-outside-pointer-event-listener.js +64 -60
- package/development/core/overlay/overlay-trigger-attributes.js +42 -39
- package/development/core/overlay/overlay.js +10 -5
- package/development/core/overlay/position.js +143 -117
- package/development/core/overlay.js +2 -16
- package/development/core/styles.js +6 -5
- package/development/core/testing/event-spy.js +66 -67
- package/development/core/testing/mocha-extensions.js +15 -13
- package/development/core/testing/wait-for-condition.js +14 -17
- package/development/core/testing/wait-for-image-ready.js +20 -27
- package/development/core/testing/wait-for-render.js +30 -18
- package/development/core/testing.js +1 -10
- package/development/date-input/date-input.component.js +2 -278
- package/development/date-input.component-CqsEOZfb.js +338 -0
- package/development/date-input.js +8 -5
- package/development/date-input.pure.js +2 -5
- package/development/datepicker/common/datepicker-button.js +2 -155
- package/development/datepicker/common.js +6 -7
- package/development/datepicker/datepicker/datepicker.component.js +2 -180
- package/development/datepicker/datepicker-next-day/datepicker-next-day.component.js +35 -30
- package/development/datepicker/datepicker-next-day.js +6 -4
- package/development/datepicker/datepicker-previous-day/datepicker-previous-day.component.js +35 -30
- package/development/datepicker/datepicker-previous-day.js +6 -4
- package/development/datepicker/datepicker-toggle/datepicker-toggle.component.js +79 -67
- package/development/datepicker/datepicker-toggle.js +6 -4
- package/development/datepicker/datepicker.js +7 -5
- package/development/datepicker-button-BORzfDaA.js +167 -0
- package/development/datepicker.component-CuFtPZg9.js +223 -0
- package/development/datepicker.js +9 -12
- package/development/datepicker.pure.js +3 -12
- package/development/dialog/dialog/dialog.component.js +2 -383
- package/development/dialog/dialog-actions/dialog-actions.component.js +2 -42
- package/development/dialog/dialog-actions.js +7 -5
- package/development/dialog/dialog-close-button/dialog-close-button.component.js +2 -36
- package/development/dialog/dialog-close-button.js +7 -5
- package/development/dialog/dialog-content/dialog-content.component.js +2 -31
- package/development/dialog/dialog-content.js +7 -5
- package/development/dialog/dialog-title/dialog-title.component.js +2 -39
- package/development/dialog/dialog-title.js +7 -5
- package/development/dialog/dialog.js +7 -8
- package/development/dialog-actions.component-Mbx-Bs3t.js +55 -0
- package/development/dialog-close-button.component-B1dPHPy2.js +48 -0
- package/development/dialog-content.component-qP09Yo_N.js +42 -0
- package/development/dialog-title.component-B4u2w8h5.js +50 -0
- package/development/dialog.component-DaM1FSHB.js +403 -0
- package/development/dialog.js +12 -16
- package/development/dialog.pure.js +6 -16
- package/development/divider/divider.component.js +2 -73
- package/development/divider.component-Ddzlu6Fw.js +95 -0
- package/development/divider.js +8 -5
- package/development/divider.pure.js +2 -5
- package/development/error.component-C76eZnXo.js +93 -0
- package/development/expansion-panel/expansion-panel/expansion-panel.component.js +2 -417
- package/development/expansion-panel/expansion-panel-content/expansion-panel-content.component.js +2 -70
- package/development/expansion-panel/expansion-panel-content.js +7 -5
- package/development/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +2 -170
- package/development/expansion-panel/expansion-panel-header.js +7 -5
- package/development/expansion-panel/expansion-panel.js +7 -5
- package/development/expansion-panel-content.component-DTZk3ZKL.js +77 -0
- package/development/expansion-panel-header.component-C7ymZCux.js +175 -0
- package/development/expansion-panel.component-xUWTKeaC.js +489 -0
- package/development/expansion-panel.js +10 -9
- package/development/expansion-panel.pure.js +4 -9
- package/development/file-selector/common/file-selector-common.js +2 -431
- package/development/file-selector/common.js +6 -6
- package/development/file-selector/file-selector/file-selector.component.js +27 -18
- package/development/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +2 -126
- package/development/file-selector/file-selector-dropzone.js +7 -5
- package/development/file-selector/file-selector.js +6 -4
- package/development/file-selector-common-qMfAccOd.js +512 -0
- package/development/file-selector-dropzone.component-HDUIUSQI.js +154 -0
- package/development/file-selector.js +9 -9
- package/development/file-selector.pure.js +3 -9
- package/development/flip-card/flip-card/flip-card.component.js +2 -306
- package/development/flip-card/flip-card-details/flip-card-details.component.js +2 -69
- package/development/flip-card/flip-card-details.js +7 -5
- package/development/flip-card/flip-card-summary/flip-card-summary.component.js +2 -124
- package/development/flip-card/flip-card-summary.js +7 -5
- package/development/flip-card/flip-card.js +7 -5
- package/development/flip-card-details.component-BilGh5Yb.js +85 -0
- package/development/flip-card-summary.component-DDDnvs_c.js +151 -0
- package/development/flip-card.component-CdRzb7IT.js +334 -0
- package/development/flip-card.js +10 -9
- package/development/flip-card.pure.js +4 -9
- package/development/footer/footer.component.js +2 -251
- package/development/footer.component-C057PwF1.js +310 -0
- package/development/footer.js +8 -5
- package/development/footer.pure.js +2 -5
- package/development/form-field/error/error.component.js +2 -83
- package/development/form-field/error.js +7 -5
- package/development/form-field/form-field/form-field.component.js +2 -892
- package/development/form-field/form-field-clear/form-field-clear.component.js +49 -41
- package/development/form-field/form-field-clear.js +6 -4
- package/development/form-field/form-field.js +7 -7
- package/development/form-field.component-D4dQ8sCh.js +1009 -0
- package/development/form-field.js +9 -10
- package/development/form-field.pure.js +3 -9
- package/development/header/common/header-action-common.js +2 -329
- package/development/header/common.js +6 -5
- package/development/header/header/header.component.js +2 -385
- package/development/header/header-button/header-button.component.js +15 -7
- package/development/header/header-button.js +6 -4
- package/development/header/header-environment/header-environment.component.js +2 -88
- package/development/header/header-environment.js +7 -5
- package/development/header/header-link/header-link.component.js +15 -7
- package/development/header/header-link.js +6 -4
- package/development/header/header.js +7 -5
- package/development/header-action-common-Dff8K0RB.js +346 -0
- package/development/header-environment.component-DYnJkxCZ.js +101 -0
- package/development/header.component-DYls7wGO.js +446 -0
- package/development/header.js +10 -11
- package/development/header.pure.js +4 -11
- package/development/icon/icon-base.js +2 -174
- package/development/icon/icon-name-mixin.js +75 -59
- package/development/icon/icon-request.js +31 -38
- package/development/icon/icon-validate.js +36 -45
- package/development/icon/icon.component.js +119 -94
- package/development/icon-base-CcQCgmqX.js +206 -0
- package/development/icon-sidebar/icon-sidebar/icon-sidebar.component.js +2 -74
- package/development/icon-sidebar/icon-sidebar-button/icon-sidebar-button.component.js +25 -15
- package/development/icon-sidebar/icon-sidebar-button.js +6 -4
- package/development/icon-sidebar/icon-sidebar-container/icon-sidebar-container.component.js +2 -30
- package/development/icon-sidebar/icon-sidebar-container.js +7 -5
- package/development/icon-sidebar/icon-sidebar-content/icon-sidebar-content.component.js +2 -22
- package/development/icon-sidebar/icon-sidebar-content.js +7 -5
- package/development/icon-sidebar/icon-sidebar-link/icon-sidebar-link.component.js +25 -15
- package/development/icon-sidebar/icon-sidebar-link.js +6 -4
- package/development/icon-sidebar/icon-sidebar.js +7 -5
- package/development/icon-sidebar-container.component-BJHjpF-Q.js +41 -0
- package/development/icon-sidebar-content.component-C2wreczL.js +33 -0
- package/development/icon-sidebar.component-PcmjRlDp.js +100 -0
- package/development/icon-sidebar.js +10 -11
- package/development/icon-sidebar.pure.js +4 -11
- package/development/icon.js +10 -12
- package/development/icon.pure.js +4 -12
- package/development/image/image.component.js +2 -648
- package/development/image.component-fvsSR3Df.js +820 -0
- package/development/image.js +8 -5
- package/development/image.pure.js +2 -5
- package/development/inline-link-common-CyTcO5MN.js +52 -0
- package/development/journey-header/journey-header.component.js +2 -158
- package/development/journey-header.component-BB8WYOqH.js +217 -0
- package/development/journey-header.js +8 -5
- package/development/journey-header.pure.js +2 -5
- package/development/lead-container/lead-container.component.js +2 -108
- package/development/lead-container.component-BGf8oqw7.js +122 -0
- package/development/lead-container.js +8 -5
- package/development/lead-container.pure.js +2 -5
- package/development/link/block-link/block-link.component.js +15 -7
- package/development/link/block-link-button/block-link-button.component.js +15 -7
- package/development/link/block-link-button.js +9 -7
- package/development/link/block-link-static/block-link-static.component.js +15 -7
- package/development/link/block-link-static.js +9 -7
- package/development/link/block-link.js +9 -7
- package/development/link/common/block-link-common.js +3 -124
- package/development/link/common/inline-link-common.js +3 -44
- package/development/link/common/link-common.js +2 -10
- package/development/link/common.js +4 -9
- package/development/link/link/link.component.js +14 -7
- package/development/link/link-button/link-button.component.js +14 -7
- package/development/link/link-button.js +9 -7
- package/development/link/link-static/link-static.component.js +14 -7
- package/development/link/link-static.js +9 -7
- package/development/link/link.js +9 -7
- package/development/link-common-5ob2nFyv.js +124 -0
- package/development/link-list/common/link-list-base.js +2 -131
- package/development/link-list/common.js +6 -6
- package/development/link-list/link-list-anchor.js +8 -5
- package/development/link-list/link-list.component.js +3 -152
- package/development/link-list/link-list.js +8 -5
- package/development/link-list-anchor/link-list-anchor.component.js +2 -61
- package/development/link-list-anchor.component-rAMp5_jH.js +77 -0
- package/development/link-list-anchor.js +8 -5
- package/development/link-list-anchor.pure.js +2 -5
- package/development/link-list-base-DxYNcAX7.js +172 -0
- package/development/link-list.component-DD6UjlwD.js +194 -0
- package/development/link-list.js +11 -9
- package/development/link-list.pure.js +3 -8
- package/development/link.js +10 -15
- package/development/link.pure.js +5 -15
- package/development/loading-indicator/loading-indicator.component.js +2 -243
- package/development/loading-indicator-circle/loading-indicator-circle.component.js +2 -120
- package/development/loading-indicator-circle.component-CS32gPvE.js +144 -0
- package/development/loading-indicator-circle.js +8 -5
- package/development/loading-indicator-circle.pure.js +2 -5
- package/development/loading-indicator.component-CTRZkUdX.js +278 -0
- package/development/loading-indicator.js +8 -5
- package/development/loading-indicator.pure.js +2 -5
- package/development/logo/logo.component.js +2 -129
- package/development/logo.component-Cp-EyVpA.js +166 -0
- package/development/logo.js +8 -5
- package/development/logo.pure.js +2 -5
- package/development/map-container/map-container.component.js +2 -264
- package/development/map-container.component-BEAIuo5H.js +307 -0
- package/development/map-container.js +8 -5
- package/development/map-container.pure.js +2 -5
- package/development/menu/common/menu-action-common.js +2 -144
- package/development/menu/common.js +6 -5
- package/development/menu/menu/menu.component.js +2 -683
- package/development/menu/menu-button/menu-button.component.js +20 -8
- package/development/menu/menu-button.js +6 -4
- package/development/menu/menu-link/menu-link.component.js +21 -11
- package/development/menu/menu-link.js +6 -4
- package/development/menu/menu.js +7 -5
- package/development/menu-action-common-CyBv0NwR.js +148 -0
- package/development/menu.component-GHJHhE9D.js +638 -0
- package/development/menu.js +9 -9
- package/development/menu.pure.js +3 -9
- package/development/message/message.component.js +2 -67
- package/development/message.component-uv9eI2gl.js +82 -0
- package/development/message.js +8 -5
- package/development/message.pure.js +2 -5
- package/development/mini-button-group.component-ytJZBjmr.js +174 -0
- package/development/mini-button-link.component-DZOOdeZt.js +47 -0
- package/development/mini-calendar/mini-calendar/mini-calendar.component.js +2 -188
- package/development/mini-calendar/mini-calendar-day/mini-calendar-day.component.js +2 -166
- package/development/mini-calendar/mini-calendar-day.js +7 -5
- package/development/mini-calendar/mini-calendar-month/mini-calendar-month.component.js +2 -135
- package/development/mini-calendar/mini-calendar-month.js +7 -5
- package/development/mini-calendar/mini-calendar.js +7 -5
- package/development/mini-calendar-day.component-DLP7Pa6R.js +213 -0
- package/development/mini-calendar-month.component-C1jsGlJ2.js +150 -0
- package/development/mini-calendar.component-BzqjMchx.js +192 -0
- package/development/mini-calendar.js +10 -9
- package/development/mini-calendar.pure.js +4 -9
- package/development/navigation/common/navigation-action-common.js +2 -165
- package/development/navigation/common.js +6 -5
- package/development/navigation/navigation/navigation.component.js +2 -571
- package/development/navigation/navigation-button/navigation-button.component.js +14 -7
- package/development/navigation/navigation-button.js +6 -4
- package/development/navigation/navigation-link/navigation-link.component.js +14 -7
- package/development/navigation/navigation-link.js +6 -4
- package/development/navigation/navigation-list/navigation-list.component.js +2 -102
- package/development/navigation/navigation-list.js +7 -5
- package/development/navigation/navigation-marker/navigation-marker.component.js +2 -199
- package/development/navigation/navigation-marker.js +7 -5
- package/development/navigation/navigation-section/navigation-section.component.js +2 -588
- package/development/navigation/navigation-section.js +7 -5
- package/development/navigation/navigation.js +7 -5
- package/development/navigation-action-common-saGbvoji.js +178 -0
- package/development/navigation-list.component-AFM4omXQ.js +124 -0
- package/development/navigation-marker.component-BvC73IoI.js +207 -0
- package/development/navigation-section.component-B-6XU2X5.js +600 -0
- package/development/navigation.component-_gUhpPyO.js +585 -0
- package/development/navigation.js +12 -15
- package/development/navigation.pure.js +6 -15
- package/development/notification/notification.component.js +2 -496
- package/development/notification.component-B5EBKKf8.js +530 -0
- package/development/notification.js +8 -5
- package/development/notification.pure.js +2 -5
- package/development/optgroup-base-element-CjwAXrC5.js +181 -0
- package/development/option/optgroup/optgroup-base-element.js +2 -159
- package/development/option/optgroup/optgroup.component.js +40 -37
- package/development/option/optgroup.js +7 -6
- package/development/option/option/option-base-element.js +349 -276
- package/development/option/option/option.component.js +2 -241
- package/development/option/option-hint/option-hint.component.js +2 -44
- package/development/option/option-hint.js +7 -5
- package/development/option/option.js +7 -6
- package/development/option-hint.component-CHS5Z_sK.js +55 -0
- package/development/option.component-BvOsW8Gn.js +248 -0
- package/development/option.js +10 -11
- package/development/option.pure.js +4 -11
- package/development/overlay/overlay-base-element.js +238 -247
- package/development/overlay/overlay.component.js +2 -374
- package/development/overlay.component-RS_v3xaA.js +411 -0
- package/development/overlay.js +8 -9
- package/development/overlay.pure.js +2 -9
- package/development/paginator/common/paginator-common.js +376 -272
- package/development/paginator/common.js +5 -4
- package/development/paginator/compact-paginator/compact-paginator.component.js +2 -87
- package/development/paginator/compact-paginator.js +7 -5
- package/development/paginator/paginator/paginator.component.js +2 -444
- package/development/paginator/paginator.js +7 -5
- package/development/paginator.component-cRqJW9bc.js +492 -0
- package/development/paginator.js +9 -8
- package/development/paginator.pure.js +3 -8
- package/development/popover/popover.component.js +2 -718
- package/development/popover.component-BTfbUEzF.js +745 -0
- package/development/popover.js +8 -7
- package/development/popover.pure.js +2 -6
- package/development/radio-button/common/radio-button-common.js +2 -203
- package/development/radio-button/common.js +6 -6
- package/development/radio-button/radio-button-group.js +5 -1
- package/development/radio-button/radio-button-panel.js +5 -1
- package/development/radio-button/radio-button.component.js +3 -97
- package/development/radio-button/radio-button.js +8 -5
- package/development/radio-button-common-CjbP9yKf.js +231 -0
- package/development/radio-button-group/radio-button-group.component.js +2 -308
- package/development/radio-button-group.component-5jDkRqSJ.js +404 -0
- package/development/radio-button-group.js +8 -5
- package/development/radio-button-group.pure.js +2 -5
- package/development/radio-button-panel/radio-button-panel.component.js +106 -82
- package/development/radio-button-panel.js +7 -4
- package/development/radio-button-panel.pure.js +1 -4
- package/development/radio-button.component-CVATlwTb.js +137 -0
- package/development/radio-button.js +12 -11
- package/development/radio-button.pure.js +3 -8
- package/development/sbb-tokens-Dajio3u-.js +13 -0
- package/development/screen-reader-only/screen-reader-only.component.js +2 -25
- package/development/screen-reader-only.component-D-KOAjrF.js +36 -0
- package/development/screen-reader-only.js +8 -5
- package/development/screen-reader-only.pure.js +2 -5
- package/development/select/select.component.js +2 -1087
- package/development/select.component-DyF5Tw3J.js +1084 -0
- package/development/select.js +8 -5
- package/development/select.pure.js +2 -5
- package/development/selection-action-panel/selection-action-panel.component.js +2 -125
- package/development/selection-action-panel.component-elyz1Xsb.js +134 -0
- package/development/selection-action-panel.js +8 -5
- package/development/selection-action-panel.pure.js +2 -5
- package/development/selection-expansion-panel/selection-expansion-panel.component.js +2 -306
- package/development/selection-expansion-panel.component-hL2jyaAT.js +326 -0
- package/development/selection-expansion-panel.js +8 -5
- package/development/selection-expansion-panel.pure.js +2 -5
- package/development/sidebar/common/styles.js +2 -7
- package/development/sidebar/common.js +6 -7
- package/development/sidebar/sidebar/sidebar.component.js +2 -473
- package/development/sidebar/sidebar-close-button/sidebar-close-button.component.js +2 -36
- package/development/sidebar/sidebar-close-button.js +7 -5
- package/development/sidebar/sidebar-container/sidebar-container.component.js +2 -147
- package/development/sidebar/sidebar-container.js +7 -5
- package/development/sidebar/sidebar-content/sidebar-content.component.js +2 -25
- package/development/sidebar/sidebar-content.js +7 -5
- package/development/sidebar/sidebar-title/sidebar-title.component.js +2 -53
- package/development/sidebar/sidebar-title.js +7 -5
- package/development/sidebar/sidebar.js +7 -5
- package/development/sidebar-close-button.component-j4wY_hAt.js +48 -0
- package/development/sidebar-container.component-CToGMqKH.js +136 -0
- package/development/sidebar-content.component-s3GsQtNv.js +37 -0
- package/development/sidebar-title.component-Htm_hqKX.js +76 -0
- package/development/sidebar.component-Ct6TAsph.js +506 -0
- package/development/sidebar.js +12 -13
- package/development/sidebar.pure.js +6 -13
- package/development/signet/signet.component.js +2 -151
- package/development/signet.component-COqrcZqk.js +188 -0
- package/development/signet.js +8 -5
- package/development/signet.pure.js +2 -5
- package/development/skiplink-list/skiplink-list.component.js +2 -160
- package/development/skiplink-list.component-_SDkIoHp.js +198 -0
- package/development/skiplink-list.js +8 -5
- package/development/skiplink-list.pure.js +2 -5
- package/development/slider/slider.component.js +2 -399
- package/development/slider.component-B7EFECZk.js +479 -0
- package/development/slider.js +8 -5
- package/development/slider.pure.js +2 -5
- package/development/status/status.component.js +2 -144
- package/development/status.component-CE3e9OIO.js +171 -0
- package/development/status.js +8 -5
- package/development/status.pure.js +2 -5
- package/development/step-label.component-BH28AI5Z.js +298 -0
- package/development/step.component-WY7qdrR8.js +220 -0
- package/development/stepper/step/step.component.js +2 -216
- package/development/stepper/step-label/step-label.component.js +2 -298
- package/development/stepper/step-label.js +7 -5
- package/development/stepper/step.js +7 -5
- package/development/stepper/stepper/stepper.component.js +2 -465
- package/development/stepper/stepper.js +7 -7
- package/development/stepper.component-D1tAcpWs.js +508 -0
- package/development/stepper.js +10 -11
- package/development/stepper.pure.js +4 -10
- package/development/sticky-bar.component-BlgfxSRo.js +382 -0
- package/development/styles-CIZBf9Yc.js +173 -0
- package/development/styles-CYlzu-f2.js +96 -0
- package/development/tab-group.component-DZPKWjI7.js +292 -0
- package/development/tab-label.component-BJgr4u6Z.js +420 -0
- package/development/tab-nav-bar.component-rNmuMIsv.js +123 -0
- package/development/tab.component-C8jaB2_O.js +101 -0
- package/development/table/table-wrapper/table-wrapper.component.js +2 -120
- package/development/table/table-wrapper.js +7 -5
- package/development/table-wrapper.component-6WtB_fHq.js +133 -0
- package/development/table.js +8 -5
- package/development/table.pure.js +2 -5
- package/development/tabs/common/styles.js +2 -6
- package/development/tabs/common.js +6 -6
- package/development/tabs/tab/tab.component.js +2 -87
- package/development/tabs/tab-group/tab-group.component.js +2 -236
- package/development/tabs/tab-group.js +7 -5
- package/development/tabs/tab-label/tab-label.component.js +2 -369
- package/development/tabs/tab-label.js +7 -5
- package/development/tabs/tab-nav-bar/tab-nav-bar.component.js +2 -99
- package/development/tabs/tab-nav-bar.js +7 -5
- package/development/tabs/tab.js +7 -5
- package/development/tabs.js +12 -14
- package/development/tabs.pure.js +6 -14
- package/development/tag/tag/tag.component.js +2 -351
- package/development/tag/tag-group/tag-group.component.js +2 -179
- package/development/tag/tag-group.js +7 -5
- package/development/tag/tag.js +7 -5
- package/development/tag-group.component-C-EXr8Rq.js +219 -0
- package/development/tag.component-B7RY4cfx.js +419 -0
- package/development/tag.js +9 -7
- package/development/tag.pure.js +3 -7
- package/development/teaser/teaser.component.js +2 -224
- package/development/teaser-hero/teaser-hero.component.js +2 -172
- package/development/teaser-hero.component-5vVIZZ9L.js +202 -0
- package/development/teaser-hero.js +8 -5
- package/development/teaser-hero.pure.js +2 -5
- package/development/teaser-product/common/teaser-product-common.js +2 -210
- package/development/teaser-product/common.js +6 -6
- package/development/teaser-product/teaser-product/teaser-product.component.js +2 -63
- package/development/teaser-product/teaser-product-static/teaser-product-static.component.js +21 -8
- package/development/teaser-product/teaser-product-static.js +6 -4
- package/development/teaser-product/teaser-product.js +7 -5
- package/development/teaser-product-common-DgnRgO6O.js +223 -0
- package/development/teaser-product.component-BsdU2W2T.js +75 -0
- package/development/teaser-product.js +9 -9
- package/development/teaser-product.pure.js +3 -9
- package/development/teaser.component-KRkFbP9-.js +243 -0
- package/development/teaser.js +8 -5
- package/development/teaser.pure.js +2 -5
- package/development/time-input/time-input.component.js +2 -213
- package/development/time-input.component-Cf6cXrIN.js +222 -0
- package/development/time-input.js +8 -5
- package/development/time-input.pure.js +2 -5
- package/development/timetable-form/timetable-form/timetable-form.component.js +2 -22
- package/development/timetable-form/timetable-form-details/timetable-form-details.component.js +2 -39
- package/development/timetable-form/timetable-form-details.js +7 -5
- package/development/timetable-form/timetable-form-field/timetable-form-field.component.js +2 -112
- package/development/timetable-form/timetable-form-field.js +7 -5
- package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +2 -63
- package/development/timetable-form/timetable-form-swap-button.js +7 -5
- package/development/timetable-form/timetable-form.js +7 -5
- package/development/timetable-form-details.component-B--aGycf.js +50 -0
- package/development/timetable-form-field.component-9jwIZzIm.js +119 -0
- package/development/timetable-form-swap-button.component-Ne1-XwSf.js +74 -0
- package/development/timetable-form.component-BYHhDRXE.js +34 -0
- package/development/timetable-form.js +11 -11
- package/development/timetable-form.pure.js +5 -11
- package/development/timetable-occupancy/timetable-occupancy.component.js +2 -140
- package/development/timetable-occupancy-icon/timetable-occupancy-icon.component.js +2 -89
- package/development/timetable-occupancy-icon.component-BbW73Fqd.js +101 -0
- package/development/timetable-occupancy-icon.js +8 -5
- package/development/timetable-occupancy-icon.pure.js +2 -5
- package/development/timetable-occupancy.component-C3nWG5Vg.js +172 -0
- package/development/timetable-occupancy.js +8 -5
- package/development/timetable-occupancy.pure.js +2 -5
- package/development/title/title-base.js +2 -109
- package/development/title/title.component.js +3 -89
- package/development/title-base-BUQgNaUI.js +142 -0
- package/development/title.component-DgFvxLIt.js +115 -0
- package/development/title.js +9 -7
- package/development/title.pure.js +3 -7
- package/development/toast/toast.component.js +2 -401
- package/development/toast.component-Csifrfnq.js +430 -0
- package/development/toast.js +8 -5
- package/development/toast.pure.js +2 -5
- package/development/toggle/toggle/toggle.component.js +2 -331
- package/development/toggle/toggle-option/toggle-option.component.js +2 -179
- package/development/toggle/toggle-option.js +7 -5
- package/development/toggle/toggle.js +7 -5
- package/development/toggle-check/toggle-check.component.js +2 -274
- package/development/toggle-check.component-CEYmGCDZ.js +326 -0
- package/development/toggle-check.js +8 -5
- package/development/toggle-check.pure.js +2 -5
- package/development/toggle-option.component--wHdeFI6.js +216 -0
- package/development/toggle.component-CGNDEU9B.js +367 -0
- package/development/toggle.js +9 -7
- package/development/toggle.pure.js +3 -7
- package/development/tooltip/tooltip.component.js +2 -440
- package/development/tooltip.component-bVPXm6Pu.js +480 -0
- package/development/tooltip.js +8 -5
- package/development/tooltip.pure.js +2 -5
- package/development/train/train/train.component.js +2 -229
- package/development/train/train-blocked-passage/train-blocked-passage.component.js +2 -70
- package/development/train/train-blocked-passage.js +7 -5
- package/development/train/train-formation/train-formation.component.js +2 -274
- package/development/train/train-formation.js +7 -5
- package/development/train/train-wagon/train-wagon.component.js +2 -387
- package/development/train/train-wagon.js +7 -5
- package/development/train/train.js +7 -5
- package/development/train-blocked-passage.component-CYnTeq7k.js +79 -0
- package/development/train-formation.component-QmoA0u6E.js +303 -0
- package/development/train-wagon.component-CWlRDq-Z.js +485 -0
- package/development/train.component-DcMyi7HP.js +294 -0
- package/development/train.js +11 -11
- package/development/train.pure.js +5 -11
- package/development/visual-checkbox/visual-checkbox.component.js +2 -164
- package/development/visual-checkbox.component-DtEIq9rH.js +213 -0
- package/development/visual-checkbox.js +8 -5
- package/development/visual-checkbox.pure.js +2 -5
- package/dialog/dialog/dialog.component.js +2 -148
- package/dialog/dialog-actions/dialog-actions.component.js +2 -13
- package/dialog/dialog-actions.js +4 -7
- package/dialog/dialog-close-button/dialog-close-button.component.js +2 -23
- package/dialog/dialog-close-button.js +4 -7
- package/dialog/dialog-content/dialog-content.component.js +2 -15
- package/dialog/dialog-content.js +4 -7
- package/dialog/dialog-title/dialog-title.component.js +2 -13
- package/dialog/dialog-title.js +4 -7
- package/dialog/dialog.js +4 -10
- package/dialog-actions.component-B4JYi2Ym.js +17 -0
- package/dialog-close-button.component-BtxXASCn.js +27 -0
- package/dialog-content.component-CNhoC-NZ.js +19 -0
- package/dialog-title.component-C8Jsbuqt.js +17 -0
- package/dialog.component-BHsekf9B.js +170 -0
- package/dialog.js +9 -20
- package/dialog.pure.js +6 -15
- package/divider/divider.component.js +2 -44
- package/divider.component-DFw-P_dA.js +61 -0
- package/divider.js +5 -4
- package/divider.pure.js +2 -4
- package/error.component-DL9hm4i9.js +44 -0
- package/expansion-panel/expansion-panel/expansion-panel.component.js +2 -156
- package/expansion-panel/expansion-panel-content/expansion-panel-content.component.js +2 -24
- package/expansion-panel/expansion-panel-content.js +4 -7
- package/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +2 -57
- package/expansion-panel/expansion-panel-header.js +4 -7
- package/expansion-panel/expansion-panel.js +4 -7
- package/expansion-panel-content.component-CbWIxgH4.js +29 -0
- package/expansion-panel-header.component-CxLeXeGi.js +56 -0
- package/expansion-panel.component-Bs4icI9T.js +226 -0
- package/expansion-panel.js +7 -11
- package/expansion-panel.pure.js +4 -8
- package/file-selector/common/file-selector-common.js +2 -245
- package/file-selector/common.js +5 -7
- package/file-selector/file-selector/file-selector.component.js +25 -20
- package/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +2 -75
- package/file-selector/file-selector-dropzone.js +4 -7
- package/file-selector/file-selector.js +3 -6
- package/file-selector-common-C-gZH55c.js +313 -0
- package/file-selector-dropzone.component-LHNtOZPr.js +94 -0
- package/file-selector.js +7 -11
- package/file-selector.pure.js +4 -9
- package/flip-card/flip-card/flip-card.component.js +2 -120
- package/flip-card/flip-card-details/flip-card-details.component.js +2 -36
- package/flip-card/flip-card-details.js +4 -7
- package/flip-card/flip-card-summary/flip-card-summary.component.js +2 -48
- package/flip-card/flip-card-summary.js +4 -7
- package/flip-card/flip-card.js +4 -7
- package/flip-card-details.component-CiiCNjd2.js +45 -0
- package/flip-card-summary.component-nO7zKRiB.js +65 -0
- package/flip-card.component-uSdokrC9.js +138 -0
- package/flip-card.js +7 -11
- package/flip-card.pure.js +4 -8
- package/footer/footer.component.js +2 -89
- package/footer.component-Cdsiwn4D.js +129 -0
- package/footer.js +5 -4
- package/footer.pure.js +2 -4
- package/form-field/error/error.component.js +2 -42
- package/form-field/error.js +4 -7
- package/form-field/form-field/form-field.component.js +2 -344
- package/form-field/form-field-clear/form-field-clear.component.js +35 -28
- package/form-field/form-field-clear.js +3 -6
- package/form-field/form-field.js +4 -9
- package/form-field.component-CZzQYOSP.js +447 -0
- package/form-field.js +7 -13
- package/form-field.pure.js +4 -9
- package/header/common/header-action-common.js +2 -51
- package/header/common.js +5 -6
- package/header/header/header.component.js +2 -154
- package/header/header-button/header-button.component.js +9 -8
- package/header/header-button.js +3 -6
- package/header/header-environment/header-environment.component.js +2 -29
- package/header/header-environment.js +4 -7
- package/header/header-link/header-link.component.js +9 -8
- package/header/header-link.js +3 -6
- package/header/header.js +4 -7
- package/header-action-common-C2YPvOxq.js +62 -0
- package/header-environment.component-KqUmsOPQ.js +36 -0
- package/header.component-BssLZ6b7.js +203 -0
- package/header.js +9 -16
- package/header.pure.js +6 -12
- package/icon/icon-base.js +2 -105
- package/icon/icon-name-mixin.js +59 -50
- package/icon/icon-request.js +23 -29
- package/icon/icon-validate.js +19 -25
- package/icon/icon.component.js +88 -76
- package/icon-base-BYJzaEDb.js +127 -0
- package/icon-sidebar/icon-sidebar/icon-sidebar.component.js +2 -46
- package/icon-sidebar/icon-sidebar-button/icon-sidebar-button.component.js +19 -15
- package/icon-sidebar/icon-sidebar-button.js +3 -6
- package/icon-sidebar/icon-sidebar-container/icon-sidebar-container.component.js +2 -25
- package/icon-sidebar/icon-sidebar-container.js +4 -7
- package/icon-sidebar/icon-sidebar-content/icon-sidebar-content.component.js +2 -16
- package/icon-sidebar/icon-sidebar-content.js +4 -7
- package/icon-sidebar/icon-sidebar-link/icon-sidebar-link.component.js +19 -15
- package/icon-sidebar/icon-sidebar-link.js +3 -6
- package/icon-sidebar/icon-sidebar.js +4 -7
- package/icon-sidebar-container.component-BcoT4uhN.js +26 -0
- package/icon-sidebar-content.component-toRpXgxi.js +20 -0
- package/icon-sidebar.component-B5xCvDvj.js +62 -0
- package/icon-sidebar.js +8 -16
- package/icon-sidebar.pure.js +6 -12
- package/icon.js +10 -14
- package/icon.pure.js +6 -13
- package/image/image.component.js +2 -455
- package/image.component-Cq2t-XZu.js +413 -0
- package/image.js +5 -4
- package/image.pure.js +2 -4
- package/inline-link-common-Dgdi7qpI.js +18 -0
- package/journey-header/journey-header.component.js +2 -95
- package/journey-header.component-CR8AO0b2.js +143 -0
- package/journey-header.js +5 -4
- package/journey-header.pure.js +2 -4
- package/lead-container/lead-container.component.js +2 -23
- package/lead-container.component-CXKHfBiS.js +27 -0
- package/lead-container.js +5 -4
- package/lead-container.pure.js +2 -4
- package/link/block-link/block-link.component.js +9 -8
- package/link/block-link-button/block-link-button.component.js +10 -9
- package/link/block-link-button.js +6 -6
- package/link/block-link-static/block-link-static.component.js +10 -9
- package/link/block-link-static.js +4 -4
- package/link/block-link.js +6 -6
- package/link/common/block-link-common.js +3 -44
- package/link/common/inline-link-common.js +3 -13
- package/link/common/link-common.js +2 -9
- package/link/common.js +4 -8
- package/link/link/link.component.js +10 -9
- package/link/link-button/link-button.component.js +10 -9
- package/link/link-button.js +4 -4
- package/link/link-static/link-static.component.js +10 -9
- package/link/link-static.js +4 -4
- package/link/link.js +6 -6
- package/link-common-CYxyP4XZ.js +52 -0
- package/link-list/common/link-list-base.js +2 -90
- package/link-list/common.js +5 -7
- package/link-list/link-list-anchor.js +6 -8
- package/link-list/link-list.component.js +3 -47
- package/link-list/link-list.js +5 -7
- package/link-list-anchor/link-list-anchor.component.js +2 -10
- package/link-list-anchor.component--u5j_aqv.js +18 -0
- package/link-list-anchor.js +5 -4
- package/link-list-anchor.pure.js +2 -4
- package/link-list-base-CzFYpTOG.js +115 -0
- package/link-list.component-9ndHNGPS.js +78 -0
- package/link-list.js +8 -10
- package/link-list.pure.js +3 -7
- package/link.js +12 -25
- package/link.pure.js +11 -20
- package/loading-indicator/loading-indicator.component.js +2 -65
- package/loading-indicator-circle/loading-indicator-circle.component.js +2 -45
- package/loading-indicator-circle.component-CfbXpYX6.js +62 -0
- package/loading-indicator-circle.js +5 -4
- package/loading-indicator-circle.pure.js +2 -4
- package/loading-indicator.component-CoU9mwN8.js +92 -0
- package/loading-indicator.js +5 -4
- package/loading-indicator.pure.js +2 -4
- package/logo/logo.component.js +2 -67
- package/logo.component-nxragzaC.js +94 -0
- package/logo.js +5 -4
- package/logo.pure.js +2 -4
- package/map-container/map-container.component.js +2 -108
- package/map-container.component-C2W_7Xiw.js +128 -0
- package/map-container.js +5 -4
- package/map-container.pure.js +2 -4
- package/menu/common/menu-action-common.js +2 -28
- package/menu/common.js +5 -6
- package/menu/menu/menu.component.js +2 -274
- package/menu/menu-button/menu-button.component.js +13 -9
- package/menu/menu-button.js +3 -6
- package/menu/menu-link/menu-link.component.js +13 -12
- package/menu/menu-link.js +3 -6
- package/menu/menu.js +4 -7
- package/menu-action-common-BcB_Tyvl.js +29 -0
- package/menu.component-BdqUbvww.js +252 -0
- package/menu.js +7 -12
- package/menu.pure.js +5 -10
- package/message/message.component.js +2 -23
- package/message.component-DbmXg6DI.js +27 -0
- package/message.js +5 -4
- package/message.pure.js +2 -4
- package/mini-button-group.component-D5Dph1Z7.js +89 -0
- package/mini-button-link.component-BYK_EUud.js +31 -0
- package/mini-calendar/mini-calendar/mini-calendar.component.js +2 -131
- package/mini-calendar/mini-calendar-day/mini-calendar-day.component.js +2 -66
- package/mini-calendar/mini-calendar-day.js +4 -7
- package/mini-calendar/mini-calendar-month/mini-calendar-month.component.js +2 -63
- package/mini-calendar/mini-calendar-month.js +4 -7
- package/mini-calendar/mini-calendar.js +4 -7
- package/mini-calendar-day.component-cAawa9Gr.js +106 -0
- package/mini-calendar-month.component-DiYSVb-Y.js +74 -0
- package/mini-calendar.component-DpPMb47Y.js +144 -0
- package/mini-calendar.js +7 -11
- package/mini-calendar.pure.js +4 -8
- package/navigation/common/navigation-action-common.js +2 -57
- package/navigation/common.js +5 -6
- package/navigation/navigation/navigation.component.js +2 -188
- package/navigation/navigation-button/navigation-button.component.js +9 -8
- package/navigation/navigation-button.js +3 -6
- package/navigation/navigation-link/navigation-link.component.js +9 -8
- package/navigation/navigation-link.js +3 -6
- package/navigation/navigation-list/navigation-list.component.js +2 -59
- package/navigation/navigation-list.js +4 -7
- package/navigation/navigation-marker/navigation-marker.component.js +2 -82
- package/navigation/navigation-marker.js +4 -7
- package/navigation/navigation-section/navigation-section.component.js +2 -224
- package/navigation/navigation-section.js +4 -7
- package/navigation/navigation.js +4 -7
- package/navigation-action-common-Dcb95pqU.js +64 -0
- package/navigation-list.component-BhV-uAfU.js +71 -0
- package/navigation-marker.component-CIUu5VVZ.js +88 -0
- package/navigation-section.component-DwEXj603.js +237 -0
- package/navigation.component-BYqJ9Cqt.js +208 -0
- package/navigation.js +11 -22
- package/navigation.pure.js +8 -16
- package/notification/notification.component.js +2 -165
- package/notification.component-DZS8z1oa.js +197 -0
- package/notification.js +5 -4
- package/notification.pure.js +2 -4
- package/optgroup-base-element-DWKHCat8.js +107 -0
- package/option/optgroup/optgroup-base-element.js +2 -83
- package/option/optgroup/optgroup.component.js +29 -30
- package/option/optgroup.js +5 -9
- package/option/option/option-base-element.js +257 -201
- package/option/option/option.component.js +2 -87
- package/option/option-hint/option-hint.component.js +2 -19
- package/option/option-hint.js +4 -7
- package/option/option.js +5 -9
- package/option-hint.component-Goyhv5ss.js +23 -0
- package/option.component-uzmmREt4.js +98 -0
- package/option.js +9 -15
- package/option.pure.js +6 -12
- package/overlay/overlay-base-element.js +154 -149
- package/overlay/overlay.component.js +2 -138
- package/overlay.component-r0Rp_b-3.js +163 -0
- package/overlay.js +7 -10
- package/overlay.pure.js +3 -9
- package/package.json +2 -2
- package/paginator/common/paginator-common.js +268 -201
- package/paginator/common.js +5 -6
- package/paginator/compact-paginator/compact-paginator.component.js +2 -40
- package/paginator/compact-paginator.js +4 -7
- package/paginator/paginator/paginator.component.js +2 -175
- package/paginator/paginator.js +4 -7
- package/paginator.component-D_fV260x.js +206 -0
- package/paginator.js +7 -10
- package/paginator.pure.js +3 -7
- package/popover/popover.component.js +2 -316
- package/popover.component-Dh9vbuDG.js +353 -0
- package/popover.js +5 -6
- package/popover.pure.js +2 -5
- package/radio-button/common/radio-button-common.js +2 -63
- package/radio-button/common.js +5 -7
- package/radio-button/radio-button-group.js +2 -3
- package/radio-button/radio-button-panel.js +2 -3
- package/radio-button/radio-button.component.js +3 -71
- package/radio-button/radio-button.js +5 -7
- package/radio-button-common-CCQ3bJPI.js +77 -0
- package/radio-button-group/radio-button-group.component.js +2 -167
- package/radio-button-group.component-Cf8r6Whf.js +232 -0
- package/radio-button-group.js +6 -5
- package/radio-button-group.pure.js +2 -4
- package/radio-button-panel/radio-button-panel.component.js +78 -68
- package/radio-button-panel.js +4 -3
- package/radio-button-panel.pure.js +2 -4
- package/radio-button.component-B5b5OhBw.js +93 -0
- package/radio-button.js +9 -13
- package/radio-button.pure.js +3 -7
- package/sbb-tokens-BJzKBCf8.js +4 -0
- package/screen-reader-only/screen-reader-only.component.js +2 -12
- package/screen-reader-only.component-B06hVxPg.js +16 -0
- package/screen-reader-only.js +5 -4
- package/screen-reader-only.pure.js +2 -4
- package/select/select.component.js +2 -498
- package/select.component-BZbDGrv8.js +522 -0
- package/select.js +5 -4
- package/select.pure.js +2 -4
- package/selection-action-panel/selection-action-panel.component.js +2 -33
- package/selection-action-panel.component-_kh6l2sj.js +35 -0
- package/selection-action-panel.js +5 -4
- package/selection-action-panel.pure.js +2 -4
- package/selection-expansion-panel/selection-expansion-panel.component.js +2 -116
- package/selection-expansion-panel.component-ChMYCw38.js +144 -0
- package/selection-expansion-panel.js +5 -4
- package/selection-expansion-panel.pure.js +2 -4
- package/sidebar/common/styles.js +2 -6
- package/sidebar/common.js +5 -8
- package/sidebar/sidebar/sidebar.component.js +2 -182
- package/sidebar/sidebar-close-button/sidebar-close-button.component.js +2 -26
- package/sidebar/sidebar-close-button.js +4 -7
- package/sidebar/sidebar-container/sidebar-container.component.js +2 -76
- package/sidebar/sidebar-container.js +4 -7
- package/sidebar/sidebar-content/sidebar-content.component.js +2 -16
- package/sidebar/sidebar-content.js +4 -7
- package/sidebar/sidebar-title/sidebar-title.component.js +2 -39
- package/sidebar/sidebar-title.js +4 -7
- package/sidebar/sidebar.js +4 -7
- package/sidebar-close-button.component-B9QGnQLs.js +30 -0
- package/sidebar-container.component-BW24Ap9F.js +63 -0
- package/sidebar-content.component-DSTp9Iu6.js +20 -0
- package/sidebar-title.component-COjEsAkk.js +53 -0
- package/sidebar.component-C2YYQj-Q.js +238 -0
- package/sidebar.js +9 -17
- package/sidebar.pure.js +6 -12
- package/signet/signet.component.js +2 -74
- package/signet.component-CixiIpLj.js +101 -0
- package/signet.js +5 -4
- package/signet.pure.js +2 -4
- package/skiplink-list/skiplink-list.component.js +2 -77
- package/skiplink-list.component-CINJgt_l.js +102 -0
- package/skiplink-list.js +5 -4
- package/skiplink-list.pure.js +2 -4
- package/slider/slider.component.js +2 -200
- package/slider.component-BhtuB-8p.js +249 -0
- package/slider.js +5 -4
- package/slider.pure.js +2 -4
- package/status/status.component.js +2 -69
- package/status.component-BZ8zajOL.js +83 -0
- package/status.js +5 -4
- package/status.pure.js +2 -4
- package/step-label.component-COJYo-MI.js +82 -0
- package/step.component-BIOQdZVR.js +94 -0
- package/stepper/step/step.component.js +2 -111
- package/stepper/step-label/step-label.component.js +2 -96
- package/stepper/step-label.js +4 -7
- package/stepper/step.js +4 -7
- package/stepper/stepper/stepper.component.js +2 -236
- package/stepper/stepper.js +4 -9
- package/stepper.component-D2vhtDCy.js +286 -0
- package/stepper.js +7 -13
- package/stepper.pure.js +4 -9
- package/sticky-bar.component-CYCOEGz7.js +141 -0
- package/styles-DpIXFSVm.js +5 -0
- package/styles-uZGSPqgK.js +5 -0
- package/tab-group.component-nprcnwFB.js +185 -0
- package/tab-label.component-BeLuYRBg.js +165 -0
- package/tab-nav-bar.component-Du1JyNtu.js +81 -0
- package/tab.component-D8Rz05Fo.js +48 -0
- package/table/table-wrapper/table-wrapper.component.js +2 -70
- package/table/table-wrapper.js +4 -7
- package/table-wrapper.component-DkaL4T5V.js +83 -0
- package/table.js +5 -4
- package/table.pure.js +2 -4
- package/tabs/common/styles.js +2 -5
- package/tabs/common.js +5 -7
- package/tabs/tab/tab.component.js +2 -46
- package/tabs/tab-group/tab-group.component.js +2 -167
- package/tabs/tab-group.js +4 -7
- package/tabs/tab-label/tab-label.component.js +2 -128
- package/tabs/tab-label.js +4 -7
- package/tabs/tab-nav-bar/tab-nav-bar.component.js +2 -67
- package/tabs/tab-nav-bar.js +4 -7
- package/tabs/tab.js +4 -7
- package/tabs.js +9 -17
- package/tabs.pure.js +6 -13
- package/tag/tag/tag.component.js +2 -128
- package/tag/tag-group/tag-group.component.js +2 -119
- package/tag/tag-group.js +4 -7
- package/tag/tag.js +4 -7
- package/tag-group.component-CW6Z9-P6.js +143 -0
- package/tag.component-CvZpvIuw.js +170 -0
- package/tag.js +6 -8
- package/tag.pure.js +3 -6
- package/teaser/teaser.component.js +2 -80
- package/teaser-hero/teaser-hero.component.js +2 -62
- package/teaser-hero.component-Dolg4-Yz.js +80 -0
- package/teaser-hero.js +5 -4
- package/teaser-hero.pure.js +2 -4
- package/teaser-product/common/teaser-product-common.js +2 -54
- package/teaser-product/common.js +5 -7
- package/teaser-product/teaser-product/teaser-product.component.js +2 -28
- package/teaser-product/teaser-product-static/teaser-product-static.component.js +13 -9
- package/teaser-product/teaser-product-static.js +3 -6
- package/teaser-product/teaser-product.js +4 -7
- package/teaser-product-common-q2IZHbkr.js +62 -0
- package/teaser-product.component-DVdyKe6h.js +29 -0
- package/teaser-product.js +7 -11
- package/teaser-product.pure.js +4 -9
- package/teaser.component-DPvDVG6b.js +91 -0
- package/teaser.js +5 -4
- package/teaser.pure.js +2 -4
- package/time-input/time-input.component.js +2 -128
- package/time-input.component-ChWhDF5l.js +141 -0
- package/time-input.js +5 -4
- package/time-input.pure.js +2 -4
- package/timetable-form/timetable-form/timetable-form.component.js +2 -12
- package/timetable-form/timetable-form-details/timetable-form-details.component.js +2 -12
- package/timetable-form/timetable-form-details.js +4 -7
- package/timetable-form/timetable-form-field/timetable-form-field.component.js +2 -26
- package/timetable-form/timetable-form-field.js +4 -7
- package/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +2 -33
- package/timetable-form/timetable-form-swap-button.js +4 -7
- package/timetable-form/timetable-form.js +4 -7
- package/timetable-form-details.component-Du6WPn3y.js +16 -0
- package/timetable-form-field.component-Cb3FYKL7.js +32 -0
- package/timetable-form-swap-button.component-ByQDf7oy.js +37 -0
- package/timetable-form.component-BqokC_4S.js +16 -0
- package/timetable-form.js +8 -14
- package/timetable-form.pure.js +5 -10
- package/timetable-occupancy/timetable-occupancy.component.js +2 -77
- package/timetable-occupancy-icon/timetable-occupancy-icon.component.js +2 -61
- package/timetable-occupancy-icon.component-BhXQSFZR.js +72 -0
- package/timetable-occupancy-icon.js +5 -4
- package/timetable-occupancy-icon.pure.js +2 -4
- package/timetable-occupancy.component-DnaQ0TIW.js +101 -0
- package/timetable-occupancy.js +5 -4
- package/timetable-occupancy.pure.js +2 -4
- package/title/title-base.js +2 -53
- package/title/title.component.js +3 -37
- package/title-base-D4nE41tH.js +80 -0
- package/title.component-DNBy2mIm.js +54 -0
- package/title.js +7 -7
- package/title.pure.js +3 -6
- package/toast/toast.component.js +2 -180
- package/toast.component-B9Gm8Kls.js +189 -0
- package/toast.js +5 -4
- package/toast.pure.js +2 -4
- package/toggle/toggle/toggle.component.js +2 -147
- package/toggle/toggle-option/toggle-option.component.js +2 -90
- package/toggle/toggle-option.js +4 -7
- package/toggle/toggle.js +4 -7
- package/toggle-check/toggle-check.component.js +2 -85
- package/toggle-check.component-BcxMe5Zi.js +119 -0
- package/toggle-check.js +5 -4
- package/toggle-check.pure.js +2 -4
- package/toggle-option.component-DvdEjT2c.js +123 -0
- package/toggle.component-Lnj5TugJ.js +161 -0
- package/toggle.js +6 -8
- package/toggle.pure.js +3 -6
- package/tooltip/tooltip.component.js +2 -197
- package/tooltip.component-B5fKuZdI.js +228 -0
- package/tooltip.js +5 -4
- package/tooltip.pure.js +2 -4
- package/train/train/train.component.js +2 -123
- package/train/train-blocked-passage/train-blocked-passage.component.js +2 -19
- package/train/train-blocked-passage.js +4 -7
- package/train/train-formation/train-formation.component.js +2 -93
- package/train/train-formation.js +4 -7
- package/train/train-wagon/train-wagon.component.js +2 -174
- package/train/train-wagon.js +4 -7
- package/train/train.js +4 -7
- package/train-blocked-passage.component-Dz7lD_V1.js +23 -0
- package/train-formation.component-CGTqQgp7.js +121 -0
- package/train-wagon.component-BW-JxcK6.js +259 -0
- package/train.component-B_Nlu8Kh.js +176 -0
- package/train.js +8 -14
- package/train.pure.js +5 -10
- package/visual-checkbox/visual-checkbox.component.js +2 -81
- package/visual-checkbox.component-bB_pG0vn.js +118 -0
- package/visual-checkbox.js +5 -4
- package/visual-checkbox.pure.js +2 -4
- package/development/icon-sidebar-button-common-DR6eQvkq.js +0 -93
- package/development/link-common-d27fHmQw.js +0 -111
- package/development/mini-button-label-common-BaMSfSTe.js +0 -558
- package/development/sbb-tokens-DQT_xEIZ.js +0 -19
- package/development/tab-label-common-Mfl36Rsa.js +0 -171
- package/icon-sidebar-button-common-ffAscVDk.js +0 -7
- package/link-common-7IiqjmPD.js +0 -45
- package/mini-button-label-common-Dx9JhmQ6.js +0 -11
- package/sbb-tokens-HiNSQasB.js +0 -11
- package/tab-label-common-D6k40yRU.js +0 -6
|
@@ -1,66 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
};
|
|
4
|
-
var A = (r, t, o) => t.has(r) || w("Cannot " + o);
|
|
5
|
-
var u = (r, t, o) => (A(r, t, "read from private field"), o ? o.call(r) : t.get(r)), h = (r, t, o) => t.has(r) ? w("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(r) : t.set(r, o), i = (r, t, o, b) => (A(r, t, "write to private field"), b ? b.call(r, o) : t.set(r, o), o);
|
|
6
|
-
import { __esDecorate as v, __runInitializers as d } from "tslib";
|
|
7
|
-
import { css as j, html as B } from "lit";
|
|
8
|
-
import { property as f } from "lit/decorators.js";
|
|
9
|
-
import { SbbButtonBaseElement as O } from "../../core/base-elements.js";
|
|
10
|
-
import { readConfig as S } from "../../core/config/config.js";
|
|
11
|
-
import "../../core/datetime/date-adapter.js";
|
|
12
|
-
import { defaultDateAdapter as T } from "../../core/datetime/native-date-adapter.js";
|
|
13
|
-
import { forceType as p, omitEmptyConverter as I } from "../../core/decorators.js";
|
|
14
|
-
const U = j`:host{--sbb-mini-calendar-day-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-2x) );display:block;height:var(--sbb-mini-calendar-day-dimensions);width:var(--sbb-mini-calendar-day-dimensions);margin:.0625rem;border-radius:var(--sbb-border-radius-infinity);color:var(--sbb-color-storm);color:light-dark(var(--sbb-color-storm),var(--sbb-color-smoke));background-color:currentcolor}@media(any-hover:hover){:host(:hover){scale:var(--sbb-mini-calendar-day-scale);transition:scale var(--sbb-mini-calendar-day-animation-easing) var(--sbb-mini-calendar-day-animation-duration)}}: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);outline-offset:.125rem}:host([color=charcoal]){color:var(--sbb-background-color-2-inverted)}:host([color=cloud]){color:var(--sbb-background-color-4-inverted)}:host([color=orange]){color:var(--sbb-color-orange-light)}:host([color=red]){color:var(--sbb-color-error)}:host([color=sky]){color:var(--sbb-color-sky-light)}:host([marker=circle]){background-color:var(--sbb-color-1-inverted);border:.0625rem solid currentcolor}:host([marker=target]){background:radial-gradient(circle,currentcolor 0%,currentcolor 25%,var(--sbb-color-1-inverted) 25%,var(--sbb-color-1-inverted) 50%,currentcolor 50%,currentcolor 100%)}:host([marker=slash]){position:relative}:host([marker=slash]):before{content:"";position:absolute;inset:0;background-image:linear-gradient(-45deg,transparent 45%,var(--sbb-color-1-inverted) 45%,var(--sbb-color-1-inverted) 55%,transparent 55%)}:host([marker=cross]){position:relative}:host([marker=cross]):before{content:"";position:absolute;inset:0;background-image:linear-gradient(-45deg,transparent 45%,var(--sbb-color-1-inverted) 45%,var(--sbb-color-1-inverted) 55%,transparent 55%),linear-gradient(45deg,transparent 45%,var(--sbb-color-1-inverted) 45%,var(--sbb-color-1-inverted) 55%,transparent 55%)}`;
|
|
15
|
-
let R = (() => {
|
|
16
|
-
var l, c, n, s;
|
|
17
|
-
let r = O, t, o = [], b = [], g, k = [], _ = [], y, z = [], x = [];
|
|
18
|
-
return s = class extends r {
|
|
19
|
-
constructor() {
|
|
20
|
-
super(...arguments);
|
|
21
|
-
h(this, l);
|
|
22
|
-
h(this, c);
|
|
23
|
-
h(this, n);
|
|
24
|
-
this._dateAdapter = S().datetime?.dateAdapter ?? T, i(this, l, d(this, o, "")), i(this, c, (d(this, b), d(this, k, ""))), i(this, n, (d(this, _), d(this, z, ""))), d(this, x);
|
|
25
|
-
}
|
|
26
|
-
/** Date as ISO string (YYYY-MM-DD) */
|
|
27
|
-
get date() {
|
|
28
|
-
return u(this, l);
|
|
29
|
-
}
|
|
30
|
-
set date(a) {
|
|
31
|
-
i(this, l, a);
|
|
32
|
-
}
|
|
33
|
-
/** The type of the marker. */
|
|
34
|
-
get marker() {
|
|
35
|
-
return u(this, c);
|
|
36
|
-
}
|
|
37
|
-
set marker(a) {
|
|
38
|
-
i(this, c, a);
|
|
39
|
-
}
|
|
40
|
-
/** The color of the marker. */
|
|
41
|
-
get color() {
|
|
42
|
-
return u(this, n);
|
|
43
|
-
}
|
|
44
|
-
set color(a) {
|
|
45
|
-
i(this, n, a);
|
|
46
|
-
}
|
|
47
|
-
willUpdate(a) {
|
|
48
|
-
super.willUpdate(a), a.has("date") && this.date && (this.internals.ariaLabel = this._dateAdapter.getAccessibilityFormatDate(this.date));
|
|
49
|
-
}
|
|
50
|
-
renderTemplate() {
|
|
51
|
-
return B``;
|
|
52
|
-
}
|
|
53
|
-
}, l = new WeakMap(), c = new WeakMap(), n = new WeakMap(), (() => {
|
|
54
|
-
const a = typeof Symbol == "function" && Symbol.metadata ? Object.create(r[Symbol.metadata] ?? null) : void 0;
|
|
55
|
-
t = [p(), f()], g = [p(), f({ reflect: !0, converter: I })], y = [p(), f({ reflect: !0, converter: I })], v(s, null, t, { kind: "accessor", name: "date", static: !1, private: !1, access: { has: (e) => "date" in e, get: (e) => e.date, set: (e, m) => {
|
|
56
|
-
e.date = m;
|
|
57
|
-
} }, metadata: a }, o, b), v(s, null, g, { kind: "accessor", name: "marker", static: !1, private: !1, access: { has: (e) => "marker" in e, get: (e) => e.marker, set: (e, m) => {
|
|
58
|
-
e.marker = m;
|
|
59
|
-
} }, metadata: a }, k, _), v(s, null, y, { kind: "accessor", name: "color", static: !1, private: !1, access: { has: (e) => "color" in e, get: (e) => e.color, set: (e, m) => {
|
|
60
|
-
e.color = m;
|
|
61
|
-
} }, metadata: a }, z, x), a && Object.defineProperty(s, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: a });
|
|
62
|
-
})(), s.elementName = "sbb-mini-calendar-day", s.styles = U, s;
|
|
63
|
-
})();
|
|
64
|
-
export {
|
|
65
|
-
R as SbbMiniCalendarDayElement
|
|
66
|
-
};
|
|
1
|
+
import { t as e } from "../../mini-calendar-day.component-cAawa9Gr.js";
|
|
2
|
+
export { e as SbbMiniCalendarDayElement };
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
e.define();
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export {
|
|
6
|
-
e as SbbMiniCalendarDayElement
|
|
7
|
-
};
|
|
1
|
+
import { t as e } from "../mini-calendar-day.component-cAawa9Gr.js";
|
|
2
|
+
e.define(), console.warn("The entrypoint '@sbb-esta/elements/mini-calendar/mini-calendar-day.js' has been deprecated.\nUse either '@sbb-esta/elements/mini-calendar.js' or '@sbb-esta/elements/mini-calendar.pure.js' instead.");
|
|
3
|
+
//#endregion
|
|
4
|
+
export { e as SbbMiniCalendarDayElement };
|
|
@@ -1,63 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
};
|
|
4
|
-
var h = (t, e, i) => e.has(t) || d("Cannot " + i);
|
|
5
|
-
var b = (t, e, i) => (h(t, e, "read from private field"), i ? i.call(t) : e.get(t)), c = (t, e, i) => e.has(t) ? d("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, i), m = (t, e, i, o) => (h(t, e, "write to private field"), o ? o.call(t, i) : e.set(t, i), i);
|
|
6
|
-
import { __esDecorate as u, __runInitializers as p } from "tslib";
|
|
7
|
-
import { css as v, html as y } from "lit";
|
|
8
|
-
import { property as g } from "lit/decorators.js";
|
|
9
|
-
import { SbbElement as _ } from "../../core/base-elements.js";
|
|
10
|
-
import { readConfig as w } from "../../core/config/config.js";
|
|
11
|
-
import { SbbPropertyWatcherController as z } from "../../core/controllers.js";
|
|
12
|
-
import "../../core/datetime/date-adapter.js";
|
|
13
|
-
import { defaultDateAdapter as O } from "../../core/datetime/native-date-adapter.js";
|
|
14
|
-
import { forceType as x } from "../../core/decorators.js";
|
|
15
|
-
import { boxSizingStyles as S } from "../../core/styles.js";
|
|
16
|
-
const A = v`:host{display:inline-block}:host(:is(:state(show-year),[state--show-year])){--sbb-mini-calendar-month-visibilty-year: visible}:host(:is(:state(orientation-horizontal),[state--orientation-horizontal])){--sbb-mini-calendar-month-grid-auto-flow: row;--sbb-mini-calendar-month-height: 3rem;--sbb-mini-calendar-month-grid-template-rows: none;--sbb-mini-calendar-month-grid-template-columns: repeat(7, 1fr)}:host(:is(:state(orientation-horizontal),[state--orientation-horizontal])) ::slotted(sbb-mini-calendar-day:first-child){grid-column-start:var(--sbb-mini-calendar-month-offset)}:host(:is(:state(orientation-vertical),[state--orientation-vertical])){--sbb-mini-calendar-month-grid-auto-flow: column;--sbb-mini-calendar-month-height: auto;--sbb-mini-calendar-month-grid-template-rows: repeat(7, 1fr);--sbb-mini-calendar-month-grid-template-columns: none}:host(:is(:state(orientation-vertical),[state--orientation-vertical])) ::slotted(sbb-mini-calendar-day:first-child){grid-row-start:var(--sbb-mini-calendar-month-offset)}.sbb-mini-calendar-month-wrapper{display:grid;height:var(--sbb-mini-calendar-month-height);grid-auto-flow:var(--sbb-mini-calendar-month-grid-auto-flow);grid-auto-rows:.5rem;grid-template-columns:var(--sbb-mini-calendar-month-grid-template-columns);grid-template-rows:var(--sbb-mini-calendar-month-grid-template-rows)}.sbb-mini-calendar-month-label-year,.sbb-mini-calendar-month-label-month{font-size:var(--sbb-text-font-size-xxs);letter-spacing:var(--sbb-typo-letter-spacing-text);color:var(--sbb-mini-calendar-month-label-color)}.sbb-mini-calendar-month-label-year{visibility:var(--sbb-mini-calendar-month-visibilty-year)}`;
|
|
17
|
-
let T = (() => {
|
|
18
|
-
var n, r;
|
|
19
|
-
let t = _, e, i = [], o = [];
|
|
20
|
-
return r = class extends t {
|
|
21
|
-
constructor() {
|
|
22
|
-
super();
|
|
23
|
-
c(this, n);
|
|
24
|
-
m(this, n, p(this, i, "")), this._dateAdapter = (p(this, o), w().datetime?.dateAdapter ?? O), this._monthNames = this._dateAdapter.getMonthNames("short"), this._monthLabel = null, this._yearLabel = null, this._previousOrientation = null, this.addController(new z(this, () => this.closest("sbb-mini-calendar"), {
|
|
25
|
-
orientation: (a) => {
|
|
26
|
-
this._previousOrientation && this.internals.states.delete(`orientation-${this._previousOrientation}`), this._previousOrientation = a.orientation, this._previousOrientation && this.internals.states.add(`orientation-${this._previousOrientation}`);
|
|
27
|
-
}
|
|
28
|
-
}));
|
|
29
|
-
}
|
|
30
|
-
/** Date as ISO string (YYYY-MM) */
|
|
31
|
-
get date() {
|
|
32
|
-
return b(this, n);
|
|
33
|
-
}
|
|
34
|
-
set date(a) {
|
|
35
|
-
m(this, n, a);
|
|
36
|
-
}
|
|
37
|
-
willUpdate(a) {
|
|
38
|
-
if (super.willUpdate(a), a.has("date") && this.date) {
|
|
39
|
-
if (!this.date.match(/^\d{4}-(0[1-9]|1[0-2])$/))
|
|
40
|
-
return;
|
|
41
|
-
const s = this.date.split("-"), l = this._dateAdapter.createDate(+s[0], +s[1], 1), f = this._dateAdapter.getFirstWeekOffset(l);
|
|
42
|
-
this.style?.setProperty("--sbb-mini-calendar-month-offset", `${f + 1}`), this._monthLabel = `${this._monthNames[+s[1] - 1]}.`, this._yearLabel = String(this._dateAdapter.getYear(l));
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
render() {
|
|
46
|
-
return y`
|
|
47
|
-
<div class="sbb-mini-calendar-month-label-year">${this._yearLabel}</div>
|
|
48
|
-
<div class="sbb-mini-calendar-month-wrapper">
|
|
49
|
-
<slot></slot>
|
|
50
|
-
</div>
|
|
51
|
-
<div class="sbb-mini-calendar-month-label-month">${this._monthLabel}</div>
|
|
52
|
-
`;
|
|
53
|
-
}
|
|
54
|
-
}, n = new WeakMap(), (() => {
|
|
55
|
-
const a = typeof Symbol == "function" && Symbol.metadata ? Object.create(t[Symbol.metadata] ?? null) : void 0;
|
|
56
|
-
e = [x(), g()], u(r, null, e, { kind: "accessor", name: "date", static: !1, private: !1, access: { has: (s) => "date" in s, get: (s) => s.date, set: (s, l) => {
|
|
57
|
-
s.date = l;
|
|
58
|
-
} }, metadata: a }, i, o), a && Object.defineProperty(r, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: a });
|
|
59
|
-
})(), r.elementName = "sbb-mini-calendar-month", r.styles = [S, A], r;
|
|
60
|
-
})();
|
|
61
|
-
export {
|
|
62
|
-
T as SbbMiniCalendarMonthElement
|
|
63
|
-
};
|
|
1
|
+
import { t as e } from "../../mini-calendar-month.component-DiYSVb-Y.js";
|
|
2
|
+
export { e as SbbMiniCalendarMonthElement };
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
e.define();
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export {
|
|
6
|
-
e as SbbMiniCalendarMonthElement
|
|
7
|
-
};
|
|
1
|
+
import { t as e } from "../mini-calendar-month.component-DiYSVb-Y.js";
|
|
2
|
+
e.define(), console.warn("The entrypoint '@sbb-esta/elements/mini-calendar/mini-calendar-month.js' has been deprecated.\nUse either '@sbb-esta/elements/mini-calendar.js' or '@sbb-esta/elements/mini-calendar.pure.js' instead.");
|
|
3
|
+
//#endregion
|
|
4
|
+
export { e as SbbMiniCalendarMonthElement };
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
e.define();
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export {
|
|
6
|
-
e as SbbMiniCalendarElement
|
|
7
|
-
};
|
|
1
|
+
import { t as e } from "../mini-calendar.component-DpPMb47Y.js";
|
|
2
|
+
e.define(), console.warn("The entrypoint '@sbb-esta/elements/mini-calendar/mini-calendar.js' has been deprecated.\nUse either '@sbb-esta/elements/mini-calendar.js' or '@sbb-esta/elements/mini-calendar.pure.js' instead.");
|
|
3
|
+
//#endregion
|
|
4
|
+
export { e as SbbMiniCalendarElement };
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { __esDecorate as e, __runInitializers as t } from "tslib";
|
|
2
|
+
import { css as n, html as r } from "lit";
|
|
3
|
+
import { property as i } from "lit/decorators.js";
|
|
4
|
+
import { SbbButtonBaseElement as a } from "./core/base-elements.js";
|
|
5
|
+
import { forceType as o, omitEmptyConverter as s } from "./core/decorators.js";
|
|
6
|
+
import { readConfig as c } from "./core/config/config.js";
|
|
7
|
+
import { defaultDateAdapter as l } from "./core/datetime/native-date-adapter.js";
|
|
8
|
+
import "./core/datetime/date-adapter.js";
|
|
9
|
+
//#region src/elements/mini-calendar/mini-calendar-day/mini-calendar-day.scss?lit&inline
|
|
10
|
+
var u = n`:host{--sbb-mini-calendar-day-animation-duration:var(--sbb-disable-animation-duration,var(--sbb-animation-duration-2x));height:var(--sbb-mini-calendar-day-dimensions);width:var(--sbb-mini-calendar-day-dimensions);border-radius:var(--sbb-border-radius-infinity);color:var(--lightningcss-light,var(--sbb-color-storm))var(--lightningcss-dark,var(--sbb-color-smoke));background-color:currentColor;margin:.0625rem;display:block}@media (any-hover:hover){:host(:hover){scale:var(--sbb-mini-calendar-day-scale);transition:scale var(--sbb-mini-calendar-day-animation-easing) var(--sbb-mini-calendar-day-animation-duration)}}: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);outline-offset:.125rem}:host([color=charcoal]){color:var(--sbb-background-color-2-inverted)}:host([color=cloud]){color:var(--sbb-background-color-4-inverted)}:host([color=orange]){color:var(--sbb-color-orange-light)}:host([color=red]){color:var(--sbb-color-error)}:host([color=sky]){color:var(--sbb-color-sky-light)}:host([marker=circle]){background-color:var(--sbb-color-1-inverted);border:.0625rem solid}:host([marker=target]){background:radial-gradient(circle, currentcolor 0%, currentcolor 25%, var(--sbb-color-1-inverted) 25%, var(--sbb-color-1-inverted) 50%, currentcolor 50%, currentcolor 100%)}:host([marker=slash]){position:relative}:host([marker=slash]):before{content:"";background-image:linear-gradient(-45deg, transparent 45%, var(--sbb-color-1-inverted) 45%, var(--sbb-color-1-inverted) 55%, transparent 55%);position:absolute;inset:0}:host([marker=cross]){position:relative}:host([marker=cross]):before{content:"";background-image:linear-gradient(-45deg, transparent 45%, var(--sbb-color-1-inverted) 45%, var(--sbb-color-1-inverted) 55%, transparent 55%), linear-gradient(45deg, transparent 45%, var(--sbb-color-1-inverted) 45%, var(--sbb-color-1-inverted) 55%, transparent 55%);position:absolute;inset:0}`, d = (() => {
|
|
11
|
+
let n = a, d, f = [], p = [], m, h = [], g = [], _, v = [], y = [];
|
|
12
|
+
return class extends n {
|
|
13
|
+
static {
|
|
14
|
+
let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(n[Symbol.metadata] ?? null) : void 0;
|
|
15
|
+
d = [o(), i()], m = [o(), i({
|
|
16
|
+
reflect: !0,
|
|
17
|
+
converter: s
|
|
18
|
+
})], _ = [o(), i({
|
|
19
|
+
reflect: !0,
|
|
20
|
+
converter: s
|
|
21
|
+
})], e(this, null, d, {
|
|
22
|
+
kind: "accessor",
|
|
23
|
+
name: "date",
|
|
24
|
+
static: !1,
|
|
25
|
+
private: !1,
|
|
26
|
+
access: {
|
|
27
|
+
has: (e) => "date" in e,
|
|
28
|
+
get: (e) => e.date,
|
|
29
|
+
set: (e, t) => {
|
|
30
|
+
e.date = t;
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
metadata: t
|
|
34
|
+
}, f, p), e(this, null, m, {
|
|
35
|
+
kind: "accessor",
|
|
36
|
+
name: "marker",
|
|
37
|
+
static: !1,
|
|
38
|
+
private: !1,
|
|
39
|
+
access: {
|
|
40
|
+
has: (e) => "marker" in e,
|
|
41
|
+
get: (e) => e.marker,
|
|
42
|
+
set: (e, t) => {
|
|
43
|
+
e.marker = t;
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
metadata: t
|
|
47
|
+
}, h, g), e(this, null, _, {
|
|
48
|
+
kind: "accessor",
|
|
49
|
+
name: "color",
|
|
50
|
+
static: !1,
|
|
51
|
+
private: !1,
|
|
52
|
+
access: {
|
|
53
|
+
has: (e) => "color" in e,
|
|
54
|
+
get: (e) => e.color,
|
|
55
|
+
set: (e, t) => {
|
|
56
|
+
e.color = t;
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
metadata: t
|
|
60
|
+
}, v, y), t && Object.defineProperty(this, Symbol.metadata, {
|
|
61
|
+
enumerable: !0,
|
|
62
|
+
configurable: !0,
|
|
63
|
+
writable: !0,
|
|
64
|
+
value: t
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
static {
|
|
68
|
+
this.elementName = "sbb-mini-calendar-day";
|
|
69
|
+
}
|
|
70
|
+
static {
|
|
71
|
+
this.styles = u;
|
|
72
|
+
}
|
|
73
|
+
#e;
|
|
74
|
+
get date() {
|
|
75
|
+
return this.#e;
|
|
76
|
+
}
|
|
77
|
+
set date(e) {
|
|
78
|
+
this.#e = e;
|
|
79
|
+
}
|
|
80
|
+
#t;
|
|
81
|
+
get marker() {
|
|
82
|
+
return this.#t;
|
|
83
|
+
}
|
|
84
|
+
set marker(e) {
|
|
85
|
+
this.#t = e;
|
|
86
|
+
}
|
|
87
|
+
#n;
|
|
88
|
+
get color() {
|
|
89
|
+
return this.#n;
|
|
90
|
+
}
|
|
91
|
+
set color(e) {
|
|
92
|
+
this.#n = e;
|
|
93
|
+
}
|
|
94
|
+
willUpdate(e) {
|
|
95
|
+
super.willUpdate(e), e.has("date") && this.date && (this.internals.ariaLabel = this._dateAdapter.getAccessibilityFormatDate(this.date));
|
|
96
|
+
}
|
|
97
|
+
renderTemplate() {
|
|
98
|
+
return r``;
|
|
99
|
+
}
|
|
100
|
+
constructor() {
|
|
101
|
+
super(...arguments), this._dateAdapter = c().datetime?.dateAdapter ?? l, this.#e = t(this, f, ""), this.#t = (t(this, p), t(this, h, "")), this.#n = (t(this, g), t(this, v, "")), t(this, y);
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
})();
|
|
105
|
+
//#endregion
|
|
106
|
+
export { d as t };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __esDecorate as e, __runInitializers as t } from "tslib";
|
|
2
|
+
import { css as n, html as r } from "lit";
|
|
3
|
+
import { property as i } from "lit/decorators.js";
|
|
4
|
+
import { SbbElement as a } from "./core/base-elements.js";
|
|
5
|
+
import { forceType as o } from "./core/decorators.js";
|
|
6
|
+
import { boxSizingStyles as s } from "./core/styles.js";
|
|
7
|
+
import { SbbPropertyWatcherController as c } from "./core/controllers.js";
|
|
8
|
+
import { readConfig as l } from "./core/config/config.js";
|
|
9
|
+
import { defaultDateAdapter as u } from "./core/datetime/native-date-adapter.js";
|
|
10
|
+
import "./core/datetime/date-adapter.js";
|
|
11
|
+
//#region src/elements/mini-calendar/mini-calendar-month/mini-calendar-month.scss?lit&inline
|
|
12
|
+
var d = n`:host{display:inline-block}:host(:is(:state(show-year),[state--show-year])){--sbb-mini-calendar-month-visibilty-year:visible}:host(:is(:state(orientation-horizontal),[state--orientation-horizontal])){--sbb-mini-calendar-month-grid-auto-flow:row;--sbb-mini-calendar-month-height:3rem;--sbb-mini-calendar-month-grid-template-rows:none;--sbb-mini-calendar-month-grid-template-columns:repeat(7, 1fr)}:host(:is(:state(orientation-horizontal),[state--orientation-horizontal])) ::slotted(sbb-mini-calendar-day:first-child){grid-column-start:var(--sbb-mini-calendar-month-offset)}:host(:is(:state(orientation-vertical),[state--orientation-vertical])){--sbb-mini-calendar-month-grid-auto-flow:column;--sbb-mini-calendar-month-height:auto;--sbb-mini-calendar-month-grid-template-rows:repeat(7, 1fr);--sbb-mini-calendar-month-grid-template-columns:none}:host(:is(:state(orientation-vertical),[state--orientation-vertical])) ::slotted(sbb-mini-calendar-day:first-child){grid-row-start:var(--sbb-mini-calendar-month-offset)}.sbb-mini-calendar-month-wrapper{height:var(--sbb-mini-calendar-month-height);grid-auto-flow:var(--sbb-mini-calendar-month-grid-auto-flow);grid-auto-rows:.5rem;grid-template-columns:var(--sbb-mini-calendar-month-grid-template-columns);grid-template-rows:var(--sbb-mini-calendar-month-grid-template-rows);display:grid}.sbb-mini-calendar-month-label-year,.sbb-mini-calendar-month-label-month{font-size:var(--sbb-text-font-size-xxs);letter-spacing:var(--sbb-typo-letter-spacing-text);color:var(--sbb-mini-calendar-month-label-color)}.sbb-mini-calendar-month-label-year{visibility:var(--sbb-mini-calendar-month-visibilty-year)}`, f = (() => {
|
|
13
|
+
let n = a, f, p = [], m = [];
|
|
14
|
+
return class extends n {
|
|
15
|
+
static {
|
|
16
|
+
let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(n[Symbol.metadata] ?? null) : void 0;
|
|
17
|
+
f = [o(), i()], e(this, null, f, {
|
|
18
|
+
kind: "accessor",
|
|
19
|
+
name: "date",
|
|
20
|
+
static: !1,
|
|
21
|
+
private: !1,
|
|
22
|
+
access: {
|
|
23
|
+
has: (e) => "date" in e,
|
|
24
|
+
get: (e) => e.date,
|
|
25
|
+
set: (e, t) => {
|
|
26
|
+
e.date = t;
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
metadata: t
|
|
30
|
+
}, p, m), t && Object.defineProperty(this, Symbol.metadata, {
|
|
31
|
+
enumerable: !0,
|
|
32
|
+
configurable: !0,
|
|
33
|
+
writable: !0,
|
|
34
|
+
value: t
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
static {
|
|
38
|
+
this.elementName = "sbb-mini-calendar-month";
|
|
39
|
+
}
|
|
40
|
+
static {
|
|
41
|
+
this.styles = [s, d];
|
|
42
|
+
}
|
|
43
|
+
#e;
|
|
44
|
+
get date() {
|
|
45
|
+
return this.#e;
|
|
46
|
+
}
|
|
47
|
+
set date(e) {
|
|
48
|
+
this.#e = e;
|
|
49
|
+
}
|
|
50
|
+
constructor() {
|
|
51
|
+
super(), this.#e = t(this, p, ""), this._dateAdapter = (t(this, m), l().datetime?.dateAdapter ?? u), this._monthNames = this._dateAdapter.getMonthNames("short"), this._monthLabel = null, this._yearLabel = null, this._previousOrientation = null, this.addController(new c(this, () => this.closest("sbb-mini-calendar"), { orientation: (e) => {
|
|
52
|
+
this._previousOrientation && this.internals.states.delete(`orientation-${this._previousOrientation}`), this._previousOrientation = e.orientation, this._previousOrientation && this.internals.states.add(`orientation-${this._previousOrientation}`);
|
|
53
|
+
} }));
|
|
54
|
+
}
|
|
55
|
+
willUpdate(e) {
|
|
56
|
+
if (super.willUpdate(e), e.has("date") && this.date) {
|
|
57
|
+
if (!this.date.match(/^\d{4}-(0[1-9]|1[0-2])$/)) return;
|
|
58
|
+
let e = this.date.split("-"), t = this._dateAdapter.createDate(+e[0], +e[1], 1), n = this._dateAdapter.getFirstWeekOffset(t);
|
|
59
|
+
this.style?.setProperty("--sbb-mini-calendar-month-offset", `${n + 1}`), this._monthLabel = `${this._monthNames[e[1] - 1]}.`, this._yearLabel = String(this._dateAdapter.getYear(t));
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
render() {
|
|
63
|
+
return r`
|
|
64
|
+
<div class="sbb-mini-calendar-month-label-year">${this._yearLabel}</div>
|
|
65
|
+
<div class="sbb-mini-calendar-month-wrapper">
|
|
66
|
+
<slot></slot>
|
|
67
|
+
</div>
|
|
68
|
+
<div class="sbb-mini-calendar-month-label-month">${this._monthLabel}</div>
|
|
69
|
+
`;
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
})();
|
|
73
|
+
//#endregion
|
|
74
|
+
export { f as t };
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { __esDecorate as e, __runInitializers as t } from "tslib";
|
|
2
|
+
import { css as n, html as r } from "lit";
|
|
3
|
+
import { property as i } from "lit/decorators.js";
|
|
4
|
+
import { SbbElement as a } from "./core/base-elements.js";
|
|
5
|
+
import { ɵstateController as o } from "./core/mixins.js";
|
|
6
|
+
import { isArrowKeyOrPageKeysPressed as s } from "./core/a11y.js";
|
|
7
|
+
import { readConfig as c } from "./core/config/config.js";
|
|
8
|
+
import { defaultDateAdapter as l } from "./core/datetime/native-date-adapter.js";
|
|
9
|
+
import { MutationController as u } from "@lit-labs/observers/mutation-controller.js";
|
|
10
|
+
//#region src/elements/mini-calendar/mini-calendar/mini-calendar.scss?lit&inline
|
|
11
|
+
var d = n`:host{gap:var(--sbb-spacing-fixed-2x) var(--sbb-spacing-fixed-1x);flex-wrap:wrap;display:flex}`, f = (() => {
|
|
12
|
+
let n = a, f, p = [], m = [];
|
|
13
|
+
return class extends n {
|
|
14
|
+
static {
|
|
15
|
+
let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(n[Symbol.metadata] ?? null) : void 0;
|
|
16
|
+
f = [i({ reflect: !0 })], e(this, null, f, {
|
|
17
|
+
kind: "accessor",
|
|
18
|
+
name: "orientation",
|
|
19
|
+
static: !1,
|
|
20
|
+
private: !1,
|
|
21
|
+
access: {
|
|
22
|
+
has: (e) => "orientation" in e,
|
|
23
|
+
get: (e) => e.orientation,
|
|
24
|
+
set: (e, t) => {
|
|
25
|
+
e.orientation = t;
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
metadata: t
|
|
29
|
+
}, p, m), t && Object.defineProperty(this, Symbol.metadata, {
|
|
30
|
+
enumerable: !0,
|
|
31
|
+
configurable: !0,
|
|
32
|
+
writable: !0,
|
|
33
|
+
value: t
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
static {
|
|
37
|
+
this.elementName = "sbb-mini-calendar";
|
|
38
|
+
}
|
|
39
|
+
static {
|
|
40
|
+
this.styles = d;
|
|
41
|
+
}
|
|
42
|
+
#e;
|
|
43
|
+
get orientation() {
|
|
44
|
+
return this.#e;
|
|
45
|
+
}
|
|
46
|
+
set orientation(e) {
|
|
47
|
+
this.#e = e;
|
|
48
|
+
}
|
|
49
|
+
constructor() {
|
|
50
|
+
super(), this.#e = t(this, p, "horizontal"), this._keydownAbortController = (t(this, m), null), this._dateAdapter = c().datetime?.dateAdapter ?? l, this.addController(new u(this, {
|
|
51
|
+
config: {
|
|
52
|
+
childList: !0,
|
|
53
|
+
subtree: !0
|
|
54
|
+
},
|
|
55
|
+
callback: () => this._setMonthsShowYear()
|
|
56
|
+
}));
|
|
57
|
+
}
|
|
58
|
+
_getMiniCalendarMonths() {
|
|
59
|
+
return Array.from(this.querySelectorAll?.("sbb-mini-calendar-month") ?? []);
|
|
60
|
+
}
|
|
61
|
+
_getMiniCalendarDays() {
|
|
62
|
+
return Array.from(this._getMiniCalendarMonths().flatMap((e) => Array.from(e.querySelectorAll?.("sbb-mini-calendar-day") ?? [])));
|
|
63
|
+
}
|
|
64
|
+
_setMonthsShowYear() {
|
|
65
|
+
this._getMiniCalendarMonths().forEach((e, t) => {
|
|
66
|
+
let n = e.date.split("-");
|
|
67
|
+
n.length > 0 && (t === 0 || +n[1] == 1 ? o(e).add("show-year") : o(e).delete("show-year"));
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
_handleKeydownCalendarDay(e) {
|
|
71
|
+
s(e) && e.preventDefault();
|
|
72
|
+
let t = this._getMiniCalendarDays(), n = t.find((t) => t === e.target), r = this._navigateByKeyboardDayView(t, n, e), i = document.activeElement;
|
|
73
|
+
r !== i && (r.tabIndex = 0, r?.focus(), i.tabIndex = -1);
|
|
74
|
+
}
|
|
75
|
+
_navigateByKeyboardDayView(e, t, n) {
|
|
76
|
+
let r = this.orientation === "horizontal" ? {
|
|
77
|
+
leftRight: 1,
|
|
78
|
+
upDown: 7
|
|
79
|
+
} : {
|
|
80
|
+
leftRight: 7,
|
|
81
|
+
upDown: 1
|
|
82
|
+
}, i = this._dateAdapter.parse(t.date), a = this._dateAdapter.getDate(i), o = this._dateAdapter.getFirstWeekOffset(i);
|
|
83
|
+
switch (n.key) {
|
|
84
|
+
case "ArrowUp": return this._findDayArrowKeys(e, t, -r.upDown);
|
|
85
|
+
case "ArrowDown": return this._findDayArrowKeys(e, t, r.upDown);
|
|
86
|
+
case "ArrowLeft": return this._findDayArrowKeys(e, t, -r.leftRight);
|
|
87
|
+
case "ArrowRight": return this._findDayArrowKeys(e, t, r.leftRight);
|
|
88
|
+
case "PageUp": if (this.orientation === "horizontal") {
|
|
89
|
+
let n = a - (a % 7 || 7);
|
|
90
|
+
return this._findDaySpecialKeys(e, t, -n, r.upDown);
|
|
91
|
+
} else {
|
|
92
|
+
let n = (Math.ceil((a + o) / 7) - 1) * 7 - o + 1 - a;
|
|
93
|
+
return this._findDaySpecialKeys(e, t, n, r.upDown);
|
|
94
|
+
}
|
|
95
|
+
case "PageDown": if (this.orientation === "horizontal") {
|
|
96
|
+
let n = this._dateAdapter.getNumDaysInMonth(i), o = n - a - (n - a) % 7;
|
|
97
|
+
return this._findDaySpecialKeys(e, t, o, -r.upDown);
|
|
98
|
+
} else {
|
|
99
|
+
let n = Math.ceil((a + o) / 7) * 7 - o - a;
|
|
100
|
+
return this._findDaySpecialKeys(e, t, n, -r.upDown);
|
|
101
|
+
}
|
|
102
|
+
case "Home": {
|
|
103
|
+
let n = a - 1;
|
|
104
|
+
return this._findDaySpecialKeys(e, t, -n, 1);
|
|
105
|
+
}
|
|
106
|
+
case "End": {
|
|
107
|
+
let n = this._dateAdapter.getNumDaysInMonth(i);
|
|
108
|
+
return this._findDaySpecialKeys(e, t, n - a, -1);
|
|
109
|
+
}
|
|
110
|
+
default: return t;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
_findDayArrowKeys(e, t, n) {
|
|
114
|
+
let r = this._dateAdapter.addCalendarDays(this._dateAdapter.deserialize(t.date), n), i = this._dateAdapter.toIso8601(r);
|
|
115
|
+
return e.find((e) => e.date === i) || t;
|
|
116
|
+
}
|
|
117
|
+
_findDaySpecialKeys(e, t, n, r) {
|
|
118
|
+
let i = this._dateAdapter.addCalendarDays(this._dateAdapter.deserialize(t.date), n), a = this._dateAdapter.toIso8601(i);
|
|
119
|
+
return e.find((e) => e.date === a) || this._findDaySpecialKeys(e, t, n + r, r);
|
|
120
|
+
}
|
|
121
|
+
_handleSlotchange() {
|
|
122
|
+
this._setupKeydownListener();
|
|
123
|
+
}
|
|
124
|
+
_setupKeydownListener() {
|
|
125
|
+
this._keydownAbortController?.abort(), this._keydownAbortController = new AbortController(), this._getMiniCalendarDays().forEach((e, t) => {
|
|
126
|
+
e.addEventListener("keydown", (e) => this._handleKeydownCalendarDay(e), { signal: this._keydownAbortController.signal }), t !== 0 && (e.tabIndex = -1);
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
focus() {
|
|
130
|
+
this._getMiniCalendarDays()?.find((e) => e.tabIndex === 0)?.focus();
|
|
131
|
+
}
|
|
132
|
+
connectedCallback() {
|
|
133
|
+
super.connectedCallback(), this._setupKeydownListener();
|
|
134
|
+
}
|
|
135
|
+
disconnectedCallback() {
|
|
136
|
+
super.disconnectedCallback(), this._keydownAbortController?.abort();
|
|
137
|
+
}
|
|
138
|
+
render() {
|
|
139
|
+
return r`<slot @slotchange=${this._handleSlotchange}></slot>`;
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
})();
|
|
143
|
+
//#endregion
|
|
144
|
+
export { f as t };
|
package/mini-calendar.js
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
e.define();
|
|
6
|
-
|
|
7
|
-
export {
|
|
8
|
-
e as SbbMiniCalendarDayElement,
|
|
9
|
-
i as SbbMiniCalendarElement,
|
|
10
|
-
n as SbbMiniCalendarMonthElement
|
|
11
|
-
};
|
|
1
|
+
import { t as e } from "./mini-calendar-day.component-cAawa9Gr.js";
|
|
2
|
+
import { t } from "./mini-calendar-month.component-DiYSVb-Y.js";
|
|
3
|
+
import { t as n } from "./mini-calendar.component-DpPMb47Y.js";
|
|
4
|
+
import "./mini-calendar.pure.js";
|
|
5
|
+
n.define(), e.define(), t.define();
|
|
6
|
+
//#endregion
|
|
7
|
+
export { e as SbbMiniCalendarDayElement, n as SbbMiniCalendarElement, t as SbbMiniCalendarMonthElement };
|
package/mini-calendar.pure.js
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
5
|
-
r as SbbMiniCalendarDayElement,
|
|
6
|
-
b as SbbMiniCalendarElement,
|
|
7
|
-
o as SbbMiniCalendarMonthElement
|
|
8
|
-
};
|
|
1
|
+
import { t as e } from "./mini-calendar-day.component-cAawa9Gr.js";
|
|
2
|
+
import { t } from "./mini-calendar-month.component-DiYSVb-Y.js";
|
|
3
|
+
import { t as n } from "./mini-calendar.component-DpPMb47Y.js";
|
|
4
|
+
export { e as SbbMiniCalendarDayElement, n as SbbMiniCalendarElement, t as SbbMiniCalendarMonthElement };
|
|
@@ -1,57 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
};
|
|
4
|
-
var h = (t, i, e) => i.has(t) || v("Cannot " + e);
|
|
5
|
-
var g = (t, i, e) => (h(t, i, "read from private field"), e ? e.call(t) : i.get(t)), f = (t, i, e) => i.has(t) ? v("Cannot add the same private member more than once") : i instanceof WeakSet ? i.add(t) : i.set(t, e), b = (t, i, e, s) => (h(t, i, "write to private field"), s ? s.call(t, e) : i.set(t, e), e);
|
|
6
|
-
import { __esDecorate as p, __runInitializers as u } from "tslib";
|
|
7
|
-
import { property as d } from "lit/decorators.js";
|
|
8
|
-
import { html as y } from "lit/static-html.js";
|
|
9
|
-
import { isLean as z } from "../../core/dom.js";
|
|
10
|
-
import { boxSizingStyles as x } from "../../core/styles.js";
|
|
11
|
-
import { css as k } from "lit";
|
|
12
|
-
import "../../icon.js";
|
|
13
|
-
const _ = k`:host{--sbb-navigation-action-color: var(--sbb-color-4-negative);--sbb-navigation-action-icon-display: none;display:block;outline:none!important}:host(:is(:state(section-action),[state--section-action]):is(:state(action-active),[state--action-active]).sbb-active){--sbb-navigation-action-icon-display: block}:host(:is(:state(action-active),[state--action-active])){--sbb-navigation-action-color: var(--sbb-color-5)}@media(forced-colors:active){:host(:is(:state(action-active),[state--action-active])){--sbb-navigation-action-color: Highlight}}sbb-icon{display:var(--sbb-navigation-action-icon-display);position:absolute;inset-inline-start:calc((var(--sbb-size-icon-ui-small) + var(--sbb-spacing-fixed-1x)) * -1);inset-block-start:calc(1em * var(--sbb-typo-line-height-text) / 2);translate:0 -50%}@media(any-hover:hover){:host(:hover){--sbb-navigation-action-color: var(--sbb-color-5)}}@media(forced-colors:active){:host(:is(:state(button),[state--button])){--sbb-navigation-action-color: ButtonText}}:is(.sbb-navigation-button,.sbb-navigation-link){--sbb-title-font-size: var(--sbb-title-font-size-level-4-lean, var(--sbb-heading-font-size-4));margin-block:var(--sbb-title-margin-block, 0);margin-inline:0;font-family:var(--sbb-typo-font-family);font-weight:700;line-height:var(--sbb-title-line-height, var(--sbb-typo-line-height-heading));letter-spacing:var(--sbb-typo-letter-spacing-heading);font-size:var(--sbb-title-font-size);cursor:var(--sbb-cursor-pointer);position:relative;text-decoration:none;display:flex;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;transition:color var(--sbb-disable-animation-duration, var(--sbb-animation-duration-3x)) ease;-webkit-hyphens:auto;hyphens:auto;text-align:left;color:var(--sbb-navigation-action-color);outline:none}@media(forced-colors:active){:is(.sbb-navigation-button,.sbb-navigation-link){transition:none}}:host([size=m]) :is(.sbb-navigation-button,.sbb-navigation-link){--sbb-text-font-size: var(--sbb-text-font-size-s);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size);font-weight:700}:host([size=s]) :is(.sbb-navigation-button,.sbb-navigation-link){--sbb-text-font-size: var(--sbb-text-font-size-xxs);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size);font-weight:700}:host(:focus-visible) :is(.sbb-navigation-button,.sbb-navigation-link),:is(.sbb-navigation-button,.sbb-navigation-link):focus-visible{outline-offset:var(--sbb-focus-outline-offset);outline:var(--sbb-focus-outline-color) var(--sbb-focus-outline-style, solid) var(--sbb-focus-outline-width);border-radius:calc(var(--sbb-border-radius-4x) - var(--sbb-focus-outline-offset))}`, T = (t) => (() => {
|
|
14
|
-
var n, a;
|
|
15
|
-
let e = t, s, c = [], l = [];
|
|
16
|
-
return a = class extends e {
|
|
17
|
-
constructor(...o) {
|
|
18
|
-
super(...o);
|
|
19
|
-
f(this, n);
|
|
20
|
-
b(this, n, u(this, c, z() ? "s" : "l")), this.connectedSection = u(this, l), this._navigationMarker = null, this._navigationSection = null, this.addEventListener?.("click", () => {
|
|
21
|
-
!this.matches(":is(:state(action-active),[state--action-active])") && this._navigationMarker && !this.connectedSection && this.marker?.select(this);
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Action size variant, either s, m or l.
|
|
26
|
-
* @default 'l' / 's' (lean)
|
|
27
|
-
*/
|
|
28
|
-
get size() {
|
|
29
|
-
return g(this, n);
|
|
30
|
-
}
|
|
31
|
-
set size(o) {
|
|
32
|
-
b(this, n, o);
|
|
33
|
-
}
|
|
34
|
-
/** The navigation marker in which the action is nested. */
|
|
35
|
-
get marker() {
|
|
36
|
-
return this._navigationMarker;
|
|
37
|
-
}
|
|
38
|
-
/** The section in which the action is nested. */
|
|
39
|
-
get section() {
|
|
40
|
-
return this._navigationSection;
|
|
41
|
-
}
|
|
42
|
-
connectedCallback() {
|
|
43
|
-
super.connectedCallback(), this._navigationMarker = this.closest("sbb-navigation-marker"), this._navigationSection = this.closest("sbb-navigation-section"), this.toggleState("section-action", !!this._navigationSection);
|
|
44
|
-
}
|
|
45
|
-
renderTemplate() {
|
|
46
|
-
return y`<sbb-icon name="dash-small"></sbb-icon> <slot></slot>`;
|
|
47
|
-
}
|
|
48
|
-
}, n = new WeakMap(), (() => {
|
|
49
|
-
const o = typeof Symbol == "function" && Symbol.metadata ? Object.create(e[Symbol.metadata] ?? null) : void 0;
|
|
50
|
-
s = [d({ reflect: !0 })], p(a, null, s, { kind: "accessor", name: "size", static: !1, private: !1, access: { has: (r) => "size" in r, get: (r) => r.size, set: (r, m) => {
|
|
51
|
-
r.size = m;
|
|
52
|
-
} }, metadata: o }, c, l), o && Object.defineProperty(a, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: o });
|
|
53
|
-
})(), a.styles = [x, _], a;
|
|
54
|
-
})();
|
|
55
|
-
export {
|
|
56
|
-
T as SbbNavigationActionCommonElementMixin
|
|
57
|
-
};
|
|
1
|
+
import { t as e } from "../../navigation-action-common-Dcb95pqU.js";
|
|
2
|
+
export { e as SbbNavigationActionCommonElementMixin };
|
package/navigation/common.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
1
|
+
import { t as e } from "../navigation-action-common-Dcb95pqU.js";
|
|
2
|
+
//#region src/elements/navigation/common.ts
|
|
3
|
+
console.warn("The entrypoint '@sbb-esta/elements/navigation/common.js' has been deprecated.\nUse either '@sbb-esta/elements/navigation.js' or '@sbb-esta/elements/navigation.pure.js' instead.");
|
|
4
|
+
//#endregion
|
|
5
|
+
export { e as SbbNavigationActionCommonElementMixin };
|