@sbb-esta/lyne-elements 2.0.2 → 2.1.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 (216) hide show
  1. package/accordion/accordion.d.ts.map +1 -1
  2. package/accordion.js +6 -6
  3. package/alert/alert.js +8 -8
  4. package/autocomplete/autocomplete-base-element.d.ts.map +1 -1
  5. package/autocomplete-grid/autocomplete-grid-button.js +4 -4
  6. package/autocomplete-grid/autocomplete-grid-optgroup.js +4 -4
  7. package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.d.ts +1 -1
  8. package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.d.ts.map +1 -1
  9. package/autocomplete-grid/autocomplete-grid-option.js +10 -10
  10. package/autocomplete-grid/autocomplete-grid-row.js +4 -4
  11. package/autocomplete.js +92 -89
  12. package/breadcrumb/breadcrumb-group.js +4 -4
  13. package/button/accent-button-link.js +9 -9
  14. package/button/accent-button-static.js +6 -6
  15. package/button/accent-button.js +6 -6
  16. package/button/button-link.js +7 -7
  17. package/button/button-static.js +7 -7
  18. package/button/button.js +8 -8
  19. package/button/common.js +1 -1
  20. package/button/mini-button-group.js +8 -8
  21. package/button/secondary-button-link.js +7 -7
  22. package/button/secondary-button-static.js +7 -7
  23. package/button/secondary-button.js +3 -3
  24. package/button/transparent-button-link.js +6 -6
  25. package/button/transparent-button-static.js +5 -5
  26. package/button/transparent-button.js +6 -6
  27. package/card/card-badge.js +9 -9
  28. package/card/card-button.js +5 -5
  29. package/card/card-link.js +7 -7
  30. package/checkbox/checkbox-panel.js +16 -16
  31. package/checkbox/checkbox.js +15 -15
  32. package/checkbox/common.js +3 -3
  33. package/clock.js +8 -8
  34. package/container/container/container.d.ts +1 -1
  35. package/container/container/container.d.ts.map +1 -1
  36. package/container/container.js +21 -21
  37. package/container/sticky-bar/sticky-bar.d.ts +1 -1
  38. package/container/sticky-bar/sticky-bar.d.ts.map +1 -1
  39. package/container/sticky-bar.js +4 -4
  40. package/core/base-elements.js +8 -8
  41. package/core/controllers.js +4 -4
  42. package/core/datetime/date-adapter.d.ts +1 -1
  43. package/core/datetime/date-adapter.d.ts.map +1 -1
  44. package/core/datetime/native-date-adapter.d.ts +1 -1
  45. package/core/datetime/native-date-adapter.d.ts.map +1 -1
  46. package/core/datetime.js +6 -6
  47. package/core/dom/scroll.d.ts +1 -1
  48. package/core/dom/scroll.d.ts.map +1 -1
  49. package/core/dom.js +39 -39
  50. package/core/eventing.js +4 -4
  51. package/core/mixins/form-associated-mixin.d.ts +2 -4
  52. package/core/mixins/form-associated-mixin.d.ts.map +1 -1
  53. package/core/mixins/form-associated-radio-button-mixin.d.ts +3 -3
  54. package/core/mixins/form-associated-radio-button-mixin.d.ts.map +1 -1
  55. package/core/mixins.js +276 -276
  56. package/core/styles/core.scss +21 -2
  57. package/core/testing.js +14 -14
  58. package/core.css +18 -2
  59. package/custom-elements.json +528 -554
  60. package/datepicker/common/datepicker-association-controllers.d.ts +21 -0
  61. package/datepicker/common/datepicker-association-controllers.d.ts.map +1 -0
  62. package/datepicker/common/datepicker-button.d.ts +17 -9
  63. package/datepicker/common/datepicker-button.d.ts.map +1 -1
  64. package/datepicker/common.d.ts +1 -0
  65. package/datepicker/common.d.ts.map +1 -1
  66. package/datepicker/common.js +130 -92
  67. package/datepicker/datepicker/datepicker.d.ts +19 -4
  68. package/datepicker/datepicker/datepicker.d.ts.map +1 -1
  69. package/datepicker/datepicker-toggle/datepicker-toggle.d.ts +14 -8
  70. package/datepicker/datepicker-toggle/datepicker-toggle.d.ts.map +1 -1
  71. package/datepicker/datepicker-toggle.js +108 -112
  72. package/datepicker/datepicker.js +95 -80
  73. package/development/accordion/accordion.d.ts.map +1 -1
  74. package/development/accordion.js +1 -1
  75. package/development/autocomplete/autocomplete-base-element.d.ts.map +1 -1
  76. package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.d.ts +1 -1
  77. package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.d.ts.map +1 -1
  78. package/development/autocomplete-grid/autocomplete-grid-option.js +3 -3
  79. package/development/autocomplete.js +24 -8
  80. package/development/button/common.js +4 -2
  81. package/development/calendar.js +1 -1
  82. package/development/container/container/container.d.ts +1 -1
  83. package/development/container/container/container.d.ts.map +1 -1
  84. package/development/container/container.js +17 -1
  85. package/development/container/sticky-bar/sticky-bar.d.ts +1 -1
  86. package/development/container/sticky-bar/sticky-bar.d.ts.map +1 -1
  87. package/development/container/sticky-bar.js +9 -1
  88. package/development/core/datetime/date-adapter.d.ts +1 -1
  89. package/development/core/datetime/date-adapter.d.ts.map +1 -1
  90. package/development/core/datetime/native-date-adapter.d.ts +1 -1
  91. package/development/core/datetime/native-date-adapter.d.ts.map +1 -1
  92. package/development/core/datetime.js +1 -1
  93. package/development/core/dom/scroll.d.ts +1 -1
  94. package/development/core/dom/scroll.d.ts.map +1 -1
  95. package/development/core/dom.js +4 -4
  96. package/development/core/mixins/form-associated-mixin.d.ts +2 -4
  97. package/development/core/mixins/form-associated-mixin.d.ts.map +1 -1
  98. package/development/core/mixins/form-associated-radio-button-mixin.d.ts +3 -3
  99. package/development/core/mixins/form-associated-radio-button-mixin.d.ts.map +1 -1
  100. package/development/core/mixins.js +45 -49
  101. package/development/datepicker/common/datepicker-association-controllers.d.ts +21 -0
  102. package/development/datepicker/common/datepicker-association-controllers.d.ts.map +1 -0
  103. package/development/datepicker/common/datepicker-button.d.ts +17 -9
  104. package/development/datepicker/common/datepicker-button.d.ts.map +1 -1
  105. package/development/datepicker/common.d.ts +1 -0
  106. package/development/datepicker/common.d.ts.map +1 -1
  107. package/development/datepicker/common.js +139 -90
  108. package/development/datepicker/datepicker/datepicker.d.ts +19 -4
  109. package/development/datepicker/datepicker/datepicker.d.ts.map +1 -1
  110. package/development/datepicker/datepicker-toggle/datepicker-toggle.d.ts +14 -8
  111. package/development/datepicker/datepicker-toggle/datepicker-toggle.d.ts.map +1 -1
  112. package/development/datepicker/datepicker-toggle.js +65 -69
  113. package/development/datepicker/datepicker.js +54 -36
  114. package/development/dialog/dialog/dialog.d.ts +2 -0
  115. package/development/dialog/dialog/dialog.d.ts.map +1 -1
  116. package/development/dialog/dialog.js +37 -11
  117. package/development/menu/menu/menu.d.ts.map +1 -1
  118. package/development/menu/menu.js +35 -12
  119. package/development/navigation/navigation/navigation.d.ts.map +1 -1
  120. package/development/navigation/navigation.js +15 -8
  121. package/development/option/option/option-base-element.d.ts +3 -2
  122. package/development/option/option/option-base-element.d.ts.map +1 -1
  123. package/development/option/option.js +15 -8
  124. package/development/overlay/overlay-base-element.d.ts.map +1 -1
  125. package/development/overlay/overlay.d.ts.map +1 -1
  126. package/development/overlay.js +29 -13
  127. package/development/popover/popover/popover.d.ts.map +1 -1
  128. package/development/popover/popover.js +16 -13
  129. package/development/radio-button/common/radio-button-common.d.ts +0 -2
  130. package/development/radio-button/common/radio-button-common.d.ts.map +1 -1
  131. package/development/radio-button/common.js +2 -18
  132. package/development/radio-button/radio-button-group.js +2 -2
  133. package/development/radio-button/radio-button-panel/radio-button-panel.d.ts +9 -1
  134. package/development/radio-button/radio-button-panel/radio-button-panel.d.ts.map +1 -1
  135. package/development/radio-button/radio-button-panel.js +17 -7
  136. package/development/select/select.d.ts +11 -0
  137. package/development/select/select.d.ts.map +1 -1
  138. package/development/select.js +60 -9
  139. package/development/toast/toast.d.ts.map +1 -1
  140. package/development/toast.js +14 -8
  141. package/development/toggle/toggle.js +1 -1
  142. package/development/train/train-wagon.js +1 -1
  143. package/dialog/dialog/dialog.d.ts +2 -0
  144. package/dialog/dialog/dialog.d.ts.map +1 -1
  145. package/dialog/dialog-content.js +3 -3
  146. package/dialog/dialog-title.js +8 -8
  147. package/dialog/dialog.js +59 -49
  148. package/divider.js +12 -12
  149. package/file-selector/file-selector-dropzone.js +5 -5
  150. package/file-selector/file-selector.js +6 -6
  151. package/flip-card/flip-card-details.js +4 -4
  152. package/flip-card/flip-card-summary.js +9 -9
  153. package/header/header-button.js +5 -5
  154. package/header/header-link.js +5 -5
  155. package/icon.js +36 -36
  156. package/link/block-link-button.js +4 -4
  157. package/link/block-link-static.js +9 -9
  158. package/link/block-link.js +4 -4
  159. package/link/common.js +16 -16
  160. package/link/link-button.js +7 -7
  161. package/link/link-static.js +7 -7
  162. package/link/link.js +4 -4
  163. package/link-list/common.js +12 -12
  164. package/loading-indicator-circle.js +11 -11
  165. package/map-container.js +4 -4
  166. package/menu/common.js +7 -7
  167. package/menu/menu/menu.d.ts.map +1 -1
  168. package/menu/menu-button.js +8 -8
  169. package/menu/menu-link.js +6 -6
  170. package/menu/menu.js +64 -42
  171. package/navigation/navigation/navigation.d.ts.map +1 -1
  172. package/navigation/navigation-button.js +4 -4
  173. package/navigation/navigation-link.js +7 -7
  174. package/navigation/navigation-list.js +4 -4
  175. package/navigation/navigation-marker.js +3 -3
  176. package/navigation/navigation.js +21 -20
  177. package/notification.js +17 -17
  178. package/option/optgroup.js +11 -11
  179. package/option/option/option-base-element.d.ts +3 -2
  180. package/option/option/option-base-element.d.ts.map +1 -1
  181. package/option/option.js +113 -101
  182. package/overlay/overlay-base-element.d.ts.map +1 -1
  183. package/overlay/overlay.d.ts.map +1 -1
  184. package/overlay.js +87 -84
  185. package/package.json +1 -1
  186. package/paginator/common.js +6 -6
  187. package/popover/popover/popover.d.ts.map +1 -1
  188. package/popover/popover.js +73 -73
  189. package/radio-button/common/radio-button-common.d.ts +0 -2
  190. package/radio-button/common/radio-button-common.d.ts.map +1 -1
  191. package/radio-button/common.js +13 -18
  192. package/radio-button/radio-button-group.js +1 -1
  193. package/radio-button/radio-button-panel/radio-button-panel.d.ts +9 -1
  194. package/radio-button/radio-button-panel/radio-button-panel.d.ts.map +1 -1
  195. package/radio-button/radio-button-panel.js +40 -38
  196. package/screen-reader-only.js +5 -5
  197. package/select/select.d.ts +11 -0
  198. package/select/select.d.ts.map +1 -1
  199. package/select.js +111 -83
  200. package/slider.js +8 -8
  201. package/standard-theme.css +18 -2
  202. package/status.js +3 -3
  203. package/stepper/step-label.js +4 -4
  204. package/table/table-wrapper.js +4 -4
  205. package/tabs/tab-group.js +24 -24
  206. package/tabs/tab.js +3 -3
  207. package/tag/tag-group.js +7 -7
  208. package/teaser-product/common.js +5 -5
  209. package/teaser-product/teaser-product-static.js +2 -2
  210. package/timetable-occupancy-icon.js +3 -3
  211. package/timetable-occupancy.js +6 -6
  212. package/toast/toast.d.ts.map +1 -1
  213. package/toast.js +58 -54
  214. package/toggle/toggle-option.js +11 -11
  215. package/toggle-check.js +5 -5
  216. package/train/train.js +28 -28
@@ -8698,6 +8698,22 @@
8698
8698
  "attribute": "multiple",
8699
8699
  "reflects": true
8700
8700
  },
8701
+ {
8702
+ "kind": "field",
8703
+ "name": "disabled",
8704
+ "type": {
8705
+ "text": "boolean"
8706
+ },
8707
+ "privacy": "public",
8708
+ "default": "false",
8709
+ "description": "Whether the component is disabled.",
8710
+ "attribute": "disabled",
8711
+ "reflects": true,
8712
+ "inheritedFrom": {
8713
+ "name": "SbbDisabledMixin",
8714
+ "module": "core/mixins.js"
8715
+ }
8716
+ },
8701
8717
  {
8702
8718
  "kind": "field",
8703
8719
  "name": "readonly",
@@ -8976,6 +8992,44 @@
8976
8992
  }
8977
8993
  ]
8978
8994
  },
8995
+ {
8996
+ "kind": "method",
8997
+ "name": "_onMultipleChanged",
8998
+ "privacy": "private",
8999
+ "return": {
9000
+ "type": {
9001
+ "text": "void"
9002
+ }
9003
+ },
9004
+ "parameters": [
9005
+ {
9006
+ "name": "newValue",
9007
+ "type": {
9008
+ "text": "boolean"
9009
+ }
9010
+ }
9011
+ ],
9012
+ "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."
9013
+ },
9014
+ {
9015
+ "kind": "method",
9016
+ "name": "_closeOnDisabledReadonlyChanged",
9017
+ "privacy": "private",
9018
+ "return": {
9019
+ "type": {
9020
+ "text": "void"
9021
+ }
9022
+ },
9023
+ "parameters": [
9024
+ {
9025
+ "name": "newValue",
9026
+ "type": {
9027
+ "text": "boolean"
9028
+ }
9029
+ }
9030
+ ],
9031
+ "description": "If the `disabled` or the `readonly` properties are set, and the panel is open, close it."
9032
+ },
8979
9033
  {
8980
9034
  "kind": "method",
8981
9035
  "name": "_onValueChanged",
@@ -9472,22 +9526,6 @@
9472
9526
  "module": "core/mixins.js"
9473
9527
  }
9474
9528
  },
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
9529
  {
9492
9530
  "kind": "method",
9493
9531
  "name": "isDisabledExternally",
@@ -9860,15 +9898,6 @@
9860
9898
  "description": "Whether the select allows for multiple selection.",
9861
9899
  "fieldName": "multiple"
9862
9900
  },
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
9901
  {
9873
9902
  "name": "disabled",
9874
9903
  "type": {
@@ -9882,6 +9911,15 @@
9882
9911
  "module": "core/mixins.js"
9883
9912
  }
9884
9913
  },
9914
+ {
9915
+ "name": "readonly",
9916
+ "type": {
9917
+ "text": "boolean"
9918
+ },
9919
+ "default": "false",
9920
+ "description": "Whether the select is readonly.",
9921
+ "fieldName": "readonly"
9922
+ },
9885
9923
  {
9886
9924
  "name": "negative",
9887
9925
  "type": {
@@ -16051,7 +16089,7 @@
16051
16089
  },
16052
16090
  {
16053
16091
  "kind": "method",
16054
- "name": "onOptionAttributesChange",
16092
+ "name": "onExternalMutation",
16055
16093
  "privacy": "protected",
16056
16094
  "return": {
16057
16095
  "type": {
@@ -16066,7 +16104,7 @@
16066
16104
  }
16067
16105
  }
16068
16106
  ],
16069
- "description": "Observe changes on data attributes and set the appropriate values.",
16107
+ "description": "Observe changes on data attributes + slotted content and set the appropriate values.",
16070
16108
  "inheritedFrom": {
16071
16109
  "name": "SbbOptionBaseElement",
16072
16110
  "module": "option/option.js"
@@ -16403,13 +16441,22 @@
16403
16441
  },
16404
16442
  {
16405
16443
  "kind": "method",
16406
- "name": "handleHighlightState",
16444
+ "name": "onOptionAttributesChange",
16407
16445
  "privacy": "protected",
16408
16446
  "return": {
16409
16447
  "type": {
16410
16448
  "text": "void"
16411
16449
  }
16412
16450
  },
16451
+ "parameters": [
16452
+ {
16453
+ "name": "mutationsList",
16454
+ "type": {
16455
+ "text": "MutationRecord[]"
16456
+ }
16457
+ }
16458
+ ],
16459
+ "deprecated": "use onExternalMutation() as replacement. Will be removed with next major change.",
16413
16460
  "inheritedFrom": {
16414
16461
  "name": "SbbOptionBaseElement",
16415
16462
  "module": "option/option.js"
@@ -16417,11 +16464,11 @@
16417
16464
  },
16418
16465
  {
16419
16466
  "kind": "method",
16420
- "name": "getHighlightedLabel",
16467
+ "name": "handleHighlightState",
16421
16468
  "privacy": "protected",
16422
16469
  "return": {
16423
16470
  "type": {
16424
- "text": "TemplateResult"
16471
+ "text": "void"
16425
16472
  }
16426
16473
  },
16427
16474
  "inheritedFrom": {
@@ -16431,7 +16478,7 @@
16431
16478
  },
16432
16479
  {
16433
16480
  "kind": "method",
16434
- "name": "renderIcon",
16481
+ "name": "getHighlightedLabel",
16435
16482
  "privacy": "protected",
16436
16483
  "return": {
16437
16484
  "type": {
@@ -16445,11 +16492,11 @@
16445
16492
  },
16446
16493
  {
16447
16494
  "kind": "method",
16448
- "name": "renderLabel",
16495
+ "name": "renderIcon",
16449
16496
  "privacy": "protected",
16450
16497
  "return": {
16451
16498
  "type": {
16452
- "text": "TemplateResult | typeof nothing"
16499
+ "text": "TemplateResult"
16453
16500
  }
16454
16501
  },
16455
16502
  "inheritedFrom": {
@@ -16459,7 +16506,7 @@
16459
16506
  },
16460
16507
  {
16461
16508
  "kind": "method",
16462
- "name": "renderTick",
16509
+ "name": "renderLabel",
16463
16510
  "privacy": "protected",
16464
16511
  "return": {
16465
16512
  "type": {
@@ -16473,11 +16520,11 @@
16473
16520
  },
16474
16521
  {
16475
16522
  "kind": "method",
16476
- "name": "_handleSlotChange",
16477
- "privacy": "private",
16523
+ "name": "renderTick",
16524
+ "privacy": "protected",
16478
16525
  "return": {
16479
16526
  "type": {
16480
- "text": "void"
16527
+ "text": "TemplateResult | typeof nothing"
16481
16528
  }
16482
16529
  },
16483
16530
  "inheritedFrom": {
@@ -26995,7 +27042,7 @@
26995
27042
  "kind": "field",
26996
27043
  "name": "color",
26997
27044
  "type": {
26998
- "text": "'transparent' | 'white' | 'milk'"
27045
+ "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
26999
27046
  },
27000
27047
  "privacy": "public",
27001
27048
  "default": "'white'",
@@ -27026,7 +27073,7 @@
27026
27073
  {
27027
27074
  "name": "color",
27028
27075
  "type": {
27029
- "text": "'transparent' | 'white' | 'milk'"
27076
+ "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
27030
27077
  },
27031
27078
  "default": "'white'",
27032
27079
  "description": "Color of the container, like transparent, white etc.",
@@ -27106,7 +27153,7 @@
27106
27153
  "kind": "field",
27107
27154
  "name": "color",
27108
27155
  "type": {
27109
- "text": "'white' | 'milk' | null"
27156
+ "text": "| 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'\n | null"
27110
27157
  },
27111
27158
  "privacy": "public",
27112
27159
  "default": "null",
@@ -27356,7 +27403,7 @@
27356
27403
  {
27357
27404
  "name": "color",
27358
27405
  "type": {
27359
- "text": "'white' | 'milk' | null"
27406
+ "text": "| 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'\n | null"
27360
27407
  },
27361
27408
  "default": "null",
27362
27409
  "description": "Color of the container, like transparent, white etc.",
@@ -29361,7 +29408,7 @@
29361
29408
  "privacy": "public",
29362
29409
  "return": {
29363
29410
  "type": {
29364
- "text": "boolean"
29411
+ "text": "date is T"
29365
29412
  }
29366
29413
  },
29367
29414
  "parameters": [
@@ -30094,7 +30141,7 @@
30094
30141
  "privacy": "public",
30095
30142
  "return": {
30096
30143
  "type": {
30097
- "text": "boolean"
30144
+ "text": "date is Date"
30098
30145
  }
30099
30146
  },
30100
30147
  "parameters": [
@@ -30991,7 +31038,7 @@
30991
31038
  "members": [
30992
31039
  {
30993
31040
  "kind": "field",
30994
- "name": "_position",
31041
+ "name": "_height",
30995
31042
  "type": {
30996
31043
  "text": "string"
30997
31044
  },
@@ -34386,14 +34433,36 @@
34386
34433
  {
34387
34434
  "kind": "field",
34388
34435
  "name": "checked",
34436
+ "privacy": "public",
34437
+ "description": "Whether the radio button is checked.",
34389
34438
  "type": {
34390
34439
  "text": "boolean"
34391
34440
  },
34392
- "privacy": "public",
34393
- "default": "false",
34394
- "description": "Whether the radio button is checked.",
34395
34441
  "attribute": "checked"
34396
34442
  },
34443
+ {
34444
+ "kind": "field",
34445
+ "name": "_checked",
34446
+ "type": {
34447
+ "text": "boolean"
34448
+ },
34449
+ "privacy": "private",
34450
+ "default": "false"
34451
+ },
34452
+ {
34453
+ "kind": "field",
34454
+ "name": "name",
34455
+ "privacy": "public",
34456
+ "description": "Name of the form element. Will be read from name attribute.",
34457
+ "type": {
34458
+ "text": "string"
34459
+ },
34460
+ "attribute": "name",
34461
+ "inheritedFrom": {
34462
+ "name": "SbbFormAssociatedMixin",
34463
+ "module": "core/mixins.js"
34464
+ }
34465
+ },
34397
34466
  {
34398
34467
  "kind": "field",
34399
34468
  "name": "type",
@@ -34453,17 +34522,6 @@
34453
34522
  "module": "core/mixins.js"
34454
34523
  }
34455
34524
  },
34456
- {
34457
- "kind": "method",
34458
- "name": "updateFormValueOnCheckedChange",
34459
- "privacy": "protected",
34460
- "return": {
34461
- "type": {
34462
- "text": "void"
34463
- }
34464
- },
34465
- "description": "Called on `checked` change\nIf 'checked', update the value. Otherwise, reset it."
34466
- },
34467
34525
  {
34468
34526
  "kind": "method",
34469
34527
  "name": "updateFocusableRadios",
@@ -34503,6 +34561,16 @@
34503
34561
  }
34504
34562
  }
34505
34563
  },
34564
+ {
34565
+ "kind": "method",
34566
+ "name": "_synchronizeGroupState",
34567
+ "privacy": "private",
34568
+ "return": {
34569
+ "type": {
34570
+ "text": "void"
34571
+ }
34572
+ }
34573
+ },
34506
34574
  {
34507
34575
  "kind": "method",
34508
34576
  "name": "_connectToRegistry",
@@ -34667,20 +34735,6 @@
34667
34735
  "module": "core/mixins.js"
34668
34736
  }
34669
34737
  },
34670
- {
34671
- "kind": "field",
34672
- "name": "name",
34673
- "privacy": "public",
34674
- "description": "Name of the form element. Will be read from name attribute.",
34675
- "type": {
34676
- "text": "string"
34677
- },
34678
- "attribute": "name",
34679
- "inheritedFrom": {
34680
- "name": "SbbFormAssociatedMixin",
34681
- "module": "core/mixins.js"
34682
- }
34683
- },
34684
34738
  {
34685
34739
  "kind": "field",
34686
34740
  "name": "value",
@@ -34740,11 +34794,10 @@
34740
34794
  "attributes": [
34741
34795
  {
34742
34796
  "name": "checked",
34797
+ "description": "Whether the radio button is checked.",
34743
34798
  "type": {
34744
34799
  "text": "boolean"
34745
34800
  },
34746
- "default": "false",
34747
- "description": "Whether the radio button is checked.",
34748
34801
  "fieldName": "checked"
34749
34802
  },
34750
34803
  {
@@ -36417,18 +36470,107 @@
36417
36470
  {
36418
36471
  "kind": "class",
36419
36472
  "description": "",
36420
- "name": "SbbDatepickerButton",
36473
+ "name": "SbbDatepickerAssociationHostController",
36421
36474
  "members": [
36422
36475
  {
36423
36476
  "kind": "field",
36424
- "name": "datePicker",
36477
+ "name": "_context",
36425
36478
  "type": {
36426
- "text": "| string\n | SbbDatepickerElement<T>\n | null"
36479
+ "text": "SbbDatepickerAssociationContext<T> | undefined"
36427
36480
  },
36481
+ "privacy": "private"
36482
+ },
36483
+ {
36484
+ "kind": "method",
36485
+ "name": "hostConnected",
36486
+ "privacy": "public",
36487
+ "return": {
36488
+ "type": {
36489
+ "text": "void"
36490
+ }
36491
+ }
36492
+ },
36493
+ {
36494
+ "kind": "method",
36495
+ "name": "hostDisconnected",
36496
+ "privacy": "public",
36497
+ "return": {
36498
+ "type": {
36499
+ "text": "void"
36500
+ }
36501
+ }
36502
+ },
36503
+ {
36504
+ "kind": "method",
36505
+ "name": "updateControls",
36506
+ "privacy": "public",
36507
+ "return": {
36508
+ "type": {
36509
+ "text": "void"
36510
+ }
36511
+ }
36512
+ }
36513
+ ],
36514
+ "classGenerics": "T"
36515
+ },
36516
+ {
36517
+ "kind": "class",
36518
+ "description": "",
36519
+ "name": "SbbDatepickerAssociationControlController",
36520
+ "members": [
36521
+ {
36522
+ "kind": "field",
36523
+ "name": "_context",
36524
+ "type": {
36525
+ "text": "SbbDatepickerAssociationContext<T> | undefined"
36526
+ },
36527
+ "privacy": "private"
36528
+ },
36529
+ {
36530
+ "kind": "method",
36531
+ "name": "hostConnected",
36532
+ "privacy": "public",
36533
+ "return": {
36534
+ "type": {
36535
+ "text": "void"
36536
+ }
36537
+ }
36538
+ },
36539
+ {
36540
+ "kind": "method",
36541
+ "name": "hostDisconnected",
36542
+ "privacy": "public",
36543
+ "return": {
36544
+ "type": {
36545
+ "text": "void"
36546
+ }
36547
+ }
36548
+ }
36549
+ ],
36550
+ "classGenerics": "T"
36551
+ },
36552
+ {
36553
+ "kind": "class",
36554
+ "description": "",
36555
+ "name": "SbbDatepickerButton",
36556
+ "members": [
36557
+ {
36558
+ "kind": "field",
36559
+ "name": "datepicker",
36428
36560
  "privacy": "public",
36429
- "default": "null",
36430
36561
  "description": "Datepicker reference.",
36431
- "attribute": "date-picker"
36562
+ "type": {
36563
+ "text": "SbbDatepickerElement<T> | null"
36564
+ },
36565
+ "attribute": "datepicker"
36566
+ },
36567
+ {
36568
+ "kind": "field",
36569
+ "name": "_datepicker",
36570
+ "type": {
36571
+ "text": "SbbDatepickerElement<T> | null | undefined"
36572
+ },
36573
+ "privacy": "private"
36432
36574
  },
36433
36575
  {
36434
36576
  "kind": "field",
@@ -36467,7 +36609,8 @@
36467
36609
  "text": "SbbDatepickerElement<T> | null | undefined"
36468
36610
  },
36469
36611
  "privacy": "protected",
36470
- "default": "null"
36612
+ "default": "null",
36613
+ "deprecated": "Use datepicker instead."
36471
36614
  },
36472
36615
  {
36473
36616
  "kind": "field",
@@ -36477,18 +36620,11 @@
36477
36620
  },
36478
36621
  "privacy": "private"
36479
36622
  },
36480
- {
36481
- "kind": "field",
36482
- "name": "_datePickerController",
36483
- "type": {
36484
- "text": "AbortController"
36485
- },
36486
- "privacy": "private"
36487
- },
36488
36623
  {
36489
36624
  "kind": "field",
36490
36625
  "name": "_language",
36491
- "privacy": "private"
36626
+ "privacy": "private",
36627
+ "default": "new SbbLanguageController(this)"
36492
36628
  },
36493
36629
  {
36494
36630
  "kind": "field",
@@ -36532,16 +36668,6 @@
36532
36668
  }
36533
36669
  ]
36534
36670
  },
36535
- {
36536
- "kind": "method",
36537
- "name": "_setDisabledState",
36538
- "privacy": "private",
36539
- "return": {
36540
- "type": {
36541
- "text": "void"
36542
- }
36543
- }
36544
- },
36545
36671
  {
36546
36672
  "kind": "method",
36547
36673
  "name": "_handleClick",
@@ -36552,45 +36678,6 @@
36552
36678
  }
36553
36679
  }
36554
36680
  },
36555
- {
36556
- "kind": "method",
36557
- "name": "_syncUpstreamProperties",
36558
- "privacy": "private",
36559
- "return": {
36560
- "type": {
36561
- "text": "void"
36562
- }
36563
- }
36564
- },
36565
- {
36566
- "kind": "method",
36567
- "name": "_init",
36568
- "privacy": "private",
36569
- "return": {
36570
- "type": {
36571
- "text": "void"
36572
- }
36573
- },
36574
- "parameters": [
36575
- {
36576
- "name": "picker",
36577
- "optional": true,
36578
- "type": {
36579
- "text": "string | SbbDatepickerElement<T>"
36580
- }
36581
- }
36582
- ]
36583
- },
36584
- {
36585
- "kind": "method",
36586
- "name": "_setAriaLabel",
36587
- "privacy": "private",
36588
- "return": {
36589
- "type": {
36590
- "text": "void"
36591
- }
36592
- }
36593
- },
36594
36681
  {
36595
36682
  "kind": "method",
36596
36683
  "name": "_setDisabledRenderAttributes",
@@ -36599,16 +36686,7 @@
36599
36686
  "type": {
36600
36687
  "text": "void"
36601
36688
  }
36602
- },
36603
- "parameters": [
36604
- {
36605
- "name": "isDisabled",
36606
- "default": "this._disabled || this._inputDisabled",
36607
- "type": {
36608
- "text": "boolean"
36609
- }
36610
- }
36611
- ]
36689
+ }
36612
36690
  },
36613
36691
  {
36614
36692
  "kind": "method",
@@ -36870,13 +36948,12 @@
36870
36948
  ],
36871
36949
  "attributes": [
36872
36950
  {
36873
- "name": "date-picker",
36951
+ "name": "datepicker",
36952
+ "description": "Datepicker reference.",
36874
36953
  "type": {
36875
- "text": "| string\n | SbbDatepickerElement<T>\n | null"
36954
+ "text": "SbbDatepickerElement<T> | null"
36876
36955
  },
36877
- "default": "null",
36878
- "description": "Datepicker reference.",
36879
- "fieldName": "datePicker"
36956
+ "fieldName": "datepicker"
36880
36957
  },
36881
36958
  {
36882
36959
  "name": "negative",
@@ -36955,6 +37032,22 @@
36955
37032
  }
36956
37033
  ],
36957
37034
  "exports": [
37035
+ {
37036
+ "kind": "js",
37037
+ "name": "SbbDatepickerAssociationHostController",
37038
+ "declaration": {
37039
+ "name": "SbbDatepickerAssociationHostController",
37040
+ "module": "datepicker/common.js"
37041
+ }
37042
+ },
37043
+ {
37044
+ "kind": "js",
37045
+ "name": "SbbDatepickerAssociationControlController",
37046
+ "declaration": {
37047
+ "name": "SbbDatepickerAssociationControlController",
37048
+ "module": "datepicker/common.js"
37049
+ }
37050
+ },
36958
37051
  {
36959
37052
  "kind": "js",
36960
37053
  "name": "SbbDatepickerButton",
@@ -37053,14 +37146,25 @@
37053
37146
  },
37054
37147
  {
37055
37148
  "kind": "field",
37056
- "name": "datePicker",
37057
- "type": {
37058
- "text": "| string\n | SbbDatepickerElement<T>\n | null"
37059
- },
37149
+ "name": "datepicker",
37060
37150
  "privacy": "public",
37061
- "default": "null",
37062
37151
  "description": "Datepicker reference.",
37063
- "attribute": "date-picker",
37152
+ "type": {
37153
+ "text": "SbbDatepickerElement<T> | null"
37154
+ },
37155
+ "attribute": "datepicker",
37156
+ "inheritedFrom": {
37157
+ "name": "SbbDatepickerButton",
37158
+ "module": "datepicker/common.js"
37159
+ }
37160
+ },
37161
+ {
37162
+ "kind": "field",
37163
+ "name": "_datepicker",
37164
+ "type": {
37165
+ "text": "SbbDatepickerElement<T> | null | undefined"
37166
+ },
37167
+ "privacy": "private",
37064
37168
  "inheritedFrom": {
37065
37169
  "name": "SbbDatepickerButton",
37066
37170
  "module": "datepicker/common.js"
@@ -37116,6 +37220,7 @@
37116
37220
  },
37117
37221
  "privacy": "protected",
37118
37222
  "default": "null",
37223
+ "deprecated": "Use datepicker instead.",
37119
37224
  "inheritedFrom": {
37120
37225
  "name": "SbbDatepickerButton",
37121
37226
  "module": "datepicker/common.js"
@@ -37133,36 +37238,11 @@
37133
37238
  "module": "datepicker/common.js"
37134
37239
  }
37135
37240
  },
37136
- {
37137
- "kind": "field",
37138
- "name": "_datePickerController",
37139
- "type": {
37140
- "text": "AbortController"
37141
- },
37142
- "privacy": "private",
37143
- "inheritedFrom": {
37144
- "name": "SbbDatepickerButton",
37145
- "module": "datepicker/common.js"
37146
- }
37147
- },
37148
37241
  {
37149
37242
  "kind": "field",
37150
37243
  "name": "_language",
37151
37244
  "privacy": "private",
37152
- "inheritedFrom": {
37153
- "name": "SbbDatepickerButton",
37154
- "module": "datepicker/common.js"
37155
- }
37156
- },
37157
- {
37158
- "kind": "method",
37159
- "name": "_setDisabledState",
37160
- "privacy": "private",
37161
- "return": {
37162
- "type": {
37163
- "text": "void"
37164
- }
37165
- },
37245
+ "default": "new SbbLanguageController(this)",
37166
37246
  "inheritedFrom": {
37167
37247
  "name": "SbbDatepickerButton",
37168
37248
  "module": "datepicker/common.js"
@@ -37182,57 +37262,6 @@
37182
37262
  "module": "datepicker/common.js"
37183
37263
  }
37184
37264
  },
37185
- {
37186
- "kind": "method",
37187
- "name": "_syncUpstreamProperties",
37188
- "privacy": "private",
37189
- "return": {
37190
- "type": {
37191
- "text": "void"
37192
- }
37193
- },
37194
- "inheritedFrom": {
37195
- "name": "SbbDatepickerButton",
37196
- "module": "datepicker/common.js"
37197
- }
37198
- },
37199
- {
37200
- "kind": "method",
37201
- "name": "_init",
37202
- "privacy": "private",
37203
- "return": {
37204
- "type": {
37205
- "text": "void"
37206
- }
37207
- },
37208
- "parameters": [
37209
- {
37210
- "name": "picker",
37211
- "optional": true,
37212
- "type": {
37213
- "text": "string | SbbDatepickerElement<T>"
37214
- }
37215
- }
37216
- ],
37217
- "inheritedFrom": {
37218
- "name": "SbbDatepickerButton",
37219
- "module": "datepicker/common.js"
37220
- }
37221
- },
37222
- {
37223
- "kind": "method",
37224
- "name": "_setAriaLabel",
37225
- "privacy": "private",
37226
- "return": {
37227
- "type": {
37228
- "text": "void"
37229
- }
37230
- },
37231
- "inheritedFrom": {
37232
- "name": "SbbDatepickerButton",
37233
- "module": "datepicker/common.js"
37234
- }
37235
- },
37236
37265
  {
37237
37266
  "kind": "method",
37238
37267
  "name": "_setDisabledRenderAttributes",
@@ -37242,15 +37271,6 @@
37242
37271
  "text": "void"
37243
37272
  }
37244
37273
  },
37245
- "parameters": [
37246
- {
37247
- "name": "isDisabled",
37248
- "default": "this._disabled || this._inputDisabled",
37249
- "type": {
37250
- "text": "boolean"
37251
- }
37252
- }
37253
- ],
37254
37274
  "inheritedFrom": {
37255
37275
  "name": "SbbDatepickerButton",
37256
37276
  "module": "datepicker/common.js"
@@ -37520,13 +37540,12 @@
37520
37540
  }
37521
37541
  },
37522
37542
  {
37523
- "name": "date-picker",
37543
+ "name": "datepicker",
37544
+ "description": "Datepicker reference.",
37524
37545
  "type": {
37525
- "text": "| string\n | SbbDatepickerElement<T>\n | null"
37546
+ "text": "SbbDatepickerElement<T> | null"
37526
37547
  },
37527
- "default": "null",
37528
- "description": "Datepicker reference.",
37529
- "fieldName": "datePicker",
37548
+ "fieldName": "datepicker",
37530
37549
  "inheritedFrom": {
37531
37550
  "name": "SbbDatepickerButton",
37532
37551
  "module": "datepicker/common.js"
@@ -37691,14 +37710,25 @@
37691
37710
  },
37692
37711
  {
37693
37712
  "kind": "field",
37694
- "name": "datePicker",
37695
- "type": {
37696
- "text": "| string\n | SbbDatepickerElement<T>\n | null"
37697
- },
37713
+ "name": "datepicker",
37698
37714
  "privacy": "public",
37699
- "default": "null",
37700
37715
  "description": "Datepicker reference.",
37701
- "attribute": "date-picker",
37716
+ "type": {
37717
+ "text": "SbbDatepickerElement<T> | null"
37718
+ },
37719
+ "attribute": "datepicker",
37720
+ "inheritedFrom": {
37721
+ "name": "SbbDatepickerButton",
37722
+ "module": "datepicker/common.js"
37723
+ }
37724
+ },
37725
+ {
37726
+ "kind": "field",
37727
+ "name": "_datepicker",
37728
+ "type": {
37729
+ "text": "SbbDatepickerElement<T> | null | undefined"
37730
+ },
37731
+ "privacy": "private",
37702
37732
  "inheritedFrom": {
37703
37733
  "name": "SbbDatepickerButton",
37704
37734
  "module": "datepicker/common.js"
@@ -37754,6 +37784,7 @@
37754
37784
  },
37755
37785
  "privacy": "protected",
37756
37786
  "default": "null",
37787
+ "deprecated": "Use datepicker instead.",
37757
37788
  "inheritedFrom": {
37758
37789
  "name": "SbbDatepickerButton",
37759
37790
  "module": "datepicker/common.js"
@@ -37771,36 +37802,11 @@
37771
37802
  "module": "datepicker/common.js"
37772
37803
  }
37773
37804
  },
37774
- {
37775
- "kind": "field",
37776
- "name": "_datePickerController",
37777
- "type": {
37778
- "text": "AbortController"
37779
- },
37780
- "privacy": "private",
37781
- "inheritedFrom": {
37782
- "name": "SbbDatepickerButton",
37783
- "module": "datepicker/common.js"
37784
- }
37785
- },
37786
37805
  {
37787
37806
  "kind": "field",
37788
37807
  "name": "_language",
37789
37808
  "privacy": "private",
37790
- "inheritedFrom": {
37791
- "name": "SbbDatepickerButton",
37792
- "module": "datepicker/common.js"
37793
- }
37794
- },
37795
- {
37796
- "kind": "method",
37797
- "name": "_setDisabledState",
37798
- "privacy": "private",
37799
- "return": {
37800
- "type": {
37801
- "text": "void"
37802
- }
37803
- },
37809
+ "default": "new SbbLanguageController(this)",
37804
37810
  "inheritedFrom": {
37805
37811
  "name": "SbbDatepickerButton",
37806
37812
  "module": "datepicker/common.js"
@@ -37820,57 +37826,6 @@
37820
37826
  "module": "datepicker/common.js"
37821
37827
  }
37822
37828
  },
37823
- {
37824
- "kind": "method",
37825
- "name": "_syncUpstreamProperties",
37826
- "privacy": "private",
37827
- "return": {
37828
- "type": {
37829
- "text": "void"
37830
- }
37831
- },
37832
- "inheritedFrom": {
37833
- "name": "SbbDatepickerButton",
37834
- "module": "datepicker/common.js"
37835
- }
37836
- },
37837
- {
37838
- "kind": "method",
37839
- "name": "_init",
37840
- "privacy": "private",
37841
- "return": {
37842
- "type": {
37843
- "text": "void"
37844
- }
37845
- },
37846
- "parameters": [
37847
- {
37848
- "name": "picker",
37849
- "optional": true,
37850
- "type": {
37851
- "text": "string | SbbDatepickerElement<T>"
37852
- }
37853
- }
37854
- ],
37855
- "inheritedFrom": {
37856
- "name": "SbbDatepickerButton",
37857
- "module": "datepicker/common.js"
37858
- }
37859
- },
37860
- {
37861
- "kind": "method",
37862
- "name": "_setAriaLabel",
37863
- "privacy": "private",
37864
- "return": {
37865
- "type": {
37866
- "text": "void"
37867
- }
37868
- },
37869
- "inheritedFrom": {
37870
- "name": "SbbDatepickerButton",
37871
- "module": "datepicker/common.js"
37872
- }
37873
- },
37874
37829
  {
37875
37830
  "kind": "method",
37876
37831
  "name": "_setDisabledRenderAttributes",
@@ -37880,15 +37835,6 @@
37880
37835
  "text": "void"
37881
37836
  }
37882
37837
  },
37883
- "parameters": [
37884
- {
37885
- "name": "isDisabled",
37886
- "default": "this._disabled || this._inputDisabled",
37887
- "type": {
37888
- "text": "boolean"
37889
- }
37890
- }
37891
- ],
37892
37838
  "inheritedFrom": {
37893
37839
  "name": "SbbDatepickerButton",
37894
37840
  "module": "datepicker/common.js"
@@ -38158,13 +38104,12 @@
38158
38104
  }
38159
38105
  },
38160
38106
  {
38161
- "name": "date-picker",
38107
+ "name": "datepicker",
38108
+ "description": "Datepicker reference.",
38162
38109
  "type": {
38163
- "text": "| string\n | SbbDatepickerElement<T>\n | null"
38110
+ "text": "SbbDatepickerElement<T> | null"
38164
38111
  },
38165
- "default": "null",
38166
- "description": "Datepicker reference.",
38167
- "fieldName": "datePicker",
38112
+ "fieldName": "datepicker",
38168
38113
  "inheritedFrom": {
38169
38114
  "name": "SbbDatepickerButton",
38170
38115
  "module": "datepicker/common.js"
@@ -38252,14 +38197,21 @@
38252
38197
  "members": [
38253
38198
  {
38254
38199
  "kind": "field",
38255
- "name": "datePicker",
38256
- "type": {
38257
- "text": "| string\n | SbbDatepickerElement\n | null"
38258
- },
38200
+ "name": "datepicker",
38259
38201
  "privacy": "public",
38260
- "default": "null",
38261
38202
  "description": "Datepicker reference.",
38262
- "attribute": "date-picker"
38203
+ "type": {
38204
+ "text": "SbbDatepickerElement<T> | null"
38205
+ },
38206
+ "attribute": "datepicker"
38207
+ },
38208
+ {
38209
+ "kind": "field",
38210
+ "name": "_datepicker",
38211
+ "type": {
38212
+ "text": "SbbDatepickerElement<T> | null | undefined"
38213
+ },
38214
+ "privacy": "private"
38263
38215
  },
38264
38216
  {
38265
38217
  "kind": "field",
@@ -38308,14 +38260,6 @@
38308
38260
  "privacy": "private",
38309
38261
  "default": "false"
38310
38262
  },
38311
- {
38312
- "kind": "field",
38313
- "name": "_datePickerElement",
38314
- "type": {
38315
- "text": "SbbDatepickerElement<T> | null | undefined"
38316
- },
38317
- "privacy": "private"
38318
- },
38319
38263
  {
38320
38264
  "kind": "field",
38321
38265
  "name": "_calendarElement",
@@ -38340,14 +38284,6 @@
38340
38284
  },
38341
38285
  "privacy": "private"
38342
38286
  },
38343
- {
38344
- "kind": "field",
38345
- "name": "_datePickerController",
38346
- "type": {
38347
- "text": "AbortController"
38348
- },
38349
- "privacy": "private"
38350
- },
38351
38287
  {
38352
38288
  "kind": "field",
38353
38289
  "name": "_language",
@@ -38365,25 +38301,6 @@
38365
38301
  },
38366
38302
  "description": "Opens the calendar."
38367
38303
  },
38368
- {
38369
- "kind": "method",
38370
- "name": "_init",
38371
- "privacy": "private",
38372
- "return": {
38373
- "type": {
38374
- "text": "void"
38375
- }
38376
- },
38377
- "parameters": [
38378
- {
38379
- "name": "datePicker",
38380
- "optional": true,
38381
- "type": {
38382
- "text": "string | SbbDatepickerElement"
38383
- }
38384
- }
38385
- ]
38386
- },
38387
38304
  {
38388
38305
  "kind": "method",
38389
38306
  "name": "_configureCalendar",
@@ -38392,39 +38309,7 @@
38392
38309
  "type": {
38393
38310
  "text": "void"
38394
38311
  }
38395
- },
38396
- "parameters": [
38397
- {
38398
- "name": "calendar",
38399
- "type": {
38400
- "text": "SbbCalendarElement<T>"
38401
- }
38402
- },
38403
- {
38404
- "name": "datepicker",
38405
- "type": {
38406
- "text": "SbbDatepickerElement<T>"
38407
- }
38408
- }
38409
- ]
38410
- },
38411
- {
38412
- "kind": "method",
38413
- "name": "_datePickerChanged",
38414
- "privacy": "private",
38415
- "return": {
38416
- "type": {
38417
- "text": "void"
38418
- }
38419
- },
38420
- "parameters": [
38421
- {
38422
- "name": "event",
38423
- "type": {
38424
- "text": "Event"
38425
- }
38426
- }
38427
- ]
38312
+ }
38428
38313
  },
38429
38314
  {
38430
38315
  "kind": "method",
@@ -38523,13 +38408,12 @@
38523
38408
  ],
38524
38409
  "attributes": [
38525
38410
  {
38526
- "name": "date-picker",
38411
+ "name": "datepicker",
38412
+ "description": "Datepicker reference.",
38527
38413
  "type": {
38528
- "text": "| string\n | SbbDatepickerElement\n | null"
38414
+ "text": "SbbDatepickerElement<T> | null"
38529
38415
  },
38530
- "default": "null",
38531
- "description": "Datepicker reference.",
38532
- "fieldName": "datePicker"
38416
+ "fieldName": "datepicker"
38533
38417
  },
38534
38418
  {
38535
38419
  "name": "view",
@@ -38621,7 +38505,8 @@
38621
38505
  "description": "The id or the reference of the SbbDatePicker."
38622
38506
  }
38623
38507
  ],
38624
- "description": "Given a SbbDatepickerPreviousDayElement, a SbbDatepickerNextDayElement or a SbbDatepickerToggleElement component,\nit returns the related SbbDatepickerElement reference, if exists."
38508
+ "description": "Given a SbbDatepickerPreviousDayElement, a SbbDatepickerNextDayElement or a SbbDatepickerToggleElement component,\nit returns the related SbbDatepickerElement reference, if exists.",
38509
+ "deprecated": "No longer in use."
38625
38510
  },
38626
38511
  {
38627
38512
  "kind": "function",
@@ -38630,7 +38515,8 @@
38630
38515
  "type": {
38631
38516
  "text": "CustomEvent"
38632
38517
  }
38633
- }
38518
+ },
38519
+ "deprecated": "No longer in use."
38634
38520
  },
38635
38521
  {
38636
38522
  "kind": "class",
@@ -38676,14 +38562,14 @@
38676
38562
  },
38677
38563
  "privacy": "public",
38678
38564
  "default": "null",
38679
- "description": "Reference of the native input connected to the datepicker.",
38565
+ "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.",
38680
38566
  "attribute": "input"
38681
38567
  },
38682
38568
  {
38683
38569
  "kind": "field",
38684
38570
  "name": "now",
38685
38571
  "privacy": "public",
38686
- "description": "A configured date which acts as the current date instead of the real current date. Recommended for testing purposes.",
38572
+ "description": "A configured date which acts as the current date instead of the real current date.\nRecommended for testing purposes.",
38687
38573
  "type": {
38688
38574
  "text": "T"
38689
38575
  },
@@ -38714,6 +38600,26 @@
38714
38600
  },
38715
38601
  "privacy": "private"
38716
38602
  },
38603
+ {
38604
+ "kind": "field",
38605
+ "name": "inputElement",
38606
+ "type": {
38607
+ "text": "HTMLInputElement | null"
38608
+ },
38609
+ "privacy": "public",
38610
+ "description": "The resolved associated input element, as defined by `input`.",
38611
+ "readonly": true,
38612
+ "default": "null"
38613
+ },
38614
+ {
38615
+ "kind": "field",
38616
+ "name": "_inputElement",
38617
+ "type": {
38618
+ "text": "HTMLInputElement | null"
38619
+ },
38620
+ "privacy": "private",
38621
+ "default": "null"
38622
+ },
38717
38623
  {
38718
38624
  "kind": "field",
38719
38625
  "name": "_change",
@@ -38754,15 +38660,6 @@
38754
38660
  "default": "new EventEmitter( this, SbbDatepickerElement.events.validationChange, )",
38755
38661
  "description": "Emits whenever the internal validation state changes."
38756
38662
  },
38757
- {
38758
- "kind": "field",
38759
- "name": "_inputElement",
38760
- "type": {
38761
- "text": "HTMLInputElement | null"
38762
- },
38763
- "privacy": "private",
38764
- "default": "null"
38765
- },
38766
38663
  {
38767
38664
  "kind": "field",
38768
38665
  "name": "_inputElementPlaceholderMutable",
@@ -38798,6 +38695,12 @@
38798
38695
  "name": "_language",
38799
38696
  "privacy": "private"
38800
38697
  },
38698
+ {
38699
+ "kind": "field",
38700
+ "name": "_associationController",
38701
+ "privacy": "private",
38702
+ "default": "new SbbDatepickerAssociationHostController(this)"
38703
+ },
38801
38704
  {
38802
38705
  "kind": "method",
38803
38706
  "name": "_attachInput",
@@ -39006,12 +38909,12 @@
39006
38909
  "text": "string | HTMLElement | null"
39007
38910
  },
39008
38911
  "default": "null",
39009
- "description": "Reference of the native input connected to the datepicker.",
38912
+ "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.",
39010
38913
  "fieldName": "input"
39011
38914
  },
39012
38915
  {
39013
38916
  "name": "now",
39014
- "description": "A configured date which acts as the current date instead of the real current date. Recommended for testing purposes.",
38917
+ "description": "A configured date which acts as the current date instead of the real current date.\nRecommended for testing purposes.",
39015
38918
  "type": {
39016
38919
  "text": "T"
39017
38920
  },
@@ -39647,6 +39550,18 @@
39647
39550
  "description": "Backdrop click action.",
39648
39551
  "attribute": "backdrop-action"
39649
39552
  },
39553
+ {
39554
+ "kind": "field",
39555
+ "name": "backdrop",
39556
+ "type": {
39557
+ "text": "| 'opaque'\n | 'translucent'"
39558
+ },
39559
+ "privacy": "public",
39560
+ "default": "'opaque'",
39561
+ "description": "Backdrop density.",
39562
+ "attribute": "backdrop",
39563
+ "reflects": true
39564
+ },
39650
39565
  {
39651
39566
  "kind": "field",
39652
39567
  "name": "_dialogContentResizeObserver",
@@ -40353,6 +40268,15 @@
40353
40268
  "description": "Backdrop click action.",
40354
40269
  "fieldName": "backdropAction"
40355
40270
  },
40271
+ {
40272
+ "name": "backdrop",
40273
+ "type": {
40274
+ "text": "| 'opaque'\n | 'translucent'"
40275
+ },
40276
+ "default": "'opaque'",
40277
+ "description": "Backdrop density.",
40278
+ "fieldName": "backdrop"
40279
+ },
40356
40280
  {
40357
40281
  "name": "negative",
40358
40282
  "type": {
@@ -55011,7 +54935,26 @@
55011
54935
  }
55012
54936
  }
55013
54937
  ],
55014
- "description": "Observe changes on data attributes and set the appropriate values."
54938
+ "deprecated": "use onExternalMutation() as replacement. Will be removed with next major change."
54939
+ },
54940
+ {
54941
+ "kind": "method",
54942
+ "name": "onExternalMutation",
54943
+ "privacy": "protected",
54944
+ "return": {
54945
+ "type": {
54946
+ "text": "void"
54947
+ }
54948
+ },
54949
+ "parameters": [
54950
+ {
54951
+ "name": "mutationsList",
54952
+ "type": {
54953
+ "text": "MutationRecord[]"
54954
+ }
54955
+ }
54956
+ ],
54957
+ "description": "Observe changes on data attributes + slotted content and set the appropriate values."
55015
54958
  },
55016
54959
  {
55017
54960
  "kind": "method",
@@ -55063,16 +55006,6 @@
55063
55006
  }
55064
55007
  }
55065
55008
  },
55066
- {
55067
- "kind": "method",
55068
- "name": "_handleSlotChange",
55069
- "privacy": "private",
55070
- "return": {
55071
- "type": {
55072
- "text": "void"
55073
- }
55074
- }
55075
- },
55076
55009
  {
55077
55010
  "kind": "field",
55078
55011
  "name": "disabled",
@@ -55759,7 +55692,7 @@
55759
55692
  }
55760
55693
  }
55761
55694
  ],
55762
- "description": "Observe changes on data attributes and set the appropriate values.",
55695
+ "deprecated": "use onExternalMutation() as replacement. Will be removed with next major change.",
55763
55696
  "inheritedFrom": {
55764
55697
  "name": "SbbOptionBaseElement",
55765
55698
  "module": "option/option.js"
@@ -55767,13 +55700,22 @@
55767
55700
  },
55768
55701
  {
55769
55702
  "kind": "method",
55770
- "name": "getHighlightedLabel",
55703
+ "name": "onExternalMutation",
55771
55704
  "privacy": "protected",
55772
55705
  "return": {
55773
55706
  "type": {
55774
- "text": "TemplateResult"
55707
+ "text": "void"
55775
55708
  }
55776
55709
  },
55710
+ "parameters": [
55711
+ {
55712
+ "name": "mutationsList",
55713
+ "type": {
55714
+ "text": "MutationRecord[]"
55715
+ }
55716
+ }
55717
+ ],
55718
+ "description": "Observe changes on data attributes + slotted content and set the appropriate values.",
55777
55719
  "inheritedFrom": {
55778
55720
  "name": "SbbOptionBaseElement",
55779
55721
  "module": "option/option.js"
@@ -55781,11 +55723,11 @@
55781
55723
  },
55782
55724
  {
55783
55725
  "kind": "method",
55784
- "name": "_handleSlotChange",
55785
- "privacy": "private",
55726
+ "name": "getHighlightedLabel",
55727
+ "privacy": "protected",
55786
55728
  "return": {
55787
55729
  "type": {
55788
- "text": "void"
55730
+ "text": "TemplateResult"
55789
55731
  }
55790
55732
  },
55791
55733
  "inheritedFrom": {
@@ -59024,9 +58966,9 @@
59024
58966
  "privacy": "public",
59025
58967
  "static": true,
59026
58968
  "readonly": true,
59027
- "default": "{ stateChange: 'stateChange', change: 'change', input: 'input', panelConnected: 'panelConnected', }",
58969
+ "default": "{ change: 'change', input: 'input', panelConnected: 'panelConnected', stateChange: 'stateChange', }",
59028
58970
  "type": {
59029
- "text": "{\n change: 'change',\n input: 'input',\n stateChange: 'stateChange',\n }"
58971
+ "text": "{\n change: 'change',\n input: 'input',\n }"
59030
58972
  },
59031
58973
  "inheritedFrom": {
59032
58974
  "name": "SbbRadioButtonCommonElementMixin",
@@ -59271,16 +59213,43 @@
59271
59213
  {
59272
59214
  "kind": "field",
59273
59215
  "name": "checked",
59216
+ "privacy": "public",
59217
+ "description": "Whether the radio button is checked.",
59274
59218
  "type": {
59275
59219
  "text": "boolean"
59276
59220
  },
59277
- "privacy": "public",
59278
- "default": "false",
59279
- "description": "Whether the radio button is checked.",
59280
59221
  "attribute": "checked",
59281
59222
  "inheritedFrom": {
59282
59223
  "name": "SbbFormAssociatedRadioButtonMixin",
59283
59224
  "module": "core/mixins.js"
59225
+ },
59226
+ "default": "false"
59227
+ },
59228
+ {
59229
+ "kind": "field",
59230
+ "name": "_checked",
59231
+ "type": {
59232
+ "text": "boolean"
59233
+ },
59234
+ "privacy": "private",
59235
+ "default": "false",
59236
+ "inheritedFrom": {
59237
+ "name": "SbbFormAssociatedRadioButtonMixin",
59238
+ "module": "core/mixins.js"
59239
+ }
59240
+ },
59241
+ {
59242
+ "kind": "field",
59243
+ "name": "name",
59244
+ "privacy": "public",
59245
+ "description": "Name of the form element. Will be read from name attribute.",
59246
+ "type": {
59247
+ "text": "string"
59248
+ },
59249
+ "attribute": "name",
59250
+ "inheritedFrom": {
59251
+ "name": "SbbFormAssociatedMixin",
59252
+ "module": "core/mixins.js"
59284
59253
  }
59285
59254
  },
59286
59255
  {
@@ -59364,14 +59333,13 @@
59364
59333
  },
59365
59334
  {
59366
59335
  "kind": "method",
59367
- "name": "updateFormValueOnCheckedChange",
59336
+ "name": "emitChangeEvents",
59368
59337
  "privacy": "protected",
59369
59338
  "return": {
59370
59339
  "type": {
59371
59340
  "text": "void"
59372
59341
  }
59373
59342
  },
59374
- "description": "Called on `checked` change\nIf 'checked', update the value. Otherwise, reset it.",
59375
59343
  "inheritedFrom": {
59376
59344
  "name": "SbbFormAssociatedRadioButtonMixin",
59377
59345
  "module": "core/mixins.js"
@@ -59379,8 +59347,8 @@
59379
59347
  },
59380
59348
  {
59381
59349
  "kind": "method",
59382
- "name": "emitChangeEvents",
59383
- "privacy": "protected",
59350
+ "name": "_synchronizeGroupState",
59351
+ "privacy": "private",
59384
59352
  "return": {
59385
59353
  "type": {
59386
59354
  "text": "void"
@@ -59546,20 +59514,6 @@
59546
59514
  "module": "core/mixins.js"
59547
59515
  }
59548
59516
  },
59549
- {
59550
- "kind": "field",
59551
- "name": "name",
59552
- "privacy": "public",
59553
- "description": "Name of the form element. Will be read from name attribute.",
59554
- "type": {
59555
- "text": "string"
59556
- },
59557
- "attribute": "name",
59558
- "inheritedFrom": {
59559
- "name": "SbbFormAssociatedMixin",
59560
- "module": "core/mixins.js"
59561
- }
59562
- },
59563
59517
  {
59564
59518
  "kind": "field",
59565
59519
  "name": "value",
@@ -59737,11 +59691,10 @@
59737
59691
  },
59738
59692
  {
59739
59693
  "name": "checked",
59694
+ "description": "Whether the radio button is checked.",
59740
59695
  "type": {
59741
59696
  "text": "boolean"
59742
59697
  },
59743
- "default": "false",
59744
- "description": "Whether the radio button is checked.",
59745
59698
  "fieldName": "checked",
59746
59699
  "inheritedFrom": {
59747
59700
  "name": "SbbFormAssociatedRadioButtonMixin",
@@ -59862,7 +59815,7 @@
59862
59815
  "readonly": true,
59863
59816
  "default": "{ stateChange: 'stateChange', change: 'change', input: 'input', }",
59864
59817
  "type": {
59865
- "text": "{\n change: 'change',\n input: 'input',\n stateChange: 'stateChange',\n }"
59818
+ "text": "{\n change: 'change',\n input: 'input',\n }"
59866
59819
  },
59867
59820
  "inheritedFrom": {
59868
59821
  "name": "SbbRadioButtonCommonElementMixin",
@@ -60029,16 +59982,43 @@
60029
59982
  {
60030
59983
  "kind": "field",
60031
59984
  "name": "checked",
59985
+ "privacy": "public",
59986
+ "description": "Whether the radio button is checked.",
60032
59987
  "type": {
60033
59988
  "text": "boolean"
60034
59989
  },
60035
- "privacy": "public",
60036
- "default": "false",
60037
- "description": "Whether the radio button is checked.",
60038
59990
  "attribute": "checked",
60039
59991
  "inheritedFrom": {
60040
59992
  "name": "SbbFormAssociatedRadioButtonMixin",
60041
59993
  "module": "core/mixins.js"
59994
+ },
59995
+ "default": "false"
59996
+ },
59997
+ {
59998
+ "kind": "field",
59999
+ "name": "_checked",
60000
+ "type": {
60001
+ "text": "boolean"
60002
+ },
60003
+ "privacy": "private",
60004
+ "default": "false",
60005
+ "inheritedFrom": {
60006
+ "name": "SbbFormAssociatedRadioButtonMixin",
60007
+ "module": "core/mixins.js"
60008
+ }
60009
+ },
60010
+ {
60011
+ "kind": "field",
60012
+ "name": "name",
60013
+ "privacy": "public",
60014
+ "description": "Name of the form element. Will be read from name attribute.",
60015
+ "type": {
60016
+ "text": "string"
60017
+ },
60018
+ "attribute": "name",
60019
+ "inheritedFrom": {
60020
+ "name": "SbbFormAssociatedMixin",
60021
+ "module": "core/mixins.js"
60042
60022
  }
60043
60023
  },
60044
60024
  {
@@ -60120,21 +60100,6 @@
60120
60100
  "module": "core/mixins.js"
60121
60101
  }
60122
60102
  },
60123
- {
60124
- "kind": "method",
60125
- "name": "updateFormValueOnCheckedChange",
60126
- "privacy": "protected",
60127
- "return": {
60128
- "type": {
60129
- "text": "void"
60130
- }
60131
- },
60132
- "description": "Called on `checked` change\nIf 'checked', update the value. Otherwise, reset it.",
60133
- "inheritedFrom": {
60134
- "name": "SbbFormAssociatedRadioButtonMixin",
60135
- "module": "core/mixins.js"
60136
- }
60137
- },
60138
60103
  {
60139
60104
  "kind": "method",
60140
60105
  "name": "updateFocusableRadios",
@@ -60186,6 +60151,20 @@
60186
60151
  "module": "core/mixins.js"
60187
60152
  }
60188
60153
  },
60154
+ {
60155
+ "kind": "method",
60156
+ "name": "_synchronizeGroupState",
60157
+ "privacy": "private",
60158
+ "return": {
60159
+ "type": {
60160
+ "text": "void"
60161
+ }
60162
+ },
60163
+ "inheritedFrom": {
60164
+ "name": "SbbFormAssociatedRadioButtonMixin",
60165
+ "module": "core/mixins.js"
60166
+ }
60167
+ },
60189
60168
  {
60190
60169
  "kind": "method",
60191
60170
  "name": "_connectToRegistry",
@@ -60341,20 +60320,6 @@
60341
60320
  "module": "core/mixins.js"
60342
60321
  }
60343
60322
  },
60344
- {
60345
- "kind": "field",
60346
- "name": "name",
60347
- "privacy": "public",
60348
- "description": "Name of the form element. Will be read from name attribute.",
60349
- "type": {
60350
- "text": "string"
60351
- },
60352
- "attribute": "name",
60353
- "inheritedFrom": {
60354
- "name": "SbbFormAssociatedMixin",
60355
- "module": "core/mixins.js"
60356
- }
60357
- },
60358
60323
  {
60359
60324
  "kind": "field",
60360
60325
  "name": "value",
@@ -60446,11 +60411,10 @@
60446
60411
  },
60447
60412
  {
60448
60413
  "name": "checked",
60414
+ "description": "Whether the radio button is checked.",
60449
60415
  "type": {
60450
60416
  "text": "boolean"
60451
60417
  },
60452
- "default": "false",
60453
- "description": "Whether the radio button is checked.",
60454
60418
  "fieldName": "checked",
60455
60419
  "inheritedFrom": {
60456
60420
  "name": "SbbFormAssociatedRadioButtonMixin",
@@ -68208,9 +68172,9 @@
68208
68172
  "privacy": "public",
68209
68173
  "static": true,
68210
68174
  "readonly": true,
68211
- "default": "{ change: 'change', input: 'input', stateChange: 'stateChange', }",
68175
+ "default": "{ change: 'change', input: 'input', }",
68212
68176
  "type": {
68213
- "text": "{\n change: 'change',\n input: 'input',\n stateChange: 'stateChange',\n }"
68177
+ "text": "{\n change: 'change',\n input: 'input',\n }"
68214
68178
  }
68215
68179
  },
68216
68180
  {
@@ -68331,18 +68295,44 @@
68331
68295
  {
68332
68296
  "kind": "field",
68333
68297
  "name": "checked",
68298
+ "privacy": "public",
68299
+ "description": "Whether the radio button is checked.",
68334
68300
  "type": {
68335
68301
  "text": "boolean"
68336
68302
  },
68337
- "privacy": "public",
68338
- "default": "false",
68339
- "description": "Whether the radio button is checked.",
68340
68303
  "attribute": "checked",
68341
68304
  "inheritedFrom": {
68342
68305
  "name": "SbbFormAssociatedRadioButtonMixin",
68343
68306
  "module": "core/mixins.js"
68344
68307
  }
68345
68308
  },
68309
+ {
68310
+ "kind": "field",
68311
+ "name": "_checked",
68312
+ "type": {
68313
+ "text": "boolean"
68314
+ },
68315
+ "privacy": "private",
68316
+ "default": "false",
68317
+ "inheritedFrom": {
68318
+ "name": "SbbFormAssociatedRadioButtonMixin",
68319
+ "module": "core/mixins.js"
68320
+ }
68321
+ },
68322
+ {
68323
+ "kind": "field",
68324
+ "name": "name",
68325
+ "privacy": "public",
68326
+ "description": "Name of the form element. Will be read from name attribute.",
68327
+ "type": {
68328
+ "text": "string"
68329
+ },
68330
+ "attribute": "name",
68331
+ "inheritedFrom": {
68332
+ "name": "SbbFormAssociatedMixin",
68333
+ "module": "core/mixins.js"
68334
+ }
68335
+ },
68346
68336
  {
68347
68337
  "kind": "field",
68348
68338
  "name": "type",
@@ -68422,21 +68412,6 @@
68422
68412
  "module": "core/mixins.js"
68423
68413
  }
68424
68414
  },
68425
- {
68426
- "kind": "method",
68427
- "name": "updateFormValueOnCheckedChange",
68428
- "privacy": "protected",
68429
- "return": {
68430
- "type": {
68431
- "text": "void"
68432
- }
68433
- },
68434
- "description": "Called on `checked` change\nIf 'checked', update the value. Otherwise, reset it.",
68435
- "inheritedFrom": {
68436
- "name": "SbbFormAssociatedRadioButtonMixin",
68437
- "module": "core/mixins.js"
68438
- }
68439
- },
68440
68415
  {
68441
68416
  "kind": "method",
68442
68417
  "name": "updateFocusableRadios",
@@ -68488,6 +68463,20 @@
68488
68463
  "module": "core/mixins.js"
68489
68464
  }
68490
68465
  },
68466
+ {
68467
+ "kind": "method",
68468
+ "name": "_synchronizeGroupState",
68469
+ "privacy": "private",
68470
+ "return": {
68471
+ "type": {
68472
+ "text": "void"
68473
+ }
68474
+ },
68475
+ "inheritedFrom": {
68476
+ "name": "SbbFormAssociatedRadioButtonMixin",
68477
+ "module": "core/mixins.js"
68478
+ }
68479
+ },
68491
68480
  {
68492
68481
  "kind": "method",
68493
68482
  "name": "_connectToRegistry",
@@ -68642,20 +68631,6 @@
68642
68631
  "module": "core/mixins.js"
68643
68632
  }
68644
68633
  },
68645
- {
68646
- "kind": "field",
68647
- "name": "name",
68648
- "privacy": "public",
68649
- "description": "Name of the form element. Will be read from name attribute.",
68650
- "type": {
68651
- "text": "string"
68652
- },
68653
- "attribute": "name",
68654
- "inheritedFrom": {
68655
- "name": "SbbFormAssociatedMixin",
68656
- "module": "core/mixins.js"
68657
- }
68658
- },
68659
68634
  {
68660
68635
  "kind": "field",
68661
68636
  "name": "value",
@@ -68709,11 +68684,10 @@
68709
68684
  },
68710
68685
  {
68711
68686
  "name": "checked",
68687
+ "description": "Whether the radio button is checked.",
68712
68688
  "type": {
68713
68689
  "text": "boolean"
68714
68690
  },
68715
- "default": "false",
68716
- "description": "Whether the radio button is checked.",
68717
68691
  "fieldName": "checked",
68718
68692
  "inheritedFrom": {
68719
68693
  "name": "SbbFormAssociatedRadioButtonMixin",