@sbb-esta/lyne-elements-dev 5.0.0-next.3-dev.1780486982 → 5.0.0-next.3-dev.1780499181

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.
Files changed (41) hide show
  1. package/calendar/calendar/calendar.component.js +1 -1
  2. package/{calendar.component-BM4L9oyb.js → calendar.component-RVAHcJf6.js} +46 -23
  3. package/calendar.js +1 -1
  4. package/calendar.pure.js +1 -1
  5. package/custom-elements.json +38 -2
  6. package/development/calendar/calendar/calendar.component.d.ts +7 -0
  7. package/development/calendar/calendar/calendar.component.d.ts.map +1 -1
  8. package/development/calendar/calendar/calendar.component.js +1 -1
  9. package/development/calendar.component-BmB8HoZt.js +1399 -0
  10. package/development/calendar.js +1 -1
  11. package/development/calendar.pure.js +1 -1
  12. package/development/header/header/header.component.d.ts +2 -0
  13. package/development/header/header/header.component.d.ts.map +1 -1
  14. package/development/header/header/header.component.js +1 -1
  15. package/development/header.component-FVw_5NRT.js +336 -0
  16. package/development/header.js +1 -1
  17. package/development/header.pure.js +1 -1
  18. package/development/map-container/map-container.component.d.ts +2 -2
  19. package/development/map-container/map-container.component.js +1 -1
  20. package/development/map-container.component-ASCfDs-R.js +176 -0
  21. package/development/map-container.js +1 -1
  22. package/development/map-container.pure.js +1 -1
  23. package/header/_header.global.scss +8 -1
  24. package/header/header/header.component.js +1 -1
  25. package/{header.component-DgWfgTse.js → header.component-BbdHh5fF.js} +1 -1
  26. package/header.js +1 -1
  27. package/header.pure.js +1 -1
  28. package/lean-off-brand-theme.css +5 -1
  29. package/lean-safety-theme.css +5 -1
  30. package/lean-theme.css +5 -1
  31. package/map-container/map-container.component.js +1 -1
  32. package/{map-container.component-bI8Gb4I8.js → map-container.component-C2_Miiv0.js} +1 -1
  33. package/map-container.js +1 -1
  34. package/map-container.pure.js +1 -1
  35. package/off-brand-theme.css +5 -1
  36. package/package.json +2 -2
  37. package/safety-theme.css +5 -1
  38. package/standard-theme.css +5 -1
  39. package/development/calendar.component-C_Yc2PNV.js +0 -1367
  40. package/development/header.component-B43X03Jg.js +0 -334
  41. package/development/map-container.component-N-e2oBnd.js +0 -176
@@ -0,0 +1,176 @@
1
+ import { __esDecorate, __runInitializers } from "tslib";
2
+ import { html, nothing, unsafeCSS } from "lit";
3
+ import { property, state } from "lit/decorators.js";
4
+ import { SbbElement, SbbLanguageController, forceType, forwardEvent, i18nMapContainerButtonLabel, scrollbarStyles } from "./core.js";
5
+ import { SbbAccentButtonElement } from "./button.pure.js";
6
+ import { IntersectionController } from "@lit-labs/observers/intersection-controller.js";
7
+ //#region src/elements/map-container/map-container.scss?inline
8
+ var map_container_default = ":host {\n --sbb-map-container-animation-duration: var(\n --sbb-disable-animation-duration,\n var(--sbb-animation-duration-4x)\n );\n --_sbb-map-container-map-height: calc(\n var(--sbb-map-container-map-height-zero) + var(--sbb-map-container-border-radius)\n );\n display: grid;\n grid-template-rows: auto auto;\n}\n@media (min-width: calc(37.5rem)) {\n :host {\n --_sbb-map-container-map-height: calc(\n var(--sbb-map-container-map-height-small) + var(--sbb-map-container-border-radius)\n );\n }\n}\n@media (min-width: calc(64rem)) {\n :host {\n grid-template-columns: max(var(--sbb-map-container-sidebar-width)) calc(100% - var(--sbb-map-container-sidebar-width));\n position: fixed;\n inset: var(--sbb-map-container-margin-start, var(--sbb-header-vertical-spacing)) 0 0 0;\n }\n}\n\n.sbb-map-container__sidebar-button {\n position: fixed;\n left: 50%;\n inset-block-end: var(--sbb-spacing-fixed-5x);\n visibility: hidden;\n opacity: 0;\n transform: translateX(-50%) translateY(calc(100% + var(--sbb-spacing-fixed-5x)));\n transition: opacity var(--sbb-map-container-animation-duration) var(--sbb-animation-easing), visibility var(--sbb-map-container-animation-duration) var(--sbb-animation-easing) var(--sbb-map-container-animation-duration), transform var(--sbb-map-container-animation-duration) var(--sbb-animation-easing);\n}\n:host(:is(:state(scroll-up-button-visible),[state--scroll-up-button-visible])) .sbb-map-container__sidebar-button {\n transition: visibility var(--sbb-map-container-animation-duration) var(--sbb-animation-easing), opacity var(--sbb-map-container-animation-duration) var(--sbb-animation-easing), transform var(--sbb-map-container-animation-duration) ease-out;\n visibility: visible;\n opacity: 1;\n transform: translateX(-50%) translateY(0);\n}\n@media (min-width: calc(64rem)) {\n .sbb-map-container__sidebar-button {\n display: none;\n }\n}\n\n.sbb-map-container__sidebar {\n grid-column: 1/3;\n grid-row: 2/3;\n width: 100%;\n overflow: hidden auto;\n position: relative;\n border-start-end-radius: var(--sbb-map-container-border-radius);\n border-start-start-radius: var(--sbb-map-container-border-radius);\n margin-block-start: calc(var(--sbb-map-container-border-radius) * -1);\n background-color: var(--sbb-map-container-sidebar-background-color);\n}\n@media (min-width: calc(64rem)) {\n .sbb-map-container__sidebar {\n grid-column: 1/2;\n grid-row: 1/3;\n border-radius: 0;\n margin-block-start: 0;\n border-block-start: var(--sbb-border-width-1x) solid var(--sbb-border-color-4-inverted);\n }\n}\n\n.sbb-map-container__map {\n position: sticky;\n inset-block-start: 0;\n inset-inline: 0;\n grid-row: 1/2;\n grid-column: 1/3;\n}\n@media (max-width: calc(63.9375rem)) {\n .sbb-map-container__map {\n inset-block-start: var(--sbb-map-container-mobile-sticky-block-start, 0);\n height: var(--_sbb-map-container-map-height);\n }\n}\n@media (min-width: calc(64rem)) {\n .sbb-map-container__map {\n grid-row: 1/3;\n grid-column: 2/3;\n position: relative;\n }\n}";
9
+ //#endregion
10
+ //#region src/elements/map-container/map-container.component.ts
11
+ /**
12
+ * It can be used as a container for maps.
13
+ *
14
+ * @slot - Use the unnamed slot to add content to the sidebar.
15
+ * @slot map - Used for slotting the map.
16
+ * @cssprop [--sbb-map-container-margin-start=var(--sbb-header-vertical-spacing)] - The component
17
+ * comes along with a height calculation that subtracts the height of the header.
18
+ * For specific use cases, this variable can be used to modify the preset height.
19
+ * @cssprop [--sbb-map-container-sidebar-width=zero-large:400px;ultra:480px] - Can be used
20
+ * to modify the width of the left sidebar.
21
+ * @cssprop [--sbb-map-container-mobile-sticky-block-start=0] - If e.g. a header with a fixed height
22
+ * is placed before the map-container, the map should be sticky respecting
23
+ * this offset from the document's top. Only applied on mobile views.
24
+ * Most commonly it can be set to `var(--sbb-header-vertical-spacing)`.
25
+ */
26
+ var SbbMapContainerElement = (() => {
27
+ let _classSuper = SbbElement;
28
+ let _hideScrollUpButton_decorators;
29
+ let _hideScrollUpButton_initializers = [];
30
+ let _hideScrollUpButton_extraInitializers = [];
31
+ let __scrollUpButtonVisible_decorators;
32
+ let __scrollUpButtonVisible_initializers = [];
33
+ let __scrollUpButtonVisible_extraInitializers = [];
34
+ return class SbbMapContainerElement extends _classSuper {
35
+ constructor() {
36
+ super(...arguments);
37
+ this.#hideScrollUpButton_accessor_storage = __runInitializers(this, _hideScrollUpButton_initializers, false);
38
+ this.#_scrollUpButtonVisible_accessor_storage = (__runInitializers(this, _hideScrollUpButton_extraInitializers), __runInitializers(this, __scrollUpButtonVisible_initializers, false));
39
+ this._language = (__runInitializers(this, __scrollUpButtonVisible_extraInitializers), new SbbLanguageController(this));
40
+ this._observer = new IntersectionController(this, {
41
+ target: null,
42
+ callback: (entries) => this._toggleButtonVisibilityOnIntersect(entries)
43
+ });
44
+ }
45
+ static {
46
+ const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
47
+ _hideScrollUpButton_decorators = [forceType(), property({
48
+ attribute: "hide-scroll-up-button",
49
+ reflect: true,
50
+ type: Boolean
51
+ })];
52
+ __scrollUpButtonVisible_decorators = [state()];
53
+ __esDecorate(this, null, _hideScrollUpButton_decorators, {
54
+ kind: "accessor",
55
+ name: "hideScrollUpButton",
56
+ static: false,
57
+ private: false,
58
+ access: {
59
+ has: (obj) => "hideScrollUpButton" in obj,
60
+ get: (obj) => obj.hideScrollUpButton,
61
+ set: (obj, value) => {
62
+ obj.hideScrollUpButton = value;
63
+ }
64
+ },
65
+ metadata: _metadata
66
+ }, _hideScrollUpButton_initializers, _hideScrollUpButton_extraInitializers);
67
+ __esDecorate(this, null, __scrollUpButtonVisible_decorators, {
68
+ kind: "accessor",
69
+ name: "_scrollUpButtonVisible",
70
+ static: false,
71
+ private: false,
72
+ access: {
73
+ has: (obj) => "_scrollUpButtonVisible" in obj,
74
+ get: (obj) => obj._scrollUpButtonVisible,
75
+ set: (obj, value) => {
76
+ obj._scrollUpButtonVisible = value;
77
+ }
78
+ },
79
+ metadata: _metadata
80
+ }, __scrollUpButtonVisible_initializers, __scrollUpButtonVisible_extraInitializers);
81
+ if (_metadata) Object.defineProperty(this, Symbol.metadata, {
82
+ enumerable: true,
83
+ configurable: true,
84
+ writable: true,
85
+ value: _metadata
86
+ });
87
+ }
88
+ static {
89
+ this.elementName = "sbb-map-container";
90
+ }
91
+ static {
92
+ this.elementDependencies = [SbbAccentButtonElement];
93
+ }
94
+ static {
95
+ this.styles = [scrollbarStyles, unsafeCSS(map_container_default)];
96
+ }
97
+ #hideScrollUpButton_accessor_storage;
98
+ /** Flag to show/hide the scroll up button inside the sidebar on mobile. */
99
+ get hideScrollUpButton() {
100
+ return this.#hideScrollUpButton_accessor_storage;
101
+ }
102
+ set hideScrollUpButton(value) {
103
+ this.#hideScrollUpButton_accessor_storage = value;
104
+ }
105
+ #_scrollUpButtonVisible_accessor_storage;
106
+ get _scrollUpButtonVisible() {
107
+ return this.#_scrollUpButtonVisible_accessor_storage;
108
+ }
109
+ set _scrollUpButtonVisible(value) {
110
+ this.#_scrollUpButtonVisible_accessor_storage = value;
111
+ }
112
+ willUpdate(changedProperties) {
113
+ super.willUpdate(changedProperties);
114
+ if (changedProperties.has("hideScrollUpButton")) {
115
+ const intersectorElement = this._intersector();
116
+ if (!this.hideScrollUpButton && intersectorElement) this._observer.observe(intersectorElement);
117
+ else if (intersectorElement) this._observer.unobserve(intersectorElement);
118
+ }
119
+ }
120
+ firstUpdated(changedProperties) {
121
+ super.firstUpdated(changedProperties);
122
+ if (!this.hideScrollUpButton) this._observer.observe(this._intersector());
123
+ }
124
+ _intersector() {
125
+ return this.shadowRoot?.querySelector("#intersector") ?? null;
126
+ }
127
+ /**
128
+ * Button click callback to trigger the scroll to container top
129
+ * @private
130
+ */
131
+ _onScrollButtonClick() {
132
+ this.scrollIntoView({ behavior: "smooth" });
133
+ }
134
+ /**
135
+ * Intersection callback. Toggles the visibility.
136
+ * @param entries
137
+ * @private
138
+ */
139
+ _toggleButtonVisibilityOnIntersect(entries) {
140
+ entries.forEach((entry) => {
141
+ const mapIsHidden = !entry.isIntersecting;
142
+ this.toggleState("scroll-up-button-visible", mapIsHidden);
143
+ this._scrollUpButtonVisible = mapIsHidden;
144
+ });
145
+ }
146
+ render() {
147
+ return html`
148
+ <div class="sbb-map-container__map">
149
+ <slot name="map"></slot>
150
+ </div>
151
+ <div
152
+ class="sbb-map-container__sidebar sbb-scrollbar-thick-track-visible"
153
+ @scroll=${(e) => forwardEvent(e, document)}
154
+ >
155
+ <span id="intersector"></span>
156
+
157
+ <slot></slot>
158
+
159
+ ${!this.hideScrollUpButton ? html`<sbb-accent-button
160
+ class="sbb-map-container__sidebar-button"
161
+ size="l"
162
+ icon-name="location-pin-map-small"
163
+ @click=${() => this._onScrollButtonClick()}
164
+ ?inert=${!this._scrollUpButtonVisible}
165
+ >
166
+ ${i18nMapContainerButtonLabel[this._language.current]}
167
+ </sbb-accent-button>` : nothing}
168
+ </div>
169
+ `;
170
+ }
171
+ };
172
+ })();
173
+ //#endregion
174
+ export { SbbMapContainerElement as t };
175
+
176
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFwLWNvbnRhaW5lci5jb21wb25lbnQtQVNDZkRzLVIuanMiLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2VsZW1lbnRzL21hcC1jb250YWluZXIvbWFwLWNvbnRhaW5lci5zY3NzP2lubGluZSIsIi4uLy4uLy4uL3NyYy9lbGVtZW50cy9tYXAtY29udGFpbmVyL21hcC1jb250YWlu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ozs7bUJBTUksTUFBYSxhQUFhLEdBQUcsUUFBUSxFQUFBOzs7Ozs7VUFNOUMsQ0FBQyxLQUFLLHFCQUNKLElBQUk7Ozs7NkJBSWEsS0FBSyxxQkFBb0IsRUFBQTt1QkFDL0IsQ0FBQyxLQUFLLHVCQUFBOztnQkFFYiw0QkFBNEIsS0FBSyxVQUFVLFNBQUE7b0NBRS9DLFFBQUE7OztFQUdWIn0=
@@ -1,4 +1,4 @@
1
- import { t as SbbMapContainerElement } from "./map-container.component-N-e2oBnd.js";
1
+ import { t as SbbMapContainerElement } from "./map-container.component-ASCfDs-R.js";
2
2
  import "./map-container.pure.js";
3
3
  //#region src/elements/map-container.ts
4
4
  /** @entrypoint */
@@ -1,2 +1,2 @@
1
- import { t as SbbMapContainerElement } from "./map-container.component-N-e2oBnd.js";
1
+ import { t as SbbMapContainerElement } from "./map-container.component-ASCfDs-R.js";
2
2
  export { SbbMapContainerElement };
@@ -34,6 +34,13 @@ $theme: 'standard' !default;
34
34
  --sbb-header-box-shadow: var(--sbb-box-shadow-level-9-soft);
35
35
  --sbb-header-inset-inline-end: 0;
36
36
  --sbb-header-position: fixed;
37
+ --sbb-header-padding-block-start: env(safe-area-inset-top, 0);
38
+
39
+ // If --sbb-header-padding-block-start is not defined globally, it is not applied here.
40
+ // We accept this limitation, as overriding this padding is an extremely rare use case.
41
+ --sbb-header-vertical-spacing: calc(
42
+ var(--sbb-header-height) + var(--sbb-header-padding-block-start)
43
+ );
37
44
  --sbb-header-height-s: #{sbb.px-to-rem-build(52)};
38
45
  --sbb-header-height-m: var(--sbb-spacing-fixed-14x);
39
46
  --sbb-header-height: #{sbb.theme-pattern-select(
@@ -79,7 +86,7 @@ $theme: 'standard' !default;
79
86
 
80
87
  // Move container below header
81
88
  sbb-header + :where(sbb-sidebar-container, sbb-icon-sidebar-container) {
82
- margin-block-start: var(--sbb-header-height);
89
+ margin-block-start: var(--sbb-header-vertical-spacing);
83
90
  }
84
91
 
85
92
  // Helper class for the application name and version in sbb-header.
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../header.component-DgWfgTse.js";
1
+ import { t as e } from "../../header.component-BbdHh5fF.js";
2
2
  export { e as SbbHeaderElement };
@@ -3,7 +3,7 @@ import { html as n, isServer as r, unsafeCSS as i } from "lit";
3
3
  import { property as a, state as o } from "lit/decorators.js";
4
4
  import { SbbElement as s, SbbFocusVisibleWithinController as c, forceType as l, idReference as u, queueDomContentLoaded as d } from "./core.js";
5
5
  //#region src/elements/header/header/header.scss?inline
6
- var f = ":host{--sbb-logo-height: 1rem;--sbb-signet-height: 1rem;--sbb-header-transition-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-6x) )}@media(min-width:64rem){:host{--sbb-logo-height: 1.25rem;--sbb-signet-height: 1.25rem}}:host{display:block;height:var(--sbb-header-height);line-height:var(--sbb-typo-line-height-text)}:host([size=s]){--sbb-header-height: var(--sbb-header-height-s)}:host([size=m]){--sbb-header-height: var(--sbb-header-height-m)}:host([hide-on-scroll]){--sbb-header-position: absolute}:host([hide-on-scroll]:is(:state(fixed),[state--fixed])){--sbb-header-position: fixed;--sbb-header-animation-name: hide;--sbb-header-transform: translate3d(0, -100%, 0);--sbb-header-inset-inline-end: var(--sbb-scrollbar-width, 0)}:host([hide-on-scroll]:is(:state(fixed),[state--fixed]):is(:state(animated),[state--animated])){--sbb-header-transition-timing: cubic-bezier(.4, 0, 1, 1)}:host([hide-on-scroll]:is(:state(fixed),[state--fixed]):is(:state(visible),[state--visible])){--sbb-header-animation-name: show;--sbb-header-transform: translate3d(0, 0, 0);--sbb-header-transition-timing: cubic-bezier(0, 0, .2, 1)}:host([hide-on-scroll]:is(:state(fixed),[state--fixed]):is(:state(has-visible-focus-within),[state--has-visible-focus-within])){--sbb-header-transition-duration: 0;--sbb-header-transform: translate3d(0, 0, 0)}.sbb-header{position:var(--sbb-header-position);inset:0 var(--sbb-header-inset-inline-end) auto 0;background:var(--sbb-header-background);z-index:var(--sbb-header-z-index, 10);transform:var(--sbb-header-transform);transition-property:box-shadow;transition-duration:var(--sbb-header-transition-duration);transition-timing-function:var(--sbb-header-transition-timing);animation-name:var(--sbb-header-animation-name);animation-duration:var(--sbb-header-transition-duration);animation-timing-function:var(--sbb-header-transition-timing)}:host(:is(:is(:state(shadow),[state--shadow]),:is(:state(has-visible-focus-within),[state--has-visible-focus-within]):is(:state(fixed),[state--fixed]))) .sbb-header{box-shadow:var(--sbb-header-box-shadow)}@media(forced-colors:active){.sbb-header{border-block-end:var(--sbb-border-width-1x) solid CanvasText}}.sbb-header__wrapper{display:flex;align-items:center;justify-content:flex-start;height:var(--sbb-header-height)}:host(:not([expanded])) .sbb-header__wrapper{padding-inline:var(--sbb-page-spacing-padding, var(--sbb-layout-base-offset-responsive));margin-inline:auto;width:100%}@media(min-width:90rem){:host(:not([expanded])) .sbb-header__wrapper{max-width:var(--sbb-spacing-max-width, calc(var(--sbb-layout-base-page-max-width) + 2 * var(--sbb-layout-base-offset-responsive)))}}:host([expanded]) .sbb-header__wrapper{padding-inline:var(--sbb-page-spacing-padding, var(--sbb-spacing-responsive-xxs))}::slotted(:is(sbb-header-button,sbb-header-link):first-child){margin-inline-start:var(--sbb-header-first-item-margin-inline-start)}::slotted(*){flex:0 0 auto}::slotted(.sbb-header-shrinkable){flex-shrink:1;min-width:0}::slotted(.sbb-header-spacer){flex-grow:1}::slotted(.sbb-header-logo){margin-inline-start:var(--sbb-spacing-responsive-s)}::slotted(a.sbb-header-logo){display:block;padding-block:var(--sbb-spacing-fixed-3x);position:relative;outline:none!important}::slotted(a.sbb-header-logo):before{content:\"\";display:block;position:absolute;inset:var(--sbb-spacing-fixed-3x) 0}::slotted(a.sbb-header-logo:focus-visible):before{outline-offset:var(--sbb-focus-outline-offset);outline:var(--sbb-focus-outline-color) var(--sbb-focus-outline-style, solid) var(--sbb-focus-outline-width);outline-offset:var(--sbb-spacing-fixed-3x);border-radius:1px}@keyframes show{0%{transform:translate3d(0,-100%,0)}to{transform:translateZ(0)}}@keyframes hide{0%{transform:translateZ(0)}to{transform:translate3d(0,-100%,0)}}", p = "[aria-controls][aria-expanded='true']", m = (() => {
6
+ var f = ":host{--sbb-logo-height: 1rem;--sbb-signet-height: 1rem;--sbb-header-transition-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-6x) )}@media(min-width:64rem){:host{--sbb-logo-height: 1.25rem;--sbb-signet-height: 1.25rem}}:host{display:block;height:var(--sbb-header-height);line-height:var(--sbb-typo-line-height-text);padding-block-start:calc(var(--sbb-header-height) + var(--sbb-header-padding-block-start))}:host([size=s]){--sbb-header-height: var(--sbb-header-height-s)}:host([size=m]){--sbb-header-height: var(--sbb-header-height-m)}:host([hide-on-scroll]){--sbb-header-position: absolute}:host([hide-on-scroll]:is(:state(fixed),[state--fixed])){--sbb-header-position: fixed;--sbb-header-animation-name: hide;--sbb-header-transform: translate3d(0, -100%, 0);--sbb-header-inset-inline-end: var(--sbb-scrollbar-width, 0)}:host([hide-on-scroll]:is(:state(fixed),[state--fixed]):is(:state(animated),[state--animated])){--sbb-header-transition-timing: cubic-bezier(.4, 0, 1, 1)}:host([hide-on-scroll]:is(:state(fixed),[state--fixed]):is(:state(visible),[state--visible])){--sbb-header-animation-name: show;--sbb-header-transform: translate3d(0, 0, 0);--sbb-header-transition-timing: cubic-bezier(0, 0, .2, 1)}:host([hide-on-scroll]:is(:state(fixed),[state--fixed]):is(:state(has-visible-focus-within),[state--has-visible-focus-within])){--sbb-header-transition-duration: 0;--sbb-header-transform: translate3d(0, 0, 0)}.sbb-header{position:var(--sbb-header-position);inset:0 var(--sbb-header-inset-inline-end) auto 0;padding-block-start:var(--sbb-header-padding-block-start);background:var(--sbb-header-background);z-index:var(--sbb-header-z-index, 10);transform:var(--sbb-header-transform);transition-property:box-shadow;transition-duration:var(--sbb-header-transition-duration);transition-timing-function:var(--sbb-header-transition-timing);animation-name:var(--sbb-header-animation-name);animation-duration:var(--sbb-header-transition-duration);animation-timing-function:var(--sbb-header-transition-timing)}:host(:is(:is(:state(shadow),[state--shadow]),:is(:state(has-visible-focus-within),[state--has-visible-focus-within]):is(:state(fixed),[state--fixed]))) .sbb-header{box-shadow:var(--sbb-header-box-shadow)}@media(forced-colors:active){.sbb-header{border-block-end:var(--sbb-border-width-1x) solid CanvasText}}.sbb-header__wrapper{display:flex;align-items:center;justify-content:flex-start;height:var(--sbb-header-height)}:host(:not([expanded])) .sbb-header__wrapper{padding-inline:var(--sbb-page-spacing-padding, var(--sbb-layout-base-offset-responsive));margin-inline:auto;width:100%}@media(min-width:90rem){:host(:not([expanded])) .sbb-header__wrapper{max-width:var(--sbb-spacing-max-width, calc(var(--sbb-layout-base-page-max-width) + 2 * var(--sbb-layout-base-offset-responsive)))}}:host([expanded]) .sbb-header__wrapper{padding-inline:var(--sbb-page-spacing-padding, var(--sbb-spacing-responsive-xxs))}::slotted(:is(sbb-header-button,sbb-header-link):first-child){margin-inline-start:var(--sbb-header-first-item-margin-inline-start)}::slotted(*){flex:0 0 auto}::slotted(.sbb-header-shrinkable){flex-shrink:1;min-width:0}::slotted(.sbb-header-spacer){flex-grow:1}::slotted(.sbb-header-logo){margin-inline-start:var(--sbb-spacing-responsive-s)}::slotted(a.sbb-header-logo){display:block;padding-block:var(--sbb-spacing-fixed-3x);position:relative;outline:none!important}::slotted(a.sbb-header-logo):before{content:\"\";display:block;position:absolute;inset:var(--sbb-spacing-fixed-3x) 0}::slotted(a.sbb-header-logo:focus-visible):before{outline-offset:var(--sbb-focus-outline-offset);outline:var(--sbb-focus-outline-color) var(--sbb-focus-outline-style, solid) var(--sbb-focus-outline-width);outline-offset:var(--sbb-spacing-fixed-3x);border-radius:1px}@keyframes show{0%{transform:translate3d(0,-100%,0)}to{transform:translateZ(0)}}@keyframes hide{0%{transform:translateZ(0)}to{transform:translate3d(0,-100%,0)}}", p = "[aria-controls][aria-expanded='true']", m = (() => {
7
7
  let m = s, h, g = [], _ = [], v, y = [], b = [], x, S = [], C = [], w, T = [], E = [], D, O = [], k = [];
8
8
  return class s extends m {
9
9
  static {
package/header.js CHANGED
@@ -2,7 +2,7 @@ import { t as e } from "./header-action-common-B5M7_3Q1.js";
2
2
  import { SbbHeaderButtonElement as t } from "./header/header-button/header-button.component.js";
3
3
  import { t as n } from "./header-environment.component-Diy44YpD.js";
4
4
  import { SbbHeaderLinkElement as r } from "./header/header-link/header-link.component.js";
5
- import { t as i } from "./header.component-DgWfgTse.js";
5
+ import { t as i } from "./header.component-BbdHh5fF.js";
6
6
  import "./header.pure.js";
7
7
  i.define(), t.define(), n.define(), r.define();
8
8
  //#endregion
package/header.pure.js CHANGED
@@ -2,5 +2,5 @@ import { t as e } from "./header-action-common-B5M7_3Q1.js";
2
2
  import { SbbHeaderButtonElement as t } from "./header/header-button/header-button.component.js";
3
3
  import { t as n } from "./header-environment.component-Diy44YpD.js";
4
4
  import { SbbHeaderLinkElement as r } from "./header/header-link/header-link.component.js";
5
- import { t as i } from "./header.component-DgWfgTse.js";
5
+ import { t as i } from "./header.component-BbdHh5fF.js";
6
6
  export { e as SbbHeaderActionCommonElementMixin, t as SbbHeaderButtonElement, i as SbbHeaderElement, n as SbbHeaderEnvironmentElement, r as SbbHeaderLinkElement };
@@ -1405,6 +1405,10 @@ summary {
1405
1405
  --sbb-header-box-shadow: var(--sbb-box-shadow-level-9-soft);
1406
1406
  --sbb-header-inset-inline-end: 0;
1407
1407
  --sbb-header-position: fixed;
1408
+ --sbb-header-padding-block-start: env(safe-area-inset-top, 0);
1409
+ --sbb-header-vertical-spacing: calc(
1410
+ var(--sbb-header-height) + var(--sbb-header-padding-block-start)
1411
+ );
1408
1412
  --sbb-header-height-s: 3.25rem;
1409
1413
  --sbb-header-height-m: var(--sbb-spacing-fixed-14x);
1410
1414
  --sbb-header-height: var(--sbb-header-height-s);
@@ -2455,7 +2459,7 @@ sbb-flip-card-summary > [slot=image] :is(sbb-image, img):not(.sbb-figure-overlap
2455
2459
  }
2456
2460
 
2457
2461
  sbb-header + :where(sbb-sidebar-container, sbb-icon-sidebar-container) {
2458
- margin-block-start: var(--sbb-header-height);
2462
+ margin-block-start: var(--sbb-header-vertical-spacing);
2459
2463
  }
2460
2464
 
2461
2465
  .sbb-header-info {
@@ -1405,6 +1405,10 @@ summary {
1405
1405
  --sbb-header-box-shadow: var(--sbb-box-shadow-level-9-soft);
1406
1406
  --sbb-header-inset-inline-end: 0;
1407
1407
  --sbb-header-position: fixed;
1408
+ --sbb-header-padding-block-start: env(safe-area-inset-top, 0);
1409
+ --sbb-header-vertical-spacing: calc(
1410
+ var(--sbb-header-height) + var(--sbb-header-padding-block-start)
1411
+ );
1408
1412
  --sbb-header-height-s: 3.25rem;
1409
1413
  --sbb-header-height-m: var(--sbb-spacing-fixed-14x);
1410
1414
  --sbb-header-height: var(--sbb-header-height-s);
@@ -2455,7 +2459,7 @@ sbb-flip-card-summary > [slot=image] :is(sbb-image, img):not(.sbb-figure-overlap
2455
2459
  }
2456
2460
 
2457
2461
  sbb-header + :where(sbb-sidebar-container, sbb-icon-sidebar-container) {
2458
- margin-block-start: var(--sbb-header-height);
2462
+ margin-block-start: var(--sbb-header-vertical-spacing);
2459
2463
  }
2460
2464
 
2461
2465
  .sbb-header-info {
package/lean-theme.css CHANGED
@@ -1405,6 +1405,10 @@ summary {
1405
1405
  --sbb-header-box-shadow: var(--sbb-box-shadow-level-9-soft);
1406
1406
  --sbb-header-inset-inline-end: 0;
1407
1407
  --sbb-header-position: fixed;
1408
+ --sbb-header-padding-block-start: env(safe-area-inset-top, 0);
1409
+ --sbb-header-vertical-spacing: calc(
1410
+ var(--sbb-header-height) + var(--sbb-header-padding-block-start)
1411
+ );
1408
1412
  --sbb-header-height-s: 3.25rem;
1409
1413
  --sbb-header-height-m: var(--sbb-spacing-fixed-14x);
1410
1414
  --sbb-header-height: var(--sbb-header-height-s);
@@ -2455,7 +2459,7 @@ sbb-flip-card-summary > [slot=image] :is(sbb-image, img):not(.sbb-figure-overlap
2455
2459
  }
2456
2460
 
2457
2461
  sbb-header + :where(sbb-sidebar-container, sbb-icon-sidebar-container) {
2458
- margin-block-start: var(--sbb-header-height);
2462
+ margin-block-start: var(--sbb-header-vertical-spacing);
2459
2463
  }
2460
2464
 
2461
2465
  .sbb-header-info {
@@ -1,2 +1,2 @@
1
- import { t as e } from "../map-container.component-bI8Gb4I8.js";
1
+ import { t as e } from "../map-container.component-C2_Miiv0.js";
2
2
  export { e as SbbMapContainerElement };
@@ -5,7 +5,7 @@ import { SbbElement as s, SbbLanguageController as c, forceType as l, forwardEve
5
5
  import { SbbAccentButtonElement as p } from "./button.pure.js";
6
6
  import { IntersectionController as m } from "@lit-labs/observers/intersection-controller.js";
7
7
  //#region src/elements/map-container/map-container.scss?inline
8
- var h = ":host{--sbb-map-container-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-4x) );--_sbb-map-container-map-height: calc( var(--sbb-map-container-map-height-zero) + var(--sbb-map-container-border-radius) );display:grid;grid-template-rows:auto auto}@media(min-width:37.5rem){:host{--_sbb-map-container-map-height: calc( var(--sbb-map-container-map-height-small) + var(--sbb-map-container-border-radius) )}}@media(min-width:64rem){:host{grid-template-columns:max(var(--sbb-map-container-sidebar-width)) calc(100% - var(--sbb-map-container-sidebar-width));position:fixed;inset:var(--sbb-map-container-margin-start, var(--sbb-header-height)) 0 0 0}}.sbb-map-container__sidebar-button{position:fixed;left:50%;inset-block-end:var(--sbb-spacing-fixed-5x);visibility:hidden;opacity:0;transform:translate(-50%) translateY(calc(100% + var(--sbb-spacing-fixed-5x)));transition:opacity var(--sbb-map-container-animation-duration) var(--sbb-animation-easing),visibility var(--sbb-map-container-animation-duration) var(--sbb-animation-easing) var(--sbb-map-container-animation-duration),transform var(--sbb-map-container-animation-duration) var(--sbb-animation-easing)}:host(:is(:state(scroll-up-button-visible),[state--scroll-up-button-visible])) .sbb-map-container__sidebar-button{transition:visibility var(--sbb-map-container-animation-duration) var(--sbb-animation-easing),opacity var(--sbb-map-container-animation-duration) var(--sbb-animation-easing),transform var(--sbb-map-container-animation-duration) ease-out;visibility:visible;opacity:1;transform:translate(-50%) translateY(0)}@media(min-width:64rem){.sbb-map-container__sidebar-button{display:none}}.sbb-map-container__sidebar{grid-column:1/3;grid-row:2/3;width:100%;overflow:hidden auto;position:relative;border-start-end-radius:var(--sbb-map-container-border-radius);border-start-start-radius:var(--sbb-map-container-border-radius);margin-block-start:calc(var(--sbb-map-container-border-radius) * -1);background-color:var(--sbb-map-container-sidebar-background-color)}@media(min-width:64rem){.sbb-map-container__sidebar{grid-column:1/2;grid-row:1/3;border-radius:0;margin-block-start:0;border-block-start:var(--sbb-border-width-1x) solid var(--sbb-border-color-4-inverted)}}.sbb-map-container__map{position:sticky;inset-block-start:0;inset-inline:0;grid-row:1/2;grid-column:1/3}@media(max-width:63.9375rem){.sbb-map-container__map{inset-block-start:var(--sbb-map-container-mobile-sticky-block-start, 0);height:var(--_sbb-map-container-map-height)}}@media(min-width:64rem){.sbb-map-container__map{grid-row:1/3;grid-column:2/3;position:relative}}", g = (() => {
8
+ var h = ":host{--sbb-map-container-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-4x) );--_sbb-map-container-map-height: calc( var(--sbb-map-container-map-height-zero) + var(--sbb-map-container-border-radius) );display:grid;grid-template-rows:auto auto}@media(min-width:37.5rem){:host{--_sbb-map-container-map-height: calc( var(--sbb-map-container-map-height-small) + var(--sbb-map-container-border-radius) )}}@media(min-width:64rem){:host{grid-template-columns:max(var(--sbb-map-container-sidebar-width)) calc(100% - var(--sbb-map-container-sidebar-width));position:fixed;inset:var(--sbb-map-container-margin-start, var(--sbb-header-vertical-spacing)) 0 0 0}}.sbb-map-container__sidebar-button{position:fixed;left:50%;inset-block-end:var(--sbb-spacing-fixed-5x);visibility:hidden;opacity:0;transform:translate(-50%) translateY(calc(100% + var(--sbb-spacing-fixed-5x)));transition:opacity var(--sbb-map-container-animation-duration) var(--sbb-animation-easing),visibility var(--sbb-map-container-animation-duration) var(--sbb-animation-easing) var(--sbb-map-container-animation-duration),transform var(--sbb-map-container-animation-duration) var(--sbb-animation-easing)}:host(:is(:state(scroll-up-button-visible),[state--scroll-up-button-visible])) .sbb-map-container__sidebar-button{transition:visibility var(--sbb-map-container-animation-duration) var(--sbb-animation-easing),opacity var(--sbb-map-container-animation-duration) var(--sbb-animation-easing),transform var(--sbb-map-container-animation-duration) ease-out;visibility:visible;opacity:1;transform:translate(-50%) translateY(0)}@media(min-width:64rem){.sbb-map-container__sidebar-button{display:none}}.sbb-map-container__sidebar{grid-column:1/3;grid-row:2/3;width:100%;overflow:hidden auto;position:relative;border-start-end-radius:var(--sbb-map-container-border-radius);border-start-start-radius:var(--sbb-map-container-border-radius);margin-block-start:calc(var(--sbb-map-container-border-radius) * -1);background-color:var(--sbb-map-container-sidebar-background-color)}@media(min-width:64rem){.sbb-map-container__sidebar{grid-column:1/2;grid-row:1/3;border-radius:0;margin-block-start:0;border-block-start:var(--sbb-border-width-1x) solid var(--sbb-border-color-4-inverted)}}.sbb-map-container__map{position:sticky;inset-block-start:0;inset-inline:0;grid-row:1/2;grid-column:1/3}@media(max-width:63.9375rem){.sbb-map-container__map{inset-block-start:var(--sbb-map-container-mobile-sticky-block-start, 0);height:var(--_sbb-map-container-map-height)}}@media(min-width:64rem){.sbb-map-container__map{grid-row:1/3;grid-column:2/3;position:relative}}", g = (() => {
9
9
  let g = s, _, v = [], y = [], b, x = [], S = [];
10
10
  return class extends g {
11
11
  constructor() {
package/map-container.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./map-container.component-bI8Gb4I8.js";
1
+ import { t as e } from "./map-container.component-C2_Miiv0.js";
2
2
  import "./map-container.pure.js";
3
3
  //#region src/elements/map-container.ts
4
4
  e.define();
@@ -1,2 +1,2 @@
1
- import { t as e } from "./map-container.component-bI8Gb4I8.js";
1
+ import { t as e } from "./map-container.component-C2_Miiv0.js";
2
2
  export { e as SbbMapContainerElement };
@@ -1405,6 +1405,10 @@ summary {
1405
1405
  --sbb-header-box-shadow: var(--sbb-box-shadow-level-9-soft);
1406
1406
  --sbb-header-inset-inline-end: 0;
1407
1407
  --sbb-header-position: fixed;
1408
+ --sbb-header-padding-block-start: env(safe-area-inset-top, 0);
1409
+ --sbb-header-vertical-spacing: calc(
1410
+ var(--sbb-header-height) + var(--sbb-header-padding-block-start)
1411
+ );
1408
1412
  --sbb-header-height-s: 3.25rem;
1409
1413
  --sbb-header-height-m: var(--sbb-spacing-fixed-14x);
1410
1414
  --sbb-header-height: var(--sbb-header-height-m);
@@ -2455,7 +2459,7 @@ sbb-flip-card-summary > [slot=image] :is(sbb-image, img):not(.sbb-figure-overlap
2455
2459
  }
2456
2460
 
2457
2461
  sbb-header + :where(sbb-sidebar-container, sbb-icon-sidebar-container) {
2458
- margin-block-start: var(--sbb-header-height);
2462
+ margin-block-start: var(--sbb-header-vertical-spacing);
2459
2463
  }
2460
2464
 
2461
2465
  .sbb-header-info {
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@sbb-esta/lyne-elements-dev",
3
- "version": "5.0.0-next.3-dev.1780486982",
3
+ "version": "5.0.0-next.3-dev.1780499181",
4
4
  "description": "Lyne Design System",
5
5
  "keywords": [
6
6
  "design system",
7
7
  "web components",
8
8
  "lit",
9
- "https://github.com/sbb-design-systems/lyne-components/commit/9a5c95ae02d10aa6c1a19da2bf17bc2fa135584a"
9
+ "https://github.com/sbb-design-systems/lyne-components/commit/fabcca37b27a7d529a68cf9d1f0aa9f53f5ada51"
10
10
  ],
11
11
  "type": "module",
12
12
  "exports": {
package/safety-theme.css CHANGED
@@ -1405,6 +1405,10 @@ summary {
1405
1405
  --sbb-header-box-shadow: var(--sbb-box-shadow-level-9-soft);
1406
1406
  --sbb-header-inset-inline-end: 0;
1407
1407
  --sbb-header-position: fixed;
1408
+ --sbb-header-padding-block-start: env(safe-area-inset-top, 0);
1409
+ --sbb-header-vertical-spacing: calc(
1410
+ var(--sbb-header-height) + var(--sbb-header-padding-block-start)
1411
+ );
1408
1412
  --sbb-header-height-s: 3.25rem;
1409
1413
  --sbb-header-height-m: var(--sbb-spacing-fixed-14x);
1410
1414
  --sbb-header-height: var(--sbb-header-height-m);
@@ -2455,7 +2459,7 @@ sbb-flip-card-summary > [slot=image] :is(sbb-image, img):not(.sbb-figure-overlap
2455
2459
  }
2456
2460
 
2457
2461
  sbb-header + :where(sbb-sidebar-container, sbb-icon-sidebar-container) {
2458
- margin-block-start: var(--sbb-header-height);
2462
+ margin-block-start: var(--sbb-header-vertical-spacing);
2459
2463
  }
2460
2464
 
2461
2465
  .sbb-header-info {
@@ -1405,6 +1405,10 @@ summary {
1405
1405
  --sbb-header-box-shadow: var(--sbb-box-shadow-level-9-soft);
1406
1406
  --sbb-header-inset-inline-end: 0;
1407
1407
  --sbb-header-position: fixed;
1408
+ --sbb-header-padding-block-start: env(safe-area-inset-top, 0);
1409
+ --sbb-header-vertical-spacing: calc(
1410
+ var(--sbb-header-height) + var(--sbb-header-padding-block-start)
1411
+ );
1408
1412
  --sbb-header-height-s: 3.25rem;
1409
1413
  --sbb-header-height-m: var(--sbb-spacing-fixed-14x);
1410
1414
  --sbb-header-height: var(--sbb-header-height-m);
@@ -2455,7 +2459,7 @@ sbb-flip-card-summary > [slot=image] :is(sbb-image, img):not(.sbb-figure-overlap
2455
2459
  }
2456
2460
 
2457
2461
  sbb-header + :where(sbb-sidebar-container, sbb-icon-sidebar-container) {
2458
- margin-block-start: var(--sbb-header-height);
2462
+ margin-block-start: var(--sbb-header-vertical-spacing);
2459
2463
  }
2460
2464
 
2461
2465
  .sbb-header-info {