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

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 (315) hide show
  1. package/autocomplete/autocomplete-base-element.js +1 -1
  2. package/autocomplete/autocomplete.component.js +1 -1
  3. package/{autocomplete-base-element-gPLexIVc.js → autocomplete-base-element-BmiLbRHZ.js} +1 -1
  4. package/autocomplete.js +1 -1
  5. package/autocomplete.pure.js +1 -1
  6. package/{block-link-common-CiqQc2Rs.js → block-link-common-BiM6tnUZ.js} +1 -1
  7. package/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +1 -1
  8. package/{breadcrumb-group.component-Bfm4RZu7.js → breadcrumb-group.component-De3Lu3lx.js} +1 -1
  9. package/breadcrumb.js +1 -1
  10. package/breadcrumb.pure.js +1 -1
  11. package/button/common/button-common.js +1 -1
  12. package/button-common-Cu47yCSS.js +85 -0
  13. package/button.js +1 -1
  14. package/button.pure.js +1 -1
  15. package/calendar/calendar/calendar.component.js +1 -1
  16. package/{calendar.component-ZyfTrKs_.js → calendar.component-nWdtZYqg.js} +1 -1
  17. package/calendar.js +1 -1
  18. package/calendar.pure.js +1 -1
  19. package/card/card-badge/card-badge.component.js +1 -1
  20. package/{card-badge.component-CsEpGTHm.js → card-badge.component-CEqox6TU.js} +1 -1
  21. package/card.js +1 -1
  22. package/card.pure.js +1 -1
  23. package/checkbox/checkbox.component.js +1 -1
  24. package/checkbox/common/checkbox-common.js +1 -1
  25. package/{checkbox-common-Bo4u1RXX.js → checkbox-common-DSmxKbmR.js} +1 -1
  26. package/{checkbox.component-vjqZh2aC.js → checkbox.component-CR2aIgjA.js} +1 -1
  27. package/checkbox.js +2 -2
  28. package/checkbox.pure.js +2 -2
  29. package/chip/chip-group/chip-group.component.js +1 -1
  30. package/{chip-group.component-DPzfaV_H.js → chip-group.component-DbNctvjy.js} +1 -1
  31. package/chip.js +1 -1
  32. package/chip.pure.js +1 -1
  33. package/{compact-paginator.component-DEEhXiMm.js → compact-paginator.component-Dyu9bezr.js} +1 -1
  34. package/core/styles/core.scss +17 -73
  35. package/core/styles/mixins/typo.scss +2 -2
  36. package/core.css +67 -65
  37. package/custom-elements.json +3179 -3179
  38. package/development/autocomplete/autocomplete-base-element.js +1 -1
  39. package/development/autocomplete/autocomplete.component.js +1 -1
  40. package/development/autocomplete-base-element-BC3IUhrb.js +686 -0
  41. package/development/autocomplete.js +1 -1
  42. package/development/autocomplete.pure.js +1 -1
  43. package/development/{block-link-common-B9Vx8CTp.js → block-link-common-qMULXu4g.js} +2 -2
  44. package/development/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +1 -1
  45. package/development/breadcrumb-group.component-BC1mWiQE.js +193 -0
  46. package/development/breadcrumb.js +1 -1
  47. package/development/breadcrumb.pure.js +1 -1
  48. package/development/button/common/button-common.js +1 -1
  49. package/development/{button-common-jaQVRdwS.js → button-common-ChY47M8t.js} +3 -3
  50. package/development/button.js +1 -1
  51. package/development/button.pure.js +1 -1
  52. package/development/calendar/calendar/calendar.component.js +1 -1
  53. package/development/calendar.component-B5dz7mau.js +1451 -0
  54. package/development/calendar.js +1 -1
  55. package/development/calendar.pure.js +1 -1
  56. package/development/card/card-badge/card-badge.component.js +1 -1
  57. package/development/card-badge.component-CQBLpmpo.js +83 -0
  58. package/development/card.js +1 -1
  59. package/development/card.pure.js +1 -1
  60. package/development/checkbox/checkbox.component.js +1 -1
  61. package/development/checkbox/common/checkbox-common.js +1 -1
  62. package/development/checkbox-common-DOoEKgML.js +84 -0
  63. package/development/{checkbox.component-DgrfkdyZ.js → checkbox.component-DZjhQhbB.js} +2 -2
  64. package/development/checkbox.js +2 -2
  65. package/development/checkbox.pure.js +2 -2
  66. package/development/chip/chip-group/chip-group.component.js +1 -1
  67. package/development/chip-group.component-B4Mjcep2.js +402 -0
  68. package/development/chip.js +1 -1
  69. package/development/chip.pure.js +1 -1
  70. package/development/compact-paginator.component-CRojCci5.js +51 -0
  71. package/development/error.component-TvgLhaZh.js +53 -0
  72. package/development/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +1 -1
  73. package/development/expansion-panel-header.component-Ok8Qmq5K.js +82 -0
  74. package/development/expansion-panel.js +1 -1
  75. package/development/expansion-panel.pure.js +1 -1
  76. package/development/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +1 -1
  77. package/development/{file-selector-dropzone.component-dyv_u-Ga.js → file-selector-dropzone.component-B1Y5qOjb.js} +2 -2
  78. package/development/file-selector.js +1 -1
  79. package/development/file-selector.pure.js +1 -1
  80. package/development/footer/footer.component.js +1 -1
  81. package/development/footer.component-kFeZqO-Q.js +169 -0
  82. package/development/footer.js +1 -1
  83. package/development/footer.pure.js +1 -1
  84. package/development/form-field/error/error.component.js +1 -1
  85. package/development/form-field/form-field/form-field.component.js +1 -1
  86. package/development/form-field/hint/hint.component.js +1 -1
  87. package/development/form-field.component-CdTnOAi2.js +703 -0
  88. package/development/form-field.js +3 -3
  89. package/development/form-field.pure.js +3 -3
  90. package/development/header/header/header.component.js +1 -1
  91. package/development/header.component-BmZkCs9m.js +335 -0
  92. package/development/header.js +1 -1
  93. package/development/header.pure.js +1 -1
  94. package/development/hint.component-D5rTFJ-O.js +36 -0
  95. package/development/link/common/block-link-common.js +1 -1
  96. package/development/link.js +1 -1
  97. package/development/link.pure.js +1 -1
  98. package/development/message/message.component.js +1 -1
  99. package/development/message.component-Dzah9lXK.js +43 -0
  100. package/development/message.js +1 -1
  101. package/development/message.pure.js +1 -1
  102. package/development/navigation/common/navigation-action-common.js +1 -1
  103. package/development/navigation/navigation-marker/navigation-marker.component.js +1 -1
  104. package/development/navigation/navigation-section/navigation-section.component.js +1 -1
  105. package/development/{navigation-action-common-ZBiv0Xiw.js → navigation-action-common-B2soWZWW.js} +2 -2
  106. package/development/{navigation-marker.component-BsfPR_uk.js → navigation-marker.component-BRdbbjF5.js} +2 -2
  107. package/development/{navigation-section.component-BSvxMUxM.js → navigation-section.component-VwCJlOfE.js} +2 -2
  108. package/development/navigation.js +3 -3
  109. package/development/navigation.pure.js +3 -3
  110. package/development/notification/notification.component.js +1 -1
  111. package/development/notification.component-BgF5aGrn.js +271 -0
  112. package/development/notification.js +1 -1
  113. package/development/notification.pure.js +1 -1
  114. package/development/paginator/compact-paginator/compact-paginator.component.js +1 -1
  115. package/development/paginator/paginator/paginator.component.js +1 -1
  116. package/development/paginator.component-BlyTYIs0.js +261 -0
  117. package/development/paginator.js +2 -2
  118. package/development/paginator.pure.js +2 -2
  119. package/development/radio-button/common/radio-button-common.js +1 -1
  120. package/development/radio-button/radio-button.component.js +1 -1
  121. package/development/radio-button-common-ZMs5IFm2.js +125 -0
  122. package/development/{radio-button.component-DAgH41z0.js → radio-button.component-DggZ7RZD.js} +2 -2
  123. package/development/radio-button.js +2 -2
  124. package/development/radio-button.pure.js +2 -2
  125. package/development/select/select.component.js +1 -1
  126. package/development/select.component-CZI19HAK.js +804 -0
  127. package/development/select.js +1 -1
  128. package/development/select.pure.js +1 -1
  129. package/development/status/status.component.js +1 -1
  130. package/development/status.component-BtJ8ri61.js +110 -0
  131. package/development/status.js +1 -1
  132. package/development/status.pure.js +1 -1
  133. package/development/step-label.component-Dfx9rLcN.js +126 -0
  134. package/development/stepper/step-label/step-label.component.js +1 -1
  135. package/development/stepper.js +1 -1
  136. package/development/stepper.pure.js +1 -1
  137. package/development/styles-WppEBrlW.js +14 -0
  138. package/development/{tab-label.component-Du1W0dxN.js → tab-label.component-Ggx6qaIk.js} +2 -2
  139. package/development/tabs/common/styles.js +1 -1
  140. package/development/tabs/tab-label/tab-label.component.js +1 -1
  141. package/development/tabs.js +2 -2
  142. package/development/tabs.pure.js +2 -2
  143. package/development/tag/tag/tag.component.js +1 -1
  144. package/development/tag.component-Davxisfj.js +241 -0
  145. package/development/tag.js +1 -1
  146. package/development/tag.pure.js +1 -1
  147. package/development/teaser-hero/teaser-hero.component.js +1 -1
  148. package/development/teaser-hero.component-bp9IsVmY.js +100 -0
  149. package/development/teaser-hero.js +1 -1
  150. package/development/teaser-hero.pure.js +1 -1
  151. package/development/timetable-occupancy/timetable-occupancy.component.js +1 -1
  152. package/development/{timetable-occupancy.component-D6BIvkpY.js → timetable-occupancy.component-B-uVA9KC.js} +2 -2
  153. package/development/timetable-occupancy.js +1 -1
  154. package/development/timetable-occupancy.pure.js +1 -1
  155. package/development/title/title-base.js +1 -1
  156. package/development/title/title.component.js +1 -1
  157. package/development/{title-base-CWLTIRh_.js → title-base-DKVyL7TQ.js} +2 -2
  158. package/development/{title.component-TCKohHBO.js → title.component-BEEzA9cF.js} +2 -2
  159. package/development/title.js +2 -2
  160. package/development/title.pure.js +2 -2
  161. package/development/toast/toast.component.js +1 -1
  162. package/development/{toast.component-CZL72aVO.js → toast.component-1YR4wmm9.js} +2 -2
  163. package/development/toast.js +1 -1
  164. package/development/toast.pure.js +1 -1
  165. package/development/toggle/toggle/toggle.component.js +1 -1
  166. package/development/toggle.component-CQYpVyvs.js +244 -0
  167. package/development/toggle.js +1 -1
  168. package/development/toggle.pure.js +1 -1
  169. package/development/tooltip/tooltip.component.js +1 -1
  170. package/development/tooltip.component-Br7aDPFn.js +369 -0
  171. package/development/tooltip.js +1 -1
  172. package/development/tooltip.pure.js +1 -1
  173. package/development/train/train-wagon/train-wagon.component.js +1 -1
  174. package/development/{train-wagon.component-X0XSMLK_.js → train-wagon.component-B6V4dPKn.js} +2 -2
  175. package/development/train.js +1 -1
  176. package/development/train.pure.js +1 -1
  177. package/{error.component-BLChP2fE.js → error.component-D3JgDJfN.js} +1 -1
  178. package/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +1 -1
  179. package/{expansion-panel-header.component-DdRIlyms.js → expansion-panel-header.component-DYvq-uUi.js} +1 -1
  180. package/expansion-panel.js +1 -1
  181. package/expansion-panel.pure.js +1 -1
  182. package/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +1 -1
  183. package/{file-selector-dropzone.component-Bz3Wpl0X.js → file-selector-dropzone.component-BSF-kegh.js} +1 -1
  184. package/file-selector.js +1 -1
  185. package/file-selector.pure.js +1 -1
  186. package/footer/footer.component.js +1 -1
  187. package/{footer.component-Don15vOd.js → footer.component-CdTEaV6u.js} +1 -1
  188. package/footer.js +1 -1
  189. package/footer.pure.js +1 -1
  190. package/form-field/error/error.component.js +1 -1
  191. package/form-field/form-field/form-field.component.js +1 -1
  192. package/form-field/hint/hint.component.js +1 -1
  193. package/{form-field.component-DbV7fMoe.js → form-field.component-Dtzbp6-e.js} +1 -1
  194. package/form-field.js +3 -3
  195. package/form-field.pure.js +3 -3
  196. package/header/header/header.component.js +1 -1
  197. package/{header.component-D-WVEMFn.js → header.component-DoAFSXgO.js} +1 -1
  198. package/header.js +1 -1
  199. package/header.pure.js +1 -1
  200. package/{hint.component-CaF6CBCN.js → hint.component-BB_h0G6v.js} +1 -1
  201. package/link/common/block-link-common.js +1 -1
  202. package/link.js +1 -1
  203. package/link.pure.js +1 -1
  204. package/message/message.component.js +1 -1
  205. package/message.component-CF-_MD7m.js +26 -0
  206. package/message.js +1 -1
  207. package/message.pure.js +1 -1
  208. package/navigation/common/navigation-action-common.js +1 -1
  209. package/navigation/navigation-marker/navigation-marker.component.js +1 -1
  210. package/navigation/navigation-section/navigation-section.component.js +1 -1
  211. package/{navigation-action-common-Dm47M2BG.js → navigation-action-common-D2vwX-oy.js} +1 -1
  212. package/{navigation-marker.component-1VHe19c9.js → navigation-marker.component-BQzC4gn_.js} +1 -1
  213. package/{navigation-section.component-DrnbQAZX.js → navigation-section.component-CR-FanCa.js} +1 -1
  214. package/navigation.js +3 -3
  215. package/navigation.pure.js +3 -3
  216. package/notification/notification.component.js +1 -1
  217. package/{notification.component-IsSZe3Ul.js → notification.component-D9oxjMJs.js} +1 -1
  218. package/notification.js +1 -1
  219. package/notification.pure.js +1 -1
  220. package/off-brand-theme.css +67 -65
  221. package/package.json +2 -2
  222. package/paginator/compact-paginator/compact-paginator.component.js +1 -1
  223. package/paginator/paginator/paginator.component.js +1 -1
  224. package/{paginator.component-BkECB-iV.js → paginator.component-DA_wUypF.js} +1 -1
  225. package/paginator.js +2 -2
  226. package/paginator.pure.js +2 -2
  227. package/radio-button/common/radio-button-common.js +1 -1
  228. package/radio-button/radio-button.component.js +1 -1
  229. package/{radio-button-common-CQyKqDLJ.js → radio-button-common-iNYco_B8.js} +1 -1
  230. package/{radio-button.component-Cenb6FL5.js → radio-button.component-v5czJYC3.js} +1 -1
  231. package/radio-button.js +2 -2
  232. package/radio-button.pure.js +2 -2
  233. package/safety-theme.css +67 -65
  234. package/select/select.component.js +1 -1
  235. package/{select.component-BcDZm7EM.js → select.component-CCFfP21g.js} +1 -1
  236. package/select.js +1 -1
  237. package/select.pure.js +1 -1
  238. package/standard-theme.css +67 -65
  239. package/status/status.component.js +1 -1
  240. package/{status.component-CgMvY4Pe.js → status.component-5SKEusnj.js} +1 -1
  241. package/status.js +1 -1
  242. package/status.pure.js +1 -1
  243. package/step-label.component-DM7lQw8b.js +77 -0
  244. package/stepper/step-label/step-label.component.js +1 -1
  245. package/stepper.js +1 -1
  246. package/stepper.pure.js +1 -1
  247. package/styles-DisU4TWi.js +5 -0
  248. package/{tab-label.component-CH24fqmB.js → tab-label.component-JjktN30A.js} +1 -1
  249. package/tabs/common/styles.js +1 -1
  250. package/tabs/tab-label/tab-label.component.js +1 -1
  251. package/tabs.js +2 -2
  252. package/tabs.pure.js +2 -2
  253. package/tag/tag/tag.component.js +1 -1
  254. package/{tag.component-B7YExnbA.js → tag.component-BGYVbfUx.js} +1 -1
  255. package/tag.js +1 -1
  256. package/tag.pure.js +1 -1
  257. package/teaser-hero/teaser-hero.component.js +1 -1
  258. package/{teaser-hero.component-BUhWjc2i.js → teaser-hero.component-By1HInfz.js} +1 -1
  259. package/teaser-hero.js +1 -1
  260. package/teaser-hero.pure.js +1 -1
  261. package/timetable-occupancy/timetable-occupancy.component.js +1 -1
  262. package/{timetable-occupancy.component-CLpJ-rjI.js → timetable-occupancy.component-Dq9RM6qS.js} +1 -1
  263. package/timetable-occupancy.js +1 -1
  264. package/timetable-occupancy.pure.js +1 -1
  265. package/title/title-base.js +1 -1
  266. package/title/title.component.js +1 -1
  267. package/{title-base-HD0z6npS.js → title-base-B43-Q_7r.js} +1 -1
  268. package/{title.component-CjDkG7gT.js → title.component-DXJHJ6p6.js} +1 -1
  269. package/title.js +2 -2
  270. package/title.pure.js +2 -2
  271. package/toast/toast.component.js +1 -1
  272. package/{toast.component-DzsaWxPV.js → toast.component-D53COYeM.js} +1 -1
  273. package/toast.js +1 -1
  274. package/toast.pure.js +1 -1
  275. package/toggle/toggle/toggle.component.js +1 -1
  276. package/{toggle.component-D7X0E_hM.js → toggle.component-BGgAnHau.js} +1 -1
  277. package/toggle.js +1 -1
  278. package/toggle.pure.js +1 -1
  279. package/tooltip/tooltip.component.js +1 -1
  280. package/{tooltip.component-BCRFxBuV.js → tooltip.component-Bp-8vRoA.js} +1 -1
  281. package/tooltip.js +1 -1
  282. package/tooltip.pure.js +1 -1
  283. package/train/train-wagon/train-wagon.component.js +1 -1
  284. package/{train-wagon.component-CZiVPOaZ.js → train-wagon.component-LwKwwuta.js} +1 -1
  285. package/train.js +1 -1
  286. package/train.pure.js +1 -1
  287. package/button-common-C3wYY-UK.js +0 -85
  288. package/development/autocomplete-base-element-8hV4-ys6.js +0 -686
  289. package/development/breadcrumb-group.component-DP9X9qV1.js +0 -193
  290. package/development/calendar.component-C2WJuFrr.js +0 -1451
  291. package/development/card-badge.component-Be4gXazr.js +0 -83
  292. package/development/checkbox-common-DpE48IrV.js +0 -84
  293. package/development/chip-group.component-CxM8l839.js +0 -402
  294. package/development/compact-paginator.component-DiMeNNTc.js +0 -51
  295. package/development/error.component-C8JQQqSB.js +0 -53
  296. package/development/expansion-panel-header.component-CWojFAB-.js +0 -82
  297. package/development/footer.component-Dbc5xFqr.js +0 -169
  298. package/development/form-field.component-M0wf8ZR8.js +0 -703
  299. package/development/header.component-B2T2pmHs.js +0 -335
  300. package/development/hint.component-hKw1TLvO.js +0 -36
  301. package/development/message.component-CrXtMprr.js +0 -43
  302. package/development/notification.component-CKyNdgbx.js +0 -271
  303. package/development/paginator.component-Cqm7MuRD.js +0 -261
  304. package/development/radio-button-common-u7NYOI2p.js +0 -125
  305. package/development/select.component-Ibby7Q-L.js +0 -804
  306. package/development/status.component-p-egQ_U4.js +0 -110
  307. package/development/step-label.component-BTXuaONx.js +0 -126
  308. package/development/styles-D_8dMc_0.js +0 -14
  309. package/development/tag.component-CWL9jJTW.js +0 -241
  310. package/development/teaser-hero.component-De621iKn.js +0 -100
  311. package/development/toggle.component-BeHHTgRh.js +0 -244
  312. package/development/tooltip.component-BV0yBh9f.js +0 -369
  313. package/message.component-DgTPvDym.js +0 -26
  314. package/step-label.component-CbtQ7MvH.js +0 -77
  315. package/styles-DMLyYaea.js +0 -5
@@ -212,6 +212,9 @@ $theme: 'standard' !default;
212
212
  @use '../../signet/signet.global' as signet with (
213
213
  $theme: $theme
214
214
  );
215
+ @use '../../select/select.global' as select with (
216
+ $theme: $theme
217
+ );
215
218
  @use '../../slider/slider.global' as slider with (
216
219
  $theme: $theme
217
220
  );
@@ -239,6 +242,9 @@ $theme: 'standard' !default;
239
242
  @use '../../teaser/teaser.global' as teaser with (
240
243
  $theme: $theme
241
244
  );
245
+ @use '../../teaser-hero/teaser-hero.global' as teaser-hero with (
246
+ $theme: $theme
247
+ );
242
248
  @use '../../teaser-panel/teaser-panel.global' as teaser-panel with (
243
249
  $theme: $theme
244
250
  );
@@ -259,6 +265,9 @@ $theme: 'standard' !default;
259
265
  @use '../../timetable-occupancy/timetable-occupancy.global' as timetable-occupancy with (
260
266
  $theme: $theme
261
267
  );
268
+ @use '../../time-input/time-input.global' as time-input with (
269
+ $theme: $theme
270
+ );
262
271
  @use '../../toggle-check/toggle-check.global' as toggle-check with (
263
272
  $theme: $theme
264
273
  );
@@ -342,6 +351,7 @@ $theme: 'standard' !default;
342
351
  @include selection-expansion-panel.base;
343
352
  @include sidebar.base;
344
353
  @include signet.base;
354
+ @include select.base;
345
355
  @include slider.base;
346
356
  @include status.base;
347
357
  @include step-label.base;
@@ -350,12 +360,14 @@ $theme: 'standard' !default;
350
360
  @include tab-label-common.base;
351
361
  @include tag.base;
352
362
  @include teaser.base;
363
+ @include teaser-hero.base;
353
364
  @include teaser-panel.base;
354
365
  @include teaser-product-common.base;
355
366
  @include timetable-form.base;
356
367
  @include timetable-form-details.base;
357
368
  @include timetable-form-field.base;
358
369
  @include timetable-occupancy.base;
370
+ @include time-input.base;
359
371
  @include toggle-check.base;
360
372
  @include toggle.base;
361
373
  @include toggle-option.base;
@@ -388,9 +400,6 @@ $theme: 'standard' !default;
388
400
  --sbb-train-formation-wagon-height: #{functions.px-to-rem-build(40)};
389
401
  --sbb-train-formation-wagon-gap: var(--sbb-spacing-fixed-1x);
390
402
 
391
- // Time Input
392
- --sbb-time-input-max-width: #{functions.px-to-rem-build(58)};
393
-
394
403
  // Overlay
395
404
  --sbb-overlay-default-z-index: 1000;
396
405
 
@@ -399,8 +408,7 @@ $theme: 'standard' !default;
399
408
  --sbb-cursor-pointer: pointer;
400
409
 
401
410
  // Infinity border radius, can be used to achieve rounded border on start and end
402
- // TODO: Check if infinity is supported by all browsers (e.g. Firefox) -> calc(1em * infinity);
403
- --sbb-border-radius-infinity: 100000em;
411
+ --sbb-border-radius-infinity: calc(infinity * 1px);
404
412
 
405
413
  // TODO: Remove complete block when new lean theme is complete
406
414
  // TODO: Also remove all occurrences of the variables in lyne-components (e.g. --sbb-title-font-size-level-1-lean)
@@ -447,7 +455,6 @@ $theme: 'standard' !default;
447
455
  @include sbb-css-tokens.breakpoint-large;
448
456
 
449
457
  @include button.base-breakpoint-large;
450
-
451
458
  @include chip-group.base-breakpoint-large;
452
459
  @include dialog.base-breakpoint-large;
453
460
  @include flip-card.base-breakpoint-large;
@@ -456,6 +463,7 @@ $theme: 'standard' !default;
456
463
  @include menu.base-breakpoint-large;
457
464
  @include teaser-panel.base-breakpoint-large;
458
465
  @include teaser-product-common.base-breakpoint-large;
466
+ @include time-input.base-breakpoint-large;
459
467
 
460
468
  // TODO: Remove complete block when new lean theme is complete
461
469
  // Only render the block in standard theme as fallback for CSS class usage
@@ -464,9 +472,6 @@ $theme: 'standard' !default;
464
472
  --sbb-title-font-size-level-6-lean: var(--sbb-typo-scale-0-875x);
465
473
  }
466
474
  }
467
-
468
- // Time Input
469
- --sbb-time-input-max-width: #{functions.px-to-rem-build(65)};
470
475
  }
471
476
 
472
477
  @include mediaqueries.mq($from: ultra) {
@@ -493,10 +498,13 @@ $theme: 'standard' !default;
493
498
  @include lead-container.rules;
494
499
  @include message.rules;
495
500
  @include option.rules;
501
+ @include select.rules;
496
502
  @include sidebar.rules;
497
503
  @include sidebar-close-button.rules;
498
504
  @include sidebar-container.rules;
499
505
  @include tab-nav-bar.rules;
506
+ @include teaser.rules;
507
+ @include teaser-hero.rules;
500
508
  @include teaser-product-common.rules;
501
509
  @include toggle.rules;
502
510
 
@@ -566,22 +574,6 @@ html {
566
574
  pointer-events: all;
567
575
  }
568
576
 
569
- // Helper class for the application name and version in sbb-header.
570
- .sbb-header-info {
571
- @include typo.text-xs--regular;
572
-
573
- display: flex;
574
- padding-inline: var(--sbb-spacing-fixed-4x);
575
- gap: var(--sbb-spacing-fixed-1x);
576
- align-items: baseline;
577
- color: var(--sbb-color-1);
578
-
579
- strong + * {
580
- font-size: var(--sbb-text-font-size-xxs);
581
- color: light-dark(var(--sbb-color-granite), var(--sbb-color-smoke));
582
- }
583
- }
584
-
585
577
  // In smaller title font-sizes, the space after the title is smaller than the default paragraph space before.
586
578
  // Due to margin collapsing, the wrong paragraph space wins.
587
579
  // To prevent the mistakenly large gap, we reset the paragraph space.
@@ -597,7 +589,6 @@ img {
597
589
 
598
590
  // Target the slotted `sbb-image` which are generally wrapped by a <figure> (therefore are not reachable with the :slotted)
599
591
  // Apply the brightness effect on mouse hover
600
- // TODO: Move back to the teaser components when the global CSS refactoring happens
601
592
  :is(sbb-teaser, sbb-teaser-hero, sbb-teaser-product) {
602
593
  --sbb-teaser-image-brightness-hover: var(--sbb-hover-image-brightness);
603
594
  --sbb-teaser-image-animation-duration: var(
@@ -620,34 +611,6 @@ img {
620
611
  }
621
612
  }
622
613
 
623
- sbb-teaser :is(sbb-image, img):not(.sbb-figure-overlap-image) {
624
- --sbb-image-object-fit: cover;
625
- --sbb-image-aspect-ratio: 4 / 3;
626
-
627
- transition-property: filter, scale;
628
- will-change: filter, scale;
629
- scale: var(--sbb-teaser-scale, 1);
630
- }
631
-
632
- // TODO: Move back to the teaser-hero components when the global CSS refactoring happens
633
- sbb-teaser-hero {
634
- :is(sbb-image, img):not(.sbb-figure-overlap-image) {
635
- --sbb-image-aspect-ratio: 1 / 1;
636
-
637
- border-radius: 0;
638
-
639
- @include mediaqueries.mq($from: small) {
640
- --sbb-image-aspect-ratio: 16 / 9;
641
- }
642
- }
643
-
644
- img:not(.sbb-figure-overlap-image) {
645
- display: block;
646
- align-self: stretch;
647
- width: 100%;
648
- }
649
- }
650
-
651
614
  // TODO: move to train formation after CSS refactoring
652
615
  sbb-train-formation:has(sbb-train[direction-label]) {
653
616
  --sbb-train-formation-reserve-spacing-display: block;
@@ -681,27 +644,8 @@ sbb-train-formation[view='top'] sbb-train-wagon {
681
644
  --sbb-train-wagon-wagon-end-right-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40' fill='none'%3E%3Cpath d='M8.5,0.5 h51.5 a19.5,19.5 0 0 1 19.5,19.5 v0 a19.5,19.5 0 0 1 -19.5,19.5 h-51.5 a8,8 0 0 1 -8,-8 v-23 a8,8 0 0 1 8,-8 z' stroke='%23000000' stroke-width='1'/%3E%3C/svg%3E");
682
645
  }
683
646
 
684
- // We set some dimension to the selects trigger element in order that the screen reader's outline box looks more accurate.
685
- .sbb-select-trigger {
686
- width: 100%;
687
-
688
- // We set the smallest possible height (zero breakpoint, size s)
689
- height: var(--sbb-size-element-xs);
690
-
691
- sbb-form-field & {
692
- top: 0;
693
- }
694
- }
695
-
696
647
  .sbb-overlay-outlet {
697
648
  position: fixed;
698
649
  inset: 0;
699
650
  pointer-events: none;
700
651
  }
701
-
702
- // Sets ellipsis on all sbb-option child elements
703
- .sbb-options-nowrap {
704
- --sbb-option-text-overflow: ellipsis;
705
- --sbb-option-overflow: hidden;
706
- --sbb-option-white-space: nowrap;
707
- }
@@ -7,9 +7,9 @@
7
7
  margin-inline: 0;
8
8
  font-family: var(--sbb-typo-font-family);
9
9
  font-weight: bold;
10
- line-height: var(--sbb-title-line-height, var(--sbb-typo-line-height-heading));
11
- letter-spacing: var(--sbb-typo-letter-spacing-heading);
12
10
  font-size: var(--sbb-title-font-size);
11
+ letter-spacing: var(--sbb-typo-letter-spacing-heading);
12
+ line-height: var(--sbb-title-line-height, var(--sbb-typo-line-height-heading));
13
13
  }
14
14
 
15
15
  @mixin title--level-1 {
package/core.css CHANGED
@@ -122,6 +122,7 @@ slot[name=error]::slotted(*) {
122
122
  transition: color var(--sbb-tab-label-animation-duration) var(--sbb-tab-label-animation-easing);
123
123
  font-size: var(--sbb-tab-label-font-size);
124
124
  letter-spacing: var(--sbb-typo-letter-spacing-text);
125
+ line-height: var(--sbb-typo-line-height-text);
125
126
  font-weight: var(--sbb-tab-label-font-weight);
126
127
  text-decoration: var(--sbb-tab-label-text-decoration);
127
128
  }
@@ -1658,6 +1659,11 @@ slot[name=error]::slotted(*) {
1658
1659
  --sbb-signet-panel-color: var(--sbb-color-brand);
1659
1660
  --sbb-signet-icon-color: var(--sbb-color-white);
1660
1661
  --sbb-signet-aspect-ratio: 2 / 1;
1662
+ --sbb-select-placeholder-fallback-color: var(--sbb-color-metal);
1663
+ --sbb-select-placeholder-fallback-color: light-dark(
1664
+ var(--sbb-color-metal),
1665
+ var(--sbb-color-smoke)
1666
+ );
1661
1667
  --sbb-slider-line-height: 0.25rem;
1662
1668
  --sbb-slider-knob-size: 1.75rem;
1663
1669
  --sbb-slider-knob-size-active: 1.9375rem;
@@ -1743,6 +1749,7 @@ slot[name=error]::slotted(*) {
1743
1749
  --sbb-teaser-gap: var(--sbb-spacing-fixed-4x);
1744
1750
  --sbb-teaser-border-radius: var(--sbb-border-radius-4x);
1745
1751
  --sbb-teaser-image-width: 18.75rem;
1752
+ --sbb-teaser-hero-link-font-weight: 400;
1746
1753
  --sbb-panel-width: 13.9375rem;
1747
1754
  --sbb-panel-inner-height: 10.4375rem;
1748
1755
  --sbb-panel-triangle-height: 2.0625rem;
@@ -1793,6 +1800,7 @@ slot[name=error]::slotted(*) {
1793
1800
  --sbb-timetable-occupancy-font-size: var(--sbb-text-font-size-s);
1794
1801
  --sbb-timetable-occupancy-list-gap: var(--sbb-spacing-fixed-2x);
1795
1802
  --sbb-timetable-occupancy-item-gap: var(--sbb-spacing-fixed-1x);
1803
+ --sbb-time-input-max-width: 3.625rem;
1796
1804
  --sbb-toggle-check-font-size: var(--sbb-text-font-size-s);
1797
1805
  --sbb-toggle-check-color: var(--sbb-color-2);
1798
1806
  --sbb-toggle-check-checked-color: var(--sbb-color-primary);
@@ -1910,11 +1918,10 @@ slot[name=error]::slotted(*) {
1910
1918
  --sbb-train-formation-wagon-width: 5rem;
1911
1919
  --sbb-train-formation-wagon-height: 2.5rem;
1912
1920
  --sbb-train-formation-wagon-gap: var(--sbb-spacing-fixed-1x);
1913
- --sbb-time-input-max-width: 3.625rem;
1914
1921
  --sbb-overlay-default-z-index: 1000;
1915
1922
  --sbb-cursor-default: default;
1916
1923
  --sbb-cursor-pointer: pointer;
1917
- --sbb-border-radius-infinity: 100000em;
1924
+ --sbb-border-radius-infinity: calc(infinity * 1px);
1918
1925
  }
1919
1926
  :root.sbb-lean {
1920
1927
  --sbb-title-font-size-level-1-lean: var(--sbb-heading-font-size-2);
@@ -2017,13 +2024,11 @@ slot[name=error]::slotted(*) {
2017
2024
  --sbb-teaser-product-footer-padding-block-start: var(--sbb-spacing-responsive-xs);
2018
2025
  --sbb-teaser-product-footer-padding-block-end: var(--sbb-spacing-responsive-xs);
2019
2026
  --sbb-teaser-product-footer-min-height: var(--sbb-teaser-product-container-spacing);
2027
+ --sbb-time-input-max-width: 4.0625rem;
2020
2028
  }
2021
2029
  :root.sbb-lean {
2022
2030
  --sbb-title-font-size-level-6-lean: var(--sbb-typo-scale-0-875x);
2023
2031
  }
2024
- :root {
2025
- --sbb-time-input-max-width: 4.0625rem;
2026
- }
2027
2032
  }
2028
2033
  @media (min-width: calc(90rem)) {
2029
2034
  :root {
@@ -2308,10 +2313,6 @@ sbb-flip-card-summary > [slot=image] :is(sbb-image, img):not(.sbb-figure-overlap
2308
2313
  }
2309
2314
  }
2310
2315
 
2311
- sbb-header + :where(sbb-sidebar-container, sbb-icon-sidebar-container) {
2312
- margin-block-start: var(--sbb-header-height);
2313
- }
2314
-
2315
2316
  :root:has(sbb-header[size=m]) {
2316
2317
  --sbb-header-height: var(--sbb-spacing-fixed-14x);
2317
2318
  }
@@ -2328,6 +2329,26 @@ sbb-header + :where(sbb-sidebar-container, sbb-icon-sidebar-container) {
2328
2329
  --sbb-header-height: var(--sbb-spacing-fixed-14x);
2329
2330
  }
2330
2331
  }
2332
+ sbb-header + :where(sbb-sidebar-container, sbb-icon-sidebar-container) {
2333
+ margin-block-start: var(--sbb-header-height);
2334
+ }
2335
+
2336
+ .sbb-header-info {
2337
+ display: flex;
2338
+ padding-inline: var(--sbb-spacing-fixed-4x);
2339
+ gap: var(--sbb-spacing-fixed-1x);
2340
+ align-items: baseline;
2341
+ color: var(--sbb-color-1);
2342
+ font-size: var(--sbb-text-font-size-xs);
2343
+ letter-spacing: var(--sbb-typo-letter-spacing-text);
2344
+ }
2345
+ .sbb-header-info strong + * {
2346
+ font-size: var(--sbb-text-font-size-xxs);
2347
+ letter-spacing: var(--sbb-typo-letter-spacing-text);
2348
+ color: var(--sbb-color-granite);
2349
+ color: light-dark(var(--sbb-color-granite), var(--sbb-color-smoke));
2350
+ }
2351
+
2331
2352
  sbb-icon-sidebar-content + sbb-icon-sidebar :is(sbb-icon-sidebar-link, sbb-icon-sidebar-button) {
2332
2353
  --sbb-icon-sidebar-button__current-border-inset-inline-start: auto;
2333
2354
  }
@@ -2361,6 +2382,20 @@ sbb-message > [slot=image] :is(sbb-image, img):not(.sbb-figure-overlap-image) {
2361
2382
  --sbb-option-hint-padding-block-end: var(--sbb-spacing-fixed-1x);
2362
2383
  }
2363
2384
 
2385
+ .sbb-options-nowrap {
2386
+ --sbb-option-text-overflow: ellipsis;
2387
+ --sbb-option-overflow: hidden;
2388
+ --sbb-option-white-space: nowrap;
2389
+ }
2390
+
2391
+ .sbb-select-trigger {
2392
+ width: 100%;
2393
+ height: var(--sbb-size-element-xs);
2394
+ }
2395
+ sbb-form-field .sbb-select-trigger {
2396
+ top: 0;
2397
+ }
2398
+
2364
2399
  sbb-sidebar:has(sbb-sidebar-title) {
2365
2400
  --_sbb-sidebar-padding-block-start: 0;
2366
2401
  }
@@ -2399,6 +2434,29 @@ sbb-tab-nav-bar .sbb-tab-amount {
2399
2434
  text-decoration: var(--sbb-tab-label-text-decoration);
2400
2435
  }
2401
2436
 
2437
+ sbb-teaser :is(sbb-image, img):not(.sbb-figure-overlap-image) {
2438
+ --sbb-image-object-fit: cover;
2439
+ --sbb-image-aspect-ratio: 4 / 3;
2440
+ transition-property: filter, scale;
2441
+ will-change: filter, scale;
2442
+ scale: var(--sbb-teaser-scale, 1);
2443
+ }
2444
+
2445
+ sbb-teaser-hero :is(sbb-image, img):not(.sbb-figure-overlap-image) {
2446
+ --sbb-image-aspect-ratio: 1 / 1;
2447
+ border-radius: 0;
2448
+ }
2449
+ @media (min-width: calc(37.5rem)) {
2450
+ sbb-teaser-hero :is(sbb-image, img):not(.sbb-figure-overlap-image) {
2451
+ --sbb-image-aspect-ratio: 16 / 9;
2452
+ }
2453
+ }
2454
+ sbb-teaser-hero img:not(.sbb-figure-overlap-image) {
2455
+ display: block;
2456
+ align-self: stretch;
2457
+ width: 100%;
2458
+ }
2459
+
2402
2460
  :is(sbb-teaser-product, sbb-teaser-product-static) :is(sbb-image, img):not(.sbb-figure-overlap-image) {
2403
2461
  border-radius: 0;
2404
2462
  --sbb-image-object-fit: cover;
@@ -2481,25 +2539,6 @@ sbb-toast) {
2481
2539
  pointer-events: all;
2482
2540
  }
2483
2541
 
2484
- .sbb-header-info {
2485
- --sbb-text-font-size: var(--sbb-text-font-size-xs);
2486
- font-family: var(--sbb-typo-font-family);
2487
- font-weight: normal;
2488
- line-height: var(--sbb-typo-line-height-text);
2489
- letter-spacing: var(--sbb-typo-letter-spacing-text);
2490
- font-size: var(--sbb-text-font-size);
2491
- display: flex;
2492
- padding-inline: var(--sbb-spacing-fixed-4x);
2493
- gap: var(--sbb-spacing-fixed-1x);
2494
- align-items: baseline;
2495
- color: var(--sbb-color-1);
2496
- }
2497
- .sbb-header-info strong + * {
2498
- font-size: var(--sbb-text-font-size-xxs);
2499
- color: var(--sbb-color-granite);
2500
- color: light-dark(var(--sbb-color-granite), var(--sbb-color-smoke));
2501
- }
2502
-
2503
2542
  sbb-title + p {
2504
2543
  margin-block-start: 0;
2505
2544
  }
@@ -2529,29 +2568,6 @@ img {
2529
2568
  transition: filter var(--sbb-teaser-image-animation-duration) var(--sbb-teaser-image-animation-easing);
2530
2569
  }
2531
2570
 
2532
- sbb-teaser :is(sbb-image, img):not(.sbb-figure-overlap-image) {
2533
- --sbb-image-object-fit: cover;
2534
- --sbb-image-aspect-ratio: 4 / 3;
2535
- transition-property: filter, scale;
2536
- will-change: filter, scale;
2537
- scale: var(--sbb-teaser-scale, 1);
2538
- }
2539
-
2540
- sbb-teaser-hero :is(sbb-image, img):not(.sbb-figure-overlap-image) {
2541
- --sbb-image-aspect-ratio: 1 / 1;
2542
- border-radius: 0;
2543
- }
2544
- @media (min-width: calc(37.5rem)) {
2545
- sbb-teaser-hero :is(sbb-image, img):not(.sbb-figure-overlap-image) {
2546
- --sbb-image-aspect-ratio: 16 / 9;
2547
- }
2548
- }
2549
- sbb-teaser-hero img:not(.sbb-figure-overlap-image) {
2550
- display: block;
2551
- align-self: stretch;
2552
- width: 100%;
2553
- }
2554
-
2555
2571
  sbb-train-formation:has(sbb-train[direction-label]) {
2556
2572
  --sbb-train-formation-reserve-spacing-display: block;
2557
2573
  }
@@ -2580,22 +2596,8 @@ sbb-train-formation[view=top] sbb-train-wagon {
2580
2596
  --sbb-train-wagon-wagon-end-right-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40' fill='none'%3E%3Cpath d='M8.5,0.5 h51.5 a19.5,19.5 0 0 1 19.5,19.5 v0 a19.5,19.5 0 0 1 -19.5,19.5 h-51.5 a8,8 0 0 1 -8,-8 v-23 a8,8 0 0 1 8,-8 z' stroke='%23000000' stroke-width='1'/%3E%3C/svg%3E");
2581
2597
  }
2582
2598
 
2583
- .sbb-select-trigger {
2584
- width: 100%;
2585
- height: var(--sbb-size-element-xs);
2586
- }
2587
- sbb-form-field .sbb-select-trigger {
2588
- top: 0;
2589
- }
2590
-
2591
2599
  .sbb-overlay-outlet {
2592
2600
  position: fixed;
2593
2601
  inset: 0;
2594
2602
  pointer-events: none;
2595
- }
2596
-
2597
- .sbb-options-nowrap {
2598
- --sbb-option-text-overflow: ellipsis;
2599
- --sbb-option-overflow: hidden;
2600
- --sbb-option-white-space: nowrap;
2601
2603
  }