@sbb-esta/lyne-elements 2.11.0 → 2.11.2
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.component.js +19 -22
- package/action-group/action-group.component.js +3 -5
- package/alert/alert/alert.component.js +1 -2
- package/alert/alert-group/alert-group.component.js +2 -3
- package/autocomplete/autocomplete-base-element.js +71 -82
- package/autocomplete/autocomplete.component.js +31 -36
- package/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +44 -52
- package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +3 -4
- package/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.js +17 -20
- package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +23 -26
- package/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js +9 -9
- package/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +29 -33
- package/button/mini-button/mini-button.component.js +1 -1
- package/button/mini-button-group/mini-button-group.component.js +1 -2
- package/calendar/calendar.component.js +8 -13
- package/card/card/card.component.js +12 -12
- package/card/card-badge/card-badge.component.js +16 -16
- package/card/common/card-action-common.js +23 -25
- package/checkbox/checkbox/checkbox.component.js +17 -20
- package/checkbox/checkbox-group/checkbox-group.component.js +39 -52
- package/checkbox/checkbox-panel/checkbox-panel.component.js +22 -25
- package/checkbox/common/checkbox-common.js +13 -15
- package/chip/chip-group/chip-group.component.js +59 -70
- package/clock/clock.component.js +50 -60
- package/container/container/container.component.js +28 -29
- package/container/sticky-bar/sticky-bar.component.js +26 -27
- package/core/a11y/focus-trap-controller.js +11 -14
- package/core/a11y/focus.js +27 -29
- package/core/a11y/input-modality-detector.js +18 -19
- package/core/a11y/interactivity-checker.js +10 -10
- package/core/base-elements/button-base-element.js +13 -18
- package/core/base-elements/link-base-element.js +3 -6
- package/core/base-elements/open-close-base-element.js +1 -1
- package/core/controllers/connected-abort-controller.js +2 -4
- package/core/controllers/escapable-overlay-controller.js +10 -12
- package/core/controllers/id-reference-controller.js +13 -14
- package/core/controllers/inert-controller.js +8 -10
- package/core/controllers/slot-state-controller.js +16 -26
- package/core/datetime/date-adapter.d.ts.map +1 -1
- package/core/datetime/date-adapter.js +21 -21
- package/core/datetime/native-date-adapter.js +11 -11
- package/core/decorators/date-converter.js +10 -12
- package/core/decorators/date-only-type.js +5 -6
- package/core/decorators/force-type.js +4 -5
- package/core/dom/breakpoint.js +8 -8
- package/core/dom/input-element.js +4 -9
- package/core/eventing/event-emitter.js +4 -5
- package/core/mixins/form-associated-checkbox-mixin.js +32 -37
- package/core/mixins/form-associated-input-mixin.js +58 -64
- package/core/mixins/form-associated-mixin.js +42 -44
- package/core/mixins/form-associated-radio-button-mixin.js +3 -5
- package/core/mixins/hydration-mixin.js +12 -13
- package/core/mixins/named-slot-list-mixin.js +32 -37
- package/core/mixins/panel-mixin.js +26 -27
- package/core/mixins.js +1 -1
- package/core/overlay/position.js +23 -23
- package/core/styles/core/mediaqueries.scss +1 -1
- package/core/styles/core.scss +27 -28
- package/core/styles/mixins/table.scss +1 -24
- package/core/styles/mixins/typo.scss +0 -1
- package/core/testing/event-spy.js +2 -4
- package/core/testing/wait-for-image-ready.js +8 -9
- package/core/testing/wait-for-render.js +8 -9
- package/custom-elements.json +2 -2
- package/date-input/date-input.component.js +2 -4
- package/datepicker/common/datepicker-association-controllers.js +21 -24
- package/datepicker/common/datepicker-button.js +53 -57
- package/datepicker/datepicker/datepicker.component.js +82 -95
- package/datepicker/datepicker-next-day/datepicker-next-day.component.js +1 -1
- package/datepicker/datepicker-previous-day/datepicker-previous-day.component.js +1 -1
- package/datepicker/datepicker-toggle/datepicker-toggle.component.js +74 -81
- package/development/accordion/accordion.component.js +4 -7
- package/development/action-group/action-group.component.js +3 -5
- package/development/alert/alert/alert.component.js +2 -3
- package/development/alert/alert-group/alert-group.component.js +2 -3
- package/development/autocomplete/autocomplete-base-element.js +19 -30
- package/development/autocomplete/autocomplete.component.js +7 -12
- package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.component.js +10 -18
- package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +3 -4
- package/development/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.js +1 -1
- package/development/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.component.js +4 -7
- package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +4 -7
- package/development/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js +2 -2
- package/development/breadcrumb/breadcrumb/breadcrumb.component.js +1 -1
- package/development/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +5 -9
- package/development/button/accent-button/accent-button.component.js +1 -1
- package/development/button/accent-button-link/accent-button-link.component.js +1 -1
- package/development/button/accent-button-static/accent-button-static.component.js +1 -1
- package/development/button/button/button.component.js +1 -1
- package/development/button/button-link/button-link.component.js +1 -1
- package/development/button/button-static/button-static.component.js +1 -1
- package/development/button/common/button-common.js +1 -1
- package/development/button/mini-button/mini-button.component.js +1 -1
- package/development/button/mini-button-group/mini-button-group.component.js +2 -3
- package/development/button/secondary-button/secondary-button.component.js +1 -1
- package/development/button/secondary-button-link/secondary-button-link.component.js +1 -1
- package/development/button/secondary-button-static/secondary-button-static.component.js +1 -1
- package/development/button/transparent-button/transparent-button.component.js +1 -1
- package/development/button/transparent-button-link/transparent-button-link.component.js +1 -1
- package/development/button/transparent-button-static/transparent-button-static.component.js +1 -1
- package/development/calendar/calendar.component.js +9 -14
- package/development/card/card/card.component.js +1 -1
- package/development/card/card-badge/card-badge.component.js +1 -1
- package/development/card/card-button/card-button.component.js +1 -1
- package/development/card/card-link/card-link.component.js +1 -1
- package/development/card/common/card-action-common.js +3 -5
- package/development/checkbox/checkbox/checkbox.component.js +2 -5
- package/development/checkbox/checkbox-group/checkbox-group.component.js +8 -21
- package/development/checkbox/checkbox-panel/checkbox-panel.component.js +2 -5
- package/development/checkbox/common/checkbox-common.js +3 -5
- package/development/chip/chip/chip.component.js +1 -1
- package/development/chip/chip-group/chip-group.component.js +15 -26
- package/development/chip-label/chip-label.component.js +1 -1
- package/development/clock/clock.component.js +23 -33
- package/development/container/container/container.component.js +2 -3
- package/development/container/sticky-bar/sticky-bar.component.js +2 -3
- package/development/core/a11y/arrow-navigation.js +1 -1
- package/development/core/a11y/fake-event-detection.js +1 -1
- package/development/core/a11y/focus-trap-controller.js +6 -9
- package/development/core/a11y/focus-visible-within-controller.js +1 -1
- package/development/core/a11y/focus.js +8 -10
- package/development/core/a11y/input-modality-detector.js +2 -3
- package/development/core/a11y/interactivity-checker.js +2 -2
- package/development/core/base-elements/action-base-element.js +2 -3
- package/development/core/base-elements/button-base-element.js +6 -11
- package/development/core/base-elements/link-base-element.js +4 -7
- package/development/core/base-elements/open-close-base-element.js +2 -2
- package/development/core/config/config.js +1 -1
- package/development/core/controllers/connected-abort-controller.js +3 -5
- package/development/core/controllers/escapable-overlay-controller.js +3 -5
- package/development/core/controllers/id-reference-controller.js +2 -3
- package/development/core/controllers/inert-controller.js +4 -6
- package/development/core/controllers/language-controller.js +1 -1
- package/development/core/controllers/media-matchers-controller.js +1 -1
- package/development/core/controllers/slot-state-controller.js +8 -18
- package/development/core/datetime/date-adapter.d.ts.map +1 -1
- package/development/core/datetime/date-adapter.js +5 -5
- package/development/core/datetime/native-date-adapter.js +2 -2
- package/development/core/decorators/date-converter.js +3 -5
- package/development/core/decorators/date-only-type.js +2 -3
- package/development/core/decorators/force-type.js +3 -4
- package/development/core/decorators/get-override.js +1 -1
- package/development/core/decorators/handle-distinct-change.js +1 -1
- package/development/core/decorators/host-attributes.js +1 -1
- package/development/core/decorators/slot-state.js +1 -1
- package/development/core/dom/animation.js +1 -1
- package/development/core/dom/breakpoint.js +2 -2
- package/development/core/dom/find-referenced-element.js +1 -1
- package/development/core/dom/host-context.js +1 -1
- package/development/core/dom/input-element.js +3 -4
- package/development/core/dom/platform.js +1 -1
- package/development/core/dom/scroll.js +1 -1
- package/development/core/dom/set-or-remove-attribute.js +1 -1
- package/development/core/eventing/composed-path-has-attribute.js +1 -1
- package/development/core/eventing/event-emitter.js +2 -3
- package/development/core/eventing/form-element-handlers.js +1 -1
- package/development/core/eventing/forward-event.js +1 -1
- package/development/core/eventing/throttle.js +1 -1
- package/development/core/i18n/i18n.js +1 -1
- package/development/core/mixins/animation-complete-mixin.js +1 -1
- package/development/core/mixins/disabled-mixin.js +1 -1
- package/development/core/mixins/form-associated-checkbox-mixin.js +6 -9
- package/development/core/mixins/form-associated-input-mixin.js +14 -20
- package/development/core/mixins/form-associated-mixin.js +5 -7
- package/development/core/mixins/form-associated-radio-button-mixin.js +7 -9
- package/development/core/mixins/hydration-mixin.js +3 -4
- package/development/core/mixins/named-slot-list-mixin.js +4 -7
- package/development/core/mixins/negative-mixin.js +1 -1
- package/development/core/mixins/panel-mixin.js +2 -3
- package/development/core/mixins/required-mixin.js +1 -1
- package/development/core/mixins/update-scheduler-mixin.js +1 -1
- package/development/core/overlay/overlay-option-panel.js +1 -1
- package/development/core/overlay/overlay-trigger-attributes.js +1 -1
- package/development/core/overlay/overlay.js +1 -1
- package/development/core/overlay/position.js +5 -5
- package/development/core/testing/event-spy.js +3 -5
- package/development/core/testing/mocha-extensions.js +1 -1
- package/development/core/testing/wait-for-condition.js +1 -1
- package/development/core/testing/wait-for-image-ready.js +2 -3
- package/development/core/testing/wait-for-render.js +2 -3
- package/development/date-input/date-input.component.js +4 -6
- package/development/datepicker/common/datepicker-association-controllers.js +6 -9
- package/development/datepicker/common/datepicker-button.js +7 -11
- package/development/datepicker/datepicker/datepicker.component.js +22 -35
- package/development/datepicker/datepicker-next-day/datepicker-next-day.component.js +1 -1
- package/development/datepicker/datepicker-previous-day/datepicker-previous-day.component.js +1 -1
- package/development/datepicker/datepicker-toggle/datepicker-toggle.component.js +13 -20
- package/development/dialog/dialog/dialog.component.js +16 -27
- package/development/dialog/dialog-actions/dialog-actions.component.js +1 -1
- package/development/dialog/dialog-content/dialog-content.component.js +1 -1
- package/development/dialog/dialog-title/dialog-title.component.js +1 -1
- package/development/divider/divider.component.js +1 -1
- package/development/expansion-panel/expansion-panel/expansion-panel.component.js +9 -13
- package/development/expansion-panel/expansion-panel-content/expansion-panel-content.component.js +1 -1
- package/development/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +4 -5
- package/development/file-selector/common/file-selector-common.js +2 -3
- package/development/file-selector/file-selector/file-selector.component.js +1 -1
- package/development/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +1 -1
- package/development/flip-card/flip-card/flip-card.component.js +7 -13
- package/development/flip-card/flip-card-details/flip-card-details.component.js +2 -3
- package/development/flip-card/flip-card-summary/flip-card-summary.component.js +2 -3
- package/development/footer/footer.component.js +1 -1
- package/development/form-error/form-error.component.js +3 -4
- package/development/form-field/form-field/form-field.component.js +19 -30
- package/development/form-field/form-field-clear/form-field-clear.component.js +4 -6
- package/development/header/common/header-action-common.js +1 -1
- package/development/header/header/header.component.js +5 -8
- package/development/header/header-button/header-button.component.js +1 -1
- package/development/header/header-link/header-link.component.js +1 -1
- package/development/icon/icon-base.js +1 -1
- package/development/icon/icon-name-mixin.js +1 -1
- package/development/icon/icon-request.js +2 -3
- package/development/icon/icon-validate.js +1 -1
- package/development/icon/icon.component.js +1 -1
- package/development/image/image.component.js +7 -9
- package/development/journey-header/journey-header.component.js +1 -1
- package/development/lead-container/lead-container.component.js +1 -1
- package/development/link/block-link/block-link.component.js +1 -1
- package/development/link/block-link-button/block-link-button.component.js +1 -1
- package/development/link/block-link-static/block-link-static.component.js +1 -1
- package/development/link/common/block-link-common.js +1 -1
- package/development/link/common/inline-link-common.js +1 -1
- package/development/link/link/link.component.js +1 -1
- package/development/link/link-button/link-button.component.js +1 -1
- package/development/link/link-static/link-static.component.js +1 -1
- package/development/link-common-CJEWffDZ.js +1 -1
- package/development/link-list/common/link-list-base.js +1 -1
- package/development/link-list/link-list/link-list.component.js +1 -1
- package/development/link-list/link-list-anchor/link-list-anchor.component.js +1 -1
- package/development/loading-indicator/loading-indicator.component.js +1 -1
- package/development/loading-indicator-circle/loading-indicator-circle.component.js +1 -1
- package/development/logo/logo.component.js +1 -1
- package/development/map-container/map-container.component.js +2 -3
- package/development/menu/common/menu-action-common.js +1 -1
- package/development/menu/menu/menu.component.js +17 -25
- package/development/menu/menu-button/menu-button.component.js +1 -1
- package/development/menu/menu-link/menu-link.component.js +1 -1
- package/development/message/message.component.js +1 -1
- package/development/navigation/common/navigation-action-common.js +3 -5
- package/development/navigation/navigation/navigation.component.js +19 -35
- package/development/navigation/navigation-button/navigation-button.component.js +1 -1
- package/development/navigation/navigation-link/navigation-link.component.js +1 -1
- package/development/navigation/navigation-list/navigation-list.component.js +1 -1
- package/development/navigation/navigation-marker/navigation-marker.component.js +4 -6
- package/development/navigation/navigation-section/navigation-section.component.js +22 -32
- package/development/notification/notification.component.js +22 -24
- package/development/option/optgroup/optgroup-base-element.js +4 -6
- package/development/option/optgroup/optgroup.component.js +6 -10
- package/development/option/option/option-base-element.js +3 -4
- package/development/option/option/option.component.js +7 -10
- package/development/overlay/overlay-base-element.js +4 -6
- package/development/overlay/overlay.component.js +7 -9
- package/development/paginator/common/paginator-common.js +1 -1
- package/development/paginator/compact-paginator/compact-paginator.component.js +1 -1
- package/development/paginator/paginator/paginator.component.js +2 -3
- package/development/popover/popover/popover.component.d.ts.map +1 -1
- package/development/popover/popover/popover.component.js +17 -19
- package/development/popover/popover-trigger/popover-trigger.component.js +1 -1
- package/development/radio-button/common/radio-button-common.js +6 -10
- package/development/radio-button/radio-button/radio-button.component.js +2 -5
- package/development/radio-button/radio-button-group/radio-button-group.component.js +8 -24
- package/development/radio-button/radio-button-panel/radio-button-panel.component.js +3 -7
- package/development/screen-reader-only/screen-reader-only.component.js +1 -1
- package/development/select/select.component.js +26 -48
- package/development/selection-expansion-panel/selection-expansion-panel.component.js +7 -11
- package/development/sidebar/icon-sidebar/icon-sidebar.component.js +1 -1
- package/development/sidebar/icon-sidebar-button/icon-sidebar-button.component.js +1 -1
- package/development/sidebar/icon-sidebar-container/icon-sidebar-container.component.js +4 -7
- package/development/sidebar/icon-sidebar-content/icon-sidebar-content.component.js +1 -1
- package/development/sidebar/icon-sidebar-link/icon-sidebar-link.component.js +1 -1
- package/development/sidebar/sidebar/sidebar.component.js +8 -15
- package/development/sidebar/sidebar-close-button/sidebar-close-button.component.js +1 -1
- package/development/sidebar/sidebar-container/sidebar-container.component.js +9 -13
- package/development/sidebar/sidebar-content/sidebar-content.component.js +1 -1
- package/development/sidebar/sidebar-title/sidebar-title.component.js +2 -2
- package/development/signet/signet.component.js +1 -1
- package/development/skiplink-list/skiplink-list.component.js +1 -1
- package/development/slider/slider.component.js +3 -4
- package/development/status/status.component.js +3 -2
- package/development/stepper/step/step.component.js +5 -7
- package/development/stepper/step-label/step-label.component.js +3 -4
- package/development/stepper/stepper/stepper.component.js +16 -29
- package/development/table/table-wrapper/table-wrapper.component.js +2 -7
- package/development/tabs/tab/tab.component.js +1 -1
- package/development/tabs/tab-group/tab-group.component.js +23 -38
- package/development/tabs/tab-label/tab-label.component.js +1 -1
- package/development/tag/tag/tag.component.js +6 -12
- package/development/tag/tag-group/tag-group.component.js +5 -13
- package/development/teaser/teaser.component.js +1 -1
- package/development/teaser-hero/teaser-hero.component.js +1 -1
- package/development/teaser-product/common/teaser-product-common.js +1 -1
- package/development/teaser-product/teaser-product/teaser-product.component.js +1 -1
- package/development/teaser-product/teaser-product-static/teaser-product-static.component.js +1 -1
- package/development/time-input/time-input.component.js +8 -12
- package/development/timetable-occupancy/timetable-occupancy.component.js +1 -1
- package/development/timetable-occupancy-icon/timetable-occupancy-icon.component.js +2 -3
- package/development/title/title-base.js +1 -2
- package/development/title/title.component.js +1 -1
- package/development/toast/toast.component.js +4 -7
- package/development/toggle/toggle/toggle.component.js +8 -12
- package/development/toggle/toggle-option/toggle-option.component.js +9 -16
- package/development/toggle-check/toggle-check.component.js +1 -1
- package/development/train/train/train.component.js +1 -1
- package/development/train/train-blocked-passage/train-blocked-passage.component.js +1 -1
- package/development/train/train-formation/train-formation.component.js +5 -7
- package/development/train/train-wagon/train-wagon.component.js +1 -1
- package/development/visual-checkbox/visual-checkbox.component.js +1 -1
- package/dialog/dialog/dialog.component.js +59 -70
- package/expansion-panel/expansion-panel/expansion-panel.component.js +5 -9
- package/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +31 -32
- package/file-selector/common/file-selector-common.js +1 -2
- package/flip-card/flip-card/flip-card.component.js +48 -54
- package/flip-card/flip-card-details/flip-card-details.component.js +16 -17
- package/flip-card/flip-card-summary/flip-card-summary.component.js +18 -19
- package/form-error/form-error.component.js +13 -14
- package/form-field/form-field/form-field.component.js +128 -139
- package/form-field/form-field-clear/form-field-clear.component.js +20 -22
- package/header/header/header.component.js +25 -28
- package/icon/icon-request.js +10 -11
- package/icon-sidebar-button-common-CM-ueEhH.js +7 -0
- package/image/image.component.js +4 -6
- package/map-container/map-container.component.js +1 -2
- package/menu/menu/menu.component.js +48 -56
- package/navigation/common/navigation-action-common.js +19 -21
- package/navigation/navigation/navigation.component.js +74 -93
- package/navigation/navigation-marker/navigation-marker.component.js +26 -28
- package/navigation/navigation-section/navigation-section.component.js +79 -89
- package/notification/notification.component.js +18 -20
- package/option/optgroup/optgroup-base-element.js +40 -42
- package/option/optgroup/optgroup.component.js +16 -20
- package/option/option/option-base-element.js +3 -4
- package/option/option/option.component.js +28 -31
- package/overlay/overlay-base-element.js +25 -27
- package/overlay/overlay.component.js +38 -40
- package/package.json +1 -1
- package/paginator/paginator/paginator.component.js +3 -4
- package/popover/popover/popover.component.d.ts.map +1 -1
- package/popover/popover/popover.component.js +65 -72
- package/popover/popover-trigger/popover-trigger.component.js +1 -1
- package/radio-button/common/radio-button-common.js +11 -15
- package/radio-button/radio-button/radio-button.component.js +20 -23
- package/radio-button/radio-button-group/radio-button-group.component.js +27 -43
- package/radio-button/radio-button-panel/radio-button-panel.component.js +31 -35
- package/select/select.component.js +89 -111
- package/selection-expansion-panel/selection-expansion-panel.component.js +35 -39
- package/sidebar/common.js +1 -1
- package/sidebar/icon-sidebar-container/icon-sidebar-container.component.js +10 -13
- package/sidebar/sidebar/sidebar.component.js +61 -68
- package/sidebar/sidebar-container/sidebar-container.component.js +29 -33
- package/sidebar/sidebar-title/sidebar-title.component.js +1 -1
- package/sidebar.js +1 -1
- package/slider/slider.component.js +3 -4
- package/standard-theme.css +0 -25
- package/status/status.component.js +17 -17
- package/stepper/step/step.component.js +22 -24
- package/stepper/step-label/step-label.component.js +2 -3
- package/stepper/stepper/stepper.component.js +72 -86
- package/table/table-wrapper/table-wrapper.component.js +13 -14
- package/table.css +0 -25
- package/tabs/tab-group/tab-group.component.js +77 -92
- package/tabs/tab-label/tab-label.component.js +10 -10
- package/tag/tag/tag.component.js +55 -61
- package/tag/tag-group/tag-group.component.js +21 -29
- package/teaser/teaser.component.js +1 -1
- package/teaser-product/common.js +1 -1
- package/teaser-product/teaser-product/teaser-product.component.js +1 -1
- package/teaser-product-common-C8oSkIxy.js +5 -0
- package/teaser-product.js +1 -1
- package/time-input/time-input.component.js +62 -66
- package/timetable-occupancy-icon/timetable-occupancy-icon.component.js +9 -10
- package/title/title-base.js +1 -1
- package/toast/toast.component.js +4 -7
- package/toggle/toggle/toggle.component.js +38 -42
- package/toggle/toggle-option/toggle-option.component.js +47 -54
- package/train/train-formation/train-formation.component.js +41 -43
- package/core/styles/node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables.scss +0 -530
- package/core/styles/node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables_css--mixin.scss +0 -1123
- package/icon-sidebar-button-common-DG8bnrBu.js +0 -7
- package/teaser-product-common-CpMAlYEp.js +0 -5
|
@@ -2,22 +2,22 @@ var I = (t) => {
|
|
|
2
2
|
throw TypeError(t);
|
|
3
3
|
};
|
|
4
4
|
var w = (t, e, a) => e.has(t) || I("Cannot " + a);
|
|
5
|
-
var m = (t, e, a) => (w(t, e, "read from private field"), a ? a.call(t) : e.get(t)), _ = (t, e, a) => e.has(t) ? I("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, a), r = (t, e, a,
|
|
5
|
+
var m = (t, e, a) => (w(t, e, "read from private field"), a ? a.call(t) : e.get(t)), _ = (t, e, a) => e.has(t) ? I("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, a), r = (t, e, a, i) => (w(t, e, "write to private field"), i ? i.call(t, a) : e.set(t, a), a);
|
|
6
6
|
import { __esDecorate as v, __runInitializers as n } from "tslib";
|
|
7
7
|
import { css as T, LitElement as $, html as E } from "lit";
|
|
8
8
|
import { customElement as D, property as h } from "lit/decorators.js";
|
|
9
9
|
import { slotState as j, forceType as M, omitEmptyConverter as N } from "../core/decorators.js";
|
|
10
10
|
import { SbbIconNameMixin as O } from "../icon.js";
|
|
11
11
|
import "../title.js";
|
|
12
|
-
const P = T`*,:before,:after{box-sizing:border-box}:host{--sbb-status-color: var(--sbb-color-iron);--sbb-status-gap: var(--sbb-spacing-fixed-1x);--sbb-status-text-color: var(--sbb-status-color);--_sbb-status-icon-color: var(--sbb-status-color);--_sbb-status-icon-font-size: var(--sbb-font-size-text-s);display:block}:host([type=error]){--sbb-status-color: var(--sbb-color-red125)}:host([type=success]){--sbb-status-color: var(--sbb-color-green)}:host([type=warning]){--sbb-status-color: var(--sbb-color-charcoal)}:host([type=pending]){--sbb-status-color: var(--sbb-color-sky)}:host([type=incomplete]){--sbb-status-color: var(--sbb-color-red125)}:host([type=not-started]){--sbb-status-color: var(--sbb-color-smoke);--sbb-status-text-color: var(--sbb-color-charcoal)}:host([type=in-progress]){--sbb-status-color: var(--sbb-color-pink)}:host(:is([data-slot-names~=title],[title-content])){--sbb-status-gap: var(--sbb-spacing-responsive-xxxs);--_sbb-status-text-color-override: var(--sbb-color-granite);--_sbb-status-icon-font-size: var(--sbb-font-size-title-5)}.sbb-status{--sbb-text-font-size: var(--sbb-font-size-text-s);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-body-text);letter-spacing:var(--sbb-typo-letter-spacing-body-text);font-size:var(--sbb-text-font-size);display:flex;gap:var(--sbb-status-gap);color:var(--_sbb-status-text-color-override, var(--sbb-status-text-color))}.sbb-status__icon{display:flex;flex-shrink:0;color:var(--_sbb-status-icon-color);margin-block-start:calc((var(--_sbb-status-icon-font-size) * var(--
|
|
12
|
+
const P = T`*,:before,:after{box-sizing:border-box}:host{--sbb-status-color: var(--sbb-color-iron);--sbb-status-gap: var(--sbb-spacing-fixed-1x);--sbb-status-text-color: var(--sbb-status-color);--_sbb-status-icon-color: var(--sbb-status-color);--_sbb-status-icon-font-size: var(--sbb-font-size-text-s);display:block}:host([type=error]){--sbb-status-color: var(--sbb-color-red125)}:host([type=success]){--sbb-status-color: var(--sbb-color-green)}:host([type=warning]){--sbb-status-color: var(--sbb-color-charcoal)}:host([type=pending]){--sbb-status-color: var(--sbb-color-sky)}:host([type=incomplete]){--sbb-status-color: var(--sbb-color-red125)}:host([type=not-started]){--sbb-status-color: var(--sbb-color-smoke);--sbb-status-text-color: var(--sbb-color-charcoal)}:host([type=in-progress]){--sbb-status-color: var(--sbb-color-pink)}:host(:is([data-slot-names~=title],[title-content])){--sbb-status-gap: var(--sbb-spacing-responsive-xxxs);--_sbb-status-text-color-override: var(--sbb-color-granite);--_sbb-status-icon-font-size: var(--sbb-font-size-title-5);--_sbb-status-icon-line-height: var(--sbb-typo-line-height-titles)}.sbb-status{--sbb-text-font-size: var(--sbb-font-size-text-s);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-body-text);letter-spacing:var(--sbb-typo-letter-spacing-body-text);font-size:var(--sbb-text-font-size);display:flex;gap:var(--sbb-status-gap);color:var(--_sbb-status-text-color-override, var(--sbb-status-text-color))}.sbb-status__icon{display:flex;flex-shrink:0;color:var(--_sbb-status-icon-color);margin-block-start:calc((var(--_sbb-status-icon-font-size) * var(--_sbb-status-icon-line-height) - var(--sbb-size-icon-ui-small)) / 2)}.sbb-status__title{margin-block:0}:host(:not(:is([data-slot-names~=title],[title-content]))) .sbb-status__title{display:none}.sbb-status__content-slot{display:inline;margin:0;padding:0}`;
|
|
13
13
|
let Q = (() => {
|
|
14
|
-
var
|
|
15
|
-
let t = [D("sbb-status"), j()], e, a = [],
|
|
16
|
-
return
|
|
14
|
+
var b, c, p, o;
|
|
15
|
+
let t = [D("sbb-status"), j()], e, a = [], i, d = O($), y, f = [], g = [], x, z = [], k = [], C, L = [], S = [];
|
|
16
|
+
return o = class extends d {
|
|
17
17
|
constructor() {
|
|
18
18
|
super(...arguments);
|
|
19
|
-
_(this, c);
|
|
20
19
|
_(this, b);
|
|
20
|
+
_(this, c);
|
|
21
21
|
_(this, p);
|
|
22
22
|
this._statusTypes = /* @__PURE__ */ new Map([
|
|
23
23
|
["info", "circle-information-small"],
|
|
@@ -28,21 +28,21 @@ let Q = (() => {
|
|
|
28
28
|
["incomplete", "circle-dotted-part-x-small"],
|
|
29
29
|
["not-started", "circle-dotted-small"],
|
|
30
30
|
["in-progress", "circle-dotted-part-small"]
|
|
31
|
-
]), r(this,
|
|
31
|
+
]), r(this, b, n(this, f, "info")), r(this, c, (n(this, g), n(this, z, ""))), r(this, p, (n(this, k), n(this, L, "3"))), n(this, S);
|
|
32
32
|
}
|
|
33
33
|
/** The type of the status. */
|
|
34
34
|
get type() {
|
|
35
|
-
return m(this,
|
|
35
|
+
return m(this, b);
|
|
36
36
|
}
|
|
37
37
|
set type(l) {
|
|
38
|
-
r(this,
|
|
38
|
+
r(this, b, l);
|
|
39
39
|
}
|
|
40
40
|
/** Content of title. */
|
|
41
41
|
get titleContent() {
|
|
42
|
-
return m(this,
|
|
42
|
+
return m(this, c);
|
|
43
43
|
}
|
|
44
44
|
set titleContent(l) {
|
|
45
|
-
r(this,
|
|
45
|
+
r(this, c, l);
|
|
46
46
|
}
|
|
47
47
|
/** Level of title, it will be rendered as heading tag (e.g. h3). Defaults to level 3. */
|
|
48
48
|
get titleLevel() {
|
|
@@ -73,16 +73,16 @@ let Q = (() => {
|
|
|
73
73
|
</div>
|
|
74
74
|
`;
|
|
75
75
|
}
|
|
76
|
-
},
|
|
76
|
+
}, b = new WeakMap(), c = new WeakMap(), p = new WeakMap(), i = o, (() => {
|
|
77
77
|
const l = typeof Symbol == "function" && Symbol.metadata ? Object.create(d[Symbol.metadata] ?? null) : void 0;
|
|
78
|
-
y = [h({ reflect: !0 })], x = [M(), h({ attribute: "title-content", reflect: !0, converter: N })], C = [h({ attribute: "title-level" })], v(
|
|
78
|
+
y = [h({ reflect: !0 })], x = [M(), h({ attribute: "title-content", reflect: !0, converter: N })], C = [h({ attribute: "title-level" })], v(o, null, y, { kind: "accessor", name: "type", static: !1, private: !1, access: { has: (s) => "type" in s, get: (s) => s.type, set: (s, u) => {
|
|
79
79
|
s.type = u;
|
|
80
|
-
} }, metadata: l }, f, g), v(
|
|
80
|
+
} }, metadata: l }, f, g), v(o, null, x, { kind: "accessor", name: "titleContent", static: !1, private: !1, access: { has: (s) => "titleContent" in s, get: (s) => s.titleContent, set: (s, u) => {
|
|
81
81
|
s.titleContent = u;
|
|
82
|
-
} }, metadata: l }, z, k), v(
|
|
82
|
+
} }, metadata: l }, z, k), v(o, null, C, { kind: "accessor", name: "titleLevel", static: !1, private: !1, access: { has: (s) => "titleLevel" in s, get: (s) => s.titleLevel, set: (s, u) => {
|
|
83
83
|
s.titleLevel = u;
|
|
84
|
-
} }, metadata: l }, L, S), v(null, e = { value:
|
|
85
|
-
})(),
|
|
84
|
+
} }, metadata: l }, L, S), v(null, e = { value: i }, t, { kind: "class", name: i.name, metadata: l }, null, a), i = e.value, l && Object.defineProperty(i, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: l });
|
|
85
|
+
})(), o.styles = P, n(i, a), i;
|
|
86
86
|
})();
|
|
87
87
|
export {
|
|
88
88
|
Q as SbbStatusElement
|
|
@@ -1,28 +1,27 @@
|
|
|
1
|
-
import { __esDecorate as
|
|
2
|
-
import { ResizeController as
|
|
3
|
-
import { css as
|
|
4
|
-
import { customElement as
|
|
5
|
-
import { hostAttributes as
|
|
6
|
-
import { EventEmitter as
|
|
7
|
-
const
|
|
8
|
-
let
|
|
1
|
+
import { __esDecorate as d, __runInitializers as h } from "tslib";
|
|
2
|
+
import { ResizeController as c } from "@lit-labs/observers/resize-controller.js";
|
|
3
|
+
import { css as m, LitElement as u, html as v } from "lit";
|
|
4
|
+
import { customElement as g } from "lit/decorators.js";
|
|
5
|
+
import { hostAttributes as y } from "../../core/decorators.js";
|
|
6
|
+
import { EventEmitter as l } from "../../core/eventing.js";
|
|
7
|
+
const f = m`*,:before,:after{box-sizing:border-box}:host{--sbb-step-position: initial;--sbb-step-inset-block-start: unset;--sbb-step-opacity: 0;--sbb-step-display: none;--sbb-step-height: 0;--sbb-step-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-2x) );--sbb-step-animation-delay: 0;--sbb-step-color: var(--sbb-color-iron);display:contents}:host([data-selected]){--sbb-step-opacity: 1;--sbb-step-display: block;--sbb-step-height: fit-content;--sbb-step-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-4x) );--sbb-step-animation-delay: var(--sbb-step-animation-duration)}:host([data-orientation=horizontal]){--sbb-step-position: absolute;--sbb-step-inset-block-start: 0}:host([data-orientation=vertical]) .sbb-step--wrapper{margin-inline-start:var(--sbb-spacing-fixed-4x);opacity:0;height:0;transition:display var(--sbb-step-animation-duration) var(--sbb-animation-easing),height var(--sbb-stepper-animation-duration) var(--sbb-animation-easing),opacity var(--sbb-step-animation-duration) var(--sbb-animation-easing);transition-behavior:allow-discrete}:host([data-selected][data-orientation=vertical]) .sbb-step--wrapper{opacity:1;height:var(--sbb-stepper-content-height);transition:display var(--sbb-step-animation-duration) var(--sbb-animation-easing),height var(--sbb-stepper-animation-duration) var(--sbb-animation-easing),opacity var(--sbb-step-animation-duration) var(--sbb-stepper-animation-duration) var(--sbb-animation-easing);transition-behavior:allow-discrete}.sbb-step{--sbb-text-font-size: var(--sbb-font-size-text-m);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-body-text);letter-spacing:var(--sbb-typo-letter-spacing-body-text);font-size:var(--sbb-text-font-size);position:var(--sbb-step-position);width:100%;inset-block-start:var(--sbb-step-inset-block-start);opacity:var(--sbb-step-opacity);display:var(--sbb-step-display);height:var(--sbb-step-height);color:var(--sbb-step-color);transition-property:display,opacity;transition-duration:var(--sbb-step-animation-duration);transition-delay:var(--sbb-step-animation-delay);transition-timing-function:var(--sbb-animation-easing);transition-behavior:allow-discrete}@starting-style{.sbb-step{--sbb-step-opacity: 0}}`;
|
|
8
|
+
let _ = 0, C = (() => {
|
|
9
9
|
var e;
|
|
10
|
-
let
|
|
10
|
+
let p = [g("sbb-step"), y({
|
|
11
11
|
slot: "step",
|
|
12
12
|
role: "tabpanel"
|
|
13
|
-
})],
|
|
14
|
-
var a = (e = class extends
|
|
13
|
+
})], n, r = [], s, b = u;
|
|
14
|
+
var a = (e = class extends b {
|
|
15
15
|
/** The label of the step. */
|
|
16
16
|
get label() {
|
|
17
17
|
return this._label;
|
|
18
18
|
}
|
|
19
19
|
constructor() {
|
|
20
|
-
|
|
21
|
-
super(), this._validate = new d(this, a.events.validate), this._resizeChange = new d(this, a.events.resizeChange, { bubbles: !0 }), this._stepper = null, this._label = null, this._stepResizeObserver = new u(this, {
|
|
20
|
+
super(), this._validate = new l(this, a.events.validate), this._resizeChange = new l(this, a.events.resizeChange, { bubbles: !0 }), this._stepper = null, this._label = null, this._stepResizeObserver = new c(this, {
|
|
22
21
|
target: null,
|
|
23
22
|
skipInitial: !0,
|
|
24
23
|
callback: () => setTimeout(() => this._onStepElementResize())
|
|
25
|
-
}),
|
|
24
|
+
}), this.addEventListener?.("click", (t) => this._handleClick(t));
|
|
26
25
|
}
|
|
27
26
|
/**
|
|
28
27
|
* Selects and configures the step.
|
|
@@ -54,9 +53,8 @@ let z = 0, L = (() => {
|
|
|
54
53
|
}
|
|
55
54
|
/** Watches for clicked elements with `sbb-stepper-next` or `sbb-stepper-previous` attributes. */
|
|
56
55
|
_handleClick(t) {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
n.some((i) => this._isGoNextElement(i)) ? (l = this._stepper) == null || l.next() : n.some((i) => this._isGoPreviousElement(i)) && ((p = this._stepper) == null || p.previous());
|
|
56
|
+
const o = t.composedPath().filter((i) => i instanceof window.HTMLElement);
|
|
57
|
+
o.some((i) => this._isGoNextElement(i)) ? this._stepper?.next() : o.some((i) => this._isGoPreviousElement(i)) && this._stepper?.previous();
|
|
60
58
|
}
|
|
61
59
|
_isGoNextElement(t) {
|
|
62
60
|
return t.hasAttribute("sbb-stepper-next") && !t.hasAttribute("disabled");
|
|
@@ -74,7 +72,7 @@ let z = 0, L = (() => {
|
|
|
74
72
|
return t;
|
|
75
73
|
}
|
|
76
74
|
connectedCallback() {
|
|
77
|
-
super.connectedCallback(), this.id
|
|
75
|
+
super.connectedCallback(), this.id ||= `sbb-step-${_++}`, this._stepper = this.closest("sbb-stepper"), this._label = this._getStepLabel();
|
|
78
76
|
}
|
|
79
77
|
firstUpdated(t) {
|
|
80
78
|
super.firstUpdated(t), this.updateComplete.then(() => {
|
|
@@ -82,7 +80,7 @@ let z = 0, L = (() => {
|
|
|
82
80
|
});
|
|
83
81
|
}
|
|
84
82
|
render() {
|
|
85
|
-
return
|
|
83
|
+
return v`
|
|
86
84
|
<div class="sbb-step--wrapper">
|
|
87
85
|
<div class="sbb-step">
|
|
88
86
|
<slot></slot>
|
|
@@ -91,14 +89,14 @@ let z = 0, L = (() => {
|
|
|
91
89
|
`;
|
|
92
90
|
}
|
|
93
91
|
}, s = e, (() => {
|
|
94
|
-
const t = typeof Symbol == "function" && Symbol.metadata ? Object.create(
|
|
95
|
-
|
|
96
|
-
})(), e.styles =
|
|
92
|
+
const t = typeof Symbol == "function" && Symbol.metadata ? Object.create(b[Symbol.metadata] ?? null) : void 0;
|
|
93
|
+
d(null, n = { value: s }, p, { kind: "class", name: s.name, metadata: t }, null, r), a = s = n.value, t && Object.defineProperty(s, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: t });
|
|
94
|
+
})(), e.styles = f, e.events = {
|
|
97
95
|
validate: "validate",
|
|
98
96
|
resizeChange: "resizeChange"
|
|
99
|
-
},
|
|
97
|
+
}, h(s, r), e);
|
|
100
98
|
return a = s;
|
|
101
99
|
})();
|
|
102
100
|
export {
|
|
103
|
-
|
|
101
|
+
C as SbbStepElement
|
|
104
102
|
};
|
|
@@ -19,8 +19,7 @@ let g = 0, E = (() => {
|
|
|
19
19
|
return this._step;
|
|
20
20
|
}
|
|
21
21
|
constructor() {
|
|
22
|
-
|
|
23
|
-
super(), this._stepper = null, this._step = null, (t = this.addEventListener) == null || t.call(this, "click", () => {
|
|
22
|
+
super(), this._stepper = null, this._step = null, this.addEventListener?.("click", () => {
|
|
24
23
|
this._stepper && this._step && (this._stepper.selected = this._step);
|
|
25
24
|
});
|
|
26
25
|
}
|
|
@@ -31,7 +30,7 @@ let g = 0, E = (() => {
|
|
|
31
30
|
return t;
|
|
32
31
|
}
|
|
33
32
|
connectedCallback() {
|
|
34
|
-
super.connectedCallback(), this.id
|
|
33
|
+
super.connectedCallback(), this.id ||= `sbb-step-label-${g++}`, this.internals.ariaSelected = "false", this._stepper = this.closest("sbb-stepper"), this._step = this._getStep(), this.toggleAttribute("data-disabled", this.hasAttribute("disabled"));
|
|
35
34
|
}
|
|
36
35
|
firstUpdated(t) {
|
|
37
36
|
super.firstUpdated(t), this.step && this.setAttribute("aria-controls", this.step.id);
|
|
@@ -1,76 +1,74 @@
|
|
|
1
|
-
var
|
|
2
|
-
throw TypeError(
|
|
1
|
+
var T = (s) => {
|
|
2
|
+
throw TypeError(s);
|
|
3
3
|
};
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
import { __esDecorate as
|
|
7
|
-
import { IntersectionController as
|
|
8
|
-
import { css as
|
|
9
|
-
import { customElement as
|
|
10
|
-
import { isArrowKeyPressed as
|
|
11
|
-
import { forceType as
|
|
12
|
-
import { breakpoints as
|
|
13
|
-
import { SbbHydrationMixin as
|
|
14
|
-
const
|
|
15
|
-
let
|
|
16
|
-
var b, p,
|
|
17
|
-
let
|
|
18
|
-
return l = class extends
|
|
4
|
+
var M = (s, r, a) => r.has(s) || T("Cannot " + a);
|
|
5
|
+
var f = (s, r, a) => (M(s, r, "read from private field"), a ? a.call(s) : r.get(s)), m = (s, r, a) => r.has(s) ? T("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(s) : r.set(s, a), d = (s, r, a, n) => (M(s, r, "write to private field"), n ? n.call(s, a) : r.set(s, a), a);
|
|
6
|
+
import { __esDecorate as h, __runInitializers as o } from "tslib";
|
|
7
|
+
import { IntersectionController as H } from "@lit-labs/observers/intersection-controller.js";
|
|
8
|
+
import { css as R, LitElement as D, html as U } from "lit";
|
|
9
|
+
import { customElement as q, property as u } from "lit/decorators.js";
|
|
10
|
+
import { isArrowKeyPressed as B, getNextElementIndex as N } from "../../core/a11y.js";
|
|
11
|
+
import { forceType as $ } from "../../core/decorators.js";
|
|
12
|
+
import { breakpoints as j, isLean as K, isBreakpoint as P } from "../../core/dom.js";
|
|
13
|
+
import { SbbHydrationMixin as V } from "../../core/mixins.js";
|
|
14
|
+
const W = R`*,:before,:after{box-sizing:border-box}:host{--sbb-stepper-orientation: row;--sbb-stepper-border-width: var(--sbb-border-width-1x);--sbb-stepper-marker-size: 0;--sbb-stepper-marker-width: var(--sbb-border-width-3x);--sbb-stepper-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-6x) );--sbb-stepper-marker-color: var(--sbb-color-charcoal);display:block;position:relative;counter-reset:step-label}@media (forced-colors: active){:host{--sbb-stepper-marker-color: ButtonText}}:host([data-disable-animation]){--sbb-disable-animation-duration: 0s}:host([orientation=vertical]){--sbb-stepper-orientation: column}.sbb-stepper{width:100%}.sbb-stepper__labels{display:flex;flex-direction:var(--sbb-stepper-orientation);position:relative;justify-content:space-between;margin-block-end:var(--sbb-spacing-responsive-m)}.sbb-stepper__labels:before{content:"";position:absolute;inset-inline-start:calc(var(--sbb-stepper-border-width) * -1);background-color:var(--sbb-stepper-marker-color)}:host([orientation=horizontal]) .sbb-stepper__labels{gap:var(--sbb-spacing-fixed-4x);padding-block-end:var(--sbb-spacing-fixed-4x);border-block-end:var(--sbb-stepper-border-width) solid var(--sbb-color-cloud)}:host([orientation=horizontal]) .sbb-stepper__labels:before{inset-block-end:calc(var(--sbb-stepper-border-width) * -1);height:var(--sbb-stepper-marker-width);width:var(--sbb-stepper-marker-size);transition:width var(--sbb-stepper-animation-duration) var(--sbb-animation-easing)}:host([orientation=vertical]) .sbb-stepper__labels{padding-inline-start:var(--sbb-spacing-fixed-4x);border-inline-start:var(--sbb-stepper-border-width) solid var(--sbb-color-cloud)}:host([orientation=vertical]) .sbb-stepper__labels:before{inset-block-start:0;width:var(--sbb-stepper-marker-width);height:var(--sbb-stepper-marker-size);transition:height var(--sbb-stepper-animation-duration) var(--sbb-animation-easing)}.sbb-stepper__steps{position:relative}:host([orientation=horizontal]) .sbb-stepper__steps{height:var(--sbb-stepper-content-height);transition:height var(--sbb-stepper-animation-duration) var(--sbb-animation-easing)}::slotted(sbb-step-label):before{content:counter(step-label);counter-increment:step-label}`, C = 150;
|
|
15
|
+
let re = (() => {
|
|
16
|
+
var c, b, p, l;
|
|
17
|
+
let s = [q("sbb-stepper")], r, a = [], n, z = V(D), _ = [], x, v = [], k = [], S, y, I = [], w = [], E, A = [], F = [], L, O;
|
|
18
|
+
return l = class extends z {
|
|
19
19
|
constructor() {
|
|
20
|
-
var e, t;
|
|
21
20
|
super();
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
this._observer = (
|
|
21
|
+
m(this, c);
|
|
22
|
+
m(this, b);
|
|
23
|
+
m(this, p);
|
|
24
|
+
this._observer = (o(this, _), new H(this, {
|
|
26
25
|
target: null,
|
|
27
|
-
callback: (
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
callback: (e) => {
|
|
27
|
+
e.forEach((t) => {
|
|
28
|
+
t.intersectionRatio > 0 && (this._setStepperHeight(this.selected), this._setMarkerSize());
|
|
30
29
|
});
|
|
31
30
|
}
|
|
32
|
-
})),
|
|
33
|
-
this._checkOrientation(), this._setStepperHeight(this.selected), clearTimeout(this._resizeObserverTimeout), this.toggleAttribute("data-disable-animation", !0), this._resizeObserverTimeout = setTimeout(() => this.toggleAttribute("data-disable-animation", !1),
|
|
34
|
-
},
|
|
31
|
+
})), d(this, c, o(this, v, !1)), this._horizontalFrom = (o(this, k), null), d(this, b, o(this, I, "horizontal")), d(this, p, (o(this, w), o(this, A, K() ? "s" : "m"))), this._loaded = (o(this, F), !1), this._resizeObserverTimeout = null, this._onStepperResize = () => {
|
|
32
|
+
this._checkOrientation(), this._setStepperHeight(this.selected), clearTimeout(this._resizeObserverTimeout), this.toggleAttribute("data-disable-animation", !0), this._resizeObserverTimeout = setTimeout(() => this.toggleAttribute("data-disable-animation", !1), C);
|
|
33
|
+
}, this.addEventListener?.("keydown", (e) => this._handleKeyDown(e)), this.addEventListener?.("resizeChange", (e) => this._onSelectedStepResize(e));
|
|
35
34
|
}
|
|
36
35
|
/** If set to true, only the current and previous labels can be clicked and selected. */
|
|
37
36
|
get linear() {
|
|
38
|
-
return
|
|
37
|
+
return f(this, c);
|
|
39
38
|
}
|
|
40
39
|
set linear(e) {
|
|
41
|
-
|
|
40
|
+
d(this, c, e);
|
|
42
41
|
}
|
|
43
42
|
/** Overrides the behaviour of `orientation` property. */
|
|
44
43
|
set horizontalFrom(e) {
|
|
45
|
-
this._horizontalFrom = e &&
|
|
44
|
+
this._horizontalFrom = e && j.includes(e) ? e : null, this._horizontalFrom && this._loaded && this._checkOrientation();
|
|
46
45
|
}
|
|
47
46
|
get horizontalFrom() {
|
|
48
47
|
return this._horizontalFrom;
|
|
49
48
|
}
|
|
50
49
|
/** Steps orientation, either horizontal or vertical. */
|
|
51
50
|
get orientation() {
|
|
52
|
-
return
|
|
51
|
+
return f(this, b);
|
|
53
52
|
}
|
|
54
53
|
set orientation(e) {
|
|
55
|
-
|
|
54
|
+
d(this, b, e);
|
|
56
55
|
}
|
|
57
56
|
/**
|
|
58
57
|
* Size variant, either s or m.
|
|
59
58
|
* @default 'm' / 's' (lean)
|
|
60
59
|
*/
|
|
61
60
|
get size() {
|
|
62
|
-
return
|
|
61
|
+
return f(this, p);
|
|
63
62
|
}
|
|
64
63
|
set size(e) {
|
|
65
|
-
|
|
64
|
+
d(this, p, e);
|
|
66
65
|
}
|
|
67
66
|
/** The currently selected step. */
|
|
68
67
|
set selected(e) {
|
|
69
68
|
this._loaded && this._select(e);
|
|
70
69
|
}
|
|
71
70
|
get selected() {
|
|
72
|
-
|
|
73
|
-
return ((e = this.querySelector) == null ? void 0 : e.call(this, "sbb-step[data-selected]")) ?? null;
|
|
71
|
+
return this.querySelector?.("sbb-step[data-selected]") ?? null;
|
|
74
72
|
}
|
|
75
73
|
/** The currently selected step index. */
|
|
76
74
|
set selectedIndex(e) {
|
|
@@ -81,14 +79,10 @@ let le = (() => {
|
|
|
81
79
|
}
|
|
82
80
|
/** The steps of the stepper. */
|
|
83
81
|
get steps() {
|
|
84
|
-
|
|
85
|
-
return Array.from(((e = this.querySelectorAll) == null ? void 0 : e.call(this, "sbb-step")) ?? []);
|
|
82
|
+
return Array.from(this.querySelectorAll?.("sbb-step") ?? []);
|
|
86
83
|
}
|
|
87
84
|
get _enabledSteps() {
|
|
88
|
-
return this.steps.filter((e) =>
|
|
89
|
-
var t;
|
|
90
|
-
return !((t = e.label) != null && t.hasAttribute("disabled"));
|
|
91
|
-
});
|
|
85
|
+
return this.steps.filter((e) => !e.label?.hasAttribute("disabled"));
|
|
92
86
|
}
|
|
93
87
|
/** Selects the next step. */
|
|
94
88
|
next() {
|
|
@@ -100,24 +94,21 @@ let le = (() => {
|
|
|
100
94
|
}
|
|
101
95
|
/** Resets the form in which the stepper is nested or every form of each step, if any. */
|
|
102
96
|
reset() {
|
|
103
|
-
var t, s, n;
|
|
104
97
|
const e = this.closest("form");
|
|
105
|
-
e ? e.reset() : this.querySelectorAll("form").forEach((
|
|
98
|
+
e ? e.reset() : this.querySelectorAll("form").forEach((t) => t.reset()), this.selectedIndex = 0, document.activeElement?.closest("sbb-stepper") === this && this.selected?.label?.focus();
|
|
106
99
|
}
|
|
107
100
|
_isValidStep(e) {
|
|
108
|
-
|
|
109
|
-
if (!e || !this.linear && ((t = e.label) != null && t.hasAttribute("disabled")))
|
|
101
|
+
if (!e || !this.linear && e.label?.hasAttribute("disabled"))
|
|
110
102
|
return !1;
|
|
111
103
|
if (this.linear && !this.selected)
|
|
112
104
|
return e === this.steps[0];
|
|
113
105
|
if (this.linear && this.selectedIndex !== null) {
|
|
114
|
-
const
|
|
115
|
-
return
|
|
106
|
+
const t = this.steps.indexOf(e);
|
|
107
|
+
return t < this.selectedIndex || t === this.selectedIndex + 1;
|
|
116
108
|
}
|
|
117
109
|
return !0;
|
|
118
110
|
}
|
|
119
111
|
_select(e) {
|
|
120
|
-
var n, m, M;
|
|
121
112
|
if (!this._isValidStep(e))
|
|
122
113
|
return;
|
|
123
114
|
const t = {
|
|
@@ -128,8 +119,7 @@ let le = (() => {
|
|
|
128
119
|
};
|
|
129
120
|
if (this.selected && !this.selected.validate(t))
|
|
130
121
|
return;
|
|
131
|
-
|
|
132
|
-
s == null || s.deselect(), e.select(), this._setMarkerSize(), this._setStepperHeight(e), this._configureLinearMode(), ((n = document.activeElement) == null ? void 0 : n.closest("sbb-stepper")) === this && ((M = (m = this.selected) == null ? void 0 : m.label) == null || M.focus());
|
|
122
|
+
this.selected?.deselect(), e.select(), this._setMarkerSize(), this._setStepperHeight(e), this._configureLinearMode(), document.activeElement?.closest("sbb-stepper") === this && this.selected?.label?.focus();
|
|
133
123
|
}
|
|
134
124
|
_setMarkerSize() {
|
|
135
125
|
if (!this._loaded || !this.selected || this.selectedIndex === void 0 || !this.selected.label)
|
|
@@ -141,10 +131,9 @@ let le = (() => {
|
|
|
141
131
|
* Sets the stepper height based on the height of the provided step.
|
|
142
132
|
*/
|
|
143
133
|
_setStepperHeight(e) {
|
|
144
|
-
var t;
|
|
145
134
|
if (e && e.shadowRoot) {
|
|
146
|
-
const
|
|
147
|
-
|
|
135
|
+
const t = e.shadowRoot.querySelector(".sbb-step");
|
|
136
|
+
t && this.style?.setProperty("--sbb-stepper-content-height", `${t.offsetHeight}px`);
|
|
148
137
|
}
|
|
149
138
|
}
|
|
150
139
|
_calculateLabelOffsetTop() {
|
|
@@ -163,23 +152,21 @@ let le = (() => {
|
|
|
163
152
|
}
|
|
164
153
|
_configure() {
|
|
165
154
|
const e = this.steps;
|
|
166
|
-
e.forEach((t) => t.configure(this._loaded)), e.filter((t) => t.label).map((t) => t.label).forEach((t,
|
|
167
|
-
t.configure(
|
|
155
|
+
e.forEach((t) => t.configure(this._loaded)), e.filter((t) => t.label).map((t) => t.label).forEach((t, i, g) => {
|
|
156
|
+
t.configure(i + 1, g.length, this._loaded);
|
|
168
157
|
}), this._select(this.selected || this._enabledSteps[0]), this._proxySize();
|
|
169
158
|
}
|
|
170
159
|
_updateLabels() {
|
|
171
160
|
this.steps.forEach((e) => {
|
|
172
|
-
|
|
173
|
-
e.slot = this.orientation === "horizontal" ? "step" : "step-label", e.setAttribute("data-orientation", this.orientation), (t = e.label) == null || t.setAttribute("data-orientation", this.orientation);
|
|
161
|
+
e.slot = this.orientation === "horizontal" ? "step" : "step-label", e.setAttribute("data-orientation", this.orientation), e.label?.setAttribute("data-orientation", this.orientation);
|
|
174
162
|
});
|
|
175
163
|
}
|
|
176
164
|
_checkOrientation() {
|
|
177
|
-
this.horizontalFrom && (this.orientation =
|
|
165
|
+
this.horizontalFrom && (this.orientation = P(this.horizontalFrom) ? "horizontal" : "vertical", this._updateLabels()), setTimeout(() => this._setMarkerSize(), 0);
|
|
178
166
|
}
|
|
179
167
|
_configureLinearMode() {
|
|
180
168
|
this.steps.forEach((e, t) => {
|
|
181
|
-
|
|
182
|
-
(s = e.label) == null || s.toggleAttribute("disabled", this.linear && t > this.selectedIndex || !this.linear && e.label.hasAttribute("data-disabled"));
|
|
169
|
+
e.label?.toggleAttribute("disabled", this.linear && t > this.selectedIndex || !this.linear && e.label.hasAttribute("data-disabled"));
|
|
183
170
|
});
|
|
184
171
|
}
|
|
185
172
|
connectedCallback() {
|
|
@@ -191,27 +178,26 @@ let le = (() => {
|
|
|
191
178
|
super.disconnectedCallback(), window.removeEventListener("resize", this._onStepperResize);
|
|
192
179
|
}
|
|
193
180
|
async firstUpdated(e) {
|
|
194
|
-
super.firstUpdated(e), await this.updateComplete, this._loaded = !0, this.selectedIndex = this.linear ? 0 : Number(this.getAttribute("selected-index")) || 0, this._observer.observe(this), this._checkOrientation(), setTimeout(() => this.toggleAttribute("data-disable-animation", !1),
|
|
181
|
+
super.firstUpdated(e), await this.updateComplete, this._loaded = !0, this.selectedIndex = this.linear ? 0 : Number(this.getAttribute("selected-index")) || 0, this._observer.observe(this), this._checkOrientation(), setTimeout(() => this.toggleAttribute("data-disable-animation", !1), C);
|
|
195
182
|
}
|
|
196
183
|
willUpdate(e) {
|
|
197
184
|
super.willUpdate(e), e.has("orientation") && !this.horizontalFrom && (this._updateLabels(), this._setMarkerSize()), e.has("linear") && this._loaded && this._configureLinearMode(), e.has("size") && (this._proxySize(), this._setMarkerSize());
|
|
198
185
|
}
|
|
199
186
|
_proxySize() {
|
|
200
187
|
this.steps.forEach((e) => {
|
|
201
|
-
|
|
202
|
-
(t = e.label) == null || t.setAttribute("data-size", this.size);
|
|
188
|
+
e.label?.setAttribute("data-size", this.size);
|
|
203
189
|
});
|
|
204
190
|
}
|
|
205
191
|
_handleKeyDown(e) {
|
|
206
192
|
const t = this._enabledSteps;
|
|
207
193
|
if (!(!t || // don't trap nested handling
|
|
208
|
-
e.target !== this && e.target.parentElement !== this) &&
|
|
209
|
-
const
|
|
210
|
-
this._select(t[
|
|
194
|
+
e.target !== this && e.target.parentElement !== this) && B(e)) {
|
|
195
|
+
const i = t.indexOf(this.selected), g = N(e, i, t.length);
|
|
196
|
+
this._select(t[g]), e.preventDefault();
|
|
211
197
|
}
|
|
212
198
|
}
|
|
213
199
|
render() {
|
|
214
|
-
return
|
|
200
|
+
return U`
|
|
215
201
|
<div class="sbb-stepper">
|
|
216
202
|
<div class="sbb-stepper__labels" role="tablist">
|
|
217
203
|
<slot name="step-label" @slotchange=${this._configure}></slot>
|
|
@@ -222,23 +208,23 @@ let le = (() => {
|
|
|
222
208
|
</div>
|
|
223
209
|
`;
|
|
224
210
|
}
|
|
225
|
-
},
|
|
226
|
-
const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(
|
|
227
|
-
|
|
228
|
-
t.linear =
|
|
229
|
-
} }, metadata: e },
|
|
230
|
-
t.horizontalFrom =
|
|
231
|
-
} }, metadata: e }, null,
|
|
232
|
-
t.orientation =
|
|
233
|
-
} }, metadata: e },
|
|
234
|
-
t.size =
|
|
235
|
-
} }, metadata: e },
|
|
236
|
-
t.selected =
|
|
237
|
-
} }, metadata: e }, null,
|
|
238
|
-
t.selectedIndex =
|
|
239
|
-
} }, metadata: e }, null,
|
|
240
|
-
})(), l.styles =
|
|
211
|
+
}, c = new WeakMap(), b = new WeakMap(), p = new WeakMap(), n = l, (() => {
|
|
212
|
+
const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(z[Symbol.metadata] ?? null) : void 0;
|
|
213
|
+
x = [$(), u({ type: Boolean })], S = [u({ attribute: "horizontal-from", reflect: !0 })], y = [u({ reflect: !0 })], E = [u({ reflect: !0 })], L = [u({ attribute: !1 })], O = [u({ attribute: "selected-index", type: Number })], h(l, null, x, { kind: "accessor", name: "linear", static: !1, private: !1, access: { has: (t) => "linear" in t, get: (t) => t.linear, set: (t, i) => {
|
|
214
|
+
t.linear = i;
|
|
215
|
+
} }, metadata: e }, v, k), h(l, null, S, { kind: "setter", name: "horizontalFrom", static: !1, private: !1, access: { has: (t) => "horizontalFrom" in t, set: (t, i) => {
|
|
216
|
+
t.horizontalFrom = i;
|
|
217
|
+
} }, metadata: e }, null, _), h(l, null, y, { kind: "accessor", name: "orientation", static: !1, private: !1, access: { has: (t) => "orientation" in t, get: (t) => t.orientation, set: (t, i) => {
|
|
218
|
+
t.orientation = i;
|
|
219
|
+
} }, metadata: e }, I, w), h(l, null, E, { kind: "accessor", name: "size", static: !1, private: !1, access: { has: (t) => "size" in t, get: (t) => t.size, set: (t, i) => {
|
|
220
|
+
t.size = i;
|
|
221
|
+
} }, metadata: e }, A, F), h(l, null, L, { kind: "setter", name: "selected", static: !1, private: !1, access: { has: (t) => "selected" in t, set: (t, i) => {
|
|
222
|
+
t.selected = i;
|
|
223
|
+
} }, metadata: e }, null, _), h(l, null, O, { kind: "setter", name: "selectedIndex", static: !1, private: !1, access: { has: (t) => "selectedIndex" in t, set: (t, i) => {
|
|
224
|
+
t.selectedIndex = i;
|
|
225
|
+
} }, metadata: e }, null, _), h(null, r = { value: n }, s, { kind: "class", name: n.name, metadata: e }, null, a), n = r.value, e && Object.defineProperty(n, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: e });
|
|
226
|
+
})(), l.styles = W, o(n, a), n;
|
|
241
227
|
})();
|
|
242
228
|
export {
|
|
243
|
-
|
|
229
|
+
re as SbbStepperElement
|
|
244
230
|
};
|
|
@@ -2,20 +2,19 @@ var h = (t) => {
|
|
|
2
2
|
throw TypeError(t);
|
|
3
3
|
};
|
|
4
4
|
var d = (t, s, l) => s.has(t) || h("Cannot " + l);
|
|
5
|
-
var p = (t, s, l) => (d(t, s, "read from private field"), l ? l.call(t) : s.get(t)), m = (t, s, l) => s.has(t) ? h("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(t) : s.set(t, l), v = (t, s, l,
|
|
5
|
+
var p = (t, s, l) => (d(t, s, "read from private field"), l ? l.call(t) : s.get(t)), m = (t, s, l) => s.has(t) ? h("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(t) : s.set(t, l), v = (t, s, l, a) => (d(t, s, "write to private field"), a ? a.call(t, l) : s.set(t, l), l);
|
|
6
6
|
import { __esDecorate as _, __runInitializers as c } from "tslib";
|
|
7
7
|
import { ResizeController as S } from "@lit-labs/observers/resize-controller.js";
|
|
8
8
|
import { css as w, LitElement as y, isServer as g, html as x } from "lit";
|
|
9
9
|
import { customElement as L, property as z } from "lit/decorators.js";
|
|
10
10
|
import { forceType as C } from "../../core/decorators.js";
|
|
11
11
|
import { SbbNegativeMixin as O } from "../../core/mixins.js";
|
|
12
|
-
const E = w`*,:before,:after{box-sizing:border-box}:host{display:block;overflow:auto}:host(:
|
|
12
|
+
const E = w`*,:before,:after{box-sizing:border-box}:host{display:block;overflow:auto}:host(:focus-visible){outline-offset:var(--sbb-focus-outline-offset);outline:var(--sbb-focus-outline-color) var(--sbb-focus-outline-style, solid) var(--sbb-focus-outline-width)}::slotted(.sbb-table){width:100%}`;
|
|
13
13
|
let B = (() => {
|
|
14
|
-
var o,
|
|
15
|
-
let t = [L("sbb-table-wrapper")], s, l = [],
|
|
16
|
-
return
|
|
14
|
+
var o, i;
|
|
15
|
+
let t = [L("sbb-table-wrapper")], s, l = [], a, b = O(y), n, f = [], u = [];
|
|
16
|
+
return i = class extends b {
|
|
17
17
|
constructor() {
|
|
18
|
-
var a;
|
|
19
18
|
super();
|
|
20
19
|
m(this, o, c(this, f, !1));
|
|
21
20
|
c(this, u);
|
|
@@ -23,7 +22,7 @@ let B = (() => {
|
|
|
23
22
|
e.role = "section", this.addController(new S(this, {
|
|
24
23
|
skipInitial: !0,
|
|
25
24
|
callback: () => this._checkHorizontalScrollbarOffset()
|
|
26
|
-
})),
|
|
25
|
+
})), this.addEventListener?.("scroll", () => this._checkHorizontalScrollbarOffset(), {
|
|
27
26
|
passive: !0
|
|
28
27
|
});
|
|
29
28
|
}
|
|
@@ -54,18 +53,18 @@ let B = (() => {
|
|
|
54
53
|
_calculateScrollOffset() {
|
|
55
54
|
if (this.scrollWidth === this.offsetWidth)
|
|
56
55
|
return "none";
|
|
57
|
-
const e = this.scrollLeft === 0,
|
|
58
|
-
return e ?
|
|
56
|
+
const e = this.scrollLeft === 0, r = this.scrollWidth - this.scrollLeft - this.offsetWidth <= 1;
|
|
57
|
+
return e ? r ? "none" : "right" : r ? "left" : "both";
|
|
59
58
|
}
|
|
60
59
|
render() {
|
|
61
60
|
return x`<slot></slot>`;
|
|
62
61
|
}
|
|
63
|
-
}, o = new WeakMap(),
|
|
62
|
+
}, o = new WeakMap(), a = i, (() => {
|
|
64
63
|
const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(b[Symbol.metadata] ?? null) : void 0;
|
|
65
|
-
n = [C(), z({ reflect: !0, type: Boolean })], _(
|
|
66
|
-
|
|
67
|
-
} }, metadata: e }, f, u), _(null, s = { value:
|
|
68
|
-
})(),
|
|
64
|
+
n = [C(), z({ reflect: !0, type: Boolean })], _(i, null, n, { kind: "accessor", name: "focusable", static: !1, private: !1, access: { has: (r) => "focusable" in r, get: (r) => r.focusable, set: (r, k) => {
|
|
65
|
+
r.focusable = k;
|
|
66
|
+
} }, metadata: e }, f, u), _(null, s = { value: a }, t, { kind: "class", name: a.name, metadata: e }, null, l), a = s.value, e && Object.defineProperty(a, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: e });
|
|
67
|
+
})(), i.styles = E, c(a, l), a;
|
|
69
68
|
})();
|
|
70
69
|
export {
|
|
71
70
|
B as SbbTableWrapperElement
|
package/table.css
CHANGED
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
.sbb-table-xs {
|
|
20
20
|
--sbb-table-border: var(--sbb-border-width-1x) solid var(--sbb-table-border-color);
|
|
21
21
|
--sbb-table-border-color: var(--sbb-color-cloud);
|
|
22
|
-
--sbb-table-border-radius: var(--sbb-border-radius-4x);
|
|
23
22
|
--sbb-table-background-color: var(--sbb-color-white);
|
|
24
23
|
--sbb-table-row-striped-color: var(--sbb-color-milk);
|
|
25
24
|
--sbb-table-color: inherit;
|
|
@@ -45,18 +44,6 @@
|
|
|
45
44
|
.sbb-table-xs thead > tr:first-of-type > th {
|
|
46
45
|
border-block-start: var(--sbb-table-border);
|
|
47
46
|
}
|
|
48
|
-
.sbb-table thead > tr:first-of-type > th:first-of-type,
|
|
49
|
-
.sbb-table-m thead > tr:first-of-type > th:first-of-type,
|
|
50
|
-
.sbb-table-s thead > tr:first-of-type > th:first-of-type,
|
|
51
|
-
.sbb-table-xs thead > tr:first-of-type > th:first-of-type {
|
|
52
|
-
border-start-start-radius: var(--sbb-table-border-radius);
|
|
53
|
-
}
|
|
54
|
-
.sbb-table thead > tr:first-of-type > th:last-of-type,
|
|
55
|
-
.sbb-table-m thead > tr:first-of-type > th:last-of-type,
|
|
56
|
-
.sbb-table-s thead > tr:first-of-type > th:last-of-type,
|
|
57
|
-
.sbb-table-xs thead > tr:first-of-type > th:last-of-type {
|
|
58
|
-
border-start-end-radius: var(--sbb-table-border-radius);
|
|
59
|
-
}
|
|
60
47
|
.sbb-table thead > tr > th,
|
|
61
48
|
.sbb-table-m thead > tr > th,
|
|
62
49
|
.sbb-table-s thead > tr > th,
|
|
@@ -102,18 +89,6 @@
|
|
|
102
89
|
.sbb-table-xs tbody > tr > td:first-of-type {
|
|
103
90
|
border-inline-start: var(--sbb-table-border);
|
|
104
91
|
}
|
|
105
|
-
.sbb-table tbody > tr:last-of-type > td:first-of-type,
|
|
106
|
-
.sbb-table-m tbody > tr:last-of-type > td:first-of-type,
|
|
107
|
-
.sbb-table-s tbody > tr:last-of-type > td:first-of-type,
|
|
108
|
-
.sbb-table-xs tbody > tr:last-of-type > td:first-of-type {
|
|
109
|
-
border-end-start-radius: var(--sbb-table-border-radius);
|
|
110
|
-
}
|
|
111
|
-
.sbb-table tbody > tr:last-of-type > td:last-of-type,
|
|
112
|
-
.sbb-table-m tbody > tr:last-of-type > td:last-of-type,
|
|
113
|
-
.sbb-table-s tbody > tr:last-of-type > td:last-of-type,
|
|
114
|
-
.sbb-table-xs tbody > tr:last-of-type > td:last-of-type {
|
|
115
|
-
border-end-end-radius: var(--sbb-table-border-radius);
|
|
116
|
-
}
|
|
117
92
|
.sbb-table caption,
|
|
118
93
|
.sbb-table-m caption,
|
|
119
94
|
.sbb-table-s caption,
|