@sbb-esta/lyne-elements 2.2.0 → 2.4.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.js +6 -6
- package/alert/alert-group.js +4 -4
- package/alert/alert.js +9 -9
- package/autocomplete/autocomplete-base-element.d.ts +1 -0
- package/autocomplete/autocomplete-base-element.d.ts.map +1 -1
- package/autocomplete/autocomplete.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid/autocomplete-grid.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-button.js +4 -4
- package/autocomplete-grid/autocomplete-grid-optgroup.js +4 -4
- package/autocomplete-grid/autocomplete-grid-row.js +4 -4
- package/autocomplete-grid/autocomplete-grid.js +0 -1
- package/autocomplete.js +29 -29
- package/badge.css +31 -0
- package/breadcrumb/breadcrumb-group.js +4 -4
- package/breadcrumb/breadcrumb.js +19 -19
- package/button/accent-button-link.js +9 -9
- package/button/accent-button-static.js +6 -6
- package/button/accent-button.js +6 -6
- package/button/button-link.js +7 -7
- package/button/button-static.js +7 -7
- package/button/button.js +8 -8
- package/button/common/button-common.d.ts.map +1 -1
- package/button/common.js +1 -1
- package/button/mini-button-group.js +8 -8
- package/button/secondary-button-link.js +7 -7
- package/button/secondary-button-static.js +7 -7
- package/button/secondary-button.js +3 -3
- package/button/transparent-button-link.js +6 -6
- package/button/transparent-button-static.js +5 -5
- package/button/transparent-button.js +6 -6
- package/calendar/calendar.d.ts +55 -11
- package/calendar/calendar.d.ts.map +1 -1
- package/calendar.js +374 -224
- package/card/card-badge.js +9 -9
- package/card/card-button.js +5 -5
- package/card/card-link.js +7 -7
- package/card/card.js +1 -1
- package/card/common/card-action-common.d.ts.map +1 -1
- package/checkbox/checkbox-group/checkbox-group.d.ts.map +1 -1
- package/checkbox/checkbox-group.js +1 -1
- package/checkbox/checkbox-panel.js +16 -16
- package/checkbox/checkbox.js +15 -15
- package/checkbox/common/checkbox-common.d.ts.map +1 -1
- package/checkbox/common.js +3 -3
- package/clock.js +8 -8
- package/container/container.js +4 -4
- package/core/base-elements.js +10 -10
- package/core/controllers/escapable-overlay-controller.d.ts +11 -0
- package/core/controllers/escapable-overlay-controller.d.ts.map +1 -0
- package/core/controllers.d.ts +1 -0
- package/core/controllers.d.ts.map +1 -1
- package/core/controllers.js +73 -47
- package/core/datetime/date-adapter.d.ts +4 -2
- 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 +51 -43
- package/core/decorators/date-converter.d.ts +8 -0
- package/core/decorators/date-converter.d.ts.map +1 -0
- package/core/decorators/date-only-type.d.ts +8 -0
- package/core/decorators/date-only-type.d.ts.map +1 -0
- package/core/decorators/get-override.d.ts.map +1 -1
- package/core/decorators/handle-distinct-change.d.ts.map +1 -1
- package/core/decorators/host-attributes.d.ts.map +1 -1
- package/core/decorators/slot-state.d.ts.map +1 -1
- package/core/decorators.d.ts +2 -0
- package/core/decorators.d.ts.map +1 -1
- package/core/decorators.js +52 -31
- package/core/dom/input-element.d.ts +1 -1
- package/core/dom/input-element.d.ts.map +1 -1
- package/core/dom.js +5 -5
- package/core/eventing/throttle.d.ts.map +1 -1
- package/core/eventing.js +4 -4
- package/core/i18n/i18n.d.ts +6 -0
- package/core/i18n/i18n.d.ts.map +1 -1
- package/core/i18n.js +106 -70
- 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-input-mixin.d.ts +25 -0
- package/core/mixins/form-associated-input-mixin.d.ts.map +1 -0
- package/core/mixins/form-associated-mixin.d.ts +16 -0
- package/core/mixins/form-associated-mixin.d.ts.map +1 -1
- package/core/mixins/form-associated-radio-button-mixin.d.ts.map +1 -1
- package/core/mixins/hydration-mixin.d.ts.map +1 -1
- package/core/mixins/named-slot-list-mixin.d.ts.map +1 -1
- package/core/mixins/negative-mixin.d.ts.map +1 -1
- package/core/mixins/panel-mixin.d.ts.map +1 -1
- package/core/mixins/required-mixin.d.ts.map +1 -1
- package/core/mixins/update-scheduler-mixin.d.ts.map +1 -1
- package/core/mixins.d.ts +1 -0
- package/core/mixins.d.ts.map +1 -1
- package/core/mixins.js +574 -295
- package/core/styles/badge.scss +3 -0
- package/core/styles/core.scss +3 -1
- package/core/styles/mixins/badge.scss +26 -1
- package/core/styles/mixins/font-face.scss +12 -12
- package/core/styles/mixins/link.scss +32 -8
- package/core/styles/standard-theme.scss +1 -0
- package/core/testing/mocha-extensions.d.ts.map +1 -1
- package/core/testing/wait-for-render.d.ts.map +1 -1
- package/core/testing.js +14 -14
- package/core.css +5 -5
- package/custom-elements.json +28284 -17221
- package/date-input/date-input.d.ts +67 -0
- package/date-input/date-input.d.ts.map +1 -0
- package/date-input.d.ts +2 -0
- package/date-input.d.ts.map +1 -0
- package/date-input.js +149 -0
- package/datepicker/common/datepicker-button.d.ts.map +1 -1
- package/datepicker/common.js +49 -45
- package/datepicker/datepicker/datepicker.d.ts +16 -6
- package/datepicker/datepicker/datepicker.d.ts.map +1 -1
- package/datepicker/datepicker-toggle/datepicker-toggle.d.ts.map +1 -1
- package/datepicker/datepicker-toggle.js +43 -40
- package/datepicker/datepicker.js +94 -76
- package/development/alert/alert-group.js +1 -1
- package/development/alert/alert.js +1 -1
- package/development/autocomplete/autocomplete-base-element.d.ts +1 -0
- package/development/autocomplete/autocomplete-base-element.d.ts.map +1 -1
- package/development/autocomplete/autocomplete.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid.js +1 -2
- package/development/autocomplete.js +10 -5
- package/development/breadcrumb/breadcrumb.js +5 -2
- package/development/button/common/button-common.d.ts.map +1 -1
- package/development/button/common.js +18 -14
- package/development/calendar/calendar.d.ts +55 -11
- package/development/calendar/calendar.d.ts.map +1 -1
- package/development/calendar.js +302 -88
- package/development/card/card.js +1 -1
- package/development/card/common/card-action-common.d.ts.map +1 -1
- package/development/checkbox/checkbox-group/checkbox-group.d.ts.map +1 -1
- package/development/checkbox/checkbox-group.js +2 -2
- package/development/checkbox/checkbox-panel.js +1 -1
- package/development/checkbox/common/checkbox-common.d.ts.map +1 -1
- package/development/core/controllers/escapable-overlay-controller.d.ts +11 -0
- package/development/core/controllers/escapable-overlay-controller.d.ts.map +1 -0
- package/development/core/controllers.d.ts +1 -0
- package/development/core/controllers.d.ts.map +1 -1
- package/development/core/controllers.js +36 -1
- package/development/core/datetime/date-adapter.d.ts +4 -2
- 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 +14 -2
- package/development/core/decorators/date-converter.d.ts +8 -0
- package/development/core/decorators/date-converter.d.ts.map +1 -0
- package/development/core/decorators/date-only-type.d.ts +8 -0
- package/development/core/decorators/date-only-type.d.ts.map +1 -0
- package/development/core/decorators/get-override.d.ts.map +1 -1
- package/development/core/decorators/handle-distinct-change.d.ts.map +1 -1
- package/development/core/decorators/host-attributes.d.ts.map +1 -1
- package/development/core/decorators/slot-state.d.ts.map +1 -1
- package/development/core/decorators.d.ts +2 -0
- package/development/core/decorators.d.ts.map +1 -1
- package/development/core/decorators.js +23 -2
- package/development/core/dom/input-element.d.ts +1 -1
- package/development/core/dom/input-element.d.ts.map +1 -1
- package/development/core/dom.js +3 -3
- package/development/core/eventing/throttle.d.ts.map +1 -1
- package/development/core/i18n/i18n.d.ts +6 -0
- package/development/core/i18n/i18n.d.ts.map +1 -1
- package/development/core/i18n.js +43 -1
- 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-input-mixin.d.ts +25 -0
- package/development/core/mixins/form-associated-input-mixin.d.ts.map +1 -0
- package/development/core/mixins/form-associated-mixin.d.ts +16 -0
- package/development/core/mixins/form-associated-mixin.d.ts.map +1 -1
- package/development/core/mixins/form-associated-radio-button-mixin.d.ts.map +1 -1
- package/development/core/mixins/hydration-mixin.d.ts.map +1 -1
- package/development/core/mixins/named-slot-list-mixin.d.ts.map +1 -1
- package/development/core/mixins/negative-mixin.d.ts.map +1 -1
- package/development/core/mixins/panel-mixin.d.ts.map +1 -1
- package/development/core/mixins/required-mixin.d.ts.map +1 -1
- package/development/core/mixins/update-scheduler-mixin.d.ts.map +1 -1
- package/development/core/mixins.d.ts +1 -0
- package/development/core/mixins.d.ts.map +1 -1
- package/development/core/mixins.js +460 -32
- package/development/core/testing/mocha-extensions.d.ts.map +1 -1
- package/development/core/testing/wait-for-render.d.ts.map +1 -1
- package/development/date-input/date-input.d.ts +67 -0
- package/development/date-input/date-input.d.ts.map +1 -0
- package/development/date-input.d.ts +2 -0
- package/development/date-input.d.ts.map +1 -0
- package/development/date-input.js +259 -0
- package/development/datepicker/common/datepicker-button.d.ts.map +1 -1
- package/development/datepicker/common.js +11 -2
- package/development/datepicker/datepicker/datepicker.d.ts +16 -6
- package/development/datepicker/datepicker/datepicker.d.ts.map +1 -1
- package/development/datepicker/datepicker-toggle/datepicker-toggle.d.ts.map +1 -1
- package/development/datepicker/datepicker-toggle.js +13 -4
- package/development/datepicker/datepicker.js +65 -39
- package/development/dialog/dialog/dialog.d.ts.map +1 -1
- package/development/dialog/dialog-title.js +1 -1
- package/development/dialog/dialog.js +3 -1
- package/development/expansion-panel/expansion-panel/expansion-panel.d.ts.map +1 -1
- package/development/expansion-panel/expansion-panel-header.js +1 -1
- package/development/expansion-panel/expansion-panel.js +3 -3
- package/development/file-selector/common/file-selector-common.d.ts.map +1 -1
- package/development/file-selector/common.js +1 -1
- package/development/footer.js +1 -1
- package/development/form-field/form-field/form-field.d.ts +1 -1
- package/development/form-field/form-field/form-field.d.ts.map +1 -1
- package/development/form-field/form-field.js +23 -14
- package/development/header/common/header-action-common.d.ts.map +1 -1
- package/development/icon/icon-name-mixin.d.ts.map +1 -1
- package/development/icon/icon-request.d.ts.map +1 -1
- package/development/icon/icon-validate.d.ts.map +1 -1
- package/development/image.js +1 -1
- package/development/journey-header.js +1 -1
- package/development/link/common/block-link-common.d.ts.map +1 -1
- package/development/link/common/inline-link-common.d.ts.map +1 -1
- package/development/link/common/link-common.d.ts.map +1 -1
- package/development/link/common.js +19 -7
- package/development/link-list/common.js +1 -1
- package/development/map-container.js +1 -1
- package/development/menu/common/menu-action-common.d.ts +3 -0
- package/development/menu/common/menu-action-common.d.ts.map +1 -1
- package/development/menu/common.js +35 -12
- package/development/menu/menu/menu.d.ts +1 -1
- package/development/menu/menu/menu.d.ts.map +1 -1
- package/development/menu/menu.js +5 -15
- package/development/navigation/common/navigation-action-common.d.ts.map +1 -1
- package/development/navigation/navigation/navigation.d.ts +1 -3
- package/development/navigation/navigation/navigation.d.ts.map +1 -1
- package/development/navigation/navigation-section.js +1 -1
- package/development/navigation/navigation.js +8 -21
- package/development/notification.js +1 -1
- package/development/overlay/overlay-base-element.d.ts +2 -2
- package/development/overlay/overlay-base-element.d.ts.map +1 -1
- package/development/overlay/overlay.d.ts.map +1 -1
- package/development/overlay.js +7 -14
- package/development/paginator/common/paginator-common.d.ts.map +1 -1
- package/development/popover/popover/popover.d.ts +1 -1
- package/development/popover/popover/popover.d.ts.map +1 -1
- package/development/popover/popover.js +5 -15
- package/development/radio-button/common/radio-button-common.d.ts.map +1 -1
- package/development/radio-button/radio-button-group/radio-button-group.d.ts.map +1 -1
- package/development/radio-button/radio-button-group.js +2 -2
- package/development/radio-button/radio-button-panel.js +1 -1
- package/development/select/select.d.ts +6 -1
- package/development/select/select.d.ts.map +1 -1
- package/development/select.js +28 -6
- package/development/selection-expansion-panel/selection-expansion-panel.d.ts.map +1 -1
- package/development/selection-expansion-panel.js +2 -2
- package/development/skiplink-list.js +1 -1
- package/development/slider.js +1 -1
- package/development/stepper/step/step.d.ts +0 -2
- package/development/stepper/step/step.d.ts.map +1 -1
- package/development/stepper/step.js +1 -16
- package/development/stepper/stepper/stepper.d.ts +11 -0
- package/development/stepper/stepper/stepper.d.ts.map +1 -1
- package/development/stepper/stepper.js +30 -3
- package/development/tabs/tab-label.js +1 -1
- package/development/tag/tag/tag.d.ts +11 -0
- package/development/tag/tag/tag.d.ts.map +1 -1
- package/development/tag/tag-group/tag-group.d.ts +1 -1
- package/development/tag/tag-group/tag-group.d.ts.map +1 -1
- package/development/tag/tag-group.js +9 -3
- package/development/tag/tag.js +37 -10
- package/development/teaser-product/common/teaser-product-common.d.ts.map +1 -1
- package/development/timetable-occupancy.js +1 -1
- package/development/toast.js +1 -1
- package/development/toggle/toggle/toggle.d.ts +25 -6
- package/development/toggle/toggle/toggle.d.ts.map +1 -1
- package/development/toggle/toggle-option/toggle-option.d.ts +2 -6
- package/development/toggle/toggle-option/toggle-option.d.ts.map +1 -1
- package/development/toggle/toggle-option.js +21 -39
- package/development/toggle/toggle.js +57 -39
- package/development/train/train-formation.js +1 -1
- package/development/train/train.js +1 -1
- package/development/visual-checkbox.js +1 -1
- package/dialog/dialog/dialog.d.ts.map +1 -1
- package/dialog/dialog-content.js +3 -3
- package/dialog/dialog-title.js +8 -8
- package/dialog/dialog.js +2 -2
- package/divider.js +12 -12
- 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 +2 -2
- package/file-selector/common/file-selector-common.d.ts.map +1 -1
- package/file-selector/common.js +9 -9
- package/file-selector/file-selector-dropzone.js +5 -5
- package/file-selector/file-selector.js +6 -6
- package/flip-card/flip-card-details.js +4 -4
- package/flip-card/flip-card-summary.js +9 -9
- package/font-characters-extension.css +3 -3
- package/footer.js +4 -4
- package/form-field/form-field/form-field.d.ts +1 -1
- package/form-field/form-field/form-field.d.ts.map +1 -1
- package/form-field/form-field.js +32 -24
- package/header/common/header-action-common.d.ts.map +1 -1
- package/header/header-button.js +5 -5
- package/header/header-link.js +5 -5
- package/icon/icon-name-mixin.d.ts.map +1 -1
- package/icon/icon-request.d.ts.map +1 -1
- package/icon/icon-validate.d.ts.map +1 -1
- package/icon.js +36 -36
- package/image.js +1 -1
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/journey-header.js +5 -5
- package/link/block-link-button.js +4 -4
- package/link/block-link-static.js +9 -9
- package/link/block-link.js +4 -4
- package/link/common/block-link-common.d.ts.map +1 -1
- package/link/common/inline-link-common.d.ts.map +1 -1
- package/link/common/link-common.d.ts.map +1 -1
- package/link/common.js +28 -28
- package/link/link-button.js +7 -7
- package/link/link-static.js +7 -7
- package/link/link.js +4 -4
- package/link-list/common.js +15 -15
- package/loading-indicator-circle.js +11 -11
- package/map-container.js +5 -5
- package/menu/common/menu-action-common.d.ts +3 -0
- package/menu/common/menu-action-common.d.ts.map +1 -1
- package/menu/common.js +34 -30
- package/menu/menu/menu.d.ts +1 -1
- package/menu/menu/menu.d.ts.map +1 -1
- package/menu/menu-button.js +8 -8
- package/menu/menu-link.js +6 -6
- package/menu/menu.js +29 -38
- package/navigation/common/navigation-action-common.d.ts.map +1 -1
- package/navigation/navigation/navigation.d.ts +1 -3
- package/navigation/navigation/navigation.d.ts.map +1 -1
- package/navigation/navigation-button.js +4 -4
- package/navigation/navigation-link.js +7 -7
- package/navigation/navigation-list.js +4 -4
- package/navigation/navigation-marker.js +3 -3
- package/navigation/navigation-section.js +1 -1
- package/navigation/navigation.js +45 -54
- package/notification.js +18 -18
- package/option/optgroup.js +11 -11
- package/overlay/overlay-base-element.d.ts +2 -2
- package/overlay/overlay-base-element.d.ts.map +1 -1
- package/overlay/overlay.d.ts.map +1 -1
- package/overlay.js +57 -63
- package/package.json +11 -2
- package/paginator/common/paginator-common.d.ts.map +1 -1
- package/paginator/common.js +6 -6
- package/popover/popover/popover.d.ts +1 -1
- package/popover/popover/popover.d.ts.map +1 -1
- package/popover/popover.js +105 -114
- package/radio-button/common/radio-button-common.d.ts.map +1 -1
- package/radio-button/radio-button-group/radio-button-group.d.ts.map +1 -1
- package/radio-button/radio-button-group.js +1 -1
- package/radio-button/radio-button-panel.js +6 -6
- package/screen-reader-only.js +5 -5
- package/select/select.d.ts +6 -1
- package/select/select.d.ts.map +1 -1
- package/select.js +52 -43
- package/selection-expansion-panel/selection-expansion-panel.d.ts.map +1 -1
- package/selection-expansion-panel.js +1 -1
- package/skiplink-list.js +3 -3
- package/slider.js +13 -13
- package/standard-theme.css +37 -5
- package/status.js +3 -3
- package/stepper/step/step.d.ts +0 -2
- package/stepper/step/step.d.ts.map +1 -1
- package/stepper/step-label.js +4 -4
- package/stepper/step.js +24 -36
- package/stepper/stepper/stepper.d.ts +11 -0
- package/stepper/stepper/stepper.d.ts.map +1 -1
- package/stepper/stepper.js +59 -41
- package/table/table-wrapper.js +4 -4
- package/tabs/tab-group.js +24 -24
- package/tabs/tab-label.js +1 -1
- package/tabs/tab.js +4 -4
- package/tag/tag/tag.d.ts +11 -0
- package/tag/tag/tag.d.ts.map +1 -1
- package/tag/tag-group/tag-group.d.ts +1 -1
- package/tag/tag-group/tag-group.d.ts.map +1 -1
- package/tag/tag-group.js +34 -31
- package/tag/tag.js +60 -41
- package/teaser-product/common/teaser-product-common.d.ts.map +1 -1
- package/teaser-product/common.js +5 -5
- package/teaser-product/teaser-product-static.js +2 -2
- package/timetable-occupancy-icon.js +3 -3
- package/timetable-occupancy.js +6 -6
- package/toast.js +5 -5
- package/toggle/toggle/toggle.d.ts +25 -6
- package/toggle/toggle/toggle.d.ts.map +1 -1
- package/toggle/toggle-option/toggle-option.d.ts +2 -6
- package/toggle/toggle-option/toggle-option.d.ts.map +1 -1
- package/toggle/toggle-option.js +44 -52
- package/toggle/toggle.js +103 -83
- package/toggle-check.js +5 -5
- package/train/train-formation.js +1 -1
- package/train/train.js +29 -29
- package/visual-checkbox.js +1 -1
package/icon.js
CHANGED
|
@@ -32,15 +32,15 @@ const R = (t) => typeof t == "string", q = (t) => {
|
|
|
32
32
|
const c = a.firstElementChild;
|
|
33
33
|
return c && c.nodeName.toLowerCase() === "svg" && (i && !c.classList.contains("color-immutable") && c.classList.add("color-immutable"), e === !1 || q(c)) ? a.innerHTML : "";
|
|
34
34
|
}, U = "https://icons.app.sbb.ch/", X = (/* @__PURE__ */ new Map()).set("default", `${U}icons/`).set("picto", `${U}picto/`), j = /* @__PURE__ */ new Map(), Y = (t, e, i) => {
|
|
35
|
-
var
|
|
36
|
-
const a = Q().icon ?? {}, c = ((
|
|
35
|
+
var u;
|
|
36
|
+
const a = Q().icon ?? {}, c = ((u = a.namespaces) == null ? void 0 : u.get(t)) ?? X.get(t);
|
|
37
37
|
if (c == null)
|
|
38
38
|
throw Error(`Unable to find the namespace "${t}". Please register your custom namespace.`);
|
|
39
39
|
const l = `${c}${e}.svg`;
|
|
40
|
-
let
|
|
41
|
-
if (!
|
|
40
|
+
let m = j.get(l);
|
|
41
|
+
if (!m)
|
|
42
42
|
if (typeof fetch < "u" && !P)
|
|
43
|
-
|
|
43
|
+
m = (a.interceptor ?? ((h) => h.request()))({
|
|
44
44
|
namespace: t,
|
|
45
45
|
name: e,
|
|
46
46
|
url: l,
|
|
@@ -51,24 +51,24 @@ const R = (t) => typeof t == "string", q = (t) => {
|
|
|
51
51
|
}).catch((h) => {
|
|
52
52
|
throw Error(h);
|
|
53
53
|
})
|
|
54
|
-
}), j.set(l,
|
|
54
|
+
}), j.set(l, m);
|
|
55
55
|
else
|
|
56
56
|
return Promise.resolve("");
|
|
57
|
-
return
|
|
57
|
+
return m;
|
|
58
58
|
}, Z = B`*,:before,:after{box-sizing:border-box}:host{display:inline-block;line-height:0;-webkit-tap-highlight-color:transparent}:host([data-empty]){--sbb-icon-default-dimension: 0}:host([data-empty][data-namespace=default][name$=-small]){--sbb-icon-default-dimension: var(--sbb-size-icon-ui-small)}:host([data-empty][data-namespace=default][name$=-medium]){--sbb-icon-default-dimension: var(--sbb-size-icon-ui-medium)}:host([data-empty][data-namespace=default][name$=-large]){--sbb-icon-default-dimension: var(--sbb-size-icon-ui-large)}svg{width:var(--sbb-icon-svg-width, var(--sbb-icon-default-dimension));height:var(--sbb-icon-svg-height, var(--sbb-icon-default-dimension));stroke:var(--sbb-icon-svg-stroke-color);stroke-width:var(--sbb-icon-svg-stroke-width)}svg:not(.color-immutable) [fill]:not([fill=none]){fill:currentcolor}svg:not(.color-immutable) [stroke]:not([stroke=none]){stroke:currentcolor}svg:not(.color-immutable)>:where(path,polygon,polyline):where(:not([stroke]):not([fill])),svg:not(.color-immutable) :where(:not([stroke]):not([fill])) :where(path,polygon,polyline):where(:not([stroke]):not([fill])){fill:currentcolor}`, k = "default";
|
|
59
59
|
let tt = (() => {
|
|
60
60
|
var z, A, r, s;
|
|
61
61
|
let t = [G({
|
|
62
62
|
"data-namespace": k,
|
|
63
63
|
"data-empty": ""
|
|
64
|
-
})], e, i = [], a, c = F, l,
|
|
64
|
+
})], e, i = [], a, c = F, l, m = [], u = [], w, h = [], g = [], b, p = [], f = [];
|
|
65
65
|
return s = class extends c {
|
|
66
66
|
constructor() {
|
|
67
67
|
super(...arguments);
|
|
68
|
-
N(this, z, d(this,
|
|
69
|
-
N(this, A, (d(this,
|
|
70
|
-
N(this, r, (d(this, g), d(this,
|
|
71
|
-
d(this,
|
|
68
|
+
N(this, z, d(this, m, k));
|
|
69
|
+
N(this, A, (d(this, u), d(this, h, null)));
|
|
70
|
+
N(this, r, (d(this, g), d(this, p, !1)));
|
|
71
|
+
d(this, f);
|
|
72
72
|
}
|
|
73
73
|
get _svgNamespace() {
|
|
74
74
|
return I(this, z);
|
|
@@ -142,21 +142,21 @@ let tt = (() => {
|
|
|
142
142
|
const o = typeof Symbol == "function" && Symbol.metadata ? Object.create(c[Symbol.metadata] ?? null) : void 0;
|
|
143
143
|
l = [x()], w = [x()], b = [E(), L({ attribute: "no-sanitize", type: Boolean })], v(s, null, l, { kind: "accessor", name: "_svgNamespace", static: !1, private: !1, access: { has: (n) => "_svgNamespace" in n, get: (n) => n._svgNamespace, set: (n, S) => {
|
|
144
144
|
n._svgNamespace = S;
|
|
145
|
-
} }, metadata: o },
|
|
145
|
+
} }, metadata: o }, m, u), v(s, null, w, { kind: "accessor", name: "_svgIcon", static: !1, private: !1, access: { has: (n) => "_svgIcon" in n, get: (n) => n._svgIcon, set: (n, S) => {
|
|
146
146
|
n._svgIcon = S;
|
|
147
147
|
} }, metadata: o }, h, g), v(s, null, b, { kind: "accessor", name: "noSanitize", static: !1, private: !1, access: { has: (n) => "noSanitize" in n, get: (n) => n.noSanitize, set: (n, S) => {
|
|
148
148
|
n.noSanitize = S;
|
|
149
|
-
} }, metadata: o },
|
|
149
|
+
} }, metadata: o }, p, f), v(null, e = { value: a }, t, { kind: "class", name: a.name, metadata: o }, null, i), a = e.value, o && Object.defineProperty(a, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: o });
|
|
150
150
|
})(), s.styles = Z, d(a, i), a;
|
|
151
151
|
})(), ct = (() => {
|
|
152
|
-
var b,
|
|
153
|
-
let t = [V("sbb-icon")], e, i = [], a, c = tt, l,
|
|
154
|
-
return
|
|
152
|
+
var b, p, f;
|
|
153
|
+
let t = [V("sbb-icon")], e, i = [], a, c = tt, l, m = [], u = [], w, h = [], g = [];
|
|
154
|
+
return f = class extends c {
|
|
155
155
|
constructor() {
|
|
156
156
|
super(...arguments);
|
|
157
157
|
N(this, b);
|
|
158
|
-
N(this,
|
|
159
|
-
_(this, b, d(this,
|
|
158
|
+
N(this, p);
|
|
159
|
+
_(this, b, d(this, m, "")), this._defaultAriaLabel = (d(this, u), ""), _(this, p, d(this, h, !1)), d(this, g);
|
|
160
160
|
}
|
|
161
161
|
/**
|
|
162
162
|
* We need to additionally observe the svgicon attribute
|
|
@@ -183,10 +183,10 @@ let tt = (() => {
|
|
|
183
183
|
* components) we need to check whether the attribute svgicon is used.
|
|
184
184
|
*/
|
|
185
185
|
get _sbbAngularCompatibility() {
|
|
186
|
-
return I(this,
|
|
186
|
+
return I(this, p);
|
|
187
187
|
}
|
|
188
188
|
set _sbbAngularCompatibility(r) {
|
|
189
|
-
_(this,
|
|
189
|
+
_(this, p, r);
|
|
190
190
|
}
|
|
191
191
|
async fetchSvgIcon(r, s) {
|
|
192
192
|
return this.getAttribute("aria-label") === this._defaultAriaLabel && this.removeAttribute("aria-label"), this._defaultAriaLabel = `Icon ${s.replace(/-/g, " ")}`, this.getAttribute("aria-hidden") === "false" && !this.hasAttribute("aria-label") && s && this.setAttribute("aria-label", this._defaultAriaLabel), super.fetchSvgIcon(r, s);
|
|
@@ -203,22 +203,22 @@ let tt = (() => {
|
|
|
203
203
|
render() {
|
|
204
204
|
return this._sbbAngularCompatibility ? C`<slot></slot>` : super.render();
|
|
205
205
|
}
|
|
206
|
-
}, b = new WeakMap(),
|
|
206
|
+
}, b = new WeakMap(), p = new WeakMap(), a = f, (() => {
|
|
207
207
|
const r = typeof Symbol == "function" && Symbol.metadata ? Object.create(c[Symbol.metadata] ?? null) : void 0;
|
|
208
|
-
l = [E(), L({ reflect: !0, converter: D })], w = [x()], v(
|
|
208
|
+
l = [E(), L({ reflect: !0, converter: D })], w = [x()], v(f, null, l, { kind: "accessor", name: "name", static: !1, private: !1, access: { has: (s) => "name" in s, get: (s) => s.name, set: (s, y) => {
|
|
209
209
|
s.name = y;
|
|
210
|
-
} }, metadata: r },
|
|
210
|
+
} }, metadata: r }, m, u), v(f, null, w, { kind: "accessor", name: "_sbbAngularCompatibility", static: !1, private: !1, access: { has: (s) => "_sbbAngularCompatibility" in s, get: (s) => s._sbbAngularCompatibility, set: (s, y) => {
|
|
211
211
|
s._sbbAngularCompatibility = y;
|
|
212
212
|
} }, metadata: r }, h, g), v(null, e = { value: a }, t, { kind: "class", name: a.name, metadata: r }, null, i), a = e.value, r && Object.defineProperty(a, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: r }), d(a, i);
|
|
213
213
|
})(), a;
|
|
214
214
|
})();
|
|
215
|
-
const
|
|
216
|
-
var
|
|
215
|
+
const mt = (t) => (() => {
|
|
216
|
+
var m, u;
|
|
217
217
|
let i = t, a, c = [], l = [];
|
|
218
|
-
return
|
|
218
|
+
return u = class extends i {
|
|
219
219
|
constructor() {
|
|
220
220
|
super(...arguments);
|
|
221
|
-
N(this,
|
|
221
|
+
N(this, m, d(this, c, ""));
|
|
222
222
|
d(this, l);
|
|
223
223
|
}
|
|
224
224
|
/**
|
|
@@ -227,10 +227,10 @@ const ut = (t) => (() => {
|
|
|
227
227
|
* https://icons.app.sbb.ch.
|
|
228
228
|
*/
|
|
229
229
|
get iconName() {
|
|
230
|
-
return I(this,
|
|
230
|
+
return I(this, m);
|
|
231
231
|
}
|
|
232
232
|
set iconName(g) {
|
|
233
|
-
_(this,
|
|
233
|
+
_(this, m, g);
|
|
234
234
|
}
|
|
235
235
|
renderIconSlot(g) {
|
|
236
236
|
return C`
|
|
@@ -239,17 +239,17 @@ const ut = (t) => (() => {
|
|
|
239
239
|
</slot>
|
|
240
240
|
`;
|
|
241
241
|
}
|
|
242
|
-
},
|
|
242
|
+
}, m = new WeakMap(), (() => {
|
|
243
243
|
const g = typeof Symbol == "function" && Symbol.metadata ? Object.create(i[Symbol.metadata] ?? null) : void 0;
|
|
244
|
-
a = [E(), L({ attribute: "icon-name", reflect: !0, converter: D })], v(
|
|
245
|
-
b.iconName =
|
|
246
|
-
} }, metadata: g }, c, l), g && Object.defineProperty(
|
|
247
|
-
})(),
|
|
244
|
+
a = [E(), L({ attribute: "icon-name", reflect: !0, converter: D })], v(u, null, a, { kind: "accessor", name: "iconName", static: !1, private: !1, access: { has: (b) => "iconName" in b, get: (b) => b.iconName, set: (b, p) => {
|
|
245
|
+
b.iconName = p;
|
|
246
|
+
} }, metadata: g }, c, l), g && Object.defineProperty(u, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: g });
|
|
247
|
+
})(), u;
|
|
248
248
|
})();
|
|
249
249
|
export {
|
|
250
250
|
tt as SbbIconBase,
|
|
251
251
|
ct as SbbIconElement,
|
|
252
|
-
|
|
252
|
+
mt as SbbIconNameMixin,
|
|
253
253
|
Y as getSvgContent,
|
|
254
254
|
q as isValid,
|
|
255
255
|
W as validateContent
|
package/image.js
CHANGED
|
@@ -5,7 +5,7 @@ var ke = (r, o, l) => o.has(r) || _e("Cannot " + l);
|
|
|
5
5
|
var h = (r, o, l) => (ke(r, o, "read from private field"), l ? l.call(r) : o.get(r)), u = (r, o, l) => o.has(r) ? _e("Cannot add the same private member more than once") : o instanceof WeakSet ? o.add(r) : o.set(r, l), s = (r, o, l, d) => (ke(r, o, "write to private field"), d ? d.call(r, l) : o.set(r, l), l);
|
|
6
6
|
import { __esDecorate as p, __runInitializers as a } from "tslib";
|
|
7
7
|
import { S as Se, a as ye, b as ze, c as ve, d as xe, e as Me, f as $e, g as we, h as Le, i as Ie, j as Ce, k as Fe, l as De, m as Be, n as Ee } from "./sbb-tokens-BgDF8jIh.js";
|
|
8
|
-
import { css as Qe, LitElement as qe,
|
|
8
|
+
import { css as Qe, LitElement as qe, nothing as F, html as Q } from "lit";
|
|
9
9
|
import { customElement as Oe, property as g, eventOptions as Te } from "lit/decorators.js";
|
|
10
10
|
import { forceType as b } from "./core/decorators.js";
|
|
11
11
|
const Xe = Qe`*,:before,:after{box-sizing:border-box}:host{--sbb-image-aspect-ratio: 16 / 9;--sbb-image-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-4x) );--sbb-image-object-fit: cover;display:block;border-radius:var(--sbb-border-radius-4x);overflow:hidden}.sbb-image__img{opacity:.000001}:host([data-loaded]) .sbb-image__img{opacity:.999999}:host(:not([skip-lqip])) .sbb-image__img{position:absolute;top:0;right:0;bottom:0;left:0}:host([data-loaded]) .sbb-image__blurred{opacity:0}picture{display:contents}:is(.sbb-image__img,.sbb-image__blurred){width:100%;height:100%;object-fit:var(--sbb-image-object-fit);object-position:var(--sbb-image-object-position);transition:opacity var(--sbb-image-animation-duration) var(--sbb-animation-easing)}.sbb-image__wrapper{display:flex;position:relative;width:100%;height:100%;aspect-ratio:var(--sbb-image-aspect-ratio)}`, Ye = (r) => {
|
package/index.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ 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";
|
|
40
|
+
import { SbbDateInputElement } from "./date-input.js";
|
|
40
41
|
import { SbbDatepickerElement } from "./datepicker/datepicker.js";
|
|
41
42
|
import { SbbDatepickerNextDayElement } from "./datepicker/datepicker-next-day.js";
|
|
42
43
|
import { SbbDatepickerPreviousDayElement } from "./datepicker/datepicker-previous-day.js";
|
|
@@ -172,6 +173,7 @@ declare global {
|
|
|
172
173
|
var SbbClockElement: SbbClockElement;
|
|
173
174
|
var SbbContainerElement: SbbContainerElement;
|
|
174
175
|
var SbbStickyBarElement: SbbStickyBarElement;
|
|
176
|
+
var SbbDateInputElement: SbbDateInputElement;
|
|
175
177
|
var SbbDatepickerElement: SbbDatepickerElement;
|
|
176
178
|
var SbbDatepickerNextDayElement: SbbDatepickerNextDayElement;
|
|
177
179
|
var SbbDatepickerPreviousDayElement: SbbDatepickerPreviousDayElement;
|
package/index.js
CHANGED
|
@@ -37,6 +37,7 @@ 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";
|
|
40
|
+
import { SbbDateInputElement } from "./date-input.js";
|
|
40
41
|
import { SbbDatepickerElement } from "./datepicker/datepicker.js";
|
|
41
42
|
import { SbbDatepickerNextDayElement } from "./datepicker/datepicker-next-day.js";
|
|
42
43
|
import { SbbDatepickerPreviousDayElement } from "./datepicker/datepicker-previous-day.js";
|
|
@@ -171,6 +172,7 @@ globalThis.SbbChipLabelElement = SbbChipLabelElement;
|
|
|
171
172
|
globalThis.SbbClockElement = SbbClockElement;
|
|
172
173
|
globalThis.SbbContainerElement = SbbContainerElement;
|
|
173
174
|
globalThis.SbbStickyBarElement = SbbStickyBarElement;
|
|
175
|
+
globalThis.SbbDateInputElement = SbbDateInputElement;
|
|
174
176
|
globalThis.SbbDatepickerElement = SbbDatepickerElement;
|
|
175
177
|
globalThis.SbbDatepickerNextDayElement = SbbDatepickerNextDayElement;
|
|
176
178
|
globalThis.SbbDatepickerPreviousDayElement = SbbDatepickerPreviousDayElement;
|
package/journey-header.js
CHANGED
|
@@ -4,7 +4,7 @@ var O = (i) => {
|
|
|
4
4
|
var B = (i, s, r) => s.has(i) || O("Cannot " + r);
|
|
5
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
|
-
import { css as J, LitElement as P,
|
|
7
|
+
import { css as J, LitElement as P, nothing as F, html 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";
|
|
@@ -72,9 +72,9 @@ let de = (() => {
|
|
|
72
72
|
}
|
|
73
73
|
render() {
|
|
74
74
|
const t = this.roundTrip ? "arrows-long-right-left-small" : "arrow-long-right-small";
|
|
75
|
-
return
|
|
75
|
+
return H`
|
|
76
76
|
<sbb-title
|
|
77
|
-
level=${this.level ||
|
|
77
|
+
level=${this.level || F}
|
|
78
78
|
?negative=${this.negative}
|
|
79
79
|
visual-level=${W.get(this.size)}
|
|
80
80
|
>
|
|
@@ -91,9 +91,9 @@ let de = (() => {
|
|
|
91
91
|
${K[this._language.current]}
|
|
92
92
|
</sbb-screen-reader-only>
|
|
93
93
|
${this.destination}
|
|
94
|
-
${this.roundTrip ?
|
|
94
|
+
${this.roundTrip ? H` <sbb-screen-reader-only>
|
|
95
95
|
${Q(this.origin)[this._language.current]}
|
|
96
|
-
</sbb-screen-reader-only>` :
|
|
96
|
+
</sbb-screen-reader-only>` : F}
|
|
97
97
|
</span>
|
|
98
98
|
</span>
|
|
99
99
|
</sbb-title>
|
|
@@ -5,11 +5,11 @@ import { SbbDisabledTabIndexActionMixin as c } from "../core/mixins.js";
|
|
|
5
5
|
import { SbbBlockLinkCommonElementMixin as u } from "./common.js";
|
|
6
6
|
let k = (() => {
|
|
7
7
|
var e;
|
|
8
|
-
let
|
|
9
|
-
return e = class extends
|
|
8
|
+
let n = [s("sbb-block-link-button")], l, o = [], t, i = u(c(b));
|
|
9
|
+
return e = class extends i {
|
|
10
10
|
}, t = e, (() => {
|
|
11
|
-
const a = typeof Symbol == "function" && Symbol.metadata ? Object.create(
|
|
12
|
-
r(null, l = { value: t },
|
|
11
|
+
const a = typeof Symbol == "function" && Symbol.metadata ? Object.create(i[Symbol.metadata] ?? null) : void 0;
|
|
12
|
+
r(null, l = { value: t }, n, { kind: "class", name: t.name, metadata: a }, null, o), t = l.value, a && Object.defineProperty(t, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: a }), m(t, o);
|
|
13
13
|
})(), t;
|
|
14
14
|
})();
|
|
15
15
|
export {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { __esDecorate as
|
|
2
|
-
import { customElement as
|
|
1
|
+
import { __esDecorate as s, __runInitializers as m } from "tslib";
|
|
2
|
+
import { customElement as n } from "lit/decorators.js";
|
|
3
3
|
import { SbbActionBaseElement as c } from "../core/base-elements.js";
|
|
4
4
|
import { SbbDisabledMixin as b } from "../core/mixins.js";
|
|
5
5
|
import { SbbBlockLinkCommonElementMixin as u } from "./common.js";
|
|
6
6
|
let k = (() => {
|
|
7
|
-
var
|
|
8
|
-
let
|
|
9
|
-
return
|
|
10
|
-
},
|
|
11
|
-
const a = typeof Symbol == "function" && Symbol.metadata ? Object.create(
|
|
12
|
-
|
|
13
|
-
})(),
|
|
7
|
+
var e;
|
|
8
|
+
let r = [n("sbb-block-link-static")], l, i = [], t, o = u(b(c));
|
|
9
|
+
return e = class extends o {
|
|
10
|
+
}, t = e, (() => {
|
|
11
|
+
const a = typeof Symbol == "function" && Symbol.metadata ? Object.create(o[Symbol.metadata] ?? null) : void 0;
|
|
12
|
+
s(null, l = { value: t }, r, { kind: "class", name: t.name, metadata: a }, null, i), t = l.value, a && Object.defineProperty(t, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: a }), m(t, i);
|
|
13
|
+
})(), t;
|
|
14
14
|
})();
|
|
15
15
|
export {
|
|
16
16
|
k as SbbBlockLinkStaticElement
|
package/link/block-link.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { __esDecorate as
|
|
2
|
-
import { customElement as
|
|
1
|
+
import { __esDecorate as m, __runInitializers as s } from "tslib";
|
|
2
|
+
import { customElement as n } from "lit/decorators.js";
|
|
3
3
|
import { SbbLinkBaseElement as c } from "../core/base-elements.js";
|
|
4
4
|
import { SbbDisabledMixin as b } from "../core/mixins.js";
|
|
5
5
|
import { SbbBlockLinkCommonElementMixin as u } from "./common.js";
|
|
6
6
|
let k = (() => {
|
|
7
7
|
var t;
|
|
8
|
-
let
|
|
8
|
+
let o = [n("sbb-block-link")], l, i = [], e, r = u(b(c));
|
|
9
9
|
return t = class extends r {
|
|
10
10
|
}, e = t, (() => {
|
|
11
11
|
const a = typeof Symbol == "function" && Symbol.metadata ? Object.create(r[Symbol.metadata] ?? null) : void 0;
|
|
12
|
-
|
|
12
|
+
m(null, l = { value: e }, o, { kind: "class", name: e.name, metadata: a }, null, i), e = l.value, a && Object.defineProperty(e, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: a }), s(e, i);
|
|
13
13
|
})(), e;
|
|
14
14
|
})();
|
|
15
15
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"block-link-common.d.ts","sourceRoot":"","sources":["../../../../src/elements/link/common/block-link-common.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAG1D,OAAO,EAA6B,KAAK,6BAA6B,EAAE,MAAM,kBAAkB,CAAC;AAKjG,MAAM,CAAC,OAAO,OAAO,kCACnB,SAAQ,6BACR,YAAW,OAAO,CAAC,oBAAoB,CAAC;IAExC,SAAgB,QAAQ,EAAE,MAAM,CAAC;IACjC,SAAgB,aAAa,EAAE,gBAAgB,CAAC;CACjD;AAGD,eAAO,MAAM,8BAA8B,GAAI,CAAC,SAAS,mBAAmB,CAAC,oBAAoB,CAAC,
|
|
1
|
+
{"version":3,"file":"block-link-common.d.ts","sourceRoot":"","sources":["../../../../src/elements/link/common/block-link-common.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAG1D,OAAO,EAA6B,KAAK,6BAA6B,EAAE,MAAM,kBAAkB,CAAC;AAKjG,MAAM,CAAC,OAAO,OAAO,kCACnB,SAAQ,6BACR,YAAW,OAAO,CAAC,oBAAoB,CAAC;IAExC,SAAgB,QAAQ,EAAE,MAAM,CAAC;IACjC,SAAgB,aAAa,EAAE,gBAAgB,CAAC;CACjD;AAGD,eAAO,MAAM,8BAA8B,GAAI,CAAC,SAAS,mBAAmB,CAAC,oBAAoB,CAAC,EAChG,YAAY,CAAC,KACZ,mBAAmB,CAAC,kCAAkC,CAAC,GAAG,CAoB5D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inline-link-common.d.ts","sourceRoot":"","sources":["../../../../src/elements/link/common/inline-link-common.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEhE,OAAO,EAA6B,KAAK,6BAA6B,EAAE,MAAM,kBAAkB,CAAC;AAKjG,MAAM,CAAC,OAAO,OAAO,mCAAoC,SAAQ,6BAA6B;CAAG;AAGjG,eAAO,MAAM,+BAA+B,GAC1C,CAAC,SAAS,mBAAmB,CAAC,oBAAoB,CAAC,
|
|
1
|
+
{"version":3,"file":"inline-link-common.d.ts","sourceRoot":"","sources":["../../../../src/elements/link/common/inline-link-common.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEhE,OAAO,EAA6B,KAAK,6BAA6B,EAAE,MAAM,kBAAkB,CAAC;AAKjG,MAAM,CAAC,OAAO,OAAO,mCAAoC,SAAQ,6BAA6B;CAAG;AAGjG,eAAO,MAAM,+BAA+B,GAC1C,CAAC,SAAS,mBAAmB,CAAC,oBAAoB,CAAC,EAEnD,YAAY,CAAC,KACZ,mBAAmB,CAAC,mCAAmC,CAAC,GAAG,CAS7D,CAAC"}
|
|
@@ -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;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,
|
|
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,EAC3F,YAAY,CAAC,KACZ,mBAAmB,CAAC,6BAA6B,CAAC,GAAG,CAqBvD,CAAC"}
|
package/link/common.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
var _ = (t) => {
|
|
2
2
|
throw TypeError(t);
|
|
3
3
|
};
|
|
4
|
-
var z = (t,
|
|
5
|
-
var h = (t,
|
|
6
|
-
import { __esDecorate as
|
|
4
|
+
var z = (t, o, e) => o.has(t) || _("Cannot " + e);
|
|
5
|
+
var h = (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, a) => (z(t, o, "write to private field"), a ? a.call(t, e) : o.set(t, e), e);
|
|
6
|
+
import { __esDecorate as x, __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
11
|
import { isLean as B } from "../core/dom.js";
|
|
12
12
|
import { SbbNegativeMixin as E } from "../core/mixins.js";
|
|
13
|
-
import { css as
|
|
14
|
-
const
|
|
15
|
-
var
|
|
16
|
-
let e = [M({ "data-sbb-link": "" }), j()],
|
|
17
|
-
return
|
|
13
|
+
import { css as p } from "lit";
|
|
14
|
+
const g = p`*,: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-line:var(--sbb-link-text-decoration, underline);text-decoration-color:var(--sbb-link-text-decoration-color);text-decoration-thickness:.0625rem;text-underline-offset:.3125em;-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-line:var(--sbb-link-hover-text-decoration, underline);text-decoration-color:var(--sbb-link-text-decoration-color-hover)}}:host(:is(:active,[data-active]):not([disabled],:disabled,[disabled-interactive])) .sbb-action-base{color:var(--sbb-link-color-active)}`, P = (t) => (() => {
|
|
15
|
+
var r, i;
|
|
16
|
+
let e = [M({ "data-sbb-link": "" }), j()], a, c = [], n, l = E(t), s, k = [], u = [];
|
|
17
|
+
return i = class extends l {
|
|
18
18
|
constructor() {
|
|
19
19
|
super(...arguments);
|
|
20
|
-
f(this,
|
|
20
|
+
f(this, r, m(this, k, B() ? "xs" : "s"));
|
|
21
21
|
m(this, u);
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
@@ -26,23 +26,23 @@ const y = g`*,:before,:after{box-sizing:border-box}:host{outline:none!important}
|
|
|
26
26
|
* @default 's' / 'xs' (lean)
|
|
27
27
|
*/
|
|
28
28
|
get size() {
|
|
29
|
-
return h(this,
|
|
29
|
+
return h(this, r);
|
|
30
30
|
}
|
|
31
31
|
set size(b) {
|
|
32
|
-
v(this,
|
|
32
|
+
v(this, r, b);
|
|
33
33
|
}
|
|
34
34
|
renderTemplate() {
|
|
35
35
|
return w`<slot></slot>`;
|
|
36
36
|
}
|
|
37
|
-
},
|
|
37
|
+
}, r = new WeakMap(), n = i, (() => {
|
|
38
38
|
const b = typeof Symbol == "function" && Symbol.metadata ? Object.create(l[Symbol.metadata] ?? null) : void 0;
|
|
39
|
-
s = [S({ reflect: !0 })],
|
|
39
|
+
s = [S({ reflect: !0 })], x(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
40
|
d.size = T;
|
|
41
|
-
} }, metadata: b },
|
|
42
|
-
})(),
|
|
43
|
-
})(), L =
|
|
41
|
+
} }, metadata: b }, k, u), x(null, a = { value: n }, e, { kind: "class", name: n.name, metadata: b }, null, c), n = a.value, b && Object.defineProperty(n, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: b });
|
|
42
|
+
})(), i.styles = g, m(n, c), n;
|
|
43
|
+
})(), L = p`:host{--sbb-link-color-hover: var(--sbb-color-red125);--sbb-link-color-active: var(--sbb-color-red150);--sbb-link-text-decoration-color: color-mix(in srgb, currentcolor 80%, white);--sbb-link-text-decoration-color-hover: currentcolor;--sbb-link-color-normal: var(--sbb-color-granite);--sbb-link-gap: var(--sbb-spacing-fixed-1x);display:block}:host([negative]){--sbb-focus-outline-color: var(--sbb-focus-outline-color-dark);--sbb-link-text-decoration-color: color-mix(in srgb, currentcolor 80%, black);--sbb-link-text-decoration-color-hover: currentcolor;--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-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) => (() => {
|
|
44
44
|
var l, s;
|
|
45
|
-
let e = P(I(t)),
|
|
45
|
+
let e = P(I(t)), a, c = [], n = [];
|
|
46
46
|
return s = class extends e {
|
|
47
47
|
constructor() {
|
|
48
48
|
super(...arguments);
|
|
@@ -53,8 +53,8 @@ const y = g`*,:before,:after{box-sizing:border-box}:host{outline:none!important}
|
|
|
53
53
|
get iconPlacement() {
|
|
54
54
|
return h(this, l);
|
|
55
55
|
}
|
|
56
|
-
set iconPlacement(
|
|
57
|
-
v(this, l,
|
|
56
|
+
set iconPlacement(r) {
|
|
57
|
+
v(this, l, r);
|
|
58
58
|
}
|
|
59
59
|
renderTemplate() {
|
|
60
60
|
return w`
|
|
@@ -63,17 +63,17 @@ const y = g`*,:before,:after{box-sizing:border-box}:host{outline:none!important}
|
|
|
63
63
|
`;
|
|
64
64
|
}
|
|
65
65
|
}, l = new WeakMap(), (() => {
|
|
66
|
-
const
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} }, metadata:
|
|
70
|
-
})(), s.styles = [
|
|
71
|
-
})(), O =
|
|
66
|
+
const r = typeof Symbol == "function" && Symbol.metadata ? Object.create(e[Symbol.metadata] ?? null) : void 0;
|
|
67
|
+
a = [S({ attribute: "icon-placement", reflect: !0 })], x(s, null, a, { kind: "accessor", name: "iconPlacement", static: !1, private: !1, access: { has: (i) => "iconPlacement" in i, get: (i) => i.iconPlacement, set: (i, y) => {
|
|
68
|
+
i.iconPlacement = y;
|
|
69
|
+
} }, metadata: r }, c, n), r && Object.defineProperty(s, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: r });
|
|
70
|
+
})(), s.styles = [g, L], s;
|
|
71
|
+
})(), O = p`:host{font-family:inherit;font-weight:inherit;line-height:inherit;letter-spacing:inherit;font-size:inherit;text-align:inherit;--sbb-link-color-hover: var(--sbb-color-red125);--sbb-link-color-active: var(--sbb-color-red150);--sbb-link-text-decoration-color: color-mix(in srgb, currentcolor 80%, white);--sbb-link-text-decoration-color-hover: currentcolor;--sbb-link-color-normal: inherit;color:inherit;display:inline-block}:host([negative]){--sbb-focus-outline-color: var(--sbb-focus-outline-color-dark);--sbb-link-text-decoration-color: color-mix(in srgb, currentcolor 80%, black);--sbb-link-text-decoration-color-hover: currentcolor;--sbb-link-color-hover: var(--sbb-color-graphite);--sbb-link-color-active: var(--sbb-color-metal)}.sbb-action-base{font-family:inherit;font-weight:inherit;line-height:inherit;letter-spacing:inherit;font-size:inherit;text-align:inherit}`, J = (t) => {
|
|
72
72
|
const e = class e extends P(t) {
|
|
73
73
|
};
|
|
74
|
-
e.styles = [
|
|
75
|
-
let
|
|
76
|
-
return
|
|
74
|
+
e.styles = [g, O];
|
|
75
|
+
let o = e;
|
|
76
|
+
return o;
|
|
77
77
|
};
|
|
78
78
|
export {
|
|
79
79
|
H as SbbBlockLinkCommonElementMixin,
|
package/link/link-button.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { __esDecorate as
|
|
1
|
+
import { __esDecorate as r, __runInitializers as m } from "tslib";
|
|
2
2
|
import { customElement as s } from "lit/decorators.js";
|
|
3
3
|
import { SbbButtonBaseElement as b } from "../core/base-elements.js";
|
|
4
4
|
import { SbbDisabledTabIndexActionMixin as c } from "../core/mixins.js";
|
|
5
5
|
import { SbbInlineLinkCommonElementMixin as u } from "./common.js";
|
|
6
6
|
let x = (() => {
|
|
7
|
-
var
|
|
8
|
-
let
|
|
9
|
-
return
|
|
10
|
-
},
|
|
7
|
+
var e;
|
|
8
|
+
let o = [s("sbb-link-button")], l, n = [], t, i = u(c(b));
|
|
9
|
+
return e = class extends i {
|
|
10
|
+
}, t = e, (() => {
|
|
11
11
|
const a = typeof Symbol == "function" && Symbol.metadata ? Object.create(i[Symbol.metadata] ?? null) : void 0;
|
|
12
|
-
|
|
13
|
-
})(),
|
|
12
|
+
r(null, l = { value: t }, o, { kind: "class", name: t.name, metadata: a }, null, n), t = l.value, a && Object.defineProperty(t, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: a }), m(t, n);
|
|
13
|
+
})(), t;
|
|
14
14
|
})();
|
|
15
15
|
export {
|
|
16
16
|
x as SbbLinkButtonElement
|
package/link/link-static.js
CHANGED
|
@@ -4,13 +4,13 @@ import { SbbActionBaseElement as c } from "../core/base-elements.js";
|
|
|
4
4
|
import { SbbDisabledMixin as b } from "../core/mixins.js";
|
|
5
5
|
import { SbbInlineLinkCommonElementMixin as u } from "./common.js";
|
|
6
6
|
let y = (() => {
|
|
7
|
-
var
|
|
8
|
-
let
|
|
9
|
-
return
|
|
10
|
-
},
|
|
11
|
-
const a = typeof Symbol == "function" && Symbol.metadata ? Object.create(
|
|
12
|
-
s(null, l = { value:
|
|
13
|
-
})(),
|
|
7
|
+
var e;
|
|
8
|
+
let n = [o("sbb-link-static")], l, i = [], t, r = u(b(c));
|
|
9
|
+
return e = class extends r {
|
|
10
|
+
}, t = e, (() => {
|
|
11
|
+
const a = typeof Symbol == "function" && Symbol.metadata ? Object.create(r[Symbol.metadata] ?? null) : void 0;
|
|
12
|
+
s(null, l = { value: t }, n, { kind: "class", name: t.name, metadata: a }, null, i), t = l.value, a && Object.defineProperty(t, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: a }), m(t, i);
|
|
13
|
+
})(), t;
|
|
14
14
|
})();
|
|
15
15
|
export {
|
|
16
16
|
y as SbbLinkStaticElement
|
package/link/link.js
CHANGED
|
@@ -5,11 +5,11 @@ import { SbbDisabledMixin as c } from "../core/mixins.js";
|
|
|
5
5
|
import { SbbInlineLinkCommonElementMixin as u } from "./common.js";
|
|
6
6
|
let y = (() => {
|
|
7
7
|
var t;
|
|
8
|
-
let
|
|
9
|
-
return t = class extends
|
|
8
|
+
let n = [o("sbb-link")], l, i = [], e, r = u(c(b));
|
|
9
|
+
return t = class extends r {
|
|
10
10
|
}, e = t, (() => {
|
|
11
|
-
const a = typeof Symbol == "function" && Symbol.metadata ? Object.create(
|
|
12
|
-
m(null, l = { value: e },
|
|
11
|
+
const a = typeof Symbol == "function" && Symbol.metadata ? Object.create(r[Symbol.metadata] ?? null) : void 0;
|
|
12
|
+
m(null, l = { value: e }, n, { kind: "class", name: e.name, metadata: a }, null, i), e = l.value, a && Object.defineProperty(e, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: a }), s(e, i);
|
|
13
13
|
})(), e;
|
|
14
14
|
})();
|
|
15
15
|
export {
|
package/link-list/common.js
CHANGED
|
@@ -2,9 +2,9 @@ var w = (e) => {
|
|
|
2
2
|
throw TypeError(e);
|
|
3
3
|
};
|
|
4
4
|
var I = (e, s, l) => s.has(e) || w("Cannot " + l);
|
|
5
|
-
var d = (e, s, l) => (I(e, s, "read from private field"), l ? l.call(e) : s.get(e)),
|
|
6
|
-
import { __esDecorate as
|
|
7
|
-
import { LitElement as E,
|
|
5
|
+
var d = (e, s, l) => (I(e, s, "read from private field"), l ? l.call(e) : s.get(e)), _ = (e, s, l) => s.has(e) ? w("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, l), r = (e, s, l, a) => (I(e, s, "write to private field"), a ? a.call(e, l) : s.set(e, l), l);
|
|
6
|
+
import { __esDecorate as u, __runInitializers as o } from "tslib";
|
|
7
|
+
import { LitElement as E, nothing as $, html 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
10
|
import { isLean as O } from "../core/dom.js";
|
|
@@ -12,13 +12,13 @@ import { SbbNegativeMixin as T, SbbNamedSlotListMixin as U } from "../core/mixin
|
|
|
12
12
|
import "../title.js";
|
|
13
13
|
let V = (() => {
|
|
14
14
|
var c, b, m, n;
|
|
15
|
-
let e = [N()], s, l = [], a,
|
|
16
|
-
return n = class extends
|
|
15
|
+
let e = [N()], s, l = [], a, p = T(U(E)), f, k = [], z = [], L, g = [], x = [], C, y = [], S = [];
|
|
16
|
+
return n = class extends p {
|
|
17
17
|
constructor() {
|
|
18
18
|
super(...arguments);
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
_(this, c);
|
|
20
|
+
_(this, b);
|
|
21
|
+
_(this, m);
|
|
22
22
|
this.listChildLocalNames = [
|
|
23
23
|
"sbb-block-link",
|
|
24
24
|
"sbb-block-link-button",
|
|
@@ -56,11 +56,11 @@ let V = (() => {
|
|
|
56
56
|
t.negative = this.negative, t.size = this.size;
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
|
-
return
|
|
59
|
+
return B`
|
|
60
60
|
<div class="sbb-link-list-wrapper">
|
|
61
61
|
<sbb-title
|
|
62
62
|
class="sbb-link-list-title"
|
|
63
|
-
level=${this.titleLevel ||
|
|
63
|
+
level=${this.titleLevel || $}
|
|
64
64
|
visual-level="5"
|
|
65
65
|
?negative=${this.negative}
|
|
66
66
|
id="sbb-link-list-title-id"
|
|
@@ -72,14 +72,14 @@ let V = (() => {
|
|
|
72
72
|
`;
|
|
73
73
|
}
|
|
74
74
|
}, c = new WeakMap(), b = new WeakMap(), m = new WeakMap(), a = n, (() => {
|
|
75
|
-
const i = typeof Symbol == "function" && Symbol.metadata ? Object.create(
|
|
76
|
-
|
|
75
|
+
const i = typeof Symbol == "function" && Symbol.metadata ? Object.create(p[Symbol.metadata] ?? null) : void 0;
|
|
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) => {
|
|
77
77
|
t.titleContent = h;
|
|
78
|
-
} }, metadata: i }, k, z),
|
|
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) => {
|
|
79
79
|
t.titleLevel = h;
|
|
80
|
-
} }, metadata: i }, g, x),
|
|
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) => {
|
|
81
81
|
t.size = h;
|
|
82
|
-
} }, metadata: i }, y, S),
|
|
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);
|
|
83
83
|
})(), a;
|
|
84
84
|
})();
|
|
85
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}`;
|