@sbb-esta/lyne-elements 1.12.1 → 1.14.0
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.d.ts +4 -8
- package/accordion/accordion.d.ts.map +1 -1
- package/accordion.js +90 -81
- package/action-group/action-group.d.ts +5 -5
- package/action-group/action-group.d.ts.map +1 -1
- package/action-group.js +100 -50
- package/alert/alert/alert.d.ts +11 -11
- package/alert/alert/alert.d.ts.map +1 -1
- package/alert/alert-group/alert-group.d.ts +4 -4
- package/alert/alert-group/alert-group.d.ts.map +1 -1
- package/alert/alert-group.js +101 -69
- package/alert/alert.js +191 -104
- package/autocomplete/autocomplete-base-element.d.ts +3 -7
- package/autocomplete/autocomplete-base-element.d.ts.map +1 -1
- package/autocomplete/autocomplete.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid/autocomplete-grid.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.d.ts +1 -0
- package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-button.js +53 -60
- package/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-cell.js +20 -22
- package/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-optgroup.js +31 -35
- package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-option.js +45 -63
- package/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-row.js +23 -25
- package/autocomplete-grid/autocomplete-grid.js +112 -133
- package/autocomplete.js +283 -295
- package/breadcrumb/breadcrumb/breadcrumb.d.ts +1 -1
- package/breadcrumb/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/breadcrumb/breadcrumb-group/breadcrumb-group.d.ts.map +1 -1
- package/breadcrumb/breadcrumb-group.js +107 -114
- package/breadcrumb/breadcrumb.js +44 -35
- package/button/button/button.d.ts.map +1 -1
- package/button/button-link/button-link.d.ts.map +1 -1
- package/button/button-link.js +15 -18
- package/button/button-static/button-static.d.ts.map +1 -1
- package/button/button-static.js +15 -18
- package/button/button.js +15 -18
- package/button/common/button-common.d.ts +4 -4
- package/button/common/button-common.d.ts.map +1 -1
- package/button/common.js +41 -30
- package/button/mini-button/mini-button-base-element.d.ts.map +1 -1
- package/button/mini-button/mini-button.d.ts.map +1 -1
- package/button/mini-button-group/mini-button-group.d.ts +2 -2
- package/button/mini-button-group/mini-button-group.d.ts.map +1 -1
- package/button/mini-button-group.js +55 -43
- package/button/mini-button.js +28 -32
- package/button/secondary-button/secondary-button.d.ts.map +1 -1
- package/button/secondary-button-link/secondary-button-link.d.ts.map +1 -1
- package/button/secondary-button-link.js +15 -18
- package/button/secondary-button-static/secondary-button-static.d.ts.map +1 -1
- package/button/secondary-button-static.js +15 -18
- package/button/secondary-button.js +15 -18
- package/button/tertiary-button/tertiary-button.d.ts.map +1 -1
- package/button/tertiary-button-link/tertiary-button-link.d.ts.map +1 -1
- package/button/tertiary-button-link.js +15 -18
- package/button/tertiary-button-static/tertiary-button-static.d.ts.map +1 -1
- package/button/tertiary-button-static.js +15 -18
- package/button/tertiary-button.js +15 -18
- package/button/transparent-button/transparent-button.d.ts.map +1 -1
- package/button/transparent-button-link/transparent-button-link.d.ts.map +1 -1
- package/button/transparent-button-link.js +15 -18
- package/button/transparent-button-static/transparent-button-static.d.ts.map +1 -1
- package/button/transparent-button-static.js +15 -18
- package/button/transparent-button.js +15 -18
- package/calendar/calendar.d.ts +7 -7
- package/calendar/calendar.d.ts.map +1 -1
- package/calendar.js +638 -692
- package/card/card/card.d.ts +2 -2
- package/card/card/card.d.ts.map +1 -1
- package/card/card-badge/card-badge.d.ts +1 -1
- package/card/card-badge/card-badge.d.ts.map +1 -1
- package/card/card-badge.js +45 -34
- package/card/card-button/card-button.d.ts.map +1 -1
- package/card/card-button.js +16 -16
- package/card/card-link/card-link.d.ts.map +1 -1
- package/card/card-link.js +17 -17
- package/card/card.js +55 -36
- package/card/common/card-action-common.d.ts +1 -1
- package/card/common/card-action-common.d.ts.map +1 -1
- package/card/common.js +27 -33
- package/checkbox/checkbox/checkbox.d.ts +3 -4
- package/checkbox/checkbox/checkbox.d.ts.map +1 -1
- package/checkbox/checkbox-group/checkbox-group.d.ts +4 -4
- package/checkbox/checkbox-group/checkbox-group.d.ts.map +1 -1
- package/checkbox/checkbox-group.js +99 -76
- package/checkbox/checkbox-panel/checkbox-panel.d.ts +2 -3
- package/checkbox/checkbox-panel/checkbox-panel.d.ts.map +1 -1
- package/checkbox/checkbox-panel.js +51 -50
- package/checkbox/checkbox.js +54 -43
- package/checkbox/common/checkbox-common.d.ts +1 -1
- package/checkbox/common/checkbox-common.d.ts.map +1 -1
- package/checkbox/common.js +39 -24
- package/chip/chip.d.ts +2 -2
- package/chip/chip.d.ts.map +1 -1
- package/chip.js +45 -26
- package/clock/clock.d.ts +1 -1
- package/clock/clock.d.ts.map +1 -1
- package/clock.js +136 -144
- package/container/container/container.d.ts +3 -3
- package/container/container/container.d.ts.map +1 -1
- package/container/container.js +60 -35
- package/container/sticky-bar/sticky-bar.d.ts +1 -1
- package/container/sticky-bar/sticky-bar.d.ts.map +1 -1
- package/container/sticky-bar.js +55 -47
- package/core/a11y.js +29 -51
- package/core/base-elements/action-base-element.d.ts.map +1 -1
- package/core/base-elements/button-base-element.d.ts +2 -2
- package/core/base-elements/button-base-element.d.ts.map +1 -1
- package/core/base-elements/link-base-element.d.ts +5 -5
- package/core/base-elements/link-base-element.d.ts.map +1 -1
- package/core/base-elements.js +243 -196
- package/core/controllers.js +8 -13
- package/core/decorators/base.d.ts +14 -0
- package/core/decorators/base.d.ts.map +1 -0
- package/core/decorators/force-type.d.ts +8 -0
- package/core/decorators/force-type.d.ts.map +1 -0
- package/core/decorators/get-override.d.ts +7 -0
- package/core/decorators/get-override.d.ts.map +1 -0
- package/core/decorators/handle-distinct-change.d.ts +8 -0
- package/core/decorators/handle-distinct-change.d.ts.map +1 -0
- package/core/decorators/omit-empty-converter.d.ts +8 -0
- package/core/decorators/omit-empty-converter.d.ts.map +1 -0
- package/core/decorators.d.ts +4 -0
- package/core/decorators.d.ts.map +1 -1
- package/core/decorators.js +59 -15
- package/core/dom.js +1 -5
- package/core/eventing.js +1 -4
- package/core/interfaces/paginator-page.d.ts +7 -0
- package/core/interfaces/paginator-page.d.ts.map +1 -0
- package/core/interfaces.d.ts +1 -0
- package/core/interfaces.d.ts.map +1 -1
- package/core/mixins/disabled-mixin.d.ts +2 -3
- package/core/mixins/disabled-mixin.d.ts.map +1 -1
- package/core/mixins/form-associated-checkbox-mixin.d.ts +1 -0
- package/core/mixins/form-associated-checkbox-mixin.d.ts.map +1 -1
- package/core/mixins/form-associated-mixin.d.ts +6 -6
- package/core/mixins/form-associated-mixin.d.ts.map +1 -1
- package/core/mixins/named-slot-list-mixin.d.ts +1 -1
- package/core/mixins/named-slot-list-mixin.d.ts.map +1 -1
- package/core/mixins/negative-mixin.d.ts +1 -1
- package/core/mixins/negative-mixin.d.ts.map +1 -1
- package/core/mixins/panel-mixin.d.ts +3 -3
- package/core/mixins/panel-mixin.d.ts.map +1 -1
- package/core/mixins/required-mixin.d.ts +2 -3
- package/core/mixins/required-mixin.d.ts.map +1 -1
- package/core/mixins.js +291 -242
- package/core/styles/mixins/buttons.scss +1 -1
- package/core/styles/node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables.scss +4 -0
- package/core/styles/node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables_css--mixin.scss +5 -1
- package/core/testing/private.d.ts +1 -0
- package/core/testing/private.d.ts.map +1 -1
- package/core/testing.js +7 -13
- package/core.css +5 -1
- package/custom-elements.json +14515 -13465
- package/datepicker/common/datepicker-button.d.ts +2 -2
- package/datepicker/common/datepicker-button.d.ts.map +1 -1
- package/datepicker/common.js +110 -116
- package/datepicker/datepicker/datepicker.d.ts +6 -6
- package/datepicker/datepicker/datepicker.d.ts.map +1 -1
- package/datepicker/datepicker-next-day/datepicker-next-day.d.ts.map +1 -1
- package/datepicker/datepicker-next-day.js +24 -26
- package/datepicker/datepicker-previous-day/datepicker-previous-day.d.ts.map +1 -1
- package/datepicker/datepicker-previous-day.js +25 -27
- package/datepicker/datepicker-toggle/datepicker-toggle.d.ts +6 -6
- package/datepicker/datepicker-toggle/datepicker-toggle.d.ts.map +1 -1
- package/datepicker/datepicker-toggle.js +154 -136
- package/datepicker/datepicker.js +248 -213
- package/development/accordion/accordion.d.ts +4 -8
- package/development/accordion/accordion.d.ts.map +1 -1
- package/development/accordion.js +118 -93
- package/development/action-group/action-group.d.ts +5 -5
- package/development/action-group/action-group.d.ts.map +1 -1
- package/development/action-group.js +138 -64
- package/development/alert/alert/alert.d.ts +11 -11
- package/development/alert/alert/alert.d.ts.map +1 -1
- package/development/alert/alert-group/alert-group.d.ts +4 -4
- package/development/alert/alert-group/alert-group.d.ts.map +1 -1
- package/development/alert/alert-group.js +135 -79
- package/development/alert/alert.js +259 -109
- package/development/autocomplete/autocomplete-base-element.d.ts +3 -7
- package/development/autocomplete/autocomplete-base-element.d.ts.map +1 -1
- package/development/autocomplete/autocomplete.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.d.ts +1 -0
- package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-button.js +75 -76
- package/development/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-cell.js +24 -24
- package/development/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-optgroup.js +38 -39
- package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-option.js +57 -73
- package/development/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-row.js +28 -28
- package/development/autocomplete-grid/autocomplete-grid.js +142 -160
- package/development/autocomplete.js +394 -393
- package/development/breadcrumb/breadcrumb/breadcrumb.d.ts +1 -1
- package/development/breadcrumb/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/development/breadcrumb/breadcrumb-group/breadcrumb-group.d.ts.map +1 -1
- package/development/breadcrumb/breadcrumb-group.js +130 -130
- package/development/breadcrumb/breadcrumb.js +53 -36
- package/development/button/button/button.d.ts.map +1 -1
- package/development/button/button-link/button-link.d.ts.map +1 -1
- package/development/button/button-link.js +18 -19
- package/development/button/button-static/button-static.d.ts.map +1 -1
- package/development/button/button-static.js +18 -19
- package/development/button/button.js +18 -19
- package/development/button/common/button-common.d.ts +4 -4
- package/development/button/common/button-common.d.ts.map +1 -1
- package/development/button/common.js +51 -30
- package/development/button/mini-button/mini-button-base-element.d.ts.map +1 -1
- package/development/button/mini-button/mini-button.d.ts.map +1 -1
- package/development/button/mini-button-group/mini-button-group.d.ts +2 -2
- package/development/button/mini-button-group/mini-button-group.d.ts.map +1 -1
- package/development/button/mini-button-group.js +77 -50
- package/development/button/mini-button.js +39 -38
- package/development/button/secondary-button/secondary-button.d.ts.map +1 -1
- package/development/button/secondary-button-link/secondary-button-link.d.ts.map +1 -1
- package/development/button/secondary-button-link.js +18 -19
- package/development/button/secondary-button-static/secondary-button-static.d.ts.map +1 -1
- package/development/button/secondary-button-static.js +18 -19
- package/development/button/secondary-button.js +18 -19
- package/development/button/tertiary-button/tertiary-button.d.ts.map +1 -1
- package/development/button/tertiary-button-link/tertiary-button-link.d.ts.map +1 -1
- package/development/button/tertiary-button-link.js +18 -19
- package/development/button/tertiary-button-static/tertiary-button-static.d.ts.map +1 -1
- package/development/button/tertiary-button-static.js +18 -19
- package/development/button/tertiary-button.js +18 -19
- package/development/button/transparent-button/transparent-button.d.ts.map +1 -1
- package/development/button/transparent-button-link/transparent-button-link.d.ts.map +1 -1
- package/development/button/transparent-button-link.js +18 -19
- package/development/button/transparent-button-static/transparent-button-static.d.ts.map +1 -1
- package/development/button/transparent-button-static.js +18 -19
- package/development/button/transparent-button.js +18 -19
- package/development/calendar/calendar.d.ts +7 -7
- package/development/calendar/calendar.d.ts.map +1 -1
- package/development/calendar.js +768 -766
- package/development/card/card/card.d.ts +2 -2
- package/development/card/card/card.d.ts.map +1 -1
- package/development/card/card-badge/card-badge.d.ts +1 -1
- package/development/card/card-badge/card-badge.d.ts.map +1 -1
- package/development/card/card-badge.js +65 -45
- package/development/card/card-button/card-button.d.ts.map +1 -1
- package/development/card/card-button.js +23 -20
- package/development/card/card-link/card-link.d.ts.map +1 -1
- package/development/card/card-link.js +23 -20
- package/development/card/card.js +72 -41
- package/development/card/common/card-action-common.d.ts +1 -1
- package/development/card/common/card-action-common.d.ts.map +1 -1
- package/development/card/common.js +74 -73
- package/development/checkbox/checkbox/checkbox.d.ts +3 -4
- package/development/checkbox/checkbox/checkbox.d.ts.map +1 -1
- package/development/checkbox/checkbox-group/checkbox-group.d.ts +4 -4
- package/development/checkbox/checkbox-group/checkbox-group.d.ts.map +1 -1
- package/development/checkbox/checkbox-group.js +139 -92
- package/development/checkbox/checkbox-panel/checkbox-panel.d.ts +2 -3
- package/development/checkbox/checkbox-panel/checkbox-panel.d.ts.map +1 -1
- package/development/checkbox/checkbox-panel.js +68 -60
- package/development/checkbox/checkbox.js +69 -46
- package/development/checkbox/common/checkbox-common.d.ts +1 -1
- package/development/checkbox/common/checkbox-common.d.ts.map +1 -1
- package/development/checkbox/common.js +65 -46
- package/development/chip/chip.d.ts +2 -2
- package/development/chip/chip.d.ts.map +1 -1
- package/development/chip.js +64 -33
- package/development/clock/clock.d.ts +1 -1
- package/development/clock/clock.d.ts.map +1 -1
- package/development/clock.js +203 -201
- package/development/container/container/container.d.ts +3 -3
- package/development/container/container/container.d.ts.map +1 -1
- package/development/container/container.js +86 -45
- package/development/container/sticky-bar/sticky-bar.d.ts +1 -1
- package/development/container/sticky-bar/sticky-bar.d.ts.map +1 -1
- package/development/container/sticky-bar.js +76 -58
- package/development/core/a11y.js +40 -62
- package/development/core/base-elements/action-base-element.d.ts.map +1 -1
- package/development/core/base-elements/button-base-element.d.ts +2 -2
- package/development/core/base-elements/button-base-element.d.ts.map +1 -1
- package/development/core/base-elements/link-base-element.d.ts +5 -5
- package/development/core/base-elements/link-base-element.d.ts.map +1 -1
- package/development/core/base-elements.js +329 -226
- package/development/core/config.js +1 -1
- package/development/core/controllers.js +13 -21
- package/development/core/datetime.js +1 -1
- package/development/core/decorators/base.d.ts +14 -0
- package/development/core/decorators/base.d.ts.map +1 -0
- package/development/core/decorators/force-type.d.ts +8 -0
- package/development/core/decorators/force-type.d.ts.map +1 -0
- package/development/core/decorators/get-override.d.ts +7 -0
- package/development/core/decorators/get-override.d.ts.map +1 -0
- package/development/core/decorators/handle-distinct-change.d.ts +8 -0
- package/development/core/decorators/handle-distinct-change.d.ts.map +1 -0
- package/development/core/decorators/omit-empty-converter.d.ts +8 -0
- package/development/core/decorators/omit-empty-converter.d.ts.map +1 -0
- package/development/core/decorators.d.ts +4 -0
- package/development/core/decorators.d.ts.map +1 -1
- package/development/core/decorators.js +69 -5
- package/development/core/dom.js +2 -6
- package/development/core/eventing.js +2 -5
- package/development/core/i18n.js +1 -1
- package/development/core/interfaces/paginator-page.d.ts +7 -0
- package/development/core/interfaces/paginator-page.d.ts.map +1 -0
- package/development/core/interfaces.d.ts +1 -0
- package/development/core/interfaces.d.ts.map +1 -1
- package/development/core/mixins/disabled-mixin.d.ts +2 -3
- package/development/core/mixins/disabled-mixin.d.ts.map +1 -1
- package/development/core/mixins/form-associated-checkbox-mixin.d.ts +1 -0
- package/development/core/mixins/form-associated-checkbox-mixin.d.ts.map +1 -1
- package/development/core/mixins/form-associated-mixin.d.ts +6 -6
- package/development/core/mixins/form-associated-mixin.d.ts.map +1 -1
- package/development/core/mixins/named-slot-list-mixin.d.ts +1 -1
- package/development/core/mixins/named-slot-list-mixin.d.ts.map +1 -1
- package/development/core/mixins/negative-mixin.d.ts +1 -1
- package/development/core/mixins/negative-mixin.d.ts.map +1 -1
- package/development/core/mixins/panel-mixin.d.ts +3 -3
- package/development/core/mixins/panel-mixin.d.ts.map +1 -1
- package/development/core/mixins/required-mixin.d.ts +2 -3
- package/development/core/mixins/required-mixin.d.ts.map +1 -1
- package/development/core/mixins.js +573 -478
- package/development/core/observers.js +1 -1
- package/development/core/overlay.js +1 -1
- package/development/core/testing/private.d.ts +1 -0
- package/development/core/testing/private.d.ts.map +1 -1
- package/development/core/testing.js +16 -22
- package/development/datepicker/common/datepicker-button.d.ts +2 -2
- package/development/datepicker/common/datepicker-button.d.ts.map +1 -1
- package/development/datepicker/common.js +144 -142
- package/development/datepicker/datepicker/datepicker.d.ts +6 -6
- package/development/datepicker/datepicker/datepicker.d.ts.map +1 -1
- package/development/datepicker/datepicker-next-day/datepicker-next-day.d.ts.map +1 -1
- package/development/datepicker/datepicker-next-day.js +33 -33
- package/development/datepicker/datepicker-previous-day/datepicker-previous-day.d.ts.map +1 -1
- package/development/datepicker/datepicker-previous-day.js +33 -33
- package/development/datepicker/datepicker-toggle/datepicker-toggle.d.ts +6 -6
- package/development/datepicker/datepicker-toggle/datepicker-toggle.d.ts.map +1 -1
- package/development/datepicker/datepicker-toggle.js +227 -174
- package/development/datepicker/datepicker.js +327 -249
- package/development/dialog/dialog/dialog.d.ts +1 -1
- package/development/dialog/dialog/dialog.d.ts.map +1 -1
- package/development/dialog/dialog-actions/dialog-actions.d.ts.map +1 -1
- package/development/dialog/dialog-actions.js +21 -20
- package/development/dialog/dialog-content/dialog-content.d.ts.map +1 -1
- package/development/dialog/dialog-content.js +22 -21
- package/development/dialog/dialog-title/dialog-title.d.ts +3 -3
- package/development/dialog/dialog-title/dialog-title.d.ts.map +1 -1
- package/development/dialog/dialog-title.js +121 -66
- package/development/dialog/dialog.js +205 -191
- package/development/divider/divider.d.ts +1 -1
- package/development/divider/divider.d.ts.map +1 -1
- package/development/divider.js +55 -36
- package/development/expansion-panel/expansion-panel/expansion-panel.d.ts +4 -4
- package/development/expansion-panel/expansion-panel/expansion-panel.d.ts.map +1 -1
- package/development/expansion-panel/expansion-panel-content/expansion-panel-content.d.ts.map +1 -1
- package/development/expansion-panel/expansion-panel-content.js +25 -25
- package/development/expansion-panel/expansion-panel-header/expansion-panel-header.d.ts.map +1 -1
- package/development/expansion-panel/expansion-panel-header.js +56 -63
- package/development/expansion-panel/expansion-panel.js +227 -182
- package/development/file-selector/file-selector.d.ts +26 -15
- package/development/file-selector/file-selector.d.ts.map +1 -1
- package/development/file-selector.js +305 -172
- package/development/flip-card/flip-card/flip-card.d.ts +2 -2
- package/development/flip-card/flip-card/flip-card.d.ts.map +1 -1
- package/development/flip-card/flip-card-details/flip-card-details.d.ts.map +1 -1
- package/development/flip-card/flip-card-details.js +39 -39
- package/development/flip-card/flip-card-summary/flip-card-summary.d.ts +1 -1
- package/development/flip-card/flip-card-summary/flip-card-summary.d.ts.map +1 -1
- package/development/flip-card/flip-card-summary.js +57 -38
- package/development/flip-card/flip-card.js +110 -78
- package/development/footer/footer.d.ts +4 -4
- package/development/footer/footer.d.ts.map +1 -1
- package/development/footer.js +103 -41
- package/development/form-error/form-error.d.ts.map +1 -1
- package/development/form-error.js +29 -28
- package/development/form-field/form-field/form-field.d.ts +10 -10
- package/development/form-field/form-field/form-field.d.ts.map +1 -1
- package/development/form-field/form-field-clear/form-field-clear.d.ts.map +1 -1
- package/development/form-field/form-field-clear.js +51 -51
- package/development/form-field/form-field.js +439 -328
- package/development/header/common/header-action-common.d.ts +2 -2
- package/development/header/common/header-action-common.d.ts.map +1 -1
- package/development/header/common.js +95 -28
- package/development/header/header/header.d.ts +4 -4
- package/development/header/header/header.d.ts.map +1 -1
- package/development/header/header-button/header-button.d.ts.map +1 -1
- package/development/header/header-button.js +19 -18
- package/development/header/header-link/header-link.d.ts.map +1 -1
- package/development/header/header-link.js +19 -16
- package/development/header/header.js +198 -140
- package/development/icon/icon-base.d.ts +3 -4
- package/development/icon/icon-base.d.ts.map +1 -1
- package/development/icon/icon-name-mixin.d.ts +1 -1
- package/development/icon/icon-name-mixin.d.ts.map +1 -1
- package/development/icon/icon.d.ts +2 -2
- package/development/icon/icon.d.ts.map +1 -1
- package/development/icon.js +258 -157
- package/development/image/image.d.ts +17 -17
- package/development/image/image.d.ts.map +1 -1
- package/development/image.js +584 -216
- package/development/journey-header/journey-header.d.ts +5 -5
- package/development/journey-header/journey-header.d.ts.map +1 -1
- package/development/journey-header.js +115 -43
- package/development/lead-container/lead-container.d.ts.map +1 -1
- package/development/lead-container.js +22 -21
- package/development/link/block-link/block-link.d.ts.map +1 -1
- package/development/link/block-link-button/block-link-button.d.ts.map +1 -1
- package/development/link/block-link-button.js +19 -18
- package/development/link/block-link-static/block-link-static.d.ts.map +1 -1
- package/development/link/block-link-static.js +19 -18
- package/development/link/block-link.js +19 -18
- package/development/link/common/block-link-common.d.ts +4 -3
- package/development/link/common/block-link-common.d.ts.map +1 -1
- package/development/link/common/link-common.d.ts +1 -1
- package/development/link/common/link-common.d.ts.map +1 -1
- package/development/link/common.js +81 -51
- package/development/link/link/link.d.ts.map +1 -1
- package/development/link/link-button/link-button.d.ts.map +1 -1
- package/development/link/link-button.js +19 -18
- package/development/link/link-static/link-static.d.ts.map +1 -1
- package/development/link/link-static.js +19 -18
- package/development/link/link.js +19 -18
- package/development/link-list/common/link-list-base.d.ts +3 -3
- package/development/link-list/common/link-list-base.d.ts.map +1 -1
- package/development/link-list/common.js +97 -48
- package/development/link-list/link-list/link-list.d.ts +2 -2
- package/development/link-list/link-list/link-list.d.ts.map +1 -1
- package/development/link-list/link-list-anchor/link-list-anchor.d.ts.map +1 -1
- package/development/link-list/link-list-anchor.js +18 -17
- package/development/link-list/link-list.js +60 -28
- package/development/loading-indicator/loading-indicator.d.ts +3 -3
- package/development/loading-indicator/loading-indicator.d.ts.map +1 -1
- package/development/loading-indicator.js +83 -45
- package/development/logo/logo.d.ts +2 -2
- package/development/logo/logo.d.ts.map +1 -1
- package/development/logo.js +64 -32
- package/development/map-container/map-container.d.ts +2 -2
- package/development/map-container/map-container.d.ts.map +1 -1
- package/development/map-container.js +107 -75
- package/development/menu/common/menu-action-common.d.ts +2 -2
- package/development/menu/common/menu-action-common.d.ts.map +1 -1
- package/development/menu/common.js +41 -20
- package/development/menu/menu/menu.d.ts +1 -1
- package/development/menu/menu/menu.d.ts.map +1 -1
- package/development/menu/menu-button/menu-button.d.ts.map +1 -1
- package/development/menu/menu-button.js +19 -18
- package/development/menu/menu-link/menu-link.d.ts.map +1 -1
- package/development/menu/menu-link.js +19 -18
- package/development/menu/menu.js +261 -241
- package/development/message/message.d.ts +2 -2
- package/development/message/message.d.ts.map +1 -1
- package/development/message.js +65 -32
- package/development/navigation/common/navigation-action-common.d.ts +1 -1
- package/development/navigation/common/navigation-action-common.d.ts.map +1 -1
- package/development/navigation/common.js +63 -52
- package/development/navigation/navigation/navigation.d.ts +2 -2
- package/development/navigation/navigation/navigation.d.ts.map +1 -1
- package/development/navigation/navigation-button/navigation-button.d.ts.map +1 -1
- package/development/navigation/navigation-button.js +19 -18
- package/development/navigation/navigation-link/navigation-link.d.ts.map +1 -1
- package/development/navigation/navigation-link.js +19 -18
- package/development/navigation/navigation-list/navigation-list.d.ts +1 -1
- package/development/navigation/navigation-list/navigation-list.d.ts.map +1 -1
- package/development/navigation/navigation-list.js +64 -41
- package/development/navigation/navigation-marker/navigation-marker.d.ts +1 -1
- package/development/navigation/navigation-marker/navigation-marker.d.ts.map +1 -1
- package/development/navigation/navigation-marker.js +108 -91
- package/development/navigation/navigation-section/navigation-section.d.ts +3 -3
- package/development/navigation/navigation-section/navigation-section.d.ts.map +1 -1
- package/development/navigation/navigation-section.js +282 -236
- package/development/navigation/navigation.js +278 -254
- package/development/notification/notification.d.ts +6 -6
- package/development/notification/notification.d.ts.map +1 -1
- package/development/notification.js +212 -146
- package/development/option/optgroup/optgroup-base-element.d.ts +3 -3
- package/development/option/optgroup/optgroup-base-element.d.ts.map +1 -1
- package/development/option/optgroup/optgroup.d.ts.map +1 -1
- package/development/option/optgroup.js +187 -142
- package/development/option/option/option-base-element.d.ts +7 -7
- package/development/option/option/option-base-element.d.ts.map +1 -1
- package/development/option/option/option.d.ts.map +1 -1
- package/development/option/option.js +392 -296
- package/development/overlay/overlay-base-element.d.ts +1 -1
- package/development/overlay/overlay-base-element.d.ts.map +1 -1
- package/development/overlay/overlay.d.ts +4 -4
- package/development/overlay/overlay.d.ts.map +1 -1
- package/development/overlay.js +260 -207
- package/development/paginator/common/paginator-common.d.ts +26 -0
- package/development/paginator/common/paginator-common.d.ts.map +1 -0
- package/development/paginator/common.d.ts +2 -0
- package/development/paginator/common.d.ts.map +1 -0
- package/development/paginator/common.js +189 -0
- package/development/paginator/compact-paginator/compact-paginator.d.ts +20 -0
- package/development/paginator/compact-paginator/compact-paginator.d.ts.map +1 -0
- package/development/paginator/compact-paginator.d.ts +2 -0
- package/development/paginator/compact-paginator.d.ts.map +1 -0
- package/development/paginator/compact-paginator.js +96 -0
- package/development/paginator/paginator/paginator.d.ts +51 -0
- package/development/paginator/paginator/paginator.d.ts.map +1 -0
- package/development/paginator/paginator.d.ts +1 -90
- package/development/paginator/paginator.d.ts.map +1 -1
- package/development/paginator/paginator.js +449 -0
- package/development/paginator.d.ts +2 -0
- package/development/paginator.d.ts.map +1 -1
- package/development/paginator.js +4 -519
- package/development/popover/popover/popover.d.ts +6 -7
- package/development/popover/popover/popover.d.ts.map +1 -1
- package/development/popover/popover-trigger/popover-trigger.d.ts.map +1 -1
- package/development/popover/popover-trigger.js +29 -30
- package/development/popover/popover.js +358 -303
- package/development/radio-button/common/radio-button-common.d.ts +1 -1
- package/development/radio-button/common/radio-button-common.d.ts.map +1 -1
- package/development/radio-button/common.js +170 -127
- package/development/radio-button/radio-button/radio-button.d.ts +2 -6
- package/development/radio-button/radio-button/radio-button.d.ts.map +1 -1
- package/development/radio-button/radio-button-group/radio-button-group.d.ts +6 -6
- package/development/radio-button/radio-button-group/radio-button-group.d.ts.map +1 -1
- package/development/radio-button/radio-button-group.js +269 -199
- package/development/radio-button/radio-button-panel/radio-button-panel.d.ts +2 -6
- package/development/radio-button/radio-button-panel/radio-button-panel.d.ts.map +1 -1
- package/development/radio-button/radio-button-panel.js +60 -48
- package/development/radio-button/radio-button.js +54 -40
- package/development/screen-reader-only/screen-reader-only.d.ts.map +1 -1
- package/development/screen-reader-only.js +22 -21
- package/development/select/select.d.ts +17 -9
- package/development/select/select.d.ts.map +1 -1
- package/development/select.js +557 -524
- package/development/selection-expansion-panel/selection-expansion-panel.d.ts +3 -3
- package/development/selection-expansion-panel/selection-expansion-panel.d.ts.map +1 -1
- package/development/selection-expansion-panel.js +223 -193
- package/development/signet/signet.d.ts +2 -2
- package/development/signet/signet.d.ts.map +1 -1
- package/development/signet.js +65 -33
- package/development/skiplink-list/skiplink-list.d.ts +2 -2
- package/development/skiplink-list/skiplink-list.d.ts.map +1 -1
- package/development/skiplink-list.js +74 -41
- package/development/slider/slider.d.ts +7 -5
- package/development/slider/slider.d.ts.map +1 -1
- package/development/slider.js +260 -181
- package/development/status/status.d.ts +3 -3
- package/development/status/status.d.ts.map +1 -1
- package/development/status.js +96 -51
- package/development/stepper/step/step.d.ts.map +1 -1
- package/development/stepper/step-label/step-label.d.ts.map +1 -1
- package/development/stepper/step-label.js +86 -90
- package/development/stepper/step.js +122 -126
- package/development/stepper/stepper/stepper.d.ts +3 -3
- package/development/stepper/stepper/stepper.d.ts.map +1 -1
- package/development/stepper/stepper.js +291 -241
- package/development/table/table-wrapper/table-wrapper.d.ts.map +1 -1
- package/development/table/table-wrapper.js +37 -39
- package/development/tabs/tab/tab.d.ts.map +1 -1
- package/development/tabs/tab-group/tab-group.d.ts +2 -2
- package/development/tabs/tab-group/tab-group.d.ts.map +1 -1
- package/development/tabs/tab-group.js +296 -279
- package/development/tabs/tab-label/tab-label.d.ts +3 -3
- package/development/tabs/tab-label/tab-label.d.ts.map +1 -1
- package/development/tabs/tab-label.js +83 -37
- package/development/tabs/tab.js +40 -39
- package/development/tag/tag/tag.d.ts +3 -5
- package/development/tag/tag/tag.d.ts.map +1 -1
- package/development/tag/tag-group/tag-group.d.ts +3 -3
- package/development/tag/tag-group/tag-group.d.ts.map +1 -1
- package/development/tag/tag-group.js +143 -88
- package/development/tag/tag.js +126 -89
- package/development/teaser/teaser.d.ts +4 -4
- package/development/teaser/teaser.d.ts.map +1 -1
- package/development/teaser-hero/teaser-hero.d.ts +3 -3
- package/development/teaser-hero/teaser-hero.d.ts.map +1 -1
- package/development/teaser-hero.js +83 -36
- package/development/teaser-product/common/teaser-product-common.d.ts +1 -1
- package/development/teaser-product/common/teaser-product-common.d.ts.map +1 -1
- package/development/teaser-product/common.js +51 -26
- package/development/teaser-product/teaser-product/teaser-product.d.ts.map +1 -1
- package/development/teaser-product/teaser-product-static/teaser-product-static.d.ts.map +1 -1
- package/development/teaser-product/teaser-product-static.js +18 -19
- package/development/teaser-product/teaser-product.js +18 -19
- package/development/teaser.js +94 -40
- package/development/time-input/time-input.d.ts +1 -1
- package/development/time-input/time-input.d.ts.map +1 -1
- package/development/time-input.js +225 -219
- package/development/timetable-occupancy/timetable-occupancy.d.ts +2 -2
- package/development/timetable-occupancy/timetable-occupancy.d.ts.map +1 -1
- package/development/timetable-occupancy-icon/timetable-occupancy-icon.d.ts +1 -1
- package/development/timetable-occupancy-icon/timetable-occupancy-icon.d.ts.map +1 -1
- package/development/timetable-occupancy-icon.js +78 -57
- package/development/timetable-occupancy.js +67 -35
- package/development/title/title-base.d.ts +3 -3
- package/development/title/title-base.d.ts.map +1 -1
- package/development/title/title.d.ts.map +1 -1
- package/development/title.js +106 -58
- package/development/toast/toast.d.ts +4 -4
- package/development/toast/toast.d.ts.map +1 -1
- package/development/toast.js +204 -146
- package/development/toggle/toggle/toggle.d.ts +3 -5
- package/development/toggle/toggle/toggle.d.ts.map +1 -1
- package/development/toggle/toggle-option/toggle-option.d.ts +2 -2
- package/development/toggle/toggle-option/toggle-option.d.ts.map +1 -1
- package/development/toggle/toggle-option.js +127 -93
- package/development/toggle/toggle.js +200 -163
- package/development/toggle-check/toggle-check.d.ts +4 -3
- package/development/toggle-check/toggle-check.d.ts.map +1 -1
- package/development/toggle-check.js +87 -49
- package/development/train/train/train.d.ts +5 -5
- package/development/train/train/train.d.ts.map +1 -1
- package/development/train/train-blocked-passage/train-blocked-passage.d.ts.map +1 -1
- package/development/train/train-blocked-passage.js +22 -21
- package/development/train/train-formation/train-formation.d.ts +2 -2
- package/development/train/train-formation/train-formation.d.ts.map +1 -1
- package/development/train/train-formation.js +113 -90
- package/development/train/train-wagon/train-wagon.d.ts +7 -9
- package/development/train/train-wagon/train-wagon.d.ts.map +1 -1
- package/development/train/train-wagon.js +166 -87
- package/development/train/train.js +142 -75
- package/development/visual-checkbox/visual-checkbox.d.ts +3 -3
- package/development/visual-checkbox/visual-checkbox.d.ts.map +1 -1
- package/development/visual-checkbox.js +79 -36
- package/dialog/dialog/dialog.d.ts +1 -1
- package/dialog/dialog/dialog.d.ts.map +1 -1
- package/dialog/dialog-actions/dialog-actions.d.ts.map +1 -1
- package/dialog/dialog-actions.js +18 -19
- package/dialog/dialog-content/dialog-content.d.ts.map +1 -1
- package/dialog/dialog-content.js +17 -18
- package/dialog/dialog-title/dialog-title.d.ts +3 -3
- package/dialog/dialog-title/dialog-title.d.ts.map +1 -1
- package/dialog/dialog-title.js +98 -66
- package/dialog/dialog.js +120 -114
- package/divider/divider.d.ts +1 -1
- package/divider/divider.d.ts.map +1 -1
- package/divider.js +41 -30
- package/expansion-panel/expansion-panel/expansion-panel.d.ts +4 -4
- package/expansion-panel/expansion-panel/expansion-panel.d.ts.map +1 -1
- package/expansion-panel/expansion-panel-content/expansion-panel-content.d.ts.map +1 -1
- package/expansion-panel/expansion-panel-content.js +20 -22
- package/expansion-panel/expansion-panel-header/expansion-panel-header.d.ts.map +1 -1
- package/expansion-panel/expansion-panel-header.js +53 -61
- package/expansion-panel/expansion-panel.js +145 -130
- package/file-selector/file-selector.d.ts +26 -15
- package/file-selector/file-selector.d.ts.map +1 -1
- package/file-selector.js +227 -153
- package/flip-card/flip-card/flip-card.d.ts +2 -2
- package/flip-card/flip-card/flip-card.d.ts.map +1 -1
- package/flip-card/flip-card-details/flip-card-details.d.ts.map +1 -1
- package/flip-card/flip-card-details.js +36 -38
- package/flip-card/flip-card-summary/flip-card-summary.d.ts +1 -1
- package/flip-card/flip-card-summary/flip-card-summary.d.ts.map +1 -1
- package/flip-card/flip-card-summary.js +42 -31
- package/flip-card/flip-card.js +88 -69
- package/footer/footer.d.ts +4 -4
- package/footer/footer.d.ts.map +1 -1
- package/footer.js +78 -37
- package/form-error/form-error.d.ts.map +1 -1
- package/form-error.js +24 -25
- package/form-field/form-field/form-field.d.ts +10 -10
- package/form-field/form-field/form-field.d.ts.map +1 -1
- package/form-field/form-field-clear/form-field-clear.d.ts.map +1 -1
- package/form-field/form-field-clear.js +39 -41
- package/form-field/form-field.js +295 -239
- package/header/common/header-action-common.d.ts +2 -2
- package/header/common/header-action-common.d.ts.map +1 -1
- package/header/common.js +36 -21
- package/header/header/header.d.ts +4 -4
- package/header/header/header.d.ts.map +1 -1
- package/header/header-button/header-button.d.ts.map +1 -1
- package/header/header-button.js +14 -16
- package/header/header-link/header-link.d.ts.map +1 -1
- package/header/header-link.js +14 -14
- package/header/header.js +138 -109
- package/icon/icon-base.d.ts +3 -4
- package/icon/icon-base.d.ts.map +1 -1
- package/icon/icon-name-mixin.d.ts +1 -1
- package/icon/icon-name-mixin.d.ts.map +1 -1
- package/icon/icon.d.ts +2 -2
- package/icon/icon.d.ts.map +1 -1
- package/icon.js +230 -165
- package/image/image.d.ts +17 -17
- package/image/image.d.ts.map +1 -1
- package/image.js +465 -195
- package/index.d.ts +3 -1
- package/index.js +3 -1
- package/journey-header/journey-header.d.ts +5 -5
- package/journey-header/journey-header.d.ts.map +1 -1
- package/journey-header.js +89 -49
- package/lead-container/lead-container.d.ts.map +1 -1
- package/lead-container.js +17 -18
- package/link/block-link/block-link.d.ts.map +1 -1
- package/link/block-link-button/block-link-button.d.ts.map +1 -1
- package/link/block-link-button.js +15 -17
- package/link/block-link-static/block-link-static.d.ts.map +1 -1
- package/link/block-link-static.js +14 -16
- package/link/block-link.js +15 -17
- package/link/common/block-link-common.d.ts +4 -3
- package/link/common/block-link-common.d.ts.map +1 -1
- package/link/common/link-common.d.ts +1 -1
- package/link/common/link-common.d.ts.map +1 -1
- package/link/common.js +64 -46
- package/link/link/link.d.ts.map +1 -1
- package/link/link-button/link-button.d.ts.map +1 -1
- package/link/link-button.js +15 -17
- package/link/link-static/link-static.d.ts.map +1 -1
- package/link/link-static.js +15 -17
- package/link/link.js +15 -17
- package/link-list/common/link-list-base.d.ts +3 -3
- package/link-list/common/link-list-base.d.ts.map +1 -1
- package/link-list/common.js +72 -44
- package/link-list/link-list/link-list.d.ts +2 -2
- package/link-list/link-list/link-list.d.ts.map +1 -1
- package/link-list/link-list-anchor/link-list-anchor.d.ts.map +1 -1
- package/link-list/link-list-anchor.js +15 -16
- package/link-list/link-list.js +43 -24
- package/loading-indicator/loading-indicator.d.ts +3 -3
- package/loading-indicator/loading-indicator.d.ts.map +1 -1
- package/loading-indicator.js +61 -36
- package/logo/logo.d.ts +2 -2
- package/logo/logo.d.ts.map +1 -1
- package/logo.js +47 -27
- package/map-container/map-container.d.ts +2 -2
- package/map-container/map-container.d.ts.map +1 -1
- package/map-container.js +84 -65
- package/menu/common/menu-action-common.d.ts +2 -2
- package/menu/common/menu-action-common.d.ts.map +1 -1
- package/menu/common.js +37 -22
- package/menu/menu/menu.d.ts +1 -1
- package/menu/menu/menu.d.ts.map +1 -1
- package/menu/menu-button/menu-button.d.ts.map +1 -1
- package/menu/menu-button.js +14 -16
- package/menu/menu-link/menu-link.d.ts.map +1 -1
- package/menu/menu-link.js +15 -17
- package/menu/menu.js +175 -170
- package/message/message.d.ts +2 -2
- package/message/message.d.ts.map +1 -1
- package/message.js +47 -27
- package/navigation/common/navigation-action-common.d.ts +1 -1
- package/navigation/common/navigation-action-common.d.ts.map +1 -1
- package/navigation/common.js +38 -33
- package/navigation/navigation/navigation.d.ts +2 -2
- package/navigation/navigation/navigation.d.ts.map +1 -1
- package/navigation/navigation-button/navigation-button.d.ts.map +1 -1
- package/navigation/navigation-button.js +14 -16
- package/navigation/navigation-link/navigation-link.d.ts.map +1 -1
- package/navigation/navigation-link.js +14 -16
- package/navigation/navigation-list/navigation-list.d.ts +1 -1
- package/navigation/navigation-list/navigation-list.d.ts.map +1 -1
- package/navigation/navigation-list.js +48 -35
- package/navigation/navigation-marker/navigation-marker.d.ts +1 -1
- package/navigation/navigation-marker/navigation-marker.d.ts.map +1 -1
- package/navigation/navigation-marker.js +77 -69
- package/navigation/navigation-section/navigation-section.d.ts +3 -3
- package/navigation/navigation-section/navigation-section.d.ts.map +1 -1
- package/navigation/navigation-section.js +192 -171
- package/navigation/navigation.js +185 -181
- package/notification/notification.d.ts +6 -6
- package/notification/notification.d.ts.map +1 -1
- package/notification.js +147 -116
- package/option/optgroup/optgroup-base-element.d.ts +3 -3
- package/option/optgroup/optgroup-base-element.d.ts.map +1 -1
- package/option/optgroup/optgroup.d.ts.map +1 -1
- package/option/optgroup.js +131 -112
- package/option/option/option-base-element.d.ts +7 -7
- package/option/option/option-base-element.d.ts.map +1 -1
- package/option/option/option.d.ts.map +1 -1
- package/option/option.js +295 -252
- package/overlay/overlay-base-element.d.ts +1 -1
- package/overlay/overlay-base-element.d.ts.map +1 -1
- package/overlay/overlay.d.ts +4 -4
- package/overlay/overlay.d.ts.map +1 -1
- package/overlay.js +194 -165
- package/package.json +19 -3
- package/paginator/common/paginator-common.d.ts +26 -0
- package/paginator/common/paginator-common.d.ts.map +1 -0
- package/paginator/common.d.ts +2 -0
- package/paginator/common.d.ts.map +1 -0
- package/paginator/common.js +145 -0
- package/paginator/compact-paginator/compact-paginator.d.ts +20 -0
- package/paginator/compact-paginator/compact-paginator.d.ts.map +1 -0
- package/paginator/compact-paginator.d.ts +2 -0
- package/paginator/compact-paginator.d.ts.map +1 -0
- package/paginator/compact-paginator.js +40 -0
- package/paginator/paginator/paginator.d.ts +51 -0
- package/paginator/paginator/paginator.d.ts.map +1 -0
- package/paginator/paginator.d.ts +1 -90
- package/paginator/paginator.d.ts.map +1 -1
- package/paginator/paginator.js +171 -0
- package/paginator.d.ts +2 -0
- package/paginator.d.ts.map +1 -1
- package/paginator.js +3 -263
- package/popover/popover/popover.d.ts +6 -7
- package/popover/popover/popover.d.ts.map +1 -1
- package/popover/popover-trigger/popover-trigger.d.ts.map +1 -1
- package/popover/popover-trigger.js +26 -29
- package/popover/popover.js +230 -208
- package/radio-button/common/radio-button-common.d.ts +1 -1
- package/radio-button/common/radio-button-common.d.ts.map +1 -1
- package/radio-button/common.js +67 -43
- package/radio-button/radio-button/radio-button.d.ts +2 -6
- package/radio-button/radio-button/radio-button.d.ts.map +1 -1
- package/radio-button/radio-button-group/radio-button-group.d.ts +6 -6
- package/radio-button/radio-button-group/radio-button-group.d.ts.map +1 -1
- package/radio-button/radio-button-group.js +192 -156
- package/radio-button/radio-button-panel/radio-button-panel.d.ts +2 -6
- package/radio-button/radio-button-panel/radio-button-panel.d.ts.map +1 -1
- package/radio-button/radio-button-panel.js +49 -45
- package/radio-button/radio-button.js +43 -37
- package/screen-reader-only/screen-reader-only.d.ts.map +1 -1
- package/screen-reader-only.js +17 -18
- package/select/select.d.ts +17 -9
- package/select/select.d.ts.map +1 -1
- package/select.js +377 -373
- package/selection-expansion-panel/selection-expansion-panel.d.ts +3 -3
- package/selection-expansion-panel/selection-expansion-panel.d.ts.map +1 -1
- package/selection-expansion-panel.js +157 -148
- package/signet/signet.d.ts +2 -2
- package/signet/signet.d.ts.map +1 -1
- package/signet.js +48 -28
- package/skiplink-list/skiplink-list.d.ts +2 -2
- package/skiplink-list/skiplink-list.d.ts.map +1 -1
- package/skiplink-list.js +54 -36
- package/slider/slider.d.ts +7 -5
- package/slider/slider.d.ts.map +1 -1
- package/slider.js +197 -155
- package/standard-theme.css +5 -1
- package/status/status.d.ts +3 -3
- package/status/status.d.ts.map +1 -1
- package/status.js +71 -46
- package/stepper/step/step.d.ts.map +1 -1
- package/stepper/step-label/step-label.d.ts.map +1 -1
- package/stepper/step-label.js +69 -75
- package/stepper/step.js +99 -104
- package/stepper/stepper/stepper.d.ts +3 -3
- package/stepper/stepper/stepper.d.ts.map +1 -1
- package/stepper/stepper.js +208 -188
- package/table/table-wrapper/table-wrapper.d.ts.map +1 -1
- package/table/table-wrapper.js +32 -36
- package/tabs/tab/tab.d.ts.map +1 -1
- package/tabs/tab-group/tab-group.d.ts +2 -2
- package/tabs/tab-group/tab-group.d.ts.map +1 -1
- package/tabs/tab-group.js +200 -193
- package/tabs/tab-label/tab-label.d.ts +3 -3
- package/tabs/tab-label/tab-label.d.ts.map +1 -1
- package/tabs/tab-label.js +65 -37
- package/tabs/tab.js +34 -35
- package/tag/tag/tag.d.ts +3 -5
- package/tag/tag/tag.d.ts.map +1 -1
- package/tag/tag-group/tag-group.d.ts +3 -3
- package/tag/tag-group/tag-group.d.ts.map +1 -1
- package/tag/tag-group.js +107 -75
- package/tag/tag.js +92 -73
- package/teaser/teaser.d.ts +4 -4
- package/teaser/teaser.d.ts.map +1 -1
- package/teaser-hero/teaser-hero.d.ts +3 -3
- package/teaser-hero/teaser-hero.d.ts.map +1 -1
- package/teaser-hero.js +66 -38
- package/teaser-product/common/teaser-product-common.d.ts +1 -1
- package/teaser-product/common/teaser-product-common.d.ts.map +1 -1
- package/teaser-product/common.js +36 -21
- package/teaser-product/teaser-product/teaser-product.d.ts.map +1 -1
- package/teaser-product/teaser-product-static/teaser-product-static.d.ts.map +1 -1
- package/teaser-product/teaser-product-static.js +14 -17
- package/teaser-product/teaser-product.js +14 -17
- package/teaser.js +69 -37
- package/time-input/time-input.d.ts +1 -1
- package/time-input/time-input.d.ts.map +1 -1
- package/time-input.js +160 -166
- package/timetable-occupancy/timetable-occupancy.d.ts +2 -2
- package/timetable-occupancy/timetable-occupancy.d.ts.map +1 -1
- package/timetable-occupancy-icon/timetable-occupancy-icon.d.ts +1 -1
- package/timetable-occupancy-icon/timetable-occupancy-icon.d.ts.map +1 -1
- package/timetable-occupancy-icon.js +60 -48
- package/timetable-occupancy.js +55 -38
- package/title/title-base.d.ts +3 -3
- package/title/title-base.d.ts.map +1 -1
- package/title/title.d.ts.map +1 -1
- package/title.js +81 -53
- package/toast/toast.d.ts +4 -4
- package/toast/toast.d.ts.map +1 -1
- package/toast.js +156 -123
- package/toggle/toggle/toggle.d.ts +3 -5
- package/toggle/toggle/toggle.d.ts.map +1 -1
- package/toggle/toggle-option/toggle-option.d.ts +2 -2
- package/toggle/toggle-option/toggle-option.d.ts.map +1 -1
- package/toggle/toggle-option.js +89 -72
- package/toggle/toggle.js +139 -122
- package/toggle-check/toggle-check.d.ts +4 -3
- package/toggle-check/toggle-check.d.ts.map +1 -1
- package/toggle-check.js +63 -41
- package/train/train/train.d.ts +5 -5
- package/train/train/train.d.ts.map +1 -1
- package/train/train-blocked-passage/train-blocked-passage.d.ts.map +1 -1
- package/train/train-blocked-passage.js +17 -18
- package/train/train-formation/train-formation.d.ts +2 -2
- package/train/train-formation/train-formation.d.ts.map +1 -1
- package/train/train-formation.js +96 -87
- package/train/train-wagon/train-wagon.d.ts +7 -9
- package/train/train-wagon/train-wagon.d.ts.map +1 -1
- package/train/train-wagon.js +150 -110
- package/train/train.js +108 -71
- package/visual-checkbox/visual-checkbox.d.ts +3 -3
- package/visual-checkbox/visual-checkbox.d.ts.map +1 -1
- package/visual-checkbox.js +59 -32
- package/autocomplete-grid/autocomplete-grid-optgroup/index.d.ts +0 -2
- package/autocomplete-grid/autocomplete-grid-optgroup/index.d.ts.map +0 -1
- package/button/mini-button-group/index.d.ts +0 -2
- package/button/mini-button-group/index.d.ts.map +0 -1
- package/development/autocomplete-grid/autocomplete-grid-optgroup/index.d.ts +0 -2
- package/development/autocomplete-grid/autocomplete-grid-optgroup/index.d.ts.map +0 -1
- package/development/button/mini-button-group/index.d.ts +0 -2
- package/development/button/mini-button-group/index.d.ts.map +0 -1
- package/development/flip-card/flip-card/index.d.ts +0 -2
- package/development/flip-card/flip-card/index.d.ts.map +0 -1
- package/development/flip-card/flip-card-details/index.d.ts +0 -2
- package/development/flip-card/flip-card-details/index.d.ts.map +0 -1
- package/development/flip-card/flip-card-summary/index.d.ts +0 -2
- package/development/flip-card/flip-card-summary/index.d.ts.map +0 -1
- package/development/link-list/link-list-anchor/index.d.ts +0 -2
- package/development/link-list/link-list-anchor/index.d.ts.map +0 -1
- package/development/paginator/index.d.ts +0 -2
- package/development/paginator/index.d.ts.map +0 -1
- package/development/radio-button/radio-button-panel/index.d.ts +0 -2
- package/development/radio-button/radio-button-panel/index.d.ts.map +0 -1
- package/development/tabs/tab/index.d.ts +0 -2
- package/development/tabs/tab/index.d.ts.map +0 -1
- package/flip-card/flip-card/index.d.ts +0 -2
- package/flip-card/flip-card/index.d.ts.map +0 -1
- package/flip-card/flip-card-details/index.d.ts +0 -2
- package/flip-card/flip-card-details/index.d.ts.map +0 -1
- package/flip-card/flip-card-summary/index.d.ts +0 -2
- package/flip-card/flip-card-summary/index.d.ts.map +0 -1
- package/link-list/link-list-anchor/index.d.ts +0 -2
- package/link-list/link-list-anchor/index.d.ts.map +0 -1
- package/paginator/index.d.ts +0 -2
- package/paginator/index.d.ts.map +0 -1
- package/radio-button/radio-button-panel/index.d.ts +0 -2
- package/radio-button/radio-button-panel/index.d.ts.map +0 -1
- package/tabs/tab/index.d.ts +0 -2
- package/tabs/tab/index.d.ts.map +0 -1
package/image.js
CHANGED
|
@@ -1,101 +1,392 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
var qt = (r) => {
|
|
2
|
+
throw TypeError(r);
|
|
3
|
+
};
|
|
4
|
+
var Tt = (r, n, g) => n.has(r) || qt("Cannot " + g);
|
|
5
|
+
var p = (r, n, g) => (Tt(r, n, "read from private field"), g ? g.call(r) : n.get(r)), h = (r, n, g) => n.has(r) ? qt("Cannot add the same private member more than once") : n instanceof WeakSet ? n.add(r) : n.set(r, g), s = (r, n, g, b) => (Tt(r, n, "write to private field"), b ? b.call(r, g) : n.set(r, g), g);
|
|
6
|
+
import { __esDecorate as c, __runInitializers as a } from "tslib";
|
|
7
|
+
import { css as At, html as T, nothing as _, LitElement as Ut } from "lit";
|
|
8
|
+
import { customElement as Vt, property as d, eventOptions as Kt } from "lit/decorators.js";
|
|
9
|
+
import { ref as Wt } from "lit/directives/ref.js";
|
|
10
|
+
import { forceType as u } from "./core/decorators.js";
|
|
11
|
+
import { hostContext as Nt } from "./core/dom.js";
|
|
12
|
+
const Zt = 0, Gt = 359, Jt = 360, te = 599, ee = 600, ie = 839, ae = 840, se = 1023, re = 1024, oe = 1279, ne = 1280, ce = 1439, le = 1440, pe = 2579, he = 16, de = At`*,:before,:after{box-sizing:border-box}:host{--sbb-image-border-radius: var(--sbb-border-radius-4x);--sbb-image-aspect-ratio: auto;--sbb-image-animation-duration: var( --sbb-disable-animation-zero-time, var(--sbb-animation-duration-4x) );--sbb-image-object-fit: cover;display:block}:host([aspect-ratio="1-1"]){--sbb-image-aspect-ratio: 1 / 1}:host([aspect-ratio="1-2"]){--sbb-image-aspect-ratio: 1 / 2}:host([aspect-ratio="2-1"]){--sbb-image-aspect-ratio: 2 / 1}:host([aspect-ratio="2-3"]){--sbb-image-aspect-ratio: 2 / 3}:host([aspect-ratio="3-2"]){--sbb-image-aspect-ratio: 3 / 2}:host([aspect-ratio="3-4"]){--sbb-image-aspect-ratio: 3 / 4}:host([aspect-ratio="4-3"]){--sbb-image-aspect-ratio: 4 / 3}:host([aspect-ratio="4-5"]){--sbb-image-aspect-ratio: 4 / 5}:host([aspect-ratio="5-4"]){--sbb-image-aspect-ratio: 5 / 4}:host([aspect-ratio="16-9"]){--sbb-image-aspect-ratio: 16 / 9}:host([aspect-ratio="9-16"]){--sbb-image-aspect-ratio: 9 / 16}:host([data-teaser]){--sbb-image-aspect-ratio: 1 / 1}@media (min-width: 37.5rem){:host([data-teaser]){--sbb-image-aspect-ratio: 16 / 9}}:host(:is([border-radius=none],[data-teaser])){--sbb-image-border-radius: 0}:host([border-radius=round]:not([data-teaser])){--sbb-image-border-radius: var(--sbb-border-radius-infinity)}.sbb-image__figure{display:flex;flex-direction:column;gap:var(--sbb-spacing-fixed-4x);margin:0;height:100%}.sbb-image__img{opacity:.000001}:host([data-loaded]) .sbb-image__img{opacity:.999999}:host(:not([skip-lqip])) .sbb-image__img{position:absolute;top:0;right:0;bottom:0;left:0}:host([data-loaded]) .sbb-image__blurred{opacity:0}picture{display:contents}:is(.sbb-image__img,.sbb-image__blurred){width:100%;height:100%;object-fit:var(--sbb-image-object-fit);object-position:var(--sbb-image-object-position);transition:opacity var(--sbb-image-animation-duration) var(--sbb-animation-easing)}.sbb-image__wrapper{display:flex;position:relative;overflow:hidden;width:100%;height:100%;aspect-ratio:var(--sbb-image-aspect-ratio);border-radius:var(--sbb-image-border-radius)}.sbb-image__caption{--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)}`;
|
|
13
|
+
var jt = Object.freeze, ge = Object.defineProperty, me = (r, n) => jt(ge(r, "raw", { value: jt(r.slice()) })), Xt;
|
|
14
|
+
const be = (r) => {
|
|
15
|
+
if (!r || r.length === 0)
|
|
13
16
|
return [];
|
|
14
|
-
let
|
|
17
|
+
let n;
|
|
15
18
|
try {
|
|
16
|
-
|
|
19
|
+
n = JSON.parse(r);
|
|
17
20
|
} catch {
|
|
18
21
|
return [];
|
|
19
22
|
}
|
|
20
|
-
if (!
|
|
23
|
+
if (!n.breakpoints || n.breakpoints.length === 0)
|
|
21
24
|
return [];
|
|
22
|
-
if (!Array.isArray(
|
|
25
|
+
if (!Array.isArray(n.breakpoints))
|
|
23
26
|
return [];
|
|
24
|
-
let
|
|
25
|
-
const
|
|
26
|
-
return
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}),
|
|
31
|
-
|
|
27
|
+
let g = !1, b = !1;
|
|
28
|
+
const Q = ["image", "mediaQueries"];
|
|
29
|
+
return n.breakpoints.forEach((j) => {
|
|
30
|
+
const H = Object.keys(j);
|
|
31
|
+
H.forEach((k) => {
|
|
32
|
+
Q.includes(k) || (g = !0);
|
|
33
|
+
}), Q.forEach((k) => {
|
|
34
|
+
H.includes(k) || (b = !0);
|
|
32
35
|
});
|
|
33
|
-
}),
|
|
34
|
-
},
|
|
36
|
+
}), g || b ? [] : n.breakpoints;
|
|
37
|
+
}, ue = {
|
|
35
38
|
once: !0,
|
|
36
39
|
passive: !0
|
|
37
|
-
},
|
|
38
|
-
"sbb-breakpoint-zero-min":
|
|
39
|
-
"sbb-breakpoint-zero-max":
|
|
40
|
-
"sbb-breakpoint-micro-min":
|
|
41
|
-
"sbb-breakpoint-micro-max":
|
|
42
|
-
"sbb-breakpoint-small-min":
|
|
43
|
-
"sbb-breakpoint-small-max":
|
|
44
|
-
"sbb-breakpoint-medium-min":
|
|
45
|
-
"sbb-breakpoint-medium-max":
|
|
46
|
-
"sbb-breakpoint-large-min":
|
|
47
|
-
"sbb-breakpoint-large-max":
|
|
48
|
-
"sbb-breakpoint-wide-min":
|
|
49
|
-
"sbb-breakpoint-wide-max":
|
|
50
|
-
"sbb-breakpoint-ultra-min":
|
|
51
|
-
"sbb-breakpoint-ultra-max":
|
|
40
|
+
}, m = (r) => r / he, _e = {
|
|
41
|
+
"sbb-breakpoint-zero-min": m(Zt),
|
|
42
|
+
"sbb-breakpoint-zero-max": m(Gt),
|
|
43
|
+
"sbb-breakpoint-micro-min": m(Jt),
|
|
44
|
+
"sbb-breakpoint-micro-max": m(te),
|
|
45
|
+
"sbb-breakpoint-small-min": m(ee),
|
|
46
|
+
"sbb-breakpoint-small-max": m(ie),
|
|
47
|
+
"sbb-breakpoint-medium-min": m(ae),
|
|
48
|
+
"sbb-breakpoint-medium-max": m(se),
|
|
49
|
+
"sbb-breakpoint-large-min": m(re),
|
|
50
|
+
"sbb-breakpoint-large-max": m(oe),
|
|
51
|
+
"sbb-breakpoint-wide-min": m(ne),
|
|
52
|
+
"sbb-breakpoint-wide-max": m(ce),
|
|
53
|
+
"sbb-breakpoint-ultra-min": m(le),
|
|
54
|
+
"sbb-breakpoint-ultra-max": m(pe)
|
|
52
55
|
};
|
|
53
|
-
let
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
56
|
+
let $e = (() => {
|
|
57
|
+
var y, z, P, v, x, S, $, M, w, I, L, C, R, D, F, B, E, o;
|
|
58
|
+
let r = [Vt("sbb-image")], n, g = [], b, Q = Ut, j = [], H, k = [], X = [], Y, A = [], U = [], V, K = [], W = [], N, Z = [], G = [], J, tt = [], et = [], it, at = [], st = [], rt, ot = [], nt = [], ct, lt = [], pt = [], ht, dt = [], gt = [], mt, bt = [], ut = [], _t, ft = [], kt = [], yt, zt = [], Pt = [], vt, xt = [], St = [], $t, Mt = [], wt = [], It, Lt = [], Ct = [], Rt, Dt = [], Ft = [], Bt, Et = [], Qt = [], Ht;
|
|
59
|
+
return o = class extends Q {
|
|
60
|
+
constructor() {
|
|
61
|
+
super(...arguments);
|
|
62
|
+
h(this, y);
|
|
63
|
+
h(this, z);
|
|
64
|
+
h(this, P);
|
|
65
|
+
h(this, v);
|
|
66
|
+
h(this, x);
|
|
67
|
+
h(this, S);
|
|
68
|
+
h(this, $);
|
|
69
|
+
h(this, M);
|
|
70
|
+
h(this, w);
|
|
71
|
+
h(this, I);
|
|
72
|
+
h(this, L);
|
|
73
|
+
h(this, C);
|
|
74
|
+
h(this, R);
|
|
75
|
+
h(this, D);
|
|
76
|
+
h(this, F);
|
|
77
|
+
h(this, B);
|
|
78
|
+
h(this, E);
|
|
79
|
+
this._captionElement = a(this, j), this._config = {
|
|
80
|
+
nonRetinaQuality: "45",
|
|
81
|
+
retinaQuality: "20"
|
|
82
|
+
}, s(this, y, a(this, k, "")), s(this, z, (a(this, X), a(this, A, !1))), s(this, P, (a(this, U), a(this, K, ""))), s(this, v, (a(this, W), a(this, Z, ""))), s(this, x, (a(this, G), a(this, tt, "Organization"))), s(this, S, (a(this, et), a(this, at, !1))), s(this, $, (a(this, st), a(this, ot, "auto"))), s(this, M, (a(this, nt), a(this, lt, !1))), s(this, w, (a(this, pt), a(this, dt, 1))), s(this, I, (a(this, gt), a(this, bt, 1))), s(this, L, (a(this, ut), a(this, ft, ""))), s(this, C, (a(this, kt), a(this, zt, "high"))), s(this, R, (a(this, Pt), a(this, xt, "eager"))), s(this, D, (a(this, St), a(this, Mt, ""))), s(this, F, (a(this, wt), a(this, Lt, ""))), s(this, B, (a(this, Ct), a(this, Dt, "default"))), s(this, E, (a(this, Ft), a(this, Et, "16-9"))), a(this, Qt);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* An alt text is not always necessary (e.g. in teaser cards when
|
|
86
|
+
* additional link text is provided). In this case we can leave
|
|
87
|
+
* the value of the alt attribute blank, but the attribute itself
|
|
88
|
+
* still needs to be present. That way we can signal assistive
|
|
89
|
+
* technology, that they can skip the image.
|
|
90
|
+
*/
|
|
91
|
+
get alt() {
|
|
92
|
+
return p(this, y);
|
|
93
|
+
}
|
|
94
|
+
set alt(e) {
|
|
95
|
+
s(this, y, e);
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* If set to false, we show a blurred version of the image as
|
|
99
|
+
* placeholder before the actual image shows up. This will help
|
|
100
|
+
* to improve the perceived loading performance. Read more about
|
|
101
|
+
* the idea of lqip here:
|
|
102
|
+
* https://medium.com/@imgix/lqip-your-images-for-fast-loading-2523d9ee4a62
|
|
103
|
+
*/
|
|
104
|
+
get skipLqip() {
|
|
105
|
+
return p(this, z);
|
|
106
|
+
}
|
|
107
|
+
set skipLqip(e) {
|
|
108
|
+
s(this, z, e);
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* A caption can provide additional context to the image (e.g.
|
|
112
|
+
* descriptions and the like).
|
|
113
|
+
* Links will automatically receive tabindex=-1 if hideFromScreenreader
|
|
114
|
+
* is set to true. That way they will no longer become focusable.
|
|
115
|
+
*/
|
|
116
|
+
get caption() {
|
|
117
|
+
return p(this, P);
|
|
118
|
+
}
|
|
119
|
+
set caption(e) {
|
|
120
|
+
s(this, P, e);
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* If a copyright text is provided, we will add it to the caption
|
|
124
|
+
* and create a structured data json-ld block with the copyright
|
|
125
|
+
* information.
|
|
126
|
+
*/
|
|
127
|
+
get copyright() {
|
|
128
|
+
return p(this, v);
|
|
129
|
+
}
|
|
130
|
+
set copyright(e) {
|
|
131
|
+
s(this, v, e);
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Copyright holder can either be an Organization or a Person
|
|
135
|
+
*/
|
|
136
|
+
get copyrightHolder() {
|
|
137
|
+
return p(this, x);
|
|
138
|
+
}
|
|
139
|
+
set copyrightHolder(e) {
|
|
140
|
+
s(this, x, e);
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Set this to true, if you want to pass a custom focal point
|
|
144
|
+
* for the image. See full documentation here:
|
|
145
|
+
* https://docs.imgix.com/apis/rendering/focalpoint-crop
|
|
146
|
+
*/
|
|
147
|
+
get customFocalPoint() {
|
|
148
|
+
return p(this, S);
|
|
149
|
+
}
|
|
150
|
+
set customFocalPoint(e) {
|
|
151
|
+
s(this, S, e);
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* If the lazy property is set to true, the module will automatically
|
|
155
|
+
* change the decoding to async, otherwise the decoding is set to auto
|
|
156
|
+
* which leaves the handling up to the browser. Read more about the
|
|
157
|
+
* decoding attribute here:
|
|
158
|
+
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/decoding
|
|
159
|
+
*/
|
|
160
|
+
get decoding() {
|
|
161
|
+
return p(this, $);
|
|
162
|
+
}
|
|
163
|
+
set decoding(e) {
|
|
164
|
+
s(this, $, e);
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Set this to true, to receive visual guidance where the custom focal
|
|
168
|
+
* point is currently set.
|
|
169
|
+
*/
|
|
170
|
+
get focalPointDebug() {
|
|
171
|
+
return p(this, M);
|
|
172
|
+
}
|
|
173
|
+
set focalPointDebug(e) {
|
|
174
|
+
s(this, M, e);
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Pass in a floating number between 0 (left) and 1 (right).
|
|
178
|
+
*/
|
|
179
|
+
get focalPointX() {
|
|
180
|
+
return p(this, w);
|
|
181
|
+
}
|
|
182
|
+
set focalPointX(e) {
|
|
183
|
+
s(this, w, e);
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* Pass in a floating number between 0 (top) and 1 (bottom).
|
|
187
|
+
*/
|
|
188
|
+
get focalPointY() {
|
|
189
|
+
return p(this, I);
|
|
190
|
+
}
|
|
191
|
+
set focalPointY(e) {
|
|
192
|
+
s(this, I, e);
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* Right now the module is heavily coupled with the image delivery
|
|
196
|
+
* service imgix and depends on the original files being stored
|
|
197
|
+
* inside AEM. You can pass in any https://cdn.img.sbb.ch img
|
|
198
|
+
* src address you find on sbb.ch to play around with it. Just
|
|
199
|
+
* strip the url parameters and paste in the plain file address.
|
|
200
|
+
* If you want to know how to best work with this module with
|
|
201
|
+
* images coming from a different source, please contact the
|
|
202
|
+
* LYNE Core Team.
|
|
203
|
+
*/
|
|
204
|
+
get imageSrc() {
|
|
205
|
+
return p(this, L);
|
|
206
|
+
}
|
|
207
|
+
set imageSrc(e) {
|
|
208
|
+
s(this, L, e);
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* The importance attribute is fairly new attribute which should
|
|
212
|
+
* help the browser decide which resources it should prioritise
|
|
213
|
+
* during page load. We will set the attribute value based on the
|
|
214
|
+
* value, we receive in the loading attribute. 'eager', which we use
|
|
215
|
+
* for the largest image within the initial viewport, will set the
|
|
216
|
+
* attribute value to 'high'. 'lazy', which we use for images below
|
|
217
|
+
* the fold, will set the attribute value to 'low'.
|
|
218
|
+
*/
|
|
219
|
+
get importance() {
|
|
220
|
+
return p(this, C);
|
|
221
|
+
}
|
|
222
|
+
set importance(e) {
|
|
223
|
+
s(this, C, e);
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* With the support of native image lazy loading, we can now
|
|
227
|
+
* decide whether we want to load the image immediately or only
|
|
228
|
+
* once it is close to the visible viewport. The value eager is
|
|
229
|
+
* best used for images within the initial viewport. We want to
|
|
230
|
+
* load these images as fast as possible to improve the Core Web
|
|
231
|
+
* Vitals values. lazy on the other hand works best for images
|
|
232
|
+
* which are further down the page or invisible during the loading
|
|
233
|
+
* of the initial viewport.
|
|
234
|
+
*/
|
|
235
|
+
get loading() {
|
|
236
|
+
return p(this, R);
|
|
237
|
+
}
|
|
238
|
+
set loading(e) {
|
|
239
|
+
s(this, R, e);
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* With performance.mark you can log a timestamp associated with
|
|
243
|
+
* the name you define in performanceMark when a certain event is
|
|
244
|
+
* happening. In our case we will log the performance.mark into
|
|
245
|
+
* the PerformanceEntry API once the image is fully loaded.
|
|
246
|
+
* Performance monitoring tools like SpeedCurve or Lighthouse are
|
|
247
|
+
* then able to grab these entries from the PerformanceEntry API
|
|
248
|
+
* and give us additional information and insights about our page
|
|
249
|
+
* loading behaviour. We are then also able to monitor these
|
|
250
|
+
* values over a long period to see if our performance
|
|
251
|
+
* increases or decreases over time. Best to use lowercase strings
|
|
252
|
+
* here, separate words with underscores or dashes.
|
|
253
|
+
*/
|
|
254
|
+
get performanceMark() {
|
|
255
|
+
return p(this, D);
|
|
256
|
+
}
|
|
257
|
+
set performanceMark(e) {
|
|
258
|
+
s(this, D, e);
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* With the pictureSizesConfig object, you can pass in information
|
|
262
|
+
* into image about what kind of source elements should get
|
|
263
|
+
* rendered. mediaQueries accepts multiple Media Query entries
|
|
264
|
+
* which can get combined by defining a conditionOperator.
|
|
265
|
+
* Type is: stringified InterfaceImageAttributesSizesConfig-Object
|
|
266
|
+
* An example could look like this:
|
|
267
|
+
* {
|
|
268
|
+
* "breakpoints": [
|
|
269
|
+
* {
|
|
270
|
+
* "image": {
|
|
271
|
+
* "height": "675",
|
|
272
|
+
* "width": "1200"
|
|
273
|
+
* },
|
|
274
|
+
* "mediaQueries": [
|
|
275
|
+
* {
|
|
276
|
+
* "conditionFeature": "min-width",
|
|
277
|
+
* "conditionFeatureValue": {
|
|
278
|
+
* "lyneDesignToken": true,
|
|
279
|
+
* "value": "sbb-breakpoint-large-min"
|
|
280
|
+
* },
|
|
281
|
+
* "conditionOperator": false
|
|
282
|
+
* }
|
|
283
|
+
* ]
|
|
284
|
+
* },
|
|
285
|
+
* {
|
|
286
|
+
* "image": {
|
|
287
|
+
* "height": "549",
|
|
288
|
+
* "width": "976"
|
|
289
|
+
* },
|
|
290
|
+
* "mediaQueries": [
|
|
291
|
+
* {
|
|
292
|
+
* "conditionFeature": "min-width",
|
|
293
|
+
* "conditionFeatureValue": {
|
|
294
|
+
* "lyneDesignToken": true,
|
|
295
|
+
* "value": "sbb-breakpoint-small-min"
|
|
296
|
+
* },
|
|
297
|
+
* "conditionOperator": false
|
|
298
|
+
* }
|
|
299
|
+
* ]
|
|
300
|
+
* },
|
|
301
|
+
* {
|
|
302
|
+
* "image": {
|
|
303
|
+
* "height": "180",
|
|
304
|
+
* "width": "320"
|
|
305
|
+
* },
|
|
306
|
+
* "mediaQueries": [
|
|
307
|
+
* {
|
|
308
|
+
* "conditionFeature": "max-width",
|
|
309
|
+
* "conditionFeatureValue": {
|
|
310
|
+
* "lyneDesignToken": true,
|
|
311
|
+
* "value": "sbb-breakpoint-micro-max"
|
|
312
|
+
* },
|
|
313
|
+
* "conditionOperator": "and"
|
|
314
|
+
* },
|
|
315
|
+
* {
|
|
316
|
+
* "conditionFeature": "orientation",
|
|
317
|
+
* "conditionFeatureValue": {
|
|
318
|
+
* "lyneDesignToken": false,
|
|
319
|
+
* "value": "landscape"
|
|
320
|
+
* },
|
|
321
|
+
* "conditionOperator": false
|
|
322
|
+
* }
|
|
323
|
+
* ]
|
|
324
|
+
* }
|
|
325
|
+
* ]
|
|
326
|
+
* }
|
|
327
|
+
*/
|
|
328
|
+
get pictureSizesConfig() {
|
|
329
|
+
return p(this, F);
|
|
330
|
+
}
|
|
331
|
+
set pictureSizesConfig(e) {
|
|
332
|
+
s(this, F, e);
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
* Border radius of the image. Choose between a default radius, no radius and a completely round image.
|
|
336
|
+
*/
|
|
337
|
+
get borderRadius() {
|
|
338
|
+
return p(this, B);
|
|
339
|
+
}
|
|
340
|
+
set borderRadius(e) {
|
|
341
|
+
s(this, B, e);
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* Set an aspect ratio
|
|
345
|
+
* default is '16-9' (16/9)
|
|
346
|
+
* other values: 'free', '1-1', '1-2', '2-1', '2-3', '3-2', '3-4', '4-3', '4-5', '5-4', '9-16'
|
|
347
|
+
*/
|
|
348
|
+
get aspectRatio() {
|
|
349
|
+
return p(this, E);
|
|
350
|
+
}
|
|
351
|
+
set aspectRatio(e) {
|
|
352
|
+
s(this, E, e);
|
|
353
|
+
}
|
|
354
|
+
/** Whether the image is finished loading or failed to load. */
|
|
355
|
+
get complete() {
|
|
356
|
+
var e, t, i;
|
|
357
|
+
return ((i = (t = (e = this.shadowRoot) == null ? void 0 : e.querySelector) == null ? void 0 : t.call(e, ".sbb-image__img")) == null ? void 0 : i.complete) ?? !1;
|
|
358
|
+
}
|
|
359
|
+
connectedCallback() {
|
|
360
|
+
super.connectedCallback(), this.toggleAttribute("data-teaser", !!Nt("sbb-teaser-hero", this) || !!this.closest("sbb-teaser-paid"));
|
|
361
|
+
}
|
|
362
|
+
updated(e) {
|
|
363
|
+
super.updated(e), this._captionElement && (this._linksInCaption = this._captionElement.querySelectorAll("a"), this._linksInCaption && this._addFocusAbilityToLinksInCaption());
|
|
364
|
+
}
|
|
365
|
+
async firstUpdated(e) {
|
|
366
|
+
super.firstUpdated(e), await this.updateComplete, this.complete && this.toggleAttribute("data-loaded", !0);
|
|
367
|
+
}
|
|
368
|
+
_logPerformanceMarks() {
|
|
369
|
+
this.performanceMark && (performance.clearMarks(this.performanceMark), performance.mark(this.performanceMark));
|
|
370
|
+
}
|
|
371
|
+
_matchMediaQueryDesignToken(e) {
|
|
372
|
+
const t = _e[e];
|
|
373
|
+
return t ? `${t}rem` : "";
|
|
374
|
+
}
|
|
375
|
+
_addFocusAbilityToLinksInCaption() {
|
|
376
|
+
var e;
|
|
377
|
+
(e = this._linksInCaption) == null || e.forEach((t) => {
|
|
378
|
+
t.removeAttribute("tabindex");
|
|
379
|
+
});
|
|
380
|
+
}
|
|
381
|
+
_prepareImageUrl(e, t = !1) {
|
|
382
|
+
if (!e || e === "")
|
|
383
|
+
return "";
|
|
384
|
+
const i = !!e.match(/^\w+:\/\//), l = i ? new URL(e) : new URL(`http://noop/${e}`);
|
|
385
|
+
return t ? (l.searchParams.append("blur", "100"), l.searchParams.append("w", "100"), l.searchParams.append("h", "56")) : l.searchParams.append("auto", "format,compress,cs=tinysrgb"), this.customFocalPoint && (l.searchParams.append("fit", "crop"), l.searchParams.append("crop", "focalpoint"), l.searchParams.append("fp-x", this.focalPointX.toString(10)), l.searchParams.append("fp-y", this.focalPointY.toString(10)), l.searchParams.append("fp-z", "1")), this.focalPointDebug && l.searchParams.append("fp-debug", "true"), i ? l.href : l.pathname.substring(1) + l.search;
|
|
386
|
+
}
|
|
387
|
+
_preparePictureSizeConfigs() {
|
|
388
|
+
let e;
|
|
389
|
+
return this.pictureSizesConfig ? e = this.pictureSizesConfig : e = `{
|
|
99
390
|
"breakpoints": [
|
|
100
391
|
{
|
|
101
392
|
"image": {
|
|
@@ -146,25 +437,25 @@ let a = class extends _ {
|
|
|
146
437
|
]
|
|
147
438
|
}
|
|
148
439
|
]
|
|
149
|
-
}`,
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
440
|
+
}`, be(e);
|
|
441
|
+
}
|
|
442
|
+
_createMediaQueryString(e) {
|
|
443
|
+
let t = "";
|
|
444
|
+
return e.forEach((i) => {
|
|
445
|
+
const l = i.conditionFeature;
|
|
446
|
+
let O;
|
|
447
|
+
i.conditionFeatureValue.lyneDesignToken ? O = this._matchMediaQueryDesignToken(i.conditionFeatureValue.value) : O = i.conditionFeatureValue.value;
|
|
448
|
+
const f = i.conditionOperator ? ` ${i.conditionOperator} ` : "";
|
|
449
|
+
t += `(${l}: ${O})${f}`;
|
|
450
|
+
}), t;
|
|
451
|
+
}
|
|
452
|
+
_imageLoaded() {
|
|
453
|
+
this._logPerformanceMarks(), this.toggleAttribute("data-loaded", !0), this.dispatchEvent(new Event("load"));
|
|
454
|
+
}
|
|
455
|
+
render() {
|
|
456
|
+
let { caption: e } = this, t = "";
|
|
457
|
+
const i = this._prepareImageUrl(this.imageSrc, !0), l = this._prepareImageUrl(this.imageSrc, !1);
|
|
458
|
+
this.loading === "lazy" && (this.decoding = "async", this.importance = "low"), this.copyright && (e = `${this.caption} ©${this.copyright}`, t = `{
|
|
168
459
|
"@context": "https://schema.org",
|
|
169
460
|
"@type": "Photograph",
|
|
170
461
|
"image": "${this.imageSrc}",
|
|
@@ -173,32 +464,32 @@ let a = class extends _ {
|
|
|
173
464
|
"name": "${this.copyright}"
|
|
174
465
|
}
|
|
175
466
|
}`);
|
|
176
|
-
|
|
177
|
-
|
|
467
|
+
const O = this._preparePictureSizeConfigs();
|
|
468
|
+
return T`
|
|
178
469
|
<figure class="sbb-image__figure">
|
|
179
470
|
<div class="sbb-image__wrapper">
|
|
180
|
-
${this.skipLqip ?
|
|
471
|
+
${this.skipLqip ? _ : T`<img
|
|
181
472
|
alt=""
|
|
182
473
|
class="sbb-image__blurred"
|
|
183
|
-
src=${
|
|
474
|
+
src=${i}
|
|
184
475
|
width="1000"
|
|
185
476
|
height="562"
|
|
186
|
-
loading=${this.loading ??
|
|
187
|
-
decoding=${this.decoding ??
|
|
477
|
+
loading=${this.loading ?? _}
|
|
478
|
+
decoding=${this.decoding ?? _}
|
|
188
479
|
/>`}
|
|
189
480
|
|
|
190
481
|
<picture>
|
|
191
482
|
<!-- render picture element sources -->
|
|
192
|
-
${
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
media=${`${
|
|
197
|
-
sizes=${`${
|
|
198
|
-
srcset=${`${
|
|
483
|
+
${O.map((f) => {
|
|
484
|
+
const Ot = f.image.height, q = f.image.width, Yt = this._createMediaQueryString(f.mediaQueries);
|
|
485
|
+
return [
|
|
486
|
+
T` <source
|
|
487
|
+
media=${`${Yt}`}
|
|
488
|
+
sizes=${`${q}px`}
|
|
489
|
+
srcset=${`${l}&w=${q}&h=${Ot}&q=${this._config.nonRetinaQuality} ${q}w, ${l}&w=${q * 2}&h=${Ot * 2}&q=${this._config.retinaQuality} ${q * 2}w`}
|
|
199
490
|
></source>`
|
|
200
|
-
|
|
201
|
-
|
|
491
|
+
];
|
|
492
|
+
})}
|
|
202
493
|
<img
|
|
203
494
|
alt=${this.alt || ""}
|
|
204
495
|
@load=${this._imageLoaded}
|
|
@@ -207,86 +498,65 @@ let a = class extends _ {
|
|
|
207
498
|
src=${this.imageSrc}
|
|
208
499
|
width="1000"
|
|
209
500
|
height="562"
|
|
210
|
-
loading=${this.loading ??
|
|
211
|
-
decoding=${this.decoding ??
|
|
212
|
-
.fetchPriority=${this.importance ??
|
|
501
|
+
loading=${this.loading ?? _}
|
|
502
|
+
decoding=${this.decoding ?? _}
|
|
503
|
+
.fetchPriority=${this.importance ?? _}
|
|
213
504
|
/>
|
|
214
505
|
</picture>
|
|
215
506
|
</div>
|
|
216
|
-
${e ?
|
|
507
|
+
${e ? T`<figcaption
|
|
217
508
|
class="sbb-image__caption"
|
|
218
509
|
.innerHTML=${e}
|
|
219
|
-
${
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
></figcaption>` :
|
|
223
|
-
${t ?
|
|
510
|
+
${Wt((f) => {
|
|
511
|
+
this._captionElement = f;
|
|
512
|
+
})}
|
|
513
|
+
></figcaption>` : _}
|
|
514
|
+
${t ? T(Xt || (Xt = me(['<script type="application/ld+json" .innerHTML=', "><\/script>"])), t) : _}
|
|
224
515
|
</figure>
|
|
225
516
|
`;
|
|
226
|
-
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
o(
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
o(
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
o(
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
o(
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
o(
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
o(
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
o([
|
|
270
|
-
s()
|
|
271
|
-
], a.prototype, "loading", 2);
|
|
272
|
-
o([
|
|
273
|
-
s({ attribute: "performance-mark" })
|
|
274
|
-
], a.prototype, "performanceMark", 2);
|
|
275
|
-
o([
|
|
276
|
-
s({ attribute: "picture-sizes-config" })
|
|
277
|
-
], a.prototype, "pictureSizesConfig", 2);
|
|
278
|
-
o([
|
|
279
|
-
s({ attribute: "border-radius", reflect: !0 })
|
|
280
|
-
], a.prototype, "borderRadius", 2);
|
|
281
|
-
o([
|
|
282
|
-
s({ attribute: "aspect-ratio", reflect: !0 })
|
|
283
|
-
], a.prototype, "aspectRatio", 2);
|
|
284
|
-
o([
|
|
285
|
-
k(H)
|
|
286
|
-
], a.prototype, "_imageLoaded", 1);
|
|
287
|
-
a = o([
|
|
288
|
-
v("sbb-image")
|
|
289
|
-
], a);
|
|
517
|
+
}
|
|
518
|
+
}, y = new WeakMap(), z = new WeakMap(), P = new WeakMap(), v = new WeakMap(), x = new WeakMap(), S = new WeakMap(), $ = new WeakMap(), M = new WeakMap(), w = new WeakMap(), I = new WeakMap(), L = new WeakMap(), C = new WeakMap(), R = new WeakMap(), D = new WeakMap(), F = new WeakMap(), B = new WeakMap(), E = new WeakMap(), b = o, (() => {
|
|
519
|
+
const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(Q[Symbol.metadata] ?? null) : void 0;
|
|
520
|
+
H = [u(), d()], Y = [u(), d({ attribute: "skip-lqip", type: Boolean, reflect: !0 })], V = [u(), d()], N = [u(), d()], J = [d({ attribute: "copyright-holder" })], it = [u(), d({ attribute: "custom-focal-point", type: Boolean })], rt = [d()], ct = [u(), d({ attribute: "focal-point-debug", type: Boolean })], ht = [u(), d({ attribute: "focal-point-x", type: Number })], mt = [u(), d({ attribute: "focal-point-y", type: Number })], _t = [u(), d({ attribute: "image-src" })], yt = [d()], vt = [d()], $t = [u(), d({ attribute: "performance-mark" })], It = [u(), d({ attribute: "picture-sizes-config" })], Rt = [d({ attribute: "border-radius", reflect: !0 })], Bt = [d({ attribute: "aspect-ratio", reflect: !0 })], Ht = [Kt(ue)], c(o, null, H, { kind: "accessor", name: "alt", static: !1, private: !1, access: { has: (t) => "alt" in t, get: (t) => t.alt, set: (t, i) => {
|
|
521
|
+
t.alt = i;
|
|
522
|
+
} }, metadata: e }, k, X), c(o, null, Y, { kind: "accessor", name: "skipLqip", static: !1, private: !1, access: { has: (t) => "skipLqip" in t, get: (t) => t.skipLqip, set: (t, i) => {
|
|
523
|
+
t.skipLqip = i;
|
|
524
|
+
} }, metadata: e }, A, U), c(o, null, V, { kind: "accessor", name: "caption", static: !1, private: !1, access: { has: (t) => "caption" in t, get: (t) => t.caption, set: (t, i) => {
|
|
525
|
+
t.caption = i;
|
|
526
|
+
} }, metadata: e }, K, W), c(o, null, N, { kind: "accessor", name: "copyright", static: !1, private: !1, access: { has: (t) => "copyright" in t, get: (t) => t.copyright, set: (t, i) => {
|
|
527
|
+
t.copyright = i;
|
|
528
|
+
} }, metadata: e }, Z, G), c(o, null, J, { kind: "accessor", name: "copyrightHolder", static: !1, private: !1, access: { has: (t) => "copyrightHolder" in t, get: (t) => t.copyrightHolder, set: (t, i) => {
|
|
529
|
+
t.copyrightHolder = i;
|
|
530
|
+
} }, metadata: e }, tt, et), c(o, null, it, { kind: "accessor", name: "customFocalPoint", static: !1, private: !1, access: { has: (t) => "customFocalPoint" in t, get: (t) => t.customFocalPoint, set: (t, i) => {
|
|
531
|
+
t.customFocalPoint = i;
|
|
532
|
+
} }, metadata: e }, at, st), c(o, null, rt, { kind: "accessor", name: "decoding", static: !1, private: !1, access: { has: (t) => "decoding" in t, get: (t) => t.decoding, set: (t, i) => {
|
|
533
|
+
t.decoding = i;
|
|
534
|
+
} }, metadata: e }, ot, nt), c(o, null, ct, { kind: "accessor", name: "focalPointDebug", static: !1, private: !1, access: { has: (t) => "focalPointDebug" in t, get: (t) => t.focalPointDebug, set: (t, i) => {
|
|
535
|
+
t.focalPointDebug = i;
|
|
536
|
+
} }, metadata: e }, lt, pt), c(o, null, ht, { kind: "accessor", name: "focalPointX", static: !1, private: !1, access: { has: (t) => "focalPointX" in t, get: (t) => t.focalPointX, set: (t, i) => {
|
|
537
|
+
t.focalPointX = i;
|
|
538
|
+
} }, metadata: e }, dt, gt), c(o, null, mt, { kind: "accessor", name: "focalPointY", static: !1, private: !1, access: { has: (t) => "focalPointY" in t, get: (t) => t.focalPointY, set: (t, i) => {
|
|
539
|
+
t.focalPointY = i;
|
|
540
|
+
} }, metadata: e }, bt, ut), c(o, null, _t, { kind: "accessor", name: "imageSrc", static: !1, private: !1, access: { has: (t) => "imageSrc" in t, get: (t) => t.imageSrc, set: (t, i) => {
|
|
541
|
+
t.imageSrc = i;
|
|
542
|
+
} }, metadata: e }, ft, kt), c(o, null, yt, { kind: "accessor", name: "importance", static: !1, private: !1, access: { has: (t) => "importance" in t, get: (t) => t.importance, set: (t, i) => {
|
|
543
|
+
t.importance = i;
|
|
544
|
+
} }, metadata: e }, zt, Pt), c(o, null, vt, { kind: "accessor", name: "loading", static: !1, private: !1, access: { has: (t) => "loading" in t, get: (t) => t.loading, set: (t, i) => {
|
|
545
|
+
t.loading = i;
|
|
546
|
+
} }, metadata: e }, xt, St), c(o, null, $t, { kind: "accessor", name: "performanceMark", static: !1, private: !1, access: { has: (t) => "performanceMark" in t, get: (t) => t.performanceMark, set: (t, i) => {
|
|
547
|
+
t.performanceMark = i;
|
|
548
|
+
} }, metadata: e }, Mt, wt), c(o, null, It, { kind: "accessor", name: "pictureSizesConfig", static: !1, private: !1, access: { has: (t) => "pictureSizesConfig" in t, get: (t) => t.pictureSizesConfig, set: (t, i) => {
|
|
549
|
+
t.pictureSizesConfig = i;
|
|
550
|
+
} }, metadata: e }, Lt, Ct), c(o, null, Rt, { kind: "accessor", name: "borderRadius", static: !1, private: !1, access: { has: (t) => "borderRadius" in t, get: (t) => t.borderRadius, set: (t, i) => {
|
|
551
|
+
t.borderRadius = i;
|
|
552
|
+
} }, metadata: e }, Dt, Ft), c(o, null, Bt, { kind: "accessor", name: "aspectRatio", static: !1, private: !1, access: { has: (t) => "aspectRatio" in t, get: (t) => t.aspectRatio, set: (t, i) => {
|
|
553
|
+
t.aspectRatio = i;
|
|
554
|
+
} }, metadata: e }, Et, Qt), c(o, null, Ht, { kind: "method", name: "_imageLoaded", static: !1, private: !1, access: { has: (t) => "_imageLoaded" in t, get: (t) => t._imageLoaded }, metadata: e }, null, j), c(null, n = { value: b }, r, { kind: "class", name: b.name, metadata: e }, null, g), b = n.value, e && Object.defineProperty(b, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: e });
|
|
555
|
+
})(), o.styles = de, o.events = {
|
|
556
|
+
error: "error",
|
|
557
|
+
load: "load"
|
|
558
|
+
}, a(b, g), b;
|
|
559
|
+
})();
|
|
290
560
|
export {
|
|
291
|
-
|
|
561
|
+
$e as SbbImageElement
|
|
292
562
|
};
|