@sbb-esta/lyne-elements 2.0.3 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (266) hide show
  1. package/accordion/accordion.d.ts.map +1 -1
  2. package/accordion.js +6 -6
  3. package/action-group.js +3 -3
  4. package/alert/alert.js +8 -8
  5. package/autocomplete/autocomplete-base-element.d.ts +4 -0
  6. package/autocomplete/autocomplete-base-element.d.ts.map +1 -1
  7. package/autocomplete-grid/autocomplete-grid-button.js +4 -4
  8. package/autocomplete-grid/autocomplete-grid-cell.js +3 -3
  9. package/autocomplete-grid/autocomplete-grid-optgroup.js +4 -4
  10. package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.d.ts +1 -1
  11. package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.d.ts.map +1 -1
  12. package/autocomplete-grid/autocomplete-grid-option.js +10 -10
  13. package/autocomplete-grid/autocomplete-grid-row.js +5 -5
  14. package/autocomplete.js +99 -90
  15. package/breadcrumb/breadcrumb-group.js +5 -5
  16. package/button/accent-button-link.js +9 -9
  17. package/button/accent-button-static.js +6 -6
  18. package/button/accent-button.js +6 -6
  19. package/button/button-link.js +7 -7
  20. package/button/button-static.js +7 -7
  21. package/button/button.js +8 -8
  22. package/button/common.js +15 -15
  23. package/button/mini-button-group.js +8 -8
  24. package/button/secondary-button-link.js +7 -7
  25. package/button/secondary-button-static.js +7 -7
  26. package/button/secondary-button.js +3 -3
  27. package/button/transparent-button-link.js +6 -6
  28. package/button/transparent-button-static.js +5 -5
  29. package/button/transparent-button.js +6 -6
  30. package/card/card-badge.js +11 -11
  31. package/card/card-button.js +5 -5
  32. package/card/card-link.js +7 -7
  33. package/card/card.js +3 -3
  34. package/checkbox/checkbox-panel.js +16 -16
  35. package/checkbox/checkbox.js +15 -15
  36. package/checkbox/common.js +3 -3
  37. package/chip-label.js +3 -3
  38. package/clock.js +10 -10
  39. package/container/container/container.d.ts +1 -1
  40. package/container/container/container.d.ts.map +1 -1
  41. package/container/container.js +23 -23
  42. package/container/sticky-bar/sticky-bar.d.ts +1 -1
  43. package/container/sticky-bar/sticky-bar.d.ts.map +1 -1
  44. package/container/sticky-bar.js +4 -4
  45. package/core/a11y/focus.d.ts.map +1 -1
  46. package/core/a11y.js +8 -8
  47. package/core/base-elements/link-base-element.d.ts +2 -0
  48. package/core/base-elements/link-base-element.d.ts.map +1 -1
  49. package/core/base-elements.js +125 -114
  50. package/core/controllers.js +4 -4
  51. package/core/datetime/date-adapter.d.ts +1 -1
  52. package/core/datetime/date-adapter.d.ts.map +1 -1
  53. package/core/datetime/native-date-adapter.d.ts +1 -1
  54. package/core/datetime/native-date-adapter.d.ts.map +1 -1
  55. package/core/datetime.js +6 -6
  56. package/core/dom/scroll.d.ts +1 -0
  57. package/core/dom/scroll.d.ts.map +1 -1
  58. package/core/dom.js +35 -35
  59. package/core/eventing.js +4 -4
  60. package/core/images.d.ts.map +1 -1
  61. package/core/mixins.js +18 -18
  62. package/core/styles/core.scss +23 -2
  63. package/core/testing.js +14 -14
  64. package/core.css +20 -2
  65. package/custom-elements.json +828 -431
  66. package/datepicker/common/datepicker-association-controllers.d.ts +21 -0
  67. package/datepicker/common/datepicker-association-controllers.d.ts.map +1 -0
  68. package/datepicker/common/datepicker-button.d.ts +17 -9
  69. package/datepicker/common/datepicker-button.d.ts.map +1 -1
  70. package/datepicker/common.d.ts +1 -0
  71. package/datepicker/common.d.ts.map +1 -1
  72. package/datepicker/common.js +130 -92
  73. package/datepicker/datepicker/datepicker.d.ts +19 -4
  74. package/datepicker/datepicker/datepicker.d.ts.map +1 -1
  75. package/datepicker/datepicker-toggle/datepicker-toggle.d.ts +14 -8
  76. package/datepicker/datepicker-toggle/datepicker-toggle.d.ts.map +1 -1
  77. package/datepicker/datepicker-toggle.js +106 -113
  78. package/datepicker/datepicker.js +95 -80
  79. package/development/accordion/accordion.d.ts.map +1 -1
  80. package/development/accordion.js +1 -1
  81. package/development/action-group.js +1 -1
  82. package/development/autocomplete/autocomplete-base-element.d.ts +4 -0
  83. package/development/autocomplete/autocomplete-base-element.d.ts.map +1 -1
  84. package/development/autocomplete-grid/autocomplete-grid-cell.js +1 -1
  85. package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.d.ts +1 -1
  86. package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.d.ts.map +1 -1
  87. package/development/autocomplete-grid/autocomplete-grid-option.js +3 -3
  88. package/development/autocomplete-grid/autocomplete-grid-row.js +1 -1
  89. package/development/autocomplete.js +37 -8
  90. package/development/breadcrumb/breadcrumb-group.js +3 -3
  91. package/development/button/common.js +69 -70
  92. package/development/calendar.js +1 -1
  93. package/development/card/card-badge.js +1 -1
  94. package/development/card/card.js +1 -1
  95. package/development/chip-label.js +1 -1
  96. package/development/clock.js +1 -1
  97. package/development/container/container/container.d.ts +1 -1
  98. package/development/container/container/container.d.ts.map +1 -1
  99. package/development/container/container.js +18 -2
  100. package/development/container/sticky-bar/sticky-bar.d.ts +1 -1
  101. package/development/container/sticky-bar/sticky-bar.d.ts.map +1 -1
  102. package/development/container/sticky-bar.js +9 -1
  103. package/development/core/a11y/focus.d.ts.map +1 -1
  104. package/development/core/a11y.js +3 -3
  105. package/development/core/base-elements/link-base-element.d.ts +2 -0
  106. package/development/core/base-elements/link-base-element.d.ts.map +1 -1
  107. package/development/core/base-elements.js +22 -5
  108. package/development/core/controllers.js +1 -1
  109. package/development/core/datetime/date-adapter.d.ts +1 -1
  110. package/development/core/datetime/date-adapter.d.ts.map +1 -1
  111. package/development/core/datetime/native-date-adapter.d.ts +1 -1
  112. package/development/core/datetime/native-date-adapter.d.ts.map +1 -1
  113. package/development/core/datetime.js +1 -1
  114. package/development/core/dom/scroll.d.ts +1 -0
  115. package/development/core/dom/scroll.d.ts.map +1 -1
  116. package/development/core/dom.js +4 -1
  117. package/development/core/images.d.ts.map +1 -1
  118. package/development/core/mixins.js +1 -1
  119. package/development/datepicker/common/datepicker-association-controllers.d.ts +21 -0
  120. package/development/datepicker/common/datepicker-association-controllers.d.ts.map +1 -0
  121. package/development/datepicker/common/datepicker-button.d.ts +17 -9
  122. package/development/datepicker/common/datepicker-button.d.ts.map +1 -1
  123. package/development/datepicker/common.d.ts +1 -0
  124. package/development/datepicker/common.d.ts.map +1 -1
  125. package/development/datepicker/common.js +139 -90
  126. package/development/datepicker/datepicker/datepicker.d.ts +19 -4
  127. package/development/datepicker/datepicker/datepicker.d.ts.map +1 -1
  128. package/development/datepicker/datepicker-toggle/datepicker-toggle.d.ts +14 -8
  129. package/development/datepicker/datepicker-toggle/datepicker-toggle.d.ts.map +1 -1
  130. package/development/datepicker/datepicker-toggle.js +76 -73
  131. package/development/datepicker/datepicker.js +55 -37
  132. package/development/dialog/dialog/dialog.d.ts +2 -0
  133. package/development/dialog/dialog/dialog.d.ts.map +1 -1
  134. package/development/dialog/dialog-content.js +1 -1
  135. package/development/dialog/dialog.js +38 -12
  136. package/development/expansion-panel/expansion-panel-content.js +1 -1
  137. package/development/flip-card/flip-card-details.js +1 -1
  138. package/development/flip-card/flip-card-summary.js +1 -1
  139. package/development/icon.js +1 -1
  140. package/development/image.js +2 -2
  141. package/development/lead-container.js +1 -1
  142. package/development/link-list/link-list-anchor.js +1 -1
  143. package/development/link-list/link-list.js +1 -1
  144. package/development/loading-indicator-circle.js +1 -1
  145. package/development/loading-indicator.js +1 -1
  146. package/development/map-container.js +1 -1
  147. package/development/menu/menu/menu.d.ts.map +1 -1
  148. package/development/menu/menu.js +35 -12
  149. package/development/message.js +1 -1
  150. package/development/navigation/navigation/navigation.d.ts.map +1 -1
  151. package/development/navigation/navigation.js +15 -8
  152. package/development/notification.js +1 -1
  153. package/development/option/optgroup.js +1 -1
  154. package/development/option/option/option-base-element.d.ts +3 -2
  155. package/development/option/option/option-base-element.d.ts.map +1 -1
  156. package/development/option/option.js +16 -9
  157. package/development/overlay/overlay-base-element.d.ts.map +1 -1
  158. package/development/overlay/overlay.d.ts.map +1 -1
  159. package/development/overlay.js +29 -13
  160. package/development/paginator/paginator.js +1 -1
  161. package/development/popover/popover/popover.d.ts.map +1 -1
  162. package/development/popover/popover.js +16 -13
  163. package/development/radio-button/radio-button-group/radio-button-group.d.ts.map +1 -1
  164. package/development/radio-button/radio-button-group.js +2 -2
  165. package/development/{sbb-tokens-BdGhUJjM.js → sbb-tokens-CSAKTXUi.js} +15 -15
  166. package/development/screen-reader-only.js +1 -1
  167. package/development/select/select.d.ts +11 -0
  168. package/development/select/select.d.ts.map +1 -1
  169. package/development/select.js +60 -9
  170. package/development/signet.js +1 -1
  171. package/development/stepper/step.js +1 -1
  172. package/development/tabs/tab.js +1 -1
  173. package/development/time-input.js +1 -1
  174. package/development/title/title-base.d.ts.map +1 -1
  175. package/development/title.js +4 -5
  176. package/development/toast/toast.d.ts.map +1 -1
  177. package/development/toast.js +14 -8
  178. package/development/toggle/toggle.js +2 -2
  179. package/development/train/train-blocked-passage.js +1 -1
  180. package/development/train/train-wagon.js +1 -1
  181. package/dialog/dialog/dialog.d.ts +2 -0
  182. package/dialog/dialog/dialog.d.ts.map +1 -1
  183. package/dialog/dialog-content.js +4 -4
  184. package/dialog/dialog-title.js +8 -8
  185. package/dialog/dialog.js +59 -49
  186. package/divider.js +12 -12
  187. package/expansion-panel/expansion-panel-content.js +3 -3
  188. package/file-selector/file-selector-dropzone.js +5 -5
  189. package/file-selector/file-selector.js +6 -6
  190. package/flip-card/flip-card-details.js +7 -7
  191. package/flip-card/flip-card-summary.js +12 -12
  192. package/header/header-button.js +5 -5
  193. package/header/header-link.js +5 -5
  194. package/icon.js +37 -37
  195. package/image.js +16 -16
  196. package/lead-container.js +3 -3
  197. package/link/block-link-button.js +4 -4
  198. package/link/block-link-static.js +9 -9
  199. package/link/block-link.js +4 -4
  200. package/link/common.js +16 -16
  201. package/link/link-button.js +7 -7
  202. package/link/link-static.js +7 -7
  203. package/link/link.js +4 -4
  204. package/link-list/common.js +12 -12
  205. package/link-list/link-list-anchor.js +3 -3
  206. package/link-list/link-list.js +3 -3
  207. package/loading-indicator-circle.js +14 -14
  208. package/loading-indicator.js +3 -3
  209. package/map-container.js +6 -6
  210. package/menu/common.js +7 -7
  211. package/menu/menu/menu.d.ts.map +1 -1
  212. package/menu/menu-button.js +8 -8
  213. package/menu/menu-link.js +6 -6
  214. package/menu/menu.js +64 -42
  215. package/message.js +3 -3
  216. package/navigation/navigation/navigation.d.ts.map +1 -1
  217. package/navigation/navigation-button.js +4 -4
  218. package/navigation/navigation-link.js +7 -7
  219. package/navigation/navigation-list.js +4 -4
  220. package/navigation/navigation-marker.js +3 -3
  221. package/navigation/navigation.js +21 -20
  222. package/notification.js +19 -19
  223. package/option/optgroup.js +14 -14
  224. package/option/option/option-base-element.d.ts +3 -2
  225. package/option/option/option-base-element.d.ts.map +1 -1
  226. package/option/option.js +115 -103
  227. package/overlay/overlay-base-element.d.ts.map +1 -1
  228. package/overlay/overlay.d.ts.map +1 -1
  229. package/overlay.js +87 -84
  230. package/package.json +1 -1
  231. package/paginator/common.js +6 -6
  232. package/paginator/paginator.js +1 -1
  233. package/popover/popover/popover.d.ts.map +1 -1
  234. package/popover/popover.js +73 -73
  235. package/radio-button/radio-button-group/radio-button-group.d.ts.map +1 -1
  236. package/radio-button/radio-button-group.js +1 -1
  237. package/radio-button/radio-button-panel.js +5 -5
  238. package/{sbb-tokens-Dx20OtVg.js → sbb-tokens-BgDF8jIh.js} +14 -14
  239. package/screen-reader-only.js +8 -8
  240. package/select/select.d.ts +11 -0
  241. package/select/select.d.ts.map +1 -1
  242. package/select.js +111 -83
  243. package/signet.js +1 -1
  244. package/slider.js +8 -8
  245. package/standard-theme.css +20 -2
  246. package/status.js +3 -3
  247. package/stepper/step-label.js +4 -4
  248. package/stepper/step.js +3 -3
  249. package/table/table-wrapper.js +4 -4
  250. package/tabs/tab-group.js +24 -24
  251. package/tabs/tab.js +4 -4
  252. package/tag/tag-group.js +7 -7
  253. package/teaser-product/common.js +5 -5
  254. package/teaser-product/teaser-product-static.js +2 -2
  255. package/time-input.js +3 -3
  256. package/timetable-occupancy-icon.js +3 -3
  257. package/timetable-occupancy.js +6 -6
  258. package/title/title-base.d.ts.map +1 -1
  259. package/title.js +41 -42
  260. package/toast/toast.d.ts.map +1 -1
  261. package/toast.js +58 -54
  262. package/toggle/toggle-option.js +11 -11
  263. package/toggle/toggle.js +3 -3
  264. package/toggle-check.js +5 -5
  265. package/train/train-blocked-passage.js +3 -3
  266. package/train/train.js +28 -28
@@ -806,6 +806,17 @@
806
806
  }
807
807
  }
808
808
  },
809
+ {
810
+ "kind": "method",
811
+ "name": "_openOnNewOptions",
812
+ "privacy": "private",
813
+ "return": {
814
+ "type": {
815
+ "text": "void"
816
+ }
817
+ },
818
+ "description": "If the 'input' is focused and there's a change in the number of options, open the autocomplete"
819
+ },
809
820
  {
810
821
  "kind": "method",
811
822
  "name": "_readonly",
@@ -1771,6 +1782,21 @@
1771
1782
  "module": "autocomplete.js"
1772
1783
  }
1773
1784
  },
1785
+ {
1786
+ "kind": "method",
1787
+ "name": "_openOnNewOptions",
1788
+ "privacy": "private",
1789
+ "return": {
1790
+ "type": {
1791
+ "text": "void"
1792
+ }
1793
+ },
1794
+ "description": "If the 'input' is focused and there's a change in the number of options, open the autocomplete",
1795
+ "inheritedFrom": {
1796
+ "name": "SbbAutocompleteBaseElement",
1797
+ "module": "autocomplete.js"
1798
+ }
1799
+ },
1774
1800
  {
1775
1801
  "kind": "method",
1776
1802
  "name": "_readonly",
@@ -7332,7 +7358,7 @@
7332
7358
  "text": "EventEmitter"
7333
7359
  },
7334
7360
  "privacy": "protected",
7335
- "default": "new EventEmitter( this, SbbOverlayBaseElement.events.didClose, )",
7361
+ "default": "new EventEmitter( this, SbbOverlayBaseElement.events.didClose, { cancelable: true }, )",
7336
7362
  "description": "Emits whenever the component is closed.",
7337
7363
  "inheritedFrom": {
7338
7364
  "name": "SbbOpenCloseBaseElement",
@@ -8015,7 +8041,7 @@
8015
8041
  "text": "EventEmitter"
8016
8042
  },
8017
8043
  "privacy": "protected",
8018
- "default": "new EventEmitter( this, SbbOverlayBaseElement.events.didClose, )",
8044
+ "default": "new EventEmitter( this, SbbOverlayBaseElement.events.didClose, { cancelable: true }, )",
8019
8045
  "description": "Emits whenever the component is closed.",
8020
8046
  "inheritedFrom": {
8021
8047
  "name": "SbbOpenCloseBaseElement",
@@ -8698,6 +8724,22 @@
8698
8724
  "attribute": "multiple",
8699
8725
  "reflects": true
8700
8726
  },
8727
+ {
8728
+ "kind": "field",
8729
+ "name": "disabled",
8730
+ "type": {
8731
+ "text": "boolean"
8732
+ },
8733
+ "privacy": "public",
8734
+ "default": "false",
8735
+ "description": "Whether the component is disabled.",
8736
+ "attribute": "disabled",
8737
+ "reflects": true,
8738
+ "inheritedFrom": {
8739
+ "name": "SbbDisabledMixin",
8740
+ "module": "core/mixins.js"
8741
+ }
8742
+ },
8701
8743
  {
8702
8744
  "kind": "field",
8703
8745
  "name": "readonly",
@@ -8976,6 +9018,44 @@
8976
9018
  }
8977
9019
  ]
8978
9020
  },
9021
+ {
9022
+ "kind": "method",
9023
+ "name": "_onMultipleChanged",
9024
+ "privacy": "private",
9025
+ "return": {
9026
+ "type": {
9027
+ "text": "void"
9028
+ }
9029
+ },
9030
+ "parameters": [
9031
+ {
9032
+ "name": "newValue",
9033
+ "type": {
9034
+ "text": "boolean"
9035
+ }
9036
+ }
9037
+ ],
9038
+ "description": "The `value` property should be adapted when the `multiple` property changes:\n - if it changes to true, the 'value' is set to an array;\n - if it changes to false, the first available option is set as 'value' otherwise it's set to null."
9039
+ },
9040
+ {
9041
+ "kind": "method",
9042
+ "name": "_closeOnDisabledReadonlyChanged",
9043
+ "privacy": "private",
9044
+ "return": {
9045
+ "type": {
9046
+ "text": "void"
9047
+ }
9048
+ },
9049
+ "parameters": [
9050
+ {
9051
+ "name": "newValue",
9052
+ "type": {
9053
+ "text": "boolean"
9054
+ }
9055
+ }
9056
+ ],
9057
+ "description": "If the `disabled` or the `readonly` properties are set, and the panel is open, close it."
9058
+ },
8979
9059
  {
8980
9060
  "kind": "method",
8981
9061
  "name": "_onValueChanged",
@@ -9472,22 +9552,6 @@
9472
9552
  "module": "core/mixins.js"
9473
9553
  }
9474
9554
  },
9475
- {
9476
- "kind": "field",
9477
- "name": "disabled",
9478
- "type": {
9479
- "text": "boolean"
9480
- },
9481
- "privacy": "public",
9482
- "default": "false",
9483
- "description": "Whether the component is disabled.",
9484
- "attribute": "disabled",
9485
- "reflects": true,
9486
- "inheritedFrom": {
9487
- "name": "SbbDisabledMixin",
9488
- "module": "core/mixins.js"
9489
- }
9490
- },
9491
9555
  {
9492
9556
  "kind": "method",
9493
9557
  "name": "isDisabledExternally",
@@ -9860,15 +9924,6 @@
9860
9924
  "description": "Whether the select allows for multiple selection.",
9861
9925
  "fieldName": "multiple"
9862
9926
  },
9863
- {
9864
- "name": "readonly",
9865
- "type": {
9866
- "text": "boolean"
9867
- },
9868
- "default": "false",
9869
- "description": "Whether the select is readonly.",
9870
- "fieldName": "readonly"
9871
- },
9872
9927
  {
9873
9928
  "name": "disabled",
9874
9929
  "type": {
@@ -9882,6 +9937,15 @@
9882
9937
  "module": "core/mixins.js"
9883
9938
  }
9884
9939
  },
9940
+ {
9941
+ "name": "readonly",
9942
+ "type": {
9943
+ "text": "boolean"
9944
+ },
9945
+ "default": "false",
9946
+ "description": "Whether the select is readonly.",
9947
+ "fieldName": "readonly"
9948
+ },
9885
9949
  {
9886
9950
  "name": "negative",
9887
9951
  "type": {
@@ -11730,6 +11794,21 @@
11730
11794
  "module": "core/base-elements.js"
11731
11795
  }
11732
11796
  },
11797
+ {
11798
+ "kind": "field",
11799
+ "name": "accessibilityCurrent",
11800
+ "type": {
11801
+ "text": "string"
11802
+ },
11803
+ "privacy": "public",
11804
+ "default": "''",
11805
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
11806
+ "attribute": "accessibility-current",
11807
+ "inheritedFrom": {
11808
+ "name": "SbbLinkBaseElement",
11809
+ "module": "core/base-elements.js"
11810
+ }
11811
+ },
11733
11812
  {
11734
11813
  "kind": "field",
11735
11814
  "name": "language",
@@ -11886,6 +11965,19 @@
11886
11965
  "name": "SbbLinkBaseElement",
11887
11966
  "module": "core/base-elements.js"
11888
11967
  }
11968
+ },
11969
+ {
11970
+ "name": "accessibility-current",
11971
+ "type": {
11972
+ "text": "string"
11973
+ },
11974
+ "default": "''",
11975
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
11976
+ "fieldName": "accessibilityCurrent",
11977
+ "inheritedFrom": {
11978
+ "name": "SbbLinkBaseElement",
11979
+ "module": "core/base-elements.js"
11980
+ }
11889
11981
  }
11890
11982
  ],
11891
11983
  "superclass": {
@@ -12097,6 +12189,21 @@
12097
12189
  "module": "core/base-elements.js"
12098
12190
  }
12099
12191
  },
12192
+ {
12193
+ "kind": "field",
12194
+ "name": "accessibilityCurrent",
12195
+ "type": {
12196
+ "text": "string"
12197
+ },
12198
+ "privacy": "public",
12199
+ "default": "''",
12200
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
12201
+ "attribute": "accessibility-current",
12202
+ "inheritedFrom": {
12203
+ "name": "SbbLinkBaseElement",
12204
+ "module": "core/base-elements.js"
12205
+ }
12206
+ },
12100
12207
  {
12101
12208
  "kind": "field",
12102
12209
  "name": "language",
@@ -12295,6 +12402,19 @@
12295
12402
  "name": "SbbLinkBaseElement",
12296
12403
  "module": "core/base-elements.js"
12297
12404
  }
12405
+ },
12406
+ {
12407
+ "name": "accessibility-current",
12408
+ "type": {
12409
+ "text": "string"
12410
+ },
12411
+ "default": "''",
12412
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
12413
+ "fieldName": "accessibilityCurrent",
12414
+ "inheritedFrom": {
12415
+ "name": "SbbLinkBaseElement",
12416
+ "module": "core/base-elements.js"
12417
+ }
12298
12418
  }
12299
12419
  ],
12300
12420
  "superclass": {
@@ -16051,7 +16171,7 @@
16051
16171
  },
16052
16172
  {
16053
16173
  "kind": "method",
16054
- "name": "onOptionAttributesChange",
16174
+ "name": "onExternalMutation",
16055
16175
  "privacy": "protected",
16056
16176
  "return": {
16057
16177
  "type": {
@@ -16066,7 +16186,7 @@
16066
16186
  }
16067
16187
  }
16068
16188
  ],
16069
- "description": "Observe changes on data attributes and set the appropriate values.",
16189
+ "description": "Observe changes on data attributes + slotted content and set the appropriate values.",
16070
16190
  "inheritedFrom": {
16071
16191
  "name": "SbbOptionBaseElement",
16072
16192
  "module": "option/option.js"
@@ -16403,13 +16523,22 @@
16403
16523
  },
16404
16524
  {
16405
16525
  "kind": "method",
16406
- "name": "handleHighlightState",
16526
+ "name": "onOptionAttributesChange",
16407
16527
  "privacy": "protected",
16408
16528
  "return": {
16409
16529
  "type": {
16410
16530
  "text": "void"
16411
16531
  }
16412
16532
  },
16533
+ "parameters": [
16534
+ {
16535
+ "name": "mutationsList",
16536
+ "type": {
16537
+ "text": "MutationRecord[]"
16538
+ }
16539
+ }
16540
+ ],
16541
+ "deprecated": "use onExternalMutation() as replacement. Will be removed with next major change.",
16413
16542
  "inheritedFrom": {
16414
16543
  "name": "SbbOptionBaseElement",
16415
16544
  "module": "option/option.js"
@@ -16417,11 +16546,11 @@
16417
16546
  },
16418
16547
  {
16419
16548
  "kind": "method",
16420
- "name": "getHighlightedLabel",
16549
+ "name": "handleHighlightState",
16421
16550
  "privacy": "protected",
16422
16551
  "return": {
16423
16552
  "type": {
16424
- "text": "TemplateResult"
16553
+ "text": "void"
16425
16554
  }
16426
16555
  },
16427
16556
  "inheritedFrom": {
@@ -16431,7 +16560,7 @@
16431
16560
  },
16432
16561
  {
16433
16562
  "kind": "method",
16434
- "name": "renderIcon",
16563
+ "name": "getHighlightedLabel",
16435
16564
  "privacy": "protected",
16436
16565
  "return": {
16437
16566
  "type": {
@@ -16445,11 +16574,11 @@
16445
16574
  },
16446
16575
  {
16447
16576
  "kind": "method",
16448
- "name": "renderLabel",
16577
+ "name": "renderIcon",
16449
16578
  "privacy": "protected",
16450
16579
  "return": {
16451
16580
  "type": {
16452
- "text": "TemplateResult | typeof nothing"
16581
+ "text": "TemplateResult"
16453
16582
  }
16454
16583
  },
16455
16584
  "inheritedFrom": {
@@ -16459,7 +16588,7 @@
16459
16588
  },
16460
16589
  {
16461
16590
  "kind": "method",
16462
- "name": "renderTick",
16591
+ "name": "renderLabel",
16463
16592
  "privacy": "protected",
16464
16593
  "return": {
16465
16594
  "type": {
@@ -16473,11 +16602,11 @@
16473
16602
  },
16474
16603
  {
16475
16604
  "kind": "method",
16476
- "name": "_handleSlotChange",
16477
- "privacy": "private",
16605
+ "name": "renderTick",
16606
+ "privacy": "protected",
16478
16607
  "return": {
16479
16608
  "type": {
16480
- "text": "void"
16609
+ "text": "TemplateResult | typeof nothing"
16481
16610
  }
16482
16611
  },
16483
16612
  "inheritedFrom": {
@@ -17184,6 +17313,21 @@
17184
17313
  "module": "autocomplete.js"
17185
17314
  }
17186
17315
  },
17316
+ {
17317
+ "kind": "method",
17318
+ "name": "_openOnNewOptions",
17319
+ "privacy": "private",
17320
+ "return": {
17321
+ "type": {
17322
+ "text": "void"
17323
+ }
17324
+ },
17325
+ "description": "If the 'input' is focused and there's a change in the number of options, open the autocomplete",
17326
+ "inheritedFrom": {
17327
+ "name": "SbbAutocompleteBaseElement",
17328
+ "module": "autocomplete.js"
17329
+ }
17330
+ },
17187
17331
  {
17188
17332
  "kind": "method",
17189
17333
  "name": "_readonly",
@@ -18238,6 +18382,21 @@
18238
18382
  "module": "core/base-elements.js"
18239
18383
  }
18240
18384
  },
18385
+ {
18386
+ "kind": "field",
18387
+ "name": "accessibilityCurrent",
18388
+ "type": {
18389
+ "text": "string"
18390
+ },
18391
+ "privacy": "public",
18392
+ "default": "''",
18393
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
18394
+ "attribute": "accessibility-current",
18395
+ "inheritedFrom": {
18396
+ "name": "SbbLinkBaseElement",
18397
+ "module": "core/base-elements.js"
18398
+ }
18399
+ },
18241
18400
  {
18242
18401
  "kind": "field",
18243
18402
  "name": "language",
@@ -18414,6 +18573,19 @@
18414
18573
  "name": "SbbLinkBaseElement",
18415
18574
  "module": "core/base-elements.js"
18416
18575
  }
18576
+ },
18577
+ {
18578
+ "name": "accessibility-current",
18579
+ "type": {
18580
+ "text": "string"
18581
+ },
18582
+ "default": "''",
18583
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
18584
+ "fieldName": "accessibilityCurrent",
18585
+ "inheritedFrom": {
18586
+ "name": "SbbLinkBaseElement",
18587
+ "module": "core/base-elements.js"
18588
+ }
18417
18589
  }
18418
18590
  ]
18419
18591
  }
@@ -18664,6 +18836,21 @@
18664
18836
  "module": "core/base-elements.js"
18665
18837
  }
18666
18838
  },
18839
+ {
18840
+ "kind": "field",
18841
+ "name": "accessibilityCurrent",
18842
+ "type": {
18843
+ "text": "string"
18844
+ },
18845
+ "privacy": "public",
18846
+ "default": "''",
18847
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
18848
+ "attribute": "accessibility-current",
18849
+ "inheritedFrom": {
18850
+ "name": "SbbLinkBaseElement",
18851
+ "module": "core/base-elements.js"
18852
+ }
18853
+ },
18667
18854
  {
18668
18855
  "kind": "field",
18669
18856
  "name": "language",
@@ -18896,6 +19083,19 @@
18896
19083
  "name": "SbbLinkBaseElement",
18897
19084
  "module": "core/base-elements.js"
18898
19085
  }
19086
+ },
19087
+ {
19088
+ "name": "accessibility-current",
19089
+ "type": {
19090
+ "text": "string"
19091
+ },
19092
+ "default": "''",
19093
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
19094
+ "fieldName": "accessibilityCurrent",
19095
+ "inheritedFrom": {
19096
+ "name": "SbbLinkBaseElement",
19097
+ "module": "core/base-elements.js"
19098
+ }
18899
19099
  }
18900
19100
  ]
18901
19101
  }
@@ -19946,6 +20146,21 @@
19946
20146
  "module": "core/base-elements.js"
19947
20147
  }
19948
20148
  },
20149
+ {
20150
+ "kind": "field",
20151
+ "name": "accessibilityCurrent",
20152
+ "type": {
20153
+ "text": "string"
20154
+ },
20155
+ "privacy": "public",
20156
+ "default": "''",
20157
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
20158
+ "attribute": "accessibility-current",
20159
+ "inheritedFrom": {
20160
+ "name": "SbbLinkBaseElement",
20161
+ "module": "core/base-elements.js"
20162
+ }
20163
+ },
19949
20164
  {
19950
20165
  "kind": "field",
19951
20166
  "name": "language",
@@ -20178,6 +20393,19 @@
20178
20393
  "name": "SbbLinkBaseElement",
20179
20394
  "module": "core/base-elements.js"
20180
20395
  }
20396
+ },
20397
+ {
20398
+ "name": "accessibility-current",
20399
+ "type": {
20400
+ "text": "string"
20401
+ },
20402
+ "default": "''",
20403
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
20404
+ "fieldName": "accessibilityCurrent",
20405
+ "inheritedFrom": {
20406
+ "name": "SbbLinkBaseElement",
20407
+ "module": "core/base-elements.js"
20408
+ }
20181
20409
  }
20182
20410
  ]
20183
20411
  }
@@ -22023,6 +22251,21 @@
22023
22251
  "module": "core/base-elements.js"
22024
22252
  }
22025
22253
  },
22254
+ {
22255
+ "kind": "field",
22256
+ "name": "accessibilityCurrent",
22257
+ "type": {
22258
+ "text": "string"
22259
+ },
22260
+ "privacy": "public",
22261
+ "default": "''",
22262
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
22263
+ "attribute": "accessibility-current",
22264
+ "inheritedFrom": {
22265
+ "name": "SbbLinkBaseElement",
22266
+ "module": "core/base-elements.js"
22267
+ }
22268
+ },
22026
22269
  {
22027
22270
  "kind": "field",
22028
22271
  "name": "language",
@@ -22255,6 +22498,19 @@
22255
22498
  "name": "SbbLinkBaseElement",
22256
22499
  "module": "core/base-elements.js"
22257
22500
  }
22501
+ },
22502
+ {
22503
+ "name": "accessibility-current",
22504
+ "type": {
22505
+ "text": "string"
22506
+ },
22507
+ "default": "''",
22508
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
22509
+ "fieldName": "accessibilityCurrent",
22510
+ "inheritedFrom": {
22511
+ "name": "SbbLinkBaseElement",
22512
+ "module": "core/base-elements.js"
22513
+ }
22258
22514
  }
22259
22515
  ]
22260
22516
  }
@@ -23305,6 +23561,21 @@
23305
23561
  "module": "core/base-elements.js"
23306
23562
  }
23307
23563
  },
23564
+ {
23565
+ "kind": "field",
23566
+ "name": "accessibilityCurrent",
23567
+ "type": {
23568
+ "text": "string"
23569
+ },
23570
+ "privacy": "public",
23571
+ "default": "''",
23572
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
23573
+ "attribute": "accessibility-current",
23574
+ "inheritedFrom": {
23575
+ "name": "SbbLinkBaseElement",
23576
+ "module": "core/base-elements.js"
23577
+ }
23578
+ },
23308
23579
  {
23309
23580
  "kind": "field",
23310
23581
  "name": "language",
@@ -23537,6 +23808,19 @@
23537
23808
  "name": "SbbLinkBaseElement",
23538
23809
  "module": "core/base-elements.js"
23539
23810
  }
23811
+ },
23812
+ {
23813
+ "name": "accessibility-current",
23814
+ "type": {
23815
+ "text": "string"
23816
+ },
23817
+ "default": "''",
23818
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
23819
+ "fieldName": "accessibilityCurrent",
23820
+ "inheritedFrom": {
23821
+ "name": "SbbLinkBaseElement",
23822
+ "module": "core/base-elements.js"
23823
+ }
23540
23824
  }
23541
23825
  ]
23542
23826
  }
@@ -25106,6 +25390,21 @@
25106
25390
  "module": "core/base-elements.js"
25107
25391
  }
25108
25392
  },
25393
+ {
25394
+ "kind": "field",
25395
+ "name": "accessibilityCurrent",
25396
+ "type": {
25397
+ "text": "string"
25398
+ },
25399
+ "privacy": "public",
25400
+ "default": "''",
25401
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
25402
+ "attribute": "accessibility-current",
25403
+ "inheritedFrom": {
25404
+ "name": "SbbLinkBaseElement",
25405
+ "module": "core/base-elements.js"
25406
+ }
25407
+ },
25109
25408
  {
25110
25409
  "kind": "field",
25111
25410
  "name": "language",
@@ -25277,6 +25576,19 @@
25277
25576
  "name": "SbbLinkBaseElement",
25278
25577
  "module": "core/base-elements.js"
25279
25578
  }
25579
+ },
25580
+ {
25581
+ "name": "accessibility-current",
25582
+ "type": {
25583
+ "text": "string"
25584
+ },
25585
+ "default": "''",
25586
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
25587
+ "fieldName": "accessibilityCurrent",
25588
+ "inheritedFrom": {
25589
+ "name": "SbbLinkBaseElement",
25590
+ "module": "core/base-elements.js"
25591
+ }
25280
25592
  }
25281
25593
  ]
25282
25594
  }
@@ -26995,7 +27307,7 @@
26995
27307
  "kind": "field",
26996
27308
  "name": "color",
26997
27309
  "type": {
26998
- "text": "'transparent' | 'white' | 'milk'"
27310
+ "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
26999
27311
  },
27000
27312
  "privacy": "public",
27001
27313
  "default": "'white'",
@@ -27026,7 +27338,7 @@
27026
27338
  {
27027
27339
  "name": "color",
27028
27340
  "type": {
27029
- "text": "'transparent' | 'white' | 'milk'"
27341
+ "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
27030
27342
  },
27031
27343
  "default": "'white'",
27032
27344
  "description": "Color of the container, like transparent, white etc.",
@@ -27106,7 +27418,7 @@
27106
27418
  "kind": "field",
27107
27419
  "name": "color",
27108
27420
  "type": {
27109
- "text": "'white' | 'milk' | null"
27421
+ "text": "| 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'\n | null"
27110
27422
  },
27111
27423
  "privacy": "public",
27112
27424
  "default": "null",
@@ -27356,7 +27668,7 @@
27356
27668
  {
27357
27669
  "name": "color",
27358
27670
  "type": {
27359
- "text": "'white' | 'milk' | null"
27671
+ "text": "| 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'\n | null"
27360
27672
  },
27361
27673
  "default": "null",
27362
27674
  "description": "Color of the container, like transparent, white etc.",
@@ -28292,6 +28604,17 @@
28292
28604
  "description": "This will be forwarded as aria-label to the inner anchor element.",
28293
28605
  "attribute": "accessibility-label"
28294
28606
  },
28607
+ {
28608
+ "kind": "field",
28609
+ "name": "accessibilityCurrent",
28610
+ "type": {
28611
+ "text": "string"
28612
+ },
28613
+ "privacy": "public",
28614
+ "default": "''",
28615
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
28616
+ "attribute": "accessibility-current"
28617
+ },
28295
28618
  {
28296
28619
  "kind": "field",
28297
28620
  "name": "language",
@@ -28422,6 +28745,15 @@
28422
28745
  "default": "''",
28423
28746
  "description": "This will be forwarded as aria-label to the inner anchor element.",
28424
28747
  "fieldName": "accessibilityLabel"
28748
+ },
28749
+ {
28750
+ "name": "accessibility-current",
28751
+ "type": {
28752
+ "text": "string"
28753
+ },
28754
+ "default": "''",
28755
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
28756
+ "fieldName": "accessibilityCurrent"
28425
28757
  }
28426
28758
  ],
28427
28759
  "superclass": {
@@ -29361,7 +29693,7 @@
29361
29693
  "privacy": "public",
29362
29694
  "return": {
29363
29695
  "type": {
29364
- "text": "boolean"
29696
+ "text": "date is T"
29365
29697
  }
29366
29698
  },
29367
29699
  "parameters": [
@@ -30094,7 +30426,7 @@
30094
30426
  "privacy": "public",
30095
30427
  "return": {
30096
30428
  "type": {
30097
- "text": "boolean"
30429
+ "text": "date is Date"
30098
30430
  }
30099
30431
  },
30100
30432
  "parameters": [
@@ -30989,6 +31321,14 @@
30989
31321
  "description": "Handle the page scroll, allowing to disable/enable the window scroll avoiding a potential\ncontent shift caused by the disappearance/appearance of the scrollbar.",
30990
31322
  "name": "SbbScrollHandler",
30991
31323
  "members": [
31324
+ {
31325
+ "kind": "field",
31326
+ "name": "_height",
31327
+ "type": {
31328
+ "text": "string"
31329
+ },
31330
+ "privacy": "private"
31331
+ },
30992
31332
  {
30993
31333
  "kind": "field",
30994
31334
  "name": "_position",
@@ -32814,7 +33154,7 @@
32814
33154
  "type": {
32815
33155
  "text": "string[]"
32816
33156
  },
32817
- "default": "[ 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Billetkontrolle.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Hoehenrundweg-Gryden-Lenk.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Kaufmann-frau.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Corona-Schutzkonzept.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/online-kaufen.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Digitale-Werbung-SBB.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Bahnhof-Luzern.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Einheitswagen-IV-EuroCity.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Einsatzstrecken_EW4-Eurocity.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Frau-No-Results.png', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Help-Teaser-Landscape.png', ]"
33157
+ "default": "[ 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Billetkontrolle.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Hoehenrundweg-Gryden-Lenk.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Kaufmann-frau.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Corona-Schutzkonzept.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Digitale-Werbung-SBB.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Bahnhof-Luzern.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Einheitswagen-IV-EuroCity.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Einsatzstrecken_EW4-Eurocity.jpg', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Frau-No-Results.png', 'https://cdn.img.sbb.ch/content/dam/internet/lyne/Help-Teaser-Landscape.png', ]"
32818
33158
  }
32819
33159
  ],
32820
33160
  "exports": [
@@ -36423,18 +36763,107 @@
36423
36763
  {
36424
36764
  "kind": "class",
36425
36765
  "description": "",
36426
- "name": "SbbDatepickerButton",
36766
+ "name": "SbbDatepickerAssociationHostController",
36427
36767
  "members": [
36428
36768
  {
36429
36769
  "kind": "field",
36430
- "name": "datePicker",
36770
+ "name": "_context",
36431
36771
  "type": {
36432
- "text": "| string\n | SbbDatepickerElement<T>\n | null"
36772
+ "text": "SbbDatepickerAssociationContext<T> | undefined"
36433
36773
  },
36774
+ "privacy": "private"
36775
+ },
36776
+ {
36777
+ "kind": "method",
36778
+ "name": "hostConnected",
36779
+ "privacy": "public",
36780
+ "return": {
36781
+ "type": {
36782
+ "text": "void"
36783
+ }
36784
+ }
36785
+ },
36786
+ {
36787
+ "kind": "method",
36788
+ "name": "hostDisconnected",
36789
+ "privacy": "public",
36790
+ "return": {
36791
+ "type": {
36792
+ "text": "void"
36793
+ }
36794
+ }
36795
+ },
36796
+ {
36797
+ "kind": "method",
36798
+ "name": "updateControls",
36799
+ "privacy": "public",
36800
+ "return": {
36801
+ "type": {
36802
+ "text": "void"
36803
+ }
36804
+ }
36805
+ }
36806
+ ],
36807
+ "classGenerics": "T"
36808
+ },
36809
+ {
36810
+ "kind": "class",
36811
+ "description": "",
36812
+ "name": "SbbDatepickerAssociationControlController",
36813
+ "members": [
36814
+ {
36815
+ "kind": "field",
36816
+ "name": "_context",
36817
+ "type": {
36818
+ "text": "SbbDatepickerAssociationContext<T> | undefined"
36819
+ },
36820
+ "privacy": "private"
36821
+ },
36822
+ {
36823
+ "kind": "method",
36824
+ "name": "hostConnected",
36825
+ "privacy": "public",
36826
+ "return": {
36827
+ "type": {
36828
+ "text": "void"
36829
+ }
36830
+ }
36831
+ },
36832
+ {
36833
+ "kind": "method",
36834
+ "name": "hostDisconnected",
36835
+ "privacy": "public",
36836
+ "return": {
36837
+ "type": {
36838
+ "text": "void"
36839
+ }
36840
+ }
36841
+ }
36842
+ ],
36843
+ "classGenerics": "T"
36844
+ },
36845
+ {
36846
+ "kind": "class",
36847
+ "description": "",
36848
+ "name": "SbbDatepickerButton",
36849
+ "members": [
36850
+ {
36851
+ "kind": "field",
36852
+ "name": "datepicker",
36434
36853
  "privacy": "public",
36435
- "default": "null",
36436
36854
  "description": "Datepicker reference.",
36437
- "attribute": "date-picker"
36855
+ "type": {
36856
+ "text": "SbbDatepickerElement<T> | null"
36857
+ },
36858
+ "attribute": "datepicker"
36859
+ },
36860
+ {
36861
+ "kind": "field",
36862
+ "name": "_datepicker",
36863
+ "type": {
36864
+ "text": "SbbDatepickerElement<T> | null | undefined"
36865
+ },
36866
+ "privacy": "private"
36438
36867
  },
36439
36868
  {
36440
36869
  "kind": "field",
@@ -36473,7 +36902,8 @@
36473
36902
  "text": "SbbDatepickerElement<T> | null | undefined"
36474
36903
  },
36475
36904
  "privacy": "protected",
36476
- "default": "null"
36905
+ "default": "null",
36906
+ "deprecated": "Use datepicker instead."
36477
36907
  },
36478
36908
  {
36479
36909
  "kind": "field",
@@ -36483,18 +36913,11 @@
36483
36913
  },
36484
36914
  "privacy": "private"
36485
36915
  },
36486
- {
36487
- "kind": "field",
36488
- "name": "_datePickerController",
36489
- "type": {
36490
- "text": "AbortController"
36491
- },
36492
- "privacy": "private"
36493
- },
36494
36916
  {
36495
36917
  "kind": "field",
36496
36918
  "name": "_language",
36497
- "privacy": "private"
36919
+ "privacy": "private",
36920
+ "default": "new SbbLanguageController(this)"
36498
36921
  },
36499
36922
  {
36500
36923
  "kind": "field",
@@ -36538,16 +36961,6 @@
36538
36961
  }
36539
36962
  ]
36540
36963
  },
36541
- {
36542
- "kind": "method",
36543
- "name": "_setDisabledState",
36544
- "privacy": "private",
36545
- "return": {
36546
- "type": {
36547
- "text": "void"
36548
- }
36549
- }
36550
- },
36551
36964
  {
36552
36965
  "kind": "method",
36553
36966
  "name": "_handleClick",
@@ -36558,45 +36971,6 @@
36558
36971
  }
36559
36972
  }
36560
36973
  },
36561
- {
36562
- "kind": "method",
36563
- "name": "_syncUpstreamProperties",
36564
- "privacy": "private",
36565
- "return": {
36566
- "type": {
36567
- "text": "void"
36568
- }
36569
- }
36570
- },
36571
- {
36572
- "kind": "method",
36573
- "name": "_init",
36574
- "privacy": "private",
36575
- "return": {
36576
- "type": {
36577
- "text": "void"
36578
- }
36579
- },
36580
- "parameters": [
36581
- {
36582
- "name": "picker",
36583
- "optional": true,
36584
- "type": {
36585
- "text": "string | SbbDatepickerElement<T>"
36586
- }
36587
- }
36588
- ]
36589
- },
36590
- {
36591
- "kind": "method",
36592
- "name": "_setAriaLabel",
36593
- "privacy": "private",
36594
- "return": {
36595
- "type": {
36596
- "text": "void"
36597
- }
36598
- }
36599
- },
36600
36974
  {
36601
36975
  "kind": "method",
36602
36976
  "name": "_setDisabledRenderAttributes",
@@ -36605,16 +36979,7 @@
36605
36979
  "type": {
36606
36980
  "text": "void"
36607
36981
  }
36608
- },
36609
- "parameters": [
36610
- {
36611
- "name": "isDisabled",
36612
- "default": "this._disabled || this._inputDisabled",
36613
- "type": {
36614
- "text": "boolean"
36615
- }
36616
- }
36617
- ]
36982
+ }
36618
36983
  },
36619
36984
  {
36620
36985
  "kind": "method",
@@ -36876,13 +37241,12 @@
36876
37241
  ],
36877
37242
  "attributes": [
36878
37243
  {
36879
- "name": "date-picker",
37244
+ "name": "datepicker",
37245
+ "description": "Datepicker reference.",
36880
37246
  "type": {
36881
- "text": "| string\n | SbbDatepickerElement<T>\n | null"
37247
+ "text": "SbbDatepickerElement<T> | null"
36882
37248
  },
36883
- "default": "null",
36884
- "description": "Datepicker reference.",
36885
- "fieldName": "datePicker"
37249
+ "fieldName": "datepicker"
36886
37250
  },
36887
37251
  {
36888
37252
  "name": "negative",
@@ -36961,6 +37325,22 @@
36961
37325
  }
36962
37326
  ],
36963
37327
  "exports": [
37328
+ {
37329
+ "kind": "js",
37330
+ "name": "SbbDatepickerAssociationHostController",
37331
+ "declaration": {
37332
+ "name": "SbbDatepickerAssociationHostController",
37333
+ "module": "datepicker/common.js"
37334
+ }
37335
+ },
37336
+ {
37337
+ "kind": "js",
37338
+ "name": "SbbDatepickerAssociationControlController",
37339
+ "declaration": {
37340
+ "name": "SbbDatepickerAssociationControlController",
37341
+ "module": "datepicker/common.js"
37342
+ }
37343
+ },
36964
37344
  {
36965
37345
  "kind": "js",
36966
37346
  "name": "SbbDatepickerButton",
@@ -37059,14 +37439,25 @@
37059
37439
  },
37060
37440
  {
37061
37441
  "kind": "field",
37062
- "name": "datePicker",
37063
- "type": {
37064
- "text": "| string\n | SbbDatepickerElement<T>\n | null"
37065
- },
37442
+ "name": "datepicker",
37066
37443
  "privacy": "public",
37067
- "default": "null",
37068
37444
  "description": "Datepicker reference.",
37069
- "attribute": "date-picker",
37445
+ "type": {
37446
+ "text": "SbbDatepickerElement<T> | null"
37447
+ },
37448
+ "attribute": "datepicker",
37449
+ "inheritedFrom": {
37450
+ "name": "SbbDatepickerButton",
37451
+ "module": "datepicker/common.js"
37452
+ }
37453
+ },
37454
+ {
37455
+ "kind": "field",
37456
+ "name": "_datepicker",
37457
+ "type": {
37458
+ "text": "SbbDatepickerElement<T> | null | undefined"
37459
+ },
37460
+ "privacy": "private",
37070
37461
  "inheritedFrom": {
37071
37462
  "name": "SbbDatepickerButton",
37072
37463
  "module": "datepicker/common.js"
@@ -37122,6 +37513,7 @@
37122
37513
  },
37123
37514
  "privacy": "protected",
37124
37515
  "default": "null",
37516
+ "deprecated": "Use datepicker instead.",
37125
37517
  "inheritedFrom": {
37126
37518
  "name": "SbbDatepickerButton",
37127
37519
  "module": "datepicker/common.js"
@@ -37139,36 +37531,11 @@
37139
37531
  "module": "datepicker/common.js"
37140
37532
  }
37141
37533
  },
37142
- {
37143
- "kind": "field",
37144
- "name": "_datePickerController",
37145
- "type": {
37146
- "text": "AbortController"
37147
- },
37148
- "privacy": "private",
37149
- "inheritedFrom": {
37150
- "name": "SbbDatepickerButton",
37151
- "module": "datepicker/common.js"
37152
- }
37153
- },
37154
37534
  {
37155
37535
  "kind": "field",
37156
37536
  "name": "_language",
37157
37537
  "privacy": "private",
37158
- "inheritedFrom": {
37159
- "name": "SbbDatepickerButton",
37160
- "module": "datepicker/common.js"
37161
- }
37162
- },
37163
- {
37164
- "kind": "method",
37165
- "name": "_setDisabledState",
37166
- "privacy": "private",
37167
- "return": {
37168
- "type": {
37169
- "text": "void"
37170
- }
37171
- },
37538
+ "default": "new SbbLanguageController(this)",
37172
37539
  "inheritedFrom": {
37173
37540
  "name": "SbbDatepickerButton",
37174
37541
  "module": "datepicker/common.js"
@@ -37188,57 +37555,6 @@
37188
37555
  "module": "datepicker/common.js"
37189
37556
  }
37190
37557
  },
37191
- {
37192
- "kind": "method",
37193
- "name": "_syncUpstreamProperties",
37194
- "privacy": "private",
37195
- "return": {
37196
- "type": {
37197
- "text": "void"
37198
- }
37199
- },
37200
- "inheritedFrom": {
37201
- "name": "SbbDatepickerButton",
37202
- "module": "datepicker/common.js"
37203
- }
37204
- },
37205
- {
37206
- "kind": "method",
37207
- "name": "_init",
37208
- "privacy": "private",
37209
- "return": {
37210
- "type": {
37211
- "text": "void"
37212
- }
37213
- },
37214
- "parameters": [
37215
- {
37216
- "name": "picker",
37217
- "optional": true,
37218
- "type": {
37219
- "text": "string | SbbDatepickerElement<T>"
37220
- }
37221
- }
37222
- ],
37223
- "inheritedFrom": {
37224
- "name": "SbbDatepickerButton",
37225
- "module": "datepicker/common.js"
37226
- }
37227
- },
37228
- {
37229
- "kind": "method",
37230
- "name": "_setAriaLabel",
37231
- "privacy": "private",
37232
- "return": {
37233
- "type": {
37234
- "text": "void"
37235
- }
37236
- },
37237
- "inheritedFrom": {
37238
- "name": "SbbDatepickerButton",
37239
- "module": "datepicker/common.js"
37240
- }
37241
- },
37242
37558
  {
37243
37559
  "kind": "method",
37244
37560
  "name": "_setDisabledRenderAttributes",
@@ -37248,15 +37564,6 @@
37248
37564
  "text": "void"
37249
37565
  }
37250
37566
  },
37251
- "parameters": [
37252
- {
37253
- "name": "isDisabled",
37254
- "default": "this._disabled || this._inputDisabled",
37255
- "type": {
37256
- "text": "boolean"
37257
- }
37258
- }
37259
- ],
37260
37567
  "inheritedFrom": {
37261
37568
  "name": "SbbDatepickerButton",
37262
37569
  "module": "datepicker/common.js"
@@ -37526,13 +37833,12 @@
37526
37833
  }
37527
37834
  },
37528
37835
  {
37529
- "name": "date-picker",
37836
+ "name": "datepicker",
37837
+ "description": "Datepicker reference.",
37530
37838
  "type": {
37531
- "text": "| string\n | SbbDatepickerElement<T>\n | null"
37839
+ "text": "SbbDatepickerElement<T> | null"
37532
37840
  },
37533
- "default": "null",
37534
- "description": "Datepicker reference.",
37535
- "fieldName": "datePicker",
37841
+ "fieldName": "datepicker",
37536
37842
  "inheritedFrom": {
37537
37843
  "name": "SbbDatepickerButton",
37538
37844
  "module": "datepicker/common.js"
@@ -37697,14 +38003,25 @@
37697
38003
  },
37698
38004
  {
37699
38005
  "kind": "field",
37700
- "name": "datePicker",
37701
- "type": {
37702
- "text": "| string\n | SbbDatepickerElement<T>\n | null"
37703
- },
38006
+ "name": "datepicker",
37704
38007
  "privacy": "public",
37705
- "default": "null",
37706
38008
  "description": "Datepicker reference.",
37707
- "attribute": "date-picker",
38009
+ "type": {
38010
+ "text": "SbbDatepickerElement<T> | null"
38011
+ },
38012
+ "attribute": "datepicker",
38013
+ "inheritedFrom": {
38014
+ "name": "SbbDatepickerButton",
38015
+ "module": "datepicker/common.js"
38016
+ }
38017
+ },
38018
+ {
38019
+ "kind": "field",
38020
+ "name": "_datepicker",
38021
+ "type": {
38022
+ "text": "SbbDatepickerElement<T> | null | undefined"
38023
+ },
38024
+ "privacy": "private",
37708
38025
  "inheritedFrom": {
37709
38026
  "name": "SbbDatepickerButton",
37710
38027
  "module": "datepicker/common.js"
@@ -37760,6 +38077,7 @@
37760
38077
  },
37761
38078
  "privacy": "protected",
37762
38079
  "default": "null",
38080
+ "deprecated": "Use datepicker instead.",
37763
38081
  "inheritedFrom": {
37764
38082
  "name": "SbbDatepickerButton",
37765
38083
  "module": "datepicker/common.js"
@@ -37777,36 +38095,11 @@
37777
38095
  "module": "datepicker/common.js"
37778
38096
  }
37779
38097
  },
37780
- {
37781
- "kind": "field",
37782
- "name": "_datePickerController",
37783
- "type": {
37784
- "text": "AbortController"
37785
- },
37786
- "privacy": "private",
37787
- "inheritedFrom": {
37788
- "name": "SbbDatepickerButton",
37789
- "module": "datepicker/common.js"
37790
- }
37791
- },
37792
38098
  {
37793
38099
  "kind": "field",
37794
38100
  "name": "_language",
37795
38101
  "privacy": "private",
37796
- "inheritedFrom": {
37797
- "name": "SbbDatepickerButton",
37798
- "module": "datepicker/common.js"
37799
- }
37800
- },
37801
- {
37802
- "kind": "method",
37803
- "name": "_setDisabledState",
37804
- "privacy": "private",
37805
- "return": {
37806
- "type": {
37807
- "text": "void"
37808
- }
37809
- },
38102
+ "default": "new SbbLanguageController(this)",
37810
38103
  "inheritedFrom": {
37811
38104
  "name": "SbbDatepickerButton",
37812
38105
  "module": "datepicker/common.js"
@@ -37826,57 +38119,6 @@
37826
38119
  "module": "datepicker/common.js"
37827
38120
  }
37828
38121
  },
37829
- {
37830
- "kind": "method",
37831
- "name": "_syncUpstreamProperties",
37832
- "privacy": "private",
37833
- "return": {
37834
- "type": {
37835
- "text": "void"
37836
- }
37837
- },
37838
- "inheritedFrom": {
37839
- "name": "SbbDatepickerButton",
37840
- "module": "datepicker/common.js"
37841
- }
37842
- },
37843
- {
37844
- "kind": "method",
37845
- "name": "_init",
37846
- "privacy": "private",
37847
- "return": {
37848
- "type": {
37849
- "text": "void"
37850
- }
37851
- },
37852
- "parameters": [
37853
- {
37854
- "name": "picker",
37855
- "optional": true,
37856
- "type": {
37857
- "text": "string | SbbDatepickerElement<T>"
37858
- }
37859
- }
37860
- ],
37861
- "inheritedFrom": {
37862
- "name": "SbbDatepickerButton",
37863
- "module": "datepicker/common.js"
37864
- }
37865
- },
37866
- {
37867
- "kind": "method",
37868
- "name": "_setAriaLabel",
37869
- "privacy": "private",
37870
- "return": {
37871
- "type": {
37872
- "text": "void"
37873
- }
37874
- },
37875
- "inheritedFrom": {
37876
- "name": "SbbDatepickerButton",
37877
- "module": "datepicker/common.js"
37878
- }
37879
- },
37880
38122
  {
37881
38123
  "kind": "method",
37882
38124
  "name": "_setDisabledRenderAttributes",
@@ -37886,15 +38128,6 @@
37886
38128
  "text": "void"
37887
38129
  }
37888
38130
  },
37889
- "parameters": [
37890
- {
37891
- "name": "isDisabled",
37892
- "default": "this._disabled || this._inputDisabled",
37893
- "type": {
37894
- "text": "boolean"
37895
- }
37896
- }
37897
- ],
37898
38131
  "inheritedFrom": {
37899
38132
  "name": "SbbDatepickerButton",
37900
38133
  "module": "datepicker/common.js"
@@ -38164,13 +38397,12 @@
38164
38397
  }
38165
38398
  },
38166
38399
  {
38167
- "name": "date-picker",
38400
+ "name": "datepicker",
38401
+ "description": "Datepicker reference.",
38168
38402
  "type": {
38169
- "text": "| string\n | SbbDatepickerElement<T>\n | null"
38403
+ "text": "SbbDatepickerElement<T> | null"
38170
38404
  },
38171
- "default": "null",
38172
- "description": "Datepicker reference.",
38173
- "fieldName": "datePicker",
38405
+ "fieldName": "datepicker",
38174
38406
  "inheritedFrom": {
38175
38407
  "name": "SbbDatepickerButton",
38176
38408
  "module": "datepicker/common.js"
@@ -38258,14 +38490,21 @@
38258
38490
  "members": [
38259
38491
  {
38260
38492
  "kind": "field",
38261
- "name": "datePicker",
38262
- "type": {
38263
- "text": "| string\n | SbbDatepickerElement\n | null"
38264
- },
38493
+ "name": "datepicker",
38265
38494
  "privacy": "public",
38266
- "default": "null",
38267
38495
  "description": "Datepicker reference.",
38268
- "attribute": "date-picker"
38496
+ "type": {
38497
+ "text": "SbbDatepickerElement<T> | null"
38498
+ },
38499
+ "attribute": "datepicker"
38500
+ },
38501
+ {
38502
+ "kind": "field",
38503
+ "name": "_datepicker",
38504
+ "type": {
38505
+ "text": "SbbDatepickerElement<T> | null | undefined"
38506
+ },
38507
+ "privacy": "private"
38269
38508
  },
38270
38509
  {
38271
38510
  "kind": "field",
@@ -38314,14 +38553,6 @@
38314
38553
  "privacy": "private",
38315
38554
  "default": "false"
38316
38555
  },
38317
- {
38318
- "kind": "field",
38319
- "name": "_datePickerElement",
38320
- "type": {
38321
- "text": "SbbDatepickerElement<T> | null | undefined"
38322
- },
38323
- "privacy": "private"
38324
- },
38325
38556
  {
38326
38557
  "kind": "field",
38327
38558
  "name": "_calendarElement",
@@ -38346,14 +38577,6 @@
38346
38577
  },
38347
38578
  "privacy": "private"
38348
38579
  },
38349
- {
38350
- "kind": "field",
38351
- "name": "_datePickerController",
38352
- "type": {
38353
- "text": "AbortController"
38354
- },
38355
- "privacy": "private"
38356
- },
38357
38580
  {
38358
38581
  "kind": "field",
38359
38582
  "name": "_language",
@@ -38371,25 +38594,6 @@
38371
38594
  },
38372
38595
  "description": "Opens the calendar."
38373
38596
  },
38374
- {
38375
- "kind": "method",
38376
- "name": "_init",
38377
- "privacy": "private",
38378
- "return": {
38379
- "type": {
38380
- "text": "void"
38381
- }
38382
- },
38383
- "parameters": [
38384
- {
38385
- "name": "datePicker",
38386
- "optional": true,
38387
- "type": {
38388
- "text": "string | SbbDatepickerElement"
38389
- }
38390
- }
38391
- ]
38392
- },
38393
38597
  {
38394
38598
  "kind": "method",
38395
38599
  "name": "_configureCalendar",
@@ -38398,39 +38602,7 @@
38398
38602
  "type": {
38399
38603
  "text": "void"
38400
38604
  }
38401
- },
38402
- "parameters": [
38403
- {
38404
- "name": "calendar",
38405
- "type": {
38406
- "text": "SbbCalendarElement<T>"
38407
- }
38408
- },
38409
- {
38410
- "name": "datepicker",
38411
- "type": {
38412
- "text": "SbbDatepickerElement<T>"
38413
- }
38414
- }
38415
- ]
38416
- },
38417
- {
38418
- "kind": "method",
38419
- "name": "_datePickerChanged",
38420
- "privacy": "private",
38421
- "return": {
38422
- "type": {
38423
- "text": "void"
38424
- }
38425
- },
38426
- "parameters": [
38427
- {
38428
- "name": "event",
38429
- "type": {
38430
- "text": "Event"
38431
- }
38432
- }
38433
- ]
38605
+ }
38434
38606
  },
38435
38607
  {
38436
38608
  "kind": "method",
@@ -38529,13 +38701,12 @@
38529
38701
  ],
38530
38702
  "attributes": [
38531
38703
  {
38532
- "name": "date-picker",
38704
+ "name": "datepicker",
38705
+ "description": "Datepicker reference.",
38533
38706
  "type": {
38534
- "text": "| string\n | SbbDatepickerElement\n | null"
38707
+ "text": "SbbDatepickerElement<T> | null"
38535
38708
  },
38536
- "default": "null",
38537
- "description": "Datepicker reference.",
38538
- "fieldName": "datePicker"
38709
+ "fieldName": "datepicker"
38539
38710
  },
38540
38711
  {
38541
38712
  "name": "view",
@@ -38627,7 +38798,8 @@
38627
38798
  "description": "The id or the reference of the SbbDatePicker."
38628
38799
  }
38629
38800
  ],
38630
- "description": "Given a SbbDatepickerPreviousDayElement, a SbbDatepickerNextDayElement or a SbbDatepickerToggleElement component,\nit returns the related SbbDatepickerElement reference, if exists."
38801
+ "description": "Given a SbbDatepickerPreviousDayElement, a SbbDatepickerNextDayElement or a SbbDatepickerToggleElement component,\nit returns the related SbbDatepickerElement reference, if exists.",
38802
+ "deprecated": "No longer in use."
38631
38803
  },
38632
38804
  {
38633
38805
  "kind": "function",
@@ -38636,7 +38808,8 @@
38636
38808
  "type": {
38637
38809
  "text": "CustomEvent"
38638
38810
  }
38639
- }
38811
+ },
38812
+ "deprecated": "No longer in use."
38640
38813
  },
38641
38814
  {
38642
38815
  "kind": "class",
@@ -38682,14 +38855,14 @@
38682
38855
  },
38683
38856
  "privacy": "public",
38684
38857
  "default": "null",
38685
- "description": "Reference of the native input connected to the datepicker.",
38858
+ "description": "Reference of the native input connected to the datepicker.\nIf given a string, it will be treated as an id reference and an attempt is\nmade to be resolved for the containing document fragment.\nIf given a HTMLElement instance, it will be used as is.",
38686
38859
  "attribute": "input"
38687
38860
  },
38688
38861
  {
38689
38862
  "kind": "field",
38690
38863
  "name": "now",
38691
38864
  "privacy": "public",
38692
- "description": "A configured date which acts as the current date instead of the real current date. Recommended for testing purposes.",
38865
+ "description": "A configured date which acts as the current date instead of the real current date.\nRecommended for testing purposes.",
38693
38866
  "type": {
38694
38867
  "text": "T"
38695
38868
  },
@@ -38720,6 +38893,26 @@
38720
38893
  },
38721
38894
  "privacy": "private"
38722
38895
  },
38896
+ {
38897
+ "kind": "field",
38898
+ "name": "inputElement",
38899
+ "type": {
38900
+ "text": "HTMLInputElement | null"
38901
+ },
38902
+ "privacy": "public",
38903
+ "description": "The resolved associated input element, as defined by `input`.",
38904
+ "readonly": true,
38905
+ "default": "null"
38906
+ },
38907
+ {
38908
+ "kind": "field",
38909
+ "name": "_inputElement",
38910
+ "type": {
38911
+ "text": "HTMLInputElement | null"
38912
+ },
38913
+ "privacy": "private",
38914
+ "default": "null"
38915
+ },
38723
38916
  {
38724
38917
  "kind": "field",
38725
38918
  "name": "_change",
@@ -38760,15 +38953,6 @@
38760
38953
  "default": "new EventEmitter( this, SbbDatepickerElement.events.validationChange, )",
38761
38954
  "description": "Emits whenever the internal validation state changes."
38762
38955
  },
38763
- {
38764
- "kind": "field",
38765
- "name": "_inputElement",
38766
- "type": {
38767
- "text": "HTMLInputElement | null"
38768
- },
38769
- "privacy": "private",
38770
- "default": "null"
38771
- },
38772
38956
  {
38773
38957
  "kind": "field",
38774
38958
  "name": "_inputElementPlaceholderMutable",
@@ -38804,6 +38988,12 @@
38804
38988
  "name": "_language",
38805
38989
  "privacy": "private"
38806
38990
  },
38991
+ {
38992
+ "kind": "field",
38993
+ "name": "_associationController",
38994
+ "privacy": "private",
38995
+ "default": "new SbbDatepickerAssociationHostController(this)"
38996
+ },
38807
38997
  {
38808
38998
  "kind": "method",
38809
38999
  "name": "_attachInput",
@@ -39012,12 +39202,12 @@
39012
39202
  "text": "string | HTMLElement | null"
39013
39203
  },
39014
39204
  "default": "null",
39015
- "description": "Reference of the native input connected to the datepicker.",
39205
+ "description": "Reference of the native input connected to the datepicker.\nIf given a string, it will be treated as an id reference and an attempt is\nmade to be resolved for the containing document fragment.\nIf given a HTMLElement instance, it will be used as is.",
39016
39206
  "fieldName": "input"
39017
39207
  },
39018
39208
  {
39019
39209
  "name": "now",
39020
- "description": "A configured date which acts as the current date instead of the real current date. Recommended for testing purposes.",
39210
+ "description": "A configured date which acts as the current date instead of the real current date.\nRecommended for testing purposes.",
39021
39211
  "type": {
39022
39212
  "text": "T"
39023
39213
  },
@@ -39653,6 +39843,18 @@
39653
39843
  "description": "Backdrop click action.",
39654
39844
  "attribute": "backdrop-action"
39655
39845
  },
39846
+ {
39847
+ "kind": "field",
39848
+ "name": "backdrop",
39849
+ "type": {
39850
+ "text": "| 'opaque'\n | 'translucent'"
39851
+ },
39852
+ "privacy": "public",
39853
+ "default": "'opaque'",
39854
+ "description": "Backdrop density.",
39855
+ "attribute": "backdrop",
39856
+ "reflects": true
39857
+ },
39656
39858
  {
39657
39859
  "kind": "field",
39658
39860
  "name": "_dialogContentResizeObserver",
@@ -39959,7 +40161,7 @@
39959
40161
  "text": "EventEmitter"
39960
40162
  },
39961
40163
  "privacy": "protected",
39962
- "default": "new EventEmitter( this, SbbOverlayBaseElement.events.didClose, )",
40164
+ "default": "new EventEmitter( this, SbbOverlayBaseElement.events.didClose, { cancelable: true }, )",
39963
40165
  "description": "Emits whenever the component is closed.",
39964
40166
  "inheritedFrom": {
39965
40167
  "name": "SbbOpenCloseBaseElement",
@@ -40359,6 +40561,15 @@
40359
40561
  "description": "Backdrop click action.",
40360
40562
  "fieldName": "backdropAction"
40361
40563
  },
40564
+ {
40565
+ "name": "backdrop",
40566
+ "type": {
40567
+ "text": "| 'opaque'\n | 'translucent'"
40568
+ },
40569
+ "default": "'opaque'",
40570
+ "description": "Backdrop density.",
40571
+ "fieldName": "backdrop"
40572
+ },
40362
40573
  {
40363
40574
  "name": "negative",
40364
40575
  "type": {
@@ -45263,6 +45474,19 @@
45263
45474
  "name": "SbbLinkBaseElement",
45264
45475
  "module": "core/base-elements.js"
45265
45476
  }
45477
+ },
45478
+ {
45479
+ "name": "accessibility-current",
45480
+ "type": {
45481
+ "text": "string"
45482
+ },
45483
+ "default": "''",
45484
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
45485
+ "fieldName": "accessibilityCurrent",
45486
+ "inheritedFrom": {
45487
+ "name": "SbbLinkBaseElement",
45488
+ "module": "core/base-elements.js"
45489
+ }
45266
45490
  }
45267
45491
  ],
45268
45492
  "members": [
@@ -45425,6 +45649,21 @@
45425
45649
  "module": "core/base-elements.js"
45426
45650
  }
45427
45651
  },
45652
+ {
45653
+ "kind": "field",
45654
+ "name": "accessibilityCurrent",
45655
+ "type": {
45656
+ "text": "string"
45657
+ },
45658
+ "privacy": "public",
45659
+ "default": "''",
45660
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
45661
+ "attribute": "accessibility-current",
45662
+ "inheritedFrom": {
45663
+ "name": "SbbLinkBaseElement",
45664
+ "module": "core/base-elements.js"
45665
+ }
45666
+ },
45428
45667
  {
45429
45668
  "kind": "field",
45430
45669
  "name": "language",
@@ -46856,6 +47095,19 @@
46856
47095
  "name": "SbbLinkBaseElement",
46857
47096
  "module": "core/base-elements.js"
46858
47097
  }
47098
+ },
47099
+ {
47100
+ "name": "accessibility-current",
47101
+ "type": {
47102
+ "text": "string"
47103
+ },
47104
+ "default": "''",
47105
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
47106
+ "fieldName": "accessibilityCurrent",
47107
+ "inheritedFrom": {
47108
+ "name": "SbbLinkBaseElement",
47109
+ "module": "core/base-elements.js"
47110
+ }
46859
47111
  }
46860
47112
  ],
46861
47113
  "members": [
@@ -47065,6 +47317,21 @@
47065
47317
  "module": "core/base-elements.js"
47066
47318
  }
47067
47319
  },
47320
+ {
47321
+ "kind": "field",
47322
+ "name": "accessibilityCurrent",
47323
+ "type": {
47324
+ "text": "string"
47325
+ },
47326
+ "privacy": "public",
47327
+ "default": "''",
47328
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
47329
+ "attribute": "accessibility-current",
47330
+ "inheritedFrom": {
47331
+ "name": "SbbLinkBaseElement",
47332
+ "module": "core/base-elements.js"
47333
+ }
47334
+ },
47068
47335
  {
47069
47336
  "kind": "field",
47070
47337
  "name": "language",
@@ -48643,6 +48910,21 @@
48643
48910
  "module": "core/base-elements.js"
48644
48911
  }
48645
48912
  },
48913
+ {
48914
+ "kind": "field",
48915
+ "name": "accessibilityCurrent",
48916
+ "type": {
48917
+ "text": "string"
48918
+ },
48919
+ "privacy": "public",
48920
+ "default": "''",
48921
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
48922
+ "attribute": "accessibility-current",
48923
+ "inheritedFrom": {
48924
+ "name": "SbbLinkBaseElement",
48925
+ "module": "core/base-elements.js"
48926
+ }
48927
+ },
48646
48928
  {
48647
48929
  "kind": "field",
48648
48930
  "name": "language",
@@ -48829,6 +49111,19 @@
48829
49111
  "name": "SbbLinkBaseElement",
48830
49112
  "module": "core/base-elements.js"
48831
49113
  }
49114
+ },
49115
+ {
49116
+ "name": "accessibility-current",
49117
+ "type": {
49118
+ "text": "string"
49119
+ },
49120
+ "default": "''",
49121
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
49122
+ "fieldName": "accessibilityCurrent",
49123
+ "inheritedFrom": {
49124
+ "name": "SbbLinkBaseElement",
49125
+ "module": "core/base-elements.js"
49126
+ }
48832
49127
  }
48833
49128
  ]
48834
49129
  }
@@ -50473,6 +50768,19 @@
50473
50768
  "name": "SbbLinkBaseElement",
50474
50769
  "module": "core/base-elements.js"
50475
50770
  }
50771
+ },
50772
+ {
50773
+ "name": "accessibility-current",
50774
+ "type": {
50775
+ "text": "string"
50776
+ },
50777
+ "default": "''",
50778
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
50779
+ "fieldName": "accessibilityCurrent",
50780
+ "inheritedFrom": {
50781
+ "name": "SbbLinkBaseElement",
50782
+ "module": "core/base-elements.js"
50783
+ }
50476
50784
  }
50477
50785
  ],
50478
50786
  "members": [
@@ -50681,6 +50989,21 @@
50681
50989
  "module": "core/base-elements.js"
50682
50990
  }
50683
50991
  },
50992
+ {
50993
+ "kind": "field",
50994
+ "name": "accessibilityCurrent",
50995
+ "type": {
50996
+ "text": "string"
50997
+ },
50998
+ "privacy": "public",
50999
+ "default": "''",
51000
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
51001
+ "attribute": "accessibility-current",
51002
+ "inheritedFrom": {
51003
+ "name": "SbbLinkBaseElement",
51004
+ "module": "core/base-elements.js"
51005
+ }
51006
+ },
50684
51007
  {
50685
51008
  "kind": "field",
50686
51009
  "name": "language",
@@ -52233,6 +52556,19 @@
52233
52556
  "name": "SbbLinkBaseElement",
52234
52557
  "module": "core/base-elements.js"
52235
52558
  }
52559
+ },
52560
+ {
52561
+ "name": "accessibility-current",
52562
+ "type": {
52563
+ "text": "string"
52564
+ },
52565
+ "default": "''",
52566
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
52567
+ "fieldName": "accessibilityCurrent",
52568
+ "inheritedFrom": {
52569
+ "name": "SbbLinkBaseElement",
52570
+ "module": "core/base-elements.js"
52571
+ }
52236
52572
  }
52237
52573
  ],
52238
52574
  "members": [
@@ -52423,6 +52759,21 @@
52423
52759
  "module": "core/base-elements.js"
52424
52760
  }
52425
52761
  },
52762
+ {
52763
+ "kind": "field",
52764
+ "name": "accessibilityCurrent",
52765
+ "type": {
52766
+ "text": "string"
52767
+ },
52768
+ "privacy": "public",
52769
+ "default": "''",
52770
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
52771
+ "attribute": "accessibility-current",
52772
+ "inheritedFrom": {
52773
+ "name": "SbbLinkBaseElement",
52774
+ "module": "core/base-elements.js"
52775
+ }
52776
+ },
52426
52777
  {
52427
52778
  "kind": "field",
52428
52779
  "name": "language",
@@ -55017,7 +55368,26 @@
55017
55368
  }
55018
55369
  }
55019
55370
  ],
55020
- "description": "Observe changes on data attributes and set the appropriate values."
55371
+ "deprecated": "use onExternalMutation() as replacement. Will be removed with next major change."
55372
+ },
55373
+ {
55374
+ "kind": "method",
55375
+ "name": "onExternalMutation",
55376
+ "privacy": "protected",
55377
+ "return": {
55378
+ "type": {
55379
+ "text": "void"
55380
+ }
55381
+ },
55382
+ "parameters": [
55383
+ {
55384
+ "name": "mutationsList",
55385
+ "type": {
55386
+ "text": "MutationRecord[]"
55387
+ }
55388
+ }
55389
+ ],
55390
+ "description": "Observe changes on data attributes + slotted content and set the appropriate values."
55021
55391
  },
55022
55392
  {
55023
55393
  "kind": "method",
@@ -55069,16 +55439,6 @@
55069
55439
  }
55070
55440
  }
55071
55441
  },
55072
- {
55073
- "kind": "method",
55074
- "name": "_handleSlotChange",
55075
- "privacy": "private",
55076
- "return": {
55077
- "type": {
55078
- "text": "void"
55079
- }
55080
- }
55081
- },
55082
55442
  {
55083
55443
  "kind": "field",
55084
55444
  "name": "disabled",
@@ -55765,7 +56125,7 @@
55765
56125
  }
55766
56126
  }
55767
56127
  ],
55768
- "description": "Observe changes on data attributes and set the appropriate values.",
56128
+ "deprecated": "use onExternalMutation() as replacement. Will be removed with next major change.",
55769
56129
  "inheritedFrom": {
55770
56130
  "name": "SbbOptionBaseElement",
55771
56131
  "module": "option/option.js"
@@ -55773,13 +56133,22 @@
55773
56133
  },
55774
56134
  {
55775
56135
  "kind": "method",
55776
- "name": "getHighlightedLabel",
56136
+ "name": "onExternalMutation",
55777
56137
  "privacy": "protected",
55778
56138
  "return": {
55779
56139
  "type": {
55780
- "text": "TemplateResult"
56140
+ "text": "void"
55781
56141
  }
55782
56142
  },
56143
+ "parameters": [
56144
+ {
56145
+ "name": "mutationsList",
56146
+ "type": {
56147
+ "text": "MutationRecord[]"
56148
+ }
56149
+ }
56150
+ ],
56151
+ "description": "Observe changes on data attributes + slotted content and set the appropriate values.",
55783
56152
  "inheritedFrom": {
55784
56153
  "name": "SbbOptionBaseElement",
55785
56154
  "module": "option/option.js"
@@ -55787,11 +56156,11 @@
55787
56156
  },
55788
56157
  {
55789
56158
  "kind": "method",
55790
- "name": "_handleSlotChange",
55791
- "privacy": "private",
56159
+ "name": "getHighlightedLabel",
56160
+ "privacy": "protected",
55792
56161
  "return": {
55793
56162
  "type": {
55794
- "text": "void"
56163
+ "text": "TemplateResult"
55795
56164
  }
55796
56165
  },
55797
56166
  "inheritedFrom": {
@@ -63790,6 +64159,21 @@
63790
64159
  "module": "core/base-elements.js"
63791
64160
  }
63792
64161
  },
64162
+ {
64163
+ "kind": "field",
64164
+ "name": "accessibilityCurrent",
64165
+ "type": {
64166
+ "text": "string"
64167
+ },
64168
+ "privacy": "public",
64169
+ "default": "''",
64170
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
64171
+ "attribute": "accessibility-current",
64172
+ "inheritedFrom": {
64173
+ "name": "SbbLinkBaseElement",
64174
+ "module": "core/base-elements.js"
64175
+ }
64176
+ },
63793
64177
  {
63794
64178
  "kind": "field",
63795
64179
  "name": "language",
@@ -63975,6 +64359,19 @@
63975
64359
  "name": "SbbLinkBaseElement",
63976
64360
  "module": "core/base-elements.js"
63977
64361
  }
64362
+ },
64363
+ {
64364
+ "name": "accessibility-current",
64365
+ "type": {
64366
+ "text": "string"
64367
+ },
64368
+ "default": "''",
64369
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
64370
+ "fieldName": "accessibilityCurrent",
64371
+ "inheritedFrom": {
64372
+ "name": "SbbLinkBaseElement",
64373
+ "module": "core/base-elements.js"
64374
+ }
63978
64375
  }
63979
64376
  ]
63980
64377
  }