@sbb-esta/lyne-elements 2.0.3 → 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 (195) 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.js +18 -18
  52. package/core/styles/core.scss +21 -2
  53. package/core/testing.js +14 -14
  54. package/core.css +18 -2
  55. package/custom-elements.json +364 -428
  56. package/datepicker/common/datepicker-association-controllers.d.ts +21 -0
  57. package/datepicker/common/datepicker-association-controllers.d.ts.map +1 -0
  58. package/datepicker/common/datepicker-button.d.ts +17 -9
  59. package/datepicker/common/datepicker-button.d.ts.map +1 -1
  60. package/datepicker/common.d.ts +1 -0
  61. package/datepicker/common.d.ts.map +1 -1
  62. package/datepicker/common.js +130 -92
  63. package/datepicker/datepicker/datepicker.d.ts +19 -4
  64. package/datepicker/datepicker/datepicker.d.ts.map +1 -1
  65. package/datepicker/datepicker-toggle/datepicker-toggle.d.ts +14 -8
  66. package/datepicker/datepicker-toggle/datepicker-toggle.d.ts.map +1 -1
  67. package/datepicker/datepicker-toggle.js +108 -112
  68. package/datepicker/datepicker.js +95 -80
  69. package/development/accordion/accordion.d.ts.map +1 -1
  70. package/development/accordion.js +1 -1
  71. package/development/autocomplete/autocomplete-base-element.d.ts.map +1 -1
  72. package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.d.ts +1 -1
  73. package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.d.ts.map +1 -1
  74. package/development/autocomplete-grid/autocomplete-grid-option.js +3 -3
  75. package/development/autocomplete.js +24 -8
  76. package/development/button/common.js +4 -2
  77. package/development/calendar.js +1 -1
  78. package/development/container/container/container.d.ts +1 -1
  79. package/development/container/container/container.d.ts.map +1 -1
  80. package/development/container/container.js +17 -1
  81. package/development/container/sticky-bar/sticky-bar.d.ts +1 -1
  82. package/development/container/sticky-bar/sticky-bar.d.ts.map +1 -1
  83. package/development/container/sticky-bar.js +9 -1
  84. package/development/core/datetime/date-adapter.d.ts +1 -1
  85. package/development/core/datetime/date-adapter.d.ts.map +1 -1
  86. package/development/core/datetime/native-date-adapter.d.ts +1 -1
  87. package/development/core/datetime/native-date-adapter.d.ts.map +1 -1
  88. package/development/core/datetime.js +1 -1
  89. package/development/core/dom/scroll.d.ts +1 -1
  90. package/development/core/dom/scroll.d.ts.map +1 -1
  91. package/development/core/dom.js +4 -4
  92. package/development/core/mixins.js +1 -1
  93. package/development/datepicker/common/datepicker-association-controllers.d.ts +21 -0
  94. package/development/datepicker/common/datepicker-association-controllers.d.ts.map +1 -0
  95. package/development/datepicker/common/datepicker-button.d.ts +17 -9
  96. package/development/datepicker/common/datepicker-button.d.ts.map +1 -1
  97. package/development/datepicker/common.d.ts +1 -0
  98. package/development/datepicker/common.d.ts.map +1 -1
  99. package/development/datepicker/common.js +139 -90
  100. package/development/datepicker/datepicker/datepicker.d.ts +19 -4
  101. package/development/datepicker/datepicker/datepicker.d.ts.map +1 -1
  102. package/development/datepicker/datepicker-toggle/datepicker-toggle.d.ts +14 -8
  103. package/development/datepicker/datepicker-toggle/datepicker-toggle.d.ts.map +1 -1
  104. package/development/datepicker/datepicker-toggle.js +65 -69
  105. package/development/datepicker/datepicker.js +54 -36
  106. package/development/dialog/dialog/dialog.d.ts +2 -0
  107. package/development/dialog/dialog/dialog.d.ts.map +1 -1
  108. package/development/dialog/dialog.js +37 -11
  109. package/development/menu/menu/menu.d.ts.map +1 -1
  110. package/development/menu/menu.js +35 -12
  111. package/development/navigation/navigation/navigation.d.ts.map +1 -1
  112. package/development/navigation/navigation.js +15 -8
  113. package/development/option/option/option-base-element.d.ts +3 -2
  114. package/development/option/option/option-base-element.d.ts.map +1 -1
  115. package/development/option/option.js +15 -8
  116. package/development/overlay/overlay-base-element.d.ts.map +1 -1
  117. package/development/overlay/overlay.d.ts.map +1 -1
  118. package/development/overlay.js +29 -13
  119. package/development/popover/popover/popover.d.ts.map +1 -1
  120. package/development/popover/popover.js +16 -13
  121. package/development/select/select.d.ts +11 -0
  122. package/development/select/select.d.ts.map +1 -1
  123. package/development/select.js +60 -9
  124. package/development/toast/toast.d.ts.map +1 -1
  125. package/development/toast.js +14 -8
  126. package/development/toggle/toggle.js +1 -1
  127. package/development/train/train-wagon.js +1 -1
  128. package/dialog/dialog/dialog.d.ts +2 -0
  129. package/dialog/dialog/dialog.d.ts.map +1 -1
  130. package/dialog/dialog-content.js +3 -3
  131. package/dialog/dialog-title.js +8 -8
  132. package/dialog/dialog.js +59 -49
  133. package/divider.js +12 -12
  134. package/file-selector/file-selector-dropzone.js +5 -5
  135. package/file-selector/file-selector.js +6 -6
  136. package/flip-card/flip-card-details.js +4 -4
  137. package/flip-card/flip-card-summary.js +9 -9
  138. package/header/header-button.js +5 -5
  139. package/header/header-link.js +5 -5
  140. package/icon.js +36 -36
  141. package/link/block-link-button.js +4 -4
  142. package/link/block-link-static.js +9 -9
  143. package/link/block-link.js +4 -4
  144. package/link/common.js +16 -16
  145. package/link/link-button.js +7 -7
  146. package/link/link-static.js +7 -7
  147. package/link/link.js +4 -4
  148. package/link-list/common.js +12 -12
  149. package/loading-indicator-circle.js +11 -11
  150. package/map-container.js +4 -4
  151. package/menu/common.js +7 -7
  152. package/menu/menu/menu.d.ts.map +1 -1
  153. package/menu/menu-button.js +8 -8
  154. package/menu/menu-link.js +6 -6
  155. package/menu/menu.js +64 -42
  156. package/navigation/navigation/navigation.d.ts.map +1 -1
  157. package/navigation/navigation-button.js +4 -4
  158. package/navigation/navigation-link.js +7 -7
  159. package/navigation/navigation-list.js +4 -4
  160. package/navigation/navigation-marker.js +3 -3
  161. package/navigation/navigation.js +21 -20
  162. package/notification.js +17 -17
  163. package/option/optgroup.js +11 -11
  164. package/option/option/option-base-element.d.ts +3 -2
  165. package/option/option/option-base-element.d.ts.map +1 -1
  166. package/option/option.js +113 -101
  167. package/overlay/overlay-base-element.d.ts.map +1 -1
  168. package/overlay/overlay.d.ts.map +1 -1
  169. package/overlay.js +87 -84
  170. package/package.json +1 -1
  171. package/paginator/common.js +6 -6
  172. package/popover/popover/popover.d.ts.map +1 -1
  173. package/popover/popover.js +73 -73
  174. package/radio-button/radio-button-panel.js +5 -5
  175. package/screen-reader-only.js +5 -5
  176. package/select/select.d.ts +11 -0
  177. package/select/select.d.ts.map +1 -1
  178. package/select.js +111 -83
  179. package/slider.js +8 -8
  180. package/standard-theme.css +18 -2
  181. package/status.js +3 -3
  182. package/stepper/step-label.js +4 -4
  183. package/table/table-wrapper.js +4 -4
  184. package/tabs/tab-group.js +24 -24
  185. package/tabs/tab.js +3 -3
  186. package/tag/tag-group.js +7 -7
  187. package/teaser-product/common.js +5 -5
  188. package/teaser-product/teaser-product-static.js +2 -2
  189. package/timetable-occupancy-icon.js +3 -3
  190. package/timetable-occupancy.js +6 -6
  191. package/toast/toast.d.ts.map +1 -1
  192. package/toast.js +58 -54
  193. package/toggle/toggle-option.js +11 -11
  194. package/toggle-check.js +5 -5
  195. 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
  },
@@ -36423,18 +36470,107 @@
36423
36470
  {
36424
36471
  "kind": "class",
36425
36472
  "description": "",
36426
- "name": "SbbDatepickerButton",
36473
+ "name": "SbbDatepickerAssociationHostController",
36427
36474
  "members": [
36428
36475
  {
36429
36476
  "kind": "field",
36430
- "name": "datePicker",
36477
+ "name": "_context",
36431
36478
  "type": {
36432
- "text": "| string\n | SbbDatepickerElement<T>\n | null"
36479
+ "text": "SbbDatepickerAssociationContext<T> | undefined"
36433
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",
36434
36560
  "privacy": "public",
36435
- "default": "null",
36436
36561
  "description": "Datepicker reference.",
36437
- "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"
36438
36574
  },
36439
36575
  {
36440
36576
  "kind": "field",
@@ -36473,7 +36609,8 @@
36473
36609
  "text": "SbbDatepickerElement<T> | null | undefined"
36474
36610
  },
36475
36611
  "privacy": "protected",
36476
- "default": "null"
36612
+ "default": "null",
36613
+ "deprecated": "Use datepicker instead."
36477
36614
  },
36478
36615
  {
36479
36616
  "kind": "field",
@@ -36483,18 +36620,11 @@
36483
36620
  },
36484
36621
  "privacy": "private"
36485
36622
  },
36486
- {
36487
- "kind": "field",
36488
- "name": "_datePickerController",
36489
- "type": {
36490
- "text": "AbortController"
36491
- },
36492
- "privacy": "private"
36493
- },
36494
36623
  {
36495
36624
  "kind": "field",
36496
36625
  "name": "_language",
36497
- "privacy": "private"
36626
+ "privacy": "private",
36627
+ "default": "new SbbLanguageController(this)"
36498
36628
  },
36499
36629
  {
36500
36630
  "kind": "field",
@@ -36538,16 +36668,6 @@
36538
36668
  }
36539
36669
  ]
36540
36670
  },
36541
- {
36542
- "kind": "method",
36543
- "name": "_setDisabledState",
36544
- "privacy": "private",
36545
- "return": {
36546
- "type": {
36547
- "text": "void"
36548
- }
36549
- }
36550
- },
36551
36671
  {
36552
36672
  "kind": "method",
36553
36673
  "name": "_handleClick",
@@ -36558,45 +36678,6 @@
36558
36678
  }
36559
36679
  }
36560
36680
  },
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
36681
  {
36601
36682
  "kind": "method",
36602
36683
  "name": "_setDisabledRenderAttributes",
@@ -36605,16 +36686,7 @@
36605
36686
  "type": {
36606
36687
  "text": "void"
36607
36688
  }
36608
- },
36609
- "parameters": [
36610
- {
36611
- "name": "isDisabled",
36612
- "default": "this._disabled || this._inputDisabled",
36613
- "type": {
36614
- "text": "boolean"
36615
- }
36616
- }
36617
- ]
36689
+ }
36618
36690
  },
36619
36691
  {
36620
36692
  "kind": "method",
@@ -36876,13 +36948,12 @@
36876
36948
  ],
36877
36949
  "attributes": [
36878
36950
  {
36879
- "name": "date-picker",
36951
+ "name": "datepicker",
36952
+ "description": "Datepicker reference.",
36880
36953
  "type": {
36881
- "text": "| string\n | SbbDatepickerElement<T>\n | null"
36954
+ "text": "SbbDatepickerElement<T> | null"
36882
36955
  },
36883
- "default": "null",
36884
- "description": "Datepicker reference.",
36885
- "fieldName": "datePicker"
36956
+ "fieldName": "datepicker"
36886
36957
  },
36887
36958
  {
36888
36959
  "name": "negative",
@@ -36961,6 +37032,22 @@
36961
37032
  }
36962
37033
  ],
36963
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
+ },
36964
37051
  {
36965
37052
  "kind": "js",
36966
37053
  "name": "SbbDatepickerButton",
@@ -37059,14 +37146,25 @@
37059
37146
  },
37060
37147
  {
37061
37148
  "kind": "field",
37062
- "name": "datePicker",
37063
- "type": {
37064
- "text": "| string\n | SbbDatepickerElement<T>\n | null"
37065
- },
37149
+ "name": "datepicker",
37066
37150
  "privacy": "public",
37067
- "default": "null",
37068
37151
  "description": "Datepicker reference.",
37069
- "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",
37070
37168
  "inheritedFrom": {
37071
37169
  "name": "SbbDatepickerButton",
37072
37170
  "module": "datepicker/common.js"
@@ -37122,6 +37220,7 @@
37122
37220
  },
37123
37221
  "privacy": "protected",
37124
37222
  "default": "null",
37223
+ "deprecated": "Use datepicker instead.",
37125
37224
  "inheritedFrom": {
37126
37225
  "name": "SbbDatepickerButton",
37127
37226
  "module": "datepicker/common.js"
@@ -37139,36 +37238,11 @@
37139
37238
  "module": "datepicker/common.js"
37140
37239
  }
37141
37240
  },
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
37241
  {
37155
37242
  "kind": "field",
37156
37243
  "name": "_language",
37157
37244
  "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
- },
37245
+ "default": "new SbbLanguageController(this)",
37172
37246
  "inheritedFrom": {
37173
37247
  "name": "SbbDatepickerButton",
37174
37248
  "module": "datepicker/common.js"
@@ -37188,57 +37262,6 @@
37188
37262
  "module": "datepicker/common.js"
37189
37263
  }
37190
37264
  },
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
37265
  {
37243
37266
  "kind": "method",
37244
37267
  "name": "_setDisabledRenderAttributes",
@@ -37248,15 +37271,6 @@
37248
37271
  "text": "void"
37249
37272
  }
37250
37273
  },
37251
- "parameters": [
37252
- {
37253
- "name": "isDisabled",
37254
- "default": "this._disabled || this._inputDisabled",
37255
- "type": {
37256
- "text": "boolean"
37257
- }
37258
- }
37259
- ],
37260
37274
  "inheritedFrom": {
37261
37275
  "name": "SbbDatepickerButton",
37262
37276
  "module": "datepicker/common.js"
@@ -37526,13 +37540,12 @@
37526
37540
  }
37527
37541
  },
37528
37542
  {
37529
- "name": "date-picker",
37543
+ "name": "datepicker",
37544
+ "description": "Datepicker reference.",
37530
37545
  "type": {
37531
- "text": "| string\n | SbbDatepickerElement<T>\n | null"
37546
+ "text": "SbbDatepickerElement<T> | null"
37532
37547
  },
37533
- "default": "null",
37534
- "description": "Datepicker reference.",
37535
- "fieldName": "datePicker",
37548
+ "fieldName": "datepicker",
37536
37549
  "inheritedFrom": {
37537
37550
  "name": "SbbDatepickerButton",
37538
37551
  "module": "datepicker/common.js"
@@ -37697,14 +37710,25 @@
37697
37710
  },
37698
37711
  {
37699
37712
  "kind": "field",
37700
- "name": "datePicker",
37701
- "type": {
37702
- "text": "| string\n | SbbDatepickerElement<T>\n | null"
37703
- },
37713
+ "name": "datepicker",
37704
37714
  "privacy": "public",
37705
- "default": "null",
37706
37715
  "description": "Datepicker reference.",
37707
- "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",
37708
37732
  "inheritedFrom": {
37709
37733
  "name": "SbbDatepickerButton",
37710
37734
  "module": "datepicker/common.js"
@@ -37760,6 +37784,7 @@
37760
37784
  },
37761
37785
  "privacy": "protected",
37762
37786
  "default": "null",
37787
+ "deprecated": "Use datepicker instead.",
37763
37788
  "inheritedFrom": {
37764
37789
  "name": "SbbDatepickerButton",
37765
37790
  "module": "datepicker/common.js"
@@ -37777,36 +37802,11 @@
37777
37802
  "module": "datepicker/common.js"
37778
37803
  }
37779
37804
  },
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
37805
  {
37793
37806
  "kind": "field",
37794
37807
  "name": "_language",
37795
37808
  "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
- },
37809
+ "default": "new SbbLanguageController(this)",
37810
37810
  "inheritedFrom": {
37811
37811
  "name": "SbbDatepickerButton",
37812
37812
  "module": "datepicker/common.js"
@@ -37826,57 +37826,6 @@
37826
37826
  "module": "datepicker/common.js"
37827
37827
  }
37828
37828
  },
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
37829
  {
37881
37830
  "kind": "method",
37882
37831
  "name": "_setDisabledRenderAttributes",
@@ -37886,15 +37835,6 @@
37886
37835
  "text": "void"
37887
37836
  }
37888
37837
  },
37889
- "parameters": [
37890
- {
37891
- "name": "isDisabled",
37892
- "default": "this._disabled || this._inputDisabled",
37893
- "type": {
37894
- "text": "boolean"
37895
- }
37896
- }
37897
- ],
37898
37838
  "inheritedFrom": {
37899
37839
  "name": "SbbDatepickerButton",
37900
37840
  "module": "datepicker/common.js"
@@ -38164,13 +38104,12 @@
38164
38104
  }
38165
38105
  },
38166
38106
  {
38167
- "name": "date-picker",
38107
+ "name": "datepicker",
38108
+ "description": "Datepicker reference.",
38168
38109
  "type": {
38169
- "text": "| string\n | SbbDatepickerElement<T>\n | null"
38110
+ "text": "SbbDatepickerElement<T> | null"
38170
38111
  },
38171
- "default": "null",
38172
- "description": "Datepicker reference.",
38173
- "fieldName": "datePicker",
38112
+ "fieldName": "datepicker",
38174
38113
  "inheritedFrom": {
38175
38114
  "name": "SbbDatepickerButton",
38176
38115
  "module": "datepicker/common.js"
@@ -38258,14 +38197,21 @@
38258
38197
  "members": [
38259
38198
  {
38260
38199
  "kind": "field",
38261
- "name": "datePicker",
38262
- "type": {
38263
- "text": "| string\n | SbbDatepickerElement\n | null"
38264
- },
38200
+ "name": "datepicker",
38265
38201
  "privacy": "public",
38266
- "default": "null",
38267
38202
  "description": "Datepicker reference.",
38268
- "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"
38269
38215
  },
38270
38216
  {
38271
38217
  "kind": "field",
@@ -38314,14 +38260,6 @@
38314
38260
  "privacy": "private",
38315
38261
  "default": "false"
38316
38262
  },
38317
- {
38318
- "kind": "field",
38319
- "name": "_datePickerElement",
38320
- "type": {
38321
- "text": "SbbDatepickerElement<T> | null | undefined"
38322
- },
38323
- "privacy": "private"
38324
- },
38325
38263
  {
38326
38264
  "kind": "field",
38327
38265
  "name": "_calendarElement",
@@ -38346,14 +38284,6 @@
38346
38284
  },
38347
38285
  "privacy": "private"
38348
38286
  },
38349
- {
38350
- "kind": "field",
38351
- "name": "_datePickerController",
38352
- "type": {
38353
- "text": "AbortController"
38354
- },
38355
- "privacy": "private"
38356
- },
38357
38287
  {
38358
38288
  "kind": "field",
38359
38289
  "name": "_language",
@@ -38371,25 +38301,6 @@
38371
38301
  },
38372
38302
  "description": "Opens the calendar."
38373
38303
  },
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
38304
  {
38394
38305
  "kind": "method",
38395
38306
  "name": "_configureCalendar",
@@ -38398,39 +38309,7 @@
38398
38309
  "type": {
38399
38310
  "text": "void"
38400
38311
  }
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
- ]
38312
+ }
38434
38313
  },
38435
38314
  {
38436
38315
  "kind": "method",
@@ -38529,13 +38408,12 @@
38529
38408
  ],
38530
38409
  "attributes": [
38531
38410
  {
38532
- "name": "date-picker",
38411
+ "name": "datepicker",
38412
+ "description": "Datepicker reference.",
38533
38413
  "type": {
38534
- "text": "| string\n | SbbDatepickerElement\n | null"
38414
+ "text": "SbbDatepickerElement<T> | null"
38535
38415
  },
38536
- "default": "null",
38537
- "description": "Datepicker reference.",
38538
- "fieldName": "datePicker"
38416
+ "fieldName": "datepicker"
38539
38417
  },
38540
38418
  {
38541
38419
  "name": "view",
@@ -38627,7 +38505,8 @@
38627
38505
  "description": "The id or the reference of the SbbDatePicker."
38628
38506
  }
38629
38507
  ],
38630
- "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."
38631
38510
  },
38632
38511
  {
38633
38512
  "kind": "function",
@@ -38636,7 +38515,8 @@
38636
38515
  "type": {
38637
38516
  "text": "CustomEvent"
38638
38517
  }
38639
- }
38518
+ },
38519
+ "deprecated": "No longer in use."
38640
38520
  },
38641
38521
  {
38642
38522
  "kind": "class",
@@ -38682,14 +38562,14 @@
38682
38562
  },
38683
38563
  "privacy": "public",
38684
38564
  "default": "null",
38685
- "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.",
38686
38566
  "attribute": "input"
38687
38567
  },
38688
38568
  {
38689
38569
  "kind": "field",
38690
38570
  "name": "now",
38691
38571
  "privacy": "public",
38692
- "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.",
38693
38573
  "type": {
38694
38574
  "text": "T"
38695
38575
  },
@@ -38720,6 +38600,26 @@
38720
38600
  },
38721
38601
  "privacy": "private"
38722
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
+ },
38723
38623
  {
38724
38624
  "kind": "field",
38725
38625
  "name": "_change",
@@ -38760,15 +38660,6 @@
38760
38660
  "default": "new EventEmitter( this, SbbDatepickerElement.events.validationChange, )",
38761
38661
  "description": "Emits whenever the internal validation state changes."
38762
38662
  },
38763
- {
38764
- "kind": "field",
38765
- "name": "_inputElement",
38766
- "type": {
38767
- "text": "HTMLInputElement | null"
38768
- },
38769
- "privacy": "private",
38770
- "default": "null"
38771
- },
38772
38663
  {
38773
38664
  "kind": "field",
38774
38665
  "name": "_inputElementPlaceholderMutable",
@@ -38804,6 +38695,12 @@
38804
38695
  "name": "_language",
38805
38696
  "privacy": "private"
38806
38697
  },
38698
+ {
38699
+ "kind": "field",
38700
+ "name": "_associationController",
38701
+ "privacy": "private",
38702
+ "default": "new SbbDatepickerAssociationHostController(this)"
38703
+ },
38807
38704
  {
38808
38705
  "kind": "method",
38809
38706
  "name": "_attachInput",
@@ -39012,12 +38909,12 @@
39012
38909
  "text": "string | HTMLElement | null"
39013
38910
  },
39014
38911
  "default": "null",
39015
- "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.",
39016
38913
  "fieldName": "input"
39017
38914
  },
39018
38915
  {
39019
38916
  "name": "now",
39020
- "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.",
39021
38918
  "type": {
39022
38919
  "text": "T"
39023
38920
  },
@@ -39653,6 +39550,18 @@
39653
39550
  "description": "Backdrop click action.",
39654
39551
  "attribute": "backdrop-action"
39655
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
+ },
39656
39565
  {
39657
39566
  "kind": "field",
39658
39567
  "name": "_dialogContentResizeObserver",
@@ -40359,6 +40268,15 @@
40359
40268
  "description": "Backdrop click action.",
40360
40269
  "fieldName": "backdropAction"
40361
40270
  },
40271
+ {
40272
+ "name": "backdrop",
40273
+ "type": {
40274
+ "text": "| 'opaque'\n | 'translucent'"
40275
+ },
40276
+ "default": "'opaque'",
40277
+ "description": "Backdrop density.",
40278
+ "fieldName": "backdrop"
40279
+ },
40362
40280
  {
40363
40281
  "name": "negative",
40364
40282
  "type": {
@@ -55017,7 +54935,26 @@
55017
54935
  }
55018
54936
  }
55019
54937
  ],
55020
- "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."
55021
54958
  },
55022
54959
  {
55023
54960
  "kind": "method",
@@ -55069,16 +55006,6 @@
55069
55006
  }
55070
55007
  }
55071
55008
  },
55072
- {
55073
- "kind": "method",
55074
- "name": "_handleSlotChange",
55075
- "privacy": "private",
55076
- "return": {
55077
- "type": {
55078
- "text": "void"
55079
- }
55080
- }
55081
- },
55082
55009
  {
55083
55010
  "kind": "field",
55084
55011
  "name": "disabled",
@@ -55765,7 +55692,7 @@
55765
55692
  }
55766
55693
  }
55767
55694
  ],
55768
- "description": "Observe changes on data attributes and set the appropriate values.",
55695
+ "deprecated": "use onExternalMutation() as replacement. Will be removed with next major change.",
55769
55696
  "inheritedFrom": {
55770
55697
  "name": "SbbOptionBaseElement",
55771
55698
  "module": "option/option.js"
@@ -55773,13 +55700,22 @@
55773
55700
  },
55774
55701
  {
55775
55702
  "kind": "method",
55776
- "name": "getHighlightedLabel",
55703
+ "name": "onExternalMutation",
55777
55704
  "privacy": "protected",
55778
55705
  "return": {
55779
55706
  "type": {
55780
- "text": "TemplateResult"
55707
+ "text": "void"
55781
55708
  }
55782
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.",
55783
55719
  "inheritedFrom": {
55784
55720
  "name": "SbbOptionBaseElement",
55785
55721
  "module": "option/option.js"
@@ -55787,11 +55723,11 @@
55787
55723
  },
55788
55724
  {
55789
55725
  "kind": "method",
55790
- "name": "_handleSlotChange",
55791
- "privacy": "private",
55726
+ "name": "getHighlightedLabel",
55727
+ "privacy": "protected",
55792
55728
  "return": {
55793
55729
  "type": {
55794
- "text": "void"
55730
+ "text": "TemplateResult"
55795
55731
  }
55796
55732
  },
55797
55733
  "inheritedFrom": {