@sbb-esta/lyne-elements 1.6.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 +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 +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/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-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 +2893 -691
- 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 +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 +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 +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 +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-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 +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 +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 +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-button/menu-button.d.ts +0 -1
- package/development/menu/menu-link/menu-link.d.ts +0 -1
- package/development/menu/menu.js +8 -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-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 +13 -11
- 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 +0 -1
- package/development/overlay/overlay.d.ts +0 -1
- package/development/overlay/overlay.d.ts.map +1 -1
- package/development/overlay.js +9 -5
- 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 +1 -1
- 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 +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 +0 -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 +1 -1
- 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-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 +1 -1
- 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 +0 -1
- package/overlay/overlay.d.ts +0 -1
- package/overlay/overlay.d.ts.map +1 -1
- package/overlay.js +2 -2
- 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/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,
|
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 {
|
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);
|