@sbb-esta/lyne-elements-dev 5.0.0-next-dev.1776760633 → 5.0.0-next-dev.1776866482

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 (212) hide show
  1. package/{block-link-common-CDrCAdGP.js → block-link-common-CiqQc2Rs.js} +1 -1
  2. package/core/styles/core.scss +11 -0
  3. package/core/styles/mixins/helpers.scss +3 -3
  4. package/core/styles/mixins/panel.scss +5 -1
  5. package/core.css +38 -0
  6. package/custom-elements.json +1630 -1291
  7. package/development/{block-link-common-CwurjMj1.js → block-link-common-B9Vx8CTp.js} +2 -2
  8. package/development/form-field/form-field/form-field.component.js +1 -1
  9. package/development/{form-field.component-BHMh3V6s.js → form-field.component-M0wf8ZR8.js} +2 -2
  10. package/development/form-field.js +1 -1
  11. package/development/form-field.pure.js +1 -1
  12. package/development/link/common/block-link-common.js +1 -1
  13. package/development/link.js +1 -1
  14. package/development/link.pure.js +1 -1
  15. package/development/slider/slider.component.js +1 -1
  16. package/development/{slider.component-ZBdkbZei.js → slider.component-CXrGIpkh.js} +2 -2
  17. package/development/slider.js +1 -1
  18. package/development/slider.pure.js +1 -1
  19. package/development/step-label.component-BTXuaONx.js +126 -0
  20. package/development/stepper/step-label/step-label.component.js +1 -1
  21. package/development/stepper.js +1 -1
  22. package/development/stepper.pure.js +1 -1
  23. package/development/teaser/teaser.component.js +1 -1
  24. package/development/teaser-hero/teaser-hero.component.d.ts.map +1 -1
  25. package/development/teaser-hero/teaser-hero.component.js +1 -1
  26. package/development/teaser-hero.component-De621iKn.js +100 -0
  27. package/development/teaser-hero.js +1 -1
  28. package/development/teaser-hero.pure.js +1 -1
  29. package/development/teaser-panel/teaser-panel.component.d.ts +19 -0
  30. package/development/teaser-panel/teaser-panel.component.d.ts.map +1 -0
  31. package/development/teaser-panel/teaser-panel.component.js +2 -0
  32. package/development/teaser-panel.component-CjSrfJYG.js +32 -0
  33. package/development/teaser-panel.d.ts +2 -0
  34. package/development/teaser-panel.d.ts.map +1 -0
  35. package/development/teaser-panel.js +9 -0
  36. package/development/teaser-panel.pure.d.ts +3 -0
  37. package/development/teaser-panel.pure.d.ts.map +1 -0
  38. package/development/teaser-panel.pure.js +2 -0
  39. package/development/teaser-product/common/teaser-product-common.js +1 -1
  40. package/development/teaser-product/teaser-product/teaser-product.component.js +1 -1
  41. package/development/{teaser-product-common-DhbAGnQN.js → teaser-product-common-DasV_SDa.js} +1 -1
  42. package/development/{teaser-product.component-C3PZbA5W.js → teaser-product.component-CB6fOX7T.js} +1 -1
  43. package/development/teaser-product.js +2 -2
  44. package/development/teaser-product.pure.js +2 -2
  45. package/development/{teaser.component-BJso_6lz.js → teaser.component-DwM26tMt.js} +1 -1
  46. package/development/teaser.js +1 -1
  47. package/development/teaser.pure.js +1 -1
  48. package/development/time-input/time-input.component.js +1 -1
  49. package/development/{time-input.component-BWMBV6fm.js → time-input.component-x-QOtbwE.js} +1 -1
  50. package/development/time-input.js +1 -1
  51. package/development/time-input.pure.js +1 -1
  52. package/development/timetable-form/timetable-form/timetable-form.component.js +1 -1
  53. package/development/timetable-form/timetable-form-details/timetable-form-details.component.js +1 -1
  54. package/development/timetable-form/timetable-form-field/timetable-form-field.component.js +1 -1
  55. package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +1 -1
  56. package/development/{timetable-form-details.component-C8EdT4rZ.js → timetable-form-details.component-B7mwIQoz.js} +1 -1
  57. package/development/{timetable-form-field.component-CoANLGWk.js → timetable-form-field.component-BIpoMaJW.js} +1 -1
  58. package/development/{timetable-form-swap-button.component-_EUhzoww.js → timetable-form-swap-button.component-DM7UFhGh.js} +1 -1
  59. package/development/{timetable-form.component-DLjBbFRv.js → timetable-form.component-BBkeono7.js} +1 -1
  60. package/development/timetable-form.js +4 -4
  61. package/development/timetable-form.pure.js +4 -4
  62. package/development/timetable-occupancy/timetable-occupancy.component.js +1 -1
  63. package/development/timetable-occupancy-icon/timetable-occupancy-icon.component.js +1 -1
  64. package/development/{timetable-occupancy-icon.component-DXFUx67a.js → timetable-occupancy-icon.component-CRayfWIo.js} +1 -1
  65. package/development/timetable-occupancy-icon.js +1 -1
  66. package/development/timetable-occupancy-icon.pure.js +1 -1
  67. package/development/{timetable-occupancy.component-By7X3Sj2.js → timetable-occupancy.component-D6BIvkpY.js} +1 -1
  68. package/development/timetable-occupancy.js +1 -1
  69. package/development/timetable-occupancy.pure.js +1 -1
  70. package/development/title/title-base.js +1 -1
  71. package/development/title/title.component.js +1 -1
  72. package/development/{title-base-Bc3biGfy.js → title-base-CWLTIRh_.js} +1 -1
  73. package/development/{title.component-B7rIqG0N.js → title.component-TCKohHBO.js} +2 -2
  74. package/development/title.js +2 -2
  75. package/development/title.pure.js +2 -2
  76. package/development/toast/toast.component.js +1 -1
  77. package/development/{toast.component-lPPTFudM.js → toast.component-CZL72aVO.js} +1 -1
  78. package/development/toast.js +1 -1
  79. package/development/toast.pure.js +1 -1
  80. package/development/toggle/toggle/toggle.component.js +1 -1
  81. package/development/toggle/toggle-option/toggle-option.component.js +1 -1
  82. package/development/toggle-check/toggle-check.component.js +1 -1
  83. package/development/toggle-check.component-LYr7DJj1.js +156 -0
  84. package/development/toggle-check.js +1 -1
  85. package/development/toggle-check.pure.js +1 -1
  86. package/development/{toggle-option.component-DscH6K3b.js → toggle-option.component-DRAJ11fp.js} +1 -1
  87. package/development/{toggle.component-Dap1d4rK.js → toggle.component-BeHHTgRh.js} +1 -1
  88. package/development/toggle.js +2 -2
  89. package/development/toggle.pure.js +2 -2
  90. package/development/tooltip/tooltip.component.js +1 -1
  91. package/development/{tooltip.component-lvElko6C.js → tooltip.component-BV0yBh9f.js} +1 -1
  92. package/development/tooltip.js +1 -1
  93. package/development/tooltip.pure.js +1 -1
  94. package/development/train/train/train.component.js +1 -1
  95. package/development/train/train-blocked-passage/train-blocked-passage.component.js +1 -1
  96. package/development/train/train-formation/train-formation.component.js +1 -1
  97. package/development/train/train-wagon/train-wagon.component.js +1 -1
  98. package/development/{train-blocked-passage.component-C6XmqBo_.js → train-blocked-passage.component-Bh2dR1gn.js} +1 -1
  99. package/development/{train-formation.component-BoQcwy6n.js → train-formation.component-Dm0t9N_h.js} +1 -1
  100. package/development/{train-wagon.component-zQVbqhIL.js → train-wagon.component-X0XSMLK_.js} +1 -1
  101. package/development/{train.component-D5Z4vgej.js → train.component-BvbNBkZF.js} +1 -1
  102. package/development/train.js +4 -4
  103. package/development/train.pure.js +4 -4
  104. package/development/visual-checkbox/visual-checkbox.component.js +1 -1
  105. package/development/{visual-checkbox.component-jRksxrOu.js → visual-checkbox.component-DJ30EugM.js} +1 -1
  106. package/development/visual-checkbox.js +1 -1
  107. package/development/visual-checkbox.pure.js +1 -1
  108. package/form-field/form-field/form-field.component.js +1 -1
  109. package/{form-field.component-D8qiPCgJ.js → form-field.component-DbV7fMoe.js} +1 -1
  110. package/form-field.js +1 -1
  111. package/form-field.pure.js +1 -1
  112. package/index.d.ts +2 -0
  113. package/index.js +2 -0
  114. package/link/common/block-link-common.js +1 -1
  115. package/link.js +1 -1
  116. package/link.pure.js +1 -1
  117. package/off-brand-theme.css +38 -0
  118. package/package.json +12 -2
  119. package/safety-theme.css +38 -0
  120. package/slider/slider.component.js +1 -1
  121. package/{slider.component-B3V7sjSF.js → slider.component-DfMkuXac.js} +1 -1
  122. package/slider.js +1 -1
  123. package/slider.pure.js +1 -1
  124. package/standard-theme.css +38 -0
  125. package/step-label.component-CbtQ7MvH.js +77 -0
  126. package/stepper/step-label/step-label.component.js +1 -1
  127. package/stepper.js +1 -1
  128. package/stepper.pure.js +1 -1
  129. package/teaser/teaser.component.js +1 -1
  130. package/teaser-hero/teaser-hero.component.js +1 -1
  131. package/teaser-hero.component-BUhWjc2i.js +80 -0
  132. package/teaser-hero.js +1 -1
  133. package/teaser-hero.pure.js +1 -1
  134. package/teaser-panel/teaser-panel.component.js +2 -0
  135. package/teaser-panel.component-C4auDYCc.js +21 -0
  136. package/teaser-panel.js +6 -0
  137. package/teaser-panel.pure.js +2 -0
  138. package/teaser-product/common/teaser-product-common.js +1 -1
  139. package/teaser-product/teaser-product/teaser-product.component.js +1 -1
  140. package/teaser-product.js +2 -2
  141. package/teaser-product.pure.js +2 -2
  142. package/teaser.js +1 -1
  143. package/teaser.pure.js +1 -1
  144. package/time-input/time-input.component.js +1 -1
  145. package/time-input.js +1 -1
  146. package/time-input.pure.js +1 -1
  147. package/timetable-form/timetable-form/timetable-form.component.js +1 -1
  148. package/timetable-form/timetable-form-details/timetable-form-details.component.js +1 -1
  149. package/timetable-form/timetable-form-field/timetable-form-field.component.js +1 -1
  150. package/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +1 -1
  151. package/timetable-form.js +4 -4
  152. package/timetable-form.pure.js +4 -4
  153. package/timetable-occupancy/timetable-occupancy.component.js +1 -1
  154. package/timetable-occupancy-icon/timetable-occupancy-icon.component.js +1 -1
  155. package/timetable-occupancy-icon.js +1 -1
  156. package/timetable-occupancy-icon.pure.js +1 -1
  157. package/timetable-occupancy.js +1 -1
  158. package/timetable-occupancy.pure.js +1 -1
  159. package/title/title-base.js +1 -1
  160. package/title/title.component.js +1 -1
  161. package/{title.component-7zqQqbRJ.js → title.component-CjDkG7gT.js} +1 -1
  162. package/title.js +2 -2
  163. package/title.pure.js +2 -2
  164. package/toast/toast.component.js +1 -1
  165. package/toast.js +1 -1
  166. package/toast.pure.js +1 -1
  167. package/toggle/toggle/toggle.component.js +1 -1
  168. package/toggle/toggle-option/toggle-option.component.js +1 -1
  169. package/toggle-check/toggle-check.component.js +1 -1
  170. package/toggle-check.component-WVQ4NM-R.js +116 -0
  171. package/toggle-check.js +1 -1
  172. package/toggle-check.pure.js +1 -1
  173. package/toggle.js +2 -2
  174. package/toggle.pure.js +2 -2
  175. package/tooltip/tooltip.component.js +1 -1
  176. package/tooltip.js +1 -1
  177. package/tooltip.pure.js +1 -1
  178. package/train/train/train.component.js +1 -1
  179. package/train/train-blocked-passage/train-blocked-passage.component.js +1 -1
  180. package/train/train-formation/train-formation.component.js +1 -1
  181. package/train/train-wagon/train-wagon.component.js +1 -1
  182. package/train.js +4 -4
  183. package/train.pure.js +4 -4
  184. package/visual-checkbox/visual-checkbox.component.js +1 -1
  185. package/visual-checkbox.js +1 -1
  186. package/visual-checkbox.pure.js +1 -1
  187. package/development/step-label.component-B7M9Yqyz.js +0 -126
  188. package/development/teaser-hero.component-7KeR7bPf.js +0 -101
  189. package/development/toggle-check.component-CuODx4cx.js +0 -156
  190. package/step-label.component-BXg13qOD.js +0 -77
  191. package/teaser-hero.component-CLuVP2ba.js +0 -81
  192. package/toggle-check.component-DkOBgRQM.js +0 -116
  193. /package/{teaser-product-common-B8NakRRV.js → teaser-product-common-Kz3ApcVE.js} +0 -0
  194. /package/{teaser-product.component-Dqapk40c.js → teaser-product.component-C7KoSqcP.js} +0 -0
  195. /package/{teaser.component-BaxumXCl.js → teaser.component-Bl_Myx2h.js} +0 -0
  196. /package/{time-input.component-N0DexLd9.js → time-input.component-BVoO7JLV.js} +0 -0
  197. /package/{timetable-form-details.component-CIY5ZAQJ.js → timetable-form-details.component-BQmF3WLu.js} +0 -0
  198. /package/{timetable-form-field.component-LuzgeDdh.js → timetable-form-field.component-DrQuTOJr.js} +0 -0
  199. /package/{timetable-form-swap-button.component-BT36u2L9.js → timetable-form-swap-button.component-C9dU9vDV.js} +0 -0
  200. /package/{timetable-form.component-YNDnJnkX.js → timetable-form.component-AbZF15Tg.js} +0 -0
  201. /package/{timetable-occupancy-icon.component-DPNwMhLs.js → timetable-occupancy-icon.component-B6pF-j0D.js} +0 -0
  202. /package/{timetable-occupancy.component-BbHtiw_F.js → timetable-occupancy.component-CLpJ-rjI.js} +0 -0
  203. /package/{title-base-Cbe4eNS1.js → title-base-HD0z6npS.js} +0 -0
  204. /package/{toast.component-ccBpQmCC.js → toast.component-DzsaWxPV.js} +0 -0
  205. /package/{toggle-option.component-BiyjKQB1.js → toggle-option.component-DeePQ-NW.js} +0 -0
  206. /package/{toggle.component-CVbRdQDM.js → toggle.component-D7X0E_hM.js} +0 -0
  207. /package/{tooltip.component-Do4V1jGd.js → tooltip.component-BCRFxBuV.js} +0 -0
  208. /package/{train-blocked-passage.component-EET0Kobk.js → train-blocked-passage.component-DIh8dbU9.js} +0 -0
  209. /package/{train-formation.component-B8IFJ_7b.js → train-formation.component-DS4EDwPY.js} +0 -0
  210. /package/{train-wagon.component-CLMLEf6I.js → train-wagon.component-CZiVPOaZ.js} +0 -0
  211. /package/{train.component-D_ysGCwu.js → train.component-DuFi_iBX.js} +0 -0
  212. /package/{visual-checkbox.component-CdqoYyEe.js → visual-checkbox.component-BsjmJgcn.js} +0 -0
@@ -1,2 +1,2 @@
1
- import { t as e } from "./teaser-hero.component-CLuVP2ba.js";
1
+ import { t as e } from "./teaser-hero.component-BUhWjc2i.js";
2
2
  export { e as SbbTeaserHeroElement };
@@ -0,0 +1,2 @@
1
+ import { t as e } from "../teaser-panel.component-C4auDYCc.js";
2
+ export { e as SbbTeaserPanelElement };
@@ -0,0 +1,21 @@
1
+ import { unsafeCSS as e } from "lit";
2
+ import { SbbElement as t, boxSizingStyles as n } from "./core.js";
3
+ import { html as r } from "lit/static-html.js";
4
+ //#region src/elements/teaser-panel/teaser-panel.scss?inline
5
+ var i = ":host{--sbb-panel-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-4x) );--_sbb-panel-height: calc(var(--sbb-panel-inner-height) + 2 * var(--sbb-panel-triangle-height));display:block;position:relative;width:100%;height:100%;inset:0;min-height:var(--_sbb-panel-height);font-size:var(--sbb-panel-font-size);font-weight:var(--sbb-panel-font-weight);line-height:var(--sbb-panel-line-height);letter-spacing:var(--sbb-typo-letter-spacing-heading);color:var(--sbb-panel-color);-webkit-hyphens:auto;hyphens:auto}@media(any-hover:hover){:host(:hover){--sbb-panel-background-color: var(--sbb-panel-background-color-hover)}}.sbb-teaser-panel{position:absolute;top:50%;translate:0 -50%;display:flex;flex-direction:column;justify-content:center;gap:var(--sbb-panel-gap);width:var(--sbb-panel-width);height:var(--_sbb-panel-height);padding-block:var(--sbb-panel-triangle-height);padding-inline:var(--sbb-panel-padding-inline);clip-path:polygon(0 0,100% var(--sbb-panel-triangle-height),100% calc(100% - var(--sbb-panel-triangle-height)),0% 100%);background-color:var(--sbb-panel-background-color);transition:background var(--sbb-panel-animation-duration) var(--sbb-panel-animation-easing)}", a = class extends t {
6
+ static {
7
+ this.elementName = "sbb-teaser-panel";
8
+ }
9
+ static {
10
+ this.styles = [n, e(i)];
11
+ }
12
+ render() {
13
+ return r`
14
+ <span class="sbb-teaser-panel">
15
+ <slot></slot>
16
+ </span>
17
+ `;
18
+ }
19
+ };
20
+ //#endregion
21
+ export { a as t };
@@ -0,0 +1,6 @@
1
+ import { t as e } from "./teaser-panel.component-C4auDYCc.js";
2
+ import "./teaser-panel.pure.js";
3
+ //#region src/elements/teaser-panel.ts
4
+ e.define();
5
+ //#endregion
6
+ export { e as SbbTeaserPanelElement };
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./teaser-panel.component-C4auDYCc.js";
2
+ export { e as SbbTeaserPanelElement };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../../teaser-product-common-B8NakRRV.js";
1
+ import { n as e, t } from "../../teaser-product-common-Kz3ApcVE.js";
2
2
  export { t as SbbTeaserProductCommonElementMixin, e as teaserProductCommonStyle };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../teaser-product.component-Dqapk40c.js";
1
+ import { t as e } from "../../teaser-product.component-C7KoSqcP.js";
2
2
  export { e as SbbTeaserProductElement };
package/teaser-product.js CHANGED
@@ -1,6 +1,6 @@
1
- import { n as e, t } from "./teaser-product-common-B8NakRRV.js";
1
+ import { n as e, t } from "./teaser-product-common-Kz3ApcVE.js";
2
2
  import { SbbTeaserProductStaticElement as n } from "./teaser-product/teaser-product-static/teaser-product-static.component.js";
3
- import { t as r } from "./teaser-product.component-Dqapk40c.js";
3
+ import { t as r } from "./teaser-product.component-C7KoSqcP.js";
4
4
  import "./teaser-product.pure.js";
5
5
  r.define(), n.define();
6
6
  //#endregion
@@ -1,4 +1,4 @@
1
- import { n as e, t } from "./teaser-product-common-B8NakRRV.js";
1
+ import { n as e, t } from "./teaser-product-common-Kz3ApcVE.js";
2
2
  import { SbbTeaserProductStaticElement as n } from "./teaser-product/teaser-product-static/teaser-product-static.component.js";
3
- import { t as r } from "./teaser-product.component-Dqapk40c.js";
3
+ import { t as r } from "./teaser-product.component-C7KoSqcP.js";
4
4
  export { t as SbbTeaserProductCommonElementMixin, r as SbbTeaserProductElement, n as SbbTeaserProductStaticElement, e as teaserProductCommonStyle };
package/teaser.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./teaser.component-BaxumXCl.js";
1
+ import { t as e } from "./teaser.component-Bl_Myx2h.js";
2
2
  import "./teaser.pure.js";
3
3
  //#region src/elements/teaser.ts
4
4
  e.define();
package/teaser.pure.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "./teaser.component-BaxumXCl.js";
1
+ import { t as e } from "./teaser.component-Bl_Myx2h.js";
2
2
  export { e as SbbTeaserElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../time-input.component-N0DexLd9.js";
1
+ import { t as e } from "../time-input.component-BVoO7JLV.js";
2
2
  export { e as SbbTimeInputElement };
package/time-input.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./time-input.component-N0DexLd9.js";
1
+ import { t as e } from "./time-input.component-BVoO7JLV.js";
2
2
  import "./time-input.pure.js";
3
3
  //#region src/elements/time-input.ts
4
4
  e.define();
@@ -1,2 +1,2 @@
1
- import { t as e } from "./time-input.component-N0DexLd9.js";
1
+ import { t as e } from "./time-input.component-BVoO7JLV.js";
2
2
  export { e as SbbTimeInputElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../timetable-form.component-YNDnJnkX.js";
1
+ import { t as e } from "../../timetable-form.component-AbZF15Tg.js";
2
2
  export { e as SbbTimetableFormElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../timetable-form-details.component-CIY5ZAQJ.js";
1
+ import { t as e } from "../../timetable-form-details.component-BQmF3WLu.js";
2
2
  export { e as SbbTimetableFormDetailsElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../timetable-form-field.component-LuzgeDdh.js";
1
+ import { t as e } from "../../timetable-form-field.component-DrQuTOJr.js";
2
2
  export { e as SbbTimetableFormFieldElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../timetable-form-swap-button.component-BT36u2L9.js";
1
+ import { t as e } from "../../timetable-form-swap-button.component-C9dU9vDV.js";
2
2
  export { e as SbbTimetableFormSwapButtonElement };
package/timetable-form.js CHANGED
@@ -1,7 +1,7 @@
1
- import { t as e } from "./timetable-form-details.component-CIY5ZAQJ.js";
2
- import { t } from "./timetable-form-field.component-LuzgeDdh.js";
3
- import { t as n } from "./timetable-form-swap-button.component-BT36u2L9.js";
4
- import { t as r } from "./timetable-form.component-YNDnJnkX.js";
1
+ import { t as e } from "./timetable-form-details.component-BQmF3WLu.js";
2
+ import { t } from "./timetable-form-field.component-DrQuTOJr.js";
3
+ import { t as n } from "./timetable-form-swap-button.component-C9dU9vDV.js";
4
+ import { t as r } from "./timetable-form.component-AbZF15Tg.js";
5
5
  import "./timetable-form.pure.js";
6
6
  r.define(), e.define(), t.define(), n.define();
7
7
  //#endregion
@@ -1,5 +1,5 @@
1
- import { t as e } from "./timetable-form-details.component-CIY5ZAQJ.js";
2
- import { t } from "./timetable-form-field.component-LuzgeDdh.js";
3
- import { t as n } from "./timetable-form-swap-button.component-BT36u2L9.js";
4
- import { t as r } from "./timetable-form.component-YNDnJnkX.js";
1
+ import { t as e } from "./timetable-form-details.component-BQmF3WLu.js";
2
+ import { t } from "./timetable-form-field.component-DrQuTOJr.js";
3
+ import { t as n } from "./timetable-form-swap-button.component-C9dU9vDV.js";
4
+ import { t as r } from "./timetable-form.component-AbZF15Tg.js";
5
5
  export { e as SbbTimetableFormDetailsElement, r as SbbTimetableFormElement, t as SbbTimetableFormFieldElement, n as SbbTimetableFormSwapButtonElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../timetable-occupancy.component-BbHtiw_F.js";
1
+ import { t as e } from "../timetable-occupancy.component-CLpJ-rjI.js";
2
2
  export { e as SbbTimetableOccupancyElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../timetable-occupancy-icon.component-DPNwMhLs.js";
1
+ import { t as e } from "../timetable-occupancy-icon.component-B6pF-j0D.js";
2
2
  export { e as SbbTimetableOccupancyIconElement };
@@ -1,4 +1,4 @@
1
- import { t as e } from "./timetable-occupancy-icon.component-DPNwMhLs.js";
1
+ import { t as e } from "./timetable-occupancy-icon.component-B6pF-j0D.js";
2
2
  import "./timetable-occupancy-icon.pure.js";
3
3
  //#region src/elements/timetable-occupancy-icon.ts
4
4
  e.define();
@@ -1,2 +1,2 @@
1
- import { t as e } from "./timetable-occupancy-icon.component-DPNwMhLs.js";
1
+ import { t as e } from "./timetable-occupancy-icon.component-B6pF-j0D.js";
2
2
  export { e as SbbTimetableOccupancyIconElement };
@@ -1,4 +1,4 @@
1
- import { t as e } from "./timetable-occupancy.component-BbHtiw_F.js";
1
+ import { t as e } from "./timetable-occupancy.component-CLpJ-rjI.js";
2
2
  import "./timetable-occupancy.pure.js";
3
3
  //#region src/elements/timetable-occupancy.ts
4
4
  e.define();
@@ -1,2 +1,2 @@
1
- import { t as e } from "./timetable-occupancy.component-BbHtiw_F.js";
1
+ import { t as e } from "./timetable-occupancy.component-CLpJ-rjI.js";
2
2
  export { e as SbbTimetableOccupancyElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../title-base-Cbe4eNS1.js";
1
+ import { t as e } from "../title-base-HD0z6npS.js";
2
2
  export { e as SbbTitleBase };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../title.component-7zqQqbRJ.js";
1
+ import { t as e } from "../title.component-CjDkG7gT.js";
2
2
  export { e as SbbTitleElement };
@@ -1,4 +1,4 @@
1
- import { t as e } from "./title-base-Cbe4eNS1.js";
1
+ import { t as e } from "./title-base-HD0z6npS.js";
2
2
  import { __esDecorate as t, __runInitializers as n } from "tslib";
3
3
  import { unsafeCSS as r } from "lit";
4
4
  import { property as i } from "lit/decorators.js";
package/title.js CHANGED
@@ -1,5 +1,5 @@
1
- import { t as e } from "./title-base-Cbe4eNS1.js";
2
- import { t } from "./title.component-7zqQqbRJ.js";
1
+ import { t as e } from "./title-base-HD0z6npS.js";
2
+ import { t } from "./title.component-CjDkG7gT.js";
3
3
  import "./title.pure.js";
4
4
  //#region src/elements/title.ts
5
5
  t.define();
package/title.pure.js CHANGED
@@ -1,3 +1,3 @@
1
- import { t as e } from "./title-base-Cbe4eNS1.js";
2
- import { t } from "./title.component-7zqQqbRJ.js";
1
+ import { t as e } from "./title-base-HD0z6npS.js";
2
+ import { t } from "./title.component-CjDkG7gT.js";
3
3
  export { e as SbbTitleBase, t as SbbTitleElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../toast.component-ccBpQmCC.js";
1
+ import { t as e } from "../toast.component-DzsaWxPV.js";
2
2
  export { e as SbbToastElement };
package/toast.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./toast.component-ccBpQmCC.js";
1
+ import { t as e } from "./toast.component-DzsaWxPV.js";
2
2
  import "./toast.pure.js";
3
3
  //#region src/elements/toast.ts
4
4
  e.define();
package/toast.pure.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "./toast.component-ccBpQmCC.js";
1
+ import { t as e } from "./toast.component-DzsaWxPV.js";
2
2
  export { e as SbbToastElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../toggle.component-CVbRdQDM.js";
1
+ import { t as e } from "../../toggle.component-D7X0E_hM.js";
2
2
  export { e as SbbToggleElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../toggle-option.component-BiyjKQB1.js";
1
+ import { t as e } from "../../toggle-option.component-DeePQ-NW.js";
2
2
  export { e as SbbToggleOptionElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../toggle-check.component-DkOBgRQM.js";
1
+ import { t as e } from "../toggle-check.component-WVQ4NM-R.js";
2
2
  export { e as SbbToggleCheckElement };
@@ -0,0 +1,116 @@
1
+ import { __esDecorate as e, __runInitializers as t } from "tslib";
2
+ import { html as n, unsafeCSS as r } from "lit";
3
+ import { property as i } from "lit/decorators.js";
4
+ import { SbbElement as a, SbbFormAssociatedCheckboxMixin as o, boxSizingStyles as s, isLean as c } from "./core.js";
5
+ import { SbbIconNameMixin as l } from "./icon.pure.js";
6
+ //#region src/elements/toggle-check/toggle-check.scss?inline
7
+ var u = "@charset \"UTF-8\";:host{--sbb-toggle-check-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-6x) );--_sbb-toggle-check-overall-height: var(--sbb-toggle-check-circle-diameter);--_sbb-toggle-check-width: calc(2 * var(--sbb-toggle-check-height));display:inline-block;outline:none!important}:host([size=xs]){--sbb-toggle-check-font-size: var(--sbb-text-font-size-xs)}:host([size=s]){--sbb-toggle-check-font-size: var(--sbb-text-font-size-s)}:host([size=m]){--sbb-toggle-check-font-size: var(--sbb-text-font-size-m);--_sbb-toggle-check-overall-height: calc(1em * var(--sbb-typo-line-height-text))}:host(:is(:state(checked),[state--checked])){--sbb-toggle-check-background-color: var(--sbb-toggle-check-checked-color);--sbb-toggle-check-circle-background-color: var(--sbb-background-color-1-negative-inverted);--sbb-toggle-check-circle-border-color: var(--sbb-toggle-check-background-color);--_sbb-toggle-check-circle-translate: calc( 100% - 2 * (100% - .5 * var(--_sbb-toggle-check-width)) ) -50%;--_sbb-toggle-check-icon-opacity: 1}@media(forced-colors:active){:host(:is(:state(checked),[state--checked])){--sbb-toggle-check-icon-color: Highlight;--sbb-toggle-check-background-color: Highlight}}:host(:disabled){--sbb-toggle-check-background-color: var(--sbb-background-color-4);--sbb-toggle-check-circle-background-color: var(--sbb-background-color-3);--sbb-toggle-check-circle-border-color: var(--sbb-border-color-5);--sbb-toggle-check-circle-border-style: dashed;--sbb-toggle-check-icon-color: var(--sbb-color-granite);--sbb-toggle-check-icon-color: light-dark(var(--sbb-color-granite), var(--sbb-color-storm));--sbb-toggle-check-cursor: var(--sbb-cursor-default)}@media(forced-colors:active){:host(:disabled){--sbb-toggle-check-icon-color: GrayText;--sbb-toggle-check-background-color: GrayText;--sbb-toggle-check-circle-border-style: solid}}:host([label-position=before]){--_sbb-toggle-check-flex-direction: row}.sbb-toggle-check{position:relative;display:flex;color:var(--sbb-toggle-check-color);-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;cursor:var(--sbb-toggle-check-cursor);border-radius:calc(var(--sbb-toggle-check-border-radius) - var(--sbb-focus-outline-offset))}.sbb-toggle-check:before{content:\"​\";-webkit-user-select:none;user-select:none;width:0;height:0}:host(:focus-visible) .sbb-toggle-check{outline-offset:var(--sbb-focus-outline-offset);outline:var(--sbb-focus-outline-color) var(--sbb-focus-outline-style, solid) var(--sbb-focus-outline-width)}.sbb-toggle-check__container{display:flex;flex-direction:var(--_sbb-toggle-check-flex-direction, row-reverse);gap:var(--sbb-toggle-check-gap);align-items:start;width:100%;font-size:var(--sbb-toggle-check-font-size);letter-spacing:var(--sbb-typo-letter-spacing-text);line-height:var(--sbb-typo-line-height-text)}.sbb-toggle-check__label{flex-grow:1;padding-block-start:calc((var(--sbb-toggle-check-circle-diameter) - var(--sbb-typo-line-height-text) * 1em) / 2)}:host(:not(:is(:state(slotted),[state--slotted]))) .sbb-toggle-check__label{display:none}.sbb-toggle-check__track{display:inline-block;position:relative;min-width:var(--_sbb-toggle-check-width);height:var(--sbb-toggle-check-height);border-radius:var(--sbb-border-radius-infinity);background-color:var(--sbb-toggle-check-background-color);margin-block:calc((var(--_sbb-toggle-check-overall-height) - var(--sbb-toggle-check-height)) / 2)}.sbb-toggle-check__circle{position:absolute;top:50%;translate:0 -50%;width:var(--sbb-toggle-check-circle-diameter);height:var(--sbb-toggle-check-circle-diameter);border:var(--sbb-toggle-check-border-width) var(--sbb-toggle-check-circle-border-style) var(--sbb-toggle-check-circle-border-color);border-radius:50%;background-color:var(--sbb-toggle-check-circle-background-color);color:var(--sbb-toggle-check-icon-color);will-change:translate;translate:var(--_sbb-toggle-check-circle-translate, 0 -50%);transition:translate ease var(--sbb-toggle-check-animation-duration);box-shadow:var(--sbb-toggle-check-shadow)}.sbb-toggle-check__icon{position:absolute;top:50%;left:50%;translate:-50% -50%;width:var(--sbb-size-icon-ui-small);height:var(--sbb-size-icon-ui-small);opacity:var(--_sbb-toggle-check-icon-opacity, 0);transition:opacity ease var(--sbb-toggle-check-animation-duration)}", d = (() => {
8
+ let d = l(o(a)), f, p = [], m = [], h, g = [], _ = [], v, y = [], b = [];
9
+ return class extends d {
10
+ static {
11
+ let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(d[Symbol.metadata] ?? null) : void 0;
12
+ f = [i()], h = [i({ reflect: !0 })], v = [i({
13
+ attribute: "label-position",
14
+ reflect: !0
15
+ })], e(this, null, f, {
16
+ kind: "accessor",
17
+ name: "value",
18
+ static: !1,
19
+ private: !1,
20
+ access: {
21
+ has: (e) => "value" in e,
22
+ get: (e) => e.value,
23
+ set: (e, t) => {
24
+ e.value = t;
25
+ }
26
+ },
27
+ metadata: t
28
+ }, p, m), e(this, null, h, {
29
+ kind: "accessor",
30
+ name: "size",
31
+ static: !1,
32
+ private: !1,
33
+ access: {
34
+ has: (e) => "size" in e,
35
+ get: (e) => e.size,
36
+ set: (e, t) => {
37
+ e.size = t;
38
+ }
39
+ },
40
+ metadata: t
41
+ }, g, _), e(this, null, v, {
42
+ kind: "accessor",
43
+ name: "labelPosition",
44
+ static: !1,
45
+ private: !1,
46
+ access: {
47
+ has: (e) => "labelPosition" in e,
48
+ get: (e) => e.labelPosition,
49
+ set: (e, t) => {
50
+ e.labelPosition = t;
51
+ }
52
+ },
53
+ metadata: t
54
+ }, y, b), t && Object.defineProperty(this, Symbol.metadata, {
55
+ enumerable: !0,
56
+ configurable: !0,
57
+ writable: !0,
58
+ value: t
59
+ });
60
+ }
61
+ static {
62
+ this.elementName = "sbb-toggle-check";
63
+ }
64
+ static {
65
+ this.styles = [s, r(u)];
66
+ }
67
+ #e = t(this, p, null);
68
+ get value() {
69
+ return this.#e;
70
+ }
71
+ set value(e) {
72
+ this.#e = e;
73
+ }
74
+ #t = (t(this, m), t(this, g, c() ? "xs" : "s"));
75
+ get size() {
76
+ return this.#t;
77
+ }
78
+ set size(e) {
79
+ this.#t = e;
80
+ }
81
+ #n = (t(this, _), t(this, y, "after"));
82
+ get labelPosition() {
83
+ return this.#n;
84
+ }
85
+ set labelPosition(e) {
86
+ this.#n = e;
87
+ }
88
+ requestUpdate(e, t, n) {
89
+ super.requestUpdate(e, t, n), e === "checked" && (this.internals.ariaChecked = `${this.checked}`, this.toggleState("checked", this.checked));
90
+ }
91
+ renderIconName() {
92
+ return super.renderIconName() || "tick-small";
93
+ }
94
+ render() {
95
+ return n`
96
+ <span class="sbb-toggle-check">
97
+ <span class="sbb-toggle-check__container">
98
+ <span class="sbb-toggle-check__label">
99
+ <slot></slot>
100
+ </span>
101
+ <span class="sbb-toggle-check__track">
102
+ <span class="sbb-toggle-check__circle">
103
+ <span class="sbb-toggle-check__icon"> ${this.renderIconSlot()} </span>
104
+ </span>
105
+ </span>
106
+ </span>
107
+ </span>
108
+ `;
109
+ }
110
+ constructor() {
111
+ super(...arguments), t(this, b);
112
+ }
113
+ };
114
+ })();
115
+ //#endregion
116
+ export { d as t };
package/toggle-check.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./toggle-check.component-DkOBgRQM.js";
1
+ import { t as e } from "./toggle-check.component-WVQ4NM-R.js";
2
2
  import "./toggle-check.pure.js";
3
3
  //#region src/elements/toggle-check.ts
4
4
  e.define();
@@ -1,2 +1,2 @@
1
- import { t as e } from "./toggle-check.component-DkOBgRQM.js";
1
+ import { t as e } from "./toggle-check.component-WVQ4NM-R.js";
2
2
  export { e as SbbToggleCheckElement };
package/toggle.js CHANGED
@@ -1,5 +1,5 @@
1
- import { t as e } from "./toggle-option.component-BiyjKQB1.js";
2
- import { t } from "./toggle.component-CVbRdQDM.js";
1
+ import { t as e } from "./toggle-option.component-DeePQ-NW.js";
2
+ import { t } from "./toggle.component-D7X0E_hM.js";
3
3
  import "./toggle.pure.js";
4
4
  t.define(), e.define();
5
5
  //#endregion
package/toggle.pure.js CHANGED
@@ -1,3 +1,3 @@
1
- import { t as e } from "./toggle-option.component-BiyjKQB1.js";
2
- import { t } from "./toggle.component-CVbRdQDM.js";
1
+ import { t as e } from "./toggle-option.component-DeePQ-NW.js";
2
+ import { t } from "./toggle.component-D7X0E_hM.js";
3
3
  export { t as SbbToggleElement, e as SbbToggleOptionElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../tooltip.component-Do4V1jGd.js";
1
+ import { t as e } from "../tooltip.component-BCRFxBuV.js";
2
2
  export { e as SbbTooltipElement };
package/tooltip.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./tooltip.component-Do4V1jGd.js";
1
+ import { t as e } from "./tooltip.component-BCRFxBuV.js";
2
2
  import "./tooltip.pure.js";
3
3
  //#region src/elements/tooltip.ts
4
4
  e.define();
package/tooltip.pure.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "./tooltip.component-Do4V1jGd.js";
1
+ import { t as e } from "./tooltip.component-BCRFxBuV.js";
2
2
  export { e as SbbTooltipElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../train.component-D_ysGCwu.js";
1
+ import { t as e } from "../../train.component-DuFi_iBX.js";
2
2
  export { e as SbbTrainElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../train-blocked-passage.component-EET0Kobk.js";
1
+ import { t as e } from "../../train-blocked-passage.component-DIh8dbU9.js";
2
2
  export { e as SbbTrainBlockedPassageElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../train-formation.component-B8IFJ_7b.js";
1
+ import { t as e } from "../../train-formation.component-DS4EDwPY.js";
2
2
  export { e as SbbTrainFormationElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../train-wagon.component-CLMLEf6I.js";
1
+ import { t as e } from "../../train-wagon.component-CZiVPOaZ.js";
2
2
  export { e as SbbTrainWagonElement };
package/train.js CHANGED
@@ -1,7 +1,7 @@
1
- import { t as e } from "./train-blocked-passage.component-EET0Kobk.js";
2
- import { t } from "./train-formation.component-B8IFJ_7b.js";
3
- import { t as n } from "./train-wagon.component-CLMLEf6I.js";
4
- import { t as r } from "./train.component-D_ysGCwu.js";
1
+ import { t as e } from "./train-blocked-passage.component-DIh8dbU9.js";
2
+ import { t } from "./train-formation.component-DS4EDwPY.js";
3
+ import { t as n } from "./train-wagon.component-CZiVPOaZ.js";
4
+ import { t as r } from "./train.component-DuFi_iBX.js";
5
5
  import "./train.pure.js";
6
6
  r.define(), e.define(), t.define(), n.define();
7
7
  //#endregion
package/train.pure.js CHANGED
@@ -1,5 +1,5 @@
1
- import { t as e } from "./train-blocked-passage.component-EET0Kobk.js";
2
- import { t } from "./train-formation.component-B8IFJ_7b.js";
3
- import { t as n } from "./train-wagon.component-CLMLEf6I.js";
4
- import { t as r } from "./train.component-D_ysGCwu.js";
1
+ import { t as e } from "./train-blocked-passage.component-DIh8dbU9.js";
2
+ import { t } from "./train-formation.component-DS4EDwPY.js";
3
+ import { t as n } from "./train-wagon.component-CZiVPOaZ.js";
4
+ import { t as r } from "./train.component-DuFi_iBX.js";
5
5
  export { e as SbbTrainBlockedPassageElement, r as SbbTrainElement, t as SbbTrainFormationElement, n as SbbTrainWagonElement };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../visual-checkbox.component-CdqoYyEe.js";
1
+ import { t as e } from "../visual-checkbox.component-BsjmJgcn.js";
2
2
  export { e as SbbVisualCheckboxElement };
@@ -1,4 +1,4 @@
1
- import { t as e } from "./visual-checkbox.component-CdqoYyEe.js";
1
+ import { t as e } from "./visual-checkbox.component-BsjmJgcn.js";
2
2
  import "./visual-checkbox.pure.js";
3
3
  //#region src/elements/visual-checkbox.ts
4
4
  e.define();
@@ -1,2 +1,2 @@
1
- import { t as e } from "./visual-checkbox.component-CdqoYyEe.js";
1
+ import { t as e } from "./visual-checkbox.component-BsjmJgcn.js";
2
2
  export { e as SbbVisualCheckboxElement };