@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
|
@@ -2,24 +2,25 @@ var z = (t) => {
|
|
|
2
2
|
throw TypeError(t);
|
|
3
3
|
};
|
|
4
4
|
var S = (t, a, i) => a.has(t) || z("Cannot " + i);
|
|
5
|
-
var h = (t, a, i) => (S(t, a, "read from private field"), i ? i.call(t) : a.get(t)), d = (t, a, i) => a.has(t) ? z("Cannot add the same private member more than once") : a instanceof WeakSet ? a.add(t) : a.set(t, i),
|
|
6
|
-
import { __esDecorate as
|
|
5
|
+
var h = (t, a, i) => (S(t, a, "read from private field"), i ? i.call(t) : a.get(t)), d = (t, a, i) => a.has(t) ? z("Cannot add the same private member more than once") : a instanceof WeakSet ? a.add(t) : a.set(t, i), m = (t, a, i, l) => (S(t, a, "write to private field"), l ? l.call(t, i) : a.set(t, i), i);
|
|
6
|
+
import { __esDecorate as u, __runInitializers as b } from "tslib";
|
|
7
7
|
import { LitElement as E, nothing as $, html as y } from "lit";
|
|
8
8
|
import { customElement as w, property as C } from "lit/decorators.js";
|
|
9
|
-
import {
|
|
10
|
-
import { isLean as
|
|
11
|
-
import { SbbPanelMixin as
|
|
9
|
+
import { getOverride as U } from "../../core/decorators.js";
|
|
10
|
+
import { isLean as D } from "../../core/dom.js";
|
|
11
|
+
import { SbbPanelMixin as I, SbbUpdateSchedulerMixin as M, panelCommonStyle as O } from "../../core/mixins.js";
|
|
12
|
+
import { boxSizingStyles as j } from "../../core/styles.js";
|
|
12
13
|
import { SbbCheckboxCommonElementMixin as q, checkboxCommonStyle as L } from "../common.js";
|
|
13
14
|
import "../../screen-reader-only.js";
|
|
14
15
|
import "../../visual-checkbox.js";
|
|
15
|
-
let
|
|
16
|
+
let W = (() => {
|
|
16
17
|
var n, o, c;
|
|
17
|
-
let t = [w("sbb-checkbox-panel")
|
|
18
|
+
let t = [w("sbb-checkbox-panel")], a, i = [], l, p = I(q(M(E))), _, k = [], f = [], x, v = [], g = [];
|
|
18
19
|
return c = class extends p {
|
|
19
20
|
constructor() {
|
|
20
21
|
super(...arguments);
|
|
21
22
|
d(this, n, b(this, k, null));
|
|
22
|
-
d(this, o, (b(this, f), b(this, v,
|
|
23
|
+
d(this, o, (b(this, f), b(this, v, D() ? "s" : "m")));
|
|
23
24
|
b(this, g);
|
|
24
25
|
}
|
|
25
26
|
/** Value of the form element. */
|
|
@@ -27,7 +28,7 @@ let V = (() => {
|
|
|
27
28
|
return h(this, n);
|
|
28
29
|
}
|
|
29
30
|
set value(e) {
|
|
30
|
-
|
|
31
|
+
m(this, n, e);
|
|
31
32
|
}
|
|
32
33
|
/**
|
|
33
34
|
* Size variant, either m or s.
|
|
@@ -37,7 +38,7 @@ let V = (() => {
|
|
|
37
38
|
return h(this, o);
|
|
38
39
|
}
|
|
39
40
|
set size(e) {
|
|
40
|
-
|
|
41
|
+
m(this, o, e);
|
|
41
42
|
}
|
|
42
43
|
requestUpdate(e, s, r) {
|
|
43
44
|
super.requestUpdate(e, s, r), e === "checked" && (this.internals.ariaChecked = `${this.checked}`, this.toggleAttribute("data-checked", this.checked));
|
|
@@ -78,13 +79,17 @@ let V = (() => {
|
|
|
78
79
|
}
|
|
79
80
|
}, n = new WeakMap(), o = new WeakMap(), l = c, (() => {
|
|
80
81
|
const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(p[Symbol.metadata] ?? null) : void 0;
|
|
81
|
-
_ = [C()], x = [C({ reflect: !0 }),
|
|
82
|
+
_ = [C()], x = [C({ reflect: !0 }), U((s, r) => s.group?.size ? s.group.size === "xs" ? "s" : s.group.size : r)], u(c, null, _, { kind: "accessor", name: "value", static: !1, private: !1, access: { has: (s) => "value" in s, get: (s) => s.value, set: (s, r) => {
|
|
82
83
|
s.value = r;
|
|
83
|
-
} }, metadata: e }, k, f),
|
|
84
|
+
} }, metadata: e }, k, f), u(c, null, x, { kind: "accessor", name: "size", static: !1, private: !1, access: { has: (s) => "size" in s, get: (s) => s.size, set: (s, r) => {
|
|
84
85
|
s.size = r;
|
|
85
|
-
} }, metadata: e }, v, g),
|
|
86
|
-
})(), c.styles = [
|
|
86
|
+
} }, metadata: e }, v, g), u(null, a = { value: l }, t, { kind: "class", name: l.name, metadata: e }, null, i), l = a.value, e && Object.defineProperty(l, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: e });
|
|
87
|
+
})(), c.styles = [
|
|
88
|
+
j,
|
|
89
|
+
L,
|
|
90
|
+
O
|
|
91
|
+
], b(l, i), l;
|
|
87
92
|
})();
|
|
88
93
|
export {
|
|
89
|
-
|
|
94
|
+
W as SbbCheckboxPanelElement
|
|
90
95
|
};
|
package/checkbox/common.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SbbCheckboxCommonElementMixin as m } from "./common/checkbox-common.js";
|
|
2
|
-
import { c as b } from "../checkbox-common-
|
|
2
|
+
import { c as b } from "../checkbox-common-BGA_q9nc.js";
|
|
3
3
|
export {
|
|
4
4
|
m as SbbCheckboxCommonElementMixin,
|
|
5
5
|
b as checkboxCommonStyle
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { css as e } from "lit";
|
|
2
|
+
const t = e`@charset "UTF-8";:host{--sbb-checkbox-dimension: var(--sbb-size-icon-ui-small);--sbb-checkbox-label-color: var(--sbb-color-color-3);--sbb-checkbox-label-icon-color: var(--sbb-checkbox-label-color);--sbb-checkbox-cursor: var(--sbb-cursor-pointer)}:host(:disabled){--sbb-checkbox-cursor: var(--sbb-cursor-default);--sbb-checkbox-label-color: var(--sbb-color-granite);--sbb-checkbox-label-color: light-dark(var(--sbb-color-granite), var(--sbb-color-aluminium))}.sbb-checkbox-wrapper{display:flex}.sbb-checkbox-wrapper:before{content:"";-webkit-user-select:none;user-select:none;width:0;height:0}.sbb-checkbox{--sbb-text-font-size: var(--sbb-font-size-text-m);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);position:relative;display:block;width:100%;cursor:var(--sbb-checkbox-cursor);-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host([size=s]) .sbb-checkbox{--sbb-text-font-size: var(--sbb-font-size-text-s);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)}:host([size=xs]) .sbb-checkbox{--sbb-text-font-size: var(--sbb-font-size-text-xs);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)}.sbb-checkbox__inner{display:flex;align-items:start;gap:var(--sbb-spacing-fixed-2x)}.sbb-checkbox__label{display:flex;flex-grow:1;color:var(--sbb-checkbox-label-color);line-height:max(1em * var(--sbb-typo-line-height-body-text),var(--sbb-checkbox-dimension))}.sbb-checkbox__aligner{display:flex;align-items:center;height:calc(1em * var(--sbb-typo-line-height-body-text))}`;
|
|
3
|
+
export {
|
|
4
|
+
t as c
|
|
5
|
+
};
|
package/checkbox.js
CHANGED
|
@@ -2,7 +2,7 @@ import { SbbCheckboxElement as b } from "./checkbox/checkbox/checkbox.component.
|
|
|
2
2
|
import { SbbCheckboxGroupElement as r } from "./checkbox/checkbox-group/checkbox-group.component.js";
|
|
3
3
|
import { SbbCheckboxPanelElement as t } from "./checkbox/checkbox-panel/checkbox-panel.component.js";
|
|
4
4
|
import { SbbCheckboxCommonElementMixin as c } from "./checkbox/common/checkbox-common.js";
|
|
5
|
-
import { c as p } from "./checkbox-common-
|
|
5
|
+
import { c as p } from "./checkbox-common-BGA_q9nc.js";
|
|
6
6
|
export {
|
|
7
7
|
c as SbbCheckboxCommonElementMixin,
|
|
8
8
|
b as SbbCheckboxElement,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chip.component.d.ts","sourceRoot":"","sources":["../../../../src/elements/chip/chip/chip.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EAEnB,UAAU,EACV,KAAK,cAAc,EACnB,KAAK,cAAc,EACpB,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"chip.component.d.ts","sourceRoot":"","sources":["../../../../src/elements/chip/chip/chip.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EAEnB,UAAU,EACV,KAAK,cAAc,EACnB,KAAK,cAAc,EACpB,MAAM,KAAK,CAAC;AAab,OAAO,6BAA6B,CAAC;AACrC,OAAO,6BAA6B,CAAC;;AAIrC;;;;;GAKG;AACH,qBAEM,cAAc,CAAC,CAAC,GAAG,MAAM,CAAE,SAAQ,mBAExC;IACC,gBAAgC,IAAI,YAAY;IAChD,OAAuB,MAAM,EAAE,cAAc,CAA4B;IACzE,gBAAuB,MAAM;;MAElB;IAEX,sEAAsE;IACtE,SAA4B,KAAK,EAAE,CAAC,GAAG,IAAI,CAAQ;IAEnD,OAAO,CAAC,SAAS,CAAmC;cAEjC,UAAU,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;cAYzD,YAAY,CAAC,kBAAkB,EAAE,cAAc,GAAG,IAAI;IAQzE,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,wBAAwB;cAKb,MAAM,IAAI,cAAc;CAmB5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,UAAU,EAAE,cAAc,CAAC;KAC5B;CACF"}
|
|
@@ -2,37 +2,38 @@ var v = (e) => {
|
|
|
2
2
|
throw TypeError(e);
|
|
3
3
|
};
|
|
4
4
|
var p = (e, r, b) => r.has(e) || v("Cannot " + b);
|
|
5
|
-
var
|
|
5
|
+
var m = (e, r, b) => (p(e, r, "read from private field"), b ? b.call(e) : r.get(e)), g = (e, r, b) => r.has(e) ? v("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(e) : r.set(e, b), l = (e, r, b, o) => (p(e, r, "write to private field"), o ? o.call(e, b) : r.set(e, b), b);
|
|
6
6
|
import { __runInitializers as c, __esDecorate as f } from "tslib";
|
|
7
|
-
import { css as
|
|
7
|
+
import { css as y, LitElement as x, html as k } from "lit";
|
|
8
8
|
import { customElement as w, property as S } from "lit/decorators.js";
|
|
9
9
|
import { SbbLanguageController as z } from "../../core/controllers.js";
|
|
10
10
|
import { i18nChipDelete as D } from "../../core/i18n.js";
|
|
11
11
|
import { SbbNegativeMixin as E, SbbDisabledMixin as C, SbbReadonlyMixin as q, SbbElementInternalsMixin as B } from "../../core/mixins.js";
|
|
12
|
+
import { boxSizingStyles as I } from "../../core/styles.js";
|
|
12
13
|
import "../../button/mini-button.js";
|
|
13
14
|
import "../../screen-reader-only.js";
|
|
14
|
-
const
|
|
15
|
-
let
|
|
15
|
+
const M = y`:host{--sbb-chip-background-color: var(--sbb-background-color-3);--sbb-chip-border: var(--sbb-border-width-1x) solid var(--sbb-chip-border-color);--sbb-chip-border-color: var(--sbb-border-color-4-inverted);--sbb-chip-border-radius: var(--sbb-border-radius-2x);--sbb-chip-color: var(--sbb-color-granite);--sbb-chip-color: light-dark(var(--sbb-color-granite), var(--sbb-color-cloud));--sbb-chip-color-active: var(--sbb-color-2);--sbb-chip-color-hover: var(--sbb-color-2);--sbb-chip-background-color-active: var(--sbb-background-color-1);--sbb-chip-background-color-hover: var(--sbb-background-color-1);--sbb-chip-height: 1.5rem;--sbb-chip-label-padding-inline: var(--sbb-spacing-fixed-2x);--sbb-chip-transition-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-2x) );outline:none!important;display:inline-block}:host([negative]){--sbb-chip-border-color: var(--sbb-border-color-4-negative-inverted);--sbb-chip-background-color: var(--sbb-background-color-3-negative);--sbb-chip-color: var(--sbb-color-4-negative);--sbb-chip-color-active: var(--sbb-color-2-negative);--sbb-chip-color-hover: var(--sbb-color-2-negative);--sbb-chip-background-color-active: var(--sbb-background-color-1-negative);--sbb-chip-background-color-hover: var(--sbb-background-color-1-negative);--sbb-focus-outline-color: var(--sbb-focus-outline-color-dark)}.sbb-chip{background-color:var(--sbb-chip-background-color);border-radius:var(--sbb-chip-border-radius);color:var(--sbb-chip-color);display:flex;align-items:stretch;height:var(--sbb-chip-height)}:host(:focus) .sbb-chip{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-focus-outline-offset: -.0625rem;--sbb-focus-outline-style: initial}.sbb-chip__label-wrapper{border:var(--sbb-chip-border);border-inline-end:none;border-radius:var(--sbb-chip-border-radius) 0 0 var(--sbb-chip-border-radius);display:flex;align-items:center;padding-inline:var(--sbb-chip-label-padding-inline);outline:none;overflow:hidden}:host(:is([disabled],[readonly])) .sbb-chip__label-wrapper{border:var(--sbb-chip-border);border-radius:var(--sbb-chip-border-radius)}.sbb-chip__label{--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);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:inline-block;transition:transform var(--sbb-chip-transition-duration) var(--sbb-animation-easing)}.sbb-chip__delete{--sbb-mini-button-border-radius: 0 var(--sbb-chip-border-radius) var(--sbb-chip-border-radius) 0;--sbb-mini-button-color-text: var(--sbb-chip-color);--sbb-mini-button-color-active-background: var(--sbb-chip-background-color-active);--sbb-mini-button-color-hover-background: var(--sbb-chip-background-color-hover);--sbb-icon-svg-width: calc(var(--sbb-size-icon-ui-small) - var(--sbb-border-width-1x) * 2);--sbb-icon-svg-height: calc(var(--sbb-size-icon-ui-small) - var(--sbb-border-width-1x) * 2);border:var(--sbb-chip-border);border-radius:0 var(--sbb-chip-border-radius) var(--sbb-chip-border-radius) 0}:host(:is([disabled],[readonly])) .sbb-chip__delete{display:none}@media(any-hover:hover){:host(:not([disabled])) .sbb-chip__delete:hover{--sbb-mini-button-color-text: var(--sbb-chip-color-hover)}}`;
|
|
16
|
+
let H = (() => {
|
|
16
17
|
var s, t;
|
|
17
|
-
let e = [w("sbb-chip")], r, b = [],
|
|
18
|
+
let e = [w("sbb-chip")], r, b = [], o, n = E(C(q(B(x)))), d, u = [], h = [];
|
|
18
19
|
return t = class extends n {
|
|
19
20
|
constructor() {
|
|
20
21
|
super(...arguments);
|
|
21
|
-
|
|
22
|
+
g(this, s);
|
|
22
23
|
l(this, s, c(this, u, null)), this._language = (c(this, h), new z(this));
|
|
23
24
|
}
|
|
24
25
|
/** The value of chip. Will be used as label if nothing is slotted. */
|
|
25
26
|
get value() {
|
|
26
|
-
return
|
|
27
|
+
return m(this, s);
|
|
27
28
|
}
|
|
28
|
-
set value(
|
|
29
|
-
l(this, s,
|
|
29
|
+
set value(i) {
|
|
30
|
+
l(this, s, i);
|
|
30
31
|
}
|
|
31
|
-
willUpdate(
|
|
32
|
-
super.willUpdate(
|
|
32
|
+
willUpdate(i) {
|
|
33
|
+
super.willUpdate(i), i.has("disabled") && (this.disabled ? this.removeAttribute("tabindex") : this.setAttribute("tabindex", "-1"));
|
|
33
34
|
}
|
|
34
|
-
firstUpdated(
|
|
35
|
-
super.firstUpdated(
|
|
35
|
+
firstUpdated(i) {
|
|
36
|
+
super.firstUpdated(i), setTimeout(() => this._deleteButton().removeAttribute("tabindex"));
|
|
36
37
|
}
|
|
37
38
|
_deleteButton() {
|
|
38
39
|
return this.shadowRoot.querySelector("sbb-mini-button");
|
|
@@ -59,15 +60,15 @@ let F = (() => {
|
|
|
59
60
|
</div>
|
|
60
61
|
`;
|
|
61
62
|
}
|
|
62
|
-
}, s = new WeakMap(),
|
|
63
|
-
const
|
|
63
|
+
}, s = new WeakMap(), o = t, (() => {
|
|
64
|
+
const i = typeof Symbol == "function" && Symbol.metadata ? Object.create(n[Symbol.metadata] ?? null) : void 0;
|
|
64
65
|
d = [S()], f(t, null, d, { kind: "accessor", name: "value", static: !1, private: !1, access: { has: (a) => "value" in a, get: (a) => a.value, set: (a, _) => {
|
|
65
66
|
a.value = _;
|
|
66
|
-
} }, metadata:
|
|
67
|
-
})(), t.role = "option", t.styles = I, t.events = {
|
|
67
|
+
} }, metadata: i }, u, h), f(null, r = { value: o }, e, { kind: "class", name: o.name, metadata: i }, null, b), o = r.value, i && Object.defineProperty(o, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: i });
|
|
68
|
+
})(), t.role = "option", t.styles = [I, M], t.events = {
|
|
68
69
|
requestdelete: "requestdelete"
|
|
69
|
-
}, c(
|
|
70
|
+
}, c(o, b), o;
|
|
70
71
|
})();
|
|
71
72
|
export {
|
|
72
|
-
|
|
73
|
+
H as SbbChipElement
|
|
73
74
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chip-group.component.d.ts","sourceRoot":"","sources":["../../../../src/elements/chip/chip-group/chip-group.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EAGnB,UAAU,EACV,KAAK,cAAc,EACnB,KAAK,cAAc,EACpB,MAAM,KAAK,CAAC;AAOb,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EAMtB,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"chip-group.component.d.ts","sourceRoot":"","sources":["../../../../src/elements/chip/chip-group/chip-group.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EAGnB,UAAU,EACV,KAAK,cAAc,EACnB,KAAK,cAAc,EACpB,MAAM,KAAK,CAAC;AAOb,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EAMtB,MAAM,sBAAsB,CAAC;AAS9B,MAAM,WAAW,gCAAgC,CAAC,CAAC,GAAG,MAAM;IAC1D,mDAAmD;IACnD,MAAM,EAAE,OAAO,GAAG,cAAc,CAAC;IACjC;;;;OAIG;IACH,KAAK,EAAE,CAAC,GAAG,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wDAAwD;IACxD,QAAQ,CAAC,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC;IACzB,oDAAoD;IACpD,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;;AAED;;;;;GAKG;AACH,qBAEM,mBAAmB,CAAC,CAAC,GAAG,MAAM,CAAE,SAAQ,wBAE7C;IACC,gBAAgC,IAAI,aAAa;IACjD,OAAuB,MAAM,EAAE,cAAc,CAA4B;IACzE,gBAAuB,MAAM;;;;MAIlB;IAEX,iCAAiC;IACjC,IACW,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,EAAE,GAAG,IAAI,EA2B1C;IACD,IAAW,KAAK,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,EAAE,CAE/B;IAED,8DAA8D;IAC9D,SACgB,WAAW,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,KAAK,MAAM,CAAC,GAAG,IAAI,CAAQ;IAElE,2FAA2F;IAC3F,SACgB,aAAa,EAAE,MAAM,EAAE,CAAa;IAEpD;;OAEG;IACH,OAAO,CAAC,uBAAuB,CAEtB;IAET;;OAEG;IACH,OAAO,CAAC,2BAA2B,CAE1B;IAET,OAAO,CAAC,aAAa,CAA+B;IACpD,OAAO,CAAC,qBAAqB,CAA8B;IAC3D,OAAO,CAAC,SAAS,CAAmC;;IAYpC,iBAAiB,IAAI,IAAI;cAKtB,UAAU,CAAC,iBAAiB,EAAE,cAAc,GAAG,IAAI;IAYtE,gBAAgB;IACT,iBAAiB,IAAI,IAAI;IAIhC,gBAAgB;IACT,wBAAwB,CAC7B,KAAK,EAAE,gBAAgB,GAAG,IAAI,EAC9B,OAAO,EAAE,iBAAiB,GACzB,IAAI;YASO,aAAa;cAUR,cAAc,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,GAAG,OAAO;cAItD,QAAQ,IAAI,IAAI;IASnC,wCAAwC;IACxC,OAAO,CAAC,aAAa;IAIrB,gDAAgD;IAChD,OAAO,CAAC,oBAAoB;IAI5B,OAAO,CAAC,eAAe;IA8CvB;;QAEI;IACJ,OAAO,CAAC,cAAc;IAyBtB;;QAEI;IACJ,OAAO,CAAC,eAAe;IAoBvB;;OAEG;IACH,OAAO,CAAC,oBAAoB;IAuB5B,OAAO,CAAC,0BAA0B;IAelC,OAAO,CAAC,WAAW;IAOnB;;;OAGG;IACH,OAAO,CAAC,UAAU;IAgBlB,OAAO,CAAC,gBAAgB;IAYxB,OAAO,CAAC,kBAAkB;IAwB1B,OAAO,CAAC,oBAAoB;IAK5B,OAAO,CAAC,kBAAkB;IAQ1B,OAAO,CAAC,YAAY;IAIpB,OAAO,CAAC,uBAAuB;cAUZ,MAAM,IAAI,cAAc;CAO5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,gBAAgB,EAAE,mBAAmB,CAAC;KACvC;CACF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,mBAAmB;QAC3B,iBAAiB,EAAE,WAAW,CAAC,gCAAgC,CAAC,GAAG,CAAC,CAAC,CAAC;KACvE;CACF"}
|
|
@@ -11,17 +11,18 @@ import { SbbLanguageController as L } from "../../core/controllers.js";
|
|
|
11
11
|
import { isLean as M } from "../../core/dom.js";
|
|
12
12
|
import { i18nSelectionRequired as V, i18nChipGroupInputDescription as R } from "../../core/i18n.js";
|
|
13
13
|
import { SbbRequiredMixin as B, SbbDisabledMixin as N, SbbNegativeMixin as $, SbbFormAssociatedMixin as j, SbbElementInternalsMixin as G } from "../../core/mixins.js";
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
import { boxSizingStyles as U } from "../../core/styles.js";
|
|
15
|
+
import { SbbChipElement as J } from "../chip.js";
|
|
16
|
+
const H = z`:host{--sbb-chip-group-input-min-width: 9.375rem;max-width:100%}:host([data-size=s]:not([data-empty])){--sbb-chip-group-margin-block: .375rem .3125rem}@media(min-width:64rem){:host([data-size=s]:not([data-empty])){--sbb-chip-group-margin-block: .3125rem .1875rem}}::slotted(input){flex:1 1 var(--sbb-chip-group-input-min-width)}::slotted(sbb-chip){max-width:100%}.sbb-chip-group{width:100%;display:flex;flex-wrap:wrap;gap:var(--sbb-spacing-fixed-1x);align-items:center;margin-block:var(--sbb-chip-group-margin-block)}`;
|
|
17
|
+
let lt = (() => {
|
|
17
18
|
var u, p, l;
|
|
18
|
-
let s = [W("sbb-chip-group")], a, r = [], h, y = B(N($(j(G(K))))), g = [], E, C,
|
|
19
|
+
let s = [W("sbb-chip-group")], a, r = [], h, y = B(N($(j(G(K))))), g = [], E, C, w = [], x = [], S, k = [], A = [];
|
|
19
20
|
return l = class extends y {
|
|
20
21
|
constructor() {
|
|
21
22
|
super();
|
|
22
23
|
_(this, u);
|
|
23
24
|
_(this, p);
|
|
24
|
-
d(this, u, (c(this, g), c(this,
|
|
25
|
+
d(this, u, (c(this, g), c(this, w, null))), d(this, p, (c(this, x), c(this, k, ["Enter"]))), this._inputAttributeObserver = (c(this, A), f ? null : new MutationObserver(() => this._reactToInputChanges())), this._formFieldAttributeObserver = f ? null : new MutationObserver(() => this._inheritSize()), this._language = new L(this), this.addEventListener?.(J.events.requestdelete, (t) => this._deleteChip(t.target)), this.addEventListener?.("keydown", (t) => this._onChipKeyDown(t));
|
|
25
26
|
}
|
|
26
27
|
/** Value of the form element. */
|
|
27
28
|
set value(t) {
|
|
@@ -215,19 +216,19 @@ let rt = (() => {
|
|
|
215
216
|
}
|
|
216
217
|
}, u = new WeakMap(), p = new WeakMap(), h = l, (() => {
|
|
217
218
|
const t = typeof Symbol == "function" && Symbol.metadata ? Object.create(y[Symbol.metadata] ?? null) : void 0;
|
|
218
|
-
E = [v({ type: Array })], C = [v({ attribute: !1 })],
|
|
219
|
+
E = [v({ type: Array })], C = [v({ attribute: !1 })], S = [v({ attribute: "separator-keys", type: Array })], b(l, null, E, { kind: "setter", name: "value", static: !1, private: !1, access: { has: (e) => "value" in e, set: (e, i) => {
|
|
219
220
|
e.value = i;
|
|
220
221
|
} }, metadata: t }, null, g), b(l, null, C, { kind: "accessor", name: "displayWith", static: !1, private: !1, access: { has: (e) => "displayWith" in e, get: (e) => e.displayWith, set: (e, i) => {
|
|
221
222
|
e.displayWith = i;
|
|
222
|
-
} }, metadata: t },
|
|
223
|
+
} }, metadata: t }, w, x), b(l, null, S, { kind: "accessor", name: "separatorKeys", static: !1, private: !1, access: { has: (e) => "separatorKeys" in e, get: (e) => e.separatorKeys, set: (e, i) => {
|
|
223
224
|
e.separatorKeys = i;
|
|
224
|
-
} }, metadata: t },
|
|
225
|
-
})(), l.role = "listbox", l.styles =
|
|
225
|
+
} }, metadata: t }, k, A), b(null, a = { value: h }, s, { kind: "class", name: h.name, metadata: t }, null, r), h = a.value, t && Object.defineProperty(h, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: t });
|
|
226
|
+
})(), l.role = "listbox", l.styles = [U, H], l.events = {
|
|
226
227
|
input: "input",
|
|
227
228
|
change: "change",
|
|
228
229
|
chipinputtokenend: "chipinputtokenend"
|
|
229
230
|
}, c(h, r), h;
|
|
230
231
|
})();
|
|
231
232
|
export {
|
|
232
|
-
|
|
233
|
+
lt as SbbChipGroupElement
|
|
233
234
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chip-label.component.d.ts","sourceRoot":"","sources":["../../../src/elements/chip-label/chip-label.component.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1D,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"chip-label.component.d.ts","sourceRoot":"","sources":["../../../src/elements/chip-label/chip-label.component.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1D,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAOvC;;;;GAIG;AACH,qBAEM,mBAAoB,SAAQ,UAAU;IAC1C,OAAuB,MAAM,EAAE,cAAc,CAA4B;IAEzE,wBAAwB;IACxB,SACgB,IAAI,EAAE,KAAK,GAAG,IAAI,GAAG,GAAG,CAAS;IAEjD,yBAAyB;IACzB,SACgB,KAAK,EAAE,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,SAAS,CAAU;cAEvD,MAAM,IAAI,cAAc;CAS5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,gBAAgB,EAAE,mBAAmB,CAAC;KACvC;CACF"}
|
|
@@ -6,8 +6,9 @@ var d = (e, s, t) => (k(e, s, "read from private field"), t ? t.call(e) : s.get(
|
|
|
6
6
|
import { __esDecorate as g, __runInitializers as c } from "tslib";
|
|
7
7
|
import { css as S, LitElement as E, html as I } from "lit";
|
|
8
8
|
import { customElement as j, property as w } from "lit/decorators.js";
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
import { boxSizingStyles as D } from "../core/styles.js";
|
|
10
|
+
const C = S`:host{display:inline-block;--sbb-chip-label-color: var(--sbb-color-granite);--sbb-chip-label-color: light-dark(var(--sbb-color-granite), var(--sbb-color-cloud));--sbb-chip-label-background-color: var(--sbb-background-color-3);--sbb-chip-label-padding-block: 0em;--sbb-chip-label-padding-inline: var(--sbb-spacing-fixed-2x);--sbb-text-font-size: var(--sbb-font-size-text-xxs)}:host([color=charcoal]){--sbb-chip-label-color: var(--sbb-color-2-inverted);--sbb-chip-label-background-color: var(--sbb-background-color-2-inverted)}:host([color=white]){--sbb-chip-label-color: var(--sbb-color-granite);--sbb-chip-label-color: light-dark(var(--sbb-color-granite), var(--sbb-color-cloud));--sbb-chip-label-background-color: var(--sbb-background-color-1)}:host([color=granite]){--sbb-chip-label-color: var(--sbb-color-2-inverted);--sbb-chip-label-background-color: var(--sbb-color-granite);--sbb-chip-label-background-color: light-dark(var(--sbb-color-granite), var(--sbb-color-storm))}:host([size=xs]){--sbb-chip-label-padding-block: var(--sbb-spacing-fixed-1x);--sbb-chip-label-padding-inline: var(--sbb-spacing-fixed-3x);--sbb-text-font-size: var(--sbb-font-size-text-xs)}:host([size=s]){--sbb-chip-label-padding-block: var(--sbb-spacing-fixed-1x);--sbb-chip-label-padding-inline: var(--sbb-spacing-fixed-4x);--sbb-text-font-size: var(--sbb-font-size-text-s)}.sbb-chip-label{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);line-height:2;display:inline-flex;align-items:center;justify-content:center;height:calc(var(--sbb-typo-line-height-body-text) * var(--sbb-text-font-size) + var(--sbb-chip-label-padding-block) * 2);background-color:var(--sbb-chip-label-background-color);padding-inline:var(--sbb-chip-label-padding-inline);border-radius:var(--sbb-border-radius-infinity);color:var(--sbb-chip-label-color);overflow:hidden}@media(forced-colors:active){.sbb-chip-label{outline:var(--sbb-border-width-1x) solid CanvasText;outline-offset:calc(-1 * var(--sbb-border-width-1x))}}.sbb-chip-label{display:flex}.sbb-chip__text-wrapper{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:inline-block}`;
|
|
11
|
+
let B = (() => {
|
|
11
12
|
var o, b, i;
|
|
12
13
|
let e = [j("sbb-chip-label")], s, t = [], a, v = E, f, u = [], x = [], m, _ = [], z = [];
|
|
13
14
|
return i = class extends v {
|
|
@@ -47,8 +48,8 @@ let q = (() => {
|
|
|
47
48
|
} }, metadata: r }, u, x), g(i, null, m, { kind: "accessor", name: "color", static: !1, private: !1, access: { has: (l) => "color" in l, get: (l) => l.color, set: (l, n) => {
|
|
48
49
|
l.color = n;
|
|
49
50
|
} }, metadata: r }, _, z), g(null, s = { value: a }, e, { kind: "class", name: a.name, metadata: r }, null, t), a = s.value, r && Object.defineProperty(a, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: r });
|
|
50
|
-
})(), i.styles = D, c(a, t), a;
|
|
51
|
+
})(), i.styles = [D, C], c(a, t), a;
|
|
51
52
|
})();
|
|
52
53
|
export {
|
|
53
|
-
|
|
54
|
+
B as SbbChipLabelElement
|
|
54
55
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clock.component.d.ts","sourceRoot":"","sources":["../../../src/elements/clock/clock.component.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1E,OAAO,EAAkB,UAAU,EAAE,MAAM,KAAK,CAAC;AAIjD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"clock.component.d.ts","sourceRoot":"","sources":["../../../src/elements/clock/clock.component.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1E,OAAO,EAAkB,UAAU,EAAE,MAAM,KAAK,CAAC;AAIjD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AA+CrD;;GAEG;AACH,qBAEM,eAAgB,SAAQ,UAAU;IACtC,OAAuB,MAAM,EAAE,cAAc,CAA4B;IAEzE;;;OAGG;IACH,SAA4B,GAAG,EAAE,OAAO,GAAG,IAAI,CAAQ;IAEvD,0CAA0C;IAC1C,OAAO,CAAC,MAAM,CAAkC;IAEhD,kCAAkC;IAClC,OAAO,CAAC,eAAe,CAAe;IAEtC,oCAAoC;IACpC,OAAO,CAAC,iBAAiB,CAAe;IAExC,oCAAoC;IACpC,OAAO,CAAC,iBAAiB,CAAe;IAExC,wCAAwC;IACxC,OAAO,CAAC,MAAM,CAAU;IAExB,0CAA0C;IAC1C,OAAO,CAAC,QAAQ,CAAU;IAE1B,0CAA0C;IAC1C,OAAO,CAAC,QAAQ,CAAU;IAE1B,0CAA0C;IAC1C,OAAO,CAAC,aAAa,CAAC,CAAiC;IAEvD,OAAO,CAAC,gBAAgB,CAAC,CAAiC;IAE1D,wCAAwC;IACxC,OAAO,CAAC,gBAAgB,CAAqC;IAE7D,0CAA0C;IAC1C,OAAO,CAAC,kBAAkB,CAAuC;IAEjD,iBAAiB,IAAI,IAAI;cAMtB,UAAU,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;cAQzD,YAAY,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAS9D,oBAAoB,IAAI,IAAI;IAM5C,OAAO,CAAC,2BAA2B,CAUjC;YAEY,sBAAsB;IAUpC,6FAA6F;YAC/E,WAAW;IAuBzB,sDAAsD;YACxC,UAAU;IAexB;;OAEG;YACW,WAAW;IAQzB,uEAAuE;IACvE,OAAO,CAAC,yBAAyB;IA4CjC,yGAAyG;IACzG,OAAO,CAAC,kBAAkB;IAW1B,sDAAsD;IACtD,OAAO,CAAC,eAAe;IAOvB,6CAA6C;IAC7C,OAAO,CAAC,cAAc;IAYtB,+CAA+C;IAC/C,OAAO,CAAC,gBAAgB;IAaxB,OAAO,CAAC,sBAAsB;IAK9B;;;;OAIG;IACH,OAAO,CAAC,0BAA0B;IAWlC,OAAO,CAAC,qBAAqB;IAO7B,OAAO,CAAC,2BAA2B;IAMnC,OAAO,CAAC,6BAA6B;cAOlB,MAAM,IAAI,cAAc;CA4B5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,WAAW,EAAE,eAAe,CAAC;KAC9B;CACF"}
|
package/clock/clock.component.js
CHANGED
|
@@ -3,19 +3,20 @@ var M = (s) => {
|
|
|
3
3
|
};
|
|
4
4
|
var g = (s, n, e) => n.has(s) || M("Cannot " + e);
|
|
5
5
|
var p = (s, n, e) => (g(s, n, "read from private field"), e ? e.call(s) : n.get(s)), H = (s, n, e) => n.has(s) ? M("Cannot add the same private member more than once") : n instanceof WeakSet ? n.add(s) : n.set(s, e), h = (s, n, e, a) => (g(s, n, "write to private field"), a ? a.call(s, e) : n.set(s, e), e);
|
|
6
|
-
import { __runInitializers as _, __esDecorate as
|
|
7
|
-
import { css as E, LitElement as A, isServer as
|
|
6
|
+
import { __runInitializers as _, __esDecorate as y } from "tslib";
|
|
7
|
+
import { css as E, LitElement as A, isServer as f, html as O } from "lit";
|
|
8
8
|
import { customElement as T, property as I } from "lit/decorators.js";
|
|
9
9
|
import { ref as m } from "lit/directives/ref.js";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
`, x = `<svg focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 105 105"><path d="M55.
|
|
13
|
-
`, F = `<svg focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 105 105"><path d="
|
|
14
|
-
`, U =
|
|
10
|
+
import { boxSizingStyles as N } from "../core/styles.js";
|
|
11
|
+
const P = `<svg focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 105 105"><g class="face"><circle fill="var(--sbb-clock-background-color)" cx="52.5" cy="52.5" r="52.5"/><path d="M50.75 4h3.5v12h-3.5zM50.75 89h3.5v12h-3.5zM75.233 9.623l3.03 1.75-6 10.392-3.03-1.75zM32.734 83.233l3.03 1.75-6 10.392-3.03-1.75zM93.628 26.732l1.75 3.031-10.392 6-1.75-3.03zM20.017 69.234l1.75 3.031-10.392 6-1.75-3.03zM101 50.75v3.5H89v-3.5zM16 50.75v3.5H4v-3.5zM95.379 75.232l-1.75 3.031-10.392-6 1.75-3.03zM21.766 32.734l-1.75 3.031-10.392-6 1.75-3.03zM78.267 93.63l-3.03 1.75-6-10.393 3.03-1.75zM35.766 20.015l-3.03 1.75-6-10.392 3.03-1.75z"/><g><path d="M56.873 4.19l1.392.147-.366 3.48-1.392-.145zM47.101 97.177l1.393.146-.366 3.481-1.392-.146zM61.896 4.914l1.37.29-.728 3.424-1.37-.29zM42.458 96.366l1.37.29-.728 3.424-1.37-.291zM66.825 6.157l1.332.432-1.082 3.33-1.331-.434zM37.931 95.085l1.332.432-1.082 3.33-1.331-.433zM71.584 7.906l1.28.569-1.424 3.197-1.28-.57zM33.56 93.32l1.278.569-1.423 3.197-1.28-.57zM80.44 12.852l1.133.823-2.058 2.831-1.132-.823zM25.481 88.494l1.133.822-2.057 2.832-1.133-.823zM84.43 15.986l1.04.937-2.342 2.6-1.04-.936zM21.87 85.469l1.04.936-2.341 2.601-1.04-.937zM88.072 19.522l.937 1.04-2.6 2.343-.937-1.04zM18.593 82.088l.937 1.04-2.601 2.342-.937-1.04zM91.328 23.425l.823 1.133-2.832 2.057-.823-1.132zM15.684 78.385l.823 1.132-2.832 2.058-.822-1.133zM96.52 32.128l.57 1.279-3.198 1.423-.57-1.278zM11.109 70.161l.569 1.279-3.197 1.423-.57-1.279zM98.407 36.85l.433 1.332-3.33 1.081-.432-1.331zM9.483 65.74l.432 1.33-3.329 1.082-.432-1.331zM99.795 41.726l.291 1.37-3.423.727-.29-1.37zM8.34 61.17l.292 1.37-3.424.728-.29-1.37zM100.66 46.73l.146 1.393-3.48.366-.147-1.392zM7.674 56.506l.146 1.392-3.48.366-.147-1.392zM100.811 56.873l-.146 1.392-3.48-.365.145-1.393zM7.821 47.101l-.146 1.392-3.48-.365.145-1.393zM100.09 61.895l-.291 1.369-3.424-.728.291-1.369zM8.631 42.46l-.291 1.37-3.423-.728.29-1.37zM98.84 66.827l-.432 1.331-3.329-1.081.433-1.332zM9.918 37.93l-.433 1.331-3.329-1.082.433-1.331zM97.098 71.585l-.569 1.28-3.197-1.424.57-1.28zM11.677 33.558l-.57 1.28-3.197-1.424.57-1.279zM92.149 80.439l-.823 1.133-2.832-2.058.823-1.132zM16.506 25.482l-.823 1.133-2.831-2.057.823-1.133zM89.017 84.431l-.937 1.04-2.6-2.341.936-1.04zM19.528 21.869l-.936 1.04-2.601-2.342.936-1.04zM85.48 88.076l-1.041.936-2.342-2.6 1.04-.937zM22.91 18.59l-1.04.937-2.341-2.601 1.04-.937zM81.574 91.328l-1.133.823-2.057-2.831 1.132-.823zM26.617 15.684l-1.133.823-2.057-2.832 1.132-.823zM72.873 96.524l-1.279.57-1.423-3.198 1.278-.57zM34.838 11.105l-1.279.57-1.423-3.198 1.279-.57zM68.151 98.405l-1.331.432-1.082-3.329 1.332-.432zM39.259 9.485l-1.332.433-1.081-3.33 1.331-.432zM63.272 99.799l-1.369.29-.728-3.422 1.37-.291zM43.83 8.337l-1.369.291-.727-3.423 1.37-.291zM58.27 100.662l-1.393.146-.366-3.48 1.393-.147zM48.494 7.672l-1.392.147-.366-3.481 1.392-.147z"/></g></g></svg>
|
|
12
|
+
`, x = `<svg focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 105 105"><path id="mod_clock_svg_hours" d="M55.7 64.5h-6.4l.6-44h5.2z"/></svg>
|
|
13
|
+
`, F = `<svg focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 105 105"><path d="M55.1,64.5h-5.2l0.8-58h3.6L55.1,64.5z"/></svg>
|
|
14
|
+
`, U = `<svg focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 105 105"><path d="M57.8,21.3c0-2.9-2.4-5.2-5.2-5.2s-5.3,2.3-5.3,5.2c0,2.7,2,4.8,4.5,5.2V69h1.5V26.5C55.8,26.2,57.8,24,57.8,21.3z"/></svg>
|
|
15
|
+
`, $ = E`:host{--sbb-clock-hours-animation-start-angle: 0deg;--sbb-clock-seconds-animation-start-angle: 0deg;--sbb-clock-hours-animation-duration: 0s;--sbb-clock-seconds-animation-duration: 0s;--sbb-clock-animation-play-state: paused;--sbb-clock-seconds-hand-color: var(--sbb-color-brand);--sbb-clock-face-color: var(--sbb-color-1);--sbb-clock-background-color: var(--sbb-background-color-1);display:block}.sbb-clock{position:relative;width:100%;height:100%;aspect-ratio:1/1;overflow:hidden;contain:content}.sbb-clock__face,.sbb-clock__hand-hours,.sbb-clock__hand-minutes,.sbb-clock__hand-seconds{position:absolute;inset:0;transform-origin:center center;transform:rotate(0);transform-style:preserve-3d;backface-visibility:hidden}.sbb-clock__hand-hours,.sbb-clock__hand-minutes,.sbb-clock__face{fill:var(--sbb-clock-face-color)}.sbb-clock__hand-minutes{transition:transform var(--sbb-disable-animation-duration, .2s) cubic-bezier(.4,2.08,.55,.44)}@supports not (aspect-ratio: 1/1){.sbb-clock__hand-minutes{transform-origin:50% 49.625%}}.sbb-clock__hand-hours{animation-name:rotate;animation-duration:43200s;animation-iteration-count:infinite;animation-timing-function:linear;animation-play-state:var(--sbb-clock-animation-play-state)}.sbb-clock__hand-hours--initial-hour{animation-name:hand-hours-animation-initial-hour;animation-duration:var(--sbb-clock-hours-animation-duration);animation-play-state:var(--sbb-clock-animation-play-state);animation-iteration-count:1}.sbb-clock__hand-minutes--no-transition{transition:none}.sbb-clock__hand-seconds{animation-name:hand-seconds-animation;animation-duration:60s;animation-timing-function:linear;animation-play-state:var(--sbb-clock-animation-play-state);animation-iteration-count:infinite;fill:var(--sbb-clock-seconds-hand-color)}.sbb-clock__hand-seconds--initial-minute{animation-name:hand-seconds-animation-initial-minute;animation-duration:var(--sbb-clock-seconds-animation-duration);animation-play-state:var(--sbb-clock-animation-play-state);animation-iteration-count:1}:host(:not([data-initialized])) :is(.sbb-clock__hand-hours,.sbb-clock__hand-minutes,.sbb-clock__hand-seconds){display:none}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes hand-hours-animation-initial-hour{0%{transform:rotate(var(--sbb-clock-hours-animation-start-angle))}to{transform:rotate(360deg)}}@keyframes hand-seconds-animation{0%{transform:rotate(0)}97.5%,to{transform:rotate(360deg)}}@keyframes hand-seconds-animation-initial-minute{0%{transform:rotate(var(--sbb-clock-seconds-animation-start-angle))}97.5%,to{transform:rotate(360deg)}}`, D = 12, V = 60, z = 60, G = 50, S = 360, w = 30, R = 6, B = 360 / 58.5, K = 60, L = 3600, j = L / 2, C = {
|
|
15
16
|
once: !0,
|
|
16
17
|
passive: !0
|
|
17
18
|
};
|
|
18
|
-
let
|
|
19
|
+
let tt = (() => {
|
|
19
20
|
var c, o;
|
|
20
21
|
let s = [T("sbb-clock")], n, e = [], a, u = A, b, k = [], v = [];
|
|
21
22
|
return o = class extends u {
|
|
@@ -37,13 +38,13 @@ let X = (() => {
|
|
|
37
38
|
h(this, c, t);
|
|
38
39
|
}
|
|
39
40
|
connectedCallback() {
|
|
40
|
-
super.connectedCallback(), this._resetIntervalId = setInterval(() => this._resetClock(),
|
|
41
|
+
super.connectedCallback(), this._resetIntervalId = setInterval(() => this._resetClock(), j * 1e3);
|
|
41
42
|
}
|
|
42
43
|
willUpdate(t) {
|
|
43
|
-
super.willUpdate(t), !
|
|
44
|
+
super.willUpdate(t), !f && t.has("now") && this._startOrConfigureClock();
|
|
44
45
|
}
|
|
45
46
|
firstUpdated(t) {
|
|
46
|
-
super.firstUpdated(t),
|
|
47
|
+
super.firstUpdated(t), f || (document.addEventListener("visibilitychange", this._handlePageVisibilityChange, !1), this._startOrConfigureClock());
|
|
47
48
|
}
|
|
48
49
|
disconnectedCallback() {
|
|
49
50
|
super.disconnectedCallback(), this._removeEventListeners(), clearInterval(this._resetIntervalId);
|
|
@@ -55,7 +56,7 @@ let X = (() => {
|
|
|
55
56
|
async _startClock() {
|
|
56
57
|
this._clockHandHours?.addEventListener("animationend", this._moveHoursHandFn, C), this._clockHandSeconds?.addEventListener("animationend", this._moveMinutesHandFn, C), await new Promise((t) => setTimeout(() => {
|
|
57
58
|
this._setHandsStartingPosition(), this.style?.setProperty("--sbb-clock-animation-play-state", "running"), this._state = "running", t();
|
|
58
|
-
},
|
|
59
|
+
}, G));
|
|
59
60
|
}
|
|
60
61
|
/** Stops the clock by removing all the animations. */
|
|
61
62
|
async _stopClock() {
|
|
@@ -70,9 +71,9 @@ let X = (() => {
|
|
|
70
71
|
/** Set the starting position for the three hands on the clock face. */
|
|
71
72
|
_setHandsStartingPosition() {
|
|
72
73
|
this._assignCurrentTime();
|
|
73
|
-
const t = z - this._seconds, i =
|
|
74
|
+
const t = z - this._seconds, i = V - this._minutes, l = D - this._hours;
|
|
74
75
|
let r = 0, d = 0;
|
|
75
|
-
t > 0 && (r += t, d = 1), i > 0 && (r += (i - d) *
|
|
76
|
+
t > 0 && (r += t, d = 1), i > 0 && (r += (i - d) * K, d = 1), l > 0 && (r += (l - d) * L), this.style?.setProperty("--sbb-clock-hours-animation-start-angle", `${Math.ceil(this._hours * w + this._minutes / 2)}deg`), this.style?.setProperty("--sbb-clock-hours-animation-duration", `${r}s`), this.style?.setProperty("--sbb-clock-seconds-animation-start-angle", `${Math.ceil(this._seconds * B)}deg`), this.style?.setProperty("--sbb-clock-seconds-animation-duration", `${t}s`), this._setMinutesHand(), this._clockHandSeconds?.classList.add("sbb-clock__hand-seconds--initial-minute"), this._clockHandHours?.classList.add("sbb-clock__hand-hours--initial-hour"), this.toggleAttribute("data-initialized", !0);
|
|
76
77
|
}
|
|
77
78
|
/** Given the current date, calculates the hh/mm/ss values and the hh/mm/ss left to the next midnight. */
|
|
78
79
|
_assignCurrentTime() {
|
|
@@ -81,7 +82,7 @@ let X = (() => {
|
|
|
81
82
|
}
|
|
82
83
|
/** Set the starting position for the minutes hand. */
|
|
83
84
|
_setMinutesHand() {
|
|
84
|
-
this._clockHandMinutes?.style.setProperty("transform", `rotateZ(${Math.ceil(this._minutes *
|
|
85
|
+
this._clockHandMinutes?.style.setProperty("transform", `rotateZ(${Math.ceil(this._minutes * R)}deg)`);
|
|
85
86
|
}
|
|
86
87
|
/** Move the hours hand to the next value. */
|
|
87
88
|
_moveHoursHand() {
|
|
@@ -116,24 +117,24 @@ let X = (() => {
|
|
|
116
117
|
render() {
|
|
117
118
|
return O`
|
|
118
119
|
<div class="sbb-clock">
|
|
119
|
-
<span class="sbb-clock__face" .innerHTML=${
|
|
120
|
+
<span class="sbb-clock__face" .innerHTML=${P}></span>
|
|
120
121
|
<span
|
|
121
122
|
class="sbb-clock__hand-hours"
|
|
122
|
-
.innerHTML=${
|
|
123
|
+
.innerHTML=${x}
|
|
123
124
|
${m((t) => {
|
|
124
125
|
this._clockHandHours = t;
|
|
125
126
|
})}
|
|
126
127
|
></span>
|
|
127
128
|
<span
|
|
128
129
|
class="sbb-clock__hand-minutes sbb-clock__hand-minutes--no-transition"
|
|
129
|
-
.innerHTML=${
|
|
130
|
+
.innerHTML=${F}
|
|
130
131
|
${m((t) => {
|
|
131
132
|
this._clockHandMinutes = t;
|
|
132
133
|
})}
|
|
133
134
|
></span>
|
|
134
135
|
<span
|
|
135
136
|
class="sbb-clock__hand-seconds"
|
|
136
|
-
.innerHTML=${
|
|
137
|
+
.innerHTML=${U}
|
|
137
138
|
${m((t) => {
|
|
138
139
|
this._clockHandSeconds = t;
|
|
139
140
|
})}
|
|
@@ -143,11 +144,11 @@ let X = (() => {
|
|
|
143
144
|
}
|
|
144
145
|
}, c = new WeakMap(), a = o, (() => {
|
|
145
146
|
const t = typeof Symbol == "function" && Symbol.metadata ? Object.create(u[Symbol.metadata] ?? null) : void 0;
|
|
146
|
-
b = [I()],
|
|
147
|
+
b = [I()], y(o, null, b, { kind: "accessor", name: "now", static: !1, private: !1, access: { has: (i) => "now" in i, get: (i) => i.now, set: (i, l) => {
|
|
147
148
|
i.now = l;
|
|
148
|
-
} }, metadata: t }, k, v),
|
|
149
|
-
})(), o.styles =
|
|
149
|
+
} }, metadata: t }, k, v), y(null, n = { value: a }, s, { kind: "class", name: a.name, metadata: t }, null, e), a = n.value, t && Object.defineProperty(a, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: t });
|
|
150
|
+
})(), o.styles = [N, $], _(a, e), a;
|
|
150
151
|
})();
|
|
151
152
|
export {
|
|
152
|
-
|
|
153
|
+
tt as SbbClockElement
|
|
153
154
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CSSResultGroup, LitElement, PropertyValues, TemplateResult } from 'lit';
|
|
2
|
+
declare const SbbContainerElement_base: import('../../core/mixins.js').AbstractConstructor<import('../../core/mixins.js').SbbElementInternalsMixinType> & typeof LitElement & import('../../core/mixins.js').SbbElementInternalsConstructor;
|
|
2
3
|
/**
|
|
3
4
|
* It displays its content with the default page spacing.
|
|
4
5
|
*
|
|
@@ -6,7 +7,7 @@ import { CSSResultGroup, LitElement, PropertyValues, TemplateResult } from 'lit'
|
|
|
6
7
|
* @slot sticky-bar - The slot used by the sbb-sticky-bar component.
|
|
7
8
|
* @slot image - The slot used to slot an `sbb-image` to use as background.
|
|
8
9
|
*/
|
|
9
|
-
export declare class SbbContainerElement extends
|
|
10
|
+
export declare class SbbContainerElement extends SbbContainerElement_base {
|
|
10
11
|
static styles: CSSResultGroup;
|
|
11
12
|
/** Whether the container is expanded. */
|
|
12
13
|
accessor expanded: boolean;
|
|
@@ -22,4 +23,5 @@ declare global {
|
|
|
22
23
|
'sbb-container': SbbContainerElement;
|
|
23
24
|
}
|
|
24
25
|
}
|
|
26
|
+
export {};
|
|
25
27
|
//# sourceMappingURL=container.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container.component.d.ts","sourceRoot":"","sources":["../../../../src/elements/container/container/container.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EAEnB,UAAU,EACV,KAAK,cAAc,EACnB,KAAK,cAAc,EACpB,MAAM,KAAK,CAAC
|
|
1
|
+
{"version":3,"file":"container.component.d.ts","sourceRoot":"","sources":["../../../../src/elements/container/container/container.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EAEnB,UAAU,EACV,KAAK,cAAc,EACnB,KAAK,cAAc,EACpB,MAAM,KAAK,CAAC;;AASb;;;;;;GAMG;AACH,qBAEM,mBAAoB,SAAQ,wBAAoC;IACpE,OAAuB,MAAM,EAAE,cAAc,CAA4B;IAEzE,yCAAyC;IACzC,SAEgB,QAAQ,EAAE,OAAO,CAAS;IAE1C,sFAAsF;IACtF,SAEgB,kBAAkB,EAAE,OAAO,CAAS;IAEpD,2DAA2D;IAC3D,SAA6C,KAAK,EAC9C,aAAa,GACb,OAAO,GACP,MAAM,GACN,UAAU,GACV,UAAU,CAAW;cAEN,UAAU,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;cAQzD,MAAM,IAAI,cAAc;CAW5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,eAAe,EAAE,mBAAmB,CAAC;KACtC;CACF"}
|
|
@@ -1,44 +1,46 @@
|
|
|
1
1
|
var I = (e) => {
|
|
2
2
|
throw TypeError(e);
|
|
3
3
|
};
|
|
4
|
-
var D = (e,
|
|
5
|
-
var p = (e,
|
|
4
|
+
var D = (e, a, s) => a.has(e) || I("Cannot " + s);
|
|
5
|
+
var p = (e, a, s) => (D(e, a, "read from private field"), s ? s.call(e) : a.get(e)), g = (e, a, s) => a.has(e) ? I("Cannot add the same private member more than once") : a instanceof WeakSet ? a.add(e) : a.set(e, s), u = (e, a, s, r) => (D(e, a, "write to private field"), r ? r.call(e, s) : a.set(e, s), s);
|
|
6
6
|
import { __esDecorate as h, __runInitializers as i } from "tslib";
|
|
7
7
|
import { css as U, LitElement as j, html as B } from "lit";
|
|
8
8
|
import { customElement as O, property as m } from "lit/decorators.js";
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
import { forceType as T } from "../../core/decorators.js";
|
|
10
|
+
import { SbbElementInternalsMixin as q } from "../../core/mixins.js";
|
|
11
|
+
import { boxSizingStyles as A } from "../../core/styles.js";
|
|
12
|
+
const C = U`@charset "UTF-8";:host{--sbb-container-background-border-radius: 0;--sbb-container-color: inherit;display:block}:host(:is(:not([color]),[color=white])){--sbb-container-background-color: var(--sbb-background-color-1)}:host([color=milk]){--sbb-container-background-color: var(--sbb-background-color-3)}:host([color=midnight]),:host([color=charcoal]){--sbb-focus-outline-color: var(--sbb-focus-outline-color-dark);--sbb-container-color: var(--sbb-color-1-negative)}:host([color=midnight]){--sbb-container-background-color: var(--sbb-background-color-1-negative)}:host([color=charcoal]){--sbb-container-background-color: var(--sbb-background-color-2-negative)}:host(:is(:state(slotted-image),[state--slotted-image])){--sbb-container-background-color: transparent;--sbb-container-padding: var(--sbb-spacing-responsive-xxl)}:host([background-expanded]:not([expanded])){background-color:var(--sbb-container-background-color)}:host(:is(:state(slotted-image),[state--slotted-image])[background-expanded]){position:relative}@media(min-width:90rem){:host(:not([expanded],[background-expanded])){--sbb-container-background-border-radius: var(--sbb-border-radius-4x)}}.sbb-container{color:var(--sbb-container-color);background-color:var(--sbb-container-background-color);padding:var(--sbb-container-padding)}.sbb-container:after,.sbb-container:before{content:" ";display:block;visibility:hidden;height:0;overflow:hidden}:host([color=transparent]) .sbb-container{background-color:transparent}:host(:not([expanded])) .sbb-container{padding-inline:var(--sbb-page-spacing-padding, var(--sbb-layout-base-offset-responsive));margin-inline:auto;width:100%}@media(min-width:90rem){:host(:not([expanded])) .sbb-container{max-width:var(--sbb-spacing-max-width, calc(var(--sbb-layout-base-page-max-width) + 2 * var(--sbb-layout-base-offset-responsive)))}}:host([expanded]) .sbb-container{padding-inline:var(--sbb-page-spacing-padding, var(--sbb-spacing-responsive-xxs))}:host(:is(:state(slotted-image),[state--slotted-image]):not([background-expanded])) .sbb-container{position:relative}:host(:is(:state(slotted-image),[state--slotted-image])) .sbb-container__content{position:relative}::slotted([slot=image]){position:absolute;inset:0;height:100%;width:100%}`;
|
|
13
|
+
let P = (() => {
|
|
14
|
+
var c, d, l, n;
|
|
15
|
+
let e = [O("sbb-container")], a, s = [], r, x = q(j), v, k = [], _ = [], f, y = [], E = [], w, S = [], z = [];
|
|
16
|
+
return n = class extends x {
|
|
15
17
|
constructor() {
|
|
16
18
|
super(...arguments);
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
i(this,
|
|
19
|
+
g(this, c, i(this, k, !1));
|
|
20
|
+
g(this, d, (i(this, _), i(this, y, !1)));
|
|
21
|
+
g(this, l, (i(this, E), i(this, S, "white")));
|
|
22
|
+
i(this, z);
|
|
21
23
|
}
|
|
22
24
|
/** Whether the container is expanded. */
|
|
23
25
|
get expanded() {
|
|
24
26
|
return p(this, c);
|
|
25
27
|
}
|
|
26
28
|
set expanded(o) {
|
|
27
|
-
|
|
29
|
+
u(this, c, o);
|
|
28
30
|
}
|
|
29
31
|
/** Whether the background color is shown on full container width on large screens. */
|
|
30
32
|
get backgroundExpanded() {
|
|
31
33
|
return p(this, d);
|
|
32
34
|
}
|
|
33
35
|
set backgroundExpanded(o) {
|
|
34
|
-
|
|
36
|
+
u(this, d, o);
|
|
35
37
|
}
|
|
36
38
|
/** Color of the container, like transparent, white etc. */
|
|
37
39
|
get color() {
|
|
38
40
|
return p(this, l);
|
|
39
41
|
}
|
|
40
42
|
set color(o) {
|
|
41
|
-
|
|
43
|
+
u(this, l, o);
|
|
42
44
|
}
|
|
43
45
|
willUpdate(o) {
|
|
44
46
|
super.willUpdate(o), o.has("expanded") && this.querySelector?.("sbb-sticky-bar")?.toggleAttribute("data-expanded", this.expanded);
|
|
@@ -54,17 +56,17 @@ let K = (() => {
|
|
|
54
56
|
<slot name="sticky-bar"></slot>
|
|
55
57
|
`;
|
|
56
58
|
}
|
|
57
|
-
}, c = new WeakMap(), d = new WeakMap(), l = new WeakMap(),
|
|
59
|
+
}, c = new WeakMap(), d = new WeakMap(), l = new WeakMap(), r = n, (() => {
|
|
58
60
|
const o = typeof Symbol == "function" && Symbol.metadata ? Object.create(x[Symbol.metadata] ?? null) : void 0;
|
|
59
|
-
v = [T(), m({ type: Boolean, reflect: !0 })], f = [T(), m({ type: Boolean, reflect: !0, attribute: "background-expanded" })], w = [m({ reflect: !0 })], h(
|
|
60
|
-
|
|
61
|
-
} }, metadata: o }, k, _), h(
|
|
62
|
-
|
|
63
|
-
} }, metadata: o }, y, E), h(
|
|
64
|
-
|
|
65
|
-
} }, metadata: o },
|
|
66
|
-
})(),
|
|
61
|
+
v = [T(), m({ type: Boolean, reflect: !0 })], f = [T(), m({ type: Boolean, reflect: !0, attribute: "background-expanded" })], w = [m({ reflect: !0 })], h(n, null, v, { kind: "accessor", name: "expanded", static: !1, private: !1, access: { has: (t) => "expanded" in t, get: (t) => t.expanded, set: (t, b) => {
|
|
62
|
+
t.expanded = b;
|
|
63
|
+
} }, metadata: o }, k, _), h(n, null, f, { kind: "accessor", name: "backgroundExpanded", static: !1, private: !1, access: { has: (t) => "backgroundExpanded" in t, get: (t) => t.backgroundExpanded, set: (t, b) => {
|
|
64
|
+
t.backgroundExpanded = b;
|
|
65
|
+
} }, metadata: o }, y, E), h(n, null, w, { kind: "accessor", name: "color", static: !1, private: !1, access: { has: (t) => "color" in t, get: (t) => t.color, set: (t, b) => {
|
|
66
|
+
t.color = b;
|
|
67
|
+
} }, metadata: o }, S, z), h(null, a = { value: r }, e, { kind: "class", name: r.name, metadata: o }, null, s), r = a.value, o && Object.defineProperty(r, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: o });
|
|
68
|
+
})(), n.styles = [A, C], i(r, s), r;
|
|
67
69
|
})();
|
|
68
70
|
export {
|
|
69
|
-
|
|
71
|
+
P as SbbContainerElement
|
|
70
72
|
};
|