@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,206 +1,273 @@
1
- import { css as m, LitElement as u, isServer as v, html as d, nothing as f } from "lit";
2
- import { property as b, state as c, customElement as g } from "lit/decorators.js";
3
- import { sbbInputModalityDetector as _ } from "../core/a11y.js";
4
- import { SbbConnectedAbortController as x, SbbLanguageController as y } from "../core/controllers.js";
5
- import { slotState as w } from "../core/decorators.js";
6
- import { isFirefox as k, setOrRemoveAttribute as A } from "../core/dom.js";
7
- import { i18nOptional as E } from "../core/i18n.js";
8
- import { SbbNegativeMixin as z, SbbHydrationMixin as I } from "../core/mixins.js";
9
- import "../icon.js";
10
- const L = m`@charset "UTF-8";*,:before,:after{box-sizing:border-box}:host{display:inline-block;--sbb-form-field-background-color: var(--sbb-color-white);--sbb-form-field-border-color: var(--sbb-color-smoke);--sbb-form-field-border-style: solid;--sbb-form-field-border-radius: var(--sbb-border-radius-4x);--sbb-form-field-border-width: var(--sbb-border-width-1x);--sbb-form-field-min-height: var(--sbb-size-element-m);--sbb-form-field-label-color: var(--sbb-color-metal);--sbb-form-field-prefix-color: var(--sbb-color-metal);--sbb-form-field-padding-inline: var(--sbb-spacing-fixed-3x);--sbb-form-field-text-color: var(--sbb-color-charcoal);--sbb-form-field-arrow-color: var(--sbb-color-charcoal);--sbb-form-field-error-divider-width: var(--sbb-spacing-fixed-1x);--sbb-form-field-error-padding-block-start: var(--sbb-form-field-error-divider-width);--sbb-form-field-gap: var(--sbb-spacing-fixed-2x);--sbb-form-field-label-to-input-overlapping: var(--sbb-spacing-fixed-1x);--sbb-form-field-select-inline-padding-end: calc( var(--sbb-icon-svg-width) + var(--sbb-form-field-gap) );--sbb-form-field-overflow: hidden;--sbb-form-field-input-text-size: var(--sbb-font-size-text-m);--sbb-form-field-label-text-size: var(--sbb-font-size-text-xs);--sbb-form-field-label-size: calc( var(--sbb-form-field-label-text-size) * var(--sbb-typo-line-height-body-text) );--sbb-form-field-text-line-height: calc( var(--sbb-form-field-input-text-size) * var(--sbb-typo-line-height-body-text) );--sbb-form-field-margin-block-start: calc( ( var(--sbb-form-field-min-height) - var(--sbb-form-field-label-size) - var( --sbb-form-field-text-line-height ) + var(--sbb-form-field-label-to-input-overlapping) ) / 2 );--sbb-form-field-spacer-margin-block-end: calc( -1 * var(--sbb-form-field-label-to-input-overlapping) );--sbb-form-field-floating-label-transform: .53125rem;--sbb-icon-svg-width: var(--sbb-size-icon-ui-small);--sbb-icon-svg-height: var(--sbb-size-icon-ui-small);--sbb-focus-outline-color: var(--sbb-focus-outline-color-default)}@media (min-width: 52.5rem){:host{--sbb-form-field-floating-label-transform: .65625rem}}@media (forced-colors: active){:host{--sbb-form-field-border-color: ButtonBorder}}:host(:where(:not([width=collapse]))){min-width:9.375rem;width:min(18.75rem,100%)}:host([negative]){--sbb-form-field-background-color: var(--sbb-color-midnight);--sbb-form-field-border-color: var(--sbb-color-smoke);--sbb-form-field-label-color: var(--sbb-color-smoke);--sbb-form-field-prefix-color: var(--sbb-color-smoke);--sbb-form-field-text-color: var(--sbb-color-milk);--sbb-focus-outline-color: var(--sbb-focus-outline-color-dark);--sbb-form-field-arrow-color: var(--sbb-color-milk)}@media (forced-colors: active){:host([negative]){--sbb-form-field-border-color: ButtonBorder}}:host([size=s]){--sbb-form-field-min-height: var(--sbb-size-element-xs);--sbb-form-field-padding-inline: var(--sbb-spacing-fixed-2x);--sbb-form-field-input-text-size: var(--sbb-font-size-text-s);--sbb-form-field-label-text-size: var(--sbb-font-size-text-xxs);--sbb-form-field-label-to-input-overlapping: .625rem;--sbb-form-field-floating-label-transform: .34375rem;--sbb-form-field-spacer-margin-block-end: -.53125rem}@media (min-width: 52.5rem){:host([size=s]){--sbb-form-field-label-to-input-overlapping: .6875rem;--sbb-form-field-floating-label-transform: .3125rem;--sbb-form-field-spacer-margin-block-end: -.5rem}}:host([size=l]){--sbb-form-field-min-height: var(--sbb-size-element-l);--sbb-form-field-padding-inline: var(--sbb-spacing-responsive-xxxs)}:host([error-space=reserve]){--sbb-form-field-error-min-height: calc( var(--sbb-typo-line-height-body-text) * var(--sbb-font-size-text-xs) );--sbb-form-field-error-padding-block-start-override: var(--sbb-form-field-error-divider-width)}:host(:is([data-readonly],[data-disabled])){--sbb-form-field-background-color: var(--sbb-color-milk);--sbb-form-field-border-color: var(--sbb-color-graphite);--sbb-form-field-arrow-color: var(--sbb-color-granite)}@media (forced-colors: active){:host(:is([data-readonly],[data-disabled])){--sbb-form-field-border-color: ButtonBorder}}:host(:is([data-readonly],[data-disabled])[negative]){--sbb-form-field-background-color: var(--sbb-color-charcoal);--sbb-form-field-border-color: var(--sbb-color-smoke);--sbb-form-field-arrow-color: var(--sbb-color-smoke)}:host([data-disabled]){--sbb-form-field-label-color: var(--sbb-color-granite);--sbb-form-field-prefix-color: var(--sbb-color-granite);--sbb-form-field-border-style: dashed}@media (forced-colors: active){:host([data-disabled]){--sbb-form-field-label-color: GrayText !important;--sbb-form-field-prefix-color: GrayText !important;--sbb-form-field-text-color: GrayText !important;--sbb-form-field-border-color: GrayText !important}}:host([data-disabled][negative]){--sbb-form-field-text-color: var(--sbb-color-smoke);--sbb-form-field-label-color: var(--sbb-color-smoke);--sbb-form-field-prefix-color: var(--sbb-color-smoke)}:host([data-readonly]:not([negative])){--sbb-form-field-label-color: var(--sbb-color-granite);--sbb-form-field-prefix-color: var(--sbb-color-granite)}:host(:is([data-input-focused],[data-has-popup-open])){--sbb-form-field-border-color: var(--sbb-color-charcoal);--sbb-form-field-prefix-color: var(--sbb-color-charcoal);--sbb-form-field-border-width: var(--sbb-border-width-2x)}@media (forced-colors: active){:host(:is([data-input-focused],[data-has-popup-open])){--sbb-form-field-border-color: Highlight !important;--sbb-form-field-prefix-color: Highlight !important}}:host(:is([data-input-focused],[data-has-popup-open])[negative]){--sbb-form-field-border-color: var(--sbb-color-milk);--sbb-form-field-prefix-color: var(--sbb-color-milk)}:host([data-invalid]){--sbb-form-field-border-color: var(--sbb-color-red125);--sbb-form-field-text-color: var(--sbb-color-red125)}@media (forced-colors: active){:host([data-invalid]){--sbb-form-field-border-color: LinkText !important;--sbb-form-field-text-color: LinkText !important}}:host([data-invalid][negative]){--sbb-form-field-border-color: var(--sbb-color-red-mode-dark);--sbb-form-field-text-color: var(--sbb-color-red-mode-dark)}:host(:not([data-has-error])){--sbb-form-field-error-padding-block-start: 0}:host([floating-label]){--sbb-select-placeholder-color: transparent}@media (forced-colors: active){:host([floating-label]){--sbb-select-placeholder-color: Canvas}}:host(:is(:not([data-slot-names~=label],[label]),[hidden-label])){--sbb-form-field-label-size: 0rem;--sbb-form-field-label-to-input-overlapping: 0rem}:host([data-input-type=sbb-slider]){--sbb-form-field-overflow: visible}:host([data-input-type=textarea]){--sbb-form-field-max-height: fit-content}.sbb-form-field__space-wrapper{display:flex;flex-direction:column}.sbb-form-field__space-wrapper:before{content:"​";-webkit-user-select:none;user-select:none;width:0;height:0}.sbb-form-field__wrapper{display:flex;gap:var(--sbb-form-field-gap);padding-inline:var(--sbb-form-field-padding-inline);border-radius:var(--sbb-form-field-border-radius);min-height:var(--sbb-form-field-min-height);max-height:var(--sbb-form-field-max-height);background-color:var(--sbb-form-field-background-color);position:relative}.sbb-form-field__wrapper:before{content:"";display:block;position:absolute;top:0;right:0;bottom:0;left:0;border:var(--sbb-form-field-border-width) var(--sbb-form-field-border-style) var(--sbb-form-field-border-color);border-radius:var(--sbb-form-field-border-radius)}:host([data-input-focused][data-focus-origin=keyboard]) .sbb-form-field__wrapper{outline-offset:var(--sbb-focus-outline-offset);outline:var(--sbb-focus-outline-color) solid var(--sbb-focus-outline-width)}@media (forced-colors: none){:host(:is([borderless],[data-input-type=sbb-slider])) .sbb-form-field__wrapper:before{border-color:transparent}:host(:is([data-input-focused],[data-has-popup-open],[data-disabled])[borderless]) .sbb-form-field__wrapper:after{content:"";position:absolute;border-block-end:var(--sbb-border-width-1x) var(--sbb-form-field-border-style) var(--sbb-form-field-border-color);inset-inline:var(--sbb-form-field-padding-inline);inset-block-end:0}}::slotted(*[slot=prefix]){color:var(--sbb-form-field-prefix-color)}::slotted(*[slot=prefix]),::slotted(*[slot=suffix]){display:flex;min-width:var(--sbb-icon-svg-width);margin-block-start:calc((var(--sbb-form-field-min-height) - var(--sbb-size-icon-ui-small)) / 2)}:host(:is([data-input-empty],[data-disabled],[data-readonly])) ::slotted(sbb-form-field-clear){display:none}::slotted(sbb-datepicker-toggle){height:calc((var(--sbb-form-field-min-height) + var(--sbb-size-icon-ui-small)) / 2)}@media (forced-colors: active){::slotted(*[slot=suffix]){color:var(--sbb-form-field-prefix-color)}}.sbb-form-field__select-input-icon{top:50%;transform:translateY(-50%);position:absolute;inset-inline-end:0;margin-block-start:calc(-1 * var(--sbb-form-field-margin-block-start) / 2);pointer-events:none;color:var(--sbb-form-field-arrow-color)}.sbb-form-field__input-container{flex:1 1 auto;position:relative;margin-block-start:var(--sbb-form-field-margin-block-start);min-width:0}.sbb-form-field__label-spacer{display:flex;height:calc(var(--sbb-form-field-label-text-size) * var(--sbb-typo-line-height-body-text));margin-block-end:var(--sbb-form-field-spacer-margin-block-end)}:host(:not([data-slot-names~=label],[label])) :is(.sbb-form-field__label,.sbb-form-field__label-spacer){display:none}:host([hidden-label]) :is(.sbb-form-field__label,.sbb-form-field__label-spacer){border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.sbb-form-field__label{display:flex;max-width:100%;cursor:default;position:absolute;inset-block-start:0;color:var(--sbb-form-field-label-color);z-index:1;--sbb-text-font-size: var(--sbb-font-size-text-xs);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-body-text);letter-spacing:var(--sbb-typo-letter-spacing-body-text);font-size:var(--sbb-text-font-size)}:host([size=s]) .sbb-form-field__label{--sbb-text-font-size: var(--sbb-font-size-text-xxs);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-body-text);letter-spacing:var(--sbb-typo-letter-spacing-body-text);font-size:var(--sbb-text-font-size)}:host([data-input-type=select]) .sbb-form-field__label,:host([data-input-type=sbb-select]) .sbb-form-field__label{padding-inline-end:var(--sbb-form-field-select-inline-padding-end)}:host([floating-label]) .sbb-form-field__label{transform-origin:0 0;pointer-events:none;backface-visibility:hidden;will-change:transform,font-size;transition-duration:var(--sbb-disable-animation-zero-time, var(--sbb-animation-duration-2x));transition-timing-function:var(--sbb-animation-easing);transition-property:transform,font-size}:host([floating-label]:is(:not([data-input-focused]:not([data-input-type=sbb-select]),[data-has-popup-open]),[data-readonly])[data-input-empty]) .sbb-form-field__label{font-size:var(--sbb-form-field-input-text-size);transform:translateY(var(--sbb-form-field-floating-label-transform))}.sbb-form-field__label-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sbb-form-field__input{display:flex}:host([size=s]:is([data-input-type=input],[data-input-type=select],[data-input-type=sbb-select])) .sbb-form-field__input{margin-block-end:-.125rem}.sbb-form-field__input ::slotted(:where(input,select,textarea,sbb-select)){--sbb-text-font-size: var(--sbb-font-size-text-m);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-body-text);letter-spacing:var(--sbb-typo-letter-spacing-body-text);font-size:var(--sbb-text-font-size);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;outline:none;border:none;padding:0;-webkit-appearance:none;outline:none!important;overflow:var(--sbb-form-field-overflow);width:100%;box-sizing:border-box;color:var(--sbb-form-field-text-color);-webkit-text-fill-color:var(--sbb-form-field-text-color);opacity:1;background-color:transparent;font-size:var(--sbb-form-field-input-text-size)!important;font-family:var(--sbb-typo-font-family)!important;line-height:var(--sbb-typo-line-height-body-text)!important}.sbb-form-field__input ::slotted(:where(input,select,textarea,sbb-select))::placeholder{color:var(--sbb-color-metal);-webkit-text-fill-color:var(--sbb-color-metal);opacity:1}:host([floating-label]) .sbb-form-field__input ::slotted(:where(input,select,textarea,sbb-select))::placeholder{color:transparent!important;-webkit-text-fill-color:transparent!important}@media (forced-colors: active){:host([floating-label]) .sbb-form-field__input ::slotted(:where(input,select,textarea,sbb-select))::placeholder{color:Canvas!important;-webkit-text-fill-color:Canvas!important}}:host([data-disabled]:not([floating-label])) .sbb-form-field__input ::slotted(:where(input,select,textarea,sbb-select))::placeholder{color:var(--sbb-color-granite);-webkit-text-fill-color:var(--sbb-color-granite)}:host([data-input-type=select]) .sbb-form-field__input ::slotted(:where(input,select,textarea,sbb-select)){vertical-align:middle}.sbb-form-field__input ::slotted(:where(select,sbb-select)){padding-inline-end:var(--sbb-form-field-select-inline-padding-end)}.sbb-form-field__input ::slotted(textarea){--sbb-scrollbar-thumb-width: .125rem;--sbb-scrollbar-thumb-width-hover: .25rem;--sbb-scrollbar-width-firefox: thin;--sbb-scrollbar-color: var(--sbb-color-black-alpha-30);--sbb-scrollbar-color-hover: var(--sbb-color-black-alpha-60);--sbb-scrollbar-track-color: transparent;--sbb-scrollbar-width: var(--sbb-spacing-fixed-3x)}.sbb-form-field__input ::slotted(textarea)::-webkit-scrollbar{width:var(--sbb-scrollbar-width);height:var(--sbb-scrollbar-width);background-color:var(--sbb-scrollbar-track-color, transparent)}.sbb-form-field__input ::slotted(textarea)::-webkit-scrollbar-corner{background-color:var(--sbb-scrollbar-track-color, transparent)}.sbb-form-field__input ::slotted(textarea)::-webkit-scrollbar-thumb{background-color:var(--sbb-scrollbar-color, currentcolor);border:calc(.5 * (var(--sbb-scrollbar-width) - var(--sbb-scrollbar-thumb-width))) solid transparent;border-radius:var(--sbb-border-radius-4x);background-clip:padding-box}.sbb-form-field__input ::slotted(textarea)::-webkit-scrollbar-thumb:hover{background-color:var(--sbb-scrollbar-color-hover, currentcolor);border-width:calc(.5 * (var(--sbb-scrollbar-width) - var(--sbb-scrollbar-thumb-width-hover)))}.sbb-form-field__input ::slotted(textarea)::-webkit-scrollbar-button,.sbb-form-field__input ::slotted(textarea)::-webkit-scrollbar-corner{display:none}@supports not selector(::-webkit-scrollbar){.sbb-form-field__input ::slotted(textarea){scrollbar-width:var(--sbb-scrollbar-width-firefox);scrollbar-color:var(--sbb-scrollbar-color, currentcolor) var(--sbb-scrollbar-track-color, transparent)}}.sbb-form-field__input ::slotted(textarea){position:relative;resize:none;white-space:break-spaces;overflow-y:auto;min-height:calc(var(--sbb-typo-line-height-body-text) * 1em)}:host([size=l]) .sbb-form-field__input ::slotted(textarea){padding-block-end:.34375rem}:host([negative]) .sbb-form-field__input ::slotted(textarea){--sbb-scrollbar-thumb-width: .125rem;--sbb-scrollbar-thumb-width-hover: .25rem;--sbb-scrollbar-width-firefox: thin;--sbb-scrollbar-color: var(--sbb-color-white-alpha-30);--sbb-scrollbar-color-hover: var(--sbb-color-white-alpha-60);--sbb-scrollbar-track-color: transparent;--sbb-scrollbar-width: var(--sbb-spacing-fixed-3x)}:host([negative]) .sbb-form-field__input ::slotted(textarea)::-webkit-scrollbar{width:var(--sbb-scrollbar-width);height:var(--sbb-scrollbar-width);background-color:var(--sbb-scrollbar-track-color, transparent)}:host([negative]) .sbb-form-field__input ::slotted(textarea)::-webkit-scrollbar-corner{background-color:var(--sbb-scrollbar-track-color, transparent)}:host([negative]) .sbb-form-field__input ::slotted(textarea)::-webkit-scrollbar-thumb{background-color:var(--sbb-scrollbar-color, currentcolor);border:calc(.5 * (var(--sbb-scrollbar-width) - var(--sbb-scrollbar-thumb-width))) solid transparent;border-radius:var(--sbb-border-radius-4x);background-clip:padding-box}:host([negative]) .sbb-form-field__input ::slotted(textarea)::-webkit-scrollbar-thumb:hover{background-color:var(--sbb-scrollbar-color-hover, currentcolor);border-width:calc(.5 * (var(--sbb-scrollbar-width) - var(--sbb-scrollbar-thumb-width-hover)))}:host([negative]) .sbb-form-field__input ::slotted(textarea)::-webkit-scrollbar-button,:host([negative]) .sbb-form-field__input ::slotted(textarea)::-webkit-scrollbar-corner{display:none}@supports not selector(::-webkit-scrollbar){:host([negative]) .sbb-form-field__input ::slotted(textarea){scrollbar-width:var(--sbb-scrollbar-width-firefox);scrollbar-color:var(--sbb-scrollbar-color, currentcolor) var(--sbb-scrollbar-track-color, transparent)}}.sbb-form-field__error{display:flex;min-height:var(--sbb-form-field-error-min-height);margin-block-start:var(--sbb-form-field-error-padding-block-start-override, var(--sbb-form-field-error-padding-block-start))}`;
11
- var C = Object.defineProperty, S = Object.getOwnPropertyDescriptor, i = (e, t, r, l) => {
12
- for (var s = l > 1 ? void 0 : l ? S(t, r) : t, a = e.length - 1, n; a >= 0; a--)
13
- (n = e[a]) && (s = (l ? n(t, r, s) : n(s)) || s);
14
- return l && s && C(t, r, s), s;
1
+ var le = (o) => {
2
+ throw TypeError(o);
15
3
  };
16
- let p = 0, N = 0;
17
- const h = ["sbb-autocomplete", "sbb-autocomplete-grid", "sbb-select"];
18
- let o = class extends z(I(u)) {
19
- constructor() {
20
- super(...arguments), this._supportedNativeInputElements = ["input", "select", "textarea"], this._supportedInputElements = [
21
- ...this._supportedNativeInputElements,
22
- "sbb-select",
23
- "sbb-slider"
24
- ], this._excludedFocusElements = ["button", "sbb-popover"], this._floatingLabelSupportedInputElements = [
25
- "input",
26
- "select",
27
- "sbb-select",
28
- "textarea"
29
- ], this._floatingLabelSupportedInputTypes = [
30
- "email",
31
- "number",
32
- "password",
33
- "search",
34
- "tel",
35
- "text",
36
- "url"
37
- ], this.errorSpace = "none", this.size = "m", this.borderless = !1, this.width = "default", this.hiddenLabel = !1, this.floatingLabel = !1, this._errorElements = [], this._abort = new x(this), this._language = new y(this), this._formFieldAttributeObserver = v ? null : new MutationObserver((e) => {
38
- e.some((t) => t.type === "attributes") && this._readInputState();
39
- }), this._inputAbortController = new AbortController();
40
- }
41
- /** Returns the input element. */
42
- get inputElement() {
43
- return this._input;
44
- }
45
- connectedCallback() {
46
- super.connectedCallback();
47
- const e = this._abort.signal;
48
- this.addEventListener("willOpen", (t) => this._onPopupOpen(t), { signal: e }), this.addEventListener("didClose", (t) => this._onPopupClose(t), { signal: e }), this._registerInputListener(), this._syncNegative();
49
- }
50
- willUpdate(e) {
51
- super.willUpdate(e), e.has("negative") && this._syncNegative();
52
- }
53
- disconnectedCallback() {
54
- var e;
55
- super.disconnectedCallback(), (e = this._formFieldAttributeObserver) == null || e.disconnect(), this._inputAbortController.abort();
56
- }
57
- _onPopupOpen({ target: e }) {
58
- h.includes(e.localName) && this.toggleAttribute("data-has-popup-open", !0);
59
- }
60
- _onPopupClose({ target: e }) {
61
- h.includes(e.localName) && this.removeAttribute("data-has-popup-open");
62
- }
63
- _handleWrapperClick(e) {
64
- var t, r;
65
- this._isButtonOrPopup(e) || (((t = this._input) == null ? void 0 : t.localName) === "sbb-select" ? (this._input.click(), this._input.focus()) : e.target.localName !== "label" && ((r = this._input) == null || r.focus()));
66
- }
67
- _isButtonOrPopup(e) {
68
- return e.composedPath().some(
69
- (t) => t instanceof window.HTMLElement && t.getAttribute("role") === "button" || this._excludedFocusElements.includes(t.localName)
70
- );
71
- }
72
- _onSlotLabelChange() {
73
- const e = Array.from(this.querySelectorAll("label"));
74
- this._label = e[0], this._syncLabelInputReferences();
75
- }
76
- /**
77
- * It is used internally to assign the attributes of `<input>` to `_id` and `_input` and to observe the native readonly and disabled attributes.
78
- */
79
- _onSlotInputChange(e) {
80
- var t, r;
81
- this._input = e.target.assignedElements().find((l) => this._supportedInputElements.includes(l.localName)), this._assignSlots(), this._input && (this._originalInputAriaDescribedby = this._input.getAttribute("aria-describedby"), this._applyAriaDescribedby(), this._readInputState(), this._registerInputListener(), this._input.localName === "textarea" && this._input.setAttribute("rows", this._input.getAttribute("rows") || "3"), (t = this._formFieldAttributeObserver) == null || t.disconnect(), (r = this._formFieldAttributeObserver) == null || r.observe(this._input, {
82
- attributes: !0,
83
- attributeFilter: ["readonly", "disabled", "class", "data-sbb-invalid"]
84
- }), this.setAttribute("data-input-type", this._input.localName), this._syncLabelInputReferences());
85
- }
86
- _syncLabelInputReferences() {
87
- var e;
88
- if (!(!this._input || !this._label))
89
- if (this._supportedNativeInputElements.includes(this._input.localName))
90
- this._input.id || (this._input.id = `sbb-form-field-input-${p++}`), this._label.htmlFor = this._input.id;
91
- else {
92
- this._label.id || (this._label.id = `sbb-form-field-label-${p++}`);
93
- const t = ((e = this._input.getAttribute("aria-labelledby")) == null ? void 0 : e.split(" ").filter((r) => !!r && r !== this._label.id)) ?? [];
94
- this._input.setAttribute("aria-labelledby", [...t, this._label.id].join(" "));
95
- }
96
- }
97
- _registerInputListener() {
98
- var t;
99
- if (!this._input)
100
- return;
101
- this._inputAbortController.abort(), this._inputAbortController = new AbortController(), this._checkAndUpdateInputEmpty(), (t = this._getInputForm()) == null || t.addEventListener("reset", () => setTimeout(() => this.reset()), {
102
- signal: this._inputAbortController.signal
103
- }), this._input.addEventListener("input", () => this._checkAndUpdateInputEmpty(), {
104
- signal: this._inputAbortController.signal
105
- }), this._input.addEventListener("blur", () => this._checkAndUpdateInputEmpty(), {
106
- signal: this._inputAbortController.signal
107
- });
108
- let e = this._input;
109
- this._input.localName === "sbb-select" && (this._input.addEventListener("stateChange", () => this._checkAndUpdateInputEmpty(), {
110
- signal: this._inputAbortController.signal
111
- }), e = this._input.inputElement), e.addEventListener(
112
- "focusin",
113
- () => {
114
- this.toggleAttribute("data-input-focused", !0), this.setAttribute(
115
- "data-focus-origin",
116
- _.mostRecentModality ?? ""
117
- );
118
- },
119
- {
4
+ var ae = (o, a, b) => a.has(o) || le("Cannot " + b);
5
+ var n = (o, a, b) => (ae(o, a, "read from private field"), b ? b.call(o) : a.get(o)), d = (o, a, b) => a.has(o) ? le("Cannot add the same private member more than once") : a instanceof WeakSet ? a.add(o) : a.set(o, b), i = (o, a, b, f) => (ae(o, a, "write to private field"), f ? f.call(o, b) : a.set(o, b), b);
6
+ import { __runInitializers as s, __esDecorate as c } from "tslib";
7
+ import { css as ce, LitElement as fe, isServer as pe, html as A, nothing as be } from "lit";
8
+ import { customElement as he, property as p, state as I } from "lit/decorators.js";
9
+ import { sbbInputModalityDetector as me } from "../core/a11y.js";
10
+ import { SbbConnectedAbortController as ue, SbbLanguageController as _e } from "../core/controllers.js";
11
+ import { slotState as ve, forceType as E } from "../core/decorators.js";
12
+ import { isFirefox as ge, setOrRemoveAttribute as xe } from "../core/dom.js";
13
+ import { i18nOptional as ye } from "../core/i18n.js";
14
+ import { SbbNegativeMixin as we, SbbHydrationMixin as ke } from "../core/mixins.js";
15
+ import "../icon.js";
16
+ const ze = ce`@charset "UTF-8";*,:before,:after{box-sizing:border-box}:host{display:inline-block;--sbb-form-field-background-color: var(--sbb-color-white);--sbb-form-field-border-color: var(--sbb-color-smoke);--sbb-form-field-border-style: solid;--sbb-form-field-border-radius: var(--sbb-border-radius-4x);--sbb-form-field-border-width: var(--sbb-border-width-1x);--sbb-form-field-min-height: var(--sbb-size-element-m);--sbb-form-field-label-color: var(--sbb-color-metal);--sbb-form-field-prefix-color: var(--sbb-color-metal);--sbb-form-field-padding-inline: var(--sbb-spacing-fixed-3x);--sbb-form-field-text-color: var(--sbb-color-charcoal);--sbb-form-field-arrow-color: var(--sbb-color-charcoal);--sbb-form-field-error-divider-width: var(--sbb-spacing-fixed-1x);--sbb-form-field-error-padding-block-start: var(--sbb-form-field-error-divider-width);--sbb-form-field-gap: var(--sbb-spacing-fixed-2x);--sbb-form-field-label-to-input-overlapping: var(--sbb-spacing-fixed-1x);--sbb-form-field-select-inline-padding-end: calc( var(--sbb-icon-svg-width) + var(--sbb-form-field-gap) );--sbb-form-field-overflow: hidden;--sbb-form-field-input-text-size: var(--sbb-font-size-text-m);--sbb-form-field-label-text-size: var(--sbb-font-size-text-xs);--sbb-form-field-label-size: calc( var(--sbb-form-field-label-text-size) * var(--sbb-typo-line-height-body-text) );--sbb-form-field-text-line-height: calc( var(--sbb-form-field-input-text-size) * var(--sbb-typo-line-height-body-text) );--sbb-form-field-margin-block-start: calc( ( var(--sbb-form-field-min-height) - var(--sbb-form-field-label-size) - var( --sbb-form-field-text-line-height ) + var(--sbb-form-field-label-to-input-overlapping) ) / 2 );--sbb-form-field-spacer-margin-block-end: calc( -1 * var(--sbb-form-field-label-to-input-overlapping) );--sbb-form-field-floating-label-transform: .53125rem;--sbb-icon-svg-width: var(--sbb-size-icon-ui-small);--sbb-icon-svg-height: var(--sbb-size-icon-ui-small);--sbb-focus-outline-color: var(--sbb-focus-outline-color-default)}@media (min-width: 52.5rem){:host{--sbb-form-field-floating-label-transform: .65625rem}}@media (forced-colors: active){:host{--sbb-form-field-border-color: ButtonBorder}}:host(:where(:not([width=collapse]))){min-width:9.375rem;width:min(18.75rem,100%)}:host([negative]){--sbb-form-field-background-color: var(--sbb-color-midnight);--sbb-form-field-border-color: var(--sbb-color-smoke);--sbb-form-field-label-color: var(--sbb-color-smoke);--sbb-form-field-prefix-color: var(--sbb-color-smoke);--sbb-form-field-text-color: var(--sbb-color-milk);--sbb-focus-outline-color: var(--sbb-focus-outline-color-dark);--sbb-form-field-arrow-color: var(--sbb-color-milk)}@media (forced-colors: active){:host([negative]){--sbb-form-field-border-color: ButtonBorder}}:host([size=s]){--sbb-form-field-min-height: var(--sbb-size-element-xs);--sbb-form-field-padding-inline: var(--sbb-spacing-fixed-2x);--sbb-form-field-input-text-size: var(--sbb-font-size-text-s);--sbb-form-field-label-text-size: var(--sbb-font-size-text-xxs);--sbb-form-field-label-to-input-overlapping: .625rem;--sbb-form-field-floating-label-transform: .34375rem;--sbb-form-field-spacer-margin-block-end: -.53125rem}@media (min-width: 52.5rem){:host([size=s]){--sbb-form-field-label-to-input-overlapping: .6875rem;--sbb-form-field-floating-label-transform: .3125rem;--sbb-form-field-spacer-margin-block-end: -.5rem}}:host([size=l]){--sbb-form-field-min-height: var(--sbb-size-element-l);--sbb-form-field-padding-inline: var(--sbb-spacing-responsive-xxxs)}:host([error-space=reserve]){--sbb-form-field-error-min-height: calc( var(--sbb-typo-line-height-body-text) * var(--sbb-font-size-text-xs) );--sbb-form-field-error-padding-block-start-override: var(--sbb-form-field-error-divider-width)}:host(:is([data-readonly],[data-disabled])){--sbb-form-field-background-color: var(--sbb-color-milk);--sbb-form-field-border-color: var(--sbb-color-graphite);--sbb-form-field-arrow-color: var(--sbb-color-granite)}@media (forced-colors: active){:host(:is([data-readonly],[data-disabled])){--sbb-form-field-border-color: ButtonBorder}}:host(:is([data-readonly],[data-disabled])[negative]){--sbb-form-field-background-color: var(--sbb-color-charcoal);--sbb-form-field-border-color: var(--sbb-color-smoke);--sbb-form-field-arrow-color: var(--sbb-color-smoke)}:host([data-disabled]){--sbb-form-field-label-color: var(--sbb-color-granite);--sbb-form-field-prefix-color: var(--sbb-color-granite);--sbb-form-field-border-style: dashed}@media (forced-colors: active){:host([data-disabled]){--sbb-form-field-label-color: GrayText !important;--sbb-form-field-prefix-color: GrayText !important;--sbb-form-field-text-color: GrayText !important;--sbb-form-field-border-color: GrayText !important}}:host([data-disabled][negative]){--sbb-form-field-text-color: var(--sbb-color-smoke);--sbb-form-field-label-color: var(--sbb-color-smoke);--sbb-form-field-prefix-color: var(--sbb-color-smoke)}:host([data-readonly]:not([negative])){--sbb-form-field-label-color: var(--sbb-color-granite);--sbb-form-field-prefix-color: var(--sbb-color-granite)}:host(:is([data-input-focused],[data-has-popup-open])){--sbb-form-field-border-color: var(--sbb-color-charcoal);--sbb-form-field-prefix-color: var(--sbb-color-charcoal);--sbb-form-field-border-width: var(--sbb-border-width-2x)}@media (forced-colors: active){:host(:is([data-input-focused],[data-has-popup-open])){--sbb-form-field-border-color: Highlight !important;--sbb-form-field-prefix-color: Highlight !important}}:host(:is([data-input-focused],[data-has-popup-open])[negative]){--sbb-form-field-border-color: var(--sbb-color-milk);--sbb-form-field-prefix-color: var(--sbb-color-milk)}:host([data-invalid]){--sbb-form-field-border-color: var(--sbb-color-red125);--sbb-form-field-text-color: var(--sbb-color-red125)}@media (forced-colors: active){:host([data-invalid]){--sbb-form-field-border-color: LinkText !important;--sbb-form-field-text-color: LinkText !important}}:host([data-invalid][negative]){--sbb-form-field-border-color: var(--sbb-color-red-mode-dark);--sbb-form-field-text-color: var(--sbb-color-red-mode-dark)}:host(:not([data-has-error])){--sbb-form-field-error-padding-block-start: 0}:host([floating-label]){--sbb-select-placeholder-color: transparent}@media (forced-colors: active){:host([floating-label]){--sbb-select-placeholder-color: Canvas}}:host(:is(:not([data-slot-names~=label],[label]),[hidden-label])){--sbb-form-field-label-size: 0rem;--sbb-form-field-label-to-input-overlapping: 0rem}:host([data-input-type=sbb-slider]){--sbb-form-field-overflow: visible}:host([data-input-type=textarea]){--sbb-form-field-max-height: fit-content}.sbb-form-field__space-wrapper{display:flex;flex-direction:column}.sbb-form-field__space-wrapper:before{content:"​";-webkit-user-select:none;user-select:none;width:0;height:0}.sbb-form-field__wrapper{display:flex;gap:var(--sbb-form-field-gap);padding-inline:var(--sbb-form-field-padding-inline);border-radius:var(--sbb-form-field-border-radius);min-height:var(--sbb-form-field-min-height);max-height:var(--sbb-form-field-max-height);background-color:var(--sbb-form-field-background-color);position:relative}.sbb-form-field__wrapper:before{content:"";display:block;position:absolute;top:0;right:0;bottom:0;left:0;border:var(--sbb-form-field-border-width) var(--sbb-form-field-border-style) var(--sbb-form-field-border-color);border-radius:var(--sbb-form-field-border-radius)}:host([data-input-focused][data-focus-origin=keyboard]) .sbb-form-field__wrapper{outline-offset:var(--sbb-focus-outline-offset);outline:var(--sbb-focus-outline-color) solid var(--sbb-focus-outline-width)}@media (forced-colors: none){:host(:is([borderless],[data-input-type=sbb-slider])) .sbb-form-field__wrapper:before{border-color:transparent}:host(:is([data-input-focused],[data-has-popup-open],[data-disabled])[borderless]) .sbb-form-field__wrapper:after{content:"";position:absolute;border-block-end:var(--sbb-border-width-1x) var(--sbb-form-field-border-style) var(--sbb-form-field-border-color);inset-inline:var(--sbb-form-field-padding-inline);inset-block-end:0}}::slotted(*[slot=prefix]){color:var(--sbb-form-field-prefix-color)}::slotted(*[slot=prefix]),::slotted(*[slot=suffix]){display:flex;min-width:var(--sbb-icon-svg-width);margin-block-start:calc((var(--sbb-form-field-min-height) - var(--sbb-size-icon-ui-small)) / 2)}:host(:is([data-input-empty],[data-disabled],[data-readonly])) ::slotted(sbb-form-field-clear){display:none}::slotted(sbb-datepicker-toggle){height:calc((var(--sbb-form-field-min-height) + var(--sbb-size-icon-ui-small)) / 2)}@media (forced-colors: active){::slotted(*[slot=suffix]){color:var(--sbb-form-field-prefix-color)}}.sbb-form-field__select-input-icon{top:50%;transform:translateY(-50%);position:absolute;inset-inline-end:0;margin-block-start:calc(-1 * var(--sbb-form-field-margin-block-start) / 2);pointer-events:none;color:var(--sbb-form-field-arrow-color)}.sbb-form-field__input-container{flex:1 1 auto;position:relative;margin-block-start:var(--sbb-form-field-margin-block-start);min-width:0}.sbb-form-field__label-spacer{display:flex;height:calc(var(--sbb-form-field-label-text-size) * var(--sbb-typo-line-height-body-text));margin-block-end:var(--sbb-form-field-spacer-margin-block-end)}:host(:not([data-slot-names~=label],[label])) :is(.sbb-form-field__label,.sbb-form-field__label-spacer){display:none}:host([hidden-label]) :is(.sbb-form-field__label,.sbb-form-field__label-spacer){border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.sbb-form-field__label{display:flex;max-width:100%;cursor:default;position:absolute;inset-block-start:0;color:var(--sbb-form-field-label-color);z-index:1;--sbb-text-font-size: var(--sbb-font-size-text-xs);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-body-text);letter-spacing:var(--sbb-typo-letter-spacing-body-text);font-size:var(--sbb-text-font-size)}:host([size=s]) .sbb-form-field__label{--sbb-text-font-size: var(--sbb-font-size-text-xxs);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-body-text);letter-spacing:var(--sbb-typo-letter-spacing-body-text);font-size:var(--sbb-text-font-size)}:host([data-input-type=select]) .sbb-form-field__label,:host([data-input-type=sbb-select]) .sbb-form-field__label{padding-inline-end:var(--sbb-form-field-select-inline-padding-end)}:host([floating-label]) .sbb-form-field__label{transform-origin:0 0;pointer-events:none;backface-visibility:hidden;will-change:transform,font-size;transition-duration:var(--sbb-disable-animation-zero-time, var(--sbb-animation-duration-2x));transition-timing-function:var(--sbb-animation-easing);transition-property:transform,font-size}:host([floating-label]:is(:not([data-input-focused]:not([data-input-type=sbb-select]),[data-has-popup-open]),[data-readonly])[data-input-empty]) .sbb-form-field__label{font-size:var(--sbb-form-field-input-text-size);transform:translateY(var(--sbb-form-field-floating-label-transform))}.sbb-form-field__label-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sbb-form-field__input{display:flex}:host([size=s]:is([data-input-type=input],[data-input-type=select],[data-input-type=sbb-select])) .sbb-form-field__input{margin-block-end:-.125rem}.sbb-form-field__input ::slotted(:where(input,select,textarea,sbb-select)){--sbb-text-font-size: var(--sbb-font-size-text-m);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-body-text);letter-spacing:var(--sbb-typo-letter-spacing-body-text);font-size:var(--sbb-text-font-size);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;outline:none;border:none;padding:0;-webkit-appearance:none;outline:none!important;overflow:var(--sbb-form-field-overflow);width:100%;box-sizing:border-box;color:var(--sbb-form-field-text-color);-webkit-text-fill-color:var(--sbb-form-field-text-color);opacity:1;background-color:transparent;font-size:var(--sbb-form-field-input-text-size)!important;font-family:var(--sbb-typo-font-family)!important;line-height:var(--sbb-typo-line-height-body-text)!important}.sbb-form-field__input ::slotted(:where(input,select,textarea,sbb-select))::placeholder{color:var(--sbb-color-metal);-webkit-text-fill-color:var(--sbb-color-metal);opacity:1}:host([floating-label]) .sbb-form-field__input ::slotted(:where(input,select,textarea,sbb-select))::placeholder{color:transparent!important;-webkit-text-fill-color:transparent!important}@media (forced-colors: active){:host([floating-label]) .sbb-form-field__input ::slotted(:where(input,select,textarea,sbb-select))::placeholder{color:Canvas!important;-webkit-text-fill-color:Canvas!important}}:host([data-disabled]:not([floating-label])) .sbb-form-field__input ::slotted(:where(input,select,textarea,sbb-select))::placeholder{color:var(--sbb-color-granite);-webkit-text-fill-color:var(--sbb-color-granite)}:host([data-input-type=select]) .sbb-form-field__input ::slotted(:where(input,select,textarea,sbb-select)){vertical-align:middle}.sbb-form-field__input ::slotted(:where(select,sbb-select)){padding-inline-end:var(--sbb-form-field-select-inline-padding-end)}.sbb-form-field__input ::slotted(textarea){--sbb-scrollbar-thumb-width: .125rem;--sbb-scrollbar-thumb-width-hover: .25rem;--sbb-scrollbar-width-firefox: thin;--sbb-scrollbar-color: var(--sbb-color-black-alpha-30);--sbb-scrollbar-color-hover: var(--sbb-color-black-alpha-60);--sbb-scrollbar-track-color: transparent;--sbb-scrollbar-width: var(--sbb-spacing-fixed-3x)}.sbb-form-field__input ::slotted(textarea)::-webkit-scrollbar{width:var(--sbb-scrollbar-width);height:var(--sbb-scrollbar-width);background-color:var(--sbb-scrollbar-track-color, transparent)}.sbb-form-field__input ::slotted(textarea)::-webkit-scrollbar-corner{background-color:var(--sbb-scrollbar-track-color, transparent)}.sbb-form-field__input ::slotted(textarea)::-webkit-scrollbar-thumb{background-color:var(--sbb-scrollbar-color, currentcolor);border:calc(.5 * (var(--sbb-scrollbar-width) - var(--sbb-scrollbar-thumb-width))) solid transparent;border-radius:var(--sbb-border-radius-4x);background-clip:padding-box}.sbb-form-field__input ::slotted(textarea)::-webkit-scrollbar-thumb:hover{background-color:var(--sbb-scrollbar-color-hover, currentcolor);border-width:calc(.5 * (var(--sbb-scrollbar-width) - var(--sbb-scrollbar-thumb-width-hover)))}.sbb-form-field__input ::slotted(textarea)::-webkit-scrollbar-button,.sbb-form-field__input ::slotted(textarea)::-webkit-scrollbar-corner{display:none}@supports not selector(::-webkit-scrollbar){.sbb-form-field__input ::slotted(textarea){scrollbar-width:var(--sbb-scrollbar-width-firefox);scrollbar-color:var(--sbb-scrollbar-color, currentcolor) var(--sbb-scrollbar-track-color, transparent)}}.sbb-form-field__input ::slotted(textarea){position:relative;resize:none;white-space:break-spaces;overflow-y:auto;min-height:calc(var(--sbb-typo-line-height-body-text) * 1em)}:host([size=l]) .sbb-form-field__input ::slotted(textarea){padding-block-end:.34375rem}:host([negative]) .sbb-form-field__input ::slotted(textarea){--sbb-scrollbar-thumb-width: .125rem;--sbb-scrollbar-thumb-width-hover: .25rem;--sbb-scrollbar-width-firefox: thin;--sbb-scrollbar-color: var(--sbb-color-white-alpha-30);--sbb-scrollbar-color-hover: var(--sbb-color-white-alpha-60);--sbb-scrollbar-track-color: transparent;--sbb-scrollbar-width: var(--sbb-spacing-fixed-3x)}:host([negative]) .sbb-form-field__input ::slotted(textarea)::-webkit-scrollbar{width:var(--sbb-scrollbar-width);height:var(--sbb-scrollbar-width);background-color:var(--sbb-scrollbar-track-color, transparent)}:host([negative]) .sbb-form-field__input ::slotted(textarea)::-webkit-scrollbar-corner{background-color:var(--sbb-scrollbar-track-color, transparent)}:host([negative]) .sbb-form-field__input ::slotted(textarea)::-webkit-scrollbar-thumb{background-color:var(--sbb-scrollbar-color, currentcolor);border:calc(.5 * (var(--sbb-scrollbar-width) - var(--sbb-scrollbar-thumb-width))) solid transparent;border-radius:var(--sbb-border-radius-4x);background-clip:padding-box}:host([negative]) .sbb-form-field__input ::slotted(textarea)::-webkit-scrollbar-thumb:hover{background-color:var(--sbb-scrollbar-color-hover, currentcolor);border-width:calc(.5 * (var(--sbb-scrollbar-width) - var(--sbb-scrollbar-thumb-width-hover)))}:host([negative]) .sbb-form-field__input ::slotted(textarea)::-webkit-scrollbar-button,:host([negative]) .sbb-form-field__input ::slotted(textarea)::-webkit-scrollbar-corner{display:none}@supports not selector(::-webkit-scrollbar){:host([negative]) .sbb-form-field__input ::slotted(textarea){scrollbar-width:var(--sbb-scrollbar-width-firefox);scrollbar-color:var(--sbb-scrollbar-color, currentcolor) var(--sbb-scrollbar-track-color, transparent)}}.sbb-form-field__error{display:flex;min-height:var(--sbb-form-field-error-min-height);margin-block-start:var(--sbb-form-field-error-padding-block-start-override, var(--sbb-form-field-error-padding-block-start))}`;
17
+ let ne = 0, Ee = 0;
18
+ const de = ["sbb-autocomplete", "sbb-autocomplete-grid", "sbb-select"];
19
+ let Me = (() => {
20
+ var h, m, u, _, v, g, x, y, w, k, l;
21
+ let o = [he("sbb-form-field"), ve()], a, b = [], f, L = we(ke(fe)), S, C = [], N = [], T, F = [], O = [], D, $ = [], B = [], M, U = [], H = [], P, R = [], j = [], q, G = [], V = [], W, Y = [], J = [], K, Q = [], X = [], Z, ee = [], te = [], re, ie = [], se = [];
22
+ return l = class extends L {
23
+ constructor() {
24
+ super(...arguments);
25
+ d(this, h);
26
+ d(this, m);
27
+ d(this, u);
28
+ d(this, _);
29
+ d(this, v);
30
+ d(this, g);
31
+ d(this, x);
32
+ d(this, y);
33
+ d(this, w);
34
+ d(this, k);
35
+ this._supportedNativeInputElements = ["input", "select", "textarea"], this._supportedInputElements = [
36
+ ...this._supportedNativeInputElements,
37
+ "sbb-select",
38
+ "sbb-slider"
39
+ ], this._excludedFocusElements = ["button", "sbb-popover"], this._floatingLabelSupportedInputElements = [
40
+ "input",
41
+ "select",
42
+ "sbb-select",
43
+ "textarea"
44
+ ], this._floatingLabelSupportedInputTypes = [
45
+ "email",
46
+ "number",
47
+ "password",
48
+ "search",
49
+ "tel",
50
+ "text",
51
+ "url"
52
+ ], i(this, h, s(this, C, "none")), i(this, m, (s(this, N), s(this, F, !1))), i(this, u, (s(this, O), s(this, $, "m"))), i(this, _, (s(this, B), s(this, U, !1))), i(this, v, (s(this, H), s(this, R, "default"))), i(this, g, (s(this, j), s(this, G, !1))), i(this, x, (s(this, V), s(this, Y, !1))), i(this, y, (s(this, J), s(this, Q, []))), this._originalInputAriaDescribedby = s(this, X), i(this, w, s(this, ee, void 0)), i(this, k, (s(this, te), s(this, ie, void 0))), this._abort = (s(this, se), new ue(this)), this._language = new _e(this), this._formFieldAttributeObserver = pe ? null : new MutationObserver((e) => {
53
+ e.some((t) => t.type === "attributes") && this._readInputState();
54
+ }), this._inputAbortController = new AbortController();
55
+ }
56
+ /**
57
+ * Whether to reserve space for an error message.
58
+ * `none` does not reserve any space.
59
+ * `reserve` does reserve one row for an error message.
60
+ */
61
+ get errorSpace() {
62
+ return n(this, h);
63
+ }
64
+ set errorSpace(e) {
65
+ i(this, h, e);
66
+ }
67
+ /** Indicates whether the input is optional. */
68
+ get optional() {
69
+ return n(this, m);
70
+ }
71
+ set optional(e) {
72
+ i(this, m, e);
73
+ }
74
+ /** Size variant, either l or m. */
75
+ get size() {
76
+ return n(this, u);
77
+ }
78
+ set size(e) {
79
+ i(this, u, e);
80
+ }
81
+ /** Whether to display the form field without a border. */
82
+ get borderless() {
83
+ return n(this, _);
84
+ }
85
+ set borderless(e) {
86
+ i(this, _, e);
87
+ }
88
+ /** Defines the width of the component:
89
+ * - `default`: the component has defined width and min-width;
90
+ * - `collapse`: the component adapts itself to its inner input content. */
91
+ get width() {
92
+ return n(this, v);
93
+ }
94
+ set width(e) {
95
+ i(this, v, e);
96
+ }
97
+ /** Whether to visually hide the label. If hidden, screen readers will still read it. */
98
+ get hiddenLabel() {
99
+ return n(this, g);
100
+ }
101
+ set hiddenLabel(e) {
102
+ i(this, g, e);
103
+ }
104
+ /** Whether the label should float. If activated, the placeholder of the input is hidden. */
105
+ get floatingLabel() {
106
+ return n(this, x);
107
+ }
108
+ set floatingLabel(e) {
109
+ i(this, x, e);
110
+ }
111
+ /** It is used internally to get the `error` slot. */
112
+ get _errorElements() {
113
+ return n(this, y);
114
+ }
115
+ set _errorElements(e) {
116
+ i(this, y, e);
117
+ }
118
+ /** Reference to the slotted input element. */
119
+ get _input() {
120
+ return n(this, w);
121
+ }
122
+ set _input(e) {
123
+ i(this, w, e);
124
+ }
125
+ /** Reference to the slotted label elements. */
126
+ get _label() {
127
+ return n(this, k);
128
+ }
129
+ set _label(e) {
130
+ i(this, k, e);
131
+ }
132
+ /** Returns the input element. */
133
+ get inputElement() {
134
+ return this._input;
135
+ }
136
+ connectedCallback() {
137
+ super.connectedCallback();
138
+ const e = this._abort.signal;
139
+ this.addEventListener("willOpen", (t) => this._onPopupOpen(t), { signal: e }), this.addEventListener("didClose", (t) => this._onPopupClose(t), { signal: e }), this._registerInputListener(), this._syncNegative();
140
+ }
141
+ willUpdate(e) {
142
+ super.willUpdate(e), e.has("negative") && this._syncNegative();
143
+ }
144
+ disconnectedCallback() {
145
+ var e;
146
+ super.disconnectedCallback(), (e = this._formFieldAttributeObserver) == null || e.disconnect(), this._inputAbortController.abort();
147
+ }
148
+ _onPopupOpen({ target: e }) {
149
+ de.includes(e.localName) && this.toggleAttribute("data-has-popup-open", !0);
150
+ }
151
+ _onPopupClose({ target: e }) {
152
+ de.includes(e.localName) && this.removeAttribute("data-has-popup-open");
153
+ }
154
+ _handleWrapperClick(e) {
155
+ var t, r;
156
+ this._isButtonOrPopup(e) || (((t = this._input) == null ? void 0 : t.localName) === "sbb-select" ? (this._input.click(), this._input.focus()) : e.target.localName !== "label" && ((r = this._input) == null || r.focus()));
157
+ }
158
+ _isButtonOrPopup(e) {
159
+ return e.composedPath().some((t) => t instanceof window.HTMLElement && t.getAttribute("role") === "button" || this._excludedFocusElements.includes(t.localName));
160
+ }
161
+ _onSlotLabelChange() {
162
+ const e = Array.from(this.querySelectorAll("label"));
163
+ this._label = e[0], this._syncLabelInputReferences();
164
+ }
165
+ /**
166
+ * It is used internally to assign the attributes of `<input>` to `_id` and `_input` and to observe the native readonly and disabled attributes.
167
+ */
168
+ _onSlotInputChange(e) {
169
+ var t, r;
170
+ this._input = e.target.assignedElements().find((z) => this._supportedInputElements.includes(z.localName)), this._assignSlots(), this._input && (this._originalInputAriaDescribedby = this._input.getAttribute("aria-describedby"), this._applyAriaDescribedby(), this._readInputState(), this._registerInputListener(), this._input.localName === "textarea" && this._input.setAttribute("rows", this._input.getAttribute("rows") || "3"), (t = this._formFieldAttributeObserver) == null || t.disconnect(), (r = this._formFieldAttributeObserver) == null || r.observe(this._input, {
171
+ attributes: !0,
172
+ attributeFilter: ["readonly", "disabled", "class", "data-sbb-invalid"]
173
+ }), this.setAttribute("data-input-type", this._input.localName), this._syncLabelInputReferences());
174
+ }
175
+ _syncLabelInputReferences() {
176
+ var e;
177
+ if (!(!this._input || !this._label))
178
+ if (this._supportedNativeInputElements.includes(this._input.localName))
179
+ this._input.id || (this._input.id = `sbb-form-field-input-${ne++}`), this._label.htmlFor = this._input.id;
180
+ else {
181
+ this._label.id || (this._label.id = `sbb-form-field-label-${ne++}`);
182
+ const t = ((e = this._input.getAttribute("aria-labelledby")) == null ? void 0 : e.split(" ").filter((r) => !!r && r !== this._label.id)) ?? [];
183
+ this._input.setAttribute("aria-labelledby", [...t, this._label.id].join(" "));
184
+ }
185
+ }
186
+ _registerInputListener() {
187
+ var t;
188
+ if (!this._input)
189
+ return;
190
+ this._inputAbortController.abort(), this._inputAbortController = new AbortController(), this._checkAndUpdateInputEmpty(), (t = this._getInputForm()) == null || t.addEventListener("reset", () => setTimeout(() => this.reset()), {
191
+ signal: this._inputAbortController.signal
192
+ }), this._input.addEventListener("input", () => this._checkAndUpdateInputEmpty(), {
193
+ signal: this._inputAbortController.signal
194
+ }), this._input.addEventListener("blur", () => this._checkAndUpdateInputEmpty(), {
120
195
  signal: this._inputAbortController.signal
121
- }
122
- ), e.addEventListener(
123
- "focusout",
124
- () => ["data-focus-origin", "data-input-focused"].forEach((r) => this.removeAttribute(r)),
125
- {
196
+ });
197
+ let e = this._input;
198
+ this._input.localName === "sbb-select" && (this._input.addEventListener("stateChange", () => this._checkAndUpdateInputEmpty(), {
126
199
  signal: this._inputAbortController.signal
127
- }
128
- );
129
- }
130
- _getInputForm() {
131
- var e;
132
- return this._input instanceof HTMLInputElement || this._input instanceof HTMLSelectElement ? this._input.form : (e = this._input) == null ? void 0 : e.closest("form");
133
- }
134
- _checkAndUpdateInputEmpty() {
135
- var e;
136
- this.toggleAttribute(
137
- "data-input-empty",
138
- this._floatingLabelSupportedInputElements.includes((e = this._input) == null ? void 0 : e.localName) && this._isInputEmpty()
139
- );
140
- }
141
- _isInputEmpty() {
142
- var e, t, r, l, s;
143
- return this._input instanceof HTMLInputElement ? this._floatingLabelSupportedInputTypes.includes(this._input.type) && this._isInputValueEmpty() : this._input instanceof HTMLSelectElement ? ((r = (t = (e = this._input.selectedOptions) == null ? void 0 : e.item(0)) == null ? void 0 : t.label) == null ? void 0 : r.trim()) === "" : ((l = this._input) == null ? void 0 : l.localName) === "sbb-select" ? ((s = this._input.getDisplayValue()) == null ? void 0 : s.trim()) === "" : this._isInputValueEmpty();
144
- }
145
- _isInputValueEmpty() {
146
- const e = this._input.value;
147
- return ["", void 0, null].includes(e) || Array.isArray(e) && e.length === 0;
148
- }
149
- _assignSlots() {
150
- this.querySelectorAll("label:not([slot])").forEach((e) => e.setAttribute("slot", "label")), this.querySelectorAll("sbb-form-error:not([slot])").forEach(
151
- (e) => e.setAttribute("slot", "error")
152
- );
153
- }
154
- _readInputState() {
155
- this._input && (this.toggleAttribute("data-readonly", this._input.hasAttribute("readonly")), this.toggleAttribute("data-disabled", this._input.hasAttribute("disabled")), this.toggleAttribute(
156
- "data-invalid",
157
- this._input.hasAttribute("data-sbb-invalid") || this._input.classList.contains("sbb-invalid") || this._input.classList.contains("ng-touched") && this._input.classList.contains("ng-invalid")
158
- ));
159
- }
160
- /**
161
- * It is used internally to set the aria-describedby attribute for the slotted input referencing available <sbb-form-error> instances.
162
- */
163
- _onSlotErrorChange(e) {
164
- this._errorElements = e.target.assignedElements();
165
- for (const t of this._errorElements)
166
- t.id || (t.id = `sbb-form-field-error-${++N}`), t.role || (t.role = "status", k && t.setAttribute("role", "status"));
167
- this._applyAriaDescribedby(), this.toggleAttribute("data-has-error", !!this._errorElements.length), this._syncNegative();
168
- }
169
- _applyAriaDescribedby() {
170
- const e = [];
171
- this._originalInputAriaDescribedby && e.push(this._originalInputAriaDescribedby), this._errorElements.length && this._errorElements.forEach((r) => e.push(r.id));
172
- const t = e.join(" ");
173
- this._input && A(this._input, "aria-describedby", t);
174
- }
175
- /** Manually reset the form field. Currently, this only resets the floating label. */
176
- reset() {
177
- this._checkAndUpdateInputEmpty();
178
- }
179
- /** Manually clears the input value. It only works for inputs, selects are not supported. */
180
- clear() {
181
- var e;
182
- ((e = this._input) == null ? void 0 : e.localName) === "input" && (this._input.value = "", this._checkAndUpdateInputEmpty());
183
- }
184
- /**
185
- * Returns the input element.
186
- * @deprecated Use the 'inputElement' property instead
187
- */
188
- getInputElement() {
189
- return this._input;
190
- }
191
- _syncNegative() {
192
- var e;
193
- (e = this.querySelectorAll) == null || e.call(
194
- this,
195
- "sbb-form-error,sbb-mini-button,sbb-popover-trigger,sbb-form-field-clear,sbb-datepicker-next-day,sbb-datepicker-previous-day,sbb-datepicker-toggle,sbb-select,sbb-autocomplete,sbb-autocomplete-grid"
196
- ).forEach((t) => t.toggleAttribute("negative", this.negative));
197
- }
198
- render() {
199
- var e;
200
- return d`
200
+ }), e = this._input.inputElement), e.addEventListener("focusin", () => {
201
+ this.toggleAttribute("data-input-focused", !0), this.setAttribute("data-focus-origin", me.mostRecentModality ?? "");
202
+ }, {
203
+ signal: this._inputAbortController.signal
204
+ }), e.addEventListener("focusout", () => ["data-focus-origin", "data-input-focused"].forEach((r) => this.removeAttribute(r)), {
205
+ signal: this._inputAbortController.signal
206
+ });
207
+ }
208
+ _getInputForm() {
209
+ var e;
210
+ return this._input instanceof HTMLInputElement || this._input instanceof HTMLSelectElement ? this._input.form : (e = this._input) == null ? void 0 : e.closest("form");
211
+ }
212
+ _checkAndUpdateInputEmpty() {
213
+ var e;
214
+ this.toggleAttribute("data-input-empty", this._floatingLabelSupportedInputElements.includes((e = this._input) == null ? void 0 : e.localName) && this._isInputEmpty());
215
+ }
216
+ _isInputEmpty() {
217
+ var e, t, r, z, oe;
218
+ return this._input instanceof HTMLInputElement ? this._floatingLabelSupportedInputTypes.includes(this._input.type) && this._isInputValueEmpty() : this._input instanceof HTMLSelectElement ? ((r = (t = (e = this._input.selectedOptions) == null ? void 0 : e.item(0)) == null ? void 0 : t.label) == null ? void 0 : r.trim()) === "" : ((z = this._input) == null ? void 0 : z.localName) === "sbb-select" ? ((oe = this._input.getDisplayValue()) == null ? void 0 : oe.trim()) === "" : this._isInputValueEmpty();
219
+ }
220
+ _isInputValueEmpty() {
221
+ const e = this._input.value;
222
+ return ["", void 0, null].includes(e) || Array.isArray(e) && e.length === 0;
223
+ }
224
+ _assignSlots() {
225
+ this.querySelectorAll("label:not([slot])").forEach((e) => e.setAttribute("slot", "label")), this.querySelectorAll("sbb-form-error:not([slot])").forEach((e) => e.setAttribute("slot", "error"));
226
+ }
227
+ _readInputState() {
228
+ this._input && (this.toggleAttribute("data-readonly", this._input.hasAttribute("readonly")), this.toggleAttribute("data-disabled", this._input.hasAttribute("disabled")), this.toggleAttribute("data-invalid", this._input.hasAttribute("data-sbb-invalid") || this._input.classList.contains("sbb-invalid") || this._input.classList.contains("ng-touched") && this._input.classList.contains("ng-invalid")));
229
+ }
230
+ /**
231
+ * It is used internally to set the aria-describedby attribute for the slotted input referencing available <sbb-form-error> instances.
232
+ */
233
+ _onSlotErrorChange(e) {
234
+ this._errorElements = e.target.assignedElements();
235
+ for (const t of this._errorElements)
236
+ t.id || (t.id = `sbb-form-field-error-${++Ee}`), t.role || (t.role = "status", ge && t.setAttribute("role", "status"));
237
+ this._applyAriaDescribedby(), this.toggleAttribute("data-has-error", !!this._errorElements.length), this._syncNegative();
238
+ }
239
+ _applyAriaDescribedby() {
240
+ const e = [];
241
+ this._originalInputAriaDescribedby && e.push(this._originalInputAriaDescribedby), this._errorElements.length && this._errorElements.forEach((r) => e.push(r.id));
242
+ const t = e.join(" ");
243
+ this._input && xe(this._input, "aria-describedby", t);
244
+ }
245
+ /** Manually reset the form field. Currently, this only resets the floating label. */
246
+ reset() {
247
+ this._checkAndUpdateInputEmpty();
248
+ }
249
+ /** Manually clears the input value. It only works for inputs, selects are not supported. */
250
+ clear() {
251
+ var e;
252
+ ((e = this._input) == null ? void 0 : e.localName) === "input" && (this._input.value = "", this._checkAndUpdateInputEmpty());
253
+ }
254
+ /**
255
+ * Returns the input element.
256
+ * @deprecated Use the 'inputElement' property instead
257
+ */
258
+ getInputElement() {
259
+ return this._input;
260
+ }
261
+ _syncNegative() {
262
+ var e;
263
+ (e = this.querySelectorAll) == null || e.call(this, "sbb-form-error,sbb-mini-button,sbb-popover-trigger,sbb-form-field-clear,sbb-datepicker-next-day,sbb-datepicker-previous-day,sbb-datepicker-toggle,sbb-select,sbb-autocomplete,sbb-autocomplete-grid").forEach((t) => t.toggleAttribute("negative", this.negative));
264
+ }
265
+ render() {
266
+ var e;
267
+ return A`
201
268
  <div class="sbb-form-field__space-wrapper">
202
269
  ${/* Queried by id from the autocomplete/select to be used as the anchor element */
203
- ""}
270
+ ""}
204
271
  <div @click=${this._handleWrapperClick} class="sbb-form-field__wrapper" id="overlay-anchor">
205
272
  <slot name="prefix" @slotchange=${this._syncNegative}></slot>
206
273
  <div class="sbb-form-field__input-container">
@@ -208,16 +275,16 @@ let o = class extends z(I(u)) {
208
275
  <span class="sbb-form-field__label">
209
276
  <span class="sbb-form-field__label-ellipsis">
210
277
  <slot name="label" @slotchange=${this._onSlotLabelChange}></slot>
211
- ${this.optional ? d` <span aria-hidden="true"> ${E[this._language.current]} </span>` : f}
278
+ ${this.optional ? A` <span aria-hidden="true"> ${ye[this._language.current]} </span>` : be}
212
279
  </span>
213
280
  </span>
214
281
  <div class="sbb-form-field__input">
215
282
  <slot @slotchange=${this._onSlotInputChange}></slot>
216
283
  </div>
217
- ${["select", "sbb-select"].includes((e = this._input) == null ? void 0 : e.localName) ? d`<sbb-icon
284
+ ${["select", "sbb-select"].includes((e = this._input) == null ? void 0 : e.localName) ? A`<sbb-icon
218
285
  name="chevron-small-down-small"
219
286
  class="sbb-form-field__select-input-icon"
220
- ></sbb-icon>` : f}
287
+ ></sbb-icon>` : be}
221
288
  </div>
222
289
  <slot name="suffix" @slotchange=${this._syncNegative}></slot>
223
290
  </div>
@@ -227,43 +294,32 @@ let o = class extends z(I(u)) {
227
294
  </div>
228
295
  </div>
229
296
  `;
230
- }
231
- };
232
- o.styles = L;
233
- i([
234
- b({ attribute: "error-space", reflect: !0 })
235
- ], o.prototype, "errorSpace", 2);
236
- i([
237
- b({ type: Boolean })
238
- ], o.prototype, "optional", 2);
239
- i([
240
- b({ reflect: !0 })
241
- ], o.prototype, "size", 2);
242
- i([
243
- b({ reflect: !0, type: Boolean })
244
- ], o.prototype, "borderless", 2);
245
- i([
246
- b({ reflect: !0 })
247
- ], o.prototype, "width", 2);
248
- i([
249
- b({ attribute: "hidden-label", reflect: !0, type: Boolean })
250
- ], o.prototype, "hiddenLabel", 2);
251
- i([
252
- b({ attribute: "floating-label", reflect: !0, type: Boolean })
253
- ], o.prototype, "floatingLabel", 2);
254
- i([
255
- c()
256
- ], o.prototype, "_errorElements", 2);
257
- i([
258
- c()
259
- ], o.prototype, "_input", 2);
260
- i([
261
- c()
262
- ], o.prototype, "_label", 2);
263
- o = i([
264
- g("sbb-form-field"),
265
- w()
266
- ], o);
297
+ }
298
+ }, h = new WeakMap(), m = new WeakMap(), u = new WeakMap(), _ = new WeakMap(), v = new WeakMap(), g = new WeakMap(), x = new WeakMap(), y = new WeakMap(), w = new WeakMap(), k = new WeakMap(), f = l, (() => {
299
+ const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(L[Symbol.metadata] ?? null) : void 0;
300
+ S = [p({ attribute: "error-space", reflect: !0 })], T = [E(), p({ type: Boolean })], D = [p({ reflect: !0 })], M = [E(), p({ reflect: !0, type: Boolean })], P = [p({ reflect: !0 })], q = [E(), p({ attribute: "hidden-label", reflect: !0, type: Boolean })], W = [E(), p({ attribute: "floating-label", reflect: !0, type: Boolean })], K = [I()], Z = [I()], re = [I()], c(l, null, S, { kind: "accessor", name: "errorSpace", static: !1, private: !1, access: { has: (t) => "errorSpace" in t, get: (t) => t.errorSpace, set: (t, r) => {
301
+ t.errorSpace = r;
302
+ } }, metadata: e }, C, N), c(l, null, T, { kind: "accessor", name: "optional", static: !1, private: !1, access: { has: (t) => "optional" in t, get: (t) => t.optional, set: (t, r) => {
303
+ t.optional = r;
304
+ } }, metadata: e }, F, O), c(l, null, D, { kind: "accessor", name: "size", static: !1, private: !1, access: { has: (t) => "size" in t, get: (t) => t.size, set: (t, r) => {
305
+ t.size = r;
306
+ } }, metadata: e }, $, B), c(l, null, M, { kind: "accessor", name: "borderless", static: !1, private: !1, access: { has: (t) => "borderless" in t, get: (t) => t.borderless, set: (t, r) => {
307
+ t.borderless = r;
308
+ } }, metadata: e }, U, H), c(l, null, P, { kind: "accessor", name: "width", static: !1, private: !1, access: { has: (t) => "width" in t, get: (t) => t.width, set: (t, r) => {
309
+ t.width = r;
310
+ } }, metadata: e }, R, j), c(l, null, q, { kind: "accessor", name: "hiddenLabel", static: !1, private: !1, access: { has: (t) => "hiddenLabel" in t, get: (t) => t.hiddenLabel, set: (t, r) => {
311
+ t.hiddenLabel = r;
312
+ } }, metadata: e }, G, V), c(l, null, W, { kind: "accessor", name: "floatingLabel", static: !1, private: !1, access: { has: (t) => "floatingLabel" in t, get: (t) => t.floatingLabel, set: (t, r) => {
313
+ t.floatingLabel = r;
314
+ } }, metadata: e }, Y, J), c(l, null, K, { kind: "accessor", name: "_errorElements", static: !1, private: !1, access: { has: (t) => "_errorElements" in t, get: (t) => t._errorElements, set: (t, r) => {
315
+ t._errorElements = r;
316
+ } }, metadata: e }, Q, X), c(l, null, Z, { kind: "accessor", name: "_input", static: !1, private: !1, access: { has: (t) => "_input" in t, get: (t) => t._input, set: (t, r) => {
317
+ t._input = r;
318
+ } }, metadata: e }, ee, te), c(l, null, re, { kind: "accessor", name: "_label", static: !1, private: !1, access: { has: (t) => "_label" in t, get: (t) => t._label, set: (t, r) => {
319
+ t._label = r;
320
+ } }, metadata: e }, ie, se), c(null, a = { value: f }, o, { kind: "class", name: f.name, metadata: e }, null, b), f = a.value, e && Object.defineProperty(f, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: e });
321
+ })(), l.styles = ze, s(f, b), f;
322
+ })();
267
323
  export {
268
- o as SbbFormFieldElement
324
+ Me as SbbFormFieldElement
269
325
  };