@sbb-esta/lyne-elements 1.5.0 → 1.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/accordion/accordion.d.ts +0 -1
- package/action-group/action-group.d.ts +0 -1
- package/alert/alert/alert.d.ts +22 -17
- package/alert/alert/alert.d.ts.map +1 -1
- package/alert/alert-group/alert-group.d.ts +1 -2
- package/alert/alert-group/alert-group.d.ts.map +1 -1
- package/alert/alert-group.js +31 -26
- package/alert/alert.js +45 -37
- 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 +0 -1
- package/calendar.js +1 -1
- 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/clock.js +14 -14
- 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 +0 -1
- package/core/config/config.d.ts +0 -1
- package/core/controllers/connected-abort-controller.d.ts +0 -1
- package/core/controllers/language-controller.d.ts +0 -1
- package/core/controllers/slot-state-controller.d.ts +0 -1
- 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 -1
- 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-event.d.ts +2 -0
- package/core/testing/wait-for-event.d.ts.map +1 -0
- package/core/testing/wait-for-image-ready.d.ts +0 -1
- package/core/testing/wait-for-render.d.ts +0 -1
- package/core/testing.d.ts +1 -0
- package/core/testing.d.ts.map +1 -1
- package/core/testing.js +49 -36
- package/core.css +10 -8
- package/custom-elements.json +3104 -742
- 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 +0 -1
- package/datepicker/datepicker-toggle/datepicker-toggle.d.ts.map +1 -1
- 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 +22 -17
- package/development/alert/alert/alert.d.ts.map +1 -1
- package/development/alert/alert-group/alert-group.d.ts +1 -2
- package/development/alert/alert-group/alert-group.d.ts.map +1 -1
- package/development/alert/alert-group.js +16 -11
- package/development/alert/alert.js +66 -25
- 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 +0 -1
- package/development/calendar.js +3 -3
- 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 +3 -2
- package/development/container/container/container.d.ts +1 -1
- package/development/container/container/container.d.ts.map +1 -1
- package/development/container/container.js +39 -3
- 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 +0 -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/language-controller.d.ts +0 -1
- package/development/core/controllers/slot-state-controller.d.ts +0 -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 -1
- package/development/core/testing/mocha-extensions.d.ts +0 -1
- package/development/core/testing/wait-for-event.d.ts +2 -0
- package/development/core/testing/wait-for-event.d.ts.map +1 -0
- 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/core/testing.d.ts +1 -0
- package/development/core/testing.d.ts.map +1 -1
- package/development/core/testing.js +17 -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 +0 -1
- package/development/datepicker/datepicker-toggle/datepicker-toggle.d.ts.map +1 -1
- package/development/datepicker/datepicker-toggle.js +4 -2
- 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 +7 -3
- 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-summary/flip-card-summary.d.ts +0 -1
- package/development/flip-card/flip-card-summary.js +3 -1
- package/development/flip-card/flip-card.js +93 -24
- 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 +72 -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 +9 -2
- package/development/icon/icon.d.ts.map +1 -1
- package/development/icon.js +16 -2
- 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 +1 -1
- 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 +0 -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 +9 -6
- 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 +0 -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 +14 -11
- package/development/notification/notification.d.ts +4 -5
- package/development/notification.js +1 -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 +0 -1
- 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 +43 -21
- 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 +5 -3
- 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 +0 -1
- package/development/toggle/toggle-option/toggle-option.d.ts +0 -1
- package/development/toggle/toggle.js +2 -2
- 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 +3 -3
- 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-summary/flip-card-summary.d.ts +0 -1
- package/flip-card/flip-card-summary.js +8 -8
- package/flip-card/flip-card.js +63 -32
- 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 +9 -2
- package/icon/icon.d.ts.map +1 -1
- package/icon.js +71 -62
- 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 +0 -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 +4 -4
- package/message/message.d.ts +0 -1
- package/navigation/common/navigation-action-common.d.ts +0 -1
- package/navigation/navigation/navigation.d.ts +0 -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 +5 -5
- package/notification/notification.d.ts +4 -5
- 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 +0 -1
- 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 +33 -33
- 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 +1 -1
- 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 +0 -1
- package/toggle/toggle-option/toggle-option.d.ts +0 -1
- package/toggle/toggle.js +1 -1
- 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/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;
|
|
@@ -88,23 +88,26 @@
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
@mixin pearl-chain-bullet-skipped-stop {
|
|
91
|
-
@include pearl-chain-bullet-skipped;
|
|
92
|
-
@include pearl-chain-bullet-stop;
|
|
93
|
-
|
|
94
91
|
--sbb-pearl-chain-bullet-crossed-width: #{functions.px-to-rem-build(11.31)};
|
|
95
92
|
--sbb-pearl-chain-bullet-crossed-height: #{functions.px-to-rem-build(3)};
|
|
96
|
-
}
|
|
97
93
|
|
|
98
|
-
@mixin pearl-chain-bullet-irrelevant-stop {
|
|
99
94
|
@include pearl-chain-bullet-stop;
|
|
95
|
+
@include pearl-chain-bullet-skipped;
|
|
96
|
+
}
|
|
100
97
|
|
|
98
|
+
@mixin pearl-chain-bullet-irrelevant-stop {
|
|
101
99
|
--sbb-pearl-chain-bullet-border-width: var(--sbb-border-width-1x);
|
|
100
|
+
|
|
101
|
+
@include pearl-chain-bullet-stop;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
@mixin pearl-chain-bullet-position {
|
|
105
|
-
@include pearl-chain-bullet;
|
|
106
105
|
@include pearl-chain-bullet-start-end;
|
|
107
|
-
@include pearl-chain-bullet
|
|
106
|
+
@include pearl-chain-bullet;
|
|
107
|
+
|
|
108
|
+
& {
|
|
109
|
+
@include pearl-chain-bullet-disruption;
|
|
110
|
+
}
|
|
108
111
|
|
|
109
112
|
@keyframes pearl-chain-bullet-position-pulse {
|
|
110
113
|
0% {
|
|
@@ -124,6 +127,8 @@
|
|
|
124
127
|
}
|
|
125
128
|
}
|
|
126
129
|
|
|
127
|
-
|
|
128
|
-
var(--sbb-pearl-chain-bullet-animation-
|
|
130
|
+
& {
|
|
131
|
+
animation: pearl-chain-bullet-position-pulse var(--sbb-pearl-chain-bullet-animation-duration)
|
|
132
|
+
var(--sbb-pearl-chain-bullet-animation-easing) infinite;
|
|
133
|
+
}
|
|
129
134
|
}
|
|
@@ -7,25 +7,27 @@
|
|
|
7
7
|
* Therefore, we have to build the grid avoiding double borders.
|
|
8
8
|
*/
|
|
9
9
|
@mixin table {
|
|
10
|
-
@include table--striped;
|
|
11
10
|
@include table--m;
|
|
11
|
+
@include table--striped;
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
13
|
+
& {
|
|
14
|
+
--sbb-table-border: var(--sbb-border-width-1x) solid var(--sbb-table-border-color);
|
|
15
|
+
--sbb-table-border-color: var(--sbb-color-cloud);
|
|
16
|
+
--sbb-table-border-radius: var(--sbb-border-radius-4x);
|
|
17
|
+
--sbb-table-background-color: var(--sbb-color-white);
|
|
18
|
+
--sbb-table-row-striped-color: var(--sbb-color-milk);
|
|
19
|
+
--sbb-table-color: inherit;
|
|
20
|
+
--sbb-table-caption-color: var(--sbb-color-granite);
|
|
21
|
+
--sbb-table-caption-margin-block-start: var(--sbb-spacing-fixed-4x);
|
|
22
|
+
|
|
23
|
+
background-color: var(--sbb-table-background-color);
|
|
24
|
+
border: var(--sbb-table-border);
|
|
25
|
+
border-radius: var(--sbb-table-border-radius);
|
|
26
|
+
border-spacing: 0;
|
|
27
|
+
caption-side: bottom;
|
|
28
|
+
color: var(--sbb-table-color);
|
|
29
|
+
table-layout: auto;
|
|
30
|
+
}
|
|
29
31
|
|
|
30
32
|
thead {
|
|
31
33
|
& > tr > th {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wait-for-event.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/testing/wait-for-event.ts"],"names":[],"mappings":"AAAA,wBAAgB,YAAY,CAC1B,OAAO,EAAE,WAAW,EACpB,SAAS,EAAE,MAAM,EACjB,OAAO,SAAO,GACb,OAAO,CAAC,IAAI,CAAC,CAcf"}
|
package/core/testing.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './testing/event-spy.js';
|
|
|
2
2
|
export * from './testing/mocha-extensions.js';
|
|
3
3
|
export * from './testing/scroll.js';
|
|
4
4
|
export * from './testing/wait-for-condition.js';
|
|
5
|
+
export * from './testing/wait-for-event.js';
|
|
5
6
|
export * from './testing/wait-for-image-ready.js';
|
|
6
7
|
export * from './testing/wait-for-render.js';
|
|
7
8
|
//# sourceMappingURL=testing.d.ts.map
|
package/core/testing.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../src/elements/core/testing.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,cAAc,8BAA8B,CAAC"}
|
|
1
|
+
{"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../src/elements/core/testing.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,iCAAiC,CAAC;AAChD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAClD,cAAc,8BAA8B,CAAC"}
|
package/core/testing.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
class u {
|
|
2
|
-
constructor(
|
|
3
|
-
this._event =
|
|
2
|
+
constructor(e, n = null) {
|
|
3
|
+
this._event = e, this._target = n, this._count = 0, this._events = [], this._target || (this._target = document), this._listenForEvent();
|
|
4
4
|
}
|
|
5
5
|
get count() {
|
|
6
6
|
return this._count;
|
|
@@ -15,54 +15,66 @@ class u {
|
|
|
15
15
|
return this.events.length ? this.events[this.events.length - 1] : null;
|
|
16
16
|
}
|
|
17
17
|
_listenForEvent() {
|
|
18
|
-
var
|
|
19
|
-
(
|
|
18
|
+
var e;
|
|
19
|
+
(e = this._target) == null || e.addEventListener(this._event, (n) => {
|
|
20
20
|
this._events.push(n), this._count++;
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
const m = (
|
|
25
|
-
if (
|
|
26
|
-
return Mocha.describe(
|
|
27
|
-
}, h = (
|
|
28
|
-
if (
|
|
29
|
-
return Mocha.test(
|
|
24
|
+
const m = (t, e, n) => {
|
|
25
|
+
if (t)
|
|
26
|
+
return Mocha.describe(e, n);
|
|
27
|
+
}, h = (t, e, n) => {
|
|
28
|
+
if (t)
|
|
29
|
+
return Mocha.test(e, n);
|
|
30
30
|
};
|
|
31
|
-
function d(
|
|
32
|
-
window.scrollTo(
|
|
31
|
+
function d(t) {
|
|
32
|
+
window.scrollTo(t), document.dispatchEvent(new Event("scroll"));
|
|
33
33
|
}
|
|
34
|
-
async function v(
|
|
34
|
+
async function v(t, e = 30, n = 2 * 1e3) {
|
|
35
35
|
const r = /* @__PURE__ */ new Date();
|
|
36
|
-
let
|
|
37
|
-
function
|
|
38
|
-
return
|
|
36
|
+
let o = 0;
|
|
37
|
+
function i() {
|
|
38
|
+
return o++, t();
|
|
39
39
|
}
|
|
40
|
-
for (; !await
|
|
41
|
-
await new Promise((s) => setTimeout(s,
|
|
40
|
+
for (; !await i() && r.getTime() + n >= (/* @__PURE__ */ new Date()).getTime(); )
|
|
41
|
+
await new Promise((s) => setTimeout(s, e));
|
|
42
42
|
return r.getTime() + n < (/* @__PURE__ */ new Date()).getTime() ? Promise.reject(
|
|
43
|
-
`waitForCondition timeout: ${
|
|
43
|
+
`waitForCondition timeout: ${t.toString()}, attempts: ${o}, start: ${r.getTime()}, end: ${(/* @__PURE__ */ new Date()).getTime()}`
|
|
44
44
|
) : Promise.resolve(!0);
|
|
45
45
|
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
const i =
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
46
|
+
function g(t, e, n = 1e3) {
|
|
47
|
+
return new Promise((r, o) => {
|
|
48
|
+
const i = AbortSignal.timeout(n), s = () => o(`Timeout of ${n} reached`);
|
|
49
|
+
i.addEventListener("abort", s), t.addEventListener(
|
|
50
|
+
e,
|
|
51
|
+
() => {
|
|
52
|
+
i.removeEventListener("abort", s), r();
|
|
53
|
+
},
|
|
54
|
+
{ passive: !0, signal: i }
|
|
55
|
+
);
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
async function w(t, e = 2 * 1e3) {
|
|
59
|
+
t.complete || await new Promise((n, r) => {
|
|
60
|
+
const o = setTimeout(() => r("image loading timeout"), e);
|
|
61
|
+
t.addEventListener("load", () => {
|
|
62
|
+
clearTimeout(o), n();
|
|
63
|
+
}), t.addEventListener("error", () => {
|
|
64
|
+
clearTimeout(o), r("image error");
|
|
53
65
|
});
|
|
54
66
|
});
|
|
55
67
|
}
|
|
56
|
-
const a = (
|
|
57
|
-
var r,
|
|
58
|
-
const
|
|
59
|
-
(
|
|
60
|
-
const n = [
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
l(
|
|
68
|
+
const a = (t) => !!t.updateComplete, c = Promise.resolve(), l = async (t) => {
|
|
69
|
+
var r, o;
|
|
70
|
+
const e = await t;
|
|
71
|
+
(o = (r = e.parentElement ?? e).querySelectorAll) == null || o.call(r, "[defer-hydration]").forEach((i) => i.removeAttribute("defer-hydration"));
|
|
72
|
+
const n = [e, ...e.querySelectorAll("*")].filter(a).map((i) => [
|
|
73
|
+
i.updateComplete,
|
|
74
|
+
i.hydrationComplete ?? c,
|
|
75
|
+
l(i.renderRoot)
|
|
64
76
|
]).flat(1 / 0);
|
|
65
|
-
return await Promise.all(n),
|
|
77
|
+
return await Promise.all(n), e;
|
|
66
78
|
};
|
|
67
79
|
export {
|
|
68
80
|
u as EventSpy,
|
|
@@ -71,6 +83,7 @@ export {
|
|
|
71
83
|
d as mockScrollTo,
|
|
72
84
|
h as testIf,
|
|
73
85
|
v as waitForCondition,
|
|
74
|
-
g as
|
|
86
|
+
g as waitForEvent,
|
|
87
|
+
w as waitForImageReady,
|
|
75
88
|
l as waitForLitRender
|
|
76
89
|
};
|
package/core.css
CHANGED
|
@@ -1006,14 +1006,6 @@
|
|
|
1006
1006
|
/**
|
|
1007
1007
|
* Ultra (value corresponds to --sbb-breakpoint-ultra-min)
|
|
1008
1008
|
*/
|
|
1009
|
-
--sbb-train-formation-wagon-width: 5rem;
|
|
1010
|
-
--sbb-train-formation-wagon-height: 2.5rem;
|
|
1011
|
-
--sbb-train-formation-wagon-border-radius: 0.75rem;
|
|
1012
|
-
--sbb-train-formation-wagon-gap: var(--sbb-spacing-fixed-1x);
|
|
1013
|
-
--sbb-header-height: var(--sbb-spacing-fixed-14x);
|
|
1014
|
-
--sbb-time-input-max-width: 3.625rem;
|
|
1015
|
-
--sbb-overlay-default-z-index: 1000;
|
|
1016
|
-
--sbb-border-radius-infinity: 10000000em;
|
|
1017
1009
|
}
|
|
1018
1010
|
@media (forced-colors: active) {
|
|
1019
1011
|
:root {
|
|
@@ -1118,6 +1110,16 @@
|
|
|
1118
1110
|
--sbb-grid-base-gutter-responsive: var(--sbb-layout-base-grid-gutter-responsive-ultra);
|
|
1119
1111
|
}
|
|
1120
1112
|
}
|
|
1113
|
+
:root {
|
|
1114
|
+
--sbb-train-formation-wagon-width: 5rem;
|
|
1115
|
+
--sbb-train-formation-wagon-height: 2.5rem;
|
|
1116
|
+
--sbb-train-formation-wagon-border-radius: 0.75rem;
|
|
1117
|
+
--sbb-train-formation-wagon-gap: var(--sbb-spacing-fixed-1x);
|
|
1118
|
+
--sbb-header-height: var(--sbb-spacing-fixed-14x);
|
|
1119
|
+
--sbb-time-input-max-width: 3.625rem;
|
|
1120
|
+
--sbb-overlay-default-z-index: 1000;
|
|
1121
|
+
--sbb-border-radius-infinity: 10000000em;
|
|
1122
|
+
}
|
|
1121
1123
|
@media (min-width: calc(52.5rem)) {
|
|
1122
1124
|
:root {
|
|
1123
1125
|
--sbb-header-height: var(--sbb-spacing-fixed-24x);
|