@sbb-esta/lyne-elements-experimental-dev 5.0.0-next.3-dev.1779268564 → 5.0.0-next.3-dev.1779279798

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 (79) hide show
  1. package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +42 -66
  2. package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.d.ts.map +1 -1
  3. package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +54 -83
  4. package/development/journey-summary/journey-summary.component.js +1 -1
  5. package/development/{journey-summary.component-De1ioDRq.js → journey-summary.component-Bjf9cIpR.js} +2 -2
  6. package/development/journey-summary.js +1 -1
  7. package/development/journey-summary.pure.js +1 -1
  8. package/development/pearl-chain/pearl-chain.component.js +1 -1
  9. package/development/pearl-chain-time/pearl-chain-time.component.js +1 -1
  10. package/development/{pearl-chain-time.component-BxVQ1z-Z.js → pearl-chain-time.component-y-YnuSnn.js} +2 -2
  11. package/development/pearl-chain-time.js +1 -1
  12. package/development/pearl-chain-time.pure.js +1 -1
  13. package/development/pearl-chain-vertical-item/pearl-chain-vertical-item.component.js +1 -1
  14. package/development/{pearl-chain-vertical-item.component-DJioJtxP.js → pearl-chain-vertical-item.component-zo48V6sO.js} +2 -2
  15. package/development/pearl-chain-vertical-item.js +1 -1
  16. package/development/pearl-chain-vertical-item.pure.js +1 -1
  17. package/development/{pearl-chain.component-EEAZ7Kol.js → pearl-chain.component-CO4eTDeD.js} +2 -2
  18. package/development/pearl-chain.js +1 -1
  19. package/development/pearl-chain.pure.js +1 -1
  20. package/development/seat-reservation/seat-reservation/seat-reservation-base-element.js +1 -1
  21. package/development/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +1 -1
  22. package/development/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +1 -1
  23. package/development/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +1 -1
  24. package/development/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +1 -1
  25. package/development/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +1 -1
  26. package/development/{seat-reservation-area.component-CMqjbUtV.js → seat-reservation-area.component-BiUbY2fJ.js} +2 -2
  27. package/development/{seat-reservation-graphic.component-C2r57590.js → seat-reservation-graphic.component-sXZS5AQ-.js} +2 -2
  28. package/development/{seat-reservation-navigation-coach.component-CMm-2Vuc.js → seat-reservation-navigation-coach.component-n9HVhAW1.js} +2 -2
  29. package/development/{seat-reservation-navigation-services.component-Do8JLJh3.js → seat-reservation-navigation-services.component-C_DDizl4.js} +2 -2
  30. package/development/{seat-reservation-place-control.component-Dfxv9B6C.js → seat-reservation-place-control.component-CEYulcPi.js} +2 -2
  31. package/development/seat-reservation.js +5 -5
  32. package/development/seat-reservation.pure.js +5 -5
  33. package/development/timetable-duration/timetable-duration.component.js +1 -1
  34. package/development/{timetable-duration.component-fBla8Kue.js → timetable-duration.component-QutPySyE.js} +2 -2
  35. package/development/timetable-duration.js +1 -1
  36. package/development/timetable-duration.pure.js +1 -1
  37. package/development/timetable-row/timetable-row.component.js +1 -1
  38. package/development/{timetable-row.component-CTShHdLn.js → timetable-row.component-2GBdtFiF.js} +2 -2
  39. package/development/timetable-row.js +1 -1
  40. package/development/timetable-row.pure.js +1 -1
  41. package/journey-summary/journey-summary.component.js +1 -1
  42. package/{journey-summary.component-CkDRawn9.js → journey-summary.component-Bbx7WYGU.js} +39 -39
  43. package/journey-summary.js +1 -1
  44. package/journey-summary.pure.js +1 -1
  45. package/package.json +2 -2
  46. package/pearl-chain/pearl-chain.component.js +1 -1
  47. package/pearl-chain-time/pearl-chain-time.component.js +1 -1
  48. package/{pearl-chain-time.component-D5OCEBJ_.js → pearl-chain-time.component-BDkOrxQ3.js} +32 -32
  49. package/pearl-chain-time.js +1 -1
  50. package/pearl-chain-time.pure.js +1 -1
  51. package/pearl-chain-vertical-item/pearl-chain-vertical-item.component.js +1 -1
  52. package/{pearl-chain-vertical-item.component-IdquCJMy.js → pearl-chain-vertical-item.component-an8iT9Ao.js} +24 -24
  53. package/pearl-chain-vertical-item.js +1 -1
  54. package/pearl-chain-vertical-item.pure.js +1 -1
  55. package/{pearl-chain.component-C6lcD7Xl.js → pearl-chain.component-DYzhEgWG.js} +24 -24
  56. package/pearl-chain.js +1 -1
  57. package/pearl-chain.pure.js +1 -1
  58. package/seat-reservation/seat-reservation/seat-reservation-base-element.js +58 -58
  59. package/seat-reservation/seat-reservation-area/seat-reservation-area.component.js +1 -1
  60. package/seat-reservation/seat-reservation-graphic/seat-reservation-graphic.component.js +1 -1
  61. package/seat-reservation/seat-reservation-navigation-coach/seat-reservation-navigation-coach.component.js +1 -1
  62. package/seat-reservation/seat-reservation-navigation-services/seat-reservation-navigation-services.component.js +1 -1
  63. package/seat-reservation/seat-reservation-place-control/seat-reservation-place-control.component.js +1 -1
  64. package/{seat-reservation-area.component-BcmwKJSK.js → seat-reservation-area.component-B8HJ-Or8.js} +16 -16
  65. package/{seat-reservation-graphic.component-C3wc4DKr.js → seat-reservation-graphic.component-Ddpuv-Aw.js} +20 -20
  66. package/{seat-reservation-navigation-coach.component-Cwxd9vLy.js → seat-reservation-navigation-coach.component-DMKlwxPa.js} +45 -45
  67. package/{seat-reservation-navigation-services.component-CfAQa7pa.js → seat-reservation-navigation-services.component-2os7VI7i.js} +21 -21
  68. package/{seat-reservation-place-control.component-CE-FrGMT.js → seat-reservation-place-control.component-CvGYSTnc.js} +38 -38
  69. package/seat-reservation.js +5 -5
  70. package/seat-reservation.pure.js +5 -5
  71. package/timetable-duration/timetable-duration.component.js +1 -1
  72. package/timetable-duration.component-DHuPMaq5.js +61 -0
  73. package/timetable-duration.js +1 -1
  74. package/timetable-duration.pure.js +1 -1
  75. package/timetable-row/timetable-row.component.js +1 -1
  76. package/{timetable-row.component-DawXp2ut.js → timetable-row.component-DMiay4xK.js} +117 -117
  77. package/timetable-row.js +1 -1
  78. package/timetable-row.pure.js +1 -1
  79. package/timetable-duration.component-DPRcG1LP.js +0 -61
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./format-DbUuNYFU.js";
2
2
  import { t } from "./isValid-B9oVW3lA.js";
3
- import { __esDecorate as n, __runInitializers as r } from "tslib";
4
- import { SbbElement as i, SbbLanguageController as a, defaultDateAdapter as o, forceType as s, i18nTripDuration as c, screenReaderOnlyStyles as l } from "@sbb-esta/lyne-elements/core.js";
5
- import { html as u, nothing as d, unsafeCSS as f } from "lit";
3
+ import { SbbElement as n, SbbLanguageController as r, defaultDateAdapter as i, forceType as a, i18nTripDuration as o, screenReaderOnlyStyles as s } from "@sbb-esta/lyne-elements/core.js";
4
+ import { html as c, nothing as l, unsafeCSS as u } from "lit";
5
+ import { __esDecorate as d, __runInitializers as f } from "tslib";
6
6
  import { SbbDividerElement as p } from "@sbb-esta/lyne-elements/divider.pure.js";
7
7
  import { SbbJourneyHeaderElement as m } from "@sbb-esta/lyne-elements/journey-header.pure.js";
8
8
  import { property as h } from "lit/decorators.js";
@@ -10,26 +10,26 @@ import { durationToTime as g, removeTimezoneFromISOTimeString as _ } from "./cor
10
10
  import { SbbPearlChainTimeElement as v } from "./pearl-chain-time.pure.js";
11
11
  //#region src/elements-experimental/journey-summary/journey-summary.scss?inline
12
12
  var y = ":host{display:block}.sbb-journey-summary{--sbb-text-font-size: var(--sbb-text-font-size-s);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size);color:var(--sbb-color-4);display:flex;flex-direction:column}.sbb-journey-summary__via-block{display:flex}.sbb-journey-summary__vias{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-block:0;padding-inline-start:var(--sbb-spacing-fixed-1x)}.sbb-journey-summary__date{margin-block-end:var(--sbb-spacing-fixed-2x)}.sbb-journey-summary__via{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sbb-journey-summary__divider{margin-block:var(--sbb-spacing-fixed-6x)}ul li{list-style:none;display:inline}", b = (() => {
13
- let b = i, x = [], S, C = [], w = [], T, E = [], D = [], O, k = [], A = [], j, M = [], N = [], P, F = [], I = [], L, R = [], z = [], B;
13
+ let b = n, x = [], S, C = [], w = [], T, E = [], D = [], O, k = [], A = [], j, M = [], N = [], P, F = [], I = [], L, R = [], z = [], B;
14
14
  return class extends b {
15
15
  constructor() {
16
- super(...arguments), this.#e = (r(this, x), r(this, C, null)), this.#t = (r(this, w), r(this, E, null)), this.#n = (r(this, D), r(this, k, !1)), this.#r = (r(this, A), r(this, M, "3")), this.#i = (r(this, N), r(this, F, !1)), this.#a = (r(this, I), r(this, R, !1)), this._now = (r(this, z), null), this._hasContentSlot = !1, this._language = new a(this);
16
+ super(...arguments), this.#e = (f(this, x), f(this, C, null)), this.#t = (f(this, w), f(this, E, null)), this.#n = (f(this, D), f(this, k, !1)), this.#r = (f(this, A), f(this, M, "3")), this.#i = (f(this, N), f(this, F, !1)), this.#a = (f(this, I), f(this, R, !1)), this._now = (f(this, z), null), this._hasContentSlot = !1, this._language = new r(this);
17
17
  }
18
18
  static {
19
19
  let e = typeof Symbol == "function" && Symbol.metadata ? Object.create(b[Symbol.metadata] ?? null) : void 0;
20
20
  S = [h({ type: Object })], T = [h({
21
21
  attribute: "trip-back",
22
22
  type: Object
23
- })], O = [s(), h({
23
+ })], O = [a(), h({
24
24
  attribute: "round-trip",
25
25
  type: Boolean
26
- })], j = [h({ attribute: "header-level" })], P = [s(), h({
26
+ })], j = [h({ attribute: "header-level" })], P = [a(), h({
27
27
  attribute: "disable-animation",
28
28
  type: Boolean
29
- })], L = [s(), h({
29
+ })], L = [a(), h({
30
30
  attribute: "a11y-footpath",
31
31
  type: Boolean
32
- })], B = [h()], n(this, null, S, {
32
+ })], B = [h()], d(this, null, S, {
33
33
  kind: "accessor",
34
34
  name: "trip",
35
35
  static: !1,
@@ -42,7 +42,7 @@ var y = ":host{display:block}.sbb-journey-summary{--sbb-text-font-size: var(--sb
42
42
  }
43
43
  },
44
44
  metadata: e
45
- }, C, w), n(this, null, T, {
45
+ }, C, w), d(this, null, T, {
46
46
  kind: "accessor",
47
47
  name: "tripBack",
48
48
  static: !1,
@@ -55,7 +55,7 @@ var y = ":host{display:block}.sbb-journey-summary{--sbb-text-font-size: var(--sb
55
55
  }
56
56
  },
57
57
  metadata: e
58
- }, E, D), n(this, null, O, {
58
+ }, E, D), d(this, null, O, {
59
59
  kind: "accessor",
60
60
  name: "roundTrip",
61
61
  static: !1,
@@ -68,7 +68,7 @@ var y = ":host{display:block}.sbb-journey-summary{--sbb-text-font-size: var(--sb
68
68
  }
69
69
  },
70
70
  metadata: e
71
- }, k, A), n(this, null, j, {
71
+ }, k, A), d(this, null, j, {
72
72
  kind: "accessor",
73
73
  name: "headerLevel",
74
74
  static: !1,
@@ -81,7 +81,7 @@ var y = ":host{display:block}.sbb-journey-summary{--sbb-text-font-size: var(--sb
81
81
  }
82
82
  },
83
83
  metadata: e
84
- }, M, N), n(this, null, P, {
84
+ }, M, N), d(this, null, P, {
85
85
  kind: "accessor",
86
86
  name: "disableAnimation",
87
87
  static: !1,
@@ -94,7 +94,7 @@ var y = ":host{display:block}.sbb-journey-summary{--sbb-text-font-size: var(--sb
94
94
  }
95
95
  },
96
96
  metadata: e
97
- }, F, I), n(this, null, L, {
97
+ }, F, I), d(this, null, L, {
98
98
  kind: "accessor",
99
99
  name: "a11yFootpath",
100
100
  static: !1,
@@ -107,7 +107,7 @@ var y = ":host{display:block}.sbb-journey-summary{--sbb-text-font-size: var(--sb
107
107
  }
108
108
  },
109
109
  metadata: e
110
- }, R, z), n(this, null, B, {
110
+ }, R, z), d(this, null, B, {
111
111
  kind: "setter",
112
112
  name: "now",
113
113
  static: !1,
@@ -137,7 +137,7 @@ var y = ":host{display:block}.sbb-journey-summary{--sbb-text-font-size: var(--sb
137
137
  ];
138
138
  }
139
139
  static {
140
- this.styles = [l, f(y)];
140
+ this.styles = [s, u(y)];
141
141
  }
142
142
  #e;
143
143
  get trip() {
@@ -182,7 +182,7 @@ var y = ":host{display:block}.sbb-journey-summary{--sbb-text-font-size: var(--sb
182
182
  this.#a = e;
183
183
  }
184
184
  set now(e) {
185
- this._now = o.getValidDateOrNull(o.deserialize(e));
185
+ this._now = i.getValidDateOrNull(i.deserialize(e));
186
186
  }
187
187
  get now() {
188
188
  return this._now ?? /* @__PURE__ */ new Date();
@@ -191,26 +191,26 @@ var y = ":host{display:block}.sbb-journey-summary{--sbb-text-font-size: var(--sb
191
191
  super.connectedCallback(), this._hasContentSlot = !!this.querySelector?.("[slot=\"content\"]");
192
192
  }
193
193
  _renderJourneyStart(n, r) {
194
- let i = o, a = r ? g(r, this._language.current) : null;
195
- if (t(n)) return u`
194
+ let a = i, s = r ? g(r, this._language.current) : null;
195
+ if (t(n)) return c`
196
196
  <time datetime=${e(n, "d") + " " + e(n, "M")}>
197
- ${i.format(n).replace(",", ".")}</time
198
- >${r && r > 0 ? u`,<time>
197
+ ${a.format(n).replace(",", ".")}</time
198
+ >${r && r > 0 ? c`,<time>
199
199
  <span class="sbb-screen-reader-only">
200
- ${c[this._language.current]} ${a.long}
200
+ ${o[this._language.current]} ${s.long}
201
201
  </span>
202
- <span aria-hidden="true">${a.short}</span>
203
- </time>` : d}
202
+ <span aria-hidden="true">${s.short}</span>
203
+ </time>` : l}
204
204
  `;
205
205
  }
206
206
  _renderJourneyVias(e) {
207
207
  let t = e.slice(0, 5);
208
- return u`
208
+ return c`
209
209
  <div class="sbb-journey-summary__via-block">
210
210
  <span class="sbb-journey-summary__via-text">Via</span>
211
- <ul class="sbb-journey-summary__vias" role=${e.length <= 1 ? "presentation" : d}>
212
- ${t.map((e, n) => u`<li class="sbb-journey-summary__via">
213
- ${e}${n !== t.length - 1 && n < 4 ? u`<span>,</span>` : d}
211
+ <ul class="sbb-journey-summary__vias" role=${e.length <= 1 ? "presentation" : l}>
212
+ ${t.map((e, n) => c`<li class="sbb-journey-summary__via">
213
+ ${e}${n !== t.length - 1 && n < 4 ? c`<span>,</span>` : l}
214
214
  </li>`)}
215
215
  </ul>
216
216
  </div>
@@ -218,9 +218,9 @@ var y = ":host{display:block}.sbb-journey-summary{--sbb-text-font-size: var(--sb
218
218
  }
219
219
  _renderJourneyInformation(e) {
220
220
  let { vias: t, duration: n, departureWalk: r, departure: i, arrivalWalk: a, arrival: o, legs: s } = e || {};
221
- return u`
221
+ return c`
222
222
  <div>
223
- ${t && t.length > 0 ? this._renderJourneyVias(t) : d}
223
+ ${t && t.length > 0 ? this._renderJourneyVias(t) : l}
224
224
  <div class="sbb-journey-summary__date">
225
225
  ${this._renderJourneyStart(_(i), n)}
226
226
  </div>
@@ -239,23 +239,23 @@ var y = ":host{display:block}.sbb-journey-summary{--sbb-text-font-size: var(--sb
239
239
  }
240
240
  render() {
241
241
  let { origin: e, destination: t } = this.trip || {};
242
- return u`
242
+ return c`
243
243
  <div class="sbb-journey-summary">
244
- ${e ? u`<sbb-journey-header
244
+ ${e ? c`<sbb-journey-header
245
245
  visual-level="4"
246
- .level=${this.headerLevel || d}
246
+ .level=${this.headerLevel || l}
247
247
  .origin=${e}
248
248
  .destination=${t}
249
- .roundTrip=${this.roundTrip ?? d}
250
- ></sbb-journey-header>` : d}
249
+ .roundTrip=${this.roundTrip ?? l}
250
+ ></sbb-journey-header>` : l}
251
251
  ${this._renderJourneyInformation(this.trip)}
252
- ${this.tripBack ? u`<div>
252
+ ${this.tripBack ? c`<div>
253
253
  <sbb-divider class="sbb-journey-summary__divider"></sbb-divider>
254
254
  ${this._renderJourneyInformation(this.tripBack)}
255
- </div>` : d}
256
- ${this._hasContentSlot ? u` <div class="sbb-journey-summary__slot">
255
+ </div>` : l}
256
+ ${this._hasContentSlot ? c` <div class="sbb-journey-summary__slot">
257
257
  <slot name="content"></slot>
258
- </div>` : d}
258
+ </div>` : l}
259
259
  </div>
260
260
  `;
261
261
  }
@@ -1,4 +1,4 @@
1
- import { t as e } from "./journey-summary.component-CkDRawn9.js";
1
+ import { t as e } from "./journey-summary.component-Bbx7WYGU.js";
2
2
  import "./journey-summary.pure.js";
3
3
  //#region src/elements-experimental/journey-summary.ts
4
4
  e.define();
@@ -1,2 +1,2 @@
1
- import { t as e } from "./journey-summary.component-CkDRawn9.js";
1
+ import { t as e } from "./journey-summary.component-Bbx7WYGU.js";
2
2
  export { e as SbbJourneySummaryElement };
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@sbb-esta/lyne-elements-experimental-dev",
3
- "version": "5.0.0-next.3-dev.1779268564",
3
+ "version": "5.0.0-next.3-dev.1779279798",
4
4
  "description": "Lyne Design System",
5
5
  "keywords": [
6
6
  "design system",
7
7
  "web components",
8
8
  "lit",
9
9
  "storybook",
10
- "https://github.com/sbb-design-systems/lyne-components/commit/78a118bb9f2630131a500b4573dd816c52b129ee"
10
+ "https://github.com/sbb-design-systems/lyne-components/commit/e7c793a0127b649a1ba192ca8d65c3c1213c3d6d"
11
11
  ],
12
12
  "type": "module",
13
13
  "exports": {
@@ -1,2 +1,2 @@
1
- import { t as e } from "../pearl-chain.component-C6lcD7Xl.js";
1
+ import { t as e } from "../pearl-chain.component-DYzhEgWG.js";
2
2
  export { e as SbbPearlChainElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../pearl-chain-time.component-D5OCEBJ_.js";
1
+ import { t as e } from "../pearl-chain-time.component-BDkOrxQ3.js";
2
2
  export { e as SbbPearlChainTimeElement };
@@ -1,33 +1,33 @@
1
1
  import { t as e } from "./format-DbUuNYFU.js";
2
- import { __esDecorate as t, __runInitializers as n } from "tslib";
3
- import { SbbElement as r, SbbLanguageController as i, defaultDateAdapter as a, forceType as o, i18nArrival as s, i18nDeparture as c, i18nTransferProcedures as l, screenReaderOnlyStyles as u } from "@sbb-esta/lyne-elements/core.js";
4
- import { SbbIconElement as d } from "@sbb-esta/lyne-elements/icon.pure.js";
5
- import { html as f, nothing as p, unsafeCSS as m } from "lit";
2
+ import { SbbElement as t, SbbLanguageController as n, defaultDateAdapter as r, forceType as i, i18nArrival as a, i18nDeparture as o, i18nTransferProcedures as s, screenReaderOnlyStyles as c } from "@sbb-esta/lyne-elements/core.js";
3
+ import { SbbIconElement as l } from "@sbb-esta/lyne-elements/icon.pure.js";
4
+ import { html as u, nothing as d, unsafeCSS as f } from "lit";
5
+ import { __esDecorate as p, __runInitializers as m } from "tslib";
6
6
  import { property as h } from "lit/decorators.js";
7
7
  import { getDepartureArrivalTimeAttribute as g, isRideLeg as _, removeTimezoneFromISOTimeString as v } from "./core.js";
8
8
  import { SbbPearlChainElement as y } from "./pearl-chain.pure.js";
9
9
  //#region src/elements-experimental/pearl-chain-time/pearl-chain-time.scss?inline
10
10
  var b = ":host{display:block;--sbb-pearl-chain-time-height: auto}@media(min-width:37.5rem){:host{--sbb-pearl-chain-time-height: 1.5625rem}}@media(min-width:64rem){:host{--sbb-pearl-chain-time-height: 1.75rem}}.sbb-pearl-chain__time{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;height:var(--sbb-pearl-chain-time-height)}.sbb-pearl-chain__time-walktime,.sbb-pearl-chain__time-transfer{--sbb-text-font-size: var(--sbb-text-font-size-xxs);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size);display:inline-flex;align-items:center}.sbb-pearl-chain__time-walktime--walk-small-left{transform:translate(-.4375rem);margin-inline-end:calc(var(--sbb-spacing-fixed-2x) - .4375rem)}.sbb-pearl-chain__time-walktime--walk-small-right{margin-inline-start:calc(var(--sbb-spacing-fixed-2x) - .25rem)}.sbb-pearl-chain__time-walktime--wheelchair-small-left{transform:translate(-.375rem);margin-inline-end:calc(var(--sbb-spacing-fixed-2x) - .4375rem)}.sbb-pearl-chain__time-walktime--wheelchair-small-right{margin-inline-start:calc(var(--sbb-spacing-fixed-2x) - .25rem)}.sbb-pearl-chain__time-walktime-prime-symbol{float:right}.sbb-pearl-chain__time-transfer{gap:var(--sbb-spacing-fixed-1x)}.sbb-pearl-chain__time-transfer--sa-ci-departure{margin-inline-end:var(--sbb-spacing-fixed-2x)}.sbb-pearl-chain__time-transfer--sa-ci-arrival{margin-inline-start:calc(var(--sbb-spacing-fixed-2x) - .25rem)}.sbb-pearl-chain__time-chain{flex:1 1 auto;align-self:center;margin-inline:var(--sbb-spacing-fixed-3x)}.sbb-pearl-chain__time-time{--sbb-text-font-size: var(--sbb-text-font-size-s);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size);font-weight:700;color:var(--sbb-color-2)}", x = (() => {
11
- let x = r, S = [], C, w = [], T = [], E, D = [], O = [], k, A = [], j = [], M, N = [], P = [], F, I = [], L = [], R, z = [], B = [], V, H = [], U = [], W;
11
+ let x = t, S = [], C, w = [], T = [], E, D = [], O = [], k, A = [], j = [], M, N = [], P = [], F, I = [], L = [], R, z = [], B = [], V, H = [], U = [], W;
12
12
  return class extends x {
13
13
  constructor() {
14
- super(...arguments), this.#e = (n(this, S), n(this, w, [])), this.#t = (n(this, T), n(this, D, "")), this.#n = (n(this, O), n(this, A, "")), this.#r = (n(this, j), n(this, N, NaN)), this.#i = (n(this, P), n(this, I, NaN)), this.#a = (n(this, L), n(this, z, !1)), this.#o = (n(this, B), n(this, H, !1)), this._now = (n(this, U), null), this._language = new i(this);
14
+ super(...arguments), this.#e = (m(this, S), m(this, w, [])), this.#t = (m(this, T), m(this, D, "")), this.#n = (m(this, O), m(this, A, "")), this.#r = (m(this, j), m(this, N, NaN)), this.#i = (m(this, P), m(this, I, NaN)), this.#a = (m(this, L), m(this, z, !1)), this.#o = (m(this, B), m(this, H, !1)), this._now = (m(this, U), null), this._language = new n(this);
15
15
  }
16
16
  static {
17
17
  let e = typeof Symbol == "function" && Symbol.metadata ? Object.create(x[Symbol.metadata] ?? null) : void 0;
18
- C = [h({ type: Array })], E = [o(), h({ attribute: "departure-time" })], k = [o(), h({ attribute: "arrival-time" })], M = [o(), h({
18
+ C = [h({ type: Array })], E = [i(), h({ attribute: "departure-time" })], k = [i(), h({ attribute: "arrival-time" })], M = [i(), h({
19
19
  attribute: "departure-walk",
20
20
  type: Number
21
- })], F = [o(), h({
21
+ })], F = [i(), h({
22
22
  attribute: "arrival-walk",
23
23
  type: Number
24
- })], R = [o(), h({
24
+ })], R = [i(), h({
25
25
  attribute: "disable-animation",
26
26
  type: Boolean
27
- })], V = [o(), h({
27
+ })], V = [i(), h({
28
28
  attribute: "a11y-footpath",
29
29
  type: Boolean
30
- })], W = [h()], t(this, null, C, {
30
+ })], W = [h()], p(this, null, C, {
31
31
  kind: "accessor",
32
32
  name: "legs",
33
33
  static: !1,
@@ -40,7 +40,7 @@ var b = ":host{display:block;--sbb-pearl-chain-time-height: auto}@media(min-widt
40
40
  }
41
41
  },
42
42
  metadata: e
43
- }, w, T), t(this, null, E, {
43
+ }, w, T), p(this, null, E, {
44
44
  kind: "accessor",
45
45
  name: "departureTime",
46
46
  static: !1,
@@ -53,7 +53,7 @@ var b = ":host{display:block;--sbb-pearl-chain-time-height: auto}@media(min-widt
53
53
  }
54
54
  },
55
55
  metadata: e
56
- }, D, O), t(this, null, k, {
56
+ }, D, O), p(this, null, k, {
57
57
  kind: "accessor",
58
58
  name: "arrivalTime",
59
59
  static: !1,
@@ -66,7 +66,7 @@ var b = ":host{display:block;--sbb-pearl-chain-time-height: auto}@media(min-widt
66
66
  }
67
67
  },
68
68
  metadata: e
69
- }, A, j), t(this, null, M, {
69
+ }, A, j), p(this, null, M, {
70
70
  kind: "accessor",
71
71
  name: "departureWalk",
72
72
  static: !1,
@@ -79,7 +79,7 @@ var b = ":host{display:block;--sbb-pearl-chain-time-height: auto}@media(min-widt
79
79
  }
80
80
  },
81
81
  metadata: e
82
- }, N, P), t(this, null, F, {
82
+ }, N, P), p(this, null, F, {
83
83
  kind: "accessor",
84
84
  name: "arrivalWalk",
85
85
  static: !1,
@@ -92,7 +92,7 @@ var b = ":host{display:block;--sbb-pearl-chain-time-height: auto}@media(min-widt
92
92
  }
93
93
  },
94
94
  metadata: e
95
- }, I, L), t(this, null, R, {
95
+ }, I, L), p(this, null, R, {
96
96
  kind: "accessor",
97
97
  name: "disableAnimation",
98
98
  static: !1,
@@ -105,7 +105,7 @@ var b = ":host{display:block;--sbb-pearl-chain-time-height: auto}@media(min-widt
105
105
  }
106
106
  },
107
107
  metadata: e
108
- }, z, B), t(this, null, V, {
108
+ }, z, B), p(this, null, V, {
109
109
  kind: "accessor",
110
110
  name: "a11yFootpath",
111
111
  static: !1,
@@ -118,7 +118,7 @@ var b = ":host{display:block;--sbb-pearl-chain-time-height: auto}@media(min-widt
118
118
  }
119
119
  },
120
120
  metadata: e
121
- }, H, U), t(this, null, W, {
121
+ }, H, U), p(this, null, W, {
122
122
  kind: "setter",
123
123
  name: "now",
124
124
  static: !1,
@@ -141,10 +141,10 @@ var b = ":host{display:block;--sbb-pearl-chain-time-height: auto}@media(min-widt
141
141
  this.elementName = "sbb-pearl-chain-time";
142
142
  }
143
143
  static {
144
- this.elementDependencies = [d, y];
144
+ this.elementDependencies = [l, y];
145
145
  }
146
146
  static {
147
- this.styles = [u, m(b)];
147
+ this.styles = [c, f(b)];
148
148
  }
149
149
  #e;
150
150
  get legs() {
@@ -196,37 +196,37 @@ var b = ":host{display:block;--sbb-pearl-chain-time-height: auto}@media(min-widt
196
196
  this.#o = e;
197
197
  }
198
198
  set now(e) {
199
- this._now = a.getValidDateOrNull(a.deserialize(e));
199
+ this._now = r.getValidDateOrNull(r.deserialize(e));
200
200
  }
201
201
  get now() {
202
202
  return this._now ?? /* @__PURE__ */ new Date();
203
203
  }
204
204
  render() {
205
- let t = this.departureTime ? v(this.departureTime) : void 0, n = this.arrivalTime ? v(this.arrivalTime) : void 0, { renderDepartureTimeAttribute: r, renderArrivalTimeAttribute: i } = g(this.legs, this.departureWalk || 0, this.arrivalWalk || 0, this._language.current, this.a11yFootpath), a = this.legs?.filter((e) => _(e));
206
- return f`
205
+ let t = this.departureTime ? v(this.departureTime) : void 0, n = this.arrivalTime ? v(this.arrivalTime) : void 0, { renderDepartureTimeAttribute: r, renderArrivalTimeAttribute: i } = g(this.legs, this.departureWalk || 0, this.arrivalWalk || 0, this._language.current, this.a11yFootpath), c = this.legs?.filter((e) => _(e));
206
+ return u`
207
207
  <div class="sbb-pearl-chain__time">
208
208
  ${r()}
209
- ${t ? f`<time class="sbb-pearl-chain__time-time" datetime=${this.departureTime}>
209
+ ${t ? u`<time class="sbb-pearl-chain__time-time" datetime=${this.departureTime}>
210
210
  <span class="sbb-screen-reader-only"
211
- >${c[this._language.current]}:&nbsp;</span
211
+ >${o[this._language.current]}:&nbsp;</span
212
212
  >
213
213
  ${e(t, "HH:mm")}
214
- </time>` : p}
215
- ${a?.length > 1 ? f`<span class="sbb-screen-reader-only" role="paragraph">
216
- ${a?.length - 1} ${l[this._language.current]}
217
- </span>` : p}
214
+ </time>` : d}
215
+ ${c?.length > 1 ? u`<span class="sbb-screen-reader-only" role="paragraph">
216
+ ${c?.length - 1} ${s[this._language.current]}
217
+ </span>` : d}
218
218
  <sbb-pearl-chain
219
219
  class="sbb-pearl-chain__time-chain"
220
220
  .legs=${this.legs}
221
221
  .disableAnimation=${this.disableAnimation}
222
222
  .now=${this.now}
223
223
  ></sbb-pearl-chain>
224
- ${n ? f`<time class="sbb-pearl-chain__time-time" datetime=${this.arrivalTime}>
224
+ ${n ? u`<time class="sbb-pearl-chain__time-time" datetime=${this.arrivalTime}>
225
225
  <span class="sbb-screen-reader-only"
226
- >${s[this._language.current]}:&nbsp;</span
226
+ >${a[this._language.current]}:&nbsp;</span
227
227
  >
228
228
  ${e(n, "HH:mm")}
229
- </time>` : p}
229
+ </time>` : d}
230
230
  ${i()}
231
231
  </div>
232
232
  `;
@@ -1,4 +1,4 @@
1
- import { t as e } from "./pearl-chain-time.component-D5OCEBJ_.js";
1
+ import { t as e } from "./pearl-chain-time.component-BDkOrxQ3.js";
2
2
  import "./pearl-chain-time.pure.js";
3
3
  //#region src/elements-experimental/pearl-chain-time.ts
4
4
  e.define();
@@ -1,2 +1,2 @@
1
- import { t as e } from "./pearl-chain-time.component-D5OCEBJ_.js";
1
+ import { t as e } from "./pearl-chain-time.component-BDkOrxQ3.js";
2
2
  export { e as SbbPearlChainTimeElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../pearl-chain-vertical-item.component-IdquCJMy.js";
1
+ import { t as e } from "../pearl-chain-vertical-item.component-an8iT9Ao.js";
2
2
  export { e as SbbPearlChainVerticalItemElement };
@@ -1,22 +1,22 @@
1
- import { __esDecorate as e, __runInitializers as t } from "tslib";
2
- import { SbbElement as n, forceType as r } from "@sbb-esta/lyne-elements/core.js";
3
- import { html as i, nothing as a, unsafeCSS as o } from "lit";
1
+ import { SbbElement as e, forceType as t } from "@sbb-esta/lyne-elements/core.js";
2
+ import { html as n, nothing as r, unsafeCSS as i } from "lit";
3
+ import { __esDecorate as a, __runInitializers as o } from "tslib";
4
4
  import { property as s } from "lit/decorators.js";
5
5
  import { styleMap as c } from "lit/directives/style-map.js";
6
6
  //#region src/elements-experimental/pearl-chain-vertical-item/pearl-chain-vertical-item.scss?inline
7
7
  var l = ":host{--sbb-pearl-chain-position-color: var(--sbb-color-primary);--sbb-pearl-chain-bullet-size-start-end: .625rem;--sbb-pearl-chain-bullet-size-stop: .5rem;--sbb-pearl-chain-bullet-color: var(--sbb-background-color-3-inverted);--sbb-pearl-chain-bullet-color-past: var(--sbb-color-metal);--sbb-pearl-chain-bullet-color-past: light-dark(var(--sbb-color-metal), var(--sbb-color-granite));--sbb-pearl-chain-bullet-color-irrelevant: var(--sbb-color-metal);--sbb-pearl-chain-bullet-color-irrelevant: light-dark( var(--sbb-color-metal), var(--sbb-color-granite) );--sbb-pearl-chain-bullet-color-disruption: var(--sbb-color-error);--sbb-pearl-chain-bullet-border-width: var(--sbb-border-width-2x);--sbb-pearl-chain-bullet-animation-duration: 1.92s;--sbb-pearl-chain-bullet-animation-easing: ease-out;--sbb-pearl-chain-bullet-crossed-width: .88375rem;--sbb-pearl-chain-bullet-crossed-height: .21875rem;--sbb-pearl-chain-bullet-crossed-border-width: .09375rem;display:table-row;position:relative;--sbb-pearl-chain-vertical-right-item-width: 100%;--sbb-pearl-chain-vertical-middle-item-min-width: var(--sbb-pearl-chain-bullet-size-start-end);--sbb-pearl-chain-vertical-item-border-width: var(--sbb-border-width-2x);--sbb-pearl-chain-vertical-item-border-width-thin: var(--sbb-border-width-1x);--sbb-pearl-chain-vertical-item-spacing-small: var(--sbb-spacing-fixed-1x);--sbb-pearl-chain-vertical-item-color-default: var(--sbb-pearl-chain-bullet-color);--sbb-pearl-chain-vertical-item-color-disruption: var(--sbb-pearl-chain-bullet-color-disruption);--sbb-pearl-chain-vertical-item-color-past: var(--sbb-pearl-chain-bullet-color-past);--sbb-pearl-chain-vertical-item-color-walk: var(--sbb-color-sky);--sbb-pearl-chain-vertical-item-inline-start: 50%;--sbb-pearl-chain-vertical-item-transform: translateX(-50%)}slot[name=right],.sbb-pearl-chain-vertical-item__column{display:table-cell;position:relative;vertical-align:top}slot[name=right]{width:var(--sbb-pearl-chain-vertical-right-item-width)}.sbb-pearl-chain-vertical-item__column--middle{min-width:var(--sbb-pearl-chain-vertical-middle-item-min-width, --sbb-pearl-chain-vertical-middle-min-width)}slot[name=left]::slotted(*){margin-block-start:var(--sbb-pearl-chain-vertical-left-item-block-start);padding-inline-end:var(--sbb-pearl-chain-vertical-left-item-inline-end)}slot[name=right]::slotted(*){margin-block-start:var(--sbb-pearl-chain-vertical-right-item-block-start);padding-inline-start:var(--sbb-pearl-chain-vertical-right-item-inline-start)}.sbb-pearl-chain-vertical-item__middle{vertical-align:top;border-spacing:0}.sbb-pearl-chain-vertical-item__line{position:absolute;bottom:0;inset-inline-start:var(--sbb-pearl-chain-vertical-item-inline-start);transform:var(--sbb-pearl-chain-vertical-item-transform);width:var(--sbb-border-width-2x);inset-block-start:calc(var(--sbb-pearl-chain-bullet-size-start-end) / 2)}.sbb-pearl-chain-vertical-item__line:after{content:\"\";position:absolute;inset-inline-start:0;inset-block-start:0;height:var(--sbb-pearl-chain-vertical-item-leg-status);width:var(--sbb-pearl-chain-vertical-item-border-width);background-color:var(--sbb-pearl-chain-vertical-item-color-past)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__line:after{--sbb-pearl-chain-vertical-item-color-past: GrayText}}.sbb-pearl-chain-vertical-item__line--dotted{background-color:unset;border-color:unset;background-image:linear-gradient(to bottom,currentcolor 0%,currentcolor 50%,Canvas 50%);background-repeat:repeat-y;background-size:calc(2 * var(--sbb-pearl-chain-vertical-item-spacing-small)) var(--sbb-pearl-chain-vertical-item-spacing-small)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__line--dotted{background-color:unset!important;border-inline-start:.0625rem dashed Highlight;transform:translateY(.0625rem)}}.sbb-pearl-chain-vertical-item__line--thin{width:var(--sbb-pearl-chain-vertical-item-border-width-thin)}.sbb-pearl-chain-vertical-item__line--default{background-color:var(--sbb-pearl-chain-vertical-item-color-default);border-color:var(--sbb-pearl-chain-vertical-item-color-default);color:var(--sbb-pearl-chain-vertical-item-color-default)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__line--default{--sbb-pearl-chain-vertical-item-color-default: CanvasText}}.sbb-pearl-chain-vertical-item__line--disruption{border-color:var(--sbb-pearl-chain-vertical-item-color-disruption);background-color:var(--sbb-pearl-chain-vertical-item-color-disruption);color:var(--sbb-pearl-chain-vertical-item-color-disruption)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__line--disruption{--sbb-pearl-chain-vertical-item-color-disruption: Highlight}}.sbb-pearl-chain-vertical-item__line--past{border-color:var(--sbb-pearl-chain-vertical-item-color-past);background-color:var(--sbb-pearl-chain-vertical-item-color-past);color:var(--sbb-pearl-chain-vertical-item-color-past)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__line--past{--sbb-pearl-chain-vertical-item-color-past: GrayText}}.sbb-pearl-chain-vertical-item__line--walk{border-color:var(--sbb-pearl-chain-vertical-item-color-walk);background-color:var(--sbb-pearl-chain-vertical-item-color-walk);color:var(--sbb-pearl-chain-vertical-item-color-walk)}.sbb-pearl-chain-vertical-item__bullet{position:relative;inset-inline-start:var(--sbb-pearl-chain-vertical-item-inline-start);transform:var(--sbb-pearl-chain-vertical-item-transform);background:var(--sbb-pearl-chain-bullet-color);color:var(--sbb-pearl-chain-bullet-color);border-color:var(--sbb-pearl-chain-bullet-color);border-radius:100%}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet{--sbb-pearl-chain-bullet-color: CanvasText}}.sbb-pearl-chain-vertical-item__bullet--start-end{min-height:var(--sbb-pearl-chain-bullet-size-start-end);min-width:var(--sbb-pearl-chain-bullet-size-start-end);height:var(--sbb-pearl-chain-bullet-size-start-end);width:var(--sbb-pearl-chain-bullet-size-start-end)}.sbb-pearl-chain-vertical-item__bullet--stop{min-height:var(--sbb-pearl-chain-bullet-size-stop);min-width:var(--sbb-pearl-chain-bullet-size-stop);height:var(--sbb-pearl-chain-bullet-size-stop);width:var(--sbb-pearl-chain-bullet-size-stop);border:var(--sbb-pearl-chain-bullet-border-width) solid currentcolor;background:Canvas}.sbb-pearl-chain-vertical-item__bullet--disruption{--sbb-pearl-chain-bullet-color: var(--sbb-pearl-chain-bullet-color-disruption)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet--disruption{--sbb-pearl-chain-bullet-color: Highlight}}.sbb-pearl-chain-vertical-item__bullet--irrelevant,.sbb-pearl-chain-vertical-item__bullet--past{--sbb-pearl-chain-bullet-color: var(--sbb-pearl-chain-bullet-color-past)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet--irrelevant,.sbb-pearl-chain-vertical-item__bullet--past{--sbb-pearl-chain-bullet-color: GrayText !important}}.sbb-pearl-chain-vertical-item__bullet--stop.sbb-pearl-chain-vertical-item__bullet--irrelevant{--sbb-pearl-chain-bullet-border-width: var(--sbb-border-width-1x);min-height:var(--sbb-pearl-chain-bullet-size-stop);min-width:var(--sbb-pearl-chain-bullet-size-stop);height:var(--sbb-pearl-chain-bullet-size-stop);width:var(--sbb-pearl-chain-bullet-size-stop);border:var(--sbb-pearl-chain-bullet-border-width) solid currentcolor;background:Canvas}.sbb-pearl-chain-vertical-item__bullet--start-end.sbb-pearl-chain-vertical-item__bullet--skipped{border:var(--sbb-pearl-chain-bullet-border-width) solid currentcolor;background:Canvas}.sbb-pearl-chain-vertical-item__bullet--start-end.sbb-pearl-chain-vertical-item__bullet--skipped:before{content:\"\";position:absolute;inset-block-start:50%;inset-inline-start:50%;transform:translate(-50%,-50%) rotate(45deg);border-block-start:var(--sbb-pearl-chain-bullet-crossed-border-width) solid canvas;background:var(--sbb-pearl-chain-bullet-color-disruption);height:var(--sbb-pearl-chain-bullet-crossed-height);width:var(--sbb-pearl-chain-bullet-crossed-width)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet--start-end.sbb-pearl-chain-vertical-item__bullet--skipped:before{background:Highlight}}.sbb-pearl-chain-vertical-item__bullet--stop.sbb-pearl-chain-vertical-item__bullet--skipped{--sbb-pearl-chain-bullet-crossed-width: .706875rem;--sbb-pearl-chain-bullet-crossed-height: .1875rem;min-height:var(--sbb-pearl-chain-bullet-size-stop);min-width:var(--sbb-pearl-chain-bullet-size-stop);height:var(--sbb-pearl-chain-bullet-size-stop);width:var(--sbb-pearl-chain-bullet-size-stop);border:var(--sbb-pearl-chain-bullet-border-width) solid currentcolor;background:Canvas}.sbb-pearl-chain-vertical-item__bullet--stop.sbb-pearl-chain-vertical-item__bullet--skipped:before{content:\"\";position:absolute;inset-block-start:50%;inset-inline-start:50%;transform:translate(-50%,-50%) rotate(45deg);border-block-start:var(--sbb-pearl-chain-bullet-crossed-border-width) solid canvas;background:var(--sbb-pearl-chain-bullet-color-disruption);height:var(--sbb-pearl-chain-bullet-crossed-height);width:var(--sbb-pearl-chain-bullet-crossed-width)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet--stop.sbb-pearl-chain-vertical-item__bullet--skipped:before{background:Highlight}}.sbb-pearl-chain-vertical-item__bullet--position{inset-block-start:var(--sbb-pearl-chain-vertical-item-position);position:absolute;left:50%;translate:-50% 0;min-height:var(--sbb-pearl-chain-bullet-size-start-end);min-width:var(--sbb-pearl-chain-bullet-size-start-end);height:var(--sbb-pearl-chain-bullet-size-start-end);width:var(--sbb-pearl-chain-bullet-size-start-end);background:var(--sbb-pearl-chain-bullet-color);color:var(--sbb-pearl-chain-bullet-color);border-color:var(--sbb-pearl-chain-bullet-color);border-radius:100%}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet--position{--sbb-pearl-chain-bullet-color: CanvasText}}.sbb-pearl-chain-vertical-item__bullet--position{--sbb-pearl-chain-bullet-color: var(--sbb-pearl-chain-position-color)}@media(forced-colors:active){.sbb-pearl-chain-vertical-item__bullet--position{--sbb-pearl-chain-position-color: Highlight}}@keyframes pearl-chain-bullet-position-pulse{0%{box-shadow:0 0 0 0 var(--sbb-pearl-chain-position-color)}25%{box-shadow:0 0 0 0 var(--sbb-pearl-chain-position-color)}50%{box-shadow:0 0 0 .1875rem color-mix(in srgb,var(--sbb-pearl-chain-position-color) 20%,transparent)}to{box-shadow:0 0 0 0 var(--sbb-pearl-chain-position-color)}}.sbb-pearl-chain-vertical-item__bullet--position{animation:pearl-chain-bullet-position-pulse var(--sbb-pearl-chain-bullet-animation-duration) var(--sbb-pearl-chain-bullet-animation-easing) infinite}:host([disable-animation]) .sbb-pearl-chain-vertical-item__bullet--position{animation:unset!important}", u = (() => {
8
- let u = n, d, f = [], p = [], m, h = [], g = [];
8
+ let u = e, d, f = [], p = [], m, h = [], g = [];
9
9
  return class extends u {
10
10
  static {
11
- let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(u[Symbol.metadata] ?? null) : void 0;
11
+ let e = typeof Symbol == "function" && Symbol.metadata ? Object.create(u[Symbol.metadata] ?? null) : void 0;
12
12
  d = [s({
13
13
  attribute: "pearl-chain-vertical-item-attributes",
14
14
  type: Object
15
- })], m = [r(), s({
15
+ })], m = [t(), s({
16
16
  attribute: "disable-animation",
17
17
  reflect: !0,
18
18
  type: Boolean
19
- })], e(this, null, d, {
19
+ })], a(this, null, d, {
20
20
  kind: "accessor",
21
21
  name: "pearlChainVerticalItemAttributes",
22
22
  static: !1,
@@ -28,8 +28,8 @@ var l = ":host{--sbb-pearl-chain-position-color: var(--sbb-color-primary);--sbb-
28
28
  e.pearlChainVerticalItemAttributes = t;
29
29
  }
30
30
  },
31
- metadata: t
32
- }, f, p), e(this, null, m, {
31
+ metadata: e
32
+ }, f, p), a(this, null, m, {
33
33
  kind: "accessor",
34
34
  name: "disableAnimation",
35
35
  static: !1,
@@ -41,28 +41,28 @@ var l = ":host{--sbb-pearl-chain-position-color: var(--sbb-color-primary);--sbb-
41
41
  e.disableAnimation = t;
42
42
  }
43
43
  },
44
- metadata: t
45
- }, h, g), t && Object.defineProperty(this, Symbol.metadata, {
44
+ metadata: e
45
+ }, h, g), e && Object.defineProperty(this, Symbol.metadata, {
46
46
  enumerable: !0,
47
47
  configurable: !0,
48
48
  writable: !0,
49
- value: t
49
+ value: e
50
50
  });
51
51
  }
52
52
  static {
53
53
  this.elementName = "sbb-pearl-chain-vertical-item";
54
54
  }
55
55
  static {
56
- this.styles = [o(l)];
56
+ this.styles = [i(l)];
57
57
  }
58
- #e = t(this, f, null);
58
+ #e = o(this, f, null);
59
59
  get pearlChainVerticalItemAttributes() {
60
60
  return this.#e;
61
61
  }
62
62
  set pearlChainVerticalItemAttributes(e) {
63
63
  this.#e = e;
64
64
  }
65
- #t = (t(this, p), t(this, h, !1));
65
+ #t = (o(this, p), o(this, h, !1));
66
66
  get disableAnimation() {
67
67
  return this.#t;
68
68
  }
@@ -70,8 +70,8 @@ var l = ":host{--sbb-pearl-chain-position-color: var(--sbb-color-primary);--sbb-
70
70
  this.#t = e;
71
71
  }
72
72
  render() {
73
- let { bulletType: e, lineType: t, lineColor: n, hideLine: r, minHeight: o, bulletSize: s, position: l } = this.pearlChainVerticalItemAttributes || {}, u = l && l > 0 && l <= 100 ? "sbb-pearl-chain-vertical-item__bullet--past" : `sbb-pearl-chain-vertical-item__bullet--${e}`;
74
- return i`
73
+ let { bulletType: e, lineType: t, lineColor: i, hideLine: a, minHeight: o, bulletSize: s, position: l } = this.pearlChainVerticalItemAttributes || {}, u = l && l > 0 && l <= 100 ? "sbb-pearl-chain-vertical-item__bullet--past" : `sbb-pearl-chain-vertical-item__bullet--${e}`;
74
+ return n`
75
75
  <div
76
76
  class="sbb-pearl-chain-vertical-item__column"
77
77
  style=${c({ height: `${o}px` })}
@@ -82,23 +82,23 @@ var l = ":host{--sbb-pearl-chain-position-color: var(--sbb-color-primary);--sbb-
82
82
  aria-hidden="true"
83
83
  class="sbb-pearl-chain-vertical-item__column sbb-pearl-chain-vertical-item__column--middle"
84
84
  >
85
- ${r ? a : i`<div
85
+ ${a ? r : n`<div
86
86
  style=${c({ "--sbb-pearl-chain-vertical-item-leg-status": `${l}%` })}
87
- class="sbb-pearl-chain-vertical-item__line sbb-pearl-chain-vertical-item__line--${t} sbb-pearl-chain-vertical-item__line--${n}"
87
+ class="sbb-pearl-chain-vertical-item__line sbb-pearl-chain-vertical-item__line--${t} sbb-pearl-chain-vertical-item__line--${i}"
88
88
  ></div>`}
89
- ${e ? i`<div
89
+ ${e ? n`<div
90
90
  class="sbb-pearl-chain-vertical-item__bullet sbb-pearl-chain-vertical-item__bullet--${s} ${u}"
91
- ></div>` : a}
92
- ${l && l > 0 ? i`<div
91
+ ></div>` : r}
92
+ ${l && l > 0 ? n`<div
93
93
  style=${c({ "--sbb-pearl-chain-vertical-item-position": `${l}%` })}
94
94
  class="sbb-pearl-chain-vertical-item__bullet--position"
95
- ></div>` : a}
95
+ ></div>` : r}
96
96
  </div>
97
97
  <slot name="right"></slot>
98
98
  `;
99
99
  }
100
100
  constructor() {
101
- super(...arguments), t(this, g);
101
+ super(...arguments), o(this, g);
102
102
  }
103
103
  };
104
104
  })();
@@ -1,4 +1,4 @@
1
- import { t as e } from "./pearl-chain-vertical-item.component-IdquCJMy.js";
1
+ import { t as e } from "./pearl-chain-vertical-item.component-an8iT9Ao.js";
2
2
  import "./pearl-chain-vertical-item.pure.js";
3
3
  //#region src/elements-experimental/pearl-chain-vertical-item.ts
4
4
  e.define();
@@ -1,2 +1,2 @@
1
- import { t as e } from "./pearl-chain-vertical-item.component-IdquCJMy.js";
1
+ import { t as e } from "./pearl-chain-vertical-item.component-an8iT9Ao.js";
2
2
  export { e as SbbPearlChainVerticalItemElement };