@sbb-esta/lyne-elements 1.13.0 → 1.14.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.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 +30 -34
- 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 +644 -699
- 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/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 +1 -2
- package/core/mixins/required-mixin.d.ts.map +1 -1
- package/core/mixins.js +290 -237
- package/core/testing/private.d.ts +1 -0
- package/core/testing/private.d.ts.map +1 -1
- package/core/testing.js +7 -13
- package/custom-elements.json +15974 -15154
- 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 +74 -75
- 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 +50 -29
- 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 +38 -37
- 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 +774 -773
- 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/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 +1 -2
- package/development/core/mixins/required-mixin.d.ts.map +1 -1
- package/development/core/mixins.js +573 -475
- 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 +32 -32
- package/development/datepicker/datepicker-previous-day/datepicker-previous-day.d.ts.map +1 -1
- package/development/datepicker/datepicker-previous-day.js +32 -32
- 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 +1 -1
- 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 +8 -7
- package/development/file-selector/file-selector.d.ts.map +1 -1
- package/development/file-selector.js +295 -198
- 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 +50 -50
- 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 +44 -24
- 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 +82 -40
- 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 -541
- 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 +28 -29
- 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 +5 -4
- package/development/select/select.d.ts.map +1 -1
- package/development/select.js +555 -555
- 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 +5 -4
- package/development/slider/slider.d.ts.map +1 -1
- package/development/slider.js +260 -184
- 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 +1 -1
- 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 +8 -7
- package/file-selector/file-selector.d.ts.map +1 -1
- package/file-selector.js +224 -174
- 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 +18 -2
- 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 -265
- 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 +5 -4
- package/select/select.d.ts.map +1 -1
- package/select.js +377 -401
- 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 +5 -4
- package/slider/slider.d.ts.map +1 -1
- package/slider.js +197 -158
- 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/core/mixins.js
CHANGED
|
@@ -1,23 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { hostAttributes as k } from "./decorators.js";
|
|
4
|
-
import { preventScrollOnSpacebarPress as f, EventEmitter as w } from "./eventing.js";
|
|
5
|
-
import "../screen-reader-only.js";
|
|
6
|
-
var S = Object.defineProperty, E = Object.getOwnPropertyDescriptor, x = (n, s, r, t) => {
|
|
7
|
-
for (var e = t > 1 ? void 0 : t ? E(s, r) : s, i = n.length - 1, a; i >= 0; i--)
|
|
8
|
-
(a = n[i]) && (e = (t ? a(s, r, e) : a(e)) || e);
|
|
9
|
-
return t && e && S(s, r, e), e;
|
|
1
|
+
var A = (r) => {
|
|
2
|
+
throw TypeError(r);
|
|
10
3
|
};
|
|
11
|
-
|
|
12
|
-
|
|
4
|
+
var R = (r, c, l) => c.has(r) || A("Cannot " + l);
|
|
5
|
+
var x = (r, c, l) => (R(r, c, "read from private field"), l ? l.call(r) : c.get(r)), k = (r, c, l) => c.has(r) ? A("Cannot add the same private member more than once") : c instanceof WeakSet ? c.add(r) : c.set(r, l), _ = (r, c, l, a) => (R(r, c, "write to private field"), a ? a.call(r, l) : c.set(r, l), l);
|
|
6
|
+
import { __esDecorate as g, __runInitializers as v } from "tslib";
|
|
7
|
+
import { property as S, state as L } from "lit/decorators.js";
|
|
8
|
+
import { forceType as w, getOverride as $, hostAttributes as j } from "./decorators.js";
|
|
9
|
+
import { defaultConverter as z, html as E, nothing as I, css as N } from "lit";
|
|
10
|
+
import { preventScrollOnSpacebarPress as O, EventEmitter as B } from "./eventing.js";
|
|
11
|
+
import "../screen-reader-only.js";
|
|
12
|
+
const D = (r) => (() => {
|
|
13
|
+
var o, s;
|
|
14
|
+
let l = r, a, u = [], n = [];
|
|
15
|
+
return s = class extends l {
|
|
13
16
|
constructor() {
|
|
14
|
-
super(...arguments)
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
this._disabled = !!t;
|
|
17
|
+
super(...arguments);
|
|
18
|
+
k(this, o, v(this, u, !1));
|
|
19
|
+
v(this, n);
|
|
18
20
|
}
|
|
21
|
+
/** Whether the component is disabled. */
|
|
19
22
|
get disabled() {
|
|
20
|
-
return this
|
|
23
|
+
return x(this, o);
|
|
24
|
+
}
|
|
25
|
+
set disabled(t) {
|
|
26
|
+
_(this, o, t);
|
|
21
27
|
}
|
|
22
28
|
/**
|
|
23
29
|
* Will be used as 'or' check to the current disabled state.
|
|
@@ -26,43 +32,56 @@ const p = (n) => {
|
|
|
26
32
|
isDisabledExternally() {
|
|
27
33
|
return !1;
|
|
28
34
|
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
},
|
|
34
|
-
|
|
35
|
+
}, o = new WeakMap(), (() => {
|
|
36
|
+
const t = typeof Symbol == "function" && Symbol.metadata ? Object.create(l[Symbol.metadata] ?? null) : void 0;
|
|
37
|
+
a = [w(), S({ reflect: !0, type: Boolean }), $((e, i) => i || e.isDisabledExternally())], g(s, null, a, { kind: "accessor", name: "disabled", static: !1, private: !1, access: { has: (e) => "disabled" in e, get: (e) => e.disabled, set: (e, i) => {
|
|
38
|
+
e.disabled = i;
|
|
39
|
+
} }, metadata: t }, u, n), t && Object.defineProperty(s, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: t });
|
|
40
|
+
})(), s;
|
|
41
|
+
})(), P = (r) => (() => {
|
|
42
|
+
var o, s;
|
|
43
|
+
let l = r, a, u = [], n = [];
|
|
44
|
+
return s = class extends l {
|
|
35
45
|
constructor() {
|
|
36
|
-
super(...arguments)
|
|
46
|
+
super(...arguments);
|
|
47
|
+
k(this, o, v(this, u, !1));
|
|
48
|
+
v(this, n);
|
|
49
|
+
}
|
|
50
|
+
/** Whether disabled buttons should be interactive. */
|
|
51
|
+
get disabledInteractive() {
|
|
52
|
+
return x(this, o);
|
|
53
|
+
}
|
|
54
|
+
set disabledInteractive(t) {
|
|
55
|
+
_(this, o, t);
|
|
56
|
+
}
|
|
57
|
+
}, o = new WeakMap(), (() => {
|
|
58
|
+
const t = typeof Symbol == "function" && Symbol.metadata ? Object.create(l[Symbol.metadata] ?? null) : void 0;
|
|
59
|
+
a = [w(), S({ attribute: "disabled-interactive", type: Boolean })], g(s, null, a, { kind: "accessor", name: "disabledInteractive", static: !1, private: !1, access: { has: (e) => "disabledInteractive" in e, get: (e) => e.disabledInteractive, set: (e, i) => {
|
|
60
|
+
e.disabledInteractive = i;
|
|
61
|
+
} }, metadata: t }, u, n), t && Object.defineProperty(s, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: t });
|
|
62
|
+
})(), s;
|
|
63
|
+
})(), Z = (r) => {
|
|
64
|
+
class c extends P(D(r)) {
|
|
65
|
+
willUpdate(a) {
|
|
66
|
+
super.willUpdate(a), !(!a.has("disabled") && !a.has("disabledInteractive")) && (!this.disabled || this.disabledInteractive ? this.setAttribute("tabindex", "0") : this.removeAttribute("tabindex"), this.disabled ? this.setAttribute("aria-disabled", "true") : this.removeAttribute("aria-disabled"));
|
|
37
67
|
}
|
|
38
68
|
}
|
|
39
|
-
return
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
willUpdate(t) {
|
|
45
|
-
super.willUpdate(t), !(!t.has("disabled") && !t.has("disabledInteractive")) && (!this.disabled || this.disabledInteractive ? this.setAttribute("tabindex", "0") : this.removeAttribute("tabindex"), this.disabled ? this.setAttribute("aria-disabled", "true") : this.removeAttribute("aria-disabled"));
|
|
69
|
+
return c;
|
|
70
|
+
}, ee = (r) => {
|
|
71
|
+
class c extends D(r) {
|
|
72
|
+
willUpdate(a) {
|
|
73
|
+
super.willUpdate(a), a.has("disabled") && (this.disabled ? this.setAttribute("aria-disabled", "true") : this.removeAttribute("aria-disabled"));
|
|
46
74
|
}
|
|
47
75
|
}
|
|
48
|
-
return
|
|
49
|
-
},
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
return s;
|
|
56
|
-
};
|
|
57
|
-
var P = Object.defineProperty, O = Object.getOwnPropertyDescriptor, h = (n, s, r, t) => {
|
|
58
|
-
for (var e = t > 1 ? void 0 : t ? O(s, r) : s, i = n.length - 1, a; i >= 0; i--)
|
|
59
|
-
(a = n[i]) && (e = (t ? a(s, r, e) : a(e)) || e);
|
|
60
|
-
return t && e && P(s, r, e), e;
|
|
61
|
-
};
|
|
62
|
-
const R = (n) => {
|
|
63
|
-
const r = class r extends n {
|
|
76
|
+
return c;
|
|
77
|
+
}, V = (r) => (() => {
|
|
78
|
+
var h, t;
|
|
79
|
+
let l = r, a = [], u, n, o, s = [], m = [];
|
|
80
|
+
return t = class extends l {
|
|
64
81
|
constructor() {
|
|
65
|
-
super(...arguments)
|
|
82
|
+
super(...arguments);
|
|
83
|
+
k(this, h);
|
|
84
|
+
this._value = (v(this, a), null), this.internals = this.attachInternals(), _(this, h, v(this, s, !1)), v(this, m);
|
|
66
85
|
}
|
|
67
86
|
/**
|
|
68
87
|
* Returns the form owner of the internals of the target element.
|
|
@@ -70,8 +89,14 @@ const R = (n) => {
|
|
|
70
89
|
get form() {
|
|
71
90
|
return this.internals.form;
|
|
72
91
|
}
|
|
73
|
-
|
|
74
|
-
|
|
92
|
+
/**
|
|
93
|
+
* Name of the form element. Will be read from name attribute.
|
|
94
|
+
*
|
|
95
|
+
* @description Developer note: In this case updating the attribute must be synchronous.
|
|
96
|
+
* Due to this it is implemented as a getter/setter and the attributeChangedCallback() handles the diff check.
|
|
97
|
+
*/
|
|
98
|
+
set name(d) {
|
|
99
|
+
this.setAttribute("name", `${d}`), this.updateFormValue();
|
|
75
100
|
}
|
|
76
101
|
get name() {
|
|
77
102
|
return this.getAttribute("name") ?? "";
|
|
@@ -80,8 +105,9 @@ const R = (n) => {
|
|
|
80
105
|
get type() {
|
|
81
106
|
return this.localName;
|
|
82
107
|
}
|
|
83
|
-
|
|
84
|
-
|
|
108
|
+
/** Value of the form element. */
|
|
109
|
+
set value(d) {
|
|
110
|
+
this._value = d, this.updateFormValue();
|
|
85
111
|
}
|
|
86
112
|
get value() {
|
|
87
113
|
return this._value;
|
|
@@ -112,8 +138,15 @@ const R = (n) => {
|
|
|
112
138
|
get willValidate() {
|
|
113
139
|
return this.internals.willValidate;
|
|
114
140
|
}
|
|
115
|
-
|
|
116
|
-
|
|
141
|
+
/** Whenever a surrounding form or fieldset is changing its disabled state. */
|
|
142
|
+
get formDisabled() {
|
|
143
|
+
return x(this, h);
|
|
144
|
+
}
|
|
145
|
+
set formDisabled(d) {
|
|
146
|
+
_(this, h, d);
|
|
147
|
+
}
|
|
148
|
+
attributeChangedCallback(d, b, p) {
|
|
149
|
+
(d !== "name" || b !== p) && super.attributeChangedCallback(d, b, p);
|
|
117
150
|
}
|
|
118
151
|
/**
|
|
119
152
|
* Returns true if internals target element has no validity problems; false otherwise.
|
|
@@ -140,40 +173,37 @@ const R = (n) => {
|
|
|
140
173
|
*
|
|
141
174
|
* @internal
|
|
142
175
|
*/
|
|
143
|
-
formDisabledCallback(
|
|
176
|
+
formDisabledCallback(d) {
|
|
144
177
|
Promise.resolve().then(() => {
|
|
145
|
-
this.formDisabled =
|
|
178
|
+
this.formDisabled = d;
|
|
146
179
|
});
|
|
147
180
|
}
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
}
|
|
159
|
-
var
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
return e && A(s, r, e), e;
|
|
163
|
-
};
|
|
164
|
-
const M = (n) => {
|
|
165
|
-
class s extends n {
|
|
181
|
+
}, h = new WeakMap(), (() => {
|
|
182
|
+
const d = typeof Symbol == "function" && Symbol.metadata ? Object.create(l[Symbol.metadata] ?? null) : void 0;
|
|
183
|
+
u = [S()], n = [S()], o = [L()], g(t, null, u, { kind: "setter", name: "name", static: !1, private: !1, access: { has: (b) => "name" in b, set: (b, p) => {
|
|
184
|
+
b.name = p;
|
|
185
|
+
} }, metadata: d }, null, a), g(t, null, n, { kind: "setter", name: "value", static: !1, private: !1, access: { has: (b) => "value" in b, set: (b, p) => {
|
|
186
|
+
b.value = p;
|
|
187
|
+
} }, metadata: d }, null, a), g(t, null, o, { kind: "accessor", name: "formDisabled", static: !1, private: !1, access: { has: (b) => "formDisabled" in b, get: (b) => b.formDisabled, set: (b, p) => {
|
|
188
|
+
b.formDisabled = p;
|
|
189
|
+
} }, metadata: d }, s, m), d && Object.defineProperty(t, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: d });
|
|
190
|
+
})(), t.formAssociated = !0, t;
|
|
191
|
+
})(), H = (r) => (() => {
|
|
192
|
+
var n;
|
|
193
|
+
let l = r, a = [], u;
|
|
194
|
+
return n = class extends l {
|
|
166
195
|
constructor() {
|
|
167
|
-
super(...arguments), this._required = !1;
|
|
196
|
+
super(...arguments), this._required = (v(this, a), !1);
|
|
168
197
|
}
|
|
169
|
-
|
|
170
|
-
|
|
198
|
+
/** Whether the component is required. */
|
|
199
|
+
set required(s) {
|
|
200
|
+
this._required = !!s;
|
|
171
201
|
}
|
|
172
202
|
get required() {
|
|
173
203
|
return this._required || this.isRequiredExternally();
|
|
174
204
|
}
|
|
175
|
-
async willUpdate(
|
|
176
|
-
super.willUpdate(
|
|
205
|
+
async willUpdate(s) {
|
|
206
|
+
super.willUpdate(s), s.has("required") && (this.internals.ariaRequired = `${this.required}`);
|
|
177
207
|
}
|
|
178
208
|
/**
|
|
179
209
|
* Will be used as 'or' check to the current required state.
|
|
@@ -182,41 +212,42 @@ const M = (n) => {
|
|
|
182
212
|
isRequiredExternally() {
|
|
183
213
|
return !1;
|
|
184
214
|
}
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
};
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
var r;
|
|
202
|
-
this.disabled || ((r = this.withUserInteraction) == null || r.call(this), this.checked = !this.checked, this._attributeMutationBlocked = !0, this.dispatchEvent(new InputEvent("input", { composed: !0, bubbles: !0 })), this.dispatchEvent(new Event("change", { bubbles: !0 })), this.dispatchEvent(new CustomEvent("didChange", { bubbles: !0 })));
|
|
203
|
-
}, this.internals.role = "checkbox";
|
|
204
|
-
}
|
|
205
|
-
set checked(r) {
|
|
206
|
-
const t = typeof r == "object" ? r.attribute : !1;
|
|
207
|
-
t && (r = r.value), this.hasUpdated && !t && (this._attributeMutationBlocked = !0), this._checked = !!r, this.updateFormValue();
|
|
215
|
+
}, (() => {
|
|
216
|
+
const s = typeof Symbol == "function" && Symbol.metadata ? Object.create(l[Symbol.metadata] ?? null) : void 0;
|
|
217
|
+
u = [S({ reflect: !0, type: Boolean })], g(n, null, u, { kind: "setter", name: "required", static: !1, private: !1, access: { has: (m) => "required" in m, set: (m, h) => {
|
|
218
|
+
m.required = h;
|
|
219
|
+
} }, metadata: s }, null, a), s && Object.defineProperty(n, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: s });
|
|
220
|
+
})(), n;
|
|
221
|
+
})(), te = (r) => (() => {
|
|
222
|
+
var h;
|
|
223
|
+
let l = [j({
|
|
224
|
+
tabindex: "0"
|
|
225
|
+
})], a, u = [], n, o = D(H(V(r))), s = [], m;
|
|
226
|
+
return h = class extends o {
|
|
227
|
+
/** Whether the checkbox is checked. */
|
|
228
|
+
set checked(e) {
|
|
229
|
+
const i = typeof e == "object" ? e.attribute : !1;
|
|
230
|
+
i && (e = e.value), this.hasUpdated && !i && (this._attributeMutationBlocked = !0), this._checked = !!e, this.updateFormValue();
|
|
208
231
|
}
|
|
209
232
|
get checked() {
|
|
210
233
|
return this._checked;
|
|
211
234
|
}
|
|
235
|
+
constructor() {
|
|
236
|
+
super(), this._attributeMutationBlocked = (v(this, s), !1), this._checked = !1, this._handleKeyboardInteraction = (e) => {
|
|
237
|
+
e.key === " " && this._handleUserInteraction();
|
|
238
|
+
}, this._handleUserInteraction = () => {
|
|
239
|
+
var e;
|
|
240
|
+
this.disabled || ((e = this.withUserInteraction) == null || e.call(this), this.checked = !this.checked, this._attributeMutationBlocked = !0, this.dispatchEvent(new InputEvent("input", { composed: !0, bubbles: !0 })), this.dispatchEvent(new Event("change", { bubbles: !0 })), this.dispatchEvent(new CustomEvent("didChange", { bubbles: !0 })));
|
|
241
|
+
}, this.internals.role = "checkbox";
|
|
242
|
+
}
|
|
212
243
|
connectedCallback() {
|
|
213
|
-
super.connectedCallback(), this.addEventListener("click", this._handleUserInteraction), this.addEventListener("keydown",
|
|
244
|
+
super.connectedCallback(), this.addEventListener("click", this._handleUserInteraction), this.addEventListener("keydown", O), this.addEventListener("keyup", this._handleKeyboardInteraction);
|
|
214
245
|
}
|
|
215
246
|
disconnectedCallback() {
|
|
216
|
-
super.disconnectedCallback(), this.removeEventListener("click", this._handleUserInteraction), this.removeEventListener("keydown",
|
|
247
|
+
super.disconnectedCallback(), this.removeEventListener("click", this._handleUserInteraction), this.removeEventListener("keydown", O), this.removeEventListener("keyup", this._handleKeyboardInteraction);
|
|
217
248
|
}
|
|
218
|
-
attributeChangedCallback(
|
|
219
|
-
(
|
|
249
|
+
attributeChangedCallback(e, i, d) {
|
|
250
|
+
(e !== "checked" || !this._attributeMutationBlocked) && super.attributeChangedCallback(e, i, d);
|
|
220
251
|
}
|
|
221
252
|
/**
|
|
222
253
|
* Is called whenever the form is being reset.
|
|
@@ -235,51 +266,30 @@ const Q = (n) => {
|
|
|
235
266
|
*
|
|
236
267
|
* @internal
|
|
237
268
|
*/
|
|
238
|
-
formStateRestoreCallback(
|
|
239
|
-
|
|
269
|
+
formStateRestoreCallback(e, i) {
|
|
270
|
+
e && (this.checked = e === "true");
|
|
240
271
|
}
|
|
241
272
|
updateFormValue() {
|
|
242
273
|
this.checked ? this.internals.setFormValue(this.value, `${this.checked}`) : this.internals.setFormValue(null);
|
|
243
274
|
}
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
|
|
275
|
+
}, n = h, (() => {
|
|
276
|
+
const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(o[Symbol.metadata] ?? null) : void 0;
|
|
277
|
+
m = [S({
|
|
247
278
|
type: Boolean,
|
|
248
279
|
converter: {
|
|
249
|
-
...
|
|
280
|
+
...z,
|
|
250
281
|
// We need to pass information to the setter so that we know it was called by attribute change.
|
|
251
|
-
fromAttribute: (
|
|
252
|
-
var
|
|
253
|
-
return { value: (
|
|
282
|
+
fromAttribute: (i, d) => {
|
|
283
|
+
var p, q;
|
|
284
|
+
return { value: (q = (p = z).fromAttribute) == null ? void 0 : q.call(p, i, d), attribute: !0 };
|
|
254
285
|
}
|
|
255
286
|
}
|
|
256
|
-
})
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
}, I = (n) => {
|
|
263
|
-
class s extends n {
|
|
264
|
-
constructor(...t) {
|
|
265
|
-
var e;
|
|
266
|
-
if (super(...t), this._hydrationComplete = new Promise(
|
|
267
|
-
(i) => this._resolveHydration = i
|
|
268
|
-
), this._hydrationRequired = !!this.shadowRoot, !this._hydrationRequired)
|
|
269
|
-
this._resolveHydration(!1);
|
|
270
|
-
else {
|
|
271
|
-
const i = (d) => {
|
|
272
|
-
this._hydrationRequired && d.stopImmediatePropagation();
|
|
273
|
-
}, a = { capture: !0 }, o = (e = this.shadowRoot) == null ? void 0 : e.querySelectorAll("slot");
|
|
274
|
-
o != null && o.length && (o.forEach(
|
|
275
|
-
(d) => d.addEventListener("slotchange", i, a)
|
|
276
|
-
), this.hydrationComplete.then(
|
|
277
|
-
() => o.forEach((d) => {
|
|
278
|
-
d.removeEventListener("slotchange", i, a), d.assignedNodes().length && d.dispatchEvent(new Event("slotchange", { bubbles: !0 }));
|
|
279
|
-
})
|
|
280
|
-
));
|
|
281
|
-
}
|
|
282
|
-
}
|
|
287
|
+
})], g(h, null, m, { kind: "setter", name: "checked", static: !1, private: !1, access: { has: (i) => "checked" in i, set: (i, d) => {
|
|
288
|
+
i.checked = d;
|
|
289
|
+
} }, metadata: e }, null, s), g(null, a = { value: n }, l, { kind: "class", name: n.name, metadata: e }, null, u), n = a.value, e && Object.defineProperty(n, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: e }), v(n, u);
|
|
290
|
+
})(), n;
|
|
291
|
+
})(), F = (r) => {
|
|
292
|
+
class c extends r {
|
|
283
293
|
/**
|
|
284
294
|
* Returns a Promise that resolves when the element has completed hydration.
|
|
285
295
|
* The Promise value is a boolean that is `true` if the element required hydration
|
|
@@ -295,28 +305,46 @@ const Q = (n) => {
|
|
|
295
305
|
get hydrationRequired() {
|
|
296
306
|
return this._hydrationRequired;
|
|
297
307
|
}
|
|
298
|
-
|
|
299
|
-
|
|
308
|
+
constructor(...a) {
|
|
309
|
+
var u;
|
|
310
|
+
if (super(...a), this._hydrationComplete = new Promise((n) => this._resolveHydration = n), this._hydrationRequired = !!this.shadowRoot, !this._hydrationRequired)
|
|
311
|
+
this._resolveHydration(!1);
|
|
312
|
+
else {
|
|
313
|
+
const n = (m) => {
|
|
314
|
+
this._hydrationRequired && m.stopImmediatePropagation();
|
|
315
|
+
}, o = { capture: !0 }, s = (u = this.shadowRoot) == null ? void 0 : u.querySelectorAll("slot");
|
|
316
|
+
s != null && s.length && (s.forEach((m) => m.addEventListener("slotchange", n, o)), this.hydrationComplete.then(() => s.forEach((m) => {
|
|
317
|
+
m.removeEventListener("slotchange", n, o), m.assignedNodes().length && m.dispatchEvent(new Event("slotchange", { bubbles: !0 }));
|
|
318
|
+
})));
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
update(a) {
|
|
322
|
+
super.update(a), this._hydrationRequired && (this._hydrationRequired = !1, this._resolveHydration(!0));
|
|
300
323
|
}
|
|
301
324
|
}
|
|
302
|
-
return
|
|
303
|
-
}
|
|
304
|
-
var
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
return e && B(s, r, e), e;
|
|
308
|
-
};
|
|
309
|
-
const _ = "data-ssr-child-count", g = "li", W = (n) => {
|
|
310
|
-
class s extends I(n) {
|
|
325
|
+
return c;
|
|
326
|
+
}, M = "data-ssr-child-count", U = "li", se = (r) => (() => {
|
|
327
|
+
var o, s;
|
|
328
|
+
let l = F(r), a, u = [], n = [];
|
|
329
|
+
return s = class extends l {
|
|
311
330
|
constructor() {
|
|
312
|
-
super(...arguments)
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
);
|
|
316
|
-
t.length === this.listChildren.length && this.listChildren.every((e, i) => t[i] === e) || (this.listChildren.filter((e) => !t.includes(e)).forEach((e) => e.removeAttribute("slot")), this.listChildren = t, this.listChildren.forEach(
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
331
|
+
super(...arguments);
|
|
332
|
+
k(this, o);
|
|
333
|
+
_(this, o, v(this, u, [])), this._handleSlotchange = (v(this, n), () => {
|
|
334
|
+
const t = Array.from(this.children ?? []).filter((e) => this.listChildLocalNames.includes(e.localName));
|
|
335
|
+
t.length === this.listChildren.length && this.listChildren.every((e, i) => t[i] === e) || (this.listChildren.filter((e) => !t.includes(e)).forEach((e) => e.removeAttribute("slot")), this.listChildren = t, this.listChildren.forEach((e, i) => e.setAttribute("slot", `${U}-${i}`)), this.removeAttribute(M));
|
|
336
|
+
});
|
|
337
|
+
}
|
|
338
|
+
/**
|
|
339
|
+
* A list of children with the defined tag names.
|
|
340
|
+
* This array is only updated if there is an actual change
|
|
341
|
+
* to the child elements.
|
|
342
|
+
*/
|
|
343
|
+
get listChildren() {
|
|
344
|
+
return x(this, o);
|
|
345
|
+
}
|
|
346
|
+
set listChildren(t) {
|
|
347
|
+
_(this, o, t);
|
|
320
348
|
}
|
|
321
349
|
connectedCallback() {
|
|
322
350
|
var t;
|
|
@@ -337,22 +365,20 @@ const _ = "data-ssr-child-count", g = "li", W = (n) => {
|
|
|
337
365
|
*/
|
|
338
366
|
renderList(t = {}, e = {}) {
|
|
339
367
|
const i = this.listSlotEntries(e);
|
|
340
|
-
return i.length >= 2 ?
|
|
368
|
+
return i.length >= 2 ? E`
|
|
341
369
|
<ul
|
|
342
370
|
class=${t.class || this.localName}
|
|
343
|
-
aria-label=${t.ariaLabel ||
|
|
344
|
-
aria-labelledby=${t.ariaLabelledby ||
|
|
371
|
+
aria-label=${t.ariaLabel || I}
|
|
372
|
+
aria-labelledby=${t.ariaLabelledby || I}
|
|
345
373
|
>
|
|
346
|
-
${i.map(
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
<slot name=${a.name}></slot>
|
|
374
|
+
${i.map((d) => E`
|
|
375
|
+
<li aria-hidden=${d.ariaHidden || I}>
|
|
376
|
+
<slot name=${d.name}></slot>
|
|
350
377
|
</li>
|
|
351
|
-
`
|
|
352
|
-
)}
|
|
378
|
+
`)}
|
|
353
379
|
</ul>
|
|
354
380
|
${this.renderHiddenSlot()}
|
|
355
|
-
` : i.length === 1 ?
|
|
381
|
+
` : i.length === 1 ? E`<sbb-screen-reader-only>${t.ariaLabel}</sbb-screen-reader-only>
|
|
356
382
|
<span class=${t.class || this.localName}>
|
|
357
383
|
<span><slot name=${i[0].name}></slot></span>
|
|
358
384
|
</span>
|
|
@@ -368,11 +394,11 @@ const _ = "data-ssr-child-count", g = "li", W = (n) => {
|
|
|
368
394
|
* children to be passed via the `data-ssr-child-count` attribute value.
|
|
369
395
|
*/
|
|
370
396
|
listSlotEntries(t) {
|
|
371
|
-
return (this.listChildren.length ? this.listChildren : Array.from({ length: +(this.getAttribute(
|
|
372
|
-
var
|
|
397
|
+
return (this.listChildren.length ? this.listChildren : Array.from({ length: +(this.getAttribute(M) ?? 0) })).map((i, d) => {
|
|
398
|
+
var b;
|
|
373
399
|
return {
|
|
374
|
-
name: `${
|
|
375
|
-
ariaHidden: ((
|
|
400
|
+
name: `${U}-${d}`,
|
|
401
|
+
ariaHidden: ((b = t == null ? void 0 : t.localNameVisualOnly) == null ? void 0 : b.includes(i.localName)) ?? !1
|
|
376
402
|
};
|
|
377
403
|
});
|
|
378
404
|
}
|
|
@@ -382,87 +408,114 @@ const _ = "data-ssr-child-count", g = "li", W = (n) => {
|
|
|
382
408
|
* the slotchange event, which can be used to assign it to the appropriate named slot.
|
|
383
409
|
*/
|
|
384
410
|
renderHiddenSlot() {
|
|
385
|
-
return
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
};
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
const Y = (n) => {
|
|
398
|
-
class s extends n {
|
|
411
|
+
return E`<span hidden><slot></slot></span>`;
|
|
412
|
+
}
|
|
413
|
+
}, o = new WeakMap(), (() => {
|
|
414
|
+
const t = typeof Symbol == "function" && Symbol.metadata ? Object.create(l[Symbol.metadata] ?? null) : void 0;
|
|
415
|
+
a = [L()], g(s, null, a, { kind: "accessor", name: "listChildren", static: !1, private: !1, access: { has: (e) => "listChildren" in e, get: (e) => e.listChildren, set: (e, i) => {
|
|
416
|
+
e.listChildren = i;
|
|
417
|
+
} }, metadata: t }, u, n), t && Object.defineProperty(s, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: t });
|
|
418
|
+
})(), s;
|
|
419
|
+
})(), ae = (r) => (() => {
|
|
420
|
+
var o, s;
|
|
421
|
+
let l = r, a, u = [], n = [];
|
|
422
|
+
return s = class extends l {
|
|
399
423
|
constructor() {
|
|
400
|
-
super(...arguments)
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
}
|
|
412
|
-
const
|
|
413
|
-
|
|
414
|
-
|
|
424
|
+
super(...arguments);
|
|
425
|
+
k(this, o, v(this, u, !1));
|
|
426
|
+
v(this, n);
|
|
427
|
+
}
|
|
428
|
+
/** Negative coloring variant flag. */
|
|
429
|
+
get negative() {
|
|
430
|
+
return x(this, o);
|
|
431
|
+
}
|
|
432
|
+
set negative(t) {
|
|
433
|
+
_(this, o, t);
|
|
434
|
+
}
|
|
435
|
+
}, o = new WeakMap(), (() => {
|
|
436
|
+
const t = typeof Symbol == "function" && Symbol.metadata ? Object.create(l[Symbol.metadata] ?? null) : void 0;
|
|
437
|
+
a = [w(), S({ reflect: !0, type: Boolean })], g(s, null, a, { kind: "accessor", name: "negative", static: !1, private: !1, access: { has: (e) => "negative" in e, get: (e) => e.negative, set: (e, i) => {
|
|
438
|
+
e.negative = i;
|
|
439
|
+
} }, metadata: t }, u, n), t && Object.defineProperty(s, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: t });
|
|
440
|
+
})(), s;
|
|
441
|
+
})(), ie = (r) => (() => {
|
|
442
|
+
var i, d, b, p;
|
|
443
|
+
let l = r, a, u = [], n = [], o, s = [], m = [], h, t = [], e = [];
|
|
444
|
+
return p = class extends l {
|
|
415
445
|
constructor() {
|
|
416
|
-
super(...arguments)
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
);
|
|
446
|
+
super(...arguments);
|
|
447
|
+
k(this, i);
|
|
448
|
+
k(this, d);
|
|
449
|
+
k(this, b);
|
|
450
|
+
_(this, i, v(this, u, "white")), _(this, d, (v(this, n), v(this, s, !1))), _(this, b, (v(this, m), v(this, t, ""))), this._panelConnected = (v(this, e), new B(this, p.events.panelConnected, { bubbles: !0 }));
|
|
451
|
+
}
|
|
452
|
+
/** The background color of the panel. */
|
|
453
|
+
get color() {
|
|
454
|
+
return x(this, i);
|
|
455
|
+
}
|
|
456
|
+
set color(y) {
|
|
457
|
+
_(this, i, y);
|
|
458
|
+
}
|
|
459
|
+
/** Whether the unselected panel has a border. */
|
|
460
|
+
get borderless() {
|
|
461
|
+
return x(this, d);
|
|
462
|
+
}
|
|
463
|
+
set borderless(y) {
|
|
464
|
+
_(this, d, y);
|
|
465
|
+
}
|
|
466
|
+
/** @internal used for accessibility label when in expansion panel */
|
|
467
|
+
get expansionState() {
|
|
468
|
+
return x(this, b);
|
|
469
|
+
}
|
|
470
|
+
set expansionState(y) {
|
|
471
|
+
_(this, b, y);
|
|
421
472
|
}
|
|
422
473
|
connectedCallback() {
|
|
423
474
|
super.connectedCallback(), this._panelConnected.emit();
|
|
424
475
|
}
|
|
425
|
-
},
|
|
476
|
+
}, i = new WeakMap(), d = new WeakMap(), b = new WeakMap(), (() => {
|
|
477
|
+
const y = typeof Symbol == "function" && Symbol.metadata ? Object.create(l[Symbol.metadata] ?? null) : void 0;
|
|
478
|
+
a = [S()], o = [w(), S({ reflect: !0, type: Boolean })], h = [w(), S()], g(p, null, a, { kind: "accessor", name: "color", static: !1, private: !1, access: { has: (f) => "color" in f, get: (f) => f.color, set: (f, C) => {
|
|
479
|
+
f.color = C;
|
|
480
|
+
} }, metadata: y }, u, n), g(p, null, o, { kind: "accessor", name: "borderless", static: !1, private: !1, access: { has: (f) => "borderless" in f, get: (f) => f.borderless, set: (f, C) => {
|
|
481
|
+
f.borderless = C;
|
|
482
|
+
} }, metadata: y }, s, m), g(p, null, h, { kind: "accessor", name: "expansionState", static: !1, private: !1, access: { has: (f) => "expansionState" in f, get: (f) => f.expansionState, set: (f, C) => {
|
|
483
|
+
f.expansionState = C;
|
|
484
|
+
} }, metadata: y }, t, e), y && Object.defineProperty(p, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: y });
|
|
485
|
+
})(), p.events = {
|
|
426
486
|
panelConnected: "panelConnected"
|
|
427
|
-
},
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
], s.prototype, "color"), u([
|
|
431
|
-
l({ reflect: !0, type: Boolean })
|
|
432
|
-
], s.prototype, "borderless"), u([
|
|
433
|
-
l()
|
|
434
|
-
], s.prototype, "expansionState"), s;
|
|
435
|
-
}, ee = (n) => {
|
|
436
|
-
class s extends n {
|
|
487
|
+
}, p;
|
|
488
|
+
})(), re = (r) => {
|
|
489
|
+
class c extends r {
|
|
437
490
|
constructor() {
|
|
438
491
|
super(...arguments), this._updatePromise = Promise.resolve(), this._updateResolve = () => {
|
|
439
492
|
};
|
|
440
493
|
}
|
|
441
494
|
startUpdate() {
|
|
442
|
-
this._updatePromise = new Promise((
|
|
495
|
+
this._updatePromise = new Promise((a) => this._updateResolve = a);
|
|
443
496
|
}
|
|
444
497
|
completeUpdate() {
|
|
445
498
|
this._updateResolve();
|
|
446
499
|
}
|
|
447
500
|
async getUpdateComplete() {
|
|
448
|
-
const
|
|
449
|
-
return await this._updatePromise,
|
|
501
|
+
const a = await super.getUpdateComplete();
|
|
502
|
+
return await this._updatePromise, a;
|
|
450
503
|
}
|
|
451
504
|
}
|
|
452
|
-
return
|
|
453
|
-
},
|
|
505
|
+
return c;
|
|
506
|
+
}, ne = N`:host{--sbb-selection-panel-background: var( --sbb-selection-expansion-panel-inner-background, var(--sbb-color-white) );--sbb-selection-panel-border-color: var(--sbb-color-cloud);--sbb-selection-panel-border-radius: var( --sbb-selection-expansion-panel-border-radius, var(--sbb-border-radius-4x) );--sbb-selection-panel-border-width: var( --sbb-selection-expansion-panel-inner-border-width, var(--sbb-border-width-1x) );--sbb-selection-panel-input-padding: var(--sbb-spacing-responsive-xs) var(--sbb-spacing-responsive-xxs);--sbb-selection-panel-animation-duration: var( --sbb-disable-animation-zero-time, var(--sbb-animation-duration-4x) );--sbb-selection-panel-cursor: pointer;--sbb-selection-panel-suffix-color: var(--sbb-color-charcoal);--sbb-selection-panel-subtext-color: var(--sbb-color-granite);display:block;outline:none!important}:host([size=s]){--sbb-selection-panel-input-padding: var(--sbb-spacing-responsive-xxs) var(--sbb-spacing-responsive-xxxs)}:host([color=milk]){--sbb-selection-panel-background: var( --sbb-selection-expansion-panel-inner-background, var(--sbb-color-milk) )}:host([borderless]:not([data-checked])){--sbb-selection-panel-border-color: transparent}:host(:is([data-checked]):not(:disabled,[disabled])){--sbb-selection-panel-border-color: var(--sbb-color-charcoal);--sbb-selection-panel-border-width: var( --sbb-selection-expansion-panel-inner-border-width, var(--sbb-border-width-2x) )}:host(:is(:disabled,[disabled])){--sbb-selection-panel-cursor: default}.sbb-selection-panel{display:block;cursor:var(--sbb-selection-panel-cursor);position:relative;border-radius:var(--sbb-selection-panel-border-radius);box-shadow:inset 0 0 0 var(--sbb-selection-panel-border-width) var(--sbb-selection-panel-border-color);padding:var(--sbb-selection-panel-input-padding);background-color:var(--sbb-selection-panel-background);transition-duration:var(--sbb-selection-panel-animation-duration);transition-timing-function:var(--sbb-animation-easing);transition-property:box-shadow}@media (forced-colors: active){.sbb-selection-panel:after{content:"";display:block;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;border:var(--sbb-selection-panel-border-width) solid var(--sbb-selection-panel-border-color);border-radius:var(--sbb-selection-panel-border-radius)}}:host(:focus-visible) .sbb-selection-panel{outline-offset:var(--sbb-focus-outline-offset);outline:var(--sbb-focus-outline-color) solid var(--sbb-focus-outline-width)}.sbb-selection-panel__badge{-webkit-user-select:none;user-select:none;pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0;border-radius:var(--sbb-selection-panel-border-radius);overflow:hidden}slot[name=suffix]{color:var(--sbb-selection-panel-suffix-color)}slot[name=subtext]{display:block;color:var(--sbb-selection-panel-subtext-color);padding-inline-start:var(--sbb-spacing-fixed-8x)}:host(:not([data-slot-names~=subtext])) slot[name=subtext]{display:none}`;
|
|
454
507
|
export {
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
508
|
+
P as SbbDisabledInteractiveMixin,
|
|
509
|
+
D as SbbDisabledMixin,
|
|
510
|
+
Z as SbbDisabledTabIndexActionMixin,
|
|
511
|
+
ee as SbbFocusableDisabledActionMixin,
|
|
512
|
+
te as SbbFormAssociatedCheckboxMixin,
|
|
513
|
+
V as SbbFormAssociatedMixin,
|
|
514
|
+
F as SbbHydrationMixin,
|
|
515
|
+
se as SbbNamedSlotListMixin,
|
|
516
|
+
ae as SbbNegativeMixin,
|
|
517
|
+
ie as SbbPanelMixin,
|
|
518
|
+
H as SbbRequiredMixin,
|
|
519
|
+
re as SbbUpdateSchedulerMixin,
|
|
520
|
+
ne as panelCommonStyle
|
|
468
521
|
};
|