@sbb-esta/lyne-elements 1.13.0 → 1.14.1

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 (889) hide show
  1. package/accordion/accordion.d.ts +4 -8
  2. package/accordion/accordion.d.ts.map +1 -1
  3. package/accordion.js +90 -81
  4. package/action-group/action-group.d.ts +5 -5
  5. package/action-group/action-group.d.ts.map +1 -1
  6. package/action-group.js +100 -50
  7. package/alert/alert/alert.d.ts +11 -11
  8. package/alert/alert/alert.d.ts.map +1 -1
  9. package/alert/alert-group/alert-group.d.ts +4 -4
  10. package/alert/alert-group/alert-group.d.ts.map +1 -1
  11. package/alert/alert-group.js +101 -69
  12. package/alert/alert.js +191 -104
  13. package/autocomplete/autocomplete-base-element.d.ts +3 -7
  14. package/autocomplete/autocomplete-base-element.d.ts.map +1 -1
  15. package/autocomplete/autocomplete.d.ts.map +1 -1
  16. package/autocomplete-grid/autocomplete-grid/autocomplete-grid.d.ts.map +1 -1
  17. package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.d.ts +1 -0
  18. package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.d.ts.map +1 -1
  19. package/autocomplete-grid/autocomplete-grid-button.js +53 -60
  20. package/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.d.ts.map +1 -1
  21. package/autocomplete-grid/autocomplete-grid-cell.js +20 -22
  22. package/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.d.ts.map +1 -1
  23. package/autocomplete-grid/autocomplete-grid-optgroup.js +31 -35
  24. package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.d.ts.map +1 -1
  25. package/autocomplete-grid/autocomplete-grid-option.js +45 -63
  26. package/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.d.ts.map +1 -1
  27. package/autocomplete-grid/autocomplete-grid-row.js +23 -25
  28. package/autocomplete-grid/autocomplete-grid.js +112 -133
  29. package/autocomplete.js +283 -295
  30. package/breadcrumb/breadcrumb/breadcrumb.d.ts +1 -1
  31. package/breadcrumb/breadcrumb/breadcrumb.d.ts.map +1 -1
  32. package/breadcrumb/breadcrumb-group/breadcrumb-group.d.ts.map +1 -1
  33. package/breadcrumb/breadcrumb-group.js +107 -114
  34. package/breadcrumb/breadcrumb.js +44 -35
  35. package/button/button/button.d.ts.map +1 -1
  36. package/button/button-link/button-link.d.ts.map +1 -1
  37. package/button/button-link.js +15 -18
  38. package/button/button-static/button-static.d.ts.map +1 -1
  39. package/button/button-static.js +15 -18
  40. package/button/button.js +15 -18
  41. package/button/common/button-common.d.ts +4 -4
  42. package/button/common/button-common.d.ts.map +1 -1
  43. package/button/common.js +41 -30
  44. package/button/mini-button/mini-button-base-element.d.ts.map +1 -1
  45. package/button/mini-button/mini-button.d.ts.map +1 -1
  46. package/button/mini-button-group/mini-button-group.d.ts +2 -2
  47. package/button/mini-button-group/mini-button-group.d.ts.map +1 -1
  48. package/button/mini-button-group.js +55 -43
  49. package/button/mini-button.js +30 -34
  50. package/button/secondary-button/secondary-button.d.ts.map +1 -1
  51. package/button/secondary-button-link/secondary-button-link.d.ts.map +1 -1
  52. package/button/secondary-button-link.js +15 -18
  53. package/button/secondary-button-static/secondary-button-static.d.ts.map +1 -1
  54. package/button/secondary-button-static.js +15 -18
  55. package/button/secondary-button.js +15 -18
  56. package/button/tertiary-button/tertiary-button.d.ts.map +1 -1
  57. package/button/tertiary-button-link/tertiary-button-link.d.ts.map +1 -1
  58. package/button/tertiary-button-link.js +15 -18
  59. package/button/tertiary-button-static/tertiary-button-static.d.ts.map +1 -1
  60. package/button/tertiary-button-static.js +15 -18
  61. package/button/tertiary-button.js +15 -18
  62. package/button/transparent-button/transparent-button.d.ts.map +1 -1
  63. package/button/transparent-button-link/transparent-button-link.d.ts.map +1 -1
  64. package/button/transparent-button-link.js +15 -18
  65. package/button/transparent-button-static/transparent-button-static.d.ts.map +1 -1
  66. package/button/transparent-button-static.js +15 -18
  67. package/button/transparent-button.js +15 -18
  68. package/calendar/calendar.d.ts +7 -7
  69. package/calendar/calendar.d.ts.map +1 -1
  70. package/calendar.js +644 -699
  71. package/card/card/card.d.ts +2 -2
  72. package/card/card/card.d.ts.map +1 -1
  73. package/card/card-badge/card-badge.d.ts +1 -1
  74. package/card/card-badge/card-badge.d.ts.map +1 -1
  75. package/card/card-badge.js +45 -34
  76. package/card/card-button/card-button.d.ts.map +1 -1
  77. package/card/card-button.js +16 -16
  78. package/card/card-link/card-link.d.ts.map +1 -1
  79. package/card/card-link.js +17 -17
  80. package/card/card.js +55 -36
  81. package/card/common/card-action-common.d.ts +1 -1
  82. package/card/common/card-action-common.d.ts.map +1 -1
  83. package/card/common.js +27 -33
  84. package/checkbox/checkbox/checkbox.d.ts +3 -4
  85. package/checkbox/checkbox/checkbox.d.ts.map +1 -1
  86. package/checkbox/checkbox-group/checkbox-group.d.ts +4 -4
  87. package/checkbox/checkbox-group/checkbox-group.d.ts.map +1 -1
  88. package/checkbox/checkbox-group.js +99 -76
  89. package/checkbox/checkbox-panel/checkbox-panel.d.ts +2 -3
  90. package/checkbox/checkbox-panel/checkbox-panel.d.ts.map +1 -1
  91. package/checkbox/checkbox-panel.js +51 -50
  92. package/checkbox/checkbox.js +54 -43
  93. package/checkbox/common/checkbox-common.d.ts +1 -1
  94. package/checkbox/common/checkbox-common.d.ts.map +1 -1
  95. package/checkbox/common.js +39 -24
  96. package/chip/chip.d.ts +2 -2
  97. package/chip/chip.d.ts.map +1 -1
  98. package/chip.js +45 -26
  99. package/clock/clock.d.ts +1 -1
  100. package/clock/clock.d.ts.map +1 -1
  101. package/clock.js +136 -144
  102. package/container/container/container.d.ts +3 -3
  103. package/container/container/container.d.ts.map +1 -1
  104. package/container/container.js +60 -35
  105. package/container/sticky-bar/sticky-bar.d.ts +1 -1
  106. package/container/sticky-bar/sticky-bar.d.ts.map +1 -1
  107. package/container/sticky-bar.js +55 -47
  108. package/core/a11y.js +29 -51
  109. package/core/base-elements/action-base-element.d.ts.map +1 -1
  110. package/core/base-elements/button-base-element.d.ts +2 -2
  111. package/core/base-elements/button-base-element.d.ts.map +1 -1
  112. package/core/base-elements/link-base-element.d.ts +5 -5
  113. package/core/base-elements/link-base-element.d.ts.map +1 -1
  114. package/core/base-elements.js +243 -196
  115. package/core/controllers.js +8 -13
  116. package/core/decorators/base.d.ts +14 -0
  117. package/core/decorators/base.d.ts.map +1 -0
  118. package/core/decorators/force-type.d.ts +8 -0
  119. package/core/decorators/force-type.d.ts.map +1 -0
  120. package/core/decorators/get-override.d.ts +7 -0
  121. package/core/decorators/get-override.d.ts.map +1 -0
  122. package/core/decorators/handle-distinct-change.d.ts +8 -0
  123. package/core/decorators/handle-distinct-change.d.ts.map +1 -0
  124. package/core/decorators/omit-empty-converter.d.ts +8 -0
  125. package/core/decorators/omit-empty-converter.d.ts.map +1 -0
  126. package/core/decorators.d.ts +4 -0
  127. package/core/decorators.d.ts.map +1 -1
  128. package/core/decorators.js +59 -15
  129. package/core/dom.js +1 -5
  130. package/core/eventing.js +1 -4
  131. package/core/interfaces/paginator-page.d.ts +7 -0
  132. package/core/interfaces/paginator-page.d.ts.map +1 -0
  133. package/core/interfaces.d.ts +1 -0
  134. package/core/interfaces.d.ts.map +1 -1
  135. package/core/mixins/disabled-mixin.d.ts +2 -3
  136. package/core/mixins/disabled-mixin.d.ts.map +1 -1
  137. package/core/mixins/named-slot-list-mixin.d.ts +1 -1
  138. package/core/mixins/named-slot-list-mixin.d.ts.map +1 -1
  139. package/core/mixins/negative-mixin.d.ts +1 -1
  140. package/core/mixins/negative-mixin.d.ts.map +1 -1
  141. package/core/mixins/panel-mixin.d.ts +3 -3
  142. package/core/mixins/panel-mixin.d.ts.map +1 -1
  143. package/core/mixins/required-mixin.d.ts +1 -2
  144. package/core/mixins/required-mixin.d.ts.map +1 -1
  145. package/core/mixins.js +290 -237
  146. package/core/testing/private.d.ts +1 -0
  147. package/core/testing/private.d.ts.map +1 -1
  148. package/core/testing.js +7 -13
  149. package/custom-elements.json +15974 -15154
  150. package/datepicker/common/datepicker-button.d.ts +2 -2
  151. package/datepicker/common/datepicker-button.d.ts.map +1 -1
  152. package/datepicker/common.js +110 -116
  153. package/datepicker/datepicker/datepicker.d.ts +6 -6
  154. package/datepicker/datepicker/datepicker.d.ts.map +1 -1
  155. package/datepicker/datepicker-next-day/datepicker-next-day.d.ts.map +1 -1
  156. package/datepicker/datepicker-next-day.js +24 -26
  157. package/datepicker/datepicker-previous-day/datepicker-previous-day.d.ts.map +1 -1
  158. package/datepicker/datepicker-previous-day.js +25 -27
  159. package/datepicker/datepicker-toggle/datepicker-toggle.d.ts +6 -6
  160. package/datepicker/datepicker-toggle/datepicker-toggle.d.ts.map +1 -1
  161. package/datepicker/datepicker-toggle.js +154 -136
  162. package/datepicker/datepicker.js +248 -213
  163. package/development/accordion/accordion.d.ts +4 -8
  164. package/development/accordion/accordion.d.ts.map +1 -1
  165. package/development/accordion.js +118 -93
  166. package/development/action-group/action-group.d.ts +5 -5
  167. package/development/action-group/action-group.d.ts.map +1 -1
  168. package/development/action-group.js +138 -64
  169. package/development/alert/alert/alert.d.ts +11 -11
  170. package/development/alert/alert/alert.d.ts.map +1 -1
  171. package/development/alert/alert-group/alert-group.d.ts +4 -4
  172. package/development/alert/alert-group/alert-group.d.ts.map +1 -1
  173. package/development/alert/alert-group.js +135 -79
  174. package/development/alert/alert.js +259 -109
  175. package/development/autocomplete/autocomplete-base-element.d.ts +3 -7
  176. package/development/autocomplete/autocomplete-base-element.d.ts.map +1 -1
  177. package/development/autocomplete/autocomplete.d.ts.map +1 -1
  178. package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.d.ts.map +1 -1
  179. package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.d.ts +1 -0
  180. package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.d.ts.map +1 -1
  181. package/development/autocomplete-grid/autocomplete-grid-button.js +74 -75
  182. package/development/autocomplete-grid/autocomplete-grid-cell/autocomplete-grid-cell.d.ts.map +1 -1
  183. package/development/autocomplete-grid/autocomplete-grid-cell.js +24 -24
  184. package/development/autocomplete-grid/autocomplete-grid-optgroup/autocomplete-grid-optgroup.d.ts.map +1 -1
  185. package/development/autocomplete-grid/autocomplete-grid-optgroup.js +38 -39
  186. package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.d.ts.map +1 -1
  187. package/development/autocomplete-grid/autocomplete-grid-option.js +57 -73
  188. package/development/autocomplete-grid/autocomplete-grid-row/autocomplete-grid-row.d.ts.map +1 -1
  189. package/development/autocomplete-grid/autocomplete-grid-row.js +28 -28
  190. package/development/autocomplete-grid/autocomplete-grid.js +142 -160
  191. package/development/autocomplete.js +394 -393
  192. package/development/breadcrumb/breadcrumb/breadcrumb.d.ts +1 -1
  193. package/development/breadcrumb/breadcrumb/breadcrumb.d.ts.map +1 -1
  194. package/development/breadcrumb/breadcrumb-group/breadcrumb-group.d.ts.map +1 -1
  195. package/development/breadcrumb/breadcrumb-group.js +130 -130
  196. package/development/breadcrumb/breadcrumb.js +53 -36
  197. package/development/button/button/button.d.ts.map +1 -1
  198. package/development/button/button-link/button-link.d.ts.map +1 -1
  199. package/development/button/button-link.js +18 -19
  200. package/development/button/button-static/button-static.d.ts.map +1 -1
  201. package/development/button/button-static.js +18 -19
  202. package/development/button/button.js +18 -19
  203. package/development/button/common/button-common.d.ts +4 -4
  204. package/development/button/common/button-common.d.ts.map +1 -1
  205. package/development/button/common.js +50 -29
  206. package/development/button/mini-button/mini-button-base-element.d.ts.map +1 -1
  207. package/development/button/mini-button/mini-button.d.ts.map +1 -1
  208. package/development/button/mini-button-group/mini-button-group.d.ts +2 -2
  209. package/development/button/mini-button-group/mini-button-group.d.ts.map +1 -1
  210. package/development/button/mini-button-group.js +77 -50
  211. package/development/button/mini-button.js +38 -37
  212. package/development/button/secondary-button/secondary-button.d.ts.map +1 -1
  213. package/development/button/secondary-button-link/secondary-button-link.d.ts.map +1 -1
  214. package/development/button/secondary-button-link.js +18 -19
  215. package/development/button/secondary-button-static/secondary-button-static.d.ts.map +1 -1
  216. package/development/button/secondary-button-static.js +18 -19
  217. package/development/button/secondary-button.js +18 -19
  218. package/development/button/tertiary-button/tertiary-button.d.ts.map +1 -1
  219. package/development/button/tertiary-button-link/tertiary-button-link.d.ts.map +1 -1
  220. package/development/button/tertiary-button-link.js +18 -19
  221. package/development/button/tertiary-button-static/tertiary-button-static.d.ts.map +1 -1
  222. package/development/button/tertiary-button-static.js +18 -19
  223. package/development/button/tertiary-button.js +18 -19
  224. package/development/button/transparent-button/transparent-button.d.ts.map +1 -1
  225. package/development/button/transparent-button-link/transparent-button-link.d.ts.map +1 -1
  226. package/development/button/transparent-button-link.js +18 -19
  227. package/development/button/transparent-button-static/transparent-button-static.d.ts.map +1 -1
  228. package/development/button/transparent-button-static.js +18 -19
  229. package/development/button/transparent-button.js +18 -19
  230. package/development/calendar/calendar.d.ts +7 -7
  231. package/development/calendar/calendar.d.ts.map +1 -1
  232. package/development/calendar.js +774 -773
  233. package/development/card/card/card.d.ts +2 -2
  234. package/development/card/card/card.d.ts.map +1 -1
  235. package/development/card/card-badge/card-badge.d.ts +1 -1
  236. package/development/card/card-badge/card-badge.d.ts.map +1 -1
  237. package/development/card/card-badge.js +65 -45
  238. package/development/card/card-button/card-button.d.ts.map +1 -1
  239. package/development/card/card-button.js +23 -20
  240. package/development/card/card-link/card-link.d.ts.map +1 -1
  241. package/development/card/card-link.js +23 -20
  242. package/development/card/card.js +72 -41
  243. package/development/card/common/card-action-common.d.ts +1 -1
  244. package/development/card/common/card-action-common.d.ts.map +1 -1
  245. package/development/card/common.js +74 -73
  246. package/development/checkbox/checkbox/checkbox.d.ts +3 -4
  247. package/development/checkbox/checkbox/checkbox.d.ts.map +1 -1
  248. package/development/checkbox/checkbox-group/checkbox-group.d.ts +4 -4
  249. package/development/checkbox/checkbox-group/checkbox-group.d.ts.map +1 -1
  250. package/development/checkbox/checkbox-group.js +139 -92
  251. package/development/checkbox/checkbox-panel/checkbox-panel.d.ts +2 -3
  252. package/development/checkbox/checkbox-panel/checkbox-panel.d.ts.map +1 -1
  253. package/development/checkbox/checkbox-panel.js +68 -60
  254. package/development/checkbox/checkbox.js +69 -46
  255. package/development/checkbox/common/checkbox-common.d.ts +1 -1
  256. package/development/checkbox/common/checkbox-common.d.ts.map +1 -1
  257. package/development/checkbox/common.js +65 -46
  258. package/development/chip/chip.d.ts +2 -2
  259. package/development/chip/chip.d.ts.map +1 -1
  260. package/development/chip.js +64 -33
  261. package/development/clock/clock.d.ts +1 -1
  262. package/development/clock/clock.d.ts.map +1 -1
  263. package/development/clock.js +203 -201
  264. package/development/container/container/container.d.ts +3 -3
  265. package/development/container/container/container.d.ts.map +1 -1
  266. package/development/container/container.js +86 -45
  267. package/development/container/sticky-bar/sticky-bar.d.ts +1 -1
  268. package/development/container/sticky-bar/sticky-bar.d.ts.map +1 -1
  269. package/development/container/sticky-bar.js +76 -58
  270. package/development/core/a11y.js +40 -62
  271. package/development/core/base-elements/action-base-element.d.ts.map +1 -1
  272. package/development/core/base-elements/button-base-element.d.ts +2 -2
  273. package/development/core/base-elements/button-base-element.d.ts.map +1 -1
  274. package/development/core/base-elements/link-base-element.d.ts +5 -5
  275. package/development/core/base-elements/link-base-element.d.ts.map +1 -1
  276. package/development/core/base-elements.js +329 -226
  277. package/development/core/config.js +1 -1
  278. package/development/core/controllers.js +13 -21
  279. package/development/core/datetime.js +1 -1
  280. package/development/core/decorators/base.d.ts +14 -0
  281. package/development/core/decorators/base.d.ts.map +1 -0
  282. package/development/core/decorators/force-type.d.ts +8 -0
  283. package/development/core/decorators/force-type.d.ts.map +1 -0
  284. package/development/core/decorators/get-override.d.ts +7 -0
  285. package/development/core/decorators/get-override.d.ts.map +1 -0
  286. package/development/core/decorators/handle-distinct-change.d.ts +8 -0
  287. package/development/core/decorators/handle-distinct-change.d.ts.map +1 -0
  288. package/development/core/decorators/omit-empty-converter.d.ts +8 -0
  289. package/development/core/decorators/omit-empty-converter.d.ts.map +1 -0
  290. package/development/core/decorators.d.ts +4 -0
  291. package/development/core/decorators.d.ts.map +1 -1
  292. package/development/core/decorators.js +69 -5
  293. package/development/core/dom.js +2 -6
  294. package/development/core/eventing.js +2 -5
  295. package/development/core/i18n.js +1 -1
  296. package/development/core/interfaces/paginator-page.d.ts +7 -0
  297. package/development/core/interfaces/paginator-page.d.ts.map +1 -0
  298. package/development/core/interfaces.d.ts +1 -0
  299. package/development/core/interfaces.d.ts.map +1 -1
  300. package/development/core/mixins/disabled-mixin.d.ts +2 -3
  301. package/development/core/mixins/disabled-mixin.d.ts.map +1 -1
  302. package/development/core/mixins/named-slot-list-mixin.d.ts +1 -1
  303. package/development/core/mixins/named-slot-list-mixin.d.ts.map +1 -1
  304. package/development/core/mixins/negative-mixin.d.ts +1 -1
  305. package/development/core/mixins/negative-mixin.d.ts.map +1 -1
  306. package/development/core/mixins/panel-mixin.d.ts +3 -3
  307. package/development/core/mixins/panel-mixin.d.ts.map +1 -1
  308. package/development/core/mixins/required-mixin.d.ts +1 -2
  309. package/development/core/mixins/required-mixin.d.ts.map +1 -1
  310. package/development/core/mixins.js +573 -475
  311. package/development/core/observers.js +1 -1
  312. package/development/core/overlay.js +1 -1
  313. package/development/core/testing/private.d.ts +1 -0
  314. package/development/core/testing/private.d.ts.map +1 -1
  315. package/development/core/testing.js +16 -22
  316. package/development/datepicker/common/datepicker-button.d.ts +2 -2
  317. package/development/datepicker/common/datepicker-button.d.ts.map +1 -1
  318. package/development/datepicker/common.js +144 -142
  319. package/development/datepicker/datepicker/datepicker.d.ts +6 -6
  320. package/development/datepicker/datepicker/datepicker.d.ts.map +1 -1
  321. package/development/datepicker/datepicker-next-day/datepicker-next-day.d.ts.map +1 -1
  322. package/development/datepicker/datepicker-next-day.js +32 -32
  323. package/development/datepicker/datepicker-previous-day/datepicker-previous-day.d.ts.map +1 -1
  324. package/development/datepicker/datepicker-previous-day.js +32 -32
  325. package/development/datepicker/datepicker-toggle/datepicker-toggle.d.ts +6 -6
  326. package/development/datepicker/datepicker-toggle/datepicker-toggle.d.ts.map +1 -1
  327. package/development/datepicker/datepicker-toggle.js +227 -174
  328. package/development/datepicker/datepicker.js +327 -249
  329. package/development/dialog/dialog/dialog.d.ts +1 -1
  330. package/development/dialog/dialog/dialog.d.ts.map +1 -1
  331. package/development/dialog/dialog-actions/dialog-actions.d.ts.map +1 -1
  332. package/development/dialog/dialog-actions.js +21 -20
  333. package/development/dialog/dialog-content/dialog-content.d.ts.map +1 -1
  334. package/development/dialog/dialog-content.js +22 -21
  335. package/development/dialog/dialog-title/dialog-title.d.ts +3 -3
  336. package/development/dialog/dialog-title/dialog-title.d.ts.map +1 -1
  337. package/development/dialog/dialog-title.js +121 -66
  338. package/development/dialog/dialog.js +205 -191
  339. package/development/divider/divider.d.ts +1 -1
  340. package/development/divider/divider.d.ts.map +1 -1
  341. package/development/divider.js +55 -36
  342. package/development/expansion-panel/expansion-panel/expansion-panel.d.ts +4 -4
  343. package/development/expansion-panel/expansion-panel/expansion-panel.d.ts.map +1 -1
  344. package/development/expansion-panel/expansion-panel-content/expansion-panel-content.d.ts.map +1 -1
  345. package/development/expansion-panel/expansion-panel-content.js +25 -25
  346. package/development/expansion-panel/expansion-panel-header/expansion-panel-header.d.ts +1 -1
  347. package/development/expansion-panel/expansion-panel-header/expansion-panel-header.d.ts.map +1 -1
  348. package/development/expansion-panel/expansion-panel-header.js +56 -63
  349. package/development/expansion-panel/expansion-panel.js +227 -182
  350. package/development/file-selector/file-selector.d.ts +8 -7
  351. package/development/file-selector/file-selector.d.ts.map +1 -1
  352. package/development/file-selector.js +295 -198
  353. package/development/flip-card/flip-card/flip-card.d.ts +2 -2
  354. package/development/flip-card/flip-card/flip-card.d.ts.map +1 -1
  355. package/development/flip-card/flip-card-details/flip-card-details.d.ts.map +1 -1
  356. package/development/flip-card/flip-card-details.js +39 -39
  357. package/development/flip-card/flip-card-summary/flip-card-summary.d.ts +1 -1
  358. package/development/flip-card/flip-card-summary/flip-card-summary.d.ts.map +1 -1
  359. package/development/flip-card/flip-card-summary.js +57 -38
  360. package/development/flip-card/flip-card.js +110 -78
  361. package/development/footer/footer.d.ts +4 -4
  362. package/development/footer/footer.d.ts.map +1 -1
  363. package/development/footer.js +103 -41
  364. package/development/form-error/form-error.d.ts.map +1 -1
  365. package/development/form-error.js +29 -28
  366. package/development/form-field/form-field/form-field.d.ts +10 -10
  367. package/development/form-field/form-field/form-field.d.ts.map +1 -1
  368. package/development/form-field/form-field-clear/form-field-clear.d.ts.map +1 -1
  369. package/development/form-field/form-field-clear.js +50 -50
  370. package/development/form-field/form-field.js +439 -328
  371. package/development/header/common/header-action-common.d.ts +2 -2
  372. package/development/header/common/header-action-common.d.ts.map +1 -1
  373. package/development/header/common.js +44 -24
  374. package/development/header/header/header.d.ts +4 -4
  375. package/development/header/header/header.d.ts.map +1 -1
  376. package/development/header/header-button/header-button.d.ts.map +1 -1
  377. package/development/header/header-button.js +19 -18
  378. package/development/header/header-link/header-link.d.ts.map +1 -1
  379. package/development/header/header-link.js +19 -16
  380. package/development/header/header.js +198 -140
  381. package/development/icon/icon-base.d.ts +3 -4
  382. package/development/icon/icon-base.d.ts.map +1 -1
  383. package/development/icon/icon-name-mixin.d.ts +1 -1
  384. package/development/icon/icon-name-mixin.d.ts.map +1 -1
  385. package/development/icon/icon.d.ts +2 -2
  386. package/development/icon/icon.d.ts.map +1 -1
  387. package/development/icon.js +258 -157
  388. package/development/image/image.d.ts +17 -17
  389. package/development/image/image.d.ts.map +1 -1
  390. package/development/image.js +584 -216
  391. package/development/journey-header/journey-header.d.ts +5 -5
  392. package/development/journey-header/journey-header.d.ts.map +1 -1
  393. package/development/journey-header.js +115 -43
  394. package/development/lead-container/lead-container.d.ts.map +1 -1
  395. package/development/lead-container.js +22 -21
  396. package/development/link/block-link/block-link.d.ts.map +1 -1
  397. package/development/link/block-link-button/block-link-button.d.ts.map +1 -1
  398. package/development/link/block-link-button.js +19 -18
  399. package/development/link/block-link-static/block-link-static.d.ts.map +1 -1
  400. package/development/link/block-link-static.js +19 -18
  401. package/development/link/block-link.js +19 -18
  402. package/development/link/common/block-link-common.d.ts +4 -3
  403. package/development/link/common/block-link-common.d.ts.map +1 -1
  404. package/development/link/common/link-common.d.ts +1 -1
  405. package/development/link/common/link-common.d.ts.map +1 -1
  406. package/development/link/common.js +81 -51
  407. package/development/link/link/link.d.ts.map +1 -1
  408. package/development/link/link-button/link-button.d.ts.map +1 -1
  409. package/development/link/link-button.js +19 -18
  410. package/development/link/link-static/link-static.d.ts.map +1 -1
  411. package/development/link/link-static.js +19 -18
  412. package/development/link/link.js +19 -18
  413. package/development/link-list/common/link-list-base.d.ts +3 -3
  414. package/development/link-list/common/link-list-base.d.ts.map +1 -1
  415. package/development/link-list/common.js +97 -48
  416. package/development/link-list/link-list/link-list.d.ts +2 -2
  417. package/development/link-list/link-list/link-list.d.ts.map +1 -1
  418. package/development/link-list/link-list-anchor/link-list-anchor.d.ts.map +1 -1
  419. package/development/link-list/link-list-anchor.js +18 -17
  420. package/development/link-list/link-list.js +60 -28
  421. package/development/loading-indicator/loading-indicator.d.ts +3 -3
  422. package/development/loading-indicator/loading-indicator.d.ts.map +1 -1
  423. package/development/loading-indicator.js +82 -40
  424. package/development/logo/logo.d.ts +2 -2
  425. package/development/logo/logo.d.ts.map +1 -1
  426. package/development/logo.js +64 -32
  427. package/development/map-container/map-container.d.ts +2 -2
  428. package/development/map-container/map-container.d.ts.map +1 -1
  429. package/development/map-container.js +107 -75
  430. package/development/menu/common/menu-action-common.d.ts +2 -2
  431. package/development/menu/common/menu-action-common.d.ts.map +1 -1
  432. package/development/menu/common.js +41 -20
  433. package/development/menu/menu/menu.d.ts +1 -1
  434. package/development/menu/menu/menu.d.ts.map +1 -1
  435. package/development/menu/menu-button/menu-button.d.ts.map +1 -1
  436. package/development/menu/menu-button.js +19 -18
  437. package/development/menu/menu-link/menu-link.d.ts.map +1 -1
  438. package/development/menu/menu-link.js +19 -18
  439. package/development/menu/menu.js +261 -241
  440. package/development/message/message.d.ts +2 -2
  441. package/development/message/message.d.ts.map +1 -1
  442. package/development/message.js +65 -32
  443. package/development/navigation/common/navigation-action-common.d.ts +1 -1
  444. package/development/navigation/common/navigation-action-common.d.ts.map +1 -1
  445. package/development/navigation/common.js +63 -52
  446. package/development/navigation/navigation/navigation.d.ts +2 -2
  447. package/development/navigation/navigation/navigation.d.ts.map +1 -1
  448. package/development/navigation/navigation-button/navigation-button.d.ts.map +1 -1
  449. package/development/navigation/navigation-button.js +19 -18
  450. package/development/navigation/navigation-link/navigation-link.d.ts.map +1 -1
  451. package/development/navigation/navigation-link.js +19 -18
  452. package/development/navigation/navigation-list/navigation-list.d.ts +1 -1
  453. package/development/navigation/navigation-list/navigation-list.d.ts.map +1 -1
  454. package/development/navigation/navigation-list.js +64 -41
  455. package/development/navigation/navigation-marker/navigation-marker.d.ts +1 -1
  456. package/development/navigation/navigation-marker/navigation-marker.d.ts.map +1 -1
  457. package/development/navigation/navigation-marker.js +108 -91
  458. package/development/navigation/navigation-section/navigation-section.d.ts +3 -3
  459. package/development/navigation/navigation-section/navigation-section.d.ts.map +1 -1
  460. package/development/navigation/navigation-section.js +282 -236
  461. package/development/navigation/navigation.js +278 -254
  462. package/development/notification/notification.d.ts +6 -6
  463. package/development/notification/notification.d.ts.map +1 -1
  464. package/development/notification.js +212 -146
  465. package/development/option/optgroup/optgroup-base-element.d.ts +3 -3
  466. package/development/option/optgroup/optgroup-base-element.d.ts.map +1 -1
  467. package/development/option/optgroup/optgroup.d.ts.map +1 -1
  468. package/development/option/optgroup.js +187 -142
  469. package/development/option/option/option-base-element.d.ts +7 -7
  470. package/development/option/option/option-base-element.d.ts.map +1 -1
  471. package/development/option/option/option.d.ts.map +1 -1
  472. package/development/option/option.js +392 -296
  473. package/development/overlay/overlay-base-element.d.ts +1 -1
  474. package/development/overlay/overlay-base-element.d.ts.map +1 -1
  475. package/development/overlay/overlay.d.ts +4 -4
  476. package/development/overlay/overlay.d.ts.map +1 -1
  477. package/development/overlay.js +260 -207
  478. package/development/paginator/common/paginator-common.d.ts +26 -0
  479. package/development/paginator/common/paginator-common.d.ts.map +1 -0
  480. package/development/paginator/common.d.ts +2 -0
  481. package/development/paginator/common.d.ts.map +1 -0
  482. package/development/paginator/common.js +189 -0
  483. package/development/paginator/compact-paginator/compact-paginator.d.ts +20 -0
  484. package/development/paginator/compact-paginator/compact-paginator.d.ts.map +1 -0
  485. package/development/paginator/compact-paginator.d.ts +2 -0
  486. package/development/paginator/compact-paginator.d.ts.map +1 -0
  487. package/development/paginator/compact-paginator.js +96 -0
  488. package/development/paginator/paginator/paginator.d.ts +51 -0
  489. package/development/paginator/paginator/paginator.d.ts.map +1 -0
  490. package/development/paginator/paginator.d.ts +1 -90
  491. package/development/paginator/paginator.d.ts.map +1 -1
  492. package/development/paginator/paginator.js +449 -0
  493. package/development/paginator.d.ts +2 -0
  494. package/development/paginator.d.ts.map +1 -1
  495. package/development/paginator.js +4 -541
  496. package/development/popover/popover/popover.d.ts +6 -7
  497. package/development/popover/popover/popover.d.ts.map +1 -1
  498. package/development/popover/popover-trigger/popover-trigger.d.ts.map +1 -1
  499. package/development/popover/popover-trigger.js +28 -29
  500. package/development/popover/popover.js +358 -303
  501. package/development/radio-button/common/radio-button-common.d.ts +1 -1
  502. package/development/radio-button/common/radio-button-common.d.ts.map +1 -1
  503. package/development/radio-button/common.js +170 -127
  504. package/development/radio-button/radio-button/radio-button.d.ts +2 -6
  505. package/development/radio-button/radio-button/radio-button.d.ts.map +1 -1
  506. package/development/radio-button/radio-button-group/radio-button-group.d.ts +6 -6
  507. package/development/radio-button/radio-button-group/radio-button-group.d.ts.map +1 -1
  508. package/development/radio-button/radio-button-group.js +269 -199
  509. package/development/radio-button/radio-button-panel/radio-button-panel.d.ts +2 -6
  510. package/development/radio-button/radio-button-panel/radio-button-panel.d.ts.map +1 -1
  511. package/development/radio-button/radio-button-panel.js +60 -48
  512. package/development/radio-button/radio-button.js +54 -40
  513. package/development/screen-reader-only/screen-reader-only.d.ts.map +1 -1
  514. package/development/screen-reader-only.js +22 -21
  515. package/development/select/select.d.ts +5 -4
  516. package/development/select/select.d.ts.map +1 -1
  517. package/development/select.js +555 -555
  518. package/development/selection-expansion-panel/selection-expansion-panel.d.ts +3 -3
  519. package/development/selection-expansion-panel/selection-expansion-panel.d.ts.map +1 -1
  520. package/development/selection-expansion-panel.js +223 -193
  521. package/development/signet/signet.d.ts +2 -2
  522. package/development/signet/signet.d.ts.map +1 -1
  523. package/development/signet.js +65 -33
  524. package/development/skiplink-list/skiplink-list.d.ts +2 -2
  525. package/development/skiplink-list/skiplink-list.d.ts.map +1 -1
  526. package/development/skiplink-list.js +74 -41
  527. package/development/slider/slider.d.ts +5 -4
  528. package/development/slider/slider.d.ts.map +1 -1
  529. package/development/slider.js +260 -184
  530. package/development/status/status.d.ts +3 -3
  531. package/development/status/status.d.ts.map +1 -1
  532. package/development/status.js +96 -51
  533. package/development/stepper/step/step.d.ts.map +1 -1
  534. package/development/stepper/step-label/step-label.d.ts.map +1 -1
  535. package/development/stepper/step-label.js +86 -90
  536. package/development/stepper/step.js +122 -126
  537. package/development/stepper/stepper/stepper.d.ts +3 -3
  538. package/development/stepper/stepper/stepper.d.ts.map +1 -1
  539. package/development/stepper/stepper.js +291 -241
  540. package/development/table/table-wrapper/table-wrapper.d.ts.map +1 -1
  541. package/development/table/table-wrapper.js +37 -39
  542. package/development/tabs/tab/tab.d.ts.map +1 -1
  543. package/development/tabs/tab-group/tab-group.d.ts +2 -2
  544. package/development/tabs/tab-group/tab-group.d.ts.map +1 -1
  545. package/development/tabs/tab-group.js +296 -279
  546. package/development/tabs/tab-label/tab-label.d.ts +3 -3
  547. package/development/tabs/tab-label/tab-label.d.ts.map +1 -1
  548. package/development/tabs/tab-label.js +83 -37
  549. package/development/tabs/tab.js +40 -39
  550. package/development/tag/tag/tag.d.ts +3 -5
  551. package/development/tag/tag/tag.d.ts.map +1 -1
  552. package/development/tag/tag-group/tag-group.d.ts +3 -3
  553. package/development/tag/tag-group/tag-group.d.ts.map +1 -1
  554. package/development/tag/tag-group.js +143 -88
  555. package/development/tag/tag.js +126 -89
  556. package/development/teaser/teaser.d.ts +4 -4
  557. package/development/teaser/teaser.d.ts.map +1 -1
  558. package/development/teaser-hero/teaser-hero.d.ts +3 -3
  559. package/development/teaser-hero/teaser-hero.d.ts.map +1 -1
  560. package/development/teaser-hero.js +83 -36
  561. package/development/teaser-product/common/teaser-product-common.d.ts +1 -1
  562. package/development/teaser-product/common/teaser-product-common.d.ts.map +1 -1
  563. package/development/teaser-product/common.js +51 -26
  564. package/development/teaser-product/teaser-product/teaser-product.d.ts.map +1 -1
  565. package/development/teaser-product/teaser-product-static/teaser-product-static.d.ts.map +1 -1
  566. package/development/teaser-product/teaser-product-static.js +18 -19
  567. package/development/teaser-product/teaser-product.js +18 -19
  568. package/development/teaser.js +94 -40
  569. package/development/time-input/time-input.d.ts +1 -1
  570. package/development/time-input/time-input.d.ts.map +1 -1
  571. package/development/time-input.js +225 -219
  572. package/development/timetable-occupancy/timetable-occupancy.d.ts +2 -2
  573. package/development/timetable-occupancy/timetable-occupancy.d.ts.map +1 -1
  574. package/development/timetable-occupancy-icon/timetable-occupancy-icon.d.ts +1 -1
  575. package/development/timetable-occupancy-icon/timetable-occupancy-icon.d.ts.map +1 -1
  576. package/development/timetable-occupancy-icon.js +78 -57
  577. package/development/timetable-occupancy.js +67 -35
  578. package/development/title/title-base.d.ts +3 -3
  579. package/development/title/title-base.d.ts.map +1 -1
  580. package/development/title/title.d.ts.map +1 -1
  581. package/development/title.js +106 -58
  582. package/development/toast/toast.d.ts +4 -4
  583. package/development/toast/toast.d.ts.map +1 -1
  584. package/development/toast.js +204 -146
  585. package/development/toggle/toggle/toggle.d.ts +3 -5
  586. package/development/toggle/toggle/toggle.d.ts.map +1 -1
  587. package/development/toggle/toggle-option/toggle-option.d.ts +2 -2
  588. package/development/toggle/toggle-option/toggle-option.d.ts.map +1 -1
  589. package/development/toggle/toggle-option.js +127 -93
  590. package/development/toggle/toggle.js +200 -163
  591. package/development/toggle-check/toggle-check.d.ts +4 -3
  592. package/development/toggle-check/toggle-check.d.ts.map +1 -1
  593. package/development/toggle-check.js +87 -49
  594. package/development/train/train/train.d.ts +5 -5
  595. package/development/train/train/train.d.ts.map +1 -1
  596. package/development/train/train-blocked-passage/train-blocked-passage.d.ts.map +1 -1
  597. package/development/train/train-blocked-passage.js +22 -21
  598. package/development/train/train-formation/train-formation.d.ts +2 -2
  599. package/development/train/train-formation/train-formation.d.ts.map +1 -1
  600. package/development/train/train-formation.js +113 -90
  601. package/development/train/train-wagon/train-wagon.d.ts +7 -9
  602. package/development/train/train-wagon/train-wagon.d.ts.map +1 -1
  603. package/development/train/train-wagon.js +166 -87
  604. package/development/train/train.js +142 -75
  605. package/development/visual-checkbox/visual-checkbox.d.ts +3 -3
  606. package/development/visual-checkbox/visual-checkbox.d.ts.map +1 -1
  607. package/development/visual-checkbox.js +79 -36
  608. package/dialog/dialog/dialog.d.ts +1 -1
  609. package/dialog/dialog/dialog.d.ts.map +1 -1
  610. package/dialog/dialog-actions/dialog-actions.d.ts.map +1 -1
  611. package/dialog/dialog-actions.js +18 -19
  612. package/dialog/dialog-content/dialog-content.d.ts.map +1 -1
  613. package/dialog/dialog-content.js +17 -18
  614. package/dialog/dialog-title/dialog-title.d.ts +3 -3
  615. package/dialog/dialog-title/dialog-title.d.ts.map +1 -1
  616. package/dialog/dialog-title.js +98 -66
  617. package/dialog/dialog.js +120 -114
  618. package/divider/divider.d.ts +1 -1
  619. package/divider/divider.d.ts.map +1 -1
  620. package/divider.js +41 -30
  621. package/expansion-panel/expansion-panel/expansion-panel.d.ts +4 -4
  622. package/expansion-panel/expansion-panel/expansion-panel.d.ts.map +1 -1
  623. package/expansion-panel/expansion-panel-content/expansion-panel-content.d.ts.map +1 -1
  624. package/expansion-panel/expansion-panel-content.js +20 -22
  625. package/expansion-panel/expansion-panel-header/expansion-panel-header.d.ts +1 -1
  626. package/expansion-panel/expansion-panel-header/expansion-panel-header.d.ts.map +1 -1
  627. package/expansion-panel/expansion-panel-header.js +53 -61
  628. package/expansion-panel/expansion-panel.js +145 -130
  629. package/file-selector/file-selector.d.ts +8 -7
  630. package/file-selector/file-selector.d.ts.map +1 -1
  631. package/file-selector.js +224 -174
  632. package/flip-card/flip-card/flip-card.d.ts +2 -2
  633. package/flip-card/flip-card/flip-card.d.ts.map +1 -1
  634. package/flip-card/flip-card-details/flip-card-details.d.ts.map +1 -1
  635. package/flip-card/flip-card-details.js +36 -38
  636. package/flip-card/flip-card-summary/flip-card-summary.d.ts +1 -1
  637. package/flip-card/flip-card-summary/flip-card-summary.d.ts.map +1 -1
  638. package/flip-card/flip-card-summary.js +42 -31
  639. package/flip-card/flip-card.js +88 -69
  640. package/footer/footer.d.ts +4 -4
  641. package/footer/footer.d.ts.map +1 -1
  642. package/footer.js +78 -37
  643. package/form-error/form-error.d.ts.map +1 -1
  644. package/form-error.js +24 -25
  645. package/form-field/form-field/form-field.d.ts +10 -10
  646. package/form-field/form-field/form-field.d.ts.map +1 -1
  647. package/form-field/form-field-clear/form-field-clear.d.ts.map +1 -1
  648. package/form-field/form-field-clear.js +39 -41
  649. package/form-field/form-field.js +295 -239
  650. package/header/common/header-action-common.d.ts +2 -2
  651. package/header/common/header-action-common.d.ts.map +1 -1
  652. package/header/common.js +36 -21
  653. package/header/header/header.d.ts +4 -4
  654. package/header/header/header.d.ts.map +1 -1
  655. package/header/header-button/header-button.d.ts.map +1 -1
  656. package/header/header-button.js +14 -16
  657. package/header/header-link/header-link.d.ts.map +1 -1
  658. package/header/header-link.js +14 -14
  659. package/header/header.js +138 -109
  660. package/icon/icon-base.d.ts +3 -4
  661. package/icon/icon-base.d.ts.map +1 -1
  662. package/icon/icon-name-mixin.d.ts +1 -1
  663. package/icon/icon-name-mixin.d.ts.map +1 -1
  664. package/icon/icon.d.ts +2 -2
  665. package/icon/icon.d.ts.map +1 -1
  666. package/icon.js +230 -165
  667. package/image/image.d.ts +17 -17
  668. package/image/image.d.ts.map +1 -1
  669. package/image.js +465 -195
  670. package/index.d.ts +3 -1
  671. package/index.js +3 -1
  672. package/journey-header/journey-header.d.ts +5 -5
  673. package/journey-header/journey-header.d.ts.map +1 -1
  674. package/journey-header.js +89 -49
  675. package/lead-container/lead-container.d.ts.map +1 -1
  676. package/lead-container.js +17 -18
  677. package/link/block-link/block-link.d.ts.map +1 -1
  678. package/link/block-link-button/block-link-button.d.ts.map +1 -1
  679. package/link/block-link-button.js +15 -17
  680. package/link/block-link-static/block-link-static.d.ts.map +1 -1
  681. package/link/block-link-static.js +14 -16
  682. package/link/block-link.js +15 -17
  683. package/link/common/block-link-common.d.ts +4 -3
  684. package/link/common/block-link-common.d.ts.map +1 -1
  685. package/link/common/link-common.d.ts +1 -1
  686. package/link/common/link-common.d.ts.map +1 -1
  687. package/link/common.js +64 -46
  688. package/link/link/link.d.ts.map +1 -1
  689. package/link/link-button/link-button.d.ts.map +1 -1
  690. package/link/link-button.js +15 -17
  691. package/link/link-static/link-static.d.ts.map +1 -1
  692. package/link/link-static.js +15 -17
  693. package/link/link.js +15 -17
  694. package/link-list/common/link-list-base.d.ts +3 -3
  695. package/link-list/common/link-list-base.d.ts.map +1 -1
  696. package/link-list/common.js +72 -44
  697. package/link-list/link-list/link-list.d.ts +2 -2
  698. package/link-list/link-list/link-list.d.ts.map +1 -1
  699. package/link-list/link-list-anchor/link-list-anchor.d.ts.map +1 -1
  700. package/link-list/link-list-anchor.js +15 -16
  701. package/link-list/link-list.js +43 -24
  702. package/loading-indicator/loading-indicator.d.ts +3 -3
  703. package/loading-indicator/loading-indicator.d.ts.map +1 -1
  704. package/loading-indicator.js +61 -36
  705. package/logo/logo.d.ts +2 -2
  706. package/logo/logo.d.ts.map +1 -1
  707. package/logo.js +47 -27
  708. package/map-container/map-container.d.ts +2 -2
  709. package/map-container/map-container.d.ts.map +1 -1
  710. package/map-container.js +84 -65
  711. package/menu/common/menu-action-common.d.ts +2 -2
  712. package/menu/common/menu-action-common.d.ts.map +1 -1
  713. package/menu/common.js +37 -22
  714. package/menu/menu/menu.d.ts +1 -1
  715. package/menu/menu/menu.d.ts.map +1 -1
  716. package/menu/menu-button/menu-button.d.ts.map +1 -1
  717. package/menu/menu-button.js +14 -16
  718. package/menu/menu-link/menu-link.d.ts.map +1 -1
  719. package/menu/menu-link.js +15 -17
  720. package/menu/menu.js +175 -170
  721. package/message/message.d.ts +2 -2
  722. package/message/message.d.ts.map +1 -1
  723. package/message.js +47 -27
  724. package/navigation/common/navigation-action-common.d.ts +1 -1
  725. package/navigation/common/navigation-action-common.d.ts.map +1 -1
  726. package/navigation/common.js +38 -33
  727. package/navigation/navigation/navigation.d.ts +2 -2
  728. package/navigation/navigation/navigation.d.ts.map +1 -1
  729. package/navigation/navigation-button/navigation-button.d.ts.map +1 -1
  730. package/navigation/navigation-button.js +14 -16
  731. package/navigation/navigation-link/navigation-link.d.ts.map +1 -1
  732. package/navigation/navigation-link.js +14 -16
  733. package/navigation/navigation-list/navigation-list.d.ts +1 -1
  734. package/navigation/navigation-list/navigation-list.d.ts.map +1 -1
  735. package/navigation/navigation-list.js +48 -35
  736. package/navigation/navigation-marker/navigation-marker.d.ts +1 -1
  737. package/navigation/navigation-marker/navigation-marker.d.ts.map +1 -1
  738. package/navigation/navigation-marker.js +77 -69
  739. package/navigation/navigation-section/navigation-section.d.ts +3 -3
  740. package/navigation/navigation-section/navigation-section.d.ts.map +1 -1
  741. package/navigation/navigation-section.js +192 -171
  742. package/navigation/navigation.js +185 -181
  743. package/notification/notification.d.ts +6 -6
  744. package/notification/notification.d.ts.map +1 -1
  745. package/notification.js +147 -116
  746. package/option/optgroup/optgroup-base-element.d.ts +3 -3
  747. package/option/optgroup/optgroup-base-element.d.ts.map +1 -1
  748. package/option/optgroup/optgroup.d.ts.map +1 -1
  749. package/option/optgroup.js +131 -112
  750. package/option/option/option-base-element.d.ts +7 -7
  751. package/option/option/option-base-element.d.ts.map +1 -1
  752. package/option/option/option.d.ts.map +1 -1
  753. package/option/option.js +295 -252
  754. package/overlay/overlay-base-element.d.ts +1 -1
  755. package/overlay/overlay-base-element.d.ts.map +1 -1
  756. package/overlay/overlay.d.ts +4 -4
  757. package/overlay/overlay.d.ts.map +1 -1
  758. package/overlay.js +194 -165
  759. package/package.json +18 -2
  760. package/paginator/common/paginator-common.d.ts +26 -0
  761. package/paginator/common/paginator-common.d.ts.map +1 -0
  762. package/paginator/common.d.ts +2 -0
  763. package/paginator/common.d.ts.map +1 -0
  764. package/paginator/common.js +145 -0
  765. package/paginator/compact-paginator/compact-paginator.d.ts +20 -0
  766. package/paginator/compact-paginator/compact-paginator.d.ts.map +1 -0
  767. package/paginator/compact-paginator.d.ts +2 -0
  768. package/paginator/compact-paginator.d.ts.map +1 -0
  769. package/paginator/compact-paginator.js +40 -0
  770. package/paginator/paginator/paginator.d.ts +51 -0
  771. package/paginator/paginator/paginator.d.ts.map +1 -0
  772. package/paginator/paginator.d.ts +1 -90
  773. package/paginator/paginator.d.ts.map +1 -1
  774. package/paginator/paginator.js +171 -0
  775. package/paginator.d.ts +2 -0
  776. package/paginator.d.ts.map +1 -1
  777. package/paginator.js +3 -265
  778. package/popover/popover/popover.d.ts +6 -7
  779. package/popover/popover/popover.d.ts.map +1 -1
  780. package/popover/popover-trigger/popover-trigger.d.ts.map +1 -1
  781. package/popover/popover-trigger.js +26 -29
  782. package/popover/popover.js +230 -208
  783. package/radio-button/common/radio-button-common.d.ts +1 -1
  784. package/radio-button/common/radio-button-common.d.ts.map +1 -1
  785. package/radio-button/common.js +67 -43
  786. package/radio-button/radio-button/radio-button.d.ts +2 -6
  787. package/radio-button/radio-button/radio-button.d.ts.map +1 -1
  788. package/radio-button/radio-button-group/radio-button-group.d.ts +6 -6
  789. package/radio-button/radio-button-group/radio-button-group.d.ts.map +1 -1
  790. package/radio-button/radio-button-group.js +192 -156
  791. package/radio-button/radio-button-panel/radio-button-panel.d.ts +2 -6
  792. package/radio-button/radio-button-panel/radio-button-panel.d.ts.map +1 -1
  793. package/radio-button/radio-button-panel.js +49 -45
  794. package/radio-button/radio-button.js +43 -37
  795. package/screen-reader-only/screen-reader-only.d.ts.map +1 -1
  796. package/screen-reader-only.js +17 -18
  797. package/select/select.d.ts +5 -4
  798. package/select/select.d.ts.map +1 -1
  799. package/select.js +377 -401
  800. package/selection-expansion-panel/selection-expansion-panel.d.ts +3 -3
  801. package/selection-expansion-panel/selection-expansion-panel.d.ts.map +1 -1
  802. package/selection-expansion-panel.js +157 -148
  803. package/signet/signet.d.ts +2 -2
  804. package/signet/signet.d.ts.map +1 -1
  805. package/signet.js +48 -28
  806. package/skiplink-list/skiplink-list.d.ts +2 -2
  807. package/skiplink-list/skiplink-list.d.ts.map +1 -1
  808. package/skiplink-list.js +54 -36
  809. package/slider/slider.d.ts +5 -4
  810. package/slider/slider.d.ts.map +1 -1
  811. package/slider.js +197 -158
  812. package/status/status.d.ts +3 -3
  813. package/status/status.d.ts.map +1 -1
  814. package/status.js +71 -46
  815. package/stepper/step/step.d.ts.map +1 -1
  816. package/stepper/step-label/step-label.d.ts.map +1 -1
  817. package/stepper/step-label.js +69 -75
  818. package/stepper/step.js +99 -104
  819. package/stepper/stepper/stepper.d.ts +3 -3
  820. package/stepper/stepper/stepper.d.ts.map +1 -1
  821. package/stepper/stepper.js +208 -188
  822. package/table/table-wrapper/table-wrapper.d.ts.map +1 -1
  823. package/table/table-wrapper.js +32 -36
  824. package/tabs/tab/tab.d.ts.map +1 -1
  825. package/tabs/tab-group/tab-group.d.ts +2 -2
  826. package/tabs/tab-group/tab-group.d.ts.map +1 -1
  827. package/tabs/tab-group.js +200 -193
  828. package/tabs/tab-label/tab-label.d.ts +3 -3
  829. package/tabs/tab-label/tab-label.d.ts.map +1 -1
  830. package/tabs/tab-label.js +65 -37
  831. package/tabs/tab.js +34 -35
  832. package/tag/tag/tag.d.ts +3 -5
  833. package/tag/tag/tag.d.ts.map +1 -1
  834. package/tag/tag-group/tag-group.d.ts +3 -3
  835. package/tag/tag-group/tag-group.d.ts.map +1 -1
  836. package/tag/tag-group.js +107 -75
  837. package/tag/tag.js +92 -73
  838. package/teaser/teaser.d.ts +4 -4
  839. package/teaser/teaser.d.ts.map +1 -1
  840. package/teaser-hero/teaser-hero.d.ts +3 -3
  841. package/teaser-hero/teaser-hero.d.ts.map +1 -1
  842. package/teaser-hero.js +66 -38
  843. package/teaser-product/common/teaser-product-common.d.ts +1 -1
  844. package/teaser-product/common/teaser-product-common.d.ts.map +1 -1
  845. package/teaser-product/common.js +36 -21
  846. package/teaser-product/teaser-product/teaser-product.d.ts.map +1 -1
  847. package/teaser-product/teaser-product-static/teaser-product-static.d.ts.map +1 -1
  848. package/teaser-product/teaser-product-static.js +14 -17
  849. package/teaser-product/teaser-product.js +14 -17
  850. package/teaser.js +69 -37
  851. package/time-input/time-input.d.ts +1 -1
  852. package/time-input/time-input.d.ts.map +1 -1
  853. package/time-input.js +160 -166
  854. package/timetable-occupancy/timetable-occupancy.d.ts +2 -2
  855. package/timetable-occupancy/timetable-occupancy.d.ts.map +1 -1
  856. package/timetable-occupancy-icon/timetable-occupancy-icon.d.ts +1 -1
  857. package/timetable-occupancy-icon/timetable-occupancy-icon.d.ts.map +1 -1
  858. package/timetable-occupancy-icon.js +60 -48
  859. package/timetable-occupancy.js +55 -38
  860. package/title/title-base.d.ts +3 -3
  861. package/title/title-base.d.ts.map +1 -1
  862. package/title/title.d.ts.map +1 -1
  863. package/title.js +81 -53
  864. package/toast/toast.d.ts +4 -4
  865. package/toast/toast.d.ts.map +1 -1
  866. package/toast.js +156 -123
  867. package/toggle/toggle/toggle.d.ts +3 -5
  868. package/toggle/toggle/toggle.d.ts.map +1 -1
  869. package/toggle/toggle-option/toggle-option.d.ts +2 -2
  870. package/toggle/toggle-option/toggle-option.d.ts.map +1 -1
  871. package/toggle/toggle-option.js +89 -72
  872. package/toggle/toggle.js +139 -122
  873. package/toggle-check/toggle-check.d.ts +4 -3
  874. package/toggle-check/toggle-check.d.ts.map +1 -1
  875. package/toggle-check.js +63 -41
  876. package/train/train/train.d.ts +5 -5
  877. package/train/train/train.d.ts.map +1 -1
  878. package/train/train-blocked-passage/train-blocked-passage.d.ts.map +1 -1
  879. package/train/train-blocked-passage.js +17 -18
  880. package/train/train-formation/train-formation.d.ts +2 -2
  881. package/train/train-formation/train-formation.d.ts.map +1 -1
  882. package/train/train-formation.js +96 -87
  883. package/train/train-wagon/train-wagon.d.ts +7 -9
  884. package/train/train-wagon/train-wagon.d.ts.map +1 -1
  885. package/train/train-wagon.js +150 -110
  886. package/train/train.js +108 -71
  887. package/visual-checkbox/visual-checkbox.d.ts +3 -3
  888. package/visual-checkbox/visual-checkbox.d.ts.map +1 -1
  889. package/visual-checkbox.js +59 -32
@@ -1,215 +1,262 @@
1
- import { LitElement as w, html as m, isServer as g, nothing as o } from "lit";
2
- import { hostAttributes as y } from "./decorators.js";
3
- import { property as l } from "lit/decorators.js";
4
- import { isEventPrevented as _, EventEmitter as b } from "./eventing.js";
5
- import { SbbLanguageController as C } from "./controllers.js";
6
- import { i18nTargetOpensInNewWindow as O } from "./i18n.js";
7
- import "../screen-reader-only.js";
8
- var E = Object.defineProperty, $ = Object.getOwnPropertyDescriptor, D = (e, t, r, i) => {
9
- for (var s = i > 1 ? void 0 : i ? $(t, r) : t, a = e.length - 1, n; a >= 0; a--)
10
- (n = e[a]) && (s = (i ? n(t, r, s) : n(s)) || s);
11
- return i && s && E(t, r, s), s;
12
- };
13
- let v = class extends w {
14
- get maybeDisabled() {
15
- const e = this;
16
- return e.disabled || e.formDisabled;
17
- }
18
- get maybeDisabledInteractive() {
19
- return this.disabledInteractive;
20
- }
21
- connectedCallback() {
22
- super.connectedCallback();
23
- }
24
- setupBaseEventHandlers() {
25
- this.addEventListener(
26
- "click",
27
- (e) => {
28
- this.maybeDisabled && !this.maybeDisabledInteractive && (e.preventDefault(), e.stopImmediatePropagation());
29
- },
30
- // capture is necessary here, as this event handler needs to be executed before any other
31
- // in order to stop immediate propagation in the disabled case.
32
- { capture: !0 }
33
- );
34
- }
35
- /** Override this method to render the component template. */
36
- renderTemplate() {
37
- throw new Error("Implementation needed!");
38
- }
39
- /** Default render method for button-like components. */
40
- render() {
41
- return m` <span class="sbb-action-base ${this.localName}">${this.renderTemplate()}</span> `;
42
- }
1
+ var H = (l) => {
2
+ throw TypeError(l);
43
3
  };
44
- v = D([
45
- y({
4
+ var M = (l, r, n) => r.has(l) || H("Cannot " + n);
5
+ var S = (l, r, n) => (M(l, r, "read from private field"), n ? n.call(l) : r.get(l)), E = (l, r, n) => r.has(l) ? H("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(l) : r.set(l, n), h = (l, r, n, s) => (M(l, r, "write to private field"), s ? s.call(l, n) : r.set(l, n), n);
6
+ import { __esDecorate as b, __runInitializers as o } from "tslib";
7
+ import { html as P, LitElement as W, isServer as F, nothing as C } from "lit";
8
+ import { hostAttributes as q, forceType as x } from "./decorators.js";
9
+ import { property as v } from "lit/decorators.js";
10
+ import { isEventPrevented as J, EventEmitter as K } from "./eventing.js";
11
+ import { SbbLanguageController as Q } from "./controllers.js";
12
+ import { i18nTargetOpensInNewWindow as U } from "./i18n.js";
13
+ import "../screen-reader-only.js";
14
+ let G = (() => {
15
+ var u;
16
+ let l = [q({
46
17
  "data-action": ""
47
- })
48
- ], v);
49
- var k = Object.defineProperty, A = Object.getOwnPropertyDescriptor, u = (e, t, r, i) => {
50
- for (var s = i > 1 ? void 0 : i ? A(t, r) : t, a = e.length - 1, n; a >= 0; a--)
51
- (n = e[a]) && (s = (i ? n(t, r, s) : n(s)) || s);
52
- return i && s && k(t, r, s), s;
53
- };
54
- let h = class extends v {
55
- constructor() {
56
- if (super(), this.type = "button", this._handleButtonClick = async (e) => {
57
- if (this.type === "button" || await _(e))
58
- return;
59
- const t = this.form ? this.ownerDocument.querySelector(`form#${this.form}`) : this.closest("form");
60
- if (t)
61
- this.type === "submit" ? t.requestSubmit() : this.type === "reset" && t.reset();
62
- else return;
63
- }, this._preventScrollOnSpaceKeydown = (e) => {
64
- e.key === " " && (e.preventDefault(), e.target.toggleAttribute("data-active", !0));
65
- }, this._removeActiveMarker = (e) => {
66
- e.target.removeAttribute("data-active");
67
- }, this._dispatchClickEventOnSpaceKeyup = (e) => {
68
- e.key === " " && (this._removeActiveMarker(e), this._dispatchClickEvent(e));
69
- }, this._dispatchClickEvent = (e) => {
70
- const { altKey: t, ctrlKey: r, metaKey: i, shiftKey: s } = e;
71
- e.target.dispatchEvent(
72
- new PointerEvent("click", {
18
+ })], r, n = [], s, g = W;
19
+ return u = class extends g {
20
+ get maybeDisabled() {
21
+ const d = this;
22
+ return d.disabled || d.formDisabled;
23
+ }
24
+ get maybeDisabledInteractive() {
25
+ return this.disabledInteractive;
26
+ }
27
+ connectedCallback() {
28
+ super.connectedCallback();
29
+ }
30
+ setupBaseEventHandlers() {
31
+ this.addEventListener(
32
+ "click",
33
+ (d) => {
34
+ this.maybeDisabled && !this.maybeDisabledInteractive && (d.preventDefault(), d.stopImmediatePropagation());
35
+ },
36
+ // capture is necessary here, as this event handler needs to be executed before any other
37
+ // in order to stop immediate propagation in the disabled case.
38
+ { capture: !0 }
39
+ );
40
+ }
41
+ /** Override this method to render the component template. */
42
+ renderTemplate() {
43
+ throw new Error("Implementation needed!");
44
+ }
45
+ /** Default render method for button-like components. */
46
+ render() {
47
+ return P` <span class="sbb-action-base ${this.localName}">${this.renderTemplate()}</span> `;
48
+ }
49
+ }, s = u, (() => {
50
+ const d = typeof Symbol == "function" && Symbol.metadata ? Object.create(g[Symbol.metadata] ?? null) : void 0;
51
+ b(null, r = { value: s }, l, { kind: "class", name: s.name, metadata: d }, null, n), s = r.value, d && Object.defineProperty(s, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: d }), o(s, n);
52
+ })(), s;
53
+ })(), le = (() => {
54
+ var _, f, m;
55
+ let l = [q({
56
+ role: "button",
57
+ tabindex: "0",
58
+ "data-button": ""
59
+ })], r, n = [], s, g = G, u = [], z, d = [], D = [], O, $, A, T = [], B = [];
60
+ return m = class extends g {
61
+ constructor() {
62
+ super();
63
+ E(this, _);
64
+ E(this, f);
65
+ if (h(this, _, (o(this, u), o(this, d, "button"))), h(this, f, (o(this, D), o(this, T, ""))), this._handleButtonClick = (o(this, B), async (e) => {
66
+ if (this.type === "button" || await J(e))
67
+ return;
68
+ const t = this.form ? this.ownerDocument.querySelector(`form#${this.form}`) : this.closest("form");
69
+ if (t)
70
+ this.type === "submit" ? t.requestSubmit() : this.type === "reset" && t.reset();
71
+ else return;
72
+ }), this._preventScrollOnSpaceKeydown = (e) => {
73
+ e.key === " " && (e.preventDefault(), e.target.toggleAttribute("data-active", !0));
74
+ }, this._removeActiveMarker = (e) => {
75
+ e.target.removeAttribute("data-active");
76
+ }, this._dispatchClickEventOnSpaceKeyup = (e) => {
77
+ e.key === " " && (this._removeActiveMarker(e), this._dispatchClickEvent(e));
78
+ }, this._dispatchClickEvent = (e) => {
79
+ const { altKey: t, ctrlKey: c, metaKey: k, shiftKey: w } = e;
80
+ e.target.dispatchEvent(new PointerEvent("click", {
73
81
  bubbles: !0,
74
82
  cancelable: !0,
75
83
  composed: !0,
76
84
  pointerId: -1,
77
85
  pointerType: "",
78
86
  altKey: t,
79
- ctrlKey: r,
80
- metaKey: i,
81
- shiftKey: s
82
- })
83
- );
84
- }, !g) {
85
- this.setupBaseEventHandlers();
86
- const e = { passive: !0 };
87
- this.addEventListener("click", this._handleButtonClick), this.addEventListener("keydown", this._preventScrollOnSpaceKeydown), this.addEventListener("keyup", this._dispatchClickEventOnSpaceKeyup, e), this.addEventListener("blur", this._removeActiveMarker, e), this.addEventListener(
88
- "keypress",
89
- (t) => {
87
+ ctrlKey: c,
88
+ metaKey: k,
89
+ shiftKey: w
90
+ }));
91
+ }, !F) {
92
+ this.setupBaseEventHandlers();
93
+ const e = { passive: !0 };
94
+ this.addEventListener("click", this._handleButtonClick), this.addEventListener("keydown", this._preventScrollOnSpaceKeydown), this.addEventListener("keyup", this._dispatchClickEventOnSpaceKeyup, e), this.addEventListener("blur", this._removeActiveMarker, e), this.addEventListener("keypress", (t) => {
90
95
  (t.key === "Enter" || t.key === `
91
96
  `) && this._dispatchClickEvent(t);
92
- },
93
- e
94
- );
97
+ }, e);
98
+ }
95
99
  }
96
- }
97
- set name(e) {
98
- this.setAttribute("name", `${e}`);
99
- }
100
- get name() {
101
- return this.getAttribute("name") ?? "";
102
- }
103
- set value(e) {
104
- this.setAttribute("value", `${e}`);
105
- }
106
- get value() {
107
- return this.getAttribute("value") ?? "";
108
- }
109
- attributeChangedCallback(e, t, r) {
110
- (!["name", "value"].includes(e) || t !== r) && super.attributeChangedCallback(e, t, r);
111
- }
112
- };
113
- u([
114
- l()
115
- ], h.prototype, "type", 2);
116
- u([
117
- l()
118
- ], h.prototype, "name", 1);
119
- u([
120
- l()
121
- ], h.prototype, "value", 1);
122
- u([
123
- l()
124
- ], h.prototype, "form", 2);
125
- h = u([
126
- y({
127
- role: "button",
128
- tabindex: "0",
129
- "data-button": ""
130
- })
131
- ], h);
132
- var P = Object.defineProperty, S = Object.getOwnPropertyDescriptor, d = (e, t, r, i) => {
133
- for (var s = i > 1 ? void 0 : i ? S(t, r) : t, a = e.length - 1, n; a >= 0; a--)
134
- (n = e[a]) && (s = (i ? n(t, r, s) : n(s)) || s);
135
- return i && s && P(t, r, s), s;
136
- };
137
- let p = class extends v {
138
- constructor() {
139
- super(), this.language = new C(this), this._evaluateRelAttribute = () => this.rel ? this.rel : this.target === "_blank" ? "external noopener nofollow" : o, g || this.setupBaseEventHandlers();
140
- }
141
- /** @internal */
142
- focus(e) {
143
- var t;
144
- (t = this.shadowRoot.querySelector("a")) == null || t.focus(e);
145
- }
146
- /** @internal */
147
- blur() {
148
- var e;
149
- (e = this.shadowRoot.querySelector("a")) == null || e.blur();
150
- }
151
- /** @internal */
152
- click() {
153
- var e;
154
- (e = this.shadowRoot.querySelector("a")) == null || e.click();
155
- }
156
- /** Default render method for link-like components. Can be overridden if the LinkRenderVariables are not needed. */
157
- render() {
158
- return m`
100
+ /** The type attribute to use for the button. */
101
+ get type() {
102
+ return S(this, _);
103
+ }
104
+ set type(e) {
105
+ h(this, _, e);
106
+ }
107
+ /**
108
+ * The name of the button element.
109
+ *
110
+ * @description Developer note: In this case updating the attribute must be synchronous.
111
+ * Due to this it is implemented as a getter/setter and the attributeChangedCallback() handles the diff check.
112
+ */
113
+ set name(e) {
114
+ this.setAttribute("name", `${e}`);
115
+ }
116
+ get name() {
117
+ return this.getAttribute("name") ?? "";
118
+ }
119
+ /**
120
+ * The value of the button element.
121
+ *
122
+ * @description Developer note: In this case updating the attribute must be synchronous.
123
+ * Due to this it is implemented as a getter/setter and the attributeChangedCallback() handles the diff check.
124
+ */
125
+ set value(e) {
126
+ this.setAttribute("value", `${e}`);
127
+ }
128
+ get value() {
129
+ return this.getAttribute("value") ?? "";
130
+ }
131
+ /** The <form> element to associate the button with. */
132
+ get form() {
133
+ return S(this, f);
134
+ }
135
+ set form(e) {
136
+ h(this, f, e);
137
+ }
138
+ attributeChangedCallback(e, t, c) {
139
+ (!["name", "value"].includes(e) || t !== c) && super.attributeChangedCallback(e, t, c);
140
+ }
141
+ }, _ = new WeakMap(), f = new WeakMap(), s = m, (() => {
142
+ const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(g[Symbol.metadata] ?? null) : void 0;
143
+ z = [v()], O = [v()], $ = [v()], A = [x(), v()], b(m, null, z, { kind: "accessor", name: "type", static: !1, private: !1, access: { has: (t) => "type" in t, get: (t) => t.type, set: (t, c) => {
144
+ t.type = c;
145
+ } }, metadata: e }, d, D), b(m, null, O, { kind: "setter", name: "name", static: !1, private: !1, access: { has: (t) => "name" in t, set: (t, c) => {
146
+ t.name = c;
147
+ } }, metadata: e }, null, u), b(m, null, $, { kind: "setter", name: "value", static: !1, private: !1, access: { has: (t) => "value" in t, set: (t, c) => {
148
+ t.value = c;
149
+ } }, metadata: e }, null, u), b(m, null, A, { kind: "accessor", name: "form", static: !1, private: !1, access: { has: (t) => "form" in t, get: (t) => t.form, set: (t, c) => {
150
+ t.form = c;
151
+ } }, metadata: e }, T, B), b(null, r = { value: s }, l, { kind: "class", name: s.name, metadata: e }, null, n), s = r.value, e && Object.defineProperty(s, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: e }), o(s, n);
152
+ })(), s;
153
+ })(), ne = (() => {
154
+ var t, c, k, w, L, p;
155
+ let l = [q({
156
+ "data-link": ""
157
+ })], r, n = [], s, g = G, u, z = [], d = [], D, O = [], $ = [], A, T = [], B = [], _, f = [], m = [], j, R = [], e = [];
158
+ return p = class extends g {
159
+ constructor() {
160
+ super();
161
+ E(this, t);
162
+ E(this, c);
163
+ E(this, k);
164
+ E(this, w);
165
+ E(this, L);
166
+ h(this, t, o(this, z, "")), h(this, c, (o(this, d), o(this, O, ""))), h(this, k, (o(this, $), o(this, T, ""))), h(this, w, (o(this, B), o(this, f, !1))), h(this, L, (o(this, m), o(this, R, ""))), this.language = (o(this, e), new Q(this)), this._evaluateRelAttribute = () => this.rel ? this.rel : this.target === "_blank" ? "external noopener nofollow" : C, F || this.setupBaseEventHandlers();
167
+ }
168
+ /** The href value you want to link to. */
169
+ get href() {
170
+ return S(this, t);
171
+ }
172
+ set href(i) {
173
+ h(this, t, i);
174
+ }
175
+ /** Where to display the linked URL. */
176
+ get target() {
177
+ return S(this, c);
178
+ }
179
+ set target(i) {
180
+ h(this, c, i);
181
+ }
182
+ /** The relationship of the linked URL as space-separated link types. */
183
+ get rel() {
184
+ return S(this, k);
185
+ }
186
+ set rel(i) {
187
+ h(this, k, i);
188
+ }
189
+ /** Whether the browser will show the download dialog on click. */
190
+ get download() {
191
+ return S(this, w);
192
+ }
193
+ set download(i) {
194
+ h(this, w, i);
195
+ }
196
+ /** This will be forwarded as aria-label to the inner anchor element. */
197
+ get accessibilityLabel() {
198
+ return S(this, L);
199
+ }
200
+ set accessibilityLabel(i) {
201
+ h(this, L, i);
202
+ }
203
+ /** @internal */
204
+ focus(i) {
205
+ var a;
206
+ (a = this.shadowRoot.querySelector("a")) == null || a.focus(i);
207
+ }
208
+ /** @internal */
209
+ blur() {
210
+ var i;
211
+ (i = this.shadowRoot.querySelector("a")) == null || i.blur();
212
+ }
213
+ /** @internal */
214
+ click() {
215
+ var i;
216
+ (i = this.shadowRoot.querySelector("a")) == null || i.click();
217
+ }
218
+ /** Default render method for link-like components. Can be overridden if the LinkRenderVariables are not needed. */
219
+ render() {
220
+ return P`
159
221
  <a
160
222
  class="sbb-action-base ${this.localName}"
161
- href=${this.href || o}
223
+ href=${this.href || C}
162
224
  ?download=${this.download}
163
- target=${this.target || o}
225
+ target=${this.target || C}
164
226
  rel=${this._evaluateRelAttribute()}
165
- aria-label=${this.accessibilityLabel || o}
166
- tabindex=${this.maybeDisabled && !this.maybeDisabledInteractive ? "-1" : o}
167
- aria-disabled=${this.maybeDisabled ? "true" : o}
227
+ aria-label=${this.accessibilityLabel || C}
228
+ tabindex=${this.maybeDisabled && !this.maybeDisabledInteractive ? "-1" : C}
229
+ aria-disabled=${this.maybeDisabled ? "true" : C}
168
230
  >
169
231
  ${this.renderTemplate()}
170
- ${this.href && this.target === "_blank" ? m`<sbb-screen-reader-only
171
- >. ${O[this.language.current]}</sbb-screen-reader-only
172
- >` : o}
232
+ ${this.href && this.target === "_blank" ? P`<sbb-screen-reader-only
233
+ >. ${U[this.language.current]}</sbb-screen-reader-only
234
+ >` : C}
173
235
  </a>
174
236
  `;
175
- }
176
- };
177
- d([
178
- l()
179
- ], p.prototype, "href", 2);
180
- d([
181
- l()
182
- ], p.prototype, "target", 2);
183
- d([
184
- l()
185
- ], p.prototype, "rel", 2);
186
- d([
187
- l({ type: Boolean })
188
- ], p.prototype, "download", 2);
189
- d([
190
- l({ attribute: "accessibility-label" })
191
- ], p.prototype, "accessibilityLabel", 2);
192
- p = d([
193
- y({
194
- "data-link": ""
195
- })
196
- ], p);
197
- const c = class c extends w {
237
+ }
238
+ }, t = new WeakMap(), c = new WeakMap(), k = new WeakMap(), w = new WeakMap(), L = new WeakMap(), s = p, (() => {
239
+ const i = typeof Symbol == "function" && Symbol.metadata ? Object.create(g[Symbol.metadata] ?? null) : void 0;
240
+ u = [x(), v()], D = [x(), v()], A = [x(), v()], _ = [x(), v({ type: Boolean })], j = [x(), v({ attribute: "accessibility-label" })], b(p, null, u, { kind: "accessor", name: "href", static: !1, private: !1, access: { has: (a) => "href" in a, get: (a) => a.href, set: (a, y) => {
241
+ a.href = y;
242
+ } }, metadata: i }, z, d), b(p, null, D, { kind: "accessor", name: "target", static: !1, private: !1, access: { has: (a) => "target" in a, get: (a) => a.target, set: (a, y) => {
243
+ a.target = y;
244
+ } }, metadata: i }, O, $), b(p, null, A, { kind: "accessor", name: "rel", static: !1, private: !1, access: { has: (a) => "rel" in a, get: (a) => a.rel, set: (a, y) => {
245
+ a.rel = y;
246
+ } }, metadata: i }, T, B), b(p, null, _, { kind: "accessor", name: "download", static: !1, private: !1, access: { has: (a) => "download" in a, get: (a) => a.download, set: (a, y) => {
247
+ a.download = y;
248
+ } }, metadata: i }, f, m), b(p, null, j, { kind: "accessor", name: "accessibilityLabel", static: !1, private: !1, access: { has: (a) => "accessibilityLabel" in a, get: (a) => a.accessibilityLabel, set: (a, y) => {
249
+ a.accessibilityLabel = y;
250
+ } }, metadata: i }, R, e), b(null, r = { value: s }, l, { kind: "class", name: s.name, metadata: i }, null, n), s = r.value, i && Object.defineProperty(s, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: i }), o(s, n);
251
+ })(), s;
252
+ })();
253
+ const I = class I extends W {
198
254
  constructor() {
199
- super(...arguments), this.willOpen = new b(
200
- this,
201
- c.events.willOpen
202
- ), this.didOpen = new b(this, c.events.didOpen), this.willClose = new b(
203
- this,
204
- c.events.willClose
205
- ), this.didClose = new b(
206
- this,
207
- c.events.didClose
208
- );
255
+ super(...arguments), this.willOpen = new K(this, I.events.willOpen), this.didOpen = new K(this, I.events.didOpen), this.willClose = new K(this, I.events.willClose), this.didClose = new K(this, I.events.didClose);
209
256
  }
210
257
  /** The state of the component. */
211
- set state(t) {
212
- this.setAttribute("data-state", t);
258
+ set state(r) {
259
+ this.setAttribute("data-state", r);
213
260
  }
214
261
  get state() {
215
262
  return this.getAttribute("data-state");
@@ -222,16 +269,16 @@ const c = class c extends w {
222
269
  super.connectedCallback(), this.state || (this.state = "closed");
223
270
  }
224
271
  };
225
- c.events = {
272
+ I.events = {
226
273
  willOpen: "willOpen",
227
274
  didOpen: "didOpen",
228
275
  willClose: "willClose",
229
276
  didClose: "didClose"
230
277
  };
231
- let f = c;
278
+ let N = I;
232
279
  export {
233
- v as SbbActionBaseElement,
234
- h as SbbButtonBaseElement,
235
- p as SbbLinkBaseElement,
236
- f as SbbOpenCloseBaseElement
280
+ G as SbbActionBaseElement,
281
+ le as SbbButtonBaseElement,
282
+ ne as SbbLinkBaseElement,
283
+ N as SbbOpenCloseBaseElement
237
284
  };
@@ -1,13 +1,13 @@
1
1
  import { isServer as n } from "lit";
2
2
  import { readConfig as u } from "./config.js";
3
3
  class m {
4
- constructor(t) {
5
- this._host = t, this._abortController = new AbortController(), this._host.addController(this);
6
- }
7
4
  get signal() {
8
5
  var t;
9
6
  return (t = this._abortController) == null ? void 0 : t.signal;
10
7
  }
8
+ constructor(t) {
9
+ this._host = t, this._abortController = new AbortController(), this._host.addController(this);
10
+ }
11
11
  hostConnected() {
12
12
  this._abortController || (this._abortController = new AbortController());
13
13
  }
@@ -52,17 +52,12 @@ class A {
52
52
  var i, r;
53
53
  let t = this._currentOverlay();
54
54
  for (; t !== document.documentElement && t !== null; )
55
- Array.from(((i = (t == null ? void 0 : t.parentElement) ?? (t == null ? void 0 : t.getRootNode())) == null ? void 0 : i.childNodes) ?? []).filter(
56
- (s) => s !== t && s instanceof window.HTMLElement && !_.includes(s.localName)
57
- ).forEach((s) => {
55
+ Array.from(((i = (t == null ? void 0 : t.parentElement) ?? (t == null ? void 0 : t.getRootNode())) == null ? void 0 : i.childNodes) ?? []).filter((s) => s !== t && s instanceof window.HTMLElement && !_.includes(s.localName)).forEach((s) => {
58
56
  this._inertElements.add(s), s.inert || (s.inert = !0, s.toggleAttribute("data-sbb-inert", !0)), s.hasAttribute("aria-hidden") || (s.setAttribute("aria-hidden", "true"), s.toggleAttribute("data-sbb-aria-hidden", !0));
59
57
  }), t = (t == null ? void 0 : t.parentElement) ?? ((r = t == null ? void 0 : t.getRootNode()) == null ? void 0 : r.host) ?? null;
60
58
  }
61
59
  }
62
60
  const e = class e {
63
- constructor(t) {
64
- this._host = t, this._handlers = [], this._host.addController(this);
65
- }
66
61
  /** Get the current language. */
67
62
  static get current() {
68
63
  const i = ((u().language ?? (n ? e._defaultLanguage : document.documentElement.getAttribute("lang"))) || e._defaultLanguage).split("-")[0];
@@ -72,15 +67,15 @@ const e = class e {
72
67
  get current() {
73
68
  return e.current;
74
69
  }
70
+ constructor(t) {
71
+ this._host = t, this._handlers = [], this._host.addController(this);
72
+ }
75
73
  /** Add a language change handler. */
76
74
  withHandler(t) {
77
75
  return this._handlers.unshift(t), this;
78
76
  }
79
77
  hostConnected() {
80
- n || (e._listeners.size || e._observer.observe(
81
- document.documentElement,
82
- e._observerConfig
83
- ), e._listeners.add(this), this._previousLanguage !== this.current && this._callHandlers(this._previousLanguage !== void 0));
78
+ n || (e._listeners.size || e._observer.observe(document.documentElement, e._observerConfig), e._listeners.add(this), this._previousLanguage !== this.current && this._callHandlers(this._previousLanguage !== void 0));
84
79
  }
85
80
  hostDisconnected() {
86
81
  n || (this._previousLanguage = this.current, e._listeners.delete(this), e._listeners.size || e._observer.disconnect());
@@ -0,0 +1,14 @@
1
+ import { ReactiveElement } from 'lit';
2
+ /**
3
+ * Generates a public interface type that removes private and protected fields.
4
+ * This allows accepting otherwise incompatible versions of the type (e.g. from
5
+ * multiple copies of the same package in `node_modules`).
6
+ */
7
+ export type Interface<T> = {
8
+ [K in keyof T]: T[K];
9
+ };
10
+ export type PropertyDecorator = {
11
+ <C extends Interface<ReactiveElement>, V>(target: ClassAccessorDecoratorTarget<C, V>, context: ClassAccessorDecoratorContext<C, V>): ClassAccessorDecoratorResult<C, V>;
12
+ <C extends Interface<ReactiveElement>, V>(target: (value: V) => void, context: ClassSetterDecoratorContext<C, V>): (this: C, value: V) => void;
13
+ };
14
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/decorators/base.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,KAAK,CAAC;AAI3C;;;;GAIG;AACH,MAAM,MAAM,SAAS,CAAC,CAAC,IAAI;KACxB,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACrB,CAAC;AAKF,MAAM,MAAM,iBAAiB,GAAG;IAE9B,CAAC,CAAC,SAAS,SAAS,CAAC,eAAe,CAAC,EAAE,CAAC,EACtC,MAAM,EAAE,4BAA4B,CAAC,CAAC,EAAE,CAAC,CAAC,EAC1C,OAAO,EAAE,6BAA6B,CAAC,CAAC,EAAE,CAAC,CAAC,GAC3C,4BAA4B,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAGtC,CAAC,CAAC,SAAS,SAAS,CAAC,eAAe,CAAC,EAAE,CAAC,EACtC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,EAC1B,OAAO,EAAE,2BAA2B,CAAC,CAAC,EAAE,CAAC,CAAC,GACzC,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;CAChC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { ReactiveElement } from 'lit';
2
+ import { Interface, PropertyDecorator } from './base.js';
3
+ /**
4
+ * Decorator that forces the value of a property or getter/setter
5
+ * to the defined type.
6
+ */
7
+ export declare const forceType: <C extends Interface<ReactiveElement>, V>() => PropertyDecorator;
8
+ //# sourceMappingURL=force-type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"force-type.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/decorators/force-type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,KAAK,CAAC;AAE3C,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAE9D;;;GAGG;AACH,eAAO,MAAM,SAAS,GAAI,CAAC,SAAS,SAAS,CAAC,eAAe,CAAC,EAAE,CAAC,OAAK,iBAsCrE,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { ReactiveElement } from 'lit';
2
+ import { Interface } from './base.js';
3
+ /**
4
+ * Decorator that overrides the underlying getter of the accessor.
5
+ */
6
+ export declare const getOverride: <C extends Interface<ReactiveElement>, V>(callback: (instance: C, innerValue: V) => V) => (target: ClassAccessorDecoratorTarget<C, V>, context: ClassAccessorDecoratorContext<C, V>) => any;
7
+ //# sourceMappingURL=get-override.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-override.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/decorators/get-override.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,KAAK,CAAC;AAE3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAE3C;;GAEG;AACH,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,SAAS,CAAC,eAAe,CAAC,EAAE,CAAC,YACvD,CAAC,QAAQ,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,KAAK,CAAC,cAGjC,4BAA4B,CAAC,CAAC,EAAE,CAAC,CAAC,WACjC,6BAA6B,CAAC,CAAC,EAAE,CAAC,CAAC,KAC3C,GAeJ,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { ReactiveElement } from 'lit';
2
+ import { Interface } from './base.js';
3
+ /**
4
+ * Decorator that calls the given callback when the value
5
+ * of the associated property is changed.
6
+ */
7
+ export declare const handleDistinctChange: <C extends Interface<ReactiveElement>, V>(callback: (instance: C, newValue: V, oldValue: V | undefined) => void) => (target: ClassAccessorDecoratorTarget<C, V>, context: ClassAccessorDecoratorContext<C, V>) => any;
8
+ //# sourceMappingURL=handle-distinct-change.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handle-distinct-change.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/decorators/handle-distinct-change.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,KAAK,CAAC;AAE3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAE3C;;;GAGG;AACH,eAAO,MAAM,oBAAoB,GAAI,CAAC,SAAS,SAAS,CAAC,eAAe,CAAC,EAAE,CAAC,YAChE,CAAC,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,GAAG,SAAS,KAAK,IAAI,cAG3D,4BAA4B,CAAC,CAAC,EAAE,CAAC,CAAC,WACjC,6BAA6B,CAAC,CAAC,EAAE,CAAC,CAAC,KAC3C,GAiBJ,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { ComplexAttributeConverter } from 'lit';
2
+ /**
3
+ * Converts empty values to null, which will not be rendered as attributes.
4
+ * e.g. for string properties, an empty value '' will not be rendered as an
5
+ * empty attribute, as would be the default with lit.
6
+ */
7
+ export declare const omitEmptyConverter: ComplexAttributeConverter;
8
+ //# sourceMappingURL=omit-empty-converter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"omit-empty-converter.d.ts","sourceRoot":"","sources":["../../../../src/elements/core/decorators/omit-empty-converter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,yBAAyB,EAAE,MAAM,KAAK,CAAC;AAEvE;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,yBAOhC,CAAC"}
@@ -1,3 +1,7 @@
1
+ export * from './decorators/force-type.js';
2
+ export * from './decorators/get-override.js';
3
+ export * from './decorators/handle-distinct-change.js';
1
4
  export * from './decorators/host-attributes.js';
5
+ export * from './decorators/omit-empty-converter.js';
2
6
  export * from './decorators/slot-state.js';
3
7
  //# sourceMappingURL=decorators.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"decorators.d.ts","sourceRoot":"","sources":["../../../src/elements/core/decorators.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC"}
1
+ {"version":3,"file":"decorators.d.ts","sourceRoot":"","sources":["../../../src/elements/core/decorators.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wCAAwC,CAAC;AACvD,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,cAAc,4BAA4B,CAAC"}