@sbb-esta/lyne-elements 4.3.1 → 4.4.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/autocomplete/autocomplete-base-element.js +32 -21
- package/autocomplete/autocomplete.component.js +12 -12
- package/carousel/carousel/carousel.component.js +15 -15
- package/carousel/carousel-item/carousel-item.component.js +1 -1
- package/chip/chip/chip.component.js +36 -38
- package/chip/chip-group/chip-group.component.js +13 -17
- package/core/datetime/date-adapter.js +51 -17
- package/core/datetime/native-date-adapter.js +61 -86
- package/core/datetime/temporal-date-adapter.js +139 -0
- package/core/styles/core/mediaqueries.scss +1 -1
- package/core/styles/core.scss +15 -1
- package/core/styles/mixins/image.scss +7 -1
- package/core/styles/mixins/table.scss +24 -19
- package/core.css +26 -0
- package/custom-elements.json +1675 -762
- package/development/autocomplete/autocomplete-base-element.d.ts +11 -2
- package/development/autocomplete/autocomplete-base-element.d.ts.map +1 -1
- package/development/autocomplete/autocomplete-base-element.js +30 -8
- package/development/autocomplete/autocomplete.component.d.ts +0 -1
- package/development/autocomplete/autocomplete.component.d.ts.map +1 -1
- package/development/autocomplete/autocomplete.component.js +9 -7
- package/development/carousel/carousel/carousel.component.js +3 -5
- package/development/carousel/carousel-item/carousel-item.component.js +5 -1
- package/development/chip/chip/chip.component.d.ts.map +1 -1
- package/development/chip/chip/chip.component.js +28 -48
- package/development/chip/chip-group/chip-group.component.d.ts.map +1 -1
- package/development/chip/chip-group/chip-group.component.js +22 -28
- package/development/core/a11y/focus-trap-controller.js +1 -4
- package/development/core/base-elements/action-base-element.js +1 -4
- package/development/core/controllers/inert-controller.js +1 -3
- package/development/core/controllers/overlay-position-controller.js +1 -20
- package/development/core/datetime/date-adapter.d.ts +11 -3
- package/development/core/datetime/date-adapter.d.ts.map +1 -1
- package/development/core/datetime/date-adapter.js +39 -1
- package/development/core/datetime/native-date-adapter.d.ts +1 -5
- package/development/core/datetime/native-date-adapter.d.ts.map +1 -1
- package/development/core/datetime/native-date-adapter.js +8 -39
- package/{core/datetime/native-date-adapter.d.ts → development/core/datetime/temporal-date-adapter.d.ts} +23 -28
- package/development/core/datetime/temporal-date-adapter.d.ts.map +1 -0
- package/development/core/datetime/temporal-date-adapter.js +144 -0
- package/development/core/decorators/id-reference.js +1 -5
- package/development/datepicker/datepicker-toggle/datepicker-toggle.component.js +1 -5
- package/development/form-field/form-field/form-field.component.js +1 -4
- package/development/image/image.component.d.ts +0 -1
- package/development/image/image.component.d.ts.map +1 -1
- package/development/image/image.component.js +1 -15
- package/development/radio-button/common.js +1 -1
- package/development/radio-button/radio-button/radio-button.component.js +4 -3
- package/development/{radio-button-common-B3kVD7QV.js → radio-button-common-4_yg7r8b.js} +3 -2
- package/development/radio-button.js +1 -1
- package/development/select/select.component.d.ts.map +1 -1
- package/development/select/select.component.js +2 -2
- package/development/tabs/common.js +3 -2
- package/development/tabs/tab-group/tab-group.component.d.ts +6 -0
- package/development/tabs/tab-group/tab-group.component.d.ts.map +1 -1
- package/development/tabs/tab-group/tab-group.component.js +73 -5
- package/development/tabs/tab-label/tab-label.component.js +1 -7
- package/development/tag/tag-group/tag-group.component.js +1 -3
- package/development/toggle/toggle/toggle.component.js +1 -4
- package/image/image.component.js +30 -36
- package/index.d.ts +155 -156
- package/index.js +155 -155
- package/off-brand-theme.css +60 -59
- package/package.json +19 -19
- package/radio-button/common.js +1 -1
- package/radio-button/radio-button/radio-button.component.js +10 -10
- package/{radio-button-common-1Yg7p8dc.js → radio-button-common-Bf2b18jm.js} +1 -1
- package/radio-button.js +1 -1
- package/safety-theme.css +60 -59
- package/select/select.component.js +1 -1
- package/standard-theme.css +60 -59
- package/table.css +26 -58
- package/tabs/common.js +1 -1
- package/tabs/tab-group/tab-group.component.js +61 -47
- package/accordion/accordion.component.d.ts +0 -38
- package/accordion/accordion.component.d.ts.map +0 -1
- package/accordion.d.ts +0 -5
- package/accordion.d.ts.map +0 -1
- package/action-group/action-group.component.d.ts +0 -46
- package/action-group/action-group.component.d.ts.map +0 -1
- package/action-group.d.ts +0 -5
- package/action-group.d.ts.map +0 -1
- package/alert/alert/alert.component.d.ts +0 -51
- package/alert/alert/alert.component.d.ts.map +0 -1
- package/alert/alert-group/alert-group.component.d.ts +0 -39
- package/alert/alert-group/alert-group.component.d.ts.map +0 -1
- package/alert/alert-group.d.ts +0 -5
- package/alert/alert-group.d.ts.map +0 -1
- package/alert/alert.d.ts +0 -5
- package/alert/alert.d.ts.map +0 -1
- package/alert.d.ts +0 -6
- package/alert.d.ts.map +0 -1
- package/autocomplete/autocomplete-base-element.d.ts +0 -123
- package/autocomplete/autocomplete-base-element.d.ts.map +0 -1
- package/autocomplete/autocomplete.component.d.ts +0 -31
- package/autocomplete/autocomplete.component.d.ts.map +0 -1
- package/autocomplete.d.ts +0 -6
- package/autocomplete.d.ts.map +0 -1
- package/breadcrumb/breadcrumb/breadcrumb.component.d.ts +0 -20
- package/breadcrumb/breadcrumb/breadcrumb.component.d.ts.map +0 -1
- package/breadcrumb/breadcrumb-group/breadcrumb-group.component.d.ts +0 -50
- package/breadcrumb/breadcrumb-group/breadcrumb-group.component.d.ts.map +0 -1
- package/breadcrumb/breadcrumb-group.d.ts +0 -5
- package/breadcrumb/breadcrumb-group.d.ts.map +0 -1
- package/breadcrumb/breadcrumb.d.ts +0 -5
- package/breadcrumb/breadcrumb.d.ts.map +0 -1
- package/breadcrumb.d.ts +0 -6
- package/breadcrumb.d.ts.map +0 -1
- package/button/accent-button/accent-button.component.d.ts +0 -20
- package/button/accent-button/accent-button.component.d.ts.map +0 -1
- package/button/accent-button-link/accent-button-link.component.d.ts +0 -20
- package/button/accent-button-link/accent-button-link.component.d.ts.map +0 -1
- package/button/accent-button-link.d.ts +0 -5
- package/button/accent-button-link.d.ts.map +0 -1
- package/button/accent-button-static/accent-button-static.component.d.ts +0 -20
- package/button/accent-button-static/accent-button-static.component.d.ts.map +0 -1
- package/button/accent-button-static.d.ts +0 -5
- package/button/accent-button-static.d.ts.map +0 -1
- package/button/accent-button.d.ts +0 -5
- package/button/accent-button.d.ts.map +0 -1
- package/button/button/button.component.d.ts +0 -20
- package/button/button/button.component.d.ts.map +0 -1
- package/button/button-link/button-link.component.d.ts +0 -20
- package/button/button-link/button-link.component.d.ts.map +0 -1
- package/button/button-link.d.ts +0 -5
- package/button/button-link.d.ts.map +0 -1
- package/button/button-static/button-static.component.d.ts +0 -20
- package/button/button-static/button-static.component.d.ts.map +0 -1
- package/button/button-static.d.ts +0 -5
- package/button/button-static.d.ts.map +0 -1
- package/button/button.d.ts +0 -5
- package/button/button.d.ts.map +0 -1
- package/button/common/button-common.d.ts +0 -11
- package/button/common/button-common.d.ts.map +0 -1
- package/button/common.d.ts +0 -5
- package/button/common.d.ts.map +0 -1
- package/button/mini-button/mini-button.component.d.ts +0 -21
- package/button/mini-button/mini-button.component.d.ts.map +0 -1
- package/button/mini-button-group/mini-button-group.component.d.ts +0 -31
- package/button/mini-button-group/mini-button-group.component.d.ts.map +0 -1
- package/button/mini-button-group.d.ts +0 -5
- package/button/mini-button-group.d.ts.map +0 -1
- package/button/mini-button-link/mini-button-link.component.d.ts +0 -21
- package/button/mini-button-link/mini-button-link.component.d.ts.map +0 -1
- package/button/mini-button-link.d.ts +0 -5
- package/button/mini-button-link.d.ts.map +0 -1
- package/button/mini-button.d.ts +0 -5
- package/button/mini-button.d.ts.map +0 -1
- package/button/secondary-button/secondary-button.component.d.ts +0 -20
- package/button/secondary-button/secondary-button.component.d.ts.map +0 -1
- package/button/secondary-button-link/secondary-button-link.component.d.ts +0 -20
- package/button/secondary-button-link/secondary-button-link.component.d.ts.map +0 -1
- package/button/secondary-button-link.d.ts +0 -5
- package/button/secondary-button-link.d.ts.map +0 -1
- package/button/secondary-button-static/secondary-button-static.component.d.ts +0 -20
- package/button/secondary-button-static/secondary-button-static.component.d.ts.map +0 -1
- package/button/secondary-button-static.d.ts +0 -5
- package/button/secondary-button-static.d.ts.map +0 -1
- package/button/secondary-button.d.ts +0 -5
- package/button/secondary-button.d.ts.map +0 -1
- package/button/transparent-button/transparent-button.component.d.ts +0 -20
- package/button/transparent-button/transparent-button.component.d.ts.map +0 -1
- package/button/transparent-button-link/transparent-button-link.component.d.ts +0 -20
- package/button/transparent-button-link/transparent-button-link.component.d.ts.map +0 -1
- package/button/transparent-button-link.d.ts +0 -5
- package/button/transparent-button-link.d.ts.map +0 -1
- package/button/transparent-button-static/transparent-button-static.component.d.ts +0 -20
- package/button/transparent-button-static/transparent-button-static.component.d.ts.map +0 -1
- package/button/transparent-button-static.d.ts +0 -5
- package/button/transparent-button-static.d.ts.map +0 -1
- package/button/transparent-button.d.ts +0 -5
- package/button/transparent-button.d.ts.map +0 -1
- package/button.d.ts +0 -20
- package/button.d.ts.map +0 -1
- package/calendar/calendar.component.d.ts +0 -310
- package/calendar/calendar.component.d.ts.map +0 -1
- package/calendar.d.ts +0 -5
- package/calendar.d.ts.map +0 -1
- package/card/card/card.component.d.ts +0 -22
- package/card/card/card.component.d.ts.map +0 -1
- package/card/card-badge/card-badge.component.d.ts +0 -23
- package/card/card-badge/card-badge.component.d.ts.map +0 -1
- package/card/card-badge.d.ts +0 -5
- package/card/card-badge.d.ts.map +0 -1
- package/card/card-button/card-button.component.d.ts +0 -18
- package/card/card-button/card-button.component.d.ts.map +0 -1
- package/card/card-button.d.ts +0 -5
- package/card/card-button.d.ts.map +0 -1
- package/card/card-link/card-link.component.d.ts +0 -18
- package/card/card-link/card-link.component.d.ts.map +0 -1
- package/card/card-link.d.ts +0 -5
- package/card/card-link.d.ts.map +0 -1
- package/card/card.d.ts +0 -5
- package/card/card.d.ts.map +0 -1
- package/card/common/card-action-common.d.ts +0 -8
- package/card/common/card-action-common.d.ts.map +0 -1
- package/card/common.d.ts +0 -5
- package/card/common.d.ts.map +0 -1
- package/card.d.ts +0 -9
- package/card.d.ts.map +0 -1
- package/carousel/carousel/carousel.component.d.ts +0 -34
- package/carousel/carousel/carousel.component.d.ts.map +0 -1
- package/carousel/carousel-item/carousel-item.component.d.ts +0 -29
- package/carousel/carousel-item/carousel-item.component.d.ts.map +0 -1
- package/carousel/carousel-item.d.ts +0 -5
- package/carousel/carousel-item.d.ts.map +0 -1
- package/carousel/carousel-list/carousel-list.component.d.ts +0 -35
- package/carousel/carousel-list/carousel-list.component.d.ts.map +0 -1
- package/carousel/carousel-list.d.ts +0 -5
- package/carousel/carousel-list.d.ts.map +0 -1
- package/carousel/carousel.d.ts +0 -5
- package/carousel/carousel.d.ts.map +0 -1
- package/carousel.d.ts +0 -7
- package/carousel.d.ts.map +0 -1
- package/checkbox/checkbox/checkbox.component.d.ts +0 -33
- package/checkbox/checkbox/checkbox.component.d.ts.map +0 -1
- package/checkbox/checkbox-group/checkbox-group.component.d.ts +0 -39
- package/checkbox/checkbox-group/checkbox-group.component.d.ts.map +0 -1
- package/checkbox/checkbox-group.d.ts +0 -5
- package/checkbox/checkbox-group.d.ts.map +0 -1
- package/checkbox/checkbox-panel/checkbox-panel.component.d.ts +0 -27
- package/checkbox/checkbox-panel/checkbox-panel.component.d.ts.map +0 -1
- package/checkbox/checkbox-panel.d.ts +0 -5
- package/checkbox/checkbox-panel.d.ts.map +0 -1
- package/checkbox/checkbox.d.ts +0 -5
- package/checkbox/checkbox.d.ts.map +0 -1
- package/checkbox/common/checkbox-common.d.ts +0 -12
- package/checkbox/common/checkbox-common.d.ts.map +0 -1
- package/checkbox/common.d.ts +0 -5
- package/checkbox/common.d.ts.map +0 -1
- package/checkbox.d.ts +0 -8
- package/checkbox.d.ts.map +0 -1
- package/chip/chip/chip.component.d.ts +0 -30
- package/chip/chip/chip.component.d.ts.map +0 -1
- package/chip/chip-group/chip-group.component.d.ts +0 -102
- package/chip/chip-group/chip-group.component.d.ts.map +0 -1
- package/chip/chip-group.d.ts +0 -5
- package/chip/chip-group.d.ts.map +0 -1
- package/chip/chip.d.ts +0 -5
- package/chip/chip.d.ts.map +0 -1
- package/chip-label/chip-label.component.d.ts +0 -20
- package/chip-label/chip-label.component.d.ts.map +0 -1
- package/chip-label.d.ts +0 -5
- package/chip-label.d.ts.map +0 -1
- package/chip.d.ts +0 -6
- package/chip.d.ts.map +0 -1
- package/clock/clock.component.d.ts +0 -77
- package/clock/clock.component.d.ts.map +0 -1
- package/clock.d.ts +0 -5
- package/clock.d.ts.map +0 -1
- package/container/container/container.component.d.ts +0 -27
- package/container/container/container.component.d.ts.map +0 -1
- package/container/container.d.ts +0 -5
- package/container/container.d.ts.map +0 -1
- package/container/sticky-bar/sticky-bar.component.d.ts +0 -58
- package/container/sticky-bar/sticky-bar.component.d.ts.map +0 -1
- package/container/sticky-bar.d.ts +0 -5
- package/container/sticky-bar.d.ts.map +0 -1
- package/container.d.ts +0 -6
- package/container.d.ts.map +0 -1
- package/core/a11y/arrow-navigation.d.ts +0 -32
- package/core/a11y/arrow-navigation.d.ts.map +0 -1
- package/core/a11y/fake-event-detection.d.ts +0 -5
- package/core/a11y/fake-event-detection.d.ts.map +0 -1
- package/core/a11y/focus-trap-controller.d.ts +0 -35
- package/core/a11y/focus-trap-controller.d.ts.map +0 -1
- package/core/a11y/focus-visible-within-controller.d.ts +0 -11
- package/core/a11y/focus-visible-within-controller.d.ts.map +0 -1
- package/core/a11y/focus.d.ts +0 -2
- package/core/a11y/focus.d.ts.map +0 -1
- package/core/a11y/input-modality-detector.d.ts +0 -58
- package/core/a11y/input-modality-detector.d.ts.map +0 -1
- package/core/a11y/interactivity-checker.d.ts +0 -52
- package/core/a11y/interactivity-checker.d.ts.map +0 -1
- package/core/a11y/live-announcer.d.ts +0 -62
- package/core/a11y/live-announcer.d.ts.map +0 -1
- package/core/a11y.d.ts +0 -12
- package/core/a11y.d.ts.map +0 -1
- package/core/base-elements/action-base-element.d.ts +0 -15
- package/core/base-elements/action-base-element.d.ts.map +0 -1
- package/core/base-elements/button-base-element.d.ts +0 -66
- package/core/base-elements/button-base-element.d.ts.map +0 -1
- package/core/base-elements/link-base-element.d.ts +0 -34
- package/core/base-elements/link-base-element.d.ts.map +0 -1
- package/core/base-elements/open-close-base-element.d.ts +0 -41
- package/core/base-elements/open-close-base-element.d.ts.map +0 -1
- package/core/base-elements.d.ts +0 -8
- package/core/base-elements.d.ts.map +0 -1
- package/core/config/config.d.ts +0 -40
- package/core/config/config.d.ts.map +0 -1
- package/core/config.d.ts +0 -5
- package/core/config.d.ts.map +0 -1
- package/core/controllers/escapable-overlay-controller.d.ts +0 -14
- package/core/controllers/escapable-overlay-controller.d.ts.map +0 -1
- package/core/controllers/id-reference-controller.d.ts +0 -21
- package/core/controllers/id-reference-controller.d.ts.map +0 -1
- package/core/controllers/inert-controller.d.ts +0 -27
- package/core/controllers/inert-controller.d.ts.map +0 -1
- package/core/controllers/language-controller.d.ts +0 -32
- package/core/controllers/language-controller.d.ts.map +0 -1
- package/core/controllers/media-matchers-controller.d.ts +0 -65
- package/core/controllers/media-matchers-controller.d.ts.map +0 -1
- package/core/controllers/overlay-position-controller.d.ts +0 -61
- package/core/controllers/overlay-position-controller.d.ts.map +0 -1
- package/core/controllers/property-watcher-controller.d.ts +0 -16
- package/core/controllers/property-watcher-controller.d.ts.map +0 -1
- package/core/controllers/slot-state-controller.d.ts +0 -45
- package/core/controllers/slot-state-controller.d.ts.map +0 -1
- package/core/controllers.d.ts +0 -12
- package/core/controllers.d.ts.map +0 -1
- package/core/datetime/date-adapter.d.ts +0 -173
- package/core/datetime/date-adapter.d.ts.map +0 -1
- package/core/datetime/native-date-adapter.d.ts.map +0 -1
- package/core/datetime.d.ts +0 -6
- package/core/datetime.d.ts.map +0 -1
- package/core/decorators/base.d.ts +0 -14
- package/core/decorators/base.d.ts.map +0 -1
- package/core/decorators/force-type.d.ts +0 -8
- package/core/decorators/force-type.d.ts.map +0 -1
- package/core/decorators/get-override.d.ts +0 -7
- package/core/decorators/get-override.d.ts.map +0 -1
- package/core/decorators/handle-distinct-change.d.ts +0 -8
- package/core/decorators/handle-distinct-change.d.ts.map +0 -1
- package/core/decorators/host-attributes.d.ts +0 -21
- package/core/decorators/host-attributes.d.ts.map +0 -1
- package/core/decorators/id-reference.d.ts +0 -11
- package/core/decorators/id-reference.d.ts.map +0 -1
- package/core/decorators/omit-empty-converter.d.ts +0 -8
- package/core/decorators/omit-empty-converter.d.ts.map +0 -1
- package/core/decorators/plain-date.d.ts +0 -23
- package/core/decorators/plain-date.d.ts.map +0 -1
- package/core/decorators.d.ts +0 -11
- package/core/decorators.d.ts.map +0 -1
- package/core/dom/animation.d.ts +0 -2
- package/core/dom/animation.d.ts.map +0 -1
- package/core/dom/contains-pierce-shadow-dom.d.ts +0 -3
- package/core/dom/contains-pierce-shadow-dom.d.ts.map +0 -1
- package/core/dom/lean-context.d.ts +0 -5
- package/core/dom/lean-context.d.ts.map +0 -1
- package/core/dom/platform.d.ts +0 -28
- package/core/dom/platform.d.ts.map +0 -1
- package/core/dom/queue-dom-content-loaded.d.ts +0 -5
- package/core/dom/queue-dom-content-loaded.d.ts.map +0 -1
- package/core/dom/scroll.d.ts +0 -14
- package/core/dom/scroll.d.ts.map +0 -1
- package/core/dom/set-or-remove-attribute.d.ts +0 -8
- package/core/dom/set-or-remove-attribute.d.ts.map +0 -1
- package/core/dom.d.ts +0 -11
- package/core/dom.d.ts.map +0 -1
- package/core/eventing/composed-path-has-attribute.d.ts +0 -10
- package/core/eventing/composed-path-has-attribute.d.ts.map +0 -1
- package/core/eventing/event-target.d.ts +0 -3
- package/core/eventing/event-target.d.ts.map +0 -1
- package/core/eventing/form-element-handlers.d.ts +0 -6
- package/core/eventing/form-element-handlers.d.ts.map +0 -1
- package/core/eventing/forward-event.d.ts +0 -6
- package/core/eventing/forward-event.d.ts.map +0 -1
- package/core/eventing/is-event-prevented.d.ts +0 -3
- package/core/eventing/is-event-prevented.d.ts.map +0 -1
- package/core/eventing/throttle.d.ts +0 -2
- package/core/eventing/throttle.d.ts.map +0 -1
- package/core/eventing.d.ts +0 -10
- package/core/eventing.d.ts.map +0 -1
- package/core/i18n/i18n.d.ts +0 -103
- package/core/i18n/i18n.d.ts.map +0 -1
- package/core/i18n.d.ts +0 -5
- package/core/i18n.d.ts.map +0 -1
- package/core/images.d.ts +0 -7
- package/core/images.d.ts.map +0 -1
- package/core/interfaces/overlay-close-details.d.ts +0 -6
- package/core/interfaces/overlay-close-details.d.ts.map +0 -1
- package/core/interfaces/paginator-page.d.ts +0 -7
- package/core/interfaces/paginator-page.d.ts.map +0 -1
- package/core/interfaces/types.d.ts +0 -9
- package/core/interfaces/types.d.ts.map +0 -1
- package/core/interfaces.d.ts +0 -7
- package/core/interfaces.d.ts.map +0 -1
- package/core/mixins/animation-complete-mixin.d.ts +0 -13
- package/core/mixins/animation-complete-mixin.d.ts.map +0 -1
- package/core/mixins/constructor.d.ts +0 -8
- package/core/mixins/constructor.d.ts.map +0 -1
- package/core/mixins/disabled-mixin.d.ts +0 -20
- package/core/mixins/disabled-mixin.d.ts.map +0 -1
- package/core/mixins/element-internals-mixin.d.ts +0 -49
- package/core/mixins/element-internals-mixin.d.ts.map +0 -1
- package/core/mixins/form-associated-checkbox-mixin.d.ts +0 -20
- package/core/mixins/form-associated-checkbox-mixin.d.ts.map +0 -1
- package/core/mixins/form-associated-input-mixin.d.ts +0 -32
- package/core/mixins/form-associated-input-mixin.d.ts.map +0 -1
- package/core/mixins/form-associated-mixin.d.ts +0 -53
- package/core/mixins/form-associated-mixin.d.ts.map +0 -1
- package/core/mixins/form-associated-radio-button-mixin.d.ts +0 -28
- package/core/mixins/form-associated-radio-button-mixin.d.ts.map +0 -1
- package/core/mixins/hydration-mixin.d.ts +0 -23
- package/core/mixins/hydration-mixin.d.ts.map +0 -1
- package/core/mixins/named-slot-list-mixin.d.ts +0 -36
- package/core/mixins/named-slot-list-mixin.d.ts.map +0 -1
- package/core/mixins/negative-mixin.d.ts +0 -10
- package/core/mixins/negative-mixin.d.ts.map +0 -1
- package/core/mixins/panel-mixin.d.ts +0 -21
- package/core/mixins/panel-mixin.d.ts.map +0 -1
- package/core/mixins/readonly-mixin.d.ts +0 -10
- package/core/mixins/readonly-mixin.d.ts.map +0 -1
- package/core/mixins/required-mixin.d.ts +0 -12
- package/core/mixins/required-mixin.d.ts.map +0 -1
- package/core/mixins/selection-panel-mixin.d.ts +0 -17
- package/core/mixins/selection-panel-mixin.d.ts.map +0 -1
- package/core/mixins/update-scheduler-mixin.d.ts +0 -13
- package/core/mixins/update-scheduler-mixin.d.ts.map +0 -1
- package/core/mixins.d.ts +0 -20
- package/core/mixins.d.ts.map +0 -1
- package/core/overlay/overlay-option-panel.d.ts +0 -12
- package/core/overlay/overlay-option-panel.d.ts.map +0 -1
- package/core/overlay/overlay-outside-pointer-event-listener.d.ts +0 -26
- package/core/overlay/overlay-outside-pointer-event-listener.d.ts.map +0 -1
- package/core/overlay/overlay-trigger-attributes.d.ts +0 -18
- package/core/overlay/overlay-trigger-attributes.d.ts.map +0 -1
- package/core/overlay/overlay.d.ts +0 -7
- package/core/overlay/overlay.d.ts.map +0 -1
- package/core/overlay/position.d.ts +0 -63
- package/core/overlay/position.d.ts.map +0 -1
- package/core/overlay.d.ts +0 -9
- package/core/overlay.d.ts.map +0 -1
- package/core/styles.d.ts +0 -4
- package/core/styles.d.ts.map +0 -1
- package/core/testing/event-spy.d.ts +0 -22
- package/core/testing/event-spy.d.ts.map +0 -1
- package/core/testing/mocha-extensions.d.ts +0 -10
- package/core/testing/mocha-extensions.d.ts.map +0 -1
- package/core/testing/wait-for-condition.d.ts +0 -2
- package/core/testing/wait-for-condition.d.ts.map +0 -1
- package/core/testing/wait-for-image-ready.d.ts +0 -3
- package/core/testing/wait-for-image-ready.d.ts.map +0 -1
- package/core/testing/wait-for-render.d.ts +0 -17
- package/core/testing/wait-for-render.d.ts.map +0 -1
- package/core/testing.d.ts +0 -9
- package/core/testing.d.ts.map +0 -1
- package/date-input/date-input.component.d.ts +0 -88
- package/date-input/date-input.component.d.ts.map +0 -1
- package/date-input.d.ts +0 -5
- package/date-input.d.ts.map +0 -1
- package/datepicker/common/datepicker-button.d.ts +0 -42
- package/datepicker/common/datepicker-button.d.ts.map +0 -1
- package/datepicker/common.d.ts +0 -5
- package/datepicker/common.d.ts.map +0 -1
- package/datepicker/datepicker/datepicker.component.d.ts +0 -41
- package/datepicker/datepicker/datepicker.component.d.ts.map +0 -1
- package/datepicker/datepicker-next-day/datepicker-next-day.component.d.ts +0 -19
- package/datepicker/datepicker-next-day/datepicker-next-day.component.d.ts.map +0 -1
- package/datepicker/datepicker-next-day.d.ts +0 -5
- package/datepicker/datepicker-next-day.d.ts.map +0 -1
- package/datepicker/datepicker-previous-day/datepicker-previous-day.component.d.ts +0 -19
- package/datepicker/datepicker-previous-day/datepicker-previous-day.component.d.ts.map +0 -1
- package/datepicker/datepicker-previous-day.d.ts +0 -5
- package/datepicker/datepicker-previous-day.d.ts.map +0 -1
- package/datepicker/datepicker-toggle/datepicker-toggle.component.d.ts +0 -21
- package/datepicker/datepicker-toggle/datepicker-toggle.component.d.ts.map +0 -1
- package/datepicker/datepicker-toggle.d.ts +0 -5
- package/datepicker/datepicker-toggle.d.ts.map +0 -1
- package/datepicker/datepicker.d.ts +0 -5
- package/datepicker/datepicker.d.ts.map +0 -1
- package/datepicker.d.ts +0 -9
- package/datepicker.d.ts.map +0 -1
- package/dialog/dialog/dialog.component.d.ts +0 -51
- package/dialog/dialog/dialog.component.d.ts.map +0 -1
- package/dialog/dialog-actions/dialog-actions.component.d.ts +0 -17
- package/dialog/dialog-actions/dialog-actions.component.d.ts.map +0 -1
- package/dialog/dialog-actions.d.ts +0 -5
- package/dialog/dialog-actions.d.ts.map +0 -1
- package/dialog/dialog-close-button/dialog-close-button.component.d.ts +0 -22
- package/dialog/dialog-close-button/dialog-close-button.component.d.ts.map +0 -1
- package/dialog/dialog-close-button.d.ts +0 -5
- package/dialog/dialog-close-button.d.ts.map +0 -1
- package/dialog/dialog-content/dialog-content.component.d.ts +0 -17
- package/dialog/dialog-content/dialog-content.component.d.ts.map +0 -1
- package/dialog/dialog-content.d.ts +0 -5
- package/dialog/dialog-content.d.ts.map +0 -1
- package/dialog/dialog-title/dialog-title.component.d.ts +0 -19
- package/dialog/dialog-title/dialog-title.component.d.ts.map +0 -1
- package/dialog/dialog-title.d.ts +0 -5
- package/dialog/dialog-title.d.ts.map +0 -1
- package/dialog/dialog.d.ts +0 -5
- package/dialog/dialog.d.ts.map +0 -1
- package/dialog.d.ts +0 -9
- package/dialog.d.ts.map +0 -1
- package/divider/divider.component.d.ts +0 -21
- package/divider/divider.component.d.ts.map +0 -1
- package/divider.d.ts +0 -5
- package/divider.d.ts.map +0 -1
- package/expansion-panel/expansion-panel/expansion-panel.component.d.ts +0 -64
- package/expansion-panel/expansion-panel/expansion-panel.component.d.ts.map +0 -1
- package/expansion-panel/expansion-panel-content/expansion-panel-content.component.d.ts +0 -22
- package/expansion-panel/expansion-panel-content/expansion-panel-content.component.d.ts.map +0 -1
- package/expansion-panel/expansion-panel-content.d.ts +0 -5
- package/expansion-panel/expansion-panel-content.d.ts.map +0 -1
- package/expansion-panel/expansion-panel-header/expansion-panel-header.component.d.ts +0 -36
- package/expansion-panel/expansion-panel-header/expansion-panel-header.component.d.ts.map +0 -1
- package/expansion-panel/expansion-panel-header.d.ts +0 -5
- package/expansion-panel/expansion-panel-header.d.ts.map +0 -1
- package/expansion-panel/expansion-panel.d.ts +0 -5
- package/expansion-panel/expansion-panel.d.ts.map +0 -1
- package/expansion-panel.d.ts +0 -7
- package/expansion-panel.d.ts.map +0 -1
- package/file-selector/common/file-selector-common.d.ts +0 -25
- package/file-selector/common/file-selector-common.d.ts.map +0 -1
- package/file-selector/common.d.ts +0 -5
- package/file-selector/common.d.ts.map +0 -1
- package/file-selector/file-selector/file-selector.component.d.ts +0 -21
- package/file-selector/file-selector/file-selector.component.d.ts.map +0 -1
- package/file-selector/file-selector-dropzone/file-selector-dropzone.component.d.ts +0 -23
- package/file-selector/file-selector-dropzone/file-selector-dropzone.component.d.ts.map +0 -1
- package/file-selector/file-selector-dropzone.d.ts +0 -5
- package/file-selector/file-selector-dropzone.d.ts.map +0 -1
- package/file-selector/file-selector.d.ts +0 -5
- package/file-selector/file-selector.d.ts.map +0 -1
- package/file-selector.d.ts +0 -7
- package/file-selector.d.ts.map +0 -1
- package/flip-card/flip-card/flip-card.component.d.ts +0 -47
- package/flip-card/flip-card/flip-card.component.d.ts.map +0 -1
- package/flip-card/flip-card-details/flip-card-details.component.d.ts +0 -21
- package/flip-card/flip-card-details/flip-card-details.component.d.ts.map +0 -1
- package/flip-card/flip-card-details.d.ts +0 -5
- package/flip-card/flip-card-details.d.ts.map +0 -1
- package/flip-card/flip-card-summary/flip-card-summary.component.d.ts +0 -21
- package/flip-card/flip-card-summary/flip-card-summary.component.d.ts.map +0 -1
- package/flip-card/flip-card-summary.d.ts +0 -5
- package/flip-card/flip-card-summary.d.ts.map +0 -1
- package/flip-card/flip-card.d.ts +0 -5
- package/flip-card/flip-card.d.ts.map +0 -1
- package/flip-card.d.ts +0 -7
- package/flip-card.d.ts.map +0 -1
- package/footer/footer.component.d.ts +0 -34
- package/footer/footer.component.d.ts.map +0 -1
- package/footer.d.ts +0 -5
- package/footer.d.ts.map +0 -1
- package/form-field/error/error.component.d.ts +0 -20
- package/form-field/error/error.component.d.ts.map +0 -1
- package/form-field/error.d.ts +0 -5
- package/form-field/error.d.ts.map +0 -1
- package/form-field/form-field/form-field.component.d.ts +0 -125
- package/form-field/form-field/form-field.component.d.ts.map +0 -1
- package/form-field/form-field-clear/form-field-clear.component.d.ts +0 -23
- package/form-field/form-field-clear/form-field-clear.component.d.ts.map +0 -1
- package/form-field/form-field-clear.d.ts +0 -5
- package/form-field/form-field-clear.d.ts.map +0 -1
- package/form-field/form-field.d.ts +0 -5
- package/form-field/form-field.d.ts.map +0 -1
- package/form-field.d.ts +0 -7
- package/form-field.d.ts.map +0 -1
- package/header/common/header-action-common.d.ts +0 -10
- package/header/common/header-action-common.d.ts.map +0 -1
- package/header/common.d.ts +0 -5
- package/header/common.d.ts.map +0 -1
- package/header/header/header.component.d.ts +0 -65
- package/header/header/header.component.d.ts.map +0 -1
- package/header/header-button/header-button.component.d.ts +0 -17
- package/header/header-button/header-button.component.d.ts.map +0 -1
- package/header/header-button.d.ts +0 -5
- package/header/header-button.d.ts.map +0 -1
- package/header/header-environment/header-environment.component.d.ts +0 -24
- package/header/header-environment/header-environment.component.d.ts.map +0 -1
- package/header/header-environment.d.ts +0 -5
- package/header/header-environment.d.ts.map +0 -1
- package/header/header-link/header-link.component.d.ts +0 -17
- package/header/header-link/header-link.component.d.ts.map +0 -1
- package/header/header-link.d.ts +0 -5
- package/header/header-link.d.ts.map +0 -1
- package/header/header.d.ts +0 -5
- package/header/header.d.ts.map +0 -1
- package/header.d.ts +0 -8
- package/header.d.ts.map +0 -1
- package/icon/icon-base.d.ts +0 -29
- package/icon/icon-base.d.ts.map +0 -1
- package/icon/icon-name-mixin.d.ts +0 -12
- package/icon/icon-name-mixin.d.ts.map +0 -1
- package/icon/icon-request.d.ts +0 -3
- package/icon/icon-request.d.ts.map +0 -1
- package/icon/icon-validate.d.ts +0 -12
- package/icon/icon-validate.d.ts.map +0 -1
- package/icon/icon.component.d.ts +0 -36
- package/icon/icon.component.d.ts.map +0 -1
- package/icon-sidebar/icon-sidebar/icon-sidebar.component.d.ts +0 -25
- package/icon-sidebar/icon-sidebar/icon-sidebar.component.d.ts.map +0 -1
- package/icon-sidebar/icon-sidebar-button/icon-sidebar-button.component.d.ts +0 -22
- package/icon-sidebar/icon-sidebar-button/icon-sidebar-button.component.d.ts.map +0 -1
- package/icon-sidebar/icon-sidebar-button.d.ts +0 -5
- package/icon-sidebar/icon-sidebar-button.d.ts.map +0 -1
- package/icon-sidebar/icon-sidebar-container/icon-sidebar-container.component.d.ts +0 -23
- package/icon-sidebar/icon-sidebar-container/icon-sidebar-container.component.d.ts.map +0 -1
- package/icon-sidebar/icon-sidebar-container.d.ts +0 -5
- package/icon-sidebar/icon-sidebar-container.d.ts.map +0 -1
- package/icon-sidebar/icon-sidebar-content/icon-sidebar-content.component.d.ts +0 -17
- package/icon-sidebar/icon-sidebar-content/icon-sidebar-content.component.d.ts.map +0 -1
- package/icon-sidebar/icon-sidebar-content.d.ts +0 -5
- package/icon-sidebar/icon-sidebar-content.d.ts.map +0 -1
- package/icon-sidebar/icon-sidebar-link/icon-sidebar-link.component.d.ts +0 -22
- package/icon-sidebar/icon-sidebar-link/icon-sidebar-link.component.d.ts.map +0 -1
- package/icon-sidebar/icon-sidebar-link.d.ts +0 -5
- package/icon-sidebar/icon-sidebar-link.d.ts.map +0 -1
- package/icon-sidebar/icon-sidebar.d.ts +0 -5
- package/icon-sidebar/icon-sidebar.d.ts.map +0 -1
- package/icon-sidebar.d.ts +0 -9
- package/icon-sidebar.d.ts.map +0 -1
- package/icon.d.ts +0 -9
- package/icon.d.ts.map +0 -1
- package/image/image.component.d.ts +0 -215
- package/image/image.component.d.ts.map +0 -1
- package/image.d.ts +0 -5
- package/image.d.ts.map +0 -1
- package/journey-header/journey-header.component.d.ts +0 -32
- package/journey-header/journey-header.component.d.ts.map +0 -1
- package/journey-header.d.ts +0 -5
- package/journey-header.d.ts.map +0 -1
- package/lead-container/lead-container.component.d.ts +0 -21
- package/lead-container/lead-container.component.d.ts.map +0 -1
- package/lead-container.d.ts +0 -5
- package/lead-container.d.ts.map +0 -1
- package/link/block-link/block-link.component.d.ts +0 -17
- package/link/block-link/block-link.component.d.ts.map +0 -1
- package/link/block-link-button/block-link-button.component.d.ts +0 -17
- package/link/block-link-button/block-link-button.component.d.ts.map +0 -1
- package/link/block-link-button.d.ts +0 -5
- package/link/block-link-button.d.ts.map +0 -1
- package/link/block-link-static/block-link-static.component.d.ts +0 -17
- package/link/block-link-static/block-link-static.component.d.ts.map +0 -1
- package/link/block-link-static.d.ts +0 -5
- package/link/block-link-static.d.ts.map +0 -1
- package/link/block-link.d.ts +0 -5
- package/link/block-link.d.ts.map +0 -1
- package/link/common/block-link-common.d.ts +0 -10
- package/link/common/block-link-common.d.ts.map +0 -1
- package/link/common/inline-link-common.d.ts +0 -8
- package/link/common/inline-link-common.d.ts.map +0 -1
- package/link/common/link-common.d.ts +0 -10
- package/link/common/link-common.d.ts.map +0 -1
- package/link/common.d.ts +0 -7
- package/link/common.d.ts.map +0 -1
- package/link/link/link.component.d.ts +0 -16
- package/link/link/link.component.d.ts.map +0 -1
- package/link/link-button/link-button.component.d.ts +0 -16
- package/link/link-button/link-button.component.d.ts.map +0 -1
- package/link/link-button.d.ts +0 -5
- package/link/link-button.d.ts.map +0 -1
- package/link/link-static/link-static.component.d.ts +0 -16
- package/link/link-static/link-static.component.d.ts.map +0 -1
- package/link/link-static.d.ts +0 -5
- package/link/link-static.d.ts.map +0 -1
- package/link/link.d.ts +0 -5
- package/link/link.d.ts.map +0 -1
- package/link-list/common/link-list-base.d.ts +0 -28
- package/link-list/common/link-list-base.d.ts.map +0 -1
- package/link-list/common.d.ts +0 -5
- package/link-list/common.d.ts.map +0 -1
- package/link-list/link-list/link-list.component.d.ts +0 -22
- package/link-list/link-list/link-list.component.d.ts.map +0 -1
- package/link-list/link-list-anchor/link-list-anchor.component.d.ts +0 -17
- package/link-list/link-list-anchor/link-list-anchor.component.d.ts.map +0 -1
- package/link-list/link-list-anchor.d.ts +0 -5
- package/link-list/link-list-anchor.d.ts.map +0 -1
- package/link-list/link-list.d.ts +0 -5
- package/link-list/link-list.d.ts.map +0 -1
- package/link-list.d.ts +0 -7
- package/link-list.d.ts.map +0 -1
- package/link.d.ts +0 -11
- package/link.d.ts.map +0 -1
- package/loading-indicator/loading-indicator.component.d.ts +0 -22
- package/loading-indicator/loading-indicator.component.d.ts.map +0 -1
- package/loading-indicator-circle/loading-indicator-circle.component.d.ts +0 -20
- package/loading-indicator-circle/loading-indicator-circle.component.d.ts.map +0 -1
- package/loading-indicator-circle.d.ts +0 -5
- package/loading-indicator-circle.d.ts.map +0 -1
- package/loading-indicator.d.ts +0 -5
- package/loading-indicator.d.ts.map +0 -1
- package/logo/logo.component.d.ts +0 -23
- package/logo/logo.component.d.ts.map +0 -1
- package/logo.d.ts +0 -5
- package/logo.d.ts.map +0 -1
- package/map-container/map-container.component.d.ts +0 -47
- package/map-container/map-container.component.d.ts.map +0 -1
- package/map-container.d.ts +0 -5
- package/map-container.d.ts.map +0 -1
- package/menu/common/menu-action-common.d.ts +0 -8
- package/menu/common/menu-action-common.d.ts.map +0 -1
- package/menu/common.d.ts +0 -5
- package/menu/common.d.ts.map +0 -1
- package/menu/menu/menu.component.d.ts +0 -79
- package/menu/menu/menu.component.d.ts.map +0 -1
- package/menu/menu-button/menu-button.component.d.ts +0 -20
- package/menu/menu-button/menu-button.component.d.ts.map +0 -1
- package/menu/menu-button.d.ts +0 -5
- package/menu/menu-button.d.ts.map +0 -1
- package/menu/menu-link/menu-link.component.d.ts +0 -20
- package/menu/menu-link/menu-link.component.d.ts.map +0 -1
- package/menu/menu-link.d.ts +0 -5
- package/menu/menu-link.d.ts.map +0 -1
- package/menu/menu.d.ts +0 -5
- package/menu/menu.d.ts.map +0 -1
- package/menu.d.ts +0 -8
- package/menu.d.ts.map +0 -1
- package/message/message.component.d.ts +0 -21
- package/message/message.component.d.ts.map +0 -1
- package/message.d.ts +0 -5
- package/message.d.ts.map +0 -1
- package/mini-calendar/mini-calendar/mini-calendar.component.d.ts +0 -35
- package/mini-calendar/mini-calendar/mini-calendar.component.d.ts.map +0 -1
- package/mini-calendar/mini-calendar-day/mini-calendar-day.component.d.ts +0 -23
- package/mini-calendar/mini-calendar-day/mini-calendar-day.component.d.ts.map +0 -1
- package/mini-calendar/mini-calendar-day.d.ts +0 -5
- package/mini-calendar/mini-calendar-day.d.ts.map +0 -1
- package/mini-calendar/mini-calendar-month/mini-calendar-month.component.d.ts +0 -25
- package/mini-calendar/mini-calendar-month/mini-calendar-month.component.d.ts.map +0 -1
- package/mini-calendar/mini-calendar-month.d.ts +0 -5
- package/mini-calendar/mini-calendar-month.d.ts.map +0 -1
- package/mini-calendar/mini-calendar.d.ts +0 -5
- package/mini-calendar/mini-calendar.d.ts.map +0 -1
- package/mini-calendar.d.ts +0 -7
- package/mini-calendar.d.ts.map +0 -1
- package/navigation/common/navigation-action-common.d.ts +0 -13
- package/navigation/common/navigation-action-common.d.ts.map +0 -1
- package/navigation/common.d.ts +0 -5
- package/navigation/common.d.ts.map +0 -1
- package/navigation/navigation/navigation.component.d.ts +0 -73
- package/navigation/navigation/navigation.component.d.ts.map +0 -1
- package/navigation/navigation-button/navigation-button.component.d.ts +0 -16
- package/navigation/navigation-button/navigation-button.component.d.ts.map +0 -1
- package/navigation/navigation-button.d.ts +0 -5
- package/navigation/navigation-button.d.ts.map +0 -1
- package/navigation/navigation-link/navigation-link.component.d.ts +0 -16
- package/navigation/navigation-link/navigation-link.component.d.ts.map +0 -1
- package/navigation/navigation-link.d.ts +0 -5
- package/navigation/navigation-link.d.ts.map +0 -1
- package/navigation/navigation-list/navigation-list.component.d.ts +0 -28
- package/navigation/navigation-list/navigation-list.component.d.ts.map +0 -1
- package/navigation/navigation-list.d.ts +0 -5
- package/navigation/navigation-list.d.ts.map +0 -1
- package/navigation/navigation-marker/navigation-marker.component.d.ts +0 -37
- package/navigation/navigation-marker/navigation-marker.component.d.ts.map +0 -1
- package/navigation/navigation-marker.d.ts +0 -5
- package/navigation/navigation-marker.d.ts.map +0 -1
- package/navigation/navigation-section/navigation-section.component.d.ts +0 -77
- package/navigation/navigation-section/navigation-section.component.d.ts.map +0 -1
- package/navigation/navigation-section.d.ts +0 -5
- package/navigation/navigation-section.d.ts.map +0 -1
- package/navigation/navigation.d.ts +0 -5
- package/navigation/navigation.d.ts.map +0 -1
- package/navigation.d.ts +0 -11
- package/navigation.d.ts.map +0 -1
- package/notification/notification.component.d.ts +0 -60
- package/notification/notification.component.d.ts.map +0 -1
- package/notification.d.ts +0 -5
- package/notification.d.ts.map +0 -1
- package/option/optgroup/optgroup-base-element.d.ts +0 -22
- package/option/optgroup/optgroup-base-element.d.ts.map +0 -1
- package/option/optgroup/optgroup.component.d.ts +0 -21
- package/option/optgroup/optgroup.component.d.ts.map +0 -1
- package/option/optgroup.d.ts +0 -6
- package/option/optgroup.d.ts.map +0 -1
- package/option/option/option-base-element.d.ts +0 -63
- package/option/option/option-base-element.d.ts.map +0 -1
- package/option/option/option.component.d.ts +0 -45
- package/option/option/option.component.d.ts.map +0 -1
- package/option/option-hint/option-hint.component.d.ts +0 -18
- package/option/option-hint/option-hint.component.d.ts.map +0 -1
- package/option/option-hint.d.ts +0 -5
- package/option/option-hint.d.ts.map +0 -1
- package/option/option.d.ts +0 -6
- package/option/option.d.ts.map +0 -1
- package/option.d.ts +0 -7
- package/option.d.ts.map +0 -1
- package/overlay/overlay-base-element.d.ts +0 -93
- package/overlay/overlay-base-element.d.ts.map +0 -1
- package/overlay/overlay.component.d.ts +0 -43
- package/overlay/overlay.component.d.ts.map +0 -1
- package/overlay.d.ts +0 -6
- package/overlay.d.ts.map +0 -1
- package/paginator/common/paginator-common.d.ts +0 -35
- package/paginator/common/paginator-common.d.ts.map +0 -1
- package/paginator/common.d.ts +0 -5
- package/paginator/common.d.ts.map +0 -1
- package/paginator/compact-paginator/compact-paginator.component.d.ts +0 -18
- package/paginator/compact-paginator/compact-paginator.component.d.ts.map +0 -1
- package/paginator/compact-paginator.d.ts +0 -5
- package/paginator/compact-paginator.d.ts.map +0 -1
- package/paginator/paginator/paginator.component.d.ts +0 -45
- package/paginator/paginator/paginator.component.d.ts.map +0 -1
- package/paginator/paginator.d.ts +0 -5
- package/paginator/paginator.d.ts.map +0 -1
- package/paginator.d.ts +0 -7
- package/paginator.d.ts.map +0 -1
- package/popover/popover.component.d.ts +0 -109
- package/popover/popover.component.d.ts.map +0 -1
- package/popover.d.ts +0 -5
- package/popover.d.ts.map +0 -1
- package/radio-button/common/radio-button-common.d.ts +0 -14
- package/radio-button/common/radio-button-common.d.ts.map +0 -1
- package/radio-button/common.d.ts +0 -5
- package/radio-button/common.d.ts.map +0 -1
- package/radio-button/radio-button/radio-button.component.d.ts +0 -35
- package/radio-button/radio-button/radio-button.component.d.ts.map +0 -1
- package/radio-button/radio-button-group/radio-button-group.component.d.ts +0 -78
- package/radio-button/radio-button-group/radio-button-group.component.d.ts.map +0 -1
- package/radio-button/radio-button-group.d.ts +0 -5
- package/radio-button/radio-button-group.d.ts.map +0 -1
- package/radio-button/radio-button-panel/radio-button-panel.component.d.ts +0 -44
- package/radio-button/radio-button-panel/radio-button-panel.component.d.ts.map +0 -1
- package/radio-button/radio-button-panel.d.ts +0 -5
- package/radio-button/radio-button-panel.d.ts.map +0 -1
- package/radio-button/radio-button.d.ts +0 -5
- package/radio-button/radio-button.d.ts.map +0 -1
- package/radio-button.d.ts +0 -8
- package/radio-button.d.ts.map +0 -1
- package/screen-reader-only/screen-reader-only.component.d.ts +0 -16
- package/screen-reader-only/screen-reader-only.component.d.ts.map +0 -1
- package/screen-reader-only.d.ts +0 -5
- package/screen-reader-only.d.ts.map +0 -1
- package/select/select.component.d.ts +0 -171
- package/select/select.component.d.ts.map +0 -1
- package/select.d.ts +0 -5
- package/select.d.ts.map +0 -1
- package/selection-action-panel/selection-action-panel.component.d.ts +0 -22
- package/selection-action-panel/selection-action-panel.component.d.ts.map +0 -1
- package/selection-action-panel.d.ts +0 -5
- package/selection-action-panel.d.ts.map +0 -1
- package/selection-expansion-panel/selection-expansion-panel.component.d.ts +0 -45
- package/selection-expansion-panel/selection-expansion-panel.component.d.ts.map +0 -1
- package/selection-expansion-panel.d.ts +0 -5
- package/selection-expansion-panel.d.ts.map +0 -1
- package/sidebar/common.d.ts +0 -4
- package/sidebar/common.d.ts.map +0 -1
- package/sidebar/sidebar/sidebar.component.d.ts +0 -66
- package/sidebar/sidebar/sidebar.component.d.ts.map +0 -1
- package/sidebar/sidebar-close-button/sidebar-close-button.component.d.ts +0 -23
- package/sidebar/sidebar-close-button/sidebar-close-button.component.d.ts.map +0 -1
- package/sidebar/sidebar-close-button.d.ts +0 -5
- package/sidebar/sidebar-close-button.d.ts.map +0 -1
- package/sidebar/sidebar-container/sidebar-container.component.d.ts +0 -34
- package/sidebar/sidebar-container/sidebar-container.component.d.ts.map +0 -1
- package/sidebar/sidebar-container.d.ts +0 -5
- package/sidebar/sidebar-container.d.ts.map +0 -1
- package/sidebar/sidebar-content/sidebar-content.component.d.ts +0 -18
- package/sidebar/sidebar-content/sidebar-content.component.d.ts.map +0 -1
- package/sidebar/sidebar-content.d.ts +0 -5
- package/sidebar/sidebar-content.d.ts.map +0 -1
- package/sidebar/sidebar-title/sidebar-title.component.d.ts +0 -20
- package/sidebar/sidebar-title/sidebar-title.component.d.ts.map +0 -1
- package/sidebar/sidebar-title.d.ts +0 -5
- package/sidebar/sidebar-title.d.ts.map +0 -1
- package/sidebar/sidebar.d.ts +0 -5
- package/sidebar/sidebar.d.ts.map +0 -1
- package/sidebar.d.ts +0 -10
- package/sidebar.d.ts.map +0 -1
- package/signet/signet.component.d.ts +0 -22
- package/signet/signet.component.d.ts.map +0 -1
- package/signet.d.ts +0 -5
- package/signet.d.ts.map +0 -1
- package/skiplink-list/skiplink-list.component.d.ts +0 -33
- package/skiplink-list/skiplink-list.component.d.ts.map +0 -1
- package/skiplink-list.d.ts +0 -5
- package/skiplink-list.d.ts.map +0 -1
- package/slider/slider.component.d.ts +0 -79
- package/slider/slider.component.d.ts.map +0 -1
- package/slider.d.ts +0 -5
- package/slider.d.ts.map +0 -1
- package/status/status.component.d.ts +0 -31
- package/status/status.component.d.ts.map +0 -1
- package/status.d.ts +0 -5
- package/status.d.ts.map +0 -1
- package/stepper/step/step.component.d.ts +0 -75
- package/stepper/step/step.component.d.ts.map +0 -1
- package/stepper/step-label/step-label.component.d.ts +0 -56
- package/stepper/step-label/step-label.component.d.ts.map +0 -1
- package/stepper/step-label.d.ts +0 -5
- package/stepper/step-label.d.ts.map +0 -1
- package/stepper/step.d.ts +0 -5
- package/stepper/step.d.ts.map +0 -1
- package/stepper/stepper/stepper.component.d.ts +0 -96
- package/stepper/stepper/stepper.component.d.ts.map +0 -1
- package/stepper/stepper.d.ts +0 -5
- package/stepper/stepper.d.ts.map +0 -1
- package/stepper.d.ts +0 -7
- package/stepper.d.ts.map +0 -1
- package/table/table-wrapper/table-wrapper.component.d.ts +0 -31
- package/table/table-wrapper/table-wrapper.component.d.ts.map +0 -1
- package/table/table-wrapper.d.ts +0 -5
- package/table/table-wrapper.d.ts.map +0 -1
- package/table.d.ts +0 -5
- package/table.d.ts.map +0 -1
- package/tabs/common.d.ts +0 -4
- package/tabs/common.d.ts.map +0 -1
- package/tabs/tab/tab.component.d.ts +0 -36
- package/tabs/tab/tab.component.d.ts.map +0 -1
- package/tabs/tab-group/tab-group.component.d.ts +0 -76
- package/tabs/tab-group/tab-group.component.d.ts.map +0 -1
- package/tabs/tab-group.d.ts +0 -5
- package/tabs/tab-group.d.ts.map +0 -1
- package/tabs/tab-label/tab-label.component.d.ts +0 -51
- package/tabs/tab-label/tab-label.component.d.ts.map +0 -1
- package/tabs/tab-label.d.ts +0 -5
- package/tabs/tab-label.d.ts.map +0 -1
- package/tabs/tab-nav-bar/tab-nav-bar.component.d.ts +0 -30
- package/tabs/tab-nav-bar/tab-nav-bar.component.d.ts.map +0 -1
- package/tabs/tab-nav-bar.d.ts +0 -5
- package/tabs/tab-nav-bar.d.ts.map +0 -1
- package/tabs/tab.d.ts +0 -5
- package/tabs/tab.d.ts.map +0 -1
- package/tabs.d.ts +0 -8
- package/tabs.d.ts.map +0 -1
- package/tag/tag/tag.component.d.ts +0 -58
- package/tag/tag/tag.component.d.ts.map +0 -1
- package/tag/tag-group/tag-group.component.d.ts +0 -50
- package/tag/tag-group/tag-group.component.d.ts.map +0 -1
- package/tag/tag-group.d.ts +0 -5
- package/tag/tag-group.d.ts.map +0 -1
- package/tag/tag.d.ts +0 -5
- package/tag/tag.d.ts.map +0 -1
- package/tag.d.ts +0 -6
- package/tag.d.ts.map +0 -1
- package/teaser/teaser.component.d.ts +0 -26
- package/teaser/teaser.component.d.ts.map +0 -1
- package/teaser-hero/teaser-hero.component.d.ts +0 -23
- package/teaser-hero/teaser-hero.component.d.ts.map +0 -1
- package/teaser-hero.d.ts +0 -5
- package/teaser-hero.d.ts.map +0 -1
- package/teaser-product/common/teaser-product-common.d.ts +0 -9
- package/teaser-product/common/teaser-product-common.d.ts.map +0 -1
- package/teaser-product/common.d.ts +0 -5
- package/teaser-product/common.d.ts.map +0 -1
- package/teaser-product/teaser-product/teaser-product.component.d.ts +0 -23
- package/teaser-product/teaser-product/teaser-product.component.d.ts.map +0 -1
- package/teaser-product/teaser-product-static/teaser-product-static.component.d.ts +0 -22
- package/teaser-product/teaser-product-static/teaser-product-static.component.d.ts.map +0 -1
- package/teaser-product/teaser-product-static.d.ts +0 -5
- package/teaser-product/teaser-product-static.d.ts.map +0 -1
- package/teaser-product/teaser-product.d.ts +0 -5
- package/teaser-product/teaser-product.d.ts.map +0 -1
- package/teaser-product.d.ts +0 -7
- package/teaser-product.d.ts.map +0 -1
- package/teaser.d.ts +0 -5
- package/teaser.d.ts.map +0 -1
- package/time-input/time-input.component.d.ts +0 -49
- package/time-input/time-input.component.d.ts.map +0 -1
- package/time-input.d.ts +0 -5
- package/time-input.d.ts.map +0 -1
- package/timetable-form/timetable-form/timetable-form.component.d.ts +0 -17
- package/timetable-form/timetable-form/timetable-form.component.d.ts.map +0 -1
- package/timetable-form/timetable-form-details/timetable-form-details.component.d.ts +0 -16
- package/timetable-form/timetable-form-details/timetable-form-details.component.d.ts.map +0 -1
- package/timetable-form/timetable-form-details.d.ts +0 -5
- package/timetable-form/timetable-form-details.d.ts.map +0 -1
- package/timetable-form/timetable-form-field/timetable-form-field.component.d.ts +0 -18
- package/timetable-form/timetable-form-field/timetable-form-field.component.d.ts.map +0 -1
- package/timetable-form/timetable-form-field.d.ts +0 -5
- package/timetable-form/timetable-form-field.d.ts.map +0 -1
- package/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.d.ts +0 -24
- package/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.d.ts.map +0 -1
- package/timetable-form/timetable-form-swap-button.d.ts +0 -5
- package/timetable-form/timetable-form-swap-button.d.ts.map +0 -1
- package/timetable-form/timetable-form.d.ts +0 -5
- package/timetable-form/timetable-form.d.ts.map +0 -1
- package/timetable-form.d.ts +0 -8
- package/timetable-form.d.ts.map +0 -1
- package/timetable-occupancy/timetable-occupancy.component.d.ts +0 -22
- package/timetable-occupancy/timetable-occupancy.component.d.ts.map +0 -1
- package/timetable-occupancy-icon/timetable-occupancy-icon.component.d.ts +0 -28
- package/timetable-occupancy-icon/timetable-occupancy-icon.component.d.ts.map +0 -1
- package/timetable-occupancy-icon.d.ts +0 -5
- package/timetable-occupancy-icon.d.ts.map +0 -1
- package/timetable-occupancy.d.ts +0 -5
- package/timetable-occupancy.d.ts.map +0 -1
- package/title/title-base.d.ts +0 -18
- package/title/title-base.d.ts.map +0 -1
- package/title/title.component.d.ts +0 -20
- package/title/title.component.d.ts.map +0 -1
- package/title.d.ts +0 -6
- package/title.d.ts.map +0 -1
- package/toast/toast.component.d.ts +0 -73
- package/toast/toast.component.d.ts.map +0 -1
- package/toast.d.ts +0 -5
- package/toast.d.ts.map +0 -1
- package/toggle/toggle/toggle.component.d.ts +0 -72
- package/toggle/toggle/toggle.component.d.ts.map +0 -1
- package/toggle/toggle-option/toggle-option.component.d.ts +0 -35
- package/toggle/toggle-option/toggle-option.component.d.ts.map +0 -1
- package/toggle/toggle-option.d.ts +0 -5
- package/toggle/toggle-option.d.ts.map +0 -1
- package/toggle/toggle.d.ts +0 -5
- package/toggle/toggle.d.ts.map +0 -1
- package/toggle-check/toggle-check.component.d.ts +0 -33
- package/toggle-check/toggle-check.component.d.ts.map +0 -1
- package/toggle-check.d.ts +0 -5
- package/toggle-check.d.ts.map +0 -1
- package/toggle.d.ts +0 -6
- package/toggle.d.ts.map +0 -1
- package/tooltip/tooltip.component.d.ts +0 -96
- package/tooltip/tooltip.component.d.ts.map +0 -1
- package/tooltip.d.ts +0 -5
- package/tooltip.d.ts.map +0 -1
- package/train/train/train.component.d.ts +0 -42
- package/train/train/train.component.d.ts.map +0 -1
- package/train/train-blocked-passage/train-blocked-passage.component.d.ts +0 -14
- package/train/train-blocked-passage/train-blocked-passage.component.d.ts.map +0 -1
- package/train/train-blocked-passage.d.ts +0 -5
- package/train/train-blocked-passage.d.ts.map +0 -1
- package/train/train-formation/train-formation.component.d.ts +0 -29
- package/train/train-formation/train-formation.component.d.ts.map +0 -1
- package/train/train-formation.d.ts +0 -5
- package/train/train-formation.d.ts.map +0 -1
- package/train/train-wagon/train-wagon.component.d.ts +0 -44
- package/train/train-wagon/train-wagon.component.d.ts.map +0 -1
- package/train/train-wagon.d.ts +0 -5
- package/train/train-wagon.d.ts.map +0 -1
- package/train/train.d.ts +0 -5
- package/train/train.d.ts.map +0 -1
- package/train.d.ts +0 -8
- package/train.d.ts.map +0 -1
- package/visual-checkbox/visual-checkbox.component.d.ts +0 -26
- package/visual-checkbox/visual-checkbox.component.d.ts.map +0 -1
- package/visual-checkbox.d.ts +0 -5
- package/visual-checkbox.d.ts.map +0 -1
- /package/core/styles/{node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables.scss → core/node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables.scss} +0 -0
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
const
|
|
2
|
-
class
|
|
1
|
+
const l = 7, f = 4, u = 4, D = 12, g = 24, h = /(0?[1-9]|[12][0-9]|3[01])[.,\\/\-\s](0?[1-9]|1[0-2])[.,\\/\-\s]([0-9]{1,4}$)?/, o = /^([0-9]{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-3][0-9])$/;
|
|
2
|
+
class d {
|
|
3
|
+
/**
|
|
4
|
+
* @param cutoffYearOffset The threshold on whether a two-digit year
|
|
5
|
+
* should be treated as belonging to 2000 or 1900. e.g. with 15 (default)
|
|
6
|
+
* the current year plus 15 will be treated as belonging to 2000, and the rest to 1900.
|
|
7
|
+
* So e.g. with the current year 2025, 40 will be treated as 2040, while 41 will be treated as 1941.
|
|
8
|
+
*/
|
|
9
|
+
constructor(t = 15) {
|
|
10
|
+
this._cutoffYearOffset = t;
|
|
11
|
+
}
|
|
3
12
|
/**
|
|
4
13
|
* Attempts to deserialize a value to a valid date object. This is different from parsing in that
|
|
5
14
|
* deserialize should only accept non-ambiguous, locale-independent formats (e.g. a ISO 8601
|
|
@@ -11,6 +20,31 @@ class O {
|
|
|
11
20
|
deserialize(t) {
|
|
12
21
|
return t == null || this.isDateInstance(t) && this.isValid(t) ? t : this.invalid();
|
|
13
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* Get the given string as Date.
|
|
25
|
+
* @param value The date in the format DD.MM.YYYY.
|
|
26
|
+
*/
|
|
27
|
+
parse(t) {
|
|
28
|
+
if (!t)
|
|
29
|
+
return null;
|
|
30
|
+
let e = null;
|
|
31
|
+
const s = t.match(o);
|
|
32
|
+
try {
|
|
33
|
+
e = s ? this.createDate(+s[1], +s[2], +s[3]) : null;
|
|
34
|
+
} catch {
|
|
35
|
+
}
|
|
36
|
+
if (this.isValid(e))
|
|
37
|
+
return e;
|
|
38
|
+
const r = t.replace(/\D/g, " ").trim()?.match(h);
|
|
39
|
+
if (!r || r.index !== 0 || r.length <= 2 || r.some((n) => n === void 0) || !this.isValid(this.createDate(+r[3], +r[2], +r[1])))
|
|
40
|
+
return null;
|
|
41
|
+
let i = +r[3];
|
|
42
|
+
if (typeof i == "number" && i < 100 && i >= 0) {
|
|
43
|
+
const n = this.getYear(this.today()) - 2e3 + this._cutoffYearOffset;
|
|
44
|
+
i = i <= n ? 2e3 + i : 1900 + i;
|
|
45
|
+
}
|
|
46
|
+
return this.createDate(i, +r[2], +r[1]);
|
|
47
|
+
}
|
|
14
48
|
/**
|
|
15
49
|
* Format the given date as string.
|
|
16
50
|
* @param date The date to format.
|
|
@@ -19,23 +53,23 @@ class O {
|
|
|
19
53
|
format(t, e) {
|
|
20
54
|
if (!this.isValid(t))
|
|
21
55
|
return "";
|
|
22
|
-
const s = /* @__PURE__ */ new Date(this.toIso8601(t) + "T00:00:00"),
|
|
56
|
+
const s = /* @__PURE__ */ new Date(this.toIso8601(t) + "T00:00:00"), a = new Intl.DateTimeFormat("de-CH", {
|
|
23
57
|
day: "2-digit",
|
|
24
58
|
month: "2-digit",
|
|
25
59
|
year: "numeric"
|
|
26
60
|
});
|
|
27
61
|
if (e?.weekdayStyle === "none")
|
|
28
|
-
return
|
|
29
|
-
const
|
|
30
|
-
let
|
|
31
|
-
return
|
|
62
|
+
return a.format(s);
|
|
63
|
+
const r = e?.weekdayStyle ?? "short";
|
|
64
|
+
let i = this.getDayOfWeekNames(r)[this.getDayOfWeek(t)];
|
|
65
|
+
return i = i.charAt(0).toUpperCase() + i.substring(1), r === "short" && (i = i.substring(0, 2)), `${i}, ${a.format(s)}`;
|
|
32
66
|
}
|
|
33
67
|
/**
|
|
34
68
|
* Get the given date as ISO String.
|
|
35
69
|
* @param date The date to convert to ISO String.
|
|
36
70
|
*/
|
|
37
71
|
toIso8601(t) {
|
|
38
|
-
const e = (s,
|
|
72
|
+
const e = (s, a = 2) => `${s}`.padStart(a, "0");
|
|
39
73
|
return `${e(this.getYear(t), 4)}-${e(this.getMonth(t))}-${e(this.getDate(t))}`;
|
|
40
74
|
}
|
|
41
75
|
/**
|
|
@@ -73,8 +107,8 @@ class O {
|
|
|
73
107
|
*/
|
|
74
108
|
sameDate(t, e) {
|
|
75
109
|
if (t && e) {
|
|
76
|
-
const s = this.isValid(t),
|
|
77
|
-
return s &&
|
|
110
|
+
const s = this.isValid(t), a = this.isValid(e);
|
|
111
|
+
return s && a ? !this.compareDate(t, e) : s == a;
|
|
78
112
|
}
|
|
79
113
|
return t == e;
|
|
80
114
|
}
|
|
@@ -91,12 +125,12 @@ class O {
|
|
|
91
125
|
}
|
|
92
126
|
}
|
|
93
127
|
export {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
128
|
+
l as DAYS_PER_ROW,
|
|
129
|
+
d as DateAdapter,
|
|
130
|
+
h as FORMAT_DATE,
|
|
131
|
+
o as ISO8601_FORMAT_DATE,
|
|
132
|
+
D as MONTHS_PER_PAGE,
|
|
133
|
+
f as MONTHS_PER_ROW,
|
|
100
134
|
g as YEARS_PER_PAGE,
|
|
101
|
-
|
|
135
|
+
u as YEARS_PER_ROW
|
|
102
136
|
};
|
|
@@ -1,145 +1,120 @@
|
|
|
1
|
-
import { SbbLanguageController as
|
|
2
|
-
import { DateAdapter as
|
|
3
|
-
const
|
|
4
|
-
class
|
|
5
|
-
constructor(t = 15) {
|
|
6
|
-
super(), this._cutoffYearOffset = t;
|
|
7
|
-
}
|
|
1
|
+
import { SbbLanguageController as a } from "../controllers.js";
|
|
2
|
+
import { DateAdapter as s } from "./date-adapter.js";
|
|
3
|
+
const i = /^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;
|
|
4
|
+
class u extends s {
|
|
8
5
|
/** Gets the year of the input date. */
|
|
9
|
-
getYear(
|
|
10
|
-
return
|
|
6
|
+
getYear(e) {
|
|
7
|
+
return e.getFullYear();
|
|
11
8
|
}
|
|
12
9
|
/** Gets the month of the input date. */
|
|
13
|
-
getMonth(
|
|
14
|
-
return
|
|
10
|
+
getMonth(e) {
|
|
11
|
+
return e.getMonth() + 1;
|
|
15
12
|
}
|
|
16
13
|
/** Gets the day of the input date. */
|
|
17
|
-
getDate(
|
|
18
|
-
return
|
|
14
|
+
getDate(e) {
|
|
15
|
+
return e.getDate();
|
|
19
16
|
}
|
|
20
17
|
/** Gets the day of the week of the input date. */
|
|
21
|
-
getDayOfWeek(
|
|
22
|
-
return
|
|
18
|
+
getDayOfWeek(e) {
|
|
19
|
+
return e.getDay();
|
|
23
20
|
}
|
|
24
21
|
/** Gets the date in the local format. */
|
|
25
|
-
getAccessibilityFormatDate(
|
|
26
|
-
const
|
|
22
|
+
getAccessibilityFormatDate(e) {
|
|
23
|
+
const t = {
|
|
27
24
|
year: "numeric",
|
|
28
25
|
month: "long",
|
|
29
26
|
day: "numeric"
|
|
30
27
|
};
|
|
31
|
-
return new Intl.DateTimeFormat(
|
|
28
|
+
return new Intl.DateTimeFormat(a.current, t).format(new Date(e));
|
|
32
29
|
}
|
|
33
30
|
/**
|
|
34
31
|
* Creates an array of strings with length = 12, filled with the name of the months starting from January, in the document language.
|
|
35
32
|
* @param style See `month` in `DateTimeFormatOptions`: `long` for full name, `short` for short name, `narrow` for single letter,
|
|
36
33
|
* E.g., with January in en-gb: `long` returns "January", `short` returns "Jan", `narrow` returns "J".
|
|
37
34
|
*/
|
|
38
|
-
getMonthNames(
|
|
39
|
-
const
|
|
40
|
-
return this._range(12, (r) =>
|
|
35
|
+
getMonthNames(e) {
|
|
36
|
+
const t = new Intl.DateTimeFormat(a.current, { month: e });
|
|
37
|
+
return this._range(12, (r) => t.format(new Date(2017, r, 1)));
|
|
41
38
|
}
|
|
42
39
|
/** Creates a string array with length = 31, filled with the days in a month, starting from 1. */
|
|
43
40
|
getDateNames() {
|
|
44
|
-
const
|
|
45
|
-
return this._range(31, (
|
|
41
|
+
const e = new Intl.DateTimeFormat(a.current, { day: "numeric" });
|
|
42
|
+
return this._range(31, (t) => e.format(new Date(2017, 0, t + 1)));
|
|
46
43
|
}
|
|
47
44
|
/**
|
|
48
45
|
* Creates a string array with length = 7, filled with the name of the days in a week starting from Sunday, in the document language.
|
|
49
46
|
* @param style See `weekday` in `DateTimeFormatOptions` - 'long' for full name, 'short' for short name, 'narrow' for single letter;
|
|
50
47
|
* E.g., with Monday in en-gb: `long` returns "Monday", `short` returns "Mon", `narrow` returns "M".
|
|
51
48
|
*/
|
|
52
|
-
getDayOfWeekNames(
|
|
53
|
-
const
|
|
54
|
-
return this._range(7, (r) =>
|
|
49
|
+
getDayOfWeekNames(e) {
|
|
50
|
+
const t = new Intl.DateTimeFormat(a.current, { weekday: e });
|
|
51
|
+
return this._range(7, (r) => t.format(new Date(2017, 0, r + 1)));
|
|
55
52
|
}
|
|
56
53
|
/** Defines which is the first day of the week (0: sunday; 1: monday; etc.). */
|
|
57
54
|
getFirstDayOfWeek() {
|
|
58
55
|
return 1;
|
|
59
56
|
}
|
|
60
57
|
/** Calculates the number of days in a month given the year and the month. */
|
|
61
|
-
getNumDaysInMonth(
|
|
62
|
-
return this.getDate(this._createDateWithOverflow(this.getYear(
|
|
58
|
+
getNumDaysInMonth(e) {
|
|
59
|
+
return this.getDate(this._createDateWithOverflow(this.getYear(e), this.getMonth(e), 0));
|
|
63
60
|
}
|
|
64
61
|
/** Creates today's date. */
|
|
65
62
|
today() {
|
|
66
63
|
return new Date((/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0));
|
|
67
64
|
}
|
|
68
65
|
/** Creates a new date, given day, month and year; the method doesn't allow date's overflow. */
|
|
69
|
-
createDate(
|
|
70
|
-
if (
|
|
71
|
-
throw Error(`Invalid month
|
|
66
|
+
createDate(e, t, r) {
|
|
67
|
+
if (t < 1 || t > 12)
|
|
68
|
+
throw Error(`Invalid month "${t}". Month has to be between 1 and 12.`);
|
|
72
69
|
if (r < 1)
|
|
73
|
-
throw Error(`Invalid
|
|
74
|
-
const
|
|
75
|
-
if (
|
|
76
|
-
throw Error(`Invalid
|
|
77
|
-
return
|
|
70
|
+
throw Error(`Invalid day "${r}". Day has to be greater than 0.`);
|
|
71
|
+
const n = this._createDateWithOverflow(e, t - 1, r);
|
|
72
|
+
if (n.getMonth() + 1 !== t)
|
|
73
|
+
throw Error(`Invalid day "${r}" for month "${t}".`);
|
|
74
|
+
return n;
|
|
78
75
|
}
|
|
79
76
|
/** Checks whether the given `obj` is a Date. */
|
|
80
|
-
isDateInstance(
|
|
81
|
-
return
|
|
77
|
+
isDateInstance(e) {
|
|
78
|
+
return e instanceof Date;
|
|
82
79
|
}
|
|
83
80
|
/** Checks whether the given `date` is a valid Date. */
|
|
84
|
-
isValid(
|
|
85
|
-
return !!
|
|
81
|
+
isValid(e) {
|
|
82
|
+
return !!e && !isNaN(e.valueOf());
|
|
86
83
|
}
|
|
87
84
|
/** Creates a new date by cloning the given one. */
|
|
88
|
-
clone(
|
|
89
|
-
return new Date(
|
|
85
|
+
clone(e) {
|
|
86
|
+
return new Date(e.valueOf());
|
|
90
87
|
}
|
|
91
88
|
/**
|
|
92
89
|
* Creates a new date adding the number of provided `years` to the provided `date`.
|
|
93
90
|
* @param date The starting date.
|
|
94
91
|
* @param years The number of years to add.
|
|
95
92
|
*/
|
|
96
|
-
addCalendarYears(
|
|
97
|
-
return this.addCalendarMonths(
|
|
93
|
+
addCalendarYears(e, t) {
|
|
94
|
+
return this.addCalendarMonths(e, t * 12);
|
|
98
95
|
}
|
|
99
96
|
/**
|
|
100
97
|
* Creates a new date adding the number of provided `months` to the provided `date`.
|
|
101
98
|
* If the calculated month has fewer days than the original one, the date is set to the last day of the month.
|
|
102
99
|
* E.g., with `date` = new Date(2022, 0, 31) and `months` = 1, it returns new Date(2022, 1, 28).
|
|
103
100
|
*/
|
|
104
|
-
addCalendarMonths(
|
|
105
|
-
const r =
|
|
106
|
-
return new Date(this.clone(
|
|
101
|
+
addCalendarMonths(e, t) {
|
|
102
|
+
const r = e.getMonth() + t, n = new Date(e.getFullYear(), r, 1, 0, 0, 0, 0), o = this.getNumDaysInMonth(n);
|
|
103
|
+
return new Date(this.clone(e).setMonth(r, Math.min(o, e.getDate())));
|
|
107
104
|
}
|
|
108
105
|
/** Creates a new date by adding the number of provided `days` to the provided `date`. */
|
|
109
|
-
addCalendarDays(
|
|
110
|
-
const r =
|
|
111
|
-
return new Date(
|
|
106
|
+
addCalendarDays(e, t) {
|
|
107
|
+
const r = e.getDate() + t;
|
|
108
|
+
return new Date(e.getFullYear(), e.getMonth(), r, 0, 0, 0, 0);
|
|
112
109
|
}
|
|
113
110
|
/** Creates a Date from a valid input (Date or ISO string). */
|
|
114
|
-
deserialize(
|
|
115
|
-
if (typeof
|
|
116
|
-
if (
|
|
117
|
-
if (
|
|
118
|
-
return this.getValidDateOrNull(new Date(
|
|
111
|
+
deserialize(e) {
|
|
112
|
+
if (typeof e == "string")
|
|
113
|
+
if (e) {
|
|
114
|
+
if (i.test(e))
|
|
115
|
+
return this.getValidDateOrNull(new Date(e.includes("T") ? e : e + "T00:00:00"));
|
|
119
116
|
} else return null;
|
|
120
|
-
return super.deserialize(
|
|
121
|
-
}
|
|
122
|
-
/** Returns the right format for the `valueAsDate` property. */
|
|
123
|
-
parse(t) {
|
|
124
|
-
if (!t)
|
|
125
|
-
return null;
|
|
126
|
-
let e = null;
|
|
127
|
-
const r = t.match(l);
|
|
128
|
-
try {
|
|
129
|
-
e = r ? this.createDate(+r[1], +r[2], +r[3]) : null;
|
|
130
|
-
} catch {
|
|
131
|
-
}
|
|
132
|
-
if (this.isValid(e))
|
|
133
|
-
return e;
|
|
134
|
-
const n = t.replace(/\D/g, " ").trim()?.match(h);
|
|
135
|
-
if (!n || n.index !== 0 || n.length <= 2 || n.some((o) => o === void 0) || !this.isValid(this.createDate(+n[3], +n[2], +n[1])))
|
|
136
|
-
return null;
|
|
137
|
-
let s = +n[3];
|
|
138
|
-
if (typeof s == "number" && s < 100 && s >= 0) {
|
|
139
|
-
const o = this.today().getFullYear() - 2e3 + this._cutoffYearOffset;
|
|
140
|
-
s = s <= o ? 2e3 + s : 1900 + s;
|
|
141
|
-
}
|
|
142
|
-
return new Date(s, +n[2] - 1, +n[1]);
|
|
117
|
+
return super.deserialize(e);
|
|
143
118
|
}
|
|
144
119
|
invalid() {
|
|
145
120
|
return /* @__PURE__ */ new Date(NaN);
|
|
@@ -149,17 +124,17 @@ class D extends u {
|
|
|
149
124
|
* @param length The length of the array to be created.
|
|
150
125
|
* @param valueFunction The function of array's index used to fill the array.
|
|
151
126
|
*/
|
|
152
|
-
_range(
|
|
153
|
-
return Array.from({ length:
|
|
127
|
+
_range(e, t) {
|
|
128
|
+
return Array.from({ length: e }).map((r, n) => t(n));
|
|
154
129
|
}
|
|
155
130
|
/** Creates a date but allows the month and date to overflow. */
|
|
156
|
-
_createDateWithOverflow(
|
|
157
|
-
const
|
|
158
|
-
return
|
|
131
|
+
_createDateWithOverflow(e, t, r) {
|
|
132
|
+
const n = new Date(e, t, r);
|
|
133
|
+
return e >= 0 && e < 100 && n.setFullYear(this.getYear(n) - 1900), n;
|
|
159
134
|
}
|
|
160
135
|
}
|
|
161
|
-
const
|
|
136
|
+
const g = new u();
|
|
162
137
|
export {
|
|
163
|
-
|
|
164
|
-
|
|
138
|
+
u as NativeDateAdapter,
|
|
139
|
+
g as defaultDateAdapter
|
|
165
140
|
};
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { SbbLanguageController as a } from "../controllers.js";
|
|
2
|
+
import { DateAdapter as o } from "./date-adapter.js";
|
|
3
|
+
const i = /^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;
|
|
4
|
+
if (typeof Temporal != "object")
|
|
5
|
+
throw new Error("Temporal is not available in the current environment. Please make sure to include the temporal polyfill.");
|
|
6
|
+
class l extends o {
|
|
7
|
+
/** Gets the year of the input date. */
|
|
8
|
+
getYear(e) {
|
|
9
|
+
return e.year;
|
|
10
|
+
}
|
|
11
|
+
/** Gets the month of the input date. */
|
|
12
|
+
getMonth(e) {
|
|
13
|
+
return e.month;
|
|
14
|
+
}
|
|
15
|
+
/** Gets the day of the input date. */
|
|
16
|
+
getDate(e) {
|
|
17
|
+
return e.day;
|
|
18
|
+
}
|
|
19
|
+
/** Gets the day of the week of the input date. */
|
|
20
|
+
getDayOfWeek(e) {
|
|
21
|
+
return e.dayOfWeek % 7;
|
|
22
|
+
}
|
|
23
|
+
/** Gets the date in the local format. */
|
|
24
|
+
getAccessibilityFormatDate(e) {
|
|
25
|
+
const r = {
|
|
26
|
+
year: "numeric",
|
|
27
|
+
month: "long",
|
|
28
|
+
day: "numeric"
|
|
29
|
+
};
|
|
30
|
+
return this.deserialize(e).toLocaleString(a.current, r);
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Creates an array of strings with length = 12, filled with the name of the months starting from January, in the document language.
|
|
34
|
+
* @param style See `month` in `DateTimeFormatOptions`: `long` for full name, `short` for short name, `narrow` for single letter,
|
|
35
|
+
* E.g., with January in en-gb: `long` returns "January", `short` returns "Jan", `narrow` returns "J".
|
|
36
|
+
*/
|
|
37
|
+
getMonthNames(e) {
|
|
38
|
+
const r = new Intl.DateTimeFormat(a.current, { month: e });
|
|
39
|
+
return this._range(12, (t) => r.format(Temporal.PlainDate.from({ year: 2017, month: t + 1, day: 1 })));
|
|
40
|
+
}
|
|
41
|
+
/** Creates a string array with length = 31, filled with the days in a month, starting from 1. */
|
|
42
|
+
getDateNames() {
|
|
43
|
+
const e = new Intl.DateTimeFormat(a.current, { day: "numeric" });
|
|
44
|
+
return this._range(31, (r) => e.format(Temporal.PlainDate.from({ year: 2017, month: 1, day: r + 1 })));
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Creates a string array with length = 7, filled with the name of the days in a week starting from Sunday, in the document language.
|
|
48
|
+
* @param style See `weekday` in `DateTimeFormatOptions` - 'long' for full name, 'short' for short name, 'narrow' for single letter;
|
|
49
|
+
* E.g., with Monday in en-gb: `long` returns "Monday", `short` returns "Mon", `narrow` returns "M".
|
|
50
|
+
*/
|
|
51
|
+
getDayOfWeekNames(e) {
|
|
52
|
+
const r = new Intl.DateTimeFormat(a.current, { weekday: e });
|
|
53
|
+
return this._range(7, (t) => r.format(Temporal.PlainDate.from({ year: 2017, month: 1, day: t + 1 })));
|
|
54
|
+
}
|
|
55
|
+
/** Defines which is the first day of the week (0: sunday; 1: monday; etc.). */
|
|
56
|
+
getFirstDayOfWeek() {
|
|
57
|
+
return 1;
|
|
58
|
+
}
|
|
59
|
+
/** Calculates the number of days in a month given the year and the month. */
|
|
60
|
+
getNumDaysInMonth(e) {
|
|
61
|
+
return e.daysInMonth;
|
|
62
|
+
}
|
|
63
|
+
/** Creates today's date. */
|
|
64
|
+
today() {
|
|
65
|
+
return Temporal.Now.plainDateISO();
|
|
66
|
+
}
|
|
67
|
+
/** Creates a new date, given day, month and year; the method doesn't allow date's overflow. */
|
|
68
|
+
createDate(e, r, t) {
|
|
69
|
+
if (r < 1 || r > 12)
|
|
70
|
+
throw Error(`Invalid month "${r}". Month has to be between 1 and 12.`);
|
|
71
|
+
if (t < 1)
|
|
72
|
+
throw Error(`Invalid day "${t}". Day has to be greater than 0.`);
|
|
73
|
+
try {
|
|
74
|
+
return Temporal.PlainDate.from({ year: e, month: r, day: t }, { overflow: "reject" });
|
|
75
|
+
} catch {
|
|
76
|
+
throw Error(`Invalid date "${t}" for month with index "${r}".`);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
/** Checks whether the given `obj` is a Temporal.PlainDate. */
|
|
80
|
+
isDateInstance(e) {
|
|
81
|
+
return e instanceof Temporal.PlainDate;
|
|
82
|
+
}
|
|
83
|
+
/** Checks whether the given `date` is a valid Temporal.PlainDate. */
|
|
84
|
+
isValid(e) {
|
|
85
|
+
return this.isDateInstance(e);
|
|
86
|
+
}
|
|
87
|
+
/** Creates a new date by cloning the given one. */
|
|
88
|
+
clone(e) {
|
|
89
|
+
return Temporal.PlainDate.from(e);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Creates a new date adding the number of provided `years` to the provided `date`.
|
|
93
|
+
* @param date The starting date.
|
|
94
|
+
* @param years The number of years to add.
|
|
95
|
+
*/
|
|
96
|
+
addCalendarYears(e, r) {
|
|
97
|
+
return e.add({ years: r });
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Creates a new date adding the number of provided `months` to the provided `date`.
|
|
101
|
+
* If the calculated month has fewer days than the original one, the date is set to the last day of the month.
|
|
102
|
+
* E.g., with `date` = new Temporal.PlainDate(2022, 0, 31) and `months` = 1, it returns new Temporal.PlainDate(2022, 1, 28).
|
|
103
|
+
*/
|
|
104
|
+
addCalendarMonths(e, r) {
|
|
105
|
+
return e.add({ months: r });
|
|
106
|
+
}
|
|
107
|
+
/** Creates a new date by adding the number of provided `days` to the provided `date`. */
|
|
108
|
+
addCalendarDays(e, r) {
|
|
109
|
+
return e.add({ days: r });
|
|
110
|
+
}
|
|
111
|
+
/** Creates a Temporal.PlainDate from a valid input (Temporal.PlainDate or ISO string). */
|
|
112
|
+
deserialize(e) {
|
|
113
|
+
if (typeof e == "string")
|
|
114
|
+
if (e) {
|
|
115
|
+
if (i.test(e))
|
|
116
|
+
return this.getValidDateOrNull(Temporal.PlainDate.from(e.split("T")[0]));
|
|
117
|
+
} else return null;
|
|
118
|
+
return super.deserialize(e);
|
|
119
|
+
}
|
|
120
|
+
invalid() {
|
|
121
|
+
return null;
|
|
122
|
+
}
|
|
123
|
+
toIso8601(e) {
|
|
124
|
+
return e.toJSON();
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Creates an array with the given length and fills it by mapping with the provided function.
|
|
128
|
+
* @param length The length of the array to be created.
|
|
129
|
+
* @param valueFunction The function of array's index used to fill the array.
|
|
130
|
+
*/
|
|
131
|
+
_range(e, r) {
|
|
132
|
+
return Array.from({ length: e }).map((t, n) => r(n));
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
const u = new l();
|
|
136
|
+
export {
|
|
137
|
+
l as TemporalDateAdapter,
|
|
138
|
+
u as temporalDateAdapter
|
|
139
|
+
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
@use 'sass:math';
|
|
5
5
|
@use 'sass:meta';
|
|
6
6
|
@use 'sass:string';
|
|
7
|
-
@use '
|
|
7
|
+
@use './node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables.scss' as sbb-tokens;
|
|
8
8
|
|
|
9
9
|
$mq-breakpoints: (
|
|
10
10
|
// 0
|
package/core/styles/core.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
$theme: 'standard' !default;
|
|
2
2
|
|
|
3
3
|
@use 'sass:string';
|
|
4
|
-
@use 'node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables-as-css.scss' as sbb-css-tokens with (
|
|
4
|
+
@use './node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables-as-css.scss' as sbb-css-tokens with (
|
|
5
5
|
$theme: $theme
|
|
6
6
|
);
|
|
7
7
|
@use './core/mediaqueries';
|
|
@@ -23,9 +23,18 @@ $theme: 'standard' !default;
|
|
|
23
23
|
@use '../../card/card/card.global' as card with (
|
|
24
24
|
$theme: $theme
|
|
25
25
|
);
|
|
26
|
+
@use '../../chip/chip/chip.global' as chip with (
|
|
27
|
+
$theme: $theme
|
|
28
|
+
);
|
|
29
|
+
@use '../../chip/chip-group/chip-group.global' as chip-group with (
|
|
30
|
+
$theme: $theme
|
|
31
|
+
);
|
|
26
32
|
@use '../../card/card-badge/card-badge.global' as card-badge with (
|
|
27
33
|
$theme: $theme
|
|
28
34
|
);
|
|
35
|
+
@use '../../carousel/carousel/carousel.global' as carousel with (
|
|
36
|
+
$theme: $theme
|
|
37
|
+
);
|
|
29
38
|
@use '../../core/mixins/panel-common.global' as panel-common with (
|
|
30
39
|
$theme: $theme
|
|
31
40
|
);
|
|
@@ -92,6 +101,9 @@ $theme: 'standard' !default;
|
|
|
92
101
|
@include breadcrumb-group.base;
|
|
93
102
|
@include card.base;
|
|
94
103
|
@include card-badge.base;
|
|
104
|
+
@include carousel.base;
|
|
105
|
+
@include chip.base;
|
|
106
|
+
@include chip-group.base;
|
|
95
107
|
@include panel-common.base;
|
|
96
108
|
@include checkbox.base;
|
|
97
109
|
@include checkbox-group.base;
|
|
@@ -186,6 +198,8 @@ $theme: 'standard' !default;
|
|
|
186
198
|
@include mediaqueries.mq($from: large) {
|
|
187
199
|
@include sbb-css-tokens.breakpoint-large;
|
|
188
200
|
|
|
201
|
+
@include chip-group.base-breakpoint-large;
|
|
202
|
+
|
|
189
203
|
// TODO: Remove complete block when new lean theme is complete
|
|
190
204
|
// Only render the block in standard theme as fallback for CSS class usage
|
|
191
205
|
@if not string.index($theme, 'lean') {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use './typo';
|
|
2
2
|
|
|
3
|
+
// TODO(breaking-change): check which mixins can be inlined
|
|
3
4
|
@mixin figure {
|
|
4
5
|
display: grid;
|
|
5
6
|
grid-template-rows: auto;
|
|
@@ -23,15 +24,20 @@
|
|
|
23
24
|
}
|
|
24
25
|
|
|
25
26
|
@mixin figure-overlap-base {
|
|
27
|
+
display: flex;
|
|
28
|
+
gap: var(--sbb-spacing-fixed-1x);
|
|
29
|
+
flex-wrap: wrap;
|
|
30
|
+
margin: var(--sbb-spacing-responsive-xxxs);
|
|
31
|
+
|
|
26
32
|
// Chips or other image overlaying element should stay in light mode as the image stays in light mode as well.
|
|
27
33
|
color-scheme: only light;
|
|
28
34
|
position: relative;
|
|
29
35
|
order: 1; // Alternative to z-index
|
|
30
36
|
grid-row: 1;
|
|
31
37
|
grid-column: 1;
|
|
32
|
-
margin: var(--sbb-spacing-responsive-xxxs);
|
|
33
38
|
}
|
|
34
39
|
|
|
35
40
|
@mixin figure-overlap($row-alignment, $column-alignment) {
|
|
36
41
|
place-self: #{$row-alignment} #{$column-alignment};
|
|
42
|
+
justify-content: #{$column-alignment};
|
|
37
43
|
}
|
|
@@ -28,10 +28,8 @@
|
|
|
28
28
|
& > tr {
|
|
29
29
|
@include table-header-row;
|
|
30
30
|
|
|
31
|
-
&:first-of-type {
|
|
32
|
-
|
|
33
|
-
border-block-start: var(--sbb-table-border);
|
|
34
|
-
}
|
|
31
|
+
&:first-of-type > th {
|
|
32
|
+
border-block-start: var(--sbb-table-border);
|
|
35
33
|
}
|
|
36
34
|
|
|
37
35
|
& > th {
|
|
@@ -59,18 +57,26 @@
|
|
|
59
57
|
caption {
|
|
60
58
|
@include table-caption;
|
|
61
59
|
}
|
|
60
|
+
|
|
61
|
+
// If there is no thead, add a top border to the first tbody row
|
|
62
|
+
// In Angular the CDK table always adds a thead even if there are no headers.
|
|
63
|
+
// Due to this fact we have to also insert `tr` in the `:has()` selector.
|
|
64
|
+
&:not(:has(thead tr)) tbody > tr:first-of-type > td {
|
|
65
|
+
border-block-start: var(--sbb-table-border);
|
|
66
|
+
}
|
|
62
67
|
}
|
|
63
68
|
|
|
64
69
|
@mixin table-header-row {
|
|
65
70
|
// If there is more than one header row, only the last one has the bottom border
|
|
66
71
|
&:last-of-type > th {
|
|
67
|
-
border-
|
|
72
|
+
border-block-end: var(--sbb-table-border);
|
|
68
73
|
}
|
|
69
74
|
}
|
|
70
75
|
|
|
71
76
|
@mixin table-header-cell {
|
|
72
|
-
|
|
73
|
-
|
|
77
|
+
font-size: var(--sbb-table-header-cell-font-size);
|
|
78
|
+
letter-spacing: var(--sbb-typo-letter-spacing-text);
|
|
79
|
+
font-weight: bold;
|
|
74
80
|
background-color: var(--sbb-table-background-color);
|
|
75
81
|
border-inline-end: var(--sbb-table-border);
|
|
76
82
|
padding-block: var(--sbb-table-header-padding-block);
|
|
@@ -79,8 +85,8 @@
|
|
|
79
85
|
}
|
|
80
86
|
|
|
81
87
|
@mixin table-data-cell {
|
|
82
|
-
|
|
83
|
-
|
|
88
|
+
font-size: var(--sbb-table-data-cell-font-size);
|
|
89
|
+
letter-spacing: var(--sbb-typo-letter-spacing-text);
|
|
84
90
|
background-color: var(--sbb-table-background-color);
|
|
85
91
|
border-block-end: var(--sbb-table-border);
|
|
86
92
|
border-inline-end: var(--sbb-table-border);
|
|
@@ -89,11 +95,12 @@
|
|
|
89
95
|
}
|
|
90
96
|
|
|
91
97
|
@mixin table-caption {
|
|
92
|
-
@include typo.text-xs--regular;
|
|
93
|
-
|
|
94
98
|
// Workaround for storybook. It crashes if 'light-dark' is used as a 'var' fallback
|
|
95
99
|
--sbb-table-caption-color-fallback: light-dark(var(--sbb-color-granite), var(--sbb-color-cement));
|
|
96
100
|
|
|
101
|
+
font-size: var(--sbb-text-font-size-xs);
|
|
102
|
+
letter-spacing: var(--sbb-typo-letter-spacing-text);
|
|
103
|
+
|
|
97
104
|
// Defaults are needed for cases where the caption is used outside a table
|
|
98
105
|
color: var(--sbb-table-caption-color, var(--sbb-table-caption-color-fallback));
|
|
99
106
|
margin-block-start: var(--sbb-table-caption-margin-block-start, var(--sbb-spacing-fixed-4x));
|
|
@@ -129,6 +136,8 @@
|
|
|
129
136
|
}
|
|
130
137
|
|
|
131
138
|
@mixin table--m {
|
|
139
|
+
--sbb-table-header-cell-font-size: var(--sbb-text-font-size-xs);
|
|
140
|
+
--sbb-table-data-cell-font-size: var(--sbb-text-font-size-s);
|
|
132
141
|
--sbb-table-header-padding-block: var(--sbb-spacing-fixed-3x);
|
|
133
142
|
--sbb-table-header-padding-inline: var(--sbb-spacing-fixed-4x);
|
|
134
143
|
--sbb-table-cell-padding-block: var(--sbb-spacing-responsive-xxxs);
|
|
@@ -136,25 +145,21 @@
|
|
|
136
145
|
}
|
|
137
146
|
|
|
138
147
|
@mixin table--s {
|
|
148
|
+
--sbb-table-header-cell-font-size: var(--sbb-text-font-size-xs);
|
|
149
|
+
--sbb-table-data-cell-font-size: var(--sbb-text-font-size-xs);
|
|
139
150
|
--sbb-table-header-padding-block: var(--sbb-spacing-fixed-1x);
|
|
140
151
|
--sbb-table-header-padding-inline: var(--sbb-spacing-fixed-2x);
|
|
141
152
|
--sbb-table-cell-padding-block: var(--sbb-spacing-fixed-1x);
|
|
142
153
|
--sbb-table-cell-padding-inline: var(--sbb-spacing-fixed-2x);
|
|
143
|
-
|
|
144
|
-
tbody > tr > td {
|
|
145
|
-
@include typo.text-xs--regular;
|
|
146
|
-
}
|
|
147
154
|
}
|
|
148
155
|
|
|
149
156
|
@mixin table--xs {
|
|
157
|
+
--sbb-table-header-cell-font-size: var(--sbb-text-font-size-xs);
|
|
158
|
+
--sbb-table-data-cell-font-size: var(--sbb-text-font-size-xs);
|
|
150
159
|
--sbb-table-header-padding-block: 0;
|
|
151
160
|
--sbb-table-header-padding-inline: var(--sbb-spacing-fixed-1x);
|
|
152
161
|
--sbb-table-cell-padding-block: 0;
|
|
153
162
|
--sbb-table-cell-padding-inline: var(--sbb-spacing-fixed-1x);
|
|
154
|
-
|
|
155
|
-
tbody > tr > td {
|
|
156
|
-
@include typo.text-xs--regular;
|
|
157
|
-
}
|
|
158
163
|
}
|
|
159
164
|
|
|
160
165
|
@mixin table--theme-iron {
|