@sbb-esta/lyne-elements 1.6.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/accordion.d.ts +0 -1
- package/action-group/action-group.d.ts +0 -1
- package/alert/alert/alert.d.ts +0 -1
- package/alert/alert-group/alert-group.d.ts +0 -1
- package/alert/alert.js +1 -1
- package/autocomplete/autocomplete-base-element.d.ts +0 -1
- package/autocomplete/autocomplete.d.ts +0 -1
- package/autocomplete-grid/autocomplete-grid/autocomplete-grid.d.ts +0 -1
- package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.d.ts +0 -1
- package/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.d.ts +0 -1
- package/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.d.ts +0 -1
- package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.d.ts +0 -1
- package/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.d.ts +0 -1
- package/autocomplete.js +1 -1
- package/breadcrumb/breadcrumb/breadcrumb.d.ts +0 -1
- package/breadcrumb/breadcrumb-group/breadcrumb-group.d.ts +0 -1
- package/breadcrumb/breadcrumb-group.js +2 -2
- package/breadcrumb/breadcrumb.js +11 -11
- package/button/button/button.d.ts +0 -1
- package/button/button-link/button-link.d.ts +0 -1
- package/button/button-static/button-static.d.ts +0 -1
- package/button/common/button-common.d.ts +0 -1
- package/button/mini-button/mini-button-base-element.d.ts +0 -1
- package/button/mini-button/mini-button.d.ts +0 -1
- package/button/mini-button-group/index.d.ts +2 -0
- package/button/mini-button-group/index.d.ts.map +1 -0
- package/button/mini-button-group/mini-button-group.d.ts +28 -0
- package/button/mini-button-group/mini-button-group.d.ts.map +1 -0
- package/button/mini-button-group.d.ts +2 -0
- package/button/mini-button-group.d.ts.map +1 -0
- package/button/mini-button-group.js +47 -0
- package/button/secondary-button/secondary-button.d.ts +0 -1
- package/button/secondary-button-link/secondary-button-link.d.ts +0 -1
- package/button/secondary-button-static/secondary-button-static.d.ts +0 -1
- package/button/tertiary-button/tertiary-button.d.ts +0 -1
- package/button/tertiary-button-link/tertiary-button-link.d.ts +0 -1
- package/button/tertiary-button-static/tertiary-button-static.d.ts +0 -1
- package/button/transparent-button/transparent-button.d.ts +0 -1
- package/button/transparent-button-link/transparent-button-link.d.ts +0 -1
- package/button/transparent-button-static/transparent-button-static.d.ts +0 -1
- package/button.d.ts +1 -0
- package/button.d.ts.map +1 -1
- package/button.js +1 -0
- package/calendar/calendar.d.ts +5 -3
- package/calendar/calendar.d.ts.map +1 -1
- package/calendar.js +73 -66
- package/card/card/card.d.ts +0 -1
- package/card/card-badge/card-badge.d.ts +0 -1
- package/card/card-button/card-button.d.ts +0 -1
- package/card/card-link/card-link.d.ts +0 -1
- package/card/card.js +1 -1
- package/card/common/card-action-common.d.ts +0 -1
- package/checkbox/checkbox/checkbox.d.ts +0 -1
- package/checkbox/checkbox-group/checkbox-group.d.ts +0 -1
- package/checkbox/checkbox-panel/checkbox-panel.d.ts +0 -1
- package/checkbox/common/checkbox-common.d.ts +0 -1
- package/chip/chip.d.ts +0 -1
- package/chip.js +1 -1
- package/clock/clock.d.ts +0 -1
- package/clock/clock.d.ts.map +1 -1
- package/container/container/container.d.ts +1 -1
- package/container/container/container.d.ts.map +1 -1
- package/container/container.js +21 -16
- package/container/sticky-bar/sticky-bar.d.ts +0 -1
- package/container/sticky-bar.js +5 -5
- package/core/a11y/focus-visible-within-controller.d.ts +0 -1
- package/core/base-elements/action-base-element.d.ts +0 -1
- package/core/base-elements/button-base-element.d.ts +0 -1
- package/core/base-elements/link-base-element.d.ts +0 -1
- package/core/base-elements/open-close-base-element.d.ts +10 -1
- package/core/base-elements/open-close-base-element.d.ts.map +1 -1
- package/core/base-elements.js +4 -0
- package/core/config/config.d.ts +0 -1
- package/core/controllers/connected-abort-controller.d.ts +0 -1
- package/core/controllers/inert-controller.d.ts +18 -0
- package/core/controllers/inert-controller.d.ts.map +1 -0
- package/core/controllers/language-controller.d.ts +0 -1
- package/core/controllers/slot-state-controller.d.ts +0 -1
- package/core/controllers.d.ts +1 -0
- package/core/controllers.d.ts.map +1 -1
- package/core/controllers.js +67 -23
- package/core/datetime/native-date-adapter.d.ts +0 -1
- package/core/decorators/host-attributes.d.ts +0 -1
- package/core/decorators/slot-state.d.ts +0 -1
- package/core/dom/ssr.d.ts +0 -1
- package/core/eventing/form-element-handlers.d.ts +0 -1
- package/core/i18n/i18n.d.ts +0 -1
- package/core/i18n.js +1 -1
- package/core/images.d.ts.map +1 -1
- package/core/mixins/disabled-mixin.d.ts +0 -1
- package/core/mixins/form-associated-checkbox-mixin.d.ts +0 -1
- package/core/mixins/form-associated-mixin.d.ts +0 -1
- package/core/mixins/hydration-mixin.d.ts +0 -1
- package/core/mixins/named-slot-list-mixin.d.ts +7 -2
- package/core/mixins/named-slot-list-mixin.d.ts.map +1 -1
- package/core/mixins/negative-mixin.d.ts +0 -1
- package/core/mixins/panel-mixin.d.ts +0 -1
- package/core/mixins/required-mixin.d.ts +0 -1
- package/core/mixins/update-scheduler-mixin.d.ts +0 -1
- package/core/mixins.js +100 -88
- package/core/overlay/overlay.d.ts +0 -14
- package/core/overlay/overlay.d.ts.map +1 -1
- package/core/overlay.js +36 -86
- package/core/styles/core.scss +21 -19
- package/core/styles/mixins/link.scss +9 -6
- package/core/styles/mixins/lists.scss +5 -5
- package/core/styles/mixins/pearl-chain-bullet.scss +14 -9
- package/core/styles/mixins/table.scss +19 -17
- package/core/testing/mocha-extensions.d.ts +0 -1
- package/core/testing/wait-for-image-ready.d.ts +0 -1
- package/core/testing/wait-for-render.d.ts +0 -1
- package/core.css +10 -8
- package/custom-elements.json +3533 -1027
- package/datepicker/common/datepicker-button.d.ts +0 -1
- package/datepicker/datepicker/datepicker.d.ts +0 -1
- package/datepicker/datepicker-next-day/datepicker-next-day.d.ts +0 -1
- package/datepicker/datepicker-previous-day/datepicker-previous-day.d.ts +0 -1
- package/datepicker/datepicker-toggle/datepicker-toggle.d.ts +4 -1
- package/datepicker/datepicker-toggle/datepicker-toggle.d.ts.map +1 -1
- package/datepicker/datepicker-toggle.js +51 -41
- package/development/accordion/accordion.d.ts +0 -1
- package/development/action-group/action-group.d.ts +0 -1
- package/development/alert/alert/alert.d.ts +0 -1
- package/development/alert/alert-group/alert-group.d.ts +0 -1
- package/development/alert/alert.js +1 -1
- package/development/autocomplete/autocomplete-base-element.d.ts +0 -1
- package/development/autocomplete/autocomplete.d.ts +0 -1
- package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.d.ts +0 -1
- package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.d.ts +0 -1
- package/development/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.d.ts +0 -1
- package/development/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.d.ts +0 -1
- package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.d.ts +0 -1
- package/development/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.d.ts +0 -1
- package/development/autocomplete.js +7 -5
- package/development/breadcrumb/breadcrumb/breadcrumb.d.ts +0 -1
- package/development/breadcrumb/breadcrumb-group/breadcrumb-group.d.ts +0 -1
- package/development/breadcrumb/breadcrumb-group.js +4 -4
- package/development/breadcrumb/breadcrumb.js +8 -6
- package/development/button/button/button.d.ts +0 -1
- package/development/button/button-link/button-link.d.ts +0 -1
- package/development/button/button-static/button-static.d.ts +0 -1
- package/development/button/common/button-common.d.ts +0 -1
- package/development/button/mini-button/mini-button-base-element.d.ts +0 -1
- package/development/button/mini-button/mini-button.d.ts +0 -1
- package/development/button/mini-button-group/index.d.ts +2 -0
- package/development/button/mini-button-group/index.d.ts.map +1 -0
- package/development/button/mini-button-group/mini-button-group.d.ts +28 -0
- package/development/button/mini-button-group/mini-button-group.d.ts.map +1 -0
- package/development/button/mini-button-group.d.ts +2 -0
- package/development/button/mini-button-group.d.ts.map +1 -0
- package/development/button/mini-button-group.js +142 -0
- package/development/button/secondary-button/secondary-button.d.ts +0 -1
- package/development/button/secondary-button-link/secondary-button-link.d.ts +0 -1
- package/development/button/secondary-button-static/secondary-button-static.d.ts +0 -1
- package/development/button/tertiary-button/tertiary-button.d.ts +0 -1
- package/development/button/tertiary-button-link/tertiary-button-link.d.ts +0 -1
- package/development/button/tertiary-button-static/tertiary-button-static.d.ts +0 -1
- package/development/button/transparent-button/transparent-button.d.ts +0 -1
- package/development/button/transparent-button-link/transparent-button-link.d.ts +0 -1
- package/development/button/transparent-button-static/transparent-button-static.d.ts +0 -1
- package/development/button.d.ts +1 -0
- package/development/button.d.ts.map +1 -1
- package/development/button.js +2 -1
- package/development/calendar/calendar.d.ts +5 -3
- package/development/calendar/calendar.d.ts.map +1 -1
- package/development/calendar.js +38 -22
- package/development/card/card/card.d.ts +0 -1
- package/development/card/card-badge/card-badge.d.ts +0 -1
- package/development/card/card-button/card-button.d.ts +0 -1
- package/development/card/card-link/card-link.d.ts +0 -1
- package/development/card/card.js +3 -3
- package/development/card/common/card-action-common.d.ts +0 -1
- package/development/checkbox/checkbox/checkbox.d.ts +0 -1
- package/development/checkbox/checkbox-group/checkbox-group.d.ts +0 -1
- package/development/checkbox/checkbox-panel/checkbox-panel.d.ts +0 -1
- package/development/checkbox/common/checkbox-common.d.ts +0 -1
- package/development/chip/chip.d.ts +0 -1
- package/development/chip.js +4 -2
- package/development/clock/clock.d.ts +0 -1
- package/development/clock/clock.d.ts.map +1 -1
- package/development/clock.js +1 -1
- package/development/container/container/container.d.ts +1 -1
- package/development/container/container/container.d.ts.map +1 -1
- package/development/container/container.js +44 -4
- package/development/container/sticky-bar/sticky-bar.d.ts +0 -1
- package/development/container/sticky-bar.js +1 -4
- package/development/core/a11y/focus-visible-within-controller.d.ts +0 -1
- package/development/core/base-elements/action-base-element.d.ts +0 -1
- package/development/core/base-elements/button-base-element.d.ts +0 -1
- package/development/core/base-elements/link-base-element.d.ts +0 -1
- package/development/core/base-elements/open-close-base-element.d.ts +10 -1
- package/development/core/base-elements/open-close-base-element.d.ts.map +1 -1
- package/development/core/base-elements.js +5 -1
- package/development/core/config/config.d.ts +0 -1
- package/development/core/controllers/connected-abort-controller.d.ts +0 -1
- package/development/core/controllers/inert-controller.d.ts +18 -0
- package/development/core/controllers/inert-controller.d.ts.map +1 -0
- package/development/core/controllers/language-controller.d.ts +0 -1
- package/development/core/controllers/slot-state-controller.d.ts +0 -1
- package/development/core/controllers.d.ts +1 -0
- package/development/core/controllers.d.ts.map +1 -1
- package/development/core/controllers.js +90 -1
- package/development/core/datetime/native-date-adapter.d.ts +0 -1
- package/development/core/decorators/host-attributes.d.ts +0 -1
- package/development/core/decorators/slot-state.d.ts +0 -1
- package/development/core/dom/ssr.d.ts +0 -1
- package/development/core/eventing/form-element-handlers.d.ts +0 -1
- package/development/core/i18n/i18n.d.ts +0 -1
- package/development/core/i18n.js +2 -2
- package/development/core/images.d.ts.map +1 -1
- package/development/core/mixins/disabled-mixin.d.ts +0 -1
- package/development/core/mixins/form-associated-checkbox-mixin.d.ts +0 -1
- package/development/core/mixins/form-associated-mixin.d.ts +0 -1
- package/development/core/mixins/hydration-mixin.d.ts +0 -1
- package/development/core/mixins/named-slot-list-mixin.d.ts +7 -2
- package/development/core/mixins/named-slot-list-mixin.d.ts.map +1 -1
- package/development/core/mixins/negative-mixin.d.ts +0 -1
- package/development/core/mixins/panel-mixin.d.ts +0 -1
- package/development/core/mixins/required-mixin.d.ts +0 -1
- package/development/core/mixins/update-scheduler-mixin.d.ts +0 -1
- package/development/core/mixins.js +24 -12
- package/development/core/overlay/overlay.d.ts +0 -14
- package/development/core/overlay/overlay.d.ts.map +1 -1
- package/development/core/overlay.js +1 -87
- package/development/core/testing/mocha-extensions.d.ts +0 -1
- package/development/core/testing/wait-for-image-ready.d.ts +0 -1
- package/development/core/testing/wait-for-render.d.ts +0 -1
- package/development/datepicker/common/datepicker-button.d.ts +0 -1
- package/development/datepicker/datepicker/datepicker.d.ts +0 -1
- package/development/datepicker/datepicker-next-day/datepicker-next-day.d.ts +0 -1
- package/development/datepicker/datepicker-previous-day/datepicker-previous-day.d.ts +0 -1
- package/development/datepicker/datepicker-toggle/datepicker-toggle.d.ts +4 -1
- package/development/datepicker/datepicker-toggle/datepicker-toggle.d.ts.map +1 -1
- package/development/datepicker/datepicker-toggle.js +20 -3
- package/development/dialog/dialog/dialog.d.ts +0 -1
- package/development/dialog/dialog/dialog.d.ts.map +1 -1
- package/development/dialog/dialog-actions/dialog-actions.d.ts +0 -1
- package/development/dialog/dialog-content/dialog-content.d.ts +0 -1
- package/development/dialog/dialog-content.js +8 -6
- package/development/dialog/dialog-title/dialog-title.d.ts +0 -1
- package/development/dialog/dialog.js +9 -6
- package/development/divider/divider.d.ts +0 -1
- package/development/expansion-panel/expansion-panel/expansion-panel.d.ts +0 -1
- package/development/expansion-panel/expansion-panel-content/expansion-panel-content.d.ts +0 -1
- package/development/expansion-panel/expansion-panel-header/expansion-panel-header.d.ts +0 -1
- package/development/expansion-panel/expansion-panel-header.js +1 -1
- package/development/file-selector/file-selector.d.ts +0 -1
- package/development/flip-card/flip-card/flip-card.d.ts +22 -7
- package/development/flip-card/flip-card/flip-card.d.ts.map +1 -1
- package/development/flip-card/flip-card-details/flip-card-details.d.ts +0 -1
- package/development/flip-card/flip-card-details/flip-card-details.d.ts.map +1 -1
- package/development/flip-card/flip-card-details.js +28 -9
- package/development/flip-card/flip-card-summary/flip-card-summary.d.ts +0 -1
- package/development/flip-card/flip-card-summary.js +8 -1
- package/development/flip-card/flip-card.js +132 -32
- package/development/footer/footer.d.ts +0 -1
- package/development/footer.js +1 -1
- package/development/form-error/form-error.d.ts +0 -1
- package/development/form-error.js +4 -4
- package/development/form-field/form-field/form-field.d.ts +1 -2
- package/development/form-field/form-field/form-field.d.ts.map +1 -1
- package/development/form-field/form-field-clear/form-field-clear.d.ts +0 -1
- package/development/form-field/form-field.js +74 -29
- package/development/header/common/header-action-common.d.ts +0 -1
- package/development/header/common.js +2 -2
- package/development/header/header/header.d.ts +0 -1
- package/development/header/header-button/header-button.d.ts +0 -1
- package/development/header/header-link/header-link.d.ts +0 -1
- package/development/header/header.js +2 -2
- package/development/icon/icon-base.d.ts +0 -1
- package/development/icon/icon-name-mixin.d.ts +0 -1
- package/development/icon/icon.d.ts +0 -1
- package/development/image/image.d.ts +0 -1
- package/development/image.js +2 -2
- package/development/journey-header/journey-header.d.ts +0 -1
- package/development/lead-container/lead-container.d.ts +0 -1
- package/development/lead-container.js +6 -2
- package/development/link/block-link/block-link.d.ts +0 -1
- package/development/link/block-link-button/block-link-button.d.ts +0 -1
- package/development/link/block-link-static/block-link-static.d.ts +0 -1
- package/development/link/common/block-link-common.d.ts +0 -1
- package/development/link/common/inline-link-common.d.ts +0 -1
- package/development/link/common/link-common.d.ts +0 -1
- package/development/link/common.js +9 -7
- package/development/link/link/link.d.ts +0 -1
- package/development/link/link-button/link-button.d.ts +0 -1
- package/development/link/link-static/link-static.d.ts +0 -1
- package/development/link-list/common/link-list-base.d.ts +27 -0
- package/development/link-list/common/link-list-base.d.ts.map +1 -0
- package/development/link-list/common.d.ts +2 -0
- package/development/link-list/common.d.ts.map +1 -0
- package/development/link-list/common.js +113 -0
- package/development/link-list/link-list/link-list.d.ts +22 -0
- package/development/link-list/link-list/link-list.d.ts.map +1 -0
- package/development/link-list/link-list-anchor/index.d.ts +2 -0
- package/development/link-list/link-list-anchor/index.d.ts.map +1 -0
- package/development/link-list/link-list-anchor/link-list-anchor.d.ts +17 -0
- package/development/link-list/link-list-anchor/link-list-anchor.d.ts.map +1 -0
- package/development/link-list/link-list-anchor.d.ts +2 -0
- package/development/link-list/link-list-anchor.d.ts.map +1 -0
- package/development/link-list/link-list-anchor.js +91 -0
- package/development/link-list/link-list.d.ts +1 -38
- package/development/link-list/link-list.d.ts.map +1 -1
- package/development/link-list/link-list.js +194 -0
- package/development/link-list.d.ts +2 -0
- package/development/link-list.d.ts.map +1 -1
- package/development/link-list.js +4 -260
- package/development/loading-indicator/loading-indicator.d.ts +0 -1
- package/development/logo/logo.d.ts +0 -1
- package/development/logo.js +2 -2
- package/development/map-container/map-container.d.ts +0 -1
- package/development/map-container.js +13 -11
- package/development/menu/common/menu-action-common.d.ts +0 -1
- package/development/menu/menu/menu.d.ts +1 -1
- package/development/menu/menu/menu.d.ts.map +1 -1
- package/development/menu/menu-button/menu-button.d.ts +0 -1
- package/development/menu/menu-link/menu-link.d.ts +0 -1
- package/development/menu/menu.js +13 -14
- package/development/message/message.d.ts +0 -1
- package/development/navigation/common/navigation-action-common.d.ts +0 -1
- package/development/navigation/navigation/navigation.d.ts +1 -1
- package/development/navigation/navigation/navigation.d.ts.map +1 -1
- package/development/navigation/navigation-button/navigation-button.d.ts +0 -1
- package/development/navigation/navigation-link/navigation-link.d.ts +0 -1
- package/development/navigation/navigation-list/navigation-list.d.ts +0 -1
- package/development/navigation/navigation-marker/navigation-marker.d.ts +0 -1
- package/development/navigation/navigation-section/navigation-section.d.ts +0 -1
- package/development/navigation/navigation-section.js +7 -5
- package/development/navigation/navigation.js +18 -19
- package/development/notification/notification.d.ts +0 -1
- package/development/option/optgroup/optgroup-base-element.d.ts +0 -1
- package/development/option/optgroup/optgroup.d.ts +0 -1
- package/development/option/option/option-base-element.d.ts +0 -1
- package/development/option/option/option.d.ts +0 -1
- package/development/overlay/overlay-base-element.d.ts +2 -2
- package/development/overlay/overlay-base-element.d.ts.map +1 -1
- package/development/overlay/overlay.d.ts +0 -1
- package/development/overlay/overlay.d.ts.map +1 -1
- package/development/overlay.js +13 -13
- package/development/popover/popover/popover.d.ts +0 -1
- package/development/popover/popover/popover.d.ts.map +1 -1
- package/development/popover/popover-trigger/popover-trigger.d.ts +0 -1
- package/development/popover/popover-trigger.js +3 -3
- package/development/popover/popover.js +6 -4
- package/development/radio-button/common/radio-button-common.d.ts +0 -1
- package/development/radio-button/common.js +6 -6
- package/development/radio-button/radio-button/radio-button.d.ts +0 -1
- package/development/radio-button/radio-button-group/radio-button-group.d.ts +0 -1
- package/development/radio-button/radio-button-panel/radio-button-panel.d.ts +0 -1
- package/development/screen-reader-only/screen-reader-only.d.ts +0 -1
- package/development/select/select.d.ts +0 -1
- package/development/select.js +7 -5
- package/development/selection-expansion-panel/selection-expansion-panel.d.ts +0 -1
- package/development/selection-expansion-panel/selection-expansion-panel.d.ts.map +1 -1
- package/development/selection-expansion-panel.js +6 -2
- package/development/signet/signet.d.ts +0 -1
- package/development/signet.js +1 -1
- package/development/skiplink-list/skiplink-list.d.ts +0 -1
- package/development/slider/slider.d.ts +0 -1
- package/development/slider.js +4 -4
- package/development/status/status.d.ts +0 -1
- package/development/stepper/step/step.d.ts +0 -1
- package/development/stepper/step-label/step-label.d.ts +0 -1
- package/development/stepper/stepper/stepper.d.ts +0 -1
- package/development/table/table-wrapper/table-wrapper.d.ts +0 -1
- package/development/tabs/tab/tab.d.ts +0 -1
- package/development/tabs/tab-group/tab-group.d.ts +0 -1
- package/development/tabs/tab-label/tab-label.d.ts +0 -1
- package/development/tabs/tab-label.js +10 -10
- package/development/tag/tag/tag.d.ts +0 -1
- package/development/tag/tag-group/tag-group.d.ts +0 -1
- package/development/tag/tag.js +3 -3
- package/development/teaser/teaser.d.ts +0 -1
- package/development/teaser-hero/teaser-hero.d.ts +27 -0
- package/development/teaser-hero/teaser-hero.d.ts.map +1 -0
- package/development/teaser-hero.d.ts +2 -0
- package/development/teaser-hero.d.ts.map +1 -0
- package/development/teaser-hero.js +207 -0
- package/development/teaser-product/common/teaser-product-common.d.ts +7 -0
- package/development/teaser-product/common/teaser-product-common.d.ts.map +1 -0
- package/development/teaser-product/common.d.ts +2 -0
- package/development/teaser-product/common.d.ts.map +1 -0
- package/development/teaser-product/common.js +219 -0
- package/development/teaser-product/teaser-product/teaser-product.d.ts +22 -0
- package/development/teaser-product/teaser-product/teaser-product.d.ts.map +1 -0
- package/development/teaser-product/teaser-product-static/teaser-product-static.d.ts +22 -0
- package/development/teaser-product/teaser-product-static/teaser-product-static.d.ts.map +1 -0
- package/development/teaser-product/teaser-product-static.d.ts +2 -0
- package/development/teaser-product/teaser-product-static.d.ts.map +1 -0
- package/development/teaser-product/teaser-product-static.js +25 -0
- package/development/teaser-product/teaser-product.d.ts +2 -0
- package/development/teaser-product/teaser-product.d.ts.map +1 -0
- package/development/teaser-product/teaser-product.js +80 -0
- package/development/teaser-product.d.ts +4 -0
- package/development/teaser-product.d.ts.map +1 -0
- package/development/teaser-product.js +4 -0
- package/development/time-input/time-input.d.ts +0 -1
- package/development/timetable-occupancy/timetable-occupancy.d.ts +0 -1
- package/development/timetable-occupancy-icon/timetable-occupancy-icon.d.ts +0 -1
- package/development/timetable-occupancy.js +1 -1
- package/development/title/title-base.d.ts +0 -1
- package/development/title/title.d.ts +0 -1
- package/development/toast/toast.d.ts +0 -1
- package/development/toggle/toggle/toggle.d.ts +2 -2
- package/development/toggle/toggle/toggle.d.ts.map +1 -1
- package/development/toggle/toggle-option/toggle-option.d.ts +0 -1
- package/development/toggle/toggle-option/toggle-option.d.ts.map +1 -1
- package/development/toggle/toggle-option.js +3 -2
- package/development/toggle/toggle.js +8 -8
- package/development/toggle-check/toggle-check.d.ts +0 -1
- package/development/train/train/train.d.ts +0 -1
- package/development/train/train-blocked-passage/train-blocked-passage.d.ts +0 -1
- package/development/train/train-blocked-passage.js +1 -1
- package/development/train/train-formation/train-formation.d.ts +0 -1
- package/development/train/train-formation.js +9 -7
- package/development/train/train-wagon/train-wagon.d.ts +0 -1
- package/development/train/train-wagon.js +1 -1
- package/development/train/train.js +1 -1
- package/development/visual-checkbox/visual-checkbox.d.ts +0 -1
- package/development/visual-checkbox.js +1 -1
- package/dialog/dialog/dialog.d.ts +0 -1
- package/dialog/dialog/dialog.d.ts.map +1 -1
- package/dialog/dialog-actions/dialog-actions.d.ts +0 -1
- package/dialog/dialog-content/dialog-content.d.ts +0 -1
- package/dialog/dialog-content.js +1 -1
- package/dialog/dialog-title/dialog-title.d.ts +0 -1
- package/dialog/dialog.js +11 -12
- package/divider/divider.d.ts +0 -1
- package/expansion-panel/expansion-panel/expansion-panel.d.ts +0 -1
- package/expansion-panel/expansion-panel-content/expansion-panel-content.d.ts +0 -1
- package/expansion-panel/expansion-panel-header/expansion-panel-header.d.ts +0 -1
- package/expansion-panel/expansion-panel-header.js +1 -1
- package/file-selector/file-selector.d.ts +0 -1
- package/flip-card/flip-card/flip-card.d.ts +22 -7
- package/flip-card/flip-card/flip-card.d.ts.map +1 -1
- package/flip-card/flip-card-details/flip-card-details.d.ts +0 -1
- package/flip-card/flip-card-details/flip-card-details.d.ts.map +1 -1
- package/flip-card/flip-card-details.js +19 -17
- package/flip-card/flip-card-summary/flip-card-summary.d.ts +0 -1
- package/flip-card/flip-card-summary.js +13 -13
- package/flip-card/flip-card.js +68 -35
- package/footer/footer.d.ts +0 -1
- package/footer.js +1 -1
- package/form-error/form-error.d.ts +0 -1
- package/form-error.js +1 -1
- package/form-field/form-field/form-field.d.ts +1 -2
- package/form-field/form-field/form-field.d.ts.map +1 -1
- package/form-field/form-field-clear/form-field-clear.d.ts +0 -1
- package/form-field/form-field.js +22 -22
- package/header/common/header-action-common.d.ts +0 -1
- package/header/common.js +1 -1
- package/header/header/header.d.ts +0 -1
- package/header/header-button/header-button.d.ts +0 -1
- package/header/header-link/header-link.d.ts +0 -1
- package/header/header.js +1 -1
- package/icon/icon-base.d.ts +0 -1
- package/icon/icon-name-mixin.d.ts +0 -1
- package/icon/icon.d.ts +0 -1
- package/image/image.d.ts +0 -1
- package/image.js +25 -25
- package/index.d.ts +11 -1
- package/index.js +11 -1
- package/journey-header/journey-header.d.ts +0 -1
- package/lead-container/lead-container.d.ts +0 -1
- package/lead-container.js +1 -1
- package/link/block-link/block-link.d.ts +0 -1
- package/link/block-link-button/block-link-button.d.ts +0 -1
- package/link/block-link-static/block-link-static.d.ts +0 -1
- package/link/common/block-link-common.d.ts +0 -1
- package/link/common/inline-link-common.d.ts +0 -1
- package/link/common/link-common.d.ts +0 -1
- package/link/common.js +6 -6
- package/link/link/link.d.ts +0 -1
- package/link/link-button/link-button.d.ts +0 -1
- package/link/link-static/link-static.d.ts +0 -1
- package/link-list/common/link-list-base.d.ts +27 -0
- package/link-list/common/link-list-base.d.ts.map +1 -0
- package/link-list/common.d.ts +2 -0
- package/link-list/common.d.ts.map +1 -0
- package/link-list/common.js +59 -0
- package/link-list/link-list/link-list.d.ts +22 -0
- package/link-list/link-list/link-list.d.ts.map +1 -0
- package/link-list/link-list-anchor/index.d.ts +2 -0
- package/link-list/link-list-anchor/index.d.ts.map +1 -0
- package/link-list/link-list-anchor/link-list-anchor.d.ts +17 -0
- package/link-list/link-list-anchor/link-list-anchor.d.ts.map +1 -0
- package/link-list/link-list-anchor.d.ts +2 -0
- package/link-list/link-list-anchor.d.ts.map +1 -0
- package/link-list/link-list-anchor.js +18 -0
- package/link-list/link-list.d.ts +1 -38
- package/link-list/link-list.d.ts.map +1 -1
- package/link-list/link-list.js +27 -0
- package/link-list.d.ts +2 -0
- package/link-list.d.ts.map +1 -1
- package/link-list.js +3 -66
- package/loading-indicator/loading-indicator.d.ts +0 -1
- package/logo/logo.d.ts +0 -1
- package/logo.js +1 -1
- package/map-container/map-container.d.ts +0 -1
- package/map-container.js +1 -1
- package/menu/common/menu-action-common.d.ts +0 -1
- package/menu/menu/menu.d.ts +1 -1
- package/menu/menu/menu.d.ts.map +1 -1
- package/menu/menu-button/menu-button.d.ts +0 -1
- package/menu/menu-link/menu-link.d.ts +0 -1
- package/menu/menu.js +30 -30
- package/message/message.d.ts +0 -1
- package/navigation/common/navigation-action-common.d.ts +0 -1
- package/navigation/navigation/navigation.d.ts +1 -1
- package/navigation/navigation/navigation.d.ts.map +1 -1
- package/navigation/navigation-button/navigation-button.d.ts +0 -1
- package/navigation/navigation-link/navigation-link.d.ts +0 -1
- package/navigation/navigation-list/navigation-list.d.ts +0 -1
- package/navigation/navigation-marker/navigation-marker.d.ts +0 -1
- package/navigation/navigation-section/navigation-section.d.ts +0 -1
- package/navigation/navigation-section.js +1 -1
- package/navigation/navigation.js +37 -37
- package/notification/notification.d.ts +0 -1
- package/option/optgroup/optgroup-base-element.d.ts +0 -1
- package/option/optgroup/optgroup.d.ts +0 -1
- package/option/option/option-base-element.d.ts +0 -1
- package/option/option/option.d.ts +0 -1
- package/overlay/overlay-base-element.d.ts +2 -2
- package/overlay/overlay-base-element.d.ts.map +1 -1
- package/overlay/overlay.d.ts +0 -1
- package/overlay/overlay.d.ts.map +1 -1
- package/overlay.js +44 -45
- package/package.json +46 -1
- package/popover/popover/popover.d.ts +0 -1
- package/popover/popover/popover.d.ts.map +1 -1
- package/popover/popover-trigger/popover-trigger.d.ts +0 -1
- package/popover/popover-trigger.js +1 -1
- package/popover/popover.js +2 -2
- package/radio-button/common/radio-button-common.d.ts +0 -1
- package/radio-button/common.js +1 -1
- package/radio-button/radio-button/radio-button.d.ts +0 -1
- package/radio-button/radio-button-group/radio-button-group.d.ts +0 -1
- package/radio-button/radio-button-panel/radio-button-panel.d.ts +0 -1
- package/screen-reader-only/screen-reader-only.d.ts +0 -1
- package/select/select.d.ts +0 -1
- package/select.js +1 -1
- package/selection-expansion-panel/selection-expansion-panel.d.ts +0 -1
- package/selection-expansion-panel/selection-expansion-panel.d.ts.map +1 -1
- package/signet/signet.d.ts +0 -1
- package/signet.js +1 -1
- package/skiplink-list/skiplink-list.d.ts +0 -1
- package/slider/slider.d.ts +0 -1
- package/slider.js +1 -1
- package/standard-theme.css +19 -13
- package/status/status.d.ts +0 -1
- package/stepper/step/step.d.ts +0 -1
- package/stepper/step-label/step-label.d.ts +0 -1
- package/stepper/stepper/stepper.d.ts +0 -1
- package/table/table-wrapper/table-wrapper.d.ts +0 -1
- package/tabs/tab/tab.d.ts +0 -1
- package/tabs/tab-group/tab-group.d.ts +0 -1
- package/tabs/tab-label/tab-label.d.ts +0 -1
- package/tabs/tab-label.js +1 -1
- package/tag/tag/tag.d.ts +0 -1
- package/tag/tag-group/tag-group.d.ts +0 -1
- package/tag/tag.js +1 -1
- package/teaser/teaser.d.ts +0 -1
- package/teaser-hero/teaser-hero.d.ts +27 -0
- package/teaser-hero/teaser-hero.d.ts.map +1 -0
- package/teaser-hero.d.ts +2 -0
- package/teaser-hero.d.ts.map +1 -0
- package/teaser-hero.js +58 -0
- package/teaser-product/common/teaser-product-common.d.ts +7 -0
- package/teaser-product/common/teaser-product-common.d.ts.map +1 -0
- package/teaser-product/common.d.ts +2 -0
- package/teaser-product/common.d.ts.map +1 -0
- package/teaser-product/common.js +38 -0
- package/teaser-product/teaser-product/teaser-product.d.ts +22 -0
- package/teaser-product/teaser-product/teaser-product.d.ts.map +1 -0
- package/teaser-product/teaser-product-static/teaser-product-static.d.ts +22 -0
- package/teaser-product/teaser-product-static/teaser-product-static.d.ts.map +1 -0
- package/teaser-product/teaser-product-static.d.ts +2 -0
- package/teaser-product/teaser-product-static.d.ts.map +1 -0
- package/teaser-product/teaser-product-static.js +19 -0
- package/teaser-product/teaser-product.d.ts +2 -0
- package/teaser-product/teaser-product.d.ts.map +1 -0
- package/teaser-product/teaser-product.js +21 -0
- package/teaser-product.d.ts +4 -0
- package/teaser-product.d.ts.map +1 -0
- package/teaser-product.js +3 -0
- package/time-input/time-input.d.ts +0 -1
- package/timetable-occupancy/timetable-occupancy.d.ts +0 -1
- package/timetable-occupancy-icon/timetable-occupancy-icon.d.ts +0 -1
- package/timetable-occupancy.js +1 -1
- package/title/title-base.d.ts +0 -1
- package/title/title.d.ts +0 -1
- package/toast/toast.d.ts +0 -1
- package/toggle/toggle/toggle.d.ts +2 -2
- package/toggle/toggle/toggle.d.ts.map +1 -1
- package/toggle/toggle-option/toggle-option.d.ts +0 -1
- package/toggle/toggle-option/toggle-option.d.ts.map +1 -1
- package/toggle/toggle-option.js +8 -8
- package/toggle/toggle.js +21 -22
- package/toggle-check/toggle-check.d.ts +0 -1
- package/train/train/train.d.ts +0 -1
- package/train/train-blocked-passage/train-blocked-passage.d.ts +0 -1
- package/train/train-blocked-passage.js +1 -1
- package/train/train-formation/train-formation.d.ts +0 -1
- package/train/train-formation.js +1 -1
- package/train/train-wagon/train-wagon.d.ts +0 -1
- package/train/train-wagon.js +1 -1
- package/train/train.js +1 -1
- package/visual-checkbox/visual-checkbox.d.ts +0 -1
- package/visual-checkbox.js +1 -1
package/core/mixins.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { property as o, state as y } from "lit/decorators.js";
|
|
2
|
-
import { defaultConverter as
|
|
2
|
+
import { defaultConverter as p, html as c, nothing as b, css as x } from "lit";
|
|
3
3
|
import { hostAttributes as k } from "./decorators.js";
|
|
4
4
|
import { preventScrollOnSpacebarPress as v, EventEmitter as w } from "./eventing.js";
|
|
5
5
|
import { getLocalName as f } from "./dom.js";
|
|
6
6
|
import "../screen-reader-only.js";
|
|
7
|
-
var S = Object.defineProperty, E = Object.getOwnPropertyDescriptor, P = (
|
|
8
|
-
for (var e = E(s, r),
|
|
9
|
-
(a = n
|
|
7
|
+
var S = Object.defineProperty, E = Object.getOwnPropertyDescriptor, P = (i, s, r, t) => {
|
|
8
|
+
for (var e = E(s, r), n = i.length - 1, a; n >= 0; n--)
|
|
9
|
+
(a = i[n]) && (e = a(s, r, e) || e);
|
|
10
10
|
return e && S(s, r, e), e;
|
|
11
11
|
};
|
|
12
|
-
const C = (
|
|
13
|
-
class s extends
|
|
12
|
+
const C = (i) => {
|
|
13
|
+
class s extends i {
|
|
14
14
|
constructor() {
|
|
15
15
|
super(...arguments), this._disabled = !1;
|
|
16
16
|
}
|
|
@@ -31,21 +31,21 @@ const C = (n) => {
|
|
|
31
31
|
return P([
|
|
32
32
|
o({ reflect: !0, type: Boolean })
|
|
33
33
|
], s.prototype, "disabled"), s;
|
|
34
|
-
}, J = (
|
|
35
|
-
class s extends C(
|
|
34
|
+
}, J = (i) => {
|
|
35
|
+
class s extends C(i) {
|
|
36
36
|
willUpdate(t) {
|
|
37
37
|
super.willUpdate(t), t.has("disabled") && (this.disabled ? (this.setAttribute("aria-disabled", "true"), this.removeAttribute("tabindex")) : (this.removeAttribute("aria-disabled"), this.setAttribute("tabindex", "0")));
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
return s;
|
|
41
41
|
};
|
|
42
|
-
var $ = Object.defineProperty,
|
|
43
|
-
for (var e = t > 1 ? void 0 : t ?
|
|
44
|
-
(a = n
|
|
42
|
+
var $ = Object.defineProperty, O = Object.getOwnPropertyDescriptor, h = (i, s, r, t) => {
|
|
43
|
+
for (var e = t > 1 ? void 0 : t ? O(s, r) : s, n = i.length - 1, a; n >= 0; n--)
|
|
44
|
+
(a = i[n]) && (e = (t ? a(s, r, e) : a(e)) || e);
|
|
45
45
|
return t && e && $(s, r, e), e;
|
|
46
46
|
};
|
|
47
|
-
const
|
|
48
|
-
const r = class r extends
|
|
47
|
+
const R = (i) => {
|
|
48
|
+
const r = class r extends i {
|
|
49
49
|
constructor() {
|
|
50
50
|
super(...arguments), this._value = null, this.internals = this.attachInternals(), this.formDisabled = !1;
|
|
51
51
|
}
|
|
@@ -97,8 +97,8 @@ const A = (n) => {
|
|
|
97
97
|
get willValidate() {
|
|
98
98
|
return this.internals.willValidate;
|
|
99
99
|
}
|
|
100
|
-
attributeChangedCallback(e,
|
|
101
|
-
(e !== "name" ||
|
|
100
|
+
attributeChangedCallback(e, n, a) {
|
|
101
|
+
(e !== "name" || n !== a) && super.attributeChangedCallback(e, n, a);
|
|
102
102
|
}
|
|
103
103
|
/**
|
|
104
104
|
* Returns true if internals target element has no validity problems; false otherwise.
|
|
@@ -137,21 +137,21 @@ const A = (n) => {
|
|
|
137
137
|
};
|
|
138
138
|
r.formAssociated = !0;
|
|
139
139
|
let s = r;
|
|
140
|
-
return
|
|
140
|
+
return h([
|
|
141
141
|
o()
|
|
142
|
-
], s.prototype, "name", 1),
|
|
142
|
+
], s.prototype, "name", 1), h([
|
|
143
143
|
o()
|
|
144
|
-
], s.prototype, "value", 1),
|
|
144
|
+
], s.prototype, "value", 1), h([
|
|
145
145
|
y()
|
|
146
146
|
], s.prototype, "formDisabled", 2), s;
|
|
147
147
|
};
|
|
148
|
-
var
|
|
149
|
-
for (var e =
|
|
150
|
-
(a = n
|
|
151
|
-
return e &&
|
|
148
|
+
var q = Object.defineProperty, L = Object.getOwnPropertyDescriptor, A = (i, s, r, t) => {
|
|
149
|
+
for (var e = L(s, r), n = i.length - 1, a; n >= 0; n--)
|
|
150
|
+
(a = i[n]) && (e = a(s, r, e) || e);
|
|
151
|
+
return e && q(s, r, e), e;
|
|
152
152
|
};
|
|
153
|
-
const D = (
|
|
154
|
-
class s extends
|
|
153
|
+
const D = (i) => {
|
|
154
|
+
class s extends i {
|
|
155
155
|
constructor() {
|
|
156
156
|
super(...arguments), this._required = !1;
|
|
157
157
|
}
|
|
@@ -172,17 +172,17 @@ const D = (n) => {
|
|
|
172
172
|
return !1;
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
|
-
return
|
|
175
|
+
return A([
|
|
176
176
|
o({ reflect: !0, type: Boolean })
|
|
177
177
|
], s.prototype, "required"), s;
|
|
178
178
|
};
|
|
179
|
-
var M = Object.defineProperty, U = Object.getOwnPropertyDescriptor, m = (
|
|
180
|
-
for (var e = t > 1 ? void 0 : t ? U(s, r) : s,
|
|
181
|
-
(a = n
|
|
179
|
+
var M = Object.defineProperty, U = Object.getOwnPropertyDescriptor, m = (i, s, r, t) => {
|
|
180
|
+
for (var e = t > 1 ? void 0 : t ? U(s, r) : s, n = i.length - 1, a; n >= 0; n--)
|
|
181
|
+
(a = i[n]) && (e = (t ? a(s, r, e) : a(e)) || e);
|
|
182
182
|
return t && e && M(s, r, e), e;
|
|
183
183
|
};
|
|
184
|
-
const Q = (
|
|
185
|
-
let s = class extends C(D(
|
|
184
|
+
const Q = (i) => {
|
|
185
|
+
let s = class extends C(D(R(i))) {
|
|
186
186
|
constructor() {
|
|
187
187
|
super(), this._attributeMutationBlocked = !1, this._checked = !1, this._handleKeyboardInteraction = (r) => {
|
|
188
188
|
r.key === " " && this._handleUserInteraction();
|
|
@@ -235,11 +235,11 @@ const Q = (n) => {
|
|
|
235
235
|
o({
|
|
236
236
|
type: Boolean,
|
|
237
237
|
converter: {
|
|
238
|
-
...
|
|
238
|
+
...p,
|
|
239
239
|
// We need to pass information to the setter so that we know it was called by attribute change.
|
|
240
240
|
fromAttribute: (r, t) => {
|
|
241
|
-
var
|
|
242
|
-
return { value: (a = (
|
|
241
|
+
var n, a;
|
|
242
|
+
return { value: (a = (n = p).fromAttribute) == null ? void 0 : a.call(n, r, t), attribute: !0 };
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
})
|
|
@@ -248,23 +248,23 @@ const Q = (n) => {
|
|
|
248
248
|
tabindex: "0"
|
|
249
249
|
})
|
|
250
250
|
], s), s;
|
|
251
|
-
},
|
|
252
|
-
class s extends
|
|
251
|
+
}, N = (i) => {
|
|
252
|
+
class s extends i {
|
|
253
253
|
constructor(...t) {
|
|
254
254
|
var e;
|
|
255
255
|
if (super(...t), this._hydrationComplete = new Promise(
|
|
256
|
-
(
|
|
256
|
+
(n) => this._resolveHydration = n
|
|
257
257
|
), this._hydrationRequired = !!this.shadowRoot, !this._hydrationRequired)
|
|
258
258
|
this._resolveHydration(!1);
|
|
259
259
|
else {
|
|
260
|
-
const
|
|
261
|
-
this._hydrationRequired &&
|
|
262
|
-
}, a = { capture: !0 },
|
|
263
|
-
|
|
264
|
-
(
|
|
260
|
+
const n = (d) => {
|
|
261
|
+
this._hydrationRequired && d.stopImmediatePropagation();
|
|
262
|
+
}, a = { capture: !0 }, l = (e = this.shadowRoot) == null ? void 0 : e.querySelectorAll("slot");
|
|
263
|
+
l != null && l.length && (l.forEach(
|
|
264
|
+
(d) => d.addEventListener("slotchange", n, a)
|
|
265
265
|
), this.hydrationComplete.then(
|
|
266
|
-
() =>
|
|
267
|
-
|
|
266
|
+
() => l.forEach((d) => {
|
|
267
|
+
d.removeEventListener("slotchange", n, a), d.assignedNodes().length && d.dispatchEvent(new Event("slotchange", { bubbles: !0 }));
|
|
268
268
|
})
|
|
269
269
|
));
|
|
270
270
|
}
|
|
@@ -290,20 +290,20 @@ const Q = (n) => {
|
|
|
290
290
|
}
|
|
291
291
|
return s;
|
|
292
292
|
};
|
|
293
|
-
var
|
|
294
|
-
for (var e = void 0,
|
|
295
|
-
(a = n
|
|
296
|
-
return e &&
|
|
293
|
+
var B = Object.defineProperty, V = (i, s, r, t) => {
|
|
294
|
+
for (var e = void 0, n = i.length - 1, a; n >= 0; n--)
|
|
295
|
+
(a = i[n]) && (e = a(s, r, e) || e);
|
|
296
|
+
return e && B(s, r, e), e;
|
|
297
297
|
};
|
|
298
|
-
const _ = "data-ssr-child-count", g = "li", W = (
|
|
299
|
-
class s extends
|
|
298
|
+
const _ = "data-ssr-child-count", g = "li", W = (i) => {
|
|
299
|
+
class s extends N(i) {
|
|
300
300
|
constructor() {
|
|
301
301
|
super(...arguments), this.listChildren = [], this._handleSlotchange = () => {
|
|
302
302
|
const t = Array.from(this.children ?? []).filter(
|
|
303
303
|
(e) => this.listChildLocalNames.includes(e.localName)
|
|
304
304
|
);
|
|
305
|
-
t.length === this.listChildren.length && this.listChildren.every((e,
|
|
306
|
-
(e,
|
|
305
|
+
t.length === this.listChildren.length && this.listChildren.every((e, n) => t[n] === e) || (this.listChildren.filter((e) => !t.includes(e)).forEach((e) => e.removeAttribute("slot")), this.listChildren = t, this.listChildren.forEach(
|
|
306
|
+
(e, n) => e.setAttribute("slot", `${g}-${n}`)
|
|
307
307
|
), this.removeAttribute(_));
|
|
308
308
|
};
|
|
309
309
|
}
|
|
@@ -316,42 +316,54 @@ const _ = "data-ssr-child-count", g = "li", W = (n) => {
|
|
|
316
316
|
super.disconnectedCallback(), (t = this.shadowRoot) == null || t.removeEventListener("slotchange", this._handleSlotchange);
|
|
317
317
|
}
|
|
318
318
|
/**
|
|
319
|
-
* Renders list and list slots for slotted children or
|
|
319
|
+
* Renders list and list slots for slotted children or a number of list slots
|
|
320
320
|
* corresponding to the `data-ssr-child-count` attribute value.
|
|
321
321
|
*
|
|
322
322
|
* This is a possible optimization for SSR, as in an SSR Lit environment
|
|
323
323
|
* other elements are not available, but might be available in the meta
|
|
324
|
-
* framework wrapper (like e.g. React). This allows to provide the
|
|
324
|
+
* framework wrapper (like e.g. React). This allows to provide the number of
|
|
325
325
|
* children to be passed via the `data-ssr-child-count` attribute value.
|
|
326
326
|
*/
|
|
327
|
-
renderList(t = {}) {
|
|
328
|
-
const
|
|
329
|
-
return
|
|
327
|
+
renderList(t = {}, e = {}) {
|
|
328
|
+
const n = this.listSlotEntries(e);
|
|
329
|
+
return n.length >= 2 ? c`
|
|
330
330
|
<ul
|
|
331
331
|
class=${t.class || (this.localName ?? f(this))}
|
|
332
|
-
aria-label=${t.ariaLabel ||
|
|
333
|
-
aria-labelledby=${t.ariaLabelledby ||
|
|
332
|
+
aria-label=${t.ariaLabel || b}
|
|
333
|
+
aria-labelledby=${t.ariaLabelledby || b}
|
|
334
334
|
>
|
|
335
|
-
${
|
|
335
|
+
${n.map(
|
|
336
|
+
(a) => c`
|
|
337
|
+
<li aria-hidden=${a.ariaHidden || b}>
|
|
338
|
+
<slot name=${a.name}></slot>
|
|
339
|
+
</li>
|
|
340
|
+
`
|
|
341
|
+
)}
|
|
336
342
|
</ul>
|
|
337
343
|
${this.renderHiddenSlot()}
|
|
338
|
-
` :
|
|
344
|
+
` : n.length === 1 ? c`<sbb-screen-reader-only>${t.ariaLabel}</sbb-screen-reader-only>
|
|
339
345
|
<span class=${t.class || (this.localName ?? f(this))}>
|
|
340
|
-
<span><slot name=${
|
|
346
|
+
<span><slot name=${n[0].name}></slot></span>
|
|
341
347
|
</span>
|
|
342
348
|
${this.renderHiddenSlot()} ` : this.renderHiddenSlot();
|
|
343
349
|
}
|
|
344
350
|
/**
|
|
345
|
-
* Returns an array of
|
|
346
|
-
* children or the `data-ssr-child-count` attribute value.
|
|
351
|
+
* Returns an array of SbbNamedSlotProperties, which holds the list slot names and the hidden property;
|
|
352
|
+
* its length corresponds to the number of matched children or the `data-ssr-child-count` attribute value.
|
|
347
353
|
*
|
|
348
354
|
* This is a possible optimization for SSR, as in an SSR Lit environment
|
|
349
355
|
* other elements are not available, but might be available in the meta
|
|
350
|
-
* framework wrapper (like e.g. React). This allows to provide the
|
|
356
|
+
* framework wrapper (like e.g. React). This allows to provide the number of
|
|
351
357
|
* children to be passed via the `data-ssr-child-count` attribute value.
|
|
352
358
|
*/
|
|
353
|
-
|
|
354
|
-
return (this.listChildren.length ? this.listChildren : Array.from({ length: +(this.getAttribute(_) ?? 0) })).map((
|
|
359
|
+
listSlotEntries(t) {
|
|
360
|
+
return (this.listChildren.length ? this.listChildren : Array.from({ length: +(this.getAttribute(_) ?? 0) })).map((n, a) => {
|
|
361
|
+
var l;
|
|
362
|
+
return {
|
|
363
|
+
name: `${g}-${a}`,
|
|
364
|
+
ariaHidden: ((l = t == null ? void 0 : t.localNameVisualOnly) == null ? void 0 : l.includes(n.localName)) ?? !1
|
|
365
|
+
};
|
|
366
|
+
});
|
|
355
367
|
}
|
|
356
368
|
/**
|
|
357
369
|
* Returns a hidden slot, which is intended as the children change detection.
|
|
@@ -359,36 +371,36 @@ const _ = "data-ssr-child-count", g = "li", W = (n) => {
|
|
|
359
371
|
* the slotchange event, which can be used to assign it to the appropriate named slot.
|
|
360
372
|
*/
|
|
361
373
|
renderHiddenSlot() {
|
|
362
|
-
return
|
|
374
|
+
return c`<span hidden><slot></slot></span>`;
|
|
363
375
|
}
|
|
364
376
|
}
|
|
365
|
-
return
|
|
377
|
+
return V([
|
|
366
378
|
y()
|
|
367
379
|
], s.prototype, "listChildren"), s;
|
|
368
380
|
};
|
|
369
|
-
var
|
|
370
|
-
for (var e = void 0,
|
|
371
|
-
(a = n
|
|
372
|
-
return e &&
|
|
381
|
+
var j = Object.defineProperty, H = (i, s, r, t) => {
|
|
382
|
+
for (var e = void 0, n = i.length - 1, a; n >= 0; n--)
|
|
383
|
+
(a = i[n]) && (e = a(s, r, e) || e);
|
|
384
|
+
return e && j(s, r, e), e;
|
|
373
385
|
};
|
|
374
|
-
const Y = (
|
|
375
|
-
class s extends
|
|
386
|
+
const Y = (i) => {
|
|
387
|
+
class s extends i {
|
|
376
388
|
constructor() {
|
|
377
389
|
super(...arguments), this.negative = !1;
|
|
378
390
|
}
|
|
379
391
|
}
|
|
380
|
-
return
|
|
392
|
+
return H([
|
|
381
393
|
o({ reflect: !0, type: Boolean })
|
|
382
394
|
], s.prototype, "negative"), s;
|
|
383
395
|
};
|
|
384
|
-
var
|
|
385
|
-
for (var e = void 0,
|
|
386
|
-
(a = n
|
|
387
|
-
return e &&
|
|
396
|
+
var I = Object.defineProperty, u = (i, s, r, t) => {
|
|
397
|
+
for (var e = void 0, n = i.length - 1, a; n >= 0; n--)
|
|
398
|
+
(a = i[n]) && (e = a(s, r, e) || e);
|
|
399
|
+
return e && I(s, r, e), e;
|
|
388
400
|
};
|
|
389
|
-
const Z = (
|
|
401
|
+
const Z = (i) => {
|
|
390
402
|
var t;
|
|
391
|
-
const s = (t = class extends
|
|
403
|
+
const s = (t = class extends i {
|
|
392
404
|
constructor() {
|
|
393
405
|
super(...arguments), this.color = "white", this.borderless = !1, this._panelConnected = new w(
|
|
394
406
|
this,
|
|
@@ -402,15 +414,15 @@ const Z = (n) => {
|
|
|
402
414
|
}, t.events = {
|
|
403
415
|
panelConnected: "panelConnected"
|
|
404
416
|
}, t);
|
|
405
|
-
return
|
|
417
|
+
return u([
|
|
406
418
|
o()
|
|
407
|
-
], s.prototype, "color"),
|
|
419
|
+
], s.prototype, "color"), u([
|
|
408
420
|
o({ reflect: !0, type: Boolean })
|
|
409
|
-
], s.prototype, "borderless"),
|
|
421
|
+
], s.prototype, "borderless"), u([
|
|
410
422
|
o()
|
|
411
423
|
], s.prototype, "expansionState"), s;
|
|
412
|
-
}, ee = (
|
|
413
|
-
class s extends
|
|
424
|
+
}, ee = (i) => {
|
|
425
|
+
class s extends i {
|
|
414
426
|
constructor() {
|
|
415
427
|
super(...arguments), this._updatePromise = Promise.resolve(), this._updateResolve = () => {
|
|
416
428
|
};
|
|
@@ -432,8 +444,8 @@ export {
|
|
|
432
444
|
C as SbbDisabledMixin,
|
|
433
445
|
J as SbbDisabledTabIndexActionMixin,
|
|
434
446
|
Q as SbbFormAssociatedCheckboxMixin,
|
|
435
|
-
|
|
436
|
-
|
|
447
|
+
R as SbbFormAssociatedMixin,
|
|
448
|
+
N as SbbHydrationMixin,
|
|
437
449
|
W as SbbNamedSlotListMixin,
|
|
438
450
|
Y as SbbNegativeMixin,
|
|
439
451
|
Z as SbbPanelMixin,
|
|
@@ -1,21 +1,7 @@
|
|
|
1
1
|
import { TemplateResult } from 'lit';
|
|
2
|
-
|
|
3
2
|
/**
|
|
4
3
|
* Used to create the "wrapping" effect around the anchor for overlays (es. autocomplete)
|
|
5
4
|
* Works in conjunction with the 'overlayGapFixCorners()' function in 'overlay.ts'
|
|
6
5
|
*/
|
|
7
6
|
export declare function overlayGapFixCorners(): TemplateResult;
|
|
8
|
-
/**
|
|
9
|
-
* Applies inert to every other element on the page except the overlay.
|
|
10
|
-
*/
|
|
11
|
-
export declare function applyInertMechanism(overlay: HTMLElement): void;
|
|
12
|
-
export declare function removeInertMechanism(): void;
|
|
13
|
-
declare global {
|
|
14
|
-
interface GlobalEventHandlersEventMap {
|
|
15
|
-
willOpen: CustomEvent<void>;
|
|
16
|
-
willClose: CustomEvent<void>;
|
|
17
|
-
didOpen: CustomEvent<void>;
|
|
18
|
-
didClose: CustomEvent<void>;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
7
|
//# sourceMappingURL=overlay.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/overlay/overlay.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/overlay/overlay.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAG1C;;;GAGG;AACH,wBAAgB,oBAAoB,IAAI,cAAc,CASrD"}
|
package/core/overlay.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { html as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
return E`
|
|
1
|
+
import { html as H } from "lit";
|
|
2
|
+
function O() {
|
|
3
|
+
return H`
|
|
5
4
|
<div class="sbb-gap-fix-wrapper">
|
|
6
5
|
<div class="sbb-gap-fix-corner" id="left"></div>
|
|
7
6
|
</div>
|
|
@@ -10,54 +9,7 @@ function $() {
|
|
|
10
9
|
</div>
|
|
11
10
|
`;
|
|
12
11
|
}
|
|
13
|
-
|
|
14
|
-
let n = t.parentElement;
|
|
15
|
-
const i = [];
|
|
16
|
-
for (; n && (i.push(n), n !== e); )
|
|
17
|
-
n = n.parentElement;
|
|
18
|
-
return i;
|
|
19
|
-
}, w = (t) => {
|
|
20
|
-
t.setAttribute(
|
|
21
|
-
"data-sbb-inert",
|
|
22
|
-
`${+(t.getAttribute("data-sbb-inert") ?? void 0) + 1 || 0}`
|
|
23
|
-
);
|
|
24
|
-
}, W = (t) => {
|
|
25
|
-
t.inert || (t.inert = !0, t.matches(x) ? w(t) : t.toggleAttribute("data-sbb-inert", !0)), t.hasAttribute("aria-hidden") || (t.setAttribute("aria-hidden", "true"), t.toggleAttribute("data-sbb-aria-hidden", !0));
|
|
26
|
-
}, y = (t) => {
|
|
27
|
-
t.hasAttribute("data-sbb-inert") && (t.inert = !1, t.removeAttribute("data-sbb-inert")), t.hasAttribute("data-sbb-aria-hidden") && (t.removeAttribute("aria-hidden"), t.removeAttribute("data-sbb-aria-hidden"));
|
|
28
|
-
};
|
|
29
|
-
function C(t) {
|
|
30
|
-
y(t);
|
|
31
|
-
const e = t.closest("body > *");
|
|
32
|
-
Array.from(document.querySelectorAll("body > *")).filter(
|
|
33
|
-
(o) => o !== e
|
|
34
|
-
).forEach((o) => W(o));
|
|
35
|
-
let i = [];
|
|
36
|
-
const a = O(t, e);
|
|
37
|
-
for (const o of a)
|
|
38
|
-
i = i.concat(
|
|
39
|
-
Array.from(o.children).filter(
|
|
40
|
-
(c) => c !== t && !a.includes(c)
|
|
41
|
-
)
|
|
42
|
-
), o.matches(x) && w(o);
|
|
43
|
-
i.forEach((o) => W(o));
|
|
44
|
-
}
|
|
45
|
-
function z() {
|
|
46
|
-
const t = Array.from(
|
|
47
|
-
document.documentElement.querySelectorAll(x)
|
|
48
|
-
);
|
|
49
|
-
if (t.length) {
|
|
50
|
-
t.forEach((e) => {
|
|
51
|
-
const n = +e.getAttribute("data-sbb-inert") - 1;
|
|
52
|
-
e.setAttribute("data-sbb-inert", `${n}`), n && n < 0 && (y(e), Array.from(e.children).forEach((i) => y(i)));
|
|
53
|
-
});
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
Array.from(document.documentElement.querySelectorAll("[data-sbb-inert]")).forEach(
|
|
57
|
-
(e) => y(e)
|
|
58
|
-
);
|
|
59
|
-
}
|
|
60
|
-
function S(t) {
|
|
12
|
+
function W(t) {
|
|
61
13
|
const e = window.getComputedStyle(t), n = e.display, i = parseInt(e.maxHeight, 10).toString();
|
|
62
14
|
if (n !== "none" && i !== "0")
|
|
63
15
|
return {
|
|
@@ -69,58 +21,56 @@ function S(t) {
|
|
|
69
21
|
offsetWidth: t.offsetWidth
|
|
70
22
|
};
|
|
71
23
|
t.style.position = "absolute", t.style.visibility = "hidden", t.style.display = "block";
|
|
72
|
-
const
|
|
73
|
-
return t.style.display = "", t.style.position = "", t.style.visibility = "", { scrollHeight:
|
|
24
|
+
const l = t.scrollHeight, o = t.clientHeight, r = t.offsetHeight, b = t.scrollWidth, a = t.clientWidth, s = t.offsetWidth;
|
|
25
|
+
return t.style.display = "", t.style.position = "", t.style.visibility = "", { scrollHeight: l, clientHeight: o, offsetHeight: r, scrollWidth: b, clientWidth: a, offsetWidth: s };
|
|
74
26
|
}
|
|
75
|
-
function
|
|
27
|
+
function P(t, e) {
|
|
76
28
|
if (!t || !e)
|
|
77
29
|
return !1;
|
|
78
30
|
const n = t.getBoundingClientRect();
|
|
79
31
|
return n.top <= e.clientY && e.clientY <= n.top + n.height && n.left <= e.clientX && e.clientX <= n.left + n.width;
|
|
80
32
|
}
|
|
81
|
-
function
|
|
82
|
-
const o = (i == null ? void 0 : i.verticalOffset) || 0,
|
|
83
|
-
let
|
|
84
|
-
const
|
|
85
|
-
let
|
|
86
|
-
i != null && i.centered &&
|
|
87
|
-
const
|
|
88
|
-
return
|
|
89
|
-
top:
|
|
90
|
-
left:
|
|
91
|
-
maxHeight:
|
|
92
|
-
alignment:
|
|
33
|
+
function g(t, e, n, i) {
|
|
34
|
+
const o = (i == null ? void 0 : i.verticalOffset) || 0, r = (i == null ? void 0 : i.horizontalOffset) || 0, b = (i == null ? void 0 : i.responsiveHeight) || !1, a = e.getBoundingClientRect(), s = W(t), d = a.left, m = a.top, x = document.documentElement.clientWidth - (d + a.width), u = m - o, p = document.documentElement.clientHeight - (m + a.height + o);
|
|
35
|
+
let c = d, v = m + a.height + o, f = s.offsetWidth - a.width;
|
|
36
|
+
const h = { horizontal: "start", vertical: "below" };
|
|
37
|
+
let y = `${p - o}px`;
|
|
38
|
+
i != null && i.centered && d - 16 + a.width / 2 > s.offsetWidth / 2 && x - 16 > f / 2 && (c -= f /= 2, h.horizontal = "center"), x < f && d > f && (c = c - f, h.horizontal = "end"), r && h.horizontal !== "center" && a.width / 2 < r && (c += r * (h.horizontal === "start" ? -1 : 1)), (d < f && x < f || document.documentElement.clientWidth < s.offsetWidth) && (c = document.documentElement.clientWidth / 2 - s.offsetWidth / 2), (p - o < s.scrollHeight && u - o > (b ? s.clientHeight : s.scrollHeight) || u > p && p - o < s.clientHeight && !b) && (v = u < s.scrollHeight ? v - a.height - u - o : m - s.clientHeight - o, y = `${u - o}px`, h.vertical = "above");
|
|
39
|
+
const A = n.getBoundingClientRect();
|
|
40
|
+
return A.left < 0 && (c -= A.left), A.top < 0 && (v -= A.top), {
|
|
41
|
+
top: v,
|
|
42
|
+
left: c,
|
|
43
|
+
maxHeight: y,
|
|
44
|
+
alignment: h
|
|
93
45
|
};
|
|
94
46
|
}
|
|
95
|
-
function
|
|
47
|
+
function R(t, e, n, i, l) {
|
|
96
48
|
if (!t || !e)
|
|
97
49
|
return;
|
|
98
|
-
|
|
99
|
-
const o =
|
|
100
|
-
|
|
50
|
+
l.style.setProperty("--sbb-options-panel-width", `${e.offsetWidth}px`), l.style.setProperty("--sbb-options-panel-origin-height", `${e.offsetHeight}px`);
|
|
51
|
+
const o = g(n, e, i);
|
|
52
|
+
l.style.setProperty("--sbb-options-panel-position-x", `${o.left}px`), l.style.setProperty("--sbb-options-panel-position-y", `${o.top}px`), l.style.setProperty("--sbb-options-panel-max-height", o.maxHeight), l.setAttribute("data-options-panel-position", o.alignment.vertical), e.setAttribute("data-options-panel-position", o.alignment.vertical);
|
|
101
53
|
}
|
|
102
|
-
function
|
|
54
|
+
function $(t, e, n, i) {
|
|
103
55
|
t && (t.setAttribute("aria-haspopup", e), t.setAttribute("aria-controls", n), t.setAttribute("aria-expanded", `${i === "opening" || i === "opened"}`));
|
|
104
56
|
}
|
|
105
|
-
function
|
|
57
|
+
function z(t) {
|
|
106
58
|
t && (t.removeAttribute("aria-haspopup"), t.removeAttribute("aria-controls"), t.removeAttribute("aria-expanded"));
|
|
107
59
|
}
|
|
108
|
-
function
|
|
60
|
+
function C(t, e, n, i = "listbox") {
|
|
109
61
|
t && (t.setAttribute("autocomplete", "off"), t.setAttribute("role", "combobox"), t.setAttribute("aria-autocomplete", "list"), t.setAttribute("aria-haspopup", i), t.setAttribute("aria-controls", e), t.setAttribute("aria-owns", e), t.setAttribute("aria-expanded", `${n}`));
|
|
110
62
|
}
|
|
111
|
-
function
|
|
63
|
+
function B(t) {
|
|
112
64
|
t && (t.removeAttribute("autocomplete"), t.removeAttribute("role"), t.removeAttribute("aria-autocomplete"), t.removeAttribute("aria-haspopup"), t.removeAttribute("aria-controls"), t.removeAttribute("aria-owns"), t.removeAttribute("aria-expanded"));
|
|
113
65
|
}
|
|
114
66
|
export {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
Y as setAriaOverlayTriggerAttributes,
|
|
125
|
-
I as setOverlayPosition
|
|
67
|
+
g as getElementPosition,
|
|
68
|
+
W as getElementRectangle,
|
|
69
|
+
P as isEventOnElement,
|
|
70
|
+
O as overlayGapFixCorners,
|
|
71
|
+
B as removeAriaComboBoxAttributes,
|
|
72
|
+
z as removeAriaOverlayTriggerAttributes,
|
|
73
|
+
C as setAriaComboBoxAttributes,
|
|
74
|
+
$ as setAriaOverlayTriggerAttributes,
|
|
75
|
+
R as setOverlayPosition
|
|
126
76
|
};
|
package/core/styles/core.scss
CHANGED
|
@@ -15,31 +15,33 @@
|
|
|
15
15
|
// Grab css vars defined by `@sbb-esta/lyne-design-tokens` package
|
|
16
16
|
@include sbb-css-tokens.lyne-design-tokens-css-variables;
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
& {
|
|
19
|
+
// Train formation
|
|
20
|
+
--sbb-train-formation-wagon-width: #{functions.px-to-rem-build(80)};
|
|
21
|
+
--sbb-train-formation-wagon-height: #{functions.px-to-rem-build(40)};
|
|
22
|
+
--sbb-train-formation-wagon-border-radius: #{functions.px-to-rem-build(12)};
|
|
23
|
+
--sbb-train-formation-wagon-gap: var(--sbb-spacing-fixed-1x);
|
|
23
24
|
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
// Header
|
|
26
|
+
--sbb-header-height: var(--sbb-spacing-fixed-14x);
|
|
26
27
|
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
// Time Input
|
|
29
|
+
--sbb-time-input-max-width: #{functions.px-to-rem-build(58)};
|
|
29
30
|
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
// Overlay
|
|
32
|
+
--sbb-overlay-default-z-index: 1000;
|
|
32
33
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
// Infinity border radius, can be used to achieve rounded border on start and end
|
|
35
|
+
// TODO: Check if infinity is supported by all browsers (e.g. Firefox) -> calc(1em * infinity);
|
|
36
|
+
--sbb-border-radius-infinity: 10000000em;
|
|
36
37
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
@include mediaqueries.mq($from: medium) {
|
|
39
|
+
// Header
|
|
40
|
+
--sbb-header-height: var(--sbb-spacing-fixed-24x);
|
|
40
41
|
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
// Time Input
|
|
43
|
+
--sbb-time-input-max-width: #{functions.px-to-rem-build(65)};
|
|
44
|
+
}
|
|
43
45
|
}
|
|
44
46
|
}
|
|
45
47
|
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
@mixin link-hover-rules {
|
|
58
58
|
@include mediaqueries.hover-mq($hover: true) {
|
|
59
59
|
color: var(--sbb-link-color-hover);
|
|
60
|
-
text-decoration: underline;
|
|
60
|
+
text-decoration: var(--sbb-link-hover-text-decoration, underline);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -78,13 +78,16 @@
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
@mixin link-consolidation {
|
|
81
|
-
@include link-base;
|
|
82
81
|
@include typo.text-inherit;
|
|
83
|
-
@include link-
|
|
84
|
-
@include link-hover;
|
|
82
|
+
@include link-base;
|
|
85
83
|
|
|
86
|
-
|
|
87
|
-
|
|
84
|
+
& {
|
|
85
|
+
@include link-focus-visible;
|
|
86
|
+
@include link-hover;
|
|
87
|
+
|
|
88
|
+
// Active definitions have to be after :hover definitions
|
|
89
|
+
@include link-active;
|
|
90
|
+
}
|
|
88
91
|
}
|
|
89
92
|
|
|
90
93
|
@mixin link {
|
|
@@ -93,6 +93,11 @@
|
|
|
93
93
|
);
|
|
94
94
|
--sbb-step-list-vertical-gap: var(--sbb-spacing-fixed-1x);
|
|
95
95
|
|
|
96
|
+
list-style: none;
|
|
97
|
+
margin: 0;
|
|
98
|
+
padding: 0;
|
|
99
|
+
counter-reset: steps;
|
|
100
|
+
|
|
96
101
|
&:where(.sbb-text-s) {
|
|
97
102
|
--sbb-step-list-padding-block: var(--sbb-spacing-fixed-4x);
|
|
98
103
|
}
|
|
@@ -107,11 +112,6 @@
|
|
|
107
112
|
}
|
|
108
113
|
}
|
|
109
114
|
|
|
110
|
-
list-style: none;
|
|
111
|
-
margin: 0;
|
|
112
|
-
padding: 0;
|
|
113
|
-
counter-reset: steps;
|
|
114
|
-
|
|
115
115
|
/* stylelint-disable-next-line no-descending-specificity */
|
|
116
116
|
> li {
|
|
117
117
|
position: relative;
|