@sbb-esta/lyne-elements 3.13.0 → 4.0.0-next.1
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.d.ts.map +1 -1
- package/accordion/accordion.component.js +18 -17
- package/action-group/action-group.component.d.ts.map +1 -1
- package/action-group/action-group.component.js +52 -51
- package/alert/alert/alert.component.d.ts +1 -6
- package/alert/alert/alert.component.d.ts.map +1 -1
- package/alert/alert/alert.component.js +44 -55
- package/alert/alert-group/alert-group.component.d.ts.map +1 -1
- package/alert/alert-group/alert-group.component.js +21 -20
- package/autocomplete/autocomplete-base-element.d.ts.map +1 -1
- package/autocomplete/autocomplete-base-element.js +59 -58
- package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +26 -25
- package/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.js +13 -12
- package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +8 -7
- package/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js +6 -5
- package/breadcrumb/breadcrumb/breadcrumb.component.d.ts.map +1 -1
- package/breadcrumb/breadcrumb/breadcrumb.component.js +8 -8
- package/breadcrumb/breadcrumb-group/breadcrumb-group.component.d.ts.map +1 -1
- package/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +11 -10
- package/button/accent-button/accent-button.component.d.ts.map +1 -1
- package/button/accent-button/accent-button.component.js +12 -7
- package/button/accent-button-link/accent-button-link.component.d.ts.map +1 -1
- package/button/accent-button-link/accent-button-link.component.js +10 -5
- package/button/accent-button-static/accent-button-static.component.d.ts.map +1 -1
- package/button/accent-button-static/accent-button-static.component.js +13 -8
- package/button/button/button.component.d.ts.map +1 -1
- package/button/button/button.component.js +15 -10
- package/button/button-link/button-link.component.d.ts.map +1 -1
- package/button/button-link/button-link.component.js +14 -9
- package/button/button-static/button-static.component.d.ts.map +1 -1
- package/button/button-static/button-static.component.js +14 -9
- package/button/common/button-common.d.ts.map +1 -1
- package/button/common/button-common.js +12 -12
- package/button/common.d.ts.map +1 -1
- package/button/common.js +8 -7
- package/button/mini-button/mini-button.component.d.ts.map +1 -1
- package/button/mini-button/mini-button.component.js +19 -18
- package/button/mini-button-group/mini-button-group.component.d.ts.map +1 -1
- package/button/mini-button-group/mini-button-group.component.js +23 -22
- package/button/secondary-button/secondary-button.component.d.ts.map +1 -1
- package/button/secondary-button/secondary-button.component.js +12 -7
- package/button/secondary-button-link/secondary-button-link.component.d.ts.map +1 -1
- package/button/secondary-button-link/secondary-button-link.component.js +13 -8
- package/button/secondary-button-static/secondary-button-static.component.d.ts.map +1 -1
- package/button/secondary-button-static/secondary-button-static.component.js +14 -9
- package/button/transparent-button/transparent-button.component.d.ts.map +1 -1
- package/button/transparent-button/transparent-button.component.js +13 -8
- package/button/transparent-button-link/transparent-button-link.component.d.ts.map +1 -1
- package/button/transparent-button-link/transparent-button-link.component.js +13 -8
- package/button/transparent-button-static/transparent-button-static.component.d.ts.map +1 -1
- package/button/transparent-button-static/transparent-button-static.component.js +16 -11
- package/button.js +11 -10
- package/calendar/calendar.component.d.ts.map +1 -1
- package/calendar/calendar.component.js +26 -25
- package/card/card/card.component.d.ts.map +1 -1
- package/card/card/card.component.js +17 -16
- package/card/card-badge/card-badge.component.d.ts.map +1 -1
- package/card/card-badge/card-badge.component.js +17 -16
- package/card/common/card-action-common.d.ts.map +1 -1
- package/card/common/card-action-common.js +5 -4
- package/carousel/carousel/carousel.component.d.ts.map +1 -1
- package/carousel/carousel/carousel.component.js +33 -32
- package/carousel/carousel-item/carousel-item.component.js +8 -8
- package/carousel/carousel-list/carousel-list.component.js +4 -4
- package/checkbox/checkbox/checkbox.component.d.ts +1 -1
- package/checkbox/checkbox/checkbox.component.d.ts.map +1 -1
- package/checkbox/checkbox/checkbox.component.js +22 -17
- package/checkbox/checkbox-group/checkbox-group.component.d.ts +1 -1
- package/checkbox/checkbox-group/checkbox-group.component.d.ts.map +1 -1
- package/checkbox/checkbox-group/checkbox-group.component.js +37 -36
- package/checkbox/checkbox-panel/checkbox-panel.component.d.ts.map +1 -1
- package/checkbox/checkbox-panel/checkbox-panel.component.js +20 -15
- package/checkbox/common.js +1 -1
- package/checkbox-common-BGA_q9nc.js +5 -0
- package/checkbox.js +1 -1
- package/chip/chip/chip.component.d.ts.map +1 -1
- package/chip/chip/chip.component.js +20 -19
- package/chip/chip-group/chip-group.component.d.ts.map +1 -1
- package/chip/chip-group/chip-group.component.js +11 -10
- package/chip-label/chip-label.component.d.ts.map +1 -1
- package/chip-label/chip-label.component.js +5 -4
- package/clock/clock.component.d.ts.map +1 -1
- package/clock/clock.component.js +24 -23
- package/container/container/container.component.d.ts +3 -1
- package/container/container/container.component.d.ts.map +1 -1
- package/container/container/container.component.js +27 -25
- package/container/sticky-bar/sticky-bar.component.d.ts.map +1 -1
- package/container/sticky-bar/sticky-bar.component.js +25 -24
- package/core/controllers/media-matchers-controller.d.ts +2 -2
- package/core/controllers/media-matchers-controller.d.ts.map +1 -1
- package/core/controllers/media-matchers-controller.js +22 -22
- package/core/controllers/slot-state-controller.d.ts +26 -14
- package/core/controllers/slot-state-controller.d.ts.map +1 -1
- package/core/controllers/slot-state-controller.js +28 -22
- package/core/controllers.js +17 -16
- package/core/decorators.d.ts +0 -1
- package/core/decorators.d.ts.map +1 -1
- package/core/decorators.js +5 -7
- package/core/dom/breakpoint.d.ts +1 -1
- package/core/dom/breakpoint.d.ts.map +1 -1
- package/core/dom/breakpoint.js +4 -4
- package/core/i18n/i18n.js +6 -6
- package/core/interfaces/types.d.ts +1 -1
- package/core/interfaces/types.d.ts.map +1 -1
- package/core/mixins/element-internals-mixin.d.ts.map +1 -1
- package/core/mixins/element-internals-mixin.js +9 -8
- package/core/mixins.js +5 -5
- package/core/styles/_index.scss +0 -1
- package/core/styles/box-sizing.scss +3 -0
- package/core/styles/core/mediaqueries.scss +6 -12
- package/core/styles/core.scss +104 -98
- package/core/styles/mixins/buttons.scss +0 -171
- package/core/styles/mixins/card.scss +1 -2
- package/core/styles/mixins/lists.scss +1 -1
- package/core/styles/mixins/panel.scss +1 -1
- package/core/styles/{node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables_css--mixin.scss → node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables-as-css.scss} +194 -460
- package/core/styles/node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables.scss +10 -217
- package/core/styles.d.ts +4 -0
- package/core/styles.d.ts.map +1 -0
- package/core/styles.js +5 -0
- package/core.css +169 -490
- package/custom-elements.json +2854 -2200
- package/datepicker/datepicker/datepicker.component.d.ts +1 -1
- package/datepicker/datepicker/datepicker.component.d.ts.map +1 -1
- package/datepicker/datepicker-next-day/datepicker-next-day.component.d.ts.map +1 -1
- package/datepicker/datepicker-next-day/datepicker-next-day.component.js +24 -22
- package/datepicker/datepicker-previous-day/datepicker-previous-day.component.d.ts.map +1 -1
- package/datepicker/datepicker-previous-day/datepicker-previous-day.component.js +25 -23
- package/datepicker/datepicker-toggle/datepicker-toggle.component.d.ts.map +1 -1
- package/datepicker/datepicker-toggle/datepicker-toggle.component.js +29 -27
- package/development/accordion/accordion.component.d.ts.map +1 -1
- package/development/accordion/accordion.component.js +4 -9
- package/development/action-group/action-group.component.d.ts.map +1 -1
- package/development/action-group/action-group.component.js +5 -88
- package/development/alert/alert/alert.component.d.ts +1 -6
- package/development/alert/alert/alert.component.d.ts.map +1 -1
- package/development/alert/alert/alert.component.js +12 -35
- package/development/alert/alert-group/alert-group.component.d.ts.map +1 -1
- package/development/alert/alert-group/alert-group.component.js +4 -9
- package/development/autocomplete/autocomplete-base-element.d.ts.map +1 -1
- package/development/autocomplete/autocomplete-base-element.js +8 -13
- package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +7 -120
- package/development/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.js +4 -9
- package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +5 -10
- package/development/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js +4 -9
- package/development/breadcrumb/breadcrumb/breadcrumb.component.d.ts.map +1 -1
- package/development/breadcrumb/breadcrumb/breadcrumb.component.js +6 -12
- package/development/breadcrumb/breadcrumb-group/breadcrumb-group.component.d.ts.map +1 -1
- package/development/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +4 -9
- package/development/button/accent-button/accent-button.component.d.ts.map +1 -1
- package/development/button/accent-button/accent-button.component.js +7 -2
- package/development/button/accent-button-link/accent-button-link.component.d.ts.map +1 -1
- package/development/button/accent-button-link/accent-button-link.component.js +7 -2
- package/development/button/accent-button-static/accent-button-static.component.d.ts.map +1 -1
- package/development/button/accent-button-static/accent-button-static.component.js +7 -2
- package/development/button/button/button.component.d.ts.map +1 -1
- package/development/button/button/button.component.js +7 -2
- package/development/button/button-link/button-link.component.d.ts.map +1 -1
- package/development/button/button-link/button-link.component.js +7 -2
- package/development/button/button-static/button-static.component.d.ts.map +1 -1
- package/development/button/button-static/button-static.component.js +7 -2
- package/development/button/common/button-common.d.ts.map +1 -1
- package/development/button/common/button-common.js +3 -3
- package/development/button/common.d.ts.map +1 -1
- package/development/button/common.js +3 -2
- package/development/button/mini-button/mini-button.component.d.ts.map +1 -1
- package/development/button/mini-button/mini-button.component.js +11 -126
- package/development/button/mini-button-group/mini-button-group.component.d.ts.map +1 -1
- package/development/button/mini-button-group/mini-button-group.component.js +4 -9
- package/development/button/secondary-button/secondary-button.component.d.ts.map +1 -1
- package/development/button/secondary-button/secondary-button.component.js +7 -2
- package/development/button/secondary-button-link/secondary-button-link.component.d.ts.map +1 -1
- package/development/button/secondary-button-link/secondary-button-link.component.js +7 -2
- package/development/button/secondary-button-static/secondary-button-static.component.d.ts.map +1 -1
- package/development/button/secondary-button-static/secondary-button-static.component.js +7 -2
- package/development/button/transparent-button/transparent-button.component.d.ts.map +1 -1
- package/development/button/transparent-button/transparent-button.component.js +7 -2
- package/development/button/transparent-button-link/transparent-button-link.component.d.ts.map +1 -1
- package/development/button/transparent-button-link/transparent-button-link.component.js +7 -2
- package/development/button/transparent-button-static/transparent-button-static.component.d.ts.map +1 -1
- package/development/button/transparent-button-static/transparent-button-static.component.js +7 -2
- package/development/button.js +3 -2
- package/development/calendar/calendar.component.d.ts.map +1 -1
- package/development/calendar/calendar.component.js +8 -13
- package/development/card/card/card.component.d.ts.map +1 -1
- package/development/card/card/card.component.js +5 -10
- package/development/card/card-badge/card-badge.component.d.ts.map +1 -1
- package/development/card/card-badge/card-badge.component.js +4 -9
- package/development/card/common/card-action-common.d.ts.map +1 -1
- package/development/card/common/card-action-common.js +4 -9
- package/development/carousel/carousel/carousel.component.d.ts.map +1 -1
- package/development/carousel/carousel/carousel.component.js +5 -10
- package/development/carousel/carousel-item/carousel-item.component.js +2 -8
- package/development/carousel/carousel-list/carousel-list.component.js +2 -8
- package/development/checkbox/checkbox/checkbox.component.d.ts +1 -1
- package/development/checkbox/checkbox/checkbox.component.d.ts.map +1 -1
- package/development/checkbox/checkbox/checkbox.component.js +13 -8
- package/development/checkbox/checkbox-group/checkbox-group.component.d.ts +1 -1
- package/development/checkbox/checkbox-group/checkbox-group.component.d.ts.map +1 -1
- package/development/checkbox/checkbox-group/checkbox-group.component.js +9 -50
- package/development/checkbox/checkbox-panel/checkbox-panel.component.d.ts.map +1 -1
- package/development/checkbox/checkbox-panel/checkbox-panel.component.js +9 -4
- package/development/checkbox/common.js +1 -1
- package/development/{checkbox-common-Cq9DLK37.js → checkbox-common-BZFJgZd7.js} +1 -7
- package/development/checkbox.js +1 -1
- package/development/chip/chip/chip.component.d.ts.map +1 -1
- package/development/chip/chip/chip.component.js +9 -14
- package/development/chip/chip-group/chip-group.component.d.ts.map +1 -1
- package/development/chip/chip-group/chip-group.component.js +5 -10
- package/development/chip-label/chip-label.component.d.ts.map +1 -1
- package/development/chip-label/chip-label.component.js +4 -9
- package/development/clock/clock.component.d.ts.map +1 -1
- package/development/clock/clock.component.js +4 -9
- package/development/container/container/container.component.d.ts +3 -1
- package/development/container/container/container.component.d.ts.map +1 -1
- package/development/container/container/container.component.js +11 -15
- package/development/container/sticky-bar/sticky-bar.component.d.ts.map +1 -1
- package/development/container/sticky-bar/sticky-bar.component.js +5 -10
- package/development/core/controllers/media-matchers-controller.d.ts +2 -2
- package/development/core/controllers/media-matchers-controller.d.ts.map +1 -1
- package/development/core/controllers/media-matchers-controller.js +6 -6
- package/development/core/controllers/slot-state-controller.d.ts +26 -14
- package/development/core/controllers/slot-state-controller.d.ts.map +1 -1
- package/development/core/controllers/slot-state-controller.js +48 -41
- package/development/core/controllers.js +6 -5
- package/development/core/decorators.d.ts +0 -1
- package/development/core/decorators.d.ts.map +1 -1
- package/development/core/decorators.js +2 -4
- package/development/core/dom/breakpoint.d.ts +1 -1
- package/development/core/dom/breakpoint.d.ts.map +1 -1
- package/development/core/dom/breakpoint.js +2 -2
- package/development/core/i18n/i18n.js +7 -7
- package/development/core/interfaces/types.d.ts +1 -1
- package/development/core/interfaces/types.d.ts.map +1 -1
- package/development/core/mixins/element-internals-mixin.d.ts.map +1 -1
- package/development/core/mixins/element-internals-mixin.js +3 -1
- package/development/core/mixins.js +1 -1
- package/development/core/styles.d.ts +4 -0
- package/development/core/styles.d.ts.map +1 -0
- package/development/core/styles.js +10 -0
- package/development/datepicker/datepicker/datepicker.component.d.ts +1 -1
- package/development/datepicker/datepicker/datepicker.component.d.ts.map +1 -1
- package/development/datepicker/datepicker/datepicker.component.js +1 -1
- package/development/datepicker/datepicker-next-day/datepicker-next-day.component.d.ts.map +1 -1
- package/development/datepicker/datepicker-next-day/datepicker-next-day.component.js +5 -113
- package/development/datepicker/datepicker-previous-day/datepicker-previous-day.component.d.ts.map +1 -1
- package/development/datepicker/datepicker-previous-day/datepicker-previous-day.component.js +5 -113
- package/development/datepicker/datepicker-toggle/datepicker-toggle.component.d.ts.map +1 -1
- package/development/datepicker/datepicker-toggle/datepicker-toggle.component.js +5 -113
- package/development/dialog/dialog/dialog.component.d.ts +3 -4
- package/development/dialog/dialog/dialog.component.d.ts.map +1 -1
- package/development/dialog/dialog/dialog.component.js +53 -128
- package/development/dialog/dialog-actions/dialog-actions.component.d.ts +0 -1
- package/development/dialog/dialog-actions/dialog-actions.component.d.ts.map +1 -1
- package/development/dialog/dialog-actions/dialog-actions.component.js +4 -14
- package/development/dialog/dialog-close-button/dialog-close-button.component.d.ts +1 -1
- package/development/dialog/dialog-close-button/dialog-close-button.component.d.ts.map +1 -1
- package/development/dialog/dialog-close-button/dialog-close-button.component.js +9 -13
- package/development/dialog/dialog-content/dialog-content.component.d.ts +1 -0
- package/development/dialog/dialog-content/dialog-content.component.d.ts.map +1 -1
- package/development/dialog/dialog-content/dialog-content.component.js +15 -9
- package/development/dialog/dialog-title/dialog-title.component.d.ts +0 -1
- package/development/dialog/dialog-title/dialog-title.component.d.ts.map +1 -1
- package/development/dialog/dialog-title/dialog-title.component.js +14 -7
- package/development/divider/divider.component.d.ts.map +1 -1
- package/development/divider/divider.component.js +4 -9
- package/development/expansion-panel/expansion-panel/expansion-panel.component.d.ts.map +1 -1
- package/development/expansion-panel/expansion-panel/expansion-panel.component.js +5 -10
- package/development/expansion-panel/expansion-panel-content/expansion-panel-content.component.d.ts.map +1 -1
- package/development/expansion-panel/expansion-panel-content/expansion-panel-content.component.js +6 -11
- package/development/expansion-panel/expansion-panel-header/expansion-panel-header.component.d.ts +2 -3
- package/development/expansion-panel/expansion-panel-header/expansion-panel-header.component.d.ts.map +1 -1
- package/development/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +11 -16
- package/development/file-selector/common.js +1 -1
- package/development/file-selector/file-selector/file-selector.component.d.ts.map +1 -1
- package/development/file-selector/file-selector/file-selector.component.js +4 -4
- package/development/file-selector/file-selector-dropzone/file-selector-dropzone.component.d.ts.map +1 -1
- package/development/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +6 -11
- package/development/{file-selector-common-CRNAWFM_.js → file-selector-common-CsFa5XJ-.js} +3 -9
- package/development/file-selector.js +1 -1
- package/development/flip-card/flip-card/flip-card.component.d.ts.map +1 -1
- package/development/flip-card/flip-card/flip-card.component.js +7 -12
- package/development/flip-card/flip-card-details/flip-card-details.component.d.ts.map +1 -1
- package/development/flip-card/flip-card-details/flip-card-details.component.js +4 -9
- package/development/flip-card/flip-card-summary/flip-card-summary.component.d.ts.map +1 -1
- package/development/flip-card/flip-card-summary/flip-card-summary.component.js +7 -12
- package/development/footer/footer.component.d.ts.map +1 -1
- package/development/footer/footer.component.js +8 -13
- package/development/form-error/form-error.component.d.ts.map +1 -1
- package/development/form-error/form-error.component.js +4 -9
- package/development/form-field/form-field/form-field.component.d.ts.map +1 -1
- package/development/form-field/form-field/form-field.component.js +10 -15
- package/development/form-field/form-field-clear/form-field-clear.component.d.ts.map +1 -1
- package/development/form-field/form-field-clear/form-field-clear.component.js +6 -118
- package/development/header/common/header-action-common.d.ts.map +1 -1
- package/development/header/common/header-action-common.js +23 -108
- package/development/header/header/header.component.d.ts +1 -1
- package/development/header/header/header.component.d.ts.map +1 -1
- package/development/header/header/header.component.js +6 -11
- package/development/header/header-environment/header-environment.component.d.ts.map +1 -1
- package/development/header/header-environment/header-environment.component.js +4 -9
- package/development/icon/icon-base.d.ts.map +1 -1
- package/development/icon/icon-base.js +4 -9
- package/development/icon/icon-name-mixin.d.ts +3 -2
- package/development/icon/icon-name-mixin.d.ts.map +1 -1
- package/development/icon/icon-name-mixin.js +12 -3
- package/development/{icon-sidebar-button-common-CaOV-n8E.js → icon-sidebar-button-common-C6QChtaa.js} +4 -22
- package/development/image/image.component.d.ts +1 -1
- package/development/image/image.component.d.ts.map +1 -1
- package/development/image/image.component.js +7 -18
- package/development/journey-header/journey-header.component.d.ts.map +1 -1
- package/development/journey-header/journey-header.component.js +4 -9
- package/development/lead-container/lead-container.component.d.ts.map +1 -1
- package/development/lead-container/lead-container.component.js +6 -24
- package/development/link/common/block-link-common.d.ts.map +1 -1
- package/development/link/common/block-link-common.js +5 -4
- package/development/link/common/inline-link-common.d.ts.map +1 -1
- package/development/link/common/inline-link-common.js +4 -3
- package/development/link/common/link-common.d.ts.map +1 -1
- package/development/link/common/link-common.js +1 -1
- package/development/link/common.js +1 -1
- package/development/{link-common-B9KyXHCd.js → link-common-DYZHRSSJ.js} +4 -10
- package/development/link-list/common/link-list-base.d.ts.map +1 -1
- package/development/link-list/common/link-list-base.js +7 -15
- package/development/link-list/common.js +1 -1
- package/development/link-list/link-list/link-list.component.d.ts.map +1 -1
- package/development/link-list/link-list/link-list.component.js +3 -50
- package/development/link-list/link-list-anchor/link-list-anchor.component.d.ts.map +1 -1
- package/development/link-list/link-list-anchor/link-list-anchor.component.js +3 -2
- package/development/{link-list-base-DC9sc7q5.js → link-list-base-CJJ3qdD7.js} +3 -9
- package/development/link-list.js +1 -1
- package/development/link.js +1 -1
- package/development/loading-indicator/loading-indicator.component.d.ts.map +1 -1
- package/development/loading-indicator/loading-indicator.component.js +3 -8
- package/development/loading-indicator-circle/loading-indicator-circle.component.d.ts.map +1 -1
- package/development/loading-indicator-circle/loading-indicator-circle.component.js +4 -9
- package/development/logo/logo.component.d.ts.map +1 -1
- package/development/logo/logo.component.js +4 -9
- package/development/map-container/map-container.component.d.ts +1 -1
- package/development/map-container/map-container.component.d.ts.map +1 -1
- package/development/map-container/map-container.component.js +10 -15
- package/development/menu/common/menu-action-common.d.ts.map +1 -1
- package/development/menu/common/menu-action-common.js +12 -31
- package/development/menu/menu/menu.component.d.ts +1 -12
- package/development/menu/menu/menu.component.d.ts.map +1 -1
- package/development/menu/menu/menu.component.js +17 -65
- package/development/message/message.component.d.ts.map +1 -1
- package/development/message/message.component.js +4 -9
- package/development/{transparent-button-BUTXbd7W.js → mini-button-common-Di32bSJj.js} +112 -15
- package/development/mini-calendar/mini-calendar/mini-calendar.component.js +2 -8
- package/development/mini-calendar/mini-calendar-day/mini-calendar-day.component.js +2 -8
- package/development/mini-calendar/mini-calendar-month/mini-calendar-month.component.d.ts.map +1 -1
- package/development/mini-calendar/mini-calendar-month/mini-calendar-month.component.js +4 -9
- package/development/navigation/common/navigation-action-common.d.ts.map +1 -1
- package/development/navigation/common/navigation-action-common.js +4 -9
- package/development/navigation/navigation/navigation.component.d.ts.map +1 -1
- package/development/navigation/navigation/navigation.component.js +5 -15
- package/development/navigation/navigation-list/navigation-list.component.d.ts.map +1 -1
- package/development/navigation/navigation-list/navigation-list.component.js +9 -14
- package/development/navigation/navigation-marker/navigation-marker.component.d.ts.map +1 -1
- package/development/navigation/navigation-marker/navigation-marker.component.js +4 -9
- package/development/navigation/navigation-section/navigation-section.component.d.ts.map +1 -1
- package/development/navigation/navigation-section/navigation-section.component.js +10 -20
- package/development/notification/notification.component.d.ts +4 -2
- package/development/notification/notification.component.d.ts.map +1 -1
- package/development/notification/notification.component.js +22 -18
- package/development/option/optgroup/optgroup-base-element.d.ts.map +1 -1
- package/development/option/optgroup/optgroup-base-element.js +4 -9
- package/development/option/option/option-base-element.d.ts.map +1 -1
- package/development/option/option/option-base-element.js +5 -13
- package/development/option/option/option.component.d.ts.map +1 -1
- package/development/option/option/option.component.js +5 -10
- package/development/option/option-hint/option-hint.component.d.ts.map +1 -1
- package/development/option/option-hint/option-hint.component.js +4 -9
- package/development/overlay/overlay.component.d.ts.map +1 -1
- package/development/overlay/overlay.component.js +5 -10
- package/development/paginator/compact-paginator/compact-paginator.component.d.ts.map +1 -1
- package/development/paginator/compact-paginator/compact-paginator.component.js +4 -9
- package/development/paginator/paginator/paginator.component.d.ts.map +1 -1
- package/development/paginator/paginator/paginator.component.js +4 -9
- package/development/popover/popover/popover.component.d.ts +2 -0
- package/development/popover/popover/popover.component.d.ts.map +1 -1
- package/development/popover/popover/popover.component.js +20 -11
- package/development/popover.d.ts +0 -1
- package/development/popover.d.ts.map +1 -1
- package/development/popover.js +2 -4
- package/development/radio-button/common.js +1 -1
- package/development/radio-button/radio-button/radio-button.component.d.ts.map +1 -1
- package/development/radio-button/radio-button/radio-button.component.js +10 -11
- package/development/radio-button/radio-button-group/radio-button-group.component.d.ts.map +1 -1
- package/development/radio-button/radio-button-group/radio-button-group.component.js +7 -45
- package/development/radio-button/radio-button-panel/radio-button-panel.component.d.ts.map +1 -1
- package/development/radio-button/radio-button-panel/radio-button-panel.component.js +9 -4
- package/development/{radio-button-common-DWGEcWfZ.js → radio-button-common-5uawgCpB.js} +2 -8
- package/development/radio-button.js +1 -1
- package/development/sbb-tokens-DXgmy_b-.js +21 -0
- package/development/select/select.component.d.ts.map +1 -1
- package/development/select/select.component.js +8 -13
- package/development/selection-action-panel/selection-action-panel.component.d.ts.map +1 -1
- package/development/selection-action-panel/selection-action-panel.component.js +4 -9
- package/development/selection-expansion-panel/selection-expansion-panel.component.d.ts.map +1 -1
- package/development/selection-expansion-panel/selection-expansion-panel.component.js +9 -14
- package/development/sidebar/common.js +1 -1
- package/development/sidebar/icon-sidebar/icon-sidebar.component.js +2 -8
- package/development/sidebar/icon-sidebar-button/icon-sidebar-button.component.d.ts.map +1 -1
- package/development/sidebar/icon-sidebar-button/icon-sidebar-button.component.js +3 -2
- package/development/sidebar/icon-sidebar-link/icon-sidebar-link.component.d.ts.map +1 -1
- package/development/sidebar/icon-sidebar-link/icon-sidebar-link.component.js +3 -2
- package/development/sidebar/sidebar/sidebar.component.d.ts.map +1 -1
- package/development/sidebar/sidebar/sidebar.component.js +5 -10
- package/development/sidebar/sidebar-close-button/sidebar-close-button.component.d.ts +1 -0
- package/development/sidebar/sidebar-close-button/sidebar-close-button.component.d.ts.map +1 -1
- package/development/sidebar/sidebar-close-button/sidebar-close-button.component.js +5 -9
- package/development/sidebar/sidebar-container/sidebar-container.component.d.ts.map +1 -1
- package/development/sidebar/sidebar-container/sidebar-container.component.js +7 -2
- package/development/sidebar.js +1 -1
- package/development/signet/signet.component.d.ts.map +1 -1
- package/development/signet/signet.component.js +4 -9
- package/development/skiplink-list/skiplink-list.component.d.ts.map +1 -1
- package/development/skiplink-list/skiplink-list.component.js +5 -10
- package/development/slider/slider.component.d.ts.map +1 -1
- package/development/slider/slider.component.js +4 -9
- package/development/status/status.component.d.ts +2 -2
- package/development/status/status.component.d.ts.map +1 -1
- package/development/status/status.component.js +8 -16
- package/development/stepper/step/step.component.d.ts.map +1 -1
- package/development/stepper/step/step.component.js +4 -9
- package/development/stepper/step-label/step-label.component.d.ts.map +1 -1
- package/development/stepper/step-label/step-label.component.js +4 -9
- package/development/stepper/stepper/stepper.component.d.ts.map +1 -1
- package/development/stepper/stepper/stepper.component.js +4 -9
- package/development/table/table-wrapper/table-wrapper.component.js +2 -8
- package/development/tabs/tab/tab.component.js +1 -7
- package/development/tabs/tab-group/tab-group.component.d.ts.map +1 -1
- package/development/tabs/tab-group/tab-group.component.js +4 -9
- package/development/tabs/tab-label/tab-label.component.d.ts.map +1 -1
- package/development/tabs/tab-label/tab-label.component.js +9 -14
- package/development/tag/tag/tag.component.d.ts.map +1 -1
- package/development/tag/tag/tag.component.js +8 -13
- package/development/tag/tag-group/tag-group.component.d.ts.map +1 -1
- package/development/tag/tag-group/tag-group.component.js +4 -9
- package/development/teaser/teaser.component.d.ts.map +1 -1
- package/development/teaser/teaser.component.js +4 -9
- package/development/teaser-hero/teaser-hero.component.d.ts.map +1 -1
- package/development/teaser-hero/teaser-hero.component.js +8 -13
- package/development/teaser-product/common/teaser-product-common.d.ts.map +1 -1
- package/development/teaser-product/common/teaser-product-common.js +4 -13
- package/development/teaser-product/common.js +1 -1
- package/development/teaser-product/teaser-product/teaser-product.component.d.ts.map +1 -1
- package/development/teaser-product/teaser-product/teaser-product.component.js +7 -2
- package/development/teaser-product/teaser-product-static/teaser-product-static.component.d.ts.map +1 -1
- package/development/teaser-product/teaser-product-static/teaser-product-static.component.js +3 -2
- package/development/{teaser-product-common-DvlBRkE_.js → teaser-product-common-B1KK4iNu.js} +3 -9
- package/development/teaser-product.js +1 -1
- package/development/time-input/time-input.component.js +2 -8
- package/development/timetable-form/timetable-form/timetable-form.component.js +2 -8
- package/development/timetable-form/timetable-form-details/timetable-form-details.component.js +2 -8
- package/development/timetable-form/timetable-form-field/timetable-form-field.component.js +2 -8
- package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.d.ts +1 -0
- package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.d.ts.map +1 -1
- package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +5 -9
- package/development/timetable-occupancy/timetable-occupancy.component.d.ts.map +1 -1
- package/development/timetable-occupancy/timetable-occupancy.component.js +5 -10
- package/development/timetable-occupancy-icon/timetable-occupancy-icon.component.js +1 -1
- package/development/title/title-base.js +2 -8
- package/development/toast/toast.component.d.ts.map +1 -1
- package/development/toast/toast.component.js +4 -9
- package/development/toggle/toggle/toggle.component.d.ts.map +1 -1
- package/development/toggle/toggle/toggle.component.js +4 -9
- package/development/toggle/toggle-option/toggle-option.component.d.ts.map +1 -1
- package/development/toggle/toggle-option/toggle-option.component.js +6 -11
- package/development/toggle-check/toggle-check.component.d.ts +2 -3
- package/development/toggle-check/toggle-check.component.d.ts.map +1 -1
- package/development/toggle-check/toggle-check.component.js +13 -31
- package/development/tooltip/tooltip.component.d.ts.map +1 -1
- package/development/tooltip/tooltip.component.js +5 -10
- package/development/train/train/train.component.d.ts.map +1 -1
- package/development/train/train/train.component.js +4 -9
- package/development/train/train-blocked-passage/train-blocked-passage.component.d.ts.map +1 -1
- package/development/train/train-blocked-passage/train-blocked-passage.component.js +4 -9
- package/development/train/train-formation/train-formation.component.d.ts.map +1 -1
- package/development/train/train-formation/train-formation.component.js +4 -9
- package/development/train/train-wagon/train-wagon.component.d.ts.map +1 -1
- package/development/train/train-wagon/train-wagon.component.js +4 -9
- package/development/visual-checkbox/visual-checkbox.component.d.ts.map +1 -1
- package/development/visual-checkbox/visual-checkbox.component.js +4 -9
- package/dialog/dialog/dialog.component.d.ts +3 -4
- package/dialog/dialog/dialog.component.d.ts.map +1 -1
- package/dialog/dialog/dialog.component.js +70 -66
- package/dialog/dialog-actions/dialog-actions.component.d.ts +0 -1
- package/dialog/dialog-actions/dialog-actions.component.d.ts.map +1 -1
- package/dialog/dialog-actions/dialog-actions.component.js +7 -10
- package/dialog/dialog-close-button/dialog-close-button.component.d.ts +1 -1
- package/dialog/dialog-close-button/dialog-close-button.component.d.ts.map +1 -1
- package/dialog/dialog-close-button/dialog-close-button.component.js +21 -21
- package/dialog/dialog-content/dialog-content.component.d.ts +1 -0
- package/dialog/dialog-content/dialog-content.component.d.ts.map +1 -1
- package/dialog/dialog-content/dialog-content.component.js +14 -11
- package/dialog/dialog-title/dialog-title.component.d.ts +0 -1
- package/dialog/dialog-title/dialog-title.component.d.ts.map +1 -1
- package/dialog/dialog-title/dialog-title.component.js +11 -14
- package/divider/divider.component.d.ts.map +1 -1
- package/divider/divider.component.js +16 -15
- package/expansion-panel/expansion-panel/expansion-panel.component.d.ts.map +1 -1
- package/expansion-panel/expansion-panel/expansion-panel.component.js +18 -17
- package/expansion-panel/expansion-panel-content/expansion-panel-content.component.d.ts.map +1 -1
- package/expansion-panel/expansion-panel-content/expansion-panel-content.component.js +12 -11
- package/expansion-panel/expansion-panel-header/expansion-panel-header.component.d.ts +2 -3
- package/expansion-panel/expansion-panel-header/expansion-panel-header.component.d.ts.map +1 -1
- package/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +17 -16
- package/file-selector/common.js +1 -1
- package/file-selector/file-selector/file-selector.component.d.ts.map +1 -1
- package/file-selector/file-selector/file-selector.component.js +12 -12
- package/file-selector/file-selector-dropzone/file-selector-dropzone.component.d.ts.map +1 -1
- package/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +15 -14
- package/file-selector-common-CUp299VH.js +5 -0
- package/file-selector.js +1 -1
- package/flip-card/flip-card/flip-card.component.d.ts.map +1 -1
- package/flip-card/flip-card/flip-card.component.js +8 -7
- package/flip-card/flip-card-details/flip-card-details.component.d.ts.map +1 -1
- package/flip-card/flip-card-details/flip-card-details.component.js +13 -12
- package/flip-card/flip-card-summary/flip-card-summary.component.d.ts.map +1 -1
- package/flip-card/flip-card-summary/flip-card-summary.component.js +5 -4
- package/footer/footer.component.d.ts.map +1 -1
- package/footer/footer.component.js +5 -4
- package/form-error/form-error.component.d.ts.map +1 -1
- package/form-error/form-error.component.js +10 -9
- package/form-field/form-field/form-field.component.d.ts.map +1 -1
- package/form-field/form-field/form-field.component.js +17 -16
- package/form-field/form-field-clear/form-field-clear.component.d.ts.map +1 -1
- package/form-field/form-field-clear/form-field-clear.component.js +18 -17
- package/header/common/header-action-common.d.ts.map +1 -1
- package/header/common/header-action-common.js +27 -27
- package/header/header/header.component.d.ts +1 -1
- package/header/header/header.component.d.ts.map +1 -1
- package/header/header/header.component.js +39 -38
- package/header/header-environment/header-environment.component.d.ts.map +1 -1
- package/header/header-environment/header-environment.component.js +5 -4
- package/icon/icon-base.d.ts.map +1 -1
- package/icon/icon-base.js +22 -21
- package/icon/icon-name-mixin.d.ts +3 -2
- package/icon/icon-name-mixin.d.ts.map +1 -1
- package/icon/icon-name-mixin.js +30 -22
- package/icon-sidebar-button-common-W6GYJbVt.js +7 -0
- package/image/image.component.d.ts +1 -1
- package/image/image.component.d.ts.map +1 -1
- package/image/image.component.js +72 -77
- package/index.d.ts +0 -3
- package/index.js +0 -3
- package/journey-header/journey-header.component.d.ts.map +1 -1
- package/journey-header/journey-header.component.js +19 -18
- package/lead-container/lead-container.component.d.ts.map +1 -1
- package/lead-container/lead-container.component.js +8 -7
- package/link/common/block-link-common.d.ts.map +1 -1
- package/link/common/block-link-common.js +14 -13
- package/link/common/inline-link-common.d.ts.map +1 -1
- package/link/common/inline-link-common.js +7 -6
- package/link/common/link-common.d.ts.map +1 -1
- package/link/common/link-common.js +1 -1
- package/link/common.js +1 -1
- package/link-common-CdQBSga7.js +46 -0
- package/link-list/common/link-list-base.d.ts.map +1 -1
- package/link-list/common/link-list-base.js +34 -34
- package/link-list/common.js +1 -1
- package/link-list/link-list/link-list.component.d.ts.map +1 -1
- package/link-list/link-list/link-list.component.js +23 -22
- package/link-list/link-list-anchor/link-list-anchor.component.d.ts.map +1 -1
- package/link-list/link-list-anchor/link-list-anchor.component.js +11 -10
- package/link-list-base-3v7CHEei.js +5 -0
- package/link-list.js +1 -1
- package/link.js +1 -1
- package/lists.css +1 -1
- package/loading-indicator/loading-indicator.component.d.ts.map +1 -1
- package/loading-indicator/loading-indicator.component.js +9 -8
- package/loading-indicator-circle/loading-indicator-circle.component.d.ts.map +1 -1
- package/loading-indicator-circle/loading-indicator-circle.component.js +8 -7
- package/logo/logo.component.d.ts.map +1 -1
- package/logo/logo.component.js +10 -9
- package/map-container/map-container.component.d.ts +1 -1
- package/map-container/map-container.component.d.ts.map +1 -1
- package/map-container/map-container.component.js +21 -20
- package/menu/common/menu-action-common.d.ts.map +1 -1
- package/menu/common/menu-action-common.js +14 -17
- package/menu/menu/menu.component.d.ts +1 -12
- package/menu/menu/menu.component.d.ts.map +1 -1
- package/menu/menu/menu.component.js +62 -82
- package/message/message.component.d.ts.map +1 -1
- package/message/message.component.js +5 -4
- package/mini-button-common-DBnJfrBZ.js +10 -0
- package/mini-calendar/mini-calendar/mini-calendar.component.js +7 -7
- package/mini-calendar/mini-calendar-day/mini-calendar-day.component.js +10 -10
- package/mini-calendar/mini-calendar-month/mini-calendar-month.component.d.ts.map +1 -1
- package/mini-calendar/mini-calendar-month/mini-calendar-month.component.js +13 -12
- package/navigation/common/navigation-action-common.d.ts.map +1 -1
- package/navigation/common/navigation-action-common.js +4 -3
- package/navigation/navigation/navigation.component.d.ts.map +1 -1
- package/navigation/navigation/navigation.component.js +10 -9
- package/navigation/navigation-list/navigation-list.component.d.ts.map +1 -1
- package/navigation/navigation-list/navigation-list.component.js +17 -16
- package/navigation/navigation-marker/navigation-marker.component.d.ts.map +1 -1
- package/navigation/navigation-marker/navigation-marker.component.js +11 -10
- package/navigation/navigation-section/navigation-section.component.d.ts.map +1 -1
- package/navigation/navigation-section/navigation-section.component.js +7 -6
- package/notification/notification.component.d.ts +4 -2
- package/notification/notification.component.d.ts.map +1 -1
- package/notification/notification.component.js +37 -35
- package/off-brand-theme.css +170 -491
- package/option/optgroup/optgroup-base-element.d.ts.map +1 -1
- package/option/optgroup/optgroup-base-element.js +25 -24
- package/option/option/option-base-element.d.ts.map +1 -1
- package/option/option/option-base-element.js +58 -59
- package/option/option/option.component.d.ts.map +1 -1
- package/option/option/option.component.js +23 -22
- package/option/option-hint/option-hint.component.d.ts.map +1 -1
- package/option/option-hint/option-hint.component.js +5 -4
- package/overlay/overlay.component.d.ts.map +1 -1
- package/overlay/overlay.component.js +10 -9
- package/package.json +6 -6
- package/paginator/compact-paginator/compact-paginator.component.d.ts.map +1 -1
- package/paginator/compact-paginator/compact-paginator.component.js +9 -8
- package/paginator/paginator/paginator.component.d.ts.map +1 -1
- package/paginator/paginator/paginator.component.js +7 -6
- package/popover/popover/popover.component.d.ts +2 -0
- package/popover/popover/popover.component.d.ts.map +1 -1
- package/popover/popover/popover.component.js +76 -65
- package/popover.d.ts +0 -1
- package/popover.d.ts.map +1 -1
- package/popover.js +3 -5
- package/radio-button/common.js +1 -1
- package/radio-button/radio-button/radio-button.component.d.ts.map +1 -1
- package/radio-button/radio-button/radio-button.component.js +28 -23
- package/radio-button/radio-button-group/radio-button-group.component.d.ts.map +1 -1
- package/radio-button/radio-button-group/radio-button-group.component.js +47 -46
- package/radio-button/radio-button-panel/radio-button-panel.component.d.ts.map +1 -1
- package/radio-button/radio-button-panel/radio-button-panel.component.js +19 -14
- package/radio-button-common-BT3VkZLM.js +5 -0
- package/radio-button.js +1 -1
- package/safety-theme.css +170 -491
- package/sbb-tokens-CB1Hgctn.js +12 -0
- package/select/select.component.d.ts.map +1 -1
- package/select/select.component.js +55 -54
- package/selection-action-panel/selection-action-panel.component.d.ts.map +1 -1
- package/selection-action-panel/selection-action-panel.component.js +5 -4
- package/selection-expansion-panel/selection-expansion-panel.component.d.ts.map +1 -1
- package/selection-expansion-panel/selection-expansion-panel.component.js +24 -23
- package/sidebar/common.js +1 -1
- package/sidebar/icon-sidebar/icon-sidebar.component.js +4 -4
- package/sidebar/icon-sidebar-button/icon-sidebar-button.component.d.ts.map +1 -1
- package/sidebar/icon-sidebar-button/icon-sidebar-button.component.js +11 -10
- package/sidebar/icon-sidebar-link/icon-sidebar-link.component.d.ts.map +1 -1
- package/sidebar/icon-sidebar-link/icon-sidebar-link.component.js +11 -10
- package/sidebar/sidebar/sidebar.component.d.ts.map +1 -1
- package/sidebar/sidebar/sidebar.component.js +20 -19
- package/sidebar/sidebar-close-button/sidebar-close-button.component.d.ts +1 -0
- package/sidebar/sidebar-close-button/sidebar-close-button.component.d.ts.map +1 -1
- package/sidebar/sidebar-close-button/sidebar-close-button.component.js +14 -11
- package/sidebar/sidebar-container/sidebar-container.component.d.ts.map +1 -1
- package/sidebar/sidebar-container/sidebar-container.component.js +16 -11
- package/sidebar.js +1 -1
- package/signet/signet.component.d.ts.map +1 -1
- package/signet/signet.component.js +11 -10
- package/skiplink-list/skiplink-list.component.d.ts.map +1 -1
- package/skiplink-list/skiplink-list.component.js +36 -35
- package/slider/slider.component.d.ts.map +1 -1
- package/slider/slider.component.js +25 -24
- package/standard-theme.css +170 -491
- package/status/status.component.d.ts +2 -2
- package/status/status.component.d.ts.map +1 -1
- package/status/status.component.js +22 -24
- package/stepper/step/step.component.d.ts.map +1 -1
- package/stepper/step/step.component.js +10 -9
- package/stepper/step-label/step-label.component.d.ts.map +1 -1
- package/stepper/step-label/step-label.component.js +9 -8
- package/stepper/stepper/stepper.component.d.ts.map +1 -1
- package/stepper/stepper/stepper.component.js +11 -10
- package/table/table-wrapper/table-wrapper.component.js +5 -5
- package/tabs/tab/tab.component.js +1 -1
- package/tabs/tab-group/tab-group.component.d.ts.map +1 -1
- package/tabs/tab-group/tab-group.component.js +8 -7
- package/tabs/tab-label/tab-label.component.d.ts.map +1 -1
- package/tabs/tab-label/tab-label.component.js +13 -12
- package/tag/tag/tag.component.d.ts.map +1 -1
- package/tag/tag/tag.component.js +14 -13
- package/tag/tag-group/tag-group.component.d.ts.map +1 -1
- package/tag/tag-group/tag-group.component.js +27 -26
- package/teaser/teaser.component.d.ts.map +1 -1
- package/teaser/teaser.component.js +19 -18
- package/teaser-hero/teaser-hero.component.d.ts.map +1 -1
- package/teaser-hero/teaser-hero.component.js +12 -11
- package/teaser-product/common/teaser-product-common.d.ts.map +1 -1
- package/teaser-product/common/teaser-product-common.js +24 -25
- package/teaser-product/common.js +1 -1
- package/teaser-product/teaser-product/teaser-product.component.d.ts.map +1 -1
- package/teaser-product/teaser-product/teaser-product.component.js +12 -7
- package/teaser-product/teaser-product-static/teaser-product-static.component.d.ts.map +1 -1
- package/teaser-product/teaser-product-static/teaser-product-static.component.js +6 -5
- package/teaser-product-common-BwqWqRrK.js +5 -0
- package/teaser-product.js +1 -1
- package/time-input/time-input.component.js +5 -5
- package/timetable-form/timetable-form/timetable-form.component.js +6 -6
- package/timetable-form/timetable-form-details/timetable-form-details.component.js +4 -4
- package/timetable-form/timetable-form-field/timetable-form-field.component.js +7 -7
- package/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.d.ts +1 -0
- package/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.d.ts.map +1 -1
- package/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +12 -9
- package/timetable-occupancy/timetable-occupancy.component.d.ts.map +1 -1
- package/timetable-occupancy/timetable-occupancy.component.js +5 -4
- package/title/title-base.js +5 -5
- package/toast/toast.component.d.ts.map +1 -1
- package/toast/toast.component.js +10 -9
- package/toggle/toggle/toggle.component.d.ts.map +1 -1
- package/toggle/toggle/toggle.component.js +9 -8
- package/toggle/toggle-option/toggle-option.component.d.ts.map +1 -1
- package/toggle/toggle-option/toggle-option.component.js +17 -16
- package/toggle-check/toggle-check.component.d.ts +2 -3
- package/toggle-check/toggle-check.component.d.ts.map +1 -1
- package/toggle-check/toggle-check.component.js +46 -53
- package/tooltip/tooltip.component.d.ts.map +1 -1
- package/tooltip/tooltip.component.js +40 -39
- package/train/train/train.component.d.ts.map +1 -1
- package/train/train/train.component.js +22 -21
- package/train/train-blocked-passage/train-blocked-passage.component.d.ts.map +1 -1
- package/train/train-blocked-passage/train-blocked-passage.component.js +9 -8
- package/train/train-formation/train-formation.component.d.ts.map +1 -1
- package/train/train-formation/train-formation.component.js +10 -9
- package/train/train-wagon/train-wagon.component.d.ts.map +1 -1
- package/train/train-wagon/train-wagon.component.js +10 -9
- package/visual-checkbox/visual-checkbox.component.d.ts.map +1 -1
- package/visual-checkbox/visual-checkbox.component.js +18 -17
- package/checkbox-common-C5r-MPLc.js +0 -5
- package/core/decorators/slot-state.d.ts +0 -17
- package/core/decorators/slot-state.d.ts.map +0 -1
- package/core/decorators/slot-state.js +0 -8
- package/core/styles/mixins/shadows.scss +0 -191
- package/development/core/decorators/slot-state.d.ts +0 -17
- package/development/core/decorators/slot-state.d.ts.map +0 -1
- package/development/core/decorators/slot-state.js +0 -11
- package/development/popover/popover-trigger/popover-trigger.component.d.ts +0 -20
- package/development/popover/popover-trigger/popover-trigger.component.d.ts.map +0 -1
- package/development/popover/popover-trigger/popover-trigger.component.js +0 -216
- package/development/popover/popover-trigger.d.ts +0 -5
- package/development/popover/popover-trigger.d.ts.map +0 -1
- package/development/popover/popover-trigger.js +0 -5
- package/development/sbb-tokens-CVLcOi-S.js +0 -33
- package/file-selector-common-BEWjyy75.js +0 -5
- package/icon-sidebar-button-common-D_doPv2r.js +0 -7
- package/link-common-CfSIg7al.js +0 -46
- package/link-list-base-BdOBGhxe.js +0 -5
- package/popover/popover-trigger/popover-trigger.component.d.ts +0 -20
- package/popover/popover-trigger/popover-trigger.component.d.ts.map +0 -1
- package/popover/popover-trigger/popover-trigger.component.js +0 -32
- package/popover/popover-trigger.d.ts +0 -5
- package/popover/popover-trigger.d.ts.map +0 -1
- package/popover/popover-trigger.js +0 -4
- package/radio-button-common-BHR2tjCF.js +0 -5
- package/sbb-tokens-B3Eka-Tz.js +0 -18
- package/teaser-product-common-Du28QCY3.js +0 -5
- package/transparent-button-CBNZHS9a.js +0 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sticky-bar.component.d.ts","sourceRoot":"","sources":["../../../../src/elements/container/sticky-bar/sticky-bar.component.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,cAAc,EAEnB,UAAU,EACV,KAAK,cAAc,EACnB,KAAK,cAAc,EACpB,MAAM,KAAK,CAAC;;
|
|
1
|
+
{"version":3,"file":"sticky-bar.component.d.ts","sourceRoot":"","sources":["../../../../src/elements/container/sticky-bar/sticky-bar.component.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,cAAc,EAEnB,UAAU,EACV,KAAK,cAAc,EACnB,KAAK,cAAc,EACpB,MAAM,KAAK,CAAC;;AAWb;;;;;;;;;;GAUG;AACH,qBAEM,mBAAoB,SAAQ,wBAAmC;IACnE,OAAuB,MAAM,EAAE,cAAc,CAA4B;IAEzE,gBAAuB,MAAM;;;;;MAKlB;IAEX,2DAA2D;IAC3D,SAA6C,KAAK,EAC9C,OAAO,GACP,MAAM,GACN,UAAU,GACV,UAAU,GACV,IAAI,CAAQ;IAEhB;;;OAGG;IACH,SAA6C,IAAI,EAAE,GAAG,GAAG,GAAG,CAAwB;IAEpF,kCAAkC;IAClC,OAAO,KAAK,MAAM,QAEjB;IACD,OAAO,KAAK,MAAM,GAEjB;IAED,OAAO,CAAC,YAAY,CAAC,CAAkB;IACvC,OAAO,CAAC,SAAS,CAKd;IAEa,iBAAiB,IAAI,IAAI;IAiBzB,oBAAoB,IAAI,IAAI;cAMzB,YAAY,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAU9E,OAAO,CAAC,wBAAwB;IAIhC,OAAO,CAAC,kBAAkB;IA+B1B,wEAAwE;IACjE,KAAK,IAAI,IAAI;IAWpB,mEAAmE;IAC5D,OAAO,IAAI,IAAI;IAYtB,OAAO,CAAC,eAAe;IAOvB,OAAO,CAAC,iBAAiB;IAMzB,OAAO,CAAC,eAAe;IAWvB,OAAO,CAAC,yBAAyB;IAKjC,OAAO,CAAC,2BAA2B;cAKhB,MAAM,IAAI,cAAc;CAU5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,gBAAgB,EAAE,mBAAmB,CAAC;KACvC;CACF"}
|
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
var
|
|
1
|
+
var x = (a) => {
|
|
2
2
|
throw TypeError(a);
|
|
3
3
|
};
|
|
4
|
-
var
|
|
5
|
-
var k = (a,
|
|
6
|
-
import { __runInitializers as l, __esDecorate as
|
|
4
|
+
var w = (a, i, e) => i.has(a) || x("Cannot " + e);
|
|
5
|
+
var k = (a, i, e) => (w(a, i, "read from private field"), e ? e.call(a) : i.get(a)), u = (a, i, e) => i.has(a) ? x("Cannot add the same private member more than once") : i instanceof WeakSet ? i.add(a) : i.set(a, e), d = (a, i, e, r) => (w(a, i, "write to private field"), r ? r.call(a, e) : i.set(a, e), e);
|
|
6
|
+
import { __runInitializers as l, __esDecorate as y } from "tslib";
|
|
7
7
|
import { IntersectionController as S } from "@lit-labs/observers/intersection-controller.js";
|
|
8
8
|
import { css as A, LitElement as C, html as R } from "lit";
|
|
9
9
|
import { customElement as B, property as z } from "lit/decorators.js";
|
|
10
10
|
import { isLean as I, isZeroAnimationDuration as D } from "../../core/dom.js";
|
|
11
11
|
import { SbbUpdateSchedulerMixin as U } from "../../core/mixins.js";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
import { boxSizingStyles as T } from "../../core/styles.js";
|
|
13
|
+
const H = A`:host{--sbb-sticky-bar-position: sticky;--sbb-sticky-bar-padding-block: var(--sbb-spacing-responsive-xs);--sbb-sticky-bar-border-radius: var(--sbb-border-radius-8x);--sbb-sticky-bar-animation-easing: var(--sbb-animation-easing);--sbb-sticky-bar-fade-in-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-5x) );--sbb-sticky-bar-fade-out-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-2x) );--sbb-sticky-bar-slide-vertically-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-4x) );--sbb-sticky-bar-slide-vertically-animation-easing: ease-out;--sbb-sticky-bar-slide-vertically-animation-delay: 0s;--sbb-sticky-bar-slide-vertically-animation-name: unset;--_sbb-sticky-bar-background-animation-duration: var( --sbb-sticky-bar-fade-out-animation-duration );--_sbb-sticky-bar-intersector-background-color: transparent;--_sbb-sticky-bar-forced-colors-border: none;display:contents}:host([size=s]){--sbb-sticky-bar-padding-block: var(--sbb-spacing-responsive-xxxs)}:host([data-sticking]:not([data-state=unsticky])){--sbb-sticky-bar-sticky-background-color: var( --sbb-container-background-color, var(--sbb-background-color-1) );--_sbb-sticky-bar-intersector-background-color: var(--sbb-sticky-bar-sticky-background-color);--_sbb-sticky-bar-background-animation-duration: var(--sbb-sticky-bar-fade-in-animation-duration)}@media(forced-colors:active){:host([data-sticking]:not([data-state=unsticky])){--_sbb-sticky-bar-forced-colors-border: var(--sbb-border-width-1x) solid CanvasText}}:host([data-sticking]:not([data-state=unsticky])[color=white]){--sbb-sticky-bar-sticky-background-color: var(--sbb-background-color-1)}:host([data-sticking]:not([data-state=unsticky])[color=milk]){--sbb-sticky-bar-sticky-background-color: var(--sbb-background-color-3)}:host([data-sticking]:not([data-state=unsticky])[color=midnight]){--sbb-sticky-bar-sticky-background-color: var(--sbb-background-color-1-negative)}:host([data-sticking]:not([data-state=unsticky])[color=charcoal]){--sbb-sticky-bar-sticky-background-color: var(--sbb-background-color-2-negative)}:host(:is([data-sticking]:is([data-slide-vertically],[data-state=sticking],[data-state=unsticking]),[data-state=unsticky])){--_sbb-sticky-bar-background-animation-duration: 0s}:host([data-sticking]:is([data-slide-vertically]:not([data-state=unsticky],[data-state=unsticking]),[data-state=sticking])){--sbb-sticky-bar-slide-vertically-animation-name: slide-in}:host([data-sticking][data-state=unsticking]){--sbb-sticky-bar-slide-vertically-animation-name: slide-out}:host(:is(:not([data-initialized]),[data-state=unsticky])){--sbb-sticky-bar-position: relative}.sbb-sticky-bar__wrapper{position:var(--sbb-sticky-bar-position);inset-block-end:0;display:block;z-index:var(--sbb-sticky-bar-z-index);animation-name:var(--sbb-sticky-bar-slide-vertically-animation-name);animation-duration:var(--sbb-sticky-bar-slide-vertically-animation-duration);animation-timing-function:var(--sbb-sticky-bar-slide-vertically-animation-easing);animation-delay:var(--sbb-sticky-bar-slide-vertically-animation-delay);animation-fill-mode:backwards}.sbb-sticky-bar__wrapper:after,.sbb-sticky-bar__wrapper:before{content:"";inset:0;position:absolute;display:block;z-index:-1}.sbb-sticky-bar__wrapper:before{background-color:var(--sbb-container-background-color);padding:0!important}:host(:not([data-expanded])) .sbb-sticky-bar__wrapper:before{padding-inline:var(--sbb-page-spacing-padding, var(--sbb-layout-base-offset-responsive));margin-inline:auto;width:100%}@media(min-width:90rem){:host(:not([data-expanded])) .sbb-sticky-bar__wrapper:before{max-width:var(--sbb-spacing-max-width, calc(var(--sbb-layout-base-page-max-width) + 2 * var(--sbb-layout-base-offset-responsive)))}}.sbb-sticky-bar__wrapper:after{background-color:var(--sbb-sticky-bar-sticky-background-color, transparent);border-start-start-radius:var(--sbb-sticky-bar-border-radius);border-start-end-radius:var(--sbb-sticky-bar-border-radius);transition:background-color var(--_sbb-sticky-bar-background-animation-duration) var(--sbb-sticky-bar-animation-easing);border:var(--_sbb-sticky-bar-forced-colors-border)}.sbb-sticky-bar{display:flex;padding-block:var(--sbb-sticky-bar-padding-block);margin-block-end:-1px}.sbb-sticky-bar:before{content:"";position:absolute;inset:0;z-index:-1;border-start-start-radius:var(--sbb-sticky-bar-border-radius);border-start-end-radius:var(--sbb-sticky-bar-border-radius);transition:box-shadow var(--_sbb-sticky-bar-background-animation-duration) var(--sbb-sticky-bar-animation-easing);clip-path:polygon(-50% calc(-1 * var(--sbb-shadow-elevation-level-11-shadow-1-blur)),150% calc(-1 * var(--sbb-shadow-elevation-level-11-shadow-1-blur)),150% 50%,-50% 50%)}:host([data-sticking]:not([data-state=unsticky])) .sbb-sticky-bar:before{box-shadow:var(--sbb-box-shadow-level-11-soft)}:host(:not([data-expanded])) .sbb-sticky-bar{padding-inline:var(--sbb-page-spacing-padding, var(--sbb-layout-base-offset-responsive));margin-inline:auto;width:100%}@media(min-width:90rem){:host(:not([data-expanded])) .sbb-sticky-bar{max-width:var(--sbb-spacing-max-width, calc(var(--sbb-layout-base-page-max-width) + 2 * var(--sbb-layout-base-offset-responsive)))}}:host([data-expanded]) .sbb-sticky-bar{padding-inline:var(--sbb-page-spacing-padding, var(--sbb-spacing-responsive-xxs))}.sbb-sticky-bar__intersector{height:1px}.sbb-sticky-bar__intersector:after{content:"";display:block;position:absolute;width:100%;height:calc(var(--sbb-sticky-bar-bottom-overlapping-height, 0) + 1px);background-color:var(--_sbb-sticky-bar-intersector-background-color);pointer-events:none;transition:background-color var(--_sbb-sticky-bar-background-animation-duration) var(--sbb-sticky-bar-animation-easing)}@keyframes slide-in{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slide-out{0%{transform:translateY(0)}to{transform:translateY(100%)}}`;
|
|
14
|
+
let $ = (() => {
|
|
15
|
+
var o, b, n;
|
|
16
|
+
let a = [B("sbb-sticky-bar")], i, e = [], r, h = U(C), g, m = [], v = [], p, _ = [], f = [];
|
|
17
|
+
return n = class extends h {
|
|
17
18
|
constructor() {
|
|
18
19
|
super(...arguments);
|
|
19
|
-
u(this,
|
|
20
|
+
u(this, o);
|
|
20
21
|
u(this, b);
|
|
21
|
-
d(this,
|
|
22
|
+
d(this, o, l(this, m, null)), d(this, b, (l(this, v), l(this, _, I() ? "s" : "m"))), this._intersector = l(this, f), this._observer = new S(this, {
|
|
22
23
|
// Although `this` is observed, we have to postpone observing
|
|
23
24
|
// into firstUpdated() to achieve a correct initial state.
|
|
24
25
|
target: null,
|
|
@@ -27,10 +28,10 @@ let M = (() => {
|
|
|
27
28
|
}
|
|
28
29
|
/** Color of the container, like transparent, white etc. */
|
|
29
30
|
get color() {
|
|
30
|
-
return k(this,
|
|
31
|
+
return k(this, o);
|
|
31
32
|
}
|
|
32
33
|
set color(t) {
|
|
33
|
-
d(this,
|
|
34
|
+
d(this, o, t);
|
|
34
35
|
}
|
|
35
36
|
/**
|
|
36
37
|
* Size of the container.
|
|
@@ -65,8 +66,8 @@ let M = (() => {
|
|
|
65
66
|
}
|
|
66
67
|
_detectStickyState(t) {
|
|
67
68
|
this.toggleAttribute("data-initialized", !0);
|
|
68
|
-
const
|
|
69
|
-
this.toggleAttribute("data-slide-vertically",
|
|
69
|
+
const s = !t.isIntersecting && t.boundingClientRect.top > 0, c = this._intersector?.getBoundingClientRect(), E = this.shadowRoot.querySelector(".sbb-sticky-bar__wrapper").getBoundingClientRect();
|
|
70
|
+
this.toggleAttribute("data-slide-vertically", s && this._intersector && Math.abs(c.bottom - E.bottom) > 30), this.toggleAttribute("data-sticking", s), this.completeUpdate();
|
|
70
71
|
}
|
|
71
72
|
/** Animates from normal content flow position to `position: sticky`. */
|
|
72
73
|
stick() {
|
|
@@ -101,14 +102,14 @@ let M = (() => {
|
|
|
101
102
|
<div class="sbb-sticky-bar__intersector"></div>
|
|
102
103
|
`;
|
|
103
104
|
}
|
|
104
|
-
},
|
|
105
|
-
const t = typeof Symbol == "function" && Symbol.metadata ? Object.create(
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
} }, metadata: t },
|
|
109
|
-
|
|
110
|
-
} }, metadata: t }, _, f),
|
|
111
|
-
})(),
|
|
105
|
+
}, o = new WeakMap(), b = new WeakMap(), r = n, (() => {
|
|
106
|
+
const t = typeof Symbol == "function" && Symbol.metadata ? Object.create(h[Symbol.metadata] ?? null) : void 0;
|
|
107
|
+
g = [z({ reflect: !0 })], p = [z({ reflect: !0 })], y(n, null, g, { kind: "accessor", name: "color", static: !1, private: !1, access: { has: (s) => "color" in s, get: (s) => s.color, set: (s, c) => {
|
|
108
|
+
s.color = c;
|
|
109
|
+
} }, metadata: t }, m, v), y(n, null, p, { kind: "accessor", name: "size", static: !1, private: !1, access: { has: (s) => "size" in s, get: (s) => s.size, set: (s, c) => {
|
|
110
|
+
s.size = c;
|
|
111
|
+
} }, metadata: t }, _, f), y(null, i = { value: r }, a, { kind: "class", name: r.name, metadata: t }, null, e), r = i.value, t && Object.defineProperty(r, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: t });
|
|
112
|
+
})(), n.styles = [T, H], n.events = {
|
|
112
113
|
beforestick: "beforestick",
|
|
113
114
|
stick: "stick",
|
|
114
115
|
beforeunstick: "beforeunstick",
|
|
@@ -116,5 +117,5 @@ let M = (() => {
|
|
|
116
117
|
}, l(r, e), r;
|
|
117
118
|
})();
|
|
118
119
|
export {
|
|
119
|
-
|
|
120
|
+
$ as SbbStickyBarElement
|
|
120
121
|
};
|
|
@@ -4,8 +4,8 @@ export declare const SbbMediaQueryForcedColors = "(forced-colors: active)";
|
|
|
4
4
|
export declare const SbbMediaQueryDarkMode = "(prefers-color-scheme: dark)";
|
|
5
5
|
export declare const SbbMediaQueryHover = "(any-hover: hover)";
|
|
6
6
|
export declare const SbbMediaQueryPointerCoarse = "(pointer: coarse)";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
7
|
+
export declare const SbbMediaQueryBreakpointLargeAndAbove: string;
|
|
8
|
+
export declare const SbbMediaQueryBreakpointLargeAndBelow: string;
|
|
9
9
|
export declare const SbbMediaQueryBreakpointSmallAndBelow: string;
|
|
10
10
|
/**
|
|
11
11
|
* A callback, which is invoked when the associated media query match
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media-matchers-controller.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/controllers/media-matchers-controller.ts"],"names":[],"mappings":"AAMA,OAAO,EAAY,KAAK,kBAAkB,EAAE,KAAK,sBAAsB,EAAE,MAAM,KAAK,CAAC;AAErF,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,cAAc,CAAC;AAKjE,eAAO,MAAM,yBAAyB,4BAA4B,CAAC;AACnE,eAAO,MAAM,qBAAqB,iCAAiC,CAAC;AACpE,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,0BAA0B,sBAAsB,CAAC;AAC9D,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"media-matchers-controller.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/controllers/media-matchers-controller.ts"],"names":[],"mappings":"AAMA,OAAO,EAAY,KAAK,kBAAkB,EAAE,KAAK,sBAAsB,EAAE,MAAM,KAAK,CAAC;AAErF,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,cAAc,CAAC;AAKjE,eAAO,MAAM,yBAAyB,4BAA4B,CAAC;AACnE,eAAO,MAAM,qBAAqB,iCAAiC,CAAC;AACpE,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,0BAA0B,sBAAsB,CAAC;AAC9D,eAAO,MAAM,oCAAoC,QAAsD,CAAC;AACxG,eAAO,MAAM,oCAAoC,QAAsD,CAAC;AACxG,eAAO,MAAM,oCAAoC,QAAsD,CAAC;AAGxG;;;GAGG;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;AAehE;;;;;;;GAOG;AACH,qBAAa,yBAA0B,YAAW,kBAAkB;IAGhE,OAAO,CAAC,QAAQ;gBADhB,IAAI,EAAE,sBAAsB,EACpB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,sBAAsB,CAAC;IAK1D;;;;OAIG;IACI,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI;IAMtC,aAAa,IAAI,IAAI;IAoBrB,gBAAgB,IAAI,IAAI;CAWhC;AAED;;;;;;;GAOG;AACH,qBAAa,qBAAsB,SAAQ,yBAAyB;IAyBhE,OAAO,CAAC,KAAK;IAxBf,2EAA2E;IAC3E,OAAO,CAAC,MAAM,CAAC,YAAY,CAAsE;IAEjG,kFAAkF;IAClF,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAUxB;IAET,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,eAAe,CAGrC;IAEF,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAa;gBAG7C,KAAK,EAAE,sBAAsB,GAAG,WAAW,GAAG,4BAA4B,EAClF,QAAQ,EAAE,sBAAsB;IAYlC,OAAO,CAAC,MAAM,CAAC,mBAAmB;IAYlC;;;OAGG;WAEW,aAAa,IAAI,IAAI;IAOnB,aAAa,IAAI,IAAI;IAerB,gBAAgB,IAAI,IAAI;IAQxB,OAAO,IAAI,OAAO;CAWnC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as p, a as
|
|
2
|
-
import { isServer as
|
|
3
|
-
const c = (d) => d / p,
|
|
4
|
-
class
|
|
1
|
+
import { S as p, a as g, b, c as y } from "../../sbb-tokens-CB1Hgctn.js";
|
|
2
|
+
import { isServer as i } from "lit";
|
|
3
|
+
const c = (d) => d / p, L = "(forced-colors: active)", n = "(prefers-color-scheme: dark)", k = "(any-hover: hover)", Q = "(pointer: coarse)", w = `(min-width: ${c(y)}rem)`, B = `(max-width: ${c(g)}rem)`, C = `(max-width: ${c(b)}rem)`, a = /* @__PURE__ */ new Map();
|
|
4
|
+
class v {
|
|
5
5
|
constructor(e, t) {
|
|
6
6
|
this._queries = t, e.addController(this);
|
|
7
7
|
}
|
|
@@ -11,10 +11,10 @@ class M {
|
|
|
11
11
|
* @returns Whether the query matches or null with SSR.
|
|
12
12
|
*/
|
|
13
13
|
matches(e) {
|
|
14
|
-
return
|
|
14
|
+
return i ? null : matchMedia(e).matches;
|
|
15
15
|
}
|
|
16
16
|
hostConnected() {
|
|
17
|
-
if (!
|
|
17
|
+
if (!i)
|
|
18
18
|
for (const [e, t] of Object.entries(this._queries)) {
|
|
19
19
|
const r = a.get(e);
|
|
20
20
|
if (r)
|
|
@@ -32,17 +32,17 @@ class M {
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
const s = class s extends
|
|
35
|
+
const s = class s extends v {
|
|
36
36
|
constructor(e, t) {
|
|
37
37
|
const r = () => {
|
|
38
38
|
t(this.matches()), this._host.toggleState("dark", this.matches());
|
|
39
39
|
};
|
|
40
40
|
super(e, {
|
|
41
|
-
[
|
|
41
|
+
[n]: r
|
|
42
42
|
}), this._host = e, this._onChangeWithStateUpdater = r;
|
|
43
43
|
}
|
|
44
44
|
static _readLightDarkClass() {
|
|
45
|
-
if (
|
|
45
|
+
if (i)
|
|
46
46
|
return null;
|
|
47
47
|
const e = document.documentElement.classList;
|
|
48
48
|
return ["light-dark", "dark", "light"].find((t) => e.contains(`sbb-${t}`)) ?? null;
|
|
@@ -53,24 +53,24 @@ const s = class s extends M {
|
|
|
53
53
|
*/
|
|
54
54
|
// eslint-disable-next-line lyne/needs-super-call-rule
|
|
55
55
|
static requestUpdate() {
|
|
56
|
-
const e = a.get(
|
|
56
|
+
const e = a.get(n);
|
|
57
57
|
e && e.handlers.forEach((t) => t(e.mediaQueryList.matches));
|
|
58
58
|
}
|
|
59
59
|
hostConnected() {
|
|
60
|
-
const e = (a.get(
|
|
60
|
+
const e = (a.get(n)?.handlers.size ?? 0) === 0;
|
|
61
61
|
super.hostConnected(), e && s._observer.observe(document.documentElement, s._observerConfig), this._onChangeWithStateUpdater();
|
|
62
62
|
}
|
|
63
63
|
hostDisconnected() {
|
|
64
|
-
super.hostDisconnected(), (a.get(
|
|
64
|
+
super.hostDisconnected(), (a.get(n)?.handlers.size ?? 0) === 0 && s._observer.disconnect();
|
|
65
65
|
}
|
|
66
66
|
matches() {
|
|
67
|
-
if (
|
|
67
|
+
if (i)
|
|
68
68
|
return !1;
|
|
69
69
|
const e = getComputedStyle(this._host).getPropertyValue("color-scheme"), t = e.includes("dark"), r = e.trim() === "dark";
|
|
70
|
-
return super.matches(
|
|
70
|
+
return super.matches(n) && t || r;
|
|
71
71
|
}
|
|
72
72
|
};
|
|
73
|
-
s._currentMode = s._readLightDarkClass(), s._observer =
|
|
73
|
+
s._currentMode = s._readLightDarkClass(), s._observer = i ? null : new MutationObserver((e) => {
|
|
74
74
|
if (e[0].oldValue !== document.documentElement.getAttribute("class")) {
|
|
75
75
|
const t = s._readLightDarkClass();
|
|
76
76
|
s._currentMode !== t && (s.requestUpdate(), s._currentMode = t);
|
|
@@ -82,12 +82,12 @@ s._currentMode = s._readLightDarkClass(), s._observer = n ? null : new MutationO
|
|
|
82
82
|
let l = s;
|
|
83
83
|
export {
|
|
84
84
|
l as SbbDarkModeController,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
B as
|
|
85
|
+
v as SbbMediaMatcherController,
|
|
86
|
+
w as SbbMediaQueryBreakpointLargeAndAbove,
|
|
87
|
+
B as SbbMediaQueryBreakpointLargeAndBelow,
|
|
88
88
|
C as SbbMediaQueryBreakpointSmallAndBelow,
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
89
|
+
n as SbbMediaQueryDarkMode,
|
|
90
|
+
L as SbbMediaQueryForcedColors,
|
|
91
|
+
k as SbbMediaQueryHover,
|
|
92
|
+
Q as SbbMediaQueryPointerCoarse
|
|
93
93
|
};
|
|
@@ -1,33 +1,45 @@
|
|
|
1
1
|
import { ReactiveController, ReactiveControllerHost } from 'lit';
|
|
2
|
+
export declare class SbbSlottedChangeEvent extends Event {
|
|
3
|
+
readonly slot: HTMLSlotElement;
|
|
4
|
+
constructor(slot: HTMLSlotElement);
|
|
5
|
+
}
|
|
2
6
|
/**
|
|
3
|
-
* This controller checks for slotted children. From these it
|
|
4
|
-
*
|
|
5
|
-
*
|
|
7
|
+
* This controller checks for slotted children. From these it updates
|
|
8
|
+
* the ElementInternals states with the pattern `slotted-<name>` or `slotted`
|
|
9
|
+
* for the unnamed slot.
|
|
6
10
|
*
|
|
7
|
-
* This allows CSS
|
|
8
|
-
* of the component as required
|
|
11
|
+
* This allows a :state(slotted-<name>) CSS selector to display/hide/configure
|
|
12
|
+
* a section of the component as required.
|
|
9
13
|
*
|
|
10
14
|
* @example
|
|
11
15
|
* .example {
|
|
12
16
|
* display: none;
|
|
13
17
|
*
|
|
14
|
-
* :host(
|
|
18
|
+
* :host(:state(slotted-icon)) & {
|
|
15
19
|
* display: inline;
|
|
16
20
|
* }
|
|
17
21
|
* }
|
|
18
22
|
*
|
|
19
|
-
* https://developer.mozilla.org/en-US/docs/Web/CSS
|
|
23
|
+
* https://developer.mozilla.org/en-US/docs/Web/CSS/:state
|
|
20
24
|
*/
|
|
21
25
|
export declare class SbbSlotStateController implements ReactiveController {
|
|
22
26
|
private _host;
|
|
23
|
-
private
|
|
24
|
-
readonly slots: Set<string>;
|
|
27
|
+
private _internals;
|
|
25
28
|
private _textObserver;
|
|
26
|
-
constructor(_host: ReactiveControllerHost & HTMLElement,
|
|
27
|
-
hostConnected
|
|
28
|
-
hostDisconnected(): void;
|
|
29
|
+
constructor(_host: ReactiveControllerHost & HTMLElement, _internals: ElementInternals);
|
|
30
|
+
hostConnected: ReactiveController['hostConnected'];
|
|
29
31
|
private _slotchangeHandler;
|
|
30
|
-
private
|
|
31
|
-
private
|
|
32
|
+
private _handleSlotChange;
|
|
33
|
+
private _updateSlottedState;
|
|
34
|
+
private _observeTextNodesInSlot;
|
|
35
|
+
private _hasSlottedContent;
|
|
36
|
+
}
|
|
37
|
+
declare global {
|
|
38
|
+
interface HTMLElementEventMap {
|
|
39
|
+
slottedchange: SbbSlottedChangeEvent;
|
|
40
|
+
}
|
|
41
|
+
interface ShadowRootEventMap {
|
|
42
|
+
slottedchange: SbbSlottedChangeEvent;
|
|
43
|
+
}
|
|
32
44
|
}
|
|
33
45
|
//# sourceMappingURL=slot-state-controller.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slot-state-controller.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/controllers/slot-state-controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,kBAAkB,EAAE,KAAK,sBAAsB,EAAE,MAAM,KAAK,CAAC;AAErF;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAAa,sBAAuB,YAAW,kBAAkB;
|
|
1
|
+
{"version":3,"file":"slot-state-controller.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/controllers/slot-state-controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,kBAAkB,EAAE,KAAK,sBAAsB,EAAE,MAAM,KAAK,CAAC;AAErF,qBAAa,qBAAsB,SAAQ,KAAK;aACX,IAAI,EAAE,eAAe;gBAArB,IAAI,EAAE,eAAe;CAGzD;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAAa,sBAAuB,YAAW,kBAAkB;IAa7D,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,UAAU;IAbpB,OAAO,CAAC,aAAa,CAShB;gBAGK,KAAK,EAAE,sBAAsB,GAAG,WAAW,EAC3C,UAAU,EAAE,gBAAgB;IAK/B,aAAa,EAAE,kBAAkB,CAAC,eAAe,CAAC,CAavD;IAEF,OAAO,CAAC,kBAAkB;IAc1B,OAAO,CAAC,iBAAiB;IAOzB,OAAO,CAAC,mBAAmB;IAY3B,OAAO,CAAC,uBAAuB;IAc/B,OAAO,CAAC,kBAAkB;CAW3B;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,mBAAmB;QAC3B,aAAa,EAAE,qBAAqB,CAAC;KACtC;IACD,UAAU,kBAAkB;QAC1B,aAAa,EAAE,qBAAqB,CAAC;KACtC;CACF"}
|
|
@@ -1,31 +1,37 @@
|
|
|
1
|
-
import { isServer as
|
|
2
|
-
class
|
|
3
|
-
constructor(
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { isServer as h } from "lit";
|
|
2
|
+
class n extends Event {
|
|
3
|
+
constructor(e) {
|
|
4
|
+
super("slottedchange", { composed: !0 }), this.slot = e;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
class r {
|
|
8
|
+
constructor(e, t) {
|
|
9
|
+
this._host = e, this._internals = t, this._textObserver = !h && new MutationObserver(() => {
|
|
10
|
+
const s = this._host.shadowRoot.querySelector("slot:not([name])");
|
|
11
|
+
s ? this._updateSlottedState(s) : this._textObserver.disconnect();
|
|
12
|
+
}), this.hostConnected = () => {
|
|
13
|
+
this._host.shadowRoot?.addEventListener("slotchange", (s) => this._slotchangeHandler(s, s.target)), this._host.shadowRoot?.addEventListener("slottedchange", (s) => this._slotchangeHandler(s, s.slot), { capture: !0 }), this._internals.shadowRoot?.querySelectorAll("slot").forEach((s) => this._handleSlotChange(s)), this.hostConnected = void 0;
|
|
8
14
|
}, this._host.addController(this);
|
|
9
15
|
}
|
|
10
|
-
|
|
11
|
-
this.
|
|
16
|
+
_slotchangeHandler(e, t) {
|
|
17
|
+
const s = this._host.shadowRoot.contains(t) ? t : e.composedPath().find((o) => o instanceof HTMLSlotElement && this._host.shadowRoot.contains(o));
|
|
18
|
+
s && this._handleSlotChange(s);
|
|
19
|
+
}
|
|
20
|
+
_handleSlotChange(e) {
|
|
21
|
+
this._updateSlottedState(e), e.name || this._observeTextNodesInSlot(e);
|
|
12
22
|
}
|
|
13
|
-
|
|
14
|
-
|
|
23
|
+
_updateSlottedState(e) {
|
|
24
|
+
const t = e.name ? `slotted-${e.name}` : "slotted", s = this._hasSlottedContent(e);
|
|
25
|
+
s && !this._internals.states.has(t) ? (this._internals.states.add(t), this._host.dispatchEvent(new n(e))) : !s && this._internals.states.has(t) && (this._internals.states.delete(t), this._host.dispatchEvent(new n(e)));
|
|
15
26
|
}
|
|
16
|
-
|
|
17
|
-
this._textObserver.disconnect();
|
|
18
|
-
for (const t of s) {
|
|
19
|
-
const o = t.name || "unnamed";
|
|
20
|
-
t.assignedNodes().some((e) => "tagName" in e || e.textContent?.trim()) ? this.slots.add(o) : this.slots.delete(o), this._updateSlotNameAttribute();
|
|
21
|
-
}
|
|
22
|
-
s.find((t) => !t.name)?.assignedNodes().filter((t) => t.nodeType === t.TEXT_NODE).forEach((t) => this._textObserver.observe(t, { characterData: !0 }));
|
|
27
|
+
_observeTextNodesInSlot(e) {
|
|
28
|
+
this._textObserver.disconnect(), e.assignedNodes().filter((t) => t.nodeType === t.TEXT_NODE).forEach((t) => this._textObserver.observe(t, { characterData: !0 }));
|
|
23
29
|
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
t ? this._host.getAttribute("data-slot-names") !== t && this._host.setAttribute("data-slot-names", t) : this._host.removeAttribute("data-slot-names"), t !== s && this._onChangeCallback?.();
|
|
30
|
+
_hasSlottedContent(e) {
|
|
31
|
+
return e.name ? e.assignedElements().some((t) => !(t instanceof HTMLSlotElement) || this._hasSlottedContent(t)) : e.assignedNodes().some((t) => t instanceof HTMLSlotElement ? this._hasSlottedContent(t) : t.nodeType !== t.TEXT_NODE || !!t.textContent?.trim());
|
|
27
32
|
}
|
|
28
33
|
}
|
|
29
34
|
export {
|
|
30
|
-
|
|
35
|
+
r as SbbSlotStateController,
|
|
36
|
+
n as SbbSlottedChangeEvent
|
|
31
37
|
};
|
package/core/controllers.js
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
import { SbbEscapableOverlayController as o } from "./controllers/escapable-overlay-controller.js";
|
|
2
|
-
import { SbbIdReferenceController as
|
|
3
|
-
import { SbbInertController as
|
|
2
|
+
import { SbbIdReferenceController as t } from "./controllers/id-reference-controller.js";
|
|
3
|
+
import { SbbInertController as l } from "./controllers/inert-controller.js";
|
|
4
4
|
import { SbbLanguageController as S } from "./controllers/language-controller.js";
|
|
5
|
-
import { SbbDarkModeController as i, SbbMediaMatcherController as
|
|
6
|
-
import { SbbSlotStateController as k } from "./controllers/slot-state-controller.js";
|
|
7
|
-
import { SbbOverlayPositionController as
|
|
5
|
+
import { SbbDarkModeController as i, SbbMediaMatcherController as p, SbbMediaQueryBreakpointLargeAndAbove as C, SbbMediaQueryBreakpointLargeAndBelow as M, SbbMediaQueryBreakpointSmallAndBelow as y, SbbMediaQueryDarkMode as f, SbbMediaQueryForcedColors as m, SbbMediaQueryHover as u, SbbMediaQueryPointerCoarse as x } from "./controllers/media-matchers-controller.js";
|
|
6
|
+
import { SbbSlotStateController as g, SbbSlottedChangeEvent as k } from "./controllers/slot-state-controller.js";
|
|
7
|
+
import { SbbOverlayPositionController as B } from "./controllers/overlay-position-controller.js";
|
|
8
8
|
export {
|
|
9
9
|
i as SbbDarkModeController,
|
|
10
10
|
o as SbbEscapableOverlayController,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
t as SbbIdReferenceController,
|
|
12
|
+
l as SbbInertController,
|
|
13
13
|
S as SbbLanguageController,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
p as SbbMediaMatcherController,
|
|
15
|
+
C as SbbMediaQueryBreakpointLargeAndAbove,
|
|
16
|
+
M as SbbMediaQueryBreakpointLargeAndBelow,
|
|
17
|
+
y as SbbMediaQueryBreakpointSmallAndBelow,
|
|
18
|
+
f as SbbMediaQueryDarkMode,
|
|
19
|
+
m as SbbMediaQueryForcedColors,
|
|
20
|
+
u as SbbMediaQueryHover,
|
|
21
21
|
x as SbbMediaQueryPointerCoarse,
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
B as SbbOverlayPositionController,
|
|
23
|
+
g as SbbSlotStateController,
|
|
24
|
+
k as SbbSlottedChangeEvent
|
|
24
25
|
};
|
package/core/decorators.d.ts
CHANGED
|
@@ -8,5 +8,4 @@ export * from './decorators/host-attributes.js';
|
|
|
8
8
|
export * from './decorators/id-reference.js';
|
|
9
9
|
export * from './decorators/omit-empty-converter.js';
|
|
10
10
|
export * from './decorators/plain-date.js';
|
|
11
|
-
export * from './decorators/slot-state.js';
|
|
12
11
|
//# sourceMappingURL=decorators.d.ts.map
|
package/core/decorators.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decorators.d.ts","sourceRoot":"","sources":["../../../src/elements/core/decorators.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wCAAwC,CAAC;AACvD,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sCAAsC,CAAC;AACrD,cAAc,4BAA4B,CAAC
|
|
1
|
+
{"version":3,"file":"decorators.d.ts","sourceRoot":"","sources":["../../../src/elements/core/decorators.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wCAAwC,CAAC;AACvD,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sCAAsC,CAAC;AACrD,cAAc,4BAA4B,CAAC"}
|
package/core/decorators.js
CHANGED
|
@@ -3,17 +3,15 @@ import { getOverride as p } from "./decorators/get-override.js";
|
|
|
3
3
|
import { handleDistinctChange as m } from "./decorators/handle-distinct-change.js";
|
|
4
4
|
import { hostAttributes as n } from "./decorators/host-attributes.js";
|
|
5
5
|
import { idReference as a } from "./decorators/id-reference.js";
|
|
6
|
-
import { omitEmptyConverter as
|
|
7
|
-
import { plainDate as
|
|
8
|
-
import { slotState as C } from "./decorators/slot-state.js";
|
|
6
|
+
import { omitEmptyConverter as d } from "./decorators/omit-empty-converter.js";
|
|
7
|
+
import { plainDate as l, plainDateConverter as s } from "./decorators/plain-date.js";
|
|
9
8
|
export {
|
|
10
9
|
t as forceType,
|
|
11
10
|
p as getOverride,
|
|
12
11
|
m as handleDistinctChange,
|
|
13
12
|
n as hostAttributes,
|
|
14
13
|
a as idReference,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
C as slotState
|
|
14
|
+
d as omitEmptyConverter,
|
|
15
|
+
l as plainDate,
|
|
16
|
+
s as plainDateConverter
|
|
19
17
|
};
|
package/core/dom/breakpoint.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const breakpoints: readonly ["zero", "
|
|
1
|
+
export declare const breakpoints: readonly ["zero", "small", "large", "ultra"];
|
|
2
2
|
export type Breakpoint = (typeof breakpoints)[number];
|
|
3
3
|
/**
|
|
4
4
|
* Checks whether the document matches a particular media query.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breakpoint.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/dom/breakpoint.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"breakpoint.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/dom/breakpoint.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,8CAA+C,CAAC;AACxE,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtD;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAC1B,IAAI,CAAC,EAAE,UAAU,EACjB,EAAE,CAAC,EAAE,UAAU,EACf,UAAU,CAAC,EAAE;IAAE,oBAAoB,EAAE,OAAO,CAAA;CAAE,GAC7C,OAAO,GAAG,IAAI,CAsBhB"}
|
package/core/dom/breakpoint.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { isServer as d } from "lit";
|
|
2
|
-
const s = ["zero", "
|
|
3
|
-
function
|
|
2
|
+
const s = ["zero", "small", "large", "ultra"];
|
|
3
|
+
function p(n, a, i) {
|
|
4
4
|
if (d)
|
|
5
5
|
return null;
|
|
6
|
-
const o = getComputedStyle(document.documentElement), t = n ? o.getPropertyValue(`--sbb-breakpoint-${n}-min`) : "", e =
|
|
6
|
+
const o = getComputedStyle(document.documentElement), t = n ? o.getPropertyValue(`--sbb-breakpoint-${n}-min`) : "", e = a ? `${parseFloat(o.getPropertyValue(`--sbb-breakpoint-${a}-${i?.includeMaxBreakpoint ? "max" : "min"}`)) - (i?.includeMaxBreakpoint ? 0 : 0.0625)}rem` : "", r = t && `(min-width: ${t})`, m = e && `(max-width: ${e})`, c = t && e && " and ";
|
|
7
7
|
return window.matchMedia(`${r}${c}${m}`).matches;
|
|
8
8
|
}
|
|
9
9
|
export {
|
|
10
10
|
s as breakpoints,
|
|
11
|
-
|
|
11
|
+
p as isBreakpoint
|
|
12
12
|
};
|
package/core/i18n/i18n.js
CHANGED
|
@@ -49,7 +49,7 @@ const i = {
|
|
|
49
49
|
}, d = {
|
|
50
50
|
de: "Wagen",
|
|
51
51
|
en: "Train coach",
|
|
52
|
-
fr: "Wagon
|
|
52
|
+
fr: "Wagon",
|
|
53
53
|
it: "Carrozza del treno"
|
|
54
54
|
}, u = {
|
|
55
55
|
de: "Nummer",
|
|
@@ -400,7 +400,7 @@ const i = {
|
|
|
400
400
|
}, Y = {
|
|
401
401
|
de: "Nächster Tag",
|
|
402
402
|
en: "Next day",
|
|
403
|
-
fr: "
|
|
403
|
+
fr: "Jour suivant",
|
|
404
404
|
it: "Giorno successivo"
|
|
405
405
|
}, X = {
|
|
406
406
|
de: "Vorheriger Tag",
|
|
@@ -480,7 +480,7 @@ const i = {
|
|
|
480
480
|
}), ue = {
|
|
481
481
|
de: "erweitert",
|
|
482
482
|
en: "expanded",
|
|
483
|
-
fr: "
|
|
483
|
+
fr: "étendu",
|
|
484
484
|
it: "espanso"
|
|
485
485
|
}, fe = {
|
|
486
486
|
de: "reduziert",
|
|
@@ -495,7 +495,7 @@ const i = {
|
|
|
495
495
|
}, ge = {
|
|
496
496
|
de: "Mehr Breadcrumbs anzeigen",
|
|
497
497
|
en: "Show more breadcrumbs",
|
|
498
|
-
fr: "Afficher plus
|
|
498
|
+
fr: "Afficher plus de fils d’Ariane",
|
|
499
499
|
it: "Mostra più breadcrumbs"
|
|
500
500
|
}, pe = {
|
|
501
501
|
de: "Feldinhalt löschen",
|
|
@@ -550,7 +550,7 @@ const i = {
|
|
|
550
550
|
}, Te = {
|
|
551
551
|
de: "Nächste Seite",
|
|
552
552
|
en: "Next page",
|
|
553
|
-
fr: "
|
|
553
|
+
fr: "Page suivante",
|
|
554
554
|
it: "Pagina successiva"
|
|
555
555
|
}, we = {
|
|
556
556
|
de: "Vorherige Seite",
|
|
@@ -585,7 +585,7 @@ const i = {
|
|
|
585
585
|
}, ke = {
|
|
586
586
|
de: "Muss gesetzt sein.",
|
|
587
587
|
en: "Must be checked.",
|
|
588
|
-
fr: "Doit être
|
|
588
|
+
fr: "Doit être cochée.",
|
|
589
589
|
it: "Deve essere impostato."
|
|
590
590
|
}, Fe = {
|
|
591
591
|
de: "Auswahl erforderlich.",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type SbbLanguage = 'de' | 'en' | 'fr' | 'it';
|
|
2
2
|
export type SbbTime = `${number}:${number}:${number}`;
|
|
3
|
-
export type SbbHorizontalFrom = 'zero' | '
|
|
3
|
+
export type SbbHorizontalFrom = 'zero' | 'small' | 'large' | 'ultra';
|
|
4
4
|
export type SbbIconPlacement = 'start' | 'end';
|
|
5
5
|
export type SbbOccupancy = 'high' | 'medium' | 'low' | 'none';
|
|
6
6
|
export type SbbOrientation = 'horizontal' | 'vertical';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/interfaces/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEpD,MAAM,MAAM,OAAO,GAAG,GAAG,MAAM,IAAI,MAAM,IAAI,MAAM,EAAE,CAAC;AAEtD,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/interfaces/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEpD,MAAM,MAAM,OAAO,GAAG,GAAG,MAAM,IAAI,MAAM,IAAI,MAAM,EAAE,CAAC;AAEtD,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;AAErE,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,KAAK,CAAC;AAE/C,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,GAAG,MAAM,CAAC;AAE9D,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,UAAU,CAAC;AAEvD,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;AAE7D,MAAM,MAAM,cAAc,GAAG,qBAAqB,GAAG,sBAAsB,GAAG,mBAAmB,CAAC;AAElG,MAAM,MAAM,sBAAsB,GAAG,aAAa,GAAG,cAAc,CAAC;AAEpE,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE/E,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"element-internals-mixin.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/mixins/element-internals-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,UAAU,EAA2B,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"element-internals-mixin.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/mixins/element-internals-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,UAAU,EAA2B,MAAM,KAAK,CAAC;AAIzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AA8C5D,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,SAAS;QACjB,2BAA2B,EAAE,OAAO,GAAG,IAAI,CAAC;QAC5C,oBAAoB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;QAChD,uBAAuB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;QACnD,mBAAmB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;QAC/C,wBAAwB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;QACpD,sBAAsB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;QAClD,gBAAgB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;KAC7C;CACF;AAyKD,MAAM,WAAW,8BAA8B;IAC7C,IAAI,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;CACjC;AAED,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,4BAA4B;IACxD,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,gBAAgB,CAAC;IAC/C,SAAS,CAAC,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI;CAC5D;AAED;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAC7B,WAAW,SAAS,OAAO,EAAE,GAAG,IAAI,EACpC,GAAG,aAAa,CAAC,OAAO,GAAG,IAAI,CAAC,EAAE,KACjC,OAAO,EAAE,GAAG,IAGd,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAC7B,WAAW,SAAS,OAAO,EAAE,GAAG,IAAI,EACpC,GAAG,mBAAmB,CAAC,OAAO,GAAG,IAAI,CAAC,EAAE,KACvC,OAAO,EAAE,GAAG,IAId,CAAC;AAEF;;;GAGG;AAEH,eAAO,MAAM,wBAAwB,GAAI,CAAC,SAAS,mBAAmB,CAAC,UAAU,CAAC,EAChF,YAAY,CAAC,KACZ,mBAAmB,CAAC,4BAA4B,CAAC,GAAG,CAAC,GAAG,8BA4C1D,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { isServer as
|
|
2
|
-
|
|
1
|
+
import { isServer as p } from "lit";
|
|
2
|
+
import { SbbSlotStateController as E } from "../controllers.js";
|
|
3
|
+
const g = p || !CSS.supports("selector(:state(loading))") ? class extends Set {
|
|
3
4
|
constructor(e) {
|
|
4
5
|
super(), this._host = e, this._host.addController(this);
|
|
5
6
|
}
|
|
@@ -19,7 +20,7 @@ const g = E || !CSS.supports("selector(:state(loading))") ? class extends Set {
|
|
|
19
20
|
this._host.toggleAttribute(`state--${e}`, a);
|
|
20
21
|
}
|
|
21
22
|
} : null;
|
|
22
|
-
if (!
|
|
23
|
+
if (!p) {
|
|
23
24
|
let h = 0;
|
|
24
25
|
const e = (r) => r.shadowRoot?.host ?? (r instanceof Element ? r : (() => {
|
|
25
26
|
throw new Error("Unable to resolve related element! This should never happen.");
|
|
@@ -95,10 +96,10 @@ if (!E) {
|
|
|
95
96
|
}
|
|
96
97
|
}
|
|
97
98
|
}
|
|
98
|
-
const
|
|
99
|
+
const S = (h, ...e) => {
|
|
99
100
|
const a = e.filter((c) => !!c);
|
|
100
101
|
return h?.length ? h.concat(a) : e.length ? a : null;
|
|
101
|
-
},
|
|
102
|
+
}, w = (h, ...e) => {
|
|
102
103
|
e = e.filter((c) => !!c);
|
|
103
104
|
const a = h?.filter((c) => !e.includes(c)) ?? null;
|
|
104
105
|
return a?.length ? a : null;
|
|
@@ -116,7 +117,7 @@ const y = (h, ...e) => {
|
|
|
116
117
|
for (const r of this.getAttributeNames().filter((d) => d.startsWith("state--")))
|
|
117
118
|
this.internals.states.add(r.slice(7)), this.removeAttribute(r);
|
|
118
119
|
const u = this.constructor.role;
|
|
119
|
-
u && (this.internals.role = u);
|
|
120
|
+
u && (this.internals.role = u), this.addController(new E(this, this.internals));
|
|
120
121
|
}
|
|
121
122
|
toggleState(c, u) {
|
|
122
123
|
u || u !== !1 && !this.internals.states.has(c) ? this.internals.states.add(c) : this.internals.states.delete(c);
|
|
@@ -126,6 +127,6 @@ const y = (h, ...e) => {
|
|
|
126
127
|
};
|
|
127
128
|
export {
|
|
128
129
|
A as SbbElementInternalsMixin,
|
|
129
|
-
|
|
130
|
-
|
|
130
|
+
S as appendAriaElements,
|
|
131
|
+
w as removeAriaElements
|
|
131
132
|
};
|