@sbb-esta/lyne-elements 3.7.0 → 3.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (414) hide show
  1. package/alert/alert/alert.component.d.ts +2 -0
  2. package/alert/alert/alert.component.d.ts.map +1 -1
  3. package/alert/alert/alert.component.js +44 -39
  4. package/autocomplete/autocomplete-base-element.js +20 -20
  5. package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +14 -14
  6. package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +1 -1
  7. package/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js +9 -9
  8. package/badge.css +2 -2
  9. package/breadcrumb/breadcrumb/breadcrumb.component.js +12 -12
  10. package/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +15 -15
  11. package/button/common.js +1 -1
  12. package/button/mini-button/mini-button.component.js +7 -7
  13. package/button/mini-button-group/mini-button-group.component.js +21 -21
  14. package/button.js +1 -1
  15. package/calendar/calendar.component.js +36 -36
  16. package/card/card/card.component.js +10 -10
  17. package/card/card-badge/card-badge.component.js +15 -15
  18. package/carousel/carousel/carousel.component.d.ts +1 -0
  19. package/carousel/carousel/carousel.component.d.ts.map +1 -1
  20. package/carousel/carousel/carousel.component.js +37 -33
  21. package/carousel/carousel-list/carousel-list.component.d.ts +2 -2
  22. package/carousel/carousel-list/carousel-list.component.d.ts.map +1 -1
  23. package/carousel/carousel-list/carousel-list.component.js +32 -29
  24. package/checkbox/common.js +1 -1
  25. package/checkbox-common-gjHkSAmN.js +5 -0
  26. package/checkbox.js +1 -1
  27. package/chip/chip/chip.component.js +23 -23
  28. package/chip-label/chip-label.component.js +22 -22
  29. package/clock/clock.component.js +29 -29
  30. package/container/container/container.component.js +21 -21
  31. package/container/sticky-bar/sticky-bar.component.js +13 -13
  32. package/core/base-elements/open-close-base-element.d.ts +2 -0
  33. package/core/base-elements/open-close-base-element.d.ts.map +1 -1
  34. package/core/base-elements/open-close-base-element.js +4 -0
  35. package/core/config/config.d.ts +6 -0
  36. package/core/config/config.d.ts.map +1 -1
  37. package/core/controllers/escapable-overlay-controller.js +3 -3
  38. package/core/controllers/inert-controller.d.ts +8 -1
  39. package/core/controllers/inert-controller.d.ts.map +1 -1
  40. package/core/controllers/inert-controller.js +25 -13
  41. package/core/controllers/media-matchers-controller.d.ts +29 -0
  42. package/core/controllers/media-matchers-controller.d.ts.map +1 -1
  43. package/core/controllers/media-matchers-controller.js +73 -23
  44. package/core/controllers.js +16 -14
  45. package/core/dom/contains-pierce-shadow-dom.d.ts +3 -0
  46. package/core/dom/contains-pierce-shadow-dom.d.ts.map +1 -0
  47. package/core/dom/contains-pierce-shadow-dom.js +12 -0
  48. package/core/dom/queue-dom-content-loaded.d.ts +5 -0
  49. package/core/dom/queue-dom-content-loaded.d.ts.map +1 -0
  50. package/core/dom/queue-dom-content-loaded.js +7 -0
  51. package/core/dom/set-or-remove-attribute.d.ts +14 -0
  52. package/core/dom/set-or-remove-attribute.d.ts.map +1 -1
  53. package/core/dom/set-or-remove-attribute.js +11 -3
  54. package/core/dom.d.ts +2 -0
  55. package/core/dom.d.ts.map +1 -1
  56. package/core/dom.js +28 -22
  57. package/core/images.d.ts +4 -0
  58. package/core/images.d.ts.map +1 -1
  59. package/core/images.js +12 -12
  60. package/core/mixins.js +10 -10
  61. package/core/overlay/overlay-outside-pointer-event-listener.d.ts +26 -0
  62. package/core/overlay/overlay-outside-pointer-event-listener.d.ts.map +1 -0
  63. package/core/overlay/overlay-outside-pointer-event-listener.js +37 -0
  64. package/core/overlay/position.d.ts +20 -0
  65. package/core/overlay/position.d.ts.map +1 -1
  66. package/core/overlay/position.js +34 -23
  67. package/core/overlay.d.ts +1 -0
  68. package/core/overlay.d.ts.map +1 -1
  69. package/core/overlay.js +15 -11
  70. package/core/styles/core.scss +46 -12
  71. package/core/styles/mixins/badge.scss +2 -2
  72. package/core/styles/mixins/buttons.scss +14 -14
  73. package/core/styles/mixins/card.scss +9 -6
  74. package/core/styles/mixins/chip.scss +8 -8
  75. package/core/styles/mixins/image.scss +3 -0
  76. package/core/styles/mixins/link.scss +12 -7
  77. package/core/styles/mixins/lists.scss +6 -4
  78. package/core/styles/mixins/overlay.scss +6 -3
  79. package/core/styles/mixins/panel.scss +3 -3
  80. package/core/styles/mixins/pearl-chain-bullet.scss +9 -5
  81. package/core/styles/mixins/scrollbar.scss +12 -6
  82. package/core/styles/mixins/shadows.scss +32 -64
  83. package/core/styles/mixins/table.scss +13 -10
  84. package/core/styles/mixins/timetable-form.scss +3 -3
  85. package/core/styles/mixins/typo.scss +4 -4
  86. package/core/styles/node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables.scss +49 -1
  87. package/core/styles/node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables_css--mixin.scss +203 -5
  88. package/core/styles/off-brand-theme.scss +3 -0
  89. package/core/styles/safety-theme.scss +3 -0
  90. package/core/styles/standard-theme.scss +3 -14
  91. package/core/styles/theme.scss +18 -0
  92. package/core.css +259 -21
  93. package/custom-elements.json +2117 -366
  94. package/date-input/date-input.component.js +1 -1
  95. package/datepicker/datepicker-next-day/datepicker-next-day.component.js +4 -4
  96. package/datepicker/datepicker-previous-day/datepicker-previous-day.component.js +6 -6
  97. package/datepicker/datepicker-toggle/datepicker-toggle.component.js +7 -7
  98. package/development/alert/alert/alert.component.d.ts +2 -0
  99. package/development/alert/alert/alert.component.d.ts.map +1 -1
  100. package/development/alert/alert/alert.component.js +22 -8
  101. package/development/autocomplete/autocomplete-base-element.js +23 -11
  102. package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +15 -14
  103. package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +5 -4
  104. package/development/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js +19 -11
  105. package/development/breadcrumb/breadcrumb/breadcrumb.component.js +4 -1
  106. package/development/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +16 -8
  107. package/development/button/common.js +1 -1
  108. package/development/button/mini-button/mini-button.component.js +15 -14
  109. package/development/button/mini-button-group/mini-button-group.component.js +4 -4
  110. package/development/button.js +1 -1
  111. package/development/calendar/calendar.component.js +21 -11
  112. package/development/card/card/card.component.js +11 -6
  113. package/development/card/card-badge/card-badge.component.js +10 -9
  114. package/development/carousel/carousel/carousel.component.d.ts +1 -0
  115. package/development/carousel/carousel/carousel.component.d.ts.map +1 -1
  116. package/development/carousel/carousel/carousel.component.js +14 -4
  117. package/development/carousel/carousel-list/carousel-list.component.d.ts +2 -2
  118. package/development/carousel/carousel-list/carousel-list.component.d.ts.map +1 -1
  119. package/development/carousel/carousel-list/carousel-list.component.js +29 -21
  120. package/development/checkbox/common.js +1 -1
  121. package/development/{checkbox-common-aMPOsPVA.js → checkbox-common-Dy_ofVhp.js} +4 -3
  122. package/development/checkbox.js +1 -1
  123. package/development/chip/chip/chip.component.js +15 -14
  124. package/development/chip-label/chip-label.component.js +12 -15
  125. package/development/clock/clock.component.js +11 -3
  126. package/development/container/container/container.component.js +6 -6
  127. package/development/container/sticky-bar/sticky-bar.component.js +6 -6
  128. package/development/core/base-elements/open-close-base-element.d.ts +2 -0
  129. package/development/core/base-elements/open-close-base-element.d.ts.map +1 -1
  130. package/development/core/base-elements/open-close-base-element.js +5 -1
  131. package/development/core/config/config.d.ts +6 -0
  132. package/development/core/config/config.d.ts.map +1 -1
  133. package/development/core/config/config.js +1 -1
  134. package/development/core/controllers/escapable-overlay-controller.js +2 -2
  135. package/development/core/controllers/inert-controller.d.ts +8 -1
  136. package/development/core/controllers/inert-controller.d.ts.map +1 -1
  137. package/development/core/controllers/inert-controller.js +49 -30
  138. package/development/core/controllers/media-matchers-controller.d.ts +29 -0
  139. package/development/core/controllers/media-matchers-controller.d.ts.map +1 -1
  140. package/development/core/controllers/media-matchers-controller.js +74 -1
  141. package/development/core/controllers.js +3 -1
  142. package/development/core/dom/contains-pierce-shadow-dom.d.ts +3 -0
  143. package/development/core/dom/contains-pierce-shadow-dom.d.ts.map +1 -0
  144. package/development/core/dom/contains-pierce-shadow-dom.js +14 -0
  145. package/development/core/dom/queue-dom-content-loaded.d.ts +5 -0
  146. package/development/core/dom/queue-dom-content-loaded.d.ts.map +1 -0
  147. package/development/core/dom/queue-dom-content-loaded.js +12 -0
  148. package/development/core/dom/set-or-remove-attribute.d.ts +14 -0
  149. package/development/core/dom/set-or-remove-attribute.d.ts.map +1 -1
  150. package/development/core/dom/set-or-remove-attribute.js +9 -1
  151. package/development/core/dom.d.ts +2 -0
  152. package/development/core/dom.d.ts.map +1 -1
  153. package/development/core/dom.js +8 -2
  154. package/development/core/images.d.ts +4 -0
  155. package/development/core/images.d.ts.map +1 -1
  156. package/development/core/images.js +11 -11
  157. package/development/core/mixins.js +7 -6
  158. package/development/core/overlay/overlay-outside-pointer-event-listener.d.ts +26 -0
  159. package/development/core/overlay/overlay-outside-pointer-event-listener.d.ts.map +1 -0
  160. package/development/core/overlay/overlay-outside-pointer-event-listener.js +61 -0
  161. package/development/core/overlay/position.d.ts +20 -0
  162. package/development/core/overlay/position.d.ts.map +1 -1
  163. package/development/core/overlay/position.js +41 -1
  164. package/development/core/overlay.d.ts +1 -0
  165. package/development/core/overlay.d.ts.map +1 -1
  166. package/development/core/overlay.js +6 -2
  167. package/development/date-input/date-input.component.js +2 -2
  168. package/development/datepicker/datepicker-next-day/datepicker-next-day.component.js +15 -14
  169. package/development/datepicker/datepicker-previous-day/datepicker-previous-day.component.js +15 -14
  170. package/development/datepicker/datepicker-toggle/datepicker-toggle.component.js +15 -14
  171. package/development/dialog/dialog/dialog.component.d.ts +1 -0
  172. package/development/dialog/dialog/dialog.component.d.ts.map +1 -1
  173. package/development/dialog/dialog/dialog.component.js +28 -14
  174. package/development/dialog/dialog-actions/dialog-actions.component.js +1 -1
  175. package/development/dialog/dialog-title/dialog-title.component.js +1 -1
  176. package/development/divider/divider.component.js +2 -2
  177. package/development/expansion-panel/expansion-panel/expansion-panel.component.js +6 -6
  178. package/development/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +6 -2
  179. package/development/file-selector/common.js +1 -1
  180. package/development/{file-selector-common-CRnQigIZ.js → file-selector-common-CRNAWFM_.js} +8 -5
  181. package/development/file-selector.js +1 -1
  182. package/development/flip-card/flip-card/flip-card.component.js +8 -3
  183. package/development/footer/footer.component.js +5 -4
  184. package/development/form-error/form-error.component.js +2 -2
  185. package/development/form-field/form-field/form-field.component.js +36 -22
  186. package/development/form-field/form-field-clear/form-field-clear.component.js +15 -14
  187. package/development/header/common/header-action-common.js +4 -4
  188. package/development/header/header/header.component.js +2 -2
  189. package/development/header/header-environment/header-environment.component.js +1 -1
  190. package/development/{icon-sidebar-button-common-CA_8TnFu.js → icon-sidebar-button-common-BGrKtvyM.js} +3 -2
  191. package/development/journey-header/journey-header.component.js +1 -1
  192. package/development/lead-container/lead-container.component.js +4 -2
  193. package/development/link/common/block-link-common.js +17 -5
  194. package/development/link/common/inline-link-common.js +9 -3
  195. package/development/link-list/link-list-anchor/link-list-anchor.component.js +11 -9
  196. package/development/loading-indicator/loading-indicator.component.js +1 -1
  197. package/development/loading-indicator-circle/loading-indicator-circle.component.js +2 -2
  198. package/development/logo/logo.component.js +3 -2
  199. package/development/map-container/map-container.component.js +14 -6
  200. package/development/menu/common/menu-action-common.d.ts.map +1 -1
  201. package/development/menu/common/menu-action-common.js +23 -5
  202. package/development/menu/menu/menu.component.d.ts +23 -10
  203. package/development/menu/menu/menu.component.d.ts.map +1 -1
  204. package/development/menu/menu/menu.component.js +237 -72
  205. package/development/message/message.component.js +3 -1
  206. package/development/navigation/common/navigation-action-common.js +4 -4
  207. package/development/navigation/navigation/navigation.component.js +21 -19
  208. package/development/navigation/navigation-list/navigation-list.component.js +1 -1
  209. package/development/navigation/navigation-marker/navigation-marker.component.js +1 -1
  210. package/development/navigation/navigation-section/navigation-section.component.js +3 -3
  211. package/development/notification/notification.component.js +38 -18
  212. package/development/option/optgroup/optgroup-base-element.js +3 -2
  213. package/development/option/option/option.component.js +16 -12
  214. package/development/option/option-hint/option-hint.component.js +3 -2
  215. package/development/overlay/overlay.component.d.ts.map +1 -1
  216. package/development/overlay/overlay.component.js +28 -22
  217. package/development/paginator/compact-paginator/compact-paginator.component.js +3 -2
  218. package/development/paginator/paginator/paginator.component.js +18 -17
  219. package/development/popover/popover/popover.component.js +8 -6
  220. package/development/popover/popover-trigger/popover-trigger.component.js +20 -17
  221. package/development/radio-button/common.js +1 -1
  222. package/development/radio-button/radio-button/radio-button.component.js +3 -3
  223. package/development/radio-button/radio-button-panel/radio-button-panel.component.js +3 -3
  224. package/development/{radio-button-common-454JtP9b.js → radio-button-common-CgM3kQSW.js} +9 -8
  225. package/development/radio-button.js +1 -1
  226. package/development/sbb-tokens-CVLcOi-S.js +1 -1
  227. package/development/select/select.component.js +31 -13
  228. package/development/selection-action-panel/selection-action-panel.component.js +9 -5
  229. package/development/selection-expansion-panel/selection-expansion-panel.component.js +10 -6
  230. package/development/sidebar/common.js +1 -1
  231. package/development/sidebar/icon-sidebar/icon-sidebar.component.js +2 -2
  232. package/development/sidebar/sidebar/sidebar.component.js +14 -6
  233. package/development/sidebar.js +1 -1
  234. package/development/signet/signet.component.js +2 -2
  235. package/development/skiplink-list/skiplink-list.component.d.ts +3 -1
  236. package/development/skiplink-list/skiplink-list.component.d.ts.map +1 -1
  237. package/development/skiplink-list/skiplink-list.component.js +26 -9
  238. package/development/slider/slider.component.js +15 -9
  239. package/development/status/status.component.js +7 -7
  240. package/development/stepper/step/step.component.js +1 -3
  241. package/development/stepper/step-label/step-label.component.js +7 -6
  242. package/development/stepper/stepper/stepper.component.js +5 -5
  243. package/development/tabs/tab/tab.component.d.ts +10 -4
  244. package/development/tabs/tab/tab.component.d.ts.map +1 -1
  245. package/development/tabs/tab/tab.component.js +15 -16
  246. package/development/tabs/tab-group/tab-group.component.d.ts +15 -14
  247. package/development/tabs/tab-group/tab-group.component.d.ts.map +1 -1
  248. package/development/tabs/tab-group/tab-group.component.js +46 -175
  249. package/development/tabs/tab-label/tab-label.component.d.ts +21 -2
  250. package/development/tabs/tab-label/tab-label.component.d.ts.map +1 -1
  251. package/development/tabs/tab-label/tab-label.component.js +97 -19
  252. package/development/tag/tag/tag.component.js +15 -9
  253. package/development/teaser/teaser.component.js +3 -2
  254. package/development/teaser-hero/teaser-hero.component.js +3 -3
  255. package/development/teaser-product/common.js +1 -1
  256. package/development/{teaser-product-common-D6fa6x3w.js → teaser-product-common-DvlBRkE_.js} +14 -6
  257. package/development/teaser-product.js +1 -1
  258. package/development/time-input/time-input.component.js +2 -2
  259. package/development/timetable-form/timetable-form/timetable-form.component.js +1 -1
  260. package/development/timetable-form/timetable-form-details/timetable-form-details.component.js +1 -1
  261. package/development/timetable-form/timetable-form-field/timetable-form-field.component.js +3 -3
  262. package/development/timetable-occupancy/timetable-occupancy.component.js +2 -2
  263. package/development/timetable-occupancy-icon/timetable-occupancy-icon.component.d.ts +1 -0
  264. package/development/timetable-occupancy-icon/timetable-occupancy-icon.component.d.ts.map +1 -1
  265. package/development/timetable-occupancy-icon/timetable-occupancy-icon.component.js +4 -3
  266. package/development/title/title-base.js +2 -5
  267. package/development/title/title.component.js +1 -1
  268. package/development/toast/toast.component.d.ts +3 -1
  269. package/development/toast/toast.component.d.ts.map +1 -1
  270. package/development/toast/toast.component.js +31 -15
  271. package/development/toggle/toggle/toggle.component.js +8 -4
  272. package/development/toggle/toggle-option/toggle-option.component.js +5 -3
  273. package/development/toggle-check/toggle-check.component.js +13 -14
  274. package/development/tooltip/tooltip.component.d.ts +89 -0
  275. package/development/tooltip/tooltip.component.d.ts.map +1 -0
  276. package/development/tooltip/tooltip.component.js +473 -0
  277. package/development/tooltip.d.ts +5 -0
  278. package/development/tooltip.d.ts.map +1 -0
  279. package/development/tooltip.js +5 -0
  280. package/development/train/train-blocked-passage/train-blocked-passage.component.js +1 -1
  281. package/development/train/train-formation/train-formation.component.js +16 -4
  282. package/development/train/train-wagon/train-wagon.component.js +3 -12
  283. package/development/{transparent-button-COe-YB_U.js → transparent-button-DdSaBp_-.js} +141 -86
  284. package/development/visual-checkbox/visual-checkbox.component.js +12 -12
  285. package/dialog/dialog/dialog.component.d.ts +1 -0
  286. package/dialog/dialog/dialog.component.d.ts.map +1 -1
  287. package/dialog/dialog/dialog.component.js +37 -36
  288. package/dialog/dialog-actions/dialog-actions.component.js +6 -6
  289. package/dialog/dialog-title/dialog-title.component.js +4 -4
  290. package/divider/divider.component.js +16 -16
  291. package/expansion-panel/expansion-panel/expansion-panel.component.js +1 -1
  292. package/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +3 -3
  293. package/file-selector/common.js +1 -1
  294. package/file-selector-common-D88J9PEh.js +5 -0
  295. package/file-selector.js +1 -1
  296. package/flip-card/flip-card/flip-card.component.js +14 -14
  297. package/footer/footer.component.js +18 -18
  298. package/form-error/form-error.component.js +4 -4
  299. package/form-field/form-field/form-field.component.js +1 -1
  300. package/form-field/form-field-clear/form-field-clear.component.js +9 -9
  301. package/header/common/header-action-common.js +1 -1
  302. package/header/header/header.component.js +19 -19
  303. package/header/header-environment/header-environment.component.js +1 -1
  304. package/icon-sidebar-button-common-BeRXvifI.js +7 -0
  305. package/index.d.ts +2 -0
  306. package/index.js +2 -0
  307. package/journey-header/journey-header.component.js +1 -1
  308. package/lead-container/lead-container.component.js +5 -5
  309. package/link/common/block-link-common.js +23 -23
  310. package/link/common/inline-link-common.js +7 -7
  311. package/link-list/link-list-anchor/link-list-anchor.component.js +11 -11
  312. package/lists.css +5 -3
  313. package/loading-indicator/loading-indicator.component.js +1 -1
  314. package/loading-indicator-circle/loading-indicator-circle.component.js +13 -13
  315. package/logo/logo.component.js +9 -9
  316. package/map-container/map-container.component.js +15 -15
  317. package/menu/common/menu-action-common.d.ts.map +1 -1
  318. package/menu/common/menu-action-common.js +15 -12
  319. package/menu/menu/menu.component.d.ts +23 -10
  320. package/menu/menu/menu.component.d.ts.map +1 -1
  321. package/menu/menu/menu.component.js +156 -85
  322. package/message/message.component.js +9 -9
  323. package/navigation/common/navigation-action-common.js +6 -6
  324. package/navigation/navigation/navigation.component.js +19 -19
  325. package/navigation/navigation-list/navigation-list.component.js +1 -1
  326. package/navigation/navigation-marker/navigation-marker.component.js +1 -1
  327. package/navigation/navigation-section/navigation-section.component.js +1 -1
  328. package/notification/notification.component.js +8 -8
  329. package/off-brand-theme.css +3023 -0
  330. package/option/optgroup/optgroup-base-element.js +1 -1
  331. package/option/option/option.component.js +3 -3
  332. package/option/option-hint/option-hint.component.js +8 -8
  333. package/overlay/overlay.component.d.ts.map +1 -1
  334. package/overlay/overlay.component.js +47 -48
  335. package/package.json +14 -1
  336. package/paginator/compact-paginator/compact-paginator.component.js +4 -4
  337. package/paginator/paginator/paginator.component.js +10 -10
  338. package/popover/popover/popover.component.js +9 -9
  339. package/popover/popover-trigger/popover-trigger.component.js +5 -5
  340. package/radio-button/common.js +1 -1
  341. package/radio-button/radio-button/radio-button.component.js +13 -13
  342. package/radio-button/radio-button-panel/radio-button-panel.component.js +2 -2
  343. package/radio-button-common-Nm9ULjVb.js +5 -0
  344. package/radio-button.js +1 -1
  345. package/safety-theme.css +3023 -0
  346. package/scrollbar.css +52 -20
  347. package/select/select.component.js +45 -45
  348. package/selection-action-panel/selection-action-panel.component.js +6 -6
  349. package/selection-expansion-panel/selection-expansion-panel.component.js +11 -11
  350. package/sidebar/common.js +1 -1
  351. package/sidebar/icon-sidebar/icon-sidebar.component.js +12 -12
  352. package/sidebar/sidebar/sidebar.component.js +29 -29
  353. package/sidebar.js +1 -1
  354. package/signet/signet.component.js +1 -1
  355. package/skiplink-list/skiplink-list.component.d.ts +3 -1
  356. package/skiplink-list/skiplink-list.component.d.ts.map +1 -1
  357. package/skiplink-list/skiplink-list.component.js +37 -30
  358. package/slider/slider.component.js +16 -16
  359. package/standard-theme.css +340 -58
  360. package/status/status.component.js +13 -13
  361. package/stepper/step/step.component.js +5 -5
  362. package/stepper/step-label/step-label.component.js +1 -1
  363. package/stepper/stepper/stepper.component.js +7 -7
  364. package/table.css +15 -9
  365. package/tabs/tab/tab.component.d.ts +10 -4
  366. package/tabs/tab/tab.component.d.ts.map +1 -1
  367. package/tabs/tab/tab.component.js +22 -24
  368. package/tabs/tab-group/tab-group.component.d.ts +15 -14
  369. package/tabs/tab-group/tab-group.component.d.ts.map +1 -1
  370. package/tabs/tab-group/tab-group.component.js +68 -122
  371. package/tabs/tab-label/tab-label.component.d.ts +21 -2
  372. package/tabs/tab-label/tab-label.component.d.ts.map +1 -1
  373. package/tabs/tab-label/tab-label.component.js +88 -46
  374. package/tag/tag/tag.component.js +14 -14
  375. package/teaser/teaser.component.js +1 -1
  376. package/teaser-hero/teaser-hero.component.js +12 -12
  377. package/teaser-product/common.js +1 -1
  378. package/teaser-product-common-DIra6aVg.js +5 -0
  379. package/teaser-product.js +1 -1
  380. package/time-input/time-input.component.js +1 -1
  381. package/timetable-form/timetable-form/timetable-form.component.js +6 -6
  382. package/timetable-form/timetable-form-details/timetable-form-details.component.js +4 -4
  383. package/timetable-form/timetable-form-field/timetable-form-field.component.js +5 -5
  384. package/timetable-form.css +3 -3
  385. package/timetable-occupancy/timetable-occupancy.component.js +7 -7
  386. package/timetable-occupancy-icon/timetable-occupancy-icon.component.d.ts +1 -0
  387. package/timetable-occupancy-icon/timetable-occupancy-icon.component.d.ts.map +1 -1
  388. package/timetable-occupancy-icon/timetable-occupancy-icon.component.js +23 -23
  389. package/title/title-base.js +1 -1
  390. package/title/title.component.js +1 -1
  391. package/toast/toast.component.d.ts +3 -1
  392. package/toast/toast.component.d.ts.map +1 -1
  393. package/toast/toast.component.js +67 -59
  394. package/toggle/toggle/toggle.component.js +1 -1
  395. package/toggle/toggle-option/toggle-option.component.js +5 -5
  396. package/toggle-check/toggle-check.component.js +16 -16
  397. package/tooltip/tooltip.component.d.ts +89 -0
  398. package/tooltip/tooltip.component.d.ts.map +1 -0
  399. package/tooltip/tooltip.component.js +220 -0
  400. package/tooltip.d.ts +5 -0
  401. package/tooltip.d.ts.map +1 -0
  402. package/tooltip.js +4 -0
  403. package/train/train-blocked-passage/train-blocked-passage.component.js +1 -1
  404. package/train/train-formation/train-formation.component.js +16 -16
  405. package/train/train-wagon/train-wagon.component.js +1 -1
  406. package/transparent-button-Bg9fU_iZ.js +9 -0
  407. package/typography.css +1 -0
  408. package/visual-checkbox/visual-checkbox.component.js +14 -14
  409. package/checkbox-common-CDzcyq8p.js +0 -5
  410. package/file-selector-common-OHK9hu3a.js +0 -5
  411. package/icon-sidebar-button-common-CM-ueEhH.js +0 -7
  412. package/radio-button-common-CUppr5FI.js +0 -5
  413. package/teaser-product-common-C8oSkIxy.js +0 -5
  414. package/transparent-button-xudJxob_.js +0 -9
@@ -1861,6 +1861,21 @@
1861
1861
  }
1862
1862
  ]
1863
1863
  },
1864
+ {
1865
+ "kind": "javascript-module",
1866
+ "path": "tooltip.js",
1867
+ "declarations": [],
1868
+ "exports": [
1869
+ {
1870
+ "kind": "js",
1871
+ "name": "*",
1872
+ "declaration": {
1873
+ "name": "*",
1874
+ "package": "./tooltip/tooltip.component.js"
1875
+ }
1876
+ }
1877
+ ]
1878
+ },
1864
1879
  {
1865
1880
  "kind": "javascript-module",
1866
1881
  "path": "train.js",
@@ -3077,6 +3092,21 @@
3077
3092
  "module": "core/base-elements/open-close-base-element.js"
3078
3093
  }
3079
3094
  },
3095
+ {
3096
+ "kind": "method",
3097
+ "name": "escapeStrategy",
3098
+ "privacy": "public",
3099
+ "return": {
3100
+ "type": {
3101
+ "text": "void"
3102
+ }
3103
+ },
3104
+ "description": "The method which is called on escape key press. Defaults to calling close()",
3105
+ "inheritedFrom": {
3106
+ "name": "SbbOpenCloseBaseElement",
3107
+ "module": "core/base-elements/open-close-base-element.js"
3108
+ }
3109
+ },
3080
3110
  {
3081
3111
  "kind": "method",
3082
3112
  "name": "dispatchBeforeOpenEvent",
@@ -4232,6 +4262,21 @@
4232
4262
  "module": "core/base-elements/open-close-base-element.js"
4233
4263
  }
4234
4264
  },
4265
+ {
4266
+ "kind": "method",
4267
+ "name": "escapeStrategy",
4268
+ "privacy": "public",
4269
+ "return": {
4270
+ "type": {
4271
+ "text": "void"
4272
+ }
4273
+ },
4274
+ "description": "The method which is called on escape key press. Defaults to calling close()",
4275
+ "inheritedFrom": {
4276
+ "name": "SbbOpenCloseBaseElement",
4277
+ "module": "core/base-elements/open-close-base-element.js"
4278
+ }
4279
+ },
4235
4280
  {
4236
4281
  "kind": "method",
4237
4282
  "name": "dispatchBeforeOpenEvent",
@@ -7795,6 +7840,14 @@
7795
7840
  "package": "./dom/breakpoint.js"
7796
7841
  }
7797
7842
  },
7843
+ {
7844
+ "kind": "js",
7845
+ "name": "*",
7846
+ "declaration": {
7847
+ "name": "*",
7848
+ "package": "./dom/contains-pierce-shadow-dom.js"
7849
+ }
7850
+ },
7798
7851
  {
7799
7852
  "kind": "js",
7800
7853
  "name": "*",
@@ -7827,6 +7880,14 @@
7827
7880
  "package": "./dom/platform.js"
7828
7881
  }
7829
7882
  },
7883
+ {
7884
+ "kind": "js",
7885
+ "name": "*",
7886
+ "declaration": {
7887
+ "name": "*",
7888
+ "package": "./dom/queue-dom-content-loaded.js"
7889
+ }
7890
+ },
7830
7891
  {
7831
7892
  "kind": "js",
7832
7893
  "name": "*",
@@ -7917,7 +7978,8 @@
7917
7978
  "type": {
7918
7979
  "text": "string[]"
7919
7980
  },
7920
- "default": "[ 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Billetkontrolle.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Hoehenrundweg-Gryden-Lenk.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Kaufmann-frau.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Corona-Schutzkonzept.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Digitale-Werbung-SBB.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Bahnhof-Luzern.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Einheitswagen-IV-EuroCity.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Einsatzstrecken_EW4-Eurocity.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Frau-No-Results.png', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Helpteaser-Background-Landscape.png', ]"
7981
+ "default": "[ 'https://cdn.img.sbb.ch/content/dam/internet/externe-assets/lyne/Billetkontrolle.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/externe-assets/lyne/Hoehenrundweg-Gryden-Lenk.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/externe-assets/lyne/Kaufmann-frau.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/externe-assets/lyne/Corona-Schutzkonzept.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/externe-assets/lyne/Digitale-Werbung-SBB.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/externe-assets/lyne/Bahnhof-Luzern.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/externe-assets/lyne/Einheitswagen-IV-EuroCity.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/externe-assets/lyne/Einsatzstrecken_EW4-Eurocity.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/externe-assets/lyne/Frau-No-Results.png', 'https://cdn.img.sbb.ch/content/dam/internet/externe-assets/lyne/Helpteaser-Background-Landscape.png', ]",
7982
+ "description": "This demo pictures must not be used in production code.\nInternally we should only use them in stories."
7921
7983
  }
7922
7984
  ],
7923
7985
  "exports": [
@@ -8126,6 +8188,14 @@
8126
8188
  "package": "./overlay/overlay-option-panel.js"
8127
8189
  }
8128
8190
  },
8191
+ {
8192
+ "kind": "js",
8193
+ "name": "*",
8194
+ "declaration": {
8195
+ "name": "*",
8196
+ "package": "./overlay/overlay-outside-pointer-event-listener.js"
8197
+ }
8198
+ },
8129
8199
  {
8130
8200
  "kind": "js",
8131
8201
  "name": "*",
@@ -13296,6 +13366,21 @@
13296
13366
  "module": "core/base-elements/open-close-base-element.js"
13297
13367
  }
13298
13368
  },
13369
+ {
13370
+ "kind": "method",
13371
+ "name": "escapeStrategy",
13372
+ "privacy": "public",
13373
+ "return": {
13374
+ "type": {
13375
+ "text": "void"
13376
+ }
13377
+ },
13378
+ "description": "The method which is called on escape key press. Defaults to calling close()",
13379
+ "inheritedFrom": {
13380
+ "name": "SbbOpenCloseBaseElement",
13381
+ "module": "core/base-elements/open-close-base-element.js"
13382
+ }
13383
+ },
13299
13384
  {
13300
13385
  "kind": "method",
13301
13386
  "name": "dispatchBeforeOpenEvent",
@@ -14060,6 +14145,21 @@
14060
14145
  "module": "core/base-elements/open-close-base-element.js"
14061
14146
  }
14062
14147
  },
14148
+ {
14149
+ "kind": "method",
14150
+ "name": "escapeStrategy",
14151
+ "privacy": "public",
14152
+ "return": {
14153
+ "type": {
14154
+ "text": "void"
14155
+ }
14156
+ },
14157
+ "description": "The method which is called on escape key press. Defaults to calling close()",
14158
+ "inheritedFrom": {
14159
+ "name": "SbbOpenCloseBaseElement",
14160
+ "module": "core/base-elements/open-close-base-element.js"
14161
+ }
14162
+ },
14063
14163
  {
14064
14164
  "kind": "method",
14065
14165
  "name": "dispatchBeforeOpenEvent",
@@ -15878,6 +15978,21 @@
15878
15978
  "module": "core/base-elements/open-close-base-element.js"
15879
15979
  }
15880
15980
  },
15981
+ {
15982
+ "kind": "method",
15983
+ "name": "escapeStrategy",
15984
+ "privacy": "public",
15985
+ "return": {
15986
+ "type": {
15987
+ "text": "void"
15988
+ }
15989
+ },
15990
+ "description": "The method which is called on escape key press. Defaults to calling close()",
15991
+ "inheritedFrom": {
15992
+ "name": "SbbOpenCloseBaseElement",
15993
+ "module": "core/base-elements/open-close-base-element.js"
15994
+ }
15995
+ },
15881
15996
  {
15882
15997
  "kind": "method",
15883
15998
  "name": "dispatchBeforeOpenEvent",
@@ -17290,6 +17405,51 @@
17290
17405
  "description": "The semantic level of the title, e.g. 2 = h2.",
17291
17406
  "attribute": "title-level"
17292
17407
  },
17408
+ {
17409
+ "kind": "field",
17410
+ "name": "_darkModeController",
17411
+ "privacy": "private",
17412
+ "default": "new SbbDarkModeController(this, () => { for (const child of this.listChildren) { child.negative = this._isLightMode(); } })"
17413
+ },
17414
+ {
17415
+ "kind": "method",
17416
+ "name": "_isLightMode",
17417
+ "privacy": "private",
17418
+ "return": {
17419
+ "type": {
17420
+ "text": "boolean"
17421
+ }
17422
+ }
17423
+ },
17424
+ {
17425
+ "kind": "method",
17426
+ "name": "toggleState",
17427
+ "privacy": "protected",
17428
+ "return": {
17429
+ "type": {
17430
+ "text": "void"
17431
+ }
17432
+ },
17433
+ "parameters": [
17434
+ {
17435
+ "name": "state",
17436
+ "type": {
17437
+ "text": "string"
17438
+ }
17439
+ },
17440
+ {
17441
+ "name": "force",
17442
+ "optional": true,
17443
+ "type": {
17444
+ "text": "boolean"
17445
+ }
17446
+ }
17447
+ ],
17448
+ "inheritedFrom": {
17449
+ "name": "SbbElementInternalsMixin",
17450
+ "module": "core/mixins/element-internals-mixin.js"
17451
+ }
17452
+ },
17293
17453
  {
17294
17454
  "kind": "field",
17295
17455
  "name": "listChildren",
@@ -17454,6 +17614,10 @@
17454
17614
  }
17455
17615
  ],
17456
17616
  "mixins": [
17617
+ {
17618
+ "name": "SbbElementInternalsMixin",
17619
+ "module": "core/mixins.js"
17620
+ },
17457
17621
  {
17458
17622
  "name": "SbbNamedSlotListMixin",
17459
17623
  "module": "core/mixins.js"
@@ -20751,6 +20915,12 @@
20751
20915
  "privacy": "private",
20752
20916
  "default": "new SbbMediaMatcherController(this, { [SbbMediaQueryForcedColors]: (matches) => { this._forcedColors = matches; this._setNameAndAriaLabel(); }, })"
20753
20917
  },
20918
+ {
20919
+ "kind": "field",
20920
+ "name": "_darkModeController",
20921
+ "privacy": "private",
20922
+ "default": "new SbbDarkModeController(this, () => this._setNameAndAriaLabel())"
20923
+ },
20754
20924
  {
20755
20925
  "kind": "field",
20756
20926
  "name": "_forcedColors",
@@ -21431,6 +21601,12 @@
21431
21601
  "privacy": "private",
21432
21602
  "default": "new SbbLanguageController(this)"
21433
21603
  },
21604
+ {
21605
+ "kind": "field",
21606
+ "name": "_darkModeController",
21607
+ "privacy": "private",
21608
+ "default": "new SbbDarkModeController(this, () => { this._syncSlottedElements(); this.requestUpdate(); })"
21609
+ },
21434
21610
  {
21435
21611
  "kind": "method",
21436
21612
  "name": "open",
@@ -21530,21 +21706,13 @@
21530
21706
  },
21531
21707
  {
21532
21708
  "kind": "method",
21533
- "name": "_onActionSlotChange",
21709
+ "name": "_syncSlottedElements",
21534
21710
  "privacy": "private",
21535
21711
  "return": {
21536
21712
  "type": {
21537
21713
  "text": "void"
21538
21714
  }
21539
- },
21540
- "parameters": [
21541
- {
21542
- "name": "event",
21543
- "type": {
21544
- "text": "Event"
21545
- }
21546
- }
21547
- ]
21715
+ }
21548
21716
  },
21549
21717
  {
21550
21718
  "kind": "method",
@@ -21575,6 +21743,16 @@
21575
21743
  },
21576
21744
  "description": "Since we do not stack toasts, we force the closing on other existing opened ones"
21577
21745
  },
21746
+ {
21747
+ "kind": "method",
21748
+ "name": "_isLightMode",
21749
+ "privacy": "private",
21750
+ "return": {
21751
+ "type": {
21752
+ "text": "boolean"
21753
+ }
21754
+ }
21755
+ },
21578
21756
  {
21579
21757
  "kind": "field",
21580
21758
  "name": "iconName",
@@ -21763,6 +21941,21 @@
21763
21941
  "module": "core/base-elements/open-close-base-element.js"
21764
21942
  }
21765
21943
  },
21944
+ {
21945
+ "kind": "method",
21946
+ "name": "escapeStrategy",
21947
+ "privacy": "public",
21948
+ "return": {
21949
+ "type": {
21950
+ "text": "void"
21951
+ }
21952
+ },
21953
+ "description": "The method which is called on escape key press. Defaults to calling close()",
21954
+ "inheritedFrom": {
21955
+ "name": "SbbOpenCloseBaseElement",
21956
+ "module": "core/base-elements/open-close-base-element.js"
21957
+ }
21958
+ },
21766
21959
  {
21767
21960
  "kind": "method",
21768
21961
  "name": "dispatchBeforeOpenEvent",
@@ -22616,96 +22809,804 @@
22616
22809
  },
22617
22810
  {
22618
22811
  "kind": "method",
22619
- "name": "renderIconSlot",
22812
+ "name": "renderIconSlot",
22813
+ "privacy": "protected",
22814
+ "return": {
22815
+ "type": {
22816
+ "text": "TemplateResult"
22817
+ }
22818
+ },
22819
+ "parameters": [
22820
+ {
22821
+ "name": "classname",
22822
+ "optional": true,
22823
+ "type": {
22824
+ "text": "string"
22825
+ }
22826
+ }
22827
+ ],
22828
+ "inheritedFrom": {
22829
+ "name": "SbbIconNameMixin",
22830
+ "module": "icon/icon-name-mixin.js"
22831
+ }
22832
+ }
22833
+ ],
22834
+ "events": [
22835
+ {
22836
+ "type": {
22837
+ "text": "Event"
22838
+ },
22839
+ "description": "The change event is fired when the user modifies the element's value. Unlike the input event, the change event is not necessarily fired for each alteration to an element's value.",
22840
+ "name": "change"
22841
+ },
22842
+ {
22843
+ "type": {
22844
+ "text": "InputEvent"
22845
+ },
22846
+ "description": "The input event fires when the value has been changed as a direct result of a user action.",
22847
+ "name": "input"
22848
+ }
22849
+ ],
22850
+ "attributes": [
22851
+ {
22852
+ "name": "value",
22853
+ "type": {
22854
+ "text": "T | null"
22855
+ },
22856
+ "default": "null",
22857
+ "description": "Value of the form element.",
22858
+ "fieldName": "value"
22859
+ },
22860
+ {
22861
+ "name": "size",
22862
+ "type": {
22863
+ "text": "'xs' | 's' | 'm'"
22864
+ },
22865
+ "description": "Size variant, either m, s or xs.",
22866
+ "default": "'s' / 'xs' (lean)",
22867
+ "fieldName": "size"
22868
+ },
22869
+ {
22870
+ "name": "icon-name",
22871
+ "type": {
22872
+ "text": "string"
22873
+ },
22874
+ "default": "'tick-small'",
22875
+ "description": "The svg name for the true state - default -> 'tick-small'",
22876
+ "fieldName": "iconName",
22877
+ "inheritedFrom": {
22878
+ "name": "SbbIconNameMixin",
22879
+ "module": "icon/icon-name-mixin.js"
22880
+ }
22881
+ },
22882
+ {
22883
+ "name": "label-position",
22884
+ "type": {
22885
+ "text": "'before' | 'after'"
22886
+ },
22887
+ "default": "'after'",
22888
+ "description": "The label position relative to the toggle. Defaults to 'after'",
22889
+ "fieldName": "labelPosition"
22890
+ },
22891
+ {
22892
+ "name": "checked",
22893
+ "description": "Whether the checkbox is checked.",
22894
+ "type": {
22895
+ "text": "boolean"
22896
+ },
22897
+ "fieldName": "checked",
22898
+ "inheritedFrom": {
22899
+ "name": "SbbFormAssociatedCheckboxMixin",
22900
+ "module": "core/mixins/form-associated-checkbox-mixin.js"
22901
+ }
22902
+ },
22903
+ {
22904
+ "name": "disabled",
22905
+ "description": "Whether the component is disabled.",
22906
+ "default": "false",
22907
+ "type": {
22908
+ "text": "boolean"
22909
+ },
22910
+ "fieldName": "disabled",
22911
+ "inheritedFrom": {
22912
+ "name": "SbbDisabledMixin",
22913
+ "module": "core/mixins/disabled-mixin.js"
22914
+ }
22915
+ },
22916
+ {
22917
+ "name": "required",
22918
+ "description": "Whether the component is required.",
22919
+ "type": {
22920
+ "text": "boolean"
22921
+ },
22922
+ "fieldName": "required",
22923
+ "inheritedFrom": {
22924
+ "name": "SbbRequiredMixin",
22925
+ "module": "core/mixins/required-mixin.js"
22926
+ }
22927
+ },
22928
+ {
22929
+ "name": "name",
22930
+ "description": "Name of the form element. Will be read from name attribute.",
22931
+ "type": {
22932
+ "text": "string"
22933
+ },
22934
+ "fieldName": "name",
22935
+ "inheritedFrom": {
22936
+ "name": "SbbFormAssociatedMixin",
22937
+ "module": "core/mixins/form-associated-mixin.js"
22938
+ }
22939
+ }
22940
+ ],
22941
+ "mixins": [
22942
+ {
22943
+ "name": "SbbFormAssociatedCheckboxMixin",
22944
+ "module": "core/mixins.js"
22945
+ },
22946
+ {
22947
+ "name": "SbbIconNameMixin",
22948
+ "module": "icon.js"
22949
+ }
22950
+ ],
22951
+ "superclass": {
22952
+ "name": "LitElement",
22953
+ "package": "lit"
22954
+ },
22955
+ "classGenerics": "T = string",
22956
+ "tagName": "sbb-toggle-check",
22957
+ "customElement": true
22958
+ }
22959
+ ],
22960
+ "exports": [
22961
+ {
22962
+ "kind": "js",
22963
+ "name": "SbbToggleCheckElement",
22964
+ "declaration": {
22965
+ "name": "SbbToggleCheckElement",
22966
+ "module": "toggle-check/toggle-check.component.js"
22967
+ }
22968
+ },
22969
+ {
22970
+ "kind": "custom-element-definition",
22971
+ "name": "sbb-toggle-check",
22972
+ "declaration": {
22973
+ "name": "SbbToggleCheckElement",
22974
+ "module": "toggle-check/toggle-check.component.js"
22975
+ }
22976
+ }
22977
+ ]
22978
+ },
22979
+ {
22980
+ "kind": "javascript-module",
22981
+ "path": "tooltip/tooltip.component.js",
22982
+ "declarations": [
22983
+ {
22984
+ "kind": "class",
22985
+ "description": "It displays text content within a tooltip.",
22986
+ "name": "SbbTooltipElement",
22987
+ "cssProperties": [
22988
+ {
22989
+ "description": "To specify a custom stack order, the `z-index` can be overridden by defining this CSS variable. The default `z-index` of the component is set to `var(--sbb-overlay-default-z-index)` with a value of `1000`.",
22990
+ "name": "--sbb-tooltip-z-index",
22991
+ "default": "var(--sbb-overlay-default-z-index)"
22992
+ }
22993
+ ],
22994
+ "slots": [
22995
+ {
22996
+ "description": "Use the unnamed slot to add the text into the tooltip.",
22997
+ "name": ""
22998
+ }
22999
+ ],
23000
+ "members": [
23001
+ {
23002
+ "kind": "field",
23003
+ "name": "role",
23004
+ "type": {
23005
+ "text": "string"
23006
+ },
23007
+ "privacy": "public",
23008
+ "static": true,
23009
+ "readonly": true,
23010
+ "default": "'tooltip'"
23011
+ },
23012
+ {
23013
+ "kind": "field",
23014
+ "name": "_tooltipOutlet",
23015
+ "type": {
23016
+ "text": "Element"
23017
+ },
23018
+ "privacy": "private",
23019
+ "static": true
23020
+ },
23021
+ {
23022
+ "kind": "field",
23023
+ "name": "trigger",
23024
+ "type": {
23025
+ "text": "HTMLElement | null"
23026
+ },
23027
+ "privacy": "public",
23028
+ "default": "null",
23029
+ "description": "The element that will trigger the popover overlay.\n\nFor attribute usage, provide an id reference.",
23030
+ "attribute": "trigger"
23031
+ },
23032
+ {
23033
+ "kind": "field",
23034
+ "name": "openDelay",
23035
+ "privacy": "public",
23036
+ "description": "Open the tooltip after a given delay in milliseconds.\nGlobal configuration is used as default, if not set.",
23037
+ "default": "null",
23038
+ "type": {
23039
+ "text": "number"
23040
+ },
23041
+ "attribute": "open-delay"
23042
+ },
23043
+ {
23044
+ "kind": "field",
23045
+ "name": "_openDelay",
23046
+ "type": {
23047
+ "text": "number | null"
23048
+ },
23049
+ "privacy": "private",
23050
+ "default": "null"
23051
+ },
23052
+ {
23053
+ "kind": "field",
23054
+ "name": "closeDelay",
23055
+ "privacy": "public",
23056
+ "description": "Close the tooltip after a given delay in milliseconds.\nGlobal configuration is used as default, if not set.",
23057
+ "default": "null",
23058
+ "type": {
23059
+ "text": "number"
23060
+ },
23061
+ "attribute": "close-delay"
23062
+ },
23063
+ {
23064
+ "kind": "field",
23065
+ "name": "_closeDelay",
23066
+ "type": {
23067
+ "text": "number | null"
23068
+ },
23069
+ "privacy": "private",
23070
+ "default": "null"
23071
+ },
23072
+ {
23073
+ "kind": "field",
23074
+ "name": "longPressCloseDelay",
23075
+ "privacy": "public",
23076
+ "description": "Automatically close the tooltip after it has been open by long press.\nGlobal configuration is used as default, if not set.",
23077
+ "default": "1500",
23078
+ "type": {
23079
+ "text": "number"
23080
+ },
23081
+ "attribute": "long-press-close-delay"
23082
+ },
23083
+ {
23084
+ "kind": "field",
23085
+ "name": "_longPressCloseDelay",
23086
+ "type": {
23087
+ "text": "number | undefined"
23088
+ },
23089
+ "privacy": "private"
23090
+ },
23091
+ {
23092
+ "kind": "field",
23093
+ "name": "overlay",
23094
+ "type": {
23095
+ "text": "HTMLDivElement | undefined"
23096
+ },
23097
+ "privacy": "protected"
23098
+ },
23099
+ {
23100
+ "kind": "field",
23101
+ "name": "_triggerElement",
23102
+ "type": {
23103
+ "text": "HTMLElement | null"
23104
+ },
23105
+ "privacy": "private",
23106
+ "default": "null"
23107
+ },
23108
+ {
23109
+ "kind": "field",
23110
+ "name": "_triggerAbortController",
23111
+ "type": {
23112
+ "text": "AbortController | undefined"
23113
+ },
23114
+ "privacy": "private"
23115
+ },
23116
+ {
23117
+ "kind": "field",
23118
+ "name": "_openStateController",
23119
+ "type": {
23120
+ "text": "AbortController"
23121
+ },
23122
+ "privacy": "private"
23123
+ },
23124
+ {
23125
+ "kind": "field",
23126
+ "name": "_escapableOverlayController",
23127
+ "privacy": "private",
23128
+ "default": "new SbbEscapableOverlayController(this)"
23129
+ },
23130
+ {
23131
+ "kind": "field",
23132
+ "name": "_openTimeout",
23133
+ "type": {
23134
+ "text": "ReturnType<typeof setTimeout> | undefined"
23135
+ },
23136
+ "privacy": "private"
23137
+ },
23138
+ {
23139
+ "kind": "field",
23140
+ "name": "_closeTimeout",
23141
+ "type": {
23142
+ "text": "ReturnType<typeof setTimeout> | undefined"
23143
+ },
23144
+ "privacy": "private"
23145
+ },
23146
+ {
23147
+ "kind": "field",
23148
+ "name": "_longPressOpenTimeout",
23149
+ "type": {
23150
+ "text": "ReturnType<typeof setTimeout> | undefined"
23151
+ },
23152
+ "privacy": "private"
23153
+ },
23154
+ {
23155
+ "kind": "field",
23156
+ "name": "_longPressCloseTimeout",
23157
+ "type": {
23158
+ "text": "ReturnType<typeof setTimeout> | undefined"
23159
+ },
23160
+ "privacy": "private"
23161
+ },
23162
+ {
23163
+ "kind": "method",
23164
+ "name": "_initializeTooltipOutlet",
23165
+ "privacy": "private",
23166
+ "static": true,
23167
+ "return": {
23168
+ "type": {
23169
+ "text": "void"
23170
+ }
23171
+ }
23172
+ },
23173
+ {
23174
+ "kind": "method",
23175
+ "name": "_findAndHandleTooltipTriggers",
23176
+ "privacy": "private",
23177
+ "static": true,
23178
+ "return": {
23179
+ "type": {
23180
+ "text": "void"
23181
+ }
23182
+ },
23183
+ "parameters": [
23184
+ {
23185
+ "name": "root",
23186
+ "type": {
23187
+ "text": "HTMLElement"
23188
+ }
23189
+ }
23190
+ ]
23191
+ },
23192
+ {
23193
+ "kind": "method",
23194
+ "name": "_handleTooltipTrigger",
23195
+ "privacy": "private",
23196
+ "static": true,
23197
+ "return": {
23198
+ "type": {
23199
+ "text": "void"
23200
+ }
23201
+ },
23202
+ "parameters": [
23203
+ {
23204
+ "name": "triggerElement",
23205
+ "type": {
23206
+ "text": "HTMLElement"
23207
+ }
23208
+ }
23209
+ ]
23210
+ },
23211
+ {
23212
+ "kind": "method",
23213
+ "name": "open",
23214
+ "privacy": "public",
23215
+ "return": {
23216
+ "type": {
23217
+ "text": "void"
23218
+ }
23219
+ },
23220
+ "description": "Opens the component.",
23221
+ "inheritedFrom": {
23222
+ "name": "SbbOpenCloseBaseElement",
23223
+ "module": "core/base-elements/open-close-base-element.js"
23224
+ }
23225
+ },
23226
+ {
23227
+ "kind": "method",
23228
+ "name": "close",
23229
+ "privacy": "public",
23230
+ "return": {
23231
+ "type": {
23232
+ "text": "void"
23233
+ }
23234
+ },
23235
+ "description": "Closes the component.",
23236
+ "inheritedFrom": {
23237
+ "name": "SbbOpenCloseBaseElement",
23238
+ "module": "core/base-elements/open-close-base-element.js"
23239
+ }
23240
+ },
23241
+ {
23242
+ "kind": "method",
23243
+ "name": "_delayedOpen",
23244
+ "privacy": "private",
23245
+ "return": {
23246
+ "type": {
23247
+ "text": "void"
23248
+ }
23249
+ }
23250
+ },
23251
+ {
23252
+ "kind": "method",
23253
+ "name": "_handleOpening",
23254
+ "privacy": "private",
23255
+ "return": {
23256
+ "type": {
23257
+ "text": "void"
23258
+ }
23259
+ }
23260
+ },
23261
+ {
23262
+ "kind": "method",
23263
+ "name": "_delayedClose",
23264
+ "privacy": "private",
23265
+ "return": {
23266
+ "type": {
23267
+ "text": "void"
23268
+ }
23269
+ }
23270
+ },
23271
+ {
23272
+ "kind": "method",
23273
+ "name": "_handleClosing",
23274
+ "privacy": "private",
23275
+ "return": {
23276
+ "type": {
23277
+ "text": "void"
23278
+ }
23279
+ }
23280
+ },
23281
+ {
23282
+ "kind": "method",
23283
+ "name": "_onTooltipAnimationEnd",
23284
+ "privacy": "private",
23285
+ "return": {
23286
+ "type": {
23287
+ "text": "void"
23288
+ }
23289
+ },
23290
+ "parameters": [
23291
+ {
23292
+ "name": "event",
23293
+ "type": {
23294
+ "text": "AnimationEvent"
23295
+ }
23296
+ }
23297
+ ]
23298
+ },
23299
+ {
23300
+ "kind": "method",
23301
+ "name": "_attach",
23302
+ "privacy": "private",
23303
+ "return": {
23304
+ "type": {
23305
+ "text": "void"
23306
+ }
23307
+ },
23308
+ "parameters": [
23309
+ {
23310
+ "name": "trigger",
23311
+ "type": {
23312
+ "text": "HTMLElement | null"
23313
+ }
23314
+ }
23315
+ ]
23316
+ },
23317
+ {
23318
+ "kind": "method",
23319
+ "name": "_detach",
23320
+ "privacy": "private",
23321
+ "return": {
23322
+ "type": {
23323
+ "text": "void"
23324
+ }
23325
+ }
23326
+ },
23327
+ {
23328
+ "kind": "method",
23329
+ "name": "_destroy",
23330
+ "privacy": "private",
23331
+ "return": {
23332
+ "type": {
23333
+ "text": "void"
23334
+ }
23335
+ }
23336
+ },
23337
+ {
23338
+ "kind": "method",
23339
+ "name": "_setTooltipPosition",
23340
+ "privacy": "private",
23341
+ "return": {
23342
+ "type": {
23343
+ "text": "void"
23344
+ }
23345
+ }
23346
+ },
23347
+ {
23348
+ "kind": "method",
23349
+ "name": "_addTriggerEventHandlers",
23350
+ "privacy": "private",
23351
+ "return": {
23352
+ "type": {
23353
+ "text": "void"
23354
+ }
23355
+ }
23356
+ },
23357
+ {
23358
+ "kind": "method",
23359
+ "name": "_attachWindowEvents",
23360
+ "privacy": "private",
23361
+ "return": {
23362
+ "type": {
23363
+ "text": "void"
23364
+ }
23365
+ }
23366
+ },
23367
+ {
23368
+ "kind": "method",
23369
+ "name": "_isZeroAnimationDuration",
23370
+ "privacy": "private",
23371
+ "return": {
23372
+ "type": {
23373
+ "text": "boolean"
23374
+ }
23375
+ }
23376
+ },
23377
+ {
23378
+ "kind": "method",
23379
+ "name": "_resetOpenCloseTimeout",
23380
+ "privacy": "private",
23381
+ "return": {
23382
+ "type": {
23383
+ "text": "void"
23384
+ }
23385
+ }
23386
+ },
23387
+ {
23388
+ "kind": "field",
23389
+ "name": "disabled",
23390
+ "privacy": "public",
23391
+ "description": "Whether the component is disabled.",
23392
+ "default": "false",
23393
+ "type": {
23394
+ "text": "boolean"
23395
+ },
23396
+ "attribute": "disabled",
23397
+ "reflects": true,
23398
+ "inheritedFrom": {
23399
+ "name": "SbbDisabledMixin",
23400
+ "module": "core/mixins/disabled-mixin.js"
23401
+ }
23402
+ },
23403
+ {
23404
+ "kind": "field",
23405
+ "name": "#disabled",
23406
+ "privacy": "private",
23407
+ "type": {
23408
+ "text": "boolean"
23409
+ },
23410
+ "default": "false",
23411
+ "inheritedFrom": {
23412
+ "name": "SbbDisabledMixin",
23413
+ "module": "core/mixins/disabled-mixin.js"
23414
+ }
23415
+ },
23416
+ {
23417
+ "kind": "method",
23418
+ "name": "isDisabledExternally",
23419
+ "privacy": "protected",
23420
+ "return": {
23421
+ "type": {
23422
+ "text": "boolean"
23423
+ }
23424
+ },
23425
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
23426
+ "inheritedFrom": {
23427
+ "name": "SbbDisabledMixin",
23428
+ "module": "core/mixins/disabled-mixin.js"
23429
+ }
23430
+ },
23431
+ {
23432
+ "kind": "method",
23433
+ "name": "toggleState",
23434
+ "privacy": "protected",
23435
+ "return": {
23436
+ "type": {
23437
+ "text": "void"
23438
+ }
23439
+ },
23440
+ "parameters": [
23441
+ {
23442
+ "name": "state",
23443
+ "type": {
23444
+ "text": "string"
23445
+ }
23446
+ },
23447
+ {
23448
+ "name": "force",
23449
+ "optional": true,
23450
+ "type": {
23451
+ "text": "boolean"
23452
+ }
23453
+ }
23454
+ ],
23455
+ "inheritedFrom": {
23456
+ "name": "SbbElementInternalsMixin",
23457
+ "module": "core/mixins/element-internals-mixin.js"
23458
+ }
23459
+ },
23460
+ {
23461
+ "kind": "field",
23462
+ "name": "events",
23463
+ "privacy": "public",
23464
+ "static": true,
23465
+ "readonly": true,
23466
+ "default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
23467
+ "type": {
23468
+ "text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
23469
+ },
23470
+ "inheritedFrom": {
23471
+ "name": "SbbOpenCloseBaseElement",
23472
+ "module": "core/base-elements/open-close-base-element.js"
23473
+ }
23474
+ },
23475
+ {
23476
+ "kind": "field",
23477
+ "name": "state",
23478
+ "privacy": "protected",
23479
+ "description": "The state of the component.",
23480
+ "type": {
23481
+ "text": "SbbOpenedClosedState"
23482
+ },
23483
+ "inheritedFrom": {
23484
+ "name": "SbbOpenCloseBaseElement",
23485
+ "module": "core/base-elements/open-close-base-element.js"
23486
+ }
23487
+ },
23488
+ {
23489
+ "kind": "field",
23490
+ "name": "isOpen",
23491
+ "type": {
23492
+ "text": "boolean"
23493
+ },
23494
+ "privacy": "public",
23495
+ "description": "Whether the element is open.",
23496
+ "readonly": true,
23497
+ "inheritedFrom": {
23498
+ "name": "SbbOpenCloseBaseElement",
23499
+ "module": "core/base-elements/open-close-base-element.js"
23500
+ }
23501
+ },
23502
+ {
23503
+ "kind": "method",
23504
+ "name": "escapeStrategy",
23505
+ "privacy": "public",
23506
+ "return": {
23507
+ "type": {
23508
+ "text": "void"
23509
+ }
23510
+ },
23511
+ "description": "The method which is called on escape key press. Defaults to calling close()",
23512
+ "inheritedFrom": {
23513
+ "name": "SbbOpenCloseBaseElement",
23514
+ "module": "core/base-elements/open-close-base-element.js"
23515
+ }
23516
+ },
23517
+ {
23518
+ "kind": "method",
23519
+ "name": "dispatchBeforeOpenEvent",
22620
23520
  "privacy": "protected",
22621
23521
  "return": {
22622
23522
  "type": {
22623
- "text": "TemplateResult"
23523
+ "text": "boolean"
22624
23524
  }
22625
23525
  },
22626
- "parameters": [
22627
- {
22628
- "name": "classname",
22629
- "optional": true,
22630
- "type": {
22631
- "text": "string"
22632
- }
23526
+ "inheritedFrom": {
23527
+ "name": "SbbOpenCloseBaseElement",
23528
+ "module": "core/base-elements/open-close-base-element.js"
23529
+ }
23530
+ },
23531
+ {
23532
+ "kind": "method",
23533
+ "name": "dispatchOpenEvent",
23534
+ "privacy": "protected",
23535
+ "return": {
23536
+ "type": {
23537
+ "text": "boolean"
22633
23538
  }
22634
- ],
23539
+ },
22635
23540
  "inheritedFrom": {
22636
- "name": "SbbIconNameMixin",
22637
- "module": "icon/icon-name-mixin.js"
23541
+ "name": "SbbOpenCloseBaseElement",
23542
+ "module": "core/base-elements/open-close-base-element.js"
22638
23543
  }
22639
- }
22640
- ],
22641
- "events": [
23544
+ },
22642
23545
  {
22643
- "type": {
22644
- "text": "Event"
23546
+ "kind": "method",
23547
+ "name": "dispatchBeforeCloseEvent",
23548
+ "privacy": "protected",
23549
+ "return": {
23550
+ "type": {
23551
+ "text": "boolean"
23552
+ }
22645
23553
  },
22646
- "description": "The change event is fired when the user modifies the element's value. Unlike the input event, the change event is not necessarily fired for each alteration to an element's value.",
22647
- "name": "change"
23554
+ "inheritedFrom": {
23555
+ "name": "SbbOpenCloseBaseElement",
23556
+ "module": "core/base-elements/open-close-base-element.js"
23557
+ }
22648
23558
  },
22649
23559
  {
22650
- "type": {
22651
- "text": "InputEvent"
23560
+ "kind": "method",
23561
+ "name": "dispatchCloseEvent",
23562
+ "privacy": "protected",
23563
+ "return": {
23564
+ "type": {
23565
+ "text": "boolean"
23566
+ }
22652
23567
  },
22653
- "description": "The input event fires when the value has been changed as a direct result of a user action.",
22654
- "name": "input"
23568
+ "inheritedFrom": {
23569
+ "name": "SbbOpenCloseBaseElement",
23570
+ "module": "core/base-elements/open-close-base-element.js"
23571
+ }
22655
23572
  }
22656
23573
  ],
22657
23574
  "attributes": [
22658
23575
  {
22659
- "name": "value",
23576
+ "name": "trigger",
22660
23577
  "type": {
22661
- "text": "T | null"
23578
+ "text": "HTMLElement | null"
22662
23579
  },
22663
23580
  "default": "null",
22664
- "description": "Value of the form element.",
22665
- "fieldName": "value"
22666
- },
22667
- {
22668
- "name": "size",
22669
- "type": {
22670
- "text": "'xs' | 's' | 'm'"
22671
- },
22672
- "description": "Size variant, either m, s or xs.",
22673
- "default": "'s' / 'xs' (lean)",
22674
- "fieldName": "size"
23581
+ "description": "The element that will trigger the popover overlay.\n\nFor attribute usage, provide an id reference.",
23582
+ "fieldName": "trigger"
22675
23583
  },
22676
23584
  {
22677
- "name": "icon-name",
23585
+ "name": "open-delay",
23586
+ "description": "Open the tooltip after a given delay in milliseconds.\nGlobal configuration is used as default, if not set.",
23587
+ "default": "null",
22678
23588
  "type": {
22679
- "text": "string"
23589
+ "text": "number"
22680
23590
  },
22681
- "default": "'tick-small'",
22682
- "description": "The svg name for the true state - default -> 'tick-small'",
22683
- "fieldName": "iconName",
22684
- "inheritedFrom": {
22685
- "name": "SbbIconNameMixin",
22686
- "module": "icon/icon-name-mixin.js"
22687
- }
23591
+ "fieldName": "openDelay"
22688
23592
  },
22689
23593
  {
22690
- "name": "label-position",
23594
+ "name": "close-delay",
23595
+ "description": "Close the tooltip after a given delay in milliseconds.\nGlobal configuration is used as default, if not set.",
23596
+ "default": "null",
22691
23597
  "type": {
22692
- "text": "'before' | 'after'"
23598
+ "text": "number"
22693
23599
  },
22694
- "default": "'after'",
22695
- "description": "The label position relative to the toggle. Defaults to 'after'",
22696
- "fieldName": "labelPosition"
23600
+ "fieldName": "closeDelay"
22697
23601
  },
22698
23602
  {
22699
- "name": "checked",
22700
- "description": "Whether the checkbox is checked.",
23603
+ "name": "long-press-close-delay",
23604
+ "description": "Automatically close the tooltip after it has been open by long press.\nGlobal configuration is used as default, if not set.",
23605
+ "default": "1500",
22701
23606
  "type": {
22702
- "text": "boolean"
23607
+ "text": "number"
22703
23608
  },
22704
- "fieldName": "checked",
22705
- "inheritedFrom": {
22706
- "name": "SbbFormAssociatedCheckboxMixin",
22707
- "module": "core/mixins/form-associated-checkbox-mixin.js"
22708
- }
23609
+ "fieldName": "longPressCloseDelay"
22709
23610
  },
22710
23611
  {
22711
23612
  "name": "disabled",
@@ -22719,66 +23620,83 @@
22719
23620
  "name": "SbbDisabledMixin",
22720
23621
  "module": "core/mixins/disabled-mixin.js"
22721
23622
  }
22722
- },
23623
+ }
23624
+ ],
23625
+ "mixins": [
22723
23626
  {
22724
- "name": "required",
22725
- "description": "Whether the component is required.",
23627
+ "name": "SbbDisabledMixin",
23628
+ "module": "core/mixins.js"
23629
+ }
23630
+ ],
23631
+ "superclass": {
23632
+ "name": "SbbOpenCloseBaseElement",
23633
+ "module": "core/base-elements.js"
23634
+ },
23635
+ "tagName": "sbb-tooltip",
23636
+ "customElement": true,
23637
+ "events": [
23638
+ {
23639
+ "name": "beforeopen",
22726
23640
  "type": {
22727
- "text": "boolean"
23641
+ "text": "Event"
22728
23642
  },
22729
- "fieldName": "required",
23643
+ "description": "Emits whenever the component starts the opening transition. Can be canceled.",
22730
23644
  "inheritedFrom": {
22731
- "name": "SbbRequiredMixin",
22732
- "module": "core/mixins/required-mixin.js"
23645
+ "name": "SbbOpenCloseBaseElement",
23646
+ "module": "core/base-elements/open-close-base-element.js"
22733
23647
  }
22734
23648
  },
22735
23649
  {
22736
- "name": "name",
22737
- "description": "Name of the form element. Will be read from name attribute.",
23650
+ "name": "open",
22738
23651
  "type": {
22739
- "text": "string"
23652
+ "text": "Event"
22740
23653
  },
22741
- "fieldName": "name",
23654
+ "description": "Emits whenever the component is opened.",
22742
23655
  "inheritedFrom": {
22743
- "name": "SbbFormAssociatedMixin",
22744
- "module": "core/mixins/form-associated-mixin.js"
23656
+ "name": "SbbOpenCloseBaseElement",
23657
+ "module": "core/base-elements/open-close-base-element.js"
22745
23658
  }
22746
- }
22747
- ],
22748
- "mixins": [
23659
+ },
22749
23660
  {
22750
- "name": "SbbFormAssociatedCheckboxMixin",
22751
- "module": "core/mixins.js"
23661
+ "name": "beforeclose",
23662
+ "type": {
23663
+ "text": "Event"
23664
+ },
23665
+ "description": "Emits whenever the component begins the closing transition. Can be canceled.",
23666
+ "inheritedFrom": {
23667
+ "name": "SbbOpenCloseBaseElement",
23668
+ "module": "core/base-elements/open-close-base-element.js"
23669
+ }
22752
23670
  },
22753
23671
  {
22754
- "name": "SbbIconNameMixin",
22755
- "module": "icon.js"
23672
+ "name": "close",
23673
+ "type": {
23674
+ "text": "Event"
23675
+ },
23676
+ "description": "Emits whenever the component is closed.",
23677
+ "inheritedFrom": {
23678
+ "name": "SbbOpenCloseBaseElement",
23679
+ "module": "core/base-elements/open-close-base-element.js"
23680
+ }
22756
23681
  }
22757
- ],
22758
- "superclass": {
22759
- "name": "LitElement",
22760
- "package": "lit"
22761
- },
22762
- "classGenerics": "T = string",
22763
- "tagName": "sbb-toggle-check",
22764
- "customElement": true
23682
+ ]
22765
23683
  }
22766
23684
  ],
22767
23685
  "exports": [
22768
23686
  {
22769
23687
  "kind": "js",
22770
- "name": "SbbToggleCheckElement",
23688
+ "name": "SbbTooltipElement",
22771
23689
  "declaration": {
22772
- "name": "SbbToggleCheckElement",
22773
- "module": "toggle-check/toggle-check.component.js"
23690
+ "name": "SbbTooltipElement",
23691
+ "module": "tooltip/tooltip.component.js"
22774
23692
  }
22775
23693
  },
22776
23694
  {
22777
23695
  "kind": "custom-element-definition",
22778
- "name": "sbb-toggle-check",
23696
+ "name": "sbb-tooltip",
22779
23697
  "declaration": {
22780
- "name": "SbbToggleCheckElement",
22781
- "module": "toggle-check/toggle-check.component.js"
23698
+ "name": "SbbTooltipElement",
23699
+ "module": "tooltip/tooltip.component.js"
22782
23700
  }
22783
23701
  }
22784
23702
  ]
@@ -23125,6 +24043,12 @@
23125
24043
  "privacy": "private",
23126
24044
  "default": "new SbbLanguageController(this)"
23127
24045
  },
24046
+ {
24047
+ "kind": "field",
24048
+ "name": "_darkModeController",
24049
+ "privacy": "private",
24050
+ "default": "new SbbDarkModeController(this, () => { this._syncLinks(); this._configureTitle(); this.requestUpdate(); })"
24051
+ },
23128
24052
  {
23129
24053
  "kind": "method",
23130
24054
  "name": "open",
@@ -23233,6 +24157,16 @@
23233
24157
  }
23234
24158
  }
23235
24159
  },
24160
+ {
24161
+ "kind": "method",
24162
+ "name": "_isLightMode",
24163
+ "privacy": "private",
24164
+ "return": {
24165
+ "type": {
24166
+ "text": "boolean"
24167
+ }
24168
+ }
24169
+ },
23236
24170
  {
23237
24171
  "kind": "method",
23238
24172
  "name": "renderIconSlot",
@@ -23340,6 +24274,21 @@
23340
24274
  "module": "core/base-elements/open-close-base-element.js"
23341
24275
  }
23342
24276
  },
24277
+ {
24278
+ "kind": "method",
24279
+ "name": "escapeStrategy",
24280
+ "privacy": "public",
24281
+ "return": {
24282
+ "type": {
24283
+ "text": "void"
24284
+ }
24285
+ },
24286
+ "description": "The method which is called on escape key press. Defaults to calling close()",
24287
+ "inheritedFrom": {
24288
+ "name": "SbbOpenCloseBaseElement",
24289
+ "module": "core/base-elements/open-close-base-element.js"
24290
+ }
24291
+ },
23343
24292
  {
23344
24293
  "kind": "method",
23345
24294
  "name": "dispatchBeforeOpenEvent",
@@ -24732,6 +25681,21 @@
24732
25681
  "module": "core/base-elements/open-close-base-element.js"
24733
25682
  }
24734
25683
  },
25684
+ {
25685
+ "kind": "method",
25686
+ "name": "escapeStrategy",
25687
+ "privacy": "public",
25688
+ "return": {
25689
+ "type": {
25690
+ "text": "void"
25691
+ }
25692
+ },
25693
+ "description": "The method which is called on escape key press. Defaults to calling close()",
25694
+ "inheritedFrom": {
25695
+ "name": "SbbOpenCloseBaseElement",
25696
+ "module": "core/base-elements/open-close-base-element.js"
25697
+ }
25698
+ },
24735
25699
  {
24736
25700
  "kind": "method",
24737
25701
  "name": "dispatchBeforeOpenEvent",
@@ -37992,6 +38956,15 @@
37992
38956
  "privacy": "private",
37993
38957
  "default": "new SbbLanguageController(this)"
37994
38958
  },
38959
+ {
38960
+ "kind": "field",
38961
+ "name": "_requestedPageIndexByPaginator",
38962
+ "type": {
38963
+ "text": "number"
38964
+ },
38965
+ "privacy": "private",
38966
+ "default": "-1"
38967
+ },
37995
38968
  {
37996
38969
  "kind": "method",
37997
38970
  "name": "_handleSlotchange",
@@ -38223,16 +39196,6 @@
38223
39196
  "privacy": "private",
38224
39197
  "default": "0"
38225
39198
  },
38226
- {
38227
- "kind": "field",
38228
- "name": "_carouselItems",
38229
- "type": {
38230
- "text": "SbbCarouselItemElement[]"
38231
- },
38232
- "privacy": "private",
38233
- "description": "Gets the slotted items.",
38234
- "readonly": true
38235
- },
38236
39199
  {
38237
39200
  "kind": "field",
38238
39201
  "name": "_language",
@@ -38243,13 +39206,24 @@
38243
39206
  "kind": "field",
38244
39207
  "name": "_beforeShowObserver",
38245
39208
  "privacy": "private",
38246
- "default": "new IntersectionController(this, { callback: (entry) => { const item = entry.filter((e) => e.isIntersecting && e.target !== this); item.forEach((e) => { const target = e.target as SbbCarouselItemElement; target.dispatchEvent( new CustomEvent<SbbCarouselItemEventDetail>('beforeshow', { detail: { index: this._carouselItems.findIndex((e) => e === target) }, bubbles: true, composed: true, }), ); }); }, config: { threshold: 0.01, root: this, rootMargin: '100% 0% 100% 0%' }, })"
39209
+ "default": "new IntersectionController(this, { callback: (entry) => { const item = entry.filter((e) => e.isIntersecting && e.target !== this); item.forEach((e) => { const target = e.target as SbbCarouselItemElement; target.dispatchEvent( new CustomEvent<SbbCarouselItemEventDetail>('beforeshow', { detail: { index: this._carouselItems().findIndex((e) => e === target) }, bubbles: true, composed: true, }), ); }); }, config: { threshold: 0.01, root: this, rootMargin: '100% 0% 100% 0%' }, })"
38247
39210
  },
38248
39211
  {
38249
39212
  "kind": "field",
38250
39213
  "name": "_showObserver",
38251
39214
  "privacy": "private",
38252
- "default": "new IntersectionController(this, { callback: (entryArr) => { const entries = entryArr.filter((e) => e.target !== this); entries .filter((e) => !e.isIntersecting) .forEach((e) => ((e.target as SbbCarouselItemElement).ariaHidden = 'true')); entries .filter((e) => e.isIntersecting) .forEach((e) => { const target = e.target as SbbCarouselItemElement; target.ariaHidden = 'false'; this._currentIndex = this._carouselItems.findIndex((e) => e === target); target.dispatchEvent( new CustomEvent<SbbCarouselItemEventDetail>('show', { detail: { index: this._currentIndex }, bubbles: true, composed: true, }), ); }); }, config: { threshold: 0.99, root: this, rootMargin: '100% 0% 100% 0%' }, })"
39215
+ "default": "new IntersectionController(this, { callback: (entryArr) => { for (const entry of entryArr) { if (entry.target === this) { continue; } const target = entry.target as SbbCarouselItemElement; if (entry.isIntersecting) { target.ariaHidden = null; this._currentIndex = this._carouselItems().findIndex((el) => el === target); target.dispatchEvent( new CustomEvent<SbbCarouselItemEventDetail>('show', { detail: { index: this._currentIndex }, bubbles: true, composed: true, }), ); } else { target.ariaHidden = 'true'; } } }, config: { threshold: 0.99, root: this, rootMargin: '100% 0% 100% 0%' }, })"
39216
+ },
39217
+ {
39218
+ "kind": "method",
39219
+ "name": "_carouselItems",
39220
+ "privacy": "private",
39221
+ "return": {
39222
+ "type": {
39223
+ "text": "SbbCarouselItemElement[]"
39224
+ }
39225
+ },
39226
+ "description": "Gets the slotted items."
38253
39227
  },
38254
39228
  {
38255
39229
  "kind": "method",
@@ -45767,6 +46741,17 @@
45767
46741
  },
45768
46742
  "description": "Closes the component."
45769
46743
  },
46744
+ {
46745
+ "kind": "method",
46746
+ "name": "escapeStrategy",
46747
+ "privacy": "public",
46748
+ "return": {
46749
+ "type": {
46750
+ "text": "void"
46751
+ }
46752
+ },
46753
+ "description": "The method which is called on escape key press. Defaults to calling close()"
46754
+ },
45770
46755
  {
45771
46756
  "kind": "method",
45772
46757
  "name": "dispatchBeforeOpenEvent",
@@ -46119,6 +47104,36 @@
46119
47104
  },
46120
47105
  "description": "Whether the assigned host is currently inert"
46121
47106
  },
47107
+ {
47108
+ "kind": "method",
47109
+ "name": "exempt",
47110
+ "privacy": "public",
47111
+ "return": {
47112
+ "type": {
47113
+ "text": "void"
47114
+ }
47115
+ },
47116
+ "parameters": [
47117
+ {
47118
+ "name": "element",
47119
+ "type": {
47120
+ "text": "HTMLElement"
47121
+ }
47122
+ }
47123
+ ],
47124
+ "description": "Temporarily removes all inert attributes from a given element."
47125
+ },
47126
+ {
47127
+ "kind": "method",
47128
+ "name": "restoreAllExempted",
47129
+ "privacy": "public",
47130
+ "return": {
47131
+ "type": {
47132
+ "text": "void"
47133
+ }
47134
+ },
47135
+ "description": "Inerts an element currently exempted from inert."
47136
+ },
46122
47137
  {
46123
47138
  "kind": "method",
46124
47139
  "name": "_currentOverlay",
@@ -46129,10 +47144,38 @@
46129
47144
  }
46130
47145
  }
46131
47146
  },
47147
+ {
47148
+ "kind": "method",
47149
+ "name": "_removeAllInertAttributes",
47150
+ "privacy": "private",
47151
+ "return": {
47152
+ "type": {
47153
+ "text": "void"
47154
+ }
47155
+ }
47156
+ },
46132
47157
  {
46133
47158
  "kind": "method",
46134
47159
  "name": "_removeInertAttributes",
46135
47160
  "privacy": "private",
47161
+ "return": {
47162
+ "type": {
47163
+ "text": "void"
47164
+ }
47165
+ },
47166
+ "parameters": [
47167
+ {
47168
+ "name": "element",
47169
+ "type": {
47170
+ "text": "HTMLElement"
47171
+ }
47172
+ }
47173
+ ]
47174
+ },
47175
+ {
47176
+ "kind": "method",
47177
+ "name": "_addAllInertAttributes",
47178
+ "privacy": "private",
46136
47179
  "return": {
46137
47180
  "type": {
46138
47181
  "text": "void"
@@ -46147,7 +47190,15 @@
46147
47190
  "type": {
46148
47191
  "text": "void"
46149
47192
  }
46150
- }
47193
+ },
47194
+ "parameters": [
47195
+ {
47196
+ "name": "element",
47197
+ "type": {
47198
+ "text": "HTMLElement"
47199
+ }
47200
+ }
47201
+ ]
46151
47202
  }
46152
47203
  ]
46153
47204
  }
@@ -46341,6 +47392,14 @@
46341
47392
  },
46342
47393
  "default": "'(forced-colors: active)'"
46343
47394
  },
47395
+ {
47396
+ "kind": "variable",
47397
+ "name": "SbbMediaQueryDarkMode",
47398
+ "type": {
47399
+ "text": "string"
47400
+ },
47401
+ "default": "'(prefers-color-scheme: dark)'"
47402
+ },
46344
47403
  {
46345
47404
  "kind": "variable",
46346
47405
  "name": "SbbMediaQueryHover",
@@ -46418,6 +47477,119 @@
46418
47477
  }
46419
47478
  }
46420
47479
  ]
47480
+ },
47481
+ {
47482
+ "kind": "class",
47483
+ "description": "A specialized version of the SbbMediaMatcherController, which\ntakes the color-scheme CSS property into account when determining\nthe dark mode state and updates a :state(dark) on the host.",
47484
+ "name": "SbbDarkModeController",
47485
+ "members": [
47486
+ {
47487
+ "kind": "field",
47488
+ "name": "_currentMode",
47489
+ "type": {
47490
+ "text": "'light-dark' | 'light' | 'dark' | null"
47491
+ },
47492
+ "privacy": "private",
47493
+ "static": true,
47494
+ "description": "The current mode based on the class attribute of the <html> element."
47495
+ },
47496
+ {
47497
+ "kind": "field",
47498
+ "name": "_observer",
47499
+ "privacy": "private",
47500
+ "static": true,
47501
+ "readonly": true,
47502
+ "description": "MutationObserver that observes the \"class\" attribute of the <html> element."
47503
+ },
47504
+ {
47505
+ "kind": "field",
47506
+ "name": "_observerConfig",
47507
+ "type": {
47508
+ "text": "object"
47509
+ },
47510
+ "privacy": "private",
47511
+ "static": true,
47512
+ "readonly": true,
47513
+ "default": "{ attributeFilter: ['class'], attributeOldValue: true, }"
47514
+ },
47515
+ {
47516
+ "kind": "field",
47517
+ "name": "_onChangeWithStateUpdater",
47518
+ "type": {
47519
+ "text": "() => void"
47520
+ },
47521
+ "privacy": "private",
47522
+ "readonly": true,
47523
+ "default": "onChangeWithStateUpdater"
47524
+ },
47525
+ {
47526
+ "kind": "method",
47527
+ "name": "_readLightDarkClass",
47528
+ "privacy": "private",
47529
+ "static": true,
47530
+ "return": {
47531
+ "type": {
47532
+ "text": "'light-dark' | 'light' | 'dark' | null"
47533
+ }
47534
+ }
47535
+ },
47536
+ {
47537
+ "kind": "method",
47538
+ "name": "hostConnected",
47539
+ "privacy": "public",
47540
+ "return": {
47541
+ "type": {
47542
+ "text": "void"
47543
+ }
47544
+ },
47545
+ "inheritedFrom": {
47546
+ "name": "SbbMediaMatcherController",
47547
+ "module": "core/controllers/media-matchers-controller.js"
47548
+ }
47549
+ },
47550
+ {
47551
+ "kind": "method",
47552
+ "name": "hostDisconnected",
47553
+ "privacy": "public",
47554
+ "return": {
47555
+ "type": {
47556
+ "text": "void"
47557
+ }
47558
+ },
47559
+ "inheritedFrom": {
47560
+ "name": "SbbMediaMatcherController",
47561
+ "module": "core/controllers/media-matchers-controller.js"
47562
+ }
47563
+ },
47564
+ {
47565
+ "kind": "method",
47566
+ "name": "matches",
47567
+ "privacy": "public",
47568
+ "return": {
47569
+ "type": {
47570
+ "text": "boolean"
47571
+ }
47572
+ },
47573
+ "parameters": [
47574
+ {
47575
+ "name": "query",
47576
+ "type": {
47577
+ "text": "string"
47578
+ },
47579
+ "description": "The query to check against."
47580
+ }
47581
+ ],
47582
+ "description": "Returns whether the given query matches. Returns null with SSR.",
47583
+ "inheritedFrom": {
47584
+ "name": "SbbMediaMatcherController",
47585
+ "module": "core/controllers/media-matchers-controller.js"
47586
+ }
47587
+ }
47588
+ ],
47589
+ "superclass": {
47590
+ "name": "SbbMediaMatcherController",
47591
+ "module": "core/controllers/media-matchers-controller.js"
47592
+ }
46421
47593
  }
46422
47594
  ],
46423
47595
  "exports": [
@@ -46429,6 +47601,14 @@
46429
47601
  "module": "core/controllers/media-matchers-controller.js"
46430
47602
  }
46431
47603
  },
47604
+ {
47605
+ "kind": "js",
47606
+ "name": "SbbMediaQueryDarkMode",
47607
+ "declaration": {
47608
+ "name": "SbbMediaQueryDarkMode",
47609
+ "module": "core/controllers/media-matchers-controller.js"
47610
+ }
47611
+ },
46432
47612
  {
46433
47613
  "kind": "js",
46434
47614
  "name": "SbbMediaQueryHover",
@@ -46476,6 +47656,14 @@
46476
47656
  "name": "SbbMediaMatcherController",
46477
47657
  "module": "core/controllers/media-matchers-controller.js"
46478
47658
  }
47659
+ },
47660
+ {
47661
+ "kind": "js",
47662
+ "name": "SbbDarkModeController",
47663
+ "declaration": {
47664
+ "name": "SbbDarkModeController",
47665
+ "module": "core/controllers/media-matchers-controller.js"
47666
+ }
46479
47667
  }
46480
47668
  ]
46481
47669
  },
@@ -48446,6 +49634,46 @@
48446
49634
  }
48447
49635
  ]
48448
49636
  },
49637
+ {
49638
+ "kind": "javascript-module",
49639
+ "path": "core/dom/contains-pierce-shadow-dom.js",
49640
+ "declarations": [
49641
+ {
49642
+ "kind": "function",
49643
+ "name": "containsPierceShadowDom",
49644
+ "return": {
49645
+ "type": {
49646
+ "text": "boolean"
49647
+ }
49648
+ },
49649
+ "parameters": [
49650
+ {
49651
+ "name": "root",
49652
+ "type": {
49653
+ "text": "HTMLElement"
49654
+ }
49655
+ },
49656
+ {
49657
+ "name": "child",
49658
+ "type": {
49659
+ "text": "HTMLElement | null"
49660
+ }
49661
+ }
49662
+ ],
49663
+ "description": "Equivalent to `Element.contains` while piercing shadow DOM."
49664
+ }
49665
+ ],
49666
+ "exports": [
49667
+ {
49668
+ "kind": "js",
49669
+ "name": "containsPierceShadowDom",
49670
+ "declaration": {
49671
+ "name": "containsPierceShadowDom",
49672
+ "module": "core/dom/contains-pierce-shadow-dom.js"
49673
+ }
49674
+ }
49675
+ ]
49676
+ },
48449
49677
  {
48450
49678
  "kind": "javascript-module",
48451
49679
  "path": "core/dom/host-context.js",
@@ -48687,6 +49915,40 @@
48687
49915
  }
48688
49916
  ]
48689
49917
  },
49918
+ {
49919
+ "kind": "javascript-module",
49920
+ "path": "core/dom/queue-dom-content-loaded.js",
49921
+ "declarations": [
49922
+ {
49923
+ "kind": "function",
49924
+ "name": "queueDomContentLoaded",
49925
+ "return": {
49926
+ "type": {
49927
+ "text": "void"
49928
+ }
49929
+ },
49930
+ "parameters": [
49931
+ {
49932
+ "name": "action",
49933
+ "type": {
49934
+ "text": "() => void"
49935
+ }
49936
+ }
49937
+ ],
49938
+ "description": "Postpone 'action' after the DOM is loaded."
49939
+ }
49940
+ ],
49941
+ "exports": [
49942
+ {
49943
+ "kind": "js",
49944
+ "name": "queueDomContentLoaded",
49945
+ "declaration": {
49946
+ "name": "queueDomContentLoaded",
49947
+ "module": "core/dom/queue-dom-content-loaded.js"
49948
+ }
49949
+ }
49950
+ ]
49951
+ },
48690
49952
  {
48691
49953
  "kind": "javascript-module",
48692
49954
  "path": "core/dom/scroll.js",
@@ -48816,6 +50078,72 @@
48816
50078
  }
48817
50079
  ],
48818
50080
  "description": "Set the attribute only if value is not 'false', otherwise remove attribute."
50081
+ },
50082
+ {
50083
+ "kind": "function",
50084
+ "name": "addToListAttribute",
50085
+ "return": {
50086
+ "type": {
50087
+ "text": "void"
50088
+ }
50089
+ },
50090
+ "parameters": [
50091
+ {
50092
+ "name": "element",
50093
+ "type": {
50094
+ "text": "HTMLElement"
50095
+ },
50096
+ "description": "The element that will have the attribute"
50097
+ },
50098
+ {
50099
+ "name": "attribute",
50100
+ "type": {
50101
+ "text": "string"
50102
+ },
50103
+ "description": "The attribute name"
50104
+ },
50105
+ {
50106
+ "name": "value",
50107
+ "type": {
50108
+ "text": "string"
50109
+ },
50110
+ "description": "The value to add"
50111
+ }
50112
+ ],
50113
+ "description": "Add `value` to an attribute that accept a list of values. If the attribute is not set, it will be set to `value`."
50114
+ },
50115
+ {
50116
+ "kind": "function",
50117
+ "name": "removeFromListAttribute",
50118
+ "return": {
50119
+ "type": {
50120
+ "text": "void"
50121
+ }
50122
+ },
50123
+ "parameters": [
50124
+ {
50125
+ "name": "element",
50126
+ "type": {
50127
+ "text": "HTMLElement"
50128
+ },
50129
+ "description": "The element with the attribute"
50130
+ },
50131
+ {
50132
+ "name": "attribute",
50133
+ "type": {
50134
+ "text": "string"
50135
+ },
50136
+ "description": "The attribute name"
50137
+ },
50138
+ {
50139
+ "name": "value",
50140
+ "type": {
50141
+ "text": "string"
50142
+ },
50143
+ "description": "The value to remove from the list"
50144
+ }
50145
+ ],
50146
+ "description": "Remove `value` from an attribute list of values. If the attribute results empty, it will be removed."
48819
50147
  }
48820
50148
  ],
48821
50149
  "exports": [
@@ -48826,6 +50154,22 @@
48826
50154
  "name": "setOrRemoveAttribute",
48827
50155
  "module": "core/dom/set-or-remove-attribute.js"
48828
50156
  }
50157
+ },
50158
+ {
50159
+ "kind": "js",
50160
+ "name": "addToListAttribute",
50161
+ "declaration": {
50162
+ "name": "addToListAttribute",
50163
+ "module": "core/dom/set-or-remove-attribute.js"
50164
+ }
50165
+ },
50166
+ {
50167
+ "kind": "js",
50168
+ "name": "removeFromListAttribute",
50169
+ "declaration": {
50170
+ "name": "removeFromListAttribute",
50171
+ "module": "core/dom/set-or-remove-attribute.js"
50172
+ }
48829
50173
  }
48830
50174
  ]
48831
50175
  },
@@ -57153,6 +58497,131 @@
57153
58497
  }
57154
58498
  ]
57155
58499
  },
58500
+ {
58501
+ "kind": "javascript-module",
58502
+ "path": "core/overlay/overlay-outside-pointer-event-listener.js",
58503
+ "declarations": [
58504
+ {
58505
+ "kind": "class",
58506
+ "description": "Listens globally to pointer events that happen outside the overlay area.\n\nRef: https://github.com/angular/components/blob/main/src/cdk/overlay/dispatchers/overlay-outside-click-dispatcher.ts",
58507
+ "name": "SbbOverlayOutsidePointerEventListener",
58508
+ "members": [
58509
+ {
58510
+ "kind": "field",
58511
+ "name": "_overlays",
58512
+ "privacy": "private",
58513
+ "default": "new Set<HTMLElement>()"
58514
+ },
58515
+ {
58516
+ "kind": "field",
58517
+ "name": "_pointerDownEventTarget",
58518
+ "type": {
58519
+ "text": "HTMLElement | undefined"
58520
+ },
58521
+ "privacy": "private"
58522
+ },
58523
+ {
58524
+ "kind": "field",
58525
+ "name": "_abortController",
58526
+ "type": {
58527
+ "text": "AbortController | undefined"
58528
+ },
58529
+ "privacy": "private"
58530
+ },
58531
+ {
58532
+ "kind": "field",
58533
+ "name": "_cursorOriginalValue",
58534
+ "type": {
58535
+ "text": "string | undefined"
58536
+ },
58537
+ "privacy": "private"
58538
+ },
58539
+ {
58540
+ "kind": "method",
58541
+ "name": "connect",
58542
+ "privacy": "public",
58543
+ "return": {
58544
+ "type": {
58545
+ "text": "void"
58546
+ }
58547
+ },
58548
+ "parameters": [
58549
+ {
58550
+ "name": "overlay",
58551
+ "type": {
58552
+ "text": "HTMLElement"
58553
+ }
58554
+ }
58555
+ ]
58556
+ },
58557
+ {
58558
+ "kind": "method",
58559
+ "name": "disconnect",
58560
+ "privacy": "public",
58561
+ "return": {
58562
+ "type": {
58563
+ "text": "void"
58564
+ }
58565
+ },
58566
+ "parameters": [
58567
+ {
58568
+ "name": "overlay",
58569
+ "type": {
58570
+ "text": "HTMLElement"
58571
+ }
58572
+ }
58573
+ ]
58574
+ },
58575
+ {
58576
+ "kind": "method",
58577
+ "name": "_addGlobalEventListeners",
58578
+ "privacy": "private",
58579
+ "return": {
58580
+ "type": {
58581
+ "text": "void"
58582
+ }
58583
+ }
58584
+ },
58585
+ {
58586
+ "kind": "field",
58587
+ "name": "_pointerDownListener",
58588
+ "privacy": "private",
58589
+ "description": "Store pointerdown event target to track origin of click."
58590
+ },
58591
+ {
58592
+ "kind": "field",
58593
+ "name": "_clickListener",
58594
+ "privacy": "private",
58595
+ "description": "Click event listener that will be attached to the body propagate phase."
58596
+ }
58597
+ ]
58598
+ },
58599
+ {
58600
+ "kind": "variable",
58601
+ "name": "sbbOverlayOutsidePointerEventListener",
58602
+ "default": "new SbbOverlayOutsidePointerEventListener()",
58603
+ "description": "The global instance for listening for outside pointer events."
58604
+ }
58605
+ ],
58606
+ "exports": [
58607
+ {
58608
+ "kind": "js",
58609
+ "name": "SbbOverlayOutsidePointerEventListener",
58610
+ "declaration": {
58611
+ "name": "SbbOverlayOutsidePointerEventListener",
58612
+ "module": "core/overlay/overlay-outside-pointer-event-listener.js"
58613
+ }
58614
+ },
58615
+ {
58616
+ "kind": "js",
58617
+ "name": "sbbOverlayOutsidePointerEventListener",
58618
+ "declaration": {
58619
+ "name": "sbbOverlayOutsidePointerEventListener",
58620
+ "module": "core/overlay/overlay-outside-pointer-event-listener.js"
58621
+ }
58622
+ }
58623
+ ]
58624
+ },
57156
58625
  {
57157
58626
  "kind": "javascript-module",
57158
58627
  "path": "core/overlay/overlay-trigger-attributes.js",
@@ -57431,6 +58900,59 @@
57431
58900
  }
57432
58901
  ],
57433
58902
  "description": "Determines the position of an element relative to a trigger element by evaluating\nthe optimal position based on the available space."
58903
+ },
58904
+ {
58905
+ "kind": "function",
58906
+ "name": "getElementPositionHorizontal",
58907
+ "return": {
58908
+ "type": {
58909
+ "text": ""
58910
+ }
58911
+ },
58912
+ "parameters": [
58913
+ {
58914
+ "name": "element",
58915
+ "type": {
58916
+ "text": "HTMLElement"
58917
+ },
58918
+ "description": "The element of which to calculate the position."
58919
+ },
58920
+ {
58921
+ "name": "trigger",
58922
+ "type": {
58923
+ "text": "HTMLElement"
58924
+ },
58925
+ "description": "The element relative to which to calculate the position."
58926
+ },
58927
+ {
58928
+ "name": "container",
58929
+ "type": {
58930
+ "text": "HTMLElement"
58931
+ },
58932
+ "description": "The element which has the position:fixed applied."
58933
+ },
58934
+ {
58935
+ "name": "properties",
58936
+ "optional": true,
58937
+ "type": {
58938
+ "text": "{\n verticalOffset?: number;\n horizontalOffset?: number;\n responsiveHeight?: boolean;\n contentSelector?: string;\n }"
58939
+ },
58940
+ "description": "Properties to take into account in calculations (optional)."
58941
+ },
58942
+ {
58943
+ "description": "The distance to be added between the element and the trigger (optional).",
58944
+ "name": "properties.verticalOffset"
58945
+ },
58946
+ {
58947
+ "description": "The horizontal offset to be applied to the element (optional).",
58948
+ "name": "properties.horizontalOffset"
58949
+ },
58950
+ {
58951
+ "description": "Whether the element calculates its height based on its content (optional).",
58952
+ "name": "properties.responsiveHeight"
58953
+ }
58954
+ ],
58955
+ "description": "Determines the position of an element relative to a trigger element by evaluating\nthe optimal position based on the available space."
57434
58956
  }
57435
58957
  ],
57436
58958
  "exports": [
@@ -57457,6 +58979,14 @@
57457
58979
  "name": "getElementPosition",
57458
58980
  "module": "core/overlay/position.js"
57459
58981
  }
58982
+ },
58983
+ {
58984
+ "kind": "js",
58985
+ "name": "getElementPositionHorizontal",
58986
+ "declaration": {
58987
+ "name": "getElementPositionHorizontal",
58988
+ "module": "core/overlay/position.js"
58989
+ }
57460
58990
  }
57461
58991
  ]
57462
58992
  },
@@ -60253,6 +61783,21 @@
60253
61783
  "module": "core/base-elements/open-close-base-element.js"
60254
61784
  }
60255
61785
  },
61786
+ {
61787
+ "kind": "method",
61788
+ "name": "escapeStrategy",
61789
+ "privacy": "public",
61790
+ "return": {
61791
+ "type": {
61792
+ "text": "void"
61793
+ }
61794
+ },
61795
+ "description": "The method which is called on escape key press. Defaults to calling close()",
61796
+ "inheritedFrom": {
61797
+ "name": "SbbOpenCloseBaseElement",
61798
+ "module": "core/base-elements/open-close-base-element.js"
61799
+ }
61800
+ },
60256
61801
  {
60257
61802
  "kind": "method",
60258
61803
  "name": "dispatchBeforeOpenEvent",
@@ -63156,6 +64701,12 @@
63156
64701
  "default": "var(--sbb-overlay-default-z-index)"
63157
64702
  }
63158
64703
  ],
64704
+ "cssParts": [
64705
+ {
64706
+ "description": "Can be used to change styles of the scroll container of the content.",
64707
+ "name": "scroll-container"
64708
+ }
64709
+ ],
63159
64710
  "slots": [
63160
64711
  {
63161
64712
  "description": "This slot is used for the actions, the slot is automatically assigned to the `sbb-dialog-actions` element.",
@@ -63837,6 +65388,21 @@
63837
65388
  "module": "core/base-elements/open-close-base-element.js"
63838
65389
  }
63839
65390
  },
65391
+ {
65392
+ "kind": "method",
65393
+ "name": "escapeStrategy",
65394
+ "privacy": "public",
65395
+ "return": {
65396
+ "type": {
65397
+ "text": "void"
65398
+ }
65399
+ },
65400
+ "description": "The method which is called on escape key press. Defaults to calling close()",
65401
+ "inheritedFrom": {
65402
+ "name": "SbbOpenCloseBaseElement",
65403
+ "module": "core/base-elements/open-close-base-element.js"
65404
+ }
65405
+ },
63840
65406
  {
63841
65407
  "kind": "method",
63842
65408
  "name": "dispatchBeforeOpenEvent",
@@ -80358,11 +81924,53 @@
80358
81924
  "privacy": "private",
80359
81925
  "default": "new SbbInertController(this)"
80360
81926
  },
81927
+ {
81928
+ "kind": "field",
81929
+ "name": "_mobileBreakpoint",
81930
+ "privacy": "private",
81931
+ "default": "SbbMediaQueryBreakpointSmallAndBelow"
81932
+ },
80361
81933
  {
80362
81934
  "kind": "field",
80363
81935
  "name": "_mediaMatcher",
80364
81936
  "privacy": "private",
80365
- "default": "new SbbMediaMatcherController(this, { [SbbMediaQueryBreakpointSmallAndBelow]: (matches) => { if (matches && (this.state === 'opening' || this.state === 'opened')) { this._scrollHandler.disableScroll(); } else { this._scrollHandler.enableScroll(); } }, })"
81937
+ "default": "new SbbMediaMatcherController(this, { [this._mobileBreakpoint]: (matches) => { if (matches && (this.state === 'opening' || this.state === 'opened')) { this._scrollHandler.disableScroll(); } else { this._scrollHandler.enableScroll(); } }, })"
81938
+ },
81939
+ {
81940
+ "kind": "field",
81941
+ "name": "_darkModeController",
81942
+ "privacy": "private",
81943
+ "default": "new SbbDarkModeController(this, () => this._syncNegative())"
81944
+ },
81945
+ {
81946
+ "kind": "field",
81947
+ "name": "_language",
81948
+ "privacy": "private",
81949
+ "default": "new SbbLanguageController(this)"
81950
+ },
81951
+ {
81952
+ "kind": "field",
81953
+ "name": "_nestedMenu",
81954
+ "type": {
81955
+ "text": "SbbMenuElement | null"
81956
+ },
81957
+ "privacy": "private",
81958
+ "default": "null"
81959
+ },
81960
+ {
81961
+ "kind": "method",
81962
+ "name": "escapeStrategy",
81963
+ "privacy": "public",
81964
+ "return": {
81965
+ "type": {
81966
+ "text": "void"
81967
+ }
81968
+ },
81969
+ "description": "The method which is called on escape key press. Defaults to calling close()",
81970
+ "inheritedFrom": {
81971
+ "name": "SbbOpenCloseBaseElement",
81972
+ "module": "core/base-elements/open-close-base-element.js"
81973
+ }
80366
81974
  },
80367
81975
  {
80368
81976
  "kind": "method",
@@ -80388,7 +81996,7 @@
80388
81996
  "text": "void"
80389
81997
  }
80390
81998
  },
80391
- "description": "Closes the menu.",
81999
+ "description": "Closes the menu and all its nested menus.",
80392
82000
  "inheritedFrom": {
80393
82001
  "name": "SbbOpenCloseBaseElement",
80394
82002
  "module": "core/base-elements/open-close-base-element.js"
@@ -80396,27 +82004,46 @@
80396
82004
  },
80397
82005
  {
80398
82006
  "kind": "method",
80399
- "name": "_isZeroAnimationDuration",
80400
- "privacy": "private",
82007
+ "name": "closeAll",
82008
+ "privacy": "public",
80401
82009
  "return": {
80402
82010
  "type": {
80403
- "text": "boolean"
82011
+ "text": "void"
80404
82012
  }
80405
- }
82013
+ },
82014
+ "description": "Closes the menu and all related menus nested and parent menus)."
80406
82015
  },
80407
82016
  {
80408
82017
  "kind": "method",
80409
- "name": "_handleOpening",
82018
+ "name": "_close",
80410
82019
  "privacy": "private",
80411
82020
  "return": {
80412
82021
  "type": {
80413
82022
  "text": "void"
80414
82023
  }
82024
+ },
82025
+ "parameters": [
82026
+ {
82027
+ "name": "closeAll",
82028
+ "default": "false",
82029
+ "description": "If true, it ensures animations are correct by toggling some states when closing all related menus at once.",
82030
+ "optional": true
82031
+ }
82032
+ ]
82033
+ },
82034
+ {
82035
+ "kind": "method",
82036
+ "name": "_isZeroAnimationDuration",
82037
+ "privacy": "private",
82038
+ "return": {
82039
+ "type": {
82040
+ "text": "boolean"
82041
+ }
80415
82042
  }
80416
82043
  },
80417
82044
  {
80418
82045
  "kind": "method",
80419
- "name": "_handleClosing",
82046
+ "name": "_handleOpening",
80420
82047
  "privacy": "private",
80421
82048
  "return": {
80422
82049
  "type": {
@@ -80426,22 +82053,13 @@
80426
82053
  },
80427
82054
  {
80428
82055
  "kind": "method",
80429
- "name": "_onClick",
82056
+ "name": "_handleClosing",
80430
82057
  "privacy": "private",
80431
82058
  "return": {
80432
82059
  "type": {
80433
82060
  "text": "void"
80434
82061
  }
80435
- },
80436
- "parameters": [
80437
- {
80438
- "name": "event",
80439
- "type": {
80440
- "text": "Event"
80441
- }
80442
- }
80443
- ],
80444
- "description": "Handles click and checks if its target is a sbb-menu-button/sbb-menu-link."
82062
+ }
80445
82063
  },
80446
82064
  {
80447
82065
  "kind": "method",
@@ -80501,7 +82119,7 @@
80501
82119
  },
80502
82120
  {
80503
82121
  "kind": "method",
80504
- "name": "_closeOnInteractiveElementClick",
82122
+ "name": "_interactiveElementClick",
80505
82123
  "privacy": "private",
80506
82124
  "return": {
80507
82125
  "type": {
@@ -80527,6 +82145,76 @@
80527
82145
  "name": "_closeOnBackdropClick",
80528
82146
  "privacy": "private"
80529
82147
  },
82148
+ {
82149
+ "kind": "method",
82150
+ "name": "_nestedMenus",
82151
+ "privacy": "private",
82152
+ "return": {
82153
+ "type": {
82154
+ "text": "SbbMenuElement[]"
82155
+ }
82156
+ },
82157
+ "description": "Converts the linked list into an array of SbbMenuElement."
82158
+ },
82159
+ {
82160
+ "kind": "method",
82161
+ "name": "_parentMenu",
82162
+ "privacy": "private",
82163
+ "return": {
82164
+ "type": {
82165
+ "text": "SbbMenuElement | null"
82166
+ }
82167
+ }
82168
+ },
82169
+ {
82170
+ "kind": "method",
82171
+ "name": "_mainMenu",
82172
+ "privacy": "private",
82173
+ "return": {
82174
+ "type": {
82175
+ "text": "SbbMenuElement"
82176
+ }
82177
+ },
82178
+ "description": "The outermost menu."
82179
+ },
82180
+ {
82181
+ "kind": "method",
82182
+ "name": "_isNested",
82183
+ "privacy": "private",
82184
+ "return": {
82185
+ "type": {
82186
+ "text": "boolean"
82187
+ }
82188
+ }
82189
+ },
82190
+ {
82191
+ "kind": "method",
82192
+ "name": "_updateNestedInert",
82193
+ "privacy": "private",
82194
+ "return": {
82195
+ "type": {
82196
+ "text": "void"
82197
+ }
82198
+ }
82199
+ },
82200
+ {
82201
+ "kind": "method",
82202
+ "name": "_handleMouseOver",
82203
+ "privacy": "private",
82204
+ "return": {
82205
+ "type": {
82206
+ "text": "void"
82207
+ }
82208
+ },
82209
+ "parameters": [
82210
+ {
82211
+ "name": "event",
82212
+ "type": {
82213
+ "text": "MouseEvent"
82214
+ }
82215
+ }
82216
+ ]
82217
+ },
80530
82218
  {
80531
82219
  "kind": "method",
80532
82220
  "name": "_onMenuAnimationEnd",
@@ -80555,6 +82243,26 @@
80555
82243
  }
80556
82244
  }
80557
82245
  },
82246
+ {
82247
+ "kind": "method",
82248
+ "name": "_syncNegative",
82249
+ "privacy": "private",
82250
+ "return": {
82251
+ "type": {
82252
+ "text": "void"
82253
+ }
82254
+ }
82255
+ },
82256
+ {
82257
+ "kind": "method",
82258
+ "name": "_isMobile",
82259
+ "privacy": "private",
82260
+ "return": {
82261
+ "type": {
82262
+ "text": "boolean"
82263
+ }
82264
+ }
82265
+ },
80558
82266
  {
80559
82267
  "kind": "field",
80560
82268
  "name": "listChildren",
@@ -82950,6 +84658,21 @@
82950
84658
  "module": "core/base-elements/open-close-base-element.js"
82951
84659
  }
82952
84660
  },
84661
+ {
84662
+ "kind": "method",
84663
+ "name": "escapeStrategy",
84664
+ "privacy": "public",
84665
+ "return": {
84666
+ "type": {
84667
+ "text": "void"
84668
+ }
84669
+ },
84670
+ "description": "The method which is called on escape key press. Defaults to calling close()",
84671
+ "inheritedFrom": {
84672
+ "name": "SbbOpenCloseBaseElement",
84673
+ "module": "core/base-elements/open-close-base-element.js"
84674
+ }
84675
+ },
82953
84676
  {
82954
84677
  "kind": "method",
82955
84678
  "name": "dispatchBeforeOpenEvent",
@@ -90276,6 +91999,21 @@
90276
91999
  "module": "core/base-elements/open-close-base-element.js"
90277
92000
  }
90278
92001
  },
92002
+ {
92003
+ "kind": "method",
92004
+ "name": "escapeStrategy",
92005
+ "privacy": "public",
92006
+ "return": {
92007
+ "type": {
92008
+ "text": "void"
92009
+ }
92010
+ },
92011
+ "description": "The method which is called on escape key press. Defaults to calling close()",
92012
+ "inheritedFrom": {
92013
+ "name": "SbbOpenCloseBaseElement",
92014
+ "module": "core/base-elements/open-close-base-element.js"
92015
+ }
92016
+ },
90279
92017
  {
90280
92018
  "kind": "method",
90281
92019
  "name": "dispatchBeforeOpenEvent",
@@ -91105,6 +92843,21 @@
91105
92843
  "module": "core/base-elements/open-close-base-element.js"
91106
92844
  }
91107
92845
  },
92846
+ {
92847
+ "kind": "method",
92848
+ "name": "escapeStrategy",
92849
+ "privacy": "public",
92850
+ "return": {
92851
+ "type": {
92852
+ "text": "void"
92853
+ }
92854
+ },
92855
+ "description": "The method which is called on escape key press. Defaults to calling close()",
92856
+ "inheritedFrom": {
92857
+ "name": "SbbOpenCloseBaseElement",
92858
+ "module": "core/base-elements/open-close-base-element.js"
92859
+ }
92860
+ },
91108
92861
  {
91109
92862
  "kind": "method",
91110
92863
  "name": "dispatchBeforeOpenEvent",
@@ -98217,6 +99970,21 @@
98217
99970
  "module": "core/base-elements/open-close-base-element.js"
98218
99971
  }
98219
99972
  },
99973
+ {
99974
+ "kind": "method",
99975
+ "name": "escapeStrategy",
99976
+ "privacy": "public",
99977
+ "return": {
99978
+ "type": {
99979
+ "text": "void"
99980
+ }
99981
+ },
99982
+ "description": "The method which is called on escape key press. Defaults to calling close()",
99983
+ "inheritedFrom": {
99984
+ "name": "SbbOpenCloseBaseElement",
99985
+ "module": "core/base-elements/open-close-base-element.js"
99986
+ }
99987
+ },
98220
99988
  {
98221
99989
  "kind": "method",
98222
99990
  "name": "dispatchBeforeOpenEvent",
@@ -101220,150 +102988,150 @@
101220
102988
  }
101221
102989
  }
101222
102990
  ],
101223
- "attributes": [
101224
- {
101225
- "name": "focusable",
101226
- "type": {
101227
- "text": "boolean"
101228
- },
101229
- "default": "false",
101230
- "description": "Whether the table wrapper is focusable.",
101231
- "fieldName": "focusable"
101232
- },
101233
- {
101234
- "name": "negative",
101235
- "type": {
101236
- "text": "boolean"
101237
- },
101238
- "default": "false",
101239
- "description": "Negative coloring variant flag.",
101240
- "fieldName": "negative",
101241
- "inheritedFrom": {
101242
- "name": "SbbNegativeMixin",
101243
- "module": "core/mixins/negative-mixin.js"
101244
- }
101245
- }
101246
- ],
101247
- "mixins": [
101248
- {
101249
- "name": "SbbNegativeMixin",
101250
- "module": "core/mixins.js"
101251
- },
101252
- {
101253
- "name": "SbbElementInternalsMixin",
101254
- "module": "core/mixins.js"
101255
- }
101256
- ],
101257
- "superclass": {
101258
- "name": "LitElement",
101259
- "package": "lit"
101260
- },
101261
- "tagName": "sbb-table-wrapper",
101262
- "customElement": true
101263
- }
101264
- ],
101265
- "exports": [
101266
- {
101267
- "kind": "js",
101268
- "name": "SbbTableWrapperElement",
101269
- "declaration": {
101270
- "name": "SbbTableWrapperElement",
101271
- "module": "table/table-wrapper/table-wrapper.component.js"
101272
- }
101273
- },
101274
- {
101275
- "kind": "custom-element-definition",
101276
- "name": "sbb-table-wrapper",
101277
- "declaration": {
101278
- "name": "SbbTableWrapperElement",
101279
- "module": "table/table-wrapper/table-wrapper.component.js"
101280
- }
101281
- }
101282
- ]
101283
- },
101284
- {
101285
- "kind": "javascript-module",
101286
- "path": "tabs/tab/tab.component.js",
101287
- "declarations": [
101288
- {
101289
- "kind": "class",
101290
- "description": "Combined with a `sbb-tab-group`, it displays a tab's content.",
101291
- "name": "SbbTabElement",
101292
- "slots": [
101293
- {
101294
- "description": "Use the unnamed slot to provide content.",
101295
- "name": ""
101296
- }
101297
- ],
101298
- "members": [
101299
- {
101300
- "kind": "field",
101301
- "name": "role",
101302
- "type": {
101303
- "text": "string"
101304
- },
101305
- "privacy": "public",
101306
- "static": true,
101307
- "default": "'tabpanel'"
101308
- },
101309
- {
101310
- "kind": "field",
101311
- "name": "label",
101312
- "type": {
101313
- "text": "SbbTabLabelElement | null"
101314
- },
101315
- "privacy": "public",
101316
- "description": "The `sbb-tab-label` associated with the tab.",
101317
- "readonly": true,
101318
- "default": "null"
101319
- },
102991
+ "attributes": [
102992
+ {
102993
+ "name": "focusable",
102994
+ "type": {
102995
+ "text": "boolean"
102996
+ },
102997
+ "default": "false",
102998
+ "description": "Whether the table wrapper is focusable.",
102999
+ "fieldName": "focusable"
103000
+ },
103001
+ {
103002
+ "name": "negative",
103003
+ "type": {
103004
+ "text": "boolean"
103005
+ },
103006
+ "default": "false",
103007
+ "description": "Negative coloring variant flag.",
103008
+ "fieldName": "negative",
103009
+ "inheritedFrom": {
103010
+ "name": "SbbNegativeMixin",
103011
+ "module": "core/mixins/negative-mixin.js"
103012
+ }
103013
+ }
103014
+ ],
103015
+ "mixins": [
103016
+ {
103017
+ "name": "SbbNegativeMixin",
103018
+ "module": "core/mixins.js"
103019
+ },
103020
+ {
103021
+ "name": "SbbElementInternalsMixin",
103022
+ "module": "core/mixins.js"
103023
+ }
103024
+ ],
103025
+ "superclass": {
103026
+ "name": "LitElement",
103027
+ "package": "lit"
103028
+ },
103029
+ "tagName": "sbb-table-wrapper",
103030
+ "customElement": true
103031
+ }
103032
+ ],
103033
+ "exports": [
103034
+ {
103035
+ "kind": "js",
103036
+ "name": "SbbTableWrapperElement",
103037
+ "declaration": {
103038
+ "name": "SbbTableWrapperElement",
103039
+ "module": "table/table-wrapper/table-wrapper.component.js"
103040
+ }
103041
+ },
103042
+ {
103043
+ "kind": "custom-element-definition",
103044
+ "name": "sbb-table-wrapper",
103045
+ "declaration": {
103046
+ "name": "SbbTableWrapperElement",
103047
+ "module": "table/table-wrapper/table-wrapper.component.js"
103048
+ }
103049
+ }
103050
+ ]
103051
+ },
103052
+ {
103053
+ "kind": "javascript-module",
103054
+ "path": "tabs/tab/tab.component.js",
103055
+ "declarations": [
103056
+ {
103057
+ "kind": "class",
103058
+ "description": "Combined with a `sbb-tab-group` and `sbb-tab-label`, it displays a tab's content.",
103059
+ "name": "SbbTabElement",
103060
+ "slots": [
103061
+ {
103062
+ "description": "Use the unnamed slot to provide content.",
103063
+ "name": ""
103064
+ }
103065
+ ],
103066
+ "members": [
103067
+ {
103068
+ "kind": "field",
103069
+ "name": "role",
103070
+ "type": {
103071
+ "text": "string"
103072
+ },
103073
+ "privacy": "public",
103074
+ "static": true,
103075
+ "default": "'tabpanel'"
103076
+ },
103077
+ {
103078
+ "kind": "field",
103079
+ "name": "events",
103080
+ "privacy": "public",
103081
+ "static": true,
103082
+ "readonly": true,
103083
+ "default": "{ active: 'active', }",
103084
+ "type": {
103085
+ "text": "{\n active: 'active',\n }"
103086
+ }
103087
+ },
103088
+ {
103089
+ "kind": "field",
103090
+ "name": "label",
103091
+ "type": {
103092
+ "text": "SbbTabLabelElement | null"
103093
+ },
103094
+ "privacy": "public",
103095
+ "description": "The `sbb-tab-label` associated with the tab.",
103096
+ "readonly": true
103097
+ },
103098
+ {
103099
+ "kind": "method",
103100
+ "name": "toggleState",
103101
+ "privacy": "protected",
103102
+ "return": {
103103
+ "type": {
103104
+ "text": "void"
103105
+ }
103106
+ },
103107
+ "parameters": [
103108
+ {
103109
+ "name": "state",
103110
+ "type": {
103111
+ "text": "string"
103112
+ }
103113
+ },
103114
+ {
103115
+ "name": "force",
103116
+ "optional": true,
103117
+ "type": {
103118
+ "text": "boolean"
103119
+ }
103120
+ }
103121
+ ],
103122
+ "inheritedFrom": {
103123
+ "name": "SbbElementInternalsMixin",
103124
+ "module": "core/mixins/element-internals-mixin.js"
103125
+ }
103126
+ }
103127
+ ],
103128
+ "events": [
101320
103129
  {
101321
- "kind": "field",
101322
- "name": "_label",
101323
103130
  "type": {
101324
- "text": "SbbTabLabelElement | null"
101325
- },
101326
- "privacy": "private",
101327
- "default": "null"
101328
- },
101329
- {
101330
- "kind": "method",
101331
- "name": "_getTabLabel",
101332
- "privacy": "private",
101333
- "return": {
101334
- "type": {
101335
- "text": "SbbTabLabelElement | null"
101336
- }
101337
- }
101338
- },
101339
- {
101340
- "kind": "method",
101341
- "name": "toggleState",
101342
- "privacy": "protected",
101343
- "return": {
101344
- "type": {
101345
- "text": "void"
101346
- }
103131
+ "text": "Event"
101347
103132
  },
101348
- "parameters": [
101349
- {
101350
- "name": "state",
101351
- "type": {
101352
- "text": "string"
101353
- }
101354
- },
101355
- {
101356
- "name": "force",
101357
- "optional": true,
101358
- "type": {
101359
- "text": "boolean"
101360
- }
101361
- }
101362
- ],
101363
- "inheritedFrom": {
101364
- "name": "SbbElementInternalsMixin",
101365
- "module": "core/mixins/element-internals-mixin.js"
101366
- }
103133
+ "description": "The `active` event fires when the sbb-tab has been activated via user selection on the sbb-tab-label.",
103134
+ "name": "active"
101367
103135
  }
101368
103136
  ],
101369
103137
  "mixins": [
@@ -101405,7 +103173,7 @@
101405
103173
  "declarations": [
101406
103174
  {
101407
103175
  "kind": "class",
101408
- "description": "It displays one or more tabs, each one with a label and a content.",
103176
+ "description": "It displays one or more tabs, each one with a label and some content.",
101409
103177
  "name": "SbbTabGroupElement",
101410
103178
  "slots": [
101411
103179
  {
@@ -101425,23 +103193,6 @@
101425
103193
  "text": "{\n tabchange: 'tabchange',\n }"
101426
103194
  }
101427
103195
  },
101428
- {
101429
- "kind": "field",
101430
- "name": "_tabs",
101431
- "type": {
101432
- "text": "InterfaceSbbTabGroupTab[]"
101433
- },
101434
- "privacy": "private",
101435
- "default": "[]"
101436
- },
101437
- {
101438
- "kind": "field",
101439
- "name": "_selectedTab",
101440
- "type": {
101441
- "text": "InterfaceSbbTabGroupTab | undefined"
101442
- },
101443
- "privacy": "private"
101444
- },
101445
103196
  {
101446
103197
  "kind": "field",
101447
103198
  "name": "_tabGroupElement",
@@ -101458,12 +103209,6 @@
101458
103209
  },
101459
103210
  "privacy": "private"
101460
103211
  },
101461
- {
101462
- "kind": "field",
101463
- "name": "_tabAttributeObserver",
101464
- "privacy": "private",
101465
- "default": "new MutationController(this, { target: null, config: tabObserverConfig, callback: (mutationsList) => this._onTabAttributesChange(mutationsList), })"
101466
- },
101467
103212
  {
101468
103213
  "kind": "field",
101469
103214
  "name": "_tabGroupResizeObserver",
@@ -101483,7 +103228,7 @@
101483
103228
  "description": "Size variant, either s, l or xl.",
101484
103229
  "default": "'l' / 's' (lean)",
101485
103230
  "type": {
101486
- "text": "InterfaceSbbTabGroupTab['size']"
103231
+ "text": "'s' | 'l' | 'xl'"
101487
103232
  },
101488
103233
  "attribute": "size"
101489
103234
  },
@@ -101491,7 +103236,7 @@
101491
103236
  "kind": "field",
101492
103237
  "name": "_size",
101493
103238
  "type": {
101494
- "text": "InterfaceSbbTabGroupTab['size']"
103239
+ "text": "'s' | 'l' | 'xl'"
101495
103240
  },
101496
103241
  "privacy": "private"
101497
103242
  },
@@ -101506,6 +103251,16 @@
101506
103251
  "description": "Sets the initial tab. If it matches a disabled tab or exceeds the length of\nthe tab group, the first enabled tab will be selected.",
101507
103252
  "attribute": "initial-selected-index"
101508
103253
  },
103254
+ {
103255
+ "kind": "field",
103256
+ "name": "labels",
103257
+ "type": {
103258
+ "text": "SbbTabLabelElement[]"
103259
+ },
103260
+ "privacy": "public",
103261
+ "description": "Gets the slotted `sbb-tab-label`s.",
103262
+ "readonly": true
103263
+ },
101509
103264
  {
101510
103265
  "kind": "method",
101511
103266
  "name": "disableTab",
@@ -101566,23 +103321,13 @@
101566
103321
  ],
101567
103322
  "description": "Activates a tab by index."
101568
103323
  },
101569
- {
101570
- "kind": "method",
101571
- "name": "_getTabs",
101572
- "privacy": "private",
101573
- "return": {
101574
- "type": {
101575
- "text": "InterfaceSbbTabGroupTab[]"
101576
- }
101577
- }
101578
- },
101579
103324
  {
101580
103325
  "kind": "method",
101581
103326
  "name": "_enabledTabs",
101582
103327
  "privacy": "private",
101583
103328
  "return": {
101584
103329
  "type": {
101585
- "text": "InterfaceSbbTabGroupTab[]"
103330
+ "text": "SbbTabLabelElement[]"
101586
103331
  }
101587
103332
  }
101588
103333
  },
@@ -101603,19 +103348,9 @@
101603
103348
  },
101604
103349
  {
101605
103350
  "kind": "field",
101606
- "name": "_onTabsSlotChange",
103351
+ "name": "_onLabelSlotChange",
101607
103352
  "privacy": "private"
101608
103353
  },
101609
- {
101610
- "kind": "method",
101611
- "name": "_assignId",
101612
- "privacy": "private",
101613
- "return": {
101614
- "type": {
101615
- "text": "string"
101616
- }
101617
- }
101618
- },
101619
103354
  {
101620
103355
  "kind": "method",
101621
103356
  "name": "_initSelection",
@@ -101626,24 +103361,6 @@
101626
103361
  }
101627
103362
  }
101628
103363
  },
101629
- {
101630
- "kind": "method",
101631
- "name": "_onTabAttributesChange",
101632
- "privacy": "private",
101633
- "return": {
101634
- "type": {
101635
- "text": "void"
101636
- }
101637
- },
101638
- "parameters": [
101639
- {
101640
- "name": "mutationsList",
101641
- "type": {
101642
- "text": "MutationRecord[]"
101643
- }
101644
- }
101645
- ]
101646
- },
101647
103364
  {
101648
103365
  "kind": "method",
101649
103366
  "name": "_onTabGroupElementResize",
@@ -101680,24 +103397,6 @@
101680
103397
  }
101681
103398
  ]
101682
103399
  },
101683
- {
101684
- "kind": "method",
101685
- "name": "_configure",
101686
- "privacy": "private",
101687
- "return": {
101688
- "type": {
101689
- "text": "void"
101690
- }
101691
- },
101692
- "parameters": [
101693
- {
101694
- "name": "tabLabel",
101695
- "type": {
101696
- "text": "InterfaceSbbTabGroupTab"
101697
- }
101698
- }
101699
- ]
101700
- },
101701
103400
  {
101702
103401
  "kind": "method",
101703
103402
  "name": "_handleKeyDown",
@@ -101769,11 +103468,11 @@
101769
103468
  ],
101770
103469
  "events": [
101771
103470
  {
101772
- "name": "tabchange",
101773
103471
  "type": {
101774
103472
  "text": "CustomEvent<SbbTabChangedEventDetails>"
101775
103473
  },
101776
- "description": "The tabchange event is dispatched when a tab is selected."
103474
+ "description": "The tabchange event is dispatched when a tab is selected.",
103475
+ "name": "tabchange"
101777
103476
  }
101778
103477
  ],
101779
103478
  "attributes": [
@@ -101782,7 +103481,7 @@
101782
103481
  "description": "Size variant, either s, l or xl.",
101783
103482
  "default": "'l' / 's' (lean)",
101784
103483
  "type": {
101785
- "text": "InterfaceSbbTabGroupTab['size']"
103484
+ "text": "'s' | 'l' | 'xl'"
101786
103485
  },
101787
103486
  "fieldName": "size"
101788
103487
  },
@@ -101862,6 +103561,16 @@
101862
103561
  "static": true,
101863
103562
  "default": "'tab'"
101864
103563
  },
103564
+ {
103565
+ "kind": "field",
103566
+ "name": "_selected",
103567
+ "type": {
103568
+ "text": "boolean"
103569
+ },
103570
+ "privacy": "private",
103571
+ "default": "false",
103572
+ "description": "Whether the tab is selected."
103573
+ },
101865
103574
  {
101866
103575
  "kind": "field",
101867
103576
  "name": "level",
@@ -101881,7 +103590,7 @@
101881
103590
  },
101882
103591
  "privacy": "public",
101883
103592
  "default": "false",
101884
- "description": "Active tab state",
103593
+ "description": "Active tab state.",
101885
103594
  "attribute": "active",
101886
103595
  "reflects": true
101887
103596
  },
@@ -101897,6 +103606,48 @@
101897
103606
  "attribute": "amount",
101898
103607
  "reflects": true
101899
103608
  },
103609
+ {
103610
+ "kind": "field",
103611
+ "name": "tab",
103612
+ "type": {
103613
+ "text": "SbbTabElement | null"
103614
+ },
103615
+ "privacy": "public",
103616
+ "description": "Get the `sbb-tab` related to the `sbb-tab-label`.",
103617
+ "readonly": true
103618
+ },
103619
+ {
103620
+ "kind": "field",
103621
+ "name": "group",
103622
+ "type": {
103623
+ "text": "SbbTabGroupElement | null"
103624
+ },
103625
+ "privacy": "public",
103626
+ "description": "Get the parent `sbb-tab-group`.",
103627
+ "readonly": true
103628
+ },
103629
+ {
103630
+ "kind": "method",
103631
+ "name": "deactivate",
103632
+ "privacy": "public",
103633
+ "return": {
103634
+ "type": {
103635
+ "text": "void"
103636
+ }
103637
+ },
103638
+ "description": "Deactivate the tab."
103639
+ },
103640
+ {
103641
+ "kind": "method",
103642
+ "name": "activate",
103643
+ "privacy": "public",
103644
+ "return": {
103645
+ "type": {
103646
+ "text": "void"
103647
+ }
103648
+ },
103649
+ "description": "Select the tab, deactivating the current selected one, and dispatch the tabchange event."
103650
+ },
101900
103651
  {
101901
103652
  "kind": "field",
101902
103653
  "name": "disabled",
@@ -102026,7 +103777,7 @@
102026
103777
  "text": "boolean"
102027
103778
  },
102028
103779
  "default": "false",
102029
- "description": "Active tab state",
103780
+ "description": "Active tab state.",
102030
103781
  "fieldName": "active"
102031
103782
  },
102032
103783
  {