@sbb-esta/lyne-elements 3.10.0 → 3.12.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 (267) hide show
  1. package/action-group/action-group.component.js +1 -1
  2. package/alert/alert/alert.component.js +1 -1
  3. package/autocomplete/autocomplete-base-element.d.ts +5 -0
  4. package/autocomplete/autocomplete-base-element.d.ts.map +1 -1
  5. package/autocomplete/autocomplete-base-element.js +72 -59
  6. package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.component.js +1 -1
  7. package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +1 -1
  8. package/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.component.js +1 -1
  9. package/badge.css +1 -0
  10. package/breadcrumb/breadcrumb/breadcrumb.component.js +4 -4
  11. package/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +1 -1
  12. package/button/common.js +1 -1
  13. package/button/mini-button/mini-button.component.js +1 -1
  14. package/button.js +1 -1
  15. package/calendar/calendar.component.d.ts +2 -1
  16. package/calendar/calendar.component.d.ts.map +1 -1
  17. package/calendar/calendar.component.js +1 -1
  18. package/card/card/card.component.js +1 -1
  19. package/card/card-badge/card-badge.component.js +1 -1
  20. package/carousel/carousel-list/carousel-list.component.d.ts +8 -3
  21. package/carousel/carousel-list/carousel-list.component.d.ts.map +1 -1
  22. package/carousel/carousel-list/carousel-list.component.js +62 -40
  23. package/checkbox/checkbox-group/checkbox-group.component.js +1 -1
  24. package/chip/chip/chip.component.js +1 -1
  25. package/chip/chip-group/chip-group.component.js +1 -1
  26. package/chip-label/chip-label.component.js +1 -1
  27. package/container/container/container.component.js +11 -11
  28. package/container/sticky-bar/sticky-bar.component.js +9 -9
  29. package/core/controllers/escapable-overlay-controller.d.ts +3 -0
  30. package/core/controllers/escapable-overlay-controller.d.ts.map +1 -1
  31. package/core/controllers/overlay-position-controller.d.ts +60 -0
  32. package/core/controllers/overlay-position-controller.d.ts.map +1 -0
  33. package/core/controllers/overlay-position-controller.js +224 -0
  34. package/core/controllers.d.ts +1 -0
  35. package/core/controllers.d.ts.map +1 -1
  36. package/core/controllers.js +12 -10
  37. package/core/mixins.js +1 -1
  38. package/core/overlay/overlay-option-panel.d.ts +2 -1
  39. package/core/overlay/overlay-option-panel.d.ts.map +1 -1
  40. package/core/overlay/overlay-option-panel.js +8 -5
  41. package/core/overlay/position.d.ts +2 -0
  42. package/core/overlay/position.d.ts.map +1 -1
  43. package/core/overlay/position.js +19 -17
  44. package/core/styles/core.scss +27 -2
  45. package/core/styles/layout.scss +4 -0
  46. package/core/styles/mixins/badge.scss +3 -0
  47. package/core/styles/mixins/layout.scss +5 -4
  48. package/core/styles/mixins/link.scss +0 -11
  49. package/core.css +21 -2
  50. package/custom-elements.json +2024 -417
  51. package/date-input/date-input.component.js +1 -1
  52. package/datepicker/datepicker-next-day/datepicker-next-day.component.js +1 -1
  53. package/datepicker/datepicker-previous-day/datepicker-previous-day.component.js +1 -1
  54. package/datepicker/datepicker-toggle/datepicker-toggle.component.js +1 -1
  55. package/development/autocomplete/autocomplete-base-element.d.ts +5 -0
  56. package/development/autocomplete/autocomplete-base-element.d.ts.map +1 -1
  57. package/development/autocomplete/autocomplete-base-element.js +25 -5
  58. package/development/breadcrumb/breadcrumb/breadcrumb.component.js +1 -2
  59. package/development/calendar/calendar.component.d.ts +2 -1
  60. package/development/calendar/calendar.component.d.ts.map +1 -1
  61. package/development/calendar/calendar.component.js +1 -1
  62. package/development/carousel/carousel-list/carousel-list.component.d.ts +8 -3
  63. package/development/carousel/carousel-list/carousel-list.component.d.ts.map +1 -1
  64. package/development/carousel/carousel-list/carousel-list.component.js +51 -19
  65. package/development/container/container/container.component.js +3 -3
  66. package/development/container/sticky-bar/sticky-bar.component.js +5 -5
  67. package/development/core/controllers/escapable-overlay-controller.d.ts +3 -0
  68. package/development/core/controllers/escapable-overlay-controller.d.ts.map +1 -1
  69. package/development/core/controllers/escapable-overlay-controller.js +1 -1
  70. package/development/core/controllers/overlay-position-controller.d.ts +60 -0
  71. package/development/core/controllers/overlay-position-controller.d.ts.map +1 -0
  72. package/development/core/controllers/overlay-position-controller.js +306 -0
  73. package/development/core/controllers.d.ts +1 -0
  74. package/development/core/controllers.d.ts.map +1 -1
  75. package/development/core/controllers.js +3 -1
  76. package/development/core/overlay/overlay-option-panel.d.ts +2 -1
  77. package/development/core/overlay/overlay-option-panel.d.ts.map +1 -1
  78. package/development/core/overlay/overlay-option-panel.js +6 -3
  79. package/development/core/overlay/position.d.ts +2 -0
  80. package/development/core/overlay/position.d.ts.map +1 -1
  81. package/development/core/overlay/position.js +3 -2
  82. package/development/footer/footer.component.js +3 -3
  83. package/development/header/header/header.component.js +3 -3
  84. package/development/lead-container/lead-container.component.js +8 -7
  85. package/development/link/common/block-link-common.js +2 -12
  86. package/development/link/common/inline-link-common.js +2 -10
  87. package/development/link/common/link-common.js +1 -1
  88. package/development/link/common.js +1 -1
  89. package/development/{link-common-DPLJx5Uo.js → link-common-BDFF9Oiz.js} +1 -3
  90. package/development/link-list/link-list-anchor/link-list-anchor.component.js +1 -2
  91. package/development/link.js +1 -1
  92. package/development/mini-calendar/mini-calendar/mini-calendar.component.d.ts +35 -0
  93. package/development/mini-calendar/mini-calendar/mini-calendar.component.d.ts.map +1 -0
  94. package/development/mini-calendar/mini-calendar/mini-calendar.component.js +199 -0
  95. package/development/mini-calendar/mini-calendar-day/mini-calendar-day.component.d.ts +23 -0
  96. package/development/mini-calendar/mini-calendar-day/mini-calendar-day.component.d.ts.map +1 -0
  97. package/development/mini-calendar/mini-calendar-day/mini-calendar-day.component.js +181 -0
  98. package/development/mini-calendar/mini-calendar-day.d.ts +5 -0
  99. package/development/mini-calendar/mini-calendar-day.d.ts.map +1 -0
  100. package/development/mini-calendar/mini-calendar-day.js +5 -0
  101. package/development/mini-calendar/mini-calendar-month/mini-calendar-month.component.d.ts +25 -0
  102. package/development/mini-calendar/mini-calendar-month/mini-calendar-month.component.d.ts.map +1 -0
  103. package/development/mini-calendar/mini-calendar-month/mini-calendar-month.component.js +123 -0
  104. package/development/mini-calendar/mini-calendar-month.d.ts +5 -0
  105. package/development/mini-calendar/mini-calendar-month.d.ts.map +1 -0
  106. package/development/mini-calendar/mini-calendar-month.js +5 -0
  107. package/development/mini-calendar/mini-calendar.d.ts +5 -0
  108. package/development/mini-calendar/mini-calendar.d.ts.map +1 -0
  109. package/development/mini-calendar/mini-calendar.js +5 -0
  110. package/development/mini-calendar.d.ts +7 -0
  111. package/development/mini-calendar.d.ts.map +1 -0
  112. package/development/mini-calendar.js +9 -0
  113. package/development/paginator/common/paginator-common.d.ts +2 -1
  114. package/development/paginator/common/paginator-common.d.ts.map +1 -1
  115. package/development/paginator/common/paginator-common.js +87 -49
  116. package/development/paginator/compact-paginator/compact-paginator.component.d.ts.map +1 -1
  117. package/development/paginator/compact-paginator/compact-paginator.component.js +3 -2
  118. package/development/paginator/paginator/paginator.component.d.ts +6 -0
  119. package/development/paginator/paginator/paginator.component.d.ts.map +1 -1
  120. package/development/paginator/paginator/paginator.component.js +19 -4
  121. package/development/sidebar/icon-sidebar-button/icon-sidebar-button.component.d.ts +4 -1
  122. package/development/sidebar/icon-sidebar-button/icon-sidebar-button.component.d.ts.map +1 -1
  123. package/development/sidebar/icon-sidebar-button/icon-sidebar-button.component.js +5 -1
  124. package/development/sidebar/icon-sidebar-link/icon-sidebar-link.component.d.ts +4 -1
  125. package/development/sidebar/icon-sidebar-link/icon-sidebar-link.component.d.ts.map +1 -1
  126. package/development/sidebar/icon-sidebar-link/icon-sidebar-link.component.js +5 -1
  127. package/development/tabs/tab/tab.component.d.ts +9 -0
  128. package/development/tabs/tab/tab.component.d.ts.map +1 -1
  129. package/development/tabs/tab/tab.component.js +48 -7
  130. package/development/tabs/tab-group/tab-group.component.d.ts +7 -3
  131. package/development/tabs/tab-group/tab-group.component.d.ts.map +1 -1
  132. package/development/tabs/tab-group/tab-group.component.js +19 -39
  133. package/development/tabs/tab-label/tab-label.component.d.ts.map +1 -1
  134. package/development/tabs/tab-label/tab-label.component.js +4 -3
  135. package/development/tag/tag/tag.component.js +2 -1
  136. package/development/tooltip/tooltip.component.d.ts +11 -4
  137. package/development/tooltip/tooltip.component.d.ts.map +1 -1
  138. package/development/tooltip/tooltip.component.js +57 -78
  139. package/dialog/dialog/dialog.component.js +1 -1
  140. package/dialog/dialog-actions/dialog-actions.component.js +1 -1
  141. package/expansion-panel/expansion-panel/expansion-panel.component.js +1 -1
  142. package/expansion-panel/expansion-panel-content/expansion-panel-content.component.js +1 -1
  143. package/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +1 -1
  144. package/file-selector/common.js +1 -1
  145. package/file-selector-common-BEWjyy75.js +5 -0
  146. package/file-selector.js +1 -1
  147. package/flip-card/flip-card/flip-card.component.js +1 -1
  148. package/flip-card/flip-card-summary/flip-card-summary.component.js +1 -1
  149. package/footer/footer.component.js +8 -8
  150. package/form-error/form-error.component.js +1 -1
  151. package/form-field/form-field/form-field.component.js +1 -1
  152. package/form-field/form-field-clear/form-field-clear.component.js +1 -1
  153. package/header/common/header-action-common.js +1 -1
  154. package/header/header/header.component.js +32 -32
  155. package/icon-sidebar-button-common-XcKoF2SP.js +7 -0
  156. package/index.d.ts +6 -0
  157. package/index.js +6 -0
  158. package/layout.css +9 -3
  159. package/lead-container/lead-container.component.js +8 -8
  160. package/link/common/block-link-common.js +25 -25
  161. package/link/common/inline-link-common.js +7 -7
  162. package/link/common/link-common.js +1 -1
  163. package/link/common.js +1 -1
  164. package/link-common-nA3q92jp.js +46 -0
  165. package/link-list/link-list/link-list.component.js +1 -1
  166. package/link-list/link-list-anchor/link-list-anchor.component.js +5 -5
  167. package/link.js +1 -1
  168. package/loading-indicator-circle/loading-indicator-circle.component.js +1 -1
  169. package/logo/logo.component.js +1 -1
  170. package/map-container/map-container.component.js +1 -1
  171. package/menu/common/menu-action-common.js +1 -1
  172. package/menu/menu/menu.component.js +1 -1
  173. package/mini-calendar/mini-calendar/mini-calendar.component.d.ts +35 -0
  174. package/mini-calendar/mini-calendar/mini-calendar.component.d.ts.map +1 -0
  175. package/mini-calendar/mini-calendar/mini-calendar.component.js +129 -0
  176. package/mini-calendar/mini-calendar-day/mini-calendar-day.component.d.ts +23 -0
  177. package/mini-calendar/mini-calendar-day/mini-calendar-day.component.d.ts.map +1 -0
  178. package/mini-calendar/mini-calendar-day/mini-calendar-day.component.js +66 -0
  179. package/mini-calendar/mini-calendar-day.d.ts +5 -0
  180. package/mini-calendar/mini-calendar-day.d.ts.map +1 -0
  181. package/mini-calendar/mini-calendar-day.js +4 -0
  182. package/mini-calendar/mini-calendar-month/mini-calendar-month.component.d.ts +25 -0
  183. package/mini-calendar/mini-calendar-month/mini-calendar-month.component.d.ts.map +1 -0
  184. package/mini-calendar/mini-calendar-month/mini-calendar-month.component.js +59 -0
  185. package/mini-calendar/mini-calendar-month.d.ts +5 -0
  186. package/mini-calendar/mini-calendar-month.d.ts.map +1 -0
  187. package/mini-calendar/mini-calendar-month.js +4 -0
  188. package/mini-calendar/mini-calendar.d.ts +5 -0
  189. package/mini-calendar/mini-calendar.d.ts.map +1 -0
  190. package/mini-calendar/mini-calendar.js +4 -0
  191. package/mini-calendar.d.ts +7 -0
  192. package/mini-calendar.d.ts.map +1 -0
  193. package/mini-calendar.js +8 -0
  194. package/navigation/common/navigation-action-common.js +1 -1
  195. package/navigation/navigation/navigation.component.js +1 -1
  196. package/navigation/navigation-marker/navigation-marker.component.js +1 -1
  197. package/navigation/navigation-section/navigation-section.component.js +1 -1
  198. package/notification/notification.component.js +1 -1
  199. package/off-brand-theme.css +31 -5
  200. package/option/option/option.component.js +1 -1
  201. package/overlay/overlay.component.js +1 -1
  202. package/package.json +21 -1
  203. package/paginator/common/paginator-common.d.ts +2 -1
  204. package/paginator/common/paginator-common.d.ts.map +1 -1
  205. package/paginator/common/paginator-common.js +102 -81
  206. package/paginator/compact-paginator/compact-paginator.component.d.ts.map +1 -1
  207. package/paginator/compact-paginator/compact-paginator.component.js +2 -1
  208. package/paginator/paginator/paginator.component.d.ts +6 -0
  209. package/paginator/paginator/paginator.component.d.ts.map +1 -1
  210. package/paginator/paginator/paginator.component.js +57 -45
  211. package/popover/popover/popover.component.js +1 -1
  212. package/popover/popover-trigger/popover-trigger.component.js +1 -1
  213. package/radio-button/common.js +1 -1
  214. package/radio-button/radio-button-group/radio-button-group.component.js +1 -1
  215. package/radio-button-common-Bw2t3Sxz.js +5 -0
  216. package/radio-button.js +1 -1
  217. package/safety-theme.css +31 -5
  218. package/select/select.component.js +1 -1
  219. package/selection-expansion-panel/selection-expansion-panel.component.js +1 -1
  220. package/sidebar/common.js +1 -1
  221. package/sidebar/icon-sidebar-button/icon-sidebar-button.component.d.ts +4 -1
  222. package/sidebar/icon-sidebar-button/icon-sidebar-button.component.d.ts.map +1 -1
  223. package/sidebar/icon-sidebar-button/icon-sidebar-button.component.js +9 -6
  224. package/sidebar/icon-sidebar-link/icon-sidebar-link.component.d.ts +4 -1
  225. package/sidebar/icon-sidebar-link/icon-sidebar-link.component.d.ts.map +1 -1
  226. package/sidebar/icon-sidebar-link/icon-sidebar-link.component.js +13 -10
  227. package/sidebar/sidebar-container/sidebar-container.component.js +1 -1
  228. package/sidebar.js +1 -1
  229. package/signet/signet.component.js +1 -1
  230. package/slider/slider.component.js +1 -1
  231. package/standard-theme.css +31 -5
  232. package/stepper/step-label/step-label.component.js +1 -1
  233. package/stepper/stepper/stepper.component.js +1 -1
  234. package/tabs/tab/tab.component.d.ts +9 -0
  235. package/tabs/tab/tab.component.d.ts.map +1 -1
  236. package/tabs/tab/tab.component.js +37 -18
  237. package/tabs/tab-group/tab-group.component.d.ts +7 -3
  238. package/tabs/tab-group/tab-group.component.d.ts.map +1 -1
  239. package/tabs/tab-group/tab-group.component.js +51 -52
  240. package/tabs/tab-label/tab-label.component.d.ts.map +1 -1
  241. package/tabs/tab-label/tab-label.component.js +12 -12
  242. package/tag/tag/tag.component.js +4 -4
  243. package/teaser/teaser.component.js +1 -1
  244. package/teaser-hero/teaser-hero.component.js +1 -1
  245. package/teaser-product/common.js +1 -1
  246. package/teaser-product/teaser-product/teaser-product.component.js +1 -1
  247. package/teaser-product-common-Du28QCY3.js +5 -0
  248. package/teaser-product.js +1 -1
  249. package/time-input/time-input.component.js +1 -1
  250. package/timetable-occupancy/timetable-occupancy.component.js +1 -1
  251. package/timetable-occupancy-icon/timetable-occupancy-icon.component.js +1 -1
  252. package/toggle/toggle/toggle.component.js +1 -1
  253. package/toggle-check/toggle-check.component.js +1 -1
  254. package/tooltip/tooltip.component.d.ts +11 -4
  255. package/tooltip/tooltip.component.d.ts.map +1 -1
  256. package/tooltip/tooltip.component.js +60 -84
  257. package/train/train-blocked-passage/train-blocked-passage.component.js +1 -1
  258. package/train/train-formation/train-formation.component.js +1 -1
  259. package/train/train-wagon/train-wagon.component.js +1 -1
  260. package/transparent-button-DJIkG5hj.js +9 -0
  261. package/visual-checkbox/visual-checkbox.component.js +1 -1
  262. package/file-selector-common-D88J9PEh.js +0 -5
  263. package/icon-sidebar-button-common-BeRXvifI.js +0 -7
  264. package/link-common-BBKGg9HN.js +0 -46
  265. package/radio-button-common-Nm9ULjVb.js +0 -5
  266. package/teaser-product-common-DIra6aVg.js +0 -5
  267. package/transparent-button-Bg9fU_iZ.js +0 -9
@@ -1100,6 +1100,37 @@
1100
1100
  }
1101
1101
  ]
1102
1102
  },
1103
+ {
1104
+ "kind": "javascript-module",
1105
+ "path": "mini-calendar.js",
1106
+ "declarations": [],
1107
+ "exports": [
1108
+ {
1109
+ "kind": "js",
1110
+ "name": "*",
1111
+ "declaration": {
1112
+ "name": "*",
1113
+ "module": "mini-calendar/mini-calendar.js"
1114
+ }
1115
+ },
1116
+ {
1117
+ "kind": "js",
1118
+ "name": "*",
1119
+ "declaration": {
1120
+ "name": "*",
1121
+ "module": "mini-calendar/mini-calendar-day.js"
1122
+ }
1123
+ },
1124
+ {
1125
+ "kind": "js",
1126
+ "name": "*",
1127
+ "declaration": {
1128
+ "name": "*",
1129
+ "module": "mini-calendar/mini-calendar-month.js"
1130
+ }
1131
+ }
1132
+ ]
1133
+ },
1103
1134
  {
1104
1135
  "kind": "javascript-module",
1105
1136
  "path": "navigation.js",
@@ -2462,6 +2493,17 @@
2462
2493
  "description": "Whether the user is required to make a selection when they're interacting with the\nautocomplete. If the user moves away from the autocomplete without selecting an option from\nthe list, the value will be reset. If the user opens the panel and closes it without\ninteracting or selecting a value, the initial value will be kept.",
2463
2494
  "attribute": "require-selection"
2464
2495
  },
2496
+ {
2497
+ "kind": "field",
2498
+ "name": "position",
2499
+ "type": {
2500
+ "text": "'auto' | 'above' | 'below'"
2501
+ },
2502
+ "privacy": "public",
2503
+ "default": "'auto'",
2504
+ "description": "The position of the autocomplete panel relative to the trigger.",
2505
+ "attribute": "position"
2506
+ },
2465
2507
  {
2466
2508
  "kind": "field",
2467
2509
  "name": "originElement",
@@ -3228,6 +3270,15 @@
3228
3270
  "description": "Whether the user is required to make a selection when they're interacting with the\nautocomplete. If the user moves away from the autocomplete without selecting an option from\nthe list, the value will be reset. If the user opens the panel and closes it without\ninteracting or selecting a value, the initial value will be kept.",
3229
3271
  "fieldName": "requireSelection"
3230
3272
  },
3273
+ {
3274
+ "name": "position",
3275
+ "type": {
3276
+ "text": "'auto' | 'above' | 'below'"
3277
+ },
3278
+ "default": "'auto'",
3279
+ "description": "The position of the autocomplete panel relative to the trigger.",
3280
+ "fieldName": "position"
3281
+ },
3231
3282
  {
3232
3283
  "name": "negative",
3233
3284
  "type": {
@@ -3688,6 +3739,21 @@
3688
3739
  "module": "autocomplete/autocomplete-base-element.js"
3689
3740
  }
3690
3741
  },
3742
+ {
3743
+ "kind": "field",
3744
+ "name": "position",
3745
+ "type": {
3746
+ "text": "'auto' | 'above' | 'below'"
3747
+ },
3748
+ "privacy": "public",
3749
+ "default": "'auto'",
3750
+ "description": "The position of the autocomplete panel relative to the trigger.",
3751
+ "attribute": "position",
3752
+ "inheritedFrom": {
3753
+ "name": "SbbAutocompleteBaseElement",
3754
+ "module": "autocomplete/autocomplete-base-element.js"
3755
+ }
3756
+ },
3691
3757
  {
3692
3758
  "kind": "field",
3693
3759
  "name": "originElement",
@@ -4445,6 +4511,19 @@
4445
4511
  "name": "SbbAutocompleteBaseElement",
4446
4512
  "module": "autocomplete/autocomplete-base-element.js"
4447
4513
  }
4514
+ },
4515
+ {
4516
+ "name": "position",
4517
+ "type": {
4518
+ "text": "'auto' | 'above' | 'below'"
4519
+ },
4520
+ "default": "'auto'",
4521
+ "description": "The position of the autocomplete panel relative to the trigger.",
4522
+ "fieldName": "position",
4523
+ "inheritedFrom": {
4524
+ "name": "SbbAutocompleteBaseElement",
4525
+ "module": "autocomplete/autocomplete-base-element.js"
4526
+ }
4448
4527
  }
4449
4528
  ],
4450
4529
  "events": [
@@ -5009,7 +5088,7 @@
5009
5088
  "kind": "field",
5010
5089
  "name": "orientation",
5011
5090
  "type": {
5012
- "text": "'horizontal' | 'vertical'"
5091
+ "text": "SbbOrientation"
5013
5092
  },
5014
5093
  "privacy": "public",
5015
5094
  "default": "'horizontal'",
@@ -6830,7 +6909,7 @@
6830
6909
  {
6831
6910
  "name": "orientation",
6832
6911
  "type": {
6833
- "text": "'horizontal' | 'vertical'"
6912
+ "text": "SbbOrientation"
6834
6913
  },
6835
6914
  "default": "'horizontal'",
6836
6915
  "description": "The orientation of days in the calendar.",
@@ -7710,6 +7789,14 @@
7710
7789
  "name": "*",
7711
7790
  "module": "core/controllers/slot-state-controller.js"
7712
7791
  }
7792
+ },
7793
+ {
7794
+ "kind": "js",
7795
+ "name": "*",
7796
+ "declaration": {
7797
+ "name": "*",
7798
+ "module": "core/controllers/overlay-position-controller.js"
7799
+ }
7713
7800
  }
7714
7801
  ]
7715
7802
  },
@@ -12359,6 +12446,51 @@
12359
12446
  }
12360
12447
  ]
12361
12448
  },
12449
+ {
12450
+ "kind": "javascript-module",
12451
+ "path": "mini-calendar/mini-calendar-day.js",
12452
+ "declarations": [],
12453
+ "exports": [
12454
+ {
12455
+ "kind": "js",
12456
+ "name": "*",
12457
+ "declaration": {
12458
+ "name": "*",
12459
+ "module": "mini-calendar/mini-calendar-day/mini-calendar-day.component.js"
12460
+ }
12461
+ }
12462
+ ]
12463
+ },
12464
+ {
12465
+ "kind": "javascript-module",
12466
+ "path": "mini-calendar/mini-calendar-month.js",
12467
+ "declarations": [],
12468
+ "exports": [
12469
+ {
12470
+ "kind": "js",
12471
+ "name": "*",
12472
+ "declaration": {
12473
+ "name": "*",
12474
+ "module": "mini-calendar/mini-calendar-month/mini-calendar-month.component.js"
12475
+ }
12476
+ }
12477
+ ]
12478
+ },
12479
+ {
12480
+ "kind": "javascript-module",
12481
+ "path": "mini-calendar/mini-calendar.js",
12482
+ "declarations": [],
12483
+ "exports": [
12484
+ {
12485
+ "kind": "js",
12486
+ "name": "*",
12487
+ "declaration": {
12488
+ "name": "*",
12489
+ "module": "mini-calendar/mini-calendar/mini-calendar.component.js"
12490
+ }
12491
+ }
12492
+ ]
12493
+ },
12362
12494
  {
12363
12495
  "kind": "javascript-module",
12364
12496
  "path": "navigation/common.js",
@@ -22973,6 +23105,16 @@
22973
23105
  "description": "It displays text content within a tooltip.",
22974
23106
  "name": "SbbTooltipElement",
22975
23107
  "cssProperties": [
23108
+ {
23109
+ "description": "The primary position for the tooltip.",
23110
+ "name": "--sbb-overlay-position-area",
23111
+ "default": "block-end"
23112
+ },
23113
+ {
23114
+ "description": "The list of fallback positions, separated by ',', for the tooltip",
23115
+ "name": "--sbb-overlay-position-try-fallbacks",
23116
+ "default": "block-end span-inline-end, block-end span-inline-start, block-start, block-start span-inline-end, block-start span-inline-start"
23117
+ },
22976
23118
  {
22977
23119
  "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`.",
22978
23120
  "name": "--sbb-tooltip-z-index",
@@ -23014,7 +23156,7 @@
23014
23156
  },
23015
23157
  "privacy": "public",
23016
23158
  "default": "null",
23017
- "description": "The element that will trigger the popover overlay.\n\nFor attribute usage, provide an id reference.",
23159
+ "description": "The element that will trigger the tooltip overlay.\n\nFor attribute usage, provide an id reference.",
23018
23160
  "attribute": "trigger"
23019
23161
  },
23020
23162
  {
@@ -23076,14 +23218,6 @@
23076
23218
  },
23077
23219
  "privacy": "private"
23078
23220
  },
23079
- {
23080
- "kind": "field",
23081
- "name": "overlay",
23082
- "type": {
23083
- "text": "HTMLDivElement | undefined"
23084
- },
23085
- "privacy": "protected"
23086
- },
23087
23221
  {
23088
23222
  "kind": "field",
23089
23223
  "name": "_triggerElement",
@@ -23115,6 +23249,12 @@
23115
23249
  "privacy": "private",
23116
23250
  "default": "new SbbEscapableOverlayController(this)"
23117
23251
  },
23252
+ {
23253
+ "kind": "field",
23254
+ "name": "_overlayController",
23255
+ "privacy": "private",
23256
+ "default": "new SbbOverlayPositionController(this)"
23257
+ },
23118
23258
  {
23119
23259
  "kind": "field",
23120
23260
  "name": "_openTimeout",
@@ -23322,16 +23462,6 @@
23322
23462
  }
23323
23463
  }
23324
23464
  },
23325
- {
23326
- "kind": "method",
23327
- "name": "_setTooltipPosition",
23328
- "privacy": "private",
23329
- "return": {
23330
- "type": {
23331
- "text": "void"
23332
- }
23333
- }
23334
- },
23335
23465
  {
23336
23466
  "kind": "method",
23337
23467
  "name": "_addTriggerEventHandlers",
@@ -23342,16 +23472,6 @@
23342
23472
  }
23343
23473
  }
23344
23474
  },
23345
- {
23346
- "kind": "method",
23347
- "name": "_attachWindowEvents",
23348
- "privacy": "private",
23349
- "return": {
23350
- "type": {
23351
- "text": "void"
23352
- }
23353
- }
23354
- },
23355
23475
  {
23356
23476
  "kind": "method",
23357
23477
  "name": "_isZeroAnimationDuration",
@@ -23566,7 +23686,7 @@
23566
23686
  "text": "HTMLElement | null"
23567
23687
  },
23568
23688
  "default": "null",
23569
- "description": "The element that will trigger the popover overlay.\n\nFor attribute usage, provide an id reference.",
23689
+ "description": "The element that will trigger the tooltip overlay.\n\nFor attribute usage, provide an id reference.",
23570
23690
  "fieldName": "trigger"
23571
23691
  },
23572
23692
  {
@@ -25095,6 +25215,21 @@
25095
25215
  "module": "autocomplete/autocomplete-base-element.js"
25096
25216
  }
25097
25217
  },
25218
+ {
25219
+ "kind": "field",
25220
+ "name": "position",
25221
+ "type": {
25222
+ "text": "'auto' | 'above' | 'below'"
25223
+ },
25224
+ "privacy": "public",
25225
+ "default": "'auto'",
25226
+ "description": "The position of the autocomplete panel relative to the trigger.",
25227
+ "attribute": "position",
25228
+ "inheritedFrom": {
25229
+ "name": "SbbAutocompleteBaseElement",
25230
+ "module": "autocomplete/autocomplete-base-element.js"
25231
+ }
25232
+ },
25098
25233
  {
25099
25234
  "kind": "field",
25100
25235
  "name": "originElement",
@@ -25852,6 +25987,19 @@
25852
25987
  "name": "SbbAutocompleteBaseElement",
25853
25988
  "module": "autocomplete/autocomplete-base-element.js"
25854
25989
  }
25990
+ },
25991
+ {
25992
+ "name": "position",
25993
+ "type": {
25994
+ "text": "'auto' | 'above' | 'below'"
25995
+ },
25996
+ "default": "'auto'",
25997
+ "description": "The position of the autocomplete panel relative to the trigger.",
25998
+ "fieldName": "position",
25999
+ "inheritedFrom": {
26000
+ "name": "SbbAutocompleteBaseElement",
26001
+ "module": "autocomplete/autocomplete-base-element.js"
26002
+ }
25855
26003
  }
25856
26004
  ],
25857
26005
  "events": [
@@ -39190,17 +39338,32 @@
39190
39338
  "privacy": "private",
39191
39339
  "default": "new SbbLanguageController(this)"
39192
39340
  },
39341
+ {
39342
+ "kind": "field",
39343
+ "name": "_observedCarouselItems",
39344
+ "type": {
39345
+ "text": "SbbCarouselItemElement[]"
39346
+ },
39347
+ "privacy": "private",
39348
+ "default": "[]"
39349
+ },
39193
39350
  {
39194
39351
  "kind": "field",
39195
39352
  "name": "_beforeShowObserver",
39196
39353
  "privacy": "private",
39197
- "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%' }, })"
39354
+ "default": "new IntersectionController(this, { target: null, 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%' }, })"
39198
39355
  },
39199
39356
  {
39200
39357
  "kind": "field",
39201
39358
  "name": "_showObserver",
39202
39359
  "privacy": "private",
39203
- "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%' }, })"
39360
+ "default": "new IntersectionController(this, { target: null, 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%' }, })"
39361
+ },
39362
+ {
39363
+ "kind": "field",
39364
+ "name": "_firstVisibleIntersectionController",
39365
+ "privacy": "private",
39366
+ "default": "new IntersectionController(this, { callback: (entries) => { entries.forEach((entry) => { if (entry.intersectionRatio > 0) { this._readDimensions(); this._firstVisibleIntersectionController.unobserve(this); } }); }, config: { root: !isServer ? document?.documentElement : null, }, })"
39204
39367
  },
39205
39368
  {
39206
39369
  "kind": "method",
@@ -39223,6 +39386,17 @@
39223
39386
  }
39224
39387
  }
39225
39388
  },
39389
+ {
39390
+ "kind": "method",
39391
+ "name": "_readDimensions",
39392
+ "privacy": "private",
39393
+ "return": {
39394
+ "type": {
39395
+ "text": "void"
39396
+ }
39397
+ },
39398
+ "description": "Reads the dimensions of the first carousel item and sets the CSS properties accordingly.\nShould set the dimensions only once, when the first item becomes visible and if the value is non-zero."
39399
+ },
39226
39400
  {
39227
39401
  "kind": "method",
39228
39402
  "name": "_onKeyDown",
@@ -46943,7 +47117,7 @@
46943
47117
  "declarations": [
46944
47118
  {
46945
47119
  "kind": "class",
46946
- "description": "",
47120
+ "description": "Handles the stack of overlays and closes the last opened one when pressing Escape.",
46947
47121
  "name": "SbbEscapableOverlayController",
46948
47122
  "members": [
46949
47123
  {
@@ -47679,6 +47853,240 @@
47679
47853
  }
47680
47854
  ]
47681
47855
  },
47856
+ {
47857
+ "kind": "javascript-module",
47858
+ "path": "core/controllers/overlay-position-controller.js",
47859
+ "declarations": [
47860
+ {
47861
+ "kind": "class",
47862
+ "description": "Controller for managing overlays positioning. Also acts as a polyfill when native\nCSS Anchor Positioning is not supported (enough).\nApplies unique anchor names when using native CSS Anchor Positioning\nor calculates and applies correct positions in polyfill mode.\n\nAlso, the controller sets the 'data-overlay-position' attribute on the overlay element.\nThis can be used to apply specific styles based on the current position of the overlay.\n\n### Implementation\nDefine and apply the following CSS variables on the overlay element:\n```scss\n --sbb-overlay-position-area: block-end; // Default\n --sbb-overlay-position-try-fallbacks: block-start, inline-end, inline-start; // Fallbacks\n\n position-area: var(--sbb-overlay-position-area);\n position-try-fallbacks: var(--sbb-overlay-position-try-fallbacks);\n```",
47863
+ "name": "SbbOverlayPositionController",
47864
+ "members": [
47865
+ {
47866
+ "kind": "field",
47867
+ "name": "_resizeObserver",
47868
+ "privacy": "private",
47869
+ "readonly": true
47870
+ },
47871
+ {
47872
+ "kind": "field",
47873
+ "name": "_overlay",
47874
+ "type": {
47875
+ "text": "HTMLElement"
47876
+ },
47877
+ "privacy": "private",
47878
+ "readonly": true
47879
+ },
47880
+ {
47881
+ "kind": "field",
47882
+ "name": "_abortController",
47883
+ "type": {
47884
+ "text": "AbortController | undefined"
47885
+ },
47886
+ "privacy": "private"
47887
+ },
47888
+ {
47889
+ "kind": "field",
47890
+ "name": "_anchor",
47891
+ "type": {
47892
+ "text": "HTMLElement | undefined"
47893
+ },
47894
+ "privacy": "private"
47895
+ },
47896
+ {
47897
+ "kind": "field",
47898
+ "name": "_overlayStyles",
47899
+ "type": {
47900
+ "text": "CSSStyleDeclaration | undefined"
47901
+ },
47902
+ "privacy": "private"
47903
+ },
47904
+ {
47905
+ "kind": "field",
47906
+ "name": "_frame",
47907
+ "type": {
47908
+ "text": "ReturnType<typeof requestAnimationFrame> | undefined"
47909
+ },
47910
+ "privacy": "private"
47911
+ },
47912
+ {
47913
+ "kind": "field",
47914
+ "name": "_anchorName",
47915
+ "privacy": "private",
47916
+ "default": "`--sbb-overlay-anchor-${++nextId}`"
47917
+ },
47918
+ {
47919
+ "kind": "field",
47920
+ "name": "_positions",
47921
+ "type": {
47922
+ "text": "string[]"
47923
+ },
47924
+ "privacy": "private",
47925
+ "default": "[]"
47926
+ },
47927
+ {
47928
+ "kind": "field",
47929
+ "name": "_lastPosition",
47930
+ "type": {
47931
+ "text": "string | undefined"
47932
+ },
47933
+ "privacy": "private"
47934
+ },
47935
+ {
47936
+ "kind": "field",
47937
+ "name": "currentPosition",
47938
+ "type": {
47939
+ "text": "string"
47940
+ },
47941
+ "privacy": "public",
47942
+ "description": "Get the current position. (e.g. block-end, block-start, etc.)",
47943
+ "readonly": true
47944
+ },
47945
+ {
47946
+ "kind": "method",
47947
+ "name": "hostConnected",
47948
+ "privacy": "public",
47949
+ "return": {
47950
+ "type": {
47951
+ "text": "void"
47952
+ }
47953
+ }
47954
+ },
47955
+ {
47956
+ "kind": "method",
47957
+ "name": "hostUpdate",
47958
+ "privacy": "public",
47959
+ "return": {
47960
+ "type": {
47961
+ "text": "void"
47962
+ }
47963
+ }
47964
+ },
47965
+ {
47966
+ "kind": "method",
47967
+ "name": "connect",
47968
+ "privacy": "public",
47969
+ "return": {
47970
+ "type": {
47971
+ "text": "void"
47972
+ }
47973
+ },
47974
+ "parameters": [
47975
+ {
47976
+ "name": "anchor",
47977
+ "type": {
47978
+ "text": "HTMLElement"
47979
+ },
47980
+ "description": "The anchor element."
47981
+ }
47982
+ ],
47983
+ "description": "Connects the overlay to the given trigger element and determines the optimal position.\nUsually, this is called when the overlay is opened."
47984
+ },
47985
+ {
47986
+ "kind": "method",
47987
+ "name": "disconnect",
47988
+ "privacy": "public",
47989
+ "return": {
47990
+ "type": {
47991
+ "text": "void"
47992
+ }
47993
+ }
47994
+ },
47995
+ {
47996
+ "kind": "method",
47997
+ "name": "_requestCalculatePosition",
47998
+ "privacy": "private",
47999
+ "return": {
48000
+ "type": {
48001
+ "text": "void"
48002
+ }
48003
+ }
48004
+ },
48005
+ {
48006
+ "kind": "method",
48007
+ "name": "_calculatePosition",
48008
+ "privacy": "private",
48009
+ "return": {
48010
+ "type": {
48011
+ "text": "void"
48012
+ }
48013
+ }
48014
+ },
48015
+ {
48016
+ "kind": "method",
48017
+ "name": "_getOptimalPosition",
48018
+ "privacy": "private",
48019
+ "return": {
48020
+ "type": {
48021
+ "text": "{\n left: number;\n top: number;\n position: string;\n fits?: boolean;\n }"
48022
+ }
48023
+ },
48024
+ "parameters": [
48025
+ {
48026
+ "name": "positions",
48027
+ "type": {
48028
+ "text": "string[]"
48029
+ },
48030
+ "description": "The list of positions to check."
48031
+ }
48032
+ ],
48033
+ "description": "Calculates the optimal position that fits the overlay."
48034
+ },
48035
+ {
48036
+ "kind": "method",
48037
+ "name": "_applyOverlayPosition",
48038
+ "privacy": "private",
48039
+ "return": {
48040
+ "type": {
48041
+ "text": "void"
48042
+ }
48043
+ },
48044
+ "parameters": [
48045
+ {
48046
+ "name": "position",
48047
+ "type": {
48048
+ "text": "string"
48049
+ }
48050
+ },
48051
+ {
48052
+ "name": "left",
48053
+ "type": {
48054
+ "text": "number"
48055
+ }
48056
+ },
48057
+ {
48058
+ "name": "top",
48059
+ "type": {
48060
+ "text": "number"
48061
+ }
48062
+ }
48063
+ ]
48064
+ },
48065
+ {
48066
+ "kind": "method",
48067
+ "name": "_readPositionsFromCss",
48068
+ "privacy": "private",
48069
+ "return": {
48070
+ "type": {
48071
+ "text": "void"
48072
+ }
48073
+ },
48074
+ "description": "Only used in polyfill mode.\nReads the list of the configured positions from the CSS variables."
48075
+ }
48076
+ ]
48077
+ }
48078
+ ],
48079
+ "exports": [
48080
+ {
48081
+ "kind": "js",
48082
+ "name": "SbbOverlayPositionController",
48083
+ "declaration": {
48084
+ "name": "SbbOverlayPositionController",
48085
+ "module": "core/controllers/overlay-position-controller.js"
48086
+ }
48087
+ }
48088
+ ]
48089
+ },
47682
48090
  {
47683
48091
  "kind": "javascript-module",
47684
48092
  "path": "core/controllers/slot-state-controller.js",
@@ -58493,6 +58901,14 @@
58493
58901
  "text": "HTMLElement"
58494
58902
  },
58495
58903
  "description": "The reference to the component."
58904
+ },
58905
+ {
58906
+ "name": "position",
58907
+ "default": "'auto'",
58908
+ "type": {
58909
+ "text": "'auto' | 'above' | 'below'"
58910
+ },
58911
+ "description": "The allowed position of the overlay relative to the origin."
58496
58912
  }
58497
58913
  ],
58498
58914
  "description": "Places the overlay in the correct position."
@@ -58890,7 +59306,7 @@
58890
59306
  "name": "properties",
58891
59307
  "optional": true,
58892
59308
  "type": {
58893
- "text": "{\n verticalOffset?: number;\n horizontalOffset?: number;\n centered?: boolean;\n responsiveHeight?: boolean;\n }"
59309
+ "text": "{\n verticalOffset?: number;\n horizontalOffset?: number;\n centered?: boolean;\n responsiveHeight?: boolean;\n forceAbove?: boolean;\n forceBelow?: boolean;\n }"
58894
59310
  },
58895
59311
  "description": "Properties to take into account in calculations (optional)."
58896
59312
  },
@@ -83806,203 +84222,1304 @@
83806
84222
  }
83807
84223
  ],
83808
84224
  "inheritedFrom": {
83809
- "name": "SbbActionBaseElement",
83810
- "module": "core/base-elements/action-base-element.js"
83811
- }
83812
- },
83813
- {
83814
- "kind": "field",
83815
- "name": "maybeDisabled",
83816
- "type": {
83817
- "text": "boolean | undefined"
83818
- },
83819
- "privacy": "protected",
83820
- "readonly": true,
83821
- "inheritedFrom": {
83822
- "name": "SbbActionBaseElement",
83823
- "module": "core/base-elements/action-base-element.js"
84225
+ "name": "SbbActionBaseElement",
84226
+ "module": "core/base-elements/action-base-element.js"
84227
+ }
84228
+ },
84229
+ {
84230
+ "kind": "field",
84231
+ "name": "maybeDisabled",
84232
+ "type": {
84233
+ "text": "boolean | undefined"
84234
+ },
84235
+ "privacy": "protected",
84236
+ "readonly": true,
84237
+ "inheritedFrom": {
84238
+ "name": "SbbActionBaseElement",
84239
+ "module": "core/base-elements/action-base-element.js"
84240
+ }
84241
+ },
84242
+ {
84243
+ "kind": "field",
84244
+ "name": "maybeDisabledInteractive",
84245
+ "type": {
84246
+ "text": "boolean | undefined"
84247
+ },
84248
+ "privacy": "protected",
84249
+ "readonly": true,
84250
+ "inheritedFrom": {
84251
+ "name": "SbbActionBaseElement",
84252
+ "module": "core/base-elements/action-base-element.js"
84253
+ }
84254
+ },
84255
+ {
84256
+ "kind": "method",
84257
+ "name": "setupBaseEventHandlers",
84258
+ "privacy": "protected",
84259
+ "return": {
84260
+ "type": {
84261
+ "text": "void"
84262
+ }
84263
+ },
84264
+ "inheritedFrom": {
84265
+ "name": "SbbActionBaseElement",
84266
+ "module": "core/base-elements/action-base-element.js"
84267
+ }
84268
+ }
84269
+ ],
84270
+ "mixins": [
84271
+ {
84272
+ "name": "SbbDisabledInteractiveMixin",
84273
+ "module": "core/mixins.js"
84274
+ },
84275
+ {
84276
+ "name": "SbbMenuActionCommonElementMixin",
84277
+ "module": "menu/common.js"
84278
+ }
84279
+ ],
84280
+ "superclass": {
84281
+ "name": "SbbLinkBaseElement",
84282
+ "module": "core/base-elements.js"
84283
+ },
84284
+ "tagName": "sbb-menu-link",
84285
+ "customElement": true,
84286
+ "attributes": [
84287
+ {
84288
+ "name": "disabled-interactive",
84289
+ "type": {
84290
+ "text": "boolean"
84291
+ },
84292
+ "default": "false",
84293
+ "description": "Whether the button should be aria-disabled but stay interactive.",
84294
+ "fieldName": "disabledInteractive",
84295
+ "inheritedFrom": {
84296
+ "name": "SbbDisabledInteractiveMixin",
84297
+ "module": "core/mixins/disabled-mixin.js"
84298
+ }
84299
+ },
84300
+ {
84301
+ "name": "icon-name",
84302
+ "type": {
84303
+ "text": "string"
84304
+ },
84305
+ "default": "''",
84306
+ "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
84307
+ "fieldName": "iconName",
84308
+ "inheritedFrom": {
84309
+ "name": "SbbIconNameMixin",
84310
+ "module": "icon/icon-name-mixin.js"
84311
+ }
84312
+ },
84313
+ {
84314
+ "name": "disabled",
84315
+ "description": "Whether the component is disabled.",
84316
+ "default": "false",
84317
+ "type": {
84318
+ "text": "boolean"
84319
+ },
84320
+ "fieldName": "disabled",
84321
+ "inheritedFrom": {
84322
+ "name": "SbbDisabledMixin",
84323
+ "module": "core/mixins/disabled-mixin.js"
84324
+ }
84325
+ },
84326
+ {
84327
+ "name": "href",
84328
+ "type": {
84329
+ "text": "string"
84330
+ },
84331
+ "default": "''",
84332
+ "description": "The href value you want to link to.",
84333
+ "fieldName": "href",
84334
+ "inheritedFrom": {
84335
+ "name": "SbbLinkBaseElement",
84336
+ "module": "core/base-elements/link-base-element.js"
84337
+ }
84338
+ },
84339
+ {
84340
+ "name": "target",
84341
+ "type": {
84342
+ "text": "LinkTargetType | string"
84343
+ },
84344
+ "default": "''",
84345
+ "description": "Where to display the linked URL.",
84346
+ "fieldName": "target",
84347
+ "inheritedFrom": {
84348
+ "name": "SbbLinkBaseElement",
84349
+ "module": "core/base-elements/link-base-element.js"
84350
+ }
84351
+ },
84352
+ {
84353
+ "name": "rel",
84354
+ "type": {
84355
+ "text": "string"
84356
+ },
84357
+ "default": "''",
84358
+ "description": "The relationship of the linked URL as space-separated link types.",
84359
+ "fieldName": "rel",
84360
+ "inheritedFrom": {
84361
+ "name": "SbbLinkBaseElement",
84362
+ "module": "core/base-elements/link-base-element.js"
84363
+ }
84364
+ },
84365
+ {
84366
+ "name": "download",
84367
+ "type": {
84368
+ "text": "boolean"
84369
+ },
84370
+ "default": "false",
84371
+ "description": "Whether the browser will show the download dialog on click.",
84372
+ "fieldName": "download",
84373
+ "inheritedFrom": {
84374
+ "name": "SbbLinkBaseElement",
84375
+ "module": "core/base-elements/link-base-element.js"
84376
+ }
84377
+ },
84378
+ {
84379
+ "name": "accessibility-label",
84380
+ "type": {
84381
+ "text": "string"
84382
+ },
84383
+ "default": "''",
84384
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
84385
+ "fieldName": "accessibilityLabel",
84386
+ "inheritedFrom": {
84387
+ "name": "SbbLinkBaseElement",
84388
+ "module": "core/base-elements/link-base-element.js"
84389
+ }
84390
+ },
84391
+ {
84392
+ "name": "accessibility-current",
84393
+ "type": {
84394
+ "text": "string"
84395
+ },
84396
+ "default": "''",
84397
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
84398
+ "fieldName": "accessibilityCurrent",
84399
+ "inheritedFrom": {
84400
+ "name": "SbbLinkBaseElement",
84401
+ "module": "core/base-elements/link-base-element.js"
84402
+ }
84403
+ }
84404
+ ]
84405
+ }
84406
+ ],
84407
+ "exports": [
84408
+ {
84409
+ "kind": "js",
84410
+ "name": "SbbMenuLinkElement",
84411
+ "declaration": {
84412
+ "name": "SbbMenuLinkElement",
84413
+ "module": "menu/menu-link/menu-link.component.js"
84414
+ }
84415
+ },
84416
+ {
84417
+ "kind": "custom-element-definition",
84418
+ "name": "sbb-menu-link",
84419
+ "declaration": {
84420
+ "name": "SbbMenuLinkElement",
84421
+ "module": "menu/menu-link/menu-link.component.js"
84422
+ }
84423
+ }
84424
+ ]
84425
+ },
84426
+ {
84427
+ "kind": "javascript-module",
84428
+ "path": "mini-calendar/mini-calendar/mini-calendar.component.js",
84429
+ "declarations": [
84430
+ {
84431
+ "kind": "class",
84432
+ "description": "It displays a minimal calendar, together with the `sbb-mini-calendar-month` and `sbb-mini-calendar-day`.",
84433
+ "name": "SbbMiniCalendarElement",
84434
+ "slots": [
84435
+ {
84436
+ "description": "Use the unnamed slot to add `sbb-mini-calendar-month` elements.",
84437
+ "name": ""
84438
+ }
84439
+ ],
84440
+ "members": [
84441
+ {
84442
+ "kind": "field",
84443
+ "name": "orientation",
84444
+ "type": {
84445
+ "text": "SbbOrientation"
84446
+ },
84447
+ "privacy": "public",
84448
+ "default": "'horizontal'",
84449
+ "description": "The orientation of days in the calendar.",
84450
+ "attribute": "orientation",
84451
+ "reflects": true
84452
+ },
84453
+ {
84454
+ "kind": "field",
84455
+ "name": "_keydownAbortController",
84456
+ "type": {
84457
+ "text": "AbortController | null"
84458
+ },
84459
+ "privacy": "private",
84460
+ "default": "null"
84461
+ },
84462
+ {
84463
+ "kind": "field",
84464
+ "name": "_dateAdapter",
84465
+ "type": {
84466
+ "text": "DateAdapter<T>"
84467
+ },
84468
+ "privacy": "private"
84469
+ },
84470
+ {
84471
+ "kind": "method",
84472
+ "name": "_getMiniCalendarMonths",
84473
+ "privacy": "private",
84474
+ "return": {
84475
+ "type": {
84476
+ "text": "SbbMiniCalendarMonthElement[]"
84477
+ }
84478
+ }
84479
+ },
84480
+ {
84481
+ "kind": "method",
84482
+ "name": "_getMiniCalendarDays",
84483
+ "privacy": "private",
84484
+ "return": {
84485
+ "type": {
84486
+ "text": "SbbMiniCalendarDayElement[]"
84487
+ }
84488
+ }
84489
+ },
84490
+ {
84491
+ "kind": "method",
84492
+ "name": "_setMonthsShowYear",
84493
+ "privacy": "private",
84494
+ "return": {
84495
+ "type": {
84496
+ "text": "void"
84497
+ }
84498
+ }
84499
+ },
84500
+ {
84501
+ "kind": "method",
84502
+ "name": "_handleKeydownCalendarDay",
84503
+ "privacy": "private",
84504
+ "return": {
84505
+ "type": {
84506
+ "text": "void"
84507
+ }
84508
+ },
84509
+ "parameters": [
84510
+ {
84511
+ "name": "event",
84512
+ "type": {
84513
+ "text": "KeyboardEvent"
84514
+ }
84515
+ }
84516
+ ]
84517
+ },
84518
+ {
84519
+ "kind": "method",
84520
+ "name": "_navigateByKeyboardDayView",
84521
+ "privacy": "private",
84522
+ "return": {
84523
+ "type": {
84524
+ "text": "SbbMiniCalendarDayElement"
84525
+ }
84526
+ },
84527
+ "parameters": [
84528
+ {
84529
+ "name": "days",
84530
+ "type": {
84531
+ "text": "SbbMiniCalendarDayElement[]"
84532
+ }
84533
+ },
84534
+ {
84535
+ "name": "day",
84536
+ "type": {
84537
+ "text": "SbbMiniCalendarDayElement"
84538
+ }
84539
+ },
84540
+ {
84541
+ "name": "event",
84542
+ "type": {
84543
+ "text": "KeyboardEvent"
84544
+ }
84545
+ }
84546
+ ]
84547
+ },
84548
+ {
84549
+ "kind": "method",
84550
+ "name": "_findDayArrowKeys",
84551
+ "privacy": "private",
84552
+ "return": {
84553
+ "type": {
84554
+ "text": "SbbMiniCalendarDayElement"
84555
+ }
84556
+ },
84557
+ "parameters": [
84558
+ {
84559
+ "name": "days",
84560
+ "type": {
84561
+ "text": "SbbMiniCalendarDayElement[]"
84562
+ }
84563
+ },
84564
+ {
84565
+ "name": "day",
84566
+ "type": {
84567
+ "text": "SbbMiniCalendarDayElement"
84568
+ }
84569
+ },
84570
+ {
84571
+ "name": "delta",
84572
+ "type": {
84573
+ "text": "number"
84574
+ }
84575
+ }
84576
+ ]
84577
+ },
84578
+ {
84579
+ "kind": "method",
84580
+ "name": "_findDaySpecialKeys",
84581
+ "privacy": "private",
84582
+ "return": {
84583
+ "type": {
84584
+ "text": "SbbMiniCalendarDayElement"
84585
+ }
84586
+ },
84587
+ "parameters": [
84588
+ {
84589
+ "name": "days",
84590
+ "type": {
84591
+ "text": "SbbMiniCalendarDayElement[]"
84592
+ }
84593
+ },
84594
+ {
84595
+ "name": "day",
84596
+ "type": {
84597
+ "text": "SbbMiniCalendarDayElement"
84598
+ }
84599
+ },
84600
+ {
84601
+ "name": "delta",
84602
+ "type": {
84603
+ "text": "number"
84604
+ }
84605
+ },
84606
+ {
84607
+ "name": "recursiveDelta",
84608
+ "type": {
84609
+ "text": "number"
84610
+ }
84611
+ }
84612
+ ]
84613
+ },
84614
+ {
84615
+ "kind": "method",
84616
+ "name": "_handleSlotchange",
84617
+ "privacy": "private",
84618
+ "return": {
84619
+ "type": {
84620
+ "text": "void"
84621
+ }
84622
+ }
84623
+ },
84624
+ {
84625
+ "kind": "method",
84626
+ "name": "_setupKeydownListener",
84627
+ "privacy": "private",
84628
+ "return": {
84629
+ "type": {
84630
+ "text": "void"
84631
+ }
84632
+ }
84633
+ }
84634
+ ],
84635
+ "attributes": [
84636
+ {
84637
+ "name": "orientation",
84638
+ "type": {
84639
+ "text": "SbbOrientation"
84640
+ },
84641
+ "default": "'horizontal'",
84642
+ "description": "The orientation of days in the calendar.",
84643
+ "fieldName": "orientation"
84644
+ }
84645
+ ],
84646
+ "superclass": {
84647
+ "name": "LitElement",
84648
+ "package": "lit"
84649
+ },
84650
+ "classGenerics": "T = Date",
84651
+ "tagName": "sbb-mini-calendar",
84652
+ "customElement": true
84653
+ }
84654
+ ],
84655
+ "exports": [
84656
+ {
84657
+ "kind": "js",
84658
+ "name": "SbbMiniCalendarElement",
84659
+ "declaration": {
84660
+ "name": "SbbMiniCalendarElement",
84661
+ "module": "mini-calendar/mini-calendar/mini-calendar.component.js"
84662
+ }
84663
+ },
84664
+ {
84665
+ "kind": "custom-element-definition",
84666
+ "name": "sbb-mini-calendar",
84667
+ "declaration": {
84668
+ "name": "SbbMiniCalendarElement",
84669
+ "module": "mini-calendar/mini-calendar/mini-calendar.component.js"
84670
+ }
84671
+ }
84672
+ ]
84673
+ },
84674
+ {
84675
+ "kind": "javascript-module",
84676
+ "path": "mini-calendar/mini-calendar-day/mini-calendar-day.component.js",
84677
+ "declarations": [
84678
+ {
84679
+ "kind": "class",
84680
+ "description": "It displays a day in the `sbb-mini-calendar-month`.",
84681
+ "name": "SbbMiniCalendarDayElement",
84682
+ "members": [
84683
+ {
84684
+ "kind": "field",
84685
+ "name": "_dateAdapter",
84686
+ "type": {
84687
+ "text": "DateAdapter<T>"
84688
+ },
84689
+ "privacy": "private"
84690
+ },
84691
+ {
84692
+ "kind": "field",
84693
+ "name": "date",
84694
+ "type": {
84695
+ "text": "string"
84696
+ },
84697
+ "privacy": "public",
84698
+ "default": "''",
84699
+ "description": "Date as ISO string (YYYY-MM-DD)",
84700
+ "attribute": "date"
84701
+ },
84702
+ {
84703
+ "kind": "field",
84704
+ "name": "marker",
84705
+ "type": {
84706
+ "text": "'target' | 'circle' | 'slash' | 'cross' | string"
84707
+ },
84708
+ "privacy": "public",
84709
+ "default": "''",
84710
+ "description": "The type of the marker.",
84711
+ "attribute": "marker",
84712
+ "reflects": true
84713
+ },
84714
+ {
84715
+ "kind": "field",
84716
+ "name": "color",
84717
+ "type": {
84718
+ "text": "'charcoal' | 'cloud' | 'orange' | 'red' | 'sky' | string"
84719
+ },
84720
+ "privacy": "public",
84721
+ "default": "''",
84722
+ "description": "The color of the marker.",
84723
+ "attribute": "color",
84724
+ "reflects": true
84725
+ },
84726
+ {
84727
+ "kind": "method",
84728
+ "name": "renderTemplate",
84729
+ "privacy": "protected",
84730
+ "return": {
84731
+ "type": {
84732
+ "text": "TemplateResult"
84733
+ }
84734
+ },
84735
+ "description": "Override this method to render the component template.",
84736
+ "inheritedFrom": {
84737
+ "name": "SbbActionBaseElement",
84738
+ "module": "core/base-elements/action-base-element.js"
84739
+ }
84740
+ },
84741
+ {
84742
+ "kind": "field",
84743
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
84744
+ "type": {
84745
+ "text": "array"
84746
+ },
84747
+ "privacy": "private",
84748
+ "readonly": true,
84749
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
84750
+ "inheritedFrom": {
84751
+ "name": "SbbButtonBaseElement",
84752
+ "module": "core/base-elements/button-base-element.js"
84753
+ }
84754
+ },
84755
+ {
84756
+ "kind": "field",
84757
+ "name": "value",
84758
+ "type": {
84759
+ "text": "string"
84760
+ },
84761
+ "privacy": "public",
84762
+ "inheritedFrom": {
84763
+ "name": "SbbButtonBaseElement",
84764
+ "module": "core/base-elements/button-base-element.js"
84765
+ },
84766
+ "default": "''",
84767
+ "description": "Value of the form element.",
84768
+ "attribute": "value"
84769
+ },
84770
+ {
84771
+ "kind": "field",
84772
+ "name": "type",
84773
+ "privacy": "public",
84774
+ "description": "The type attribute to use for the button.",
84775
+ "default": "'button'",
84776
+ "type": {
84777
+ "text": "SbbButtonType"
84778
+ },
84779
+ "attribute": "type",
84780
+ "inheritedFrom": {
84781
+ "name": "SbbButtonBaseElement",
84782
+ "module": "core/base-elements/button-base-element.js"
84783
+ }
84784
+ },
84785
+ {
84786
+ "kind": "field",
84787
+ "name": "form",
84788
+ "type": {
84789
+ "text": "HTMLFormElement | null"
84790
+ },
84791
+ "privacy": "public",
84792
+ "description": "The `<form>` element to associate the button with.",
84793
+ "inheritedFrom": {
84794
+ "name": "SbbButtonBaseElement",
84795
+ "module": "core/base-elements/button-base-element.js"
84796
+ },
84797
+ "attribute": "form"
84798
+ },
84799
+ {
84800
+ "kind": "field",
84801
+ "name": "_formId",
84802
+ "type": {
84803
+ "text": "string"
84804
+ },
84805
+ "privacy": "private",
84806
+ "default": "''",
84807
+ "inheritedFrom": {
84808
+ "name": "SbbButtonBaseElement",
84809
+ "module": "core/base-elements/button-base-element.js"
84810
+ }
84811
+ },
84812
+ {
84813
+ "kind": "field",
84814
+ "name": "_handleButtonClick",
84815
+ "privacy": "private",
84816
+ "inheritedFrom": {
84817
+ "name": "SbbButtonBaseElement",
84818
+ "module": "core/base-elements/button-base-element.js"
84819
+ }
84820
+ },
84821
+ {
84822
+ "kind": "method",
84823
+ "name": "_requestSubmit",
84824
+ "privacy": "private",
84825
+ "return": {
84826
+ "type": {
84827
+ "text": "void"
84828
+ }
84829
+ },
84830
+ "parameters": [
84831
+ {
84832
+ "name": "form",
84833
+ "type": {
84834
+ "text": "HTMLFormElement"
84835
+ }
84836
+ }
84837
+ ],
84838
+ "inheritedFrom": {
84839
+ "name": "SbbButtonBaseElement",
84840
+ "module": "core/base-elements/button-base-element.js"
84841
+ }
84842
+ },
84843
+ {
84844
+ "kind": "field",
84845
+ "name": "_formKeyDown",
84846
+ "privacy": "private",
84847
+ "inheritedFrom": {
84848
+ "name": "SbbButtonBaseElement",
84849
+ "module": "core/base-elements/button-base-element.js"
84850
+ }
84851
+ },
84852
+ {
84853
+ "kind": "field",
84854
+ "name": "formAssociated",
84855
+ "type": {
84856
+ "text": "boolean"
84857
+ },
84858
+ "privacy": "public",
84859
+ "static": true,
84860
+ "default": "true",
84861
+ "inheritedFrom": {
84862
+ "name": "SbbFormAssociatedMixin",
84863
+ "module": "core/mixins/form-associated-mixin.js"
84864
+ }
84865
+ },
84866
+ {
84867
+ "kind": "field",
84868
+ "name": "name",
84869
+ "privacy": "public",
84870
+ "description": "Name of the form element. Will be read from name attribute.",
84871
+ "type": {
84872
+ "text": "string"
84873
+ },
84874
+ "attribute": "name",
84875
+ "inheritedFrom": {
84876
+ "name": "SbbFormAssociatedMixin",
84877
+ "module": "core/mixins/form-associated-mixin.js"
84878
+ }
84879
+ },
84880
+ {
84881
+ "kind": "field",
84882
+ "name": "validity",
84883
+ "type": {
84884
+ "text": "ValidityState"
84885
+ },
84886
+ "privacy": "public",
84887
+ "description": "Returns the ValidityState object for this element.",
84888
+ "readonly": true,
84889
+ "inheritedFrom": {
84890
+ "name": "SbbFormAssociatedMixin",
84891
+ "module": "core/mixins/form-associated-mixin.js"
84892
+ }
84893
+ },
84894
+ {
84895
+ "kind": "field",
84896
+ "name": "validationMessage",
84897
+ "type": {
84898
+ "text": "string"
84899
+ },
84900
+ "privacy": "public",
84901
+ "description": "Returns the current error message, if available, which corresponds\nto the current validation state.\nPlease note that only one message is returned at a time (e.g. if\nmultiple validity states are invalid, only the chronologically first one\nis returned until it is fixed, at which point the next message might be\nreturned, if it is still applicable). Also a custom validity message\n(see below) has precedence over native validation messages.",
84902
+ "readonly": true,
84903
+ "inheritedFrom": {
84904
+ "name": "SbbFormAssociatedMixin",
84905
+ "module": "core/mixins/form-associated-mixin.js"
84906
+ }
84907
+ },
84908
+ {
84909
+ "kind": "field",
84910
+ "name": "willValidate",
84911
+ "type": {
84912
+ "text": "boolean"
84913
+ },
84914
+ "privacy": "public",
84915
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
84916
+ "readonly": true,
84917
+ "inheritedFrom": {
84918
+ "name": "SbbFormAssociatedMixin",
84919
+ "module": "core/mixins/form-associated-mixin.js"
84920
+ }
84921
+ },
84922
+ {
84923
+ "kind": "field",
84924
+ "name": "_validityStates",
84925
+ "privacy": "private",
84926
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
84927
+ "inheritedFrom": {
84928
+ "name": "SbbFormAssociatedMixin",
84929
+ "module": "core/mixins/form-associated-mixin.js"
84930
+ }
84931
+ },
84932
+ {
84933
+ "kind": "field",
84934
+ "name": "formDisabled",
84935
+ "type": {
84936
+ "text": "boolean"
84937
+ },
84938
+ "privacy": "protected",
84939
+ "default": "false",
84940
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
84941
+ "inheritedFrom": {
84942
+ "name": "SbbFormAssociatedMixin",
84943
+ "module": "core/mixins/form-associated-mixin.js"
84944
+ }
84945
+ },
84946
+ {
84947
+ "kind": "method",
84948
+ "name": "checkValidity",
84949
+ "privacy": "public",
84950
+ "return": {
84951
+ "type": {
84952
+ "text": "boolean"
84953
+ }
84954
+ },
84955
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
84956
+ "inheritedFrom": {
84957
+ "name": "SbbFormAssociatedMixin",
84958
+ "module": "core/mixins/form-associated-mixin.js"
84959
+ }
84960
+ },
84961
+ {
84962
+ "kind": "method",
84963
+ "name": "reportValidity",
84964
+ "privacy": "public",
84965
+ "return": {
84966
+ "type": {
84967
+ "text": "boolean"
84968
+ }
84969
+ },
84970
+ "description": "Returns true if this element has no validity problems; otherwise,\nreturns false, fires an invalid event at the element,\nand (if the event isn't canceled) reports the problem to the user.",
84971
+ "inheritedFrom": {
84972
+ "name": "SbbFormAssociatedMixin",
84973
+ "module": "core/mixins/form-associated-mixin.js"
84974
+ }
84975
+ },
84976
+ {
84977
+ "kind": "method",
84978
+ "name": "setCustomValidity",
84979
+ "privacy": "public",
84980
+ "return": {
84981
+ "type": {
84982
+ "text": "void"
84983
+ }
84984
+ },
84985
+ "parameters": [
84986
+ {
84987
+ "name": "message",
84988
+ "type": {
84989
+ "text": "string"
84990
+ }
84991
+ }
84992
+ ],
84993
+ "description": "Sets the custom validity message for this element. Use the empty string\nto indicate that the element does not have a custom validity error.",
84994
+ "inheritedFrom": {
84995
+ "name": "SbbFormAssociatedMixin",
84996
+ "module": "core/mixins/form-associated-mixin.js"
84997
+ }
84998
+ },
84999
+ {
85000
+ "kind": "method",
85001
+ "name": "_hasDisabledAncestor",
85002
+ "privacy": "private",
85003
+ "return": {
85004
+ "type": {
85005
+ "text": "boolean"
85006
+ }
85007
+ },
85008
+ "inheritedFrom": {
85009
+ "name": "SbbFormAssociatedMixin",
85010
+ "module": "core/mixins/form-associated-mixin.js"
85011
+ }
85012
+ },
85013
+ {
85014
+ "kind": "method",
85015
+ "name": "updateFormValue",
85016
+ "privacy": "protected",
85017
+ "return": {
85018
+ "type": {
85019
+ "text": "void"
85020
+ }
85021
+ },
85022
+ "description": "Should be called when form value is changed.\nAdapts and sets the formValue in the supported format (string | FormData | File | null)\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue",
85023
+ "inheritedFrom": {
85024
+ "name": "SbbFormAssociatedMixin",
85025
+ "module": "core/mixins/form-associated-mixin.js"
85026
+ }
85027
+ },
85028
+ {
85029
+ "kind": "method",
85030
+ "name": "formState",
85031
+ "privacy": "protected",
85032
+ "return": {
85033
+ "type": {
85034
+ "text": "FormRestoreState"
85035
+ }
85036
+ },
85037
+ "inheritedFrom": {
85038
+ "name": "SbbFormAssociatedMixin",
85039
+ "module": "core/mixins/form-associated-mixin.js"
85040
+ }
85041
+ },
85042
+ {
85043
+ "kind": "method",
85044
+ "name": "setValidityFlag",
85045
+ "privacy": "protected",
85046
+ "return": {
85047
+ "type": {
85048
+ "text": "void"
85049
+ }
85050
+ },
85051
+ "parameters": [
85052
+ {
85053
+ "name": "flag",
85054
+ "type": {
85055
+ "text": "T"
85056
+ }
85057
+ },
85058
+ {
85059
+ "name": "message",
85060
+ "type": {
85061
+ "text": "string"
85062
+ }
85063
+ },
85064
+ {
85065
+ "name": "flagValue",
85066
+ "optional": true,
85067
+ "type": {
85068
+ "text": "ValidityStateFlags[T]"
85069
+ }
85070
+ }
85071
+ ],
85072
+ "description": "Marks this element as suffering from the constraint indicated by the\nflag argument and associates the given message to it.\nNote that only one message is displayed at a time and custom messages by\nconsumers are always displayed before internal messages and internal\nmessages are displayed in the order they were added.\nTo set/define custom validity state flags, you need to extend the\nValidityState prototype (and the CustomValidityState interface).",
85073
+ "inheritedFrom": {
85074
+ "name": "SbbFormAssociatedMixin",
85075
+ "module": "core/mixins/form-associated-mixin.js"
85076
+ }
85077
+ },
85078
+ {
85079
+ "kind": "method",
85080
+ "name": "removeValidityFlag",
85081
+ "privacy": "protected",
85082
+ "return": {
85083
+ "type": {
85084
+ "text": "void"
85085
+ }
85086
+ },
85087
+ "parameters": [
85088
+ {
85089
+ "name": "flag",
85090
+ "type": {
85091
+ "text": "T"
85092
+ }
85093
+ }
85094
+ ],
85095
+ "description": "Removes the validity state flag entry and updates validity state.",
85096
+ "inheritedFrom": {
85097
+ "name": "SbbFormAssociatedMixin",
85098
+ "module": "core/mixins/form-associated-mixin.js"
85099
+ }
85100
+ },
85101
+ {
85102
+ "kind": "method",
85103
+ "name": "validate",
85104
+ "privacy": "protected",
85105
+ "return": {
85106
+ "type": {
85107
+ "text": "void"
85108
+ }
85109
+ },
85110
+ "description": "To be called whenever the current element needs to be validated.",
85111
+ "inheritedFrom": {
85112
+ "name": "SbbFormAssociatedMixin",
85113
+ "module": "core/mixins/form-associated-mixin.js"
85114
+ }
85115
+ },
85116
+ {
85117
+ "kind": "method",
85118
+ "name": "shouldValidate",
85119
+ "privacy": "protected",
85120
+ "return": {
85121
+ "type": {
85122
+ "text": "boolean"
85123
+ }
85124
+ },
85125
+ "parameters": [
85126
+ {
85127
+ "name": "name",
85128
+ "type": {
85129
+ "text": "PropertyKey | undefined"
85130
+ }
85131
+ }
85132
+ ],
85133
+ "description": "Whether validation should be run on a property change with the given name.",
85134
+ "inheritedFrom": {
85135
+ "name": "SbbFormAssociatedMixin",
85136
+ "module": "core/mixins/form-associated-mixin.js"
85137
+ }
85138
+ },
85139
+ {
85140
+ "kind": "method",
85141
+ "name": "_setInternalValidity",
85142
+ "privacy": "private",
85143
+ "return": {
85144
+ "type": {
85145
+ "text": "void"
85146
+ }
85147
+ },
85148
+ "inheritedFrom": {
85149
+ "name": "SbbFormAssociatedMixin",
85150
+ "module": "core/mixins/form-associated-mixin.js"
85151
+ }
85152
+ },
85153
+ {
85154
+ "kind": "field",
85155
+ "name": "role",
85156
+ "type": {
85157
+ "text": "ElementInternals['role']"
85158
+ },
85159
+ "privacy": "public",
85160
+ "static": true,
85161
+ "readonly": true,
85162
+ "default": "'button'",
85163
+ "inheritedFrom": {
85164
+ "name": "SbbButtonLikeBaseElement",
85165
+ "module": "core/base-elements/button-base-element.js"
85166
+ }
85167
+ },
85168
+ {
85169
+ "kind": "field",
85170
+ "name": "_preventScrollOnSpaceKeydown",
85171
+ "privacy": "private",
85172
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets data-active attribute.",
85173
+ "parameters": [
85174
+ {
85175
+ "description": "The origin event.",
85176
+ "name": "event"
85177
+ }
85178
+ ],
85179
+ "inheritedFrom": {
85180
+ "name": "SbbButtonLikeBaseElement",
85181
+ "module": "core/base-elements/button-base-element.js"
85182
+ }
85183
+ },
85184
+ {
85185
+ "kind": "field",
85186
+ "name": "_removeActiveMarker",
85187
+ "privacy": "private",
85188
+ "inheritedFrom": {
85189
+ "name": "SbbButtonLikeBaseElement",
85190
+ "module": "core/base-elements/button-base-element.js"
85191
+ }
85192
+ },
85193
+ {
85194
+ "kind": "field",
85195
+ "name": "_dispatchClickEventOnSpaceKeyup",
85196
+ "privacy": "private",
85197
+ "description": "Dispatches a 'click' PointerEvent if the original keyboard event is a 'Space' press.\nAs verified with the native button, when 'Space' is pressed, a 'click' event is dispatched\nafter the 'keyup' event.",
85198
+ "parameters": [
85199
+ {
85200
+ "description": "The origin event.",
85201
+ "name": "event"
85202
+ }
85203
+ ],
85204
+ "inheritedFrom": {
85205
+ "name": "SbbButtonLikeBaseElement",
85206
+ "module": "core/base-elements/button-base-element.js"
85207
+ }
85208
+ },
85209
+ {
85210
+ "kind": "field",
85211
+ "name": "_dispatchClickEvent",
85212
+ "privacy": "private",
85213
+ "inheritedFrom": {
85214
+ "name": "SbbButtonLikeBaseElement",
85215
+ "module": "core/base-elements/button-base-element.js"
85216
+ }
85217
+ },
85218
+ {
85219
+ "kind": "method",
85220
+ "name": "toggleState",
85221
+ "privacy": "protected",
85222
+ "return": {
85223
+ "type": {
85224
+ "text": "void"
85225
+ }
85226
+ },
85227
+ "parameters": [
85228
+ {
85229
+ "name": "state",
85230
+ "type": {
85231
+ "text": "string"
85232
+ }
85233
+ },
85234
+ {
85235
+ "name": "force",
85236
+ "optional": true,
85237
+ "type": {
85238
+ "text": "boolean"
85239
+ }
85240
+ }
85241
+ ],
85242
+ "inheritedFrom": {
85243
+ "name": "SbbActionBaseElement",
85244
+ "module": "core/base-elements/action-base-element.js"
85245
+ }
85246
+ },
85247
+ {
85248
+ "kind": "field",
85249
+ "name": "maybeDisabled",
85250
+ "type": {
85251
+ "text": "boolean | undefined"
85252
+ },
85253
+ "privacy": "protected",
85254
+ "readonly": true,
85255
+ "inheritedFrom": {
85256
+ "name": "SbbActionBaseElement",
85257
+ "module": "core/base-elements/action-base-element.js"
85258
+ }
85259
+ },
85260
+ {
85261
+ "kind": "field",
85262
+ "name": "maybeDisabledInteractive",
85263
+ "type": {
85264
+ "text": "boolean | undefined"
85265
+ },
85266
+ "privacy": "protected",
85267
+ "readonly": true,
85268
+ "inheritedFrom": {
85269
+ "name": "SbbActionBaseElement",
85270
+ "module": "core/base-elements/action-base-element.js"
85271
+ }
85272
+ },
85273
+ {
85274
+ "kind": "method",
85275
+ "name": "setupBaseEventHandlers",
85276
+ "privacy": "protected",
85277
+ "return": {
85278
+ "type": {
85279
+ "text": "void"
85280
+ }
85281
+ },
85282
+ "inheritedFrom": {
85283
+ "name": "SbbActionBaseElement",
85284
+ "module": "core/base-elements/action-base-element.js"
85285
+ }
85286
+ }
85287
+ ],
85288
+ "attributes": [
85289
+ {
85290
+ "name": "date",
85291
+ "type": {
85292
+ "text": "string"
85293
+ },
85294
+ "default": "''",
85295
+ "description": "Date as ISO string (YYYY-MM-DD)",
85296
+ "fieldName": "date"
85297
+ },
85298
+ {
85299
+ "name": "marker",
85300
+ "type": {
85301
+ "text": "'target' | 'circle' | 'slash' | 'cross' | string"
85302
+ },
85303
+ "default": "''",
85304
+ "description": "The type of the marker.",
85305
+ "fieldName": "marker"
85306
+ },
85307
+ {
85308
+ "name": "color",
85309
+ "type": {
85310
+ "text": "'charcoal' | 'cloud' | 'orange' | 'red' | 'sky' | string"
85311
+ },
85312
+ "default": "''",
85313
+ "description": "The color of the marker.",
85314
+ "fieldName": "color"
85315
+ },
85316
+ {
85317
+ "name": "value",
85318
+ "type": {
85319
+ "text": "string"
85320
+ },
85321
+ "default": "''",
85322
+ "description": "Value of the form element.",
85323
+ "fieldName": "value",
85324
+ "inheritedFrom": {
85325
+ "name": "SbbButtonBaseElement",
85326
+ "module": "core/base-elements/button-base-element.js"
85327
+ }
85328
+ },
85329
+ {
85330
+ "name": "type",
85331
+ "description": "The type attribute to use for the button.",
85332
+ "default": "'button'",
85333
+ "type": {
85334
+ "text": "SbbButtonType"
85335
+ },
85336
+ "fieldName": "type",
85337
+ "inheritedFrom": {
85338
+ "name": "SbbButtonBaseElement",
85339
+ "module": "core/base-elements/button-base-element.js"
85340
+ }
85341
+ },
85342
+ {
85343
+ "name": "form",
85344
+ "description": "The `<form>` element to associate the button with.",
85345
+ "type": {
85346
+ "text": "HTMLFormElement | null"
85347
+ },
85348
+ "fieldName": "form",
85349
+ "inheritedFrom": {
85350
+ "name": "SbbButtonBaseElement",
85351
+ "module": "core/base-elements/button-base-element.js"
85352
+ }
85353
+ },
85354
+ {
85355
+ "name": "name",
85356
+ "description": "Name of the form element. Will be read from name attribute.",
85357
+ "type": {
85358
+ "text": "string"
85359
+ },
85360
+ "fieldName": "name",
85361
+ "inheritedFrom": {
85362
+ "name": "SbbFormAssociatedMixin",
85363
+ "module": "core/mixins/form-associated-mixin.js"
85364
+ }
85365
+ }
85366
+ ],
85367
+ "superclass": {
85368
+ "name": "SbbButtonBaseElement",
85369
+ "module": "core/base-elements.js"
85370
+ },
85371
+ "classGenerics": "T = Date",
85372
+ "tagName": "sbb-mini-calendar-day",
85373
+ "customElement": true
85374
+ }
85375
+ ],
85376
+ "exports": [
85377
+ {
85378
+ "kind": "js",
85379
+ "name": "SbbMiniCalendarDayElement",
85380
+ "declaration": {
85381
+ "name": "SbbMiniCalendarDayElement",
85382
+ "module": "mini-calendar/mini-calendar-day/mini-calendar-day.component.js"
85383
+ }
85384
+ },
85385
+ {
85386
+ "kind": "custom-element-definition",
85387
+ "name": "sbb-mini-calendar-day",
85388
+ "declaration": {
85389
+ "name": "SbbMiniCalendarDayElement",
85390
+ "module": "mini-calendar/mini-calendar-day/mini-calendar-day.component.js"
85391
+ }
85392
+ }
85393
+ ]
85394
+ },
85395
+ {
85396
+ "kind": "javascript-module",
85397
+ "path": "mini-calendar/mini-calendar-month/mini-calendar-month.component.js",
85398
+ "declarations": [
85399
+ {
85400
+ "kind": "class",
85401
+ "description": "It displays a month in the `sbb-mini-calendar`.",
85402
+ "name": "SbbMiniCalendarMonthElement",
85403
+ "slots": [
85404
+ {
85405
+ "description": "Use the unnamed slot to add `sbb-mini-calendar-day` elements.",
85406
+ "name": ""
85407
+ }
85408
+ ],
85409
+ "members": [
85410
+ {
85411
+ "kind": "field",
85412
+ "name": "date",
85413
+ "type": {
85414
+ "text": "string"
85415
+ },
85416
+ "privacy": "public",
85417
+ "default": "''",
85418
+ "description": "Date as ISO string (YYYY-MM-DD)",
85419
+ "attribute": "date"
85420
+ },
85421
+ {
85422
+ "kind": "field",
85423
+ "name": "_dateAdapter",
85424
+ "type": {
85425
+ "text": "DateAdapter<T>"
85426
+ },
85427
+ "privacy": "private"
85428
+ },
85429
+ {
85430
+ "kind": "field",
85431
+ "name": "_monthNames",
85432
+ "privacy": "private"
85433
+ },
85434
+ {
85435
+ "kind": "field",
85436
+ "name": "_monthLabel",
85437
+ "type": {
85438
+ "text": "string | null"
85439
+ },
85440
+ "privacy": "private",
85441
+ "default": "null"
85442
+ },
85443
+ {
85444
+ "kind": "field",
85445
+ "name": "_yearLabel",
85446
+ "type": {
85447
+ "text": "string | null"
85448
+ },
85449
+ "privacy": "private",
85450
+ "default": "null"
85451
+ },
85452
+ {
85453
+ "kind": "method",
85454
+ "name": "toggleState",
85455
+ "privacy": "protected",
85456
+ "return": {
85457
+ "type": {
85458
+ "text": "void"
85459
+ }
85460
+ },
85461
+ "parameters": [
85462
+ {
85463
+ "name": "state",
85464
+ "type": {
85465
+ "text": "string"
85466
+ }
85467
+ },
85468
+ {
85469
+ "name": "force",
85470
+ "optional": true,
85471
+ "type": {
85472
+ "text": "boolean"
85473
+ }
85474
+ }
85475
+ ],
85476
+ "inheritedFrom": {
85477
+ "name": "SbbElementInternalsMixin",
85478
+ "module": "core/mixins/element-internals-mixin.js"
83824
85479
  }
83825
- },
85480
+ }
85481
+ ],
85482
+ "attributes": [
83826
85483
  {
83827
- "kind": "field",
83828
- "name": "maybeDisabledInteractive",
85484
+ "name": "date",
83829
85485
  "type": {
83830
- "text": "boolean | undefined"
83831
- },
83832
- "privacy": "protected",
83833
- "readonly": true,
83834
- "inheritedFrom": {
83835
- "name": "SbbActionBaseElement",
83836
- "module": "core/base-elements/action-base-element.js"
83837
- }
83838
- },
83839
- {
83840
- "kind": "method",
83841
- "name": "setupBaseEventHandlers",
83842
- "privacy": "protected",
83843
- "return": {
83844
- "type": {
83845
- "text": "void"
83846
- }
85486
+ "text": "string"
83847
85487
  },
83848
- "inheritedFrom": {
83849
- "name": "SbbActionBaseElement",
83850
- "module": "core/base-elements/action-base-element.js"
83851
- }
85488
+ "default": "''",
85489
+ "description": "Date as ISO string (YYYY-MM-DD)",
85490
+ "fieldName": "date"
83852
85491
  }
83853
85492
  ],
83854
85493
  "mixins": [
83855
85494
  {
83856
- "name": "SbbDisabledInteractiveMixin",
85495
+ "name": "SbbElementInternalsMixin",
83857
85496
  "module": "core/mixins.js"
83858
- },
83859
- {
83860
- "name": "SbbMenuActionCommonElementMixin",
83861
- "module": "menu/common.js"
83862
85497
  }
83863
85498
  ],
83864
85499
  "superclass": {
83865
- "name": "SbbLinkBaseElement",
83866
- "module": "core/base-elements.js"
85500
+ "name": "LitElement",
85501
+ "package": "lit"
83867
85502
  },
83868
- "tagName": "sbb-menu-link",
83869
- "customElement": true,
83870
- "attributes": [
83871
- {
83872
- "name": "disabled-interactive",
83873
- "type": {
83874
- "text": "boolean"
83875
- },
83876
- "default": "false",
83877
- "description": "Whether the button should be aria-disabled but stay interactive.",
83878
- "fieldName": "disabledInteractive",
83879
- "inheritedFrom": {
83880
- "name": "SbbDisabledInteractiveMixin",
83881
- "module": "core/mixins/disabled-mixin.js"
83882
- }
83883
- },
83884
- {
83885
- "name": "icon-name",
83886
- "type": {
83887
- "text": "string"
83888
- },
83889
- "default": "''",
83890
- "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
83891
- "fieldName": "iconName",
83892
- "inheritedFrom": {
83893
- "name": "SbbIconNameMixin",
83894
- "module": "icon/icon-name-mixin.js"
83895
- }
83896
- },
83897
- {
83898
- "name": "disabled",
83899
- "description": "Whether the component is disabled.",
83900
- "default": "false",
83901
- "type": {
83902
- "text": "boolean"
83903
- },
83904
- "fieldName": "disabled",
83905
- "inheritedFrom": {
83906
- "name": "SbbDisabledMixin",
83907
- "module": "core/mixins/disabled-mixin.js"
83908
- }
83909
- },
83910
- {
83911
- "name": "href",
83912
- "type": {
83913
- "text": "string"
83914
- },
83915
- "default": "''",
83916
- "description": "The href value you want to link to.",
83917
- "fieldName": "href",
83918
- "inheritedFrom": {
83919
- "name": "SbbLinkBaseElement",
83920
- "module": "core/base-elements/link-base-element.js"
83921
- }
83922
- },
83923
- {
83924
- "name": "target",
83925
- "type": {
83926
- "text": "LinkTargetType | string"
83927
- },
83928
- "default": "''",
83929
- "description": "Where to display the linked URL.",
83930
- "fieldName": "target",
83931
- "inheritedFrom": {
83932
- "name": "SbbLinkBaseElement",
83933
- "module": "core/base-elements/link-base-element.js"
83934
- }
83935
- },
83936
- {
83937
- "name": "rel",
83938
- "type": {
83939
- "text": "string"
83940
- },
83941
- "default": "''",
83942
- "description": "The relationship of the linked URL as space-separated link types.",
83943
- "fieldName": "rel",
83944
- "inheritedFrom": {
83945
- "name": "SbbLinkBaseElement",
83946
- "module": "core/base-elements/link-base-element.js"
83947
- }
83948
- },
83949
- {
83950
- "name": "download",
83951
- "type": {
83952
- "text": "boolean"
83953
- },
83954
- "default": "false",
83955
- "description": "Whether the browser will show the download dialog on click.",
83956
- "fieldName": "download",
83957
- "inheritedFrom": {
83958
- "name": "SbbLinkBaseElement",
83959
- "module": "core/base-elements/link-base-element.js"
83960
- }
83961
- },
83962
- {
83963
- "name": "accessibility-label",
83964
- "type": {
83965
- "text": "string"
83966
- },
83967
- "default": "''",
83968
- "description": "This will be forwarded as aria-label to the inner anchor element.",
83969
- "fieldName": "accessibilityLabel",
83970
- "inheritedFrom": {
83971
- "name": "SbbLinkBaseElement",
83972
- "module": "core/base-elements/link-base-element.js"
83973
- }
83974
- },
83975
- {
83976
- "name": "accessibility-current",
83977
- "type": {
83978
- "text": "string"
83979
- },
83980
- "default": "''",
83981
- "description": "This will be forwarded as aria-current to the inner anchor element.",
83982
- "fieldName": "accessibilityCurrent",
83983
- "inheritedFrom": {
83984
- "name": "SbbLinkBaseElement",
83985
- "module": "core/base-elements/link-base-element.js"
83986
- }
83987
- }
83988
- ]
85503
+ "classGenerics": "T = Date",
85504
+ "tagName": "sbb-mini-calendar-month",
85505
+ "customElement": true
83989
85506
  }
83990
85507
  ],
83991
85508
  "exports": [
83992
85509
  {
83993
85510
  "kind": "js",
83994
- "name": "SbbMenuLinkElement",
85511
+ "name": "SbbMiniCalendarMonthElement",
83995
85512
  "declaration": {
83996
- "name": "SbbMenuLinkElement",
83997
- "module": "menu/menu-link/menu-link.component.js"
85513
+ "name": "SbbMiniCalendarMonthElement",
85514
+ "module": "mini-calendar/mini-calendar-month/mini-calendar-month.component.js"
83998
85515
  }
83999
85516
  },
84000
85517
  {
84001
85518
  "kind": "custom-element-definition",
84002
- "name": "sbb-menu-link",
85519
+ "name": "sbb-mini-calendar-month",
84003
85520
  "declaration": {
84004
- "name": "SbbMenuLinkElement",
84005
- "module": "menu/menu-link/menu-link.component.js"
85521
+ "name": "SbbMiniCalendarMonthElement",
85522
+ "module": "mini-calendar/mini-calendar-month/mini-calendar-month.component.js"
84006
85523
  }
84007
85524
  }
84008
85525
  ]
@@ -89256,6 +90773,24 @@
89256
90773
  },
89257
90774
  "privacy": "protected"
89258
90775
  },
90776
+ {
90777
+ "kind": "method",
90778
+ "name": "changeAndEmitPage",
90779
+ "privacy": "protected",
90780
+ "return": {
90781
+ "type": {
90782
+ "text": "void"
90783
+ }
90784
+ },
90785
+ "parameters": [
90786
+ {
90787
+ "name": "pageIndex",
90788
+ "type": {
90789
+ "text": "number"
90790
+ }
90791
+ }
90792
+ ]
90793
+ },
89259
90794
  {
89260
90795
  "kind": "method",
89261
90796
  "name": "emitPageEvent",
@@ -89271,6 +90806,13 @@
89271
90806
  "type": {
89272
90807
  "text": "number"
89273
90808
  }
90809
+ },
90810
+ {
90811
+ "name": "pageIndex",
90812
+ "optional": true,
90813
+ "type": {
90814
+ "text": "number"
90815
+ }
89274
90816
  }
89275
90817
  ]
89276
90818
  },
@@ -89446,74 +90988,39 @@
89446
90988
  "static": true,
89447
90989
  "default": "'group'"
89448
90990
  },
89449
- {
89450
- "kind": "field",
89451
- "name": "events",
89452
- "type": {
89453
- "text": "{\n page: 'page',\n }"
89454
- },
89455
- "privacy": "public",
89456
- "static": true,
89457
- "readonly": true,
89458
- "default": "{ page: 'page', }"
89459
- },
89460
90991
  {
89461
90992
  "kind": "field",
89462
90993
  "name": "length",
89463
- "privacy": "public",
89464
- "description": "Total number of items.",
89465
90994
  "type": {
89466
90995
  "text": "number"
89467
90996
  },
90997
+ "privacy": "public",
90998
+ "default": "0",
90999
+ "description": "Total number of items.",
89468
91000
  "attribute": "length"
89469
91001
  },
89470
91002
  {
89471
91003
  "kind": "field",
89472
- "name": "_length",
91004
+ "name": "pageSize",
89473
91005
  "type": {
89474
91006
  "text": "number"
89475
91007
  },
89476
- "privacy": "private",
89477
- "default": "0"
89478
- },
89479
- {
89480
- "kind": "field",
89481
- "name": "pageSize",
89482
91008
  "privacy": "public",
91009
+ "default": "10",
89483
91010
  "description": "Number of items per page.",
89484
- "type": {
89485
- "text": "number"
89486
- },
89487
91011
  "attribute": "page-size"
89488
91012
  },
89489
91013
  {
89490
91014
  "kind": "field",
89491
- "name": "_pageSize",
91015
+ "name": "pageIndex",
89492
91016
  "type": {
89493
91017
  "text": "number"
89494
91018
  },
89495
- "privacy": "private",
89496
- "default": "10"
89497
- },
89498
- {
89499
- "kind": "field",
89500
- "name": "pageIndex",
89501
91019
  "privacy": "public",
91020
+ "default": "0",
89502
91021
  "description": "Current page index.",
89503
- "type": {
89504
- "text": "number"
89505
- },
89506
91022
  "attribute": "page-index"
89507
91023
  },
89508
- {
89509
- "kind": "field",
89510
- "name": "_pageIndex",
89511
- "type": {
89512
- "text": "number"
89513
- },
89514
- "privacy": "private",
89515
- "default": "0"
89516
- },
89517
91024
  {
89518
91025
  "kind": "field",
89519
91026
  "name": "pagerPosition",
@@ -89577,14 +91084,6 @@
89577
91084
  "privacy": "protected",
89578
91085
  "default": "new SbbLanguageController(this)"
89579
91086
  },
89580
- {
89581
- "kind": "field",
89582
- "name": "_previousPageSize",
89583
- "type": {
89584
- "text": "number"
89585
- },
89586
- "privacy": "private"
89587
- },
89588
91087
  {
89589
91088
  "kind": "method",
89590
91089
  "name": "renderPaginator",
@@ -89624,6 +91123,24 @@
89624
91123
  }
89625
91124
  }
89626
91125
  },
91126
+ {
91127
+ "kind": "method",
91128
+ "name": "changeAndEmitPage",
91129
+ "privacy": "protected",
91130
+ "return": {
91131
+ "type": {
91132
+ "text": "void"
91133
+ }
91134
+ },
91135
+ "parameters": [
91136
+ {
91137
+ "name": "pageIndex",
91138
+ "type": {
91139
+ "text": "number"
91140
+ }
91141
+ }
91142
+ ]
91143
+ },
89627
91144
  {
89628
91145
  "kind": "method",
89629
91146
  "name": "nextPage",
@@ -89729,6 +91246,31 @@
89729
91246
  "text": "void"
89730
91247
  }
89731
91248
  },
91249
+ "parameters": [
91250
+ {
91251
+ "name": "previousPageIndex",
91252
+ "type": {
91253
+ "text": "number"
91254
+ }
91255
+ },
91256
+ {
91257
+ "name": "pageIndex",
91258
+ "optional": true,
91259
+ "type": {
91260
+ "text": "number"
91261
+ }
91262
+ }
91263
+ ]
91264
+ },
91265
+ {
91266
+ "kind": "method",
91267
+ "name": "_emitPrivatePageEvent",
91268
+ "privacy": "private",
91269
+ "return": {
91270
+ "type": {
91271
+ "text": "void"
91272
+ }
91273
+ },
89732
91274
  "parameters": [
89733
91275
  {
89734
91276
  "name": "previousPageIndex",
@@ -89844,32 +91386,35 @@
89844
91386
  "type": {
89845
91387
  "text": "CustomEvent<SbbPaginatorPageEventDetails>"
89846
91388
  },
89847
- "description": "The page event is dispatched when the page index changes."
91389
+ "description": "The page event is dispatched whenever the user changes the page."
89848
91390
  }
89849
91391
  ],
89850
91392
  "attributes": [
89851
91393
  {
89852
91394
  "name": "length",
89853
- "description": "Total number of items.",
89854
91395
  "type": {
89855
91396
  "text": "number"
89856
91397
  },
91398
+ "default": "0",
91399
+ "description": "Total number of items.",
89857
91400
  "fieldName": "length"
89858
91401
  },
89859
91402
  {
89860
91403
  "name": "page-size",
89861
- "description": "Number of items per page.",
89862
91404
  "type": {
89863
91405
  "text": "number"
89864
91406
  },
91407
+ "default": "10",
91408
+ "description": "Number of items per page.",
89865
91409
  "fieldName": "pageSize"
89866
91410
  },
89867
91411
  {
89868
91412
  "name": "page-index",
89869
- "description": "Current page index.",
89870
91413
  "type": {
89871
91414
  "text": "number"
89872
91415
  },
91416
+ "default": "0",
91417
+ "description": "Current page index.",
89873
91418
  "fieldName": "pageIndex"
89874
91419
  },
89875
91420
  {
@@ -90000,16 +91545,12 @@
90000
91545
  "kind": "field",
90001
91546
  "name": "events",
90002
91547
  "type": {
90003
- "text": "{\n page: 'page',\n }"
91548
+ "text": "{\n page: 'page',\n ɵpage: 'ɵpage',\n }"
90004
91549
  },
90005
91550
  "privacy": "public",
90006
91551
  "static": true,
90007
91552
  "readonly": true,
90008
- "default": "{ page: 'page', }",
90009
- "inheritedFrom": {
90010
- "name": "SbbPaginatorCommonElementMixin",
90011
- "module": "paginator/common/paginator-common.js"
90012
- }
91553
+ "default": "{ page: 'page', ɵpage: 'ɵpage', }"
90013
91554
  },
90014
91555
  {
90015
91556
  "kind": "method",
@@ -90052,26 +91593,13 @@
90052
91593
  {
90053
91594
  "kind": "field",
90054
91595
  "name": "length",
90055
- "privacy": "public",
90056
- "description": "Total number of items.",
90057
91596
  "type": {
90058
91597
  "text": "number"
90059
91598
  },
90060
- "attribute": "length",
90061
- "inheritedFrom": {
90062
- "name": "SbbPaginatorCommonElementMixin",
90063
- "module": "paginator/common/paginator-common.js"
90064
- },
90065
- "default": "0"
90066
- },
90067
- {
90068
- "kind": "field",
90069
- "name": "_length",
90070
- "type": {
90071
- "text": "number"
90072
- },
90073
- "privacy": "private",
91599
+ "privacy": "public",
90074
91600
  "default": "0",
91601
+ "description": "Total number of items.",
91602
+ "attribute": "length",
90075
91603
  "inheritedFrom": {
90076
91604
  "name": "SbbPaginatorCommonElementMixin",
90077
91605
  "module": "paginator/common/paginator-common.js"
@@ -90080,26 +91608,13 @@
90080
91608
  {
90081
91609
  "kind": "field",
90082
91610
  "name": "pageSize",
90083
- "privacy": "public",
90084
- "description": "Number of items per page.",
90085
- "type": {
90086
- "text": "number"
90087
- },
90088
- "attribute": "page-size",
90089
- "inheritedFrom": {
90090
- "name": "SbbPaginatorCommonElementMixin",
90091
- "module": "paginator/common/paginator-common.js"
90092
- },
90093
- "default": "10"
90094
- },
90095
- {
90096
- "kind": "field",
90097
- "name": "_pageSize",
90098
91611
  "type": {
90099
91612
  "text": "number"
90100
91613
  },
90101
- "privacy": "private",
91614
+ "privacy": "public",
90102
91615
  "default": "10",
91616
+ "description": "Number of items per page.",
91617
+ "attribute": "page-size",
90103
91618
  "inheritedFrom": {
90104
91619
  "name": "SbbPaginatorCommonElementMixin",
90105
91620
  "module": "paginator/common/paginator-common.js"
@@ -90108,26 +91623,13 @@
90108
91623
  {
90109
91624
  "kind": "field",
90110
91625
  "name": "pageIndex",
90111
- "privacy": "public",
90112
- "description": "Current page index.",
90113
91626
  "type": {
90114
91627
  "text": "number"
90115
91628
  },
90116
- "attribute": "page-index",
90117
- "inheritedFrom": {
90118
- "name": "SbbPaginatorCommonElementMixin",
90119
- "module": "paginator/common/paginator-common.js"
90120
- },
90121
- "default": "0"
90122
- },
90123
- {
90124
- "kind": "field",
90125
- "name": "_pageIndex",
90126
- "type": {
90127
- "text": "number"
90128
- },
90129
- "privacy": "private",
91629
+ "privacy": "public",
90130
91630
  "default": "0",
91631
+ "description": "Current page index.",
91632
+ "attribute": "page-index",
90131
91633
  "inheritedFrom": {
90132
91634
  "name": "SbbPaginatorCommonElementMixin",
90133
91635
  "module": "paginator/common/paginator-common.js"
@@ -90220,18 +91722,6 @@
90220
91722
  "module": "paginator/common/paginator-common.js"
90221
91723
  }
90222
91724
  },
90223
- {
90224
- "kind": "field",
90225
- "name": "_previousPageSize",
90226
- "type": {
90227
- "text": "number"
90228
- },
90229
- "privacy": "private",
90230
- "inheritedFrom": {
90231
- "name": "SbbPaginatorCommonElementMixin",
90232
- "module": "paginator/common/paginator-common.js"
90233
- }
90234
- },
90235
91725
  {
90236
91726
  "kind": "method",
90237
91727
  "name": "_coercePageIndexInRange",
@@ -90269,6 +91759,28 @@
90269
91759
  "module": "paginator/common/paginator-common.js"
90270
91760
  }
90271
91761
  },
91762
+ {
91763
+ "kind": "method",
91764
+ "name": "changeAndEmitPage",
91765
+ "privacy": "protected",
91766
+ "return": {
91767
+ "type": {
91768
+ "text": "void"
91769
+ }
91770
+ },
91771
+ "parameters": [
91772
+ {
91773
+ "name": "pageIndex",
91774
+ "type": {
91775
+ "text": "number"
91776
+ }
91777
+ }
91778
+ ],
91779
+ "inheritedFrom": {
91780
+ "name": "SbbPaginatorCommonElementMixin",
91781
+ "module": "paginator/common/paginator-common.js"
91782
+ }
91783
+ },
90272
91784
  {
90273
91785
  "kind": "method",
90274
91786
  "name": "nextPage",
@@ -90406,6 +91918,35 @@
90406
91918
  "text": "void"
90407
91919
  }
90408
91920
  },
91921
+ "parameters": [
91922
+ {
91923
+ "name": "previousPageIndex",
91924
+ "type": {
91925
+ "text": "number"
91926
+ }
91927
+ },
91928
+ {
91929
+ "name": "pageIndex",
91930
+ "optional": true,
91931
+ "type": {
91932
+ "text": "number"
91933
+ }
91934
+ }
91935
+ ],
91936
+ "inheritedFrom": {
91937
+ "name": "SbbPaginatorCommonElementMixin",
91938
+ "module": "paginator/common/paginator-common.js"
91939
+ }
91940
+ },
91941
+ {
91942
+ "kind": "method",
91943
+ "name": "_emitPrivatePageEvent",
91944
+ "privacy": "private",
91945
+ "return": {
91946
+ "type": {
91947
+ "text": "void"
91948
+ }
91949
+ },
90409
91950
  "parameters": [
90410
91951
  {
90411
91952
  "name": "previousPageIndex",
@@ -90538,10 +92079,11 @@
90538
92079
  "attributes": [
90539
92080
  {
90540
92081
  "name": "length",
90541
- "description": "Total number of items.",
90542
92082
  "type": {
90543
92083
  "text": "number"
90544
92084
  },
92085
+ "default": "0",
92086
+ "description": "Total number of items.",
90545
92087
  "fieldName": "length",
90546
92088
  "inheritedFrom": {
90547
92089
  "name": "SbbPaginatorCommonElementMixin",
@@ -90550,10 +92092,11 @@
90550
92092
  },
90551
92093
  {
90552
92094
  "name": "page-size",
90553
- "description": "Number of items per page.",
90554
92095
  "type": {
90555
92096
  "text": "number"
90556
92097
  },
92098
+ "default": "10",
92099
+ "description": "Number of items per page.",
90557
92100
  "fieldName": "pageSize",
90558
92101
  "inheritedFrom": {
90559
92102
  "name": "SbbPaginatorCommonElementMixin",
@@ -90562,10 +92105,11 @@
90562
92105
  },
90563
92106
  {
90564
92107
  "name": "page-index",
90565
- "description": "Current page index.",
90566
92108
  "type": {
90567
92109
  "text": "number"
90568
92110
  },
92111
+ "default": "0",
92112
+ "description": "Current page index.",
90569
92113
  "fieldName": "pageIndex",
90570
92114
  "inheritedFrom": {
90571
92115
  "name": "SbbPaginatorCommonElementMixin",
@@ -90670,7 +92214,7 @@
90670
92214
  "type": {
90671
92215
  "text": "CustomEvent<SbbPaginatorPageEventDetails>"
90672
92216
  },
90673
- "description": "The page event is dispatched when the page index changes.",
92217
+ "description": "The page event is dispatched whenever the user changes the page.",
90674
92218
  "inheritedFrom": {
90675
92219
  "name": "SbbPaginatorCommonElementMixin",
90676
92220
  "module": "paginator/common/paginator-common.js"
@@ -90711,16 +92255,12 @@
90711
92255
  "kind": "field",
90712
92256
  "name": "events",
90713
92257
  "type": {
90714
- "text": "{\n page: 'page',\n }"
92258
+ "text": "{\n page: 'page',\n ɵpage: 'ɵpage',\n }"
90715
92259
  },
90716
92260
  "privacy": "public",
90717
92261
  "static": true,
90718
92262
  "readonly": true,
90719
- "default": "{ page: 'page', }",
90720
- "inheritedFrom": {
90721
- "name": "SbbPaginatorCommonElementMixin",
90722
- "module": "paginator/common/paginator-common.js"
90723
- }
92263
+ "default": "{ page: 'page', ɵpage: 'ɵpage', }"
90724
92264
  },
90725
92265
  {
90726
92266
  "kind": "field",
@@ -90835,6 +92375,25 @@
90835
92375
  }
90836
92376
  ]
90837
92377
  },
92378
+ {
92379
+ "kind": "method",
92380
+ "name": "_setPageSizeFromSizeOptionsSelect",
92381
+ "privacy": "private",
92382
+ "return": {
92383
+ "type": {
92384
+ "text": "void"
92385
+ }
92386
+ },
92387
+ "parameters": [
92388
+ {
92389
+ "name": "value",
92390
+ "type": {
92391
+ "text": "number"
92392
+ }
92393
+ }
92394
+ ],
92395
+ "description": "A `pageSize` change would trigger a `pageIndex` change via `willUpdate`;\nthis triggers a `ɵpage` event, but it's late for the `page` event,\nso the checks on the `pageIndex` changes are done here, and possibly the event is emitted."
92396
+ },
90838
92397
  {
90839
92398
  "kind": "method",
90840
92399
  "name": "_renderItemPerPageTemplate",
@@ -90886,26 +92445,13 @@
90886
92445
  {
90887
92446
  "kind": "field",
90888
92447
  "name": "length",
90889
- "privacy": "public",
90890
- "description": "Total number of items.",
90891
- "type": {
90892
- "text": "number"
90893
- },
90894
- "attribute": "length",
90895
- "inheritedFrom": {
90896
- "name": "SbbPaginatorCommonElementMixin",
90897
- "module": "paginator/common/paginator-common.js"
90898
- },
90899
- "default": "0"
90900
- },
90901
- {
90902
- "kind": "field",
90903
- "name": "_length",
90904
92448
  "type": {
90905
92449
  "text": "number"
90906
92450
  },
90907
- "privacy": "private",
92451
+ "privacy": "public",
90908
92452
  "default": "0",
92453
+ "description": "Total number of items.",
92454
+ "attribute": "length",
90909
92455
  "inheritedFrom": {
90910
92456
  "name": "SbbPaginatorCommonElementMixin",
90911
92457
  "module": "paginator/common/paginator-common.js"
@@ -90914,26 +92460,13 @@
90914
92460
  {
90915
92461
  "kind": "field",
90916
92462
  "name": "pageSize",
90917
- "privacy": "public",
90918
- "description": "Number of items per page.",
90919
92463
  "type": {
90920
92464
  "text": "number"
90921
92465
  },
90922
- "attribute": "page-size",
90923
- "inheritedFrom": {
90924
- "name": "SbbPaginatorCommonElementMixin",
90925
- "module": "paginator/common/paginator-common.js"
90926
- },
90927
- "default": "10"
90928
- },
90929
- {
90930
- "kind": "field",
90931
- "name": "_pageSize",
90932
- "type": {
90933
- "text": "number"
90934
- },
90935
- "privacy": "private",
92466
+ "privacy": "public",
90936
92467
  "default": "10",
92468
+ "description": "Number of items per page.",
92469
+ "attribute": "page-size",
90937
92470
  "inheritedFrom": {
90938
92471
  "name": "SbbPaginatorCommonElementMixin",
90939
92472
  "module": "paginator/common/paginator-common.js"
@@ -90942,26 +92475,13 @@
90942
92475
  {
90943
92476
  "kind": "field",
90944
92477
  "name": "pageIndex",
90945
- "privacy": "public",
90946
- "description": "Current page index.",
90947
92478
  "type": {
90948
92479
  "text": "number"
90949
92480
  },
90950
- "attribute": "page-index",
90951
- "inheritedFrom": {
90952
- "name": "SbbPaginatorCommonElementMixin",
90953
- "module": "paginator/common/paginator-common.js"
90954
- },
90955
- "default": "0"
90956
- },
90957
- {
90958
- "kind": "field",
90959
- "name": "_pageIndex",
90960
- "type": {
90961
- "text": "number"
90962
- },
90963
- "privacy": "private",
92481
+ "privacy": "public",
90964
92482
  "default": "0",
92483
+ "description": "Current page index.",
92484
+ "attribute": "page-index",
90965
92485
  "inheritedFrom": {
90966
92486
  "name": "SbbPaginatorCommonElementMixin",
90967
92487
  "module": "paginator/common/paginator-common.js"
@@ -91038,18 +92558,6 @@
91038
92558
  "module": "paginator/common/paginator-common.js"
91039
92559
  }
91040
92560
  },
91041
- {
91042
- "kind": "field",
91043
- "name": "_previousPageSize",
91044
- "type": {
91045
- "text": "number"
91046
- },
91047
- "privacy": "private",
91048
- "inheritedFrom": {
91049
- "name": "SbbPaginatorCommonElementMixin",
91050
- "module": "paginator/common/paginator-common.js"
91051
- }
91052
- },
91053
92561
  {
91054
92562
  "kind": "method",
91055
92563
  "name": "_coercePageIndexInRange",
@@ -91087,6 +92595,28 @@
91087
92595
  "module": "paginator/common/paginator-common.js"
91088
92596
  }
91089
92597
  },
92598
+ {
92599
+ "kind": "method",
92600
+ "name": "changeAndEmitPage",
92601
+ "privacy": "protected",
92602
+ "return": {
92603
+ "type": {
92604
+ "text": "void"
92605
+ }
92606
+ },
92607
+ "parameters": [
92608
+ {
92609
+ "name": "pageIndex",
92610
+ "type": {
92611
+ "text": "number"
92612
+ }
92613
+ }
92614
+ ],
92615
+ "inheritedFrom": {
92616
+ "name": "SbbPaginatorCommonElementMixin",
92617
+ "module": "paginator/common/paginator-common.js"
92618
+ }
92619
+ },
91090
92620
  {
91091
92621
  "kind": "method",
91092
92622
  "name": "nextPage",
@@ -91224,6 +92754,35 @@
91224
92754
  "text": "void"
91225
92755
  }
91226
92756
  },
92757
+ "parameters": [
92758
+ {
92759
+ "name": "previousPageIndex",
92760
+ "type": {
92761
+ "text": "number"
92762
+ }
92763
+ },
92764
+ {
92765
+ "name": "pageIndex",
92766
+ "optional": true,
92767
+ "type": {
92768
+ "text": "number"
92769
+ }
92770
+ }
92771
+ ],
92772
+ "inheritedFrom": {
92773
+ "name": "SbbPaginatorCommonElementMixin",
92774
+ "module": "paginator/common/paginator-common.js"
92775
+ }
92776
+ },
92777
+ {
92778
+ "kind": "method",
92779
+ "name": "_emitPrivatePageEvent",
92780
+ "privacy": "private",
92781
+ "return": {
92782
+ "type": {
92783
+ "text": "void"
92784
+ }
92785
+ },
91227
92786
  "parameters": [
91228
92787
  {
91229
92788
  "name": "previousPageIndex",
@@ -91375,10 +92934,11 @@
91375
92934
  },
91376
92935
  {
91377
92936
  "name": "length",
91378
- "description": "Total number of items.",
91379
92937
  "type": {
91380
92938
  "text": "number"
91381
92939
  },
92940
+ "default": "0",
92941
+ "description": "Total number of items.",
91382
92942
  "fieldName": "length",
91383
92943
  "inheritedFrom": {
91384
92944
  "name": "SbbPaginatorCommonElementMixin",
@@ -91387,10 +92947,11 @@
91387
92947
  },
91388
92948
  {
91389
92949
  "name": "page-size",
91390
- "description": "Number of items per page.",
91391
92950
  "type": {
91392
92951
  "text": "number"
91393
92952
  },
92953
+ "default": "10",
92954
+ "description": "Number of items per page.",
91394
92955
  "fieldName": "pageSize",
91395
92956
  "inheritedFrom": {
91396
92957
  "name": "SbbPaginatorCommonElementMixin",
@@ -91399,10 +92960,11 @@
91399
92960
  },
91400
92961
  {
91401
92962
  "name": "page-index",
91402
- "description": "Current page index.",
91403
92963
  "type": {
91404
92964
  "text": "number"
91405
92965
  },
92966
+ "default": "0",
92967
+ "description": "Current page index.",
91406
92968
  "fieldName": "pageIndex",
91407
92969
  "inheritedFrom": {
91408
92970
  "name": "SbbPaginatorCommonElementMixin",
@@ -91506,7 +93068,7 @@
91506
93068
  "type": {
91507
93069
  "text": "CustomEvent<SbbPaginatorPageEventDetails>"
91508
93070
  },
91509
- "description": "The page event is dispatched when the page index changes.",
93071
+ "description": "The page event is dispatched whenever the user changes the page.",
91510
93072
  "inheritedFrom": {
91511
93073
  "name": "SbbPaginatorCommonElementMixin",
91512
93074
  "module": "paginator/common/paginator-common.js"
@@ -103102,6 +104664,12 @@
103102
104664
  "text": "{\n active: 'active',\n }"
103103
104665
  }
103104
104666
  },
104667
+ {
104668
+ "kind": "field",
104669
+ "name": "_tabContentResizeObserver",
104670
+ "privacy": "private",
104671
+ "default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => this._onTabContentElementResize(), })"
104672
+ },
103105
104673
  {
103106
104674
  "kind": "field",
103107
104675
  "name": "label",
@@ -103112,6 +104680,26 @@
103112
104680
  "description": "The `sbb-tab-label` associated with the tab.",
103113
104681
  "readonly": true
103114
104682
  },
104683
+ {
104684
+ "kind": "field",
104685
+ "name": "group",
104686
+ "type": {
104687
+ "text": "SbbTabGroupElement | null"
104688
+ },
104689
+ "privacy": "public",
104690
+ "description": "Get the parent `sbb-tab-group`.",
104691
+ "readonly": true
104692
+ },
104693
+ {
104694
+ "kind": "method",
104695
+ "name": "_onTabContentElementResize",
104696
+ "privacy": "private",
104697
+ "return": {
104698
+ "type": {
104699
+ "text": "void"
104700
+ }
104701
+ }
104702
+ },
103115
104703
  {
103116
104704
  "kind": "method",
103117
104705
  "name": "toggleState",
@@ -103232,12 +104820,6 @@
103232
104820
  "privacy": "private",
103233
104821
  "default": "new ResizeController(this, { target: null, skipInitial: true, callback: (entries) => this._onTabGroupElementResize(entries), })"
103234
104822
  },
103235
- {
103236
- "kind": "field",
103237
- "name": "_tabContentResizeObserver",
103238
- "privacy": "private",
103239
- "default": "new ResizeController(this, { target: null, skipInitial: true, callback: (entries) => this._onTabContentElementResize(entries), })"
103240
- },
103241
104823
  {
103242
104824
  "kind": "field",
103243
104825
  "name": "size",
@@ -103278,6 +104860,16 @@
103278
104860
  "description": "Gets the slotted `sbb-tab-label`s.",
103279
104861
  "readonly": true
103280
104862
  },
104863
+ {
104864
+ "kind": "field",
104865
+ "name": "tabs",
104866
+ "type": {
104867
+ "text": "SbbTabElement[]"
104868
+ },
104869
+ "privacy": "public",
104870
+ "description": "Gets the slotted `sbb-tab`s.",
104871
+ "readonly": true
104872
+ },
103281
104873
  {
103282
104874
  "kind": "method",
103283
104875
  "name": "disableTab",
@@ -103398,7 +104990,7 @@
103398
104990
  },
103399
104991
  {
103400
104992
  "kind": "method",
103401
- "name": "_onTabContentElementResize",
104993
+ "name": "_handleKeyDown",
103402
104994
  "privacy": "private",
103403
104995
  "return": {
103404
104996
  "type": {
@@ -103407,17 +104999,17 @@
103407
104999
  },
103408
105000
  "parameters": [
103409
105001
  {
103410
- "name": "entries",
105002
+ "name": "evt",
103411
105003
  "type": {
103412
- "text": "ResizeObserverEntry[]"
105004
+ "text": "KeyboardEvent"
103413
105005
  }
103414
105006
  }
103415
105007
  ]
103416
105008
  },
103417
105009
  {
103418
105010
  "kind": "method",
103419
- "name": "_handleKeyDown",
103420
- "privacy": "private",
105011
+ "name": "toggleState",
105012
+ "privacy": "protected",
103421
105013
  "return": {
103422
105014
  "type": {
103423
105015
  "text": "void"
@@ -103425,12 +105017,23 @@
103425
105017
  },
103426
105018
  "parameters": [
103427
105019
  {
103428
- "name": "evt",
105020
+ "name": "state",
103429
105021
  "type": {
103430
- "text": "KeyboardEvent"
105022
+ "text": "string"
105023
+ }
105024
+ },
105025
+ {
105026
+ "name": "force",
105027
+ "optional": true,
105028
+ "type": {
105029
+ "text": "boolean"
103431
105030
  }
103432
105031
  }
103433
- ]
105032
+ ],
105033
+ "inheritedFrom": {
105034
+ "name": "SbbElementInternalsMixin",
105035
+ "module": "core/mixins/element-internals-mixin.js"
105036
+ }
103434
105037
  },
103435
105038
  {
103436
105039
  "kind": "field",
@@ -103513,6 +105116,10 @@
103513
105116
  }
103514
105117
  ],
103515
105118
  "mixins": [
105119
+ {
105120
+ "name": "SbbElementInternalsMixin",
105121
+ "module": "core/mixins.js"
105122
+ },
103516
105123
  {
103517
105124
  "name": "SbbHydrationMixin",
103518
105125
  "module": "core/mixins.js"