@sbb-esta/lyne-elements 4.0.0-next → 4.0.0-next.2

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 (309) hide show
  1. package/alert/alert/alert.component.js +5 -5
  2. package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +6 -6
  3. package/badge.css +3 -3
  4. package/breadcrumb/breadcrumb/breadcrumb.component.js +4 -4
  5. package/breadcrumb/breadcrumb-group/breadcrumb-group.component.d.ts +1 -0
  6. package/breadcrumb/breadcrumb-group/breadcrumb-group.component.d.ts.map +1 -1
  7. package/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +5 -5
  8. package/button/common.js +1 -1
  9. package/button/mini-button/mini-button.component.js +1 -1
  10. package/button.js +1 -1
  11. package/calendar/calendar.component.d.ts +1 -0
  12. package/calendar/calendar.component.d.ts.map +1 -1
  13. package/calendar/calendar.component.js +2 -2
  14. package/card/card-badge/card-badge.component.js +7 -7
  15. package/card/card-button/card-button.component.d.ts +1 -1
  16. package/card/card-link/card-link.component.d.ts +1 -1
  17. package/card/common/card-action-common.d.ts.map +1 -1
  18. package/card/common/card-action-common.js +5 -10
  19. package/carousel/carousel/carousel.component.d.ts +2 -1
  20. package/carousel/carousel/carousel.component.d.ts.map +1 -1
  21. package/carousel/carousel/carousel.component.js +33 -28
  22. package/carousel/carousel-list/carousel-list.component.d.ts +1 -1
  23. package/carousel/carousel-list/carousel-list.component.d.ts.map +1 -1
  24. package/carousel/carousel-list/carousel-list.component.js +17 -22
  25. package/checkbox/checkbox/checkbox.component.d.ts +1 -1
  26. package/checkbox/common.js +1 -1
  27. package/checkbox-common-CrwfdL9V.js +5 -0
  28. package/checkbox.js +1 -1
  29. package/chip/chip/chip.component.js +3 -3
  30. package/chip-label/chip-label.component.js +8 -8
  31. package/core/a11y/interactivity-checker.js +0 -7
  32. package/core/a11y/live-announcer.js +0 -7
  33. package/core/config/config.d.ts +5 -0
  34. package/core/config/config.d.ts.map +1 -1
  35. package/core/controllers/media-matchers-controller.d.ts.map +1 -1
  36. package/core/controllers/media-matchers-controller.js +27 -27
  37. package/core/datetime/native-date-adapter.d.ts +1 -0
  38. package/core/datetime/native-date-adapter.d.ts.map +1 -1
  39. package/core/datetime/native-date-adapter.js +1 -1
  40. package/core/dom/breakpoint.d.ts +1 -0
  41. package/core/dom/breakpoint.d.ts.map +1 -1
  42. package/core/mixins/form-associated-input-mixin.d.ts.map +1 -1
  43. package/core/styles/core.scss +67 -69
  44. package/core/styles/mixins/chip.scss +4 -4
  45. package/core/styles/mixins/lists.scss +3 -3
  46. package/core/styles/mixins/panel.scss +2 -2
  47. package/core/styles/mixins/typo.scss +42 -40
  48. package/core/styles/node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables-as-css.scss +166 -38
  49. package/core/styles/node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables.scss +4 -4
  50. package/core/styles/typography.scss +6 -6
  51. package/core.css +92 -100
  52. package/custom-elements.json +1565 -1739
  53. package/date-input/date-input.component.d.ts +1 -0
  54. package/date-input/date-input.component.d.ts.map +1 -1
  55. package/date-input/date-input.component.js +1 -0
  56. package/development/alert/alert/alert.component.js +7 -5
  57. package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +3 -3
  58. package/development/breadcrumb/breadcrumb/breadcrumb.component.js +3 -3
  59. package/development/breadcrumb/breadcrumb-group/breadcrumb-group.component.d.ts +1 -0
  60. package/development/breadcrumb/breadcrumb-group/breadcrumb-group.component.d.ts.map +1 -1
  61. package/development/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +5 -5
  62. package/development/button/common.js +1 -1
  63. package/development/button/mini-button/mini-button.component.js +2 -2
  64. package/development/button.js +1 -1
  65. package/development/calendar/calendar.component.d.ts +1 -0
  66. package/development/calendar/calendar.component.d.ts.map +1 -1
  67. package/development/calendar/calendar.component.js +17 -17
  68. package/development/card/card-badge/card-badge.component.js +3 -3
  69. package/development/card/card-button/card-button.component.d.ts +1 -1
  70. package/development/card/card-link/card-link.component.d.ts +1 -1
  71. package/development/card/common/card-action-common.d.ts.map +1 -1
  72. package/development/card/common/card-action-common.js +14 -7
  73. package/development/carousel/carousel/carousel.component.d.ts +2 -1
  74. package/development/carousel/carousel/carousel.component.d.ts.map +1 -1
  75. package/development/carousel/carousel/carousel.component.js +19 -8
  76. package/development/carousel/carousel-list/carousel-list.component.d.ts +1 -1
  77. package/development/carousel/carousel-list/carousel-list.component.d.ts.map +1 -1
  78. package/development/carousel/carousel-list/carousel-list.component.js +7 -14
  79. package/development/checkbox/checkbox/checkbox.component.d.ts +1 -1
  80. package/development/checkbox/common.js +1 -1
  81. package/development/{checkbox-common-BZFJgZd7.js → checkbox-common-BKjxH3Rp.js} +12 -12
  82. package/development/checkbox.js +1 -1
  83. package/development/chip/chip/chip.component.js +3 -3
  84. package/development/chip-label/chip-label.component.js +6 -6
  85. package/development/core/a11y/interactivity-checker.js +1 -8
  86. package/development/core/a11y/live-announcer.js +1 -8
  87. package/development/core/config/config.d.ts +5 -0
  88. package/development/core/config/config.d.ts.map +1 -1
  89. package/development/core/config/config.js +1 -1
  90. package/development/core/controllers/media-matchers-controller.d.ts.map +1 -1
  91. package/development/core/controllers/media-matchers-controller.js +5 -6
  92. package/development/core/datetime/native-date-adapter.d.ts +1 -0
  93. package/development/core/datetime/native-date-adapter.d.ts.map +1 -1
  94. package/development/core/datetime/native-date-adapter.js +2 -2
  95. package/development/core/dom/breakpoint.d.ts +1 -0
  96. package/development/core/dom/breakpoint.d.ts.map +1 -1
  97. package/development/core/dom/breakpoint.js +1 -1
  98. package/development/core/mixins/form-associated-input-mixin.d.ts.map +1 -1
  99. package/development/core/mixins/form-associated-input-mixin.js +1 -1
  100. package/development/date-input/date-input.component.d.ts +1 -0
  101. package/development/date-input/date-input.component.d.ts.map +1 -1
  102. package/development/date-input/date-input.component.js +2 -1
  103. package/development/dialog/dialog/dialog.component.d.ts +3 -4
  104. package/development/dialog/dialog/dialog.component.d.ts.map +1 -1
  105. package/development/dialog/dialog/dialog.component.js +47 -112
  106. package/development/dialog/dialog-actions/dialog-actions.component.d.ts +0 -1
  107. package/development/dialog/dialog-actions/dialog-actions.component.d.ts.map +1 -1
  108. package/development/dialog/dialog-actions/dialog-actions.component.js +3 -7
  109. package/development/dialog/dialog-close-button/dialog-close-button.component.d.ts +0 -1
  110. package/development/dialog/dialog-close-button/dialog-close-button.component.d.ts.map +1 -1
  111. package/development/dialog/dialog-close-button/dialog-close-button.component.js +5 -5
  112. package/development/dialog/dialog-content/dialog-content.component.d.ts +1 -0
  113. package/development/dialog/dialog-content/dialog-content.component.d.ts.map +1 -1
  114. package/development/dialog/dialog-content/dialog-content.component.js +14 -2
  115. package/development/dialog/dialog-title/dialog-title.component.d.ts +0 -1
  116. package/development/dialog/dialog-title/dialog-title.component.d.ts.map +1 -1
  117. package/development/dialog/dialog-title/dialog-title.component.js +14 -7
  118. package/development/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +3 -3
  119. package/development/file-selector/common.js +1 -1
  120. package/development/file-selector/file-selector/file-selector.component.d.ts +1 -1
  121. package/development/file-selector/file-selector-dropzone/file-selector-dropzone.component.d.ts +1 -1
  122. package/development/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +8 -8
  123. package/development/{file-selector-common-CsFa5XJ-.js → file-selector-common-B-9Eiig3.js} +4 -4
  124. package/development/file-selector.js +1 -1
  125. package/development/footer/footer.component.js +3 -3
  126. package/development/form-error/form-error.component.js +5 -5
  127. package/development/form-field/form-field/form-field.component.js +14 -14
  128. package/development/header/common/header-action-common.js +3 -3
  129. package/development/header/header-button/header-button.component.d.ts +1 -1
  130. package/development/header/header-environment/header-environment.component.js +3 -3
  131. package/development/header/header-link/header-link.component.d.ts +1 -1
  132. package/development/image/image.component.d.ts +0 -1
  133. package/development/image/image.component.d.ts.map +1 -1
  134. package/development/image/image.component.js +11 -16
  135. package/development/link/common/block-link-common.js +10 -10
  136. package/development/menu/common/menu-action-common.js +3 -3
  137. package/development/message/message.component.js +6 -6
  138. package/development/{mini-button-common-Di32bSJj.js → mini-button-common-D1dU4MgN.js} +4 -4
  139. package/development/mini-calendar/mini-calendar-month/mini-calendar-month.component.js +3 -3
  140. package/development/navigation/common/navigation-action-common.js +11 -11
  141. package/development/navigation/navigation-button/navigation-button.component.d.ts +1 -1
  142. package/development/navigation/navigation-link/navigation-link.component.d.ts +1 -1
  143. package/development/navigation/navigation-list/navigation-list.component.js +3 -3
  144. package/development/navigation/navigation-marker/navigation-marker.component.js +9 -9
  145. package/development/navigation/navigation-section/navigation-section.component.js +5 -5
  146. package/development/notification/notification.component.js +7 -7
  147. package/development/option/optgroup/optgroup-base-element.js +3 -3
  148. package/development/option/option/option-base-element.d.ts.map +1 -1
  149. package/development/option/option/option-base-element.js +14 -4
  150. package/development/option/option/option.component.d.ts.map +1 -1
  151. package/development/option/option/option.component.js +8 -5
  152. package/development/option/option-hint/option-hint.component.js +3 -3
  153. package/development/paginator/common/paginator-common.d.ts.map +1 -1
  154. package/development/paginator/common/paginator-common.js +7 -24
  155. package/development/paginator/compact-paginator/compact-paginator.component.d.ts +1 -1
  156. package/development/paginator/compact-paginator/compact-paginator.component.d.ts.map +1 -1
  157. package/development/paginator/compact-paginator/compact-paginator.component.js +5 -6
  158. package/development/paginator/paginator/paginator.component.d.ts +1 -7
  159. package/development/paginator/paginator/paginator.component.d.ts.map +1 -1
  160. package/development/paginator/paginator/paginator.component.js +16 -31
  161. package/development/popover/popover/popover.component.d.ts.map +1 -1
  162. package/development/popover/popover/popover.component.js +63 -13
  163. package/development/radio-button/common.js +1 -1
  164. package/development/radio-button/radio-button/radio-button.component.d.ts +1 -1
  165. package/development/{radio-button-common-5uawgCpB.js → radio-button-common-BPrInmpg.js} +11 -11
  166. package/development/radio-button.js +1 -1
  167. package/development/sbb-tokens-DZrHvErO.js +19 -0
  168. package/development/select/select.component.d.ts +1 -1
  169. package/development/select/select.component.d.ts.map +1 -1
  170. package/development/select/select.component.js +8 -5
  171. package/development/sidebar/icon-sidebar-button/icon-sidebar-button.component.d.ts +1 -1
  172. package/development/sidebar/icon-sidebar-link/icon-sidebar-link.component.d.ts +1 -1
  173. package/development/sidebar/sidebar-title/sidebar-title.component.js +1 -1
  174. package/development/status/status.component.js +4 -4
  175. package/development/stepper/step/step.component.js +3 -3
  176. package/development/stepper/step-label/step-label.component.js +15 -15
  177. package/development/tabs/tab-label/tab-label.component.js +18 -18
  178. package/development/tag/tag/tag.component.js +7 -7
  179. package/development/teaser/teaser.component.js +3 -3
  180. package/development/teaser-hero/teaser-hero.component.js +2 -2
  181. package/development/teaser-product/common.js +1 -1
  182. package/development/teaser-product/teaser-product/teaser-product.component.d.ts +1 -1
  183. package/development/teaser-product/teaser-product-static/teaser-product-static.component.d.ts +1 -1
  184. package/development/{teaser-product-common-B1KK4iNu.js → teaser-product-common-v3BvyFdH.js} +5 -5
  185. package/development/teaser-product.js +1 -1
  186. package/development/timetable-occupancy/timetable-occupancy.component.js +3 -3
  187. package/development/title/title-base.js +10 -10
  188. package/development/title/title.component.d.ts +1 -2
  189. package/development/title/title.component.d.ts.map +1 -1
  190. package/development/title/title.component.js +25 -13
  191. package/development/toast/toast.component.js +5 -5
  192. package/development/toggle/toggle/toggle.component.js +3 -3
  193. package/development/toggle/toggle-option/toggle-option.component.js +3 -3
  194. package/development/toggle-check/toggle-check.component.js +11 -11
  195. package/development/tooltip/tooltip.component.js +3 -3
  196. package/development/train/train/train.component.js +4 -4
  197. package/development/train/train-blocked-passage/train-blocked-passage.component.js +1 -1
  198. package/development/train/train-formation/train-formation.component.js +3 -3
  199. package/development/train/train-wagon/train-wagon.component.js +9 -9
  200. package/dialog/dialog/dialog.component.d.ts +3 -4
  201. package/dialog/dialog/dialog.component.d.ts.map +1 -1
  202. package/dialog/dialog/dialog.component.js +61 -58
  203. package/dialog/dialog-actions/dialog-actions.component.d.ts +0 -1
  204. package/dialog/dialog-actions/dialog-actions.component.d.ts.map +1 -1
  205. package/dialog/dialog-actions/dialog-actions.component.js +4 -7
  206. package/dialog/dialog-close-button/dialog-close-button.component.d.ts +0 -1
  207. package/dialog/dialog-close-button/dialog-close-button.component.d.ts.map +1 -1
  208. package/dialog/dialog-close-button/dialog-close-button.component.js +16 -19
  209. package/dialog/dialog-content/dialog-content.component.d.ts +1 -0
  210. package/dialog/dialog-content/dialog-content.component.d.ts.map +1 -1
  211. package/dialog/dialog-content/dialog-content.component.js +14 -11
  212. package/dialog/dialog-title/dialog-title.component.d.ts +0 -1
  213. package/dialog/dialog-title/dialog-title.component.d.ts.map +1 -1
  214. package/dialog/dialog-title/dialog-title.component.js +11 -14
  215. package/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +1 -1
  216. package/file-selector/common.js +1 -1
  217. package/file-selector/file-selector/file-selector.component.d.ts +1 -1
  218. package/file-selector/file-selector-dropzone/file-selector-dropzone.component.d.ts +1 -1
  219. package/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +9 -9
  220. package/{file-selector-common-CUp299VH.js → file-selector-common-DbYkpr-x.js} +1 -1
  221. package/file-selector.js +1 -1
  222. package/footer/footer.component.js +1 -1
  223. package/form-error/form-error.component.js +1 -1
  224. package/form-field/form-field/form-field.component.js +1 -1
  225. package/header/common/header-action-common.js +1 -1
  226. package/header/header-button/header-button.component.d.ts +1 -1
  227. package/header/header-environment/header-environment.component.js +4 -4
  228. package/header/header-link/header-link.component.d.ts +1 -1
  229. package/image/image.component.d.ts +0 -1
  230. package/image/image.component.d.ts.map +1 -1
  231. package/image/image.component.js +93 -97
  232. package/link/common/block-link-common.js +14 -14
  233. package/lists.css +9 -9
  234. package/menu/common/menu-action-common.js +1 -1
  235. package/message/message.component.js +6 -6
  236. package/mini-button-common-DSGLaplg.js +10 -0
  237. package/mini-calendar/mini-calendar-month/mini-calendar-month.component.js +1 -1
  238. package/navigation/common/navigation-action-common.js +17 -17
  239. package/navigation/navigation-button/navigation-button.component.d.ts +1 -1
  240. package/navigation/navigation-link/navigation-link.component.d.ts +1 -1
  241. package/navigation/navigation-list/navigation-list.component.js +3 -3
  242. package/navigation/navigation-marker/navigation-marker.component.js +12 -12
  243. package/navigation/navigation-section/navigation-section.component.js +5 -5
  244. package/notification/notification.component.js +1 -1
  245. package/off-brand-theme.css +145 -153
  246. package/option/optgroup/optgroup-base-element.js +1 -1
  247. package/option/option/option-base-element.d.ts.map +1 -1
  248. package/option/option/option-base-element.js +30 -20
  249. package/option/option/option.component.d.ts.map +1 -1
  250. package/option/option/option.component.js +8 -8
  251. package/option/option-hint/option-hint.component.js +10 -10
  252. package/package.json +1 -1
  253. package/paginator/common/paginator-common.d.ts.map +1 -1
  254. package/paginator/common/paginator-common.js +30 -46
  255. package/paginator/compact-paginator/compact-paginator.component.d.ts +1 -1
  256. package/paginator/compact-paginator/compact-paginator.component.d.ts.map +1 -1
  257. package/paginator/compact-paginator/compact-paginator.component.js +2 -3
  258. package/paginator/paginator/paginator.component.d.ts +1 -7
  259. package/paginator/paginator/paginator.component.d.ts.map +1 -1
  260. package/paginator/paginator/paginator.component.js +42 -54
  261. package/popover/popover/popover.component.d.ts.map +1 -1
  262. package/popover/popover/popover.component.js +70 -72
  263. package/radio-button/common.js +1 -1
  264. package/radio-button/radio-button/radio-button.component.d.ts +1 -1
  265. package/radio-button-common-chJrmIBn.js +5 -0
  266. package/radio-button.js +1 -1
  267. package/safety-theme.css +149 -157
  268. package/sbb-tokens-BNWpZrLn.js +11 -0
  269. package/select/select.component.d.ts +1 -1
  270. package/select/select.component.d.ts.map +1 -1
  271. package/select/select.component.js +22 -20
  272. package/sidebar/icon-sidebar-button/icon-sidebar-button.component.d.ts +1 -1
  273. package/sidebar/icon-sidebar-link/icon-sidebar-link.component.d.ts +1 -1
  274. package/sidebar/sidebar-title/sidebar-title.component.js +5 -5
  275. package/standard-theme.css +145 -153
  276. package/status/status.component.js +4 -4
  277. package/stepper/step/step.component.js +3 -3
  278. package/stepper/step-label/step-label.component.js +1 -1
  279. package/table.css +27 -27
  280. package/tabs/tab-label/tab-label.component.js +10 -10
  281. package/tag/tag/tag.component.js +1 -1
  282. package/teaser/teaser.component.js +1 -1
  283. package/teaser-hero/teaser-hero.component.js +1 -1
  284. package/teaser-product/common.js +1 -1
  285. package/teaser-product/teaser-product/teaser-product.component.d.ts +1 -1
  286. package/teaser-product/teaser-product-static/teaser-product-static.component.d.ts +1 -1
  287. package/teaser-product-common-a4NenpSA.js +5 -0
  288. package/teaser-product.js +1 -1
  289. package/timetable-occupancy/timetable-occupancy.component.js +1 -1
  290. package/title/title-base.js +19 -19
  291. package/title/title.component.d.ts +1 -2
  292. package/title/title.component.d.ts.map +1 -1
  293. package/title/title.component.js +17 -17
  294. package/toast/toast.component.js +1 -1
  295. package/toggle/toggle/toggle.component.js +1 -1
  296. package/toggle/toggle-option/toggle-option.component.js +7 -7
  297. package/toggle-check/toggle-check.component.js +15 -15
  298. package/tooltip/tooltip.component.js +5 -5
  299. package/train/train/train.component.js +1 -1
  300. package/train/train-blocked-passage/train-blocked-passage.component.js +1 -1
  301. package/train/train-formation/train-formation.component.js +1 -1
  302. package/train/train-wagon/train-wagon.component.js +1 -1
  303. package/typography.css +11 -11
  304. package/checkbox-common-BGA_q9nc.js +0 -5
  305. package/development/sbb-tokens-DXgmy_b-.js +0 -21
  306. package/mini-button-common-DBnJfrBZ.js +0 -10
  307. package/radio-button-common-BT3VkZLM.js +0 -5
  308. package/sbb-tokens-CB1Hgctn.js +0 -12
  309. package/teaser-product-common-BwqWqRrK.js +0 -5
@@ -6539,7 +6539,8 @@
6539
6539
  "text": "T"
6540
6540
  }
6541
6541
  }
6542
- ]
6542
+ ],
6543
+ "description": "Creates the table in orientation='vertical'."
6543
6544
  },
6544
6545
  {
6545
6546
  "kind": "method",
@@ -8371,6 +8372,7 @@
8371
8372
  "kind": "field",
8372
8373
  "name": "valueAsDate",
8373
8374
  "privacy": "public",
8375
+ "description": "Formats the current input's value as date.",
8374
8376
  "type": {
8375
8377
  "text": "T | null"
8376
8378
  }
@@ -9437,6 +9439,7 @@
9437
9439
  "type": {
9438
9440
  "text": "InputEvent"
9439
9441
  },
9442
+ "description": "The input event fires when the value has been changed as a direct result of a user action.",
9440
9443
  "inheritedFrom": {
9441
9444
  "name": "SbbFormAssociatedInputMixin",
9442
9445
  "module": "core/mixins/form-associated-input-mixin.js"
@@ -9447,6 +9450,7 @@
9447
9450
  "type": {
9448
9451
  "text": "Event"
9449
9452
  },
9453
+ "description": "The change event is fired when the user modifies the element's value. Unlike the input event, the change event is not necessarily fired for each alteration to an element's value.",
9450
9454
  "inheritedFrom": {
9451
9455
  "name": "SbbFormAssociatedInputMixin",
9452
9456
  "module": "core/mixins/form-associated-input-mixin.js"
@@ -11176,24 +11180,6 @@
11176
11180
  }
11177
11181
  }
11178
11182
  },
11179
- {
11180
- "kind": "method",
11181
- "name": "_matchMediaQueryDesignToken",
11182
- "privacy": "private",
11183
- "return": {
11184
- "type": {
11185
- "text": "string"
11186
- }
11187
- },
11188
- "parameters": [
11189
- {
11190
- "name": "breakpointSizeName",
11191
- "type": {
11192
- "text": "string"
11193
- }
11194
- }
11195
- ]
11196
- },
11197
11183
  {
11198
11184
  "kind": "method",
11199
11185
  "name": "_addFocusAbilityToLinksInCaption",
@@ -15682,7 +15668,7 @@
15682
15668
  },
15683
15669
  {
15684
15670
  "kind": "method",
15685
- "name": "_onSlotChange",
15671
+ "name": "_updateValueOptionState",
15686
15672
  "privacy": "private",
15687
15673
  "return": {
15688
15674
  "type": {
@@ -21097,6 +21083,7 @@
21097
21083
  "type": {
21098
21084
  "text": "InputEvent"
21099
21085
  },
21086
+ "description": "The input event fires when the value has been changed as a direct result of a user action.",
21100
21087
  "inheritedFrom": {
21101
21088
  "name": "SbbFormAssociatedInputMixin",
21102
21089
  "module": "core/mixins/form-associated-input-mixin.js"
@@ -21107,6 +21094,7 @@
21107
21094
  "type": {
21108
21095
  "text": "Event"
21109
21096
  },
21097
+ "description": "The change event is fired when the user modifies the element's value. Unlike the input event, the change event is not necessarily fired for each alteration to an element's value.",
21110
21098
  "inheritedFrom": {
21111
21099
  "name": "SbbFormAssociatedInputMixin",
21112
21100
  "module": "core/mixins/form-associated-input-mixin.js"
@@ -21770,14 +21758,8 @@
21770
21758
  "name": "SbbTitleElement",
21771
21759
  "cssProperties": [
21772
21760
  {
21773
- "description": "Margin block start of the title.",
21774
- "name": "--sbb-title-margin-block-start",
21775
- "default": "var(--sbb-spacing-responsive-m)"
21776
- },
21777
- {
21778
- "description": "Margin block end of the title.",
21779
- "name": "--sbb-title-margin-block-end",
21780
- "default": "var(--sbb-spacing-responsive-s)"
21761
+ "description": "Margin block of the title.",
21762
+ "name": "--sbb-title-margin-block"
21781
21763
  }
21782
21764
  ],
21783
21765
  "slots": [
@@ -28595,6 +28577,7 @@
28595
28577
  "kind": "field",
28596
28578
  "name": "_state",
28597
28579
  "privacy": "private",
28580
+ "description": "The state of the breadcrumb group.",
28598
28581
  "type": {
28599
28582
  "text": "'collapsed' | 'manually-expanded' | null"
28600
28583
  }
@@ -39990,272 +39973,17 @@
39990
39973
  },
39991
39974
  {
39992
39975
  "kind": "method",
39993
- "name": "_scrollAtPageChange",
39976
+ "name": "_setupPaginator",
39994
39977
  "privacy": "private",
39995
39978
  "return": {
39996
39979
  "type": {
39997
39980
  "text": "void"
39998
39981
  }
39999
- },
40000
- "parameters": [
40001
- {
40002
- "name": "e",
40003
- "type": {
40004
- "text": "CustomEvent<SbbPaginatorPageEventDetails>"
40005
- }
40006
- }
40007
- ]
40008
- },
40009
- {
40010
- "kind": "method",
40011
- "name": "toggleState",
40012
- "privacy": "protected",
40013
- "return": {
40014
- "type": {
40015
- "text": "void"
40016
- }
40017
- },
40018
- "parameters": [
40019
- {
40020
- "name": "state",
40021
- "type": {
40022
- "text": "string"
40023
- }
40024
- },
40025
- {
40026
- "name": "force",
40027
- "optional": true,
40028
- "type": {
40029
- "text": "boolean"
40030
- }
40031
- }
40032
- ],
40033
- "inheritedFrom": {
40034
- "name": "SbbElementInternalsMixin",
40035
- "module": "core/mixins/element-internals-mixin.js"
40036
39982
  }
40037
- }
40038
- ],
40039
- "attributes": [
40040
- {
40041
- "name": "shadow",
40042
- "type": {
40043
- "text": "boolean"
40044
- },
40045
- "default": "false",
40046
- "description": "Used to display a box-shadow around the component.",
40047
- "fieldName": "shadow"
40048
- }
40049
- ],
40050
- "mixins": [
40051
- {
40052
- "name": "SbbElementInternalsMixin",
40053
- "module": "core/mixins.js"
40054
- }
40055
- ],
40056
- "superclass": {
40057
- "name": "LitElement",
40058
- "package": "lit"
40059
- },
40060
- "tagName": "sbb-carousel",
40061
- "customElement": true
40062
- }
40063
- ],
40064
- "exports": [
40065
- {
40066
- "kind": "js",
40067
- "name": "SbbCarouselElement",
40068
- "declaration": {
40069
- "name": "SbbCarouselElement",
40070
- "module": "carousel/carousel/carousel.component.js"
40071
- }
40072
- },
40073
- {
40074
- "kind": "custom-element-definition",
40075
- "name": "sbb-carousel",
40076
- "declaration": {
40077
- "name": "SbbCarouselElement",
40078
- "module": "carousel/carousel/carousel.component.js"
40079
- }
40080
- }
40081
- ]
40082
- },
40083
- {
40084
- "kind": "javascript-module",
40085
- "path": "carousel/carousel-item/carousel-item.component.js",
40086
- "declarations": [
40087
- {
40088
- "kind": "class",
40089
- "description": "It displays an item contained into the `sbb-carousel` component.",
40090
- "name": "SbbCarouselItemElement",
40091
- "slots": [
40092
- {
40093
- "description": "Use the unnamed slot to add images for the carousel, as <img>, <sbb-image>, <picture>, ...",
40094
- "name": ""
40095
- }
40096
- ],
40097
- "members": [
40098
- {
40099
- "kind": "field",
40100
- "name": "events",
40101
- "type": {
40102
- "text": "{\n beforeshow: 'beforeshow',\n show: 'show',\n }"
40103
- },
40104
- "privacy": "public",
40105
- "static": true,
40106
- "readonly": true,
40107
- "default": "{ beforeshow: 'beforeshow', show: 'show', }"
40108
39983
  },
40109
39984
  {
40110
39985
  "kind": "method",
40111
- "name": "toggleState",
40112
- "privacy": "protected",
40113
- "return": {
40114
- "type": {
40115
- "text": "void"
40116
- }
40117
- },
40118
- "parameters": [
40119
- {
40120
- "name": "state",
40121
- "type": {
40122
- "text": "string"
40123
- }
40124
- },
40125
- {
40126
- "name": "force",
40127
- "optional": true,
40128
- "type": {
40129
- "text": "boolean"
40130
- }
40131
- }
40132
- ],
40133
- "inheritedFrom": {
40134
- "name": "SbbElementInternalsMixin",
40135
- "module": "core/mixins/element-internals-mixin.js"
40136
- }
40137
- }
40138
- ],
40139
- "events": [
40140
- {
40141
- "type": {
40142
- "text": "CustomEvent<SbbCarouselItemEventDetail>"
40143
- },
40144
- "description": "Event emitted when the item is starting scrolling.",
40145
- "name": "beforeshow"
40146
- },
40147
- {
40148
- "type": {
40149
- "text": "CustomEvent<SbbCarouselItemEventDetail>"
40150
- },
40151
- "description": "Event emitted when the item is full visible after scrolling.",
40152
- "name": "show"
40153
- }
40154
- ],
40155
- "mixins": [
40156
- {
40157
- "name": "SbbElementInternalsMixin",
40158
- "module": "core/mixins.js"
40159
- }
40160
- ],
40161
- "superclass": {
40162
- "name": "LitElement",
40163
- "package": "lit"
40164
- },
40165
- "tagName": "sbb-carousel-item",
40166
- "customElement": true
40167
- }
40168
- ],
40169
- "exports": [
40170
- {
40171
- "kind": "js",
40172
- "name": "SbbCarouselItemElement",
40173
- "declaration": {
40174
- "name": "SbbCarouselItemElement",
40175
- "module": "carousel/carousel-item/carousel-item.component.js"
40176
- }
40177
- },
40178
- {
40179
- "kind": "custom-element-definition",
40180
- "name": "sbb-carousel-item",
40181
- "declaration": {
40182
- "name": "SbbCarouselItemElement",
40183
- "module": "carousel/carousel-item/carousel-item.component.js"
40184
- }
40185
- }
40186
- ]
40187
- },
40188
- {
40189
- "kind": "javascript-module",
40190
- "path": "carousel/carousel-list/carousel-list.component.js",
40191
- "declarations": [
40192
- {
40193
- "kind": "class",
40194
- "description": "It displays a list of `sbb-carousel-item` components.",
40195
- "name": "SbbCarouselListElement",
40196
- "slots": [
40197
- {
40198
- "description": "Use the unnamed slot to add `sbb-carousel-item` elements.",
40199
- "name": ""
40200
- }
40201
- ],
40202
- "members": [
40203
- {
40204
- "kind": "field",
40205
- "name": "_currentIndex",
40206
- "type": {
40207
- "text": "number"
40208
- },
40209
- "privacy": "private",
40210
- "default": "0"
40211
- },
40212
- {
40213
- "kind": "field",
40214
- "name": "_language",
40215
- "privacy": "private",
40216
- "default": "new SbbLanguageController(this)"
40217
- },
40218
- {
40219
- "kind": "field",
40220
- "name": "_observedCarouselItems",
40221
- "type": {
40222
- "text": "SbbCarouselItemElement[]"
40223
- },
40224
- "privacy": "private",
40225
- "default": "[]"
40226
- },
40227
- {
40228
- "kind": "field",
40229
- "name": "_beforeShowObserver",
40230
- "privacy": "private",
40231
- "default": "new IntersectionController(this, { target: null, callback: (entry) => { const item = entry.filter((e) => e.isIntersecting && e.target !== this); item.forEach((e) => { const target = e.target as SbbCarouselItemElement; target.dispatchEvent( new CustomEvent<SbbCarouselItemEventDetail>('beforeshow', { detail: { index: this._carouselItems().findIndex((e) => e === target) }, bubbles: true, composed: true, }), ); }); }, config: { threshold: 0.01, root: this, rootMargin: '100% 0% 100% 0%' }, })"
40232
- },
40233
- {
40234
- "kind": "field",
40235
- "name": "_showObserver",
40236
- "privacy": "private",
40237
- "default": "new IntersectionController(this, { target: null, callback: (entryArr) => { for (const entry of entryArr) { if (entry.target === this) { continue; } const target = entry.target as SbbCarouselItemElement; if (entry.isIntersecting) { target.ariaHidden = null; this._currentIndex = this._carouselItems().findIndex((el) => el === target); target.dispatchEvent( new CustomEvent<SbbCarouselItemEventDetail>('show', { detail: { index: this._currentIndex }, bubbles: true, composed: true, }), ); } else { target.ariaHidden = 'true'; } } }, config: { threshold: 0.99, root: this, rootMargin: '100% 0% 100% 0%' }, })"
40238
- },
40239
- {
40240
- "kind": "field",
40241
- "name": "_firstVisibleIntersectionController",
40242
- "privacy": "private",
40243
- "default": "new IntersectionController(this, { callback: (entries) => { entries.forEach((entry) => { if (entry.intersectionRatio > 0) { this._readDimensions(); this._firstVisibleIntersectionController.unobserve(this); } }); }, config: { root: !isServer ? document?.documentElement : null, }, })"
40244
- },
40245
- {
40246
- "kind": "method",
40247
- "name": "_carouselItems",
40248
- "privacy": "private",
40249
- "return": {
40250
- "type": {
40251
- "text": "SbbCarouselItemElement[]"
40252
- }
40253
- },
40254
- "description": "Gets the slotted items."
40255
- },
40256
- {
40257
- "kind": "method",
40258
- "name": "_handleSlotchange",
39986
+ "name": "_scrollAtPaginatorChange",
40259
39987
  "privacy": "private",
40260
39988
  "return": {
40261
39989
  "type": {
@@ -40263,35 +39991,292 @@
40263
39991
  }
40264
39992
  }
40265
39993
  },
40266
- {
40267
- "kind": "method",
40268
- "name": "_readDimensions",
40269
- "privacy": "private",
40270
- "return": {
40271
- "type": {
40272
- "text": "void"
40273
- }
40274
- },
40275
- "description": "Reads the dimensions of the first carousel item and sets the CSS properties accordingly.\nShould set the dimensions only once, when the first item becomes visible and if the value is non-zero."
40276
- },
40277
- {
40278
- "kind": "method",
40279
- "name": "_onKeyDown",
40280
- "privacy": "private",
40281
- "return": {
40282
- "type": {
40283
- "text": "void"
40284
- }
40285
- },
40286
- "parameters": [
40287
- {
40288
- "name": "evt",
40289
- "type": {
40290
- "text": "KeyboardEvent"
40291
- }
40292
- }
40293
- ]
40294
- },
39994
+ {
39995
+ "kind": "method",
39996
+ "name": "toggleState",
39997
+ "privacy": "protected",
39998
+ "return": {
39999
+ "type": {
40000
+ "text": "void"
40001
+ }
40002
+ },
40003
+ "parameters": [
40004
+ {
40005
+ "name": "state",
40006
+ "type": {
40007
+ "text": "string"
40008
+ }
40009
+ },
40010
+ {
40011
+ "name": "force",
40012
+ "optional": true,
40013
+ "type": {
40014
+ "text": "boolean"
40015
+ }
40016
+ }
40017
+ ],
40018
+ "inheritedFrom": {
40019
+ "name": "SbbElementInternalsMixin",
40020
+ "module": "core/mixins/element-internals-mixin.js"
40021
+ }
40022
+ }
40023
+ ],
40024
+ "attributes": [
40025
+ {
40026
+ "name": "shadow",
40027
+ "type": {
40028
+ "text": "boolean"
40029
+ },
40030
+ "default": "false",
40031
+ "description": "Used to display a box-shadow around the component.",
40032
+ "fieldName": "shadow"
40033
+ }
40034
+ ],
40035
+ "mixins": [
40036
+ {
40037
+ "name": "SbbElementInternalsMixin",
40038
+ "module": "core/mixins.js"
40039
+ }
40040
+ ],
40041
+ "superclass": {
40042
+ "name": "LitElement",
40043
+ "package": "lit"
40044
+ },
40045
+ "tagName": "sbb-carousel",
40046
+ "customElement": true
40047
+ }
40048
+ ],
40049
+ "exports": [
40050
+ {
40051
+ "kind": "js",
40052
+ "name": "SbbCarouselElement",
40053
+ "declaration": {
40054
+ "name": "SbbCarouselElement",
40055
+ "module": "carousel/carousel/carousel.component.js"
40056
+ }
40057
+ },
40058
+ {
40059
+ "kind": "custom-element-definition",
40060
+ "name": "sbb-carousel",
40061
+ "declaration": {
40062
+ "name": "SbbCarouselElement",
40063
+ "module": "carousel/carousel/carousel.component.js"
40064
+ }
40065
+ }
40066
+ ]
40067
+ },
40068
+ {
40069
+ "kind": "javascript-module",
40070
+ "path": "carousel/carousel-item/carousel-item.component.js",
40071
+ "declarations": [
40072
+ {
40073
+ "kind": "class",
40074
+ "description": "It displays an item contained into the `sbb-carousel` component.",
40075
+ "name": "SbbCarouselItemElement",
40076
+ "slots": [
40077
+ {
40078
+ "description": "Use the unnamed slot to add images for the carousel, as <img>, <sbb-image>, <picture>, ...",
40079
+ "name": ""
40080
+ }
40081
+ ],
40082
+ "members": [
40083
+ {
40084
+ "kind": "field",
40085
+ "name": "events",
40086
+ "type": {
40087
+ "text": "{\n beforeshow: 'beforeshow',\n show: 'show',\n }"
40088
+ },
40089
+ "privacy": "public",
40090
+ "static": true,
40091
+ "readonly": true,
40092
+ "default": "{ beforeshow: 'beforeshow', show: 'show', }"
40093
+ },
40094
+ {
40095
+ "kind": "method",
40096
+ "name": "toggleState",
40097
+ "privacy": "protected",
40098
+ "return": {
40099
+ "type": {
40100
+ "text": "void"
40101
+ }
40102
+ },
40103
+ "parameters": [
40104
+ {
40105
+ "name": "state",
40106
+ "type": {
40107
+ "text": "string"
40108
+ }
40109
+ },
40110
+ {
40111
+ "name": "force",
40112
+ "optional": true,
40113
+ "type": {
40114
+ "text": "boolean"
40115
+ }
40116
+ }
40117
+ ],
40118
+ "inheritedFrom": {
40119
+ "name": "SbbElementInternalsMixin",
40120
+ "module": "core/mixins/element-internals-mixin.js"
40121
+ }
40122
+ }
40123
+ ],
40124
+ "events": [
40125
+ {
40126
+ "type": {
40127
+ "text": "CustomEvent<SbbCarouselItemEventDetail>"
40128
+ },
40129
+ "description": "Event emitted when the item is starting scrolling.",
40130
+ "name": "beforeshow"
40131
+ },
40132
+ {
40133
+ "type": {
40134
+ "text": "CustomEvent<SbbCarouselItemEventDetail>"
40135
+ },
40136
+ "description": "Event emitted when the item is full visible after scrolling.",
40137
+ "name": "show"
40138
+ }
40139
+ ],
40140
+ "mixins": [
40141
+ {
40142
+ "name": "SbbElementInternalsMixin",
40143
+ "module": "core/mixins.js"
40144
+ }
40145
+ ],
40146
+ "superclass": {
40147
+ "name": "LitElement",
40148
+ "package": "lit"
40149
+ },
40150
+ "tagName": "sbb-carousel-item",
40151
+ "customElement": true
40152
+ }
40153
+ ],
40154
+ "exports": [
40155
+ {
40156
+ "kind": "js",
40157
+ "name": "SbbCarouselItemElement",
40158
+ "declaration": {
40159
+ "name": "SbbCarouselItemElement",
40160
+ "module": "carousel/carousel-item/carousel-item.component.js"
40161
+ }
40162
+ },
40163
+ {
40164
+ "kind": "custom-element-definition",
40165
+ "name": "sbb-carousel-item",
40166
+ "declaration": {
40167
+ "name": "SbbCarouselItemElement",
40168
+ "module": "carousel/carousel-item/carousel-item.component.js"
40169
+ }
40170
+ }
40171
+ ]
40172
+ },
40173
+ {
40174
+ "kind": "javascript-module",
40175
+ "path": "carousel/carousel-list/carousel-list.component.js",
40176
+ "declarations": [
40177
+ {
40178
+ "kind": "class",
40179
+ "description": "It displays a list of `sbb-carousel-item` components.",
40180
+ "name": "SbbCarouselListElement",
40181
+ "slots": [
40182
+ {
40183
+ "description": "Use the unnamed slot to add `sbb-carousel-item` elements.",
40184
+ "name": ""
40185
+ }
40186
+ ],
40187
+ "members": [
40188
+ {
40189
+ "kind": "field",
40190
+ "name": "_currentIndex",
40191
+ "type": {
40192
+ "text": "number"
40193
+ },
40194
+ "privacy": "private",
40195
+ "default": "0"
40196
+ },
40197
+ {
40198
+ "kind": "field",
40199
+ "name": "_language",
40200
+ "privacy": "private",
40201
+ "default": "new SbbLanguageController(this)"
40202
+ },
40203
+ {
40204
+ "kind": "field",
40205
+ "name": "_observedCarouselItems",
40206
+ "type": {
40207
+ "text": "SbbCarouselItemElement[]"
40208
+ },
40209
+ "privacy": "private",
40210
+ "default": "[]"
40211
+ },
40212
+ {
40213
+ "kind": "field",
40214
+ "name": "_beforeShowObserver",
40215
+ "privacy": "private",
40216
+ "default": "new IntersectionController(this, { target: null, callback: (entry) => { const item = entry.filter((e) => e.isIntersecting && e.target !== this); item.forEach((e) => { const target = e.target as SbbCarouselItemElement; target.dispatchEvent( new CustomEvent<SbbCarouselItemEventDetail>('beforeshow', { detail: { index: this._carouselItems().findIndex((e) => e === target) }, bubbles: true, composed: true, }), ); }); }, config: { threshold: 0.01, root: this, rootMargin: '100% 0% 100% 0%' }, })"
40217
+ },
40218
+ {
40219
+ "kind": "field",
40220
+ "name": "_showObserver",
40221
+ "privacy": "private",
40222
+ "default": "new IntersectionController(this, { target: null, callback: (entryArr) => { for (const entry of entryArr) { if (entry.target === this) { continue; } const target = entry.target as SbbCarouselItemElement; if (entry.isIntersecting) { target.ariaHidden = null; this._currentIndex = this._carouselItems().findIndex((el) => el === target); target.dispatchEvent( new CustomEvent<SbbCarouselItemEventDetail>('show', { detail: { index: this._currentIndex }, bubbles: true, composed: true, }), ); } else { target.ariaHidden = 'true'; } } }, config: { threshold: 0.99, root: this, rootMargin: '100% 0% 100% 0%' }, })"
40223
+ },
40224
+ {
40225
+ "kind": "field",
40226
+ "name": "_resizeObserverController",
40227
+ "privacy": "private",
40228
+ "default": "new ResizeController(this, { skipInitial: true, callback: () => this._readDimensions(), })"
40229
+ },
40230
+ {
40231
+ "kind": "method",
40232
+ "name": "_carouselItems",
40233
+ "privacy": "private",
40234
+ "return": {
40235
+ "type": {
40236
+ "text": "SbbCarouselItemElement[]"
40237
+ }
40238
+ },
40239
+ "description": "Gets the slotted items."
40240
+ },
40241
+ {
40242
+ "kind": "method",
40243
+ "name": "_handleSlotchange",
40244
+ "privacy": "private",
40245
+ "return": {
40246
+ "type": {
40247
+ "text": "void"
40248
+ }
40249
+ }
40250
+ },
40251
+ {
40252
+ "kind": "method",
40253
+ "name": "_readDimensions",
40254
+ "privacy": "private",
40255
+ "return": {
40256
+ "type": {
40257
+ "text": "void"
40258
+ }
40259
+ },
40260
+ "description": "Reads the dimensions of the first carousel item and sets the CSS properties accordingly.\nShould set the dimensions only once, when the first item becomes visible and if the value is non-zero."
40261
+ },
40262
+ {
40263
+ "kind": "method",
40264
+ "name": "_onKeyDown",
40265
+ "privacy": "private",
40266
+ "return": {
40267
+ "type": {
40268
+ "text": "void"
40269
+ }
40270
+ },
40271
+ "parameters": [
40272
+ {
40273
+ "name": "evt",
40274
+ "type": {
40275
+ "text": "KeyboardEvent"
40276
+ }
40277
+ }
40278
+ ]
40279
+ },
40295
40280
  {
40296
40281
  "kind": "method",
40297
40282
  "name": "toggleState",
@@ -48577,17 +48562,17 @@
48577
48562
  {
48578
48563
  "kind": "variable",
48579
48564
  "name": "SbbMediaQueryBreakpointLargeAndAbove",
48580
- "default": "`(min-width: ${pxToRem(SbbBreakpointLargeMin)}rem)`"
48565
+ "default": "`(min-width: ${SbbBreakpointLargeMin})`"
48581
48566
  },
48582
48567
  {
48583
48568
  "kind": "variable",
48584
48569
  "name": "SbbMediaQueryBreakpointLargeAndBelow",
48585
- "default": "`(max-width: ${pxToRem(SbbBreakpointLargeMax)}rem)`"
48570
+ "default": "`(max-width: ${SbbBreakpointLargeMax})`"
48586
48571
  },
48587
48572
  {
48588
48573
  "kind": "variable",
48589
48574
  "name": "SbbMediaQueryBreakpointSmallAndBelow",
48590
- "default": "`(max-width: ${pxToRem(SbbBreakpointSmallMax)}rem)`"
48575
+ "default": "`(max-width: ${SbbBreakpointSmallMax})`"
48591
48576
  },
48592
48577
  {
48593
48578
  "kind": "class",
@@ -50139,7 +50124,7 @@
50139
50124
  "text": "number"
50140
50125
  }
50141
50126
  },
50142
- "description": "Get the first day of the week (0: sunday; 1: monday; etc.).",
50127
+ "description": "Defines which is the first day of the week (0: sunday; 1: monday; etc.).",
50143
50128
  "inheritedFrom": {
50144
50129
  "name": "DateAdapter",
50145
50130
  "module": "core/datetime/date-adapter.js"
@@ -51038,7 +51023,8 @@
51038
51023
  "description": "Whether the max breakpoint should be included"
51039
51024
  }
51040
51025
  ],
51041
- "description": "Checks whether the document matches a particular media query.\nIt will rely on the global CSS variables to determine the value of the breakpoints."
51026
+ "description": "Checks whether the document matches a particular media query.\nIt will rely on the global CSS variables to determine the value of the breakpoints.",
51027
+ "deprecated": "use the mediaMatcherController"
51042
51028
  }
51043
51029
  ],
51044
51030
  "exports": [
@@ -56682,13 +56668,15 @@
56682
56668
  "name": "input",
56683
56669
  "type": {
56684
56670
  "text": "InputEvent"
56685
- }
56671
+ },
56672
+ "description": "The input event fires when the value has been changed as a direct result of a user action."
56686
56673
  },
56687
56674
  {
56688
56675
  "name": "change",
56689
56676
  "type": {
56690
56677
  "text": "Event"
56691
- }
56678
+ },
56679
+ "description": "The change event is fired when the user modifies the element's value. Unlike the input event, the change event is not necessarily fired for each alteration to an element's value."
56692
56680
  }
56693
56681
  ],
56694
56682
  "attributes": [
@@ -66186,17 +66174,7 @@
66186
66174
  "default": "var(--sbb-overlay-default-z-index)"
66187
66175
  }
66188
66176
  ],
66189
- "cssParts": [
66190
- {
66191
- "description": "Can be used to change styles of the scroll container of the content.",
66192
- "name": "scroll-container"
66193
- }
66194
- ],
66195
66177
  "slots": [
66196
- {
66197
- "description": "This slot is used for the actions, the slot is automatically assigned to the `sbb-dialog-actions` element.",
66198
- "name": "actions"
66199
- },
66200
66178
  {
66201
66179
  "description": "Use the unnamed slot to provide a `sbb-dialog-title`, `sbb-dialog-content` and an optional `sbb-dialog-actions`.",
66202
66180
  "name": ""
@@ -66232,14 +66210,6 @@
66232
66210
  "privacy": "private",
66233
66211
  "default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => setTimeout(() => this._updateOverflowState()), })"
66234
66212
  },
66235
- {
66236
- "kind": "field",
66237
- "name": "_dialogContentElement",
66238
- "type": {
66239
- "text": "HTMLElement | undefined"
66240
- },
66241
- "privacy": "private"
66242
- },
66243
66213
  {
66244
66214
  "kind": "field",
66245
66215
  "name": "_dialogElement",
@@ -66336,6 +66306,16 @@
66336
66306
  "module": "overlay/overlay-base-element.js"
66337
66307
  }
66338
66308
  },
66309
+ {
66310
+ "kind": "method",
66311
+ "name": "_handleSlotChange",
66312
+ "privacy": "private",
66313
+ "return": {
66314
+ "type": {
66315
+ "text": "void"
66316
+ }
66317
+ }
66318
+ },
66339
66319
  {
66340
66320
  "kind": "method",
66341
66321
  "name": "_syncTitleNegative",
@@ -66346,6 +66326,16 @@
66346
66326
  }
66347
66327
  }
66348
66328
  },
66329
+ {
66330
+ "kind": "method",
66331
+ "name": "_detectIntermediateElement",
66332
+ "privacy": "private",
66333
+ "return": {
66334
+ "type": {
66335
+ "text": "void"
66336
+ }
66337
+ }
66338
+ },
66349
66339
  {
66350
66340
  "kind": "field",
66351
66341
  "name": "_pointerDownListener",
@@ -66370,11 +66360,11 @@
66370
66360
  },
66371
66361
  {
66372
66362
  "kind": "method",
66373
- "name": "_detectScrolledState",
66363
+ "name": "_contentElement",
66374
66364
  "privacy": "private",
66375
66365
  "return": {
66376
66366
  "type": {
66377
- "text": "void"
66367
+ "text": "SbbDialogContentElement | null"
66378
66368
  }
66379
66369
  }
66380
66370
  },
@@ -78260,15 +78250,15 @@
78260
78250
  },
78261
78251
  {
78262
78252
  "kind": "javascript-module",
78263
- "path": "link/block-link-button/block-link-button.component.js",
78253
+ "path": "link/block-link-static/block-link-static.component.js",
78264
78254
  "declarations": [
78265
78255
  {
78266
78256
  "kind": "class",
78267
- "description": "It displays a link enhanced with the SBB Design, which will behave as a button.",
78268
- "name": "SbbBlockLinkButtonElement",
78257
+ "description": "It displays a static link enhanced with the SBB Design.",
78258
+ "name": "SbbBlockLinkStaticElement",
78269
78259
  "slots": [
78270
78260
  {
78271
- "description": "Use the unnamed slot to add content to the `sbb-block-link-button`.",
78261
+ "description": "Use the unnamed slot to add content to the `sbb-block-link-static`.",
78272
78262
  "name": ""
78273
78263
  },
78274
78264
  {
@@ -78282,15 +78272,15 @@
78282
78272
  "module": "link/common.js"
78283
78273
  },
78284
78274
  {
78285
- "name": "SbbDisabledTabIndexActionMixin",
78275
+ "name": "SbbDisabledMixin",
78286
78276
  "module": "core/mixins.js"
78287
78277
  }
78288
78278
  ],
78289
78279
  "superclass": {
78290
- "name": "SbbButtonBaseElement",
78280
+ "name": "SbbActionBaseElement",
78291
78281
  "module": "core/base-elements.js"
78292
78282
  },
78293
- "tagName": "sbb-block-link-button",
78283
+ "tagName": "sbb-block-link-static",
78294
78284
  "customElement": true,
78295
78285
  "attributes": [
78296
78286
  {
@@ -78333,83 +78323,299 @@
78333
78323
  }
78334
78324
  },
78335
78325
  {
78336
- "name": "disabled-interactive",
78326
+ "name": "disabled",
78327
+ "description": "Whether the component is disabled.",
78328
+ "default": "false",
78337
78329
  "type": {
78338
78330
  "text": "boolean"
78339
78331
  },
78340
- "default": "false",
78341
- "description": "Whether the button should be aria-disabled but stay interactive.",
78342
- "fieldName": "disabledInteractive",
78332
+ "fieldName": "disabled",
78343
78333
  "inheritedFrom": {
78344
- "name": "SbbDisabledInteractiveMixin",
78334
+ "name": "SbbDisabledMixin",
78345
78335
  "module": "core/mixins/disabled-mixin.js"
78346
78336
  }
78337
+ }
78338
+ ],
78339
+ "members": [
78340
+ {
78341
+ "kind": "field",
78342
+ "name": "styles",
78343
+ "type": {
78344
+ "text": "CSSResultGroup"
78345
+ },
78346
+ "privacy": "public",
78347
+ "static": true,
78348
+ "default": "[boxSizingStyles, style, blockStyle]",
78349
+ "inheritedFrom": {
78350
+ "name": "SbbLinkCommonElementMixin",
78351
+ "module": "link/common/link-common.js"
78352
+ }
78353
+ },
78354
+ {
78355
+ "kind": "field",
78356
+ "name": "iconPlacement",
78357
+ "type": {
78358
+ "text": "SbbIconPlacement"
78359
+ },
78360
+ "privacy": "public",
78361
+ "default": "'start'",
78362
+ "description": "Moves the icon to the end of the component if set to true.",
78363
+ "attribute": "icon-placement",
78364
+ "reflects": true,
78365
+ "inheritedFrom": {
78366
+ "name": "SbbBlockLinkCommonElementMixin",
78367
+ "module": "link/common/block-link-common.js"
78368
+ }
78369
+ },
78370
+ {
78371
+ "kind": "method",
78372
+ "name": "renderTemplate",
78373
+ "privacy": "protected",
78374
+ "return": {
78375
+ "type": {
78376
+ "text": "TemplateResult"
78377
+ }
78378
+ },
78379
+ "description": "Override this method to render the component template.",
78380
+ "inheritedFrom": {
78381
+ "name": "SbbActionBaseElement",
78382
+ "module": "core/base-elements/action-base-element.js"
78383
+ }
78384
+ },
78385
+ {
78386
+ "kind": "field",
78387
+ "name": "size",
78388
+ "type": {
78389
+ "text": "SbbLinkSize"
78390
+ },
78391
+ "privacy": "public",
78392
+ "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
78393
+ "default": "'s' / 'xs' (lean)",
78394
+ "attribute": "size",
78395
+ "reflects": true,
78396
+ "inheritedFrom": {
78397
+ "name": "SbbLinkCommonElementMixin",
78398
+ "module": "link/common/link-common.js"
78399
+ }
78400
+ },
78401
+ {
78402
+ "kind": "field",
78403
+ "name": "iconName",
78404
+ "type": {
78405
+ "text": "string"
78406
+ },
78407
+ "privacy": "public",
78408
+ "default": "''",
78409
+ "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
78410
+ "attribute": "icon-name",
78411
+ "inheritedFrom": {
78412
+ "name": "SbbIconNameMixin",
78413
+ "module": "icon/icon-name-mixin.js"
78414
+ }
78415
+ },
78416
+ {
78417
+ "kind": "method",
78418
+ "name": "renderIconSlot",
78419
+ "privacy": "protected",
78420
+ "return": {
78421
+ "type": {
78422
+ "text": "TemplateResult"
78423
+ }
78424
+ },
78425
+ "parameters": [
78426
+ {
78427
+ "name": "classname",
78428
+ "optional": true,
78429
+ "type": {
78430
+ "text": "string"
78431
+ }
78432
+ }
78433
+ ],
78434
+ "inheritedFrom": {
78435
+ "name": "SbbIconNameMixin",
78436
+ "module": "icon/icon-name-mixin.js"
78437
+ }
78438
+ },
78439
+ {
78440
+ "kind": "method",
78441
+ "name": "renderIconName",
78442
+ "privacy": "protected",
78443
+ "return": {
78444
+ "type": {
78445
+ "text": "string"
78446
+ }
78447
+ },
78448
+ "inheritedFrom": {
78449
+ "name": "SbbIconNameMixin",
78450
+ "module": "icon/icon-name-mixin.js"
78451
+ }
78452
+ },
78453
+ {
78454
+ "kind": "method",
78455
+ "name": "_renderIconName",
78456
+ "privacy": "private",
78457
+ "return": {
78458
+ "type": {
78459
+ "text": "string"
78460
+ }
78461
+ },
78462
+ "inheritedFrom": {
78463
+ "name": "SbbIconNameMixin",
78464
+ "module": "icon/icon-name-mixin.js"
78465
+ }
78347
78466
  },
78348
78467
  {
78468
+ "kind": "field",
78349
78469
  "name": "disabled",
78470
+ "privacy": "public",
78350
78471
  "description": "Whether the component is disabled.",
78351
78472
  "default": "false",
78352
78473
  "type": {
78353
78474
  "text": "boolean"
78354
78475
  },
78355
- "fieldName": "disabled",
78476
+ "attribute": "disabled",
78477
+ "reflects": true,
78356
78478
  "inheritedFrom": {
78357
78479
  "name": "SbbDisabledMixin",
78358
78480
  "module": "core/mixins/disabled-mixin.js"
78359
78481
  }
78360
78482
  },
78361
78483
  {
78362
- "name": "value",
78484
+ "kind": "field",
78485
+ "name": "#disabled",
78486
+ "privacy": "private",
78363
78487
  "type": {
78364
- "text": "string"
78488
+ "text": "boolean"
78365
78489
  },
78366
- "default": "''",
78367
- "description": "Value of the form element.",
78368
- "fieldName": "value",
78490
+ "default": "false",
78369
78491
  "inheritedFrom": {
78370
- "name": "SbbButtonBaseElement",
78371
- "module": "core/base-elements/button-base-element.js"
78492
+ "name": "SbbDisabledMixin",
78493
+ "module": "core/mixins/disabled-mixin.js"
78372
78494
  }
78373
78495
  },
78374
78496
  {
78375
- "name": "type",
78376
- "description": "The type attribute to use for the button.",
78377
- "default": "'button'",
78378
- "type": {
78379
- "text": "SbbButtonType"
78497
+ "kind": "method",
78498
+ "name": "isDisabledExternally",
78499
+ "privacy": "protected",
78500
+ "return": {
78501
+ "type": {
78502
+ "text": "boolean"
78503
+ }
78380
78504
  },
78381
- "fieldName": "type",
78505
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
78382
78506
  "inheritedFrom": {
78383
- "name": "SbbButtonBaseElement",
78384
- "module": "core/base-elements/button-base-element.js"
78507
+ "name": "SbbDisabledMixin",
78508
+ "module": "core/mixins/disabled-mixin.js"
78385
78509
  }
78386
78510
  },
78387
78511
  {
78388
- "name": "form",
78389
- "description": "The `<form>` element to associate the button with.",
78512
+ "kind": "method",
78513
+ "name": "toggleState",
78514
+ "privacy": "protected",
78515
+ "return": {
78516
+ "type": {
78517
+ "text": "void"
78518
+ }
78519
+ },
78520
+ "parameters": [
78521
+ {
78522
+ "name": "state",
78523
+ "type": {
78524
+ "text": "string"
78525
+ }
78526
+ },
78527
+ {
78528
+ "name": "force",
78529
+ "optional": true,
78530
+ "type": {
78531
+ "text": "boolean"
78532
+ }
78533
+ }
78534
+ ],
78535
+ "inheritedFrom": {
78536
+ "name": "SbbActionBaseElement",
78537
+ "module": "core/base-elements/action-base-element.js"
78538
+ }
78539
+ },
78540
+ {
78541
+ "kind": "field",
78542
+ "name": "maybeDisabled",
78390
78543
  "type": {
78391
- "text": "HTMLFormElement | null"
78544
+ "text": "boolean | undefined"
78392
78545
  },
78393
- "fieldName": "form",
78546
+ "privacy": "protected",
78547
+ "readonly": true,
78394
78548
  "inheritedFrom": {
78395
- "name": "SbbButtonBaseElement",
78396
- "module": "core/base-elements/button-base-element.js"
78549
+ "name": "SbbActionBaseElement",
78550
+ "module": "core/base-elements/action-base-element.js"
78397
78551
  }
78398
78552
  },
78399
78553
  {
78400
- "name": "name",
78401
- "description": "Name of the form element. Will be read from name attribute.",
78554
+ "kind": "field",
78555
+ "name": "maybeDisabledInteractive",
78402
78556
  "type": {
78403
- "text": "string"
78557
+ "text": "boolean | undefined"
78404
78558
  },
78405
- "fieldName": "name",
78559
+ "privacy": "protected",
78560
+ "readonly": true,
78406
78561
  "inheritedFrom": {
78407
- "name": "SbbFormAssociatedMixin",
78408
- "module": "core/mixins/form-associated-mixin.js"
78562
+ "name": "SbbActionBaseElement",
78563
+ "module": "core/base-elements/action-base-element.js"
78564
+ }
78565
+ },
78566
+ {
78567
+ "kind": "method",
78568
+ "name": "setupBaseEventHandlers",
78569
+ "privacy": "protected",
78570
+ "return": {
78571
+ "type": {
78572
+ "text": "void"
78573
+ }
78574
+ },
78575
+ "inheritedFrom": {
78576
+ "name": "SbbActionBaseElement",
78577
+ "module": "core/base-elements/action-base-element.js"
78409
78578
  }
78410
78579
  }
78411
- ],
78580
+ ]
78581
+ }
78582
+ ],
78583
+ "exports": [
78584
+ {
78585
+ "kind": "js",
78586
+ "name": "SbbBlockLinkStaticElement",
78587
+ "declaration": {
78588
+ "name": "SbbBlockLinkStaticElement",
78589
+ "module": "link/block-link-static/block-link-static.component.js"
78590
+ }
78591
+ },
78592
+ {
78593
+ "kind": "custom-element-definition",
78594
+ "name": "sbb-block-link-static",
78595
+ "declaration": {
78596
+ "name": "SbbBlockLinkStaticElement",
78597
+ "module": "link/block-link-static/block-link-static.component.js"
78598
+ }
78599
+ }
78600
+ ]
78601
+ },
78602
+ {
78603
+ "kind": "javascript-module",
78604
+ "path": "link/common/block-link-common.js",
78605
+ "declarations": [
78606
+ {
78607
+ "kind": "class",
78608
+ "description": "",
78609
+ "name": "SbbBlockLinkCommonElementMixinType",
78412
78610
  "members": [
78611
+ {
78612
+ "kind": "field",
78613
+ "name": "iconPlacement",
78614
+ "type": {
78615
+ "text": "SbbIconPlacement"
78616
+ },
78617
+ "privacy": "public"
78618
+ },
78413
78619
  {
78414
78620
  "kind": "field",
78415
78621
  "name": "styles",
@@ -78418,7 +78624,7 @@
78418
78624
  },
78419
78625
  "privacy": "public",
78420
78626
  "static": true,
78421
- "default": "[boxSizingStyles, style, blockStyle]",
78627
+ "default": "style",
78422
78628
  "inheritedFrom": {
78423
78629
  "name": "SbbLinkCommonElementMixin",
78424
78630
  "module": "link/common/link-common.js"
@@ -78426,18 +78632,18 @@
78426
78632
  },
78427
78633
  {
78428
78634
  "kind": "field",
78429
- "name": "iconPlacement",
78635
+ "name": "size",
78430
78636
  "type": {
78431
- "text": "SbbIconPlacement"
78637
+ "text": "SbbLinkSize"
78432
78638
  },
78433
78639
  "privacy": "public",
78434
- "default": "'start'",
78435
- "description": "Moves the icon to the end of the component if set to true.",
78436
- "attribute": "icon-placement",
78640
+ "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
78641
+ "default": "'s' / 'xs' (lean)",
78642
+ "attribute": "size",
78437
78643
  "reflects": true,
78438
78644
  "inheritedFrom": {
78439
- "name": "SbbBlockLinkCommonElementMixin",
78440
- "module": "link/common/block-link-common.js"
78645
+ "name": "SbbLinkCommonElementMixin",
78646
+ "module": "link/common/link-common.js"
78441
78647
  }
78442
78648
  },
78443
78649
  {
@@ -78457,18 +78663,18 @@
78457
78663
  },
78458
78664
  {
78459
78665
  "kind": "field",
78460
- "name": "size",
78666
+ "name": "negative",
78461
78667
  "type": {
78462
- "text": "SbbLinkSize"
78668
+ "text": "boolean"
78463
78669
  },
78464
78670
  "privacy": "public",
78465
- "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
78466
- "default": "'s' / 'xs' (lean)",
78467
- "attribute": "size",
78671
+ "default": "false",
78672
+ "description": "Negative coloring variant flag.",
78673
+ "attribute": "negative",
78468
78674
  "reflects": true,
78469
78675
  "inheritedFrom": {
78470
- "name": "SbbLinkCommonElementMixin",
78471
- "module": "link/common/link-common.js"
78676
+ "name": "SbbNegativeMixin",
78677
+ "module": "core/mixins/negative-mixin.js"
78472
78678
  }
78473
78679
  },
78474
78680
  {
@@ -78538,304 +78744,476 @@
78538
78744
  }
78539
78745
  },
78540
78746
  {
78541
- "kind": "field",
78542
- "name": "disabledInteractive",
78543
- "type": {
78544
- "text": "boolean"
78747
+ "kind": "method",
78748
+ "name": "toggleState",
78749
+ "privacy": "protected",
78750
+ "return": {
78751
+ "type": {
78752
+ "text": "void"
78753
+ }
78545
78754
  },
78546
- "privacy": "public",
78547
- "default": "false",
78548
- "description": "Whether the button should be aria-disabled but stay interactive.",
78549
- "attribute": "disabled-interactive",
78550
- "reflects": true,
78755
+ "parameters": [
78756
+ {
78757
+ "name": "state",
78758
+ "type": {
78759
+ "text": "string"
78760
+ }
78761
+ },
78762
+ {
78763
+ "name": "force",
78764
+ "optional": true,
78765
+ "type": {
78766
+ "text": "boolean"
78767
+ }
78768
+ }
78769
+ ],
78551
78770
  "inheritedFrom": {
78552
- "name": "SbbDisabledInteractiveMixin",
78553
- "module": "core/mixins/disabled-mixin.js"
78771
+ "name": "SbbActionBaseElement",
78772
+ "module": "core/base-elements/action-base-element.js"
78554
78773
  }
78555
78774
  },
78556
78775
  {
78557
78776
  "kind": "field",
78558
- "name": "disabled",
78559
- "privacy": "public",
78560
- "description": "Whether the component is disabled.",
78561
- "default": "false",
78777
+ "name": "maybeDisabled",
78562
78778
  "type": {
78563
- "text": "boolean"
78779
+ "text": "boolean | undefined"
78564
78780
  },
78565
- "attribute": "disabled",
78566
- "reflects": true,
78781
+ "privacy": "protected",
78782
+ "readonly": true,
78567
78783
  "inheritedFrom": {
78568
- "name": "SbbDisabledMixin",
78569
- "module": "core/mixins/disabled-mixin.js"
78784
+ "name": "SbbActionBaseElement",
78785
+ "module": "core/base-elements/action-base-element.js"
78570
78786
  }
78571
78787
  },
78572
78788
  {
78573
78789
  "kind": "field",
78574
- "name": "#disabled",
78575
- "privacy": "private",
78790
+ "name": "maybeDisabledInteractive",
78576
78791
  "type": {
78577
- "text": "boolean"
78792
+ "text": "boolean | undefined"
78578
78793
  },
78579
- "default": "false",
78794
+ "privacy": "protected",
78795
+ "readonly": true,
78580
78796
  "inheritedFrom": {
78581
- "name": "SbbDisabledMixin",
78582
- "module": "core/mixins/disabled-mixin.js"
78797
+ "name": "SbbActionBaseElement",
78798
+ "module": "core/base-elements/action-base-element.js"
78583
78799
  }
78584
78800
  },
78585
78801
  {
78586
78802
  "kind": "method",
78587
- "name": "isDisabledExternally",
78803
+ "name": "setupBaseEventHandlers",
78588
78804
  "privacy": "protected",
78589
78805
  "return": {
78590
78806
  "type": {
78591
- "text": "boolean"
78807
+ "text": "void"
78592
78808
  }
78593
78809
  },
78594
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
78595
78810
  "inheritedFrom": {
78596
- "name": "SbbDisabledMixin",
78597
- "module": "core/mixins/disabled-mixin.js"
78811
+ "name": "SbbActionBaseElement",
78812
+ "module": "core/base-elements/action-base-element.js"
78598
78813
  }
78814
+ }
78815
+ ],
78816
+ "mixins": [
78817
+ {
78818
+ "name": "SbbLinkCommonElementMixin",
78819
+ "module": "link/common/link-common.js"
78599
78820
  },
78600
78821
  {
78601
- "kind": "field",
78602
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
78822
+ "name": "SbbIconNameMixin",
78823
+ "module": "icon.js"
78824
+ }
78825
+ ],
78826
+ "superclass": {
78827
+ "name": "SbbActionBaseElement",
78828
+ "module": "core/base-elements.js"
78829
+ },
78830
+ "attributes": [
78831
+ {
78832
+ "name": "size",
78603
78833
  "type": {
78604
- "text": "array"
78834
+ "text": "SbbLinkSize"
78605
78835
  },
78606
- "privacy": "private",
78607
- "readonly": true,
78608
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
78836
+ "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
78837
+ "default": "'s' / 'xs' (lean)",
78838
+ "fieldName": "size",
78609
78839
  "inheritedFrom": {
78610
- "name": "SbbButtonBaseElement",
78611
- "module": "core/base-elements/button-base-element.js"
78840
+ "name": "SbbLinkCommonElementMixin",
78841
+ "module": "link/common/link-common.js"
78612
78842
  }
78613
78843
  },
78614
78844
  {
78615
- "kind": "field",
78616
- "name": "value",
78845
+ "name": "negative",
78617
78846
  "type": {
78618
- "text": "string"
78847
+ "text": "boolean"
78619
78848
  },
78620
- "privacy": "public",
78849
+ "default": "false",
78850
+ "description": "Negative coloring variant flag.",
78851
+ "fieldName": "negative",
78621
78852
  "inheritedFrom": {
78622
- "name": "SbbButtonBaseElement",
78623
- "module": "core/base-elements/button-base-element.js"
78853
+ "name": "SbbNegativeMixin",
78854
+ "module": "core/mixins/negative-mixin.js"
78855
+ }
78856
+ },
78857
+ {
78858
+ "name": "icon-name",
78859
+ "type": {
78860
+ "text": "string"
78624
78861
  },
78625
78862
  "default": "''",
78626
- "description": "Value of the form element.",
78627
- "attribute": "value"
78628
- },
78863
+ "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
78864
+ "fieldName": "iconName",
78865
+ "inheritedFrom": {
78866
+ "name": "SbbIconNameMixin",
78867
+ "module": "icon/icon-name-mixin.js"
78868
+ }
78869
+ }
78870
+ ]
78871
+ },
78872
+ {
78873
+ "kind": "mixin",
78874
+ "description": "",
78875
+ "name": "SbbBlockLinkCommonElementMixin",
78876
+ "members": [
78629
78877
  {
78630
78878
  "kind": "field",
78631
- "name": "type",
78632
- "privacy": "public",
78633
- "description": "The type attribute to use for the button.",
78634
- "default": "'button'",
78879
+ "name": "styles",
78635
78880
  "type": {
78636
- "text": "SbbButtonType"
78881
+ "text": "CSSResultGroup"
78637
78882
  },
78638
- "attribute": "type",
78883
+ "privacy": "public",
78884
+ "static": true,
78885
+ "default": "[boxSizingStyles, style, blockStyle]",
78639
78886
  "inheritedFrom": {
78640
- "name": "SbbButtonBaseElement",
78641
- "module": "core/base-elements/button-base-element.js"
78887
+ "name": "SbbLinkCommonElementMixin",
78888
+ "module": "link/common/link-common.js"
78642
78889
  }
78643
78890
  },
78644
78891
  {
78645
78892
  "kind": "field",
78646
- "name": "form",
78893
+ "name": "iconPlacement",
78647
78894
  "type": {
78648
- "text": "HTMLFormElement | null"
78895
+ "text": "SbbIconPlacement"
78649
78896
  },
78650
78897
  "privacy": "public",
78651
- "description": "The `<form>` element to associate the button with.",
78898
+ "default": "'start'",
78899
+ "description": "Moves the icon to the end of the component if set to true.",
78900
+ "attribute": "icon-placement",
78901
+ "reflects": true
78902
+ },
78903
+ {
78904
+ "kind": "method",
78905
+ "name": "renderTemplate",
78906
+ "privacy": "protected",
78907
+ "return": {
78908
+ "type": {
78909
+ "text": "TemplateResult"
78910
+ }
78911
+ },
78652
78912
  "inheritedFrom": {
78653
- "name": "SbbButtonBaseElement",
78654
- "module": "core/base-elements/button-base-element.js"
78913
+ "name": "SbbLinkCommonElementMixin",
78914
+ "module": "link/common/link-common.js"
78915
+ }
78916
+ },
78917
+ {
78918
+ "kind": "field",
78919
+ "name": "size",
78920
+ "type": {
78921
+ "text": "SbbLinkSize"
78655
78922
  },
78656
- "attribute": "form"
78923
+ "privacy": "public",
78924
+ "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
78925
+ "default": "'s' / 'xs' (lean)",
78926
+ "attribute": "size",
78927
+ "reflects": true,
78928
+ "inheritedFrom": {
78929
+ "name": "SbbLinkCommonElementMixin",
78930
+ "module": "link/common/link-common.js"
78931
+ }
78657
78932
  },
78658
78933
  {
78659
78934
  "kind": "field",
78660
- "name": "_formId",
78935
+ "name": "negative",
78661
78936
  "type": {
78662
- "text": "string"
78937
+ "text": "boolean"
78663
78938
  },
78664
- "privacy": "private",
78665
- "default": "''",
78939
+ "privacy": "public",
78940
+ "default": "false",
78941
+ "description": "Negative coloring variant flag.",
78942
+ "attribute": "negative",
78943
+ "reflects": true,
78666
78944
  "inheritedFrom": {
78667
- "name": "SbbButtonBaseElement",
78668
- "module": "core/base-elements/button-base-element.js"
78945
+ "name": "SbbNegativeMixin",
78946
+ "module": "core/mixins/negative-mixin.js"
78669
78947
  }
78670
78948
  },
78671
78949
  {
78672
78950
  "kind": "field",
78673
- "name": "_handleButtonClick",
78674
- "privacy": "private",
78951
+ "name": "iconName",
78952
+ "type": {
78953
+ "text": "string"
78954
+ },
78955
+ "privacy": "public",
78956
+ "default": "''",
78957
+ "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
78958
+ "attribute": "icon-name",
78675
78959
  "inheritedFrom": {
78676
- "name": "SbbButtonBaseElement",
78677
- "module": "core/base-elements/button-base-element.js"
78960
+ "name": "SbbIconNameMixin",
78961
+ "module": "icon/icon-name-mixin.js"
78678
78962
  }
78679
78963
  },
78680
78964
  {
78681
78965
  "kind": "method",
78682
- "name": "_requestSubmit",
78683
- "privacy": "private",
78966
+ "name": "renderIconSlot",
78967
+ "privacy": "protected",
78684
78968
  "return": {
78685
78969
  "type": {
78686
- "text": "void"
78970
+ "text": "TemplateResult"
78687
78971
  }
78688
78972
  },
78689
78973
  "parameters": [
78690
78974
  {
78691
- "name": "form",
78975
+ "name": "classname",
78976
+ "optional": true,
78692
78977
  "type": {
78693
- "text": "HTMLFormElement"
78978
+ "text": "string"
78694
78979
  }
78695
78980
  }
78696
78981
  ],
78697
78982
  "inheritedFrom": {
78698
- "name": "SbbButtonBaseElement",
78699
- "module": "core/base-elements/button-base-element.js"
78983
+ "name": "SbbIconNameMixin",
78984
+ "module": "icon/icon-name-mixin.js"
78700
78985
  }
78701
78986
  },
78702
78987
  {
78703
- "kind": "field",
78704
- "name": "_formKeyDown",
78988
+ "kind": "method",
78989
+ "name": "renderIconName",
78990
+ "privacy": "protected",
78991
+ "return": {
78992
+ "type": {
78993
+ "text": "string"
78994
+ }
78995
+ },
78996
+ "inheritedFrom": {
78997
+ "name": "SbbIconNameMixin",
78998
+ "module": "icon/icon-name-mixin.js"
78999
+ }
79000
+ },
79001
+ {
79002
+ "kind": "method",
79003
+ "name": "_renderIconName",
78705
79004
  "privacy": "private",
79005
+ "return": {
79006
+ "type": {
79007
+ "text": "string"
79008
+ }
79009
+ },
78706
79010
  "inheritedFrom": {
78707
- "name": "SbbButtonBaseElement",
78708
- "module": "core/base-elements/button-base-element.js"
79011
+ "name": "SbbIconNameMixin",
79012
+ "module": "icon/icon-name-mixin.js"
78709
79013
  }
79014
+ }
79015
+ ],
79016
+ "attributes": [
79017
+ {
79018
+ "name": "icon-placement",
79019
+ "type": {
79020
+ "text": "SbbIconPlacement"
79021
+ },
79022
+ "default": "'start'",
79023
+ "description": "Moves the icon to the end of the component if set to true.",
79024
+ "fieldName": "iconPlacement"
78710
79025
  },
78711
79026
  {
78712
- "kind": "field",
78713
- "name": "formAssociated",
79027
+ "name": "size",
78714
79028
  "type": {
78715
- "text": "boolean"
79029
+ "text": "SbbLinkSize"
78716
79030
  },
78717
- "privacy": "public",
78718
- "static": true,
78719
- "default": "true",
79031
+ "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
79032
+ "default": "'s' / 'xs' (lean)",
79033
+ "fieldName": "size",
78720
79034
  "inheritedFrom": {
78721
- "name": "SbbFormAssociatedMixin",
78722
- "module": "core/mixins/form-associated-mixin.js"
79035
+ "name": "SbbLinkCommonElementMixin",
79036
+ "module": "link/common/link-common.js"
78723
79037
  }
78724
79038
  },
78725
79039
  {
78726
- "kind": "field",
78727
- "name": "name",
78728
- "privacy": "public",
78729
- "description": "Name of the form element. Will be read from name attribute.",
79040
+ "name": "negative",
78730
79041
  "type": {
78731
- "text": "string"
79042
+ "text": "boolean"
78732
79043
  },
78733
- "attribute": "name",
79044
+ "default": "false",
79045
+ "description": "Negative coloring variant flag.",
79046
+ "fieldName": "negative",
78734
79047
  "inheritedFrom": {
78735
- "name": "SbbFormAssociatedMixin",
78736
- "module": "core/mixins/form-associated-mixin.js"
79048
+ "name": "SbbNegativeMixin",
79049
+ "module": "core/mixins/negative-mixin.js"
78737
79050
  }
78738
79051
  },
78739
79052
  {
78740
- "kind": "field",
78741
- "name": "validity",
79053
+ "name": "icon-name",
78742
79054
  "type": {
78743
- "text": "ValidityState"
79055
+ "text": "string"
78744
79056
  },
78745
- "privacy": "public",
78746
- "description": "Returns the ValidityState object for this element.",
78747
- "readonly": true,
79057
+ "default": "''",
79058
+ "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
79059
+ "fieldName": "iconName",
78748
79060
  "inheritedFrom": {
78749
- "name": "SbbFormAssociatedMixin",
78750
- "module": "core/mixins/form-associated-mixin.js"
79061
+ "name": "SbbIconNameMixin",
79062
+ "module": "icon/icon-name-mixin.js"
78751
79063
  }
79064
+ }
79065
+ ],
79066
+ "mixins": [
79067
+ {
79068
+ "name": "SbbLinkCommonElementMixin",
79069
+ "module": "link/common/link-common.js"
78752
79070
  },
78753
79071
  {
78754
- "kind": "field",
78755
- "name": "validationMessage",
79072
+ "name": "SbbIconNameMixin",
79073
+ "module": "icon.js"
79074
+ }
79075
+ ],
79076
+ "parameters": [
79077
+ {
79078
+ "name": "superClass",
78756
79079
  "type": {
78757
- "text": "string"
79080
+ "text": "T"
79081
+ }
79082
+ }
79083
+ ]
79084
+ }
79085
+ ],
79086
+ "exports": [
79087
+ {
79088
+ "kind": "js",
79089
+ "name": "SbbBlockLinkCommonElementMixinType",
79090
+ "declaration": {
79091
+ "name": "SbbBlockLinkCommonElementMixinType",
79092
+ "module": "link/common/block-link-common.js"
79093
+ }
79094
+ },
79095
+ {
79096
+ "kind": "js",
79097
+ "name": "SbbBlockLinkCommonElementMixin",
79098
+ "declaration": {
79099
+ "name": "SbbBlockLinkCommonElementMixin",
79100
+ "module": "link/common/block-link-common.js"
79101
+ }
79102
+ }
79103
+ ]
79104
+ },
79105
+ {
79106
+ "kind": "javascript-module",
79107
+ "path": "link/common/inline-link-common.js",
79108
+ "declarations": [
79109
+ {
79110
+ "kind": "class",
79111
+ "description": "",
79112
+ "name": "SbbInlineLinkCommonElementMixinType",
79113
+ "mixins": [
79114
+ {
79115
+ "name": "SbbLinkCommonElementMixin",
79116
+ "module": "link/common/link-common.js"
79117
+ }
79118
+ ],
79119
+ "superclass": {
79120
+ "name": "SbbActionBaseElement",
79121
+ "module": "core/base-elements.js"
79122
+ },
79123
+ "attributes": [
79124
+ {
79125
+ "name": "size",
79126
+ "type": {
79127
+ "text": "SbbLinkSize"
78758
79128
  },
78759
- "privacy": "public",
78760
- "description": "Returns the current error message, if available, which corresponds\nto the current validation state.\nPlease note that only one message is returned at a time (e.g. if\nmultiple validity states are invalid, only the chronologically first one\nis returned until it is fixed, at which point the next message might be\nreturned, if it is still applicable). Also a custom validity message\n(see below) has precedence over native validation messages.",
78761
- "readonly": true,
79129
+ "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
79130
+ "default": "'s' / 'xs' (lean)",
79131
+ "fieldName": "size",
78762
79132
  "inheritedFrom": {
78763
- "name": "SbbFormAssociatedMixin",
78764
- "module": "core/mixins/form-associated-mixin.js"
79133
+ "name": "SbbLinkCommonElementMixin",
79134
+ "module": "link/common/link-common.js"
78765
79135
  }
78766
79136
  },
78767
79137
  {
78768
- "kind": "field",
78769
- "name": "willValidate",
79138
+ "name": "negative",
78770
79139
  "type": {
78771
79140
  "text": "boolean"
78772
79141
  },
78773
- "privacy": "public",
78774
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
78775
- "readonly": true,
79142
+ "default": "false",
79143
+ "description": "Negative coloring variant flag.",
79144
+ "fieldName": "negative",
78776
79145
  "inheritedFrom": {
78777
- "name": "SbbFormAssociatedMixin",
78778
- "module": "core/mixins/form-associated-mixin.js"
79146
+ "name": "SbbNegativeMixin",
79147
+ "module": "core/mixins/negative-mixin.js"
78779
79148
  }
78780
- },
79149
+ }
79150
+ ],
79151
+ "members": [
78781
79152
  {
78782
79153
  "kind": "field",
78783
- "name": "_validityStates",
78784
- "privacy": "private",
78785
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
79154
+ "name": "styles",
79155
+ "type": {
79156
+ "text": "CSSResultGroup"
79157
+ },
79158
+ "privacy": "public",
79159
+ "static": true,
79160
+ "default": "style",
78786
79161
  "inheritedFrom": {
78787
- "name": "SbbFormAssociatedMixin",
78788
- "module": "core/mixins/form-associated-mixin.js"
79162
+ "name": "SbbLinkCommonElementMixin",
79163
+ "module": "link/common/link-common.js"
78789
79164
  }
78790
79165
  },
78791
79166
  {
78792
79167
  "kind": "field",
78793
- "name": "formDisabled",
79168
+ "name": "size",
78794
79169
  "type": {
78795
- "text": "boolean"
79170
+ "text": "SbbLinkSize"
78796
79171
  },
78797
- "privacy": "protected",
78798
- "default": "false",
78799
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
79172
+ "privacy": "public",
79173
+ "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
79174
+ "default": "'s' / 'xs' (lean)",
79175
+ "attribute": "size",
79176
+ "reflects": true,
78800
79177
  "inheritedFrom": {
78801
- "name": "SbbFormAssociatedMixin",
78802
- "module": "core/mixins/form-associated-mixin.js"
79178
+ "name": "SbbLinkCommonElementMixin",
79179
+ "module": "link/common/link-common.js"
78803
79180
  }
78804
79181
  },
78805
79182
  {
78806
79183
  "kind": "method",
78807
- "name": "checkValidity",
78808
- "privacy": "public",
79184
+ "name": "renderTemplate",
79185
+ "privacy": "protected",
78809
79186
  "return": {
78810
79187
  "type": {
78811
- "text": "boolean"
79188
+ "text": "TemplateResult"
78812
79189
  }
78813
79190
  },
78814
- "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
79191
+ "description": "Override this method to render the component template.",
78815
79192
  "inheritedFrom": {
78816
- "name": "SbbFormAssociatedMixin",
78817
- "module": "core/mixins/form-associated-mixin.js"
79193
+ "name": "SbbActionBaseElement",
79194
+ "module": "core/base-elements/action-base-element.js"
78818
79195
  }
78819
79196
  },
78820
79197
  {
78821
- "kind": "method",
78822
- "name": "reportValidity",
78823
- "privacy": "public",
78824
- "return": {
78825
- "type": {
78826
- "text": "boolean"
78827
- }
79198
+ "kind": "field",
79199
+ "name": "negative",
79200
+ "type": {
79201
+ "text": "boolean"
78828
79202
  },
78829
- "description": "Returns true if this element has no validity problems; otherwise,\nreturns false, fires an invalid event at the element,\nand (if the event isn't canceled) reports the problem to the user.",
79203
+ "privacy": "public",
79204
+ "default": "false",
79205
+ "description": "Negative coloring variant flag.",
79206
+ "attribute": "negative",
79207
+ "reflects": true,
78830
79208
  "inheritedFrom": {
78831
- "name": "SbbFormAssociatedMixin",
78832
- "module": "core/mixins/form-associated-mixin.js"
79209
+ "name": "SbbNegativeMixin",
79210
+ "module": "core/mixins/negative-mixin.js"
78833
79211
  }
78834
79212
  },
78835
79213
  {
78836
79214
  "kind": "method",
78837
- "name": "setCustomValidity",
78838
- "privacy": "public",
79215
+ "name": "toggleState",
79216
+ "privacy": "protected",
78839
79217
  "return": {
78840
79218
  "type": {
78841
79219
  "text": "void"
@@ -78843,235 +79221,226 @@
78843
79221
  },
78844
79222
  "parameters": [
78845
79223
  {
78846
- "name": "message",
79224
+ "name": "state",
78847
79225
  "type": {
78848
79226
  "text": "string"
78849
79227
  }
79228
+ },
79229
+ {
79230
+ "name": "force",
79231
+ "optional": true,
79232
+ "type": {
79233
+ "text": "boolean"
79234
+ }
78850
79235
  }
78851
79236
  ],
78852
- "description": "Sets the custom validity message for this element. Use the empty string\nto indicate that the element does not have a custom validity error.",
78853
79237
  "inheritedFrom": {
78854
- "name": "SbbFormAssociatedMixin",
78855
- "module": "core/mixins/form-associated-mixin.js"
79238
+ "name": "SbbActionBaseElement",
79239
+ "module": "core/base-elements/action-base-element.js"
78856
79240
  }
78857
79241
  },
78858
79242
  {
78859
- "kind": "method",
78860
- "name": "_hasDisabledAncestor",
78861
- "privacy": "private",
78862
- "return": {
78863
- "type": {
78864
- "text": "boolean"
78865
- }
79243
+ "kind": "field",
79244
+ "name": "maybeDisabled",
79245
+ "type": {
79246
+ "text": "boolean | undefined"
78866
79247
  },
79248
+ "privacy": "protected",
79249
+ "readonly": true,
78867
79250
  "inheritedFrom": {
78868
- "name": "SbbFormAssociatedMixin",
78869
- "module": "core/mixins/form-associated-mixin.js"
79251
+ "name": "SbbActionBaseElement",
79252
+ "module": "core/base-elements/action-base-element.js"
78870
79253
  }
78871
79254
  },
78872
79255
  {
78873
- "kind": "method",
78874
- "name": "updateFormValue",
78875
- "privacy": "protected",
78876
- "return": {
78877
- "type": {
78878
- "text": "void"
78879
- }
79256
+ "kind": "field",
79257
+ "name": "maybeDisabledInteractive",
79258
+ "type": {
79259
+ "text": "boolean | undefined"
78880
79260
  },
78881
- "description": "Should be called when form value is changed.\nAdapts and sets the formValue in the supported format (string | FormData | File | null)\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue",
78882
- "inheritedFrom": {
78883
- "name": "SbbFormAssociatedMixin",
78884
- "module": "core/mixins/form-associated-mixin.js"
78885
- }
78886
- },
78887
- {
78888
- "kind": "method",
78889
- "name": "formState",
78890
79261
  "privacy": "protected",
78891
- "return": {
78892
- "type": {
78893
- "text": "FormRestoreState"
78894
- }
78895
- },
79262
+ "readonly": true,
78896
79263
  "inheritedFrom": {
78897
- "name": "SbbFormAssociatedMixin",
78898
- "module": "core/mixins/form-associated-mixin.js"
79264
+ "name": "SbbActionBaseElement",
79265
+ "module": "core/base-elements/action-base-element.js"
78899
79266
  }
78900
79267
  },
78901
79268
  {
78902
79269
  "kind": "method",
78903
- "name": "setValidityFlag",
79270
+ "name": "setupBaseEventHandlers",
78904
79271
  "privacy": "protected",
78905
79272
  "return": {
78906
79273
  "type": {
78907
79274
  "text": "void"
78908
79275
  }
78909
79276
  },
78910
- "parameters": [
78911
- {
78912
- "name": "flag",
78913
- "type": {
78914
- "text": "T"
78915
- }
78916
- },
78917
- {
78918
- "name": "message",
78919
- "type": {
78920
- "text": "string"
78921
- }
78922
- },
78923
- {
78924
- "name": "flagValue",
78925
- "optional": true,
78926
- "type": {
78927
- "text": "ValidityStateFlags[T]"
78928
- }
78929
- }
78930
- ],
78931
- "description": "Marks this element as suffering from the constraint indicated by the\nflag argument and associates the given message to it.\nNote that only one message is displayed at a time and custom messages by\nconsumers are always displayed before internal messages and internal\nmessages are displayed in the order they were added.\nTo set/define custom validity state flags, you need to extend the\nValidityState prototype (and the CustomValidityState interface).",
78932
79277
  "inheritedFrom": {
78933
- "name": "SbbFormAssociatedMixin",
78934
- "module": "core/mixins/form-associated-mixin.js"
79278
+ "name": "SbbActionBaseElement",
79279
+ "module": "core/base-elements/action-base-element.js"
78935
79280
  }
78936
- },
79281
+ }
79282
+ ]
79283
+ },
79284
+ {
79285
+ "kind": "mixin",
79286
+ "description": "",
79287
+ "name": "SbbInlineLinkCommonElementMixin",
79288
+ "members": [
78937
79289
  {
78938
- "kind": "method",
78939
- "name": "removeValidityFlag",
78940
- "privacy": "protected",
78941
- "return": {
78942
- "type": {
78943
- "text": "void"
78944
- }
79290
+ "kind": "field",
79291
+ "name": "styles",
79292
+ "type": {
79293
+ "text": "CSSResultGroup"
78945
79294
  },
78946
- "parameters": [
78947
- {
78948
- "name": "flag",
78949
- "type": {
78950
- "text": "T"
78951
- }
78952
- }
78953
- ],
78954
- "description": "Removes the validity state flag entry and updates validity state.",
79295
+ "privacy": "public",
79296
+ "static": true,
79297
+ "default": "[boxSizingStyles, style, inlineStyle]",
78955
79298
  "inheritedFrom": {
78956
- "name": "SbbFormAssociatedMixin",
78957
- "module": "core/mixins/form-associated-mixin.js"
79299
+ "name": "SbbLinkCommonElementMixin",
79300
+ "module": "link/common/link-common.js"
78958
79301
  }
78959
79302
  },
78960
79303
  {
78961
- "kind": "method",
78962
- "name": "validate",
78963
- "privacy": "protected",
78964
- "return": {
78965
- "type": {
78966
- "text": "void"
78967
- }
79304
+ "kind": "field",
79305
+ "name": "size",
79306
+ "type": {
79307
+ "text": "SbbLinkSize"
78968
79308
  },
78969
- "description": "To be called whenever the current element needs to be validated.",
79309
+ "privacy": "public",
79310
+ "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
79311
+ "default": "'s' / 'xs' (lean)",
79312
+ "attribute": "size",
79313
+ "reflects": true,
78970
79314
  "inheritedFrom": {
78971
- "name": "SbbFormAssociatedMixin",
78972
- "module": "core/mixins/form-associated-mixin.js"
79315
+ "name": "SbbLinkCommonElementMixin",
79316
+ "module": "link/common/link-common.js"
78973
79317
  }
78974
79318
  },
78975
79319
  {
78976
79320
  "kind": "method",
78977
- "name": "shouldValidate",
79321
+ "name": "renderTemplate",
78978
79322
  "privacy": "protected",
78979
79323
  "return": {
78980
79324
  "type": {
78981
- "text": "boolean"
78982
- }
78983
- },
78984
- "parameters": [
78985
- {
78986
- "name": "name",
78987
- "type": {
78988
- "text": "PropertyKey | undefined"
78989
- }
78990
- }
78991
- ],
78992
- "description": "Whether validation should be run on a property change with the given name.",
78993
- "inheritedFrom": {
78994
- "name": "SbbFormAssociatedMixin",
78995
- "module": "core/mixins/form-associated-mixin.js"
78996
- }
78997
- },
78998
- {
78999
- "kind": "method",
79000
- "name": "_setInternalValidity",
79001
- "privacy": "private",
79002
- "return": {
79003
- "type": {
79004
- "text": "void"
79325
+ "text": "TemplateResult"
79005
79326
  }
79006
79327
  },
79007
79328
  "inheritedFrom": {
79008
- "name": "SbbFormAssociatedMixin",
79009
- "module": "core/mixins/form-associated-mixin.js"
79329
+ "name": "SbbLinkCommonElementMixin",
79330
+ "module": "link/common/link-common.js"
79010
79331
  }
79011
79332
  },
79012
79333
  {
79013
79334
  "kind": "field",
79014
- "name": "role",
79335
+ "name": "negative",
79015
79336
  "type": {
79016
- "text": "ElementInternals['role']"
79337
+ "text": "boolean"
79017
79338
  },
79018
79339
  "privacy": "public",
79019
- "static": true,
79020
- "readonly": true,
79021
- "default": "'button'",
79340
+ "default": "false",
79341
+ "description": "Negative coloring variant flag.",
79342
+ "attribute": "negative",
79343
+ "reflects": true,
79022
79344
  "inheritedFrom": {
79023
- "name": "SbbButtonLikeBaseElement",
79024
- "module": "core/base-elements/button-base-element.js"
79345
+ "name": "SbbNegativeMixin",
79346
+ "module": "core/mixins/negative-mixin.js"
79025
79347
  }
79026
- },
79348
+ }
79349
+ ],
79350
+ "mixins": [
79027
79351
  {
79028
- "kind": "field",
79029
- "name": "_preventScrollOnSpaceKeydown",
79030
- "privacy": "private",
79031
- "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets data-active attribute.",
79032
- "parameters": [
79033
- {
79034
- "description": "The origin event.",
79035
- "name": "event"
79036
- }
79037
- ],
79038
- "inheritedFrom": {
79039
- "name": "SbbButtonLikeBaseElement",
79040
- "module": "core/base-elements/button-base-element.js"
79352
+ "name": "SbbLinkCommonElementMixin",
79353
+ "module": "link/common/link-common.js"
79354
+ }
79355
+ ],
79356
+ "parameters": [
79357
+ {
79358
+ "name": "superClass",
79359
+ "type": {
79360
+ "text": "T"
79041
79361
  }
79042
- },
79362
+ }
79363
+ ],
79364
+ "attributes": [
79043
79365
  {
79044
- "kind": "field",
79045
- "name": "_removeActiveMarker",
79046
- "privacy": "private",
79366
+ "name": "size",
79367
+ "type": {
79368
+ "text": "SbbLinkSize"
79369
+ },
79370
+ "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
79371
+ "default": "'s' / 'xs' (lean)",
79372
+ "fieldName": "size",
79047
79373
  "inheritedFrom": {
79048
- "name": "SbbButtonLikeBaseElement",
79049
- "module": "core/base-elements/button-base-element.js"
79374
+ "name": "SbbLinkCommonElementMixin",
79375
+ "module": "link/common/link-common.js"
79050
79376
  }
79051
79377
  },
79052
79378
  {
79053
- "kind": "field",
79054
- "name": "_dispatchClickEventOnSpaceKeyup",
79055
- "privacy": "private",
79056
- "description": "Dispatches a 'click' PointerEvent if the original keyboard event is a 'Space' press.\nAs verified with the native button, when 'Space' is pressed, a 'click' event is dispatched\nafter the 'keyup' event.",
79057
- "parameters": [
79058
- {
79059
- "description": "The origin event.",
79060
- "name": "event"
79061
- }
79062
- ],
79379
+ "name": "negative",
79380
+ "type": {
79381
+ "text": "boolean"
79382
+ },
79383
+ "default": "false",
79384
+ "description": "Negative coloring variant flag.",
79385
+ "fieldName": "negative",
79063
79386
  "inheritedFrom": {
79064
- "name": "SbbButtonLikeBaseElement",
79065
- "module": "core/base-elements/button-base-element.js"
79387
+ "name": "SbbNegativeMixin",
79388
+ "module": "core/mixins/negative-mixin.js"
79066
79389
  }
79390
+ }
79391
+ ]
79392
+ }
79393
+ ],
79394
+ "exports": [
79395
+ {
79396
+ "kind": "js",
79397
+ "name": "SbbInlineLinkCommonElementMixinType",
79398
+ "declaration": {
79399
+ "name": "SbbInlineLinkCommonElementMixinType",
79400
+ "module": "link/common/inline-link-common.js"
79401
+ }
79402
+ },
79403
+ {
79404
+ "kind": "js",
79405
+ "name": "SbbInlineLinkCommonElementMixin",
79406
+ "declaration": {
79407
+ "name": "SbbInlineLinkCommonElementMixin",
79408
+ "module": "link/common/inline-link-common.js"
79409
+ }
79410
+ }
79411
+ ]
79412
+ },
79413
+ {
79414
+ "kind": "javascript-module",
79415
+ "path": "link/common/link-common.js",
79416
+ "declarations": [
79417
+ {
79418
+ "kind": "class",
79419
+ "description": "",
79420
+ "name": "SbbLinkCommonElementMixinType",
79421
+ "members": [
79422
+ {
79423
+ "kind": "field",
79424
+ "name": "size",
79425
+ "type": {
79426
+ "text": "SbbLinkSize"
79427
+ },
79428
+ "privacy": "public"
79067
79429
  },
79068
79430
  {
79069
79431
  "kind": "field",
79070
- "name": "_dispatchClickEvent",
79071
- "privacy": "private",
79432
+ "name": "negative",
79433
+ "type": {
79434
+ "text": "boolean"
79435
+ },
79436
+ "privacy": "public",
79437
+ "default": "false",
79438
+ "description": "Negative coloring variant flag.",
79439
+ "attribute": "negative",
79440
+ "reflects": true,
79072
79441
  "inheritedFrom": {
79073
- "name": "SbbButtonLikeBaseElement",
79074
- "module": "core/base-elements/button-base-element.js"
79442
+ "name": "SbbNegativeMixin",
79443
+ "module": "core/mixins/negative-mixin.js"
79075
79444
  }
79076
79445
  },
79077
79446
  {
@@ -79142,6 +79511,139 @@
79142
79511
  "name": "SbbActionBaseElement",
79143
79512
  "module": "core/base-elements/action-base-element.js"
79144
79513
  }
79514
+ },
79515
+ {
79516
+ "kind": "method",
79517
+ "name": "renderTemplate",
79518
+ "privacy": "protected",
79519
+ "return": {
79520
+ "type": {
79521
+ "text": "TemplateResult"
79522
+ }
79523
+ },
79524
+ "description": "Override this method to render the component template.",
79525
+ "inheritedFrom": {
79526
+ "name": "SbbActionBaseElement",
79527
+ "module": "core/base-elements/action-base-element.js"
79528
+ }
79529
+ }
79530
+ ],
79531
+ "mixins": [
79532
+ {
79533
+ "name": "SbbNegativeMixin",
79534
+ "module": "core/mixins.js"
79535
+ }
79536
+ ],
79537
+ "superclass": {
79538
+ "name": "SbbActionBaseElement",
79539
+ "module": "core/base-elements.js"
79540
+ },
79541
+ "attributes": [
79542
+ {
79543
+ "name": "negative",
79544
+ "type": {
79545
+ "text": "boolean"
79546
+ },
79547
+ "default": "false",
79548
+ "description": "Negative coloring variant flag.",
79549
+ "fieldName": "negative",
79550
+ "inheritedFrom": {
79551
+ "name": "SbbNegativeMixin",
79552
+ "module": "core/mixins/negative-mixin.js"
79553
+ }
79554
+ }
79555
+ ]
79556
+ },
79557
+ {
79558
+ "kind": "mixin",
79559
+ "description": "",
79560
+ "name": "SbbLinkCommonElementMixin",
79561
+ "members": [
79562
+ {
79563
+ "kind": "field",
79564
+ "name": "styles",
79565
+ "type": {
79566
+ "text": "CSSResultGroup"
79567
+ },
79568
+ "privacy": "public",
79569
+ "static": true,
79570
+ "default": "style"
79571
+ },
79572
+ {
79573
+ "kind": "field",
79574
+ "name": "size",
79575
+ "type": {
79576
+ "text": "SbbLinkSize"
79577
+ },
79578
+ "privacy": "public",
79579
+ "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
79580
+ "default": "'s' / 'xs' (lean)",
79581
+ "attribute": "size",
79582
+ "reflects": true
79583
+ },
79584
+ {
79585
+ "kind": "method",
79586
+ "name": "renderTemplate",
79587
+ "privacy": "protected",
79588
+ "return": {
79589
+ "type": {
79590
+ "text": "TemplateResult"
79591
+ }
79592
+ }
79593
+ },
79594
+ {
79595
+ "kind": "field",
79596
+ "name": "negative",
79597
+ "type": {
79598
+ "text": "boolean"
79599
+ },
79600
+ "privacy": "public",
79601
+ "default": "false",
79602
+ "description": "Negative coloring variant flag.",
79603
+ "attribute": "negative",
79604
+ "reflects": true,
79605
+ "inheritedFrom": {
79606
+ "name": "SbbNegativeMixin",
79607
+ "module": "core/mixins/negative-mixin.js"
79608
+ }
79609
+ }
79610
+ ],
79611
+ "attributes": [
79612
+ {
79613
+ "name": "size",
79614
+ "type": {
79615
+ "text": "SbbLinkSize"
79616
+ },
79617
+ "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
79618
+ "default": "'s' / 'xs' (lean)",
79619
+ "fieldName": "size"
79620
+ },
79621
+ {
79622
+ "name": "negative",
79623
+ "type": {
79624
+ "text": "boolean"
79625
+ },
79626
+ "default": "false",
79627
+ "description": "Negative coloring variant flag.",
79628
+ "fieldName": "negative",
79629
+ "inheritedFrom": {
79630
+ "name": "SbbNegativeMixin",
79631
+ "module": "core/mixins/negative-mixin.js"
79632
+ }
79633
+ }
79634
+ ],
79635
+ "mixins": [
79636
+ {
79637
+ "name": "SbbNegativeMixin",
79638
+ "module": "core/mixins.js"
79639
+ }
79640
+ ],
79641
+ "parameters": [
79642
+ {
79643
+ "name": "superClass",
79644
+ "type": {
79645
+ "text": "T"
79646
+ }
79145
79647
  }
79146
79648
  ]
79147
79649
  }
@@ -79149,33 +79651,33 @@
79149
79651
  "exports": [
79150
79652
  {
79151
79653
  "kind": "js",
79152
- "name": "SbbBlockLinkButtonElement",
79654
+ "name": "SbbLinkCommonElementMixinType",
79153
79655
  "declaration": {
79154
- "name": "SbbBlockLinkButtonElement",
79155
- "module": "link/block-link-button/block-link-button.component.js"
79656
+ "name": "SbbLinkCommonElementMixinType",
79657
+ "module": "link/common/link-common.js"
79156
79658
  }
79157
79659
  },
79158
79660
  {
79159
- "kind": "custom-element-definition",
79160
- "name": "sbb-block-link-button",
79661
+ "kind": "js",
79662
+ "name": "SbbLinkCommonElementMixin",
79161
79663
  "declaration": {
79162
- "name": "SbbBlockLinkButtonElement",
79163
- "module": "link/block-link-button/block-link-button.component.js"
79664
+ "name": "SbbLinkCommonElementMixin",
79665
+ "module": "link/common/link-common.js"
79164
79666
  }
79165
79667
  }
79166
79668
  ]
79167
79669
  },
79168
79670
  {
79169
79671
  "kind": "javascript-module",
79170
- "path": "link/block-link-static/block-link-static.component.js",
79672
+ "path": "link/block-link-button/block-link-button.component.js",
79171
79673
  "declarations": [
79172
79674
  {
79173
79675
  "kind": "class",
79174
- "description": "It displays a static link enhanced with the SBB Design.",
79175
- "name": "SbbBlockLinkStaticElement",
79676
+ "description": "It displays a link enhanced with the SBB Design, which will behave as a button.",
79677
+ "name": "SbbBlockLinkButtonElement",
79176
79678
  "slots": [
79177
79679
  {
79178
- "description": "Use the unnamed slot to add content to the `sbb-block-link-static`.",
79680
+ "description": "Use the unnamed slot to add content to the `sbb-block-link-button`.",
79179
79681
  "name": ""
79180
79682
  },
79181
79683
  {
@@ -79189,15 +79691,15 @@
79189
79691
  "module": "link/common.js"
79190
79692
  },
79191
79693
  {
79192
- "name": "SbbDisabledMixin",
79694
+ "name": "SbbDisabledTabIndexActionMixin",
79193
79695
  "module": "core/mixins.js"
79194
79696
  }
79195
79697
  ],
79196
79698
  "superclass": {
79197
- "name": "SbbActionBaseElement",
79699
+ "name": "SbbButtonBaseElement",
79198
79700
  "module": "core/base-elements.js"
79199
79701
  },
79200
- "tagName": "sbb-block-link-static",
79702
+ "tagName": "sbb-block-link-button",
79201
79703
  "customElement": true,
79202
79704
  "attributes": [
79203
79705
  {
@@ -79239,6 +79741,19 @@
79239
79741
  "module": "icon/icon-name-mixin.js"
79240
79742
  }
79241
79743
  },
79744
+ {
79745
+ "name": "disabled-interactive",
79746
+ "type": {
79747
+ "text": "boolean"
79748
+ },
79749
+ "default": "false",
79750
+ "description": "Whether the button should be aria-disabled but stay interactive.",
79751
+ "fieldName": "disabledInteractive",
79752
+ "inheritedFrom": {
79753
+ "name": "SbbDisabledInteractiveMixin",
79754
+ "module": "core/mixins/disabled-mixin.js"
79755
+ }
79756
+ },
79242
79757
  {
79243
79758
  "name": "disabled",
79244
79759
  "description": "Whether the component is disabled.",
@@ -79251,6 +79766,56 @@
79251
79766
  "name": "SbbDisabledMixin",
79252
79767
  "module": "core/mixins/disabled-mixin.js"
79253
79768
  }
79769
+ },
79770
+ {
79771
+ "name": "value",
79772
+ "type": {
79773
+ "text": "string"
79774
+ },
79775
+ "default": "''",
79776
+ "description": "Value of the form element.",
79777
+ "fieldName": "value",
79778
+ "inheritedFrom": {
79779
+ "name": "SbbButtonBaseElement",
79780
+ "module": "core/base-elements/button-base-element.js"
79781
+ }
79782
+ },
79783
+ {
79784
+ "name": "type",
79785
+ "description": "The type attribute to use for the button.",
79786
+ "default": "'button'",
79787
+ "type": {
79788
+ "text": "SbbButtonType"
79789
+ },
79790
+ "fieldName": "type",
79791
+ "inheritedFrom": {
79792
+ "name": "SbbButtonBaseElement",
79793
+ "module": "core/base-elements/button-base-element.js"
79794
+ }
79795
+ },
79796
+ {
79797
+ "name": "form",
79798
+ "description": "The `<form>` element to associate the button with.",
79799
+ "type": {
79800
+ "text": "HTMLFormElement | null"
79801
+ },
79802
+ "fieldName": "form",
79803
+ "inheritedFrom": {
79804
+ "name": "SbbButtonBaseElement",
79805
+ "module": "core/base-elements/button-base-element.js"
79806
+ }
79807
+ },
79808
+ {
79809
+ "name": "name",
79810
+ "description": "Name of the form element. Will be read from name attribute.",
79811
+ "type": {
79812
+ "text": "string"
79813
+ },
79814
+ "fieldName": "name",
79815
+ "inheritedFrom": {
79816
+ "name": "SbbFormAssociatedMixin",
79817
+ "module": "core/mixins/form-associated-mixin.js"
79818
+ }
79254
79819
  }
79255
79820
  ],
79256
79821
  "members": [
@@ -79383,17 +79948,33 @@
79383
79948
  },
79384
79949
  {
79385
79950
  "kind": "field",
79386
- "name": "disabled",
79387
- "privacy": "public",
79388
- "description": "Whether the component is disabled.",
79389
- "default": "false",
79951
+ "name": "disabledInteractive",
79390
79952
  "type": {
79391
79953
  "text": "boolean"
79392
79954
  },
79393
- "attribute": "disabled",
79955
+ "privacy": "public",
79956
+ "default": "false",
79957
+ "description": "Whether the button should be aria-disabled but stay interactive.",
79958
+ "attribute": "disabled-interactive",
79394
79959
  "reflects": true,
79395
79960
  "inheritedFrom": {
79396
- "name": "SbbDisabledMixin",
79961
+ "name": "SbbDisabledInteractiveMixin",
79962
+ "module": "core/mixins/disabled-mixin.js"
79963
+ }
79964
+ },
79965
+ {
79966
+ "kind": "field",
79967
+ "name": "disabled",
79968
+ "privacy": "public",
79969
+ "description": "Whether the component is disabled.",
79970
+ "default": "false",
79971
+ "type": {
79972
+ "text": "boolean"
79973
+ },
79974
+ "attribute": "disabled",
79975
+ "reflects": true,
79976
+ "inheritedFrom": {
79977
+ "name": "SbbDisabledMixin",
79397
79978
  "module": "core/mixins/disabled-mixin.js"
79398
79979
  }
79399
79980
  },
@@ -79425,245 +80006,90 @@
79425
80006
  "module": "core/mixins/disabled-mixin.js"
79426
80007
  }
79427
80008
  },
79428
- {
79429
- "kind": "method",
79430
- "name": "toggleState",
79431
- "privacy": "protected",
79432
- "return": {
79433
- "type": {
79434
- "text": "void"
79435
- }
79436
- },
79437
- "parameters": [
79438
- {
79439
- "name": "state",
79440
- "type": {
79441
- "text": "string"
79442
- }
79443
- },
79444
- {
79445
- "name": "force",
79446
- "optional": true,
79447
- "type": {
79448
- "text": "boolean"
79449
- }
79450
- }
79451
- ],
79452
- "inheritedFrom": {
79453
- "name": "SbbActionBaseElement",
79454
- "module": "core/base-elements/action-base-element.js"
79455
- }
79456
- },
79457
80009
  {
79458
80010
  "kind": "field",
79459
- "name": "maybeDisabled",
80011
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
79460
80012
  "type": {
79461
- "text": "boolean | undefined"
80013
+ "text": "array"
79462
80014
  },
79463
- "privacy": "protected",
80015
+ "privacy": "private",
79464
80016
  "readonly": true,
80017
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
79465
80018
  "inheritedFrom": {
79466
- "name": "SbbActionBaseElement",
79467
- "module": "core/base-elements/action-base-element.js"
80019
+ "name": "SbbButtonBaseElement",
80020
+ "module": "core/base-elements/button-base-element.js"
79468
80021
  }
79469
80022
  },
79470
80023
  {
79471
80024
  "kind": "field",
79472
- "name": "maybeDisabledInteractive",
80025
+ "name": "value",
79473
80026
  "type": {
79474
- "text": "boolean | undefined"
79475
- },
79476
- "privacy": "protected",
79477
- "readonly": true,
79478
- "inheritedFrom": {
79479
- "name": "SbbActionBaseElement",
79480
- "module": "core/base-elements/action-base-element.js"
79481
- }
79482
- },
79483
- {
79484
- "kind": "method",
79485
- "name": "setupBaseEventHandlers",
79486
- "privacy": "protected",
79487
- "return": {
79488
- "type": {
79489
- "text": "void"
79490
- }
80027
+ "text": "string"
79491
80028
  },
80029
+ "privacy": "public",
79492
80030
  "inheritedFrom": {
79493
- "name": "SbbActionBaseElement",
79494
- "module": "core/base-elements/action-base-element.js"
79495
- }
79496
- }
79497
- ]
79498
- }
79499
- ],
79500
- "exports": [
79501
- {
79502
- "kind": "js",
79503
- "name": "SbbBlockLinkStaticElement",
79504
- "declaration": {
79505
- "name": "SbbBlockLinkStaticElement",
79506
- "module": "link/block-link-static/block-link-static.component.js"
79507
- }
79508
- },
79509
- {
79510
- "kind": "custom-element-definition",
79511
- "name": "sbb-block-link-static",
79512
- "declaration": {
79513
- "name": "SbbBlockLinkStaticElement",
79514
- "module": "link/block-link-static/block-link-static.component.js"
79515
- }
79516
- }
79517
- ]
79518
- },
79519
- {
79520
- "kind": "javascript-module",
79521
- "path": "link/common/block-link-common.js",
79522
- "declarations": [
79523
- {
79524
- "kind": "class",
79525
- "description": "",
79526
- "name": "SbbBlockLinkCommonElementMixinType",
79527
- "members": [
79528
- {
79529
- "kind": "field",
79530
- "name": "iconPlacement",
79531
- "type": {
79532
- "text": "SbbIconPlacement"
80031
+ "name": "SbbButtonBaseElement",
80032
+ "module": "core/base-elements/button-base-element.js"
79533
80033
  },
79534
- "privacy": "public"
80034
+ "default": "''",
80035
+ "description": "Value of the form element.",
80036
+ "attribute": "value"
79535
80037
  },
79536
80038
  {
79537
80039
  "kind": "field",
79538
- "name": "styles",
79539
- "type": {
79540
- "text": "CSSResultGroup"
79541
- },
80040
+ "name": "type",
79542
80041
  "privacy": "public",
79543
- "static": true,
79544
- "default": "style",
79545
- "inheritedFrom": {
79546
- "name": "SbbLinkCommonElementMixin",
79547
- "module": "link/common/link-common.js"
79548
- }
79549
- },
79550
- {
79551
- "kind": "field",
79552
- "name": "size",
80042
+ "description": "The type attribute to use for the button.",
80043
+ "default": "'button'",
79553
80044
  "type": {
79554
- "text": "SbbLinkSize"
79555
- },
79556
- "privacy": "public",
79557
- "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
79558
- "default": "'s' / 'xs' (lean)",
79559
- "attribute": "size",
79560
- "reflects": true,
79561
- "inheritedFrom": {
79562
- "name": "SbbLinkCommonElementMixin",
79563
- "module": "link/common/link-common.js"
79564
- }
79565
- },
79566
- {
79567
- "kind": "method",
79568
- "name": "renderTemplate",
79569
- "privacy": "protected",
79570
- "return": {
79571
- "type": {
79572
- "text": "TemplateResult"
79573
- }
80045
+ "text": "SbbButtonType"
79574
80046
  },
79575
- "description": "Override this method to render the component template.",
80047
+ "attribute": "type",
79576
80048
  "inheritedFrom": {
79577
- "name": "SbbActionBaseElement",
79578
- "module": "core/base-elements/action-base-element.js"
80049
+ "name": "SbbButtonBaseElement",
80050
+ "module": "core/base-elements/button-base-element.js"
79579
80051
  }
79580
80052
  },
79581
80053
  {
79582
80054
  "kind": "field",
79583
- "name": "negative",
80055
+ "name": "form",
79584
80056
  "type": {
79585
- "text": "boolean"
80057
+ "text": "HTMLFormElement | null"
79586
80058
  },
79587
80059
  "privacy": "public",
79588
- "default": "false",
79589
- "description": "Negative coloring variant flag.",
79590
- "attribute": "negative",
79591
- "reflects": true,
80060
+ "description": "The `<form>` element to associate the button with.",
79592
80061
  "inheritedFrom": {
79593
- "name": "SbbNegativeMixin",
79594
- "module": "core/mixins/negative-mixin.js"
79595
- }
80062
+ "name": "SbbButtonBaseElement",
80063
+ "module": "core/base-elements/button-base-element.js"
80064
+ },
80065
+ "attribute": "form"
79596
80066
  },
79597
80067
  {
79598
80068
  "kind": "field",
79599
- "name": "iconName",
80069
+ "name": "_formId",
79600
80070
  "type": {
79601
80071
  "text": "string"
79602
80072
  },
79603
- "privacy": "public",
80073
+ "privacy": "private",
79604
80074
  "default": "''",
79605
- "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
79606
- "attribute": "icon-name",
79607
80075
  "inheritedFrom": {
79608
- "name": "SbbIconNameMixin",
79609
- "module": "icon/icon-name-mixin.js"
79610
- }
79611
- },
79612
- {
79613
- "kind": "method",
79614
- "name": "renderIconSlot",
79615
- "privacy": "protected",
79616
- "return": {
79617
- "type": {
79618
- "text": "TemplateResult"
79619
- }
79620
- },
79621
- "parameters": [
79622
- {
79623
- "name": "classname",
79624
- "optional": true,
79625
- "type": {
79626
- "text": "string"
79627
- }
79628
- }
79629
- ],
79630
- "inheritedFrom": {
79631
- "name": "SbbIconNameMixin",
79632
- "module": "icon/icon-name-mixin.js"
79633
- }
79634
- },
79635
- {
79636
- "kind": "method",
79637
- "name": "renderIconName",
79638
- "privacy": "protected",
79639
- "return": {
79640
- "type": {
79641
- "text": "string"
79642
- }
79643
- },
79644
- "inheritedFrom": {
79645
- "name": "SbbIconNameMixin",
79646
- "module": "icon/icon-name-mixin.js"
80076
+ "name": "SbbButtonBaseElement",
80077
+ "module": "core/base-elements/button-base-element.js"
79647
80078
  }
79648
80079
  },
79649
80080
  {
79650
- "kind": "method",
79651
- "name": "_renderIconName",
80081
+ "kind": "field",
80082
+ "name": "_handleButtonClick",
79652
80083
  "privacy": "private",
79653
- "return": {
79654
- "type": {
79655
- "text": "string"
79656
- }
79657
- },
79658
80084
  "inheritedFrom": {
79659
- "name": "SbbIconNameMixin",
79660
- "module": "icon/icon-name-mixin.js"
80085
+ "name": "SbbButtonBaseElement",
80086
+ "module": "core/base-elements/button-base-element.js"
79661
80087
  }
79662
80088
  },
79663
80089
  {
79664
80090
  "kind": "method",
79665
- "name": "toggleState",
79666
- "privacy": "protected",
80091
+ "name": "_requestSubmit",
80092
+ "privacy": "private",
79667
80093
  "return": {
79668
80094
  "type": {
79669
80095
  "text": "void"
@@ -79671,465 +80097,219 @@
79671
80097
  },
79672
80098
  "parameters": [
79673
80099
  {
79674
- "name": "state",
79675
- "type": {
79676
- "text": "string"
79677
- }
79678
- },
79679
- {
79680
- "name": "force",
79681
- "optional": true,
80100
+ "name": "form",
79682
80101
  "type": {
79683
- "text": "boolean"
80102
+ "text": "HTMLFormElement"
79684
80103
  }
79685
80104
  }
79686
80105
  ],
79687
80106
  "inheritedFrom": {
79688
- "name": "SbbActionBaseElement",
79689
- "module": "core/base-elements/action-base-element.js"
80107
+ "name": "SbbButtonBaseElement",
80108
+ "module": "core/base-elements/button-base-element.js"
79690
80109
  }
79691
80110
  },
79692
80111
  {
79693
80112
  "kind": "field",
79694
- "name": "maybeDisabled",
79695
- "type": {
79696
- "text": "boolean | undefined"
79697
- },
79698
- "privacy": "protected",
79699
- "readonly": true,
80113
+ "name": "_formKeyDown",
80114
+ "privacy": "private",
79700
80115
  "inheritedFrom": {
79701
- "name": "SbbActionBaseElement",
79702
- "module": "core/base-elements/action-base-element.js"
80116
+ "name": "SbbButtonBaseElement",
80117
+ "module": "core/base-elements/button-base-element.js"
79703
80118
  }
79704
80119
  },
79705
80120
  {
79706
80121
  "kind": "field",
79707
- "name": "maybeDisabledInteractive",
80122
+ "name": "formAssociated",
79708
80123
  "type": {
79709
- "text": "boolean | undefined"
79710
- },
79711
- "privacy": "protected",
79712
- "readonly": true,
79713
- "inheritedFrom": {
79714
- "name": "SbbActionBaseElement",
79715
- "module": "core/base-elements/action-base-element.js"
79716
- }
79717
- },
79718
- {
79719
- "kind": "method",
79720
- "name": "setupBaseEventHandlers",
79721
- "privacy": "protected",
79722
- "return": {
79723
- "type": {
79724
- "text": "void"
79725
- }
80124
+ "text": "boolean"
79726
80125
  },
80126
+ "privacy": "public",
80127
+ "static": true,
80128
+ "default": "true",
79727
80129
  "inheritedFrom": {
79728
- "name": "SbbActionBaseElement",
79729
- "module": "core/base-elements/action-base-element.js"
80130
+ "name": "SbbFormAssociatedMixin",
80131
+ "module": "core/mixins/form-associated-mixin.js"
79730
80132
  }
79731
- }
79732
- ],
79733
- "mixins": [
79734
- {
79735
- "name": "SbbLinkCommonElementMixin",
79736
- "module": "link/common/link-common.js"
79737
80133
  },
79738
80134
  {
79739
- "name": "SbbIconNameMixin",
79740
- "module": "icon.js"
79741
- }
79742
- ],
79743
- "superclass": {
79744
- "name": "SbbActionBaseElement",
79745
- "module": "core/base-elements.js"
79746
- },
79747
- "attributes": [
79748
- {
79749
- "name": "size",
80135
+ "kind": "field",
80136
+ "name": "name",
80137
+ "privacy": "public",
80138
+ "description": "Name of the form element. Will be read from name attribute.",
79750
80139
  "type": {
79751
- "text": "SbbLinkSize"
80140
+ "text": "string"
79752
80141
  },
79753
- "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
79754
- "default": "'s' / 'xs' (lean)",
79755
- "fieldName": "size",
80142
+ "attribute": "name",
79756
80143
  "inheritedFrom": {
79757
- "name": "SbbLinkCommonElementMixin",
79758
- "module": "link/common/link-common.js"
80144
+ "name": "SbbFormAssociatedMixin",
80145
+ "module": "core/mixins/form-associated-mixin.js"
79759
80146
  }
79760
80147
  },
79761
80148
  {
79762
- "name": "negative",
80149
+ "kind": "field",
80150
+ "name": "validity",
79763
80151
  "type": {
79764
- "text": "boolean"
80152
+ "text": "ValidityState"
79765
80153
  },
79766
- "default": "false",
79767
- "description": "Negative coloring variant flag.",
79768
- "fieldName": "negative",
80154
+ "privacy": "public",
80155
+ "description": "Returns the ValidityState object for this element.",
80156
+ "readonly": true,
79769
80157
  "inheritedFrom": {
79770
- "name": "SbbNegativeMixin",
79771
- "module": "core/mixins/negative-mixin.js"
80158
+ "name": "SbbFormAssociatedMixin",
80159
+ "module": "core/mixins/form-associated-mixin.js"
79772
80160
  }
79773
80161
  },
79774
- {
79775
- "name": "icon-name",
79776
- "type": {
79777
- "text": "string"
79778
- },
79779
- "default": "''",
79780
- "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
79781
- "fieldName": "iconName",
79782
- "inheritedFrom": {
79783
- "name": "SbbIconNameMixin",
79784
- "module": "icon/icon-name-mixin.js"
79785
- }
79786
- }
79787
- ]
79788
- },
79789
- {
79790
- "kind": "mixin",
79791
- "description": "",
79792
- "name": "SbbBlockLinkCommonElementMixin",
79793
- "members": [
79794
80162
  {
79795
80163
  "kind": "field",
79796
- "name": "styles",
80164
+ "name": "validationMessage",
79797
80165
  "type": {
79798
- "text": "CSSResultGroup"
80166
+ "text": "string"
79799
80167
  },
79800
80168
  "privacy": "public",
79801
- "static": true,
79802
- "default": "[boxSizingStyles, style, blockStyle]",
80169
+ "description": "Returns the current error message, if available, which corresponds\nto the current validation state.\nPlease note that only one message is returned at a time (e.g. if\nmultiple validity states are invalid, only the chronologically first one\nis returned until it is fixed, at which point the next message might be\nreturned, if it is still applicable). Also a custom validity message\n(see below) has precedence over native validation messages.",
80170
+ "readonly": true,
79803
80171
  "inheritedFrom": {
79804
- "name": "SbbLinkCommonElementMixin",
79805
- "module": "link/common/link-common.js"
80172
+ "name": "SbbFormAssociatedMixin",
80173
+ "module": "core/mixins/form-associated-mixin.js"
79806
80174
  }
79807
80175
  },
79808
80176
  {
79809
80177
  "kind": "field",
79810
- "name": "iconPlacement",
80178
+ "name": "willValidate",
79811
80179
  "type": {
79812
- "text": "SbbIconPlacement"
80180
+ "text": "boolean"
79813
80181
  },
79814
80182
  "privacy": "public",
79815
- "default": "'start'",
79816
- "description": "Moves the icon to the end of the component if set to true.",
79817
- "attribute": "icon-placement",
79818
- "reflects": true
79819
- },
79820
- {
79821
- "kind": "method",
79822
- "name": "renderTemplate",
79823
- "privacy": "protected",
79824
- "return": {
79825
- "type": {
79826
- "text": "TemplateResult"
79827
- }
79828
- },
80183
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
80184
+ "readonly": true,
79829
80185
  "inheritedFrom": {
79830
- "name": "SbbLinkCommonElementMixin",
79831
- "module": "link/common/link-common.js"
80186
+ "name": "SbbFormAssociatedMixin",
80187
+ "module": "core/mixins/form-associated-mixin.js"
79832
80188
  }
79833
80189
  },
79834
80190
  {
79835
80191
  "kind": "field",
79836
- "name": "size",
79837
- "type": {
79838
- "text": "SbbLinkSize"
79839
- },
79840
- "privacy": "public",
79841
- "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
79842
- "default": "'s' / 'xs' (lean)",
79843
- "attribute": "size",
79844
- "reflects": true,
80192
+ "name": "_validityStates",
80193
+ "privacy": "private",
80194
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
79845
80195
  "inheritedFrom": {
79846
- "name": "SbbLinkCommonElementMixin",
79847
- "module": "link/common/link-common.js"
80196
+ "name": "SbbFormAssociatedMixin",
80197
+ "module": "core/mixins/form-associated-mixin.js"
79848
80198
  }
79849
80199
  },
79850
80200
  {
79851
80201
  "kind": "field",
79852
- "name": "negative",
80202
+ "name": "formDisabled",
79853
80203
  "type": {
79854
80204
  "text": "boolean"
79855
80205
  },
79856
- "privacy": "public",
80206
+ "privacy": "protected",
79857
80207
  "default": "false",
79858
- "description": "Negative coloring variant flag.",
79859
- "attribute": "negative",
79860
- "reflects": true,
80208
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
79861
80209
  "inheritedFrom": {
79862
- "name": "SbbNegativeMixin",
79863
- "module": "core/mixins/negative-mixin.js"
80210
+ "name": "SbbFormAssociatedMixin",
80211
+ "module": "core/mixins/form-associated-mixin.js"
79864
80212
  }
79865
80213
  },
79866
80214
  {
79867
- "kind": "field",
79868
- "name": "iconName",
79869
- "type": {
79870
- "text": "string"
80215
+ "kind": "method",
80216
+ "name": "checkValidity",
80217
+ "privacy": "public",
80218
+ "return": {
80219
+ "type": {
80220
+ "text": "boolean"
80221
+ }
79871
80222
  },
80223
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
80224
+ "inheritedFrom": {
80225
+ "name": "SbbFormAssociatedMixin",
80226
+ "module": "core/mixins/form-associated-mixin.js"
80227
+ }
80228
+ },
80229
+ {
80230
+ "kind": "method",
80231
+ "name": "reportValidity",
79872
80232
  "privacy": "public",
79873
- "default": "''",
79874
- "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
79875
- "attribute": "icon-name",
80233
+ "return": {
80234
+ "type": {
80235
+ "text": "boolean"
80236
+ }
80237
+ },
80238
+ "description": "Returns true if this element has no validity problems; otherwise,\nreturns false, fires an invalid event at the element,\nand (if the event isn't canceled) reports the problem to the user.",
79876
80239
  "inheritedFrom": {
79877
- "name": "SbbIconNameMixin",
79878
- "module": "icon/icon-name-mixin.js"
80240
+ "name": "SbbFormAssociatedMixin",
80241
+ "module": "core/mixins/form-associated-mixin.js"
79879
80242
  }
79880
80243
  },
79881
80244
  {
79882
80245
  "kind": "method",
79883
- "name": "renderIconSlot",
79884
- "privacy": "protected",
80246
+ "name": "setCustomValidity",
80247
+ "privacy": "public",
79885
80248
  "return": {
79886
80249
  "type": {
79887
- "text": "TemplateResult"
80250
+ "text": "void"
79888
80251
  }
79889
80252
  },
79890
80253
  "parameters": [
79891
80254
  {
79892
- "name": "classname",
79893
- "optional": true,
80255
+ "name": "message",
79894
80256
  "type": {
79895
80257
  "text": "string"
79896
80258
  }
79897
80259
  }
79898
80260
  ],
80261
+ "description": "Sets the custom validity message for this element. Use the empty string\nto indicate that the element does not have a custom validity error.",
79899
80262
  "inheritedFrom": {
79900
- "name": "SbbIconNameMixin",
79901
- "module": "icon/icon-name-mixin.js"
80263
+ "name": "SbbFormAssociatedMixin",
80264
+ "module": "core/mixins/form-associated-mixin.js"
79902
80265
  }
79903
80266
  },
79904
80267
  {
79905
80268
  "kind": "method",
79906
- "name": "renderIconName",
79907
- "privacy": "protected",
80269
+ "name": "_hasDisabledAncestor",
80270
+ "privacy": "private",
79908
80271
  "return": {
79909
80272
  "type": {
79910
- "text": "string"
80273
+ "text": "boolean"
79911
80274
  }
79912
80275
  },
79913
80276
  "inheritedFrom": {
79914
- "name": "SbbIconNameMixin",
79915
- "module": "icon/icon-name-mixin.js"
80277
+ "name": "SbbFormAssociatedMixin",
80278
+ "module": "core/mixins/form-associated-mixin.js"
79916
80279
  }
79917
80280
  },
79918
80281
  {
79919
80282
  "kind": "method",
79920
- "name": "_renderIconName",
79921
- "privacy": "private",
80283
+ "name": "updateFormValue",
80284
+ "privacy": "protected",
79922
80285
  "return": {
79923
80286
  "type": {
79924
- "text": "string"
80287
+ "text": "void"
79925
80288
  }
79926
80289
  },
80290
+ "description": "Should be called when form value is changed.\nAdapts and sets the formValue in the supported format (string | FormData | File | null)\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue",
79927
80291
  "inheritedFrom": {
79928
- "name": "SbbIconNameMixin",
79929
- "module": "icon/icon-name-mixin.js"
79930
- }
79931
- }
79932
- ],
79933
- "attributes": [
79934
- {
79935
- "name": "icon-placement",
79936
- "type": {
79937
- "text": "SbbIconPlacement"
79938
- },
79939
- "default": "'start'",
79940
- "description": "Moves the icon to the end of the component if set to true.",
79941
- "fieldName": "iconPlacement"
79942
- },
79943
- {
79944
- "name": "size",
79945
- "type": {
79946
- "text": "SbbLinkSize"
79947
- },
79948
- "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
79949
- "default": "'s' / 'xs' (lean)",
79950
- "fieldName": "size",
79951
- "inheritedFrom": {
79952
- "name": "SbbLinkCommonElementMixin",
79953
- "module": "link/common/link-common.js"
79954
- }
79955
- },
79956
- {
79957
- "name": "negative",
79958
- "type": {
79959
- "text": "boolean"
79960
- },
79961
- "default": "false",
79962
- "description": "Negative coloring variant flag.",
79963
- "fieldName": "negative",
79964
- "inheritedFrom": {
79965
- "name": "SbbNegativeMixin",
79966
- "module": "core/mixins/negative-mixin.js"
79967
- }
79968
- },
79969
- {
79970
- "name": "icon-name",
79971
- "type": {
79972
- "text": "string"
79973
- },
79974
- "default": "''",
79975
- "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
79976
- "fieldName": "iconName",
79977
- "inheritedFrom": {
79978
- "name": "SbbIconNameMixin",
79979
- "module": "icon/icon-name-mixin.js"
79980
- }
79981
- }
79982
- ],
79983
- "mixins": [
79984
- {
79985
- "name": "SbbLinkCommonElementMixin",
79986
- "module": "link/common/link-common.js"
79987
- },
79988
- {
79989
- "name": "SbbIconNameMixin",
79990
- "module": "icon.js"
79991
- }
79992
- ],
79993
- "parameters": [
79994
- {
79995
- "name": "superClass",
79996
- "type": {
79997
- "text": "T"
79998
- }
79999
- }
80000
- ]
80001
- }
80002
- ],
80003
- "exports": [
80004
- {
80005
- "kind": "js",
80006
- "name": "SbbBlockLinkCommonElementMixinType",
80007
- "declaration": {
80008
- "name": "SbbBlockLinkCommonElementMixinType",
80009
- "module": "link/common/block-link-common.js"
80010
- }
80011
- },
80012
- {
80013
- "kind": "js",
80014
- "name": "SbbBlockLinkCommonElementMixin",
80015
- "declaration": {
80016
- "name": "SbbBlockLinkCommonElementMixin",
80017
- "module": "link/common/block-link-common.js"
80018
- }
80019
- }
80020
- ]
80021
- },
80022
- {
80023
- "kind": "javascript-module",
80024
- "path": "link/common/inline-link-common.js",
80025
- "declarations": [
80026
- {
80027
- "kind": "class",
80028
- "description": "",
80029
- "name": "SbbInlineLinkCommonElementMixinType",
80030
- "mixins": [
80031
- {
80032
- "name": "SbbLinkCommonElementMixin",
80033
- "module": "link/common/link-common.js"
80034
- }
80035
- ],
80036
- "superclass": {
80037
- "name": "SbbActionBaseElement",
80038
- "module": "core/base-elements.js"
80039
- },
80040
- "attributes": [
80041
- {
80042
- "name": "size",
80043
- "type": {
80044
- "text": "SbbLinkSize"
80045
- },
80046
- "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
80047
- "default": "'s' / 'xs' (lean)",
80048
- "fieldName": "size",
80049
- "inheritedFrom": {
80050
- "name": "SbbLinkCommonElementMixin",
80051
- "module": "link/common/link-common.js"
80052
- }
80053
- },
80054
- {
80055
- "name": "negative",
80056
- "type": {
80057
- "text": "boolean"
80058
- },
80059
- "default": "false",
80060
- "description": "Negative coloring variant flag.",
80061
- "fieldName": "negative",
80062
- "inheritedFrom": {
80063
- "name": "SbbNegativeMixin",
80064
- "module": "core/mixins/negative-mixin.js"
80065
- }
80066
- }
80067
- ],
80068
- "members": [
80069
- {
80070
- "kind": "field",
80071
- "name": "styles",
80072
- "type": {
80073
- "text": "CSSResultGroup"
80074
- },
80075
- "privacy": "public",
80076
- "static": true,
80077
- "default": "style",
80078
- "inheritedFrom": {
80079
- "name": "SbbLinkCommonElementMixin",
80080
- "module": "link/common/link-common.js"
80081
- }
80082
- },
80083
- {
80084
- "kind": "field",
80085
- "name": "size",
80086
- "type": {
80087
- "text": "SbbLinkSize"
80088
- },
80089
- "privacy": "public",
80090
- "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
80091
- "default": "'s' / 'xs' (lean)",
80092
- "attribute": "size",
80093
- "reflects": true,
80094
- "inheritedFrom": {
80095
- "name": "SbbLinkCommonElementMixin",
80096
- "module": "link/common/link-common.js"
80292
+ "name": "SbbFormAssociatedMixin",
80293
+ "module": "core/mixins/form-associated-mixin.js"
80097
80294
  }
80098
80295
  },
80099
80296
  {
80100
80297
  "kind": "method",
80101
- "name": "renderTemplate",
80298
+ "name": "formState",
80102
80299
  "privacy": "protected",
80103
80300
  "return": {
80104
80301
  "type": {
80105
- "text": "TemplateResult"
80302
+ "text": "FormRestoreState"
80106
80303
  }
80107
80304
  },
80108
- "description": "Override this method to render the component template.",
80109
80305
  "inheritedFrom": {
80110
- "name": "SbbActionBaseElement",
80111
- "module": "core/base-elements/action-base-element.js"
80112
- }
80113
- },
80114
- {
80115
- "kind": "field",
80116
- "name": "negative",
80117
- "type": {
80118
- "text": "boolean"
80119
- },
80120
- "privacy": "public",
80121
- "default": "false",
80122
- "description": "Negative coloring variant flag.",
80123
- "attribute": "negative",
80124
- "reflects": true,
80125
- "inheritedFrom": {
80126
- "name": "SbbNegativeMixin",
80127
- "module": "core/mixins/negative-mixin.js"
80306
+ "name": "SbbFormAssociatedMixin",
80307
+ "module": "core/mixins/form-associated-mixin.js"
80128
80308
  }
80129
80309
  },
80130
80310
  {
80131
80311
  "kind": "method",
80132
- "name": "toggleState",
80312
+ "name": "setValidityFlag",
80133
80313
  "privacy": "protected",
80134
80314
  "return": {
80135
80315
  "type": {
@@ -80138,226 +80318,169 @@
80138
80318
  },
80139
80319
  "parameters": [
80140
80320
  {
80141
- "name": "state",
80321
+ "name": "flag",
80322
+ "type": {
80323
+ "text": "T"
80324
+ }
80325
+ },
80326
+ {
80327
+ "name": "message",
80142
80328
  "type": {
80143
80329
  "text": "string"
80144
80330
  }
80145
80331
  },
80146
80332
  {
80147
- "name": "force",
80333
+ "name": "flagValue",
80148
80334
  "optional": true,
80149
80335
  "type": {
80150
- "text": "boolean"
80336
+ "text": "ValidityStateFlags[T]"
80151
80337
  }
80152
80338
  }
80153
80339
  ],
80340
+ "description": "Marks this element as suffering from the constraint indicated by the\nflag argument and associates the given message to it.\nNote that only one message is displayed at a time and custom messages by\nconsumers are always displayed before internal messages and internal\nmessages are displayed in the order they were added.\nTo set/define custom validity state flags, you need to extend the\nValidityState prototype (and the CustomValidityState interface).",
80154
80341
  "inheritedFrom": {
80155
- "name": "SbbActionBaseElement",
80156
- "module": "core/base-elements/action-base-element.js"
80342
+ "name": "SbbFormAssociatedMixin",
80343
+ "module": "core/mixins/form-associated-mixin.js"
80157
80344
  }
80158
80345
  },
80159
80346
  {
80160
- "kind": "field",
80161
- "name": "maybeDisabled",
80162
- "type": {
80163
- "text": "boolean | undefined"
80164
- },
80347
+ "kind": "method",
80348
+ "name": "removeValidityFlag",
80165
80349
  "privacy": "protected",
80166
- "readonly": true,
80167
- "inheritedFrom": {
80168
- "name": "SbbActionBaseElement",
80169
- "module": "core/base-elements/action-base-element.js"
80170
- }
80171
- },
80172
- {
80173
- "kind": "field",
80174
- "name": "maybeDisabledInteractive",
80175
- "type": {
80176
- "text": "boolean | undefined"
80350
+ "return": {
80351
+ "type": {
80352
+ "text": "void"
80353
+ }
80177
80354
  },
80178
- "privacy": "protected",
80179
- "readonly": true,
80355
+ "parameters": [
80356
+ {
80357
+ "name": "flag",
80358
+ "type": {
80359
+ "text": "T"
80360
+ }
80361
+ }
80362
+ ],
80363
+ "description": "Removes the validity state flag entry and updates validity state.",
80180
80364
  "inheritedFrom": {
80181
- "name": "SbbActionBaseElement",
80182
- "module": "core/base-elements/action-base-element.js"
80365
+ "name": "SbbFormAssociatedMixin",
80366
+ "module": "core/mixins/form-associated-mixin.js"
80183
80367
  }
80184
80368
  },
80185
80369
  {
80186
80370
  "kind": "method",
80187
- "name": "setupBaseEventHandlers",
80371
+ "name": "validate",
80188
80372
  "privacy": "protected",
80189
80373
  "return": {
80190
80374
  "type": {
80191
80375
  "text": "void"
80192
80376
  }
80193
80377
  },
80378
+ "description": "To be called whenever the current element needs to be validated.",
80194
80379
  "inheritedFrom": {
80195
- "name": "SbbActionBaseElement",
80196
- "module": "core/base-elements/action-base-element.js"
80197
- }
80198
- }
80199
- ]
80200
- },
80201
- {
80202
- "kind": "mixin",
80203
- "description": "",
80204
- "name": "SbbInlineLinkCommonElementMixin",
80205
- "members": [
80206
- {
80207
- "kind": "field",
80208
- "name": "styles",
80209
- "type": {
80210
- "text": "CSSResultGroup"
80211
- },
80212
- "privacy": "public",
80213
- "static": true,
80214
- "default": "[boxSizingStyles, style, inlineStyle]",
80215
- "inheritedFrom": {
80216
- "name": "SbbLinkCommonElementMixin",
80217
- "module": "link/common/link-common.js"
80380
+ "name": "SbbFormAssociatedMixin",
80381
+ "module": "core/mixins/form-associated-mixin.js"
80218
80382
  }
80219
80383
  },
80220
80384
  {
80221
- "kind": "field",
80222
- "name": "size",
80223
- "type": {
80224
- "text": "SbbLinkSize"
80385
+ "kind": "method",
80386
+ "name": "shouldValidate",
80387
+ "privacy": "protected",
80388
+ "return": {
80389
+ "type": {
80390
+ "text": "boolean"
80391
+ }
80225
80392
  },
80226
- "privacy": "public",
80227
- "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
80228
- "default": "'s' / 'xs' (lean)",
80229
- "attribute": "size",
80230
- "reflects": true,
80393
+ "parameters": [
80394
+ {
80395
+ "name": "name",
80396
+ "type": {
80397
+ "text": "PropertyKey | undefined"
80398
+ }
80399
+ }
80400
+ ],
80401
+ "description": "Whether validation should be run on a property change with the given name.",
80231
80402
  "inheritedFrom": {
80232
- "name": "SbbLinkCommonElementMixin",
80233
- "module": "link/common/link-common.js"
80403
+ "name": "SbbFormAssociatedMixin",
80404
+ "module": "core/mixins/form-associated-mixin.js"
80234
80405
  }
80235
80406
  },
80236
80407
  {
80237
80408
  "kind": "method",
80238
- "name": "renderTemplate",
80239
- "privacy": "protected",
80409
+ "name": "_setInternalValidity",
80410
+ "privacy": "private",
80240
80411
  "return": {
80241
80412
  "type": {
80242
- "text": "TemplateResult"
80413
+ "text": "void"
80243
80414
  }
80244
80415
  },
80245
80416
  "inheritedFrom": {
80246
- "name": "SbbLinkCommonElementMixin",
80247
- "module": "link/common/link-common.js"
80417
+ "name": "SbbFormAssociatedMixin",
80418
+ "module": "core/mixins/form-associated-mixin.js"
80248
80419
  }
80249
80420
  },
80250
80421
  {
80251
80422
  "kind": "field",
80252
- "name": "negative",
80423
+ "name": "role",
80253
80424
  "type": {
80254
- "text": "boolean"
80425
+ "text": "ElementInternals['role']"
80255
80426
  },
80256
80427
  "privacy": "public",
80257
- "default": "false",
80258
- "description": "Negative coloring variant flag.",
80259
- "attribute": "negative",
80260
- "reflects": true,
80428
+ "static": true,
80429
+ "readonly": true,
80430
+ "default": "'button'",
80261
80431
  "inheritedFrom": {
80262
- "name": "SbbNegativeMixin",
80263
- "module": "core/mixins/negative-mixin.js"
80264
- }
80265
- }
80266
- ],
80267
- "mixins": [
80268
- {
80269
- "name": "SbbLinkCommonElementMixin",
80270
- "module": "link/common/link-common.js"
80271
- }
80272
- ],
80273
- "parameters": [
80274
- {
80275
- "name": "superClass",
80276
- "type": {
80277
- "text": "T"
80432
+ "name": "SbbButtonLikeBaseElement",
80433
+ "module": "core/base-elements/button-base-element.js"
80278
80434
  }
80279
- }
80280
- ],
80281
- "attributes": [
80435
+ },
80282
80436
  {
80283
- "name": "size",
80284
- "type": {
80285
- "text": "SbbLinkSize"
80286
- },
80287
- "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
80288
- "default": "'s' / 'xs' (lean)",
80289
- "fieldName": "size",
80437
+ "kind": "field",
80438
+ "name": "_preventScrollOnSpaceKeydown",
80439
+ "privacy": "private",
80440
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets data-active attribute.",
80441
+ "parameters": [
80442
+ {
80443
+ "description": "The origin event.",
80444
+ "name": "event"
80445
+ }
80446
+ ],
80290
80447
  "inheritedFrom": {
80291
- "name": "SbbLinkCommonElementMixin",
80292
- "module": "link/common/link-common.js"
80448
+ "name": "SbbButtonLikeBaseElement",
80449
+ "module": "core/base-elements/button-base-element.js"
80293
80450
  }
80294
80451
  },
80295
80452
  {
80296
- "name": "negative",
80297
- "type": {
80298
- "text": "boolean"
80299
- },
80300
- "default": "false",
80301
- "description": "Negative coloring variant flag.",
80302
- "fieldName": "negative",
80453
+ "kind": "field",
80454
+ "name": "_removeActiveMarker",
80455
+ "privacy": "private",
80303
80456
  "inheritedFrom": {
80304
- "name": "SbbNegativeMixin",
80305
- "module": "core/mixins/negative-mixin.js"
80457
+ "name": "SbbButtonLikeBaseElement",
80458
+ "module": "core/base-elements/button-base-element.js"
80306
80459
  }
80307
- }
80308
- ]
80309
- }
80310
- ],
80311
- "exports": [
80312
- {
80313
- "kind": "js",
80314
- "name": "SbbInlineLinkCommonElementMixinType",
80315
- "declaration": {
80316
- "name": "SbbInlineLinkCommonElementMixinType",
80317
- "module": "link/common/inline-link-common.js"
80318
- }
80319
- },
80320
- {
80321
- "kind": "js",
80322
- "name": "SbbInlineLinkCommonElementMixin",
80323
- "declaration": {
80324
- "name": "SbbInlineLinkCommonElementMixin",
80325
- "module": "link/common/inline-link-common.js"
80326
- }
80327
- }
80328
- ]
80329
- },
80330
- {
80331
- "kind": "javascript-module",
80332
- "path": "link/common/link-common.js",
80333
- "declarations": [
80334
- {
80335
- "kind": "class",
80336
- "description": "",
80337
- "name": "SbbLinkCommonElementMixinType",
80338
- "members": [
80460
+ },
80339
80461
  {
80340
80462
  "kind": "field",
80341
- "name": "size",
80342
- "type": {
80343
- "text": "SbbLinkSize"
80344
- },
80345
- "privacy": "public"
80463
+ "name": "_dispatchClickEventOnSpaceKeyup",
80464
+ "privacy": "private",
80465
+ "description": "Dispatches a 'click' PointerEvent if the original keyboard event is a 'Space' press.\nAs verified with the native button, when 'Space' is pressed, a 'click' event is dispatched\nafter the 'keyup' event.",
80466
+ "parameters": [
80467
+ {
80468
+ "description": "The origin event.",
80469
+ "name": "event"
80470
+ }
80471
+ ],
80472
+ "inheritedFrom": {
80473
+ "name": "SbbButtonLikeBaseElement",
80474
+ "module": "core/base-elements/button-base-element.js"
80475
+ }
80346
80476
  },
80347
80477
  {
80348
80478
  "kind": "field",
80349
- "name": "negative",
80350
- "type": {
80351
- "text": "boolean"
80352
- },
80353
- "privacy": "public",
80354
- "default": "false",
80355
- "description": "Negative coloring variant flag.",
80356
- "attribute": "negative",
80357
- "reflects": true,
80479
+ "name": "_dispatchClickEvent",
80480
+ "privacy": "private",
80358
80481
  "inheritedFrom": {
80359
- "name": "SbbNegativeMixin",
80360
- "module": "core/mixins/negative-mixin.js"
80482
+ "name": "SbbButtonLikeBaseElement",
80483
+ "module": "core/base-elements/button-base-element.js"
80361
80484
  }
80362
80485
  },
80363
80486
  {
@@ -80428,139 +80551,6 @@
80428
80551
  "name": "SbbActionBaseElement",
80429
80552
  "module": "core/base-elements/action-base-element.js"
80430
80553
  }
80431
- },
80432
- {
80433
- "kind": "method",
80434
- "name": "renderTemplate",
80435
- "privacy": "protected",
80436
- "return": {
80437
- "type": {
80438
- "text": "TemplateResult"
80439
- }
80440
- },
80441
- "description": "Override this method to render the component template.",
80442
- "inheritedFrom": {
80443
- "name": "SbbActionBaseElement",
80444
- "module": "core/base-elements/action-base-element.js"
80445
- }
80446
- }
80447
- ],
80448
- "mixins": [
80449
- {
80450
- "name": "SbbNegativeMixin",
80451
- "module": "core/mixins.js"
80452
- }
80453
- ],
80454
- "superclass": {
80455
- "name": "SbbActionBaseElement",
80456
- "module": "core/base-elements.js"
80457
- },
80458
- "attributes": [
80459
- {
80460
- "name": "negative",
80461
- "type": {
80462
- "text": "boolean"
80463
- },
80464
- "default": "false",
80465
- "description": "Negative coloring variant flag.",
80466
- "fieldName": "negative",
80467
- "inheritedFrom": {
80468
- "name": "SbbNegativeMixin",
80469
- "module": "core/mixins/negative-mixin.js"
80470
- }
80471
- }
80472
- ]
80473
- },
80474
- {
80475
- "kind": "mixin",
80476
- "description": "",
80477
- "name": "SbbLinkCommonElementMixin",
80478
- "members": [
80479
- {
80480
- "kind": "field",
80481
- "name": "styles",
80482
- "type": {
80483
- "text": "CSSResultGroup"
80484
- },
80485
- "privacy": "public",
80486
- "static": true,
80487
- "default": "style"
80488
- },
80489
- {
80490
- "kind": "field",
80491
- "name": "size",
80492
- "type": {
80493
- "text": "SbbLinkSize"
80494
- },
80495
- "privacy": "public",
80496
- "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
80497
- "default": "'s' / 'xs' (lean)",
80498
- "attribute": "size",
80499
- "reflects": true
80500
- },
80501
- {
80502
- "kind": "method",
80503
- "name": "renderTemplate",
80504
- "privacy": "protected",
80505
- "return": {
80506
- "type": {
80507
- "text": "TemplateResult"
80508
- }
80509
- }
80510
- },
80511
- {
80512
- "kind": "field",
80513
- "name": "negative",
80514
- "type": {
80515
- "text": "boolean"
80516
- },
80517
- "privacy": "public",
80518
- "default": "false",
80519
- "description": "Negative coloring variant flag.",
80520
- "attribute": "negative",
80521
- "reflects": true,
80522
- "inheritedFrom": {
80523
- "name": "SbbNegativeMixin",
80524
- "module": "core/mixins/negative-mixin.js"
80525
- }
80526
- }
80527
- ],
80528
- "attributes": [
80529
- {
80530
- "name": "size",
80531
- "type": {
80532
- "text": "SbbLinkSize"
80533
- },
80534
- "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
80535
- "default": "'s' / 'xs' (lean)",
80536
- "fieldName": "size"
80537
- },
80538
- {
80539
- "name": "negative",
80540
- "type": {
80541
- "text": "boolean"
80542
- },
80543
- "default": "false",
80544
- "description": "Negative coloring variant flag.",
80545
- "fieldName": "negative",
80546
- "inheritedFrom": {
80547
- "name": "SbbNegativeMixin",
80548
- "module": "core/mixins/negative-mixin.js"
80549
- }
80550
- }
80551
- ],
80552
- "mixins": [
80553
- {
80554
- "name": "SbbNegativeMixin",
80555
- "module": "core/mixins.js"
80556
- }
80557
- ],
80558
- "parameters": [
80559
- {
80560
- "name": "superClass",
80561
- "type": {
80562
- "text": "T"
80563
- }
80564
80554
  }
80565
80555
  ]
80566
80556
  }
@@ -80568,18 +80558,18 @@
80568
80558
  "exports": [
80569
80559
  {
80570
80560
  "kind": "js",
80571
- "name": "SbbLinkCommonElementMixinType",
80561
+ "name": "SbbBlockLinkButtonElement",
80572
80562
  "declaration": {
80573
- "name": "SbbLinkCommonElementMixinType",
80574
- "module": "link/common/link-common.js"
80563
+ "name": "SbbBlockLinkButtonElement",
80564
+ "module": "link/block-link-button/block-link-button.component.js"
80575
80565
  }
80576
80566
  },
80577
80567
  {
80578
- "kind": "js",
80579
- "name": "SbbLinkCommonElementMixin",
80568
+ "kind": "custom-element-definition",
80569
+ "name": "sbb-block-link-button",
80580
80570
  "declaration": {
80581
- "name": "SbbLinkCommonElementMixin",
80582
- "module": "link/common/link-common.js"
80571
+ "name": "SbbBlockLinkButtonElement",
80572
+ "module": "link/block-link-button/block-link-button.component.js"
80583
80573
  }
80584
80574
  }
80585
80575
  ]
@@ -92551,24 +92541,6 @@
92551
92541
  }
92552
92542
  }
92553
92543
  },
92554
- {
92555
- "kind": "method",
92556
- "name": "changeAndEmitPage",
92557
- "privacy": "protected",
92558
- "return": {
92559
- "type": {
92560
- "text": "void"
92561
- }
92562
- },
92563
- "parameters": [
92564
- {
92565
- "name": "pageIndex",
92566
- "type": {
92567
- "text": "number"
92568
- }
92569
- }
92570
- ]
92571
- },
92572
92544
  {
92573
92545
  "kind": "method",
92574
92546
  "name": "nextPage",
@@ -92667,32 +92639,7 @@
92667
92639
  },
92668
92640
  {
92669
92641
  "kind": "method",
92670
- "name": "emitPageEvent",
92671
- "privacy": "protected",
92672
- "return": {
92673
- "type": {
92674
- "text": "void"
92675
- }
92676
- },
92677
- "parameters": [
92678
- {
92679
- "name": "previousPageIndex",
92680
- "type": {
92681
- "text": "number"
92682
- }
92683
- },
92684
- {
92685
- "name": "pageIndex",
92686
- "optional": true,
92687
- "type": {
92688
- "text": "number"
92689
- }
92690
- }
92691
- ]
92692
- },
92693
- {
92694
- "kind": "method",
92695
- "name": "_emitPrivatePageEvent",
92642
+ "name": "_emitPageEvent",
92696
92643
  "privacy": "private",
92697
92644
  "return": {
92698
92645
  "type": {
@@ -92814,7 +92761,7 @@
92814
92761
  "type": {
92815
92762
  "text": "CustomEvent<SbbPaginatorPageEventDetails>"
92816
92763
  },
92817
- "description": "The page event is dispatched whenever the user changes the page."
92764
+ "description": "The page event is dispatched when the page index, length or page size changes."
92818
92765
  }
92819
92766
  ],
92820
92767
  "attributes": [
@@ -92973,12 +92920,12 @@
92973
92920
  "kind": "field",
92974
92921
  "name": "events",
92975
92922
  "type": {
92976
- "text": "{\n page: 'page',\n ɵpage: 'ɵpage',\n }"
92923
+ "text": "{\n page: 'page',\n }"
92977
92924
  },
92978
92925
  "privacy": "public",
92979
92926
  "static": true,
92980
92927
  "readonly": true,
92981
- "default": "{ page: 'page', ɵpage: 'ɵpage', }"
92928
+ "default": "{ page: 'page', }"
92982
92929
  },
92983
92930
  {
92984
92931
  "kind": "method",
@@ -93187,28 +93134,6 @@
93187
93134
  "module": "paginator/common/paginator-common.js"
93188
93135
  }
93189
93136
  },
93190
- {
93191
- "kind": "method",
93192
- "name": "changeAndEmitPage",
93193
- "privacy": "protected",
93194
- "return": {
93195
- "type": {
93196
- "text": "void"
93197
- }
93198
- },
93199
- "parameters": [
93200
- {
93201
- "name": "pageIndex",
93202
- "type": {
93203
- "text": "number"
93204
- }
93205
- }
93206
- ],
93207
- "inheritedFrom": {
93208
- "name": "SbbPaginatorCommonElementMixin",
93209
- "module": "paginator/common/paginator-common.js"
93210
- }
93211
- },
93212
93137
  {
93213
93138
  "kind": "method",
93214
93139
  "name": "nextPage",
@@ -93339,36 +93264,7 @@
93339
93264
  },
93340
93265
  {
93341
93266
  "kind": "method",
93342
- "name": "emitPageEvent",
93343
- "privacy": "protected",
93344
- "return": {
93345
- "type": {
93346
- "text": "void"
93347
- }
93348
- },
93349
- "parameters": [
93350
- {
93351
- "name": "previousPageIndex",
93352
- "type": {
93353
- "text": "number"
93354
- }
93355
- },
93356
- {
93357
- "name": "pageIndex",
93358
- "optional": true,
93359
- "type": {
93360
- "text": "number"
93361
- }
93362
- }
93363
- ],
93364
- "inheritedFrom": {
93365
- "name": "SbbPaginatorCommonElementMixin",
93366
- "module": "paginator/common/paginator-common.js"
93367
- }
93368
- },
93369
- {
93370
- "kind": "method",
93371
- "name": "_emitPrivatePageEvent",
93267
+ "name": "_emitPageEvent",
93372
93268
  "privacy": "private",
93373
93269
  "return": {
93374
93270
  "type": {
@@ -93642,7 +93538,7 @@
93642
93538
  "type": {
93643
93539
  "text": "CustomEvent<SbbPaginatorPageEventDetails>"
93644
93540
  },
93645
- "description": "The page event is dispatched whenever the user changes the page.",
93541
+ "description": "The page event is dispatched when the page index, length or page size changes.",
93646
93542
  "inheritedFrom": {
93647
93543
  "name": "SbbPaginatorCommonElementMixin",
93648
93544
  "module": "paginator/common/paginator-common.js"
@@ -93683,12 +93579,12 @@
93683
93579
  "kind": "field",
93684
93580
  "name": "events",
93685
93581
  "type": {
93686
- "text": "{\n page: 'page',\n ɵpage: 'ɵpage',\n }"
93582
+ "text": "{\n page: 'page',\n }"
93687
93583
  },
93688
93584
  "privacy": "public",
93689
93585
  "static": true,
93690
93586
  "readonly": true,
93691
- "default": "{ page: 'page', ɵpage: 'ɵpage', }"
93587
+ "default": "{ page: 'page', }"
93692
93588
  },
93693
93589
  {
93694
93590
  "kind": "field",
@@ -93803,25 +93699,6 @@
93803
93699
  }
93804
93700
  ]
93805
93701
  },
93806
- {
93807
- "kind": "method",
93808
- "name": "_setPageSizeFromSizeOptionsSelect",
93809
- "privacy": "private",
93810
- "return": {
93811
- "type": {
93812
- "text": "void"
93813
- }
93814
- },
93815
- "parameters": [
93816
- {
93817
- "name": "value",
93818
- "type": {
93819
- "text": "number"
93820
- }
93821
- }
93822
- ],
93823
- "description": "A `pageSize` change would trigger a `pageIndex` change via `willUpdate`;\nthis triggers a `ɵpage` event, but it's late for the `page` event,\nso the checks on the `pageIndex` changes are done here, and possibly the event is emitted."
93824
- },
93825
93702
  {
93826
93703
  "kind": "method",
93827
93704
  "name": "_renderItemPerPageTemplate",
@@ -94023,28 +93900,6 @@
94023
93900
  "module": "paginator/common/paginator-common.js"
94024
93901
  }
94025
93902
  },
94026
- {
94027
- "kind": "method",
94028
- "name": "changeAndEmitPage",
94029
- "privacy": "protected",
94030
- "return": {
94031
- "type": {
94032
- "text": "void"
94033
- }
94034
- },
94035
- "parameters": [
94036
- {
94037
- "name": "pageIndex",
94038
- "type": {
94039
- "text": "number"
94040
- }
94041
- }
94042
- ],
94043
- "inheritedFrom": {
94044
- "name": "SbbPaginatorCommonElementMixin",
94045
- "module": "paginator/common/paginator-common.js"
94046
- }
94047
- },
94048
93903
  {
94049
93904
  "kind": "method",
94050
93905
  "name": "nextPage",
@@ -94175,36 +94030,7 @@
94175
94030
  },
94176
94031
  {
94177
94032
  "kind": "method",
94178
- "name": "emitPageEvent",
94179
- "privacy": "protected",
94180
- "return": {
94181
- "type": {
94182
- "text": "void"
94183
- }
94184
- },
94185
- "parameters": [
94186
- {
94187
- "name": "previousPageIndex",
94188
- "type": {
94189
- "text": "number"
94190
- }
94191
- },
94192
- {
94193
- "name": "pageIndex",
94194
- "optional": true,
94195
- "type": {
94196
- "text": "number"
94197
- }
94198
- }
94199
- ],
94200
- "inheritedFrom": {
94201
- "name": "SbbPaginatorCommonElementMixin",
94202
- "module": "paginator/common/paginator-common.js"
94203
- }
94204
- },
94205
- {
94206
- "kind": "method",
94207
- "name": "_emitPrivatePageEvent",
94033
+ "name": "_emitPageEvent",
94208
94034
  "privacy": "private",
94209
94035
  "return": {
94210
94036
  "type": {
@@ -94496,7 +94322,7 @@
94496
94322
  "type": {
94497
94323
  "text": "CustomEvent<SbbPaginatorPageEventDetails>"
94498
94324
  },
94499
- "description": "The page event is dispatched whenever the user changes the page.",
94325
+ "description": "The page event is dispatched when the page index, length or page size changes.",
94500
94326
  "inheritedFrom": {
94501
94327
  "name": "SbbPaginatorCommonElementMixin",
94502
94328
  "module": "paginator/common/paginator-common.js"