@sbb-esta/lyne-elements 2.6.0 → 2.7.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/a11y.css +2 -2
- package/accordion/accordion.js +101 -0
- package/accordion.d.ts +3 -0
- package/accordion.d.ts.map +1 -1
- package/accordion.js +2 -99
- package/action-group/action-group.js +110 -0
- package/action-group.d.ts +3 -0
- package/action-group.d.ts.map +1 -1
- package/action-group.js +2 -108
- package/alert/alert/alert.js +176 -0
- package/alert/alert-group/alert-group.js +104 -0
- package/alert/alert-group.d.ts +3 -0
- package/alert/alert-group.d.ts.map +1 -1
- package/alert/alert-group.js +2 -102
- package/alert/alert.d.ts +3 -0
- package/alert/alert.d.ts.map +1 -1
- package/alert/alert.js +2 -174
- package/alert.d.ts +3 -0
- package/alert.d.ts.map +1 -1
- package/alert.js +6 -2
- package/autocomplete/autocomplete-base-element.js +262 -0
- package/autocomplete/autocomplete.js +70 -0
- package/autocomplete-grid/autocomplete-grid/autocomplete-grid.js +109 -0
- package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.js +63 -0
- package/autocomplete-grid/autocomplete-grid-button.d.ts +3 -0
- package/autocomplete-grid/autocomplete-grid-button.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-button.js +2 -61
- package/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.js +26 -0
- package/autocomplete-grid/autocomplete-grid-cell.d.ts +3 -0
- package/autocomplete-grid/autocomplete-grid-cell.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-cell.js +2 -24
- package/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.js +33 -0
- package/autocomplete-grid/autocomplete-grid-optgroup.d.ts +3 -0
- package/autocomplete-grid/autocomplete-grid-optgroup.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-optgroup.js +2 -31
- package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.js +49 -0
- package/autocomplete-grid/autocomplete-grid-option.d.ts +3 -0
- package/autocomplete-grid/autocomplete-grid-option.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-option.js +3 -47
- package/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.js +29 -0
- package/autocomplete-grid/autocomplete-grid-row.d.ts +3 -0
- package/autocomplete-grid/autocomplete-grid-row.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-row.js +2 -27
- package/autocomplete-grid/autocomplete-grid.d.ts +3 -0
- package/autocomplete-grid/autocomplete-grid.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid.js +2 -107
- package/autocomplete-grid.d.ts +3 -0
- package/autocomplete-grid.d.ts.map +1 -1
- package/autocomplete-grid.js +15 -6
- package/autocomplete.d.ts +3 -0
- package/autocomplete.d.ts.map +1 -1
- package/autocomplete.js +5 -321
- package/breadcrumb/breadcrumb/breadcrumb.js +52 -0
- package/breadcrumb/breadcrumb-group/breadcrumb-group.js +141 -0
- package/breadcrumb/breadcrumb-group.d.ts +3 -0
- package/breadcrumb/breadcrumb-group.d.ts.map +1 -1
- package/breadcrumb/breadcrumb-group.js +2 -139
- package/breadcrumb/breadcrumb.d.ts +3 -0
- package/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/breadcrumb/breadcrumb.js +2 -50
- package/breadcrumb.d.ts +3 -0
- package/breadcrumb.d.ts.map +1 -1
- package/breadcrumb.js +6 -2
- package/button/accent-button/accent-button.js +17 -0
- package/button/accent-button-link/accent-button-link.js +17 -0
- package/button/accent-button-link.d.ts +3 -0
- package/button/accent-button-link.d.ts.map +1 -1
- package/button/accent-button-link.js +2 -15
- package/button/accent-button-static/accent-button-static.js +17 -0
- package/button/accent-button-static.d.ts +3 -0
- package/button/accent-button-static.d.ts.map +1 -1
- package/button/accent-button-static.js +2 -15
- package/button/accent-button.d.ts +3 -0
- package/button/accent-button.d.ts.map +1 -1
- package/button/accent-button.js +2 -15
- package/button/button/button.js +17 -0
- package/button/button-link/button-link.js +17 -0
- package/button/button-link.d.ts +3 -0
- package/button/button-link.d.ts.map +1 -1
- package/button/button-link.js +2 -15
- package/button/button-static/button-static.js +17 -0
- package/button/button-static.d.ts +3 -0
- package/button/button-static.d.ts.map +1 -1
- package/button/button-static.js +2 -15
- package/button/button.d.ts +3 -0
- package/button/button.d.ts.map +1 -1
- package/button/button.js +2 -15
- package/button/common/button-common.js +51 -0
- package/button/common.d.ts +3 -0
- package/button/common.d.ts.map +1 -1
- package/button/common.js +8 -55
- package/button/mini-button/mini-button.js +23 -0
- package/button/mini-button-group/mini-button-group.js +63 -0
- package/button/mini-button-group.d.ts +3 -0
- package/button/mini-button-group.d.ts.map +1 -1
- package/button/mini-button-group.js +2 -61
- package/button/mini-button.d.ts +3 -0
- package/button/mini-button.d.ts.map +1 -1
- package/button/mini-button.js +2 -21
- package/button/secondary-button/secondary-button.js +17 -0
- package/button/secondary-button-link/secondary-button-link.js +17 -0
- package/button/secondary-button-link.d.ts +3 -0
- package/button/secondary-button-link.d.ts.map +1 -1
- package/button/secondary-button-link.js +2 -15
- package/button/secondary-button-static/secondary-button-static.js +17 -0
- package/button/secondary-button-static.d.ts +3 -0
- package/button/secondary-button-static.d.ts.map +1 -1
- package/button/secondary-button-static.js +2 -15
- package/button/secondary-button.d.ts +3 -0
- package/button/secondary-button.d.ts.map +1 -1
- package/button/secondary-button.js +2 -15
- package/button/transparent-button/transparent-button.js +17 -0
- package/button/transparent-button-link/transparent-button-link.js +17 -0
- package/button/transparent-button-link.d.ts +3 -0
- package/button/transparent-button-link.d.ts.map +1 -1
- package/button/transparent-button-link.js +2 -15
- package/button/transparent-button-static/transparent-button-static.js +17 -0
- package/button/transparent-button-static.d.ts +3 -0
- package/button/transparent-button-static.d.ts.map +1 -1
- package/button/transparent-button-static.js +2 -15
- package/button/transparent-button.d.ts +3 -0
- package/button/transparent-button.d.ts.map +1 -1
- package/button/transparent-button.js +2 -15
- package/button.d.ts +3 -0
- package/button.d.ts.map +1 -1
- package/button.js +38 -15
- package/calendar/calendar.js +939 -0
- package/calendar.d.ts +3 -0
- package/calendar.d.ts.map +1 -1
- package/calendar.js +2 -937
- package/card/card/card.js +70 -0
- package/card/card-badge/card-badge.js +57 -0
- package/card/card-badge.d.ts +3 -0
- package/card/card-badge.d.ts.map +1 -1
- package/card/card-badge.js +2 -55
- package/card/card-button/card-button.js +19 -0
- package/card/card-button.d.ts +3 -0
- package/card/card-button.d.ts.map +1 -1
- package/card/card-button.js +2 -17
- package/card/card-link/card-link.js +19 -0
- package/card/card-link.d.ts +3 -0
- package/card/card-link.d.ts.map +1 -1
- package/card/card-link.js +2 -17
- package/card/card.d.ts +3 -0
- package/card/card.d.ts.map +1 -1
- package/card/card.js +2 -68
- package/card/common/card-action-common.js +60 -0
- package/card/common.d.ts +3 -0
- package/card/common.d.ts.map +1 -1
- package/card/common.js +2 -58
- package/card.d.ts +3 -0
- package/card.d.ts.map +1 -1
- package/card.js +12 -5
- package/checkbox/checkbox/checkbox.js +80 -0
- package/checkbox/checkbox-group/checkbox-group.js +113 -0
- package/checkbox/checkbox-group.d.ts +3 -0
- package/checkbox/checkbox-group.d.ts.map +1 -1
- package/checkbox/checkbox-group.js +2 -111
- package/checkbox/checkbox-panel/checkbox-panel.js +82 -0
- package/checkbox/checkbox-panel.d.ts +3 -0
- package/checkbox/checkbox-panel.d.ts.map +1 -1
- package/checkbox/checkbox-panel.js +2 -80
- package/checkbox/checkbox.d.ts +3 -0
- package/checkbox/checkbox.d.ts.map +1 -1
- package/checkbox/checkbox.js +2 -78
- package/checkbox/common/checkbox-common.js +56 -0
- package/checkbox/common.d.ts +3 -0
- package/checkbox/common.d.ts.map +1 -1
- package/checkbox/common.js +4 -56
- package/checkbox-common-CDzcyq8p.js +5 -0
- package/checkbox.d.ts +3 -0
- package/checkbox.d.ts.map +1 -1
- package/checkbox.js +12 -4
- package/chip/chip/chip.js +85 -0
- package/chip/chip-group/chip-group.js +226 -0
- package/chip/chip-group.d.ts +3 -0
- package/chip/chip-group.d.ts.map +1 -1
- package/chip/chip-group.js +2 -223
- package/chip/chip.d.ts +3 -0
- package/chip/chip.d.ts.map +1 -1
- package/chip/chip.js +2 -83
- package/chip-label/chip-label.js +54 -0
- package/chip-label.d.ts +3 -0
- package/chip-label.d.ts.map +1 -1
- package/chip-label.js +2 -52
- package/chip.d.ts +3 -0
- package/chip.d.ts.map +1 -1
- package/chip.js +6 -2
- package/clock/clock.js +163 -0
- package/clock.d.ts +3 -0
- package/clock.d.ts.map +1 -1
- package/clock.js +2 -161
- package/container/container/container.js +71 -0
- package/container/container.d.ts +3 -0
- package/container/container.d.ts.map +1 -1
- package/container/container.js +2 -69
- package/container/sticky-bar/sticky-bar.js +111 -0
- package/container/sticky-bar.d.ts +3 -0
- package/container/sticky-bar.d.ts.map +1 -1
- package/container/sticky-bar.js +2 -109
- package/container.d.ts +3 -0
- package/container.d.ts.map +1 -1
- package/container.js +6 -2
- package/core/a11y/arrow-navigation.js +33 -0
- package/core/a11y/fake-event-detection.js +11 -0
- package/core/a11y/focus-trap-controller.d.ts +35 -0
- package/core/a11y/focus-trap-controller.d.ts.map +1 -0
- package/core/a11y/focus-trap-controller.js +95 -0
- package/core/a11y/focus-visible-within-controller.js +19 -0
- package/core/a11y/focus.d.ts +12 -0
- package/core/a11y/focus.d.ts.map +1 -1
- package/core/a11y/focus.js +75 -0
- package/core/a11y/input-modality-detector.d.ts +5 -0
- package/core/a11y/input-modality-detector.d.ts.map +1 -1
- package/core/a11y/input-modality-detector.js +59 -0
- package/core/a11y/interactivity-checker.d.ts +49 -3
- package/core/a11y/interactivity-checker.d.ts.map +1 -1
- package/core/a11y/interactivity-checker.js +104 -0
- package/core/a11y.d.ts +4 -0
- package/core/a11y.d.ts.map +1 -1
- package/core/a11y.js +26 -201
- package/core/base-elements/action-base-element.js +46 -0
- package/core/base-elements/button-base-element.d.ts.map +1 -1
- package/core/base-elements/button-base-element.js +120 -0
- package/core/base-elements/link-base-element.js +130 -0
- package/core/base-elements/open-close-base-element.js +33 -0
- package/core/base-elements.d.ts +3 -0
- package/core/base-elements.d.ts.map +1 -1
- package/core/base-elements.js +8 -308
- package/core/config/config.js +11 -0
- package/core/config.d.ts +3 -0
- package/core/config.d.ts.map +1 -1
- package/core/config.js +3 -9
- package/core/controllers/connected-abort-controller.js +19 -0
- package/core/controllers/escapable-overlay-controller.d.ts.map +1 -1
- package/core/controllers/escapable-overlay-controller.js +29 -0
- package/core/controllers/id-observer-controller.js +61 -0
- package/core/controllers/inert-controller.d.ts +3 -1
- package/core/controllers/inert-controller.d.ts.map +1 -1
- package/core/controllers/inert-controller.js +48 -0
- package/core/controllers/language-controller.js +39 -0
- package/core/controllers/media-matchers-controller.d.ts +1 -0
- package/core/controllers/media-matchers-controller.d.ts.map +1 -1
- package/core/controllers/media-matchers-controller.js +43 -0
- package/core/controllers/slot-state-controller.js +30 -0
- package/core/controllers.d.ts +3 -0
- package/core/controllers.d.ts.map +1 -1
- package/core/controllers.js +20 -248
- package/core/datetime/date-adapter.js +102 -0
- package/core/datetime/native-date-adapter.js +169 -0
- package/core/datetime.d.ts +3 -0
- package/core/datetime.d.ts.map +1 -1
- package/core/datetime.js +12 -266
- package/core/decorators/base.js +1 -0
- package/core/decorators/date-converter.js +17 -0
- package/core/decorators/date-only-type.js +10 -0
- package/core/decorators/force-type.js +18 -0
- package/core/decorators/get-override.js +14 -0
- package/core/decorators/handle-distinct-change.js +16 -0
- package/core/decorators/host-attributes.js +18 -0
- package/core/decorators/omit-empty-converter.js +9 -0
- package/core/decorators/slot-state.js +8 -0
- package/core/decorators.d.ts +3 -0
- package/core/decorators.d.ts.map +1 -1
- package/core/decorators.js +16 -86
- package/core/dom/animation.js +10 -0
- package/core/dom/breakpoint.d.ts +1 -1
- package/core/dom/breakpoint.js +12 -0
- package/core/dom/find-referenced-element.js +7 -0
- package/core/dom/host-context.js +17 -0
- package/core/dom/input-element.js +12 -0
- package/core/dom/lean-context.js +7 -0
- package/core/dom/platform.js +21 -0
- package/core/dom/scroll.js +19 -0
- package/core/dom/set-or-remove-attribute.js +6 -0
- package/core/dom.d.ts +3 -0
- package/core/dom.d.ts.map +1 -1
- package/core/dom.js +31 -87
- package/core/eventing/composed-path-has-attribute.js +8 -0
- package/core/eventing/event-emitter.js +23 -0
- package/core/eventing/event-target.js +6 -0
- package/core/eventing/form-element-handlers.js +6 -0
- package/core/eventing/forward-event.js +9 -0
- package/core/eventing/is-event-prevented.js +6 -0
- package/core/eventing/throttle.js +11 -0
- package/core/eventing.d.ts +3 -0
- package/core/eventing.d.ts.map +1 -1
- package/core/eventing.js +15 -55
- package/core/i18n/i18n.js +700 -0
- package/core/i18n.d.ts +3 -0
- package/core/i18n.d.ts.map +1 -1
- package/core/i18n.js +89 -698
- package/core/images.js +15 -0
- package/core/interfaces.d.ts +3 -0
- package/core/interfaces.d.ts.map +1 -1
- package/core/mixins/animation-complete-mixin.js +43 -0
- package/core/mixins/constructor.js +1 -0
- package/core/mixins/disabled-mixin.js +72 -0
- package/core/mixins/form-associated-checkbox-mixin.js +92 -0
- package/core/mixins/form-associated-input-mixin.js +182 -0
- package/core/mixins/form-associated-mixin.js +219 -0
- package/core/mixins/form-associated-radio-button-mixin.js +159 -0
- package/core/mixins/hydration-mixin.js +39 -0
- package/core/mixins/named-slot-list-mixin.js +107 -0
- package/core/mixins/negative-mixin.js +34 -0
- package/core/mixins/panel-mixin.js +61 -0
- package/core/mixins/required-mixin.js +36 -0
- package/core/mixins/update-scheduler-mixin.js +22 -0
- package/core/mixins.d.ts +3 -0
- package/core/mixins.d.ts.map +1 -1
- package/core/mixins.js +29 -973
- package/core/overlay/overlay-option-panel.js +11 -0
- package/core/overlay/overlay-trigger-attributes.js +18 -0
- package/core/overlay/overlay.js +14 -0
- package/core/overlay/position.js +40 -0
- package/core/overlay.d.ts +3 -0
- package/core/overlay.d.ts.map +1 -1
- package/core/overlay.js +12 -73
- package/core/styles/core.scss +8 -0
- package/core/styles/mixins/a11y.scss +2 -1
- package/core/styles/mixins/buttons.scss +7 -6
- package/core/styles/mixins/link.scss +1 -2
- package/core/styles/mixins/table.scss +3 -0
- package/core/styles/table.scss +45 -0
- package/core/testing/event-spy.js +53 -0
- package/core/testing/mocha-extensions.js +11 -0
- package/core/testing/scroll.js +6 -0
- package/core/testing/wait-for-condition.js +13 -0
- package/core/testing/wait-for-image-ready.d.ts.map +1 -1
- package/core/testing/wait-for-image-ready.js +18 -0
- package/core/testing/wait-for-render.js +15 -0
- package/core/testing.d.ts +3 -0
- package/core/testing.d.ts.map +1 -1
- package/core/testing.js +14 -109
- package/core.css +3 -0
- package/custom-elements.json +51411 -47213
- package/date-input/date-input.d.ts.map +1 -1
- package/date-input/date-input.js +155 -0
- package/date-input.d.ts +3 -0
- package/date-input.d.ts.map +1 -1
- package/date-input.js +2 -153
- package/datepicker/common/datepicker-association-controllers.js +58 -0
- package/datepicker/common/datepicker-button.js +105 -0
- package/datepicker/common.d.ts +3 -0
- package/datepicker/common.d.ts.map +1 -1
- package/datepicker/common.js +5 -158
- package/datepicker/datepicker/datepicker.d.ts.map +1 -1
- package/datepicker/datepicker/datepicker.js +266 -0
- package/datepicker/datepicker-next-day/datepicker-next-day.js +27 -0
- package/datepicker/datepicker-next-day.d.ts +3 -0
- package/datepicker/datepicker-next-day.d.ts.map +1 -1
- package/datepicker/datepicker-next-day.js +2 -25
- package/datepicker/datepicker-previous-day/datepicker-previous-day.js +27 -0
- package/datepicker/datepicker-previous-day.d.ts +3 -0
- package/datepicker/datepicker-previous-day.d.ts.map +1 -1
- package/datepicker/datepicker-previous-day.js +2 -25
- package/datepicker/datepicker-toggle/datepicker-toggle.js +171 -0
- package/datepicker/datepicker-toggle.d.ts +3 -0
- package/datepicker/datepicker-toggle.d.ts.map +1 -1
- package/datepicker/datepicker-toggle.js +2 -169
- package/datepicker/datepicker.d.ts +3 -0
- package/datepicker/datepicker.d.ts.map +1 -1
- package/datepicker/datepicker.js +4 -261
- package/datepicker.d.ts +3 -0
- package/datepicker.d.ts.map +1 -1
- package/datepicker.js +17 -5
- package/development/accordion/accordion.js +149 -0
- package/development/accordion.d.ts +3 -0
- package/development/accordion.d.ts.map +1 -1
- package/development/accordion.js +2 -146
- package/development/action-group/action-group.js +405 -0
- package/development/action-group.d.ts +3 -0
- package/development/action-group.d.ts.map +1 -1
- package/development/action-group.js +2 -402
- package/development/alert/alert/alert.js +434 -0
- package/development/alert/alert-group/alert-group.js +183 -0
- package/development/alert/alert-group.d.ts +3 -0
- package/development/alert/alert-group.d.ts.map +1 -1
- package/development/alert/alert-group.js +2 -180
- package/development/alert/alert.d.ts +3 -0
- package/development/alert/alert.d.ts.map +1 -1
- package/development/alert/alert.js +2 -431
- package/development/alert.d.ts +3 -0
- package/development/alert.d.ts.map +1 -1
- package/development/alert.js +6 -2
- package/development/autocomplete/autocomplete-base-element.js +700 -0
- package/development/autocomplete/autocomplete.js +99 -0
- package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.js +157 -0
- package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.js +208 -0
- package/development/autocomplete-grid/autocomplete-grid-button.d.ts +3 -0
- package/development/autocomplete-grid/autocomplete-grid-button.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-button.js +2 -202
- package/development/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.js +47 -0
- package/development/autocomplete-grid/autocomplete-grid-cell.d.ts +3 -0
- package/development/autocomplete-grid/autocomplete-grid-cell.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-cell.js +2 -44
- package/development/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.js +44 -0
- package/development/autocomplete-grid/autocomplete-grid-optgroup.d.ts +3 -0
- package/development/autocomplete-grid/autocomplete-grid-optgroup.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-optgroup.js +2 -41
- package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.js +139 -0
- package/development/autocomplete-grid/autocomplete-grid-option.d.ts +3 -0
- package/development/autocomplete-grid/autocomplete-grid-option.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-option.js +2 -134
- package/development/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.js +123 -0
- package/development/autocomplete-grid/autocomplete-grid-row.d.ts +3 -0
- package/development/autocomplete-grid/autocomplete-grid-row.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-row.js +2 -120
- package/development/autocomplete-grid/autocomplete-grid.d.ts +3 -0
- package/development/autocomplete-grid/autocomplete-grid.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid.js +2 -154
- package/development/autocomplete-grid.d.ts +3 -0
- package/development/autocomplete-grid.d.ts.map +1 -1
- package/development/autocomplete-grid.js +15 -6
- package/development/autocomplete.d.ts +3 -0
- package/development/autocomplete.d.ts.map +1 -1
- package/development/autocomplete.js +3 -785
- package/development/breadcrumb/breadcrumb/breadcrumb.js +136 -0
- package/development/breadcrumb/breadcrumb-group/breadcrumb-group.js +281 -0
- package/development/breadcrumb/breadcrumb-group.d.ts +3 -0
- package/development/breadcrumb/breadcrumb-group.d.ts.map +1 -1
- package/development/breadcrumb/breadcrumb-group.js +2 -278
- package/development/breadcrumb/breadcrumb.d.ts +3 -0
- package/development/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/development/breadcrumb/breadcrumb.js +2 -133
- package/development/breadcrumb.d.ts +3 -0
- package/development/breadcrumb.d.ts.map +1 -1
- package/development/breadcrumb.js +6 -2
- package/development/button/accent-button/accent-button.js +25 -0
- package/development/button/accent-button-link/accent-button-link.js +25 -0
- package/development/button/accent-button-link.d.ts +3 -0
- package/development/button/accent-button-link.d.ts.map +1 -1
- package/development/button/accent-button-link.js +2 -22
- package/development/button/accent-button-static/accent-button-static.js +25 -0
- package/development/button/accent-button-static.d.ts +3 -0
- package/development/button/accent-button-static.d.ts.map +1 -1
- package/development/button/accent-button-static.js +2 -22
- package/development/button/accent-button.d.ts +3 -0
- package/development/button/accent-button.d.ts.map +1 -1
- package/development/button/accent-button.js +2 -22
- package/development/button/button/button.js +25 -0
- package/development/button/button-link/button-link.js +25 -0
- package/development/button/button-link.d.ts +3 -0
- package/development/button/button-link.d.ts.map +1 -1
- package/development/button/button-link.js +2 -22
- package/development/button/button-static/button-static.js +25 -0
- package/development/button/button-static.d.ts +3 -0
- package/development/button/button-static.d.ts.map +1 -1
- package/development/button/button-static.js +2 -22
- package/development/button/button.d.ts +3 -0
- package/development/button/button.d.ts.map +1 -1
- package/development/button/button.js +2 -22
- package/development/button/common/button-common.js +70 -0
- package/development/button/common.d.ts +3 -0
- package/development/button/common.d.ts.map +1 -1
- package/development/button/common.js +8 -407
- package/development/button/mini-button/mini-button.js +143 -0
- package/development/button/mini-button-group/mini-button-group.js +153 -0
- package/development/button/mini-button-group.d.ts +3 -0
- package/development/button/mini-button-group.d.ts.map +1 -1
- package/development/button/mini-button-group.js +2 -150
- package/development/button/mini-button.d.ts +3 -0
- package/development/button/mini-button.d.ts.map +1 -1
- package/development/button/mini-button.js +2 -137
- package/development/button/secondary-button/secondary-button.js +25 -0
- package/development/button/secondary-button-link/secondary-button-link.js +25 -0
- package/development/button/secondary-button-link.d.ts +3 -0
- package/development/button/secondary-button-link.d.ts.map +1 -1
- package/development/button/secondary-button-link.js +2 -22
- package/development/button/secondary-button-static/secondary-button-static.js +25 -0
- package/development/button/secondary-button-static.d.ts +3 -0
- package/development/button/secondary-button-static.d.ts.map +1 -1
- package/development/button/secondary-button-static.js +2 -22
- package/development/button/secondary-button.d.ts +3 -0
- package/development/button/secondary-button.d.ts.map +1 -1
- package/development/button/secondary-button.js +2 -22
- package/development/button/transparent-button/transparent-button.js +25 -0
- package/development/button/transparent-button-link/transparent-button-link.js +25 -0
- package/development/button/transparent-button-link.d.ts +3 -0
- package/development/button/transparent-button-link.d.ts.map +1 -1
- package/development/button/transparent-button-link.js +2 -22
- package/development/button/transparent-button-static/transparent-button-static.js +25 -0
- package/development/button/transparent-button-static.d.ts +3 -0
- package/development/button/transparent-button-static.d.ts.map +1 -1
- package/development/button/transparent-button-static.js +2 -22
- package/development/button/transparent-button.d.ts +3 -0
- package/development/button/transparent-button.d.ts.map +1 -1
- package/development/button/transparent-button.js +2 -22
- package/development/button.d.ts +3 -0
- package/development/button.d.ts.map +1 -1
- package/development/button.js +39 -16
- package/development/calendar/calendar.js +1547 -0
- package/development/calendar.d.ts +3 -0
- package/development/calendar.d.ts.map +1 -1
- package/development/calendar.js +2 -1542
- package/development/card/card/card.js +287 -0
- package/development/card/card-badge/card-badge.js +169 -0
- package/development/card/card-badge.d.ts +3 -0
- package/development/card/card-badge.d.ts.map +1 -1
- package/development/card/card-badge.js +2 -166
- package/development/card/card-button/card-button.js +29 -0
- package/development/card/card-button.d.ts +3 -0
- package/development/card/card-button.d.ts.map +1 -1
- package/development/card/card-button.js +2 -26
- package/development/card/card-link/card-link.js +29 -0
- package/development/card/card-link.d.ts +3 -0
- package/development/card/card-link.d.ts.map +1 -1
- package/development/card/card-link.js +2 -26
- package/development/card/card.d.ts +3 -0
- package/development/card/card.d.ts.map +1 -1
- package/development/card/card.js +2 -284
- package/development/card/common/card-action-common.js +119 -0
- package/development/card/common.d.ts +3 -0
- package/development/card/common.d.ts.map +1 -1
- package/development/card/common.js +2 -116
- package/development/card.d.ts +3 -0
- package/development/card.d.ts.map +1 -1
- package/development/card.js +12 -5
- package/development/checkbox/checkbox/checkbox.js +134 -0
- package/development/checkbox/checkbox-group/checkbox-group.js +294 -0
- package/development/checkbox/checkbox-group.d.ts +3 -0
- package/development/checkbox/checkbox-group.d.ts.map +1 -1
- package/development/checkbox/checkbox-group.js +2 -291
- package/development/checkbox/checkbox-panel/checkbox-panel.js +108 -0
- package/development/checkbox/checkbox-panel.d.ts +3 -0
- package/development/checkbox/checkbox-panel.d.ts.map +1 -1
- package/development/checkbox/checkbox-panel.js +2 -105
- package/development/checkbox/checkbox.d.ts +3 -0
- package/development/checkbox/checkbox.d.ts.map +1 -1
- package/development/checkbox/checkbox.js +2 -131
- package/development/checkbox/common/checkbox-common.js +75 -0
- package/development/checkbox/common.d.ts +3 -0
- package/development/checkbox/common.d.ts.map +1 -1
- package/development/checkbox/common.js +4 -152
- package/development/checkbox-common-aMPOsPVA.js +83 -0
- package/development/checkbox.d.ts +3 -0
- package/development/checkbox.d.ts.map +1 -1
- package/development/checkbox.js +13 -5
- package/development/chip/chip/chip.js +213 -0
- package/development/chip/chip-group/chip-group.js +350 -0
- package/development/chip/chip-group.d.ts +3 -0
- package/development/chip/chip-group.d.ts.map +1 -1
- package/development/chip/chip-group.js +2 -346
- package/development/chip/chip.d.ts +3 -0
- package/development/chip/chip.d.ts.map +1 -1
- package/development/chip/chip.js +2 -209
- package/development/chip-label/chip-label.js +154 -0
- package/development/chip-label.d.ts +3 -0
- package/development/chip-label.d.ts.map +1 -1
- package/development/chip-label.js +2 -151
- package/development/chip.d.ts +3 -0
- package/development/chip.d.ts.map +1 -1
- package/development/chip.js +6 -2
- package/development/clock/clock.js +390 -0
- package/development/clock.d.ts +3 -0
- package/development/clock.d.ts.map +1 -1
- package/development/clock.js +2 -387
- package/development/container/container/container.js +194 -0
- package/development/container/container.d.ts +3 -0
- package/development/container/container.d.ts.map +1 -1
- package/development/container/container.js +2 -191
- package/development/container/sticky-bar/sticky-bar.js +349 -0
- package/development/container/sticky-bar.d.ts +3 -0
- package/development/container/sticky-bar.d.ts.map +1 -1
- package/development/container/sticky-bar.js +2 -346
- package/development/container.d.ts +3 -0
- package/development/container.d.ts.map +1 -1
- package/development/container.js +6 -2
- package/development/core/a11y/arrow-navigation.js +43 -0
- package/development/core/a11y/fake-event-detection.js +12 -0
- package/development/core/a11y/focus-trap-controller.d.ts +35 -0
- package/development/core/a11y/focus-trap-controller.d.ts.map +1 -0
- package/development/core/a11y/focus-trap-controller.js +127 -0
- package/development/core/a11y/focus-visible-within-controller.js +25 -0
- package/development/core/a11y/focus.d.ts +12 -0
- package/development/core/a11y/focus.d.ts.map +1 -1
- package/development/core/a11y/focus.js +94 -0
- package/development/core/a11y/input-modality-detector.d.ts +5 -0
- package/development/core/a11y/input-modality-detector.d.ts.map +1 -1
- package/development/core/a11y/input-modality-detector.js +96 -0
- package/development/core/a11y/interactivity-checker.d.ts +49 -3
- package/development/core/a11y/interactivity-checker.d.ts.map +1 -1
- package/development/core/a11y/interactivity-checker.js +137 -0
- package/development/core/a11y.d.ts +4 -0
- package/development/core/a11y.d.ts.map +1 -1
- package/development/core/a11y.js +10 -253
- package/development/core/base-elements/action-base-element.js +62 -0
- package/development/core/base-elements/button-base-element.d.ts.map +1 -1
- package/development/core/base-elements/button-base-element.js +179 -0
- package/development/core/base-elements/link-base-element.js +183 -0
- package/development/core/base-elements/open-close-base-element.js +39 -0
- package/development/core/base-elements.d.ts +3 -0
- package/development/core/base-elements.d.ts.map +1 -1
- package/development/core/base-elements.js +5 -437
- package/development/core/config/config.js +15 -0
- package/development/core/config.d.ts +3 -0
- package/development/core/config.d.ts.map +1 -1
- package/development/core/config.js +2 -11
- package/development/core/controllers/connected-abort-controller.js +25 -0
- package/development/core/controllers/escapable-overlay-controller.d.ts.map +1 -1
- package/development/core/controllers/escapable-overlay-controller.js +40 -0
- package/development/core/controllers/id-observer-controller.js +84 -0
- package/development/core/controllers/inert-controller.d.ts +3 -1
- package/development/core/controllers/inert-controller.d.ts.map +1 -1
- package/development/core/controllers/inert-controller.js +91 -0
- package/development/core/controllers/language-controller.js +69 -0
- package/development/core/controllers/media-matchers-controller.d.ts +1 -0
- package/development/core/controllers/media-matchers-controller.d.ts.map +1 -1
- package/development/core/controllers/media-matchers-controller.js +62 -0
- package/development/core/controllers/slot-state-controller.js +48 -0
- package/development/core/controllers.d.ts +3 -0
- package/development/core/controllers.d.ts.map +1 -1
- package/development/core/controllers.js +9 -376
- package/development/core/datetime/date-adapter.js +129 -0
- package/development/core/datetime/native-date-adapter.js +185 -0
- package/development/core/datetime.d.ts +3 -0
- package/development/core/datetime.d.ts.map +1 -1
- package/development/core/datetime.js +3 -298
- package/development/core/decorators/base.js +2 -0
- package/development/core/decorators/date-converter.js +18 -0
- package/development/core/decorators/date-only-type.js +11 -0
- package/development/core/decorators/force-type.js +29 -0
- package/development/core/decorators/get-override.js +18 -0
- package/development/core/decorators/handle-distinct-change.js +22 -0
- package/development/core/decorators/host-attributes.js +30 -0
- package/development/core/decorators/omit-empty-converter.js +10 -0
- package/development/core/decorators/slot-state.js +11 -0
- package/development/core/decorators.d.ts +3 -0
- package/development/core/decorators.d.ts.map +1 -1
- package/development/core/decorators.js +9 -114
- package/development/core/dom/animation.js +12 -0
- package/development/core/dom/breakpoint.d.ts +1 -1
- package/development/core/dom/breakpoint.js +19 -0
- package/development/core/dom/find-referenced-element.js +15 -0
- package/development/core/dom/host-context.js +21 -0
- package/development/core/dom/input-element.js +13 -0
- package/development/core/dom/lean-context.js +8 -0
- package/development/core/dom/platform.js +32 -0
- package/development/core/dom/scroll.js +37 -0
- package/development/core/dom/set-or-remove-attribute.js +11 -0
- package/development/core/dom.d.ts +3 -0
- package/development/core/dom.d.ts.map +1 -1
- package/development/core/dom.js +10 -114
- package/development/core/eventing/composed-path-has-attribute.js +12 -0
- package/development/core/eventing/event-emitter.js +26 -0
- package/development/core/eventing/event-target.js +7 -0
- package/development/core/eventing/form-element-handlers.js +9 -0
- package/development/core/eventing/forward-event.js +11 -0
- package/development/core/eventing/is-event-prevented.js +8 -0
- package/development/core/eventing/throttle.js +18 -0
- package/development/core/eventing.d.ts +3 -0
- package/development/core/eventing.d.ts.map +1 -1
- package/development/core/eventing.js +8 -63
- package/development/core/i18n/i18n.js +793 -0
- package/development/core/i18n.d.ts +3 -0
- package/development/core/i18n.d.ts.map +1 -1
- package/development/core/i18n.js +2 -703
- package/development/core/images.js +16 -0
- package/development/core/interfaces.d.ts +3 -0
- package/development/core/interfaces.d.ts.map +1 -1
- package/development/core/mixins/animation-complete-mixin.js +52 -0
- package/development/core/mixins/constructor.js +2 -0
- package/development/core/mixins/disabled-mixin.js +104 -0
- package/development/core/mixins/form-associated-checkbox-mixin.js +148 -0
- package/development/core/mixins/form-associated-input-mixin.js +294 -0
- package/development/core/mixins/form-associated-mixin.js +268 -0
- package/development/core/mixins/form-associated-radio-button-mixin.js +242 -0
- package/development/core/mixins/hydration-mixin.js +57 -0
- package/development/core/mixins/named-slot-list-mixin.js +136 -0
- package/development/core/mixins/negative-mixin.js +45 -0
- package/development/core/mixins/panel-mixin.js +87 -0
- package/development/core/mixins/required-mixin.js +48 -0
- package/development/core/mixins/update-scheduler-mixin.js +26 -0
- package/development/core/mixins.d.ts +3 -0
- package/development/core/mixins.d.ts.map +1 -1
- package/development/core/mixins.js +15 -1392
- package/development/core/overlay/overlay-option-panel.js +18 -0
- package/development/core/overlay/overlay-trigger-attributes.js +47 -0
- package/development/core/overlay/overlay.js +15 -0
- package/development/core/overlay/position.js +84 -0
- package/development/core/overlay.d.ts +3 -0
- package/development/core/overlay.d.ts.map +1 -1
- package/development/core/overlay.js +5 -143
- package/development/core/testing/event-spy.js +70 -0
- package/development/core/testing/mocha-extensions.js +15 -0
- package/development/core/testing/scroll.js +8 -0
- package/development/core/testing/wait-for-condition.js +19 -0
- package/development/core/testing/wait-for-image-ready.d.ts.map +1 -1
- package/development/core/testing/wait-for-image-ready.js +31 -0
- package/development/core/testing/wait-for-render.js +21 -0
- package/development/core/testing.d.ts +3 -0
- package/development/core/testing.d.ts.map +1 -1
- package/development/core/testing.js +7 -145
- package/development/date-input/date-input.d.ts.map +1 -1
- package/development/date-input/date-input.js +270 -0
- package/development/date-input.d.ts +3 -0
- package/development/date-input.d.ts.map +1 -1
- package/development/date-input.js +2 -264
- package/development/datepicker/common/datepicker-association-controllers.js +82 -0
- package/development/datepicker/common/datepicker-button.js +155 -0
- package/development/datepicker/common.d.ts +3 -0
- package/development/datepicker/common.d.ts.map +1 -1
- package/development/datepicker/common.js +3 -228
- package/development/datepicker/datepicker/datepicker.d.ts.map +1 -1
- package/development/datepicker/datepicker/datepicker.js +427 -0
- package/development/datepicker/datepicker-next-day/datepicker-next-day.js +150 -0
- package/development/datepicker/datepicker-next-day.d.ts +3 -0
- package/development/datepicker/datepicker-next-day.d.ts.map +1 -1
- package/development/datepicker/datepicker-next-day.js +2 -144
- package/development/datepicker/datepicker-previous-day/datepicker-previous-day.js +150 -0
- package/development/datepicker/datepicker-previous-day.d.ts +3 -0
- package/development/datepicker/datepicker-previous-day.d.ts.map +1 -1
- package/development/datepicker/datepicker-previous-day.js +2 -144
- package/development/datepicker/datepicker-toggle/datepicker-toggle.js +299 -0
- package/development/datepicker/datepicker-toggle.d.ts +3 -0
- package/development/datepicker/datepicker-toggle.d.ts.map +1 -1
- package/development/datepicker/datepicker-toggle.js +2 -296
- package/development/datepicker/datepicker.d.ts +3 -0
- package/development/datepicker/datepicker.d.ts.map +1 -1
- package/development/datepicker/datepicker.js +2 -418
- package/development/datepicker.d.ts +3 -0
- package/development/datepicker.d.ts.map +1 -1
- package/development/datepicker.js +18 -6
- package/development/dialog/dialog/dialog.d.ts +0 -1
- package/development/dialog/dialog/dialog.d.ts.map +1 -1
- package/development/dialog/dialog/dialog.js +460 -0
- package/development/dialog/dialog-actions/dialog-actions.js +52 -0
- package/development/dialog/dialog-actions.d.ts +3 -0
- package/development/dialog/dialog-actions.d.ts.map +1 -1
- package/development/dialog/dialog-actions.js +2 -49
- package/development/dialog/dialog-content/dialog-content.js +78 -0
- package/development/dialog/dialog-content.d.ts +3 -0
- package/development/dialog/dialog-content.d.ts.map +1 -1
- package/development/dialog/dialog-content.js +2 -75
- package/development/dialog/dialog-title/dialog-title.js +211 -0
- package/development/dialog/dialog-title.d.ts +3 -0
- package/development/dialog/dialog-title.d.ts.map +1 -1
- package/development/dialog/dialog-title.js +2 -208
- package/development/dialog/dialog.d.ts +3 -0
- package/development/dialog/dialog.d.ts.map +1 -1
- package/development/dialog/dialog.js +2 -465
- package/development/dialog.d.ts +3 -0
- package/development/dialog.d.ts.map +1 -1
- package/development/dialog.js +10 -4
- package/development/divider/divider.js +89 -0
- package/development/divider.d.ts +3 -0
- package/development/divider.d.ts.map +1 -1
- package/development/divider.js +2 -86
- package/development/expansion-panel/expansion-panel/expansion-panel.js +434 -0
- package/development/expansion-panel/expansion-panel-content/expansion-panel-content.js +69 -0
- package/development/expansion-panel/expansion-panel-content.d.ts +3 -0
- package/development/expansion-panel/expansion-panel-content.d.ts.map +1 -1
- package/development/expansion-panel/expansion-panel-content.js +2 -66
- package/development/expansion-panel/expansion-panel-header/expansion-panel-header.js +173 -0
- package/development/expansion-panel/expansion-panel-header.d.ts +3 -0
- package/development/expansion-panel/expansion-panel-header.d.ts.map +1 -1
- package/development/expansion-panel/expansion-panel-header.js +2 -170
- package/development/expansion-panel/expansion-panel.d.ts +3 -0
- package/development/expansion-panel/expansion-panel.d.ts.map +1 -1
- package/development/expansion-panel/expansion-panel.js +2 -431
- package/development/expansion-panel.d.ts +3 -0
- package/development/expansion-panel.d.ts.map +1 -1
- package/development/expansion-panel.js +8 -3
- package/development/file-selector/common/file-selector-common.d.ts.map +1 -1
- package/development/file-selector/common/file-selector-common.js +279 -0
- package/development/file-selector/common.d.ts +3 -0
- package/development/file-selector/common.d.ts.map +1 -1
- package/development/file-selector/common.js +4 -379
- package/development/file-selector/file-selector/file-selector.js +52 -0
- package/development/file-selector/file-selector-dropzone/file-selector-dropzone.js +181 -0
- package/development/file-selector/file-selector-dropzone.d.ts +3 -0
- package/development/file-selector/file-selector-dropzone.d.ts.map +1 -1
- package/development/file-selector/file-selector-dropzone.js +2 -178
- package/development/file-selector/file-selector.d.ts +3 -0
- package/development/file-selector/file-selector.d.ts.map +1 -1
- package/development/file-selector/file-selector.js +2 -49
- package/development/file-selector-common-csww18o8.js +105 -0
- package/development/file-selector.d.ts +3 -0
- package/development/file-selector.d.ts.map +1 -1
- package/development/file-selector.js +11 -4
- package/development/flip-card/flip-card/flip-card.js +320 -0
- package/development/flip-card/flip-card-details/flip-card-details.js +92 -0
- package/development/flip-card/flip-card-details.d.ts +3 -0
- package/development/flip-card/flip-card-details.d.ts.map +1 -1
- package/development/flip-card/flip-card-details.js +2 -89
- package/development/flip-card/flip-card-summary/flip-card-summary.js +148 -0
- package/development/flip-card/flip-card-summary.d.ts +3 -0
- package/development/flip-card/flip-card-summary.d.ts.map +1 -1
- package/development/flip-card/flip-card-summary.js +2 -145
- package/development/flip-card/flip-card.d.ts +3 -0
- package/development/flip-card/flip-card.d.ts.map +1 -1
- package/development/flip-card/flip-card.js +2 -317
- package/development/flip-card.d.ts +3 -0
- package/development/flip-card.d.ts.map +1 -1
- package/development/flip-card.js +8 -3
- package/development/footer/footer.js +276 -0
- package/development/footer.d.ts +3 -0
- package/development/footer.d.ts.map +1 -1
- package/development/footer.js +2 -273
- package/development/form-error/form-error.js +107 -0
- package/development/form-error.d.ts +3 -0
- package/development/form-error.d.ts.map +1 -1
- package/development/form-error.js +2 -104
- package/development/form-field/form-field/form-field.js +936 -0
- package/development/form-field/form-field-clear/form-field-clear.js +175 -0
- package/development/form-field/form-field-clear.d.ts +3 -0
- package/development/form-field/form-field-clear.d.ts.map +1 -1
- package/development/form-field/form-field-clear.js +2 -169
- package/development/form-field/form-field.d.ts +3 -0
- package/development/form-field/form-field.d.ts.map +1 -1
- package/development/form-field/form-field.js +2 -929
- package/development/form-field.d.ts +3 -0
- package/development/form-field.d.ts.map +1 -1
- package/development/form-field.js +6 -2
- package/development/header/common/header-action-common.js +413 -0
- package/development/header/common.d.ts +3 -0
- package/development/header/common.d.ts.map +1 -1
- package/development/header/common.js +2 -410
- package/development/header/header/header.js +393 -0
- package/development/header/header-button/header-button.js +25 -0
- package/development/header/header-button.d.ts +3 -0
- package/development/header/header-button.d.ts.map +1 -1
- package/development/header/header-button.js +2 -22
- package/development/header/header-link/header-link.js +25 -0
- package/development/header/header-link.d.ts +3 -0
- package/development/header/header-link.d.ts.map +1 -1
- package/development/header/header-link.js +2 -22
- package/development/header/header.d.ts +3 -0
- package/development/header/header.d.ts.map +1 -1
- package/development/header/header.js +2 -390
- package/development/header.d.ts +3 -0
- package/development/header.d.ts.map +1 -1
- package/development/header.js +10 -4
- package/development/icon/icon-base.js +182 -0
- package/development/icon/icon-name-mixin.js +58 -0
- package/development/icon/icon-request.js +42 -0
- package/development/icon/icon-validate.js +47 -0
- package/development/icon/icon.js +118 -0
- package/development/icon-sidebar-button-common-CA_8TnFu.js +110 -0
- package/development/icon.d.ts +3 -0
- package/development/icon.d.ts.map +1 -1
- package/development/icon.js +6 -400
- package/development/image/image.js +682 -0
- package/development/image.d.ts +3 -0
- package/development/image.d.ts.map +1 -1
- package/development/image.js +2 -679
- package/development/journey-header/journey-header.js +192 -0
- package/development/journey-header.d.ts +3 -0
- package/development/journey-header.d.ts.map +1 -1
- package/development/journey-header.js +2 -189
- package/development/lead-container/lead-container.js +150 -0
- package/development/lead-container.d.ts +3 -0
- package/development/lead-container.d.ts.map +1 -1
- package/development/lead-container.js +2 -147
- package/development/link/block-link/block-link.js +26 -0
- package/development/link/block-link-button/block-link-button.js +26 -0
- package/development/link/block-link-button.d.ts +3 -0
- package/development/link/block-link-button.d.ts.map +1 -1
- package/development/link/block-link-button.js +2 -23
- package/development/link/block-link-static/block-link-static.js +26 -0
- package/development/link/block-link-static.d.ts +3 -0
- package/development/link/block-link-static.d.ts.map +1 -1
- package/development/link/block-link-static.js +2 -23
- package/development/link/block-link.d.ts +3 -0
- package/development/link/block-link.d.ts.map +1 -1
- package/development/link/block-link.js +2 -23
- package/development/link/common/block-link-common.js +132 -0
- package/development/link/common/inline-link-common.js +45 -0
- package/development/link/common/link-common.js +11 -0
- package/development/link/common.d.ts +3 -0
- package/development/link/common.d.ts.map +1 -1
- package/development/link/common.js +5 -279
- package/development/link/link/link.js +26 -0
- package/development/link/link-button/link-button.js +26 -0
- package/development/link/link-button.d.ts +3 -0
- package/development/link/link-button.d.ts.map +1 -1
- package/development/link/link-button.js +2 -23
- package/development/link/link-static/link-static.js +26 -0
- package/development/link/link-static.d.ts +3 -0
- package/development/link/link-static.d.ts.map +1 -1
- package/development/link/link-static.js +2 -23
- package/development/link/link.d.ts +3 -0
- package/development/link/link.d.ts.map +1 -1
- package/development/link/link.js +2 -23
- package/development/link-common-CJEWffDZ.js +127 -0
- package/development/link-list/common/link-list-base.js +121 -0
- package/development/link-list/common.d.ts +3 -0
- package/development/link-list/common.d.ts.map +1 -1
- package/development/link-list/common.js +4 -141
- package/development/link-list/link-list/link-list.js +206 -0
- package/development/link-list/link-list-anchor/link-list-anchor.js +72 -0
- package/development/link-list/link-list-anchor.d.ts +3 -0
- package/development/link-list/link-list-anchor.d.ts.map +1 -1
- package/development/link-list/link-list-anchor.js +2 -69
- package/development/link-list/link-list.d.ts +3 -0
- package/development/link-list/link-list.d.ts.map +1 -1
- package/development/link-list/link-list.js +2 -203
- package/development/link-list-base-DC9sc7q5.js +27 -0
- package/development/link-list.d.ts +3 -0
- package/development/link-list.d.ts.map +1 -1
- package/development/link-list.js +11 -4
- package/development/link.d.ts +3 -0
- package/development/link.d.ts.map +1 -1
- package/development/link.js +21 -8
- package/development/loading-indicator/loading-indicator.js +260 -0
- package/development/loading-indicator-circle/loading-indicator-circle.js +146 -0
- package/development/loading-indicator-circle.d.ts +3 -0
- package/development/loading-indicator-circle.d.ts.map +1 -1
- package/development/loading-indicator-circle.js +2 -143
- package/development/loading-indicator.d.ts +3 -0
- package/development/loading-indicator.d.ts.map +1 -1
- package/development/loading-indicator.js +2 -257
- package/development/logo/logo.js +157 -0
- package/development/logo.d.ts +3 -0
- package/development/logo.d.ts.map +1 -1
- package/development/logo.js +2 -154
- package/development/map-container/map-container.js +285 -0
- package/development/map-container.d.ts +3 -0
- package/development/map-container.d.ts.map +1 -1
- package/development/map-container.js +2 -282
- package/development/menu/common/menu-action-common.js +203 -0
- package/development/menu/common.d.ts +3 -0
- package/development/menu/common.d.ts.map +1 -1
- package/development/menu/common.js +2 -200
- package/development/menu/menu/menu.d.ts +1 -2
- package/development/menu/menu/menu.d.ts.map +1 -1
- package/development/menu/menu/menu.js +573 -0
- package/development/menu/menu-button/menu-button.js +26 -0
- package/development/menu/menu-button.d.ts +3 -0
- package/development/menu/menu-button.d.ts.map +1 -1
- package/development/menu/menu-button.js +2 -23
- package/development/menu/menu-link/menu-link.js +26 -0
- package/development/menu/menu-link.d.ts +3 -0
- package/development/menu/menu-link.d.ts.map +1 -1
- package/development/menu/menu-link.js +2 -23
- package/development/menu/menu.d.ts +3 -0
- package/development/menu/menu.d.ts.map +1 -1
- package/development/menu/menu.js +2 -581
- package/development/menu.d.ts +3 -0
- package/development/menu.d.ts.map +1 -1
- package/development/menu.js +10 -4
- package/development/message/message.js +139 -0
- package/development/message.d.ts +3 -0
- package/development/message.d.ts.map +1 -1
- package/development/message.js +2 -136
- package/development/navigation/common/navigation-action-common.js +175 -0
- package/development/navigation/common.d.ts +3 -0
- package/development/navigation/common.d.ts.map +1 -1
- package/development/navigation/common.js +2 -172
- package/development/navigation/navigation/navigation.d.ts +12 -17
- package/development/navigation/navigation/navigation.d.ts.map +1 -1
- package/development/navigation/navigation/navigation.js +597 -0
- package/development/navigation/navigation-button/navigation-button.js +25 -0
- package/development/navigation/navigation-button.d.ts +3 -0
- package/development/navigation/navigation-button.d.ts.map +1 -1
- package/development/navigation/navigation-button.js +2 -22
- package/development/navigation/navigation-link/navigation-link.js +25 -0
- package/development/navigation/navigation-link.d.ts +3 -0
- package/development/navigation/navigation-link.d.ts.map +1 -1
- package/development/navigation/navigation-link.js +2 -22
- package/development/navigation/navigation-list/navigation-list.js +113 -0
- package/development/navigation/navigation-list.d.ts +3 -0
- package/development/navigation/navigation-list.d.ts.map +1 -1
- package/development/navigation/navigation-list.js +2 -110
- package/development/navigation/navigation-marker/navigation-marker.js +215 -0
- package/development/navigation/navigation-marker.d.ts +3 -0
- package/development/navigation/navigation-marker.d.ts.map +1 -1
- package/development/navigation/navigation-marker.js +2 -212
- package/development/navigation/navigation-section/navigation-section.d.ts +3 -5
- package/development/navigation/navigation-section/navigation-section.d.ts.map +1 -1
- package/development/navigation/navigation-section/navigation-section.js +622 -0
- package/development/navigation/navigation-section.d.ts +3 -0
- package/development/navigation/navigation-section.d.ts.map +1 -1
- package/development/navigation/navigation-section.js +2 -632
- package/development/navigation/navigation.d.ts +3 -0
- package/development/navigation/navigation.d.ts.map +1 -1
- package/development/navigation/navigation.js +2 -608
- package/development/navigation.d.ts +3 -0
- package/development/navigation.d.ts.map +1 -1
- package/development/navigation.js +16 -7
- package/development/notification/notification.js +527 -0
- package/development/notification.d.ts +3 -0
- package/development/notification.d.ts.map +1 -1
- package/development/notification.js +2 -524
- package/development/option/optgroup/optgroup-base-element.js +247 -0
- package/development/option/optgroup/optgroup.js +50 -0
- package/development/option/optgroup.d.ts +3 -0
- package/development/option/optgroup.d.ts.map +1 -1
- package/development/option/optgroup.js +3 -287
- package/development/option/option/option-base-element.js +320 -0
- package/development/option/option/option.js +264 -0
- package/development/option/option.d.ts +3 -0
- package/development/option/option.d.ts.map +1 -1
- package/development/option/option.js +3 -571
- package/development/option.d.ts +3 -0
- package/development/option.d.ts.map +1 -1
- package/development/option.js +11 -3
- package/development/overlay/overlay-base-element.d.ts +7 -3
- package/development/overlay/overlay-base-element.d.ts.map +1 -1
- package/development/overlay/overlay-base-element.js +144 -0
- package/development/overlay/overlay.d.ts +0 -1
- package/development/overlay/overlay.d.ts.map +1 -1
- package/development/overlay/overlay.js +424 -0
- package/development/overlay.d.ts +3 -0
- package/development/overlay.d.ts.map +1 -1
- package/development/overlay.js +3 -549
- package/development/paginator/common/paginator-common.js +193 -0
- package/development/paginator/common.d.ts +3 -0
- package/development/paginator/common.d.ts.map +1 -1
- package/development/paginator/common.js +2 -190
- package/development/paginator/compact-paginator/compact-paginator.js +96 -0
- package/development/paginator/compact-paginator.d.ts +3 -0
- package/development/paginator/compact-paginator.d.ts.map +1 -1
- package/development/paginator/compact-paginator.js +2 -93
- package/development/paginator/paginator/paginator.js +452 -0
- package/development/paginator/paginator.d.ts +3 -0
- package/development/paginator/paginator.d.ts.map +1 -1
- package/development/paginator/paginator.js +2 -449
- package/development/paginator.d.ts +3 -0
- package/development/paginator.d.ts.map +1 -1
- package/development/paginator.js +8 -3
- package/development/popover/popover/popover.d.ts +1 -1
- package/development/popover/popover/popover.d.ts.map +1 -1
- package/development/popover/popover/popover.js +592 -0
- package/development/popover/popover-trigger/popover-trigger.js +213 -0
- package/development/popover/popover-trigger.d.ts +3 -0
- package/development/popover/popover-trigger.d.ts.map +1 -1
- package/development/popover/popover-trigger.js +2 -212
- package/development/popover/popover.d.ts +3 -0
- package/development/popover/popover.d.ts.map +1 -1
- package/development/popover/popover.js +2 -597
- package/development/popover.d.ts +3 -0
- package/development/popover.d.ts.map +1 -1
- package/development/popover.js +6 -2
- package/development/radio-button/common/radio-button-common.d.ts.map +1 -1
- package/development/radio-button/common/radio-button-common.js +93 -0
- package/development/radio-button/common.d.ts +3 -0
- package/development/radio-button/common.d.ts.map +1 -1
- package/development/radio-button/common.js +4 -228
- package/development/radio-button/radio-button/radio-button.js +90 -0
- package/development/radio-button/radio-button-group/radio-button-group.js +387 -0
- package/development/radio-button/radio-button-group.d.ts +3 -0
- package/development/radio-button/radio-button-group.d.ts.map +1 -1
- package/development/radio-button/radio-button-group.js +2 -384
- package/development/radio-button/radio-button-panel/radio-button-panel.js +122 -0
- package/development/radio-button/radio-button-panel.d.ts +3 -0
- package/development/radio-button/radio-button-panel.d.ts.map +1 -1
- package/development/radio-button/radio-button-panel.js +2 -119
- package/development/radio-button/radio-button.d.ts +3 -0
- package/development/radio-button/radio-button.d.ts.map +1 -1
- package/development/radio-button/radio-button.js +2 -87
- package/development/radio-button-common-hZiiLJDY.js +139 -0
- package/development/radio-button.d.ts +3 -0
- package/development/radio-button.d.ts.map +1 -1
- package/development/radio-button.js +13 -5
- package/development/{sbb-tokens-CSAKTXUi.js → sbb-tokens-CVLcOi-S.js} +10 -10
- package/development/screen-reader-only/screen-reader-only.js +37 -0
- package/development/screen-reader-only.d.ts +3 -0
- package/development/screen-reader-only.d.ts.map +1 -1
- package/development/screen-reader-only.js +2 -34
- package/development/select/select.js +1048 -0
- package/development/select.d.ts +3 -0
- package/development/select.d.ts.map +1 -1
- package/development/select.js +2 -1045
- package/development/selection-expansion-panel/selection-expansion-panel.js +400 -0
- package/development/selection-expansion-panel.d.ts +3 -0
- package/development/selection-expansion-panel.d.ts.map +1 -1
- package/development/selection-expansion-panel.js +2 -397
- package/development/sidebar/common.d.ts +3 -0
- package/development/sidebar/common.d.ts.map +1 -1
- package/development/sidebar/common.js +5 -112
- package/development/sidebar/icon-sidebar/icon-sidebar.js +85 -0
- package/development/sidebar/icon-sidebar-button/icon-sidebar-button.js +28 -0
- package/development/sidebar/icon-sidebar-button.d.ts +3 -0
- package/development/sidebar/icon-sidebar-button.d.ts.map +1 -1
- package/development/sidebar/icon-sidebar-button.js +2 -25
- package/development/sidebar/icon-sidebar-container/icon-sidebar-container.js +45 -0
- package/development/sidebar/icon-sidebar-container.d.ts +3 -0
- package/development/sidebar/icon-sidebar-container.d.ts.map +1 -1
- package/development/sidebar/icon-sidebar-container.js +2 -42
- package/development/sidebar/icon-sidebar-content/icon-sidebar-content.js +34 -0
- package/development/sidebar/icon-sidebar-content.d.ts +3 -0
- package/development/sidebar/icon-sidebar-content.d.ts.map +1 -1
- package/development/sidebar/icon-sidebar-content.js +2 -31
- package/development/sidebar/icon-sidebar-link/icon-sidebar-link.js +28 -0
- package/development/sidebar/icon-sidebar-link.d.ts +3 -0
- package/development/sidebar/icon-sidebar-link.d.ts.map +1 -1
- package/development/sidebar/icon-sidebar-link.js +2 -25
- package/development/sidebar/icon-sidebar.d.ts +3 -0
- package/development/sidebar/icon-sidebar.d.ts.map +1 -1
- package/development/sidebar/icon-sidebar.js +2 -82
- package/development/sidebar/sidebar/sidebar.d.ts +1 -7
- package/development/sidebar/sidebar/sidebar.d.ts.map +1 -1
- package/development/sidebar/sidebar/sidebar.js +485 -0
- package/development/sidebar/sidebar-close-button/sidebar-close-button.js +55 -0
- package/development/sidebar/sidebar-close-button.d.ts +3 -0
- package/development/sidebar/sidebar-close-button.d.ts.map +1 -1
- package/development/sidebar/sidebar-close-button.js +2 -52
- package/development/sidebar/sidebar-container/sidebar-container.d.ts.map +1 -1
- package/development/sidebar/sidebar-container/sidebar-container.js +156 -0
- package/development/sidebar/sidebar-container.d.ts +3 -0
- package/development/sidebar/sidebar-container.d.ts.map +1 -1
- package/development/sidebar/sidebar-container.js +2 -150
- package/development/sidebar/sidebar-content/sidebar-content.js +37 -0
- package/development/sidebar/sidebar-content.d.ts +3 -0
- package/development/sidebar/sidebar-content.d.ts.map +1 -1
- package/development/sidebar/sidebar-content.js +2 -34
- package/development/sidebar/sidebar-title/sidebar-title.js +63 -0
- package/development/sidebar/sidebar-title.d.ts +3 -0
- package/development/sidebar/sidebar-title.d.ts.map +1 -1
- package/development/sidebar/sidebar-title.js +2 -60
- package/development/sidebar/sidebar.d.ts +3 -0
- package/development/sidebar/sidebar.d.ts.map +1 -1
- package/development/sidebar/sidebar.js +2 -520
- package/development/sidebar.d.ts +3 -0
- package/development/sidebar.d.ts.map +1 -1
- package/development/sidebar.js +26 -11
- package/development/signet/signet.js +162 -0
- package/development/signet.d.ts +3 -0
- package/development/signet.d.ts.map +1 -1
- package/development/signet.js +2 -159
- package/development/skiplink-list/skiplink-list.js +144 -0
- package/development/skiplink-list.d.ts +3 -0
- package/development/skiplink-list.d.ts.map +1 -1
- package/development/skiplink-list.js +2 -141
- package/development/slider/slider.js +451 -0
- package/development/slider.d.ts +3 -0
- package/development/slider.d.ts.map +1 -1
- package/development/slider.js +2 -448
- package/development/status/status.d.ts +4 -0
- package/development/status/status.d.ts.map +1 -1
- package/development/status/status.js +198 -0
- package/development/status.d.ts +3 -0
- package/development/status.d.ts.map +1 -1
- package/development/status.js +2 -220
- package/development/stepper/step/step.js +218 -0
- package/development/stepper/step-label/step-label.js +276 -0
- package/development/stepper/step-label.d.ts +3 -0
- package/development/stepper/step-label.d.ts.map +1 -1
- package/development/stepper/step-label.js +2 -273
- package/development/stepper/step.d.ts +3 -0
- package/development/stepper/step.d.ts.map +1 -1
- package/development/stepper/step.js +2 -215
- package/development/stepper/stepper/stepper.d.ts.map +1 -1
- package/development/stepper/stepper/stepper.js +449 -0
- package/development/stepper/stepper.d.ts +3 -0
- package/development/stepper/stepper.d.ts.map +1 -1
- package/development/stepper/stepper.js +2 -446
- package/development/stepper.d.ts +3 -0
- package/development/stepper.d.ts.map +1 -1
- package/development/stepper.js +8 -3
- package/development/table/table-wrapper/table-wrapper.d.ts +6 -1
- package/development/table/table-wrapper/table-wrapper.d.ts.map +1 -1
- package/development/table/table-wrapper/table-wrapper.js +128 -0
- package/development/table/table-wrapper.d.ts +3 -0
- package/development/table/table-wrapper.d.ts.map +1 -1
- package/development/table/table-wrapper.js +2 -104
- package/development/table.d.ts +3 -0
- package/development/table.d.ts.map +1 -1
- package/development/table.js +4 -1
- package/development/tabs/tab/tab.js +66 -0
- package/development/tabs/tab-group/tab-group.js +391 -0
- package/development/tabs/tab-group.d.ts +3 -0
- package/development/tabs/tab-group.d.ts.map +1 -1
- package/development/tabs/tab-group.js +2 -388
- package/development/tabs/tab-label/tab-label.js +316 -0
- package/development/tabs/tab-label.d.ts +3 -0
- package/development/tabs/tab-label.d.ts.map +1 -1
- package/development/tabs/tab-label.js +2 -312
- package/development/tabs/tab.d.ts +3 -0
- package/development/tabs/tab.d.ts.map +1 -1
- package/development/tabs/tab.js +2 -63
- package/development/tabs.d.ts +3 -0
- package/development/tabs.d.ts.map +1 -1
- package/development/tabs.js +8 -3
- package/development/tag/tag/tag.js +351 -0
- package/development/tag/tag-group/tag-group.js +192 -0
- package/development/tag/tag-group.d.ts +3 -0
- package/development/tag/tag-group.d.ts.map +1 -1
- package/development/tag/tag-group.js +2 -189
- package/development/tag/tag.d.ts +3 -0
- package/development/tag/tag.d.ts.map +1 -1
- package/development/tag/tag.js +2 -348
- package/development/tag.d.ts +3 -0
- package/development/tag.d.ts.map +1 -1
- package/development/tag.js +6 -2
- package/development/teaser/teaser.js +260 -0
- package/development/teaser-hero/teaser-hero.js +180 -0
- package/development/teaser-hero.d.ts +3 -0
- package/development/teaser-hero.d.ts.map +1 -1
- package/development/teaser-hero.js +2 -177
- package/development/teaser-product/common/teaser-product-common.js +73 -0
- package/development/teaser-product/common.d.ts +3 -0
- package/development/teaser-product/common.d.ts.map +1 -1
- package/development/teaser-product/common.js +4 -214
- package/development/teaser-product/teaser-product/teaser-product.js +71 -0
- package/development/teaser-product/teaser-product-static/teaser-product-static.js +24 -0
- package/development/teaser-product/teaser-product-static.d.ts +3 -0
- package/development/teaser-product/teaser-product-static.d.ts.map +1 -1
- package/development/teaser-product/teaser-product-static.js +2 -21
- package/development/teaser-product/teaser-product.d.ts +3 -0
- package/development/teaser-product/teaser-product.d.ts.map +1 -1
- package/development/teaser-product/teaser-product.js +2 -68
- package/development/teaser-product-common-D6fa6x3w.js +148 -0
- package/development/teaser-product.d.ts +3 -0
- package/development/teaser-product.d.ts.map +1 -1
- package/development/teaser-product.js +11 -4
- package/development/teaser.d.ts +3 -0
- package/development/teaser.d.ts.map +1 -1
- package/development/teaser.js +2 -257
- package/development/time-input/time-input.js +276 -0
- package/development/time-input.d.ts +3 -0
- package/development/time-input.d.ts.map +1 -1
- package/development/time-input.js +2 -273
- package/development/timetable-occupancy/timetable-occupancy.js +151 -0
- package/development/timetable-occupancy-icon/timetable-occupancy-icon.js +98 -0
- package/development/timetable-occupancy-icon.d.ts +3 -0
- package/development/timetable-occupancy-icon.d.ts.map +1 -1
- package/development/timetable-occupancy-icon.js +2 -95
- package/development/timetable-occupancy.d.ts +3 -0
- package/development/timetable-occupancy.d.ts.map +1 -1
- package/development/timetable-occupancy.js +2 -148
- package/development/title/title-base.js +212 -0
- package/development/title/title.js +60 -0
- package/development/title.d.ts +3 -0
- package/development/title.d.ts.map +1 -1
- package/development/title.js +3 -261
- package/development/toast/toast.js +443 -0
- package/development/toast.d.ts +3 -0
- package/development/toast.d.ts.map +1 -1
- package/development/toast.js +2 -440
- package/development/toggle/toggle/toggle.d.ts.map +1 -1
- package/development/toggle/toggle/toggle.js +342 -0
- package/development/toggle/toggle-option/toggle-option.d.ts.map +1 -1
- package/development/toggle/toggle-option/toggle-option.js +208 -0
- package/development/toggle/toggle-option.d.ts +3 -0
- package/development/toggle/toggle-option.d.ts.map +1 -1
- package/development/toggle/toggle-option.js +2 -217
- package/development/toggle/toggle.d.ts +3 -0
- package/development/toggle/toggle.d.ts.map +1 -1
- package/development/toggle/toggle.js +2 -340
- package/development/toggle-check/toggle-check.js +284 -0
- package/development/toggle-check.d.ts +3 -0
- package/development/toggle-check.d.ts.map +1 -1
- package/development/toggle-check.js +2 -281
- package/development/toggle.d.ts +3 -0
- package/development/toggle.d.ts.map +1 -1
- package/development/toggle.js +6 -2
- package/development/train/train/train.js +245 -0
- package/development/train/train-blocked-passage/train-blocked-passage.js +87 -0
- package/development/train/train-blocked-passage.d.ts +3 -0
- package/development/train/train-blocked-passage.d.ts.map +1 -1
- package/development/train/train-blocked-passage.js +2 -84
- package/development/train/train-formation/train-formation.js +269 -0
- package/development/train/train-formation.d.ts +3 -0
- package/development/train/train-formation.d.ts.map +1 -1
- package/development/train/train-formation.js +2 -266
- package/development/train/train-wagon/train-wagon.js +415 -0
- package/development/train/train-wagon.d.ts +3 -0
- package/development/train/train-wagon.d.ts.map +1 -1
- package/development/train/train-wagon.js +2 -412
- package/development/train/train.d.ts +3 -0
- package/development/train/train.d.ts.map +1 -1
- package/development/train/train.js +2 -242
- package/development/train.d.ts +3 -0
- package/development/train.d.ts.map +1 -1
- package/development/train.js +10 -4
- package/development/transparent-button-Ddb_s0a0.js +338 -0
- package/development/visual-checkbox/visual-checkbox.js +221 -0
- package/development/visual-checkbox.d.ts +3 -0
- package/development/visual-checkbox.d.ts.map +1 -1
- package/development/visual-checkbox.js +2 -218
- package/dialog/dialog/dialog.d.ts +0 -1
- package/dialog/dialog/dialog.d.ts.map +1 -1
- package/dialog/dialog/dialog.js +142 -0
- package/dialog/dialog-actions/dialog-actions.js +20 -0
- package/dialog/dialog-actions.d.ts +3 -0
- package/dialog/dialog-actions.d.ts.map +1 -1
- package/dialog/dialog-actions.js +2 -18
- package/dialog/dialog-content/dialog-content.js +24 -0
- package/dialog/dialog-content.d.ts +3 -0
- package/dialog/dialog-content.d.ts.map +1 -1
- package/dialog/dialog-content.js +2 -22
- package/dialog/dialog-title/dialog-title.js +116 -0
- package/dialog/dialog-title.d.ts +3 -0
- package/dialog/dialog-title.d.ts.map +1 -1
- package/dialog/dialog-title.js +2 -114
- package/dialog/dialog.d.ts +3 -0
- package/dialog/dialog.d.ts.map +1 -1
- package/dialog/dialog.js +2 -146
- package/dialog.d.ts +3 -0
- package/dialog.d.ts.map +1 -1
- package/dialog.js +10 -4
- package/divider/divider.js +45 -0
- package/divider.d.ts +3 -0
- package/divider.d.ts.map +1 -1
- package/divider.js +2 -43
- package/expansion-panel/expansion-panel/expansion-panel.js +165 -0
- package/expansion-panel/expansion-panel-content/expansion-panel-content.js +27 -0
- package/expansion-panel/expansion-panel-content.d.ts +3 -0
- package/expansion-panel/expansion-panel-content.d.ts.map +1 -1
- package/expansion-panel/expansion-panel-content.js +2 -25
- package/expansion-panel/expansion-panel-header/expansion-panel-header.js +65 -0
- package/expansion-panel/expansion-panel-header.d.ts +3 -0
- package/expansion-panel/expansion-panel-header.d.ts.map +1 -1
- package/expansion-panel/expansion-panel-header.js +2 -63
- package/expansion-panel/expansion-panel.d.ts +3 -0
- package/expansion-panel/expansion-panel.d.ts.map +1 -1
- package/expansion-panel/expansion-panel.js +2 -163
- package/expansion-panel.d.ts +3 -0
- package/expansion-panel.d.ts.map +1 -1
- package/expansion-panel.js +8 -3
- package/file-selector/common/file-selector-common.d.ts.map +1 -1
- package/file-selector/common/file-selector-common.js +209 -0
- package/file-selector/common.d.ts +3 -0
- package/file-selector/common.d.ts.map +1 -1
- package/file-selector/common.js +4 -208
- package/file-selector/file-selector/file-selector.js +44 -0
- package/file-selector/file-selector-dropzone/file-selector-dropzone.js +97 -0
- package/file-selector/file-selector-dropzone.d.ts +3 -0
- package/file-selector/file-selector-dropzone.d.ts.map +1 -1
- package/file-selector/file-selector-dropzone.js +2 -95
- package/file-selector/file-selector.d.ts +3 -0
- package/file-selector/file-selector.d.ts.map +1 -1
- package/file-selector/file-selector.js +2 -42
- package/file-selector-common-Dw5d8vA4.js +5 -0
- package/file-selector.d.ts +3 -0
- package/file-selector.d.ts.map +1 -1
- package/file-selector.js +10 -3
- package/flip-card/flip-card/flip-card.js +122 -0
- package/flip-card/flip-card-details/flip-card-details.js +45 -0
- package/flip-card/flip-card-details.d.ts +3 -0
- package/flip-card/flip-card-details.d.ts.map +1 -1
- package/flip-card/flip-card-details.js +2 -43
- package/flip-card/flip-card-summary/flip-card-summary.js +52 -0
- package/flip-card/flip-card-summary.d.ts +3 -0
- package/flip-card/flip-card-summary.d.ts.map +1 -1
- package/flip-card/flip-card-summary.js +2 -50
- package/flip-card/flip-card.d.ts +3 -0
- package/flip-card/flip-card.d.ts.map +1 -1
- package/flip-card/flip-card.js +2 -120
- package/flip-card.d.ts +3 -0
- package/flip-card.d.ts.map +1 -1
- package/flip-card.js +8 -3
- package/footer/footer.js +87 -0
- package/footer.d.ts +3 -0
- package/footer.d.ts.map +1 -1
- package/footer.js +2 -85
- package/form-error/form-error.js +47 -0
- package/form-error.d.ts +3 -0
- package/form-error.d.ts.map +1 -1
- package/form-error.js +2 -45
- package/form-field/form-field/form-field.js +363 -0
- package/form-field/form-field-clear/form-field-clear.js +42 -0
- package/form-field/form-field-clear.d.ts +3 -0
- package/form-field/form-field-clear.d.ts.map +1 -1
- package/form-field/form-field-clear.js +2 -40
- package/form-field/form-field.d.ts +3 -0
- package/form-field/form-field.d.ts.map +1 -1
- package/form-field/form-field.js +2 -361
- package/form-field.d.ts +3 -0
- package/form-field.d.ts.map +1 -1
- package/form-field.js +6 -2
- package/header/common/header-action-common.js +50 -0
- package/header/common.d.ts +3 -0
- package/header/common.d.ts.map +1 -1
- package/header/common.js +2 -48
- package/header/header/header.js +151 -0
- package/header/header-button/header-button.js +16 -0
- package/header/header-button.d.ts +3 -0
- package/header/header-button.d.ts.map +1 -1
- package/header/header-button.js +2 -14
- package/header/header-link/header-link.js +16 -0
- package/header/header-link.d.ts +3 -0
- package/header/header-link.d.ts.map +1 -1
- package/header/header-link.js +2 -14
- package/header/header.d.ts +3 -0
- package/header/header.d.ts.map +1 -1
- package/header/header.js +2 -149
- package/header.d.ts +3 -0
- package/header.d.ts.map +1 -1
- package/header.js +10 -4
- package/icon/icon-base.js +109 -0
- package/icon/icon-name-mixin.js +47 -0
- package/icon/icon-request.js +31 -0
- package/icon/icon-validate.js +26 -0
- package/icon/icon.js +77 -0
- package/icon-sidebar-button-common-DG8bnrBu.js +7 -0
- package/icon.d.ts +3 -0
- package/icon.d.ts.map +1 -1
- package/icon.js +11 -254
- package/image/image.js +469 -0
- package/image.d.ts +3 -0
- package/image.d.ts.map +1 -1
- package/image.js +2 -467
- package/index.d.ts +187 -185
- package/index.js +187 -185
- package/journey-header/journey-header.js +119 -0
- package/journey-header.d.ts +3 -0
- package/journey-header.d.ts.map +1 -1
- package/journey-header.js +2 -117
- package/lead-container/lead-container.js +31 -0
- package/lead-container.d.ts +3 -0
- package/lead-container.d.ts.map +1 -1
- package/lead-container.js +2 -29
- package/link/block-link/block-link.js +17 -0
- package/link/block-link-button/block-link-button.js +17 -0
- package/link/block-link-button.d.ts +3 -0
- package/link/block-link-button.d.ts.map +1 -1
- package/link/block-link-button.js +2 -15
- package/link/block-link-static/block-link-static.js +17 -0
- package/link/block-link-static.d.ts +3 -0
- package/link/block-link-static.d.ts.map +1 -1
- package/link/block-link-static.js +2 -15
- package/link/block-link.d.ts +3 -0
- package/link/block-link.d.ts.map +1 -1
- package/link/block-link.js +2 -15
- package/link/common/block-link-common.js +43 -0
- package/link/common/inline-link-common.js +12 -0
- package/link/common/link-common.js +10 -0
- package/link/common.d.ts +3 -0
- package/link/common.d.ts.map +1 -1
- package/link/common.js +6 -80
- package/link/link/link.js +17 -0
- package/link/link-button/link-button.js +17 -0
- package/link/link-button.d.ts +3 -0
- package/link/link-button.d.ts.map +1 -1
- package/link/link-button.js +2 -15
- package/link/link-static/link-static.js +17 -0
- package/link/link-static.d.ts +3 -0
- package/link/link-static.d.ts.map +1 -1
- package/link/link-static.js +2 -15
- package/link/link.d.ts +3 -0
- package/link/link.d.ts.map +1 -1
- package/link/link.js +2 -15
- package/link-common-DZrQ-32d.js +46 -0
- package/link-list/common/link-list-base.js +87 -0
- package/link-list/common.d.ts +3 -0
- package/link-list/common.d.ts.map +1 -1
- package/link-list/common.js +4 -87
- package/link-list/link-list/link-list.js +46 -0
- package/link-list/link-list-anchor/link-list-anchor.js +17 -0
- package/link-list/link-list-anchor.d.ts +3 -0
- package/link-list/link-list-anchor.d.ts.map +1 -1
- package/link-list/link-list-anchor.js +2 -15
- package/link-list/link-list.d.ts +3 -0
- package/link-list/link-list.d.ts.map +1 -1
- package/link-list/link-list.js +2 -44
- package/link-list-base-BdOBGhxe.js +5 -0
- package/link-list.d.ts +3 -0
- package/link-list.d.ts.map +1 -1
- package/link-list.js +10 -3
- package/link.d.ts +3 -0
- package/link.d.ts.map +1 -1
- package/link.js +20 -7
- package/loading-indicator/loading-indicator.js +66 -0
- package/loading-indicator-circle/loading-indicator-circle.js +46 -0
- package/loading-indicator-circle.d.ts +3 -0
- package/loading-indicator-circle.d.ts.map +1 -1
- package/loading-indicator-circle.js +2 -44
- package/loading-indicator.d.ts +3 -0
- package/loading-indicator.d.ts.map +1 -1
- package/loading-indicator.js +2 -64
- package/logo/logo.js +67 -0
- package/logo.d.ts +3 -0
- package/logo.d.ts.map +1 -1
- package/logo.js +2 -65
- package/map-container/map-container.js +109 -0
- package/map-container.d.ts +3 -0
- package/map-container.d.ts.map +1 -1
- package/map-container.js +2 -107
- package/menu/common/menu-action-common.js +53 -0
- package/menu/common.d.ts +3 -0
- package/menu/common.d.ts.map +1 -1
- package/menu/common.js +2 -51
- package/menu/menu/menu.d.ts +1 -2
- package/menu/menu/menu.d.ts.map +1 -1
- package/menu/menu/menu.js +227 -0
- package/menu/menu-button/menu-button.js +17 -0
- package/menu/menu-button.d.ts +3 -0
- package/menu/menu-button.d.ts.map +1 -1
- package/menu/menu-button.js +2 -15
- package/menu/menu-link/menu-link.js +17 -0
- package/menu/menu-link.d.ts +3 -0
- package/menu/menu-link.d.ts.map +1 -1
- package/menu/menu-link.js +2 -15
- package/menu/menu.d.ts +3 -0
- package/menu/menu.d.ts.map +1 -1
- package/menu/menu.js +2 -230
- package/menu.d.ts +3 -0
- package/menu.d.ts.map +1 -1
- package/menu.js +10 -4
- package/message/message.js +60 -0
- package/message.d.ts +3 -0
- package/message.d.ts.map +1 -1
- package/message.js +2 -58
- package/navigation/common/navigation-action-common.js +58 -0
- package/navigation/common.d.ts +3 -0
- package/navigation/common.d.ts.map +1 -1
- package/navigation/common.js +2 -56
- package/navigation/navigation/navigation.d.ts +12 -17
- package/navigation/navigation/navigation.d.ts.map +1 -1
- package/navigation/navigation/navigation.js +215 -0
- package/navigation/navigation-button/navigation-button.js +16 -0
- package/navigation/navigation-button.d.ts +3 -0
- package/navigation/navigation-button.d.ts.map +1 -1
- package/navigation/navigation-button.js +2 -14
- package/navigation/navigation-link/navigation-link.js +16 -0
- package/navigation/navigation-link.d.ts +3 -0
- package/navigation/navigation-link.d.ts.map +1 -1
- package/navigation/navigation-link.js +2 -14
- package/navigation/navigation-list/navigation-list.js +57 -0
- package/navigation/navigation-list.d.ts +3 -0
- package/navigation/navigation-list.d.ts.map +1 -1
- package/navigation/navigation-list.js +2 -55
- package/navigation/navigation-marker/navigation-marker.js +82 -0
- package/navigation/navigation-marker.d.ts +3 -0
- package/navigation/navigation-marker.d.ts.map +1 -1
- package/navigation/navigation-marker.js +2 -80
- package/navigation/navigation-section/navigation-section.d.ts +3 -5
- package/navigation/navigation-section/navigation-section.d.ts.map +1 -1
- package/navigation/navigation-section/navigation-section.js +233 -0
- package/navigation/navigation-section.d.ts +3 -0
- package/navigation/navigation-section.d.ts.map +1 -1
- package/navigation/navigation-section.js +2 -231
- package/navigation/navigation.d.ts +3 -0
- package/navigation/navigation.d.ts.map +1 -1
- package/navigation/navigation.js +2 -218
- package/navigation.d.ts +3 -0
- package/navigation.d.ts.map +1 -1
- package/navigation.js +16 -7
- package/notification/notification.js +192 -0
- package/notification.d.ts +3 -0
- package/notification.d.ts.map +1 -1
- package/notification.js +2 -190
- package/option/optgroup/optgroup-base-element.js +115 -0
- package/option/optgroup/optgroup.js +34 -0
- package/option/optgroup.d.ts +3 -0
- package/option/optgroup.d.ts.map +1 -1
- package/option/optgroup.js +4 -141
- package/option/option/option-base-element.js +232 -0
- package/option/option/option.js +95 -0
- package/option/option.d.ts +3 -0
- package/option/option.d.ts.map +1 -1
- package/option/option.js +4 -318
- package/option.d.ts +3 -0
- package/option.d.ts.map +1 -1
- package/option.js +10 -2
- package/overlay/overlay-base-element.d.ts +7 -3
- package/overlay/overlay-base-element.d.ts.map +1 -1
- package/overlay/overlay-base-element.js +102 -0
- package/overlay/overlay.d.ts +0 -1
- package/overlay/overlay.d.ts.map +1 -1
- package/overlay/overlay.js +156 -0
- package/overlay.d.ts +3 -0
- package/overlay.d.ts.map +1 -1
- package/overlay.js +5 -239
- package/package.json +2 -2
- package/paginator/common/paginator-common.js +149 -0
- package/paginator/common.d.ts +3 -0
- package/paginator/common.d.ts.map +1 -1
- package/paginator/common.js +2 -147
- package/paginator/compact-paginator/compact-paginator.js +40 -0
- package/paginator/compact-paginator.d.ts +3 -0
- package/paginator/compact-paginator.d.ts.map +1 -1
- package/paginator/compact-paginator.js +2 -38
- package/paginator/paginator/paginator.js +169 -0
- package/paginator/paginator.d.ts +3 -0
- package/paginator/paginator.d.ts.map +1 -1
- package/paginator/paginator.js +2 -167
- package/paginator.d.ts +3 -0
- package/paginator.d.ts.map +1 -1
- package/paginator.js +8 -3
- package/popover/popover/popover.d.ts +1 -1
- package/popover/popover/popover.d.ts.map +1 -1
- package/popover/popover/popover.js +261 -0
- package/popover/popover-trigger/popover-trigger.js +32 -0
- package/popover/popover-trigger.d.ts +3 -0
- package/popover/popover-trigger.d.ts.map +1 -1
- package/popover/popover-trigger.js +2 -30
- package/popover/popover.d.ts +3 -0
- package/popover/popover.d.ts.map +1 -1
- package/popover/popover.js +2 -263
- package/popover.d.ts +3 -0
- package/popover.d.ts.map +1 -1
- package/popover.js +6 -2
- package/radio-button/common/radio-button-common.d.ts.map +1 -1
- package/radio-button/common/radio-button-common.js +64 -0
- package/radio-button/common.d.ts +3 -0
- package/radio-button/common.d.ts.map +1 -1
- package/radio-button/common.js +4 -65
- package/radio-button/radio-button/radio-button.js +57 -0
- package/radio-button/radio-button-group/radio-button-group.js +186 -0
- package/radio-button/radio-button-group.d.ts +3 -0
- package/radio-button/radio-button-group.d.ts.map +1 -1
- package/radio-button/radio-button-group.js +2 -184
- package/radio-button/radio-button-panel/radio-button-panel.js +88 -0
- package/radio-button/radio-button-panel.d.ts +3 -0
- package/radio-button/radio-button-panel.d.ts.map +1 -1
- package/radio-button/radio-button-panel.js +2 -86
- package/radio-button/radio-button.d.ts +3 -0
- package/radio-button/radio-button.d.ts.map +1 -1
- package/radio-button/radio-button.js +2 -55
- package/radio-button-common-DJKWrKor.js +5 -0
- package/radio-button.d.ts +3 -0
- package/radio-button.d.ts.map +1 -1
- package/radio-button.js +12 -4
- package/{sbb-tokens-BgDF8jIh.js → sbb-tokens-B3Eka-Tz.js} +9 -9
- package/screen-reader-only/screen-reader-only.js +19 -0
- package/screen-reader-only.d.ts +3 -0
- package/screen-reader-only.d.ts.map +1 -1
- package/screen-reader-only.js +2 -17
- package/select/select.js +482 -0
- package/select.d.ts +3 -0
- package/select.d.ts.map +1 -1
- package/select.js +2 -480
- package/selection-expansion-panel/selection-expansion-panel.js +185 -0
- package/selection-expansion-panel.d.ts +3 -0
- package/selection-expansion-panel.d.ts.map +1 -1
- package/selection-expansion-panel.js +2 -183
- package/sidebar/common.d.ts +3 -0
- package/sidebar/common.d.ts.map +1 -1
- package/sidebar/common.js +3 -4
- package/sidebar/icon-sidebar/icon-sidebar.js +47 -0
- package/sidebar/icon-sidebar-button/icon-sidebar-button.js +20 -0
- package/sidebar/icon-sidebar-button.d.ts +3 -0
- package/sidebar/icon-sidebar-button.d.ts.map +1 -1
- package/sidebar/icon-sidebar-button.js +2 -18
- package/sidebar/icon-sidebar-container/icon-sidebar-container.js +35 -0
- package/sidebar/icon-sidebar-container.d.ts +3 -0
- package/sidebar/icon-sidebar-container.d.ts.map +1 -1
- package/sidebar/icon-sidebar-container.js +2 -33
- package/sidebar/icon-sidebar-content/icon-sidebar-content.js +23 -0
- package/sidebar/icon-sidebar-content.d.ts +3 -0
- package/sidebar/icon-sidebar-content.d.ts.map +1 -1
- package/sidebar/icon-sidebar-content.js +2 -21
- package/sidebar/icon-sidebar-link/icon-sidebar-link.js +20 -0
- package/sidebar/icon-sidebar-link.d.ts +3 -0
- package/sidebar/icon-sidebar-link.d.ts.map +1 -1
- package/sidebar/icon-sidebar-link.js +2 -18
- package/sidebar/icon-sidebar.d.ts +3 -0
- package/sidebar/icon-sidebar.d.ts.map +1 -1
- package/sidebar/icon-sidebar.js +2 -45
- package/sidebar/sidebar/sidebar.d.ts +1 -7
- package/sidebar/sidebar/sidebar.d.ts.map +1 -1
- package/sidebar/sidebar/sidebar.js +194 -0
- package/sidebar/sidebar-close-button/sidebar-close-button.js +29 -0
- package/sidebar/sidebar-close-button.d.ts +3 -0
- package/sidebar/sidebar-close-button.d.ts.map +1 -1
- package/sidebar/sidebar-close-button.js +2 -27
- package/sidebar/sidebar-container/sidebar-container.d.ts.map +1 -1
- package/sidebar/sidebar-container/sidebar-container.js +81 -0
- package/sidebar/sidebar-container.d.ts +3 -0
- package/sidebar/sidebar-container.d.ts.map +1 -1
- package/sidebar/sidebar-container.js +2 -76
- package/sidebar/sidebar-content/sidebar-content.js +23 -0
- package/sidebar/sidebar-content.d.ts +3 -0
- package/sidebar/sidebar-content.d.ts.map +1 -1
- package/sidebar/sidebar-content.js +2 -21
- package/sidebar/sidebar-title/sidebar-title.js +37 -0
- package/sidebar/sidebar-title.d.ts +3 -0
- package/sidebar/sidebar-title.d.ts.map +1 -1
- package/sidebar/sidebar-title.js +2 -35
- package/sidebar/sidebar.d.ts +3 -0
- package/sidebar/sidebar.d.ts.map +1 -1
- package/sidebar/sidebar.js +2 -212
- package/sidebar.d.ts +3 -0
- package/sidebar.d.ts.map +1 -1
- package/sidebar.js +26 -11
- package/signet/signet.js +72 -0
- package/signet.d.ts +3 -0
- package/signet.d.ts.map +1 -1
- package/signet.js +2 -70
- package/skiplink-list/skiplink-list.js +71 -0
- package/skiplink-list.d.ts +3 -0
- package/skiplink-list.d.ts.map +1 -1
- package/skiplink-list.js +2 -69
- package/slider/slider.js +232 -0
- package/slider.d.ts +3 -0
- package/slider.d.ts.map +1 -1
- package/slider.js +2 -230
- package/standard-theme.css +42 -2
- package/status/status.d.ts +4 -0
- package/status/status.d.ts.map +1 -1
- package/status/status.js +89 -0
- package/status.d.ts +3 -0
- package/status.d.ts.map +1 -1
- package/status.js +2 -87
- package/stepper/step/step.js +104 -0
- package/stepper/step-label/step-label.js +75 -0
- package/stepper/step-label.d.ts +3 -0
- package/stepper/step-label.d.ts.map +1 -1
- package/stepper/step-label.js +2 -73
- package/stepper/step.d.ts +3 -0
- package/stepper/step.d.ts.map +1 -1
- package/stepper/step.js +2 -102
- package/stepper/stepper/stepper.d.ts.map +1 -1
- package/stepper/stepper/stepper.js +244 -0
- package/stepper/stepper.d.ts +3 -0
- package/stepper/stepper.d.ts.map +1 -1
- package/stepper/stepper.js +2 -242
- package/stepper.d.ts +3 -0
- package/stepper.d.ts.map +1 -1
- package/stepper.js +8 -3
- package/table/table-wrapper/table-wrapper.d.ts +6 -1
- package/table/table-wrapper/table-wrapper.d.ts.map +1 -1
- package/table/table-wrapper/table-wrapper.js +50 -0
- package/table/table-wrapper.d.ts +3 -0
- package/table/table-wrapper.d.ts.map +1 -1
- package/table/table-wrapper.js +2 -34
- package/table.css +37 -0
- package/table.d.ts +3 -0
- package/table.d.ts.map +1 -1
- package/table.js +4 -1
- package/tabs/tab/tab.js +40 -0
- package/tabs/tab-group/tab-group.js +218 -0
- package/tabs/tab-group.d.ts +3 -0
- package/tabs/tab-group.d.ts.map +1 -1
- package/tabs/tab-group.js +2 -216
- package/tabs/tab-label/tab-label.js +80 -0
- package/tabs/tab-label.d.ts +3 -0
- package/tabs/tab-label.d.ts.map +1 -1
- package/tabs/tab-label.js +2 -78
- package/tabs/tab.d.ts +3 -0
- package/tabs/tab.d.ts.map +1 -1
- package/tabs/tab.js +2 -38
- package/tabs.d.ts +3 -0
- package/tabs.d.ts.map +1 -1
- package/tabs.js +8 -3
- package/tag/tag/tag.js +126 -0
- package/tag/tag-group/tag-group.js +120 -0
- package/tag/tag-group.d.ts +3 -0
- package/tag/tag-group.d.ts.map +1 -1
- package/tag/tag-group.js +2 -118
- package/tag/tag.d.ts +3 -0
- package/tag/tag.d.ts.map +1 -1
- package/tag/tag.js +2 -124
- package/tag.d.ts +3 -0
- package/tag.d.ts.map +1 -1
- package/tag.js +6 -2
- package/teaser/teaser.js +102 -0
- package/teaser-hero/teaser-hero.js +61 -0
- package/teaser-hero.d.ts +3 -0
- package/teaser-hero.d.ts.map +1 -1
- package/teaser-hero.js +2 -59
- package/teaser-product/common/teaser-product-common.js +54 -0
- package/teaser-product/common.d.ts +3 -0
- package/teaser-product/common.d.ts.map +1 -1
- package/teaser-product/common.js +4 -53
- package/teaser-product/teaser-product/teaser-product.js +31 -0
- package/teaser-product/teaser-product-static/teaser-product-static.js +16 -0
- package/teaser-product/teaser-product-static.d.ts +3 -0
- package/teaser-product/teaser-product-static.d.ts.map +1 -1
- package/teaser-product/teaser-product-static.js +2 -14
- package/teaser-product/teaser-product.d.ts +3 -0
- package/teaser-product/teaser-product.d.ts.map +1 -1
- package/teaser-product/teaser-product.js +2 -29
- package/teaser-product-common-CpMAlYEp.js +5 -0
- package/teaser-product.d.ts +3 -0
- package/teaser-product.d.ts.map +1 -1
- package/teaser-product.js +10 -3
- package/teaser.d.ts +3 -0
- package/teaser.d.ts.map +1 -1
- package/teaser.js +2 -100
- package/time-input/time-input.js +174 -0
- package/time-input.d.ts +3 -0
- package/time-input.d.ts.map +1 -1
- package/time-input.js +2 -172
- package/timetable-occupancy/timetable-occupancy.js +75 -0
- package/timetable-occupancy-icon/timetable-occupancy-icon.js +64 -0
- package/timetable-occupancy-icon.d.ts +3 -0
- package/timetable-occupancy-icon.d.ts.map +1 -1
- package/timetable-occupancy-icon.js +2 -62
- package/timetable-occupancy.d.ts +3 -0
- package/timetable-occupancy.d.ts.map +1 -1
- package/timetable-occupancy.js +2 -73
- package/title/title-base.js +73 -0
- package/title/title.js +18 -0
- package/title.d.ts +3 -0
- package/title.d.ts.map +1 -1
- package/title.js +4 -83
- package/toast/toast.js +195 -0
- package/toast.d.ts +3 -0
- package/toast.d.ts.map +1 -1
- package/toast.js +2 -193
- package/toggle/toggle/toggle.d.ts.map +1 -1
- package/toggle/toggle/toggle.js +162 -0
- package/toggle/toggle-option/toggle-option.d.ts.map +1 -1
- package/toggle/toggle-option/toggle-option.js +84 -0
- package/toggle/toggle-option.d.ts +3 -0
- package/toggle/toggle-option.d.ts.map +1 -1
- package/toggle/toggle-option.js +2 -94
- package/toggle/toggle.d.ts +3 -0
- package/toggle/toggle.d.ts.map +1 -1
- package/toggle/toggle.js +2 -162
- package/toggle-check/toggle-check.js +81 -0
- package/toggle-check.d.ts +3 -0
- package/toggle-check.d.ts.map +1 -1
- package/toggle-check.js +2 -79
- package/toggle.d.ts +3 -0
- package/toggle.d.ts.map +1 -1
- package/toggle.js +6 -2
- package/train/train/train.js +126 -0
- package/train/train-blocked-passage/train-blocked-passage.js +25 -0
- package/train/train-blocked-passage.d.ts +3 -0
- package/train/train-blocked-passage.d.ts.map +1 -1
- package/train/train-blocked-passage.js +2 -23
- package/train/train-formation/train-formation.js +91 -0
- package/train/train-formation.d.ts +3 -0
- package/train/train-formation.d.ts.map +1 -1
- package/train/train-formation.js +2 -89
- package/train/train-wagon/train-wagon.js +177 -0
- package/train/train-wagon.d.ts +3 -0
- package/train/train-wagon.d.ts.map +1 -1
- package/train/train-wagon.js +2 -175
- package/train/train.d.ts +3 -0
- package/train/train.d.ts.map +1 -1
- package/train/train.js +2 -124
- package/train.d.ts +3 -0
- package/train.d.ts.map +1 -1
- package/train.js +10 -4
- package/transparent-button-BlbvexCb.js +9 -0
- package/visual-checkbox/visual-checkbox.js +83 -0
- package/visual-checkbox.d.ts +3 -0
- package/visual-checkbox.d.ts.map +1 -1
- package/visual-checkbox.js +2 -81
- package/core/testing/private.d.ts +0 -11
- package/core/testing/private.d.ts.map +0 -1
- package/core/testing/test-setup-ssr.d.ts +0 -2
- package/core/testing/test-setup-ssr.d.ts.map +0 -1
- package/core/testing/test-setup.d.ts +0 -2
- package/core/testing/test-setup.d.ts.map +0 -1
- package/development/core/testing/private.d.ts +0 -11
- package/development/core/testing/private.d.ts.map +0 -1
- package/development/core/testing/test-setup-ssr.d.ts +0 -2
- package/development/core/testing/test-setup-ssr.d.ts.map +0 -1
- package/development/core/testing/test-setup.d.ts +0 -2
- package/development/core/testing/test-setup.d.ts.map +0 -1
package/core/mixins.js
CHANGED
|
@@ -1,976 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
};
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
|
|
15
|
-
import "../screen-reader-only.js";
|
|
16
|
-
const ye = (d) => {
|
|
17
|
-
class v extends d {
|
|
18
|
-
constructor() {
|
|
19
|
-
super(...arguments), this.isAnimating = !1, this._animationPromise = Promise.resolve();
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Returns a promise which completes whenever an animation ends.
|
|
23
|
-
* When a new animation starts, a new Promise is returned.
|
|
24
|
-
*/
|
|
25
|
-
get animationComplete() {
|
|
26
|
-
return this._animationPromise;
|
|
27
|
-
}
|
|
28
|
-
disconnectedCallback() {
|
|
29
|
-
super.disconnectedCallback(), this.stopAnimation();
|
|
30
|
-
}
|
|
31
|
-
startAnimation() {
|
|
32
|
-
this.isAnimating || (this._animationPromise = this._enqueueAnimation());
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Overriding stopAnimation() breaks functionality.
|
|
36
|
-
*/
|
|
37
|
-
stopAnimation() {
|
|
38
|
-
}
|
|
39
|
-
async _enqueueAnimation() {
|
|
40
|
-
this.isAnimating = !0;
|
|
41
|
-
const l = this.stopAnimation, f = new Promise((n) => {
|
|
42
|
-
this.stopAnimation = () => {
|
|
43
|
-
l(), this.isAnimating = !1, n();
|
|
44
|
-
};
|
|
45
|
-
});
|
|
46
|
-
try {
|
|
47
|
-
await this._animationPromise;
|
|
48
|
-
} catch (n) {
|
|
49
|
-
Promise.reject(n);
|
|
50
|
-
}
|
|
51
|
-
return f;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
return v;
|
|
55
|
-
}, B = (d) => (() => {
|
|
56
|
-
var b, t;
|
|
57
|
-
let c = d, l, f = [], n = [];
|
|
58
|
-
return t = class extends c {
|
|
59
|
-
constructor() {
|
|
60
|
-
super(...arguments);
|
|
61
|
-
E(this, b, _(this, f, !1));
|
|
62
|
-
_(this, n);
|
|
63
|
-
}
|
|
64
|
-
/** Whether the component is disabled. */
|
|
65
|
-
get disabled() {
|
|
66
|
-
return C(this, b);
|
|
67
|
-
}
|
|
68
|
-
set disabled(e) {
|
|
69
|
-
S(this, b, e);
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Will be used as 'or' check to the current disabled state.
|
|
73
|
-
* Can e.g. be used to read disabled state of a group.
|
|
74
|
-
*/
|
|
75
|
-
isDisabledExternally() {
|
|
76
|
-
return !1;
|
|
77
|
-
}
|
|
78
|
-
}, b = new WeakMap(), (() => {
|
|
79
|
-
const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(c[Symbol.metadata] ?? null) : void 0;
|
|
80
|
-
l = [I(), k({ reflect: !0, type: Boolean }), H((s, a) => a || s.isDisabledExternally())], y(t, null, l, { kind: "accessor", name: "disabled", static: !1, private: !1, access: { has: (s) => "disabled" in s, get: (s) => s.disabled, set: (s, a) => {
|
|
81
|
-
s.disabled = a;
|
|
82
|
-
} }, metadata: e }, f, n), e && Object.defineProperty(t, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: e });
|
|
83
|
-
})(), t;
|
|
84
|
-
})(), re = (d) => (() => {
|
|
85
|
-
var b, t;
|
|
86
|
-
let c = d, l, f = [], n = [];
|
|
87
|
-
return t = class extends c {
|
|
88
|
-
constructor() {
|
|
89
|
-
super(...arguments);
|
|
90
|
-
E(this, b, _(this, f, !1));
|
|
91
|
-
_(this, n);
|
|
92
|
-
}
|
|
93
|
-
/** Whether the button should be aria-disabled but stay interactive. */
|
|
94
|
-
get disabledInteractive() {
|
|
95
|
-
return C(this, b);
|
|
96
|
-
}
|
|
97
|
-
set disabledInteractive(e) {
|
|
98
|
-
S(this, b, e);
|
|
99
|
-
}
|
|
100
|
-
}, b = new WeakMap(), (() => {
|
|
101
|
-
const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(c[Symbol.metadata] ?? null) : void 0;
|
|
102
|
-
l = [I(), k({ attribute: "disabled-interactive", type: Boolean, reflect: !0 })], y(t, null, l, { kind: "accessor", name: "disabledInteractive", static: !1, private: !1, access: { has: (s) => "disabledInteractive" in s, get: (s) => s.disabledInteractive, set: (s, a) => {
|
|
103
|
-
s.disabledInteractive = a;
|
|
104
|
-
} }, metadata: e }, f, n), e && Object.defineProperty(t, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: e });
|
|
105
|
-
})(), t;
|
|
106
|
-
})(), Se = (d) => {
|
|
107
|
-
class v extends re(B(d)) {
|
|
108
|
-
willUpdate(l) {
|
|
109
|
-
super.willUpdate(l), l.has("disabledInteractive") && (this.internals.ariaDisabled = this.disabledInteractive ? "true" : null), l.has("disabled") && (this.disabled ? this.removeAttribute("tabindex") : this.setAttribute("tabindex", "0"));
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
return v;
|
|
113
|
-
}, $ = {
|
|
114
|
-
badInput: !1,
|
|
115
|
-
customError: !1,
|
|
116
|
-
patternMismatch: !1,
|
|
117
|
-
rangeOverflow: !1,
|
|
118
|
-
rangeUnderflow: !1,
|
|
119
|
-
stepMismatch: !1,
|
|
120
|
-
tooLong: !1,
|
|
121
|
-
tooShort: !1,
|
|
122
|
-
typeMismatch: !1,
|
|
123
|
-
valueMissing: !1
|
|
124
|
-
};
|
|
125
|
-
if (typeof ValidityState > "u") {
|
|
126
|
-
const d = class {
|
|
127
|
-
get valid() {
|
|
128
|
-
return !0;
|
|
129
|
-
}
|
|
130
|
-
constructor() {
|
|
131
|
-
throw new TypeError("Illegal constructor");
|
|
132
|
-
}
|
|
133
|
-
};
|
|
134
|
-
Object.entries($).forEach(([v, c]) => Object.assign(d.prototype, {
|
|
135
|
-
get [v]() {
|
|
136
|
-
return c;
|
|
137
|
-
}
|
|
138
|
-
})), globalThis.ValidityState = d;
|
|
139
|
-
}
|
|
140
|
-
const V = (d) => (() => {
|
|
141
|
-
var u, e;
|
|
142
|
-
let c = d, l = [], f, n, b, t = [], r = [];
|
|
143
|
-
return e = class extends c {
|
|
144
|
-
constructor(...i) {
|
|
145
|
-
var o;
|
|
146
|
-
super(...i);
|
|
147
|
-
E(this, u);
|
|
148
|
-
this._value = (_(this, l), null), this.internals = this.attachInternals(), this._validityStates = /* @__PURE__ */ new Map(), S(this, u, _(this, t, !1)), _(this, r), (o = this.addEventListener) == null || o.call(this, "invalid", (p) => p.preventDefault());
|
|
149
|
-
}
|
|
150
|
-
/**
|
|
151
|
-
* Returns the form owner of this element.
|
|
152
|
-
*/
|
|
153
|
-
get form() {
|
|
154
|
-
return this.internals.form;
|
|
155
|
-
}
|
|
156
|
-
/**
|
|
157
|
-
* Name of the form element. Will be read from name attribute.
|
|
158
|
-
*
|
|
159
|
-
* @description Developer note: In this case updating the attribute must be synchronous.
|
|
160
|
-
* Due to this it is implemented as a getter/setter and the attributeChangedCallback() handles the diff check.
|
|
161
|
-
*/
|
|
162
|
-
set name(i) {
|
|
163
|
-
this.setAttribute("name", `${i}`), this.updateFormValue();
|
|
164
|
-
}
|
|
165
|
-
get name() {
|
|
166
|
-
return this.getAttribute("name") ?? "";
|
|
167
|
-
}
|
|
168
|
-
/** @internal */
|
|
169
|
-
get type() {
|
|
170
|
-
return this.localName;
|
|
171
|
-
}
|
|
172
|
-
/** Value of the form element. */
|
|
173
|
-
set value(i) {
|
|
174
|
-
this._value = i, this.updateFormValue();
|
|
175
|
-
}
|
|
176
|
-
get value() {
|
|
177
|
-
return this._value;
|
|
178
|
-
}
|
|
179
|
-
/**
|
|
180
|
-
* Returns the ValidityState object for this element.
|
|
181
|
-
*/
|
|
182
|
-
get validity() {
|
|
183
|
-
return this.internals.validity;
|
|
184
|
-
}
|
|
185
|
-
/**
|
|
186
|
-
* Returns the current error message, if available, which corresponds
|
|
187
|
-
* to the current validation state.
|
|
188
|
-
* Please note that only one message is returned at a time (e.g. if
|
|
189
|
-
* multiple validity states are invalid, only the chronologically first one
|
|
190
|
-
* is returned until it is fixed, at which point the next message might be
|
|
191
|
-
* returned, if it is still applicable). Also a custom validity message
|
|
192
|
-
* (see below) has precedence over native validation messages.
|
|
193
|
-
*/
|
|
194
|
-
get validationMessage() {
|
|
195
|
-
return this.internals.validationMessage;
|
|
196
|
-
}
|
|
197
|
-
/**
|
|
198
|
-
* Returns true if this element will be validated
|
|
199
|
-
* when the form is submitted; false otherwise.
|
|
200
|
-
*/
|
|
201
|
-
get willValidate() {
|
|
202
|
-
return this.internals.willValidate;
|
|
203
|
-
}
|
|
204
|
-
/** Whenever a surrounding form or fieldset is changing its disabled state. */
|
|
205
|
-
get formDisabled() {
|
|
206
|
-
return C(this, u);
|
|
207
|
-
}
|
|
208
|
-
set formDisabled(i) {
|
|
209
|
-
S(this, u, i);
|
|
210
|
-
}
|
|
211
|
-
attributeChangedCallback(i, o, p) {
|
|
212
|
-
(i !== "name" || o !== p) && super.attributeChangedCallback(i, o, p);
|
|
213
|
-
}
|
|
214
|
-
/**
|
|
215
|
-
* Returns true if this element has no validity problems; false otherwise.
|
|
216
|
-
* Fires an invalid event at the element in the latter case.
|
|
217
|
-
*/
|
|
218
|
-
checkValidity() {
|
|
219
|
-
return this.internals.checkValidity();
|
|
220
|
-
}
|
|
221
|
-
/**
|
|
222
|
-
* Returns true if this element has no validity problems; otherwise,
|
|
223
|
-
* returns false, fires an invalid event at the element,
|
|
224
|
-
* and (if the event isn't canceled) reports the problem to the user.
|
|
225
|
-
*/
|
|
226
|
-
reportValidity() {
|
|
227
|
-
return this.internals.reportValidity();
|
|
228
|
-
}
|
|
229
|
-
/**
|
|
230
|
-
* Sets the custom validity message for this element. Use the empty string
|
|
231
|
-
* to indicate that the element does not have a custom validity error.
|
|
232
|
-
*/
|
|
233
|
-
setCustomValidity(i) {
|
|
234
|
-
i ? this.setValidityFlag("customError", i) : this.removeValidityFlag("customError");
|
|
235
|
-
}
|
|
236
|
-
/**
|
|
237
|
-
* Is called whenever a surrounding form / fieldset changes disabled state.
|
|
238
|
-
* @param disabled
|
|
239
|
-
*
|
|
240
|
-
* @internal
|
|
241
|
-
*/
|
|
242
|
-
formDisabledCallback(i) {
|
|
243
|
-
Promise.resolve().then(() => {
|
|
244
|
-
this.formDisabled = i;
|
|
245
|
-
});
|
|
246
|
-
}
|
|
247
|
-
requestUpdate(i, o, p) {
|
|
248
|
-
super.requestUpdate(i, o, p), this.hasUpdated && this.shouldValidate(i) && this.validate();
|
|
249
|
-
}
|
|
250
|
-
firstUpdated(i) {
|
|
251
|
-
super.firstUpdated(i), this.validate();
|
|
252
|
-
}
|
|
253
|
-
/**
|
|
254
|
-
* Marks this element as suffering from the constraint indicated by the
|
|
255
|
-
* flag argument and associates the given message to it.
|
|
256
|
-
* Note that only one message is displayed at a time and custom messages by
|
|
257
|
-
* consumers are always displayed before internal messages and internal
|
|
258
|
-
* messages are displayed in the order they were added.
|
|
259
|
-
* To set/define custom validity state flags, you need to extend the
|
|
260
|
-
* ValidityState prototype (and the CustomValidityState interface).
|
|
261
|
-
*
|
|
262
|
-
* @example
|
|
263
|
-
*
|
|
264
|
-
* // The type of the custom validity state does not need to be boolean.
|
|
265
|
-
* Object.assign(ValidityState.prototype, {
|
|
266
|
-
* get myError(): boolean {
|
|
267
|
-
* return false;
|
|
268
|
-
* },
|
|
269
|
-
* });
|
|
270
|
-
*
|
|
271
|
-
* declare global {
|
|
272
|
-
* interface CustomValidityState {
|
|
273
|
-
* myError: boolean;
|
|
274
|
-
* }
|
|
275
|
-
* }
|
|
276
|
-
*/
|
|
277
|
-
setValidityFlag(i, o, p) {
|
|
278
|
-
p ?? (p = !0);
|
|
279
|
-
const x = this._validityStates.get(i);
|
|
280
|
-
(!x || x.message !== o || x.flagValue !== p) && (this._validityStates.set(i, { flagValue: p, message: o }), this._setInternalValidity());
|
|
281
|
-
}
|
|
282
|
-
/** Removes the validity state flag entry and updates validity state. */
|
|
283
|
-
removeValidityFlag(i) {
|
|
284
|
-
this._validityStates.has(i) && (this._validityStates.delete(i), this._setInternalValidity());
|
|
285
|
-
}
|
|
286
|
-
/** To be called whenever the current element needs to be validated. */
|
|
287
|
-
validate() {
|
|
288
|
-
}
|
|
289
|
-
/** Whether validation should be run on a property change with the given name. */
|
|
290
|
-
shouldValidate(i) {
|
|
291
|
-
return !i;
|
|
292
|
-
}
|
|
293
|
-
_setInternalValidity() {
|
|
294
|
-
var x;
|
|
295
|
-
let i = (x = this._validityStates.get("customError")) == null ? void 0 : x.message;
|
|
296
|
-
const o = {};
|
|
297
|
-
this._validityStates.forEach(({ flagValue: m, message: g }, h) => {
|
|
298
|
-
o[h] = m, i || (i = g);
|
|
299
|
-
});
|
|
300
|
-
const p = Object.keys(ValidityState.prototype).filter((m) => !(m in $) && m !== "valid");
|
|
301
|
-
for (const m of p) {
|
|
302
|
-
const g = m in o ? o[m] : !1;
|
|
303
|
-
Object.defineProperty(this.internals.validity, m, { value: g, configurable: !0 }), g && (o.customError = !0);
|
|
304
|
-
}
|
|
305
|
-
this.internals.setValidity(o, i), j && Object.defineProperty(this.internals.validity, "customError", {
|
|
306
|
-
value: this._validityStates.has("customError") || !!o.customError,
|
|
307
|
-
configurable: !0
|
|
308
|
-
});
|
|
309
|
-
}
|
|
310
|
-
}, u = new WeakMap(), (() => {
|
|
311
|
-
const i = typeof Symbol == "function" && Symbol.metadata ? Object.create(c[Symbol.metadata] ?? null) : void 0;
|
|
312
|
-
f = [k()], n = [k()], b = [N()], y(e, null, f, { kind: "setter", name: "name", static: !1, private: !1, access: { has: (o) => "name" in o, set: (o, p) => {
|
|
313
|
-
o.name = p;
|
|
314
|
-
} }, metadata: i }, null, l), y(e, null, n, { kind: "setter", name: "value", static: !1, private: !1, access: { has: (o) => "value" in o, set: (o, p) => {
|
|
315
|
-
o.value = p;
|
|
316
|
-
} }, metadata: i }, null, l), y(e, null, b, { kind: "accessor", name: "formDisabled", static: !1, private: !1, access: { has: (o) => "formDisabled" in o, get: (o) => o.formDisabled, set: (o, p) => {
|
|
317
|
-
o.formDisabled = p;
|
|
318
|
-
} }, metadata: i }, t, r), i && Object.defineProperty(e, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: i });
|
|
319
|
-
})(), e.formAssociated = !0, e;
|
|
320
|
-
})(), D = (d) => (() => {
|
|
321
|
-
var n;
|
|
322
|
-
let c = d, l = [], f;
|
|
323
|
-
return n = class extends c {
|
|
324
|
-
constructor() {
|
|
325
|
-
super(...arguments), this._required = (_(this, l), !1);
|
|
326
|
-
}
|
|
327
|
-
/** Whether the component is required. */
|
|
328
|
-
set required(t) {
|
|
329
|
-
this._required = !!t;
|
|
330
|
-
}
|
|
331
|
-
get required() {
|
|
332
|
-
return this._required || this.isRequiredExternally();
|
|
333
|
-
}
|
|
334
|
-
willUpdate(t) {
|
|
335
|
-
super.willUpdate(t), t.has("required") && (this.internals.ariaRequired = `${this.required}`);
|
|
336
|
-
}
|
|
337
|
-
/**
|
|
338
|
-
* Will be used as 'or' check to the current required state.
|
|
339
|
-
* Can e.g. be used to read required state of a group.
|
|
340
|
-
*/
|
|
341
|
-
isRequiredExternally() {
|
|
342
|
-
return !1;
|
|
343
|
-
}
|
|
344
|
-
}, (() => {
|
|
345
|
-
const t = typeof Symbol == "function" && Symbol.metadata ? Object.create(c[Symbol.metadata] ?? null) : void 0;
|
|
346
|
-
f = [k({ reflect: !0, type: Boolean })], y(n, null, f, { kind: "setter", name: "required", static: !1, private: !1, access: { has: (r) => "required" in r, set: (r, u) => {
|
|
347
|
-
r.required = u;
|
|
348
|
-
} }, metadata: t }, null, l), t && Object.defineProperty(n, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: t });
|
|
349
|
-
})(), n;
|
|
350
|
-
})(), xe = (d) => (() => {
|
|
351
|
-
var u;
|
|
352
|
-
let c = [K({
|
|
353
|
-
tabindex: "0"
|
|
354
|
-
})], l, f = [], n, b = B(D(V(d))), t = [], r;
|
|
355
|
-
return u = class extends b {
|
|
356
|
-
/** Whether the checkbox is checked. */
|
|
357
|
-
set checked(s) {
|
|
358
|
-
const a = typeof s == "object" ? s.attribute : !1;
|
|
359
|
-
a && (s = s.value), this.hasUpdated && !a && (this._attributeMutationBlocked = !0), this._checked = !!s, this.updateFormValue();
|
|
360
|
-
}
|
|
361
|
-
get checked() {
|
|
362
|
-
return this._checked;
|
|
363
|
-
}
|
|
364
|
-
/**
|
|
365
|
-
* Form type of element.
|
|
366
|
-
* @default 'checkbox'
|
|
367
|
-
*/
|
|
368
|
-
get type() {
|
|
369
|
-
return "checkbox";
|
|
370
|
-
}
|
|
371
|
-
constructor() {
|
|
372
|
-
var s, a, i;
|
|
373
|
-
super(), this._attributeMutationBlocked = (_(this, t), !1), this._languageController = new M(this), this._checked = !1, this._handleKeyboardInteraction = (o) => {
|
|
374
|
-
o.key === " " && this._handleUserInteraction();
|
|
375
|
-
}, this._handleUserInteraction = () => {
|
|
376
|
-
var o;
|
|
377
|
-
this.disabled || ((o = this.withUserInteraction) == null || o.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 })));
|
|
378
|
-
}, this.internals.role = "checkbox", (s = this.addEventListener) == null || s.call(this, "click", this._handleUserInteraction), (a = this.addEventListener) == null || a.call(this, "keydown", Y), (i = this.addEventListener) == null || i.call(this, "keyup", this._handleKeyboardInteraction);
|
|
379
|
-
}
|
|
380
|
-
attributeChangedCallback(s, a, i) {
|
|
381
|
-
(s !== "checked" || !this._attributeMutationBlocked) && super.attributeChangedCallback(s, a, i);
|
|
382
|
-
}
|
|
383
|
-
/**
|
|
384
|
-
* Is called whenever the form is being reset.
|
|
385
|
-
*
|
|
386
|
-
* @internal
|
|
387
|
-
*/
|
|
388
|
-
formResetCallback() {
|
|
389
|
-
this.checked = this.hasAttribute("checked"), this._attributeMutationBlocked = !1;
|
|
390
|
-
}
|
|
391
|
-
/**
|
|
392
|
-
* Called when the browser is trying to restore element’s state to state in which case
|
|
393
|
-
* reason is "restore", or when the browser is trying to fulfill autofill on behalf of
|
|
394
|
-
* user in which case reason is "autocomplete".
|
|
395
|
-
* In the case of "restore", state is a string, File, or FormData object
|
|
396
|
-
* previously set as the second argument to setFormValue.
|
|
397
|
-
*
|
|
398
|
-
* @internal
|
|
399
|
-
*/
|
|
400
|
-
formStateRestoreCallback(s, a) {
|
|
401
|
-
s && (this.checked = s === "true");
|
|
402
|
-
}
|
|
403
|
-
updateFormValue() {
|
|
404
|
-
this.checked ? this.internals.setFormValue(this.value, `${this.checked}`) : this.internals.setFormValue(null);
|
|
405
|
-
}
|
|
406
|
-
shouldValidate(s) {
|
|
407
|
-
return super.shouldValidate(s) || s === "checked" || s === "required";
|
|
408
|
-
}
|
|
409
|
-
validate() {
|
|
410
|
-
super.validate(), this.required && !this.checked ? this.setValidityFlag("valueMissing", Q[this._languageController.current]) : this.removeValidityFlag("valueMissing");
|
|
411
|
-
}
|
|
412
|
-
}, n = u, (() => {
|
|
413
|
-
const s = typeof Symbol == "function" && Symbol.metadata ? Object.create(b[Symbol.metadata] ?? null) : void 0;
|
|
414
|
-
r = [k({
|
|
415
|
-
type: Boolean,
|
|
416
|
-
converter: {
|
|
417
|
-
...T,
|
|
418
|
-
// We need to pass information to the setter so that we know it was called by attribute change.
|
|
419
|
-
fromAttribute: (a, i) => {
|
|
420
|
-
var p, x;
|
|
421
|
-
return { value: (x = (p = T).fromAttribute) == null ? void 0 : x.call(p, a, i), attribute: !0 };
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
})], y(u, null, r, { kind: "setter", name: "checked", static: !1, private: !1, access: { has: (a) => "checked" in a, set: (a, i) => {
|
|
425
|
-
a.checked = i;
|
|
426
|
-
} }, metadata: s }, null, t), y(null, l = { value: n }, c, { kind: "class", name: n.name, metadata: s }, null, f), n = l.value, s && Object.defineProperty(n, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: s }), _(n, f);
|
|
427
|
-
})(), n;
|
|
428
|
-
})(), ne = () => {
|
|
429
|
-
if (A)
|
|
430
|
-
return !1;
|
|
431
|
-
const d = document.createElement("div");
|
|
432
|
-
return d.setAttribute("contenteditable", "PLAINTEXT-ONLY"), d.contentEditable === "plaintext-only";
|
|
433
|
-
}, le = ne(), Ce = (d) => (() => {
|
|
434
|
-
var r;
|
|
435
|
-
let c = D(V(d)), l = [], f, n, b, t;
|
|
436
|
-
return r = class extends c {
|
|
437
|
-
/**
|
|
438
|
-
* Form type of element.
|
|
439
|
-
* @default 'text'
|
|
440
|
-
*/
|
|
441
|
-
get type() {
|
|
442
|
-
return "text";
|
|
443
|
-
}
|
|
444
|
-
/**
|
|
445
|
-
* The text value of the input element.
|
|
446
|
-
*/
|
|
447
|
-
set value(e) {
|
|
448
|
-
super.value = this._cleanText(e), this.hasUpdated && (this.innerHTML = super.value);
|
|
449
|
-
}
|
|
450
|
-
get value() {
|
|
451
|
-
return super.value ?? "";
|
|
452
|
-
}
|
|
453
|
-
/**
|
|
454
|
-
* Whether the component is readonly.
|
|
455
|
-
* @attr readonly
|
|
456
|
-
* @default false
|
|
457
|
-
*/
|
|
458
|
-
set readOnly(e) {
|
|
459
|
-
this.toggleAttribute("readonly", !!e), this.internals.ariaReadOnly = e ? "true" : null, this._updateContenteditable();
|
|
460
|
-
}
|
|
461
|
-
get readOnly() {
|
|
462
|
-
return this.hasAttribute("readonly");
|
|
463
|
-
}
|
|
464
|
-
/**
|
|
465
|
-
* Whether the component is disabled.
|
|
466
|
-
* @attr disabled
|
|
467
|
-
* @default false
|
|
468
|
-
*/
|
|
469
|
-
set disabled(e) {
|
|
470
|
-
this.toggleAttribute("disabled", !!e), this.internals.ariaDisabled = e ? "true" : null, this._updateContenteditable();
|
|
471
|
-
}
|
|
472
|
-
get disabled() {
|
|
473
|
-
return this.hasAttribute("disabled");
|
|
474
|
-
}
|
|
475
|
-
set placeholder(e) {
|
|
476
|
-
e ? this.setAttribute("placeholder", e) : this.removeAttribute("placeholder"), this.internals.ariaPlaceholder = e || null;
|
|
477
|
-
}
|
|
478
|
-
get placeholder() {
|
|
479
|
-
return this.getAttribute("placeholder") ?? "";
|
|
480
|
-
}
|
|
481
|
-
constructor() {
|
|
482
|
-
var e, s, a, i, o, p, x;
|
|
483
|
-
super(), this._interacted = (_(this, l), !1), this._shouldEmitChange = !1, this._shouldTriggerSubmit = !1, this.language = new M(this), this.internals.role = "textbox", (e = this.addEventListener) == null || e.call(this, "input", () => {
|
|
484
|
-
super.value = this._cleanText(this.textContent ?? ""), this._interacted = !0, this._shouldEmitChange = !0;
|
|
485
|
-
}, { capture: !0 }), (s = this.addEventListener) == null || s.call(this, "change", () => this._shouldEmitChange = !1, { capture: !0 }), (a = this.addEventListener) == null || a.call(this, "keydown", (m) => {
|
|
486
|
-
var g;
|
|
487
|
-
if ((m.key === "Enter" || m.key === `
|
|
488
|
-
`) && m.isTrusted)
|
|
489
|
-
m.preventDefault(), m.stopImmediatePropagation(), this._shouldTriggerSubmit = this.dispatchEvent(new KeyboardEvent("keydown", m));
|
|
490
|
-
else if (j && this.value && (m.key === "Backspace" || m.key === "Delete") && m.isTrusted) {
|
|
491
|
-
if (m.preventDefault(), m.stopImmediatePropagation(), !this.dispatchEvent(new KeyboardEvent("keydown", m)))
|
|
492
|
-
return;
|
|
493
|
-
const h = (g = window.getSelection()) == null ? void 0 : g.getRangeAt(0);
|
|
494
|
-
if (!h)
|
|
495
|
-
return;
|
|
496
|
-
h.startOffset !== h.endOffset ? (h.deleteContents(), this._dispatchInputEvent()) : m.key === "Backspace" && h.startOffset > 0 ? (h.setStart(h.startContainer, h.startOffset - 1), h.deleteContents(), this._dispatchInputEvent()) : m.key === "Delete" && h.endOffset < this.value.length && (h.setEnd(h.endContainer, h.endOffset + 1), h.deleteContents(), this._dispatchInputEvent());
|
|
497
|
-
}
|
|
498
|
-
}, { capture: !0 }), (i = this.addEventListener) == null || i.call(this, "keyup", (m) => {
|
|
499
|
-
var g;
|
|
500
|
-
(m.key === "Enter" || m.key === `
|
|
501
|
-
`) && (this._emitChangeIfNecessary(), this._shouldTriggerSubmit && (this._shouldTriggerSubmit = !1, (g = this.form) == null || g.requestSubmit()));
|
|
502
|
-
}, { capture: !0 }), (o = this.addEventListener) == null || o.call(this, "paste", (m) => {
|
|
503
|
-
var w, q;
|
|
504
|
-
m.preventDefault();
|
|
505
|
-
const g = this._cleanText(((w = m.clipboardData) == null ? void 0 : w.getData("text/plain")) ?? ""), h = (q = window.getSelection()) == null ? void 0 : q.getRangeAt(0);
|
|
506
|
-
!h || !g || (h.deleteContents(), h.insertNode(document.createTextNode(g)), h.setStart(h.endContainer, h.endOffset), this._dispatchInputEvent());
|
|
507
|
-
}), (p = this.addEventListener) == null || p.call(this, "focus", () => {
|
|
508
|
-
var m;
|
|
509
|
-
te.mostRecentModality === "keyboard" && ((m = window.getSelection()) == null || m.selectAllChildren(this));
|
|
510
|
-
}), (x = this.addEventListener) == null || x.call(this, "blur", () => {
|
|
511
|
-
var m;
|
|
512
|
-
(m = window.getSelection()) == null || m.removeAllRanges(), this._emitChangeIfNecessary(), this.scrollLeft = 0;
|
|
513
|
-
}, { capture: !0 });
|
|
514
|
-
}
|
|
515
|
-
connectedCallback() {
|
|
516
|
-
super.connectedCallback(), this.internals.ariaMultiLine = "false", this._updateContenteditable(), this.innerHTML = this.value;
|
|
517
|
-
}
|
|
518
|
-
focus(e) {
|
|
519
|
-
if (super.focus(e), !A && !this.disabled && !this.readOnly && this.value) {
|
|
520
|
-
const s = window.getSelection();
|
|
521
|
-
if (!s)
|
|
522
|
-
return;
|
|
523
|
-
let a = s.rangeCount > 0 ? s.getRangeAt(0) : null;
|
|
524
|
-
if (a && a.startOffset !== 0)
|
|
525
|
-
return;
|
|
526
|
-
a = document.createRange(), a.setStart(this.firstChild, this.textContent.length), a.collapse(!0), s.removeAllRanges(), s.addRange(a);
|
|
527
|
-
}
|
|
528
|
-
}
|
|
529
|
-
attributeChangedCallback(e, s, a) {
|
|
530
|
-
(e !== "value" || !this._interacted) && super.attributeChangedCallback(e, s, a);
|
|
531
|
-
}
|
|
532
|
-
/**
|
|
533
|
-
* Is called whenever the form is being reset.
|
|
534
|
-
*
|
|
535
|
-
* @internal
|
|
536
|
-
*/
|
|
537
|
-
formResetCallback() {
|
|
538
|
-
this._interacted = !1, this.value = this.getAttribute("value") ?? "";
|
|
539
|
-
}
|
|
540
|
-
/**
|
|
541
|
-
* Called when the browser is trying to restore element’s state to state in which case
|
|
542
|
-
* reason is "restore", or when the browser is trying to fulfill autofill on behalf of
|
|
543
|
-
* user in which case reason is "autocomplete".
|
|
544
|
-
* In the case of "restore", state is a string, File, or FormData object
|
|
545
|
-
* previously set as the second argument to setFormValue.
|
|
546
|
-
*
|
|
547
|
-
* @internal
|
|
548
|
-
*/
|
|
549
|
-
formStateRestoreCallback(e, s) {
|
|
550
|
-
e && typeof e == "string" && (this.value = e);
|
|
551
|
-
}
|
|
552
|
-
async firstUpdated(e) {
|
|
553
|
-
super.firstUpdated(e), this.value && !this.innerHTML.length && (this.innerHTML = this.value);
|
|
554
|
-
}
|
|
555
|
-
updateFormValue() {
|
|
556
|
-
this.internals.setFormValue(this.value, this.value);
|
|
557
|
-
}
|
|
558
|
-
shouldValidate(e) {
|
|
559
|
-
return super.shouldValidate(e) || e === "value" || e === "required";
|
|
560
|
-
}
|
|
561
|
-
validate() {
|
|
562
|
-
super.validate(), this.required && !this.value ? this.setValidityFlag("valueMissing", Z[this.language.current]) : this.removeValidityFlag("valueMissing");
|
|
563
|
-
}
|
|
564
|
-
_cleanText(e) {
|
|
565
|
-
return `${e}`.replace(/[\n\r]+/g, "");
|
|
566
|
-
}
|
|
567
|
-
_dispatchInputEvent() {
|
|
568
|
-
this.dispatchEvent(new InputEvent("input", { bubbles: !0, composed: !0 }));
|
|
569
|
-
}
|
|
570
|
-
_cleanChildren() {
|
|
571
|
-
if (this.childElementCount)
|
|
572
|
-
for (const e of this.children)
|
|
573
|
-
e.remove();
|
|
574
|
-
}
|
|
575
|
-
_updateContenteditable() {
|
|
576
|
-
if (!A && this.isConnected) {
|
|
577
|
-
const e = this.disabled || this.readOnly ? "false" : le ? "plaintext-only" : "true";
|
|
578
|
-
this.setAttribute("contenteditable", e), this.readOnly ? this.setAttribute("tabindex", "0") : this.removeAttribute("tabindex");
|
|
579
|
-
}
|
|
580
|
-
}
|
|
581
|
-
_emitChangeIfNecessary() {
|
|
582
|
-
this._shouldEmitChange && (this._shouldEmitChange = !1, this.dispatchEvent(new Event("change", { bubbles: !0 })));
|
|
583
|
-
}
|
|
584
|
-
render() {
|
|
585
|
-
return R`<slot @slotchange=${this._cleanChildren}></slot>`;
|
|
586
|
-
}
|
|
587
|
-
}, (() => {
|
|
588
|
-
const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(c[Symbol.metadata] ?? null) : void 0;
|
|
589
|
-
f = [k({ type: Boolean })], n = [k({ type: Boolean })], b = [k({ attribute: !1 })], t = [G({ passive: !0 })], y(r, null, f, { kind: "setter", name: "readOnly", static: !1, private: !1, access: { has: (s) => "readOnly" in s, set: (s, a) => {
|
|
590
|
-
s.readOnly = a;
|
|
591
|
-
} }, metadata: e }, null, l), y(r, null, n, { kind: "setter", name: "disabled", static: !1, private: !1, access: { has: (s) => "disabled" in s, set: (s, a) => {
|
|
592
|
-
s.disabled = a;
|
|
593
|
-
} }, metadata: e }, null, l), y(r, null, b, { kind: "setter", name: "placeholder", static: !1, private: !1, access: { has: (s) => "placeholder" in s, set: (s, a) => {
|
|
594
|
-
s.placeholder = a;
|
|
595
|
-
} }, metadata: e }, null, l), y(r, null, t, { kind: "method", name: "_cleanChildren", static: !1, private: !1, access: { has: (s) => "_cleanChildren" in s, get: (s) => s._cleanChildren }, metadata: e }, null, l), e && Object.defineProperty(r, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: e });
|
|
596
|
-
})(), r;
|
|
597
|
-
})(), P = /* @__PURE__ */ new WeakMap(), Ee = (d) => (() => {
|
|
598
|
-
var n;
|
|
599
|
-
let c = B(D(V(d))), l = [], f;
|
|
600
|
-
return n = class extends c {
|
|
601
|
-
/**
|
|
602
|
-
* Whether the radio button is checked.
|
|
603
|
-
*/
|
|
604
|
-
set checked(t) {
|
|
605
|
-
this._checked = !!t, this.toggleAttribute("data-checked", this.checked), this.internals.ariaChecked = this.checked.toString(), this.updateFormValue(), this._synchronizeGroupState();
|
|
606
|
-
}
|
|
607
|
-
get checked() {
|
|
608
|
-
return this._checked;
|
|
609
|
-
}
|
|
610
|
-
set name(t) {
|
|
611
|
-
super.name = t, this._disconnectFromRegistry(), this._connectToRegistry(), this._synchronizeGroupState();
|
|
612
|
-
}
|
|
613
|
-
get name() {
|
|
614
|
-
return super.name;
|
|
615
|
-
}
|
|
616
|
-
/**
|
|
617
|
-
* Form type of element.
|
|
618
|
-
* @default 'radio'
|
|
619
|
-
*/
|
|
620
|
-
get type() {
|
|
621
|
-
return "radio";
|
|
622
|
-
}
|
|
623
|
-
constructor() {
|
|
624
|
-
var t;
|
|
625
|
-
super(), this._checked = (_(this, l), !1), this.abort = new X(this), this._languageController = new M(this), this.internals.role = "radio", (t = this.addEventListener) == null || t.call(this, "keydown", (r) => this._handleArrowKeyDown(r));
|
|
626
|
-
}
|
|
627
|
-
connectedCallback() {
|
|
628
|
-
super.connectedCallback(), this._connectToRegistry(), this._synchronizeGroupState();
|
|
629
|
-
}
|
|
630
|
-
disconnectedCallback() {
|
|
631
|
-
super.disconnectedCallback(), this._disconnectFromRegistry();
|
|
632
|
-
}
|
|
633
|
-
/**
|
|
634
|
-
* Is called whenever the form is being reset.
|
|
635
|
-
* @internal
|
|
636
|
-
*/
|
|
637
|
-
formResetCallback() {
|
|
638
|
-
this.checked = this.hasAttribute("checked");
|
|
639
|
-
}
|
|
640
|
-
/**
|
|
641
|
-
* Called when the browser is trying to restore element’s state to state in which case
|
|
642
|
-
* reason is "restore", or when the browser is trying to fulfill autofill on behalf of
|
|
643
|
-
* user in which case reason is "autocomplete".
|
|
644
|
-
* @internal
|
|
645
|
-
*/
|
|
646
|
-
formStateRestoreCallback(t, r) {
|
|
647
|
-
t && (this.checked = t === this.value);
|
|
648
|
-
}
|
|
649
|
-
willUpdate(t) {
|
|
650
|
-
super.willUpdate(t), t.has("disabled") && this.updateFocusableRadios();
|
|
651
|
-
}
|
|
652
|
-
firstUpdated(t) {
|
|
653
|
-
super.firstUpdated(t), this.updateFocusableRadios();
|
|
654
|
-
}
|
|
655
|
-
/**
|
|
656
|
-
* Called on `value` change
|
|
657
|
-
* If 'checked', update the value. Otherwise, do nothing.
|
|
658
|
-
*/
|
|
659
|
-
updateFormValue() {
|
|
660
|
-
this.checked ? this.internals.setFormValue(this.value, this.value) : this.internals.setFormValue(null);
|
|
661
|
-
}
|
|
662
|
-
shouldValidate(t) {
|
|
663
|
-
return super.shouldValidate(t) || t === "checked" || t === "required";
|
|
664
|
-
}
|
|
665
|
-
/**
|
|
666
|
-
* Sets the validity of all associated radio buttons.
|
|
667
|
-
* If any radio button is required, all associated are required as well.
|
|
668
|
-
*/
|
|
669
|
-
validate() {
|
|
670
|
-
if (super.validate(), !this.associatedRadioButtons)
|
|
671
|
-
return;
|
|
672
|
-
let t = !1, r = !1;
|
|
673
|
-
for (const u of this.associatedRadioButtons)
|
|
674
|
-
t || (t = u.required), r || (r = u.checked);
|
|
675
|
-
t && !r ? this.associatedRadioButtons.forEach((u) => u.setValidityFlag("valueMissing", ee[this._languageController.current])) : this.associatedRadioButtons.forEach((u) => u.removeValidityFlag("valueMissing"));
|
|
676
|
-
}
|
|
677
|
-
/**
|
|
678
|
-
* Only a single radio should be focusable in the group. Defined as:
|
|
679
|
-
* - the checked radio;
|
|
680
|
-
* - the first non-disabled radio in DOM order;
|
|
681
|
-
*/
|
|
682
|
-
updateFocusableRadios() {
|
|
683
|
-
if (!this.hasUpdated)
|
|
684
|
-
return;
|
|
685
|
-
const t = this._interactableGroupedRadios(), r = t.findIndex((e) => e.checked && !e.disabled && !e.formDisabled), u = r !== -1 ? r : t.findIndex((e) => !e.disabled && !e.formDisabled);
|
|
686
|
-
u !== -1 && (t[u].tabIndex = 0, t.splice(u, 1)), t.forEach((e) => e.removeAttribute("tabindex"));
|
|
687
|
-
}
|
|
688
|
-
async navigateByKeyboard(t) {
|
|
689
|
-
t.checked = !0, this.emitChangeEvents(), await t.updateComplete, t.focus();
|
|
690
|
-
}
|
|
691
|
-
emitChangeEvents() {
|
|
692
|
-
this.dispatchEvent(new InputEvent("input", { bubbles: !0, cancelable: !0, composed: !0 })), this.dispatchEvent(new Event("change", { bubbles: !0 }));
|
|
693
|
-
}
|
|
694
|
-
_synchronizeGroupState() {
|
|
695
|
-
this.checked && this._deselectGroupedRadios(), this.updateFocusableRadios();
|
|
696
|
-
}
|
|
697
|
-
/**
|
|
698
|
-
* Add `this` to the radioButton registry
|
|
699
|
-
*/
|
|
700
|
-
_connectToRegistry() {
|
|
701
|
-
if (!this.name || A)
|
|
702
|
-
return;
|
|
703
|
-
const t = this.form ?? this.getRootNode();
|
|
704
|
-
this._radioButtonGroupsMap = P.get(t), this._radioButtonGroupsMap || (this._radioButtonGroupsMap = /* @__PURE__ */ new Map(), P.set(t, this._radioButtonGroupsMap)), this.associatedRadioButtons = this._radioButtonGroupsMap.get(this.name), this.associatedRadioButtons || (this.associatedRadioButtons = /* @__PURE__ */ new Set(), this._radioButtonGroupsMap.set(this.name, this.associatedRadioButtons));
|
|
705
|
-
const r = Array.from(this.associatedRadioButtons);
|
|
706
|
-
this.associatedRadioButtons.clear();
|
|
707
|
-
const u = r.findIndex((e) => this.compareDocumentPosition(e) & Node.DOCUMENT_POSITION_FOLLOWING);
|
|
708
|
-
u !== -1 ? r.splice(u, 0, this) : r.push(this), r.forEach((e) => this.associatedRadioButtons.add(e)), this.validate();
|
|
709
|
-
}
|
|
710
|
-
/**
|
|
711
|
-
* Remove `this` from the radioButton registry and, if the group is empty, delete the entry from the groups Map
|
|
712
|
-
*/
|
|
713
|
-
_disconnectFromRegistry() {
|
|
714
|
-
var t, r, u;
|
|
715
|
-
(t = this.associatedRadioButtons) == null || t.delete(this), ((r = this.associatedRadioButtons) == null ? void 0 : r.size) === 0 ? (u = this._radioButtonGroupsMap) == null || u.delete(this.name) : this.validate(), this.associatedRadioButtons = void 0, this._radioButtonGroupsMap = void 0;
|
|
716
|
-
}
|
|
717
|
-
/**
|
|
718
|
-
* Return a list of 'interactable' grouped radios, ordered in DOM order
|
|
719
|
-
*/
|
|
720
|
-
_interactableGroupedRadios() {
|
|
721
|
-
return Array.from(this.associatedRadioButtons ?? []).filter((t) => se.isVisible(t));
|
|
722
|
-
}
|
|
723
|
-
/**
|
|
724
|
-
* Deselect other radio of the same group
|
|
725
|
-
*/
|
|
726
|
-
_deselectGroupedRadios() {
|
|
727
|
-
Array.from(this.associatedRadioButtons ?? []).filter((t) => t !== this).forEach((t) => t.checked = !1);
|
|
728
|
-
}
|
|
729
|
-
async _handleArrowKeyDown(t) {
|
|
730
|
-
if (!ae(t))
|
|
731
|
-
return;
|
|
732
|
-
t.preventDefault();
|
|
733
|
-
const r = this._interactableGroupedRadios().filter((s) => !s.disabled && !s.formDisabled), u = r.indexOf(this), e = ie(t, u, r.length);
|
|
734
|
-
await this.navigateByKeyboard(r[e]);
|
|
735
|
-
}
|
|
736
|
-
}, (() => {
|
|
737
|
-
const t = typeof Symbol == "function" && Symbol.metadata ? Object.create(c[Symbol.metadata] ?? null) : void 0;
|
|
738
|
-
f = [k({ type: Boolean })], y(n, null, f, { kind: "setter", name: "checked", static: !1, private: !1, access: { has: (r) => "checked" in r, set: (r, u) => {
|
|
739
|
-
r.checked = u;
|
|
740
|
-
} }, metadata: t }, null, l), t && Object.defineProperty(n, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: t });
|
|
741
|
-
})(), n;
|
|
742
|
-
})(), oe = (d) => {
|
|
743
|
-
class v extends d {
|
|
744
|
-
/**
|
|
745
|
-
* Returns a Promise that resolves when the element has completed hydration.
|
|
746
|
-
* The Promise value is a boolean that is `true` if the element required hydration
|
|
747
|
-
* and `false` if not.
|
|
748
|
-
*
|
|
749
|
-
* @return A promise of a boolean that resolves to true once the hydration completed.
|
|
750
|
-
* @internal
|
|
751
|
-
*/
|
|
752
|
-
get hydrationComplete() {
|
|
753
|
-
return this._hydrationComplete;
|
|
754
|
-
}
|
|
755
|
-
/** Returns whether hydration is required and not completed. */
|
|
756
|
-
get hydrationRequired() {
|
|
757
|
-
return this._hydrationRequired;
|
|
758
|
-
}
|
|
759
|
-
constructor(...l) {
|
|
760
|
-
var f;
|
|
761
|
-
if (super(...l), this._hydrationComplete = new Promise((n) => this._resolveHydration = n), this._hydrationRequired = !!this.shadowRoot, !this._hydrationRequired)
|
|
762
|
-
this._resolveHydration(!1);
|
|
763
|
-
else {
|
|
764
|
-
const n = (r) => {
|
|
765
|
-
this._hydrationRequired && r.stopImmediatePropagation();
|
|
766
|
-
}, b = { capture: !0 }, t = (f = this.shadowRoot) == null ? void 0 : f.querySelectorAll("slot");
|
|
767
|
-
t != null && t.length && (t.forEach((r) => r.addEventListener("slotchange", n, b)), this.hydrationComplete.then(() => t.forEach((r) => {
|
|
768
|
-
r.removeEventListener("slotchange", n, b), r.assignedNodes().length && r.dispatchEvent(new Event("slotchange", { bubbles: !0 }));
|
|
769
|
-
})));
|
|
770
|
-
}
|
|
771
|
-
}
|
|
772
|
-
update(l) {
|
|
773
|
-
super.update(l), this._hydrationRequired && (this._hydrationRequired = !1, this._resolveHydration(!0));
|
|
774
|
-
}
|
|
775
|
-
}
|
|
776
|
-
return v;
|
|
777
|
-
}, U = "data-ssr-child-count", z = "li", we = (d) => (() => {
|
|
778
|
-
var b, t;
|
|
779
|
-
let c = oe(d), l, f = [], n = [];
|
|
780
|
-
return t = class extends c {
|
|
781
|
-
constructor() {
|
|
782
|
-
super(...arguments);
|
|
783
|
-
E(this, b);
|
|
784
|
-
S(this, b, _(this, f, [])), this._handleSlotchange = (_(this, n), () => {
|
|
785
|
-
const e = Array.from(this.children ?? []).filter((s) => this.listChildLocalNames.includes(s.localName));
|
|
786
|
-
e.length === this.listChildren.length && this.listChildren.every((s, a) => e[a] === s) || (this.listChildren.filter((s) => !e.includes(s)).forEach((s) => s.removeAttribute("slot")), this.listChildren = e, this.listChildren.forEach((s, a) => s.setAttribute("slot", `${z}-${a}`)), this.removeAttribute(U));
|
|
787
|
-
});
|
|
788
|
-
}
|
|
789
|
-
/**
|
|
790
|
-
* A list of children with the defined tag names.
|
|
791
|
-
* This array is only updated if there is an actual change
|
|
792
|
-
* to the child elements.
|
|
793
|
-
*/
|
|
794
|
-
get listChildren() {
|
|
795
|
-
return C(this, b);
|
|
796
|
-
}
|
|
797
|
-
set listChildren(e) {
|
|
798
|
-
S(this, b, e);
|
|
799
|
-
}
|
|
800
|
-
connectedCallback() {
|
|
801
|
-
var e;
|
|
802
|
-
super.connectedCallback(), (e = this.shadowRoot) == null || e.addEventListener("slotchange", this._handleSlotchange, { passive: !0 });
|
|
803
|
-
}
|
|
804
|
-
disconnectedCallback() {
|
|
805
|
-
var e;
|
|
806
|
-
super.disconnectedCallback(), (e = this.shadowRoot) == null || e.removeEventListener("slotchange", this._handleSlotchange);
|
|
807
|
-
}
|
|
808
|
-
/**
|
|
809
|
-
* Renders list and list slots for slotted children or a number of list slots
|
|
810
|
-
* corresponding to the `data-ssr-child-count` attribute value.
|
|
811
|
-
*
|
|
812
|
-
* This is a possible optimization for SSR, as in an SSR Lit environment
|
|
813
|
-
* other elements are not available, but might be available in the meta
|
|
814
|
-
* framework wrapper (like e.g. React). This allows to provide the number of
|
|
815
|
-
* children to be passed via the `data-ssr-child-count` attribute value.
|
|
816
|
-
*/
|
|
817
|
-
renderList(e = {}, s = {}) {
|
|
818
|
-
const a = this.listSlotEntries(s);
|
|
819
|
-
return a.length >= 2 ? R`
|
|
820
|
-
<ul
|
|
821
|
-
class=${e.class || this.localName}
|
|
822
|
-
aria-label=${e.ariaLabel || O}
|
|
823
|
-
aria-labelledby=${e.ariaLabelledby || O}
|
|
824
|
-
>
|
|
825
|
-
${a.map((i) => R`
|
|
826
|
-
<li aria-hidden=${i.ariaHidden || O}>
|
|
827
|
-
<slot name=${i.name}></slot>
|
|
828
|
-
</li>
|
|
829
|
-
`)}
|
|
830
|
-
</ul>
|
|
831
|
-
${this.renderHiddenSlot()}
|
|
832
|
-
` : a.length === 1 ? R`<sbb-screen-reader-only>${e.ariaLabel}</sbb-screen-reader-only>
|
|
833
|
-
<span class=${e.class || this.localName}>
|
|
834
|
-
<span><slot name=${a[0].name}></slot></span>
|
|
835
|
-
</span>
|
|
836
|
-
${this.renderHiddenSlot()} ` : this.renderHiddenSlot();
|
|
837
|
-
}
|
|
838
|
-
/**
|
|
839
|
-
* Returns an array of SbbNamedSlotProperties, which holds the list slot names and the hidden property;
|
|
840
|
-
* its length corresponds to the number of matched children or the `data-ssr-child-count` attribute value.
|
|
841
|
-
*
|
|
842
|
-
* This is a possible optimization for SSR, as in an SSR Lit environment
|
|
843
|
-
* other elements are not available, but might be available in the meta
|
|
844
|
-
* framework wrapper (like e.g. React). This allows to provide the number of
|
|
845
|
-
* children to be passed via the `data-ssr-child-count` attribute value.
|
|
846
|
-
*/
|
|
847
|
-
listSlotEntries(e) {
|
|
848
|
-
return (this.listChildren.length ? this.listChildren : Array.from({ length: +(this.getAttribute(U) ?? 0) })).map((a, i) => {
|
|
849
|
-
var o;
|
|
850
|
-
return {
|
|
851
|
-
name: `${z}-${i}`,
|
|
852
|
-
ariaHidden: ((o = e == null ? void 0 : e.localNameVisualOnly) == null ? void 0 : o.includes(a.localName)) ?? !1
|
|
853
|
-
};
|
|
854
|
-
});
|
|
855
|
-
}
|
|
856
|
-
/**
|
|
857
|
-
* Returns a hidden slot, which is intended as the children change detection.
|
|
858
|
-
* When an element without a slot attribute is slotted to the element, it triggers
|
|
859
|
-
* the slotchange event, which can be used to assign it to the appropriate named slot.
|
|
860
|
-
*/
|
|
861
|
-
renderHiddenSlot() {
|
|
862
|
-
return R`<span hidden><slot></slot></span>`;
|
|
863
|
-
}
|
|
864
|
-
}, b = new WeakMap(), (() => {
|
|
865
|
-
const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(c[Symbol.metadata] ?? null) : void 0;
|
|
866
|
-
l = [N()], y(t, null, l, { kind: "accessor", name: "listChildren", static: !1, private: !1, access: { has: (s) => "listChildren" in s, get: (s) => s.listChildren, set: (s, a) => {
|
|
867
|
-
s.listChildren = a;
|
|
868
|
-
} }, metadata: e }, f, n), e && Object.defineProperty(t, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: e });
|
|
869
|
-
})(), t;
|
|
870
|
-
})(), Re = (d) => (() => {
|
|
871
|
-
var b, t;
|
|
872
|
-
let c = d, l, f = [], n = [];
|
|
873
|
-
return t = class extends c {
|
|
874
|
-
constructor() {
|
|
875
|
-
super(...arguments);
|
|
876
|
-
E(this, b, _(this, f, !1));
|
|
877
|
-
_(this, n);
|
|
878
|
-
}
|
|
879
|
-
/** Negative coloring variant flag. */
|
|
880
|
-
get negative() {
|
|
881
|
-
return C(this, b);
|
|
882
|
-
}
|
|
883
|
-
set negative(e) {
|
|
884
|
-
S(this, b, e);
|
|
885
|
-
}
|
|
886
|
-
}, b = new WeakMap(), (() => {
|
|
887
|
-
const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(c[Symbol.metadata] ?? null) : void 0;
|
|
888
|
-
l = [I(), k({ reflect: !0, type: Boolean })], y(t, null, l, { kind: "accessor", name: "negative", static: !1, private: !1, access: { has: (s) => "negative" in s, get: (s) => s.negative, set: (s, a) => {
|
|
889
|
-
s.negative = a;
|
|
890
|
-
} }, metadata: e }, f, n), e && Object.defineProperty(t, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: e });
|
|
891
|
-
})(), t;
|
|
892
|
-
})(), Ie = (d) => (() => {
|
|
893
|
-
var a, i, o, p;
|
|
894
|
-
let c = d, l, f = [], n = [], b, t = [], r = [], u, e = [], s = [];
|
|
895
|
-
return p = class extends c {
|
|
896
|
-
constructor() {
|
|
897
|
-
super(...arguments);
|
|
898
|
-
E(this, a);
|
|
899
|
-
E(this, i);
|
|
900
|
-
E(this, o);
|
|
901
|
-
S(this, a, _(this, f, "white")), S(this, i, (_(this, n), _(this, t, !1))), S(this, o, (_(this, r), _(this, e, ""))), this._panelConnected = (_(this, s), new J(this, p.events.panelConnected, { bubbles: !0 }));
|
|
902
|
-
}
|
|
903
|
-
/** The background color of the panel. */
|
|
904
|
-
get color() {
|
|
905
|
-
return C(this, a);
|
|
906
|
-
}
|
|
907
|
-
set color(g) {
|
|
908
|
-
S(this, a, g);
|
|
909
|
-
}
|
|
910
|
-
/** Whether the unselected panel has a border. */
|
|
911
|
-
get borderless() {
|
|
912
|
-
return C(this, i);
|
|
913
|
-
}
|
|
914
|
-
set borderless(g) {
|
|
915
|
-
S(this, i, g);
|
|
916
|
-
}
|
|
917
|
-
/** @internal used for accessibility label when in expansion panel */
|
|
918
|
-
get expansionState() {
|
|
919
|
-
return C(this, o);
|
|
920
|
-
}
|
|
921
|
-
set expansionState(g) {
|
|
922
|
-
S(this, o, g);
|
|
923
|
-
}
|
|
924
|
-
connectedCallback() {
|
|
925
|
-
var g, h;
|
|
926
|
-
super.connectedCallback(), this._panelConnected.emit(), (h = (g = this.closest) == null ? void 0 : g.call(this, "sbb-radio-button-group, sbb-checkbox-group")) == null || h.toggleAttribute("data-has-panel", !0);
|
|
927
|
-
}
|
|
928
|
-
}, a = new WeakMap(), i = new WeakMap(), o = new WeakMap(), (() => {
|
|
929
|
-
const g = typeof Symbol == "function" && Symbol.metadata ? Object.create(c[Symbol.metadata] ?? null) : void 0;
|
|
930
|
-
l = [k({ reflect: !0 })], b = [I(), k({ reflect: !0, type: Boolean })], u = [I(), k()], y(p, null, l, { kind: "accessor", name: "color", static: !1, private: !1, access: { has: (h) => "color" in h, get: (h) => h.color, set: (h, w) => {
|
|
931
|
-
h.color = w;
|
|
932
|
-
} }, metadata: g }, f, n), y(p, null, b, { kind: "accessor", name: "borderless", static: !1, private: !1, access: { has: (h) => "borderless" in h, get: (h) => h.borderless, set: (h, w) => {
|
|
933
|
-
h.borderless = w;
|
|
934
|
-
} }, metadata: g }, t, r), y(p, null, u, { kind: "accessor", name: "expansionState", static: !1, private: !1, access: { has: (h) => "expansionState" in h, get: (h) => h.expansionState, set: (h, w) => {
|
|
935
|
-
h.expansionState = w;
|
|
936
|
-
} }, metadata: g }, e, s), g && Object.defineProperty(p, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: g });
|
|
937
|
-
})(), p.events = {
|
|
938
|
-
panelConnected: "panelConnected"
|
|
939
|
-
}, p;
|
|
940
|
-
})(), Ae = (d) => {
|
|
941
|
-
class v extends d {
|
|
942
|
-
constructor() {
|
|
943
|
-
super(...arguments), this._updatePromise = Promise.resolve(), this._updateResolve = () => {
|
|
944
|
-
};
|
|
945
|
-
}
|
|
946
|
-
startUpdate() {
|
|
947
|
-
this._updatePromise = new Promise((l) => this._updateResolve = l);
|
|
948
|
-
}
|
|
949
|
-
completeUpdate() {
|
|
950
|
-
this._updateResolve();
|
|
951
|
-
}
|
|
952
|
-
async getUpdateComplete() {
|
|
953
|
-
const l = await super.getUpdateComplete();
|
|
954
|
-
return await this._updatePromise, l;
|
|
955
|
-
}
|
|
956
|
-
}
|
|
957
|
-
return v;
|
|
958
|
-
}, Oe = W`: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-duration, 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}`;
|
|
1
|
+
import { SbbAnimationCompleteMixin as r } from "./mixins/animation-complete-mixin.js";
|
|
2
|
+
import { SbbDisabledInteractiveMixin as a, SbbDisabledMixin as t, SbbDisabledTabIndexActionMixin as l } from "./mixins/disabled-mixin.js";
|
|
3
|
+
import { SbbFormAssociatedCheckboxMixin as c } from "./mixins/form-associated-checkbox-mixin.js";
|
|
4
|
+
import { SbbFormAssociatedInputMixin as u } from "./mixins/form-associated-input-mixin.js";
|
|
5
|
+
import { SbbFormAssociatedMixin as v } from "./mixins/form-associated-mixin.js";
|
|
6
|
+
import { SbbFormAssociatedRadioButtonMixin as f, radioButtonRegistry as h } from "./mixins/form-associated-radio-button-mixin.js";
|
|
7
|
+
import { SbbHydrationMixin as S } from "./mixins/hydration-mixin.js";
|
|
8
|
+
import { SbbNamedSlotListMixin as w } from "./mixins/named-slot-list-mixin.js";
|
|
9
|
+
import { SbbNegativeMixin as y } from "./mixins/negative-mixin.js";
|
|
10
|
+
import { SbbPanelMixin as C } from "./mixins/panel-mixin.js";
|
|
11
|
+
import { SbbRequiredMixin as D } from "./mixins/required-mixin.js";
|
|
12
|
+
import { SbbUpdateSchedulerMixin as R } from "./mixins/update-scheduler-mixin.js";
|
|
13
|
+
import { css as e } from "lit";
|
|
14
|
+
const s = e`: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-duration, 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) var(--sbb-focus-outline-style, solid) var(--sbb-focus-outline-width)}.sbb-selection-panel__badge{-webkit-user-select:none;user-select:none;pointer-events:none;position:absolute;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}`;
|
|
959
15
|
export {
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
16
|
+
r as SbbAnimationCompleteMixin,
|
|
17
|
+
a as SbbDisabledInteractiveMixin,
|
|
18
|
+
t as SbbDisabledMixin,
|
|
19
|
+
l as SbbDisabledTabIndexActionMixin,
|
|
20
|
+
c as SbbFormAssociatedCheckboxMixin,
|
|
21
|
+
u as SbbFormAssociatedInputMixin,
|
|
22
|
+
v as SbbFormAssociatedMixin,
|
|
23
|
+
f as SbbFormAssociatedRadioButtonMixin,
|
|
24
|
+
S as SbbHydrationMixin,
|
|
25
|
+
w as SbbNamedSlotListMixin,
|
|
26
|
+
y as SbbNegativeMixin,
|
|
27
|
+
C as SbbPanelMixin,
|
|
972
28
|
D as SbbRequiredMixin,
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
29
|
+
R as SbbUpdateSchedulerMixin,
|
|
30
|
+
s as panelCommonStyle,
|
|
31
|
+
h as radioButtonRegistry
|
|
976
32
|
};
|