@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,25 +1,26 @@
|
|
|
1
|
-
var
|
|
1
|
+
var m = (e) => {
|
|
2
2
|
throw TypeError(e);
|
|
3
3
|
};
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
import { __runInitializers as
|
|
7
|
-
import { css as k, LitElement as
|
|
4
|
+
var u = (e, a, r) => a.has(e) || m("Cannot " + r);
|
|
5
|
+
var h = (e, a, r) => (u(e, a, "read from private field"), r ? r.call(e) : a.get(e)), f = (e, a, r) => a.has(e) ? m("Cannot add the same private member more than once") : a instanceof WeakSet ? a.add(e) : a.set(e, r), c = (e, a, r, t) => (u(e, a, "write to private field"), t ? t.call(e, r) : a.set(e, r), r);
|
|
6
|
+
import { __runInitializers as n, __esDecorate as v } from "tslib";
|
|
7
|
+
import { css as k, LitElement as y, html as _ } from "lit";
|
|
8
8
|
import { customElement as E, property as w } from "lit/decorators.js";
|
|
9
9
|
import { SbbElementInternalsMixin as z } from "../../core/mixins.js";
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
import { boxSizingStyles as S } from "../../core/styles.js";
|
|
11
|
+
const C = k`:host{--sbb-card-badge-gap: var(--sbb-spacing-fixed-2x);--sbb-card-badge-color: var(--sbb-color-2-inverted);--sbb-card-badge-background-color: var(--sbb-background-color-3-inverted);--sbb-card-badge-border-color: transparent;display:block}:host([color=white]){--sbb-card-badge-color: var(--sbb-color-3);--sbb-card-badge-background-color: var(--sbb-background-color-1);--sbb-card-badge-border-color: var(--sbb-color-aluminium);--sbb-card-badge-border-color: light-dark( var(--sbb-color-aluminium), var(--sbb-color-anthracite) )}.sbb-card-badge-wrapper{display:flex;position:relative;height:fit-content;justify-content:end}@media(forced-colors:active){.sbb-card-badge-wrapper:after{content:"";display:block;position:absolute;inset:0;border-block-end:var(--sbb-border-width-1x) solid CanvasText}}.sbb-card-badge{position:relative;display:flex;inset-block-start:0;inset-inline-end:0;padding-inline:var(--sbb-spacing-fixed-2x) var(--sbb-spacing-fixed-3x)}.sbb-card-badge-content{--sbb-text-font-size: var(--sbb-font-size-text-xxs);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-body-text);letter-spacing:var(--sbb-typo-letter-spacing-body-text);font-size:var(--sbb-text-font-size);font-weight:700;position:relative;display:flex;align-items:center;gap:var(--sbb-card-badge-gap);color:var(--sbb-card-badge-color)}.sbb-card-badge-background{content:"";display:block;position:absolute;inset:0;background-color:var(--sbb-card-badge-background-color);border-end-start-radius:var(--sbb-border-radius-4x);margin-inline-end:calc(var(--sbb-spacing-fixed-3x) * -1);transform:skew(16deg)}:host(:dir(rtl)) .sbb-card-badge-background{transform:skew(-16deg)}.sbb-card-badge-background:before{content:"";display:block;position:absolute;inset:0;border-block-end:var(--sbb-border-width-1x) solid var(--sbb-card-badge-border-color);border-inline-start:var(--sbb-border-width-1x) solid var(--sbb-card-badge-border-color);border-end-start-radius:var(--sbb-border-radius-4x)}@media(forced-colors:active){.sbb-card-badge-background:before{border:none}}`;
|
|
12
|
+
let L = (() => {
|
|
12
13
|
var o, s;
|
|
13
|
-
let e = [E("sbb-card-badge")], a, r = [], t,
|
|
14
|
-
return s = class extends
|
|
14
|
+
let e = [E("sbb-card-badge")], a, r = [], t, d = z(y), l, g = [], p = [];
|
|
15
|
+
return s = class extends d {
|
|
15
16
|
constructor() {
|
|
16
17
|
super(...arguments);
|
|
17
|
-
|
|
18
|
-
c(this, o,
|
|
18
|
+
f(this, o);
|
|
19
|
+
c(this, o, n(this, g, "charcoal")), this._parentElement = n(this, p);
|
|
19
20
|
}
|
|
20
21
|
/** Color of the card badge. */
|
|
21
22
|
get color() {
|
|
22
|
-
return
|
|
23
|
+
return h(this, o);
|
|
23
24
|
}
|
|
24
25
|
set color(b) {
|
|
25
26
|
c(this, o, b);
|
|
@@ -31,7 +32,7 @@ let T = (() => {
|
|
|
31
32
|
super.disconnectedCallback(), this._parentElement && this._parentElement.removeAttribute("data-has-card-badge"), this._parentElement = void 0;
|
|
32
33
|
}
|
|
33
34
|
render() {
|
|
34
|
-
return
|
|
35
|
+
return _`
|
|
35
36
|
<span class="sbb-card-badge-wrapper">
|
|
36
37
|
<span class="sbb-card-badge">
|
|
37
38
|
<span class="sbb-card-badge-background" aria-hidden="true"></span>
|
|
@@ -43,12 +44,12 @@ let T = (() => {
|
|
|
43
44
|
`;
|
|
44
45
|
}
|
|
45
46
|
}, o = new WeakMap(), t = s, (() => {
|
|
46
|
-
const b = typeof Symbol == "function" && Symbol.metadata ? Object.create(
|
|
47
|
+
const b = typeof Symbol == "function" && Symbol.metadata ? Object.create(d[Symbol.metadata] ?? null) : void 0;
|
|
47
48
|
l = [w({ reflect: !0 })], v(s, null, l, { kind: "accessor", name: "color", static: !1, private: !1, access: { has: (i) => "color" in i, get: (i) => i.color, set: (i, x) => {
|
|
48
49
|
i.color = x;
|
|
49
50
|
} }, metadata: b }, g, p), v(null, a = { value: t }, e, { kind: "class", name: t.name, metadata: b }, null, r), t = a.value, b && Object.defineProperty(t, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: b });
|
|
50
|
-
})(), s.role = "text", s.styles = S,
|
|
51
|
+
})(), s.role = "text", s.styles = [S, C], n(t, r), t;
|
|
51
52
|
})();
|
|
52
53
|
export {
|
|
53
|
-
|
|
54
|
+
L as SbbCardBadgeElement
|
|
54
55
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card-action-common.d.ts","sourceRoot":"","sources":["../../../../src/elements/card/common/card-action-common.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"card-action-common.d.ts","sourceRoot":"","sources":["../../../../src/elements/card/common/card-action-common.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAMhE,MAAM,CAAC,OAAO,OAAO,mCAAmC;IACtD,SAAgB,MAAM,EAAE,OAAO,CAAC;IAChC,SAAS,CAAC,UAAU,EAAE,MAAM,GAAG,QAAQ,CAAC;CACzC;AAGD,eAAO,MAAM,+BAA+B,GAC1C,CAAC,SAAS,mBAAmB,CAAC,oBAAoB,CAAC,EAEnD,YAAY,CAAC,KACZ,mBAAmB,CAAC,mCAAmC,CAAC,GAAG,CAgF7D,CAAC"}
|
|
@@ -3,8 +3,9 @@ import { MutationController as b } from "@lit-labs/observers/mutation-controller
|
|
|
3
3
|
import { property as d } from "lit/decorators.js";
|
|
4
4
|
import { html as u } from "lit/static-html.js";
|
|
5
5
|
import { IS_FOCUSABLE_QUERY as h } from "../../core/a11y.js";
|
|
6
|
-
import {
|
|
7
|
-
|
|
6
|
+
import { boxSizingStyles as f } from "../../core/styles.js";
|
|
7
|
+
import { css as m } from "lit";
|
|
8
|
+
const p = m`:host{display:block;outline:none!important;position:absolute;inset:0}:is(.sbb-card-button,.sbb-card-link){display:block;position:absolute;inset:0;border-radius:var(--sbb-card-border-radius);cursor:var(--sbb-cursor-pointer);outline:none}:host(:focus-visible) :is(.sbb-card-button,.sbb-card-link),:is(.sbb-card-button,.sbb-card-link):focus-visible{outline-offset:var(--sbb-focus-outline-offset);outline:var(--sbb-focus-outline-color) var(--sbb-focus-outline-style, solid) var(--sbb-focus-outline-width)}.sbb-screen-reader-only{border:0;clip-path:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}`, x = (o) => (() => {
|
|
8
9
|
var a;
|
|
9
10
|
let r = o, i = [], s;
|
|
10
11
|
return a = class extends r {
|
|
@@ -43,8 +44,8 @@ const m = f`*,:before,:after{box-sizing:border-box}:host{display:block;outline:n
|
|
|
43
44
|
s = [d({ reflect: !0, type: Boolean })], n(a, null, s, { kind: "setter", name: "active", static: !1, private: !1, access: { has: (e) => "active" in e, set: (e, c) => {
|
|
44
45
|
e.active = c;
|
|
45
46
|
} }, metadata: t }, null, i), t && Object.defineProperty(a, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: t });
|
|
46
|
-
})(), a.styles =
|
|
47
|
+
})(), a.styles = [f, p], a;
|
|
47
48
|
})();
|
|
48
49
|
export {
|
|
49
|
-
|
|
50
|
+
x as SbbCardActionCommonElementMixin
|
|
50
51
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carousel.component.d.ts","sourceRoot":"","sources":["../../../../src/elements/carousel/carousel/carousel.component.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1D,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"carousel.component.d.ts","sourceRoot":"","sources":["../../../../src/elements/carousel/carousel/carousel.component.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1D,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAoBvC,OAAO,6BAA6B,CAAC;;AAIrC;;;;GAIG;AACH,qBAEM,kBAAmB,SAAQ,uBAAoC;IACnE,OAAuB,MAAM,EAAE,cAAc,CAA4B;IAEzE;;OAEG;IACH,SAEgB,MAAM,EAAE,OAAO,CAAS;IAExC,OAAO,CAAC,UAAU,CAA2C;IAC7D,OAAO,CAAC,gBAAgB,CAAgC;IACxD,OAAO,CAAC,SAAS,CAAmC;IACpD,OAAO,CAAC,8BAA8B,CAAM;;IAwB5B,iBAAiB,IAAI,IAAI;IAOzB,YAAY,CAAC,kBAAkB,EAAE,cAAc,GAAG,IAAI;IAQtD,oBAAoB,IAAI,IAAI;IAK5C,OAAO,CAAC,iBAAiB;IA4BzB,OAAO,CAAC,mBAAmB;cAoBR,MAAM,IAAI,cAAc;CAU5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,cAAc,EAAE,kBAAkB,CAAC;KACpC;CACF"}
|
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
var
|
|
2
|
-
throw TypeError(
|
|
1
|
+
var f = (t) => {
|
|
2
|
+
throw TypeError(t);
|
|
3
3
|
};
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
import { __esDecorate as
|
|
7
|
-
import { css as
|
|
8
|
-
import { customElement as
|
|
4
|
+
var p = (t, a, r) => a.has(t) || f("Cannot " + r);
|
|
5
|
+
var _ = (t, a, r) => (p(t, a, "read from private field"), r ? r.call(t) : a.get(t)), y = (t, a, r) => a.has(t) ? f("Cannot add the same private member more than once") : a instanceof WeakSet ? a.add(t) : a.set(t, r), d = (t, a, r, i) => (p(t, a, "write to private field"), i ? i.call(t, r) : a.set(t, r), r);
|
|
6
|
+
import { __esDecorate as v, __runInitializers as b } from "tslib";
|
|
7
|
+
import { css as x, LitElement as w, html as S } from "lit";
|
|
8
|
+
import { customElement as P, property as C } from "lit/decorators.js";
|
|
9
9
|
import { SbbLanguageController as I } from "../../core/controllers/language-controller.js";
|
|
10
10
|
import { forceType as L } from "../../core/decorators.js";
|
|
11
11
|
import { i18nNextSlide as k, i18nPreviousSlide as q, i18nSlide as A, i18nCarouselArrowsNavigationHint as E } from "../../core/i18n/i18n.js";
|
|
12
12
|
import { SbbElementInternalsMixin as B } from "../../core/mixins.js";
|
|
13
|
+
import { boxSizingStyles as z } from "../../core/styles.js";
|
|
13
14
|
import "../../screen-reader-only.js";
|
|
14
|
-
const
|
|
15
|
-
let
|
|
16
|
-
var n,
|
|
17
|
-
let
|
|
18
|
-
return
|
|
15
|
+
const N = x`:host{--sbb-carousel-border-radius: var(--sbb-border-radius-4x);--sbb-carousel-background-color: var(--sbb-background-color-1);display:inline-block;overflow:hidden;border-radius:var(--sbb-carousel-border-radius) var(--sbb-carousel-border-radius) 0 0}:host([shadow]){box-shadow:var(--sbb-box-shadow-level-9-hard);border-radius:var(--sbb-carousel-border-radius)}:host(:not([shadow])) ::slotted(sbb-carousel-list){--sbb-carousel-inherit-border-radius: var(--sbb-carousel-border-radius)}.sbb-carousel{display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:var(--sbb-carousel-background-color)}::slotted(sbb-compact-paginator){padding:var(--sbb-spacing-responsive-xs)}`;
|
|
16
|
+
let G = (() => {
|
|
17
|
+
var n, o;
|
|
18
|
+
let t = [P("sbb-carousel")], a, r = [], i, u = B(w), h, g = [], m = [];
|
|
19
|
+
return o = class extends u {
|
|
19
20
|
constructor() {
|
|
20
21
|
super();
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
y(this, n);
|
|
23
|
+
d(this, n, b(this, g, !1)), this._paginator = (b(this, m), null), this._abortController = null, this._language = new I(this), this._requestedPageIndexByPaginator = -1, this.addEventListener?.("show", (e) => {
|
|
23
24
|
this._requestedPageIndexByPaginator !== -1 && this._requestedPageIndexByPaginator !== e.detail.index || (this._paginator && e.detail.index !== this._paginator.pageIndex && (this._paginator.pageIndex = e.detail.index), this._requestedPageIndexByPaginator = -1);
|
|
24
25
|
});
|
|
25
26
|
}
|
|
@@ -27,10 +28,10 @@ let W = (() => {
|
|
|
27
28
|
* Used to display a box-shadow around the component.
|
|
28
29
|
*/
|
|
29
30
|
get shadow() {
|
|
30
|
-
return
|
|
31
|
+
return _(this, n);
|
|
31
32
|
}
|
|
32
33
|
set shadow(e) {
|
|
33
|
-
|
|
34
|
+
d(this, n, e);
|
|
34
35
|
}
|
|
35
36
|
connectedCallback() {
|
|
36
37
|
super.connectedCallback(), this.internals.role = "region", this.internals.ariaLabel = "carousel";
|
|
@@ -44,24 +45,24 @@ let W = (() => {
|
|
|
44
45
|
super.disconnectedCallback(), this._abortController?.abort();
|
|
45
46
|
}
|
|
46
47
|
_handleSlotchange() {
|
|
47
|
-
const e = Array.from(this.children).find((
|
|
48
|
-
if (!e || !
|
|
48
|
+
const e = Array.from(this.children).find((l) => l.localName === "sbb-compact-paginator"), s = Array.from(this.children).find((l) => l.localName === "sbb-carousel-list");
|
|
49
|
+
if (!e || !s)
|
|
49
50
|
return;
|
|
50
|
-
const
|
|
51
|
-
|
|
51
|
+
const c = s.querySelectorAll("sbb-carousel-item");
|
|
52
|
+
c && c.length > 0 && (e.length = c.length, e.pageSize = 1), e.accessibilityNextPageLabel ||= k[this._language.current], e.accessibilityPreviousPageLabel ||= q[this._language.current], e.accessibilityPageLabel ||= A[this._language.current], e !== this._paginator && (this._abortController = new AbortController(), e.addEventListener("page", (l) => this._scrollAtPageChange(l), {
|
|
52
53
|
signal: this._abortController.signal
|
|
53
54
|
}), this._paginator = e);
|
|
54
55
|
}
|
|
55
56
|
_scrollAtPageChange(e) {
|
|
56
57
|
this._requestedPageIndexByPaginator = e.detail.pageIndex;
|
|
57
|
-
const
|
|
58
|
-
if (
|
|
59
|
-
const
|
|
60
|
-
(
|
|
58
|
+
const s = this.querySelector("sbb-carousel-list");
|
|
59
|
+
if (s) {
|
|
60
|
+
const l = s.querySelectorAll("sbb-carousel-item")[e.detail.pageIndex].offsetLeft - this.offsetLeft;
|
|
61
|
+
(s.clientWidth <= 100 || Math.abs(s.scrollLeft - l) > 50) && s.scrollTo({ left: l });
|
|
61
62
|
}
|
|
62
63
|
}
|
|
63
64
|
render() {
|
|
64
|
-
return
|
|
65
|
+
return S`
|
|
65
66
|
<div class="sbb-carousel">
|
|
66
67
|
<sbb-screen-reader-only id="sbb-carousel-arrows-navigation-hint"
|
|
67
68
|
>${E[this._language.current]}</sbb-screen-reader-only
|
|
@@ -70,13 +71,13 @@ let W = (() => {
|
|
|
70
71
|
</div>
|
|
71
72
|
`;
|
|
72
73
|
}
|
|
73
|
-
}, n = new WeakMap(),
|
|
74
|
-
const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} }, metadata: e }, g,
|
|
78
|
-
})(),
|
|
74
|
+
}, n = new WeakMap(), i = o, (() => {
|
|
75
|
+
const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(u[Symbol.metadata] ?? null) : void 0;
|
|
76
|
+
h = [L(), C({ reflect: !0, type: Boolean })], v(o, null, h, { kind: "accessor", name: "shadow", static: !1, private: !1, access: { has: (s) => "shadow" in s, get: (s) => s.shadow, set: (s, c) => {
|
|
77
|
+
s.shadow = c;
|
|
78
|
+
} }, metadata: e }, g, m), v(null, a = { value: i }, t, { kind: "class", name: i.name, metadata: e }, null, r), i = a.value, e && Object.defineProperty(i, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: e });
|
|
79
|
+
})(), o.styles = [z, N], b(i, r), i;
|
|
79
80
|
})();
|
|
80
81
|
export {
|
|
81
|
-
|
|
82
|
+
G as SbbCarouselElement
|
|
82
83
|
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { __esDecorate as i, __runInitializers as n } from "tslib";
|
|
2
|
-
import { css as c, LitElement as m, html as
|
|
3
|
-
import { customElement as
|
|
2
|
+
import { css as c, LitElement as m, html as u } from "lit";
|
|
3
|
+
import { customElement as b } from "lit/decorators.js";
|
|
4
4
|
import { SbbElementInternalsMixin as d } from "../../core/mixins.js";
|
|
5
|
-
const
|
|
6
|
-
let
|
|
5
|
+
const p = c`:host{display:flex;scroll-snap-align:start;flex-shrink:0}`;
|
|
6
|
+
let S = (() => {
|
|
7
7
|
var e;
|
|
8
|
-
let o = [
|
|
8
|
+
let o = [b("sbb-carousel-item")], l, a = [], t, r = d(m);
|
|
9
9
|
return e = class extends r {
|
|
10
10
|
connectedCallback() {
|
|
11
11
|
super.connectedCallback(), this.internals.role = "group", this.internals.ariaRoleDescription = "slide";
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return
|
|
14
|
+
return u`<slot></slot>`;
|
|
15
15
|
}
|
|
16
16
|
}, t = e, (() => {
|
|
17
17
|
const s = typeof Symbol == "function" && Symbol.metadata ? Object.create(r[Symbol.metadata] ?? null) : void 0;
|
|
18
18
|
i(null, l = { value: t }, o, { kind: "class", name: t.name, metadata: s }, null, a), t = l.value, s && Object.defineProperty(t, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: s });
|
|
19
|
-
})(), e.styles =
|
|
19
|
+
})(), e.styles = p, e.events = {
|
|
20
20
|
beforeshow: "beforeshow",
|
|
21
21
|
show: "show"
|
|
22
22
|
}, n(t, a), t;
|
|
23
23
|
})();
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
S as SbbCarouselItemElement
|
|
26
26
|
};
|
|
@@ -5,11 +5,11 @@ import { customElement as g } from "lit/decorators.js";
|
|
|
5
5
|
import { isArrowKeyPressed as I } from "../../core/a11y.js";
|
|
6
6
|
import { SbbLanguageController as w } from "../../core/controllers.js";
|
|
7
7
|
import { i18nCarouselItemAriaLabel as p } from "../../core/i18n.js";
|
|
8
|
-
import { SbbElementInternalsMixin as
|
|
9
|
-
const
|
|
8
|
+
import { SbbElementInternalsMixin as y } from "../../core/mixins.js";
|
|
9
|
+
const x = f`:host{--sbb-carousel-list-border-radius: var(--sbb-border-radius-4x);display:flex;height:var(--sbb-carousel-list-height);width:var(--sbb-carousel-list-width, 0);overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;outline:none;border-radius:var(--sbb-carousel-inherit-border-radius)}:host(:focus-visible):before{outline-offset:var(--sbb-focus-outline-offset);outline:var(--sbb-focus-outline-color) var(--sbb-focus-outline-style, solid) var(--sbb-focus-outline-width);content:"";position:absolute;height:inherit;width:inherit;border-start-start-radius:var(--sbb-carousel-list-border-radius);border-start-end-radius:var(--sbb-carousel-list-border-radius);border-end-start-radius:var(--sbb-carousel-inherit-border-radius);border-end-end-radius:var(--sbb-carousel-inherit-border-radius)}`;
|
|
10
10
|
let H = (() => {
|
|
11
11
|
var i;
|
|
12
|
-
let u = [g("sbb-carousel-list")], a, l = [], s, c =
|
|
12
|
+
let u = [g("sbb-carousel-list")], a, l = [], s, c = y(m);
|
|
13
13
|
return i = class extends c {
|
|
14
14
|
constructor() {
|
|
15
15
|
super(), this._currentIndex = 0, this._language = new w(this), this._observedCarouselItems = [], this._beforeShowObserver = new n(this, {
|
|
@@ -96,7 +96,7 @@ let H = (() => {
|
|
|
96
96
|
}, s = i, (() => {
|
|
97
97
|
const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(c[Symbol.metadata] ?? null) : void 0;
|
|
98
98
|
b(null, a = { value: s }, u, { kind: "class", name: s.name, metadata: e }, null, l), s = a.value, e && Object.defineProperty(s, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: e });
|
|
99
|
-
})(), i.styles =
|
|
99
|
+
})(), i.styles = x, d(s, l), s;
|
|
100
100
|
})();
|
|
101
101
|
export {
|
|
102
102
|
H as SbbCarouselListElement
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LitElement, CSSResultGroup, TemplateResult } from 'lit';
|
|
2
2
|
import { SbbIconPlacement } from '../../core/interfaces.js';
|
|
3
3
|
import { SbbCheckboxSize } from '../common.js';
|
|
4
|
-
declare const SbbCheckboxElement_base: import('../../core/mixins.js').
|
|
4
|
+
declare const SbbCheckboxElement_base: import('../../core/mixins.js').AbstractConstructor<import('../../icon.js').SbbIconNameMixinType> & import('../../core/mixins.js').Constructor<import('../common.js').SbbCheckboxCommonElementMixinType> & typeof LitElement;
|
|
5
5
|
/**
|
|
6
6
|
* It displays a checkbox enhanced with the SBB Design.
|
|
7
7
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.component.d.ts","sourceRoot":"","sources":["../../../../src/elements/checkbox/checkbox/checkbox.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAKjF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"checkbox.component.d.ts","sourceRoot":"","sources":["../../../../src/elements/checkbox/checkbox/checkbox.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAKjF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAGjE,OAAO,EAGL,KAAK,eAAe,EACrB,MAAM,cAAc,CAAC;AAItB,OAAO,0BAA0B,CAAC;;AAElC;;;;;;;;GAQG;AACH,qBAEM,kBAAkB,CAAC,CAAC,GAAG,MAAM,CAAE,SAAQ,uBAE5C;IACC,OAAuB,MAAM,EAAE,cAAc,CAI3C;IAEF,iCAAiC;IACjC,SACgB,KAAK,EAAE,CAAC,GAAG,IAAI,CAAQ;IAEvC;;;OAGG;IACH,SAEgB,IAAI,EAAE,eAAe,CAAyB;IAE9D,oEAAoE;IACpE,SACgB,aAAa,EAAE,gBAAgB,CAAS;cAErC,MAAM,IAAI,cAAc;CAwB5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,cAAc,EAAE,kBAAkB,CAAC;KACpC;CACF"}
|
|
@@ -2,24 +2,25 @@ var w = (t) => {
|
|
|
2
2
|
throw TypeError(t);
|
|
3
3
|
};
|
|
4
4
|
var E = (t, s, a) => s.has(t) || w("Cannot " + a);
|
|
5
|
-
var h = (t, s, a) => (E(t, s, "read from private field"), a ? a.call(t) : s.get(t)), u = (t, s, a) => s.has(t) ? w("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(t) : s.set(t, a),
|
|
6
|
-
import { __esDecorate as
|
|
5
|
+
var h = (t, s, a) => (E(t, s, "read from private field"), a ? a.call(t) : s.get(t)), u = (t, s, a) => s.has(t) ? w("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(t) : s.set(t, a), d = (t, s, a, c) => (E(t, s, "write to private field"), c ? c.call(t, a) : s.set(t, a), a);
|
|
6
|
+
import { __esDecorate as _, __runInitializers as l } from "tslib";
|
|
7
7
|
import { css as $, LitElement as j, html as C } from "lit";
|
|
8
8
|
import { customElement as D, property as p } from "lit/decorators.js";
|
|
9
|
-
import {
|
|
10
|
-
import { isLean as
|
|
9
|
+
import { getOverride as O } from "../../core/decorators.js";
|
|
10
|
+
import { isLean as L } from "../../core/dom.js";
|
|
11
|
+
import { boxSizingStyles as M } from "../../core/styles.js";
|
|
11
12
|
import { SbbIconNameMixin as N } from "../../icon.js";
|
|
12
13
|
import { SbbCheckboxCommonElementMixin as T, checkboxCommonStyle as q } from "../common.js";
|
|
13
14
|
import "../../visual-checkbox.js";
|
|
14
|
-
const A = $`:host{outline:none!important;display:inline-block}.sbb-checkbox__label--icon{color:var(--sbb-checkbox-label-icon-color)}:host([icon-placement=end]) .sbb-checkbox__label--icon{margin-inline-start:auto}:host(:not([icon-name],[
|
|
15
|
-
let
|
|
15
|
+
const A = $`:host{outline:none!important;display:inline-block}.sbb-checkbox__label--icon{color:var(--sbb-checkbox-label-icon-color)}:host([icon-placement=end]) .sbb-checkbox__label--icon{margin-inline-start:auto}:host(:not(:is(:state(has-icon-name),[state--has-icon-name]),:is(:state(slotted-icon),[state--slotted-icon]))) .sbb-checkbox__label--icon{display:none}:host(:is(:is(:state(has-icon-name),[state--has-icon-name]),:is(:state(slotted-icon),[state--slotted-icon])):not([icon-placement=end])) .sbb-checkbox__label--icon{padding-inline-end:var(--sbb-spacing-fixed-2x)}:host(:is(:is(:state(has-icon-name),[state--has-icon-name]),:is(:state(slotted-icon),[state--slotted-icon]))[icon-placement=end]) .sbb-checkbox__label--icon{padding-inline-start:var(--sbb-spacing-fixed-2x)}:host(:focus-visible) .sbb-checkbox-wrapper{outline-offset:var(--sbb-focus-outline-offset);outline:var(--sbb-focus-outline-color) var(--sbb-focus-outline-style, solid) var(--sbb-focus-outline-width);border-radius:calc(var(--sbb-border-radius-4x) - var(--sbb-focus-outline-offset))}:host([icon-placement=start]) .sbb-checkbox__label{flex-direction:row-reverse;justify-content:flex-end}:host([icon-placement=end]) .sbb-checkbox__label{justify-content:flex-start;flex-grow:1}`;
|
|
16
|
+
let X = (() => {
|
|
16
17
|
var r, b, m, n;
|
|
17
|
-
let t = [D("sbb-checkbox")
|
|
18
|
+
let t = [D("sbb-checkbox")], s, a = [], c, f = N(T(j)), x, v = [], k = [], g, z = [], y = [], S, P = [], I = [];
|
|
18
19
|
return n = class extends f {
|
|
19
20
|
constructor() {
|
|
20
21
|
super(...arguments);
|
|
21
22
|
u(this, r, l(this, v, null));
|
|
22
|
-
u(this, b, (l(this, k), l(this, z,
|
|
23
|
+
u(this, b, (l(this, k), l(this, z, L() ? "xs" : "m")));
|
|
23
24
|
u(this, m, (l(this, y), l(this, P, "end")));
|
|
24
25
|
l(this, I);
|
|
25
26
|
}
|
|
@@ -28,7 +29,7 @@ let W = (() => {
|
|
|
28
29
|
return h(this, r);
|
|
29
30
|
}
|
|
30
31
|
set value(i) {
|
|
31
|
-
|
|
32
|
+
d(this, r, i);
|
|
32
33
|
}
|
|
33
34
|
/**
|
|
34
35
|
* Size variant, either m, s or xs.
|
|
@@ -38,14 +39,14 @@ let W = (() => {
|
|
|
38
39
|
return h(this, b);
|
|
39
40
|
}
|
|
40
41
|
set size(i) {
|
|
41
|
-
|
|
42
|
+
d(this, b, i);
|
|
42
43
|
}
|
|
43
44
|
/** The label position relative to the labelIcon. Defaults to end */
|
|
44
45
|
get iconPlacement() {
|
|
45
46
|
return h(this, m);
|
|
46
47
|
}
|
|
47
48
|
set iconPlacement(i) {
|
|
48
|
-
|
|
49
|
+
d(this, m, i);
|
|
49
50
|
}
|
|
50
51
|
render() {
|
|
51
52
|
return C`
|
|
@@ -73,15 +74,19 @@ let W = (() => {
|
|
|
73
74
|
}
|
|
74
75
|
}, r = new WeakMap(), b = new WeakMap(), m = new WeakMap(), c = n, (() => {
|
|
75
76
|
const i = typeof Symbol == "function" && Symbol.metadata ? Object.create(f[Symbol.metadata] ?? null) : void 0;
|
|
76
|
-
x = [p()], g = [p({ reflect: !0 }),
|
|
77
|
+
x = [p()], g = [p({ reflect: !0 }), O((e, o) => e.group?.size ?? o)], S = [p({ attribute: "icon-placement", reflect: !0 })], _(n, null, x, { kind: "accessor", name: "value", static: !1, private: !1, access: { has: (e) => "value" in e, get: (e) => e.value, set: (e, o) => {
|
|
77
78
|
e.value = o;
|
|
78
|
-
} }, metadata: i }, v, k),
|
|
79
|
+
} }, metadata: i }, v, k), _(n, null, g, { kind: "accessor", name: "size", static: !1, private: !1, access: { has: (e) => "size" in e, get: (e) => e.size, set: (e, o) => {
|
|
79
80
|
e.size = o;
|
|
80
|
-
} }, metadata: i }, z, y),
|
|
81
|
+
} }, metadata: i }, z, y), _(n, null, S, { kind: "accessor", name: "iconPlacement", static: !1, private: !1, access: { has: (e) => "iconPlacement" in e, get: (e) => e.iconPlacement, set: (e, o) => {
|
|
81
82
|
e.iconPlacement = o;
|
|
82
|
-
} }, metadata: i }, P, I),
|
|
83
|
-
})(), n.styles = [
|
|
83
|
+
} }, metadata: i }, P, I), _(null, s = { value: c }, t, { kind: "class", name: c.name, metadata: i }, null, a), c = s.value, i && Object.defineProperty(c, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: i });
|
|
84
|
+
})(), n.styles = [
|
|
85
|
+
M,
|
|
86
|
+
q,
|
|
87
|
+
A
|
|
88
|
+
], l(c, a), c;
|
|
84
89
|
})();
|
|
85
90
|
export {
|
|
86
|
-
|
|
91
|
+
X as SbbCheckboxElement
|
|
87
92
|
};
|
|
@@ -3,7 +3,7 @@ import { SbbHorizontalFrom, SbbOrientation } from '../../core/interfaces.js';
|
|
|
3
3
|
import { SbbCheckboxPanelElement } from '../checkbox-panel.js';
|
|
4
4
|
import { SbbCheckboxElement } from '../checkbox.js';
|
|
5
5
|
import { SbbCheckboxSize } from '../common.js';
|
|
6
|
-
declare const SbbCheckboxGroupElement_base: import('../../core/mixins.js').AbstractConstructor<import('../../core/mixins.js').SbbDisabledMixinType> & typeof LitElement;
|
|
6
|
+
declare const SbbCheckboxGroupElement_base: import('../../core/mixins.js').AbstractConstructor<import('../../core/mixins.js').SbbDisabledMixinType> & import('../../core/mixins.js').AbstractConstructor<import('../../core/mixins.js').SbbElementInternalsMixinType> & typeof LitElement & import('../../core/mixins.js').SbbElementInternalsConstructor;
|
|
7
7
|
/**
|
|
8
8
|
* It can be used as a container for one or more `sbb-checkbox`.
|
|
9
9
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-group.component.d.ts","sourceRoot":"","sources":["../../../../src/elements/checkbox/checkbox-group/checkbox-group.component.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1E,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAMvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"checkbox-group.component.d.ts","sourceRoot":"","sources":["../../../../src/elements/checkbox/checkbox-group/checkbox-group.component.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1E,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAMvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAGlF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;;AAIpD;;;;;GAKG;AACH,qBAEM,uBAAwB,SAAQ,4BAAsD;IAC1F,OAAuB,MAAM,EAAE,cAAc,CAA4B;IAEzE,8CAA8C;IAC9C,SAEgB,QAAQ,EAAE,OAAO,CAAS;IAE1C;;;OAGG;IACH,SAA4B,IAAI,EAAE,eAAe,CAAyB;IAE1E,yDAAyD;IACzD,SACgB,cAAc,EAAE,iBAAiB,GAAG,IAAI,CAAQ;IAEhE,qFAAqF;IACrF,SACgB,WAAW,EAAE,cAAc,CAAgB;IAE3D,2CAA2C;IAC3C,IAAW,UAAU,IAAI,CAAC,kBAAkB,GAAG,uBAAuB,CAAC,EAAE,CAMxE;;IAOe,iBAAiB,IAAI,IAAI;cAKtB,UAAU,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAc5E,OAAO,CAAC,cAAc;cA2BH,MAAM,IAAI,cAAc;CAU5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,oBAAoB,EAAE,uBAAuB,CAAC;KAC/C;CACF"}
|
|
@@ -2,57 +2,58 @@ var C = (o) => {
|
|
|
2
2
|
throw TypeError(o);
|
|
3
3
|
};
|
|
4
4
|
var U = (o, i, r) => i.has(o) || C("Cannot " + r);
|
|
5
|
-
var
|
|
6
|
-
import { __esDecorate as
|
|
5
|
+
var u = (o, i, r) => (U(o, i, "read from private field"), r ? r.call(o) : i.get(o)), m = (o, i, r) => i.has(o) ? C("Cannot add the same private member more than once") : i instanceof WeakSet ? i.add(o) : i.set(o, r), p = (o, i, r, n) => (U(o, i, "write to private field"), n ? n.call(o, r) : i.set(o, r), r);
|
|
6
|
+
import { __esDecorate as x, __runInitializers as c } from "tslib";
|
|
7
7
|
import { css as L, LitElement as N, html as j } from "lit";
|
|
8
|
-
import { customElement as
|
|
9
|
-
import { interactivityChecker as
|
|
10
|
-
import {
|
|
11
|
-
import { isLean as
|
|
12
|
-
import { SbbDisabledMixin as J } from "../../core/mixins.js";
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
8
|
+
import { customElement as M, property as g } from "lit/decorators.js";
|
|
9
|
+
import { interactivityChecker as O, isArrowKeyPressed as T, getNextElementIndex as B } from "../../core/a11y.js";
|
|
10
|
+
import { forceType as G } from "../../core/decorators.js";
|
|
11
|
+
import { isLean as V } from "../../core/dom.js";
|
|
12
|
+
import { SbbDisabledMixin as H, SbbElementInternalsMixin as J } from "../../core/mixins.js";
|
|
13
|
+
import { boxSizingStyles as Q } from "../../core/styles.js";
|
|
14
|
+
const R = L`:host{--sbb-checkbox-group-orientation: row;--sbb-checkbox-group-checkbox-width: auto;--sbb-checkbox-group-width: max-content;--sbb-checkbox-group-gap: var(--sbb-spacing-fixed-3x) var(--sbb-spacing-fixed-6x);display:block}:host([orientation=vertical]){--sbb-checkbox-group-orientation: column;--sbb-checkbox-group-width: 100%;--sbb-checkbox-group-checkbox-width: 100%}:host([orientation=vertical]) ::slotted(sbb-checkbox-panel){width:100%}:host([data-has-panel]){--sbb-checkbox-group-width: 100%}:host([data-has-panel]) ::slotted(sbb-checkbox-panel){flex:auto}:host([data-has-panel][orientation=vertical]){--sbb-checkbox-group-gap: var(--sbb-spacing-fixed-2x) var(--sbb-spacing-fixed-4x)}@media(min-width:0rem){:host([orientation=vertical][horizontal-from=zero]){--sbb-checkbox-group-orientation: row;--sbb-checkbox-group-checkbox-width: auto}:host([orientation=vertical][horizontal-from=zero]) ::slotted(sbb-checkbox-panel){width:initial}:host([orientation=vertical][horizontal-from=zero]:not([data-has-panel])){--sbb-checkbox-group-width: max-content}}@media(min-width:37.5rem){:host([orientation=vertical][horizontal-from=small]){--sbb-checkbox-group-orientation: row;--sbb-checkbox-group-checkbox-width: auto}:host([orientation=vertical][horizontal-from=small]) ::slotted(sbb-checkbox-panel){width:initial}:host([orientation=vertical][horizontal-from=small]:not([data-has-panel])){--sbb-checkbox-group-width: max-content}}@media(min-width:64rem){:host([orientation=vertical][horizontal-from=large]){--sbb-checkbox-group-orientation: row;--sbb-checkbox-group-checkbox-width: auto}:host([orientation=vertical][horizontal-from=large]) ::slotted(sbb-checkbox-panel){width:initial}:host([orientation=vertical][horizontal-from=large]:not([data-has-panel])){--sbb-checkbox-group-width: max-content}}@media(min-width:90rem){:host([orientation=vertical][horizontal-from=ultra]){--sbb-checkbox-group-orientation: row;--sbb-checkbox-group-checkbox-width: auto}:host([orientation=vertical][horizontal-from=ultra]) ::slotted(sbb-checkbox-panel){width:initial}:host([orientation=vertical][horizontal-from=ultra]:not([data-has-panel])){--sbb-checkbox-group-width: max-content}}.sbb-checkbox-group{display:flex;flex-direction:var(--sbb-checkbox-group-orientation);gap:var(--sbb-checkbox-group-gap);align-items:flex-start;width:var(--sbb-checkbox-group-width)}.sbb-checkbox-group__error{display:inline-block;margin-block-start:var(--sbb-spacing-fixed-1x)}:host(:not(:is(:state(slotted-error),[state--slotted-error]))) .sbb-checkbox-group__error{display:none}::slotted(sbb-checkbox){width:var(--sbb-checkbox-group-checkbox-width)}`;
|
|
15
|
+
let rt = (() => {
|
|
16
|
+
var l, b, h, d, s;
|
|
17
|
+
let o = [M("sbb-checkbox-group")], i, r = [], n, k = H(J(N)), f, z = [], _ = [], w, v = [], y = [], q, E = [], S = [], F, I = [], D = [];
|
|
18
|
+
return s = class extends k {
|
|
18
19
|
constructor() {
|
|
19
20
|
super();
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
m(this, l, c(this, z, !1));
|
|
22
|
+
m(this, b, (c(this, _), c(this, v, V() ? "xs" : "m")));
|
|
23
|
+
m(this, h, (c(this, y), c(this, E, null)));
|
|
24
|
+
m(this, d, (c(this, S), c(this, I, "horizontal")));
|
|
24
25
|
c(this, D), this.addEventListener?.("keydown", (e) => this._handleKeyDown(e));
|
|
25
26
|
}
|
|
26
27
|
/** Whether the checkbox group is required. */
|
|
27
28
|
get required() {
|
|
28
|
-
return
|
|
29
|
+
return u(this, l);
|
|
29
30
|
}
|
|
30
31
|
set required(e) {
|
|
31
|
-
|
|
32
|
+
p(this, l, e);
|
|
32
33
|
}
|
|
33
34
|
/**
|
|
34
35
|
* Size variant, either m, s or xs.
|
|
35
36
|
* @default 'm' / 'xs' (lean)
|
|
36
37
|
*/
|
|
37
38
|
get size() {
|
|
38
|
-
return
|
|
39
|
+
return u(this, b);
|
|
39
40
|
}
|
|
40
41
|
set size(e) {
|
|
41
|
-
|
|
42
|
+
p(this, b, e);
|
|
42
43
|
}
|
|
43
44
|
/** Overrides the behaviour of `orientation` property. */
|
|
44
45
|
get horizontalFrom() {
|
|
45
|
-
return
|
|
46
|
+
return u(this, h);
|
|
46
47
|
}
|
|
47
48
|
set horizontalFrom(e) {
|
|
48
|
-
|
|
49
|
+
p(this, h, e);
|
|
49
50
|
}
|
|
50
51
|
/** Indicates the orientation of the checkboxes inside the `<sbb-checkbox-group>`. */
|
|
51
52
|
get orientation() {
|
|
52
|
-
return
|
|
53
|
+
return u(this, d);
|
|
53
54
|
}
|
|
54
55
|
set orientation(e) {
|
|
55
|
-
|
|
56
|
+
p(this, d, e);
|
|
56
57
|
}
|
|
57
58
|
/** List of contained checkbox elements. */
|
|
58
59
|
get checkboxes() {
|
|
@@ -65,10 +66,10 @@ let ot = (() => {
|
|
|
65
66
|
super.willUpdate(e), e.has("disabled") && this.checkboxes.forEach((t) => t.requestUpdate?.("disabled")), e.has("required") && this.checkboxes.forEach((t) => t.requestUpdate?.("required")), e.has("size") && this.checkboxes.forEach((t) => t.requestUpdate?.("size"));
|
|
66
67
|
}
|
|
67
68
|
_handleKeyDown(e) {
|
|
68
|
-
const t = this.checkboxes.filter((a) => !a.disabled &&
|
|
69
|
+
const t = this.checkboxes.filter((a) => !a.disabled && O.isVisible(a));
|
|
69
70
|
if (!(!t || // don't trap nested handling
|
|
70
|
-
e.target !== this && e.target.parentElement !== this && e.target.parentElement.localName !== "sbb-selection-expansion-panel" && e.target.parentElement.localName !== "sbb-selection-action-panel") &&
|
|
71
|
-
const a = t.findIndex((K) => K === e.target), A =
|
|
71
|
+
e.target !== this && e.target.parentElement !== this && e.target.parentElement.localName !== "sbb-selection-expansion-panel" && e.target.parentElement.localName !== "sbb-selection-action-panel") && T(e)) {
|
|
72
|
+
const a = t.findIndex((K) => K === e.target), A = B(e, a, t.length);
|
|
72
73
|
t[A]?.focus();
|
|
73
74
|
}
|
|
74
75
|
}
|
|
@@ -82,19 +83,19 @@ let ot = (() => {
|
|
|
82
83
|
</div>
|
|
83
84
|
`;
|
|
84
85
|
}
|
|
85
|
-
}, l = new WeakMap(),
|
|
86
|
-
const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(
|
|
87
|
-
f = [
|
|
86
|
+
}, l = new WeakMap(), b = new WeakMap(), h = new WeakMap(), d = new WeakMap(), n = s, (() => {
|
|
87
|
+
const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(k[Symbol.metadata] ?? null) : void 0;
|
|
88
|
+
f = [G(), g({ reflect: !0, type: Boolean })], w = [g()], q = [g({ attribute: "horizontal-from", reflect: !0 })], F = [g({ reflect: !0 })], x(s, null, f, { kind: "accessor", name: "required", static: !1, private: !1, access: { has: (t) => "required" in t, get: (t) => t.required, set: (t, a) => {
|
|
88
89
|
t.required = a;
|
|
89
|
-
} }, metadata: e }, z,
|
|
90
|
+
} }, metadata: e }, z, _), x(s, null, w, { kind: "accessor", name: "size", static: !1, private: !1, access: { has: (t) => "size" in t, get: (t) => t.size, set: (t, a) => {
|
|
90
91
|
t.size = a;
|
|
91
|
-
} }, metadata: e }, v, y),
|
|
92
|
+
} }, metadata: e }, v, y), x(s, null, q, { kind: "accessor", name: "horizontalFrom", static: !1, private: !1, access: { has: (t) => "horizontalFrom" in t, get: (t) => t.horizontalFrom, set: (t, a) => {
|
|
92
93
|
t.horizontalFrom = a;
|
|
93
|
-
} }, metadata: e }, E,
|
|
94
|
+
} }, metadata: e }, E, S), x(s, null, F, { kind: "accessor", name: "orientation", static: !1, private: !1, access: { has: (t) => "orientation" in t, get: (t) => t.orientation, set: (t, a) => {
|
|
94
95
|
t.orientation = a;
|
|
95
|
-
} }, metadata: e }, I, D),
|
|
96
|
-
})(), s.styles = Q, c(n, r), n;
|
|
96
|
+
} }, metadata: e }, I, D), x(null, i = { value: n }, o, { kind: "class", name: n.name, metadata: e }, null, r), n = i.value, e && Object.defineProperty(n, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: e });
|
|
97
|
+
})(), s.styles = [Q, R], c(n, r), n;
|
|
97
98
|
})();
|
|
98
99
|
export {
|
|
99
|
-
|
|
100
|
+
rt as SbbCheckboxGroupElement
|
|
100
101
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox-panel.component.d.ts","sourceRoot":"","sources":["../../../../src/elements/checkbox/checkbox-panel/checkbox-panel.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EAEnB,UAAU,EAEV,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,cAAc,EACpB,MAAM,KAAK,CAAC;AAKb,OAAO,KAAK,EACV,qBAAqB,EACrB,sBAAsB,EACtB,cAAc,EACf,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAGL,KAAK,YAAY,EAElB,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"checkbox-panel.component.d.ts","sourceRoot":"","sources":["../../../../src/elements/checkbox/checkbox-panel/checkbox-panel.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EAEnB,UAAU,EAEV,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,cAAc,EACpB,MAAM,KAAK,CAAC;AAKb,OAAO,KAAK,EACV,qBAAqB,EACrB,sBAAsB,EACtB,cAAc,EACf,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAGL,KAAK,YAAY,EAElB,MAAM,sBAAsB,CAAC;AAI9B,OAAO,6BAA6B,CAAC;AACrC,OAAO,0BAA0B,CAAC;AAElC,MAAM,MAAM,2BAA2B,GAAG,OAAO,CAC/C,cAAc,EACd,sBAAsB,GAAG,qBAAqB,CAC/C,CAAC;;AAEF;;;;;;;;;;GAUG;AACH,qBAEM,uBAAuB,CAAC,CAAC,GAAG,MAAM,CAAE,SAAQ,4BAEjD;IACC,OAAuB,MAAM,EAAE,cAAc,CAI3C;IAEF,iCAAiC;IACjC,SACgB,KAAK,EAAE,CAAC,GAAG,IAAI,CAAQ;IAEvC;;;OAGG;IACH,SAEgB,IAAI,EAAE,YAAY,CAAwB;IAE1C,aAAa,CAC3B,IAAI,CAAC,EAAE,WAAW,EAClB,QAAQ,CAAC,EAAE,OAAO,EAClB,OAAO,CAAC,EAAE,mBAAmB,GAC5B,IAAI;cASY,UAAU,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAe5E,OAAO,CAAC,oBAAoB;cAWT,MAAM,IAAI,cAAc;CA8B5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,oBAAoB,EAAE,uBAAuB,CAAC;KAC/C;IAED,UAAU,2BAA2B;QACnC,WAAW,EAAE,WAAW,CAAC,cAAc,CAAC,CAAC;KAC1C;CACF"}
|