@sbb-esta/lyne-elements 3.12.1 → 4.0.0-next
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 +8 -7
- 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 +13 -12
- 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 +150 -149
- 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 +4 -3
- 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 +85 -74
- 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 +163 -475
- package/custom-elements.json +2831 -2179
- package/date-input/date-input.component.js +1 -1
- 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 +6 -11
- package/development/breadcrumb/breadcrumb/breadcrumb.component.d.ts.map +1 -1
- package/development/breadcrumb/breadcrumb/breadcrumb.component.js +7 -13
- package/development/breadcrumb/breadcrumb-group/breadcrumb-group.component.d.ts.map +1 -1
- package/development/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +5 -10
- 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 +10 -15
- 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 +5 -10
- 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-Dy_ofVhp.js → checkbox-common-BZFJgZd7.js} +3 -9
- 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 +3 -3
- 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/date-input/date-input.component.js +1 -1
- 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.map +1 -1
- package/development/dialog/dialog/dialog.component.js +9 -19
- package/development/dialog/dialog-actions/dialog-actions.component.js +2 -8
- package/development/dialog/dialog-close-button/dialog-close-button.component.d.ts +1 -0
- 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 +5 -9
- package/development/dialog/dialog-content/dialog-content.component.js +2 -8
- 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 +13 -18
- 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 +9 -14
- 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 +11 -16
- 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 +24 -109
- 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-BGrKtvyM.js → icon-sidebar-button-common-C6QChtaa.js} +5 -23
- 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-BDFF9Oiz.js → link-common-DYZHRSSJ.js} +6 -12
- 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 +16 -35
- 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-DdSaBp_-.js → mini-button-common-Di32bSJj.js} +114 -17
- 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 +5 -10
- 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 +7 -12
- 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 +6 -11
- 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-CgM3kQSW.js → radio-button-common-5uawgCpB.js} +4 -10
- 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 +9 -14
- 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 +5 -10
- 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 +10 -15
- package/development/tag/tag/tag.component.d.ts.map +1 -1
- package/development/tag/tag/tag.component.js +9 -14
- 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 +5 -10
- 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 +3 -9
- 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 +7 -12
- 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 +15 -33
- 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 +6 -11
- package/dialog/dialog/dialog.component.d.ts.map +1 -1
- package/dialog/dialog/dialog.component.js +39 -38
- package/dialog/dialog-actions/dialog-actions.component.js +9 -9
- package/dialog/dialog-close-button/dialog-close-button.component.d.ts +1 -0
- package/dialog/dialog-close-button/dialog-close-button.component.d.ts.map +1 -1
- package/dialog/dialog-close-button/dialog-close-button.component.js +14 -11
- package/dialog/dialog-content/dialog-content.component.js +9 -9
- 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 +18 -17
- 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 +15 -14
- 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 +164 -476
- 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 +7 -6
- 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 +14 -13
- 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 +79 -68
- 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 +164 -476
- package/sbb-tokens-CB1Hgctn.js +12 -0
- package/select/select.component.d.ts.map +1 -1
- package/select/select.component.js +58 -57
- 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 +164 -476
- 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 +8 -7
- 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 +24 -23
- 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 +14 -13
- package/checkbox-common-gjHkSAmN.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-XcKoF2SP.js +0 -7
- package/link-common-nA3q92jp.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-Bw2t3Sxz.js +0 -5
- package/sbb-tokens-B3Eka-Tz.js +0 -18
- package/teaser-product-common-Du28QCY3.js +0 -5
- package/transparent-button-DJIkG5hj.js +0 -9
|
@@ -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
|
};
|
package/core/mixins.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SbbAnimationCompleteMixin as b } from "./mixins/animation-complete-mixin.js";
|
|
2
|
-
import { SbbDisabledInteractiveMixin as
|
|
2
|
+
import { SbbDisabledInteractiveMixin as t, SbbDisabledMixin as a, SbbDisabledTabIndexActionMixin as l } from "./mixins/disabled-mixin.js";
|
|
3
3
|
import { SbbElementInternalsMixin as c, appendAriaElements as p, removeAriaElements as u } from "./mixins/element-internals-mixin.js";
|
|
4
4
|
import { SbbFormAssociatedCheckboxMixin as v } from "./mixins/form-associated-checkbox-mixin.js";
|
|
5
5
|
import { SbbFormAssociatedInputMixin as f } from "./mixins/form-associated-input-mixin.js";
|
|
@@ -14,11 +14,11 @@ import { SbbReadonlyMixin as P } from "./mixins/readonly-mixin.js";
|
|
|
14
14
|
import { SbbSelectionPanelMixin as q } from "./mixins/selection-panel-mixin.js";
|
|
15
15
|
import { SbbUpdateSchedulerMixin as H } from "./mixins/update-scheduler-mixin.js";
|
|
16
16
|
import { css as e } from "lit";
|
|
17
|
-
const
|
|
17
|
+
const s = e`:host{--sbb-selection-panel-background: var( --sbb-selection-panel-inner-background, var(--sbb-background-color-1) );--sbb-selection-panel-border-color: var(--sbb-border-color-4-inverted);--sbb-selection-panel-border-radius: var( --sbb-selection-expansion-panel-border-radius, var(--sbb-border-radius-4x) );--sbb-selection-panel-border-width: var( --sbb-selection-panel-inner-border-width, var(--sbb-border-width-1x) );--sbb-selection-panel-input-padding: var(--sbb-spacing-responsive-xs) var(--sbb-spacing-responsive-xxs);--sbb-selection-panel-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-4x) );--sbb-selection-panel-cursor: var(--sbb-cursor-pointer);--sbb-selection-panel-suffix-color: var(--sbb-color-3);--sbb-selection-panel-subtext-color: var(--sbb-color-granite);--sbb-selection-panel-subtext-color: light-dark(var(--sbb-color-granite), var(--sbb-color-smoke));display:block;outline:none!important}:host([size=s]){--sbb-selection-panel-input-padding: var(--sbb-spacing-responsive-xxs) var(--sbb-spacing-responsive-xxxs)}:host([color=milk]){--sbb-selection-panel-background: var( --sbb-selection-panel-inner-background, var(--sbb-background-color-3) )}:host([borderless]:not([data-checked])){--sbb-selection-panel-border-color: transparent}:host(:is([data-checked]):not(:disabled,[disabled])){--sbb-selection-panel-border-color: var(--sbb-border-color-3);--sbb-selection-panel-border-width: var( --sbb-selection-panel-inner-border-width, var(--sbb-border-width-2x) )}:host(:is(:disabled,[disabled])){--sbb-selection-panel-cursor: var(--sbb-cursor-default)}.sbb-selection-panel{display:block;cursor:var(--sbb-selection-panel-cursor);position:relative;border-radius:var(--sbb-selection-panel-border-radius);box-shadow:inset 0 0 0 var(--sbb-selection-panel-border-width) var(--sbb-selection-panel-border-color);padding:var(--sbb-selection-panel-input-padding);background-color:var(--sbb-selection-panel-background);transition-duration:var(--sbb-selection-panel-animation-duration);transition-timing-function:var(--sbb-animation-easing);transition-property:box-shadow}@media(forced-colors:active){.sbb-selection-panel:after{content:"";display:block;position:absolute;inset:0;pointer-events:none;border:var(--sbb-selection-panel-border-width) solid var(--sbb-selection-panel-border-color);border-radius:var(--sbb-selection-panel-border-radius)}}:host(:focus-visible) .sbb-selection-panel{outline-offset:var(--sbb-focus-outline-offset);outline:var(--sbb-focus-outline-color) var(--sbb-focus-outline-style, solid) var(--sbb-focus-outline-width)}.sbb-selection-panel__badge{-webkit-user-select:none;user-select:none;pointer-events:none;position:absolute;inset:0;border-radius:var(--sbb-selection-panel-border-radius);overflow:hidden}slot[name=suffix]{color:var(--sbb-selection-panel-suffix-color)}slot[name=subtext]{display:block;color:var(--sbb-selection-panel-subtext-color);padding-inline-start:var(--sbb-spacing-fixed-8x)}:host(:not(:is(:state(slotted-subtext),[state--slotted-subtext]))) slot[name=subtext]{display:none}`;
|
|
18
18
|
export {
|
|
19
19
|
b as SbbAnimationCompleteMixin,
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
t as SbbDisabledInteractiveMixin,
|
|
21
|
+
a as SbbDisabledMixin,
|
|
22
22
|
l as SbbDisabledTabIndexActionMixin,
|
|
23
23
|
c as SbbElementInternalsMixin,
|
|
24
24
|
v as SbbFormAssociatedCheckboxMixin,
|
|
@@ -34,7 +34,7 @@ export {
|
|
|
34
34
|
q as SbbSelectionPanelMixin,
|
|
35
35
|
H as SbbUpdateSchedulerMixin,
|
|
36
36
|
p as appendAriaElements,
|
|
37
|
-
|
|
37
|
+
s as panelCommonStyle,
|
|
38
38
|
M as radioButtonRegistry,
|
|
39
39
|
u as removeAriaElements
|
|
40
40
|
};
|
package/core/styles/_index.scss
CHANGED
|
@@ -7,23 +7,17 @@
|
|
|
7
7
|
@use '../node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables.scss' as sbb-tokens;
|
|
8
8
|
|
|
9
9
|
$mq-breakpoints: (
|
|
10
|
-
zero: sbb-tokens.$sbb-breakpoint-zero-min,
|
|
11
10
|
// 0
|
|
12
|
-
|
|
13
|
-
// 360
|
|
14
|
-
small: sbb-tokens.$sbb-breakpoint-small-min,
|
|
11
|
+
zero: sbb-tokens.$sbb-breakpoint-zero-min,
|
|
15
12
|
// 600
|
|
16
|
-
|
|
17
|
-
// 840
|
|
18
|
-
large: sbb-tokens.$sbb-breakpoint-large-min,
|
|
13
|
+
small: sbb-tokens.$sbb-breakpoint-small-min,
|
|
19
14
|
// 1024
|
|
20
|
-
|
|
21
|
-
// 1280
|
|
22
|
-
ultra: sbb-tokens.$sbb-breakpoint-ultra-min,
|
|
15
|
+
large: sbb-tokens.$sbb-breakpoint-large-min,
|
|
23
16
|
// 1440
|
|
17
|
+
ultra: sbb-tokens.$sbb-breakpoint-ultra-min,
|
|
24
18
|
ultra--max-content: (
|
|
25
|
-
|
|
26
|
-
|
|
19
|
+
sbb-tokens.$sbb-breakpoint-ultra-min + (2 * sbb-tokens.$sbb-spacing-fixed-18x)
|
|
20
|
+
)
|
|
27
21
|
) !default;
|
|
28
22
|
$mq-media-type: all !default;
|
|
29
23
|
|
package/core/styles/core.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
$theme: 'standard' !default;
|
|
2
2
|
|
|
3
|
-
@use 'node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-
|
|
3
|
+
@use 'node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables-as-css.scss' as sbb-css-tokens with (
|
|
4
4
|
$theme: $theme
|
|
5
5
|
);
|
|
6
6
|
@use './core/mediaqueries';
|
|
@@ -11,93 +11,104 @@ $theme: 'standard' !default;
|
|
|
11
11
|
@use './mixins/inputs';
|
|
12
12
|
@use './mixins/popover';
|
|
13
13
|
@use './mixins/scrollbar';
|
|
14
|
-
@use './mixins/shadows';
|
|
15
14
|
@use './mixins/typo';
|
|
16
15
|
|
|
17
16
|
@include helpers.box-sizing;
|
|
18
17
|
|
|
19
|
-
// Core variables
|
|
18
|
+
// Core variables
|
|
20
19
|
:root {
|
|
21
20
|
// Grab CSS vars defined by `@sbb-esta/lyne-design-tokens` package
|
|
22
|
-
@include sbb-css-tokens.
|
|
21
|
+
@include sbb-css-tokens.base;
|
|
22
|
+
|
|
23
|
+
// Train formation
|
|
24
|
+
--sbb-train-formation-wagon-width: #{functions.px-to-rem-build(80)};
|
|
25
|
+
--sbb-train-formation-wagon-height: #{functions.px-to-rem-build(40)};
|
|
26
|
+
--sbb-train-formation-wagon-border-radius: #{functions.px-to-rem-build(12)};
|
|
27
|
+
--sbb-train-formation-wagon-gap: var(--sbb-spacing-fixed-1x);
|
|
28
|
+
|
|
29
|
+
// Header
|
|
30
|
+
--sbb-header-height: var(--sbb-spacing-fixed-14x);
|
|
31
|
+
|
|
32
|
+
// Time Input
|
|
33
|
+
--sbb-time-input-max-width: #{functions.px-to-rem-build(58)};
|
|
34
|
+
|
|
35
|
+
// Overlay
|
|
36
|
+
--sbb-overlay-default-z-index: 1000;
|
|
37
|
+
|
|
38
|
+
// Cursor
|
|
39
|
+
--sbb-cursor-default: default;
|
|
40
|
+
--sbb-cursor-pointer: pointer;
|
|
41
|
+
|
|
42
|
+
// Title
|
|
43
|
+
--sbb-title-font-size-level-1: var(--sbb-font-size-title-1);
|
|
44
|
+
--sbb-title-font-size-level-2: var(--sbb-font-size-title-2);
|
|
45
|
+
--sbb-title-font-size-level-3: var(--sbb-font-size-title-3);
|
|
46
|
+
--sbb-title-font-size-level-4: var(--sbb-font-size-title-4);
|
|
47
|
+
--sbb-title-font-size-level-5: var(--sbb-font-size-title-5);
|
|
48
|
+
--sbb-title-font-size-level-6: var(--sbb-font-size-title-6);
|
|
49
|
+
--sbb-title-default-margin-block-start: var(--sbb-spacing-responsive-m);
|
|
50
|
+
--sbb-title-margin-block-start-level-1: var(--sbb-spacing-responsive-l);
|
|
51
|
+
--sbb-title-margin-block-end-level-1: var(--sbb-spacing-responsive-s);
|
|
52
|
+
--sbb-title-margin-block-end-level-2: var(--sbb-spacing-responsive-xxxs);
|
|
53
|
+
--sbb-title-margin-block-end-level-3: var(--sbb-spacing-responsive-xxxs);
|
|
54
|
+
--sbb-title-margin-block-end-level-4: var(--sbb-spacing-fixed-3x);
|
|
55
|
+
--sbb-title-margin-block-end-level-5: var(--sbb-spacing-fixed-2x);
|
|
56
|
+
--sbb-title-margin-block-end-level-6: var(--sbb-spacing-fixed-1x);
|
|
57
|
+
|
|
58
|
+
&.sbb-lean {
|
|
59
|
+
--sbb-title-font-size-level-1: var(--sbb-font-size-title-2);
|
|
60
|
+
--sbb-title-font-size-level-2: var(--sbb-font-size-title-3);
|
|
61
|
+
--sbb-title-font-size-level-3: var(--sbb-font-size-title-4);
|
|
62
|
+
--sbb-title-font-size-level-4: var(--sbb-font-size-title-5);
|
|
63
|
+
--sbb-title-font-size-level-5: var(--sbb-font-size-title-6);
|
|
64
|
+
--sbb-title-font-size-level-6: var(--sbb-font-size-title-7);
|
|
65
|
+
--sbb-title-default-margin-block-start: var(--sbb-spacing-responsive-s);
|
|
66
|
+
--sbb-title-margin-block-start-level-1: var(--sbb-spacing-responsive-s);
|
|
67
|
+
--sbb-title-margin-block-end-level-1: var(--sbb-spacing-fixed-3x);
|
|
68
|
+
--sbb-title-margin-block-end-level-2: var(--sbb-spacing-fixed-3x);
|
|
69
|
+
--sbb-title-margin-block-end-level-3: var(--sbb-spacing-responsive-xxxs);
|
|
70
|
+
--sbb-title-margin-block-end-level-4: var(--sbb-spacing-fixed-2x);
|
|
71
|
+
--sbb-title-margin-block-end-level-5: var(--sbb-spacing-fixed-1x);
|
|
72
|
+
--sbb-title-margin-block-end-level-6: 0;
|
|
73
|
+
}
|
|
23
74
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
--sbb-train-formation-wagon-height: #{functions.px-to-rem-build(40)};
|
|
28
|
-
--sbb-train-formation-wagon-border-radius: #{functions.px-to-rem-build(12)};
|
|
29
|
-
--sbb-train-formation-wagon-gap: var(--sbb-spacing-fixed-1x);
|
|
75
|
+
// Infinity border radius, can be used to achieve rounded border on start and end
|
|
76
|
+
// TODO: Check if infinity is supported by all browsers (e.g. Firefox) -> calc(1em * infinity);
|
|
77
|
+
--sbb-border-radius-infinity: 100000em;
|
|
30
78
|
|
|
31
|
-
|
|
32
|
-
--sbb-header-height:
|
|
33
|
-
|
|
34
|
-
// Time Input
|
|
35
|
-
--sbb-time-input-max-width: #{functions.px-to-rem-build(58)};
|
|
36
|
-
|
|
37
|
-
// Overlay
|
|
38
|
-
--sbb-overlay-default-z-index: 1000;
|
|
39
|
-
|
|
40
|
-
// Title
|
|
41
|
-
--sbb-title-font-size-level-1: var(--sbb-font-size-title-1);
|
|
42
|
-
--sbb-title-font-size-level-2: var(--sbb-font-size-title-2);
|
|
43
|
-
--sbb-title-font-size-level-3: var(--sbb-font-size-title-3);
|
|
44
|
-
--sbb-title-font-size-level-4: var(--sbb-font-size-title-4);
|
|
45
|
-
--sbb-title-font-size-level-5: var(--sbb-font-size-title-5);
|
|
46
|
-
--sbb-title-font-size-level-6: var(--sbb-font-size-title-6);
|
|
47
|
-
--sbb-title-default-margin-block-start: var(--sbb-spacing-responsive-m);
|
|
48
|
-
--sbb-title-margin-block-start-level-1: var(--sbb-spacing-responsive-l);
|
|
49
|
-
--sbb-title-margin-block-end-level-1: var(--sbb-spacing-responsive-s);
|
|
50
|
-
--sbb-title-margin-block-end-level-2: var(--sbb-spacing-responsive-xxxs);
|
|
51
|
-
--sbb-title-margin-block-end-level-3: var(--sbb-spacing-responsive-xxxs);
|
|
52
|
-
--sbb-title-margin-block-end-level-4: var(--sbb-spacing-fixed-3x);
|
|
53
|
-
--sbb-title-margin-block-end-level-5: var(--sbb-spacing-fixed-2x);
|
|
54
|
-
--sbb-title-margin-block-end-level-6: var(--sbb-spacing-fixed-1x);
|
|
55
|
-
|
|
56
|
-
&.sbb-lean {
|
|
57
|
-
--sbb-title-font-size-level-1: var(--sbb-font-size-title-2);
|
|
58
|
-
--sbb-title-font-size-level-2: var(--sbb-font-size-title-3);
|
|
59
|
-
--sbb-title-font-size-level-3: var(--sbb-font-size-title-4);
|
|
60
|
-
--sbb-title-font-size-level-4: var(--sbb-font-size-title-5);
|
|
61
|
-
--sbb-title-font-size-level-5: var(--sbb-font-size-title-6);
|
|
62
|
-
--sbb-title-font-size-level-6: var(--sbb-font-size-title-7);
|
|
63
|
-
--sbb-title-default-margin-block-start: var(--sbb-spacing-responsive-s);
|
|
64
|
-
--sbb-title-margin-block-start-level-1: var(--sbb-spacing-responsive-s);
|
|
65
|
-
--sbb-title-margin-block-end-level-1: var(--sbb-spacing-fixed-3x);
|
|
66
|
-
--sbb-title-margin-block-end-level-2: var(--sbb-spacing-fixed-3x);
|
|
67
|
-
--sbb-title-margin-block-end-level-3: var(--sbb-spacing-responsive-xxxs);
|
|
68
|
-
--sbb-title-margin-block-end-level-4: var(--sbb-spacing-fixed-2x);
|
|
69
|
-
--sbb-title-margin-block-end-level-5: var(--sbb-spacing-fixed-1x);
|
|
70
|
-
--sbb-title-margin-block-end-level-6: 0;
|
|
71
|
-
}
|
|
79
|
+
&:has(sbb-header[size='s']) {
|
|
80
|
+
--sbb-header-height: #{functions.px-to-rem-build(52)};
|
|
81
|
+
}
|
|
72
82
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
83
|
+
// When the input modality is either mouse or touch,
|
|
84
|
+
// the focus outline should be hidden.
|
|
85
|
+
// We achieve this by setting the outline style to none.
|
|
86
|
+
// This is primarily to work around Safari bugs.
|
|
87
|
+
&:where(.sbb-focus-modality-mouse, .sbb-focus-modality-touch) {
|
|
88
|
+
--sbb-focus-outline-style: none;
|
|
89
|
+
}
|
|
76
90
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
91
|
+
@include mediaqueries.mq($from: small) {
|
|
92
|
+
@include sbb-css-tokens.breakpoint-small;
|
|
93
|
+
}
|
|
80
94
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
// We achieve this by setting the outline style to none.
|
|
84
|
-
// This is primarily to work around Safari bugs.
|
|
85
|
-
&:where(.sbb-focus-modality-mouse, .sbb-focus-modality-touch) {
|
|
86
|
-
--sbb-focus-outline-style: none;
|
|
87
|
-
}
|
|
95
|
+
@include mediaqueries.mq($from: large) {
|
|
96
|
+
@include sbb-css-tokens.breakpoint-large;
|
|
88
97
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
--sbb-header-height: var(--sbb-spacing-fixed-24x);
|
|
98
|
+
// Header
|
|
99
|
+
--sbb-header-height: var(--sbb-spacing-fixed-24x);
|
|
92
100
|
|
|
93
|
-
|
|
94
|
-
|
|
101
|
+
// Time Input
|
|
102
|
+
--sbb-time-input-max-width: #{functions.px-to-rem-build(65)};
|
|
95
103
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}
|
|
104
|
+
&:has(sbb-header[size='s']) {
|
|
105
|
+
--sbb-header-height: var(--sbb-spacing-fixed-14x);
|
|
99
106
|
}
|
|
100
107
|
}
|
|
108
|
+
|
|
109
|
+
@include mediaqueries.mq($from: ultra) {
|
|
110
|
+
@include sbb-css-tokens.breakpoint-ultra;
|
|
111
|
+
}
|
|
101
112
|
}
|
|
102
113
|
|
|
103
114
|
@include font-face.font-declarations;
|
|
@@ -586,11 +597,11 @@ sbb-dialog-actions {
|
|
|
586
597
|
sbb-dialog:state(overflows) & {
|
|
587
598
|
--sbb-dialog-actions-border-color: transparent;
|
|
588
599
|
|
|
589
|
-
|
|
600
|
+
box-shadow: var(--sbb-box-shadow-level-9-soft);
|
|
590
601
|
}
|
|
591
602
|
|
|
592
603
|
sbb-dialog[negative]:state(overflows) & {
|
|
593
|
-
|
|
604
|
+
box-shadow: var(--sbb-box-shadow-level-9-soft-negative);
|
|
594
605
|
}
|
|
595
606
|
}
|
|
596
607
|
|