@sbb-esta/lyne-elements-dev 4.12.1-dev.1778133120 → 4.12.1-dev.1778145512

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 (261) hide show
  1. package/custom-elements.json +1170 -1170
  2. package/development/accordion.component-CGTwcntz.js +1 -1
  3. package/development/action-group.component-DQ7_kjB9.js +1 -1
  4. package/development/alert-group.component-DnnPrv5I.js +1 -1
  5. package/development/alert.component-CYb1vnDZ.js +1 -1
  6. package/development/autocomplete/autocomplete.component.js +1 -1
  7. package/development/autocomplete-base-element-BpCpYcX9.js +1 -1
  8. package/development/block-link-common-COY1RI1I.js +1 -1
  9. package/development/breadcrumb-group.component-DZslNBlB.js +1 -1
  10. package/development/breadcrumb.component-DxSUxLZO.js +1 -1
  11. package/development/button/accent-button/accent-button.component.js +1 -1
  12. package/development/button/accent-button-link/accent-button-link.component.js +1 -1
  13. package/development/button/accent-button-static/accent-button-static.component.js +1 -1
  14. package/development/button/button/button.component.js +1 -1
  15. package/development/button/button-link/button-link.component.js +1 -1
  16. package/development/button/button-static/button-static.component.js +1 -1
  17. package/development/button/mini-button/mini-button.component.js +1 -1
  18. package/development/button/secondary-button/secondary-button.component.js +1 -1
  19. package/development/button/secondary-button-link/secondary-button-link.component.js +1 -1
  20. package/development/button/secondary-button-static/secondary-button-static.component.js +1 -1
  21. package/development/button/transparent-button/transparent-button.component.js +1 -1
  22. package/development/button/transparent-button-link/transparent-button-link.component.js +1 -1
  23. package/development/button/transparent-button-static/transparent-button-static.component.js +1 -1
  24. package/development/button-common-7dmrUx4A.js +1 -1
  25. package/development/calendar/calendar-month/calendar-month.component.js +1 -1
  26. package/development/calendar/calendar-weekday/calendar-weekday.component.js +1 -1
  27. package/development/calendar/calendar-weeknumber/calendar-weeknumber.component.js +1 -1
  28. package/development/calendar/calendar-year/calendar-year.component.js +1 -1
  29. package/development/calendar-cell-base-element-BXohfDSl.js +1 -1
  30. package/development/calendar-day.component-DFvRrp2O.js +1 -1
  31. package/development/calendar.component-Dg3D2A7k.js +1 -1
  32. package/development/card/card-button/card-button.component.js +1 -1
  33. package/development/card/card-link/card-link.component.js +1 -1
  34. package/development/card-action-common-1FDHbfeR.js +1 -1
  35. package/development/card-badge.component-CUZIoVbL.js +1 -1
  36. package/development/card.component-DsqIZC_u.js +1 -1
  37. package/development/carousel-item.component-CIgUJtDJ.js +1 -1
  38. package/development/carousel-list.component-L-nYpHcN.js +1 -1
  39. package/development/carousel.component-Dl48ROSf.js +1 -1
  40. package/development/checkbox-common-Dd5uup8K.js +1 -1
  41. package/development/checkbox-group/checkbox-group.component.js +1 -1
  42. package/development/checkbox-panel/checkbox-panel.component.js +1 -1
  43. package/development/checkbox.component-CFZrwUTA.js +1 -1
  44. package/development/chip-group.component-BVfHWX2-.js +1 -1
  45. package/development/chip-label.component-DU8s-hfA.js +1 -1
  46. package/development/chip.component-C6v1-PLX.js +1 -1
  47. package/development/clock.component-CVPv4mCp.js +1 -1
  48. package/development/compact-paginator.component-5_Q2Reul.js +1 -1
  49. package/development/container.component-CG_i65Op.js +1 -1
  50. package/development/core/a11y/arrow-navigation.js +1 -1
  51. package/development/core/a11y/fake-event-detection.js +1 -1
  52. package/development/core/a11y/focus-trap-controller.js +1 -1
  53. package/development/core/a11y/focus-visible-within-controller.js +1 -1
  54. package/development/core/a11y/input-modality-detector.js +1 -1
  55. package/development/core/a11y/interactivity-checker.js +1 -1
  56. package/development/core/a11y/live-announcer.js +1 -1
  57. package/development/core/base-elements/action-base-element.js +1 -1
  58. package/development/core/base-elements/button-base-element.js +1 -1
  59. package/development/core/base-elements/element.js +1 -1
  60. package/development/core/base-elements/link-base-element.js +1 -1
  61. package/development/core/base-elements/open-close-base-element.js +1 -1
  62. package/development/core/config/config.js +1 -1
  63. package/development/core/controllers/escapable-overlay-controller.js +1 -1
  64. package/development/core/controllers/id-reference-controller.js +1 -1
  65. package/development/core/controllers/inert-controller.js +1 -1
  66. package/development/core/controllers/language-controller.js +1 -1
  67. package/development/core/controllers/media-matchers-controller.js +1 -1
  68. package/development/core/controllers/overlay-position-controller.js +1 -1
  69. package/development/core/controllers/property-watcher-controller.js +1 -1
  70. package/development/core/controllers/slot-state-controller.js +1 -1
  71. package/development/core/datetime/date-adapter.js +1 -1
  72. package/development/core/datetime/native-date-adapter.js +1 -1
  73. package/development/core/datetime/temporal-date-adapter.js +1 -1
  74. package/development/core/decorators/force-type.js +1 -1
  75. package/development/core/decorators/get-override.js +1 -1
  76. package/development/core/decorators/handle-distinct-change.js +1 -1
  77. package/development/core/decorators/host-attributes.js +1 -1
  78. package/development/core/decorators/id-reference.js +1 -1
  79. package/development/core/decorators/omit-empty-converter.js +1 -1
  80. package/development/core/decorators/plain-date.js +1 -1
  81. package/development/core/dom/animation.js +1 -1
  82. package/development/core/dom/contains-pierce-shadow-dom.js +1 -1
  83. package/development/core/dom/lean-context.js +1 -1
  84. package/development/core/dom/platform.js +1 -1
  85. package/development/core/dom/queue-dom-content-loaded.js +1 -1
  86. package/development/core/dom/scroll.js +1 -1
  87. package/development/core/dom/set-or-remove-attribute.js +1 -1
  88. package/development/core/eventing/composed-path-has-attribute.js +1 -1
  89. package/development/core/eventing/event-target.js +1 -1
  90. package/development/core/eventing/form-element-handlers.js +1 -1
  91. package/development/core/eventing/forward-event.js +1 -1
  92. package/development/core/eventing/is-event-prevented.js +1 -1
  93. package/development/core/eventing/throttle.js +1 -1
  94. package/development/core/i18n/i18n.js +1 -1
  95. package/development/core/mixins/animation-complete-mixin.js +1 -1
  96. package/development/core/mixins/disabled-mixin.js +1 -1
  97. package/development/core/mixins/element-internals-mixin.js +1 -1
  98. package/development/core/mixins/form-associated-checkbox-mixin.js +1 -1
  99. package/development/core/mixins/form-associated-input-mixin.js +1 -1
  100. package/development/core/mixins/form-associated-mixin.js +1 -1
  101. package/development/core/mixins/form-associated-radio-button-mixin.js +1 -1
  102. package/development/core/mixins/hydration-mixin.js +1 -1
  103. package/development/core/mixins/named-slot-list-mixin.js +1 -1
  104. package/development/core/mixins/negative-mixin.js +1 -1
  105. package/development/core/mixins/readonly-mixin.js +1 -1
  106. package/development/core/mixins/required-mixin.js +1 -1
  107. package/development/core/mixins/selection-panel-mixin.js +1 -1
  108. package/development/core/mixins/update-scheduler-mixin.js +1 -1
  109. package/development/core/overlay/overlay-option-panel.js +1 -1
  110. package/development/core/overlay/overlay-outside-pointer-event-listener.js +1 -1
  111. package/development/core/overlay/overlay-trigger-attributes.js +1 -1
  112. package/development/core/overlay/overlay.js +1 -1
  113. package/development/core/overlay/position.js +1 -1
  114. package/development/core/testing/event-spy.js +1 -1
  115. package/development/core/testing/mocha-extensions.js +1 -1
  116. package/development/core/testing/wait-for-condition.js +1 -1
  117. package/development/core/testing/wait-for-image-ready.js +1 -1
  118. package/development/core/testing/wait-for-render.js +1 -1
  119. package/development/date-input.component-UP1afzgy.js +1 -1
  120. package/development/datepicker/datepicker-next-day/datepicker-next-day.component.js +1 -1
  121. package/development/datepicker/datepicker-previous-day/datepicker-previous-day.component.js +1 -1
  122. package/development/datepicker/datepicker-toggle/datepicker-toggle.component.js +1 -1
  123. package/development/datepicker-button-CUPeoQgH.js +1 -1
  124. package/development/datepicker.component-D2DxFng_.js +1 -1
  125. package/development/dialog-actions.component-CegGvLGp.js +1 -1
  126. package/development/dialog-close-button.component-C4P-8J8j.js +1 -1
  127. package/development/dialog-content.component-bm8piC0O.js +1 -1
  128. package/development/dialog-title.component-CUAbFzCr.js +1 -1
  129. package/development/dialog.component-DKuR4u-y.js +1 -1
  130. package/development/divider.component-Bisnf286.js +1 -1
  131. package/development/error.component-OBpWoVRL.js +1 -1
  132. package/development/expansion-panel-content.component-XIsKm8JD.js +1 -1
  133. package/development/expansion-panel-header.component-C1xRGcAN.js +1 -1
  134. package/development/expansion-panel.component-CV_IuWZA.js +1 -1
  135. package/development/file-selector/file-selector/file-selector.component.js +1 -1
  136. package/development/file-selector-common-C7xIEiV4.js +1 -1
  137. package/development/file-selector-dropzone.component-BAWMZW4F.js +1 -1
  138. package/development/flip-card-details.component-iMm7NrgQ.js +1 -1
  139. package/development/flip-card-summary.component-HQ_VAn2j.js +1 -1
  140. package/development/flip-card.component-CJanLtkJ.js +1 -1
  141. package/development/footer.component-BmDkxYW9.js +1 -1
  142. package/development/form-field/form-field-clear/form-field-clear.component.js +1 -1
  143. package/development/form-field/form-field-text-counter/form-field-text-counter.component.js +1 -1
  144. package/development/form-field.component-BU3Sv2mD.js +1 -1
  145. package/development/header/header-button/header-button.component.js +1 -1
  146. package/development/header/header-link/header-link.component.js +1 -1
  147. package/development/header-action-common-MTYV0dqA.js +1 -1
  148. package/development/header-environment.component-DHqoX_lg.js +1 -1
  149. package/development/header.component-CWJ36jF0.js +1 -1
  150. package/development/hint.component-DUtL0RS3.js +1 -1
  151. package/development/icon/icon-name-mixin.js +1 -1
  152. package/development/icon/icon-request.js +1 -1
  153. package/development/icon/icon-validate.js +1 -1
  154. package/development/icon/icon.component.js +1 -1
  155. package/development/icon-base-DHN9pz2I.js +1 -1
  156. package/development/icon-sidebar/icon-sidebar-button/icon-sidebar-button.component.js +1 -1
  157. package/development/icon-sidebar/icon-sidebar-link/icon-sidebar-link.component.js +1 -1
  158. package/development/icon-sidebar-container.component-BH_R88Rf.js +1 -1
  159. package/development/icon-sidebar-content.component-yoF6FjkW.js +1 -1
  160. package/development/icon-sidebar.component-BGEkfXVs.js +1 -1
  161. package/development/image.component-BD0jc-u-.js +1 -1
  162. package/development/inline-link-common-CgTIwFAI.js +1 -1
  163. package/development/journey-header.component-BwVODlXk.js +1 -1
  164. package/development/lead-container.component-CGVdBWJr.js +1 -1
  165. package/development/link/block-link/block-link.component.js +1 -1
  166. package/development/link/block-link-button/block-link-button.component.js +1 -1
  167. package/development/link/block-link-static/block-link-static.component.js +1 -1
  168. package/development/link/link/link.component.js +1 -1
  169. package/development/link/link-button/link-button.component.js +1 -1
  170. package/development/link/link-static/link-static.component.js +1 -1
  171. package/development/link-common-DJ2FfG_Q.js +1 -1
  172. package/development/link-list-anchor.component-Du7kfDZ-.js +1 -1
  173. package/development/link-list-base-CKMNz30d.js +1 -1
  174. package/development/link-list.component-DQMg8MdQ.js +1 -1
  175. package/development/loading-indicator-circle.component-np96Tu5S.js +1 -1
  176. package/development/loading-indicator.component-CgHYNMxB.js +1 -1
  177. package/development/logo.component-I0yP2SKr.js +1 -1
  178. package/development/map-container.component-D9NWw-wA.js +1 -1
  179. package/development/menu/menu-button/menu-button.component.js +1 -1
  180. package/development/menu/menu-link/menu-link.component.js +1 -1
  181. package/development/menu-action-common-CBZCra6n.js +1 -1
  182. package/development/menu.component-Lh3JbVow.js +1 -1
  183. package/development/message.component-Dlf5V5ba.js +1 -1
  184. package/development/mini-button-group.component-B3CA9KG0.js +1 -1
  185. package/development/mini-button-link.component-I3VpWeNU.js +1 -1
  186. package/development/mini-calendar-day.component-BUNVO4ZU.js +1 -1
  187. package/development/mini-calendar-month.component-DZXvAhc3.js +1 -1
  188. package/development/mini-calendar.component-BufzKw74.js +1 -1
  189. package/development/navigation/navigation-button/navigation-button.component.js +1 -1
  190. package/development/navigation/navigation-link/navigation-link.component.js +1 -1
  191. package/development/navigation-action-common-Hjr4dI9J.js +1 -1
  192. package/development/navigation-list.component-DqITJqFx.js +1 -1
  193. package/development/navigation-marker.component-GOv42emC.js +1 -1
  194. package/development/navigation-section.component-CnVrRETN.js +1 -1
  195. package/development/navigation.component-CTNQ1dix.js +1 -1
  196. package/development/notification.component-Cvq_uViC.js +1 -1
  197. package/development/optgroup-base-element-BaG2W_AP.js +1 -1
  198. package/development/option/optgroup/optgroup.component.js +1 -1
  199. package/development/option/option/option-base-element.js +1 -1
  200. package/development/option-hint.component-BH8dP1fM.js +1 -1
  201. package/development/option.component-Bb2C7ae5.js +1 -1
  202. package/development/overlay/overlay-base-element.js +1 -1
  203. package/development/overlay.component-M0JuSq4C.js +1 -1
  204. package/development/paginator/common/paginator-common.js +1 -1
  205. package/development/paginator.component-Bn5tK0FK.js +1 -1
  206. package/development/panel-mixin-Dj_rsgL9.js +1 -1
  207. package/development/popover.component-EgOs-wsR.js +1 -1
  208. package/development/radio-button-common--d3WX-ZM.js +1 -1
  209. package/development/radio-button-group/radio-button-group.component.js +1 -1
  210. package/development/radio-button-panel/radio-button-panel.component.js +1 -1
  211. package/development/radio-button.component-BauLEeCV.js +1 -1
  212. package/development/screen-reader-only.component-B77UuVCI.js +1 -1
  213. package/development/select.component-D9SFG7Lk.js +1 -1
  214. package/development/selection-action-panel.component-D6I5wdEL.js +1 -1
  215. package/development/selection-expansion-panel.component-eO7b_EQF.js +1 -1
  216. package/development/selection-group-base-element-DvDpwhPl.js +1 -1
  217. package/development/sidebar-close-button.component-CYWv39Mu.js +1 -1
  218. package/development/sidebar-container.component-BDSoDAym.js +1 -1
  219. package/development/sidebar-content.component-JcVKpKbK.js +1 -1
  220. package/development/sidebar-title.component-BA_j-Igh.js +1 -1
  221. package/development/sidebar.component-BLqO52nH.js +1 -1
  222. package/development/signet.component-3D2ZsajP.js +1 -1
  223. package/development/skiplink-list.component-EDPOitEB.js +1 -1
  224. package/development/slider.component-C3qZB6ar.js +1 -1
  225. package/development/status.component-CPi1cPN0.js +1 -1
  226. package/development/step-label.component-BJ9eainz.js +1 -1
  227. package/development/step.component-B-n26urC.js +1 -1
  228. package/development/stepper.component-CxOBayI1.js +1 -1
  229. package/development/sticky-bar.component-CysAIZTd.js +1 -1
  230. package/development/tab-group.component-D9jCK26q.js +1 -1
  231. package/development/tab-label.component-B9e9kgVf.js +1 -1
  232. package/development/tab-nav-bar.component-CgYwCSVY.js +1 -1
  233. package/development/tab.component-DThKG7-a.js +1 -1
  234. package/development/table-wrapper.component-D1p7kqCB.js +1 -1
  235. package/development/tag-group.component-Cw46bt0E.js +1 -1
  236. package/development/tag.component-Bl1nlIXQ.js +1 -1
  237. package/development/teaser-hero.component-BIOpoGME.js +1 -1
  238. package/development/teaser-product/teaser-product-static/teaser-product-static.component.js +1 -1
  239. package/development/teaser-product-common-DYX370pm.js +1 -1
  240. package/development/teaser-product.component-CSArA8bH.js +1 -1
  241. package/development/teaser.component-Cky6kKU0.js +1 -1
  242. package/development/time-input.component-BtdSR8kB.js +1 -1
  243. package/development/timetable-form-details.component-DJl5Qt9y.js +1 -1
  244. package/development/timetable-form-field.component-DQ_TzcF4.js +1 -1
  245. package/development/timetable-form-swap-button.component-Bh9aPmdn.js +1 -1
  246. package/development/timetable-form.component-N8h4JBlH.js +1 -1
  247. package/development/timetable-occupancy-icon.component-lI7__-G5.js +1 -1
  248. package/development/timetable-occupancy.component-BBcznUh0.js +1 -1
  249. package/development/title-base-BdYKwj3-.js +1 -1
  250. package/development/title.component-DSXVkddh.js +1 -1
  251. package/development/toast.component-IhHx0Qt3.js +1 -1
  252. package/development/toggle-check.component-_fDAuLob.js +1 -1
  253. package/development/toggle-option.component-DTS3a603.js +1 -1
  254. package/development/toggle.component-BJpD1b9H.js +1 -1
  255. package/development/tooltip.component-YaUQA-Id.js +1 -1
  256. package/development/train-blocked-passage.component-BrUJK0gf.js +1 -1
  257. package/development/train-formation.component-vt-nYQXA.js +1 -1
  258. package/development/train-wagon.component-CNxkffOO.js +1 -1
  259. package/development/train.component-BgpmEDx-.js +1 -1
  260. package/development/visual-checkbox.component-rdeoQN40.js +1 -1
  261. package/package.json +2 -2
@@ -68609,229 +68609,6 @@
68609
68609
  }
68610
68610
  ]
68611
68611
  },
68612
- {
68613
- "kind": "javascript-module",
68614
- "path": "core/decorators/base.js",
68615
- "declarations": [],
68616
- "exports": []
68617
- },
68618
- {
68619
- "kind": "javascript-module",
68620
- "path": "core/decorators/force-type.js",
68621
- "declarations": [
68622
- {
68623
- "kind": "function",
68624
- "name": "forceType",
68625
- "return": {
68626
- "type": {
68627
- "text": "PropertyDecorator"
68628
- }
68629
- },
68630
- "parameters": [
68631
- {
68632
- "name": "convert",
68633
- "optional": true,
68634
- "type": {
68635
- "text": "(v: unknown) => V"
68636
- }
68637
- }
68638
- ],
68639
- "description": "Decorator that forces the value of a property or getter/setter\nto the defined type."
68640
- }
68641
- ],
68642
- "exports": [
68643
- {
68644
- "kind": "js",
68645
- "name": "forceType",
68646
- "declaration": {
68647
- "name": "forceType",
68648
- "module": "core/decorators/force-type.js"
68649
- }
68650
- }
68651
- ]
68652
- },
68653
- {
68654
- "kind": "javascript-module",
68655
- "path": "core/decorators/get-override.js",
68656
- "declarations": [
68657
- {
68658
- "kind": "function",
68659
- "name": "getOverride",
68660
- "parameters": [
68661
- {
68662
- "name": "callback",
68663
- "type": {
68664
- "text": "(instance: C, innerValue: V) => V"
68665
- }
68666
- }
68667
- ],
68668
- "description": "Decorator that overrides the underlying getter of the accessor."
68669
- }
68670
- ],
68671
- "exports": [
68672
- {
68673
- "kind": "js",
68674
- "name": "getOverride",
68675
- "declaration": {
68676
- "name": "getOverride",
68677
- "module": "core/decorators/get-override.js"
68678
- }
68679
- }
68680
- ]
68681
- },
68682
- {
68683
- "kind": "javascript-module",
68684
- "path": "core/decorators/handle-distinct-change.js",
68685
- "declarations": [
68686
- {
68687
- "kind": "function",
68688
- "name": "handleDistinctChange",
68689
- "parameters": [
68690
- {
68691
- "name": "callback",
68692
- "type": {
68693
- "text": "(instance: C, newValue: V, oldValue: V | undefined) => void"
68694
- }
68695
- }
68696
- ],
68697
- "description": "Decorator that calls the given callback when the value\nof the associated property is changed."
68698
- }
68699
- ],
68700
- "exports": [
68701
- {
68702
- "kind": "js",
68703
- "name": "handleDistinctChange",
68704
- "declaration": {
68705
- "name": "handleDistinctChange",
68706
- "module": "core/decorators/handle-distinct-change.js"
68707
- }
68708
- }
68709
- ]
68710
- },
68711
- {
68712
- "kind": "javascript-module",
68713
- "path": "core/decorators/host-attributes.js",
68714
- "declarations": [
68715
- {
68716
- "kind": "function",
68717
- "name": "hostAttributes",
68718
- "parameters": [
68719
- {
68720
- "name": "attributes",
68721
- "type": {
68722
- "text": "Record<string, string | null>"
68723
- },
68724
- "description": "A record of attributes to apply to the element."
68725
- }
68726
- ],
68727
- "description": "Applies the given attributes to the related element.\nIf an empty string is passed as a value, the attribute will be set\nwithout value.",
68728
- "deprecated": "Will be removed with next major version."
68729
- }
68730
- ],
68731
- "exports": [
68732
- {
68733
- "kind": "js",
68734
- "name": "hostAttributes",
68735
- "declaration": {
68736
- "name": "hostAttributes",
68737
- "module": "core/decorators/host-attributes.js"
68738
- }
68739
- }
68740
- ]
68741
- },
68742
- {
68743
- "kind": "javascript-module",
68744
- "path": "core/decorators/id-reference.js",
68745
- "declarations": [
68746
- {
68747
- "kind": "function",
68748
- "name": "idReference",
68749
- "description": "Accessor decorator that resolves id references dynamically.\nIf a string is passed (e.g. from an attribute), it will be resolved to the element with that id.\nThis decorator observes the connected document fragment for changes to the id attribute\nand child elements and if any id reference is established or removed, it will\nupdate the associated property."
68750
- }
68751
- ],
68752
- "exports": [
68753
- {
68754
- "kind": "js",
68755
- "name": "idReference",
68756
- "declaration": {
68757
- "name": "idReference",
68758
- "module": "core/decorators/id-reference.js"
68759
- }
68760
- }
68761
- ]
68762
- },
68763
- {
68764
- "kind": "javascript-module",
68765
- "path": "core/decorators/omit-empty-converter.js",
68766
- "declarations": [
68767
- {
68768
- "kind": "variable",
68769
- "name": "omitEmptyConverter",
68770
- "type": {
68771
- "text": "ComplexAttributeConverter"
68772
- },
68773
- "default": "{ toAttribute(value, type) { return ((type === String || type === undefined) && value === '') || (type === Number && isNaN(value as number)) ? null : defaultConverter.toAttribute!(value, type); }, }",
68774
- "description": "Converts empty values to null, which will not be rendered as attributes.\ne.g. for string properties, an empty value '' will not be rendered as an\nempty attribute, as would be the default with lit."
68775
- }
68776
- ],
68777
- "exports": [
68778
- {
68779
- "kind": "js",
68780
- "name": "omitEmptyConverter",
68781
- "declaration": {
68782
- "name": "omitEmptyConverter",
68783
- "module": "core/decorators/omit-empty-converter.js"
68784
- }
68785
- }
68786
- ]
68787
- },
68788
- {
68789
- "kind": "javascript-module",
68790
- "path": "core/decorators/plain-date.js",
68791
- "declarations": [
68792
- {
68793
- "kind": "variable",
68794
- "name": "plainDateConverter",
68795
- "type": {
68796
- "text": "ComplexAttributeConverter"
68797
- },
68798
- "default": "{ toAttribute(value, _type) { const dateAdapter = readConfig().datetime?.dateAdapter ?? defaultDateAdapter; return dateAdapter.isValid(value) ? dateAdapter.toIso8601(value) : null; }, }",
68799
- "description": "Will convert date object values to ISO8601 formatted strings as attributes.\nShould be used together with the `plainDate` decorator."
68800
- },
68801
- {
68802
- "kind": "function",
68803
- "name": "plainDate",
68804
- "parameters": [
68805
- {
68806
- "name": "config",
68807
- "optional": true,
68808
- "type": {
68809
- "text": "SbbPlainDateConfiguration"
68810
- }
68811
- }
68812
- ],
68813
- "description": "Decorator that tries to deserialize the given value to a date object\nand adapts the getter to only return a copy of the internal value,\nin order to avoid outside manipulation of date objects."
68814
- }
68815
- ],
68816
- "exports": [
68817
- {
68818
- "kind": "js",
68819
- "name": "plainDateConverter",
68820
- "declaration": {
68821
- "name": "plainDateConverter",
68822
- "module": "core/decorators/plain-date.js"
68823
- }
68824
- },
68825
- {
68826
- "kind": "js",
68827
- "name": "plainDate",
68828
- "declaration": {
68829
- "name": "plainDate",
68830
- "module": "core/decorators/plain-date.js"
68831
- }
68832
- }
68833
- ]
68834
- },
68835
68612
  {
68836
68613
  "kind": "javascript-module",
68837
68614
  "path": "core/dom/animation.js",
@@ -69270,6 +69047,229 @@
69270
69047
  }
69271
69048
  ]
69272
69049
  },
69050
+ {
69051
+ "kind": "javascript-module",
69052
+ "path": "core/decorators/base.js",
69053
+ "declarations": [],
69054
+ "exports": []
69055
+ },
69056
+ {
69057
+ "kind": "javascript-module",
69058
+ "path": "core/decorators/force-type.js",
69059
+ "declarations": [
69060
+ {
69061
+ "kind": "function",
69062
+ "name": "forceType",
69063
+ "return": {
69064
+ "type": {
69065
+ "text": "PropertyDecorator"
69066
+ }
69067
+ },
69068
+ "parameters": [
69069
+ {
69070
+ "name": "convert",
69071
+ "optional": true,
69072
+ "type": {
69073
+ "text": "(v: unknown) => V"
69074
+ }
69075
+ }
69076
+ ],
69077
+ "description": "Decorator that forces the value of a property or getter/setter\nto the defined type."
69078
+ }
69079
+ ],
69080
+ "exports": [
69081
+ {
69082
+ "kind": "js",
69083
+ "name": "forceType",
69084
+ "declaration": {
69085
+ "name": "forceType",
69086
+ "module": "core/decorators/force-type.js"
69087
+ }
69088
+ }
69089
+ ]
69090
+ },
69091
+ {
69092
+ "kind": "javascript-module",
69093
+ "path": "core/decorators/get-override.js",
69094
+ "declarations": [
69095
+ {
69096
+ "kind": "function",
69097
+ "name": "getOverride",
69098
+ "parameters": [
69099
+ {
69100
+ "name": "callback",
69101
+ "type": {
69102
+ "text": "(instance: C, innerValue: V) => V"
69103
+ }
69104
+ }
69105
+ ],
69106
+ "description": "Decorator that overrides the underlying getter of the accessor."
69107
+ }
69108
+ ],
69109
+ "exports": [
69110
+ {
69111
+ "kind": "js",
69112
+ "name": "getOverride",
69113
+ "declaration": {
69114
+ "name": "getOverride",
69115
+ "module": "core/decorators/get-override.js"
69116
+ }
69117
+ }
69118
+ ]
69119
+ },
69120
+ {
69121
+ "kind": "javascript-module",
69122
+ "path": "core/decorators/handle-distinct-change.js",
69123
+ "declarations": [
69124
+ {
69125
+ "kind": "function",
69126
+ "name": "handleDistinctChange",
69127
+ "parameters": [
69128
+ {
69129
+ "name": "callback",
69130
+ "type": {
69131
+ "text": "(instance: C, newValue: V, oldValue: V | undefined) => void"
69132
+ }
69133
+ }
69134
+ ],
69135
+ "description": "Decorator that calls the given callback when the value\nof the associated property is changed."
69136
+ }
69137
+ ],
69138
+ "exports": [
69139
+ {
69140
+ "kind": "js",
69141
+ "name": "handleDistinctChange",
69142
+ "declaration": {
69143
+ "name": "handleDistinctChange",
69144
+ "module": "core/decorators/handle-distinct-change.js"
69145
+ }
69146
+ }
69147
+ ]
69148
+ },
69149
+ {
69150
+ "kind": "javascript-module",
69151
+ "path": "core/decorators/host-attributes.js",
69152
+ "declarations": [
69153
+ {
69154
+ "kind": "function",
69155
+ "name": "hostAttributes",
69156
+ "parameters": [
69157
+ {
69158
+ "name": "attributes",
69159
+ "type": {
69160
+ "text": "Record<string, string | null>"
69161
+ },
69162
+ "description": "A record of attributes to apply to the element."
69163
+ }
69164
+ ],
69165
+ "description": "Applies the given attributes to the related element.\nIf an empty string is passed as a value, the attribute will be set\nwithout value.",
69166
+ "deprecated": "Will be removed with next major version."
69167
+ }
69168
+ ],
69169
+ "exports": [
69170
+ {
69171
+ "kind": "js",
69172
+ "name": "hostAttributes",
69173
+ "declaration": {
69174
+ "name": "hostAttributes",
69175
+ "module": "core/decorators/host-attributes.js"
69176
+ }
69177
+ }
69178
+ ]
69179
+ },
69180
+ {
69181
+ "kind": "javascript-module",
69182
+ "path": "core/decorators/id-reference.js",
69183
+ "declarations": [
69184
+ {
69185
+ "kind": "function",
69186
+ "name": "idReference",
69187
+ "description": "Accessor decorator that resolves id references dynamically.\nIf a string is passed (e.g. from an attribute), it will be resolved to the element with that id.\nThis decorator observes the connected document fragment for changes to the id attribute\nand child elements and if any id reference is established or removed, it will\nupdate the associated property."
69188
+ }
69189
+ ],
69190
+ "exports": [
69191
+ {
69192
+ "kind": "js",
69193
+ "name": "idReference",
69194
+ "declaration": {
69195
+ "name": "idReference",
69196
+ "module": "core/decorators/id-reference.js"
69197
+ }
69198
+ }
69199
+ ]
69200
+ },
69201
+ {
69202
+ "kind": "javascript-module",
69203
+ "path": "core/decorators/omit-empty-converter.js",
69204
+ "declarations": [
69205
+ {
69206
+ "kind": "variable",
69207
+ "name": "omitEmptyConverter",
69208
+ "type": {
69209
+ "text": "ComplexAttributeConverter"
69210
+ },
69211
+ "default": "{ toAttribute(value, type) { return ((type === String || type === undefined) && value === '') || (type === Number && isNaN(value as number)) ? null : defaultConverter.toAttribute!(value, type); }, }",
69212
+ "description": "Converts empty values to null, which will not be rendered as attributes.\ne.g. for string properties, an empty value '' will not be rendered as an\nempty attribute, as would be the default with lit."
69213
+ }
69214
+ ],
69215
+ "exports": [
69216
+ {
69217
+ "kind": "js",
69218
+ "name": "omitEmptyConverter",
69219
+ "declaration": {
69220
+ "name": "omitEmptyConverter",
69221
+ "module": "core/decorators/omit-empty-converter.js"
69222
+ }
69223
+ }
69224
+ ]
69225
+ },
69226
+ {
69227
+ "kind": "javascript-module",
69228
+ "path": "core/decorators/plain-date.js",
69229
+ "declarations": [
69230
+ {
69231
+ "kind": "variable",
69232
+ "name": "plainDateConverter",
69233
+ "type": {
69234
+ "text": "ComplexAttributeConverter"
69235
+ },
69236
+ "default": "{ toAttribute(value, _type) { const dateAdapter = readConfig().datetime?.dateAdapter ?? defaultDateAdapter; return dateAdapter.isValid(value) ? dateAdapter.toIso8601(value) : null; }, }",
69237
+ "description": "Will convert date object values to ISO8601 formatted strings as attributes.\nShould be used together with the `plainDate` decorator."
69238
+ },
69239
+ {
69240
+ "kind": "function",
69241
+ "name": "plainDate",
69242
+ "parameters": [
69243
+ {
69244
+ "name": "config",
69245
+ "optional": true,
69246
+ "type": {
69247
+ "text": "SbbPlainDateConfiguration"
69248
+ }
69249
+ }
69250
+ ],
69251
+ "description": "Decorator that tries to deserialize the given value to a date object\nand adapts the getter to only return a copy of the internal value,\nin order to avoid outside manipulation of date objects."
69252
+ }
69253
+ ],
69254
+ "exports": [
69255
+ {
69256
+ "kind": "js",
69257
+ "name": "plainDateConverter",
69258
+ "declaration": {
69259
+ "name": "plainDateConverter",
69260
+ "module": "core/decorators/plain-date.js"
69261
+ }
69262
+ },
69263
+ {
69264
+ "kind": "js",
69265
+ "name": "plainDate",
69266
+ "declaration": {
69267
+ "name": "plainDate",
69268
+ "module": "core/decorators/plain-date.js"
69269
+ }
69270
+ }
69271
+ ]
69272
+ },
69273
69273
  {
69274
69274
  "kind": "javascript-module",
69275
69275
  "path": "core/eventing/composed-path-has-attribute.js",
@@ -107243,12 +107243,12 @@
107243
107243
  },
107244
107244
  {
107245
107245
  "kind": "javascript-module",
107246
- "path": "menu/menu-link/menu-link.component.js",
107246
+ "path": "menu/menu-button/menu-button.component.js",
107247
107247
  "declarations": [
107248
107248
  {
107249
107249
  "kind": "class",
107250
- "description": "It displays a link element that can be used in the `sbb-menu` component.",
107251
- "name": "SbbMenuLinkElement",
107250
+ "description": "It displays a button element that can be used in the `sbb-menu` component.",
107251
+ "name": "SbbMenuButtonElement",
107252
107252
  "cssProperties": [
107253
107253
  {
107254
107254
  "description": "Can be used to modify horizontal padding.",
@@ -107258,7 +107258,7 @@
107258
107258
  ],
107259
107259
  "slots": [
107260
107260
  {
107261
- "description": "Use the unnamed slot to add content to the `sbb-menu-link`.",
107261
+ "description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
107262
107262
  "name": ""
107263
107263
  },
107264
107264
  {
@@ -107280,20 +107280,21 @@
107280
107280
  "name": "SbbElement",
107281
107281
  "module": "core/base-elements/element.js"
107282
107282
  },
107283
- "default": "'sbb-menu-link'"
107283
+ "default": "'sbb-menu-button'"
107284
107284
  },
107285
107285
  {
107286
107286
  "kind": "field",
107287
- "name": "anchorRole",
107287
+ "name": "role",
107288
107288
  "type": {
107289
- "text": "string"
107289
+ "text": "ElementInternals['role']"
107290
107290
  },
107291
- "privacy": "protected",
107291
+ "privacy": "public",
107292
+ "static": true,
107292
107293
  "readonly": true,
107293
107294
  "default": "'menuitem'",
107294
107295
  "inheritedFrom": {
107295
- "name": "SbbLinkBaseElement",
107296
- "module": "core/base-elements/link-base-element.js"
107296
+ "name": "SbbButtonLikeBaseElement",
107297
+ "module": "core/base-elements/button-base-element.js"
107297
107298
  }
107298
107299
  },
107299
107300
  {
@@ -107312,6 +107313,50 @@
107312
107313
  "module": "core/mixins/disabled-mixin.js"
107313
107314
  }
107314
107315
  },
107316
+ {
107317
+ "kind": "field",
107318
+ "name": "disabled",
107319
+ "privacy": "public",
107320
+ "description": "Whether the component is disabled.",
107321
+ "default": "false",
107322
+ "type": {
107323
+ "text": "boolean"
107324
+ },
107325
+ "attribute": "disabled",
107326
+ "reflects": true,
107327
+ "inheritedFrom": {
107328
+ "name": "SbbDisabledMixin",
107329
+ "module": "core/mixins/disabled-mixin.js"
107330
+ }
107331
+ },
107332
+ {
107333
+ "kind": "field",
107334
+ "name": "#disabled",
107335
+ "privacy": "private",
107336
+ "type": {
107337
+ "text": "boolean"
107338
+ },
107339
+ "default": "false",
107340
+ "inheritedFrom": {
107341
+ "name": "SbbDisabledMixin",
107342
+ "module": "core/mixins/disabled-mixin.js"
107343
+ }
107344
+ },
107345
+ {
107346
+ "kind": "method",
107347
+ "name": "isDisabledExternally",
107348
+ "privacy": "protected",
107349
+ "return": {
107350
+ "type": {
107351
+ "text": "boolean"
107352
+ }
107353
+ },
107354
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
107355
+ "inheritedFrom": {
107356
+ "name": "SbbDisabledMixin",
107357
+ "module": "core/mixins/disabled-mixin.js"
107358
+ }
107359
+ },
107315
107360
  {
107316
107361
  "kind": "field",
107317
107362
  "name": "styles",
@@ -107409,181 +107454,464 @@
107409
107454
  },
107410
107455
  {
107411
107456
  "kind": "field",
107412
- "name": "disabled",
107457
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
107458
+ "type": {
107459
+ "text": "array"
107460
+ },
107461
+ "privacy": "private",
107462
+ "readonly": true,
107463
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
107464
+ "inheritedFrom": {
107465
+ "name": "SbbButtonBaseElement",
107466
+ "module": "core/base-elements/button-base-element.js"
107467
+ }
107468
+ },
107469
+ {
107470
+ "kind": "field",
107471
+ "name": "value",
107472
+ "type": {
107473
+ "text": "string"
107474
+ },
107413
107475
  "privacy": "public",
107414
- "description": "Whether the component is disabled.",
107415
- "default": "false",
107476
+ "inheritedFrom": {
107477
+ "name": "SbbButtonBaseElement",
107478
+ "module": "core/base-elements/button-base-element.js"
107479
+ },
107480
+ "default": "''",
107481
+ "description": "Value of the form element.",
107482
+ "attribute": "value"
107483
+ },
107484
+ {
107485
+ "kind": "field",
107486
+ "name": "type",
107487
+ "privacy": "public",
107488
+ "description": "The type attribute to use for the button.",
107489
+ "default": "'button'",
107416
107490
  "type": {
107417
- "text": "boolean"
107491
+ "text": "SbbButtonType"
107418
107492
  },
107419
- "attribute": "disabled",
107420
- "reflects": true,
107493
+ "attribute": "type",
107421
107494
  "inheritedFrom": {
107422
- "name": "SbbDisabledMixin",
107423
- "module": "core/mixins/disabled-mixin.js"
107495
+ "name": "SbbButtonBaseElement",
107496
+ "module": "core/base-elements/button-base-element.js"
107424
107497
  }
107425
107498
  },
107426
107499
  {
107427
107500
  "kind": "field",
107428
- "name": "#disabled",
107429
- "privacy": "private",
107501
+ "name": "form",
107430
107502
  "type": {
107431
- "text": "boolean"
107503
+ "text": "HTMLFormElement | null"
107432
107504
  },
107433
- "default": "false",
107505
+ "privacy": "public",
107506
+ "description": "The `<form>` element to associate the button with.",
107434
107507
  "inheritedFrom": {
107435
- "name": "SbbDisabledMixin",
107436
- "module": "core/mixins/disabled-mixin.js"
107508
+ "name": "SbbButtonBaseElement",
107509
+ "module": "core/base-elements/button-base-element.js"
107510
+ },
107511
+ "attribute": "form"
107512
+ },
107513
+ {
107514
+ "kind": "field",
107515
+ "name": "_formId",
107516
+ "type": {
107517
+ "text": "string"
107518
+ },
107519
+ "privacy": "private",
107520
+ "default": "''",
107521
+ "inheritedFrom": {
107522
+ "name": "SbbButtonBaseElement",
107523
+ "module": "core/base-elements/button-base-element.js"
107524
+ }
107525
+ },
107526
+ {
107527
+ "kind": "field",
107528
+ "name": "_handleButtonClick",
107529
+ "privacy": "private",
107530
+ "inheritedFrom": {
107531
+ "name": "SbbButtonBaseElement",
107532
+ "module": "core/base-elements/button-base-element.js"
107437
107533
  }
107438
107534
  },
107439
107535
  {
107440
107536
  "kind": "method",
107441
- "name": "isDisabledExternally",
107442
- "privacy": "protected",
107537
+ "name": "_requestSubmit",
107538
+ "privacy": "private",
107443
107539
  "return": {
107444
107540
  "type": {
107445
- "text": "boolean"
107541
+ "text": "void"
107446
107542
  }
107447
107543
  },
107448
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
107544
+ "parameters": [
107545
+ {
107546
+ "name": "form",
107547
+ "type": {
107548
+ "text": "HTMLFormElement"
107549
+ }
107550
+ }
107551
+ ],
107449
107552
  "inheritedFrom": {
107450
- "name": "SbbDisabledMixin",
107451
- "module": "core/mixins/disabled-mixin.js"
107553
+ "name": "SbbButtonBaseElement",
107554
+ "module": "core/base-elements/button-base-element.js"
107452
107555
  }
107453
107556
  },
107454
107557
  {
107455
107558
  "kind": "field",
107456
- "name": "href",
107457
- "type": {
107458
- "text": "string"
107459
- },
107460
- "privacy": "public",
107461
- "default": "''",
107462
- "description": "The href value you want to link to.",
107463
- "attribute": "href",
107464
- "reflects": true,
107559
+ "name": "_formKeyDown",
107560
+ "privacy": "private",
107465
107561
  "inheritedFrom": {
107466
- "name": "SbbLinkBaseElement",
107467
- "module": "core/base-elements/link-base-element.js"
107562
+ "name": "SbbButtonBaseElement",
107563
+ "module": "core/base-elements/button-base-element.js"
107468
107564
  }
107469
107565
  },
107470
107566
  {
107471
107567
  "kind": "field",
107472
- "name": "target",
107568
+ "name": "formAssociated",
107473
107569
  "type": {
107474
- "text": "LinkTargetType | string"
107570
+ "text": "boolean"
107475
107571
  },
107476
107572
  "privacy": "public",
107477
- "default": "''",
107478
- "description": "Where to display the linked URL.",
107479
- "attribute": "target",
107480
- "reflects": true,
107573
+ "static": true,
107574
+ "default": "true",
107481
107575
  "inheritedFrom": {
107482
- "name": "SbbLinkBaseElement",
107483
- "module": "core/base-elements/link-base-element.js"
107576
+ "name": "SbbFormAssociatedMixin",
107577
+ "module": "core/mixins/form-associated-mixin.js"
107484
107578
  }
107485
107579
  },
107486
107580
  {
107487
107581
  "kind": "field",
107488
- "name": "rel",
107582
+ "name": "name",
107583
+ "privacy": "public",
107584
+ "description": "Name of the form element. Will be read from name attribute.",
107489
107585
  "type": {
107490
107586
  "text": "string"
107491
107587
  },
107492
- "privacy": "public",
107493
- "default": "''",
107494
- "description": "The relationship of the linked URL as space-separated link types.",
107495
- "attribute": "rel",
107496
- "reflects": true,
107588
+ "attribute": "name",
107497
107589
  "inheritedFrom": {
107498
- "name": "SbbLinkBaseElement",
107499
- "module": "core/base-elements/link-base-element.js"
107590
+ "name": "SbbFormAssociatedMixin",
107591
+ "module": "core/mixins/form-associated-mixin.js"
107500
107592
  }
107501
107593
  },
107502
107594
  {
107503
107595
  "kind": "field",
107504
- "name": "download",
107596
+ "name": "validity",
107505
107597
  "type": {
107506
- "text": "boolean"
107598
+ "text": "ValidityState"
107507
107599
  },
107508
107600
  "privacy": "public",
107509
- "default": "false",
107510
- "description": "Whether the browser will show the download dialog on click.",
107511
- "attribute": "download",
107512
- "reflects": true,
107601
+ "description": "Returns the ValidityState object for this element.",
107602
+ "readonly": true,
107513
107603
  "inheritedFrom": {
107514
- "name": "SbbLinkBaseElement",
107515
- "module": "core/base-elements/link-base-element.js"
107604
+ "name": "SbbFormAssociatedMixin",
107605
+ "module": "core/mixins/form-associated-mixin.js"
107516
107606
  }
107517
107607
  },
107518
107608
  {
107519
107609
  "kind": "field",
107520
- "name": "accessibilityLabel",
107610
+ "name": "validationMessage",
107521
107611
  "type": {
107522
107612
  "text": "string"
107523
107613
  },
107524
107614
  "privacy": "public",
107525
- "default": "''",
107526
- "description": "This will be forwarded as aria-label to the inner anchor element.",
107527
- "attribute": "accessibility-label",
107615
+ "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.",
107616
+ "readonly": true,
107528
107617
  "inheritedFrom": {
107529
- "name": "SbbLinkBaseElement",
107530
- "module": "core/base-elements/link-base-element.js"
107618
+ "name": "SbbFormAssociatedMixin",
107619
+ "module": "core/mixins/form-associated-mixin.js"
107531
107620
  }
107532
107621
  },
107533
107622
  {
107534
107623
  "kind": "field",
107535
- "name": "accessibilityCurrent",
107624
+ "name": "willValidate",
107536
107625
  "type": {
107537
- "text": "string"
107626
+ "text": "boolean"
107538
107627
  },
107539
107628
  "privacy": "public",
107540
- "default": "''",
107541
- "description": "This will be forwarded as aria-current to the inner anchor element.",
107542
- "attribute": "accessibility-current",
107629
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
107630
+ "readonly": true,
107543
107631
  "inheritedFrom": {
107544
- "name": "SbbLinkBaseElement",
107545
- "module": "core/base-elements/link-base-element.js"
107632
+ "name": "SbbFormAssociatedMixin",
107633
+ "module": "core/mixins/form-associated-mixin.js"
107546
107634
  }
107547
107635
  },
107548
107636
  {
107549
107637
  "kind": "field",
107550
- "name": "language",
107551
- "privacy": "protected",
107552
- "default": "new SbbLanguageController(this)",
107638
+ "name": "_validityStates",
107639
+ "privacy": "private",
107640
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
107553
107641
  "inheritedFrom": {
107554
- "name": "SbbLinkBaseElement",
107555
- "module": "core/base-elements/link-base-element.js"
107642
+ "name": "SbbFormAssociatedMixin",
107643
+ "module": "core/mixins/form-associated-mixin.js"
107556
107644
  }
107557
107645
  },
107558
107646
  {
107559
107647
  "kind": "field",
107560
- "name": "_evaluateRelAttribute",
107648
+ "name": "formDisabled",
107649
+ "type": {
107650
+ "text": "boolean"
107651
+ },
107652
+ "privacy": "protected",
107653
+ "default": "false",
107654
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
107655
+ "inheritedFrom": {
107656
+ "name": "SbbFormAssociatedMixin",
107657
+ "module": "core/mixins/form-associated-mixin.js"
107658
+ }
107659
+ },
107660
+ {
107661
+ "kind": "method",
107662
+ "name": "checkValidity",
107663
+ "privacy": "public",
107664
+ "return": {
107665
+ "type": {
107666
+ "text": "boolean"
107667
+ }
107668
+ },
107669
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
107670
+ "inheritedFrom": {
107671
+ "name": "SbbFormAssociatedMixin",
107672
+ "module": "core/mixins/form-associated-mixin.js"
107673
+ }
107674
+ },
107675
+ {
107676
+ "kind": "method",
107677
+ "name": "reportValidity",
107678
+ "privacy": "public",
107679
+ "return": {
107680
+ "type": {
107681
+ "text": "boolean"
107682
+ }
107683
+ },
107684
+ "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.",
107685
+ "inheritedFrom": {
107686
+ "name": "SbbFormAssociatedMixin",
107687
+ "module": "core/mixins/form-associated-mixin.js"
107688
+ }
107689
+ },
107690
+ {
107691
+ "kind": "method",
107692
+ "name": "setCustomValidity",
107693
+ "privacy": "public",
107694
+ "return": {
107695
+ "type": {
107696
+ "text": "void"
107697
+ }
107698
+ },
107699
+ "parameters": [
107700
+ {
107701
+ "name": "message",
107702
+ "type": {
107703
+ "text": "string"
107704
+ }
107705
+ }
107706
+ ],
107707
+ "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.",
107708
+ "inheritedFrom": {
107709
+ "name": "SbbFormAssociatedMixin",
107710
+ "module": "core/mixins/form-associated-mixin.js"
107711
+ }
107712
+ },
107713
+ {
107714
+ "kind": "method",
107715
+ "name": "_hasDisabledAncestor",
107561
107716
  "privacy": "private",
107717
+ "return": {
107718
+ "type": {
107719
+ "text": "boolean"
107720
+ }
107721
+ },
107562
107722
  "inheritedFrom": {
107563
- "name": "SbbLinkBaseElement",
107564
- "module": "core/base-elements/link-base-element.js"
107723
+ "name": "SbbFormAssociatedMixin",
107724
+ "module": "core/mixins/form-associated-mixin.js"
107565
107725
  }
107566
107726
  },
107567
107727
  {
107568
107728
  "kind": "method",
107569
- "name": "renderLink",
107729
+ "name": "updateFormValue",
107570
107730
  "privacy": "protected",
107571
107731
  "return": {
107572
107732
  "type": {
107573
- "text": "TemplateResult"
107733
+ "text": "void"
107734
+ }
107735
+ },
107736
+ "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",
107737
+ "inheritedFrom": {
107738
+ "name": "SbbFormAssociatedMixin",
107739
+ "module": "core/mixins/form-associated-mixin.js"
107740
+ }
107741
+ },
107742
+ {
107743
+ "kind": "method",
107744
+ "name": "formState",
107745
+ "privacy": "protected",
107746
+ "return": {
107747
+ "type": {
107748
+ "text": "FormRestoreState"
107749
+ }
107750
+ },
107751
+ "inheritedFrom": {
107752
+ "name": "SbbFormAssociatedMixin",
107753
+ "module": "core/mixins/form-associated-mixin.js"
107754
+ }
107755
+ },
107756
+ {
107757
+ "kind": "method",
107758
+ "name": "setValidityFlag",
107759
+ "privacy": "protected",
107760
+ "return": {
107761
+ "type": {
107762
+ "text": "void"
107574
107763
  }
107575
107764
  },
107576
107765
  "parameters": [
107577
107766
  {
107578
- "name": "renderContent",
107767
+ "name": "flag",
107579
107768
  "type": {
107580
- "text": "TemplateResult"
107769
+ "text": "T"
107770
+ }
107771
+ },
107772
+ {
107773
+ "name": "message",
107774
+ "type": {
107775
+ "text": "string"
107776
+ }
107777
+ },
107778
+ {
107779
+ "name": "flagValue",
107780
+ "optional": true,
107781
+ "type": {
107782
+ "text": "ValidityStateFlags[T]"
107581
107783
  }
107582
107784
  }
107583
107785
  ],
107786
+ "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).",
107584
107787
  "inheritedFrom": {
107585
- "name": "SbbLinkBaseElement",
107586
- "module": "core/base-elements/link-base-element.js"
107788
+ "name": "SbbFormAssociatedMixin",
107789
+ "module": "core/mixins/form-associated-mixin.js"
107790
+ }
107791
+ },
107792
+ {
107793
+ "kind": "method",
107794
+ "name": "removeValidityFlag",
107795
+ "privacy": "protected",
107796
+ "return": {
107797
+ "type": {
107798
+ "text": "void"
107799
+ }
107800
+ },
107801
+ "parameters": [
107802
+ {
107803
+ "name": "flag",
107804
+ "type": {
107805
+ "text": "T"
107806
+ }
107807
+ }
107808
+ ],
107809
+ "description": "Removes the validity state flag entry and updates validity state.",
107810
+ "inheritedFrom": {
107811
+ "name": "SbbFormAssociatedMixin",
107812
+ "module": "core/mixins/form-associated-mixin.js"
107813
+ }
107814
+ },
107815
+ {
107816
+ "kind": "method",
107817
+ "name": "validate",
107818
+ "privacy": "protected",
107819
+ "return": {
107820
+ "type": {
107821
+ "text": "void"
107822
+ }
107823
+ },
107824
+ "description": "To be called whenever the current element needs to be validated.",
107825
+ "inheritedFrom": {
107826
+ "name": "SbbFormAssociatedMixin",
107827
+ "module": "core/mixins/form-associated-mixin.js"
107828
+ }
107829
+ },
107830
+ {
107831
+ "kind": "method",
107832
+ "name": "shouldValidate",
107833
+ "privacy": "protected",
107834
+ "return": {
107835
+ "type": {
107836
+ "text": "boolean"
107837
+ }
107838
+ },
107839
+ "parameters": [
107840
+ {
107841
+ "name": "name",
107842
+ "type": {
107843
+ "text": "PropertyKey | undefined"
107844
+ }
107845
+ }
107846
+ ],
107847
+ "description": "Whether validation should be run on a property change with the given name.",
107848
+ "inheritedFrom": {
107849
+ "name": "SbbFormAssociatedMixin",
107850
+ "module": "core/mixins/form-associated-mixin.js"
107851
+ }
107852
+ },
107853
+ {
107854
+ "kind": "method",
107855
+ "name": "_setInternalValidity",
107856
+ "privacy": "private",
107857
+ "return": {
107858
+ "type": {
107859
+ "text": "void"
107860
+ }
107861
+ },
107862
+ "inheritedFrom": {
107863
+ "name": "SbbFormAssociatedMixin",
107864
+ "module": "core/mixins/form-associated-mixin.js"
107865
+ }
107866
+ },
107867
+ {
107868
+ "kind": "field",
107869
+ "name": "_preventScrollOnSpaceKeydown",
107870
+ "privacy": "private",
107871
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
107872
+ "parameters": [
107873
+ {
107874
+ "description": "The origin event.",
107875
+ "name": "event"
107876
+ }
107877
+ ],
107878
+ "inheritedFrom": {
107879
+ "name": "SbbButtonLikeBaseElement",
107880
+ "module": "core/base-elements/button-base-element.js"
107881
+ }
107882
+ },
107883
+ {
107884
+ "kind": "field",
107885
+ "name": "_removeActiveMarker",
107886
+ "privacy": "private",
107887
+ "inheritedFrom": {
107888
+ "name": "SbbButtonLikeBaseElement",
107889
+ "module": "core/base-elements/button-base-element.js"
107890
+ }
107891
+ },
107892
+ {
107893
+ "kind": "field",
107894
+ "name": "_dispatchClickEventOnSpaceKeyup",
107895
+ "privacy": "private",
107896
+ "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.",
107897
+ "parameters": [
107898
+ {
107899
+ "description": "The origin event.",
107900
+ "name": "event"
107901
+ }
107902
+ ],
107903
+ "inheritedFrom": {
107904
+ "name": "SbbButtonLikeBaseElement",
107905
+ "module": "core/base-elements/button-base-element.js"
107906
+ }
107907
+ },
107908
+ {
107909
+ "kind": "field",
107910
+ "name": "_dispatchClickEvent",
107911
+ "privacy": "private",
107912
+ "inheritedFrom": {
107913
+ "name": "SbbButtonLikeBaseElement",
107914
+ "module": "core/base-elements/button-base-element.js"
107587
107915
  }
107588
107916
  },
107589
107917
  {
@@ -107734,7 +108062,7 @@
107734
108062
  ],
107735
108063
  "mixins": [
107736
108064
  {
107737
- "name": "SbbDisabledInteractiveMixin",
108065
+ "name": "SbbDisabledTabIndexActionMixin",
107738
108066
  "module": "core/mixins.js"
107739
108067
  },
107740
108068
  {
@@ -107743,10 +108071,10 @@
107743
108071
  }
107744
108072
  ],
107745
108073
  "superclass": {
107746
- "name": "SbbLinkBaseElement",
108074
+ "name": "SbbButtonBaseElement",
107747
108075
  "module": "core/base-elements.js"
107748
108076
  },
107749
- "tagName": "sbb-menu-link",
108077
+ "tagName": "sbb-menu-button",
107750
108078
  "customElement": true,
107751
108079
  "attributes": [
107752
108080
  {
@@ -107762,19 +108090,6 @@
107762
108090
  "module": "core/mixins/disabled-mixin.js"
107763
108091
  }
107764
108092
  },
107765
- {
107766
- "name": "icon-name",
107767
- "type": {
107768
- "text": "string"
107769
- },
107770
- "default": "''",
107771
- "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.",
107772
- "fieldName": "iconName",
107773
- "inheritedFrom": {
107774
- "name": "SbbIconNameMixin",
107775
- "module": "icon/icon-name-mixin.js"
107776
- }
107777
- },
107778
108093
  {
107779
108094
  "name": "disabled",
107780
108095
  "description": "Whether the component is disabled.",
@@ -107789,81 +108104,66 @@
107789
108104
  }
107790
108105
  },
107791
108106
  {
107792
- "name": "href",
108107
+ "name": "icon-name",
107793
108108
  "type": {
107794
108109
  "text": "string"
107795
108110
  },
107796
108111
  "default": "''",
107797
- "description": "The href value you want to link to.",
107798
- "fieldName": "href",
107799
- "inheritedFrom": {
107800
- "name": "SbbLinkBaseElement",
107801
- "module": "core/base-elements/link-base-element.js"
107802
- }
107803
- },
107804
- {
107805
- "name": "target",
107806
- "type": {
107807
- "text": "LinkTargetType | string"
107808
- },
107809
- "default": "''",
107810
- "description": "Where to display the linked URL.",
107811
- "fieldName": "target",
108112
+ "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.",
108113
+ "fieldName": "iconName",
107812
108114
  "inheritedFrom": {
107813
- "name": "SbbLinkBaseElement",
107814
- "module": "core/base-elements/link-base-element.js"
108115
+ "name": "SbbIconNameMixin",
108116
+ "module": "icon/icon-name-mixin.js"
107815
108117
  }
107816
108118
  },
107817
108119
  {
107818
- "name": "rel",
108120
+ "name": "value",
107819
108121
  "type": {
107820
108122
  "text": "string"
107821
108123
  },
107822
108124
  "default": "''",
107823
- "description": "The relationship of the linked URL as space-separated link types.",
107824
- "fieldName": "rel",
108125
+ "description": "Value of the form element.",
108126
+ "fieldName": "value",
107825
108127
  "inheritedFrom": {
107826
- "name": "SbbLinkBaseElement",
107827
- "module": "core/base-elements/link-base-element.js"
108128
+ "name": "SbbButtonBaseElement",
108129
+ "module": "core/base-elements/button-base-element.js"
107828
108130
  }
107829
108131
  },
107830
108132
  {
107831
- "name": "download",
108133
+ "name": "type",
108134
+ "description": "The type attribute to use for the button.",
108135
+ "default": "'button'",
107832
108136
  "type": {
107833
- "text": "boolean"
108137
+ "text": "SbbButtonType"
107834
108138
  },
107835
- "default": "false",
107836
- "description": "Whether the browser will show the download dialog on click.",
107837
- "fieldName": "download",
108139
+ "fieldName": "type",
107838
108140
  "inheritedFrom": {
107839
- "name": "SbbLinkBaseElement",
107840
- "module": "core/base-elements/link-base-element.js"
108141
+ "name": "SbbButtonBaseElement",
108142
+ "module": "core/base-elements/button-base-element.js"
107841
108143
  }
107842
108144
  },
107843
108145
  {
107844
- "name": "accessibility-label",
108146
+ "name": "form",
108147
+ "description": "The `<form>` element to associate the button with.",
107845
108148
  "type": {
107846
- "text": "string"
108149
+ "text": "HTMLFormElement | null"
107847
108150
  },
107848
- "default": "''",
107849
- "description": "This will be forwarded as aria-label to the inner anchor element.",
107850
- "fieldName": "accessibilityLabel",
108151
+ "fieldName": "form",
107851
108152
  "inheritedFrom": {
107852
- "name": "SbbLinkBaseElement",
107853
- "module": "core/base-elements/link-base-element.js"
108153
+ "name": "SbbButtonBaseElement",
108154
+ "module": "core/base-elements/button-base-element.js"
107854
108155
  }
107855
108156
  },
107856
108157
  {
107857
- "name": "accessibility-current",
108158
+ "name": "name",
108159
+ "description": "Name of the form element. Will be read from name attribute.",
107858
108160
  "type": {
107859
108161
  "text": "string"
107860
108162
  },
107861
- "default": "''",
107862
- "description": "This will be forwarded as aria-current to the inner anchor element.",
107863
- "fieldName": "accessibilityCurrent",
108163
+ "fieldName": "name",
107864
108164
  "inheritedFrom": {
107865
- "name": "SbbLinkBaseElement",
107866
- "module": "core/base-elements/link-base-element.js"
108165
+ "name": "SbbFormAssociatedMixin",
108166
+ "module": "core/mixins/form-associated-mixin.js"
107867
108167
  }
107868
108168
  }
107869
108169
  ]
@@ -107872,22 +108172,22 @@
107872
108172
  "exports": [
107873
108173
  {
107874
108174
  "kind": "js",
107875
- "name": "SbbMenuLinkElement",
108175
+ "name": "SbbMenuButtonElement",
107876
108176
  "declaration": {
107877
- "name": "SbbMenuLinkElement",
107878
- "module": "menu/menu-link/menu-link.component.js"
108177
+ "name": "SbbMenuButtonElement",
108178
+ "module": "menu/menu-button/menu-button.component.js"
107879
108179
  }
107880
108180
  }
107881
108181
  ]
107882
108182
  },
107883
108183
  {
107884
108184
  "kind": "javascript-module",
107885
- "path": "menu/menu-button/menu-button.component.js",
108185
+ "path": "menu/menu-link/menu-link.component.js",
107886
108186
  "declarations": [
107887
108187
  {
107888
108188
  "kind": "class",
107889
- "description": "It displays a button element that can be used in the `sbb-menu` component.",
107890
- "name": "SbbMenuButtonElement",
108189
+ "description": "It displays a link element that can be used in the `sbb-menu` component.",
108190
+ "name": "SbbMenuLinkElement",
107891
108191
  "cssProperties": [
107892
108192
  {
107893
108193
  "description": "Can be used to modify horizontal padding.",
@@ -107897,7 +108197,7 @@
107897
108197
  ],
107898
108198
  "slots": [
107899
108199
  {
107900
- "description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
108200
+ "description": "Use the unnamed slot to add content to the `sbb-menu-link`.",
107901
108201
  "name": ""
107902
108202
  },
107903
108203
  {
@@ -107919,21 +108219,20 @@
107919
108219
  "name": "SbbElement",
107920
108220
  "module": "core/base-elements/element.js"
107921
108221
  },
107922
- "default": "'sbb-menu-button'"
108222
+ "default": "'sbb-menu-link'"
107923
108223
  },
107924
108224
  {
107925
108225
  "kind": "field",
107926
- "name": "role",
108226
+ "name": "anchorRole",
107927
108227
  "type": {
107928
- "text": "ElementInternals['role']"
108228
+ "text": "string"
107929
108229
  },
107930
- "privacy": "public",
107931
- "static": true,
108230
+ "privacy": "protected",
107932
108231
  "readonly": true,
107933
108232
  "default": "'menuitem'",
107934
108233
  "inheritedFrom": {
107935
- "name": "SbbButtonLikeBaseElement",
107936
- "module": "core/base-elements/button-base-element.js"
108234
+ "name": "SbbLinkBaseElement",
108235
+ "module": "core/base-elements/link-base-element.js"
107937
108236
  }
107938
108237
  },
107939
108238
  {
@@ -107952,50 +108251,6 @@
107952
108251
  "module": "core/mixins/disabled-mixin.js"
107953
108252
  }
107954
108253
  },
107955
- {
107956
- "kind": "field",
107957
- "name": "disabled",
107958
- "privacy": "public",
107959
- "description": "Whether the component is disabled.",
107960
- "default": "false",
107961
- "type": {
107962
- "text": "boolean"
107963
- },
107964
- "attribute": "disabled",
107965
- "reflects": true,
107966
- "inheritedFrom": {
107967
- "name": "SbbDisabledMixin",
107968
- "module": "core/mixins/disabled-mixin.js"
107969
- }
107970
- },
107971
- {
107972
- "kind": "field",
107973
- "name": "#disabled",
107974
- "privacy": "private",
107975
- "type": {
107976
- "text": "boolean"
107977
- },
107978
- "default": "false",
107979
- "inheritedFrom": {
107980
- "name": "SbbDisabledMixin",
107981
- "module": "core/mixins/disabled-mixin.js"
107982
- }
107983
- },
107984
- {
107985
- "kind": "method",
107986
- "name": "isDisabledExternally",
107987
- "privacy": "protected",
107988
- "return": {
107989
- "type": {
107990
- "text": "boolean"
107991
- }
107992
- },
107993
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
107994
- "inheritedFrom": {
107995
- "name": "SbbDisabledMixin",
107996
- "module": "core/mixins/disabled-mixin.js"
107997
- }
107998
- },
107999
108254
  {
108000
108255
  "kind": "field",
108001
108256
  "name": "styles",
@@ -108093,464 +108348,181 @@
108093
108348
  },
108094
108349
  {
108095
108350
  "kind": "field",
108096
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
108097
- "type": {
108098
- "text": "array"
108099
- },
108100
- "privacy": "private",
108101
- "readonly": true,
108102
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
108103
- "inheritedFrom": {
108104
- "name": "SbbButtonBaseElement",
108105
- "module": "core/base-elements/button-base-element.js"
108106
- }
108107
- },
108108
- {
108109
- "kind": "field",
108110
- "name": "value",
108111
- "type": {
108112
- "text": "string"
108113
- },
108114
- "privacy": "public",
108115
- "inheritedFrom": {
108116
- "name": "SbbButtonBaseElement",
108117
- "module": "core/base-elements/button-base-element.js"
108118
- },
108119
- "default": "''",
108120
- "description": "Value of the form element.",
108121
- "attribute": "value"
108122
- },
108123
- {
108124
- "kind": "field",
108125
- "name": "type",
108351
+ "name": "disabled",
108126
108352
  "privacy": "public",
108127
- "description": "The type attribute to use for the button.",
108128
- "default": "'button'",
108353
+ "description": "Whether the component is disabled.",
108354
+ "default": "false",
108129
108355
  "type": {
108130
- "text": "SbbButtonType"
108356
+ "text": "boolean"
108131
108357
  },
108132
- "attribute": "type",
108358
+ "attribute": "disabled",
108359
+ "reflects": true,
108133
108360
  "inheritedFrom": {
108134
- "name": "SbbButtonBaseElement",
108135
- "module": "core/base-elements/button-base-element.js"
108361
+ "name": "SbbDisabledMixin",
108362
+ "module": "core/mixins/disabled-mixin.js"
108136
108363
  }
108137
108364
  },
108138
108365
  {
108139
108366
  "kind": "field",
108140
- "name": "form",
108141
- "type": {
108142
- "text": "HTMLFormElement | null"
108143
- },
108144
- "privacy": "public",
108145
- "description": "The `<form>` element to associate the button with.",
108146
- "inheritedFrom": {
108147
- "name": "SbbButtonBaseElement",
108148
- "module": "core/base-elements/button-base-element.js"
108149
- },
108150
- "attribute": "form"
108151
- },
108152
- {
108153
- "kind": "field",
108154
- "name": "_formId",
108367
+ "name": "#disabled",
108368
+ "privacy": "private",
108155
108369
  "type": {
108156
- "text": "string"
108370
+ "text": "boolean"
108157
108371
  },
108158
- "privacy": "private",
108159
- "default": "''",
108160
- "inheritedFrom": {
108161
- "name": "SbbButtonBaseElement",
108162
- "module": "core/base-elements/button-base-element.js"
108163
- }
108164
- },
108165
- {
108166
- "kind": "field",
108167
- "name": "_handleButtonClick",
108168
- "privacy": "private",
108372
+ "default": "false",
108169
108373
  "inheritedFrom": {
108170
- "name": "SbbButtonBaseElement",
108171
- "module": "core/base-elements/button-base-element.js"
108374
+ "name": "SbbDisabledMixin",
108375
+ "module": "core/mixins/disabled-mixin.js"
108172
108376
  }
108173
108377
  },
108174
108378
  {
108175
108379
  "kind": "method",
108176
- "name": "_requestSubmit",
108177
- "privacy": "private",
108380
+ "name": "isDisabledExternally",
108381
+ "privacy": "protected",
108178
108382
  "return": {
108179
108383
  "type": {
108180
- "text": "void"
108181
- }
108182
- },
108183
- "parameters": [
108184
- {
108185
- "name": "form",
108186
- "type": {
108187
- "text": "HTMLFormElement"
108188
- }
108384
+ "text": "boolean"
108189
108385
  }
108190
- ],
108191
- "inheritedFrom": {
108192
- "name": "SbbButtonBaseElement",
108193
- "module": "core/base-elements/button-base-element.js"
108194
- }
108195
- },
108196
- {
108197
- "kind": "field",
108198
- "name": "_formKeyDown",
108199
- "privacy": "private",
108200
- "inheritedFrom": {
108201
- "name": "SbbButtonBaseElement",
108202
- "module": "core/base-elements/button-base-element.js"
108203
- }
108204
- },
108205
- {
108206
- "kind": "field",
108207
- "name": "formAssociated",
108208
- "type": {
108209
- "text": "boolean"
108210
108386
  },
108211
- "privacy": "public",
108212
- "static": true,
108213
- "default": "true",
108387
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
108214
108388
  "inheritedFrom": {
108215
- "name": "SbbFormAssociatedMixin",
108216
- "module": "core/mixins/form-associated-mixin.js"
108389
+ "name": "SbbDisabledMixin",
108390
+ "module": "core/mixins/disabled-mixin.js"
108217
108391
  }
108218
108392
  },
108219
108393
  {
108220
108394
  "kind": "field",
108221
- "name": "name",
108222
- "privacy": "public",
108223
- "description": "Name of the form element. Will be read from name attribute.",
108395
+ "name": "href",
108224
108396
  "type": {
108225
108397
  "text": "string"
108226
108398
  },
108227
- "attribute": "name",
108399
+ "privacy": "public",
108400
+ "default": "''",
108401
+ "description": "The href value you want to link to.",
108402
+ "attribute": "href",
108403
+ "reflects": true,
108228
108404
  "inheritedFrom": {
108229
- "name": "SbbFormAssociatedMixin",
108230
- "module": "core/mixins/form-associated-mixin.js"
108405
+ "name": "SbbLinkBaseElement",
108406
+ "module": "core/base-elements/link-base-element.js"
108231
108407
  }
108232
108408
  },
108233
108409
  {
108234
108410
  "kind": "field",
108235
- "name": "validity",
108411
+ "name": "target",
108236
108412
  "type": {
108237
- "text": "ValidityState"
108413
+ "text": "LinkTargetType | string"
108238
108414
  },
108239
108415
  "privacy": "public",
108240
- "description": "Returns the ValidityState object for this element.",
108241
- "readonly": true,
108416
+ "default": "''",
108417
+ "description": "Where to display the linked URL.",
108418
+ "attribute": "target",
108419
+ "reflects": true,
108242
108420
  "inheritedFrom": {
108243
- "name": "SbbFormAssociatedMixin",
108244
- "module": "core/mixins/form-associated-mixin.js"
108421
+ "name": "SbbLinkBaseElement",
108422
+ "module": "core/base-elements/link-base-element.js"
108245
108423
  }
108246
108424
  },
108247
108425
  {
108248
108426
  "kind": "field",
108249
- "name": "validationMessage",
108427
+ "name": "rel",
108250
108428
  "type": {
108251
108429
  "text": "string"
108252
108430
  },
108253
108431
  "privacy": "public",
108254
- "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.",
108255
- "readonly": true,
108432
+ "default": "''",
108433
+ "description": "The relationship of the linked URL as space-separated link types.",
108434
+ "attribute": "rel",
108435
+ "reflects": true,
108256
108436
  "inheritedFrom": {
108257
- "name": "SbbFormAssociatedMixin",
108258
- "module": "core/mixins/form-associated-mixin.js"
108437
+ "name": "SbbLinkBaseElement",
108438
+ "module": "core/base-elements/link-base-element.js"
108259
108439
  }
108260
108440
  },
108261
108441
  {
108262
108442
  "kind": "field",
108263
- "name": "willValidate",
108443
+ "name": "download",
108264
108444
  "type": {
108265
108445
  "text": "boolean"
108266
108446
  },
108267
108447
  "privacy": "public",
108268
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
108269
- "readonly": true,
108270
- "inheritedFrom": {
108271
- "name": "SbbFormAssociatedMixin",
108272
- "module": "core/mixins/form-associated-mixin.js"
108273
- }
108274
- },
108275
- {
108276
- "kind": "field",
108277
- "name": "_validityStates",
108278
- "privacy": "private",
108279
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
108448
+ "default": "false",
108449
+ "description": "Whether the browser will show the download dialog on click.",
108450
+ "attribute": "download",
108451
+ "reflects": true,
108280
108452
  "inheritedFrom": {
108281
- "name": "SbbFormAssociatedMixin",
108282
- "module": "core/mixins/form-associated-mixin.js"
108453
+ "name": "SbbLinkBaseElement",
108454
+ "module": "core/base-elements/link-base-element.js"
108283
108455
  }
108284
108456
  },
108285
108457
  {
108286
108458
  "kind": "field",
108287
- "name": "formDisabled",
108459
+ "name": "accessibilityLabel",
108288
108460
  "type": {
108289
- "text": "boolean"
108461
+ "text": "string"
108290
108462
  },
108291
- "privacy": "protected",
108292
- "default": "false",
108293
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
108294
- "inheritedFrom": {
108295
- "name": "SbbFormAssociatedMixin",
108296
- "module": "core/mixins/form-associated-mixin.js"
108297
- }
108298
- },
108299
- {
108300
- "kind": "method",
108301
- "name": "checkValidity",
108302
108463
  "privacy": "public",
108303
- "return": {
108304
- "type": {
108305
- "text": "boolean"
108306
- }
108307
- },
108308
- "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
108464
+ "default": "''",
108465
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
108466
+ "attribute": "accessibility-label",
108309
108467
  "inheritedFrom": {
108310
- "name": "SbbFormAssociatedMixin",
108311
- "module": "core/mixins/form-associated-mixin.js"
108468
+ "name": "SbbLinkBaseElement",
108469
+ "module": "core/base-elements/link-base-element.js"
108312
108470
  }
108313
108471
  },
108314
108472
  {
108315
- "kind": "method",
108316
- "name": "reportValidity",
108317
- "privacy": "public",
108318
- "return": {
108319
- "type": {
108320
- "text": "boolean"
108321
- }
108473
+ "kind": "field",
108474
+ "name": "accessibilityCurrent",
108475
+ "type": {
108476
+ "text": "string"
108322
108477
  },
108323
- "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.",
108324
- "inheritedFrom": {
108325
- "name": "SbbFormAssociatedMixin",
108326
- "module": "core/mixins/form-associated-mixin.js"
108327
- }
108328
- },
108329
- {
108330
- "kind": "method",
108331
- "name": "setCustomValidity",
108332
108478
  "privacy": "public",
108333
- "return": {
108334
- "type": {
108335
- "text": "void"
108336
- }
108337
- },
108338
- "parameters": [
108339
- {
108340
- "name": "message",
108341
- "type": {
108342
- "text": "string"
108343
- }
108344
- }
108345
- ],
108346
- "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.",
108347
- "inheritedFrom": {
108348
- "name": "SbbFormAssociatedMixin",
108349
- "module": "core/mixins/form-associated-mixin.js"
108350
- }
108351
- },
108352
- {
108353
- "kind": "method",
108354
- "name": "_hasDisabledAncestor",
108355
- "privacy": "private",
108356
- "return": {
108357
- "type": {
108358
- "text": "boolean"
108359
- }
108360
- },
108361
- "inheritedFrom": {
108362
- "name": "SbbFormAssociatedMixin",
108363
- "module": "core/mixins/form-associated-mixin.js"
108364
- }
108365
- },
108366
- {
108367
- "kind": "method",
108368
- "name": "updateFormValue",
108369
- "privacy": "protected",
108370
- "return": {
108371
- "type": {
108372
- "text": "void"
108373
- }
108374
- },
108375
- "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",
108376
- "inheritedFrom": {
108377
- "name": "SbbFormAssociatedMixin",
108378
- "module": "core/mixins/form-associated-mixin.js"
108379
- }
108380
- },
108381
- {
108382
- "kind": "method",
108383
- "name": "formState",
108384
- "privacy": "protected",
108385
- "return": {
108386
- "type": {
108387
- "text": "FormRestoreState"
108388
- }
108389
- },
108390
- "inheritedFrom": {
108391
- "name": "SbbFormAssociatedMixin",
108392
- "module": "core/mixins/form-associated-mixin.js"
108393
- }
108394
- },
108395
- {
108396
- "kind": "method",
108397
- "name": "setValidityFlag",
108398
- "privacy": "protected",
108399
- "return": {
108400
- "type": {
108401
- "text": "void"
108402
- }
108403
- },
108404
- "parameters": [
108405
- {
108406
- "name": "flag",
108407
- "type": {
108408
- "text": "T"
108409
- }
108410
- },
108411
- {
108412
- "name": "message",
108413
- "type": {
108414
- "text": "string"
108415
- }
108416
- },
108417
- {
108418
- "name": "flagValue",
108419
- "optional": true,
108420
- "type": {
108421
- "text": "ValidityStateFlags[T]"
108422
- }
108423
- }
108424
- ],
108425
- "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).",
108479
+ "default": "''",
108480
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
108481
+ "attribute": "accessibility-current",
108426
108482
  "inheritedFrom": {
108427
- "name": "SbbFormAssociatedMixin",
108428
- "module": "core/mixins/form-associated-mixin.js"
108483
+ "name": "SbbLinkBaseElement",
108484
+ "module": "core/base-elements/link-base-element.js"
108429
108485
  }
108430
108486
  },
108431
108487
  {
108432
- "kind": "method",
108433
- "name": "removeValidityFlag",
108488
+ "kind": "field",
108489
+ "name": "language",
108434
108490
  "privacy": "protected",
108435
- "return": {
108436
- "type": {
108437
- "text": "void"
108438
- }
108439
- },
108440
- "parameters": [
108441
- {
108442
- "name": "flag",
108443
- "type": {
108444
- "text": "T"
108445
- }
108446
- }
108447
- ],
108448
- "description": "Removes the validity state flag entry and updates validity state.",
108491
+ "default": "new SbbLanguageController(this)",
108449
108492
  "inheritedFrom": {
108450
- "name": "SbbFormAssociatedMixin",
108451
- "module": "core/mixins/form-associated-mixin.js"
108493
+ "name": "SbbLinkBaseElement",
108494
+ "module": "core/base-elements/link-base-element.js"
108452
108495
  }
108453
108496
  },
108454
108497
  {
108455
- "kind": "method",
108456
- "name": "validate",
108457
- "privacy": "protected",
108458
- "return": {
108459
- "type": {
108460
- "text": "void"
108461
- }
108462
- },
108463
- "description": "To be called whenever the current element needs to be validated.",
108498
+ "kind": "field",
108499
+ "name": "_evaluateRelAttribute",
108500
+ "privacy": "private",
108464
108501
  "inheritedFrom": {
108465
- "name": "SbbFormAssociatedMixin",
108466
- "module": "core/mixins/form-associated-mixin.js"
108502
+ "name": "SbbLinkBaseElement",
108503
+ "module": "core/base-elements/link-base-element.js"
108467
108504
  }
108468
108505
  },
108469
108506
  {
108470
108507
  "kind": "method",
108471
- "name": "shouldValidate",
108508
+ "name": "renderLink",
108472
108509
  "privacy": "protected",
108473
108510
  "return": {
108474
108511
  "type": {
108475
- "text": "boolean"
108512
+ "text": "TemplateResult"
108476
108513
  }
108477
108514
  },
108478
108515
  "parameters": [
108479
108516
  {
108480
- "name": "name",
108517
+ "name": "renderContent",
108481
108518
  "type": {
108482
- "text": "PropertyKey | undefined"
108519
+ "text": "TemplateResult"
108483
108520
  }
108484
108521
  }
108485
108522
  ],
108486
- "description": "Whether validation should be run on a property change with the given name.",
108487
- "inheritedFrom": {
108488
- "name": "SbbFormAssociatedMixin",
108489
- "module": "core/mixins/form-associated-mixin.js"
108490
- }
108491
- },
108492
- {
108493
- "kind": "method",
108494
- "name": "_setInternalValidity",
108495
- "privacy": "private",
108496
- "return": {
108497
- "type": {
108498
- "text": "void"
108499
- }
108500
- },
108501
- "inheritedFrom": {
108502
- "name": "SbbFormAssociatedMixin",
108503
- "module": "core/mixins/form-associated-mixin.js"
108504
- }
108505
- },
108506
- {
108507
- "kind": "field",
108508
- "name": "_preventScrollOnSpaceKeydown",
108509
- "privacy": "private",
108510
- "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
108511
- "parameters": [
108512
- {
108513
- "description": "The origin event.",
108514
- "name": "event"
108515
- }
108516
- ],
108517
- "inheritedFrom": {
108518
- "name": "SbbButtonLikeBaseElement",
108519
- "module": "core/base-elements/button-base-element.js"
108520
- }
108521
- },
108522
- {
108523
- "kind": "field",
108524
- "name": "_removeActiveMarker",
108525
- "privacy": "private",
108526
- "inheritedFrom": {
108527
- "name": "SbbButtonLikeBaseElement",
108528
- "module": "core/base-elements/button-base-element.js"
108529
- }
108530
- },
108531
- {
108532
- "kind": "field",
108533
- "name": "_dispatchClickEventOnSpaceKeyup",
108534
- "privacy": "private",
108535
- "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.",
108536
- "parameters": [
108537
- {
108538
- "description": "The origin event.",
108539
- "name": "event"
108540
- }
108541
- ],
108542
108523
  "inheritedFrom": {
108543
- "name": "SbbButtonLikeBaseElement",
108544
- "module": "core/base-elements/button-base-element.js"
108545
- }
108546
- },
108547
- {
108548
- "kind": "field",
108549
- "name": "_dispatchClickEvent",
108550
- "privacy": "private",
108551
- "inheritedFrom": {
108552
- "name": "SbbButtonLikeBaseElement",
108553
- "module": "core/base-elements/button-base-element.js"
108524
+ "name": "SbbLinkBaseElement",
108525
+ "module": "core/base-elements/link-base-element.js"
108554
108526
  }
108555
108527
  },
108556
108528
  {
@@ -108701,7 +108673,7 @@
108701
108673
  ],
108702
108674
  "mixins": [
108703
108675
  {
108704
- "name": "SbbDisabledTabIndexActionMixin",
108676
+ "name": "SbbDisabledInteractiveMixin",
108705
108677
  "module": "core/mixins.js"
108706
108678
  },
108707
108679
  {
@@ -108710,10 +108682,10 @@
108710
108682
  }
108711
108683
  ],
108712
108684
  "superclass": {
108713
- "name": "SbbButtonBaseElement",
108685
+ "name": "SbbLinkBaseElement",
108714
108686
  "module": "core/base-elements.js"
108715
108687
  },
108716
- "tagName": "sbb-menu-button",
108688
+ "tagName": "sbb-menu-link",
108717
108689
  "customElement": true,
108718
108690
  "attributes": [
108719
108691
  {
@@ -108729,6 +108701,19 @@
108729
108701
  "module": "core/mixins/disabled-mixin.js"
108730
108702
  }
108731
108703
  },
108704
+ {
108705
+ "name": "icon-name",
108706
+ "type": {
108707
+ "text": "string"
108708
+ },
108709
+ "default": "''",
108710
+ "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.",
108711
+ "fieldName": "iconName",
108712
+ "inheritedFrom": {
108713
+ "name": "SbbIconNameMixin",
108714
+ "module": "icon/icon-name-mixin.js"
108715
+ }
108716
+ },
108732
108717
  {
108733
108718
  "name": "disabled",
108734
108719
  "description": "Whether the component is disabled.",
@@ -108743,66 +108728,81 @@
108743
108728
  }
108744
108729
  },
108745
108730
  {
108746
- "name": "icon-name",
108731
+ "name": "href",
108747
108732
  "type": {
108748
108733
  "text": "string"
108749
108734
  },
108750
108735
  "default": "''",
108751
- "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.",
108752
- "fieldName": "iconName",
108736
+ "description": "The href value you want to link to.",
108737
+ "fieldName": "href",
108753
108738
  "inheritedFrom": {
108754
- "name": "SbbIconNameMixin",
108755
- "module": "icon/icon-name-mixin.js"
108739
+ "name": "SbbLinkBaseElement",
108740
+ "module": "core/base-elements/link-base-element.js"
108756
108741
  }
108757
108742
  },
108758
108743
  {
108759
- "name": "value",
108744
+ "name": "target",
108745
+ "type": {
108746
+ "text": "LinkTargetType | string"
108747
+ },
108748
+ "default": "''",
108749
+ "description": "Where to display the linked URL.",
108750
+ "fieldName": "target",
108751
+ "inheritedFrom": {
108752
+ "name": "SbbLinkBaseElement",
108753
+ "module": "core/base-elements/link-base-element.js"
108754
+ }
108755
+ },
108756
+ {
108757
+ "name": "rel",
108760
108758
  "type": {
108761
108759
  "text": "string"
108762
108760
  },
108763
108761
  "default": "''",
108764
- "description": "Value of the form element.",
108765
- "fieldName": "value",
108762
+ "description": "The relationship of the linked URL as space-separated link types.",
108763
+ "fieldName": "rel",
108766
108764
  "inheritedFrom": {
108767
- "name": "SbbButtonBaseElement",
108768
- "module": "core/base-elements/button-base-element.js"
108765
+ "name": "SbbLinkBaseElement",
108766
+ "module": "core/base-elements/link-base-element.js"
108769
108767
  }
108770
108768
  },
108771
108769
  {
108772
- "name": "type",
108773
- "description": "The type attribute to use for the button.",
108774
- "default": "'button'",
108770
+ "name": "download",
108775
108771
  "type": {
108776
- "text": "SbbButtonType"
108772
+ "text": "boolean"
108777
108773
  },
108778
- "fieldName": "type",
108774
+ "default": "false",
108775
+ "description": "Whether the browser will show the download dialog on click.",
108776
+ "fieldName": "download",
108779
108777
  "inheritedFrom": {
108780
- "name": "SbbButtonBaseElement",
108781
- "module": "core/base-elements/button-base-element.js"
108778
+ "name": "SbbLinkBaseElement",
108779
+ "module": "core/base-elements/link-base-element.js"
108782
108780
  }
108783
108781
  },
108784
108782
  {
108785
- "name": "form",
108786
- "description": "The `<form>` element to associate the button with.",
108783
+ "name": "accessibility-label",
108787
108784
  "type": {
108788
- "text": "HTMLFormElement | null"
108785
+ "text": "string"
108789
108786
  },
108790
- "fieldName": "form",
108787
+ "default": "''",
108788
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
108789
+ "fieldName": "accessibilityLabel",
108791
108790
  "inheritedFrom": {
108792
- "name": "SbbButtonBaseElement",
108793
- "module": "core/base-elements/button-base-element.js"
108791
+ "name": "SbbLinkBaseElement",
108792
+ "module": "core/base-elements/link-base-element.js"
108794
108793
  }
108795
108794
  },
108796
108795
  {
108797
- "name": "name",
108798
- "description": "Name of the form element. Will be read from name attribute.",
108796
+ "name": "accessibility-current",
108799
108797
  "type": {
108800
108798
  "text": "string"
108801
108799
  },
108802
- "fieldName": "name",
108800
+ "default": "''",
108801
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
108802
+ "fieldName": "accessibilityCurrent",
108803
108803
  "inheritedFrom": {
108804
- "name": "SbbFormAssociatedMixin",
108805
- "module": "core/mixins/form-associated-mixin.js"
108804
+ "name": "SbbLinkBaseElement",
108805
+ "module": "core/base-elements/link-base-element.js"
108806
108806
  }
108807
108807
  }
108808
108808
  ]
@@ -108811,10 +108811,10 @@
108811
108811
  "exports": [
108812
108812
  {
108813
108813
  "kind": "js",
108814
- "name": "SbbMenuButtonElement",
108814
+ "name": "SbbMenuLinkElement",
108815
108815
  "declaration": {
108816
- "name": "SbbMenuButtonElement",
108817
- "module": "menu/menu-button/menu-button.component.js"
108816
+ "name": "SbbMenuLinkElement",
108817
+ "module": "menu/menu-link/menu-link.component.js"
108818
108818
  }
108819
108819
  }
108820
108820
  ]
@@ -123967,364 +123967,109 @@
123967
123967
  }
123968
123968
  }
123969
123969
  ],
123970
- "mixins": [
123971
- {
123972
- "name": "SbbIconNameMixin",
123973
- "module": "icon.js"
123974
- },
123975
- {
123976
- "name": "SbbDisabledMixin",
123977
- "module": "core/mixins.js"
123978
- }
123979
- ],
123980
- "superclass": {
123981
- "name": "SbbButtonBaseElement",
123982
- "module": "core/base-elements.js"
123983
- },
123984
- "tagName": "sbb-step-label",
123985
- "customElement": true,
123986
- "attributes": [
123987
- {
123988
- "name": "icon-name",
123989
- "type": {
123990
- "text": "string"
123991
- },
123992
- "default": "''",
123993
- "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.",
123994
- "fieldName": "iconName",
123995
- "inheritedFrom": {
123996
- "name": "SbbIconNameMixin",
123997
- "module": "icon/icon-name-mixin.js"
123998
- }
123999
- },
124000
- {
124001
- "name": "disabled",
124002
- "description": "Whether the component is disabled.",
124003
- "default": "false",
124004
- "type": {
124005
- "text": "boolean"
124006
- },
124007
- "fieldName": "disabled",
124008
- "inheritedFrom": {
124009
- "name": "SbbDisabledMixin",
124010
- "module": "core/mixins/disabled-mixin.js"
124011
- }
124012
- },
124013
- {
124014
- "name": "value",
124015
- "type": {
124016
- "text": "string"
124017
- },
124018
- "default": "''",
124019
- "description": "Value of the form element.",
124020
- "fieldName": "value",
124021
- "inheritedFrom": {
124022
- "name": "SbbButtonBaseElement",
124023
- "module": "core/base-elements/button-base-element.js"
124024
- }
124025
- },
124026
- {
124027
- "name": "type",
124028
- "description": "The type attribute to use for the button.",
124029
- "default": "'button'",
124030
- "type": {
124031
- "text": "SbbButtonType"
124032
- },
124033
- "fieldName": "type",
124034
- "inheritedFrom": {
124035
- "name": "SbbButtonBaseElement",
124036
- "module": "core/base-elements/button-base-element.js"
124037
- }
124038
- },
124039
- {
124040
- "name": "form",
124041
- "description": "The `<form>` element to associate the button with.",
124042
- "type": {
124043
- "text": "HTMLFormElement | null"
124044
- },
124045
- "fieldName": "form",
124046
- "inheritedFrom": {
124047
- "name": "SbbButtonBaseElement",
124048
- "module": "core/base-elements/button-base-element.js"
124049
- }
124050
- },
124051
- {
124052
- "name": "name",
124053
- "description": "Name of the form element. Will be read from name attribute.",
124054
- "type": {
124055
- "text": "string"
124056
- },
124057
- "fieldName": "name",
124058
- "inheritedFrom": {
124059
- "name": "SbbFormAssociatedMixin",
124060
- "module": "core/mixins/form-associated-mixin.js"
124061
- }
124062
- }
124063
- ]
124064
- }
124065
- ],
124066
- "exports": [
124067
- {
124068
- "kind": "js",
124069
- "name": "SbbStepLabelElement",
124070
- "declaration": {
124071
- "name": "SbbStepLabelElement",
124072
- "module": "stepper/step-label/step-label.component.js"
124073
- }
124074
- }
124075
- ]
124076
- },
124077
- {
124078
- "kind": "javascript-module",
124079
- "path": "table/table-wrapper/table-wrapper.component.js",
124080
- "declarations": [
124081
- {
124082
- "kind": "class",
124083
- "description": "Wraps a table to enhance its functionality.",
124084
- "name": "SbbTableWrapperElement",
124085
- "slots": [
124086
- {
124087
- "description": "Use the unnamed slot to add the table.",
124088
- "name": ""
124089
- }
124090
- ],
124091
- "members": [
124092
- {
124093
- "kind": "field",
124094
- "name": "elementName",
124095
- "type": {
124096
- "text": "string"
124097
- },
124098
- "privacy": "public",
124099
- "static": true,
124100
- "readonly": true,
124101
- "default": "'sbb-table-wrapper'",
124102
- "inheritedFrom": {
124103
- "name": "SbbElement",
124104
- "module": "core/base-elements/element.js"
124105
- }
124106
- },
124107
- {
124108
- "kind": "field",
124109
- "name": "role",
124110
- "type": {
124111
- "text": "string"
124112
- },
124113
- "privacy": "public",
124114
- "static": true,
124115
- "readonly": true,
124116
- "default": "'section'"
124117
- },
124118
- {
124119
- "kind": "field",
124120
- "name": "focusable",
124121
- "type": {
124122
- "text": "boolean"
124123
- },
124124
- "privacy": "public",
124125
- "default": "false",
124126
- "description": "Whether the table wrapper is focusable.",
124127
- "attribute": "focusable",
124128
- "reflects": true
124129
- },
124130
- {
124131
- "kind": "method",
124132
- "name": "_updateScrollbarClass",
124133
- "privacy": "private",
124134
- "return": {
124135
- "type": {
124136
- "text": "void"
124137
- }
124138
- }
124139
- },
124140
- {
124141
- "kind": "method",
124142
- "name": "_checkHorizontalScrollbarOffset",
124143
- "privacy": "private",
124144
- "return": {
124145
- "type": {
124146
- "text": "void"
124147
- }
124148
- },
124149
- "description": "Calculates whether the table is horizontally scrolled and adds the\ncorresponding class `sbb-table-wrapper-offset-${none | left | right | both}`"
124150
- },
124151
- {
124152
- "kind": "method",
124153
- "name": "_calculateScrollOffset",
124154
- "privacy": "private",
124155
- "return": {
124156
- "type": {
124157
- "text": "'none' | 'left' | 'right' | 'both'"
124158
- }
124159
- }
124160
- },
124161
- {
124162
- "kind": "field",
124163
- "name": "negative",
124164
- "type": {
124165
- "text": "boolean"
124166
- },
124167
- "privacy": "public",
124168
- "default": "false",
124169
- "description": "Negative coloring variant flag.",
124170
- "attribute": "negative",
124171
- "reflects": true,
124172
- "inheritedFrom": {
124173
- "name": "SbbNegativeMixin",
124174
- "module": "core/mixins/negative-mixin.js"
124175
- }
124176
- },
124177
- {
124178
- "kind": "field",
124179
- "name": "_hydrationRequired",
124180
- "type": {
124181
- "text": "boolean"
124182
- },
124183
- "privacy": "private",
124184
- "default": "!!this.shadowRoot",
124185
- "inheritedFrom": {
124186
- "name": "SbbElement",
124187
- "module": "core/base-elements/element.js"
124188
- }
124189
- },
124190
- {
124191
- "kind": "field",
124192
- "name": "_hydrationComplete",
124193
- "privacy": "private",
124194
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
124195
- "inheritedFrom": {
124196
- "name": "SbbElement",
124197
- "module": "core/base-elements/element.js"
124198
- }
124199
- },
124200
- {
124201
- "kind": "field",
124202
- "name": "_resolveHydration",
124203
- "type": {
124204
- "text": "(hydrationRequired: boolean) => void"
124205
- },
124206
- "privacy": "private",
124207
- "inheritedFrom": {
124208
- "name": "SbbElement",
124209
- "module": "core/base-elements/element.js"
124210
- }
124211
- },
124212
- {
124213
- "kind": "field",
124214
- "name": "hydrationRequired",
124215
- "type": {
124216
- "text": "boolean"
124217
- },
124218
- "privacy": "protected",
124219
- "description": "Returns whether hydration is required and not completed.",
124220
- "readonly": true,
124221
- "inheritedFrom": {
124222
- "name": "SbbElement",
124223
- "module": "core/base-elements/element.js"
124224
- },
124225
- "default": "!!this.shadowRoot"
124226
- },
124227
- {
124228
- "kind": "method",
124229
- "name": "toggleState",
124230
- "privacy": "protected",
124231
- "return": {
124232
- "type": {
124233
- "text": "void"
124234
- }
124235
- },
124236
- "parameters": [
124237
- {
124238
- "name": "value",
124239
- "type": {
124240
- "text": "string"
124241
- }
124242
- },
124243
- {
124244
- "name": "force",
124245
- "optional": true,
124246
- "type": {
124247
- "text": "boolean"
124248
- }
124249
- }
124250
- ],
124251
- "inheritedFrom": {
124252
- "name": "SbbElement",
124253
- "module": "core/base-elements/element.js"
124254
- }
124255
- },
124256
- {
124257
- "kind": "field",
124258
- "name": "['_$sbbElement$']",
124259
- "type": {
124260
- "text": "boolean"
124261
- },
124262
- "privacy": "public",
124263
- "static": true,
124264
- "default": "true",
124265
- "inheritedFrom": {
124266
- "name": "SbbElement",
124267
- "module": "core/base-elements/element.js"
124268
- }
124269
- },
124270
- {
124271
- "kind": "field",
124272
- "name": "_controllers",
124273
- "type": {
124274
- "text": "Set<SbbReactiveController> | undefined"
124275
- },
124276
- "privacy": "private",
124277
- "inheritedFrom": {
124278
- "name": "SbbElement",
124279
- "module": "core/base-elements/element.js"
124280
- }
124281
- }
124282
- ],
123970
+ "mixins": [
123971
+ {
123972
+ "name": "SbbIconNameMixin",
123973
+ "module": "icon.js"
123974
+ },
123975
+ {
123976
+ "name": "SbbDisabledMixin",
123977
+ "module": "core/mixins.js"
123978
+ }
123979
+ ],
123980
+ "superclass": {
123981
+ "name": "SbbButtonBaseElement",
123982
+ "module": "core/base-elements.js"
123983
+ },
123984
+ "tagName": "sbb-step-label",
123985
+ "customElement": true,
124283
123986
  "attributes": [
124284
123987
  {
124285
- "name": "focusable",
123988
+ "name": "icon-name",
124286
123989
  "type": {
124287
- "text": "boolean"
123990
+ "text": "string"
124288
123991
  },
124289
- "default": "false",
124290
- "description": "Whether the table wrapper is focusable.",
124291
- "fieldName": "focusable"
123992
+ "default": "''",
123993
+ "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.",
123994
+ "fieldName": "iconName",
123995
+ "inheritedFrom": {
123996
+ "name": "SbbIconNameMixin",
123997
+ "module": "icon/icon-name-mixin.js"
123998
+ }
124292
123999
  },
124293
124000
  {
124294
- "name": "negative",
124001
+ "name": "disabled",
124002
+ "description": "Whether the component is disabled.",
124003
+ "default": "false",
124295
124004
  "type": {
124296
124005
  "text": "boolean"
124297
124006
  },
124298
- "default": "false",
124299
- "description": "Negative coloring variant flag.",
124300
- "fieldName": "negative",
124007
+ "fieldName": "disabled",
124301
124008
  "inheritedFrom": {
124302
- "name": "SbbNegativeMixin",
124303
- "module": "core/mixins/negative-mixin.js"
124009
+ "name": "SbbDisabledMixin",
124010
+ "module": "core/mixins/disabled-mixin.js"
124304
124011
  }
124305
- }
124306
- ],
124307
- "mixins": [
124012
+ },
124308
124013
  {
124309
- "name": "SbbNegativeMixin",
124310
- "module": "core/mixins.js"
124014
+ "name": "value",
124015
+ "type": {
124016
+ "text": "string"
124017
+ },
124018
+ "default": "''",
124019
+ "description": "Value of the form element.",
124020
+ "fieldName": "value",
124021
+ "inheritedFrom": {
124022
+ "name": "SbbButtonBaseElement",
124023
+ "module": "core/base-elements/button-base-element.js"
124024
+ }
124025
+ },
124026
+ {
124027
+ "name": "type",
124028
+ "description": "The type attribute to use for the button.",
124029
+ "default": "'button'",
124030
+ "type": {
124031
+ "text": "SbbButtonType"
124032
+ },
124033
+ "fieldName": "type",
124034
+ "inheritedFrom": {
124035
+ "name": "SbbButtonBaseElement",
124036
+ "module": "core/base-elements/button-base-element.js"
124037
+ }
124038
+ },
124039
+ {
124040
+ "name": "form",
124041
+ "description": "The `<form>` element to associate the button with.",
124042
+ "type": {
124043
+ "text": "HTMLFormElement | null"
124044
+ },
124045
+ "fieldName": "form",
124046
+ "inheritedFrom": {
124047
+ "name": "SbbButtonBaseElement",
124048
+ "module": "core/base-elements/button-base-element.js"
124049
+ }
124050
+ },
124051
+ {
124052
+ "name": "name",
124053
+ "description": "Name of the form element. Will be read from name attribute.",
124054
+ "type": {
124055
+ "text": "string"
124056
+ },
124057
+ "fieldName": "name",
124058
+ "inheritedFrom": {
124059
+ "name": "SbbFormAssociatedMixin",
124060
+ "module": "core/mixins/form-associated-mixin.js"
124061
+ }
124311
124062
  }
124312
- ],
124313
- "superclass": {
124314
- "name": "SbbElement",
124315
- "module": "core/base-elements.js"
124316
- },
124317
- "tagName": "sbb-table-wrapper",
124318
- "customElement": true
124063
+ ]
124319
124064
  }
124320
124065
  ],
124321
124066
  "exports": [
124322
124067
  {
124323
124068
  "kind": "js",
124324
- "name": "SbbTableWrapperElement",
124069
+ "name": "SbbStepLabelElement",
124325
124070
  "declaration": {
124326
- "name": "SbbTableWrapperElement",
124327
- "module": "table/table-wrapper/table-wrapper.component.js"
124071
+ "name": "SbbStepLabelElement",
124072
+ "module": "stepper/step-label/step-label.component.js"
124328
124073
  }
124329
124074
  }
124330
124075
  ]
@@ -124960,6 +124705,261 @@
124960
124705
  }
124961
124706
  ]
124962
124707
  },
124708
+ {
124709
+ "kind": "javascript-module",
124710
+ "path": "table/table-wrapper/table-wrapper.component.js",
124711
+ "declarations": [
124712
+ {
124713
+ "kind": "class",
124714
+ "description": "Wraps a table to enhance its functionality.",
124715
+ "name": "SbbTableWrapperElement",
124716
+ "slots": [
124717
+ {
124718
+ "description": "Use the unnamed slot to add the table.",
124719
+ "name": ""
124720
+ }
124721
+ ],
124722
+ "members": [
124723
+ {
124724
+ "kind": "field",
124725
+ "name": "elementName",
124726
+ "type": {
124727
+ "text": "string"
124728
+ },
124729
+ "privacy": "public",
124730
+ "static": true,
124731
+ "readonly": true,
124732
+ "default": "'sbb-table-wrapper'",
124733
+ "inheritedFrom": {
124734
+ "name": "SbbElement",
124735
+ "module": "core/base-elements/element.js"
124736
+ }
124737
+ },
124738
+ {
124739
+ "kind": "field",
124740
+ "name": "role",
124741
+ "type": {
124742
+ "text": "string"
124743
+ },
124744
+ "privacy": "public",
124745
+ "static": true,
124746
+ "readonly": true,
124747
+ "default": "'section'"
124748
+ },
124749
+ {
124750
+ "kind": "field",
124751
+ "name": "focusable",
124752
+ "type": {
124753
+ "text": "boolean"
124754
+ },
124755
+ "privacy": "public",
124756
+ "default": "false",
124757
+ "description": "Whether the table wrapper is focusable.",
124758
+ "attribute": "focusable",
124759
+ "reflects": true
124760
+ },
124761
+ {
124762
+ "kind": "method",
124763
+ "name": "_updateScrollbarClass",
124764
+ "privacy": "private",
124765
+ "return": {
124766
+ "type": {
124767
+ "text": "void"
124768
+ }
124769
+ }
124770
+ },
124771
+ {
124772
+ "kind": "method",
124773
+ "name": "_checkHorizontalScrollbarOffset",
124774
+ "privacy": "private",
124775
+ "return": {
124776
+ "type": {
124777
+ "text": "void"
124778
+ }
124779
+ },
124780
+ "description": "Calculates whether the table is horizontally scrolled and adds the\ncorresponding class `sbb-table-wrapper-offset-${none | left | right | both}`"
124781
+ },
124782
+ {
124783
+ "kind": "method",
124784
+ "name": "_calculateScrollOffset",
124785
+ "privacy": "private",
124786
+ "return": {
124787
+ "type": {
124788
+ "text": "'none' | 'left' | 'right' | 'both'"
124789
+ }
124790
+ }
124791
+ },
124792
+ {
124793
+ "kind": "field",
124794
+ "name": "negative",
124795
+ "type": {
124796
+ "text": "boolean"
124797
+ },
124798
+ "privacy": "public",
124799
+ "default": "false",
124800
+ "description": "Negative coloring variant flag.",
124801
+ "attribute": "negative",
124802
+ "reflects": true,
124803
+ "inheritedFrom": {
124804
+ "name": "SbbNegativeMixin",
124805
+ "module": "core/mixins/negative-mixin.js"
124806
+ }
124807
+ },
124808
+ {
124809
+ "kind": "field",
124810
+ "name": "_hydrationRequired",
124811
+ "type": {
124812
+ "text": "boolean"
124813
+ },
124814
+ "privacy": "private",
124815
+ "default": "!!this.shadowRoot",
124816
+ "inheritedFrom": {
124817
+ "name": "SbbElement",
124818
+ "module": "core/base-elements/element.js"
124819
+ }
124820
+ },
124821
+ {
124822
+ "kind": "field",
124823
+ "name": "_hydrationComplete",
124824
+ "privacy": "private",
124825
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
124826
+ "inheritedFrom": {
124827
+ "name": "SbbElement",
124828
+ "module": "core/base-elements/element.js"
124829
+ }
124830
+ },
124831
+ {
124832
+ "kind": "field",
124833
+ "name": "_resolveHydration",
124834
+ "type": {
124835
+ "text": "(hydrationRequired: boolean) => void"
124836
+ },
124837
+ "privacy": "private",
124838
+ "inheritedFrom": {
124839
+ "name": "SbbElement",
124840
+ "module": "core/base-elements/element.js"
124841
+ }
124842
+ },
124843
+ {
124844
+ "kind": "field",
124845
+ "name": "hydrationRequired",
124846
+ "type": {
124847
+ "text": "boolean"
124848
+ },
124849
+ "privacy": "protected",
124850
+ "description": "Returns whether hydration is required and not completed.",
124851
+ "readonly": true,
124852
+ "inheritedFrom": {
124853
+ "name": "SbbElement",
124854
+ "module": "core/base-elements/element.js"
124855
+ },
124856
+ "default": "!!this.shadowRoot"
124857
+ },
124858
+ {
124859
+ "kind": "method",
124860
+ "name": "toggleState",
124861
+ "privacy": "protected",
124862
+ "return": {
124863
+ "type": {
124864
+ "text": "void"
124865
+ }
124866
+ },
124867
+ "parameters": [
124868
+ {
124869
+ "name": "value",
124870
+ "type": {
124871
+ "text": "string"
124872
+ }
124873
+ },
124874
+ {
124875
+ "name": "force",
124876
+ "optional": true,
124877
+ "type": {
124878
+ "text": "boolean"
124879
+ }
124880
+ }
124881
+ ],
124882
+ "inheritedFrom": {
124883
+ "name": "SbbElement",
124884
+ "module": "core/base-elements/element.js"
124885
+ }
124886
+ },
124887
+ {
124888
+ "kind": "field",
124889
+ "name": "['_$sbbElement$']",
124890
+ "type": {
124891
+ "text": "boolean"
124892
+ },
124893
+ "privacy": "public",
124894
+ "static": true,
124895
+ "default": "true",
124896
+ "inheritedFrom": {
124897
+ "name": "SbbElement",
124898
+ "module": "core/base-elements/element.js"
124899
+ }
124900
+ },
124901
+ {
124902
+ "kind": "field",
124903
+ "name": "_controllers",
124904
+ "type": {
124905
+ "text": "Set<SbbReactiveController> | undefined"
124906
+ },
124907
+ "privacy": "private",
124908
+ "inheritedFrom": {
124909
+ "name": "SbbElement",
124910
+ "module": "core/base-elements/element.js"
124911
+ }
124912
+ }
124913
+ ],
124914
+ "attributes": [
124915
+ {
124916
+ "name": "focusable",
124917
+ "type": {
124918
+ "text": "boolean"
124919
+ },
124920
+ "default": "false",
124921
+ "description": "Whether the table wrapper is focusable.",
124922
+ "fieldName": "focusable"
124923
+ },
124924
+ {
124925
+ "name": "negative",
124926
+ "type": {
124927
+ "text": "boolean"
124928
+ },
124929
+ "default": "false",
124930
+ "description": "Negative coloring variant flag.",
124931
+ "fieldName": "negative",
124932
+ "inheritedFrom": {
124933
+ "name": "SbbNegativeMixin",
124934
+ "module": "core/mixins/negative-mixin.js"
124935
+ }
124936
+ }
124937
+ ],
124938
+ "mixins": [
124939
+ {
124940
+ "name": "SbbNegativeMixin",
124941
+ "module": "core/mixins.js"
124942
+ }
124943
+ ],
124944
+ "superclass": {
124945
+ "name": "SbbElement",
124946
+ "module": "core/base-elements.js"
124947
+ },
124948
+ "tagName": "sbb-table-wrapper",
124949
+ "customElement": true
124950
+ }
124951
+ ],
124952
+ "exports": [
124953
+ {
124954
+ "kind": "js",
124955
+ "name": "SbbTableWrapperElement",
124956
+ "declaration": {
124957
+ "name": "SbbTableWrapperElement",
124958
+ "module": "table/table-wrapper/table-wrapper.component.js"
124959
+ }
124960
+ }
124961
+ ]
124962
+ },
124963
124963
  {
124964
124964
  "kind": "javascript-module",
124965
124965
  "path": "tabs/common/styles.js",