@sbb-esta/lyne-elements 1.16.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/accordion.d.ts +4 -1
- package/accordion/accordion.d.ts.map +1 -1
- package/accordion.js +31 -22
- package/action-group/action-group.d.ts +6 -4
- package/action-group/action-group.d.ts.map +1 -1
- package/action-group.js +20 -17
- package/alert/alert/alert.d.ts +7 -23
- package/alert/alert/alert.d.ts.map +1 -1
- package/alert/alert-group/alert-group.d.ts +0 -4
- package/alert/alert-group/alert-group.d.ts.map +1 -1
- package/alert/alert-group.js +46 -47
- package/alert/alert.js +74 -132
- package/animation.css +4 -8
- package/autocomplete/autocomplete-base-element.d.ts +7 -6
- package/autocomplete/autocomplete-base-element.d.ts.map +1 -1
- package/autocomplete/autocomplete.d.ts +0 -1
- package/autocomplete/autocomplete.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid/autocomplete-grid.d.ts +0 -1
- package/autocomplete-grid/autocomplete-grid/autocomplete-grid.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-button.js +11 -11
- package/autocomplete-grid/autocomplete-grid.js +0 -3
- package/autocomplete.js +68 -67
- package/button/accent-button/accent-button.d.ts +19 -0
- package/button/accent-button/accent-button.d.ts.map +1 -0
- package/button/accent-button-link/accent-button-link.d.ts +19 -0
- package/button/accent-button-link/accent-button-link.d.ts.map +1 -0
- package/button/accent-button-link.d.ts +2 -0
- package/button/accent-button-link.d.ts.map +1 -0
- package/button/accent-button-link.js +17 -0
- package/button/accent-button-static/accent-button-static.d.ts +19 -0
- package/button/accent-button-static/accent-button-static.d.ts.map +1 -0
- package/button/accent-button-static.d.ts +2 -0
- package/button/accent-button-static.d.ts.map +1 -0
- package/button/accent-button-static.js +17 -0
- package/button/accent-button.d.ts +2 -0
- package/button/accent-button.d.ts.map +1 -0
- package/button/accent-button.js +17 -0
- package/button/common/button-common.d.ts.map +1 -1
- package/button/common.d.ts.map +1 -1
- package/button/common.js +20 -16
- package/button/mini-button/mini-button.d.ts +4 -3
- package/button/mini-button/mini-button.d.ts.map +1 -1
- package/button/mini-button-group/mini-button-group.d.ts +4 -1
- package/button/mini-button-group/mini-button-group.d.ts.map +1 -1
- package/button/mini-button-group.js +12 -8
- package/button/mini-button.d.ts +0 -1
- package/button/mini-button.d.ts.map +1 -1
- package/button/mini-button.js +10 -20
- package/button.d.ts +3 -3
- package/button.d.ts.map +1 -1
- package/button.js +3 -3
- package/calendar.js +25 -25
- package/card/card/card.d.ts +4 -1
- package/card/card/card.d.ts.map +1 -1
- package/card/card.js +10 -6
- package/checkbox/checkbox/checkbox.d.ts +4 -6
- package/checkbox/checkbox/checkbox.d.ts.map +1 -1
- package/checkbox/checkbox-group/checkbox-group.d.ts +4 -1
- package/checkbox/checkbox-group/checkbox-group.d.ts.map +1 -1
- package/checkbox/checkbox-group.js +14 -10
- package/checkbox/checkbox-panel/checkbox-panel.d.ts +4 -4
- package/checkbox/checkbox-panel/checkbox-panel.d.ts.map +1 -1
- package/checkbox/checkbox-panel.js +21 -18
- package/checkbox/checkbox.js +28 -26
- package/{chip/chip.d.ts → chip-label/chip-label.d.ts} +4 -4
- package/chip-label/chip-label.d.ts.map +1 -0
- package/chip-label.d.ts +2 -0
- package/chip-label.d.ts.map +1 -0
- package/chip-label.js +54 -0
- package/clock.js +1 -1
- package/container/container.js +21 -21
- package/container/sticky-bar/sticky-bar.d.ts +1 -0
- package/container/sticky-bar/sticky-bar.d.ts.map +1 -1
- package/container/sticky-bar.js +20 -12
- package/core/base-elements/button-base-element.d.ts +27 -18
- package/core/base-elements/button-base-element.d.ts.map +1 -1
- package/core/base-elements/open-close-base-element.d.ts.map +1 -1
- package/core/base-elements.js +135 -138
- package/core/datetime/date-adapter.d.ts +2 -1
- package/core/datetime/date-adapter.d.ts.map +1 -1
- package/core/datetime/native-date-adapter.d.ts +1 -1
- package/core/datetime/native-date-adapter.d.ts.map +1 -1
- package/core/datetime.js +29 -28
- package/core/dom/animation.d.ts +2 -0
- package/core/dom/animation.d.ts.map +1 -0
- package/core/dom/lean-context.d.ts +5 -0
- package/core/dom/lean-context.d.ts.map +1 -0
- package/core/dom.d.ts +2 -2
- package/core/dom.d.ts.map +1 -1
- package/core/dom.js +50 -55
- package/core/eventing/form-element-handlers.d.ts +0 -7
- package/core/eventing/form-element-handlers.d.ts.map +1 -1
- package/core/eventing.d.ts +0 -1
- package/core/eventing.d.ts.map +1 -1
- package/core/eventing.js +28 -49
- package/core/i18n/i18n.d.ts +4 -2
- package/core/i18n/i18n.d.ts.map +1 -1
- package/core/i18n.js +147 -140
- package/core/mixins/disabled-mixin.d.ts +2 -7
- package/core/mixins/disabled-mixin.d.ts.map +1 -1
- package/core/mixins/form-associated-checkbox-mixin.d.ts.map +1 -1
- package/core/mixins/form-associated-radio-button-mixin.d.ts +35 -0
- package/core/mixins/form-associated-radio-button-mixin.d.ts.map +1 -0
- package/core/mixins.d.ts +1 -0
- package/core/mixins.d.ts.map +1 -1
- package/core/mixins.js +347 -220
- package/core/styles/_index.scss +1 -0
- package/core/styles/core.scss +150 -0
- package/core/styles/image.scss +66 -0
- package/core/styles/mixins/animation.scss +2 -4
- package/core/styles/mixins/buttons.scss +7 -4
- package/core/styles/mixins/card.scss +1 -1
- package/core/styles/mixins/chip.scss +35 -35
- package/core/styles/mixins/image.scss +34 -0
- package/core/styles/mixins/overlay.scss +1 -1
- package/core/styles/mixins/panel.scss +1 -1
- package/core/styles/standard-theme.scss +1 -0
- package/core/styles/table.scss +4 -0
- package/core/testing/event-spy.d.ts +2 -1
- package/core/testing/event-spy.d.ts.map +1 -1
- package/core/testing.d.ts +0 -1
- package/core/testing.d.ts.map +1 -1
- package/core/testing.js +48 -57
- package/core.css +113 -0
- package/custom-elements.json +25946 -21671
- package/datepicker/common/datepicker-button.d.ts +3 -5
- package/datepicker/common/datepicker-button.d.ts.map +1 -1
- package/datepicker/common.js +30 -29
- package/datepicker/datepicker/datepicker.d.ts +25 -72
- package/datepicker/datepicker/datepicker.d.ts.map +1 -1
- package/datepicker/datepicker-next-day/datepicker-next-day.d.ts +1 -3
- package/datepicker/datepicker-next-day/datepicker-next-day.d.ts.map +1 -1
- package/datepicker/datepicker-next-day.js +10 -12
- package/datepicker/datepicker-previous-day/datepicker-previous-day.d.ts +1 -3
- package/datepicker/datepicker-previous-day/datepicker-previous-day.d.ts.map +1 -1
- package/datepicker/datepicker-previous-day.js +11 -13
- package/datepicker/datepicker.js +129 -157
- package/development/accordion/accordion.d.ts +4 -1
- package/development/accordion/accordion.d.ts.map +1 -1
- package/development/accordion.js +16 -5
- package/development/action-group/action-group.d.ts +6 -4
- package/development/action-group/action-group.d.ts.map +1 -1
- package/development/action-group.js +10 -7
- package/development/alert/alert/alert.d.ts +7 -23
- package/development/alert/alert/alert.d.ts.map +1 -1
- package/development/alert/alert-group/alert-group.d.ts +0 -4
- package/development/alert/alert-group/alert-group.d.ts.map +1 -1
- package/development/alert/alert-group.js +10 -12
- package/development/alert/alert.js +38 -122
- package/development/autocomplete/autocomplete-base-element.d.ts +7 -6
- package/development/autocomplete/autocomplete-base-element.d.ts.map +1 -1
- package/development/autocomplete/autocomplete.d.ts +0 -1
- package/development/autocomplete/autocomplete.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.d.ts +0 -1
- package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-button.js +6 -6
- package/development/autocomplete-grid/autocomplete-grid.js +1 -7
- package/development/autocomplete.js +23 -19
- package/development/button/accent-button/accent-button.d.ts +19 -0
- package/development/button/accent-button/accent-button.d.ts.map +1 -0
- package/development/button/accent-button-link/accent-button-link.d.ts +19 -0
- package/development/button/accent-button-link/accent-button-link.d.ts.map +1 -0
- package/development/button/accent-button-link.d.ts +2 -0
- package/development/button/accent-button-link.d.ts.map +1 -0
- package/development/button/accent-button-link.js +25 -0
- package/development/button/accent-button-static/accent-button-static.d.ts +19 -0
- package/development/button/accent-button-static/accent-button-static.d.ts.map +1 -0
- package/development/button/accent-button-static.d.ts +2 -0
- package/development/button/accent-button-static.d.ts.map +1 -0
- package/development/button/accent-button-static.js +25 -0
- package/development/button/accent-button.d.ts +2 -0
- package/development/button/accent-button.d.ts.map +1 -0
- package/development/button/accent-button.js +25 -0
- package/development/button/common/button-common.d.ts.map +1 -1
- package/development/button/common.d.ts.map +1 -1
- package/development/button/common.js +20 -16
- package/development/button/mini-button/mini-button.d.ts +4 -3
- package/development/button/mini-button/mini-button.d.ts.map +1 -1
- package/development/button/mini-button-group/mini-button-group.d.ts +4 -1
- package/development/button/mini-button-group/mini-button-group.d.ts.map +1 -1
- package/development/button/mini-button-group.js +7 -3
- package/development/button/mini-button.d.ts +0 -1
- package/development/button/mini-button.d.ts.map +1 -1
- package/development/button/mini-button.js +14 -32
- package/development/button.d.ts +3 -3
- package/development/button.d.ts.map +1 -1
- package/development/button.js +3 -3
- package/development/calendar.js +1 -1
- package/development/card/card/card.d.ts +4 -1
- package/development/card/card/card.d.ts.map +1 -1
- package/development/card/card.js +8 -4
- package/development/checkbox/checkbox/checkbox.d.ts +4 -6
- package/development/checkbox/checkbox/checkbox.d.ts.map +1 -1
- package/development/checkbox/checkbox-group/checkbox-group.d.ts +4 -1
- package/development/checkbox/checkbox-group/checkbox-group.d.ts.map +1 -1
- package/development/checkbox/checkbox-group.js +7 -3
- package/development/checkbox/checkbox-panel/checkbox-panel.d.ts +4 -4
- package/development/checkbox/checkbox-panel/checkbox-panel.d.ts.map +1 -1
- package/development/checkbox/checkbox-panel.js +7 -4
- package/development/checkbox/checkbox.js +8 -6
- package/development/{chip/chip.d.ts → chip-label/chip-label.d.ts} +4 -4
- package/development/chip-label/chip-label.d.ts.map +1 -0
- package/development/chip-label.d.ts +2 -0
- package/development/chip-label.d.ts.map +1 -0
- package/development/{chip.js → chip-label.js} +26 -26
- package/development/clock.js +1 -1
- package/development/container/container.js +8 -12
- package/development/container/sticky-bar/sticky-bar.d.ts +1 -0
- package/development/container/sticky-bar/sticky-bar.d.ts.map +1 -1
- package/development/container/sticky-bar.js +18 -10
- package/development/core/base-elements/button-base-element.d.ts +27 -18
- package/development/core/base-elements/button-base-element.d.ts.map +1 -1
- package/development/core/base-elements/open-close-base-element.d.ts.map +1 -1
- package/development/core/base-elements.js +66 -74
- package/development/core/datetime/date-adapter.d.ts +2 -1
- package/development/core/datetime/date-adapter.d.ts.map +1 -1
- package/development/core/datetime/native-date-adapter.d.ts +1 -1
- package/development/core/datetime/native-date-adapter.d.ts.map +1 -1
- package/development/core/datetime.js +4 -3
- package/development/core/dom/animation.d.ts +2 -0
- package/development/core/dom/animation.d.ts.map +1 -0
- package/development/core/dom/lean-context.d.ts +5 -0
- package/development/core/dom/lean-context.d.ts.map +1 -0
- package/development/core/dom.d.ts +2 -2
- package/development/core/dom.d.ts.map +1 -1
- package/development/core/dom.js +13 -21
- package/development/core/eventing/form-element-handlers.d.ts +0 -7
- package/development/core/eventing/form-element-handlers.d.ts.map +1 -1
- package/development/core/eventing.d.ts +0 -1
- package/development/core/eventing.d.ts.map +1 -1
- package/development/core/eventing.js +1 -25
- package/development/core/i18n/i18n.d.ts +4 -2
- package/development/core/i18n/i18n.d.ts.map +1 -1
- package/development/core/i18n.js +27 -23
- package/development/core/mixins/disabled-mixin.d.ts +2 -7
- package/development/core/mixins/disabled-mixin.d.ts.map +1 -1
- package/development/core/mixins/form-associated-checkbox-mixin.d.ts.map +1 -1
- package/development/core/mixins/form-associated-radio-button-mixin.d.ts +35 -0
- package/development/core/mixins/form-associated-radio-button-mixin.d.ts.map +1 -0
- package/development/core/mixins.d.ts +1 -0
- package/development/core/mixins.d.ts.map +1 -1
- package/development/core/mixins.js +221 -30
- package/development/core/testing/event-spy.d.ts +2 -1
- package/development/core/testing/event-spy.d.ts.map +1 -1
- package/development/core/testing.d.ts +0 -1
- package/development/core/testing.d.ts.map +1 -1
- package/development/core/testing.js +4 -15
- package/development/datepicker/common/datepicker-button.d.ts +3 -5
- package/development/datepicker/common/datepicker-button.d.ts.map +1 -1
- package/development/datepicker/common.js +13 -12
- package/development/datepicker/datepicker/datepicker.d.ts +25 -72
- package/development/datepicker/datepicker/datepicker.d.ts.map +1 -1
- package/development/datepicker/datepicker-next-day/datepicker-next-day.d.ts +1 -3
- package/development/datepicker/datepicker-next-day/datepicker-next-day.d.ts.map +1 -1
- package/development/datepicker/datepicker-next-day.js +9 -15
- package/development/datepicker/datepicker-previous-day/datepicker-previous-day.d.ts +1 -3
- package/development/datepicker/datepicker-previous-day/datepicker-previous-day.d.ts.map +1 -1
- package/development/datepicker/datepicker-previous-day.js +9 -15
- package/development/datepicker/datepicker.js +74 -115
- package/development/dialog/dialog/dialog.d.ts +3 -0
- package/development/dialog/dialog/dialog.d.ts.map +1 -1
- package/development/dialog/dialog-title.js +2 -1
- package/development/dialog/dialog.js +46 -39
- package/development/expansion-panel/expansion-panel/expansion-panel.d.ts +7 -1
- package/development/expansion-panel/expansion-panel/expansion-panel.d.ts.map +1 -1
- package/development/expansion-panel/expansion-panel-header.js +3 -3
- package/development/expansion-panel/expansion-panel.js +32 -17
- package/development/file-selector/common/file-selector-common.d.ts +23 -0
- package/development/file-selector/common/file-selector-common.d.ts.map +1 -0
- package/development/file-selector/common.d.ts +2 -0
- package/development/file-selector/common.d.ts.map +1 -0
- package/development/file-selector/common.js +382 -0
- package/development/file-selector/file-selector/file-selector.d.ts +24 -0
- package/development/file-selector/file-selector/file-selector.d.ts.map +1 -0
- package/development/file-selector/file-selector-dropzone/file-selector-dropzone.d.ts +33 -0
- package/development/file-selector/file-selector-dropzone/file-selector-dropzone.d.ts.map +1 -0
- package/development/file-selector/file-selector-dropzone.d.ts +2 -0
- package/development/file-selector/file-selector-dropzone.d.ts.map +1 -0
- package/development/file-selector/file-selector-dropzone.js +181 -0
- package/development/file-selector/file-selector.d.ts +1 -87
- package/development/file-selector/file-selector.d.ts.map +1 -1
- package/development/file-selector/file-selector.js +52 -0
- package/development/file-selector.d.ts +2 -0
- package/development/file-selector.d.ts.map +1 -1
- package/development/file-selector.js +4 -552
- package/development/flip-card/flip-card-details.js +1 -1
- package/development/flip-card/flip-card-summary.js +3 -11
- package/development/flip-card/flip-card.js +6 -6
- package/development/form-field/form-field/form-field.d.ts +5 -10
- package/development/form-field/form-field/form-field.d.ts.map +1 -1
- package/development/form-field/form-field-clear.js +6 -6
- package/development/form-field/form-field.js +32 -40
- package/development/header/common.js +2 -2
- package/development/header/header/header.d.ts +5 -3
- package/development/header/header/header.d.ts.map +1 -1
- package/development/header/header.js +15 -20
- package/development/image/image.d.ts +0 -30
- package/development/image/image.d.ts.map +1 -1
- package/development/image.js +62 -273
- package/development/journey-header/journey-header.d.ts +4 -1
- package/development/journey-header/journey-header.d.ts.map +1 -1
- package/development/journey-header.js +7 -3
- package/development/lead-container.js +2 -10
- package/development/link/common/link-common.d.ts.map +1 -1
- package/development/link/common.js +9 -8
- package/development/link-list/common/link-list-base.d.ts +1 -0
- package/development/link-list/common/link-list-base.d.ts.map +1 -1
- package/development/link-list/common.js +4 -2
- package/development/link-list/link-list-anchor.js +4 -4
- package/development/loading-indicator/loading-indicator.d.ts +1 -3
- package/development/loading-indicator/loading-indicator.d.ts.map +1 -1
- package/development/loading-indicator-circle/loading-indicator-circle.d.ts +16 -0
- package/development/loading-indicator-circle/loading-indicator-circle.d.ts.map +1 -0
- package/development/loading-indicator-circle.d.ts +2 -0
- package/development/loading-indicator-circle.d.ts.map +1 -0
- package/development/loading-indicator-circle.js +146 -0
- package/development/loading-indicator.js +81 -182
- package/development/map-container/map-container.d.ts.map +1 -1
- package/development/map-container.js +5 -5
- package/development/menu/common.js +5 -5
- package/development/menu/menu/menu.d.ts +3 -0
- package/development/menu/menu/menu.d.ts.map +1 -1
- package/development/menu/menu.js +39 -24
- package/development/message.js +4 -2
- package/development/navigation/common/navigation-action-common.d.ts.map +1 -1
- package/development/navigation/common.js +9 -5
- package/development/navigation/navigation/navigation.d.ts +3 -0
- package/development/navigation/navigation/navigation.d.ts.map +1 -1
- package/development/navigation/navigation-list/navigation-list.d.ts.map +1 -1
- package/development/navigation/navigation-list.js +3 -2
- package/development/navigation/navigation-marker/navigation-marker.d.ts +2 -1
- package/development/navigation/navigation-marker/navigation-marker.d.ts.map +1 -1
- package/development/navigation/navigation-marker.js +6 -4
- package/development/navigation/navigation-section/navigation-section.d.ts +3 -0
- package/development/navigation/navigation-section/navigation-section.d.ts.map +1 -1
- package/development/navigation/navigation-section.js +38 -22
- package/development/navigation/navigation.js +42 -27
- package/development/notification/notification.d.ts +6 -2
- package/development/notification/notification.d.ts.map +1 -1
- package/development/notification.js +27 -21
- package/development/option/option/option-base-element.d.ts +0 -7
- package/development/option/option/option-base-element.d.ts.map +1 -1
- package/development/option/option.js +5 -26
- package/development/overlay/overlay-base-element.d.ts +2 -0
- package/development/overlay/overlay-base-element.d.ts.map +1 -1
- package/development/overlay/overlay.d.ts +3 -0
- package/development/overlay/overlay.d.ts.map +1 -1
- package/development/overlay.js +43 -31
- package/development/paginator/common/paginator-common.d.ts.map +1 -1
- package/development/paginator/common.js +7 -3
- package/development/paginator/paginator.js +1 -1
- package/development/popover/popover/popover.d.ts +3 -0
- package/development/popover/popover/popover.d.ts.map +1 -1
- package/development/popover/popover-trigger.js +9 -9
- package/development/popover/popover.js +41 -26
- package/development/radio-button/common/radio-button-common.d.ts +3 -10
- package/development/radio-button/common/radio-button-common.d.ts.map +1 -1
- package/development/radio-button/common.js +44 -121
- package/development/radio-button/radio-button/radio-button.d.ts +9 -1
- package/development/radio-button/radio-button/radio-button.d.ts.map +1 -1
- package/development/radio-button/radio-button-group/radio-button-group.d.ts +19 -26
- package/development/radio-button/radio-button-group/radio-button-group.d.ts.map +1 -1
- package/development/radio-button/radio-button-group.js +87 -123
- package/development/radio-button/radio-button-panel/radio-button-panel.d.ts +19 -1
- package/development/radio-button/radio-button-panel/radio-button-panel.d.ts.map +1 -1
- package/development/radio-button/radio-button-panel.js +35 -15
- package/development/radio-button/radio-button.js +11 -15
- package/development/select/select.d.ts +3 -9
- package/development/select/select.d.ts.map +1 -1
- package/development/select.js +27 -25
- package/development/selection-expansion-panel/selection-expansion-panel.d.ts +4 -1
- package/development/selection-expansion-panel/selection-expansion-panel.d.ts.map +1 -1
- package/development/selection-expansion-panel.js +28 -16
- package/development/skiplink-list/skiplink-list.d.ts.map +1 -1
- package/development/skiplink-list.js +3 -2
- package/development/slider/slider.d.ts +0 -1
- package/development/slider/slider.d.ts.map +1 -1
- package/development/slider.js +2 -2
- package/development/stepper/step-label/step-label.d.ts +0 -2
- package/development/stepper/step-label/step-label.d.ts.map +1 -1
- package/development/stepper/step-label.js +10 -11
- package/development/stepper/step.js +1 -1
- package/development/stepper/stepper/stepper.d.ts +4 -1
- package/development/stepper/stepper/stepper.d.ts.map +1 -1
- package/development/stepper/stepper.js +9 -7
- package/development/tabs/tab-group/tab-group.d.ts +4 -1
- package/development/tabs/tab-group/tab-group.d.ts.map +1 -1
- package/development/tabs/tab-group.js +8 -4
- package/development/tabs/tab-label.js +1 -1
- package/development/tag/tag/tag.d.ts +4 -1
- package/development/tag/tag/tag.d.ts.map +1 -1
- package/development/tag/tag-group/tag-group.d.ts +5 -2
- package/development/tag/tag-group/tag-group.d.ts.map +1 -1
- package/development/tag/tag-group.js +7 -4
- package/development/tag/tag.js +16 -12
- package/development/teaser/teaser.d.ts +2 -2
- package/development/teaser/teaser.d.ts.map +1 -1
- package/development/teaser-hero/teaser-hero.d.ts +2 -6
- package/development/teaser-hero/teaser-hero.d.ts.map +1 -1
- package/development/teaser-hero.js +9 -60
- package/development/teaser-product/common.js +7 -14
- package/development/teaser-product/teaser-product.js +1 -21
- package/development/teaser.js +14 -32
- package/development/time-input/time-input.d.ts +3 -6
- package/development/time-input/time-input.d.ts.map +1 -1
- package/development/time-input.js +33 -27
- package/development/toast/toast.d.ts +3 -0
- package/development/toast/toast.d.ts.map +1 -1
- package/development/toast.js +27 -13
- package/development/toggle/toggle/toggle.d.ts +4 -8
- package/development/toggle/toggle/toggle.d.ts.map +1 -1
- package/development/toggle/toggle.js +9 -12
- package/development/toggle-check/toggle-check.d.ts +4 -6
- package/development/toggle-check/toggle-check.d.ts.map +1 -1
- package/development/toggle-check.js +9 -7
- package/development/train/train/train.d.ts.map +1 -1
- package/development/train/train-blocked-passage.js +2 -2
- package/development/train/train-formation/train-formation.d.ts +3 -11
- package/development/train/train-formation/train-formation.d.ts.map +1 -1
- package/development/train/train-formation.js +43 -74
- package/development/train/train-wagon/train-wagon.d.ts +11 -8
- package/development/train/train-wagon/train-wagon.d.ts.map +1 -1
- package/development/train/train-wagon.js +149 -124
- package/development/train/train.js +35 -112
- package/development/visual-checkbox/visual-checkbox.d.ts +4 -1
- package/development/visual-checkbox/visual-checkbox.d.ts.map +1 -1
- package/development/visual-checkbox.js +7 -3
- package/dialog/dialog/dialog.d.ts +3 -0
- package/dialog/dialog/dialog.d.ts.map +1 -1
- package/dialog/dialog-title.js +9 -9
- package/dialog/dialog.js +56 -51
- package/expansion-panel/expansion-panel/expansion-panel.d.ts +7 -1
- package/expansion-panel/expansion-panel/expansion-panel.d.ts.map +1 -1
- package/expansion-panel/expansion-panel-header.js +1 -1
- package/expansion-panel/expansion-panel.js +41 -28
- package/file-selector/common/file-selector-common.d.ts +23 -0
- package/file-selector/common/file-selector-common.d.ts.map +1 -0
- package/file-selector/common.d.ts +2 -0
- package/file-selector/common.d.ts.map +1 -0
- package/file-selector/common.js +210 -0
- package/file-selector/file-selector/file-selector.d.ts +24 -0
- package/file-selector/file-selector/file-selector.d.ts.map +1 -0
- package/file-selector/file-selector-dropzone/file-selector-dropzone.d.ts +33 -0
- package/file-selector/file-selector-dropzone/file-selector-dropzone.d.ts.map +1 -0
- package/file-selector/file-selector-dropzone.d.ts +2 -0
- package/file-selector/file-selector-dropzone.d.ts.map +1 -0
- package/file-selector/file-selector-dropzone.js +97 -0
- package/file-selector/file-selector.d.ts +1 -87
- package/file-selector/file-selector.d.ts.map +1 -1
- package/file-selector/file-selector.js +44 -0
- package/file-selector.d.ts +2 -0
- package/file-selector.d.ts.map +1 -1
- package/file-selector.js +3 -301
- package/flip-card/flip-card-details.js +5 -5
- package/flip-card/flip-card-summary.js +7 -7
- package/flip-card/flip-card.js +9 -9
- package/form-field/form-field/form-field.d.ts +5 -10
- package/form-field/form-field/form-field.d.ts.map +1 -1
- package/form-field/form-field-clear.js +12 -12
- package/form-field/form-field.js +143 -141
- package/header/common.js +10 -10
- package/header/header/header.d.ts +5 -3
- package/header/header/header.d.ts.map +1 -1
- package/header/header.js +28 -31
- package/image/image.d.ts +0 -30
- package/image/image.d.ts.map +1 -1
- package/image.js +187 -281
- package/index.d.ts +13 -9
- package/index.js +13 -9
- package/journey-header/journey-header.d.ts +4 -1
- package/journey-header/journey-header.d.ts.map +1 -1
- package/journey-header.js +29 -25
- package/lead-container.js +5 -5
- package/link/common/link-common.d.ts.map +1 -1
- package/link/common.js +18 -16
- package/link-list/common/link-list-base.d.ts +1 -0
- package/link-list/common/link-list-base.d.ts.map +1 -1
- package/link-list/common.js +11 -9
- package/link-list/link-list-anchor.js +8 -8
- package/loading-indicator/loading-indicator.d.ts +1 -3
- package/loading-indicator/loading-indicator.d.ts.map +1 -1
- package/loading-indicator-circle/loading-indicator-circle.d.ts +16 -0
- package/loading-indicator-circle/loading-indicator-circle.d.ts.map +1 -0
- package/loading-indicator-circle.d.ts +2 -0
- package/loading-indicator-circle.d.ts.map +1 -0
- package/loading-indicator-circle.js +46 -0
- package/loading-indicator.js +41 -51
- package/map-container/map-container.d.ts.map +1 -1
- package/map-container.js +7 -7
- package/menu/common.js +8 -8
- package/menu/menu/menu.d.ts +3 -0
- package/menu/menu/menu.d.ts.map +1 -1
- package/menu/menu.js +52 -43
- package/message.js +12 -12
- package/navigation/common/navigation-action-common.d.ts.map +1 -1
- package/navigation/common.js +10 -6
- package/navigation/navigation/navigation.d.ts +3 -0
- package/navigation/navigation/navigation.d.ts.map +1 -1
- package/navigation/navigation-list/navigation-list.d.ts.map +1 -1
- package/navigation/navigation-list.js +17 -16
- package/navigation/navigation-marker/navigation-marker.d.ts +2 -1
- package/navigation/navigation-marker/navigation-marker.d.ts.map +1 -1
- package/navigation/navigation-marker.js +12 -10
- package/navigation/navigation-section/navigation-section.d.ts +3 -0
- package/navigation/navigation-section/navigation-section.d.ts.map +1 -1
- package/navigation/navigation-section.js +46 -37
- package/navigation/navigation.js +30 -21
- package/notification/notification.d.ts +6 -2
- package/notification/notification.d.ts.map +1 -1
- package/notification.js +55 -51
- package/option/option/option-base-element.d.ts +0 -7
- package/option/option/option-base-element.d.ts.map +1 -1
- package/option/option.js +110 -125
- package/overlay/overlay-base-element.d.ts +2 -0
- package/overlay/overlay-base-element.d.ts.map +1 -1
- package/overlay/overlay.d.ts +3 -0
- package/overlay/overlay.d.ts.map +1 -1
- package/overlay.js +83 -77
- package/package.json +40 -25
- package/paginator/common/paginator-common.d.ts.map +1 -1
- package/paginator/common.js +21 -17
- package/paginator/paginator.js +1 -1
- package/popover/popover/popover.d.ts +3 -0
- package/popover/popover/popover.d.ts.map +1 -1
- package/popover/popover-trigger.js +6 -6
- package/popover/popover.js +114 -109
- package/radio-button/common/radio-button-common.d.ts +3 -10
- package/radio-button/common/radio-button-common.d.ts.map +1 -1
- package/radio-button/common.js +43 -90
- package/radio-button/radio-button/radio-button.d.ts +9 -1
- package/radio-button/radio-button/radio-button.d.ts.map +1 -1
- package/radio-button/radio-button-group/radio-button-group.d.ts +19 -26
- package/radio-button/radio-button-group/radio-button-group.d.ts.map +1 -1
- package/radio-button/radio-button-group.js +112 -131
- package/radio-button/radio-button-panel/radio-button-panel.d.ts +19 -1
- package/radio-button/radio-button-panel/radio-button-panel.d.ts.map +1 -1
- package/radio-button/radio-button-panel.js +56 -44
- package/radio-button/radio-button.js +34 -38
- package/select/select.d.ts +3 -9
- package/select/select.d.ts.map +1 -1
- package/select.js +65 -66
- package/selection-expansion-panel/selection-expansion-panel.d.ts +4 -1
- package/selection-expansion-panel/selection-expansion-panel.d.ts.map +1 -1
- package/selection-expansion-panel.js +41 -31
- package/skiplink-list/skiplink-list.d.ts.map +1 -1
- package/skiplink-list.js +14 -13
- package/slider/slider.d.ts +0 -1
- package/slider/slider.d.ts.map +1 -1
- package/slider.js +1 -1
- package/standard-theme.css +238 -8
- package/stepper/step-label/step-label.d.ts +0 -2
- package/stepper/step-label/step-label.d.ts.map +1 -1
- package/stepper/step-label.js +6 -6
- package/stepper/step.js +4 -4
- package/stepper/stepper/stepper.d.ts +4 -1
- package/stepper/stepper/stepper.d.ts.map +1 -1
- package/stepper/stepper.js +22 -19
- package/table.css +15 -0
- package/tabs/tab-group/tab-group.d.ts +4 -1
- package/tabs/tab-group/tab-group.d.ts.map +1 -1
- package/tabs/tab-group.js +24 -20
- package/tabs/tab-label.js +1 -1
- package/tag/tag/tag.d.ts +4 -1
- package/tag/tag/tag.d.ts.map +1 -1
- package/tag/tag-group/tag-group.d.ts +5 -2
- package/tag/tag-group/tag-group.d.ts.map +1 -1
- package/tag/tag-group.js +13 -10
- package/tag/tag.js +25 -21
- package/teaser/teaser.d.ts +2 -2
- package/teaser/teaser.d.ts.map +1 -1
- package/teaser-hero/teaser-hero.d.ts +2 -6
- package/teaser-hero/teaser-hero.d.ts.map +1 -1
- package/teaser-hero.js +32 -57
- package/teaser-product/common.js +1 -1
- package/teaser-product/teaser-product.js +13 -13
- package/teaser.js +28 -28
- package/time-input/time-input.d.ts +3 -6
- package/time-input/time-input.d.ts.map +1 -1
- package/time-input.js +56 -55
- package/toast/toast.d.ts +3 -0
- package/toast/toast.d.ts.map +1 -1
- package/toast.js +51 -42
- package/toggle/toggle/toggle.d.ts +4 -8
- package/toggle/toggle/toggle.d.ts.map +1 -1
- package/toggle/toggle.js +48 -48
- package/toggle-check/toggle-check.d.ts +4 -6
- package/toggle-check/toggle-check.d.ts.map +1 -1
- package/toggle-check.js +23 -21
- package/train/train/train.d.ts.map +1 -1
- package/train/train-blocked-passage.js +1 -1
- package/train/train-formation/train-formation.d.ts +3 -11
- package/train/train-formation/train-formation.d.ts.map +1 -1
- package/train/train-formation.js +47 -65
- package/train/train-wagon/train-wagon.d.ts +11 -8
- package/train/train-wagon/train-wagon.d.ts.map +1 -1
- package/train/train-wagon.js +123 -134
- package/train/train.js +74 -78
- package/visual-checkbox/visual-checkbox.d.ts +4 -1
- package/visual-checkbox/visual-checkbox.d.ts.map +1 -1
- package/visual-checkbox.js +21 -17
- package/button/mini-button/mini-button-base-element.d.ts +0 -8
- package/button/mini-button/mini-button-base-element.d.ts.map +0 -1
- package/button/tertiary-button/tertiary-button.d.ts +0 -19
- package/button/tertiary-button/tertiary-button.d.ts.map +0 -1
- package/button/tertiary-button-link/tertiary-button-link.d.ts +0 -19
- package/button/tertiary-button-link/tertiary-button-link.d.ts.map +0 -1
- package/button/tertiary-button-link.d.ts +0 -2
- package/button/tertiary-button-link.d.ts.map +0 -1
- package/button/tertiary-button-link.js +0 -17
- package/button/tertiary-button-static/tertiary-button-static.d.ts +0 -19
- package/button/tertiary-button-static/tertiary-button-static.d.ts.map +0 -1
- package/button/tertiary-button-static.d.ts +0 -2
- package/button/tertiary-button-static.d.ts.map +0 -1
- package/button/tertiary-button-static.js +0 -17
- package/button/tertiary-button.d.ts +0 -2
- package/button/tertiary-button.d.ts.map +0 -1
- package/button/tertiary-button.js +0 -17
- package/chip/chip.d.ts.map +0 -1
- package/chip.d.ts +0 -2
- package/chip.d.ts.map +0 -1
- package/chip.js +0 -54
- package/core/dom/get-document-writing-mode.d.ts +0 -5
- package/core/dom/get-document-writing-mode.d.ts.map +0 -1
- package/core/dom/ssr.d.ts +0 -13
- package/core/dom/ssr.d.ts.map +0 -1
- package/core/eventing/handler-repository.d.ts +0 -28
- package/core/eventing/handler-repository.d.ts.map +0 -1
- package/core/observers/intersection-observer.d.ts +0 -20
- package/core/observers/intersection-observer.d.ts.map +0 -1
- package/core/observers/mutation-observer.d.ts +0 -13
- package/core/observers/mutation-observer.d.ts.map +0 -1
- package/core/observers/resize-observer.d.ts +0 -16
- package/core/observers/resize-observer.d.ts.map +0 -1
- package/core/observers.d.ts +0 -4
- package/core/observers.d.ts.map +0 -1
- package/core/observers.js +0 -38
- package/core/testing/wait-for-event.d.ts +0 -2
- package/core/testing/wait-for-event.d.ts.map +0 -1
- package/development/button/mini-button/mini-button-base-element.d.ts +0 -8
- package/development/button/mini-button/mini-button-base-element.d.ts.map +0 -1
- package/development/button/tertiary-button/tertiary-button.d.ts +0 -19
- package/development/button/tertiary-button/tertiary-button.d.ts.map +0 -1
- package/development/button/tertiary-button-link/tertiary-button-link.d.ts +0 -19
- package/development/button/tertiary-button-link/tertiary-button-link.d.ts.map +0 -1
- package/development/button/tertiary-button-link.d.ts +0 -2
- package/development/button/tertiary-button-link.d.ts.map +0 -1
- package/development/button/tertiary-button-link.js +0 -25
- package/development/button/tertiary-button-static/tertiary-button-static.d.ts +0 -19
- package/development/button/tertiary-button-static/tertiary-button-static.d.ts.map +0 -1
- package/development/button/tertiary-button-static.d.ts +0 -2
- package/development/button/tertiary-button-static.d.ts.map +0 -1
- package/development/button/tertiary-button-static.js +0 -25
- package/development/button/tertiary-button.d.ts +0 -2
- package/development/button/tertiary-button.d.ts.map +0 -1
- package/development/button/tertiary-button.js +0 -25
- package/development/chip/chip.d.ts.map +0 -1
- package/development/chip.d.ts +0 -2
- package/development/chip.d.ts.map +0 -1
- package/development/core/dom/get-document-writing-mode.d.ts +0 -5
- package/development/core/dom/get-document-writing-mode.d.ts.map +0 -1
- package/development/core/dom/ssr.d.ts +0 -13
- package/development/core/dom/ssr.d.ts.map +0 -1
- package/development/core/eventing/handler-repository.d.ts +0 -28
- package/development/core/eventing/handler-repository.d.ts.map +0 -1
- package/development/core/observers/intersection-observer.d.ts +0 -20
- package/development/core/observers/intersection-observer.d.ts.map +0 -1
- package/development/core/observers/mutation-observer.d.ts +0 -13
- package/development/core/observers/mutation-observer.d.ts.map +0 -1
- package/development/core/observers/resize-observer.d.ts +0 -16
- package/development/core/observers/resize-observer.d.ts.map +0 -1
- package/development/core/observers.d.ts +0 -4
- package/development/core/observers.d.ts.map +0 -1
- package/development/core/observers.js +0 -39
- package/development/core/testing/wait-for-event.d.ts +0 -2
- package/development/core/testing/wait-for-event.d.ts.map +0 -1
package/index.d.ts
CHANGED
|
@@ -11,6 +11,9 @@ import { SbbAutocompleteGridOptionElement } from "./autocomplete-grid/autocomple
|
|
|
11
11
|
import { SbbAutocompleteGridRowElement } from "./autocomplete-grid/autocomplete-grid-row.js";
|
|
12
12
|
import { SbbBreadcrumbElement } from "./breadcrumb/breadcrumb.js";
|
|
13
13
|
import { SbbBreadcrumbGroupElement } from "./breadcrumb/breadcrumb-group.js";
|
|
14
|
+
import { SbbAccentButtonElement } from "./button/accent-button.js";
|
|
15
|
+
import { SbbAccentButtonLinkElement } from "./button/accent-button-link.js";
|
|
16
|
+
import { SbbAccentButtonStaticElement } from "./button/accent-button-static.js";
|
|
14
17
|
import { SbbButtonElement } from "./button/button.js";
|
|
15
18
|
import { SbbButtonLinkElement } from "./button/button-link.js";
|
|
16
19
|
import { SbbButtonStaticElement } from "./button/button-static.js";
|
|
@@ -19,9 +22,6 @@ import { SbbMiniButtonGroupElement } from "./button/mini-button-group.js";
|
|
|
19
22
|
import { SbbSecondaryButtonElement } from "./button/secondary-button.js";
|
|
20
23
|
import { SbbSecondaryButtonLinkElement } from "./button/secondary-button-link.js";
|
|
21
24
|
import { SbbSecondaryButtonStaticElement } from "./button/secondary-button-static.js";
|
|
22
|
-
import { SbbTertiaryButtonElement } from "./button/tertiary-button.js";
|
|
23
|
-
import { SbbTertiaryButtonLinkElement } from "./button/tertiary-button-link.js";
|
|
24
|
-
import { SbbTertiaryButtonStaticElement } from "./button/tertiary-button-static.js";
|
|
25
25
|
import { SbbTransparentButtonElement } from "./button/transparent-button.js";
|
|
26
26
|
import { SbbTransparentButtonLinkElement } from "./button/transparent-button-link.js";
|
|
27
27
|
import { SbbTransparentButtonStaticElement } from "./button/transparent-button-static.js";
|
|
@@ -33,7 +33,7 @@ import { SbbCardLinkElement } from "./card/card-link.js";
|
|
|
33
33
|
import { SbbCheckboxElement } from "./checkbox/checkbox.js";
|
|
34
34
|
import { SbbCheckboxGroupElement } from "./checkbox/checkbox-group.js";
|
|
35
35
|
import { SbbCheckboxPanelElement } from "./checkbox/checkbox-panel.js";
|
|
36
|
-
import {
|
|
36
|
+
import { SbbChipLabelElement } from "./chip-label.js";
|
|
37
37
|
import { SbbClockElement } from "./clock.js";
|
|
38
38
|
import { SbbContainerElement } from "./container/container.js";
|
|
39
39
|
import { SbbStickyBarElement } from "./container/sticky-bar.js";
|
|
@@ -49,7 +49,8 @@ import { SbbDividerElement } from "./divider.js";
|
|
|
49
49
|
import { SbbExpansionPanelElement } from "./expansion-panel/expansion-panel.js";
|
|
50
50
|
import { SbbExpansionPanelContentElement } from "./expansion-panel/expansion-panel-content.js";
|
|
51
51
|
import { SbbExpansionPanelHeaderElement } from "./expansion-panel/expansion-panel-header.js";
|
|
52
|
-
import { SbbFileSelectorElement } from "./file-selector.js";
|
|
52
|
+
import { SbbFileSelectorElement } from "./file-selector/file-selector.js";
|
|
53
|
+
import { SbbFileSelectorDropzoneElement } from "./file-selector/file-selector-dropzone.js";
|
|
53
54
|
import { SbbFlipCardElement } from "./flip-card/flip-card.js";
|
|
54
55
|
import { SbbFlipCardDetailsElement } from "./flip-card/flip-card-details.js";
|
|
55
56
|
import { SbbFlipCardSummaryElement } from "./flip-card/flip-card-summary.js";
|
|
@@ -73,6 +74,7 @@ import { SbbLinkElement } from "./link/link.js";
|
|
|
73
74
|
import { SbbLinkButtonElement } from "./link/link-button.js";
|
|
74
75
|
import { SbbLinkStaticElement } from "./link/link-static.js";
|
|
75
76
|
import { SbbLoadingIndicatorElement } from "./loading-indicator.js";
|
|
77
|
+
import { SbbLoadingIndicatorCircleElement } from "./loading-indicator-circle.js";
|
|
76
78
|
import { SbbLogoElement } from "./logo.js";
|
|
77
79
|
import { SbbMapContainerElement } from "./map-container.js";
|
|
78
80
|
import { SbbMenuElement } from "./menu/menu.js";
|
|
@@ -144,6 +146,9 @@ declare global {
|
|
|
144
146
|
var SbbAutocompleteGridRowElement: SbbAutocompleteGridRowElement;
|
|
145
147
|
var SbbBreadcrumbElement: SbbBreadcrumbElement;
|
|
146
148
|
var SbbBreadcrumbGroupElement: SbbBreadcrumbGroupElement;
|
|
149
|
+
var SbbAccentButtonElement: SbbAccentButtonElement;
|
|
150
|
+
var SbbAccentButtonLinkElement: SbbAccentButtonLinkElement;
|
|
151
|
+
var SbbAccentButtonStaticElement: SbbAccentButtonStaticElement;
|
|
147
152
|
var SbbButtonElement: SbbButtonElement;
|
|
148
153
|
var SbbButtonLinkElement: SbbButtonLinkElement;
|
|
149
154
|
var SbbButtonStaticElement: SbbButtonStaticElement;
|
|
@@ -152,9 +157,6 @@ declare global {
|
|
|
152
157
|
var SbbSecondaryButtonElement: SbbSecondaryButtonElement;
|
|
153
158
|
var SbbSecondaryButtonLinkElement: SbbSecondaryButtonLinkElement;
|
|
154
159
|
var SbbSecondaryButtonStaticElement: SbbSecondaryButtonStaticElement;
|
|
155
|
-
var SbbTertiaryButtonElement: SbbTertiaryButtonElement;
|
|
156
|
-
var SbbTertiaryButtonLinkElement: SbbTertiaryButtonLinkElement;
|
|
157
|
-
var SbbTertiaryButtonStaticElement: SbbTertiaryButtonStaticElement;
|
|
158
160
|
var SbbTransparentButtonElement: SbbTransparentButtonElement;
|
|
159
161
|
var SbbTransparentButtonLinkElement: SbbTransparentButtonLinkElement;
|
|
160
162
|
var SbbTransparentButtonStaticElement: SbbTransparentButtonStaticElement;
|
|
@@ -166,7 +168,7 @@ declare global {
|
|
|
166
168
|
var SbbCheckboxElement: SbbCheckboxElement;
|
|
167
169
|
var SbbCheckboxGroupElement: SbbCheckboxGroupElement;
|
|
168
170
|
var SbbCheckboxPanelElement: SbbCheckboxPanelElement;
|
|
169
|
-
var
|
|
171
|
+
var SbbChipLabelElement: SbbChipLabelElement;
|
|
170
172
|
var SbbClockElement: SbbClockElement;
|
|
171
173
|
var SbbContainerElement: SbbContainerElement;
|
|
172
174
|
var SbbStickyBarElement: SbbStickyBarElement;
|
|
@@ -183,6 +185,7 @@ declare global {
|
|
|
183
185
|
var SbbExpansionPanelContentElement: SbbExpansionPanelContentElement;
|
|
184
186
|
var SbbExpansionPanelHeaderElement: SbbExpansionPanelHeaderElement;
|
|
185
187
|
var SbbFileSelectorElement: SbbFileSelectorElement;
|
|
188
|
+
var SbbFileSelectorDropzoneElement: SbbFileSelectorDropzoneElement;
|
|
186
189
|
var SbbFlipCardElement: SbbFlipCardElement;
|
|
187
190
|
var SbbFlipCardDetailsElement: SbbFlipCardDetailsElement;
|
|
188
191
|
var SbbFlipCardSummaryElement: SbbFlipCardSummaryElement;
|
|
@@ -206,6 +209,7 @@ declare global {
|
|
|
206
209
|
var SbbLinkButtonElement: SbbLinkButtonElement;
|
|
207
210
|
var SbbLinkStaticElement: SbbLinkStaticElement;
|
|
208
211
|
var SbbLoadingIndicatorElement: SbbLoadingIndicatorElement;
|
|
212
|
+
var SbbLoadingIndicatorCircleElement: SbbLoadingIndicatorCircleElement;
|
|
209
213
|
var SbbLogoElement: SbbLogoElement;
|
|
210
214
|
var SbbMapContainerElement: SbbMapContainerElement;
|
|
211
215
|
var SbbMenuElement: SbbMenuElement;
|
package/index.js
CHANGED
|
@@ -11,6 +11,9 @@ import { SbbAutocompleteGridOptionElement } from "./autocomplete-grid/autocomple
|
|
|
11
11
|
import { SbbAutocompleteGridRowElement } from "./autocomplete-grid/autocomplete-grid-row.js";
|
|
12
12
|
import { SbbBreadcrumbElement } from "./breadcrumb/breadcrumb.js";
|
|
13
13
|
import { SbbBreadcrumbGroupElement } from "./breadcrumb/breadcrumb-group.js";
|
|
14
|
+
import { SbbAccentButtonElement } from "./button/accent-button.js";
|
|
15
|
+
import { SbbAccentButtonLinkElement } from "./button/accent-button-link.js";
|
|
16
|
+
import { SbbAccentButtonStaticElement } from "./button/accent-button-static.js";
|
|
14
17
|
import { SbbButtonElement } from "./button/button.js";
|
|
15
18
|
import { SbbButtonLinkElement } from "./button/button-link.js";
|
|
16
19
|
import { SbbButtonStaticElement } from "./button/button-static.js";
|
|
@@ -19,9 +22,6 @@ import { SbbMiniButtonGroupElement } from "./button/mini-button-group.js";
|
|
|
19
22
|
import { SbbSecondaryButtonElement } from "./button/secondary-button.js";
|
|
20
23
|
import { SbbSecondaryButtonLinkElement } from "./button/secondary-button-link.js";
|
|
21
24
|
import { SbbSecondaryButtonStaticElement } from "./button/secondary-button-static.js";
|
|
22
|
-
import { SbbTertiaryButtonElement } from "./button/tertiary-button.js";
|
|
23
|
-
import { SbbTertiaryButtonLinkElement } from "./button/tertiary-button-link.js";
|
|
24
|
-
import { SbbTertiaryButtonStaticElement } from "./button/tertiary-button-static.js";
|
|
25
25
|
import { SbbTransparentButtonElement } from "./button/transparent-button.js";
|
|
26
26
|
import { SbbTransparentButtonLinkElement } from "./button/transparent-button-link.js";
|
|
27
27
|
import { SbbTransparentButtonStaticElement } from "./button/transparent-button-static.js";
|
|
@@ -33,7 +33,7 @@ import { SbbCardLinkElement } from "./card/card-link.js";
|
|
|
33
33
|
import { SbbCheckboxElement } from "./checkbox/checkbox.js";
|
|
34
34
|
import { SbbCheckboxGroupElement } from "./checkbox/checkbox-group.js";
|
|
35
35
|
import { SbbCheckboxPanelElement } from "./checkbox/checkbox-panel.js";
|
|
36
|
-
import {
|
|
36
|
+
import { SbbChipLabelElement } from "./chip-label.js";
|
|
37
37
|
import { SbbClockElement } from "./clock.js";
|
|
38
38
|
import { SbbContainerElement } from "./container/container.js";
|
|
39
39
|
import { SbbStickyBarElement } from "./container/sticky-bar.js";
|
|
@@ -49,7 +49,8 @@ import { SbbDividerElement } from "./divider.js";
|
|
|
49
49
|
import { SbbExpansionPanelElement } from "./expansion-panel/expansion-panel.js";
|
|
50
50
|
import { SbbExpansionPanelContentElement } from "./expansion-panel/expansion-panel-content.js";
|
|
51
51
|
import { SbbExpansionPanelHeaderElement } from "./expansion-panel/expansion-panel-header.js";
|
|
52
|
-
import { SbbFileSelectorElement } from "./file-selector.js";
|
|
52
|
+
import { SbbFileSelectorElement } from "./file-selector/file-selector.js";
|
|
53
|
+
import { SbbFileSelectorDropzoneElement } from "./file-selector/file-selector-dropzone.js";
|
|
53
54
|
import { SbbFlipCardElement } from "./flip-card/flip-card.js";
|
|
54
55
|
import { SbbFlipCardDetailsElement } from "./flip-card/flip-card-details.js";
|
|
55
56
|
import { SbbFlipCardSummaryElement } from "./flip-card/flip-card-summary.js";
|
|
@@ -73,6 +74,7 @@ import { SbbLinkElement } from "./link/link.js";
|
|
|
73
74
|
import { SbbLinkButtonElement } from "./link/link-button.js";
|
|
74
75
|
import { SbbLinkStaticElement } from "./link/link-static.js";
|
|
75
76
|
import { SbbLoadingIndicatorElement } from "./loading-indicator.js";
|
|
77
|
+
import { SbbLoadingIndicatorCircleElement } from "./loading-indicator-circle.js";
|
|
76
78
|
import { SbbLogoElement } from "./logo.js";
|
|
77
79
|
import { SbbMapContainerElement } from "./map-container.js";
|
|
78
80
|
import { SbbMenuElement } from "./menu/menu.js";
|
|
@@ -143,6 +145,9 @@ globalThis.SbbAutocompleteGridOptionElement = SbbAutocompleteGridOptionElement;
|
|
|
143
145
|
globalThis.SbbAutocompleteGridRowElement = SbbAutocompleteGridRowElement;
|
|
144
146
|
globalThis.SbbBreadcrumbElement = SbbBreadcrumbElement;
|
|
145
147
|
globalThis.SbbBreadcrumbGroupElement = SbbBreadcrumbGroupElement;
|
|
148
|
+
globalThis.SbbAccentButtonElement = SbbAccentButtonElement;
|
|
149
|
+
globalThis.SbbAccentButtonLinkElement = SbbAccentButtonLinkElement;
|
|
150
|
+
globalThis.SbbAccentButtonStaticElement = SbbAccentButtonStaticElement;
|
|
146
151
|
globalThis.SbbButtonElement = SbbButtonElement;
|
|
147
152
|
globalThis.SbbButtonLinkElement = SbbButtonLinkElement;
|
|
148
153
|
globalThis.SbbButtonStaticElement = SbbButtonStaticElement;
|
|
@@ -151,9 +156,6 @@ globalThis.SbbMiniButtonGroupElement = SbbMiniButtonGroupElement;
|
|
|
151
156
|
globalThis.SbbSecondaryButtonElement = SbbSecondaryButtonElement;
|
|
152
157
|
globalThis.SbbSecondaryButtonLinkElement = SbbSecondaryButtonLinkElement;
|
|
153
158
|
globalThis.SbbSecondaryButtonStaticElement = SbbSecondaryButtonStaticElement;
|
|
154
|
-
globalThis.SbbTertiaryButtonElement = SbbTertiaryButtonElement;
|
|
155
|
-
globalThis.SbbTertiaryButtonLinkElement = SbbTertiaryButtonLinkElement;
|
|
156
|
-
globalThis.SbbTertiaryButtonStaticElement = SbbTertiaryButtonStaticElement;
|
|
157
159
|
globalThis.SbbTransparentButtonElement = SbbTransparentButtonElement;
|
|
158
160
|
globalThis.SbbTransparentButtonLinkElement = SbbTransparentButtonLinkElement;
|
|
159
161
|
globalThis.SbbTransparentButtonStaticElement = SbbTransparentButtonStaticElement;
|
|
@@ -165,7 +167,7 @@ globalThis.SbbCardLinkElement = SbbCardLinkElement;
|
|
|
165
167
|
globalThis.SbbCheckboxElement = SbbCheckboxElement;
|
|
166
168
|
globalThis.SbbCheckboxGroupElement = SbbCheckboxGroupElement;
|
|
167
169
|
globalThis.SbbCheckboxPanelElement = SbbCheckboxPanelElement;
|
|
168
|
-
globalThis.
|
|
170
|
+
globalThis.SbbChipLabelElement = SbbChipLabelElement;
|
|
169
171
|
globalThis.SbbClockElement = SbbClockElement;
|
|
170
172
|
globalThis.SbbContainerElement = SbbContainerElement;
|
|
171
173
|
globalThis.SbbStickyBarElement = SbbStickyBarElement;
|
|
@@ -182,6 +184,7 @@ globalThis.SbbExpansionPanelElement = SbbExpansionPanelElement;
|
|
|
182
184
|
globalThis.SbbExpansionPanelContentElement = SbbExpansionPanelContentElement;
|
|
183
185
|
globalThis.SbbExpansionPanelHeaderElement = SbbExpansionPanelHeaderElement;
|
|
184
186
|
globalThis.SbbFileSelectorElement = SbbFileSelectorElement;
|
|
187
|
+
globalThis.SbbFileSelectorDropzoneElement = SbbFileSelectorDropzoneElement;
|
|
185
188
|
globalThis.SbbFlipCardElement = SbbFlipCardElement;
|
|
186
189
|
globalThis.SbbFlipCardDetailsElement = SbbFlipCardDetailsElement;
|
|
187
190
|
globalThis.SbbFlipCardSummaryElement = SbbFlipCardSummaryElement;
|
|
@@ -205,6 +208,7 @@ globalThis.SbbLinkElement = SbbLinkElement;
|
|
|
205
208
|
globalThis.SbbLinkButtonElement = SbbLinkButtonElement;
|
|
206
209
|
globalThis.SbbLinkStaticElement = SbbLinkStaticElement;
|
|
207
210
|
globalThis.SbbLoadingIndicatorElement = SbbLoadingIndicatorElement;
|
|
211
|
+
globalThis.SbbLoadingIndicatorCircleElement = SbbLoadingIndicatorCircleElement;
|
|
208
212
|
globalThis.SbbLogoElement = SbbLogoElement;
|
|
209
213
|
globalThis.SbbMapContainerElement = SbbMapContainerElement;
|
|
210
214
|
globalThis.SbbMenuElement = SbbMenuElement;
|
|
@@ -15,7 +15,10 @@ export declare class SbbJourneyHeaderElement extends SbbJourneyHeaderElement_bas
|
|
|
15
15
|
accessor roundTrip: boolean;
|
|
16
16
|
/** Heading level of the journey header element (e.g. h1-h6). */
|
|
17
17
|
accessor level: SbbTitleLevel;
|
|
18
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* Journey header size, either s, m or l.
|
|
20
|
+
* @default 'm' / 's' (lean)
|
|
21
|
+
*/
|
|
19
22
|
accessor size: JourneyHeaderSize;
|
|
20
23
|
private _language;
|
|
21
24
|
protected render(): TemplateResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"journey-header.d.ts","sourceRoot":"","sources":["../../../src/elements/journey-header/journey-header.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1D,OAAO,EAAQ,UAAU,EAAW,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"journey-header.d.ts","sourceRoot":"","sources":["../../../src/elements/journey-header/journey-header.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1D,OAAO,EAAQ,UAAU,EAAW,MAAM,KAAK,CAAC;AAQhD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAIjD,OAAO,YAAY,CAAC;AACpB,OAAO,0BAA0B,CAAC;AAClC,OAAO,aAAa,CAAC;AAErB,MAAM,MAAM,iBAAiB,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;;AAQhD;;GAEG;AACH,qBAEM,uBAAwB,SAAQ,4BAA4B;IAChE,OAAuB,MAAM,EAAE,cAAc,CAAS;IAEtD,8CAA8C;IAC9C,SAEgB,MAAM,EAAE,MAAM,CAAM;IAEpC,mDAAmD;IACnD,SAEgB,WAAW,EAAE,MAAM,CAAM;IAEzC,wFAAwF;IACxF,SAEgB,SAAS,EAAE,OAAO,CAAS;IAE3C,gEAAgE;IAChE,SAA4B,KAAK,EAAE,aAAa,CAAO;IAEvD;;;OAGG;IACH,SAA6C,IAAI,EAAE,iBAAiB,CAAwB;IAE5F,OAAO,CAAC,SAAS,CAAmC;cAEjC,MAAM,IAAI,cAAc;CAgC5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,oBAAoB,EAAE,uBAAuB,CAAC;KAC/C;CACF"}
|
package/journey-header.js
CHANGED
|
@@ -2,25 +2,26 @@ var O = (i) => {
|
|
|
2
2
|
throw TypeError(i);
|
|
3
3
|
};
|
|
4
4
|
var B = (i, s, r) => s.has(i) || O("Cannot " + r);
|
|
5
|
-
var
|
|
5
|
+
var g = (i, s, r) => (B(i, s, "read from private field"), r ? r.call(i) : s.get(i)), p = (i, s, r) => s.has(i) ? O("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(i) : s.set(i, r), n = (i, s, r, l) => (B(i, s, "write to private field"), l ? l.call(i, r) : s.set(i, r), r);
|
|
6
6
|
import { __runInitializers as o, __esDecorate as _ } from "tslib";
|
|
7
7
|
import { css as J, LitElement as P, html as F, nothing as H } from "lit";
|
|
8
8
|
import { customElement as R, property as f } from "lit/decorators.js";
|
|
9
9
|
import { SbbLanguageController as q } from "./core/controllers.js";
|
|
10
10
|
import { forceType as v } from "./core/decorators.js";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
11
|
+
import { isLean as A } from "./core/dom.js";
|
|
12
|
+
import { i18nConnectionFrom as G, i18nConnectionTo as K, i18nConnectionRoundtrip as Q } from "./core/i18n.js";
|
|
13
|
+
import { SbbNegativeMixin as U } from "./core/mixins.js";
|
|
13
14
|
import "./icon.js";
|
|
14
15
|
import "./screen-reader-only.js";
|
|
15
16
|
import "./title.js";
|
|
16
|
-
const
|
|
17
|
+
const V = J`*,:before,:after{box-sizing:border-box}:host{--sbb-journey-header-gap: var(--sbb-spacing-fixed-1x);display:block}:host([id]){scroll-margin-block-start:var(--sbb-spacing-fixed-10x)}sbb-title{margin:0}sbb-icon{min-width:var(--sbb-size-icon-ui-small)}.sbb-journey-header{display:flex;flex-wrap:wrap;align-items:center;column-gap:var(--sbb-journey-header-gap);width:fit-content}.sbb-journey-header:dir(rtl) sbb-icon{transform:rotate(-180deg)}`, W = /* @__PURE__ */ new Map([
|
|
17
18
|
["s", "6"],
|
|
18
19
|
["m", "5"],
|
|
19
20
|
["l", "4"]
|
|
20
21
|
]);
|
|
21
|
-
let
|
|
22
|
-
var d, b, h, u,
|
|
23
|
-
let i = [R("sbb-journey-header")], s, r = [], l, y =
|
|
22
|
+
let de = (() => {
|
|
23
|
+
var d, b, h, u, m, a;
|
|
24
|
+
let i = [R("sbb-journey-header")], s, r = [], l, y = U(P), z, x = [], T = [], j, $ = [], w = [], k, S = [], I = [], C, E = [], L = [], D, M = [], N = [];
|
|
24
25
|
return a = class extends y {
|
|
25
26
|
constructor() {
|
|
26
27
|
super(...arguments);
|
|
@@ -28,43 +29,46 @@ let le = (() => {
|
|
|
28
29
|
p(this, b);
|
|
29
30
|
p(this, h);
|
|
30
31
|
p(this, u);
|
|
31
|
-
p(this,
|
|
32
|
-
n(this, d, o(this, x, "")), n(this, b, (o(this, T), o(this, $, ""))), n(this, h, (o(this, w), o(this, S, !1))), n(this, u, (o(this, I), o(this, E, "3"))), n(this,
|
|
32
|
+
p(this, m);
|
|
33
|
+
n(this, d, o(this, x, "")), n(this, b, (o(this, T), o(this, $, ""))), n(this, h, (o(this, w), o(this, S, !1))), n(this, u, (o(this, I), o(this, E, "3"))), n(this, m, (o(this, L), o(this, M, A() ? "s" : "m"))), this._language = (o(this, N), new q(this));
|
|
33
34
|
}
|
|
34
35
|
/** Origin location for the journey header. */
|
|
35
36
|
get origin() {
|
|
36
|
-
return
|
|
37
|
+
return g(this, d);
|
|
37
38
|
}
|
|
38
39
|
set origin(t) {
|
|
39
40
|
n(this, d, t);
|
|
40
41
|
}
|
|
41
42
|
/** Destination location for the journey header. */
|
|
42
43
|
get destination() {
|
|
43
|
-
return
|
|
44
|
+
return g(this, b);
|
|
44
45
|
}
|
|
45
46
|
set destination(t) {
|
|
46
47
|
n(this, b, t);
|
|
47
48
|
}
|
|
48
49
|
/** Whether the journey is a round trip. If so, the icon changes to a round-trip one. */
|
|
49
50
|
get roundTrip() {
|
|
50
|
-
return
|
|
51
|
+
return g(this, h);
|
|
51
52
|
}
|
|
52
53
|
set roundTrip(t) {
|
|
53
54
|
n(this, h, t);
|
|
54
55
|
}
|
|
55
56
|
/** Heading level of the journey header element (e.g. h1-h6). */
|
|
56
57
|
get level() {
|
|
57
|
-
return
|
|
58
|
+
return g(this, u);
|
|
58
59
|
}
|
|
59
60
|
set level(t) {
|
|
60
61
|
n(this, u, t);
|
|
61
62
|
}
|
|
62
|
-
/**
|
|
63
|
+
/**
|
|
64
|
+
* Journey header size, either s, m or l.
|
|
65
|
+
* @default 'm' / 's' (lean)
|
|
66
|
+
*/
|
|
63
67
|
get size() {
|
|
64
|
-
return
|
|
68
|
+
return g(this, m);
|
|
65
69
|
}
|
|
66
70
|
set size(t) {
|
|
67
|
-
n(this,
|
|
71
|
+
n(this, m, t);
|
|
68
72
|
}
|
|
69
73
|
render() {
|
|
70
74
|
const t = this.roundTrip ? "arrows-long-right-left-small" : "arrow-long-right-small";
|
|
@@ -72,32 +76,32 @@ let le = (() => {
|
|
|
72
76
|
<sbb-title
|
|
73
77
|
level=${this.level || H}
|
|
74
78
|
?negative=${this.negative}
|
|
75
|
-
visual-level=${
|
|
79
|
+
visual-level=${W.get(this.size)}
|
|
76
80
|
>
|
|
77
81
|
<span class="sbb-journey-header">
|
|
78
82
|
<span class="sbb-journey-header__origin">
|
|
79
83
|
<sbb-screen-reader-only>
|
|
80
|
-
${
|
|
84
|
+
${G[this._language.current]}
|
|
81
85
|
</sbb-screen-reader-only>
|
|
82
86
|
${this.origin}
|
|
83
87
|
</span>
|
|
84
88
|
<sbb-icon name=${t}></sbb-icon>
|
|
85
89
|
<span class="sbb-journey-header__destination">
|
|
86
90
|
<sbb-screen-reader-only>
|
|
87
|
-
${
|
|
91
|
+
${K[this._language.current]}
|
|
88
92
|
</sbb-screen-reader-only>
|
|
89
93
|
${this.destination}
|
|
90
94
|
${this.roundTrip ? F` <sbb-screen-reader-only>
|
|
91
|
-
${
|
|
95
|
+
${Q(this.origin)[this._language.current]}
|
|
92
96
|
</sbb-screen-reader-only>` : H}
|
|
93
97
|
</span>
|
|
94
98
|
</span>
|
|
95
99
|
</sbb-title>
|
|
96
100
|
`;
|
|
97
101
|
}
|
|
98
|
-
}, d = new WeakMap(), b = new WeakMap(), h = new WeakMap(), u = new WeakMap(),
|
|
102
|
+
}, d = new WeakMap(), b = new WeakMap(), h = new WeakMap(), u = new WeakMap(), m = new WeakMap(), l = a, (() => {
|
|
99
103
|
const t = typeof Symbol == "function" && Symbol.metadata ? Object.create(y[Symbol.metadata] ?? null) : void 0;
|
|
100
|
-
z = [v(), f()], j = [v(), f()], k = [v(), f({ attribute: "round-trip", type: Boolean })], C = [f()],
|
|
104
|
+
z = [v(), f()], j = [v(), f()], k = [v(), f({ attribute: "round-trip", type: Boolean })], C = [f()], D = [f({ reflect: !0 })], _(a, null, z, { kind: "accessor", name: "origin", static: !1, private: !1, access: { has: (e) => "origin" in e, get: (e) => e.origin, set: (e, c) => {
|
|
101
105
|
e.origin = c;
|
|
102
106
|
} }, metadata: t }, x, T), _(a, null, j, { kind: "accessor", name: "destination", static: !1, private: !1, access: { has: (e) => "destination" in e, get: (e) => e.destination, set: (e, c) => {
|
|
103
107
|
e.destination = c;
|
|
@@ -105,11 +109,11 @@ let le = (() => {
|
|
|
105
109
|
e.roundTrip = c;
|
|
106
110
|
} }, metadata: t }, S, I), _(a, null, C, { kind: "accessor", name: "level", static: !1, private: !1, access: { has: (e) => "level" in e, get: (e) => e.level, set: (e, c) => {
|
|
107
111
|
e.level = c;
|
|
108
|
-
} }, metadata: t }, E,
|
|
112
|
+
} }, metadata: t }, E, L), _(a, null, D, { kind: "accessor", name: "size", static: !1, private: !1, access: { has: (e) => "size" in e, get: (e) => e.size, set: (e, c) => {
|
|
109
113
|
e.size = c;
|
|
110
114
|
} }, metadata: t }, M, N), _(null, s = { value: l }, i, { kind: "class", name: l.name, metadata: t }, null, r), l = s.value, t && Object.defineProperty(l, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: t });
|
|
111
|
-
})(), a.styles =
|
|
115
|
+
})(), a.styles = V, o(l, r), l;
|
|
112
116
|
})();
|
|
113
117
|
export {
|
|
114
|
-
|
|
118
|
+
de as SbbJourneyHeaderElement
|
|
115
119
|
};
|
package/lead-container.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { __esDecorate as b, __runInitializers as o } from "tslib";
|
|
2
2
|
import { css as d, html as l, LitElement as c } from "lit";
|
|
3
3
|
import { customElement as m } from "lit/decorators.js";
|
|
4
|
-
const g = d`*,:before,:after{box-sizing:border-box}:host{display:block;--sbb-lead-container-background-color: var(--sbb-color-white);--sbb-lead-container-image-ratio: 2 / 1;--sbb-lead-container-image-overlap: var(--sbb-spacing-fixed-24x);--sbb-lead-container-padding-block: var(--sbb-spacing-responsive-l);--sbb-lead-container-padding-inline: var(--sbb-layout-base-offset-responsive);--sbb-lead-container-border-radius: var(--sbb-border-radius-6x);--sbb-lead-container-image-border-radius: 0}@media (min-width: 80rem){:host{--sbb-lead-container-image-ratio: 21 / 9}}@media (min-width: 90rem){:host{--sbb-lead-container-image-border-radius: var(--sbb-lead-container-border-radius)}}.sbb-lead-container{padding-block-end:var(--sbb-spacing-responsive-l)}::slotted(
|
|
4
|
+
const g = d`*,:before,:after{box-sizing:border-box}:host{display:block;--sbb-lead-container-background-color: var(--sbb-color-white);--sbb-lead-container-image-ratio: 2 / 1;--sbb-lead-container-image-overlap: var(--sbb-spacing-fixed-24x);--sbb-lead-container-padding-block: var(--sbb-spacing-responsive-l);--sbb-lead-container-padding-inline: var(--sbb-layout-base-offset-responsive);--sbb-lead-container-border-radius: var(--sbb-border-radius-6x);--sbb-lead-container-image-border-radius: 0}@media (min-width: 80rem){:host{--sbb-lead-container-image-ratio: 21 / 9}}@media (min-width: 90rem){:host{--sbb-lead-container-image-border-radius: var(--sbb-lead-container-border-radius)}}.sbb-lead-container{padding-block-end:var(--sbb-spacing-responsive-l)}::slotted([slot=image]){display:block;width:100%}::slotted(:is(sbb-breadcrumb-group,sbb-block-link).sbb-lead-container-spacing){margin-block-end:var(--sbb-spacing-fixed-4x)}::slotted(:is(sbb-alert,sbb-alert-group).sbb-lead-container-spacing){margin-block-end:var(--sbb-spacing-responsive-m)}::slotted(sbb-title.sbb-lead-container-spacing){margin-block-start:0}::slotted(sbb-notification.sbb-lead-container-spacing){margin-block-end:var(--sbb-spacing-responsive-xxxs)}::slotted(.sbb-lead-container-lead-text){margin-block:0 var(--sbb-spacing-responsive-s)}@media (min-width: 90rem){.sbb-lead-container-image{max-width:calc(var(--sbb-layout-base-page-max-width) + 2 * var(--sbb-layout-base-offset-responsive));margin-inline:auto}}.sbb-lead-container-content-wrapper{background-color:var(--sbb-lead-container-background-color);display:grid;gap:var(--sbb-grid-base-gutter-responsive);grid-template-columns:repeat(var(--sbb-grid-base-columns),1fr);padding-inline:var(--sbb-layout-base-offset-responsive);margin-inline:auto;width:100%}@media (min-width: 90rem){.sbb-lead-container-content-wrapper{max-width:calc(var(--sbb-layout-base-page-max-width) + 2 * var(--sbb-layout-base-offset-responsive))}}@media (min-width: 64rem){.sbb-lead-container-content-wrapper{background-color:transparent}}.sbb-lead-container-content{z-index:1;border-radius:var(--sbb-lead-container-border-radius);padding-block:var(--sbb-lead-container-padding-block);background-color:var(--sbb-lead-container-background-color);grid-column:1/-1}@media (min-width: 52.5rem){.sbb-lead-container-content{grid-column:2/-2}}@media (min-width: 64rem){.sbb-lead-container-content{margin-block-start:calc(-1 * var(--sbb-lead-container-image-overlap));padding-inline:var(--sbb-lead-container-padding-inline);margin-inline:calc(-1 * var(--sbb-lead-container-padding-inline))}}@media (min-width: 80rem){.sbb-lead-container-content{grid-column:3/-3}}@media (min-width: 90rem){.sbb-lead-container-content{grid-column:4/-4}}`;
|
|
5
5
|
let h = (() => {
|
|
6
6
|
var a;
|
|
7
|
-
let s = [m("sbb-lead-container")],
|
|
7
|
+
let s = [m("sbb-lead-container")], i, r = [], e, t = c;
|
|
8
8
|
return a = class extends t {
|
|
9
9
|
render() {
|
|
10
10
|
return l`
|
|
@@ -22,9 +22,9 @@ let h = (() => {
|
|
|
22
22
|
`;
|
|
23
23
|
}
|
|
24
24
|
}, e = a, (() => {
|
|
25
|
-
const
|
|
26
|
-
b(null,
|
|
27
|
-
})(), a.styles = g, o(e,
|
|
25
|
+
const n = typeof Symbol == "function" && Symbol.metadata ? Object.create(t[Symbol.metadata] ?? null) : void 0;
|
|
26
|
+
b(null, i = { value: e }, s, { kind: "class", name: e.name, metadata: n }, null, r), e = i.value, n && Object.defineProperty(e, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: n });
|
|
27
|
+
})(), a.styles = g, o(e, r), e;
|
|
28
28
|
})();
|
|
29
29
|
export {
|
|
30
30
|
h as SbbLeadContainerElement
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link-common.d.ts","sourceRoot":"","sources":["../../../../src/elements/link/common/link-common.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"link-common.d.ts","sourceRoot":"","sources":["../../../../src/elements/link/common/link-common.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAGxE,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACzB,MAAM,sBAAsB,CAAC;AAI9B,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,CAAC;AAE3C,MAAM,CAAC,OAAO,OAAO,6BAA8B,SAAQ,oBAAoB;IAC7E,SAAgB,IAAI,EAAE,WAAW,CAAC;CACnC;AAGD,eAAO,MAAM,yBAAyB,GAAI,CAAC,SAAS,mBAAmB,CAAC,oBAAoB,CAAC,cAC/E,CAAC,KACZ,mBAAmB,CAAC,6BAA6B,CAAC,GAAG,CAqBvD,CAAC"}
|
package/link/common.js
CHANGED
|
@@ -3,25 +3,27 @@ var _ = (t) => {
|
|
|
3
3
|
};
|
|
4
4
|
var z = (t, o, e) => o.has(t) || _("Cannot " + e);
|
|
5
5
|
var u = (t, o, e) => (z(t, o, "read from private field"), e ? e.call(t) : o.get(t)), f = (t, o, e) => o.has(t) ? _("Cannot add the same private member more than once") : o instanceof WeakSet ? o.add(t) : o.set(t, e), v = (t, o, e, r) => (z(t, o, "write to private field"), r ? r.call(t, e) : o.set(t, e), e);
|
|
6
|
-
import { __esDecorate as p, __runInitializers as
|
|
6
|
+
import { __esDecorate as p, __runInitializers as m } from "tslib";
|
|
7
7
|
import { property as S } from "lit/decorators.js";
|
|
8
8
|
import { html as w } from "lit/static-html.js";
|
|
9
9
|
import { SbbIconNameMixin as I } from "../icon.js";
|
|
10
10
|
import { hostAttributes as M, slotState as j } from "../core/decorators.js";
|
|
11
|
-
import {
|
|
11
|
+
import { isLean as B } from "../core/dom.js";
|
|
12
|
+
import { SbbNegativeMixin as E } from "../core/mixins.js";
|
|
12
13
|
import { css as g } from "lit";
|
|
13
|
-
const y = g`*,:before,:after{box-sizing:border-box}:host{outline:none!important}@media (forced-colors: active){:host([
|
|
14
|
+
const y = g`*,:before,:after{box-sizing:border-box}:host{outline:none!important}@media (forced-colors: active){:host([data-button]){--sbb-link-color-normal: ButtonText;--sbb-link-color-hover: ButtonText;--sbb-link-color-active: ButtonText}}.sbb-action-base{color:var(--sbb-link-color-normal);text-decoration:var(--sbb-link-text-decoration, underline);-webkit-user-select:none;user-select:none}@media (forced-colors: active){.sbb-action-base{text-decoration:underline}}.sbb-action-base{display:flex;align-items:center;width:100%;cursor:pointer;padding:var(--sbb-link-padding, 0);outline:none}:host(:is([disabled],:disabled,[disabled-interactive])) .sbb-action-base{pointer-events:none;cursor:default}@media (forced-colors: active){:host(:is([disabled],:disabled,[disabled-interactive])) .sbb-action-base{color:GrayText}}:host(:focus-visible:not([data-focus-origin=mouse],[data-focus-origin=touch])) .sbb-action-base,:host(:not([data-focus-origin=mouse],[data-focus-origin=touch])) .sbb-action-base:focus-visible{outline-offset:var(--sbb-focus-outline-offset);outline:var(--sbb-focus-outline-color) solid var(--sbb-focus-outline-width);border-radius:calc(var(--sbb-border-radius-4x) - var(--sbb-focus-outline-offset))}@media (any-hover: hover){:host(:hover:not([disabled],:disabled,[disabled-interactive])) .sbb-action-base{color:var(--sbb-link-color-hover);text-decoration:var(--sbb-link-hover-text-decoration, underline)}}:host(:is(:active,[data-active]):not([disabled],:disabled,[disabled-interactive])) .sbb-action-base{color:var(--sbb-link-color-active)}`, P = (t) => (() => {
|
|
14
15
|
var a, i;
|
|
15
|
-
let e = [M({ "data-sbb-link": "" }), j()], r, c = [], n, l =
|
|
16
|
+
let e = [M({ "data-sbb-link": "" }), j()], r, c = [], n, l = E(t), s, x = [], h = [];
|
|
16
17
|
return i = class extends l {
|
|
17
18
|
constructor() {
|
|
18
19
|
super(...arguments);
|
|
19
|
-
f(this, a,
|
|
20
|
-
|
|
20
|
+
f(this, a, m(this, x, B() ? "xs" : "s"));
|
|
21
|
+
m(this, h);
|
|
21
22
|
}
|
|
22
23
|
/**
|
|
23
24
|
* Text size, the link should get in the non-button variation.
|
|
24
25
|
* With inline variant, the text size adapts to where it is used.
|
|
26
|
+
* @default 's' / 'xs' (lean)
|
|
25
27
|
*/
|
|
26
28
|
get size() {
|
|
27
29
|
return u(this, a);
|
|
@@ -34,18 +36,18 @@ const y = g`*,:before,:after{box-sizing:border-box}:host{outline:none!important}
|
|
|
34
36
|
}
|
|
35
37
|
}, a = new WeakMap(), n = i, (() => {
|
|
36
38
|
const b = typeof Symbol == "function" && Symbol.metadata ? Object.create(l[Symbol.metadata] ?? null) : void 0;
|
|
37
|
-
s = [S({ reflect: !0 })], p(i, null, s, { kind: "accessor", name: "size", static: !1, private: !1, access: { has: (
|
|
38
|
-
|
|
39
|
+
s = [S({ reflect: !0 })], p(i, null, s, { kind: "accessor", name: "size", static: !1, private: !1, access: { has: (d) => "size" in d, get: (d) => d.size, set: (d, T) => {
|
|
40
|
+
d.size = T;
|
|
39
41
|
} }, metadata: b }, x, h), p(null, r = { value: n }, e, { kind: "class", name: n.name, metadata: b }, null, c), n = r.value, b && Object.defineProperty(n, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: b });
|
|
40
|
-
})(), i.styles = y,
|
|
41
|
-
})(),
|
|
42
|
+
})(), i.styles = y, m(n, c), n;
|
|
43
|
+
})(), L = g`:host{--sbb-link-color-normal: var(--sbb-color-granite);--sbb-link-color-hover: var(--sbb-color-red125);--sbb-link-color-active: var(--sbb-color-red150);--sbb-link-gap: var(--sbb-spacing-fixed-1x);display:block}:host([negative]){--sbb-link-color-normal: var(--sbb-color-white);--sbb-link-color-hover: var(--sbb-color-cloud);--sbb-link-color-active: var(--sbb-color-silver);--sbb-focus-outline-color: var(--sbb-focus-outline-color-dark)}.sbb-action-base{gap:var(--sbb-link-gap)}:host([size=xs]) .sbb-action-base{--sbb-text-font-size: var(--sbb-font-size-text-xs);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)}:host([size=s]) .sbb-action-base{--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)}:host([size=m]) .sbb-action-base{--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)}.sbb-link__icon{position:relative;height:calc(var(--sbb-typo-line-height-body-text) * 1em);width:var(--sbb-size-icon-ui-small);flex:0 0 auto;align-self:start}:host(:not([data-slot-names~=icon],[icon-name])) .sbb-link__icon{display:none}:host([icon-placement=end]) .sbb-link__icon{order:2}.sbb-link__icon ::slotted([slot=icon]),.sbb-link__icon sbb-icon{position:absolute;top:50%;transform:translateY(-50%)}`, H = (t) => (() => {
|
|
42
44
|
var l, s;
|
|
43
45
|
let e = P(I(t)), r, c = [], n = [];
|
|
44
46
|
return s = class extends e {
|
|
45
47
|
constructor() {
|
|
46
48
|
super(...arguments);
|
|
47
|
-
f(this, l,
|
|
48
|
-
|
|
49
|
+
f(this, l, m(this, c, "start"));
|
|
50
|
+
m(this, n);
|
|
49
51
|
}
|
|
50
52
|
/** Moves the icon to the end of the component if set to true. */
|
|
51
53
|
get iconPlacement() {
|
|
@@ -65,8 +67,8 @@ const y = g`*,:before,:after{box-sizing:border-box}:host{outline:none!important}
|
|
|
65
67
|
r = [S({ attribute: "icon-placement", reflect: !0 })], p(s, null, r, { kind: "accessor", name: "iconPlacement", static: !1, private: !1, access: { has: (i) => "iconPlacement" in i, get: (i) => i.iconPlacement, set: (i, k) => {
|
|
66
68
|
i.iconPlacement = k;
|
|
67
69
|
} }, metadata: a }, c, n), a && Object.defineProperty(s, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: a });
|
|
68
|
-
})(), s.styles = [y,
|
|
69
|
-
})(), O = g`:host{font-family:inherit;font-weight:inherit;line-height:inherit;letter-spacing:inherit;font-size:inherit;text-align:inherit;--sbb-link-color-normal: inherit;--sbb-link-color-hover: var(--sbb-color-red125);--sbb-link-color-active: var(--sbb-color-red150);color:inherit;display:inline-block}:host([negative]){--sbb-link-color-hover: var(--sbb-color-graphite);--sbb-link-color-active: var(--sbb-color-metal);--sbb-focus-outline-color: var(--sbb-focus-outline-color-dark)}.sbb-action-base{font-family:inherit;font-weight:inherit;line-height:inherit;letter-spacing:inherit;font-size:inherit;text-align:inherit}`,
|
|
70
|
+
})(), s.styles = [y, L], s;
|
|
71
|
+
})(), O = g`:host{font-family:inherit;font-weight:inherit;line-height:inherit;letter-spacing:inherit;font-size:inherit;text-align:inherit;--sbb-link-color-normal: inherit;--sbb-link-color-hover: var(--sbb-color-red125);--sbb-link-color-active: var(--sbb-color-red150);color:inherit;display:inline-block}:host([negative]){--sbb-link-color-hover: var(--sbb-color-graphite);--sbb-link-color-active: var(--sbb-color-metal);--sbb-focus-outline-color: var(--sbb-focus-outline-color-dark)}.sbb-action-base{font-family:inherit;font-weight:inherit;line-height:inherit;letter-spacing:inherit;font-size:inherit;text-align:inherit}`, J = (t) => {
|
|
70
72
|
const e = class e extends P(t) {
|
|
71
73
|
};
|
|
72
74
|
e.styles = [y, O];
|
|
@@ -74,7 +76,7 @@ const y = g`*,:before,:after{box-sizing:border-box}:host{outline:none!important}
|
|
|
74
76
|
return o;
|
|
75
77
|
};
|
|
76
78
|
export {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
+
H as SbbBlockLinkCommonElementMixin,
|
|
80
|
+
J as SbbInlineLinkCommonElementMixin,
|
|
79
81
|
P as SbbLinkCommonElementMixin
|
|
80
82
|
};
|
|
@@ -18,6 +18,7 @@ export declare class SbbLinkListBaseElement extends SbbLinkListBaseElement_base
|
|
|
18
18
|
/**
|
|
19
19
|
* Text size of the nested sbb-block-link instances.
|
|
20
20
|
* This will overwrite the size attribute of nested sbb-block-link instances.
|
|
21
|
+
* @default 's' / 'xs' (lean)
|
|
21
22
|
*/
|
|
22
23
|
accessor size: SbbLinkSize;
|
|
23
24
|
protected willUpdate(changedProperties: PropertyValues<WithListChildren<this>>): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link-list-base.d.ts","sourceRoot":"","sources":["../../../../src/elements/link-list/common/link-list-base.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1D,OAAO,EAAQ,UAAU,EAAW,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"link-list-base.d.ts","sourceRoot":"","sources":["../../../../src/elements/link-list/common/link-list-base.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1D,OAAO,EAAQ,UAAU,EAAW,MAAM,KAAK,CAAC;AAKhD,OAAO,EAGL,KAAK,gBAAgB,EACtB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EACV,yBAAyB,EACzB,mBAAmB,EACnB,yBAAyB,EACzB,WAAW,EACZ,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpD,OAAO,gBAAgB,CAAC;;AAExB;;;;;GAKG;AACH,qBAEM,sBAAuB,SAAQ,2BAKpC;IACC,mBAA4B,mBAAmB,WAI7C;IAEF,sDAAsD;IACtD,SAEgB,YAAY,EAAE,MAAM,CAAM;IAE1C,oDAAoD;IACpD,SAAwD,UAAU,EAAE,aAAa,CAAO;IAExF;;;;OAIG;IACH,SAA6C,IAAI,EAAE,WAAW,CAAyB;cAEpE,UAAU,CAAC,iBAAiB,EAAE,cAAc,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,GAAG,IAAI;cAe3E,MAAM,IAAI,cAAc;CAgB5C"}
|
package/link-list/common.js
CHANGED
|
@@ -7,11 +7,12 @@ import { __esDecorate as u, __runInitializers as o } from "tslib";
|
|
|
7
7
|
import { LitElement as E, html as $, nothing as B, css as D } from "lit";
|
|
8
8
|
import { property as v } from "lit/decorators.js";
|
|
9
9
|
import { slotState as N, forceType as j, omitEmptyConverter as M } from "../core/decorators.js";
|
|
10
|
-
import {
|
|
10
|
+
import { isLean as O } from "../core/dom.js";
|
|
11
|
+
import { SbbNegativeMixin as T, SbbNamedSlotListMixin as U } from "../core/mixins.js";
|
|
11
12
|
import "../title.js";
|
|
12
|
-
let
|
|
13
|
+
let V = (() => {
|
|
13
14
|
var c, b, m, n;
|
|
14
|
-
let e = [N()], s, l = [], a, p =
|
|
15
|
+
let e = [N()], s, l = [], a, p = T(U(E)), f, k = [], z = [], L, g = [], x = [], C, y = [], S = [];
|
|
15
16
|
return n = class extends p {
|
|
16
17
|
constructor() {
|
|
17
18
|
super(...arguments);
|
|
@@ -22,7 +23,7 @@ let Q = (() => {
|
|
|
22
23
|
"sbb-block-link",
|
|
23
24
|
"sbb-block-link-button",
|
|
24
25
|
"sbb-block-link-static"
|
|
25
|
-
], r(this, c, o(this, k, "")), r(this, b, (o(this, z), o(this, g, "2"))), r(this, m, (o(this,
|
|
26
|
+
], r(this, c, o(this, k, "")), r(this, b, (o(this, z), o(this, g, "2"))), r(this, m, (o(this, x), o(this, y, O() ? "xs" : "s"))), o(this, S);
|
|
26
27
|
}
|
|
27
28
|
/** The title text we want to show before the list. */
|
|
28
29
|
get titleContent() {
|
|
@@ -41,6 +42,7 @@ let Q = (() => {
|
|
|
41
42
|
/**
|
|
42
43
|
* Text size of the nested sbb-block-link instances.
|
|
43
44
|
* This will overwrite the size attribute of nested sbb-block-link instances.
|
|
45
|
+
* @default 's' / 'xs' (lean)
|
|
44
46
|
*/
|
|
45
47
|
get size() {
|
|
46
48
|
return d(this, m);
|
|
@@ -71,17 +73,17 @@ let Q = (() => {
|
|
|
71
73
|
}
|
|
72
74
|
}, c = new WeakMap(), b = new WeakMap(), m = new WeakMap(), a = n, (() => {
|
|
73
75
|
const i = typeof Symbol == "function" && Symbol.metadata ? Object.create(p[Symbol.metadata] ?? null) : void 0;
|
|
74
|
-
f = [j(), v({ attribute: "title-content", reflect: !0, converter: M })], L = [v({ attribute: "title-level" })],
|
|
76
|
+
f = [j(), v({ attribute: "title-content", reflect: !0, converter: M })], L = [v({ attribute: "title-level" })], C = [v({ reflect: !0 })], u(n, null, f, { kind: "accessor", name: "titleContent", static: !1, private: !1, access: { has: (t) => "titleContent" in t, get: (t) => t.titleContent, set: (t, h) => {
|
|
75
77
|
t.titleContent = h;
|
|
76
78
|
} }, metadata: i }, k, z), u(n, null, L, { kind: "accessor", name: "titleLevel", static: !1, private: !1, access: { has: (t) => "titleLevel" in t, get: (t) => t.titleLevel, set: (t, h) => {
|
|
77
79
|
t.titleLevel = h;
|
|
78
|
-
} }, metadata: i }, g,
|
|
80
|
+
} }, metadata: i }, g, x), u(n, null, C, { kind: "accessor", name: "size", static: !1, private: !1, access: { has: (t) => "size" in t, get: (t) => t.size, set: (t, h) => {
|
|
79
81
|
t.size = h;
|
|
80
82
|
} }, metadata: i }, y, S), u(null, s = { value: a }, e, { kind: "class", name: a.name, metadata: i }, null, l), a = s.value, i && Object.defineProperty(a, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: i }), o(a, l);
|
|
81
83
|
})(), a;
|
|
82
84
|
})();
|
|
83
|
-
const
|
|
85
|
+
const W = D`*,:before,:after{box-sizing:border-box}:host{display:block}.sbb-link-list-wrapper{display:flex;flex-direction:column;gap:var(--sbb-spacing-fixed-3x)}.sbb-link-list-title{margin:0}:host(:not([data-slot-names~=title],[title-content])) .sbb-link-list-title{display:none}`;
|
|
84
86
|
export {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
+
V as SbbLinkListBaseElement,
|
|
88
|
+
W as linkListBaseStyle
|
|
87
89
|
};
|
|
@@ -2,15 +2,15 @@ import { __esDecorate as i, __runInitializers as b } from "tslib";
|
|
|
2
2
|
import { customElement as n } from "lit/decorators.js";
|
|
3
3
|
import { linkListBaseStyle as c, SbbLinkListBaseElement as d } from "./common.js";
|
|
4
4
|
import { css as v } from "lit";
|
|
5
|
-
const k = v`:host{--sbb-link-list-anchor-border-color: var(--sbb-color-cloud)}:host([negative]){--sbb-link-list-anchor-border-color: var(--sbb-color-granite)}::slotted([data-link]){--sbb-link-text-decoration: none;--sbb-link-hover-text-decoration: none;--sbb-link-padding: var(--sbb-spacing-fixed-1x) 0 var(--sbb-spacing-fixed-1x) var(--sbb-spacing-fixed-4x);--sbb-link-color-hover: var(--sbb-color-charcoal);--sbb-link-color-active: var(--sbb-color-granite);border-inline-start:var(--sbb-border-width-1x) solid var(--sbb-link-list-anchor-border-color)}:host([negative]) ::slotted([data-link]){--sbb-link-color-normal: var(--sbb-color-smoke);--sbb-link-color-hover: var(--sbb-color-milk);--sbb-link-color-active: var(--sbb-color-smoke)}::slotted([data-link]:is(:active,[data-active]):not([disabled])){--sbb-link-list-anchor-border-color: var(--sbb-color-iron)}:host([negative]) ::slotted([data-link]:is(:active,[data-active]):not([disabled])){--sbb-link-list-anchor-border-color: var(--sbb-color-silver)}::slotted([data-link]:hover:not([disabled])){--sbb-link-list-anchor-border-color: var(--sbb-color-charcoal)}:host([negative]) ::slotted([data-link]:hover:not([disabled])){--sbb-link-list-anchor-border-color: var(--sbb-color-milk)}.sbb-link-list-anchor{list-style:none;margin:0;padding:0;font-size:inherit;display:flex;flex-flow:column}.sbb-link-list-anchor>li{margin-inline-start:var(--sbb-spacing-fixed-4x)}`;
|
|
5
|
+
const k = v`:host{--sbb-link-list-anchor-border-color: var(--sbb-color-cloud)}:host([negative]){--sbb-link-list-anchor-border-color: var(--sbb-color-granite)}::slotted([data-link]){--sbb-link-text-decoration: none;--sbb-link-hover-text-decoration: none;--sbb-link-padding: var(--sbb-spacing-fixed-1x) 0 var(--sbb-spacing-fixed-1x) var(--sbb-spacing-fixed-4x);--sbb-link-color-hover: var(--sbb-color-charcoal);--sbb-link-color-active: var(--sbb-color-granite);border-inline-start:var(--sbb-border-width-1x) solid var(--sbb-link-list-anchor-border-color)}:host([negative]) ::slotted([data-link]){--sbb-link-color-normal: var(--sbb-color-smoke);--sbb-link-color-hover: var(--sbb-color-milk);--sbb-link-color-active: var(--sbb-color-smoke)}::slotted([data-link]:is(:active,[data-active]):not([disabled],:disabled)){--sbb-link-list-anchor-border-color: var(--sbb-color-iron)}:host([negative]) ::slotted([data-link]:is(:active,[data-active]):not([disabled],:disabled)){--sbb-link-list-anchor-border-color: var(--sbb-color-silver)}::slotted([data-link]:hover:not([disabled],:disabled)){--sbb-link-list-anchor-border-color: var(--sbb-color-charcoal)}:host([negative]) ::slotted([data-link]:hover:not([disabled],:disabled)){--sbb-link-list-anchor-border-color: var(--sbb-color-milk)}.sbb-link-list-anchor{list-style:none;margin:0;padding:0;font-size:inherit;display:flex;flex-flow:column}.sbb-link-list-anchor>li{margin-inline-start:var(--sbb-spacing-fixed-4x)}`;
|
|
6
6
|
let p = (() => {
|
|
7
|
-
var
|
|
8
|
-
let
|
|
9
|
-
return
|
|
10
|
-
}, o =
|
|
11
|
-
const
|
|
12
|
-
i(null, a = { value: o },
|
|
13
|
-
})(),
|
|
7
|
+
var l;
|
|
8
|
+
let r = [n("sbb-link-list-anchor")], a, e = [], o, s = d;
|
|
9
|
+
return l = class extends s {
|
|
10
|
+
}, o = l, (() => {
|
|
11
|
+
const t = typeof Symbol == "function" && Symbol.metadata ? Object.create(s[Symbol.metadata] ?? null) : void 0;
|
|
12
|
+
i(null, a = { value: o }, r, { kind: "class", name: o.name, metadata: t }, null, e), o = a.value, t && Object.defineProperty(o, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: t });
|
|
13
|
+
})(), l.styles = [c, k], b(o, e), o;
|
|
14
14
|
})();
|
|
15
15
|
export {
|
|
16
16
|
p as SbbLinkListAnchorElement
|
|
@@ -4,10 +4,8 @@ import { CSSResultGroup, TemplateResult, LitElement } from 'lit';
|
|
|
4
4
|
*/
|
|
5
5
|
export declare class SbbLoadingIndicatorElement extends LitElement {
|
|
6
6
|
static styles: CSSResultGroup;
|
|
7
|
-
/** Variant of the loading indicator; `circle` is meant to be used inline, while `window` as overlay. */
|
|
8
|
-
accessor variant: 'window' | 'circle';
|
|
9
7
|
/** Size variant, either s or m. */
|
|
10
|
-
accessor size: 's' | 'l';
|
|
8
|
+
accessor size: 's' | 'l' | 'xl' | 'xxl' | 'xxxl';
|
|
11
9
|
/** Color variant. */
|
|
12
10
|
accessor color: 'default' | 'smoke' | 'white';
|
|
13
11
|
protected render(): TemplateResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loading-indicator.d.ts","sourceRoot":"","sources":["../../../src/elements/loading-indicator/loading-indicator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1D,OAAO,EAAQ,UAAU,
|
|
1
|
+
{"version":3,"file":"loading-indicator.d.ts","sourceRoot":"","sources":["../../../src/elements/loading-indicator/loading-indicator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1D,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAOvC;;GAEG;AACH,qBAMM,0BAA2B,SAAQ,UAAU;IACjD,OAAuB,MAAM,EAAE,cAAc,CAAS;IAEtD,mCAAmC;IACnC,SAA6C,IAAI,EAAE,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,KAAK,GAAG,MAAM,CAAO;IAE3F,qBAAqB;IACrB,SAA6C,KAAK,EAAE,SAAS,GAAG,OAAO,GAAG,OAAO,CAAa;cAE3E,MAAM,IAAI,cAAc;CAiB5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,uBAAuB,EAAE,0BAA0B,CAAC;KACrD;CACF"}
|