@sbb-esta/lyne-elements 3.13.0 → 4.0.0-next.1

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 (766) hide show
  1. package/accordion/accordion.component.d.ts.map +1 -1
  2. package/accordion/accordion.component.js +18 -17
  3. package/action-group/action-group.component.d.ts.map +1 -1
  4. package/action-group/action-group.component.js +52 -51
  5. package/alert/alert/alert.component.d.ts +1 -6
  6. package/alert/alert/alert.component.d.ts.map +1 -1
  7. package/alert/alert/alert.component.js +44 -55
  8. package/alert/alert-group/alert-group.component.d.ts.map +1 -1
  9. package/alert/alert-group/alert-group.component.js +21 -20
  10. package/autocomplete/autocomplete-base-element.d.ts.map +1 -1
  11. package/autocomplete/autocomplete-base-element.js +59 -58
  12. package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.d.ts.map +1 -1
  13. package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +26 -25
  14. package/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.d.ts.map +1 -1
  15. package/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.js +13 -12
  16. package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.d.ts.map +1 -1
  17. package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +8 -7
  18. package/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.d.ts.map +1 -1
  19. package/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js +6 -5
  20. package/breadcrumb/breadcrumb/breadcrumb.component.d.ts.map +1 -1
  21. package/breadcrumb/breadcrumb/breadcrumb.component.js +8 -8
  22. package/breadcrumb/breadcrumb-group/breadcrumb-group.component.d.ts.map +1 -1
  23. package/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +11 -10
  24. package/button/accent-button/accent-button.component.d.ts.map +1 -1
  25. package/button/accent-button/accent-button.component.js +12 -7
  26. package/button/accent-button-link/accent-button-link.component.d.ts.map +1 -1
  27. package/button/accent-button-link/accent-button-link.component.js +10 -5
  28. package/button/accent-button-static/accent-button-static.component.d.ts.map +1 -1
  29. package/button/accent-button-static/accent-button-static.component.js +13 -8
  30. package/button/button/button.component.d.ts.map +1 -1
  31. package/button/button/button.component.js +15 -10
  32. package/button/button-link/button-link.component.d.ts.map +1 -1
  33. package/button/button-link/button-link.component.js +14 -9
  34. package/button/button-static/button-static.component.d.ts.map +1 -1
  35. package/button/button-static/button-static.component.js +14 -9
  36. package/button/common/button-common.d.ts.map +1 -1
  37. package/button/common/button-common.js +12 -12
  38. package/button/common.d.ts.map +1 -1
  39. package/button/common.js +8 -7
  40. package/button/mini-button/mini-button.component.d.ts.map +1 -1
  41. package/button/mini-button/mini-button.component.js +19 -18
  42. package/button/mini-button-group/mini-button-group.component.d.ts.map +1 -1
  43. package/button/mini-button-group/mini-button-group.component.js +23 -22
  44. package/button/secondary-button/secondary-button.component.d.ts.map +1 -1
  45. package/button/secondary-button/secondary-button.component.js +12 -7
  46. package/button/secondary-button-link/secondary-button-link.component.d.ts.map +1 -1
  47. package/button/secondary-button-link/secondary-button-link.component.js +13 -8
  48. package/button/secondary-button-static/secondary-button-static.component.d.ts.map +1 -1
  49. package/button/secondary-button-static/secondary-button-static.component.js +14 -9
  50. package/button/transparent-button/transparent-button.component.d.ts.map +1 -1
  51. package/button/transparent-button/transparent-button.component.js +13 -8
  52. package/button/transparent-button-link/transparent-button-link.component.d.ts.map +1 -1
  53. package/button/transparent-button-link/transparent-button-link.component.js +13 -8
  54. package/button/transparent-button-static/transparent-button-static.component.d.ts.map +1 -1
  55. package/button/transparent-button-static/transparent-button-static.component.js +16 -11
  56. package/button.js +11 -10
  57. package/calendar/calendar.component.d.ts.map +1 -1
  58. package/calendar/calendar.component.js +26 -25
  59. package/card/card/card.component.d.ts.map +1 -1
  60. package/card/card/card.component.js +17 -16
  61. package/card/card-badge/card-badge.component.d.ts.map +1 -1
  62. package/card/card-badge/card-badge.component.js +17 -16
  63. package/card/common/card-action-common.d.ts.map +1 -1
  64. package/card/common/card-action-common.js +5 -4
  65. package/carousel/carousel/carousel.component.d.ts.map +1 -1
  66. package/carousel/carousel/carousel.component.js +33 -32
  67. package/carousel/carousel-item/carousel-item.component.js +8 -8
  68. package/carousel/carousel-list/carousel-list.component.js +4 -4
  69. package/checkbox/checkbox/checkbox.component.d.ts +1 -1
  70. package/checkbox/checkbox/checkbox.component.d.ts.map +1 -1
  71. package/checkbox/checkbox/checkbox.component.js +22 -17
  72. package/checkbox/checkbox-group/checkbox-group.component.d.ts +1 -1
  73. package/checkbox/checkbox-group/checkbox-group.component.d.ts.map +1 -1
  74. package/checkbox/checkbox-group/checkbox-group.component.js +37 -36
  75. package/checkbox/checkbox-panel/checkbox-panel.component.d.ts.map +1 -1
  76. package/checkbox/checkbox-panel/checkbox-panel.component.js +20 -15
  77. package/checkbox/common.js +1 -1
  78. package/checkbox-common-BGA_q9nc.js +5 -0
  79. package/checkbox.js +1 -1
  80. package/chip/chip/chip.component.d.ts.map +1 -1
  81. package/chip/chip/chip.component.js +20 -19
  82. package/chip/chip-group/chip-group.component.d.ts.map +1 -1
  83. package/chip/chip-group/chip-group.component.js +11 -10
  84. package/chip-label/chip-label.component.d.ts.map +1 -1
  85. package/chip-label/chip-label.component.js +5 -4
  86. package/clock/clock.component.d.ts.map +1 -1
  87. package/clock/clock.component.js +24 -23
  88. package/container/container/container.component.d.ts +3 -1
  89. package/container/container/container.component.d.ts.map +1 -1
  90. package/container/container/container.component.js +27 -25
  91. package/container/sticky-bar/sticky-bar.component.d.ts.map +1 -1
  92. package/container/sticky-bar/sticky-bar.component.js +25 -24
  93. package/core/controllers/media-matchers-controller.d.ts +2 -2
  94. package/core/controllers/media-matchers-controller.d.ts.map +1 -1
  95. package/core/controllers/media-matchers-controller.js +22 -22
  96. package/core/controllers/slot-state-controller.d.ts +26 -14
  97. package/core/controllers/slot-state-controller.d.ts.map +1 -1
  98. package/core/controllers/slot-state-controller.js +28 -22
  99. package/core/controllers.js +17 -16
  100. package/core/decorators.d.ts +0 -1
  101. package/core/decorators.d.ts.map +1 -1
  102. package/core/decorators.js +5 -7
  103. package/core/dom/breakpoint.d.ts +1 -1
  104. package/core/dom/breakpoint.d.ts.map +1 -1
  105. package/core/dom/breakpoint.js +4 -4
  106. package/core/i18n/i18n.js +6 -6
  107. package/core/interfaces/types.d.ts +1 -1
  108. package/core/interfaces/types.d.ts.map +1 -1
  109. package/core/mixins/element-internals-mixin.d.ts.map +1 -1
  110. package/core/mixins/element-internals-mixin.js +9 -8
  111. package/core/mixins.js +5 -5
  112. package/core/styles/_index.scss +0 -1
  113. package/core/styles/box-sizing.scss +3 -0
  114. package/core/styles/core/mediaqueries.scss +6 -12
  115. package/core/styles/core.scss +104 -98
  116. package/core/styles/mixins/buttons.scss +0 -171
  117. package/core/styles/mixins/card.scss +1 -2
  118. package/core/styles/mixins/lists.scss +1 -1
  119. package/core/styles/mixins/panel.scss +1 -1
  120. package/core/styles/{node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables_css--mixin.scss → node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables-as-css.scss} +194 -460
  121. package/core/styles/node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables.scss +10 -217
  122. package/core/styles.d.ts +4 -0
  123. package/core/styles.d.ts.map +1 -0
  124. package/core/styles.js +5 -0
  125. package/core.css +169 -490
  126. package/custom-elements.json +2854 -2200
  127. package/datepicker/datepicker/datepicker.component.d.ts +1 -1
  128. package/datepicker/datepicker/datepicker.component.d.ts.map +1 -1
  129. package/datepicker/datepicker-next-day/datepicker-next-day.component.d.ts.map +1 -1
  130. package/datepicker/datepicker-next-day/datepicker-next-day.component.js +24 -22
  131. package/datepicker/datepicker-previous-day/datepicker-previous-day.component.d.ts.map +1 -1
  132. package/datepicker/datepicker-previous-day/datepicker-previous-day.component.js +25 -23
  133. package/datepicker/datepicker-toggle/datepicker-toggle.component.d.ts.map +1 -1
  134. package/datepicker/datepicker-toggle/datepicker-toggle.component.js +29 -27
  135. package/development/accordion/accordion.component.d.ts.map +1 -1
  136. package/development/accordion/accordion.component.js +4 -9
  137. package/development/action-group/action-group.component.d.ts.map +1 -1
  138. package/development/action-group/action-group.component.js +5 -88
  139. package/development/alert/alert/alert.component.d.ts +1 -6
  140. package/development/alert/alert/alert.component.d.ts.map +1 -1
  141. package/development/alert/alert/alert.component.js +12 -35
  142. package/development/alert/alert-group/alert-group.component.d.ts.map +1 -1
  143. package/development/alert/alert-group/alert-group.component.js +4 -9
  144. package/development/autocomplete/autocomplete-base-element.d.ts.map +1 -1
  145. package/development/autocomplete/autocomplete-base-element.js +8 -13
  146. package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.d.ts.map +1 -1
  147. package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +7 -120
  148. package/development/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.d.ts.map +1 -1
  149. package/development/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.component.js +4 -9
  150. package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.d.ts.map +1 -1
  151. package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +5 -10
  152. package/development/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.d.ts.map +1 -1
  153. package/development/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js +4 -9
  154. package/development/breadcrumb/breadcrumb/breadcrumb.component.d.ts.map +1 -1
  155. package/development/breadcrumb/breadcrumb/breadcrumb.component.js +6 -12
  156. package/development/breadcrumb/breadcrumb-group/breadcrumb-group.component.d.ts.map +1 -1
  157. package/development/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +4 -9
  158. package/development/button/accent-button/accent-button.component.d.ts.map +1 -1
  159. package/development/button/accent-button/accent-button.component.js +7 -2
  160. package/development/button/accent-button-link/accent-button-link.component.d.ts.map +1 -1
  161. package/development/button/accent-button-link/accent-button-link.component.js +7 -2
  162. package/development/button/accent-button-static/accent-button-static.component.d.ts.map +1 -1
  163. package/development/button/accent-button-static/accent-button-static.component.js +7 -2
  164. package/development/button/button/button.component.d.ts.map +1 -1
  165. package/development/button/button/button.component.js +7 -2
  166. package/development/button/button-link/button-link.component.d.ts.map +1 -1
  167. package/development/button/button-link/button-link.component.js +7 -2
  168. package/development/button/button-static/button-static.component.d.ts.map +1 -1
  169. package/development/button/button-static/button-static.component.js +7 -2
  170. package/development/button/common/button-common.d.ts.map +1 -1
  171. package/development/button/common/button-common.js +3 -3
  172. package/development/button/common.d.ts.map +1 -1
  173. package/development/button/common.js +3 -2
  174. package/development/button/mini-button/mini-button.component.d.ts.map +1 -1
  175. package/development/button/mini-button/mini-button.component.js +11 -126
  176. package/development/button/mini-button-group/mini-button-group.component.d.ts.map +1 -1
  177. package/development/button/mini-button-group/mini-button-group.component.js +4 -9
  178. package/development/button/secondary-button/secondary-button.component.d.ts.map +1 -1
  179. package/development/button/secondary-button/secondary-button.component.js +7 -2
  180. package/development/button/secondary-button-link/secondary-button-link.component.d.ts.map +1 -1
  181. package/development/button/secondary-button-link/secondary-button-link.component.js +7 -2
  182. package/development/button/secondary-button-static/secondary-button-static.component.d.ts.map +1 -1
  183. package/development/button/secondary-button-static/secondary-button-static.component.js +7 -2
  184. package/development/button/transparent-button/transparent-button.component.d.ts.map +1 -1
  185. package/development/button/transparent-button/transparent-button.component.js +7 -2
  186. package/development/button/transparent-button-link/transparent-button-link.component.d.ts.map +1 -1
  187. package/development/button/transparent-button-link/transparent-button-link.component.js +7 -2
  188. package/development/button/transparent-button-static/transparent-button-static.component.d.ts.map +1 -1
  189. package/development/button/transparent-button-static/transparent-button-static.component.js +7 -2
  190. package/development/button.js +3 -2
  191. package/development/calendar/calendar.component.d.ts.map +1 -1
  192. package/development/calendar/calendar.component.js +8 -13
  193. package/development/card/card/card.component.d.ts.map +1 -1
  194. package/development/card/card/card.component.js +5 -10
  195. package/development/card/card-badge/card-badge.component.d.ts.map +1 -1
  196. package/development/card/card-badge/card-badge.component.js +4 -9
  197. package/development/card/common/card-action-common.d.ts.map +1 -1
  198. package/development/card/common/card-action-common.js +4 -9
  199. package/development/carousel/carousel/carousel.component.d.ts.map +1 -1
  200. package/development/carousel/carousel/carousel.component.js +5 -10
  201. package/development/carousel/carousel-item/carousel-item.component.js +2 -8
  202. package/development/carousel/carousel-list/carousel-list.component.js +2 -8
  203. package/development/checkbox/checkbox/checkbox.component.d.ts +1 -1
  204. package/development/checkbox/checkbox/checkbox.component.d.ts.map +1 -1
  205. package/development/checkbox/checkbox/checkbox.component.js +13 -8
  206. package/development/checkbox/checkbox-group/checkbox-group.component.d.ts +1 -1
  207. package/development/checkbox/checkbox-group/checkbox-group.component.d.ts.map +1 -1
  208. package/development/checkbox/checkbox-group/checkbox-group.component.js +9 -50
  209. package/development/checkbox/checkbox-panel/checkbox-panel.component.d.ts.map +1 -1
  210. package/development/checkbox/checkbox-panel/checkbox-panel.component.js +9 -4
  211. package/development/checkbox/common.js +1 -1
  212. package/development/{checkbox-common-Cq9DLK37.js → checkbox-common-BZFJgZd7.js} +1 -7
  213. package/development/checkbox.js +1 -1
  214. package/development/chip/chip/chip.component.d.ts.map +1 -1
  215. package/development/chip/chip/chip.component.js +9 -14
  216. package/development/chip/chip-group/chip-group.component.d.ts.map +1 -1
  217. package/development/chip/chip-group/chip-group.component.js +5 -10
  218. package/development/chip-label/chip-label.component.d.ts.map +1 -1
  219. package/development/chip-label/chip-label.component.js +4 -9
  220. package/development/clock/clock.component.d.ts.map +1 -1
  221. package/development/clock/clock.component.js +4 -9
  222. package/development/container/container/container.component.d.ts +3 -1
  223. package/development/container/container/container.component.d.ts.map +1 -1
  224. package/development/container/container/container.component.js +11 -15
  225. package/development/container/sticky-bar/sticky-bar.component.d.ts.map +1 -1
  226. package/development/container/sticky-bar/sticky-bar.component.js +5 -10
  227. package/development/core/controllers/media-matchers-controller.d.ts +2 -2
  228. package/development/core/controllers/media-matchers-controller.d.ts.map +1 -1
  229. package/development/core/controllers/media-matchers-controller.js +6 -6
  230. package/development/core/controllers/slot-state-controller.d.ts +26 -14
  231. package/development/core/controllers/slot-state-controller.d.ts.map +1 -1
  232. package/development/core/controllers/slot-state-controller.js +48 -41
  233. package/development/core/controllers.js +6 -5
  234. package/development/core/decorators.d.ts +0 -1
  235. package/development/core/decorators.d.ts.map +1 -1
  236. package/development/core/decorators.js +2 -4
  237. package/development/core/dom/breakpoint.d.ts +1 -1
  238. package/development/core/dom/breakpoint.d.ts.map +1 -1
  239. package/development/core/dom/breakpoint.js +2 -2
  240. package/development/core/i18n/i18n.js +7 -7
  241. package/development/core/interfaces/types.d.ts +1 -1
  242. package/development/core/interfaces/types.d.ts.map +1 -1
  243. package/development/core/mixins/element-internals-mixin.d.ts.map +1 -1
  244. package/development/core/mixins/element-internals-mixin.js +3 -1
  245. package/development/core/mixins.js +1 -1
  246. package/development/core/styles.d.ts +4 -0
  247. package/development/core/styles.d.ts.map +1 -0
  248. package/development/core/styles.js +10 -0
  249. package/development/datepicker/datepicker/datepicker.component.d.ts +1 -1
  250. package/development/datepicker/datepicker/datepicker.component.d.ts.map +1 -1
  251. package/development/datepicker/datepicker/datepicker.component.js +1 -1
  252. package/development/datepicker/datepicker-next-day/datepicker-next-day.component.d.ts.map +1 -1
  253. package/development/datepicker/datepicker-next-day/datepicker-next-day.component.js +5 -113
  254. package/development/datepicker/datepicker-previous-day/datepicker-previous-day.component.d.ts.map +1 -1
  255. package/development/datepicker/datepicker-previous-day/datepicker-previous-day.component.js +5 -113
  256. package/development/datepicker/datepicker-toggle/datepicker-toggle.component.d.ts.map +1 -1
  257. package/development/datepicker/datepicker-toggle/datepicker-toggle.component.js +5 -113
  258. package/development/dialog/dialog/dialog.component.d.ts +3 -4
  259. package/development/dialog/dialog/dialog.component.d.ts.map +1 -1
  260. package/development/dialog/dialog/dialog.component.js +53 -128
  261. package/development/dialog/dialog-actions/dialog-actions.component.d.ts +0 -1
  262. package/development/dialog/dialog-actions/dialog-actions.component.d.ts.map +1 -1
  263. package/development/dialog/dialog-actions/dialog-actions.component.js +4 -14
  264. package/development/dialog/dialog-close-button/dialog-close-button.component.d.ts +1 -1
  265. package/development/dialog/dialog-close-button/dialog-close-button.component.d.ts.map +1 -1
  266. package/development/dialog/dialog-close-button/dialog-close-button.component.js +9 -13
  267. package/development/dialog/dialog-content/dialog-content.component.d.ts +1 -0
  268. package/development/dialog/dialog-content/dialog-content.component.d.ts.map +1 -1
  269. package/development/dialog/dialog-content/dialog-content.component.js +15 -9
  270. package/development/dialog/dialog-title/dialog-title.component.d.ts +0 -1
  271. package/development/dialog/dialog-title/dialog-title.component.d.ts.map +1 -1
  272. package/development/dialog/dialog-title/dialog-title.component.js +14 -7
  273. package/development/divider/divider.component.d.ts.map +1 -1
  274. package/development/divider/divider.component.js +4 -9
  275. package/development/expansion-panel/expansion-panel/expansion-panel.component.d.ts.map +1 -1
  276. package/development/expansion-panel/expansion-panel/expansion-panel.component.js +5 -10
  277. package/development/expansion-panel/expansion-panel-content/expansion-panel-content.component.d.ts.map +1 -1
  278. package/development/expansion-panel/expansion-panel-content/expansion-panel-content.component.js +6 -11
  279. package/development/expansion-panel/expansion-panel-header/expansion-panel-header.component.d.ts +2 -3
  280. package/development/expansion-panel/expansion-panel-header/expansion-panel-header.component.d.ts.map +1 -1
  281. package/development/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +11 -16
  282. package/development/file-selector/common.js +1 -1
  283. package/development/file-selector/file-selector/file-selector.component.d.ts.map +1 -1
  284. package/development/file-selector/file-selector/file-selector.component.js +4 -4
  285. package/development/file-selector/file-selector-dropzone/file-selector-dropzone.component.d.ts.map +1 -1
  286. package/development/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +6 -11
  287. package/development/{file-selector-common-CRNAWFM_.js → file-selector-common-CsFa5XJ-.js} +3 -9
  288. package/development/file-selector.js +1 -1
  289. package/development/flip-card/flip-card/flip-card.component.d.ts.map +1 -1
  290. package/development/flip-card/flip-card/flip-card.component.js +7 -12
  291. package/development/flip-card/flip-card-details/flip-card-details.component.d.ts.map +1 -1
  292. package/development/flip-card/flip-card-details/flip-card-details.component.js +4 -9
  293. package/development/flip-card/flip-card-summary/flip-card-summary.component.d.ts.map +1 -1
  294. package/development/flip-card/flip-card-summary/flip-card-summary.component.js +7 -12
  295. package/development/footer/footer.component.d.ts.map +1 -1
  296. package/development/footer/footer.component.js +8 -13
  297. package/development/form-error/form-error.component.d.ts.map +1 -1
  298. package/development/form-error/form-error.component.js +4 -9
  299. package/development/form-field/form-field/form-field.component.d.ts.map +1 -1
  300. package/development/form-field/form-field/form-field.component.js +10 -15
  301. package/development/form-field/form-field-clear/form-field-clear.component.d.ts.map +1 -1
  302. package/development/form-field/form-field-clear/form-field-clear.component.js +6 -118
  303. package/development/header/common/header-action-common.d.ts.map +1 -1
  304. package/development/header/common/header-action-common.js +23 -108
  305. package/development/header/header/header.component.d.ts +1 -1
  306. package/development/header/header/header.component.d.ts.map +1 -1
  307. package/development/header/header/header.component.js +6 -11
  308. package/development/header/header-environment/header-environment.component.d.ts.map +1 -1
  309. package/development/header/header-environment/header-environment.component.js +4 -9
  310. package/development/icon/icon-base.d.ts.map +1 -1
  311. package/development/icon/icon-base.js +4 -9
  312. package/development/icon/icon-name-mixin.d.ts +3 -2
  313. package/development/icon/icon-name-mixin.d.ts.map +1 -1
  314. package/development/icon/icon-name-mixin.js +12 -3
  315. package/development/{icon-sidebar-button-common-CaOV-n8E.js → icon-sidebar-button-common-C6QChtaa.js} +4 -22
  316. package/development/image/image.component.d.ts +1 -1
  317. package/development/image/image.component.d.ts.map +1 -1
  318. package/development/image/image.component.js +7 -18
  319. package/development/journey-header/journey-header.component.d.ts.map +1 -1
  320. package/development/journey-header/journey-header.component.js +4 -9
  321. package/development/lead-container/lead-container.component.d.ts.map +1 -1
  322. package/development/lead-container/lead-container.component.js +6 -24
  323. package/development/link/common/block-link-common.d.ts.map +1 -1
  324. package/development/link/common/block-link-common.js +5 -4
  325. package/development/link/common/inline-link-common.d.ts.map +1 -1
  326. package/development/link/common/inline-link-common.js +4 -3
  327. package/development/link/common/link-common.d.ts.map +1 -1
  328. package/development/link/common/link-common.js +1 -1
  329. package/development/link/common.js +1 -1
  330. package/development/{link-common-B9KyXHCd.js → link-common-DYZHRSSJ.js} +4 -10
  331. package/development/link-list/common/link-list-base.d.ts.map +1 -1
  332. package/development/link-list/common/link-list-base.js +7 -15
  333. package/development/link-list/common.js +1 -1
  334. package/development/link-list/link-list/link-list.component.d.ts.map +1 -1
  335. package/development/link-list/link-list/link-list.component.js +3 -50
  336. package/development/link-list/link-list-anchor/link-list-anchor.component.d.ts.map +1 -1
  337. package/development/link-list/link-list-anchor/link-list-anchor.component.js +3 -2
  338. package/development/{link-list-base-DC9sc7q5.js → link-list-base-CJJ3qdD7.js} +3 -9
  339. package/development/link-list.js +1 -1
  340. package/development/link.js +1 -1
  341. package/development/loading-indicator/loading-indicator.component.d.ts.map +1 -1
  342. package/development/loading-indicator/loading-indicator.component.js +3 -8
  343. package/development/loading-indicator-circle/loading-indicator-circle.component.d.ts.map +1 -1
  344. package/development/loading-indicator-circle/loading-indicator-circle.component.js +4 -9
  345. package/development/logo/logo.component.d.ts.map +1 -1
  346. package/development/logo/logo.component.js +4 -9
  347. package/development/map-container/map-container.component.d.ts +1 -1
  348. package/development/map-container/map-container.component.d.ts.map +1 -1
  349. package/development/map-container/map-container.component.js +10 -15
  350. package/development/menu/common/menu-action-common.d.ts.map +1 -1
  351. package/development/menu/common/menu-action-common.js +12 -31
  352. package/development/menu/menu/menu.component.d.ts +1 -12
  353. package/development/menu/menu/menu.component.d.ts.map +1 -1
  354. package/development/menu/menu/menu.component.js +17 -65
  355. package/development/message/message.component.d.ts.map +1 -1
  356. package/development/message/message.component.js +4 -9
  357. package/development/{transparent-button-BUTXbd7W.js → mini-button-common-Di32bSJj.js} +112 -15
  358. package/development/mini-calendar/mini-calendar/mini-calendar.component.js +2 -8
  359. package/development/mini-calendar/mini-calendar-day/mini-calendar-day.component.js +2 -8
  360. package/development/mini-calendar/mini-calendar-month/mini-calendar-month.component.d.ts.map +1 -1
  361. package/development/mini-calendar/mini-calendar-month/mini-calendar-month.component.js +4 -9
  362. package/development/navigation/common/navigation-action-common.d.ts.map +1 -1
  363. package/development/navigation/common/navigation-action-common.js +4 -9
  364. package/development/navigation/navigation/navigation.component.d.ts.map +1 -1
  365. package/development/navigation/navigation/navigation.component.js +5 -15
  366. package/development/navigation/navigation-list/navigation-list.component.d.ts.map +1 -1
  367. package/development/navigation/navigation-list/navigation-list.component.js +9 -14
  368. package/development/navigation/navigation-marker/navigation-marker.component.d.ts.map +1 -1
  369. package/development/navigation/navigation-marker/navigation-marker.component.js +4 -9
  370. package/development/navigation/navigation-section/navigation-section.component.d.ts.map +1 -1
  371. package/development/navigation/navigation-section/navigation-section.component.js +10 -20
  372. package/development/notification/notification.component.d.ts +4 -2
  373. package/development/notification/notification.component.d.ts.map +1 -1
  374. package/development/notification/notification.component.js +22 -18
  375. package/development/option/optgroup/optgroup-base-element.d.ts.map +1 -1
  376. package/development/option/optgroup/optgroup-base-element.js +4 -9
  377. package/development/option/option/option-base-element.d.ts.map +1 -1
  378. package/development/option/option/option-base-element.js +5 -13
  379. package/development/option/option/option.component.d.ts.map +1 -1
  380. package/development/option/option/option.component.js +5 -10
  381. package/development/option/option-hint/option-hint.component.d.ts.map +1 -1
  382. package/development/option/option-hint/option-hint.component.js +4 -9
  383. package/development/overlay/overlay.component.d.ts.map +1 -1
  384. package/development/overlay/overlay.component.js +5 -10
  385. package/development/paginator/compact-paginator/compact-paginator.component.d.ts.map +1 -1
  386. package/development/paginator/compact-paginator/compact-paginator.component.js +4 -9
  387. package/development/paginator/paginator/paginator.component.d.ts.map +1 -1
  388. package/development/paginator/paginator/paginator.component.js +4 -9
  389. package/development/popover/popover/popover.component.d.ts +2 -0
  390. package/development/popover/popover/popover.component.d.ts.map +1 -1
  391. package/development/popover/popover/popover.component.js +20 -11
  392. package/development/popover.d.ts +0 -1
  393. package/development/popover.d.ts.map +1 -1
  394. package/development/popover.js +2 -4
  395. package/development/radio-button/common.js +1 -1
  396. package/development/radio-button/radio-button/radio-button.component.d.ts.map +1 -1
  397. package/development/radio-button/radio-button/radio-button.component.js +10 -11
  398. package/development/radio-button/radio-button-group/radio-button-group.component.d.ts.map +1 -1
  399. package/development/radio-button/radio-button-group/radio-button-group.component.js +7 -45
  400. package/development/radio-button/radio-button-panel/radio-button-panel.component.d.ts.map +1 -1
  401. package/development/radio-button/radio-button-panel/radio-button-panel.component.js +9 -4
  402. package/development/{radio-button-common-DWGEcWfZ.js → radio-button-common-5uawgCpB.js} +2 -8
  403. package/development/radio-button.js +1 -1
  404. package/development/sbb-tokens-DXgmy_b-.js +21 -0
  405. package/development/select/select.component.d.ts.map +1 -1
  406. package/development/select/select.component.js +8 -13
  407. package/development/selection-action-panel/selection-action-panel.component.d.ts.map +1 -1
  408. package/development/selection-action-panel/selection-action-panel.component.js +4 -9
  409. package/development/selection-expansion-panel/selection-expansion-panel.component.d.ts.map +1 -1
  410. package/development/selection-expansion-panel/selection-expansion-panel.component.js +9 -14
  411. package/development/sidebar/common.js +1 -1
  412. package/development/sidebar/icon-sidebar/icon-sidebar.component.js +2 -8
  413. package/development/sidebar/icon-sidebar-button/icon-sidebar-button.component.d.ts.map +1 -1
  414. package/development/sidebar/icon-sidebar-button/icon-sidebar-button.component.js +3 -2
  415. package/development/sidebar/icon-sidebar-link/icon-sidebar-link.component.d.ts.map +1 -1
  416. package/development/sidebar/icon-sidebar-link/icon-sidebar-link.component.js +3 -2
  417. package/development/sidebar/sidebar/sidebar.component.d.ts.map +1 -1
  418. package/development/sidebar/sidebar/sidebar.component.js +5 -10
  419. package/development/sidebar/sidebar-close-button/sidebar-close-button.component.d.ts +1 -0
  420. package/development/sidebar/sidebar-close-button/sidebar-close-button.component.d.ts.map +1 -1
  421. package/development/sidebar/sidebar-close-button/sidebar-close-button.component.js +5 -9
  422. package/development/sidebar/sidebar-container/sidebar-container.component.d.ts.map +1 -1
  423. package/development/sidebar/sidebar-container/sidebar-container.component.js +7 -2
  424. package/development/sidebar.js +1 -1
  425. package/development/signet/signet.component.d.ts.map +1 -1
  426. package/development/signet/signet.component.js +4 -9
  427. package/development/skiplink-list/skiplink-list.component.d.ts.map +1 -1
  428. package/development/skiplink-list/skiplink-list.component.js +5 -10
  429. package/development/slider/slider.component.d.ts.map +1 -1
  430. package/development/slider/slider.component.js +4 -9
  431. package/development/status/status.component.d.ts +2 -2
  432. package/development/status/status.component.d.ts.map +1 -1
  433. package/development/status/status.component.js +8 -16
  434. package/development/stepper/step/step.component.d.ts.map +1 -1
  435. package/development/stepper/step/step.component.js +4 -9
  436. package/development/stepper/step-label/step-label.component.d.ts.map +1 -1
  437. package/development/stepper/step-label/step-label.component.js +4 -9
  438. package/development/stepper/stepper/stepper.component.d.ts.map +1 -1
  439. package/development/stepper/stepper/stepper.component.js +4 -9
  440. package/development/table/table-wrapper/table-wrapper.component.js +2 -8
  441. package/development/tabs/tab/tab.component.js +1 -7
  442. package/development/tabs/tab-group/tab-group.component.d.ts.map +1 -1
  443. package/development/tabs/tab-group/tab-group.component.js +4 -9
  444. package/development/tabs/tab-label/tab-label.component.d.ts.map +1 -1
  445. package/development/tabs/tab-label/tab-label.component.js +9 -14
  446. package/development/tag/tag/tag.component.d.ts.map +1 -1
  447. package/development/tag/tag/tag.component.js +8 -13
  448. package/development/tag/tag-group/tag-group.component.d.ts.map +1 -1
  449. package/development/tag/tag-group/tag-group.component.js +4 -9
  450. package/development/teaser/teaser.component.d.ts.map +1 -1
  451. package/development/teaser/teaser.component.js +4 -9
  452. package/development/teaser-hero/teaser-hero.component.d.ts.map +1 -1
  453. package/development/teaser-hero/teaser-hero.component.js +8 -13
  454. package/development/teaser-product/common/teaser-product-common.d.ts.map +1 -1
  455. package/development/teaser-product/common/teaser-product-common.js +4 -13
  456. package/development/teaser-product/common.js +1 -1
  457. package/development/teaser-product/teaser-product/teaser-product.component.d.ts.map +1 -1
  458. package/development/teaser-product/teaser-product/teaser-product.component.js +7 -2
  459. package/development/teaser-product/teaser-product-static/teaser-product-static.component.d.ts.map +1 -1
  460. package/development/teaser-product/teaser-product-static/teaser-product-static.component.js +3 -2
  461. package/development/{teaser-product-common-DvlBRkE_.js → teaser-product-common-B1KK4iNu.js} +3 -9
  462. package/development/teaser-product.js +1 -1
  463. package/development/time-input/time-input.component.js +2 -8
  464. package/development/timetable-form/timetable-form/timetable-form.component.js +2 -8
  465. package/development/timetable-form/timetable-form-details/timetable-form-details.component.js +2 -8
  466. package/development/timetable-form/timetable-form-field/timetable-form-field.component.js +2 -8
  467. package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.d.ts +1 -0
  468. package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.d.ts.map +1 -1
  469. package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +5 -9
  470. package/development/timetable-occupancy/timetable-occupancy.component.d.ts.map +1 -1
  471. package/development/timetable-occupancy/timetable-occupancy.component.js +5 -10
  472. package/development/timetable-occupancy-icon/timetable-occupancy-icon.component.js +1 -1
  473. package/development/title/title-base.js +2 -8
  474. package/development/toast/toast.component.d.ts.map +1 -1
  475. package/development/toast/toast.component.js +4 -9
  476. package/development/toggle/toggle/toggle.component.d.ts.map +1 -1
  477. package/development/toggle/toggle/toggle.component.js +4 -9
  478. package/development/toggle/toggle-option/toggle-option.component.d.ts.map +1 -1
  479. package/development/toggle/toggle-option/toggle-option.component.js +6 -11
  480. package/development/toggle-check/toggle-check.component.d.ts +2 -3
  481. package/development/toggle-check/toggle-check.component.d.ts.map +1 -1
  482. package/development/toggle-check/toggle-check.component.js +13 -31
  483. package/development/tooltip/tooltip.component.d.ts.map +1 -1
  484. package/development/tooltip/tooltip.component.js +5 -10
  485. package/development/train/train/train.component.d.ts.map +1 -1
  486. package/development/train/train/train.component.js +4 -9
  487. package/development/train/train-blocked-passage/train-blocked-passage.component.d.ts.map +1 -1
  488. package/development/train/train-blocked-passage/train-blocked-passage.component.js +4 -9
  489. package/development/train/train-formation/train-formation.component.d.ts.map +1 -1
  490. package/development/train/train-formation/train-formation.component.js +4 -9
  491. package/development/train/train-wagon/train-wagon.component.d.ts.map +1 -1
  492. package/development/train/train-wagon/train-wagon.component.js +4 -9
  493. package/development/visual-checkbox/visual-checkbox.component.d.ts.map +1 -1
  494. package/development/visual-checkbox/visual-checkbox.component.js +4 -9
  495. package/dialog/dialog/dialog.component.d.ts +3 -4
  496. package/dialog/dialog/dialog.component.d.ts.map +1 -1
  497. package/dialog/dialog/dialog.component.js +70 -66
  498. package/dialog/dialog-actions/dialog-actions.component.d.ts +0 -1
  499. package/dialog/dialog-actions/dialog-actions.component.d.ts.map +1 -1
  500. package/dialog/dialog-actions/dialog-actions.component.js +7 -10
  501. package/dialog/dialog-close-button/dialog-close-button.component.d.ts +1 -1
  502. package/dialog/dialog-close-button/dialog-close-button.component.d.ts.map +1 -1
  503. package/dialog/dialog-close-button/dialog-close-button.component.js +21 -21
  504. package/dialog/dialog-content/dialog-content.component.d.ts +1 -0
  505. package/dialog/dialog-content/dialog-content.component.d.ts.map +1 -1
  506. package/dialog/dialog-content/dialog-content.component.js +14 -11
  507. package/dialog/dialog-title/dialog-title.component.d.ts +0 -1
  508. package/dialog/dialog-title/dialog-title.component.d.ts.map +1 -1
  509. package/dialog/dialog-title/dialog-title.component.js +11 -14
  510. package/divider/divider.component.d.ts.map +1 -1
  511. package/divider/divider.component.js +16 -15
  512. package/expansion-panel/expansion-panel/expansion-panel.component.d.ts.map +1 -1
  513. package/expansion-panel/expansion-panel/expansion-panel.component.js +18 -17
  514. package/expansion-panel/expansion-panel-content/expansion-panel-content.component.d.ts.map +1 -1
  515. package/expansion-panel/expansion-panel-content/expansion-panel-content.component.js +12 -11
  516. package/expansion-panel/expansion-panel-header/expansion-panel-header.component.d.ts +2 -3
  517. package/expansion-panel/expansion-panel-header/expansion-panel-header.component.d.ts.map +1 -1
  518. package/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +17 -16
  519. package/file-selector/common.js +1 -1
  520. package/file-selector/file-selector/file-selector.component.d.ts.map +1 -1
  521. package/file-selector/file-selector/file-selector.component.js +12 -12
  522. package/file-selector/file-selector-dropzone/file-selector-dropzone.component.d.ts.map +1 -1
  523. package/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +15 -14
  524. package/file-selector-common-CUp299VH.js +5 -0
  525. package/file-selector.js +1 -1
  526. package/flip-card/flip-card/flip-card.component.d.ts.map +1 -1
  527. package/flip-card/flip-card/flip-card.component.js +8 -7
  528. package/flip-card/flip-card-details/flip-card-details.component.d.ts.map +1 -1
  529. package/flip-card/flip-card-details/flip-card-details.component.js +13 -12
  530. package/flip-card/flip-card-summary/flip-card-summary.component.d.ts.map +1 -1
  531. package/flip-card/flip-card-summary/flip-card-summary.component.js +5 -4
  532. package/footer/footer.component.d.ts.map +1 -1
  533. package/footer/footer.component.js +5 -4
  534. package/form-error/form-error.component.d.ts.map +1 -1
  535. package/form-error/form-error.component.js +10 -9
  536. package/form-field/form-field/form-field.component.d.ts.map +1 -1
  537. package/form-field/form-field/form-field.component.js +17 -16
  538. package/form-field/form-field-clear/form-field-clear.component.d.ts.map +1 -1
  539. package/form-field/form-field-clear/form-field-clear.component.js +18 -17
  540. package/header/common/header-action-common.d.ts.map +1 -1
  541. package/header/common/header-action-common.js +27 -27
  542. package/header/header/header.component.d.ts +1 -1
  543. package/header/header/header.component.d.ts.map +1 -1
  544. package/header/header/header.component.js +39 -38
  545. package/header/header-environment/header-environment.component.d.ts.map +1 -1
  546. package/header/header-environment/header-environment.component.js +5 -4
  547. package/icon/icon-base.d.ts.map +1 -1
  548. package/icon/icon-base.js +22 -21
  549. package/icon/icon-name-mixin.d.ts +3 -2
  550. package/icon/icon-name-mixin.d.ts.map +1 -1
  551. package/icon/icon-name-mixin.js +30 -22
  552. package/icon-sidebar-button-common-W6GYJbVt.js +7 -0
  553. package/image/image.component.d.ts +1 -1
  554. package/image/image.component.d.ts.map +1 -1
  555. package/image/image.component.js +72 -77
  556. package/index.d.ts +0 -3
  557. package/index.js +0 -3
  558. package/journey-header/journey-header.component.d.ts.map +1 -1
  559. package/journey-header/journey-header.component.js +19 -18
  560. package/lead-container/lead-container.component.d.ts.map +1 -1
  561. package/lead-container/lead-container.component.js +8 -7
  562. package/link/common/block-link-common.d.ts.map +1 -1
  563. package/link/common/block-link-common.js +14 -13
  564. package/link/common/inline-link-common.d.ts.map +1 -1
  565. package/link/common/inline-link-common.js +7 -6
  566. package/link/common/link-common.d.ts.map +1 -1
  567. package/link/common/link-common.js +1 -1
  568. package/link/common.js +1 -1
  569. package/link-common-CdQBSga7.js +46 -0
  570. package/link-list/common/link-list-base.d.ts.map +1 -1
  571. package/link-list/common/link-list-base.js +34 -34
  572. package/link-list/common.js +1 -1
  573. package/link-list/link-list/link-list.component.d.ts.map +1 -1
  574. package/link-list/link-list/link-list.component.js +23 -22
  575. package/link-list/link-list-anchor/link-list-anchor.component.d.ts.map +1 -1
  576. package/link-list/link-list-anchor/link-list-anchor.component.js +11 -10
  577. package/link-list-base-3v7CHEei.js +5 -0
  578. package/link-list.js +1 -1
  579. package/link.js +1 -1
  580. package/lists.css +1 -1
  581. package/loading-indicator/loading-indicator.component.d.ts.map +1 -1
  582. package/loading-indicator/loading-indicator.component.js +9 -8
  583. package/loading-indicator-circle/loading-indicator-circle.component.d.ts.map +1 -1
  584. package/loading-indicator-circle/loading-indicator-circle.component.js +8 -7
  585. package/logo/logo.component.d.ts.map +1 -1
  586. package/logo/logo.component.js +10 -9
  587. package/map-container/map-container.component.d.ts +1 -1
  588. package/map-container/map-container.component.d.ts.map +1 -1
  589. package/map-container/map-container.component.js +21 -20
  590. package/menu/common/menu-action-common.d.ts.map +1 -1
  591. package/menu/common/menu-action-common.js +14 -17
  592. package/menu/menu/menu.component.d.ts +1 -12
  593. package/menu/menu/menu.component.d.ts.map +1 -1
  594. package/menu/menu/menu.component.js +62 -82
  595. package/message/message.component.d.ts.map +1 -1
  596. package/message/message.component.js +5 -4
  597. package/mini-button-common-DBnJfrBZ.js +10 -0
  598. package/mini-calendar/mini-calendar/mini-calendar.component.js +7 -7
  599. package/mini-calendar/mini-calendar-day/mini-calendar-day.component.js +10 -10
  600. package/mini-calendar/mini-calendar-month/mini-calendar-month.component.d.ts.map +1 -1
  601. package/mini-calendar/mini-calendar-month/mini-calendar-month.component.js +13 -12
  602. package/navigation/common/navigation-action-common.d.ts.map +1 -1
  603. package/navigation/common/navigation-action-common.js +4 -3
  604. package/navigation/navigation/navigation.component.d.ts.map +1 -1
  605. package/navigation/navigation/navigation.component.js +10 -9
  606. package/navigation/navigation-list/navigation-list.component.d.ts.map +1 -1
  607. package/navigation/navigation-list/navigation-list.component.js +17 -16
  608. package/navigation/navigation-marker/navigation-marker.component.d.ts.map +1 -1
  609. package/navigation/navigation-marker/navigation-marker.component.js +11 -10
  610. package/navigation/navigation-section/navigation-section.component.d.ts.map +1 -1
  611. package/navigation/navigation-section/navigation-section.component.js +7 -6
  612. package/notification/notification.component.d.ts +4 -2
  613. package/notification/notification.component.d.ts.map +1 -1
  614. package/notification/notification.component.js +37 -35
  615. package/off-brand-theme.css +170 -491
  616. package/option/optgroup/optgroup-base-element.d.ts.map +1 -1
  617. package/option/optgroup/optgroup-base-element.js +25 -24
  618. package/option/option/option-base-element.d.ts.map +1 -1
  619. package/option/option/option-base-element.js +58 -59
  620. package/option/option/option.component.d.ts.map +1 -1
  621. package/option/option/option.component.js +23 -22
  622. package/option/option-hint/option-hint.component.d.ts.map +1 -1
  623. package/option/option-hint/option-hint.component.js +5 -4
  624. package/overlay/overlay.component.d.ts.map +1 -1
  625. package/overlay/overlay.component.js +10 -9
  626. package/package.json +6 -6
  627. package/paginator/compact-paginator/compact-paginator.component.d.ts.map +1 -1
  628. package/paginator/compact-paginator/compact-paginator.component.js +9 -8
  629. package/paginator/paginator/paginator.component.d.ts.map +1 -1
  630. package/paginator/paginator/paginator.component.js +7 -6
  631. package/popover/popover/popover.component.d.ts +2 -0
  632. package/popover/popover/popover.component.d.ts.map +1 -1
  633. package/popover/popover/popover.component.js +76 -65
  634. package/popover.d.ts +0 -1
  635. package/popover.d.ts.map +1 -1
  636. package/popover.js +3 -5
  637. package/radio-button/common.js +1 -1
  638. package/radio-button/radio-button/radio-button.component.d.ts.map +1 -1
  639. package/radio-button/radio-button/radio-button.component.js +28 -23
  640. package/radio-button/radio-button-group/radio-button-group.component.d.ts.map +1 -1
  641. package/radio-button/radio-button-group/radio-button-group.component.js +47 -46
  642. package/radio-button/radio-button-panel/radio-button-panel.component.d.ts.map +1 -1
  643. package/radio-button/radio-button-panel/radio-button-panel.component.js +19 -14
  644. package/radio-button-common-BT3VkZLM.js +5 -0
  645. package/radio-button.js +1 -1
  646. package/safety-theme.css +170 -491
  647. package/sbb-tokens-CB1Hgctn.js +12 -0
  648. package/select/select.component.d.ts.map +1 -1
  649. package/select/select.component.js +55 -54
  650. package/selection-action-panel/selection-action-panel.component.d.ts.map +1 -1
  651. package/selection-action-panel/selection-action-panel.component.js +5 -4
  652. package/selection-expansion-panel/selection-expansion-panel.component.d.ts.map +1 -1
  653. package/selection-expansion-panel/selection-expansion-panel.component.js +24 -23
  654. package/sidebar/common.js +1 -1
  655. package/sidebar/icon-sidebar/icon-sidebar.component.js +4 -4
  656. package/sidebar/icon-sidebar-button/icon-sidebar-button.component.d.ts.map +1 -1
  657. package/sidebar/icon-sidebar-button/icon-sidebar-button.component.js +11 -10
  658. package/sidebar/icon-sidebar-link/icon-sidebar-link.component.d.ts.map +1 -1
  659. package/sidebar/icon-sidebar-link/icon-sidebar-link.component.js +11 -10
  660. package/sidebar/sidebar/sidebar.component.d.ts.map +1 -1
  661. package/sidebar/sidebar/sidebar.component.js +20 -19
  662. package/sidebar/sidebar-close-button/sidebar-close-button.component.d.ts +1 -0
  663. package/sidebar/sidebar-close-button/sidebar-close-button.component.d.ts.map +1 -1
  664. package/sidebar/sidebar-close-button/sidebar-close-button.component.js +14 -11
  665. package/sidebar/sidebar-container/sidebar-container.component.d.ts.map +1 -1
  666. package/sidebar/sidebar-container/sidebar-container.component.js +16 -11
  667. package/sidebar.js +1 -1
  668. package/signet/signet.component.d.ts.map +1 -1
  669. package/signet/signet.component.js +11 -10
  670. package/skiplink-list/skiplink-list.component.d.ts.map +1 -1
  671. package/skiplink-list/skiplink-list.component.js +36 -35
  672. package/slider/slider.component.d.ts.map +1 -1
  673. package/slider/slider.component.js +25 -24
  674. package/standard-theme.css +170 -491
  675. package/status/status.component.d.ts +2 -2
  676. package/status/status.component.d.ts.map +1 -1
  677. package/status/status.component.js +22 -24
  678. package/stepper/step/step.component.d.ts.map +1 -1
  679. package/stepper/step/step.component.js +10 -9
  680. package/stepper/step-label/step-label.component.d.ts.map +1 -1
  681. package/stepper/step-label/step-label.component.js +9 -8
  682. package/stepper/stepper/stepper.component.d.ts.map +1 -1
  683. package/stepper/stepper/stepper.component.js +11 -10
  684. package/table/table-wrapper/table-wrapper.component.js +5 -5
  685. package/tabs/tab/tab.component.js +1 -1
  686. package/tabs/tab-group/tab-group.component.d.ts.map +1 -1
  687. package/tabs/tab-group/tab-group.component.js +8 -7
  688. package/tabs/tab-label/tab-label.component.d.ts.map +1 -1
  689. package/tabs/tab-label/tab-label.component.js +13 -12
  690. package/tag/tag/tag.component.d.ts.map +1 -1
  691. package/tag/tag/tag.component.js +14 -13
  692. package/tag/tag-group/tag-group.component.d.ts.map +1 -1
  693. package/tag/tag-group/tag-group.component.js +27 -26
  694. package/teaser/teaser.component.d.ts.map +1 -1
  695. package/teaser/teaser.component.js +19 -18
  696. package/teaser-hero/teaser-hero.component.d.ts.map +1 -1
  697. package/teaser-hero/teaser-hero.component.js +12 -11
  698. package/teaser-product/common/teaser-product-common.d.ts.map +1 -1
  699. package/teaser-product/common/teaser-product-common.js +24 -25
  700. package/teaser-product/common.js +1 -1
  701. package/teaser-product/teaser-product/teaser-product.component.d.ts.map +1 -1
  702. package/teaser-product/teaser-product/teaser-product.component.js +12 -7
  703. package/teaser-product/teaser-product-static/teaser-product-static.component.d.ts.map +1 -1
  704. package/teaser-product/teaser-product-static/teaser-product-static.component.js +6 -5
  705. package/teaser-product-common-BwqWqRrK.js +5 -0
  706. package/teaser-product.js +1 -1
  707. package/time-input/time-input.component.js +5 -5
  708. package/timetable-form/timetable-form/timetable-form.component.js +6 -6
  709. package/timetable-form/timetable-form-details/timetable-form-details.component.js +4 -4
  710. package/timetable-form/timetable-form-field/timetable-form-field.component.js +7 -7
  711. package/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.d.ts +1 -0
  712. package/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.d.ts.map +1 -1
  713. package/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +12 -9
  714. package/timetable-occupancy/timetable-occupancy.component.d.ts.map +1 -1
  715. package/timetable-occupancy/timetable-occupancy.component.js +5 -4
  716. package/title/title-base.js +5 -5
  717. package/toast/toast.component.d.ts.map +1 -1
  718. package/toast/toast.component.js +10 -9
  719. package/toggle/toggle/toggle.component.d.ts.map +1 -1
  720. package/toggle/toggle/toggle.component.js +9 -8
  721. package/toggle/toggle-option/toggle-option.component.d.ts.map +1 -1
  722. package/toggle/toggle-option/toggle-option.component.js +17 -16
  723. package/toggle-check/toggle-check.component.d.ts +2 -3
  724. package/toggle-check/toggle-check.component.d.ts.map +1 -1
  725. package/toggle-check/toggle-check.component.js +46 -53
  726. package/tooltip/tooltip.component.d.ts.map +1 -1
  727. package/tooltip/tooltip.component.js +40 -39
  728. package/train/train/train.component.d.ts.map +1 -1
  729. package/train/train/train.component.js +22 -21
  730. package/train/train-blocked-passage/train-blocked-passage.component.d.ts.map +1 -1
  731. package/train/train-blocked-passage/train-blocked-passage.component.js +9 -8
  732. package/train/train-formation/train-formation.component.d.ts.map +1 -1
  733. package/train/train-formation/train-formation.component.js +10 -9
  734. package/train/train-wagon/train-wagon.component.d.ts.map +1 -1
  735. package/train/train-wagon/train-wagon.component.js +10 -9
  736. package/visual-checkbox/visual-checkbox.component.d.ts.map +1 -1
  737. package/visual-checkbox/visual-checkbox.component.js +18 -17
  738. package/checkbox-common-C5r-MPLc.js +0 -5
  739. package/core/decorators/slot-state.d.ts +0 -17
  740. package/core/decorators/slot-state.d.ts.map +0 -1
  741. package/core/decorators/slot-state.js +0 -8
  742. package/core/styles/mixins/shadows.scss +0 -191
  743. package/development/core/decorators/slot-state.d.ts +0 -17
  744. package/development/core/decorators/slot-state.d.ts.map +0 -1
  745. package/development/core/decorators/slot-state.js +0 -11
  746. package/development/popover/popover-trigger/popover-trigger.component.d.ts +0 -20
  747. package/development/popover/popover-trigger/popover-trigger.component.d.ts.map +0 -1
  748. package/development/popover/popover-trigger/popover-trigger.component.js +0 -216
  749. package/development/popover/popover-trigger.d.ts +0 -5
  750. package/development/popover/popover-trigger.d.ts.map +0 -1
  751. package/development/popover/popover-trigger.js +0 -5
  752. package/development/sbb-tokens-CVLcOi-S.js +0 -33
  753. package/file-selector-common-BEWjyy75.js +0 -5
  754. package/icon-sidebar-button-common-D_doPv2r.js +0 -7
  755. package/link-common-CfSIg7al.js +0 -46
  756. package/link-list-base-BdOBGhxe.js +0 -5
  757. package/popover/popover-trigger/popover-trigger.component.d.ts +0 -20
  758. package/popover/popover-trigger/popover-trigger.component.d.ts.map +0 -1
  759. package/popover/popover-trigger/popover-trigger.component.js +0 -32
  760. package/popover/popover-trigger.d.ts +0 -5
  761. package/popover/popover-trigger.d.ts.map +0 -1
  762. package/popover/popover-trigger.js +0 -4
  763. package/radio-button-common-BHR2tjCF.js +0 -5
  764. package/sbb-tokens-B3Eka-Tz.js +0 -18
  765. package/teaser-product-common-Du28QCY3.js +0 -5
  766. package/transparent-button-CBNZHS9a.js +0 -9
@@ -1 +1 @@
1
- {"version":3,"file":"sticky-bar.component.d.ts","sourceRoot":"","sources":["../../../../src/elements/container/sticky-bar/sticky-bar.component.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,cAAc,EAEnB,UAAU,EACV,KAAK,cAAc,EACnB,KAAK,cAAc,EACpB,MAAM,KAAK,CAAC;;AAUb;;;;;;;;;;GAUG;AACH,qBAEM,mBAAoB,SAAQ,wBAAmC;IACnE,OAAuB,MAAM,EAAE,cAAc,CAAS;IAEtD,gBAAuB,MAAM;;;;;MAKlB;IAEX,2DAA2D;IAC3D,SAA6C,KAAK,EAC9C,OAAO,GACP,MAAM,GACN,UAAU,GACV,UAAU,GACV,IAAI,CAAQ;IAEhB;;;OAGG;IACH,SAA6C,IAAI,EAAE,GAAG,GAAG,GAAG,CAAwB;IAEpF,kCAAkC;IAClC,OAAO,KAAK,MAAM,QAEjB;IACD,OAAO,KAAK,MAAM,GAEjB;IAED,OAAO,CAAC,YAAY,CAAC,CAAkB;IACvC,OAAO,CAAC,SAAS,CAKd;IAEa,iBAAiB,IAAI,IAAI;IAiBzB,oBAAoB,IAAI,IAAI;cAMzB,YAAY,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAU9E,OAAO,CAAC,wBAAwB;IAIhC,OAAO,CAAC,kBAAkB;IA+B1B,wEAAwE;IACjE,KAAK,IAAI,IAAI;IAWpB,mEAAmE;IAC5D,OAAO,IAAI,IAAI;IAYtB,OAAO,CAAC,eAAe;IAOvB,OAAO,CAAC,iBAAiB;IAMzB,OAAO,CAAC,eAAe;IAWvB,OAAO,CAAC,yBAAyB;IAKjC,OAAO,CAAC,2BAA2B;cAKhB,MAAM,IAAI,cAAc;CAU5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,gBAAgB,EAAE,mBAAmB,CAAC;KACvC;CACF"}
1
+ {"version":3,"file":"sticky-bar.component.d.ts","sourceRoot":"","sources":["../../../../src/elements/container/sticky-bar/sticky-bar.component.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,cAAc,EAEnB,UAAU,EACV,KAAK,cAAc,EACnB,KAAK,cAAc,EACpB,MAAM,KAAK,CAAC;;AAWb;;;;;;;;;;GAUG;AACH,qBAEM,mBAAoB,SAAQ,wBAAmC;IACnE,OAAuB,MAAM,EAAE,cAAc,CAA4B;IAEzE,gBAAuB,MAAM;;;;;MAKlB;IAEX,2DAA2D;IAC3D,SAA6C,KAAK,EAC9C,OAAO,GACP,MAAM,GACN,UAAU,GACV,UAAU,GACV,IAAI,CAAQ;IAEhB;;;OAGG;IACH,SAA6C,IAAI,EAAE,GAAG,GAAG,GAAG,CAAwB;IAEpF,kCAAkC;IAClC,OAAO,KAAK,MAAM,QAEjB;IACD,OAAO,KAAK,MAAM,GAEjB;IAED,OAAO,CAAC,YAAY,CAAC,CAAkB;IACvC,OAAO,CAAC,SAAS,CAKd;IAEa,iBAAiB,IAAI,IAAI;IAiBzB,oBAAoB,IAAI,IAAI;cAMzB,YAAY,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAU9E,OAAO,CAAC,wBAAwB;IAIhC,OAAO,CAAC,kBAAkB;IA+B1B,wEAAwE;IACjE,KAAK,IAAI,IAAI;IAWpB,mEAAmE;IAC5D,OAAO,IAAI,IAAI;IAYtB,OAAO,CAAC,eAAe;IAOvB,OAAO,CAAC,iBAAiB;IAMzB,OAAO,CAAC,eAAe;IAWvB,OAAO,CAAC,yBAAyB;IAKjC,OAAO,CAAC,2BAA2B;cAKhB,MAAM,IAAI,cAAc;CAU5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,gBAAgB,EAAE,mBAAmB,CAAC;KACvC;CACF"}
@@ -1,24 +1,25 @@
1
- var w = (a) => {
1
+ var x = (a) => {
2
2
  throw TypeError(a);
3
3
  };
4
- var x = (a, s, e) => s.has(a) || w("Cannot " + e);
5
- var k = (a, s, e) => (x(a, s, "read from private field"), e ? e.call(a) : s.get(a)), u = (a, s, e) => s.has(a) ? w("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(a) : s.set(a, e), d = (a, s, e, r) => (x(a, s, "write to private field"), r ? r.call(a, e) : s.set(a, e), e);
6
- import { __runInitializers as l, __esDecorate as h } from "tslib";
4
+ var w = (a, i, e) => i.has(a) || x("Cannot " + e);
5
+ var k = (a, i, e) => (w(a, i, "read from private field"), e ? e.call(a) : i.get(a)), u = (a, i, e) => i.has(a) ? x("Cannot add the same private member more than once") : i instanceof WeakSet ? i.add(a) : i.set(a, e), d = (a, i, e, r) => (w(a, i, "write to private field"), r ? r.call(a, e) : i.set(a, e), e);
6
+ import { __runInitializers as l, __esDecorate as y } from "tslib";
7
7
  import { IntersectionController as S } from "@lit-labs/observers/intersection-controller.js";
8
8
  import { css as A, LitElement as C, html as R } from "lit";
9
9
  import { customElement as B, property as z } from "lit/decorators.js";
10
10
  import { isLean as I, isZeroAnimationDuration as D } from "../../core/dom.js";
11
11
  import { SbbUpdateSchedulerMixin as U } from "../../core/mixins.js";
12
- const T = A`*,:before,:after{box-sizing:border-box}:host{--sbb-sticky-bar-position: sticky;--sbb-sticky-bar-padding-block: var(--sbb-spacing-responsive-xs);--sbb-sticky-bar-border-radius: var(--sbb-border-radius-8x);--sbb-sticky-bar-animation-easing: var(--sbb-animation-easing);--sbb-sticky-bar-fade-in-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-5x) );--sbb-sticky-bar-fade-out-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-2x) );--sbb-sticky-bar-slide-vertically-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-4x) );--sbb-sticky-bar-slide-vertically-animation-easing: ease-out;--sbb-sticky-bar-slide-vertically-animation-delay: 0s;--sbb-sticky-bar-slide-vertically-animation-name: unset;--_sbb-sticky-bar-background-animation-duration: var( --sbb-sticky-bar-fade-out-animation-duration );--_sbb-sticky-bar-intersector-background-color: transparent;--_sbb-sticky-bar-forced-colors-border: none;display:contents}:host([size=s]){--sbb-sticky-bar-padding-block: var(--sbb-spacing-responsive-xxxs)}:host([data-sticking]:not([data-state=unsticky])){--sbb-sticky-bar-sticky-background-color: var( --sbb-container-background-color, var(--sbb-background-color-1) );--_sbb-sticky-bar-intersector-background-color: var(--sbb-sticky-bar-sticky-background-color);--_sbb-sticky-bar-background-animation-duration: var(--sbb-sticky-bar-fade-in-animation-duration)}@media(forced-colors:active){:host([data-sticking]:not([data-state=unsticky])){--_sbb-sticky-bar-forced-colors-border: var(--sbb-border-width-1x) solid CanvasText}}:host([data-sticking]:not([data-state=unsticky])[color=white]){--sbb-sticky-bar-sticky-background-color: var(--sbb-background-color-1)}:host([data-sticking]:not([data-state=unsticky])[color=milk]){--sbb-sticky-bar-sticky-background-color: var(--sbb-background-color-3)}:host([data-sticking]:not([data-state=unsticky])[color=midnight]){--sbb-sticky-bar-sticky-background-color: var(--sbb-background-color-1-negative)}:host([data-sticking]:not([data-state=unsticky])[color=charcoal]){--sbb-sticky-bar-sticky-background-color: var(--sbb-background-color-2-negative)}:host(:is([data-sticking]:is([data-slide-vertically],[data-state=sticking],[data-state=unsticking]),[data-state=unsticky])){--_sbb-sticky-bar-background-animation-duration: 0s}:host([data-sticking]:is([data-slide-vertically]:not([data-state=unsticky],[data-state=unsticking]),[data-state=sticking])){--sbb-sticky-bar-slide-vertically-animation-name: slide-in}:host([data-sticking][data-state=unsticking]){--sbb-sticky-bar-slide-vertically-animation-name: slide-out}:host(:is(:not([data-initialized]),[data-state=unsticky])){--sbb-sticky-bar-position: relative}.sbb-sticky-bar__wrapper{position:var(--sbb-sticky-bar-position);inset-block-end:0;display:block;z-index:var(--sbb-sticky-bar-z-index);animation-name:var(--sbb-sticky-bar-slide-vertically-animation-name);animation-duration:var(--sbb-sticky-bar-slide-vertically-animation-duration);animation-timing-function:var(--sbb-sticky-bar-slide-vertically-animation-easing);animation-delay:var(--sbb-sticky-bar-slide-vertically-animation-delay);animation-fill-mode:backwards}.sbb-sticky-bar__wrapper:after,.sbb-sticky-bar__wrapper:before{content:"";inset:0;position:absolute;display:block;z-index:-1}.sbb-sticky-bar__wrapper:before{background-color:var(--sbb-container-background-color);padding:0!important}:host(:not([data-expanded])) .sbb-sticky-bar__wrapper:before{padding-inline:var(--sbb-page-spacing-padding, var(--sbb-layout-base-offset-responsive));margin-inline:auto;width:100%}@media(min-width:90rem){:host(:not([data-expanded])) .sbb-sticky-bar__wrapper:before{max-width:var(--sbb-spacing-max-width, calc(var(--sbb-layout-base-page-max-width) + 2 * var(--sbb-layout-base-offset-responsive)))}}.sbb-sticky-bar__wrapper:after{background-color:var(--sbb-sticky-bar-sticky-background-color, transparent);border-start-start-radius:var(--sbb-sticky-bar-border-radius);border-start-end-radius:var(--sbb-sticky-bar-border-radius);transition:background-color var(--_sbb-sticky-bar-background-animation-duration) var(--sbb-sticky-bar-animation-easing);border:var(--_sbb-sticky-bar-forced-colors-border)}.sbb-sticky-bar{display:flex;padding-block:var(--sbb-sticky-bar-padding-block);margin-block-end:-1px}.sbb-sticky-bar:before{content:"";position:absolute;inset:0;z-index:-1;border-start-start-radius:var(--sbb-sticky-bar-border-radius);border-start-end-radius:var(--sbb-sticky-bar-border-radius);transition:box-shadow var(--_sbb-sticky-bar-background-animation-duration) var(--sbb-sticky-bar-animation-easing);clip-path:polygon(-50% calc(-1 * var(--sbb-shadow-elevation-level-11-shadow-1-blur)),150% calc(-1 * var(--sbb-shadow-elevation-level-11-shadow-1-blur)),150% 50%,-50% 50%)}:host([data-sticking]:not([data-state=unsticky])) .sbb-sticky-bar:before{box-shadow:var(--sbb-shadow-elevation-level-11-shadow-2-offset-x) var(--sbb-shadow-elevation-level-11-shadow-2-offset-y) var(--sbb-shadow-elevation-level-11-shadow-2-blur) var(--sbb-shadow-elevation-level-11-shadow-2-spread) var(--sbb-shadow-color-soft-2),var(--sbb-shadow-elevation-level-11-shadow-1-offset-x) var(--sbb-shadow-elevation-level-11-shadow-1-offset-y) var(--sbb-shadow-elevation-level-11-shadow-1-blur) var(--sbb-shadow-elevation-level-11-shadow-1-spread) var(--sbb-shadow-color-soft-1)}:host(:not([data-expanded])) .sbb-sticky-bar{padding-inline:var(--sbb-page-spacing-padding, var(--sbb-layout-base-offset-responsive));margin-inline:auto;width:100%}@media(min-width:90rem){:host(:not([data-expanded])) .sbb-sticky-bar{max-width:var(--sbb-spacing-max-width, calc(var(--sbb-layout-base-page-max-width) + 2 * var(--sbb-layout-base-offset-responsive)))}}:host([data-expanded]) .sbb-sticky-bar{padding-inline:var(--sbb-page-spacing-padding, var(--sbb-spacing-responsive-xxs))}.sbb-sticky-bar__intersector{height:1px}.sbb-sticky-bar__intersector:after{content:"";display:block;position:absolute;width:100%;height:calc(var(--sbb-sticky-bar-bottom-overlapping-height, 0) + 1px);background-color:var(--_sbb-sticky-bar-intersector-background-color);pointer-events:none;transition:background-color var(--_sbb-sticky-bar-background-animation-duration) var(--sbb-sticky-bar-animation-easing)}@keyframes slide-in{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slide-out{0%{transform:translateY(0)}to{transform:translateY(100%)}}`;
13
- let M = (() => {
14
- var n, b, o;
15
- let a = [B("sbb-sticky-bar")], s, e = [], r, y = U(C), v, g = [], m = [], p, _ = [], f = [];
16
- return o = class extends y {
12
+ import { boxSizingStyles as T } from "../../core/styles.js";
13
+ const H = A`:host{--sbb-sticky-bar-position: sticky;--sbb-sticky-bar-padding-block: var(--sbb-spacing-responsive-xs);--sbb-sticky-bar-border-radius: var(--sbb-border-radius-8x);--sbb-sticky-bar-animation-easing: var(--sbb-animation-easing);--sbb-sticky-bar-fade-in-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-5x) );--sbb-sticky-bar-fade-out-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-2x) );--sbb-sticky-bar-slide-vertically-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-4x) );--sbb-sticky-bar-slide-vertically-animation-easing: ease-out;--sbb-sticky-bar-slide-vertically-animation-delay: 0s;--sbb-sticky-bar-slide-vertically-animation-name: unset;--_sbb-sticky-bar-background-animation-duration: var( --sbb-sticky-bar-fade-out-animation-duration );--_sbb-sticky-bar-intersector-background-color: transparent;--_sbb-sticky-bar-forced-colors-border: none;display:contents}:host([size=s]){--sbb-sticky-bar-padding-block: var(--sbb-spacing-responsive-xxxs)}:host([data-sticking]:not([data-state=unsticky])){--sbb-sticky-bar-sticky-background-color: var( --sbb-container-background-color, var(--sbb-background-color-1) );--_sbb-sticky-bar-intersector-background-color: var(--sbb-sticky-bar-sticky-background-color);--_sbb-sticky-bar-background-animation-duration: var(--sbb-sticky-bar-fade-in-animation-duration)}@media(forced-colors:active){:host([data-sticking]:not([data-state=unsticky])){--_sbb-sticky-bar-forced-colors-border: var(--sbb-border-width-1x) solid CanvasText}}:host([data-sticking]:not([data-state=unsticky])[color=white]){--sbb-sticky-bar-sticky-background-color: var(--sbb-background-color-1)}:host([data-sticking]:not([data-state=unsticky])[color=milk]){--sbb-sticky-bar-sticky-background-color: var(--sbb-background-color-3)}:host([data-sticking]:not([data-state=unsticky])[color=midnight]){--sbb-sticky-bar-sticky-background-color: var(--sbb-background-color-1-negative)}:host([data-sticking]:not([data-state=unsticky])[color=charcoal]){--sbb-sticky-bar-sticky-background-color: var(--sbb-background-color-2-negative)}:host(:is([data-sticking]:is([data-slide-vertically],[data-state=sticking],[data-state=unsticking]),[data-state=unsticky])){--_sbb-sticky-bar-background-animation-duration: 0s}:host([data-sticking]:is([data-slide-vertically]:not([data-state=unsticky],[data-state=unsticking]),[data-state=sticking])){--sbb-sticky-bar-slide-vertically-animation-name: slide-in}:host([data-sticking][data-state=unsticking]){--sbb-sticky-bar-slide-vertically-animation-name: slide-out}:host(:is(:not([data-initialized]),[data-state=unsticky])){--sbb-sticky-bar-position: relative}.sbb-sticky-bar__wrapper{position:var(--sbb-sticky-bar-position);inset-block-end:0;display:block;z-index:var(--sbb-sticky-bar-z-index);animation-name:var(--sbb-sticky-bar-slide-vertically-animation-name);animation-duration:var(--sbb-sticky-bar-slide-vertically-animation-duration);animation-timing-function:var(--sbb-sticky-bar-slide-vertically-animation-easing);animation-delay:var(--sbb-sticky-bar-slide-vertically-animation-delay);animation-fill-mode:backwards}.sbb-sticky-bar__wrapper:after,.sbb-sticky-bar__wrapper:before{content:"";inset:0;position:absolute;display:block;z-index:-1}.sbb-sticky-bar__wrapper:before{background-color:var(--sbb-container-background-color);padding:0!important}:host(:not([data-expanded])) .sbb-sticky-bar__wrapper:before{padding-inline:var(--sbb-page-spacing-padding, var(--sbb-layout-base-offset-responsive));margin-inline:auto;width:100%}@media(min-width:90rem){:host(:not([data-expanded])) .sbb-sticky-bar__wrapper:before{max-width:var(--sbb-spacing-max-width, calc(var(--sbb-layout-base-page-max-width) + 2 * var(--sbb-layout-base-offset-responsive)))}}.sbb-sticky-bar__wrapper:after{background-color:var(--sbb-sticky-bar-sticky-background-color, transparent);border-start-start-radius:var(--sbb-sticky-bar-border-radius);border-start-end-radius:var(--sbb-sticky-bar-border-radius);transition:background-color var(--_sbb-sticky-bar-background-animation-duration) var(--sbb-sticky-bar-animation-easing);border:var(--_sbb-sticky-bar-forced-colors-border)}.sbb-sticky-bar{display:flex;padding-block:var(--sbb-sticky-bar-padding-block);margin-block-end:-1px}.sbb-sticky-bar:before{content:"";position:absolute;inset:0;z-index:-1;border-start-start-radius:var(--sbb-sticky-bar-border-radius);border-start-end-radius:var(--sbb-sticky-bar-border-radius);transition:box-shadow var(--_sbb-sticky-bar-background-animation-duration) var(--sbb-sticky-bar-animation-easing);clip-path:polygon(-50% calc(-1 * var(--sbb-shadow-elevation-level-11-shadow-1-blur)),150% calc(-1 * var(--sbb-shadow-elevation-level-11-shadow-1-blur)),150% 50%,-50% 50%)}:host([data-sticking]:not([data-state=unsticky])) .sbb-sticky-bar:before{box-shadow:var(--sbb-box-shadow-level-11-soft)}:host(:not([data-expanded])) .sbb-sticky-bar{padding-inline:var(--sbb-page-spacing-padding, var(--sbb-layout-base-offset-responsive));margin-inline:auto;width:100%}@media(min-width:90rem){:host(:not([data-expanded])) .sbb-sticky-bar{max-width:var(--sbb-spacing-max-width, calc(var(--sbb-layout-base-page-max-width) + 2 * var(--sbb-layout-base-offset-responsive)))}}:host([data-expanded]) .sbb-sticky-bar{padding-inline:var(--sbb-page-spacing-padding, var(--sbb-spacing-responsive-xxs))}.sbb-sticky-bar__intersector{height:1px}.sbb-sticky-bar__intersector:after{content:"";display:block;position:absolute;width:100%;height:calc(var(--sbb-sticky-bar-bottom-overlapping-height, 0) + 1px);background-color:var(--_sbb-sticky-bar-intersector-background-color);pointer-events:none;transition:background-color var(--_sbb-sticky-bar-background-animation-duration) var(--sbb-sticky-bar-animation-easing)}@keyframes slide-in{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slide-out{0%{transform:translateY(0)}to{transform:translateY(100%)}}`;
14
+ let $ = (() => {
15
+ var o, b, n;
16
+ let a = [B("sbb-sticky-bar")], i, e = [], r, h = U(C), g, m = [], v = [], p, _ = [], f = [];
17
+ return n = class extends h {
17
18
  constructor() {
18
19
  super(...arguments);
19
- u(this, n);
20
+ u(this, o);
20
21
  u(this, b);
21
- d(this, n, l(this, g, null)), d(this, b, (l(this, m), l(this, _, I() ? "s" : "m"))), this._intersector = l(this, f), this._observer = new S(this, {
22
+ d(this, o, l(this, m, null)), d(this, b, (l(this, v), l(this, _, I() ? "s" : "m"))), this._intersector = l(this, f), this._observer = new S(this, {
22
23
  // Although `this` is observed, we have to postpone observing
23
24
  // into firstUpdated() to achieve a correct initial state.
24
25
  target: null,
@@ -27,10 +28,10 @@ let M = (() => {
27
28
  }
28
29
  /** Color of the container, like transparent, white etc. */
29
30
  get color() {
30
- return k(this, n);
31
+ return k(this, o);
31
32
  }
32
33
  set color(t) {
33
- d(this, n, t);
34
+ d(this, o, t);
34
35
  }
35
36
  /**
36
37
  * Size of the container.
@@ -65,8 +66,8 @@ let M = (() => {
65
66
  }
66
67
  _detectStickyState(t) {
67
68
  this.toggleAttribute("data-initialized", !0);
68
- const i = !t.isIntersecting && t.boundingClientRect.top > 0, c = this._intersector?.getBoundingClientRect(), E = this.shadowRoot.querySelector(".sbb-sticky-bar__wrapper").getBoundingClientRect();
69
- this.toggleAttribute("data-slide-vertically", i && this._intersector && Math.abs(c.bottom - E.bottom) > 30), this.toggleAttribute("data-sticking", i), this.completeUpdate();
69
+ const s = !t.isIntersecting && t.boundingClientRect.top > 0, c = this._intersector?.getBoundingClientRect(), E = this.shadowRoot.querySelector(".sbb-sticky-bar__wrapper").getBoundingClientRect();
70
+ this.toggleAttribute("data-slide-vertically", s && this._intersector && Math.abs(c.bottom - E.bottom) > 30), this.toggleAttribute("data-sticking", s), this.completeUpdate();
70
71
  }
71
72
  /** Animates from normal content flow position to `position: sticky`. */
72
73
  stick() {
@@ -101,14 +102,14 @@ let M = (() => {
101
102
  <div class="sbb-sticky-bar__intersector"></div>
102
103
  `;
103
104
  }
104
- }, n = new WeakMap(), b = new WeakMap(), r = o, (() => {
105
- const t = typeof Symbol == "function" && Symbol.metadata ? Object.create(y[Symbol.metadata] ?? null) : void 0;
106
- v = [z({ reflect: !0 })], p = [z({ reflect: !0 })], h(o, null, v, { kind: "accessor", name: "color", static: !1, private: !1, access: { has: (i) => "color" in i, get: (i) => i.color, set: (i, c) => {
107
- i.color = c;
108
- } }, metadata: t }, g, m), h(o, null, p, { kind: "accessor", name: "size", static: !1, private: !1, access: { has: (i) => "size" in i, get: (i) => i.size, set: (i, c) => {
109
- i.size = c;
110
- } }, metadata: t }, _, f), h(null, s = { value: r }, a, { kind: "class", name: r.name, metadata: t }, null, e), r = s.value, t && Object.defineProperty(r, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: t });
111
- })(), o.styles = T, o.events = {
105
+ }, o = new WeakMap(), b = new WeakMap(), r = n, (() => {
106
+ const t = typeof Symbol == "function" && Symbol.metadata ? Object.create(h[Symbol.metadata] ?? null) : void 0;
107
+ g = [z({ reflect: !0 })], p = [z({ reflect: !0 })], y(n, null, g, { kind: "accessor", name: "color", static: !1, private: !1, access: { has: (s) => "color" in s, get: (s) => s.color, set: (s, c) => {
108
+ s.color = c;
109
+ } }, metadata: t }, m, v), y(n, null, p, { kind: "accessor", name: "size", static: !1, private: !1, access: { has: (s) => "size" in s, get: (s) => s.size, set: (s, c) => {
110
+ s.size = c;
111
+ } }, metadata: t }, _, f), y(null, i = { value: r }, a, { kind: "class", name: r.name, metadata: t }, null, e), r = i.value, t && Object.defineProperty(r, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: t });
112
+ })(), n.styles = [T, H], n.events = {
112
113
  beforestick: "beforestick",
113
114
  stick: "stick",
114
115
  beforeunstick: "beforeunstick",
@@ -116,5 +117,5 @@ let M = (() => {
116
117
  }, l(r, e), r;
117
118
  })();
118
119
  export {
119
- M as SbbStickyBarElement
120
+ $ as SbbStickyBarElement
120
121
  };
@@ -4,8 +4,8 @@ export declare const SbbMediaQueryForcedColors = "(forced-colors: active)";
4
4
  export declare const SbbMediaQueryDarkMode = "(prefers-color-scheme: dark)";
5
5
  export declare const SbbMediaQueryHover = "(any-hover: hover)";
6
6
  export declare const SbbMediaQueryPointerCoarse = "(pointer: coarse)";
7
- export declare const SbbMediaQueryBreakpointMediumAndAbove: string;
8
- export declare const SbbMediaQueryBreakpointMediumAndBelow: string;
7
+ export declare const SbbMediaQueryBreakpointLargeAndAbove: string;
8
+ export declare const SbbMediaQueryBreakpointLargeAndBelow: string;
9
9
  export declare const SbbMediaQueryBreakpointSmallAndBelow: string;
10
10
  /**
11
11
  * A callback, which is invoked when the associated media query match
@@ -1 +1 @@
1
- {"version":3,"file":"media-matchers-controller.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/controllers/media-matchers-controller.ts"],"names":[],"mappings":"AAMA,OAAO,EAAY,KAAK,kBAAkB,EAAE,KAAK,sBAAsB,EAAE,MAAM,KAAK,CAAC;AAErF,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,cAAc,CAAC;AAKjE,eAAO,MAAM,yBAAyB,4BAA4B,CAAC;AACnE,eAAO,MAAM,qBAAqB,iCAAiC,CAAC;AACpE,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,0BAA0B,sBAAsB,CAAC;AAC9D,eAAO,MAAM,qCAAqC,QAAuD,CAAC;AAC1G,eAAO,MAAM,qCAAqC,QAAuD,CAAC;AAC1G,eAAO,MAAM,oCAAoC,QAAsD,CAAC;AAGxG;;;GAGG;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;AAehE;;;;;;;GAOG;AACH,qBAAa,yBAA0B,YAAW,kBAAkB;IAGhE,OAAO,CAAC,QAAQ;gBADhB,IAAI,EAAE,sBAAsB,EACpB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,sBAAsB,CAAC;IAK1D;;;;OAIG;IACI,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI;IAMtC,aAAa,IAAI,IAAI;IAoBrB,gBAAgB,IAAI,IAAI;CAWhC;AAED;;;;;;;GAOG;AACH,qBAAa,qBAAsB,SAAQ,yBAAyB;IAyBhE,OAAO,CAAC,KAAK;IAxBf,2EAA2E;IAC3E,OAAO,CAAC,MAAM,CAAC,YAAY,CAAsE;IAEjG,kFAAkF;IAClF,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAUxB;IAET,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,eAAe,CAGrC;IAEF,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAa;gBAG7C,KAAK,EAAE,sBAAsB,GAAG,WAAW,GAAG,4BAA4B,EAClF,QAAQ,EAAE,sBAAsB;IAYlC,OAAO,CAAC,MAAM,CAAC,mBAAmB;IAYlC;;;OAGG;WAEW,aAAa,IAAI,IAAI;IAOnB,aAAa,IAAI,IAAI;IAerB,gBAAgB,IAAI,IAAI;IAQxB,OAAO,IAAI,OAAO;CAWnC"}
1
+ {"version":3,"file":"media-matchers-controller.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/controllers/media-matchers-controller.ts"],"names":[],"mappings":"AAMA,OAAO,EAAY,KAAK,kBAAkB,EAAE,KAAK,sBAAsB,EAAE,MAAM,KAAK,CAAC;AAErF,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,cAAc,CAAC;AAKjE,eAAO,MAAM,yBAAyB,4BAA4B,CAAC;AACnE,eAAO,MAAM,qBAAqB,iCAAiC,CAAC;AACpE,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,0BAA0B,sBAAsB,CAAC;AAC9D,eAAO,MAAM,oCAAoC,QAAsD,CAAC;AACxG,eAAO,MAAM,oCAAoC,QAAsD,CAAC;AACxG,eAAO,MAAM,oCAAoC,QAAsD,CAAC;AAGxG;;;GAGG;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;AAehE;;;;;;;GAOG;AACH,qBAAa,yBAA0B,YAAW,kBAAkB;IAGhE,OAAO,CAAC,QAAQ;gBADhB,IAAI,EAAE,sBAAsB,EACpB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,sBAAsB,CAAC;IAK1D;;;;OAIG;IACI,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI;IAMtC,aAAa,IAAI,IAAI;IAoBrB,gBAAgB,IAAI,IAAI;CAWhC;AAED;;;;;;;GAOG;AACH,qBAAa,qBAAsB,SAAQ,yBAAyB;IAyBhE,OAAO,CAAC,KAAK;IAxBf,2EAA2E;IAC3E,OAAO,CAAC,MAAM,CAAC,YAAY,CAAsE;IAEjG,kFAAkF;IAClF,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAUxB;IAET,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,eAAe,CAGrC;IAEF,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAa;gBAG7C,KAAK,EAAE,sBAAsB,GAAG,WAAW,GAAG,4BAA4B,EAClF,QAAQ,EAAE,sBAAsB;IAYlC,OAAO,CAAC,MAAM,CAAC,mBAAmB;IAYlC;;;OAGG;WAEW,aAAa,IAAI,IAAI;IAOnB,aAAa,IAAI,IAAI;IAerB,gBAAgB,IAAI,IAAI;IAQxB,OAAO,IAAI,OAAO;CAWnC"}
@@ -1,7 +1,7 @@
1
- import { S as p, a as b, b as g, c as y } from "../../sbb-tokens-B3Eka-Tz.js";
2
- import { isServer as n } from "lit";
3
- const c = (d) => d / p, k = "(forced-colors: active)", i = "(prefers-color-scheme: dark)", Q = "(any-hover: hover)", w = "(pointer: coarse)", L = `(min-width: ${c(y)}rem)`, B = `(max-width: ${c(b)}rem)`, C = `(max-width: ${c(g)}rem)`, a = /* @__PURE__ */ new Map();
4
- class M {
1
+ import { S as p, a as g, b, c as y } from "../../sbb-tokens-CB1Hgctn.js";
2
+ import { isServer as i } from "lit";
3
+ const c = (d) => d / p, L = "(forced-colors: active)", n = "(prefers-color-scheme: dark)", k = "(any-hover: hover)", Q = "(pointer: coarse)", w = `(min-width: ${c(y)}rem)`, B = `(max-width: ${c(g)}rem)`, C = `(max-width: ${c(b)}rem)`, a = /* @__PURE__ */ new Map();
4
+ class v {
5
5
  constructor(e, t) {
6
6
  this._queries = t, e.addController(this);
7
7
  }
@@ -11,10 +11,10 @@ class M {
11
11
  * @returns Whether the query matches or null with SSR.
12
12
  */
13
13
  matches(e) {
14
- return n ? null : matchMedia(e).matches;
14
+ return i ? null : matchMedia(e).matches;
15
15
  }
16
16
  hostConnected() {
17
- if (!n)
17
+ if (!i)
18
18
  for (const [e, t] of Object.entries(this._queries)) {
19
19
  const r = a.get(e);
20
20
  if (r)
@@ -32,17 +32,17 @@ class M {
32
32
  }
33
33
  }
34
34
  }
35
- const s = class s extends M {
35
+ const s = class s extends v {
36
36
  constructor(e, t) {
37
37
  const r = () => {
38
38
  t(this.matches()), this._host.toggleState("dark", this.matches());
39
39
  };
40
40
  super(e, {
41
- [i]: r
41
+ [n]: r
42
42
  }), this._host = e, this._onChangeWithStateUpdater = r;
43
43
  }
44
44
  static _readLightDarkClass() {
45
- if (n)
45
+ if (i)
46
46
  return null;
47
47
  const e = document.documentElement.classList;
48
48
  return ["light-dark", "dark", "light"].find((t) => e.contains(`sbb-${t}`)) ?? null;
@@ -53,24 +53,24 @@ const s = class s extends M {
53
53
  */
54
54
  // eslint-disable-next-line lyne/needs-super-call-rule
55
55
  static requestUpdate() {
56
- const e = a.get(i);
56
+ const e = a.get(n);
57
57
  e && e.handlers.forEach((t) => t(e.mediaQueryList.matches));
58
58
  }
59
59
  hostConnected() {
60
- const e = (a.get(i)?.handlers.size ?? 0) === 0;
60
+ const e = (a.get(n)?.handlers.size ?? 0) === 0;
61
61
  super.hostConnected(), e && s._observer.observe(document.documentElement, s._observerConfig), this._onChangeWithStateUpdater();
62
62
  }
63
63
  hostDisconnected() {
64
- super.hostDisconnected(), (a.get(i)?.handlers.size ?? 0) === 0 && s._observer.disconnect();
64
+ super.hostDisconnected(), (a.get(n)?.handlers.size ?? 0) === 0 && s._observer.disconnect();
65
65
  }
66
66
  matches() {
67
- if (n)
67
+ if (i)
68
68
  return !1;
69
69
  const e = getComputedStyle(this._host).getPropertyValue("color-scheme"), t = e.includes("dark"), r = e.trim() === "dark";
70
- return super.matches(i) && t || r;
70
+ return super.matches(n) && t || r;
71
71
  }
72
72
  };
73
- s._currentMode = s._readLightDarkClass(), s._observer = n ? null : new MutationObserver((e) => {
73
+ s._currentMode = s._readLightDarkClass(), s._observer = i ? null : new MutationObserver((e) => {
74
74
  if (e[0].oldValue !== document.documentElement.getAttribute("class")) {
75
75
  const t = s._readLightDarkClass();
76
76
  s._currentMode !== t && (s.requestUpdate(), s._currentMode = t);
@@ -82,12 +82,12 @@ s._currentMode = s._readLightDarkClass(), s._observer = n ? null : new MutationO
82
82
  let l = s;
83
83
  export {
84
84
  l as SbbDarkModeController,
85
- M as SbbMediaMatcherController,
86
- L as SbbMediaQueryBreakpointMediumAndAbove,
87
- B as SbbMediaQueryBreakpointMediumAndBelow,
85
+ v as SbbMediaMatcherController,
86
+ w as SbbMediaQueryBreakpointLargeAndAbove,
87
+ B as SbbMediaQueryBreakpointLargeAndBelow,
88
88
  C as SbbMediaQueryBreakpointSmallAndBelow,
89
- i as SbbMediaQueryDarkMode,
90
- k as SbbMediaQueryForcedColors,
91
- Q as SbbMediaQueryHover,
92
- w as SbbMediaQueryPointerCoarse
89
+ n as SbbMediaQueryDarkMode,
90
+ L as SbbMediaQueryForcedColors,
91
+ k as SbbMediaQueryHover,
92
+ Q as SbbMediaQueryPointerCoarse
93
93
  };
@@ -1,33 +1,45 @@
1
1
  import { ReactiveController, ReactiveControllerHost } from 'lit';
2
+ export declare class SbbSlottedChangeEvent extends Event {
3
+ readonly slot: HTMLSlotElement;
4
+ constructor(slot: HTMLSlotElement);
5
+ }
2
6
  /**
3
- * This controller checks for slotted children. From these it generates
4
- * a list of used slot names (`unnamed` for children without a slot attribute)
5
- * and adds this to the `data-slot-names` attribute, as a space separated list.
7
+ * This controller checks for slotted children. From these it updates
8
+ * the ElementInternals states with the pattern `slotted-<name>` or `slotted`
9
+ * for the unnamed slot.
6
10
  *
7
- * This allows CSS attribute selector to display/hide/configure a section
8
- * of the component as required (see [attr~=value] selector specifically).
11
+ * This allows a :state(slotted-<name>) CSS selector to display/hide/configure
12
+ * a section of the component as required.
9
13
  *
10
14
  * @example
11
15
  * .example {
12
16
  * display: none;
13
17
  *
14
- * :host([data-slot-names~="icon"]) & {
18
+ * :host(:state(slotted-icon)) & {
15
19
  * display: inline;
16
20
  * }
17
21
  * }
18
22
  *
19
- * https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors
23
+ * https://developer.mozilla.org/en-US/docs/Web/CSS/:state
20
24
  */
21
25
  export declare class SbbSlotStateController implements ReactiveController {
22
26
  private _host;
23
- private _onChangeCallback;
24
- readonly slots: Set<string>;
27
+ private _internals;
25
28
  private _textObserver;
26
- constructor(_host: ReactiveControllerHost & HTMLElement, _onChangeCallback?: (() => void) | null);
27
- hostConnected(): void;
28
- hostDisconnected(): void;
29
+ constructor(_host: ReactiveControllerHost & HTMLElement, _internals: ElementInternals);
30
+ hostConnected: ReactiveController['hostConnected'];
29
31
  private _slotchangeHandler;
30
- private _syncSlots;
31
- private _updateSlotNameAttribute;
32
+ private _handleSlotChange;
33
+ private _updateSlottedState;
34
+ private _observeTextNodesInSlot;
35
+ private _hasSlottedContent;
36
+ }
37
+ declare global {
38
+ interface HTMLElementEventMap {
39
+ slottedchange: SbbSlottedChangeEvent;
40
+ }
41
+ interface ShadowRootEventMap {
42
+ slottedchange: SbbSlottedChangeEvent;
43
+ }
32
44
  }
33
45
  //# sourceMappingURL=slot-state-controller.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"slot-state-controller.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/controllers/slot-state-controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,kBAAkB,EAAE,KAAK,sBAAsB,EAAE,MAAM,KAAK,CAAC;AAErF;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAAa,sBAAuB,YAAW,kBAAkB;IAmB7D,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,iBAAiB;IAnB3B,SAAgB,KAAK,cAAqB;IAE1C,OAAO,CAAC,aAAa,CAahB;gBAGK,KAAK,EAAE,sBAAsB,GAAG,WAAW,EAC3C,iBAAiB,GAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAW;IAKhD,aAAa,IAAI,IAAI;IAKrB,gBAAgB,IAAI,IAAI;IAO/B,OAAO,CAAC,kBAAkB,CAExB;IAEF,OAAO,CAAC,UAAU;IA2BlB,OAAO,CAAC,wBAAwB;CAajC"}
1
+ {"version":3,"file":"slot-state-controller.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/controllers/slot-state-controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,kBAAkB,EAAE,KAAK,sBAAsB,EAAE,MAAM,KAAK,CAAC;AAErF,qBAAa,qBAAsB,SAAQ,KAAK;aACX,IAAI,EAAE,eAAe;gBAArB,IAAI,EAAE,eAAe;CAGzD;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAAa,sBAAuB,YAAW,kBAAkB;IAa7D,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,UAAU;IAbpB,OAAO,CAAC,aAAa,CAShB;gBAGK,KAAK,EAAE,sBAAsB,GAAG,WAAW,EAC3C,UAAU,EAAE,gBAAgB;IAK/B,aAAa,EAAE,kBAAkB,CAAC,eAAe,CAAC,CAavD;IAEF,OAAO,CAAC,kBAAkB;IAc1B,OAAO,CAAC,iBAAiB;IAOzB,OAAO,CAAC,mBAAmB;IAY3B,OAAO,CAAC,uBAAuB;IAc/B,OAAO,CAAC,kBAAkB;CAW3B;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,mBAAmB;QAC3B,aAAa,EAAE,qBAAqB,CAAC;KACtC;IACD,UAAU,kBAAkB;QAC1B,aAAa,EAAE,qBAAqB,CAAC;KACtC;CACF"}
@@ -1,31 +1,37 @@
1
- import { isServer as n } from "lit";
2
- class h {
3
- constructor(s, t = null) {
4
- this._host = s, this._onChangeCallback = t, this.slots = /* @__PURE__ */ new Set(), this._textObserver = !n && new MutationObserver(() => {
5
- Array.from(this._host.childNodes).filter((e) => e.nodeType === e.TEXT_NODE).some((e) => e.textContent?.trim()) ? this.slots.add("unnamed") : Array.from(this._host.children).every((e) => e.slot) && this.slots.delete("unnamed"), this._updateSlotNameAttribute();
6
- }), this._slotchangeHandler = (o) => {
7
- this._syncSlots(o.target);
1
+ import { isServer as h } from "lit";
2
+ class n extends Event {
3
+ constructor(e) {
4
+ super("slottedchange", { composed: !0 }), this.slot = e;
5
+ }
6
+ }
7
+ class r {
8
+ constructor(e, t) {
9
+ this._host = e, this._internals = t, this._textObserver = !h && new MutationObserver(() => {
10
+ const s = this._host.shadowRoot.querySelector("slot:not([name])");
11
+ s ? this._updateSlottedState(s) : this._textObserver.disconnect();
12
+ }), this.hostConnected = () => {
13
+ this._host.shadowRoot?.addEventListener("slotchange", (s) => this._slotchangeHandler(s, s.target)), this._host.shadowRoot?.addEventListener("slottedchange", (s) => this._slotchangeHandler(s, s.slot), { capture: !0 }), this._internals.shadowRoot?.querySelectorAll("slot").forEach((s) => this._handleSlotChange(s)), this.hostConnected = void 0;
8
14
  }, this._host.addController(this);
9
15
  }
10
- hostConnected() {
11
- this._syncSlots(...this._host.shadowRoot?.querySelectorAll?.("slot") ?? []), this._host.shadowRoot?.addEventListener("slotchange", this._slotchangeHandler);
16
+ _slotchangeHandler(e, t) {
17
+ const s = this._host.shadowRoot.contains(t) ? t : e.composedPath().find((o) => o instanceof HTMLSlotElement && this._host.shadowRoot.contains(o));
18
+ s && this._handleSlotChange(s);
19
+ }
20
+ _handleSlotChange(e) {
21
+ this._updateSlottedState(e), e.name || this._observeTextNodesInSlot(e);
12
22
  }
13
- hostDisconnected() {
14
- this._host.shadowRoot?.removeEventListener("slotchange", this._slotchangeHandler), this._textObserver.disconnect();
23
+ _updateSlottedState(e) {
24
+ const t = e.name ? `slotted-${e.name}` : "slotted", s = this._hasSlottedContent(e);
25
+ s && !this._internals.states.has(t) ? (this._internals.states.add(t), this._host.dispatchEvent(new n(e))) : !s && this._internals.states.has(t) && (this._internals.states.delete(t), this._host.dispatchEvent(new n(e)));
15
26
  }
16
- _syncSlots(...s) {
17
- this._textObserver.disconnect();
18
- for (const t of s) {
19
- const o = t.name || "unnamed";
20
- t.assignedNodes().some((e) => "tagName" in e || e.textContent?.trim()) ? this.slots.add(o) : this.slots.delete(o), this._updateSlotNameAttribute();
21
- }
22
- s.find((t) => !t.name)?.assignedNodes().filter((t) => t.nodeType === t.TEXT_NODE).forEach((t) => this._textObserver.observe(t, { characterData: !0 }));
27
+ _observeTextNodesInSlot(e) {
28
+ this._textObserver.disconnect(), e.assignedNodes().filter((t) => t.nodeType === t.TEXT_NODE).forEach((t) => this._textObserver.observe(t, { characterData: !0 }));
23
29
  }
24
- _updateSlotNameAttribute() {
25
- const s = this._host.getAttribute("data-slot-names"), t = [...this.slots].sort().join(" ");
26
- t ? this._host.getAttribute("data-slot-names") !== t && this._host.setAttribute("data-slot-names", t) : this._host.removeAttribute("data-slot-names"), t !== s && this._onChangeCallback?.();
30
+ _hasSlottedContent(e) {
31
+ return e.name ? e.assignedElements().some((t) => !(t instanceof HTMLSlotElement) || this._hasSlottedContent(t)) : e.assignedNodes().some((t) => t instanceof HTMLSlotElement ? this._hasSlottedContent(t) : t.nodeType !== t.TEXT_NODE || !!t.textContent?.trim());
27
32
  }
28
33
  }
29
34
  export {
30
- h as SbbSlotStateController
35
+ r as SbbSlotStateController,
36
+ n as SbbSlottedChangeEvent
31
37
  };
@@ -1,24 +1,25 @@
1
1
  import { SbbEscapableOverlayController as o } from "./controllers/escapable-overlay-controller.js";
2
- import { SbbIdReferenceController as l } from "./controllers/id-reference-controller.js";
3
- import { SbbInertController as a } from "./controllers/inert-controller.js";
2
+ import { SbbIdReferenceController as t } from "./controllers/id-reference-controller.js";
3
+ import { SbbInertController as l } from "./controllers/inert-controller.js";
4
4
  import { SbbLanguageController as S } from "./controllers/language-controller.js";
5
- import { SbbDarkModeController as i, SbbMediaMatcherController as M, SbbMediaQueryBreakpointMediumAndAbove as p, SbbMediaQueryBreakpointMediumAndBelow as m, SbbMediaQueryBreakpointSmallAndBelow as u, SbbMediaQueryDarkMode as C, SbbMediaQueryForcedColors as y, SbbMediaQueryHover as f, SbbMediaQueryPointerCoarse as x } from "./controllers/media-matchers-controller.js";
6
- import { SbbSlotStateController as k } from "./controllers/slot-state-controller.js";
7
- import { SbbOverlayPositionController as c } from "./controllers/overlay-position-controller.js";
5
+ import { SbbDarkModeController as i, SbbMediaMatcherController as p, SbbMediaQueryBreakpointLargeAndAbove as C, SbbMediaQueryBreakpointLargeAndBelow as M, SbbMediaQueryBreakpointSmallAndBelow as y, SbbMediaQueryDarkMode as f, SbbMediaQueryForcedColors as m, SbbMediaQueryHover as u, SbbMediaQueryPointerCoarse as x } from "./controllers/media-matchers-controller.js";
6
+ import { SbbSlotStateController as g, SbbSlottedChangeEvent as k } from "./controllers/slot-state-controller.js";
7
+ import { SbbOverlayPositionController as B } from "./controllers/overlay-position-controller.js";
8
8
  export {
9
9
  i as SbbDarkModeController,
10
10
  o as SbbEscapableOverlayController,
11
- l as SbbIdReferenceController,
12
- a as SbbInertController,
11
+ t as SbbIdReferenceController,
12
+ l as SbbInertController,
13
13
  S as SbbLanguageController,
14
- M as SbbMediaMatcherController,
15
- p as SbbMediaQueryBreakpointMediumAndAbove,
16
- m as SbbMediaQueryBreakpointMediumAndBelow,
17
- u as SbbMediaQueryBreakpointSmallAndBelow,
18
- C as SbbMediaQueryDarkMode,
19
- y as SbbMediaQueryForcedColors,
20
- f as SbbMediaQueryHover,
14
+ p as SbbMediaMatcherController,
15
+ C as SbbMediaQueryBreakpointLargeAndAbove,
16
+ M as SbbMediaQueryBreakpointLargeAndBelow,
17
+ y as SbbMediaQueryBreakpointSmallAndBelow,
18
+ f as SbbMediaQueryDarkMode,
19
+ m as SbbMediaQueryForcedColors,
20
+ u as SbbMediaQueryHover,
21
21
  x as SbbMediaQueryPointerCoarse,
22
- c as SbbOverlayPositionController,
23
- k as SbbSlotStateController
22
+ B as SbbOverlayPositionController,
23
+ g as SbbSlotStateController,
24
+ k as SbbSlottedChangeEvent
24
25
  };
@@ -8,5 +8,4 @@ export * from './decorators/host-attributes.js';
8
8
  export * from './decorators/id-reference.js';
9
9
  export * from './decorators/omit-empty-converter.js';
10
10
  export * from './decorators/plain-date.js';
11
- export * from './decorators/slot-state.js';
12
11
  //# sourceMappingURL=decorators.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"decorators.d.ts","sourceRoot":"","sources":["../../../src/elements/core/decorators.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wCAAwC,CAAC;AACvD,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sCAAsC,CAAC;AACrD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC"}
1
+ {"version":3,"file":"decorators.d.ts","sourceRoot":"","sources":["../../../src/elements/core/decorators.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wCAAwC,CAAC;AACvD,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sCAAsC,CAAC;AACrD,cAAc,4BAA4B,CAAC"}
@@ -3,17 +3,15 @@ import { getOverride as p } from "./decorators/get-override.js";
3
3
  import { handleDistinctChange as m } from "./decorators/handle-distinct-change.js";
4
4
  import { hostAttributes as n } from "./decorators/host-attributes.js";
5
5
  import { idReference as a } from "./decorators/id-reference.js";
6
- import { omitEmptyConverter as s } from "./decorators/omit-empty-converter.js";
7
- import { plainDate as d, plainDateConverter as h } from "./decorators/plain-date.js";
8
- import { slotState as C } from "./decorators/slot-state.js";
6
+ import { omitEmptyConverter as d } from "./decorators/omit-empty-converter.js";
7
+ import { plainDate as l, plainDateConverter as s } from "./decorators/plain-date.js";
9
8
  export {
10
9
  t as forceType,
11
10
  p as getOverride,
12
11
  m as handleDistinctChange,
13
12
  n as hostAttributes,
14
13
  a as idReference,
15
- s as omitEmptyConverter,
16
- d as plainDate,
17
- h as plainDateConverter,
18
- C as slotState
14
+ d as omitEmptyConverter,
15
+ l as plainDate,
16
+ s as plainDateConverter
19
17
  };
@@ -1,4 +1,4 @@
1
- export declare const breakpoints: readonly ["zero", "micro", "small", "medium", "large", "wide", "ultra"];
1
+ export declare const breakpoints: readonly ["zero", "small", "large", "ultra"];
2
2
  export type Breakpoint = (typeof breakpoints)[number];
3
3
  /**
4
4
  * Checks whether the document matches a particular media query.
@@ -1 +1 @@
1
- {"version":3,"file":"breakpoint.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/dom/breakpoint.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,yEAA0E,CAAC;AACnG,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtD;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAC1B,IAAI,CAAC,EAAE,UAAU,EACjB,EAAE,CAAC,EAAE,UAAU,EACf,UAAU,CAAC,EAAE;IAAE,oBAAoB,EAAE,OAAO,CAAA;CAAE,GAC7C,OAAO,GAAG,IAAI,CAsBhB"}
1
+ {"version":3,"file":"breakpoint.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/dom/breakpoint.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,8CAA+C,CAAC;AACxE,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtD;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAC1B,IAAI,CAAC,EAAE,UAAU,EACjB,EAAE,CAAC,EAAE,UAAU,EACf,UAAU,CAAC,EAAE;IAAE,oBAAoB,EAAE,OAAO,CAAA;CAAE,GAC7C,OAAO,GAAG,IAAI,CAsBhB"}
@@ -1,12 +1,12 @@
1
1
  import { isServer as d } from "lit";
2
- const s = ["zero", "micro", "small", "medium", "large", "wide", "ultra"];
3
- function u(n, i, a) {
2
+ const s = ["zero", "small", "large", "ultra"];
3
+ function p(n, a, i) {
4
4
  if (d)
5
5
  return null;
6
- const o = getComputedStyle(document.documentElement), t = n ? o.getPropertyValue(`--sbb-breakpoint-${n}-min`) : "", e = i ? `${parseFloat(o.getPropertyValue(`--sbb-breakpoint-${i}-${a?.includeMaxBreakpoint ? "max" : "min"}`)) - (a?.includeMaxBreakpoint ? 0 : 0.0625)}rem` : "", r = t && `(min-width: ${t})`, m = e && `(max-width: ${e})`, c = t && e && " and ";
6
+ const o = getComputedStyle(document.documentElement), t = n ? o.getPropertyValue(`--sbb-breakpoint-${n}-min`) : "", e = a ? `${parseFloat(o.getPropertyValue(`--sbb-breakpoint-${a}-${i?.includeMaxBreakpoint ? "max" : "min"}`)) - (i?.includeMaxBreakpoint ? 0 : 0.0625)}rem` : "", r = t && `(min-width: ${t})`, m = e && `(max-width: ${e})`, c = t && e && " and ";
7
7
  return window.matchMedia(`${r}${c}${m}`).matches;
8
8
  }
9
9
  export {
10
10
  s as breakpoints,
11
- u as isBreakpoint
11
+ p as isBreakpoint
12
12
  };
package/core/i18n/i18n.js CHANGED
@@ -49,7 +49,7 @@ const i = {
49
49
  }, d = {
50
50
  de: "Wagen",
51
51
  en: "Train coach",
52
- fr: "Wagon du train",
52
+ fr: "Wagon",
53
53
  it: "Carrozza del treno"
54
54
  }, u = {
55
55
  de: "Nummer",
@@ -400,7 +400,7 @@ const i = {
400
400
  }, Y = {
401
401
  de: "Nächster Tag",
402
402
  en: "Next day",
403
- fr: "Le prochain jour",
403
+ fr: "Jour suivant",
404
404
  it: "Giorno successivo"
405
405
  }, X = {
406
406
  de: "Vorheriger Tag",
@@ -480,7 +480,7 @@ const i = {
480
480
  }), ue = {
481
481
  de: "erweitert",
482
482
  en: "expanded",
483
- fr: "est tiré",
483
+ fr: "étendu",
484
484
  it: "espanso"
485
485
  }, fe = {
486
486
  de: "reduziert",
@@ -495,7 +495,7 @@ const i = {
495
495
  }, ge = {
496
496
  de: "Mehr Breadcrumbs anzeigen",
497
497
  en: "Show more breadcrumbs",
498
- fr: "Afficher plus breadcrumbs",
498
+ fr: "Afficher plus de fils d’Ariane",
499
499
  it: "Mostra più breadcrumbs"
500
500
  }, pe = {
501
501
  de: "Feldinhalt löschen",
@@ -550,7 +550,7 @@ const i = {
550
550
  }, Te = {
551
551
  de: "Nächste Seite",
552
552
  en: "Next page",
553
- fr: "Prochaine page",
553
+ fr: "Page suivante",
554
554
  it: "Pagina successiva"
555
555
  }, we = {
556
556
  de: "Vorherige Seite",
@@ -585,7 +585,7 @@ const i = {
585
585
  }, ke = {
586
586
  de: "Muss gesetzt sein.",
587
587
  en: "Must be checked.",
588
- fr: "Doit être défini.",
588
+ fr: "Doit être cochée.",
589
589
  it: "Deve essere impostato."
590
590
  }, Fe = {
591
591
  de: "Auswahl erforderlich.",
@@ -1,6 +1,6 @@
1
1
  export type SbbLanguage = 'de' | 'en' | 'fr' | 'it';
2
2
  export type SbbTime = `${number}:${number}:${number}`;
3
- export type SbbHorizontalFrom = 'zero' | 'micro' | 'small' | 'medium' | 'large' | 'wide' | 'ultra';
3
+ export type SbbHorizontalFrom = 'zero' | 'small' | 'large' | 'ultra';
4
4
  export type SbbIconPlacement = 'start' | 'end';
5
5
  export type SbbOccupancy = 'high' | 'medium' | 'low' | 'none';
6
6
  export type SbbOrientation = 'horizontal' | 'vertical';
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/interfaces/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEpD,MAAM,MAAM,OAAO,GAAG,GAAG,MAAM,IAAI,MAAM,IAAI,MAAM,EAAE,CAAC;AAEtD,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;AAEnG,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,KAAK,CAAC;AAE/C,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,GAAG,MAAM,CAAC;AAE9D,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,UAAU,CAAC;AAEvD,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;AAE7D,MAAM,MAAM,cAAc,GAAG,qBAAqB,GAAG,sBAAsB,GAAG,mBAAmB,CAAC;AAElG,MAAM,MAAM,sBAAsB,GAAG,aAAa,GAAG,cAAc,CAAC;AAEpE,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE/E,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/interfaces/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEpD,MAAM,MAAM,OAAO,GAAG,GAAG,MAAM,IAAI,MAAM,IAAI,MAAM,EAAE,CAAC;AAEtD,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;AAErE,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,KAAK,CAAC;AAE/C,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,GAAG,MAAM,CAAC;AAE9D,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,UAAU,CAAC;AAEvD,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;AAE7D,MAAM,MAAM,cAAc,GAAG,qBAAqB,GAAG,sBAAsB,GAAG,mBAAmB,CAAC;AAElG,MAAM,MAAM,sBAAsB,GAAG,aAAa,GAAG,cAAc,CAAC;AAEpE,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE/E,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"element-internals-mixin.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/mixins/element-internals-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,UAAU,EAA2B,MAAM,KAAK,CAAC;AAEzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AA8C5D,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,SAAS;QACjB,2BAA2B,EAAE,OAAO,GAAG,IAAI,CAAC;QAC5C,oBAAoB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;QAChD,uBAAuB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;QACnD,mBAAmB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;QAC/C,wBAAwB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;QACpD,sBAAsB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;QAClD,gBAAgB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;KAC7C;CACF;AAyKD,MAAM,WAAW,8BAA8B;IAC7C,IAAI,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;CACjC;AAED,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,4BAA4B;IACxD,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,gBAAgB,CAAC;IAC/C,SAAS,CAAC,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI;CAC5D;AAED;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAC7B,WAAW,SAAS,OAAO,EAAE,GAAG,IAAI,EACpC,GAAG,aAAa,CAAC,OAAO,GAAG,IAAI,CAAC,EAAE,KACjC,OAAO,EAAE,GAAG,IAGd,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAC7B,WAAW,SAAS,OAAO,EAAE,GAAG,IAAI,EACpC,GAAG,mBAAmB,CAAC,OAAO,GAAG,IAAI,CAAC,EAAE,KACvC,OAAO,EAAE,GAAG,IAId,CAAC;AAEF;;;GAGG;AAEH,eAAO,MAAM,wBAAwB,GAAI,CAAC,SAAS,mBAAmB,CAAC,UAAU,CAAC,EAChF,YAAY,CAAC,KACZ,mBAAmB,CAAC,4BAA4B,CAAC,GAAG,CAAC,GAAG,8BA2C1D,CAAC"}
1
+ {"version":3,"file":"element-internals-mixin.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/mixins/element-internals-mixin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,UAAU,EAA2B,MAAM,KAAK,CAAC;AAIzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AA8C5D,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,SAAS;QACjB,2BAA2B,EAAE,OAAO,GAAG,IAAI,CAAC;QAC5C,oBAAoB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;QAChD,uBAAuB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;QACnD,mBAAmB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;QAC/C,wBAAwB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;QACpD,sBAAsB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;QAClD,gBAAgB,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;KAC7C;CACF;AAyKD,MAAM,WAAW,8BAA8B;IAC7C,IAAI,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;CACjC;AAED,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,4BAA4B;IACxD,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,gBAAgB,CAAC;IAC/C,SAAS,CAAC,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI;CAC5D;AAED;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAC7B,WAAW,SAAS,OAAO,EAAE,GAAG,IAAI,EACpC,GAAG,aAAa,CAAC,OAAO,GAAG,IAAI,CAAC,EAAE,KACjC,OAAO,EAAE,GAAG,IAGd,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAC7B,WAAW,SAAS,OAAO,EAAE,GAAG,IAAI,EACpC,GAAG,mBAAmB,CAAC,OAAO,GAAG,IAAI,CAAC,EAAE,KACvC,OAAO,EAAE,GAAG,IAId,CAAC;AAEF;;;GAGG;AAEH,eAAO,MAAM,wBAAwB,GAAI,CAAC,SAAS,mBAAmB,CAAC,UAAU,CAAC,EAChF,YAAY,CAAC,KACZ,mBAAmB,CAAC,4BAA4B,CAAC,GAAG,CAAC,GAAG,8BA4C1D,CAAC"}
@@ -1,5 +1,6 @@
1
- import { isServer as E } from "lit";
2
- const g = E || !CSS.supports("selector(:state(loading))") ? class extends Set {
1
+ import { isServer as p } from "lit";
2
+ import { SbbSlotStateController as E } from "../controllers.js";
3
+ const g = p || !CSS.supports("selector(:state(loading))") ? class extends Set {
3
4
  constructor(e) {
4
5
  super(), this._host = e, this._host.addController(this);
5
6
  }
@@ -19,7 +20,7 @@ const g = E || !CSS.supports("selector(:state(loading))") ? class extends Set {
19
20
  this._host.toggleAttribute(`state--${e}`, a);
20
21
  }
21
22
  } : null;
22
- if (!E) {
23
+ if (!p) {
23
24
  let h = 0;
24
25
  const e = (r) => r.shadowRoot?.host ?? (r instanceof Element ? r : (() => {
25
26
  throw new Error("Unable to resolve related element! This should never happen.");
@@ -95,10 +96,10 @@ if (!E) {
95
96
  }
96
97
  }
97
98
  }
98
- const y = (h, ...e) => {
99
+ const S = (h, ...e) => {
99
100
  const a = e.filter((c) => !!c);
100
101
  return h?.length ? h.concat(a) : e.length ? a : null;
101
- }, O = (h, ...e) => {
102
+ }, w = (h, ...e) => {
102
103
  e = e.filter((c) => !!c);
103
104
  const a = h?.filter((c) => !e.includes(c)) ?? null;
104
105
  return a?.length ? a : null;
@@ -116,7 +117,7 @@ const y = (h, ...e) => {
116
117
  for (const r of this.getAttributeNames().filter((d) => d.startsWith("state--")))
117
118
  this.internals.states.add(r.slice(7)), this.removeAttribute(r);
118
119
  const u = this.constructor.role;
119
- u && (this.internals.role = u);
120
+ u && (this.internals.role = u), this.addController(new E(this, this.internals));
120
121
  }
121
122
  toggleState(c, u) {
122
123
  u || u !== !1 && !this.internals.states.has(c) ? this.internals.states.add(c) : this.internals.states.delete(c);
@@ -126,6 +127,6 @@ const y = (h, ...e) => {
126
127
  };
127
128
  export {
128
129
  A as SbbElementInternalsMixin,
129
- y as appendAriaElements,
130
- O as removeAriaElements
130
+ S as appendAriaElements,
131
+ w as removeAriaElements
131
132
  };