@sbb-esta/lyne-elements 4.8.1 → 4.9.0

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 (601) hide show
  1. package/action-group/action-group.component.js +1 -1
  2. package/action-group.component-OZNshH7G.js +158 -0
  3. package/action-group.js +1 -1
  4. package/action-group.pure.js +1 -1
  5. package/alert/alert/alert.component.js +1 -1
  6. package/alert/alert-group/alert-group.component.js +1 -1
  7. package/alert/alert-group.js +1 -1
  8. package/alert/alert.js +1 -1
  9. package/{alert-group.component-RV1M1OKy.js → alert-group.component-DnYg4aPB.js} +1 -1
  10. package/{alert.component-PPR7hfTi.js → alert.component-B94SoaHI.js} +1 -1
  11. package/alert.js +2 -2
  12. package/alert.pure.js +2 -2
  13. package/autocomplete/autocomplete-base-element.js +1 -1
  14. package/autocomplete/autocomplete.component.js +1 -1
  15. package/{autocomplete-base-element-DVFCZ4lt.js → autocomplete-base-element-BQj0oiHC.js} +1 -1
  16. package/autocomplete.js +1 -1
  17. package/autocomplete.pure.js +1 -1
  18. package/block-link-common-ClyAETjl.js +63 -0
  19. package/breadcrumb/breadcrumb/breadcrumb.component.js +1 -1
  20. package/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +1 -1
  21. package/breadcrumb/breadcrumb-group.js +1 -1
  22. package/breadcrumb/breadcrumb.js +1 -1
  23. package/{breadcrumb-group.component-CfUyO1sI.js → breadcrumb-group.component-ioEaxcGE.js} +1 -1
  24. package/breadcrumb.component-CDs1jq2d.js +24 -0
  25. package/breadcrumb.js +2 -2
  26. package/breadcrumb.pure.js +2 -2
  27. package/button/common.js +1 -1
  28. package/button/mini-button-group/mini-button-group.component.js +1 -1
  29. package/button/mini-button-group.js +1 -1
  30. package/button/mini-button-link/mini-button-link.component.js +1 -1
  31. package/button/mini-button-link.js +1 -1
  32. package/button.js +3 -3
  33. package/button.pure.js +3 -3
  34. package/calendar/calendar/calendar.component.js +1 -1
  35. package/calendar/calendar-day/calendar-day.component.js +1 -1
  36. package/calendar/calendar-day.js +1 -1
  37. package/calendar/calendar.js +1 -1
  38. package/calendar/common.js +1 -1
  39. package/{calendar-day.component-Iewo-vBR.js → calendar-day.component-BZxPrp22.js} +1 -1
  40. package/{calendar.component-Cz-OGQu6.js → calendar.component-DtdBj_D-.js} +1 -1
  41. package/calendar.js +2 -2
  42. package/calendar.pure.js +2 -2
  43. package/card/card/card.component.js +1 -1
  44. package/card/card-badge/card-badge.component.js +1 -1
  45. package/card/card-badge.js +1 -1
  46. package/card/card.js +1 -1
  47. package/card/common/card-action-common.js +1 -1
  48. package/card/common.js +1 -1
  49. package/{card-action-common-GpkaNYtV.js → card-action-common-BNe4LRHp.js} +1 -1
  50. package/card-badge.component-CtpSWL9S.js +65 -0
  51. package/card.component-Bd-2-dP3.js +62 -0
  52. package/card.js +3 -3
  53. package/card.pure.js +3 -3
  54. package/carousel/carousel/carousel.component.js +1 -1
  55. package/carousel/carousel-item/carousel-item.component.js +1 -1
  56. package/carousel/carousel-item.js +1 -1
  57. package/carousel/carousel-list/carousel-list.component.js +1 -1
  58. package/carousel/carousel-list.js +1 -1
  59. package/carousel/carousel.js +1 -1
  60. package/{carousel-item.component-kv3rY8B-.js → carousel-item.component-BdW4Fe7j.js} +1 -1
  61. package/{carousel-list.component-DMMk66SP.js → carousel-list.component-CXKdk4dv.js} +1 -1
  62. package/{carousel.component-BA0V2JHI.js → carousel.component-D9By2rDH.js} +1 -1
  63. package/carousel.js +3 -3
  64. package/carousel.pure.js +3 -3
  65. package/checkbox/checkbox.component.js +2 -2
  66. package/checkbox/checkbox.js +2 -2
  67. package/checkbox/common/checkbox-common.js +1 -1
  68. package/checkbox/common.js +1 -1
  69. package/{checkbox-common-J-7Y966k.js → checkbox-common-CPIIGgkG.js} +1 -1
  70. package/{checkbox.component-Bazdxs9R.js → checkbox.component-Cax24yN1.js} +2 -2
  71. package/checkbox.js +2 -2
  72. package/checkbox.pure.js +2 -2
  73. package/chip/chip/chip.component.js +1 -1
  74. package/chip/chip-group/chip-group.component.js +1 -1
  75. package/chip/chip-group.js +1 -1
  76. package/chip/chip.js +1 -1
  77. package/{chip-group.component-CbruCoHR.js → chip-group.component-CpXuOisx.js} +1 -1
  78. package/chip-label/chip-label.component.js +1 -1
  79. package/{chip-label.component-D9AZdMSJ.js → chip-label.component-CFDlJJZv.js} +1 -1
  80. package/chip-label.js +1 -1
  81. package/chip-label.pure.js +1 -1
  82. package/chip.component-vKOg_uFQ.js +94 -0
  83. package/chip.js +2 -2
  84. package/chip.pure.js +2 -2
  85. package/clock/clock.component.js +1 -1
  86. package/{clock.component-gZJy4AU4.js → clock.component-CZq8NuSw.js} +1 -1
  87. package/clock.js +1 -1
  88. package/clock.pure.js +1 -1
  89. package/common-BdjLJuBp.js +5 -0
  90. package/{compact-paginator.component-BK7xj9tc.js → compact-paginator.component-JM9tD9ys.js} +1 -1
  91. package/container/container/container.component.js +1 -1
  92. package/container/container.js +1 -1
  93. package/container/sticky-bar/sticky-bar.component.js +1 -1
  94. package/container/sticky-bar.js +1 -1
  95. package/{container.component-C-jpJN2k.js → container.component-mgU80iW0.js} +1 -1
  96. package/container.js +2 -2
  97. package/container.pure.js +2 -2
  98. package/core/a11y/focus-trap-controller.js +2 -2
  99. package/core/base-elements/selection-group-base-element.js +1 -1
  100. package/core/base-elements.js +1 -1
  101. package/core/mixins.js +1 -1
  102. package/core/styles/core.scss +9 -0
  103. package/core.css +13 -0
  104. package/custom-elements.json +83 -0
  105. package/date-input/date-input.component.js +1 -1
  106. package/{date-input.component-Da-aS3jt.js → date-input.component-lInRTqua.js} +1 -1
  107. package/date-input.js +1 -1
  108. package/date-input.pure.js +1 -1
  109. package/datepicker/common/datepicker-button.js +1 -1
  110. package/datepicker/common.js +1 -1
  111. package/datepicker/datepicker/datepicker.component.js +1 -1
  112. package/datepicker/datepicker.js +1 -1
  113. package/{datepicker-button-Dk2UQkPN.js → datepicker-button--Bz_ztGR.js} +1 -1
  114. package/{datepicker.component-DUVgoAGU.js → datepicker.component-B64-Fip5.js} +1 -1
  115. package/datepicker.js +2 -2
  116. package/datepicker.pure.js +2 -2
  117. package/development/core/a11y/focus-trap-controller.js +3 -3
  118. package/development/core/mixins.js +2 -1
  119. package/development/header/header/header.component.d.ts +7 -0
  120. package/development/header/header/header.component.d.ts.map +1 -1
  121. package/development/header/header/header.component.js +1 -1
  122. package/development/header/header.js +1 -1
  123. package/development/header.component-C9JGj-z6.js +489 -0
  124. package/development/header.js +1 -1
  125. package/development/header.pure.js +1 -1
  126. package/development/popover/popover.component.js +1 -1
  127. package/development/popover.component-dRXm7_Mv.js +736 -0
  128. package/development/popover.js +1 -1
  129. package/development/popover.pure.js +1 -1
  130. package/development/radio-button/common/radio-button-common.d.ts.map +1 -1
  131. package/development/radio-button/common/radio-button-common.js +1 -1
  132. package/development/radio-button/common.js +1 -1
  133. package/development/radio-button/radio-button.component.js +2 -2
  134. package/development/radio-button/radio-button.js +2 -2
  135. package/development/{radio-button-common-CsjMvmAn.js → radio-button-common-CCrvhOPQ.js} +7 -1
  136. package/development/radio-button-group/radio-button-group.component.d.ts.map +1 -1
  137. package/development/radio-button-group/radio-button-group.component.js +2 -1
  138. package/development/{radio-button.component-BTnHGixs.js → radio-button.component-DYD1hVIZ.js} +2 -2
  139. package/development/radio-button.js +2 -2
  140. package/development/radio-button.pure.js +2 -2
  141. package/development/signet/signet.component.d.ts.map +1 -1
  142. package/development/signet/signet.component.js +1 -1
  143. package/development/signet.component-9afq0BQh.js +164 -0
  144. package/development/signet.js +1 -1
  145. package/development/signet.pure.js +1 -1
  146. package/development/skiplink-list/skiplink-list.component.d.ts.map +1 -1
  147. package/development/skiplink-list/skiplink-list.component.js +1 -1
  148. package/development/{skiplink-list.component-BvbnZ24-.js → skiplink-list.component--EzDilpP.js} +12 -22
  149. package/development/skiplink-list.js +1 -1
  150. package/development/skiplink-list.pure.js +1 -1
  151. package/dialog/dialog/dialog.component.js +1 -1
  152. package/dialog/dialog-actions/dialog-actions.component.js +1 -1
  153. package/dialog/dialog-actions.js +1 -1
  154. package/dialog/dialog-close-button/dialog-close-button.component.js +1 -1
  155. package/dialog/dialog-close-button.js +1 -1
  156. package/dialog/dialog-content/dialog-content.component.js +1 -1
  157. package/dialog/dialog-content.js +1 -1
  158. package/dialog/dialog-title/dialog-title.component.js +1 -1
  159. package/dialog/dialog-title.js +1 -1
  160. package/dialog/dialog.js +1 -1
  161. package/dialog-actions.component-C6m1odAP.js +17 -0
  162. package/{dialog-close-button.component-CeZrvBtz.js → dialog-close-button.component-DsNnE7BE.js} +1 -1
  163. package/{dialog-content.component-bHJNAgKn.js → dialog-content.component-DIKknjUX.js} +1 -1
  164. package/dialog-title.component-DSq0esCH.js +17 -0
  165. package/{dialog.component-CIPresmM.js → dialog.component-BuIFpeUd.js} +1 -1
  166. package/dialog.js +5 -5
  167. package/dialog.pure.js +5 -5
  168. package/divider/divider.component.js +1 -1
  169. package/{divider.component-B99DkxCv.js → divider.component-DwDhJGac.js} +1 -1
  170. package/divider.js +1 -1
  171. package/divider.pure.js +1 -1
  172. package/{error.component-DTYppqRY.js → error.component-DpUkVwHl.js} +1 -1
  173. package/expansion-panel/expansion-panel/expansion-panel.component.js +1 -1
  174. package/expansion-panel/expansion-panel-content/expansion-panel-content.component.js +1 -1
  175. package/expansion-panel/expansion-panel-content.js +1 -1
  176. package/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +1 -1
  177. package/expansion-panel/expansion-panel-header.js +1 -1
  178. package/expansion-panel/expansion-panel.js +1 -1
  179. package/expansion-panel-content.component-2C7bavY5.js +29 -0
  180. package/expansion-panel-header.component-B5ulwstr.js +56 -0
  181. package/{expansion-panel.component-CGss5cPS.js → expansion-panel.component-DxEqf6H1.js} +1 -1
  182. package/expansion-panel.js +3 -3
  183. package/expansion-panel.pure.js +3 -3
  184. package/file-selector/common/file-selector-common.js +1 -1
  185. package/file-selector/common.js +1 -1
  186. package/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +1 -1
  187. package/file-selector/file-selector-dropzone.js +1 -1
  188. package/{file-selector-common-C--h0Yj2.js → file-selector-common-Bk07ovZm.js} +1 -1
  189. package/{file-selector-dropzone.component-BFlkqlsq.js → file-selector-dropzone.component-DhPsfRQk.js} +1 -1
  190. package/file-selector.js +2 -2
  191. package/file-selector.pure.js +2 -2
  192. package/flip-card/flip-card/flip-card.component.js +1 -1
  193. package/flip-card/flip-card-details/flip-card-details.component.js +1 -1
  194. package/flip-card/flip-card-details.js +1 -1
  195. package/flip-card/flip-card-summary/flip-card-summary.component.js +1 -1
  196. package/flip-card/flip-card-summary.js +1 -1
  197. package/flip-card/flip-card.js +1 -1
  198. package/{flip-card-details.component-BOVK7F1U.js → flip-card-details.component-Dd9w2AaO.js} +1 -1
  199. package/flip-card-summary.component-DN08GsS9.js +65 -0
  200. package/{flip-card.component-5pxuwGAv.js → flip-card.component-CrUlzxck.js} +1 -1
  201. package/flip-card.js +3 -3
  202. package/flip-card.pure.js +3 -3
  203. package/footer/footer.component.js +1 -1
  204. package/footer.component-C8s7qhZs.js +129 -0
  205. package/footer.js +1 -1
  206. package/footer.pure.js +1 -1
  207. package/form-field/error/error.component.js +1 -1
  208. package/form-field/error.js +1 -1
  209. package/form-field/form-field/form-field.component.js +1 -1
  210. package/form-field/form-field.js +1 -1
  211. package/{form-field.component-CWj6jfYZ.js → form-field.component-Dc0CkOvA.js} +1 -1
  212. package/form-field.js +2 -2
  213. package/form-field.pure.js +2 -2
  214. package/header/common/header-action-common.js +1 -1
  215. package/header/common.js +1 -1
  216. package/header/header/header.component.js +1 -1
  217. package/header/header-environment/header-environment.component.js +1 -1
  218. package/header/header-environment.js +1 -1
  219. package/header/header.js +1 -1
  220. package/header-action-common-D9CO0Jax.js +62 -0
  221. package/header-environment.component-DDZ9fcZd.js +36 -0
  222. package/header.component-BPkEKqnQ.js +232 -0
  223. package/header.js +3 -3
  224. package/header.pure.js +3 -3
  225. package/icon/icon-base.js +1 -1
  226. package/icon/icon-name-mixin.js +1 -1
  227. package/icon/icon.component.js +1 -1
  228. package/{icon-base-C2VxpriZ.js → icon-base-BkDvJr2l.js} +1 -1
  229. package/icon-sidebar/icon-sidebar/icon-sidebar.component.js +1 -1
  230. package/icon-sidebar/icon-sidebar.js +1 -1
  231. package/{icon-sidebar.component-D3vOnYrs.js → icon-sidebar.component-CQ6KLiCN.js} +1 -1
  232. package/icon-sidebar.js +1 -1
  233. package/icon-sidebar.pure.js +1 -1
  234. package/icon.js +1 -1
  235. package/icon.pure.js +1 -1
  236. package/image/image.component.js +1 -1
  237. package/{image.component-BcOwT7-U.js → image.component-BSWcI8r3.js} +1 -1
  238. package/image.js +1 -1
  239. package/image.pure.js +1 -1
  240. package/inline-link-common-B7MnXE80.js +18 -0
  241. package/journey-header/journey-header.component.js +1 -1
  242. package/{journey-header.component-CjXBxEor.js → journey-header.component-mIbM-KVg.js} +1 -1
  243. package/journey-header.js +1 -1
  244. package/journey-header.pure.js +1 -1
  245. package/lead-container/lead-container.component.js +1 -1
  246. package/lead-container.component-w3zhibLj.js +27 -0
  247. package/lead-container.js +1 -1
  248. package/lead-container.pure.js +1 -1
  249. package/link/common/block-link-common.js +2 -2
  250. package/link/common/inline-link-common.js +2 -2
  251. package/link/common/link-common.js +1 -1
  252. package/link/common.js +3 -3
  253. package/link-common-DqIfaliQ.js +52 -0
  254. package/link-list/common/link-list-base.js +1 -1
  255. package/link-list/common.js +1 -1
  256. package/link-list/link-list-anchor.js +2 -2
  257. package/link-list/link-list.component.js +2 -2
  258. package/link-list/link-list.js +2 -2
  259. package/link-list-anchor/link-list-anchor.component.js +1 -1
  260. package/link-list-anchor.component-CwmljGqM.js +18 -0
  261. package/link-list-anchor.js +1 -1
  262. package/link-list-anchor.pure.js +1 -1
  263. package/{link-list-base-CrpC5D4u.js → link-list-base-DwOmdG3N.js} +1 -1
  264. package/link-list.component-e-UmSwDi.js +78 -0
  265. package/link-list.js +3 -3
  266. package/link-list.pure.js +2 -2
  267. package/link.js +3 -3
  268. package/link.pure.js +3 -3
  269. package/loading-indicator/loading-indicator.component.js +1 -1
  270. package/loading-indicator-circle/loading-indicator-circle.component.js +1 -1
  271. package/loading-indicator-circle.component-5o-TFlzV.js +62 -0
  272. package/loading-indicator-circle.js +1 -1
  273. package/loading-indicator-circle.pure.js +1 -1
  274. package/loading-indicator.component-8XIZYm8V.js +92 -0
  275. package/loading-indicator.js +1 -1
  276. package/loading-indicator.pure.js +1 -1
  277. package/logo/logo.component.js +1 -1
  278. package/{logo.component-CdZe8lrB.js → logo.component-D0-6sm1j.js} +1 -1
  279. package/logo.js +1 -1
  280. package/logo.pure.js +1 -1
  281. package/map-container/map-container.component.js +1 -1
  282. package/map-container.component-CnErYagX.js +128 -0
  283. package/map-container.js +1 -1
  284. package/map-container.pure.js +1 -1
  285. package/menu/common/menu-action-common.js +1 -1
  286. package/menu/common.js +1 -1
  287. package/menu/menu/menu.component.js +1 -1
  288. package/menu/menu.js +1 -1
  289. package/menu-action-common-Br3mThg1.js +29 -0
  290. package/{menu.component-elxRPsQz.js → menu.component-D5u2hL8X.js} +1 -1
  291. package/menu.js +2 -2
  292. package/menu.pure.js +2 -2
  293. package/message/message.component.js +1 -1
  294. package/{message.component-DDMr1IXM.js → message.component-CnIfjJj8.js} +1 -1
  295. package/message.js +1 -1
  296. package/message.pure.js +1 -1
  297. package/{mini-button-group.component-D5Dph1Z7.js → mini-button-group.component-CDXkOnq4.js} +1 -1
  298. package/{mini-button-link.component-BYK_EUud.js → mini-button-link.component-BlPfUvvp.js} +1 -1
  299. package/mini-calendar/mini-calendar/mini-calendar.component.js +1 -1
  300. package/mini-calendar/mini-calendar-day/mini-calendar-day.component.js +1 -1
  301. package/mini-calendar/mini-calendar-day.js +1 -1
  302. package/mini-calendar/mini-calendar-month/mini-calendar-month.component.js +1 -1
  303. package/mini-calendar/mini-calendar-month.js +1 -1
  304. package/mini-calendar/mini-calendar.js +1 -1
  305. package/{mini-calendar-day.component-Tj7wlWj7.js → mini-calendar-day.component-CM1dgWp6.js} +1 -1
  306. package/{mini-calendar-month.component-DTod_RRs.js → mini-calendar-month.component-DZ45IgFZ.js} +1 -1
  307. package/{mini-calendar.component-BCDHUUZG.js → mini-calendar.component-CKR-WJWW.js} +1 -1
  308. package/mini-calendar.js +3 -3
  309. package/mini-calendar.pure.js +3 -3
  310. package/navigation/common/navigation-action-common.js +1 -1
  311. package/navigation/common.js +1 -1
  312. package/navigation/navigation/navigation.component.js +1 -1
  313. package/navigation/navigation-list/navigation-list.component.js +1 -1
  314. package/navigation/navigation-list.js +1 -1
  315. package/navigation/navigation-marker/navigation-marker.component.js +1 -1
  316. package/navigation/navigation-marker.js +1 -1
  317. package/navigation/navigation-section/navigation-section.component.js +1 -1
  318. package/navigation/navigation-section.js +1 -1
  319. package/navigation/navigation.js +1 -1
  320. package/navigation-action-common-Cme_2GEs.js +64 -0
  321. package/{navigation-list.component-DnB7FrKG.js → navigation-list.component-DiyAt5hV.js} +1 -1
  322. package/{navigation-marker.component-B7hmb9iS.js → navigation-marker.component-D_U3Nd-_.js} +1 -1
  323. package/{navigation-section.component-C86pkDLG.js → navigation-section.component-DqFRimuS.js} +1 -1
  324. package/{navigation.component-BzgTWUiD.js → navigation.component-BAgxKoOU.js} +1 -1
  325. package/navigation.js +5 -5
  326. package/navigation.pure.js +5 -5
  327. package/notification/notification.component.js +1 -1
  328. package/notification.component-BYm_I7Df.js +197 -0
  329. package/notification.js +1 -1
  330. package/notification.pure.js +1 -1
  331. package/off-brand-theme.css +13 -0
  332. package/{optgroup-base-element-C8LeifgF.js → optgroup-base-element-D0ebmnMV.js} +1 -1
  333. package/option/optgroup/optgroup-base-element.js +1 -1
  334. package/option/optgroup/optgroup.component.js +1 -1
  335. package/option/optgroup.js +1 -1
  336. package/option/option/option.component.js +1 -1
  337. package/option/option-hint/option-hint.component.js +1 -1
  338. package/option/option-hint.js +1 -1
  339. package/option/option.js +1 -1
  340. package/option-hint.component-5KZ_UDB6.js +23 -0
  341. package/option.component-DJO5o_Ig.js +98 -0
  342. package/option.js +3 -3
  343. package/option.pure.js +3 -3
  344. package/overlay/overlay.component.js +1 -1
  345. package/{overlay.component-CAN3BK7B.js → overlay.component-CaBxt4sb.js} +1 -1
  346. package/overlay.js +1 -1
  347. package/overlay.pure.js +1 -1
  348. package/package.json +1 -1
  349. package/paginator/compact-paginator/compact-paginator.component.js +1 -1
  350. package/paginator/compact-paginator.js +1 -1
  351. package/paginator/paginator/paginator.component.js +1 -1
  352. package/paginator/paginator.js +1 -1
  353. package/paginator.component-nXF_Zbze.js +206 -0
  354. package/paginator.js +2 -2
  355. package/paginator.pure.js +2 -2
  356. package/popover/popover.component.js +1 -1
  357. package/{popover.component-CiOGSWOz.js → popover.component-H1g1e1o9.js} +2 -2
  358. package/popover.js +1 -1
  359. package/popover.pure.js +1 -1
  360. package/radio-button/common/radio-button-common.js +1 -1
  361. package/radio-button/common.js +1 -1
  362. package/radio-button/radio-button.component.js +2 -2
  363. package/radio-button/radio-button.js +2 -2
  364. package/radio-button-common-Ch3i83Qb.js +80 -0
  365. package/radio-button-group/radio-button-group.component.js +1 -1
  366. package/{radio-button.component-CVPy3eQi.js → radio-button.component-BGIJJyFd.js} +2 -2
  367. package/radio-button.js +2 -2
  368. package/radio-button.pure.js +2 -2
  369. package/safety-theme.css +13 -0
  370. package/screen-reader-only/screen-reader-only.component.js +1 -1
  371. package/{screen-reader-only.component-DEOirlKo.js → screen-reader-only.component-DxVn8U9m.js} +1 -1
  372. package/screen-reader-only.js +1 -1
  373. package/screen-reader-only.pure.js +1 -1
  374. package/select/select.component.js +1 -1
  375. package/{select.component-CsIiislt.js → select.component-Bo7kkaOF.js} +1 -1
  376. package/select.js +1 -1
  377. package/select.pure.js +1 -1
  378. package/selection-action-panel/selection-action-panel.component.js +1 -1
  379. package/selection-action-panel.component-DsXSIUJY.js +35 -0
  380. package/selection-action-panel.js +1 -1
  381. package/selection-action-panel.pure.js +1 -1
  382. package/selection-expansion-panel/selection-expansion-panel.component.js +1 -1
  383. package/{selection-expansion-panel.component-BQw9icBM.js → selection-expansion-panel.component-DdUCJdYH.js} +1 -1
  384. package/selection-expansion-panel.js +1 -1
  385. package/selection-expansion-panel.pure.js +1 -1
  386. package/{selection-group-base-element-Bd6na8dT.js → selection-group-base-element-CBG8qr2t.js} +1 -1
  387. package/sidebar/common/styles.js +1 -1
  388. package/sidebar/common.js +1 -1
  389. package/sidebar/sidebar/sidebar.component.js +1 -1
  390. package/sidebar/sidebar-close-button/sidebar-close-button.component.js +1 -1
  391. package/sidebar/sidebar-close-button.js +1 -1
  392. package/sidebar/sidebar-container/sidebar-container.component.js +1 -1
  393. package/sidebar/sidebar-container.js +1 -1
  394. package/sidebar/sidebar-content/sidebar-content.component.js +1 -1
  395. package/sidebar/sidebar-content.js +1 -1
  396. package/sidebar/sidebar-title/sidebar-title.component.js +1 -1
  397. package/sidebar/sidebar-title.js +1 -1
  398. package/sidebar/sidebar.js +1 -1
  399. package/{sidebar-close-button.component-D0JS2p5L.js → sidebar-close-button.component-BTrt_KtJ.js} +1 -1
  400. package/{sidebar-container.component-BFxFShTF.js → sidebar-container.component-5s-OUp0W.js} +1 -1
  401. package/{sidebar-content.component-M7FGd8SF.js → sidebar-content.component-cZMzji92.js} +1 -1
  402. package/{sidebar-title.component-BfjxBPpH.js → sidebar-title.component-DYd-60nF.js} +1 -1
  403. package/{sidebar.component-zRpWDGKR.js → sidebar.component-BcgVWM8W.js} +1 -1
  404. package/sidebar.js +5 -5
  405. package/sidebar.pure.js +5 -5
  406. package/signet/signet.component.js +1 -1
  407. package/signet.component-CobWzWhG.js +99 -0
  408. package/signet.js +1 -1
  409. package/signet.pure.js +1 -1
  410. package/skiplink-list/skiplink-list.component.js +1 -1
  411. package/{skiplink-list.component-BRJk6HvC.js → skiplink-list.component-DHOXaPS-.js} +8 -10
  412. package/skiplink-list.js +1 -1
  413. package/skiplink-list.pure.js +1 -1
  414. package/slider/slider.component.js +1 -1
  415. package/{slider.component-CLNsu212.js → slider.component-MdvM78XU.js} +1 -1
  416. package/slider.js +1 -1
  417. package/slider.pure.js +1 -1
  418. package/standard-theme.css +13 -0
  419. package/status/status.component.js +1 -1
  420. package/{status.component-CmLdUn37.js → status.component-C3Wx4Gvn.js} +1 -1
  421. package/status.js +1 -1
  422. package/status.pure.js +1 -1
  423. package/step-label.component-zeKJCNqa.js +82 -0
  424. package/{step.component-eKVtXlT4.js → step.component-DluGAXNI.js} +1 -1
  425. package/stepper/step/step.component.js +1 -1
  426. package/stepper/step-label/step-label.component.js +1 -1
  427. package/stepper/step-label.js +1 -1
  428. package/stepper/step.js +1 -1
  429. package/stepper/stepper/stepper.component.js +1 -1
  430. package/stepper/stepper.js +1 -1
  431. package/{stepper.component-yWCQtYWc.js → stepper.component-BIFuIy3T.js} +1 -1
  432. package/stepper.js +3 -3
  433. package/stepper.pure.js +3 -3
  434. package/sticky-bar.component-DnPfDrKx.js +141 -0
  435. package/styles-BhYx61ZB.js +5 -0
  436. package/styles-DjLiBgML.js +5 -0
  437. package/{tab-group.component-DE4H3_H4.js → tab-group.component-BTwC9WKX.js} +1 -1
  438. package/tab-label.component-CsT_0RH7.js +165 -0
  439. package/{tab-nav-bar.component-n5TiTWxE.js → tab-nav-bar.component-UOqFJjhe.js} +1 -1
  440. package/{tab.component-BrIEFDxk.js → tab.component-BpUsS18w.js} +1 -1
  441. package/table/table-wrapper/table-wrapper.component.js +1 -1
  442. package/table/table-wrapper.js +1 -1
  443. package/{table-wrapper.component-CoqozurQ.js → table-wrapper.component-DPUvpfK4.js} +1 -1
  444. package/table.js +1 -1
  445. package/table.pure.js +1 -1
  446. package/tabs/common/styles.js +1 -1
  447. package/tabs/common.js +1 -1
  448. package/tabs/tab/tab.component.js +1 -1
  449. package/tabs/tab-group/tab-group.component.js +1 -1
  450. package/tabs/tab-group.js +1 -1
  451. package/tabs/tab-label/tab-label.component.js +1 -1
  452. package/tabs/tab-label.js +1 -1
  453. package/tabs/tab-nav-bar/tab-nav-bar.component.js +1 -1
  454. package/tabs/tab-nav-bar.js +1 -1
  455. package/tabs/tab.js +1 -1
  456. package/tabs.js +5 -5
  457. package/tabs.pure.js +5 -5
  458. package/tag/tag/tag.component.js +1 -1
  459. package/tag/tag-group/tag-group.component.js +1 -1
  460. package/tag/tag-group.js +1 -1
  461. package/tag/tag.js +1 -1
  462. package/{tag-group.component-DiIp6zS1.js → tag-group.component-CoChkHtw.js} +1 -1
  463. package/tag.component-ClZ-ZKFC.js +170 -0
  464. package/tag.js +2 -2
  465. package/tag.pure.js +2 -2
  466. package/teaser/teaser.component.js +1 -1
  467. package/teaser-hero/teaser-hero.component.js +1 -1
  468. package/teaser-hero.component-dKZsY0fS.js +80 -0
  469. package/teaser-hero.js +1 -1
  470. package/teaser-hero.pure.js +1 -1
  471. package/teaser-product/common/teaser-product-common.js +1 -1
  472. package/teaser-product/common.js +1 -1
  473. package/teaser-product/teaser-product/teaser-product.component.js +1 -1
  474. package/teaser-product/teaser-product.js +1 -1
  475. package/teaser-product-common-CFCb5Rsx.js +62 -0
  476. package/{teaser-product.component-DiOhM_rU.js → teaser-product.component-C3Zi8Pdd.js} +1 -1
  477. package/teaser-product.js +2 -2
  478. package/teaser-product.pure.js +2 -2
  479. package/teaser.component-CUUvAAZ7.js +91 -0
  480. package/teaser.js +1 -1
  481. package/teaser.pure.js +1 -1
  482. package/time-input/time-input.component.js +1 -1
  483. package/{time-input.component-DT1BOC8m.js → time-input.component-BDkxBiPM.js} +1 -1
  484. package/time-input.js +1 -1
  485. package/time-input.pure.js +1 -1
  486. package/timetable-form/timetable-form/timetable-form.component.js +1 -1
  487. package/timetable-form/timetable-form-details/timetable-form-details.component.js +1 -1
  488. package/timetable-form/timetable-form-details.js +1 -1
  489. package/timetable-form/timetable-form-field/timetable-form-field.component.js +1 -1
  490. package/timetable-form/timetable-form-field.js +1 -1
  491. package/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +1 -1
  492. package/timetable-form/timetable-form-swap-button.js +1 -1
  493. package/timetable-form/timetable-form.js +1 -1
  494. package/timetable-form-details.component-CfpM_Kse.js +16 -0
  495. package/timetable-form-field.component-DJ9FZ9vI.js +32 -0
  496. package/{timetable-form-swap-button.component-BGP-OsHD.js → timetable-form-swap-button.component-BXQ-ukkk.js} +1 -1
  497. package/{timetable-form.component-BqdKekNM.js → timetable-form.component-BeopwQmE.js} +1 -1
  498. package/timetable-form.js +4 -4
  499. package/timetable-form.pure.js +4 -4
  500. package/timetable-occupancy/timetable-occupancy.component.js +1 -1
  501. package/timetable-occupancy-icon/timetable-occupancy-icon.component.js +1 -1
  502. package/{timetable-occupancy-icon.component-ZrzpXaeV.js → timetable-occupancy-icon.component-LLMT_897.js} +1 -1
  503. package/timetable-occupancy-icon.js +1 -1
  504. package/timetable-occupancy-icon.pure.js +1 -1
  505. package/{timetable-occupancy.component-DMztYVmj.js → timetable-occupancy.component-CuI4uxPK.js} +1 -1
  506. package/timetable-occupancy.js +1 -1
  507. package/timetable-occupancy.pure.js +1 -1
  508. package/title/title-base.js +1 -1
  509. package/title/title.component.js +2 -2
  510. package/{title-base-BDYkc8fG.js → title-base-DRgSZMaU.js} +1 -1
  511. package/{title.component-DafVwymI.js → title.component-1oKmMeCz.js} +2 -2
  512. package/title.js +2 -2
  513. package/title.pure.js +2 -2
  514. package/toast/toast.component.js +1 -1
  515. package/{toast.component-DbILctK5.js → toast.component-BGevO6ad.js} +1 -1
  516. package/toast.js +1 -1
  517. package/toast.pure.js +1 -1
  518. package/toggle/toggle/toggle.component.js +1 -1
  519. package/toggle/toggle-option/toggle-option.component.js +1 -1
  520. package/toggle/toggle-option.js +1 -1
  521. package/toggle/toggle.js +1 -1
  522. package/toggle-check/toggle-check.component.js +1 -1
  523. package/toggle-check.component-C2Ejl7a_.js +119 -0
  524. package/toggle-check.js +1 -1
  525. package/toggle-check.pure.js +1 -1
  526. package/{toggle-option.component-NMfqwd12.js → toggle-option.component-Lm0irQKj.js} +1 -1
  527. package/{toggle.component-D1n5S5ev.js → toggle.component-D8rRkRAo.js} +1 -1
  528. package/toggle.js +2 -2
  529. package/toggle.pure.js +2 -2
  530. package/tooltip/tooltip.component.js +1 -1
  531. package/{tooltip.component-X45T6iQH.js → tooltip.component-Bwp_yTA8.js} +1 -1
  532. package/tooltip.js +1 -1
  533. package/tooltip.pure.js +1 -1
  534. package/train/train/train.component.js +1 -1
  535. package/train/train-blocked-passage/train-blocked-passage.component.js +1 -1
  536. package/train/train-blocked-passage.js +1 -1
  537. package/train/train-formation/train-formation.component.js +1 -1
  538. package/train/train-formation.js +1 -1
  539. package/train/train-wagon/train-wagon.component.js +1 -1
  540. package/train/train-wagon.js +1 -1
  541. package/train/train.js +1 -1
  542. package/train-blocked-passage.component-D3mbnoQ4.js +23 -0
  543. package/train-formation.component-DoNKUil3.js +121 -0
  544. package/{train-wagon.component-bGA2a-0M.js → train-wagon.component-CLrqgGwH.js} +1 -1
  545. package/{train.component-V6FLqC82.js → train.component-COPys5v7.js} +1 -1
  546. package/train.js +4 -4
  547. package/train.pure.js +4 -4
  548. package/visual-checkbox/visual-checkbox.component.js +1 -1
  549. package/{visual-checkbox.component-eajUDpKu.js → visual-checkbox.component-CiAaB_Yc.js} +1 -1
  550. package/visual-checkbox.js +1 -1
  551. package/visual-checkbox.pure.js +1 -1
  552. package/action-group.component-KWugkMGf.js +0 -158
  553. package/block-link-common-BMTrbSfi.js +0 -63
  554. package/breadcrumb.component-DjkZzGJD.js +0 -24
  555. package/card-badge.component-D_PI9Ega.js +0 -65
  556. package/card.component-Dt2YFmd3.js +0 -62
  557. package/chip.component-DMB36gvC.js +0 -94
  558. package/common-CI_BB6sF.js +0 -5
  559. package/development/header.component-DEw_zC-n.js +0 -446
  560. package/development/popover.component-DCJdrVsB.js +0 -746
  561. package/development/signet.component-B9nY5tTL.js +0 -188
  562. package/dialog-actions.component-QvbasYxg.js +0 -17
  563. package/dialog-title.component-BDHYjDn0.js +0 -17
  564. package/expansion-panel-content.component-DCl4nQ8V.js +0 -29
  565. package/expansion-panel-header.component-jc1Ty5jz.js +0 -56
  566. package/flip-card-summary.component-DVa7wF7x.js +0 -65
  567. package/footer.component-C-mSrCud.js +0 -129
  568. package/header-action-common-W_j0KPr-.js +0 -62
  569. package/header-environment.component-DduyZo6W.js +0 -36
  570. package/header.component-DW23EnaO.js +0 -203
  571. package/inline-link-common-DANB-hT-.js +0 -18
  572. package/lead-container.component-D9VzZCQa.js +0 -27
  573. package/link-common-akQv_-UR.js +0 -52
  574. package/link-list-anchor.component-Qm7h2mHK.js +0 -18
  575. package/link-list.component-C8zrqHYc.js +0 -78
  576. package/loading-indicator-circle.component-DfjVqe7n.js +0 -62
  577. package/loading-indicator.component-DkYs30Nf.js +0 -92
  578. package/map-container.component-C_wbi6WL.js +0 -128
  579. package/menu-action-common-vt9j6nkG.js +0 -29
  580. package/navigation-action-common-D_-gGOYm.js +0 -64
  581. package/notification.component-Cor1vQGU.js +0 -197
  582. package/option-hint.component-kPdwK61Z.js +0 -23
  583. package/option.component-DF9ZTj12.js +0 -98
  584. package/paginator.component-CsSs5q4D.js +0 -206
  585. package/radio-button-common-QHPueQrm.js +0 -77
  586. package/selection-action-panel.component-QfR2kPeM.js +0 -35
  587. package/signet.component-Kwdy4Uor.js +0 -101
  588. package/step-label.component-DTkviH8Q.js +0 -82
  589. package/sticky-bar.component-BqZVKHc7.js +0 -141
  590. package/styles-CsBiCI23.js +0 -5
  591. package/styles-DYZWSKeo.js +0 -5
  592. package/tab-label.component-BnxPGws1.js +0 -165
  593. package/tag.component-CfK6JwsO.js +0 -170
  594. package/teaser-hero.component-DjodzcX_.js +0 -80
  595. package/teaser-product-common-DkumwiRA.js +0 -62
  596. package/teaser.component-C7sJLVMk.js +0 -91
  597. package/timetable-form-details.component-DI5Mr8-O.js +0 -16
  598. package/timetable-form-field.component-2kEWygEC.js +0 -32
  599. package/toggle-check.component-CPewUjOg.js +0 -119
  600. package/train-blocked-passage.component-RIMoX91U.js +0 -23
  601. package/train-formation.component-B17tc6cx.js +0 -121
@@ -1,188 +0,0 @@
1
- import { __esDecorate, __runInitializers } from "tslib";
2
- import { css, html } from "lit";
3
- import { property } from "lit/decorators.js";
4
- import { SbbElement } from "./core/base-elements.js";
5
- import { forceType } from "./core/decorators.js";
6
- import { boxSizingStyles } from "./core/styles.js";
7
- //#region src/elements/signet/signet.scss?lit&inline
8
- var signet_default = css`:host {
9
- display: block;
10
- height: var(--sbb-signet-height);
11
- --sbb-signet-background-color: var(--sbb-color-brand);
12
- --sbb-signet-panel-color: var(--sbb-color-brand);
13
- --sbb-signet-icon-color: var(--sbb-color-white);
14
- --sbb-signet-aspect-ratio: 2 / 1;
15
- --sbb-signet-svg-container-height: auto;
16
- }
17
- @media (forced-colors: active) {
18
- :host {
19
- --sbb-signet-background-color: ButtonText !important;
20
- --sbb-signet-panel-color: ButtonText !important;
21
- --sbb-signet-icon-color: Canvas !important;
22
- }
23
- }
24
-
25
- :host([protective-room=minimal]) {
26
- --sbb-signet-aspect-ratio: 108 / 64;
27
- --sbb-signet-svg-container-height: calc(44 / 64 * 100%);
28
- }
29
-
30
- :host([protective-room=ideal]) {
31
- --sbb-signet-aspect-ratio: 128 / 84;
32
- --sbb-signet-svg-container-height: calc(44 / 84 * 100%);
33
- }
34
-
35
- :host([protective-room=panel]) {
36
- --sbb-signet-aspect-ratio: 143 / 48;
37
- --sbb-signet-background-color: unset;
38
- }
39
- @media (forced-colors: active) {
40
- :host([protective-room=panel]) {
41
- --sbb-signet-background-color: unset !important;
42
- }
43
- }
44
-
45
- .sbb-signet {
46
- display: flex;
47
- align-items: center;
48
- justify-content: center;
49
- background-color: var(--sbb-signet-background-color);
50
- aspect-ratio: var(--sbb-signet-aspect-ratio);
51
- width: 100%;
52
- height: 100%;
53
- }
54
-
55
- .sbb-signet .sbb-signet__svg-container {
56
- display: flex;
57
- height: var(--sbb-signet-svg-container-height);
58
- }
59
-
60
- .sbb-signet svg {
61
- width: 100%;
62
- height: 100%;
63
- }
64
-
65
- #sbb-signet__panel {
66
- fill: var(--sbb-signet-panel-color);
67
- stroke: var(--sbb-signet-panel-color);
68
- }
69
-
70
- #sbb-signet__icon {
71
- fill: var(--sbb-signet-icon-color);
72
- }`;
73
- //#endregion
74
- //#region src/elements/signet/signet.component.ts
75
- /**
76
- * It displays the SBB signet.
77
- *
78
- * @cssprop [--sbb-signet-height=auto] - Can be used to set the height of the signet.
79
- */
80
- var SbbSignetElement = (() => {
81
- let _classSuper = SbbElement;
82
- let _protectiveRoom_decorators;
83
- let _protectiveRoom_initializers = [];
84
- let _protectiveRoom_extraInitializers = [];
85
- let _accessibilityLabel_decorators;
86
- let _accessibilityLabel_initializers = [];
87
- let _accessibilityLabel_extraInitializers = [];
88
- return class SbbSignetElement extends _classSuper {
89
- static {
90
- const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
91
- _protectiveRoom_decorators = [property({
92
- attribute: "protective-room",
93
- reflect: true
94
- })];
95
- _accessibilityLabel_decorators = [forceType(), property({ attribute: "accessibility-label" })];
96
- __esDecorate(this, null, _protectiveRoom_decorators, {
97
- kind: "accessor",
98
- name: "protectiveRoom",
99
- static: false,
100
- private: false,
101
- access: {
102
- has: (obj) => "protectiveRoom" in obj,
103
- get: (obj) => obj.protectiveRoom,
104
- set: (obj, value) => {
105
- obj.protectiveRoom = value;
106
- }
107
- },
108
- metadata: _metadata
109
- }, _protectiveRoom_initializers, _protectiveRoom_extraInitializers);
110
- __esDecorate(this, null, _accessibilityLabel_decorators, {
111
- kind: "accessor",
112
- name: "accessibilityLabel",
113
- static: false,
114
- private: false,
115
- access: {
116
- has: (obj) => "accessibilityLabel" in obj,
117
- get: (obj) => obj.accessibilityLabel,
118
- set: (obj, value) => {
119
- obj.accessibilityLabel = value;
120
- }
121
- },
122
- metadata: _metadata
123
- }, _accessibilityLabel_initializers, _accessibilityLabel_extraInitializers);
124
- if (_metadata) Object.defineProperty(this, Symbol.metadata, {
125
- enumerable: true,
126
- configurable: true,
127
- writable: true,
128
- value: _metadata
129
- });
130
- }
131
- static {
132
- this.elementName = "sbb-signet";
133
- }
134
- static {
135
- this.styles = [boxSizingStyles, signet_default];
136
- }
137
- #protectiveRoom_accessor_storage = __runInitializers(this, _protectiveRoom_initializers, "ideal");
138
- /** Visual protective room around signet. */
139
- get protectiveRoom() {
140
- return this.#protectiveRoom_accessor_storage;
141
- }
142
- set protectiveRoom(value) {
143
- this.#protectiveRoom_accessor_storage = value;
144
- }
145
- #accessibilityLabel_accessor_storage = (__runInitializers(this, _protectiveRoom_extraInitializers), __runInitializers(this, _accessibilityLabel_initializers, "Logo"));
146
- /** Accessibility label which will be forwarded to the inner SVG signet. */
147
- get accessibilityLabel() {
148
- return this.#accessibilityLabel_accessor_storage;
149
- }
150
- set accessibilityLabel(value) {
151
- this.#accessibilityLabel_accessor_storage = value;
152
- }
153
- render() {
154
- return html`
155
- <span class="sbb-signet">
156
- <span class="sbb-signet__svg-container">
157
- ${this.protectiveRoom === "panel" ? html`
158
- <svg focusable="false" viewBox="0 0 143 48" xmlns="http://www.w3.org/2000/svg">
159
- <title .textContent=${this.accessibilityLabel}></title>
160
- <path id="sbb-signet__panel" stroke-width="1" d="M1 47h141V1H1v46z"></path>
161
- <path
162
- id="sbb-signet__icon"
163
- d="M87 40h9.3L83.8 27.7h15.5V40h7.4V27.7h15.6L109.7 40h9.3l16-16-15.9-16h-9.3l12.5 12.3h-15.6V8h-7.4v12.3H83.8L96.3 8H87L71 24l16 16z"
164
- ></path>
165
- </svg>
166
- ` : html`
167
- <svg focusable="false" viewBox="0 0 80 40" xmlns="http://www.w3.org/2000/svg">
168
- <title .textContent=${this.accessibilityLabel}></title>
169
- <path
170
- id="sbb-signet__icon"
171
- d="M20.0265 40H31.6821L16 24.6154H35.3907V40H44.6093V24.6154H64.106L48.4238 40H60.0795L80 20.0531L60.0795 0H48.4238L64.106 15.3846H44.6093V0H35.3907V15.3846H16L31.6821 0H20.0265L0 20.0531L20.0265 40Z"
172
- ></path>
173
- </svg>
174
- `}
175
- </span>
176
- </span>
177
- `;
178
- }
179
- constructor() {
180
- super(...arguments);
181
- __runInitializers(this, _accessibilityLabel_extraInitializers);
182
- }
183
- };
184
- })();
185
- //#endregion
186
- export { SbbSignetElement as t };
187
-
188
- //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lnbmV0LmNvbXBvbmVudC1COW5ZNXRUTC5qcyIsIm5hbWVzIjpbXSwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZWxlbWVudHMvc2lnbmV0L3NpZ25ldC5zY3NzP2xpdCZpbmxpbmUiLCIuLi8uLi8uLi9zcmMvZWxlbWVudHMvc2lnbmV0L3NpZ25ldC5jb21wb25lbnQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiQHVzZSAnLi4vY29yZS9zdHlsZXMnIGFzIHNiYjtcblxuOmhvc3Qge1xuICBkaXNwbGF5OiBibG9jaztcbiAgaGVpZ2h0OiB2YXIoLS1zYmItc2lnbmV0LWhlaWdodCk7XG5cbiAgLS1zYmItc2lnbmV0LWJhY2tncm91bmQtY29sb3I6IHZhcigtLXNiYi1jb2xvci1icmFuZCk7XG4gIC0tc2JiLXNpZ25ldC1wYW5lbC1jb2xvcjogdmFyKC0tc2JiLWNvbG9yLWJyYW5kKTtcbiAgLS1zYmItc2lnbmV0LWljb24tY29sb3I6IHZhcigtLXNiYi1jb2xvci13aGl0ZSk7XG4gIC0tc2JiLXNpZ25ldC1hc3BlY3QtcmF0aW86IDIgLyAxO1xuICAtLXNiYi1zaWduZXQtc3ZnLWNvbnRhaW5lci1oZWlnaHQ6IGF1dG87XG5cbiAgQGluY2x1ZGUgc2JiLmlmLWZvcmNlZC1jb2xvcnMge1xuICAgIC0tc2JiLXNpZ25ldC1iYWNrZ3JvdW5kLWNvbG9yOiBCdXR0b25UZXh0ICFpbXBvcnRhbnQ7XG4gICAgLS1zYmItc2lnbmV0LXBhbmVsLWNvbG9yOiBCdXR0b25UZXh0ICFpbXBvcnRhbnQ7X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WxgXG4gICAgICA8c3BhbiBjbGFzcz1cInNiYi1zaWduZXRcIj5cbiAgICAgICAgPHNwYW4gY2xhc3M9XCJzYmItc2lnbmV0X19zdmctY29udGFpbmVyXCI+XG4gICAgICAgICAgJHt0aGlzLnByb3RlY3RpdmVSb29tID09PSAncGFuZWwnXG4gICAgICAgICAgICA/IGh0bWxgXG4gICAgICAgICAgICAgICAgPHN2ZyBmb2N1c2FibGU9XCJmYWxzZVwiIHZpZXdCb3g9XCIwIDAgMTQzIDQ4XCIgeG1sbnM9XCJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Z1wiPlxuICAgICAgICAgICAgICAgICAgPHRpdGxlIC50ZXh0Q29udGVudD0ke3RoaXMuYWNjZXNzaWJpbGl0eUxhYmVsfT48L3RpdGxlPlxuICAgICAgICAgICAgICAgICAgPHBhdGggaWQ9XCJzYmItc2lnbmV0X19wYW5lbFwiIHN0cm9rZS13aWR0aD1cIjFcIiBkPVwiTTEgNDdoMTQxVjFIMXY0NnpcIj48L3BhdGg+XG4gICAgICAgICAgICAgICAgICA8cGF0aFxuICAgICAgICAgICAgICAgICAgICBpZD1cInNiYi1zaWduZXRfX2ljb25cIlxuICAgICAgICAgICAgICAgICAgICBkPVwiTTg3IDQwaDkuM0w4My44IDI3LjdoMTUuNVY0MGg3LjRWMjcuN2gxNS42TDEwOS43IDQwaDkuM2wxNi0xNi0xNS45LTE2aC05LjNsMTIuNSAxMi4zaC0xNS42VjhoLTcuNHYxMi4zSDgzLjhMOTYuMyA4SDg3TDcxIDI0bDE2IDE2elwiXG4gICAgICAgICAgICAgICAgICA+PC9wYXRoPlxuICAgICAgICAgICAgICAgIDwvc3ZnPlxuICAgICAgICAgICAgICBgXG4gICAgICAgICAgICA6IGh0bWxgXG4gICAgICAgICAgICAgICAgPHN2ZyBmb2N1c2FibGU9XCJmYWxzZVwiIHZpZXdCb3g9XCIwIDAgODAgNDBcIiB4bWxucz1cImh0dHA6Ly93d3cudzMub3JnLzIwMDAv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UJBQWtCLE9BQUE7QUFBQSxTQUFBLHNDQUFBOztFQUVmLFNBQU07QUFDdkIsVUFBTyxJQUFJOzs7WUFHSCxLQUFLLG1CQUFtQixVQUN0QixJQUFJOzt3Q0FFc0IsS0FBSyxtQkFBa0I7Ozs7Ozs7a0JBUWpELElBQUk7O3dDQUVzQixLQUFLLG1CQUFrQiJ9
@@ -1,17 +0,0 @@
1
- import { css as e } from "lit";
2
- import { isLean as t } from "./core/dom/lean-context.js";
3
- import { SbbActionGroupElement as n } from "./action-group.js";
4
- //#region src/elements/dialog/dialog-actions/dialog-actions.scss?lit&inline
5
- var r = e`:host{padding-inline:var(--sbb-dialog-padding-inline);padding-block:var(--sbb-dialog-padding-block);background-color:var(--sbb-dialog-background-color);transition:box-shadow var(--sbb-animation-easing) var(--sbb-dialog-shadow-animation-duration);box-shadow:var(--sbb-dialog-block-end-box-shadow,none);grid-area:actions;margin-block-start:auto;position:relative}:host:before{content:"";border-block-start:var(--sbb-border-width-1x) solid var(--sbb-dialog-actions-border-color);transition:border-color var(--sbb-animation-easing) var(--sbb-dialog-shadow-animation-duration);align-self:start;width:100%;display:block;position:absolute;inset:0 auto auto 0}@media (forced-colors:active){:host:before{border-color:canvastext}}`, i = class extends n {
6
- static {
7
- this.elementName = "sbb-dialog-actions";
8
- }
9
- static {
10
- this.styles = [n.styles, r];
11
- }
12
- constructor() {
13
- super(), this.buttonSize = t() ? "s" : "m", this.linkSize = t() ? "xs" : "s";
14
- }
15
- };
16
- //#endregion
17
- export { i as t };
@@ -1,17 +0,0 @@
1
- import { css as e } from "lit";
2
- import { SbbNegativeMixin as t } from "./core/mixins.js";
3
- import { SbbTitleBase as n } from "./title.js";
4
- //#region src/elements/dialog/dialog-title/dialog-title.scss?lit&inline
5
- var r = e`:host{padding-block:var(--sbb-dialog-padding-block);padding-inline:var(--sbb-dialog-padding-inline);-webkit-hyphens:auto;hyphens:auto;grid-area:title;display:block;position:relative}:host([negative]){--sbb-title-text-color-normal:var(--sbb-color-3-negative)}:host:after{content:"";pointer-events:none;transition:box-shadow var(--sbb-animation-easing) var(--sbb-dialog-shadow-animation-duration);box-shadow:var(--sbb-dialog-block-start-box-shadow,none);display:block;position:absolute;inset:0 -10rem 0 0}`, i = class extends t(n) {
6
- static {
7
- this.elementName = "sbb-dialog-title";
8
- }
9
- static {
10
- this.styles = [n.styles, r];
11
- }
12
- constructor() {
13
- super(), this.level = "2", this.visualLevel = "4";
14
- }
15
- };
16
- //#endregion
17
- export { i as t };
@@ -1,29 +0,0 @@
1
- import { css as e, html as t } from "lit";
2
- import { SbbElement as n } from "./core/base-elements.js";
3
- import { boxSizingStyles as r } from "./core/styles.js";
4
- import { SbbPropertyWatcherController as i } from "./core/controllers.js";
5
- //#region src/elements/expansion-panel/expansion-panel-content/expansion-panel-content.scss?lit&inline
6
- var a = e`:host{--sbb-expansion-panel-content-padding-inline-start:var(--sbb-expansion-panel-content-padding-inline);padding-block-end:var(--sbb-expansion-panel-content-padding-block-end);padding-inline:var(--sbb-expansion-panel-content-padding-inline-start) var(--sbb-expansion-panel-content-padding-inline);display:block}:host(:is(:state(size-s),[state--size-s])){--sbb-expansion-panel-content-padding-inline:var(--sbb-expansion-panel-content-padding-inline-s)}:host(:is(:state(size-l),[state--size-l])){--sbb-expansion-panel-content-padding-inline:var(--sbb-expansion-panel-content-padding-inline-l)}:host(:not(:is(:state(size-s),[state--size-s]),:is(:state(size-l),[state--size-l]))){--sbb-expansion-panel-content-padding-inline:var(--sbb-expansion-panel-content-padding-inline-default)}@media (width>=37.5rem){:host(:is(:state(icon-space),[state--icon-space])){--sbb-expansion-panel-content-padding-inline-start:calc(var(--sbb-expansion-panel-content-padding-inline) + var(--sbb-expansion-panel-icon-size) + var(--sbb-expansion-panel-title-gap))}}::slotted(:is(p,sbb-title):first-child){margin-block-start:0}`, o = class extends n {
7
- static {
8
- this.elementName = "sbb-expansion-panel-content";
9
- }
10
- static {
11
- this.role = "region";
12
- }
13
- static {
14
- this.styles = [r, a];
15
- }
16
- constructor() {
17
- super(), this.addController(new i(this, () => this.closest("sbb-expansion-panel"), { size: (e) => {
18
- this._previousSize && this.internals.states.delete(`size-${this._previousSize}`), this._previousSize = e.size, this._previousSize && this.internals.states.add(`size-${this._previousSize}`);
19
- } }));
20
- }
21
- connectedCallback() {
22
- super.connectedCallback(), this.slot ||= "content";
23
- }
24
- render() {
25
- return t` <slot></slot> `;
26
- }
27
- };
28
- //#endregion
29
- export { o as t };
@@ -1,56 +0,0 @@
1
- import { css as e, html as t, nothing as n } from "lit";
2
- import { SbbButtonBaseElement as r } from "./core/base-elements.js";
3
- import { SbbDisabledTabIndexActionMixin as i, ɵstateController as a } from "./core/mixins.js";
4
- import { boxSizingStyles as o } from "./core/styles.js";
5
- import { SbbMediaMatcherController as s, SbbMediaQueryHover as c, SbbPropertyWatcherController as l } from "./core/controllers.js";
6
- import { SbbIconNameMixin as u } from "./icon.js";
7
- //#region src/elements/expansion-panel/expansion-panel-header/expansion-panel-header.scss?lit&inline
8
- var d = e`:host{display:block}:host(:is(:state(size-s),[state--size-s])){--sbb-expansion-panel-header-gap:var(--sbb-expansion-panel-header-gap-s);--sbb-expansion-panel-header-padding-block:var(--sbb-expansion-panel-header-padding-block-s);--sbb-expansion-panel-header-padding-inline:var(--sbb-expansion-panel-header-padding-inline-s)}:host(:is(:state(size-l),[state--size-l])){--sbb-expansion-panel-header-gap:var(--sbb-expansion-panel-header-gap-l);--sbb-expansion-panel-header-padding-block:var(--sbb-expansion-panel-header-padding-block-l);--sbb-expansion-panel-header-padding-inline:var(--sbb-expansion-panel-header-padding-inline-l)}:host(:not(:is(:state(size-s),[state--size-s]),:is(:state(size-l),[state--size-l]))){--sbb-expansion-panel-header-gap:var(--sbb-expansion-panel-header-gap-default);--sbb-expansion-panel-header-padding-block:var(--sbb-expansion-panel-header-padding-block-default);--sbb-expansion-panel-header-padding-inline:var(--sbb-expansion-panel-header-padding-inline-default)}:host(:is(:disabled,[disabled-interactive])){--sbb-expansion-panel-header-cursor:var(--sbb-cursor-default);--sbb-expansion-panel-header-text-color:var(--lightningcss-light,var(--sbb-color-granite))var(--lightningcss-dark,var(--sbb-color-storm))}@media (forced-colors:active){:host(:is(:disabled,[disabled-interactive])){--sbb-expansion-panel-header-text-color:GrayText}}:host(:focus-visible){outline-offset:var(--sbb-focus-outline-offset);outline:var(--sbb-focus-outline-color) var(--sbb-focus-outline-style,solid) var(--sbb-focus-outline-width);outline-offset:var(--sbb-spacing-fixed-1x);border-radius:var(--sbb-expansion-panel-border-radius)}.sbb-expansion-panel-header{justify-content:var(--sbb-expansion-panel-header-justify-content);align-items:center;gap:var(--sbb-expansion-panel-header-gap);width:100%;padding:var(--sbb-expansion-panel-header-padding-block) var(--sbb-expansion-panel-header-padding-inline);text-align:start;cursor:var(--sbb-expansion-panel-header-cursor);color:var(--sbb-expansion-panel-header-text-color);font-size:var(--sbb-expansion-panel-header-font-size);letter-spacing:var(--sbb-typo-letter-spacing-text);-webkit-tap-highlight-color:transparent;font-weight:400;display:flex}.sbb-expansion-panel-header__title,.sbb-expansion-panel-header__toggle,.sbb-expansion-panel-header__icon{display:flex}.sbb-expansion-panel-header__icon{width:var(--sbb-expansion-panel-icon-size);--sbb-icon-svg-width:var(--sbb-expansion-panel-icon-size);--sbb-icon-svg-height:var(--sbb-expansion-panel-icon-size)}:host(:not(:is(:state(slotted-icon),[state--slotted-icon]),:is(:state(has-icon-name),[state--has-icon-name]))) .sbb-expansion-panel-header__icon{display:none}.sbb-expansion-panel-header__title{align-items:center;gap:var(--sbb-expansion-panel-title-gap);min-height:var(--sbb-size-icon-ui-medium);overflow:hidden}.sbb-expansion-panel-header__toggle-icon{transition:transform var(--sbb-disable-animation-duration,var(--sbb-animation-duration-4x))}:host([aria-expanded]:not([aria-expanded=false])) .sbb-expansion-panel-header__toggle-icon{transform:rotate(-180deg)}`, f = class extends i(u(r)) {
9
- static {
10
- this.elementName = "sbb-expansion-panel-header";
11
- }
12
- static {
13
- this.styles = [o, d];
14
- }
15
- static {
16
- this.events = { toggleexpanded: "toggleexpanded" };
17
- }
18
- constructor() {
19
- super(), this._mediaMatcher = new s(this, { [c]: (e) => this._isHover = e }), this._isHover = this._mediaMatcher.matches(c) ?? !1, this.addEventListener?.("click", () => this._emitExpandedEvent()), this.addEventListener?.("mouseenter", () => this._onMouseMovement(!0)), this.addEventListener?.("mouseleave", () => this._onMouseMovement(!1)), this.addEventListener?.("slottedchange", () => this._setIconState()), this.addController(new l(this, () => this.closest("sbb-expansion-panel"), { size: (e) => {
20
- this._previousSize && this.internals.states.delete(`size-${this._previousSize}`), this._previousSize = e.size, this._previousSize && this.internals.states.add(`size-${this._previousSize}`);
21
- } }));
22
- }
23
- connectedCallback() {
24
- super.connectedCallback(), this.slot ||= "header";
25
- }
26
- _emitExpandedEvent() {
27
- this.disabled || this.dispatchEvent(new Event("toggleexpanded", {
28
- bubbles: !0,
29
- composed: !0
30
- }));
31
- }
32
- _onMouseMovement(e) {
33
- let t = this.closest("sbb-expansion-panel");
34
- (!e || t && this._isHover) && a(t).toggle("toggle-hover", e);
35
- }
36
- _setIconState() {
37
- this.toggleState("icon", !!(this.iconName || this.internals.states.has("icon")));
38
- }
39
- renderTemplate() {
40
- return this._setIconState(), t`
41
- <span class="sbb-expansion-panel-header__title">
42
- <span class="sbb-expansion-panel-header__icon"> ${this.renderIconSlot()} </span>
43
- <slot></slot>
44
- </span>
45
- ${this.disabled ? n : t`<span class="sbb-expansion-panel-header__toggle">
46
- <sbb-icon
47
- name="chevron-small-down-medium"
48
- class="sbb-expansion-panel-header__toggle-icon"
49
- >
50
- </sbb-icon>
51
- </span>`}
52
- `;
53
- }
54
- };
55
- //#endregion
56
- export { f as t };
@@ -1,65 +0,0 @@
1
- import { __esDecorate as e, __runInitializers as t } from "tslib";
2
- import { css as n, html as r } from "lit";
3
- import { property as i } from "lit/decorators.js";
4
- import { SbbElement as a } from "./core/base-elements.js";
5
- import { boxSizingStyles as o } from "./core/styles.js";
6
- //#region src/elements/flip-card/flip-card-summary/flip-card-summary.scss?lit&inline
7
- var s = n`:host{min-height:var(--sbb-flip-card-min-height);pointer-events:var(--sbb-flip-card-summary-pointer-events,all);opacity:var(--sbb-flip-card-summary-opacity,1);border-radius:var(--sbb-flip-card-border-radius);width:100%;height:100%;transition:all var(--sbb-flip-card-summary-transition-duration) ease-out;transition-delay:var(--sbb-flip-card-summary-transition-delay);grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr);display:grid;overflow:hidden}@media (width>=37.5rem){:host([image-alignment=after]){grid-template-rows:1fr;grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width>=64rem){:host([image-alignment=after]){grid-template-rows:1fr;grid-template-columns:repeat(2,minmax(0,1fr))}}::slotted(sbb-title){padding-inline:var(--sbb-flip-card-padding);padding-block:var(--sbb-flip-card-padding) var(--sbb-flip-card-padding-block-end);grid-area:1/1/2/2;margin:0}@media (width>=37.5rem){:host([image-alignment=after]) ::slotted(sbb-title){grid-area:1/1/2/3}}@media (width>=64rem){:host([image-alignment=after]) ::slotted(sbb-title){grid-area:1/1/2/2}}::slotted(:not([slot=image])){transform:translateY(var(--sbb-flip-card-translate-title-y-hover,0rem));transition:transform var(--sbb-disable-animation-duration,var(--sbb-animation-duration-2x)) var(--sbb-animation-easing)}.sbb-flip-card-summary--image-wrapper{grid-area:2/1/3/2}@media (width>=37.5rem){:host([image-alignment=after]) .sbb-flip-card-summary--image-wrapper{grid-area:1/3/2/4}}@media (width>=64rem){:host([image-alignment=after]) .sbb-flip-card-summary--image-wrapper{grid-area:1/2/2/3}}::slotted([slot=image]){width:100%;height:100%}`, c = (() => {
8
- let n = a, c, l = [], u = [];
9
- return class extends n {
10
- static {
11
- let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(n[Symbol.metadata] ?? null) : void 0;
12
- c = [i({
13
- attribute: "image-alignment",
14
- reflect: !0
15
- })], e(this, null, c, {
16
- kind: "accessor",
17
- name: "imageAlignment",
18
- static: !1,
19
- private: !1,
20
- access: {
21
- has: (e) => "imageAlignment" in e,
22
- get: (e) => e.imageAlignment,
23
- set: (e, t) => {
24
- e.imageAlignment = t;
25
- }
26
- },
27
- metadata: t
28
- }, l, u), t && Object.defineProperty(this, Symbol.metadata, {
29
- enumerable: !0,
30
- configurable: !0,
31
- writable: !0,
32
- value: t
33
- });
34
- }
35
- static {
36
- this.elementName = "sbb-flip-card-summary";
37
- }
38
- static {
39
- this.styles = [o, s];
40
- }
41
- #e = t(this, l, "after");
42
- get imageAlignment() {
43
- return this.#e;
44
- }
45
- set imageAlignment(e) {
46
- this.#e = e;
47
- }
48
- connectedCallback() {
49
- super.connectedCallback(), this.slot ||= "summary";
50
- }
51
- render() {
52
- return r`
53
- <slot></slot>
54
- <div class="sbb-flip-card-summary--image-wrapper">
55
- <slot name="image"></slot>
56
- </div>
57
- `;
58
- }
59
- constructor() {
60
- super(...arguments), t(this, u);
61
- }
62
- };
63
- })();
64
- //#endregion
65
- export { c as t };
@@ -1,129 +0,0 @@
1
- import { __esDecorate as e, __runInitializers as t } from "tslib";
2
- import { css as n, nothing as r } from "lit";
3
- import { property as i } from "lit/decorators.js";
4
- import { SbbElement as a } from "./core/base-elements.js";
5
- import { forceType as o } from "./core/decorators.js";
6
- import { SbbNegativeMixin as s } from "./core/mixins.js";
7
- import { boxSizingStyles as c } from "./core/styles.js";
8
- import { html as l, unsafeStatic as u } from "lit/static-html.js";
9
- //#region src/elements/footer/footer.scss?lit&inline
10
- var d = n`:host{--sbb-link-text-decoration-line:none;display:block}:host([negative]){--sbb-footer-background-color:var(--sbb-background-color-2-negative);--sbb-footer-color:var(--sbb-color-1-negative);--sbb-focus-outline-color:var(--sbb-focus-outline-color-dark)}.sbb-footer{font-size:var(--sbb-footer-font-size);letter-spacing:var(--sbb-typo-letter-spacing-text);color:var(--sbb-footer-color);padding-block:var(--sbb-footer-padding-block);background-color:var(--sbb-footer-background-color)}@media (forced-colors:active){.sbb-footer{border-block-start:var(--sbb-border-width-1x) solid CanvasText}}:host(:not([expanded])) .sbb-footer-wrapper{padding-inline:var(--sbb-page-spacing-padding,var(--sbb-layout-base-offset-responsive));width:100%;margin-inline:auto}@media (width>=90rem){:host(:not([expanded])) .sbb-footer-wrapper{max-width:var(--sbb-spacing-max-width,calc(var(--sbb-layout-base-page-max-width) + 2 * var(--sbb-layout-base-offset-responsive)))}}:host([expanded]) .sbb-footer-wrapper{padding-inline:var(--sbb-page-spacing-padding,var(--sbb-spacing-responsive-xxs))}.sbb-footer__title{clip-path:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}::slotted(.sbb-link-list-button-group){gap:var(--sbb-spacing-fixed-6x);flex-direction:column;align-items:flex-start;display:flex}:host([variant=clock-columns]) slot{column-gap:var(--sbb-footer-gap-horizontal);grid-template-rows:auto;grid-template-columns:auto;display:grid}@media (width>=37.5rem){:host([variant=clock-columns]) slot{grid-template-columns:calc(50% - var(--sbb-footer-gap-horizontal) / 2)}}@media (width>=90rem){:host([variant=clock-columns]) slot{max-width:var(--sbb-footer-content-max-width);grid-template-columns:repeat(4,1fr);margin-inline:auto}}:host([variant=clock-columns]) ::slotted(:not(:last-child,sbb-divider)){margin-block-end:var(--sbb-footer-gap-vertical)}:host([variant=clock-columns]) ::slotted(sbb-clock){width:var(--sbb-footer-clock-width);grid-row:1}@media (width>=37.5rem){:host([variant=clock-columns]) ::slotted(sbb-clock){grid-row:2;align-self:start}}@media (width>=90rem){:host([variant=clock-columns]) ::slotted(sbb-clock){grid-area:1/4/auto/5;justify-self:end}}:host([variant=clock-columns]) ::slotted(sbb-divider){margin-block:calc(var(--sbb-spacing-responsive-xl) - var(--sbb-footer-gap-vertical)) var(--sbb-spacing-responsive-s)}@media (width>=37.5rem){:host([variant=clock-columns]) ::slotted(sbb-divider){grid-area:3/1/auto/4;width:100%}}@media (width>=90rem){:host([variant=clock-columns]) ::slotted(sbb-divider){grid-row:2}}@media (width>=37.5rem){:host([variant=clock-columns]) ::slotted(:nth-child(-n+2)){grid-row:1}:host([variant=clock-columns]) ::slotted(:nth-child(3)),:host([variant=clock-columns]) ::slotted(:nth-child(4)){grid-row:2}:host([variant=clock-columns]) ::slotted(:last-child){grid-row:4}}@media (width>=64rem){:host([variant=clock-columns]) ::slotted(:last-child){grid-column:1/4}}@media (width>=90rem){:host([variant=clock-columns]) ::slotted(:nth-child(-n+4)){grid-row:1}:host([variant=clock-columns]) ::slotted(:last-child){grid-row:3}:host([variant=clock-columns]) ::slotted(sbb-divider),:host([variant=clock-columns]) ::slotted(:last-child){grid-column:1/5}}`, f = (() => {
11
- let n = s(a), f, p = [], m = [], h, g = [], _ = [], v, y = [], b = [], x, S = [], C = [];
12
- return class extends n {
13
- static {
14
- let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(n[Symbol.metadata] ?? null) : void 0;
15
- f = [i({ reflect: !0 })], h = [o(), i({
16
- reflect: !0,
17
- type: Boolean
18
- })], v = [o(), i({ attribute: "accessibility-title" })], x = [i({ attribute: "accessibility-title-level" })], e(this, null, f, {
19
- kind: "accessor",
20
- name: "variant",
21
- static: !1,
22
- private: !1,
23
- access: {
24
- has: (e) => "variant" in e,
25
- get: (e) => e.variant,
26
- set: (e, t) => {
27
- e.variant = t;
28
- }
29
- },
30
- metadata: t
31
- }, p, m), e(this, null, h, {
32
- kind: "accessor",
33
- name: "expanded",
34
- static: !1,
35
- private: !1,
36
- access: {
37
- has: (e) => "expanded" in e,
38
- get: (e) => e.expanded,
39
- set: (e, t) => {
40
- e.expanded = t;
41
- }
42
- },
43
- metadata: t
44
- }, g, _), e(this, null, v, {
45
- kind: "accessor",
46
- name: "accessibilityTitle",
47
- static: !1,
48
- private: !1,
49
- access: {
50
- has: (e) => "accessibilityTitle" in e,
51
- get: (e) => e.accessibilityTitle,
52
- set: (e, t) => {
53
- e.accessibilityTitle = t;
54
- }
55
- },
56
- metadata: t
57
- }, y, b), e(this, null, x, {
58
- kind: "accessor",
59
- name: "accessibilityTitleLevel",
60
- static: !1,
61
- private: !1,
62
- access: {
63
- has: (e) => "accessibilityTitleLevel" in e,
64
- get: (e) => e.accessibilityTitleLevel,
65
- set: (e, t) => {
66
- e.accessibilityTitleLevel = t;
67
- }
68
- },
69
- metadata: t
70
- }, S, C), t && Object.defineProperty(this, Symbol.metadata, {
71
- enumerable: !0,
72
- configurable: !0,
73
- writable: !0,
74
- value: t
75
- });
76
- }
77
- static {
78
- this.elementName = "sbb-footer";
79
- }
80
- static {
81
- this.styles = [c, d];
82
- }
83
- #e = t(this, p, "default");
84
- get variant() {
85
- return this.#e;
86
- }
87
- set variant(e) {
88
- this.#e = e;
89
- }
90
- #t = (t(this, m), t(this, g, !1));
91
- get expanded() {
92
- return this.#t;
93
- }
94
- set expanded(e) {
95
- this.#t = e;
96
- }
97
- #n = (t(this, _), t(this, y, ""));
98
- get accessibilityTitle() {
99
- return this.#n;
100
- }
101
- set accessibilityTitle(e) {
102
- this.#n = e;
103
- }
104
- #r = (t(this, b), t(this, S, "1"));
105
- get accessibilityTitleLevel() {
106
- return this.#r;
107
- }
108
- set accessibilityTitleLevel(e) {
109
- this.#r = e;
110
- }
111
- render() {
112
- let e = `h${this.accessibilityTitleLevel}`, t = l`<${u(e)} class="sbb-footer__title"
113
- >${this.accessibilityTitle}</${u(e)}>`;
114
- return l`
115
- <footer class="sbb-footer">
116
- <div class="sbb-footer-wrapper">
117
- ${this.accessibilityTitle ? t : r}
118
- <slot></slot>
119
- </div>
120
- </footer>
121
- `;
122
- }
123
- constructor() {
124
- super(...arguments), t(this, C);
125
- }
126
- };
127
- })();
128
- //#endregion
129
- export { f as t };
@@ -1,62 +0,0 @@
1
- import { __esDecorate as e, __runInitializers as t } from "tslib";
2
- import { css as n } from "lit";
3
- import { property as r } from "lit/decorators.js";
4
- import { boxSizingStyles as i } from "./core/styles.js";
5
- import { html as a } from "lit/static-html.js";
6
- import { SbbIconNameMixin as o } from "./icon.js";
7
- //#region src/elements/header/common/header-action.scss?lit&inline
8
- var s = n`:host{--sbb-header-action-active-border-margin-inline:var(--sbb-header-action-padding-inline);--sbb-header-action-min-width:var(--sbb-header-action-min-height);--sbb-header-action-transition-duration:var(--sbb-disable-animation-duration,var(--sbb-animation-duration-2x));--_sbb-header-first-item-padding-shift:calc(-1 * var(--sbb-header-action-padding-inline));--sbb-header-first-item-margin-inline-start:calc(var(--_sbb-header-first-item-padding-shift) - var(--sbb-header-first-item-icon-shift));display:inline-block;outline:none!important}@media (any-hover:hover){:host(:hover:not(:active,:is(:state(active),[state--active]))){--sbb-header-action-background-color:var(--sbb-background-color-3);--sbb-header-action-translate-y:-.0625rem;--sbb-header-action-background-inset:calc(var(--sbb-border-width-2x) * -1)}}@media (any-hover:hover) and (forced-colors:active){:host(:hover:not(:active,:is(:state(active),[state--active]))){--sbb-header-action-border-color:Highlight}}:host(:is(:active,:is(:state(active),[state--active]))){--sbb-header-action-background-color:var(--sbb-background-color-4)}@media (forced-colors:active){:host(:is(:active,:is(:state(active),[state--active]))){--sbb-header-action-border-color:Highlight}}:host(.sbb-active){--sbb-header-action-active-border-scale:1}@media (forced-colors:active){:host(.sbb-active){--sbb-header-action-border-color:Highlight}:host(:is(:state(button),[state--button])){--sbb-header-action-color:ButtonText}}:host(:not(:is(:state(slotted-icon),[state--slotted-icon]),:is(:state(has-icon-name),[state--has-icon-name]))){--sbb-header-first-item-margin-inline-start:var(--_sbb-header-first-item-padding-shift)}.sbb-action-base{font-family:inherit;font-weight:inherit;line-height:inherit;letter-spacing:inherit;font-size:inherit;text-align:inherit;color:var(--sbb-header-action-color);min-height:var(--sbb-header-action-min-height);min-width:var(--sbb-header-action-min-width);padding-inline:var(--sbb-header-action-padding-inline-zero,var(--sbb-header-action-padding-inline));cursor:var(--sbb-cursor-pointer);-webkit-user-select:none;user-select:none;outline:none;justify-content:center;align-items:center;text-decoration:none;display:flex;position:relative}.sbb-action-base:before{content:"";inset:var(--sbb-header-action-background-inset,0);border-radius:var(--sbb-border-radius-infinity);background-color:var(--sbb-header-action-background-color);transition-duration:var(--sbb-header-action-transition-duration);transition-timing-function:var(--sbb-header-action-transition-easing);border:var(--sbb-border-width-1x) solid var(--sbb-header-action-border-color);transition-property:inset,background-color;position:absolute}@media (forced-colors:active){.sbb-action-base:before{border-width:var(--sbb-border-width-2x)}}:host(:focus-visible) .sbb-action-base:before,.sbb-action-base:focus-visible:before{outline-offset:var(--sbb-focus-outline-offset);outline:var(--sbb-focus-outline-color) var(--sbb-focus-outline-style,solid) var(--sbb-focus-outline-width)}.sbb-action-base:after{content:"";border-block-end:var(--sbb-header-action-active-border-width) solid var(--sbb-header-action-active-border-color);inset:auto 0 calc(-1 * var(--sbb-header-action-active-border-width));margin-inline:var(--sbb-header-action-active-border-margin-inline);scale:var(--sbb-header-action-active-border-scale,0);transition:scale var(--sbb-header-action-transition-easing) var(--sbb-header-action-transition-duration);position:absolute}.sbb-header-action__wrapper{align-items:center;gap:var(--sbb-header-action-gap);white-space:nowrap;transform:translateY(var(--sbb-header-action-translate-y,0));transition:transform var(--sbb-header-action-transition-duration) var(--sbb-header-action-transition-easing);will-change:transform;max-width:100%;display:flex}.sbb-header-action__icon{--sbb-icon-svg-stroke-color:currentcolor;--sbb-icon-svg-stroke-width:1px;min-width:var(--sbb-header-action-icon-dimension);min-height:var(--sbb-header-action-icon-dimension);line-height:0}:host(:not(:is(:state(slotted-icon),[state--slotted-icon]),:is(:state(has-icon-name),[state--has-icon-name]))) .sbb-header-action__icon{display:none}.sbb-header-action__text{--sbb-text-font-size:var(--sbb-text-font-size-xs);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);white-space:nowrap;text-overflow:ellipsis;font-weight:700;display:block;overflow:hidden}:host(:not(:is(:state(slotted),[state--slotted]))) .sbb-header-action__text{display:none}:host(:is(:is(:state(slotted-icon),[state--slotted-icon]),:is(:state(has-icon-name),[state--has-icon-name])):not(:is(:state(slotted),[state--slotted]))){--_sbb-header-first-item-padding-shift:calc(-.5 * (var(--sbb-header-action-min-width) - var(--sbb-header-action-icon-dimension)));--sbb-header-action-padding-inline-zero:0;--sbb-header-action-active-border-margin-inline:calc(.5 * (100% - var(--sbb-size-icon-ui-small)))}:host(:is(:is(:state(slotted-icon),[state--slotted-icon]),:is(:state(has-icon-name),[state--has-icon-name])):not(:is(:state(slotted),[state--slotted]))) .sbb-header-action__text{clip-path:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;display:flex;position:absolute;overflow:hidden}@media (width<=37.4375rem){:host([expand-from=small]:is(:is(:state(slotted-icon),[state--slotted-icon]),:is(:state(has-icon-name),[state--has-icon-name])):is(:state(slotted),[state--slotted])){--_sbb-header-first-item-padding-shift:calc(-.5 * (var(--sbb-header-action-min-width) - var(--sbb-header-action-icon-dimension)));--sbb-header-action-padding-inline-zero:0;--sbb-header-action-active-border-margin-inline:calc(.5 * (100% - var(--sbb-size-icon-ui-small)))}:host([expand-from=small]:is(:is(:state(slotted-icon),[state--slotted-icon]),:is(:state(has-icon-name),[state--has-icon-name])):is(:state(slotted),[state--slotted])) .sbb-header-action__text{clip-path:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;display:flex;position:absolute;overflow:hidden}}@media (width<=63.9375rem){:host([expand-from=large]:is(:is(:state(slotted-icon),[state--slotted-icon]),:is(:state(has-icon-name),[state--has-icon-name])):is(:state(slotted),[state--slotted])){--_sbb-header-first-item-padding-shift:calc(-.5 * (var(--sbb-header-action-min-width) - var(--sbb-header-action-icon-dimension)));--sbb-header-action-padding-inline-zero:0;--sbb-header-action-active-border-margin-inline:calc(.5 * (100% - var(--sbb-size-icon-ui-small)))}:host([expand-from=large]:is(:is(:state(slotted-icon),[state--slotted-icon]),:is(:state(has-icon-name),[state--has-icon-name])):is(:state(slotted),[state--slotted])) .sbb-header-action__text{clip-path:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;display:flex;position:absolute;overflow:hidden}}@media (width<=89.9375rem){:host([expand-from=ultra]:is(:is(:state(slotted-icon),[state--slotted-icon]),:is(:state(has-icon-name),[state--has-icon-name])):is(:state(slotted),[state--slotted])){--_sbb-header-first-item-padding-shift:calc(-.5 * (var(--sbb-header-action-min-width) - var(--sbb-header-action-icon-dimension)));--sbb-header-action-padding-inline-zero:0;--sbb-header-action-active-border-margin-inline:calc(.5 * (100% - var(--sbb-size-icon-ui-small)))}:host([expand-from=ultra]:is(:is(:state(slotted-icon),[state--slotted-icon]),:is(:state(has-icon-name),[state--has-icon-name])):is(:state(slotted),[state--slotted])) .sbb-header-action__text{clip-path:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;display:flex;position:absolute;overflow:hidden}}@media (width<=98.9375rem){:host([expand-from=ultra--max-content]:is(:is(:state(slotted-icon),[state--slotted-icon]),:is(:state(has-icon-name),[state--has-icon-name])):is(:state(slotted),[state--slotted])){--_sbb-header-first-item-padding-shift:calc(-.5 * (var(--sbb-header-action-min-width) - var(--sbb-header-action-icon-dimension)));--sbb-header-action-padding-inline-zero:0;--sbb-header-action-active-border-margin-inline:calc(.5 * (100% - var(--sbb-size-icon-ui-small)))}:host([expand-from=ultra--max-content]:is(:is(:state(slotted-icon),[state--slotted-icon]),:is(:state(has-icon-name),[state--has-icon-name])):is(:state(slotted),[state--slotted])) .sbb-header-action__text{clip-path:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;display:flex;position:absolute;overflow:hidden}}::slotted([slot=icon]:is(sbb-image,img)){width:var(--sbb-header-action-icon-dimension);height:var(--sbb-header-action-icon-dimension);border-radius:var(--sbb-border-radius-infinity)}`, c = (n) => (() => {
9
- let c = o(n), l, u = [], d = [];
10
- return class extends c {
11
- static {
12
- let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(c[Symbol.metadata] ?? null) : void 0;
13
- l = [r({
14
- attribute: "expand-from",
15
- reflect: !0
16
- })], e(this, null, l, {
17
- kind: "accessor",
18
- name: "expandFrom",
19
- static: !1,
20
- private: !1,
21
- access: {
22
- has: (e) => "expandFrom" in e,
23
- get: (e) => e.expandFrom,
24
- set: (e, t) => {
25
- e.expandFrom = t;
26
- }
27
- },
28
- metadata: t
29
- }, u, d), t && Object.defineProperty(this, Symbol.metadata, {
30
- enumerable: !0,
31
- configurable: !0,
32
- writable: !0,
33
- value: t
34
- });
35
- }
36
- static {
37
- this.styles = [i, s];
38
- }
39
- #e = t(this, u, "large");
40
- get expandFrom() {
41
- return this.#e;
42
- }
43
- set expandFrom(e) {
44
- this.#e = e;
45
- }
46
- renderTemplate() {
47
- return a`
48
- <span class="sbb-header-action__wrapper">
49
- <span class="sbb-header-action__icon"> ${super.renderIconSlot()} </span>
50
- <span class="sbb-header-action__text">
51
- <slot></slot>
52
- </span>
53
- </span>
54
- `;
55
- }
56
- constructor() {
57
- super(...arguments), t(this, d);
58
- }
59
- };
60
- })();
61
- //#endregion
62
- export { c as t };
@@ -1,36 +0,0 @@
1
- import { css as e, html as t } from "lit";
2
- import { SbbElement as n } from "./core/base-elements.js";
3
- import { boxSizingStyles as r } from "./core/styles.js";
4
- import { MutationController as i } from "@lit-labs/observers/mutation-controller.js";
5
- //#region src/elements/header/header-environment/header-environment.scss?lit&inline
6
- var a = e`:host{font-size:var(--sbb-text-font-size-xxs);letter-spacing:var(--sbb-typo-letter-spacing-text);justify-content:center;align-items:center;font-weight:700;display:flex;position:absolute;inset-block-start:0;inset-inline-end:0}:host(:dir(rtl)){--sbb-header-environment-rotate:-45deg}:host(:is(:state(env-dev),[state--env-dev])){--sbb-header-environment-background-color:var(--sbb-color-orange)}:host(:is(:state(env-edu),[state--env-edu])){--sbb-header-environment-background-color:var(--sbb-color-green)}:host(:is(:state(env-int),[state--env-int])),:host(:is(:state(env-inte),[state--env-inte])){--sbb-header-environment-background-color:var(--sbb-color-granite)}:host(:is(:state(env-loc),[state--env-loc])){--sbb-header-environment-background-color:var(--sbb-color-pink)}:host(:is(:state(env-test),[state--env-test])){--sbb-header-environment-background-color:var(--sbb-color-sky)}:host:before{content:"";border-block-start:var(--sbb-header-environment-size) solid var(--sbb-header-environment-background-color);border-inline-start:var(--sbb-header-environment-size) solid transparent}.sbb-header-environment__text{color:var(--sbb-header-environment-color);rotate:var(--sbb-header-environment-rotate);padding-block-end:var(--sbb-spacing-fixed-4x);position:absolute}`, o = class extends n {
7
- static {
8
- this.elementName = "sbb-header-environment";
9
- }
10
- static {
11
- this.styles = [r, a];
12
- }
13
- constructor() {
14
- super(), this._env = null, this.addController(new i(this, {
15
- config: {
16
- characterData: !0,
17
- subtree: !0
18
- },
19
- callback: () => {
20
- this._slottedTextChange();
21
- }
22
- }));
23
- }
24
- _slottedTextChange() {
25
- this._env && this.internals.states.delete(`env-${this._env}`), this._env = this.textContent?.trim() ?? "", this._env && this.internals.states.add(`env-${this._env}`);
26
- }
27
- render() {
28
- return t`
29
- <span class="sbb-header-environment__text">
30
- <slot></slot>
31
- </span>
32
- `;
33
- }
34
- };
35
- //#endregion
36
- export { o as t };