@webtides/element-library 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (398) hide show
  1. package/CHANGELOG.md +384 -3
  2. package/README.md +61 -41
  3. package/all.js +28 -0
  4. package/catalog.d.ts +14 -0
  5. package/catalog.js +55 -27
  6. package/custom-elements.json +16604 -3420
  7. package/package.json +35 -28
  8. package/src/components/accordion/accordion.changelog.md +10 -0
  9. package/src/components/accordion/accordion.js +10 -7
  10. package/src/components/accordion/accordion.readme.md +2 -0
  11. package/src/components/accordion/accordion.style.js +8 -0
  12. package/src/components/amount-field/amount-field.changelog.md +23 -3
  13. package/src/components/amount-field/amount-field.js +53 -26
  14. package/src/components/amount-field/amount-field.readme.md +82 -20
  15. package/src/components/amount-field/amount-field.style.js +111 -47
  16. package/src/components/avatar/avatar.changelog.md +23 -0
  17. package/src/components/avatar/avatar.define.js +3 -0
  18. package/src/components/avatar/avatar.js +115 -0
  19. package/src/components/avatar/avatar.readme.md +132 -0
  20. package/src/components/avatar/avatar.style.js +67 -0
  21. package/src/components/badge/badge.changelog.md +23 -0
  22. package/src/components/badge/badge.define.js +3 -0
  23. package/src/components/badge/badge.js +59 -0
  24. package/src/components/badge/badge.readme.md +109 -0
  25. package/src/components/badge/badge.style.js +63 -0
  26. package/src/components/breadcrumb/breadcrumb.changelog.md +22 -0
  27. package/src/components/breadcrumb/breadcrumb.define.js +3 -0
  28. package/src/components/breadcrumb/breadcrumb.js +47 -0
  29. package/src/components/breadcrumb/breadcrumb.readme.md +108 -0
  30. package/src/components/breadcrumb/breadcrumb.style.js +20 -0
  31. package/src/components/breadcrumb-item/breadcrumb-item.changelog.md +23 -0
  32. package/src/components/breadcrumb-item/breadcrumb-item.define.js +3 -0
  33. package/src/components/breadcrumb-item/breadcrumb-item.js +82 -0
  34. package/src/components/breadcrumb-item/breadcrumb-item.readme.md +106 -0
  35. package/src/components/breadcrumb-item/breadcrumb-item.style.js +92 -0
  36. package/src/components/button/button.changelog.md +34 -1
  37. package/src/components/button/button.js +285 -29
  38. package/src/components/button/button.readme.md +130 -10
  39. package/src/components/button/button.style.js +99 -120
  40. package/src/components/button-group/button-group.changelog.md +24 -0
  41. package/src/components/button-group/button-group.define.js +3 -0
  42. package/src/components/button-group/button-group.js +53 -0
  43. package/src/components/button-group/button-group.readme.md +114 -0
  44. package/src/components/button-group/button-group.style.js +41 -0
  45. package/src/components/card/card.changelog.md +23 -0
  46. package/src/components/card/card.define.js +3 -0
  47. package/src/components/card/card.js +73 -0
  48. package/src/components/card/card.readme.md +136 -0
  49. package/src/components/card/card.style.js +99 -0
  50. package/src/components/carousel/carousel.changelog.md +20 -0
  51. package/src/components/carousel/carousel.js +89 -40
  52. package/src/components/carousel/carousel.readme.md +39 -6
  53. package/src/components/carousel/carousel.style.js +21 -77
  54. package/src/components/carousel/glide/components/ShadowAnchors.js +3 -1
  55. package/src/components/carousel/glide/components/ShadowClones.js +21 -24
  56. package/src/components/carousel/glide/components/ShadowGaps.js +2 -2
  57. package/src/components/carousel/glide/components/ShadowHtml.js +22 -3
  58. package/src/components/checkbox-field/checkbox-field.changelog.md +19 -0
  59. package/src/components/checkbox-field/checkbox-field.js +25 -10
  60. package/src/components/checkbox-field/checkbox-field.readme.md +17 -4
  61. package/src/components/checkbox-field/checkbox-field.style.js +15 -3
  62. package/src/components/checkbox-group-field/checkbox-group-field.changelog.md +25 -0
  63. package/src/components/checkbox-group-field/checkbox-group-field.define.js +3 -0
  64. package/src/components/checkbox-group-field/checkbox-group-field.js +217 -0
  65. package/src/components/checkbox-group-field/checkbox-group-field.readme.md +95 -0
  66. package/src/components/checkbox-group-field/checkbox-group-field.style.js +62 -0
  67. package/src/components/color-field/color-field.changelog.md +24 -0
  68. package/src/components/color-field/color-field.define.js +3 -0
  69. package/src/components/color-field/color-field.js +184 -0
  70. package/src/components/color-field/color-field.readme.md +95 -0
  71. package/src/components/color-field/color-field.style.js +39 -0
  72. package/src/components/combobox-field/combobox-field.changelog.md +23 -0
  73. package/src/components/combobox-field/combobox-field.define.js +3 -0
  74. package/src/components/combobox-field/combobox-field.js +97 -0
  75. package/src/components/combobox-field/combobox-field.readme.md +93 -0
  76. package/src/components/combobox-field/combobox-field.style.js +56 -0
  77. package/src/components/copy-button/copy-button.changelog.md +24 -0
  78. package/src/components/copy-button/copy-button.define.js +3 -0
  79. package/src/components/copy-button/copy-button.events.js +4 -0
  80. package/src/components/copy-button/copy-button.js +237 -0
  81. package/src/components/copy-button/copy-button.readme.md +134 -0
  82. package/src/components/copy-button/copy-button.style.js +109 -0
  83. package/src/components/date-field/date-field.changelog.md +24 -0
  84. package/src/components/date-field/date-field.define.js +3 -0
  85. package/src/components/date-field/date-field.js +119 -0
  86. package/src/components/date-field/date-field.readme.md +110 -0
  87. package/src/components/date-field/date-field.style.js +53 -0
  88. package/src/components/dialog/dialog.changelog.md +16 -1
  89. package/src/components/dialog/dialog.js +252 -57
  90. package/src/components/dialog/dialog.readme.md +36 -4
  91. package/src/components/dialog/dialog.style.js +9 -109
  92. package/src/components/divider/divider.changelog.md +23 -0
  93. package/src/components/divider/divider.define.js +3 -0
  94. package/src/components/divider/divider.js +48 -0
  95. package/src/components/divider/divider.readme.md +101 -0
  96. package/src/components/divider/divider.style.js +50 -0
  97. package/src/components/drawer/drawer.changelog.md +25 -0
  98. package/src/components/drawer/drawer.define.js +3 -0
  99. package/src/components/drawer/drawer.events.js +8 -0
  100. package/src/components/drawer/drawer.js +80 -0
  101. package/src/components/drawer/drawer.readme.md +194 -0
  102. package/src/components/drawer/drawer.style.js +83 -0
  103. package/src/components/dropdown/dropdown.js +9 -7
  104. package/src/components/empty-state/empty-state.changelog.md +22 -0
  105. package/src/components/empty-state/empty-state.define.js +3 -0
  106. package/src/components/empty-state/empty-state.js +55 -0
  107. package/src/components/empty-state/empty-state.readme.md +114 -0
  108. package/src/components/empty-state/empty-state.style.js +60 -0
  109. package/src/components/file-field/file-field.changelog.md +24 -0
  110. package/src/components/file-field/file-field.define.js +3 -0
  111. package/src/components/file-field/file-field.js +205 -0
  112. package/src/components/file-field/file-field.readme.md +103 -0
  113. package/src/components/file-field/file-field.style.js +28 -0
  114. package/src/components/form-field/form-field.changelog.md +25 -0
  115. package/src/components/form-field/form-field.js +212 -15
  116. package/src/components/form-field/form-field.readme.md +82 -18
  117. package/src/components/form-field/form-field.style.js +6 -24
  118. package/src/components/input-field/input-field.changelog.md +24 -0
  119. package/src/components/input-field/input-field.js +82 -6
  120. package/src/components/input-field/input-field.readme.md +34 -5
  121. package/src/components/input-field/input-field.style.js +32 -13
  122. package/src/components/notification/notification.changelog.md +21 -1
  123. package/src/components/notification/notification.js +80 -74
  124. package/src/components/notification/notification.readme.md +54 -13
  125. package/src/components/notification/notification.style.js +37 -22
  126. package/src/components/otp-field/otp-field.changelog.md +23 -0
  127. package/src/components/otp-field/otp-field.define.js +3 -0
  128. package/src/components/otp-field/otp-field.events.js +3 -0
  129. package/src/components/otp-field/otp-field.js +172 -0
  130. package/src/components/otp-field/otp-field.readme.md +111 -0
  131. package/src/components/otp-field/otp-field.style.js +53 -0
  132. package/src/components/pagination/pagination.changelog.md +30 -0
  133. package/src/components/pagination/pagination.define.js +3 -0
  134. package/src/components/pagination/pagination.events.js +3 -0
  135. package/src/components/pagination/pagination.js +282 -0
  136. package/src/components/pagination/pagination.readme.md +167 -0
  137. package/src/components/pagination/pagination.style.js +162 -0
  138. package/src/components/password-field/password-field.changelog.md +24 -0
  139. package/src/components/password-field/password-field.js +7 -1
  140. package/src/components/password-field/password-field.readme.md +15 -6
  141. package/src/components/password-field/password-field.style.js +36 -13
  142. package/src/components/popover/popover.changelog.md +24 -0
  143. package/src/components/popover/popover.define.js +3 -0
  144. package/src/components/popover/popover.events.js +4 -0
  145. package/src/components/popover/popover.js +255 -0
  146. package/src/components/popover/popover.readme.md +132 -0
  147. package/src/components/popover/popover.style.js +41 -0
  148. package/src/components/progress-bar/progress-bar.changelog.md +23 -0
  149. package/src/components/progress-bar/progress-bar.define.js +3 -0
  150. package/src/components/progress-bar/progress-bar.js +80 -0
  151. package/src/components/progress-bar/progress-bar.readme.md +110 -0
  152. package/src/components/progress-bar/progress-bar.style.js +93 -0
  153. package/src/components/progress-ring/progress-ring.changelog.md +23 -0
  154. package/src/components/progress-ring/progress-ring.define.js +3 -0
  155. package/src/components/progress-ring/progress-ring.js +83 -0
  156. package/src/components/progress-ring/progress-ring.readme.md +115 -0
  157. package/src/components/progress-ring/progress-ring.style.js +85 -0
  158. package/src/components/radio-field/radio-field.changelog.md +16 -0
  159. package/src/components/radio-field/radio-field.js +34 -11
  160. package/src/components/radio-field/radio-field.readme.md +13 -8
  161. package/src/components/radio-field/radio-field.style.js +17 -65
  162. package/src/components/range-field/range-field.changelog.md +24 -0
  163. package/src/components/range-field/range-field.define.js +3 -0
  164. package/src/components/range-field/range-field.js +167 -0
  165. package/src/components/range-field/range-field.readme.md +87 -0
  166. package/src/components/range-field/range-field.style.js +41 -0
  167. package/src/components/rating-field/rating-field.changelog.md +24 -0
  168. package/src/components/rating-field/rating-field.define.js +3 -0
  169. package/src/components/rating-field/rating-field.js +195 -0
  170. package/src/components/rating-field/rating-field.readme.md +82 -0
  171. package/src/components/rating-field/rating-field.style.js +79 -0
  172. package/src/components/select-field/select-field.changelog.md +17 -0
  173. package/src/components/select-field/select-field.js +100 -8
  174. package/src/components/select-field/select-field.readme.md +32 -6
  175. package/src/components/select-field/select-field.style.js +19 -9
  176. package/src/components/skeleton/skeleton.changelog.md +22 -0
  177. package/src/components/skeleton/skeleton.define.js +3 -0
  178. package/src/components/skeleton/skeleton.js +49 -0
  179. package/src/components/skeleton/skeleton.readme.md +115 -0
  180. package/src/components/skeleton/skeleton.style.js +79 -0
  181. package/src/components/slider/slider.changelog.md +15 -0
  182. package/src/components/slider/slider.js +37 -5
  183. package/src/components/slider/slider.readme.md +28 -6
  184. package/src/components/slider/slider.style.js +7 -71
  185. package/src/components/spinner/spinner.changelog.md +22 -0
  186. package/src/components/spinner/spinner.define.js +3 -0
  187. package/src/components/spinner/spinner.js +48 -0
  188. package/src/components/spinner/spinner.readme.md +98 -0
  189. package/src/components/spinner/spinner.style.js +44 -0
  190. package/src/components/switch-field/switch-field.changelog.md +16 -0
  191. package/src/components/switch-field/switch-field.js +17 -9
  192. package/src/components/switch-field/switch-field.readme.md +11 -4
  193. package/src/components/switch-field/switch-field.style.js +13 -13
  194. package/src/components/tab-group/tab-group.changelog.md +19 -0
  195. package/src/components/tab-group/tab-group.js +122 -10
  196. package/src/components/tab-group/tab-group.readme.md +25 -4
  197. package/src/components/tab-link/tab-link.changelog.md +16 -0
  198. package/src/components/tab-link/tab-link.js +51 -8
  199. package/src/components/tab-link/tab-link.readme.md +14 -8
  200. package/src/components/tab-link/tab-link.style.js +13 -0
  201. package/src/components/tab-panel/tab-panel.changelog.md +8 -2
  202. package/src/components/tab-panel/tab-panel.js +7 -3
  203. package/src/components/tab-panel/tab-panel.readme.md +7 -5
  204. package/src/components/tag/tag.changelog.md +24 -0
  205. package/src/components/tag/tag.define.js +3 -0
  206. package/src/components/tag/tag.events.js +3 -0
  207. package/src/components/tag/tag.js +116 -0
  208. package/src/components/tag/tag.readme.md +119 -0
  209. package/src/components/tag/tag.style.js +101 -0
  210. package/src/components/tag-field/tag-field.changelog.md +25 -0
  211. package/src/components/tag-field/tag-field.define.js +3 -0
  212. package/src/components/tag-field/tag-field.js +359 -0
  213. package/src/components/tag-field/tag-field.readme.md +113 -0
  214. package/src/components/tag-field/tag-field.style.js +62 -0
  215. package/src/components/textarea-field/textarea-field.changelog.md +28 -4
  216. package/src/components/textarea-field/textarea-field.js +68 -14
  217. package/src/components/textarea-field/textarea-field.readme.md +45 -9
  218. package/src/components/textarea-field/textarea-field.style.js +45 -2
  219. package/src/components/toast/toast.changelog.md +24 -0
  220. package/src/components/toast/toast.define.js +3 -0
  221. package/src/components/toast/toast.js +193 -0
  222. package/src/components/toast/toast.readme.md +189 -0
  223. package/src/components/toast/toast.style.js +74 -0
  224. package/src/components/tooltip/tooltip.changelog.md +24 -0
  225. package/src/components/tooltip/tooltip.define.js +3 -0
  226. package/src/components/tooltip/tooltip.events.js +4 -0
  227. package/src/components/tooltip/tooltip.js +377 -0
  228. package/src/components/tooltip/tooltip.readme.md +172 -0
  229. package/src/components/tooltip/tooltip.style.js +107 -0
  230. package/src/components/transition-classes/transition-classes.js +6 -6
  231. package/src/styles/appearance.style.js +42 -0
  232. package/src/styles/arrow.style.js +65 -0
  233. package/src/styles/choice-group.style.js +94 -0
  234. package/src/styles/form-control.style.js +79 -0
  235. package/src/styles/host.style.js +55 -0
  236. package/src/styles/layers.css +31 -0
  237. package/src/styles/modal.style.js +146 -0
  238. package/src/styles/native.css +275 -0
  239. package/src/styles/size.style.js +48 -0
  240. package/src/styles/slide-controls.style.js +225 -0
  241. package/src/styles/utilities.css +30 -0
  242. package/src/styles/variants.style.js +78 -0
  243. package/src/themes/default.css +86 -142
  244. package/src/themes/high-contrast.css +72 -129
  245. package/src/themes/sketchy.css +95 -175
  246. package/src/utils/floating.js +71 -0
  247. package/src/utils/focus.js +18 -0
  248. package/src/utils/progress.js +25 -0
  249. package/src/utils/slots.js +21 -0
  250. package/src/utils/text-entry-attributes.js +51 -0
  251. package/types/all.d.ts +54 -1
  252. package/types/index.d.ts +1 -0
  253. package/types/src/components/accordion/accordion.d.ts +6 -4
  254. package/types/src/components/accordion/accordion.events.d.ts +3 -3
  255. package/types/src/components/accordion-group/accordion-group.d.ts +4 -3
  256. package/types/src/components/amount-field/amount-field.d.ts +30 -16
  257. package/types/src/components/avatar/avatar.d.ts +57 -0
  258. package/types/src/components/avatar/avatar.define.d.ts +1 -0
  259. package/types/src/components/avatar/avatar.style.d.ts +2 -0
  260. package/types/src/components/badge/badge.d.ts +32 -0
  261. package/types/src/components/badge/badge.define.d.ts +1 -0
  262. package/types/src/components/badge/badge.style.d.ts +2 -0
  263. package/types/src/components/breadcrumb/breadcrumb.d.ts +27 -0
  264. package/types/src/components/breadcrumb/breadcrumb.define.d.ts +1 -0
  265. package/types/src/components/breadcrumb/breadcrumb.style.d.ts +2 -0
  266. package/types/src/components/breadcrumb-item/breadcrumb-item.d.ts +38 -0
  267. package/types/src/components/breadcrumb-item/breadcrumb-item.define.d.ts +1 -0
  268. package/types/src/components/breadcrumb-item/breadcrumb-item.style.d.ts +2 -0
  269. package/types/src/components/button/button.d.ts +129 -14
  270. package/types/src/components/button-group/button-group.d.ts +28 -0
  271. package/types/src/components/button-group/button-group.define.d.ts +1 -0
  272. package/types/src/components/button-group/button-group.style.d.ts +2 -0
  273. package/types/src/components/card/card.d.ts +40 -0
  274. package/types/src/components/card/card.define.d.ts +1 -0
  275. package/types/src/components/card/card.style.d.ts +2 -0
  276. package/types/src/components/carousel/carousel.d.ts +22 -8
  277. package/types/src/components/carousel/carousel.events.d.ts +3 -3
  278. package/types/src/components/carousel/glide/components/ShadowAnchors.d.ts +1 -1
  279. package/types/src/components/carousel/glide/components/ShadowClones.d.ts +8 -1
  280. package/types/src/components/carousel/glide/components/ShadowGaps.d.ts +1 -1
  281. package/types/src/components/carousel/glide/components/ShadowHtml.d.ts +1 -1
  282. package/types/src/components/carousel/glide/components/glide-html.d.ts +1 -1
  283. package/types/src/components/checkbox-field/checkbox-field.d.ts +22 -15
  284. package/types/src/components/checkbox-group-field/checkbox-group-field.d.ts +100 -0
  285. package/types/src/components/checkbox-group-field/checkbox-group-field.define.d.ts +1 -0
  286. package/types/src/components/checkbox-group-field/checkbox-group-field.style.d.ts +2 -0
  287. package/types/src/components/color-field/color-field.d.ts +102 -0
  288. package/types/src/components/color-field/color-field.define.d.ts +1 -0
  289. package/types/src/components/color-field/color-field.style.d.ts +2 -0
  290. package/types/src/components/combobox-field/combobox-field.d.ts +84 -0
  291. package/types/src/components/combobox-field/combobox-field.define.d.ts +1 -0
  292. package/types/src/components/combobox-field/combobox-field.style.d.ts +2 -0
  293. package/types/src/components/copy-button/copy-button.d.ts +93 -0
  294. package/types/src/components/copy-button/copy-button.define.d.ts +1 -0
  295. package/types/src/components/copy-button/copy-button.events.d.ts +5 -0
  296. package/types/src/components/copy-button/copy-button.style.d.ts +2 -0
  297. package/types/src/components/date-field/date-field.d.ts +102 -0
  298. package/types/src/components/date-field/date-field.define.d.ts +1 -0
  299. package/types/src/components/date-field/date-field.style.d.ts +2 -0
  300. package/types/src/components/dialog/dialog.d.ts +101 -19
  301. package/types/src/components/dialog/dialog.events.d.ts +8 -8
  302. package/types/src/components/divider/divider.d.ts +27 -0
  303. package/types/src/components/divider/divider.define.d.ts +1 -0
  304. package/types/src/components/divider/divider.style.d.ts +2 -0
  305. package/types/src/components/drawer/drawer.d.ts +70 -0
  306. package/types/src/components/drawer/drawer.define.d.ts +1 -0
  307. package/types/src/components/drawer/drawer.events.d.ts +9 -0
  308. package/types/src/components/drawer/drawer.style.d.ts +2 -0
  309. package/types/src/components/dropdown/dropdown.d.ts +5 -3
  310. package/types/src/components/empty-state/empty-state.d.ts +29 -0
  311. package/types/src/components/empty-state/empty-state.define.d.ts +1 -0
  312. package/types/src/components/empty-state/empty-state.style.d.ts +2 -0
  313. package/types/src/components/file-field/file-field.d.ts +115 -0
  314. package/types/src/components/file-field/file-field.define.d.ts +1 -0
  315. package/types/src/components/file-field/file-field.style.d.ts +2 -0
  316. package/types/src/components/form-field/form-field.d.ts +129 -14
  317. package/types/src/components/form-field/form-field.events.d.ts +4 -4
  318. package/types/src/components/input-field/input-field.d.ts +52 -5
  319. package/types/src/components/lazy-src/lazy-src.d.ts +7 -5
  320. package/types/src/components/lazy-src/lazy-src.events.d.ts +5 -5
  321. package/types/src/components/notification/notification.d.ts +18 -18
  322. package/types/src/components/notification/notification.events.d.ts +6 -6
  323. package/types/src/components/otp-field/otp-field.d.ts +130 -0
  324. package/types/src/components/otp-field/otp-field.define.d.ts +1 -0
  325. package/types/src/components/otp-field/otp-field.events.d.ts +4 -0
  326. package/types/src/components/otp-field/otp-field.style.d.ts +2 -0
  327. package/types/src/components/pagination/pagination.d.ts +117 -0
  328. package/types/src/components/pagination/pagination.define.d.ts +1 -0
  329. package/types/src/components/pagination/pagination.events.d.ts +4 -0
  330. package/types/src/components/pagination/pagination.style.d.ts +2 -0
  331. package/types/src/components/password-field/password-field.d.ts +29 -12
  332. package/types/src/components/popover/popover.d.ts +123 -0
  333. package/types/src/components/popover/popover.define.d.ts +1 -0
  334. package/types/src/components/popover/popover.events.d.ts +5 -0
  335. package/types/src/components/popover/popover.style.d.ts +2 -0
  336. package/types/src/components/progress-bar/progress-bar.d.ts +35 -0
  337. package/types/src/components/progress-bar/progress-bar.define.d.ts +1 -0
  338. package/types/src/components/progress-bar/progress-bar.style.d.ts +2 -0
  339. package/types/src/components/progress-ring/progress-ring.d.ts +40 -0
  340. package/types/src/components/progress-ring/progress-ring.define.d.ts +1 -0
  341. package/types/src/components/progress-ring/progress-ring.style.d.ts +2 -0
  342. package/types/src/components/radio-field/radio-field.d.ts +21 -9
  343. package/types/src/components/range-field/range-field.d.ts +94 -0
  344. package/types/src/components/range-field/range-field.define.d.ts +1 -0
  345. package/types/src/components/range-field/range-field.style.d.ts +2 -0
  346. package/types/src/components/rating-field/rating-field.d.ts +96 -0
  347. package/types/src/components/rating-field/rating-field.define.d.ts +1 -0
  348. package/types/src/components/rating-field/rating-field.style.d.ts +2 -0
  349. package/types/src/components/scroll-to/scroll-to.d.ts +3 -2
  350. package/types/src/components/scroll-to-top/scroll-to-top.d.ts +4 -2
  351. package/types/src/components/select-field/select-field.d.ts +55 -5
  352. package/types/src/components/skeleton/skeleton.d.ts +29 -0
  353. package/types/src/components/skeleton/skeleton.define.d.ts +1 -0
  354. package/types/src/components/skeleton/skeleton.style.d.ts +2 -0
  355. package/types/src/components/slider/slider.d.ts +14 -8
  356. package/types/src/components/slider/slider.events.d.ts +4 -4
  357. package/types/src/components/spinner/spinner.d.ts +28 -0
  358. package/types/src/components/spinner/spinner.define.d.ts +1 -0
  359. package/types/src/components/spinner/spinner.style.d.ts +2 -0
  360. package/types/src/components/sticky/sticky.d.ts +4 -2
  361. package/types/src/components/svg-use/svg-use.d.ts +4 -2
  362. package/types/src/components/switch-field/switch-field.d.ts +17 -15
  363. package/types/src/components/tab-group/tab-group.d.ts +44 -3
  364. package/types/src/components/tab-link/tab-link.d.ts +33 -10
  365. package/types/src/components/tab-panel/tab-panel.d.ts +8 -5
  366. package/types/src/components/tag/tag.d.ts +53 -0
  367. package/types/src/components/tag/tag.define.d.ts +1 -0
  368. package/types/src/components/tag/tag.events.d.ts +4 -0
  369. package/types/src/components/tag/tag.style.d.ts +2 -0
  370. package/types/src/components/tag-field/tag-field.d.ts +178 -0
  371. package/types/src/components/tag-field/tag-field.define.d.ts +1 -0
  372. package/types/src/components/tag-field/tag-field.style.d.ts +2 -0
  373. package/types/src/components/textarea-field/textarea-field.d.ts +44 -4
  374. package/types/src/components/toast/toast.d.ts +110 -0
  375. package/types/src/components/toast/toast.define.d.ts +1 -0
  376. package/types/src/components/toast/toast.style.d.ts +2 -0
  377. package/types/src/components/tooltip/tooltip.d.ts +161 -0
  378. package/types/src/components/tooltip/tooltip.define.d.ts +1 -0
  379. package/types/src/components/tooltip/tooltip.events.d.ts +5 -0
  380. package/types/src/components/tooltip/tooltip.style.d.ts +2 -0
  381. package/types/src/components/transition-classes/transition-classes.d.ts +9 -8
  382. package/types/src/styles/appearance.style.d.ts +18 -0
  383. package/types/src/styles/arrow.style.d.ts +15 -0
  384. package/types/src/styles/choice-group.style.d.ts +23 -0
  385. package/types/src/styles/form-control.style.d.ts +26 -0
  386. package/types/src/styles/host.style.d.ts +24 -0
  387. package/types/src/styles/modal.style.d.ts +20 -0
  388. package/types/src/styles/size.style.d.ts +20 -0
  389. package/types/src/styles/slide-controls.style.d.ts +20 -0
  390. package/types/src/styles/variants.style.d.ts +32 -0
  391. package/types/src/utils/body-scroll.d.ts +12 -2
  392. package/types/src/utils/floating.d.ts +36 -0
  393. package/types/src/utils/focus.d.ts +16 -0
  394. package/types/src/utils/progress.d.ts +19 -0
  395. package/types/src/utils/slots.d.ts +19 -0
  396. package/types/src/utils/text-entry-attributes.d.ts +18 -0
  397. package/types/src/utils/transitions.d.ts +2 -2
  398. package/web-types.json +6590 -1584
package/CHANGELOG.md CHANGED
@@ -12,6 +12,387 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/) and this
12
12
 
13
13
  ## Unreleased
14
14
 
15
+ ## [0.3.0] - 2026-11-17
16
+
17
+ ### Packaging
18
+
19
+ - Added: `@floating-ui/dom` (`^1.8.0`) is a dependency of the library. It computes the place of the panel of `el-popover` and of `el-tooltip`: the side of the anchor, the change of sides without room, the push back into the viewport, the arrow. Only the popover and the tooltip import it, so a page that registers single components and uses neither does not load it; `@webtides/element-library/all` does. ([#70](https://github.com/webtides/element-library/issues/70), [#71](https://github.com/webtides/element-library/issues/71))
20
+ - Changed: `@webtides/element-js` is now required at `^1.3.1` (was `^1.2.11`). The range already let fresh installs resolve to it; the library is now built and tested against it. 1.3.0 reworks hydration and the server-side string renderer, which shows up here in two ways. Fixed: after hydrating server-rendered markup, property updates reach the rendered controls again — on 1.2.11, toggling `disabled` on a hydrated `el-button`, `el-input-field`, `el-textarea-field`, `el-password-field`, `el-checkbox-field`, `el-switch-field` or `el-amount-field` left the inner control unchanged. Fixed: server-rendered form fields without a value no longer emit `value="null"` on the native control (`el-input-field`, `el-password-field`, `el-select-field`, `el-checkbox-field`, `el-switch-field`). 1.3.1 fixes the server output of `spreadAttributes()`, see `button` below.
21
+ - Changed: the `./catalog` SSR smoke test (`npm run test:catalog`) now runs against `@webtides/element-js-ssr-renderer` `^0.4.0` (was `^0.1.0`), the version consumers install today. Dev dependency only; the generated `catalog.js` is unchanged.
22
+ - Changed: the shipped type declarations (`types/**`) are generated with TypeScript 7 (was 6). Component declarations now keep their `extends` clause and import the base class from `@webtides/element-js`, and `index.d.ts` imports the names it re-exports. `@webtides/element-js` ships no declarations of its own, so a project that type-checks declaration files (`skipLibCheck: false`) with `noImplicitAny` now gets TS7016 from the component declarations as well; before, it got unresolved-name errors from `index.d.ts` only. With `skipLibCheck: true` the declarations behave as before.
23
+ - Added: the `./catalog` export ships a type declaration (`catalog.d.ts`). `import catalog from '@webtides/element-library/catalog'` now type-checks under `strict` without a `declare module` shim; before, it failed with TS7016. The default export is typed as a map from tag to lazy loader (`Record<string, () => Promise<unknown>>`), a shape the `resolve` option of `@webtides/element-js-ssr-renderer` accepts.
24
+ - Fixed: `custom-elements.json` and `web-types.json` no longer list an attribute and a property without a name for a field that extends another one. The eight fields that take their properties from `el-form-field` or `el-input-field` each had one: `el-amount-field`, `el-checkbox-field`, `el-input-field`, `el-password-field`, `el-radio-field`, `el-select-field`, `el-switch-field` and `el-textarea-field`. An editor that reads those files offered an empty attribute for them. Nothing else in the two files changes.
25
+ - Changed: in `custom-elements.json` and `web-types.json` an attribute that a component inherits has the description the component gives the property itself, where it gives one. One existing entry changes: the `value` attribute of `el-radio-field` now reads "The selected option's value.", the text of its property; it had the text of the form field. A component that fires the events of its superclass under names of its own (`el-drawer`: `drawer-show` for `dialog-show`) is listed with its own events only.
26
+ - Fixed: in `custom-elements.json` and `web-types.json` a component has the types it gives itself. For a property, an attribute or an event that a component documents and its superclass has as well, the two files had the type of the superclass. Five components change: the `value` of `el-tag-field`, `el-checkbox-group-field` and `el-file-field` is `string[]` (was `string | null`) and their `input-change` event is `CustomEvent<string[]>` (was `CustomEvent<string>`), the `value` of `el-amount-field` is `number` (was `string | null`), and the `type` of `el-date-field` is `'date'|'time'|'datetime-local'|'month'|'week'` (was `string`). ([#89](https://github.com/webtides/element-library/issues/89))
27
+ - Fixed: every type in `custom-elements.json` is a TypeScript type, and every attribute and every event of an element has one. The `options` of the `toast()` method of `el-toast` had the text of the JSDoc tags of its properties as its type; a tool that writes types from the manifest stopped there. It is `{ variant?: 'neutral'|'brand'|'success'|'warning'|'danger', duration?: number, closable?: boolean, closeLabel?: string }` now. Seven attributes had no type: `enter`, `enter-start`, `enter-end`, `leave`, `leave-start` and `leave-end` of `el-transition-classes` are `string`, and `aria-selected` of `el-tab-link` is `'true'|'false'` and has a description. `npm run test:catalog` checks the types of the manifest from now on. The library ships no typings for one framework: a project generates those from the manifest. ([#89](https://github.com/webtides/element-library/issues/89))
28
+ - Fixed: the same sources give the same `custom-elements.json` and the same `web-types.json`, byte for byte. The two files listed the modules in another order with every build, the order in which the analyzer found the files; they are in the order of their paths now. In `web-types.json` that also decided which description came first for a CSS property that two components document: for `--el-breadcrumb-separator` it is always the one of `el-breadcrumb-item` now. What the files say is unchanged. ([#161](https://github.com/webtides/element-library/issues/161))
29
+
30
+ ### Theming
31
+
32
+ - Added: `--el-color-warning`, the colour of the `warning` variant, is a token of the shipped themes. `el-button` and `el-notification` already read it and fell back to `#f59e0b`, which is the value the three themes now set, so nothing looks different. It is one value for both colour schemes: a warning fill carries dark text, so the colour has to stay light. ([#69](https://github.com/webtides/element-library/issues/69))
33
+ - Added: shared style modules in `src/styles/` (`host`, `size`, `variants`, `appearance`, `form-control`). A component composes them into its own stylesheet instead of carrying a copy: `size` and `variants` resolve the `size` and `variant` attributes of the host to internal properties, `appearance` paints the colours of the variant as `filled`, `outlined` or `plain`, `form-control` is the layout of a field around its control. `el-button` and `el-input-field` are the first two components on them. The modules are internal to the library and ship with it; there are no cascade layers yet, and no new token beside `--el-color-warning`. ([#69](https://github.com/webtides/element-library/issues/69))
34
+ - Added: the shared style module `choice-group`, for a field that is a group of choices: the fieldset as the column of the field, an option as the label and hit area of its native radio or checkbox, and that control hidden from the eye with the keyboard focus on what is drawn in its place. `el-radio-field` is composed from it and looks as before; `el-checkbox-group-field` and `el-rating-field` use it as well. Internal to the library, like the other modules.
35
+ - Added: the shared style module `slide-controls`, for the arrows and the dots of a component that shows a part of its content at a time. `el-carousel` and `el-slider` compose it, so the two have the same controls: arrows on the track with a surface from the tokens, and under the track a row of dots, a ring each and a disc for the one that is selected. Internal to the library, like the other modules. ([#162](https://github.com/webtides/element-library/issues/162))
36
+ - Changed: the sketchy theme has no rules for the parts of `el-carousel` any more. They gave the white controls of Glide the colours of the theme, with `!important`; the carousel reads the tokens itself now, in every theme. ([#162](https://github.com/webtides/element-library/issues/162))
37
+ - Added: `styles/native.css`, an opt-in stylesheet that gives the native control of a field the look of the tokens: border, radius, padding, colours, focus ring. It reaches the input of `el-input-field` and `el-password-field`, the textarea of `el-textarea-field` and the select of `el-select-field`, with the selectors the themes had; native controls that are not in a field are not touched. It is in no cascade layer: a reset of the page that is in none (Tailwind CSS v3, a classic `reset.css`) wins over every rule in a layer and would take the border and the padding away again. A variant in a layer, for every native control of the page, is open in [#106](https://github.com/webtides/element-library/issues/106). ([#69](https://github.com/webtides/element-library/issues/69))
38
+ - Added: `styles/native.css` reaches the range of `el-range-field`. A range has no border and no padding to decorate: it gets the width of its field, the accent colour of the theme (`accent-color`) and the focus ring of the theme. The track and the thumb stay the ones the browser draws. ([#136](https://github.com/webtides/element-library/issues/136))
39
+ - Added: `styles/native.css` reaches the input of `el-otp-field`, with the rules of the input of `el-input-field`. ([#141](https://github.com/webtides/element-library/issues/141))
40
+ - Added: `styles/native.css` reaches the input of `el-tag-field`, with the rules of the input of `el-input-field`. ([#142](https://github.com/webtides/element-library/issues/142))
41
+ - Added: `styles/native.css` reaches the colour input of `el-color-field`. It becomes a well with the border, the radius and the focus ring of the other controls, filled with its colour up to a rim of `--el-space-1`. It has no text that gives it a height, so it is told the height an input of its size has, and is half again as wide. The focus ring shows for the keyboard only: a click opens the picker. ([#144](https://github.com/webtides/element-library/issues/144))
42
+ - Added: `styles/native.css` reaches the input of `el-combobox-field`, with the rules of the input of `el-input-field`. ([#145](https://github.com/webtides/element-library/issues/145))
43
+ - Added: `styles/native.css` reaches the control of `el-date-field`, with the rules of the input of `el-input-field`. The parts of a date lose the padding the browser gives them above and below, so the control is as high as an input for text beside it, in the three sizes. ([#146](https://github.com/webtides/element-library/issues/146))
44
+ - Added: `styles/native.css` reaches the file input of `el-file-field`: the border, the radius, the colours, the focus ring and the height of the input of `el-input-field`, in the three sizes. Its button (`::file-selector-button`) is a plain surface in `--el-color-bg-muted` with the radius `--el-radius-sm`, as high as a line of text; the words on it stay the ones of the browser. ([#140](https://github.com/webtides/element-library/issues/140))
45
+ - Added: `styles/native.css` shows that a control is disabled. The control fades (`opacity: 0.55`, as a disabled `el-button`) and has the cursor `not-allowed`, the same in every field the file reaches: the inputs, the textarea, the select with its chevron, the file input with its button and the colour input. Its colours stay the ones of the theme, so it works in every theme and in both schemes without a token of its own; the text of a disabled control keeps a contrast of more than 3 to 1 in the three shipped themes. Before, the colours of the file took away what the browser does for the state, and a disabled input looked exactly like an enabled one. A range that is disabled is drawn in grey by the browser and gets the cursor alone. ([#143](https://github.com/webtides/element-library/issues/143))
46
+ - Added: cascade layers for the themes and the utilities: `el-tokens` and `el-utilities`, in that order. `styles/layers.css` holds the statement on its own, to place the two among the layers of the page. `native.css` and the styles of the components are in no layer, because a layer loses against every rule of the page that is in none. ([#69](https://github.com/webtides/element-library/issues/69))
47
+ - Added: `styles/utilities.css`, opt-in, with one class so far: `el-visually-hidden` takes an element off the screen and keeps it for assistive technology. ([#69](https://github.com/webtides/element-library/issues/69))
48
+ - Added: `--el-select-indicator-color`, the colour of the chevron of a decorated `el-select-field`. Unset, it is `--el-color-fg-muted`; the high-contrast theme sets it to `--el-color-fg`, which a rule of that theme did before. ([#69](https://github.com/webtides/element-library/issues/69))
49
+ - Changed: `--el-touch-target` now reaches every control. On a touch screen (`@media (any-pointer: coarse)`) no control of the library is smaller than the token in either direction; before, only `el-amount-field` read it, for the height of its buttons. That covers `el-button` in every size and shape, the text fields and the select, the password toggle and the clear cross of a field, the labels of `el-checkbox-field`, `el-switch-field` and `el-radio-field`, the close buttons of `el-dialog` and `el-notification`, the buttons and the input of `el-amount-field`, the arrows and dots of `el-slider` and `el-carousel`, `el-tab-link` and the header of `el-accordion`; the entries below have the details. With the shipped themes the token is 44 px (48 px in the high-contrast theme), so layouts get higher and wider on a touch screen: a small button is as high as a medium one, a checkbox row is 44 px high, the header of a dialog grows with its close button. With a mouse or trackpad alone, and without the token (no theme), every size is as before. A theme of your own only has to set `--el-touch-target`. Note that `any-pointer: coarse` also matches a laptop with a touch screen. ([#91](https://github.com/webtides/element-library/issues/91), [#95](https://github.com/webtides/element-library/issues/95))
50
+ - Changed: BREAKING: a theme sets tokens and no longer decorates form controls. The rules for the inputs, textareas and selects of the fields have left `default.css`, `high-contrast.css` and `sketchy.css` and are in `styles/native.css`. A page that imports a theme and wants its fields to look as before imports that file as well: `import '@webtides/element-library/styles/native.css'`. With both, the fields look as before, in every theme; without `native.css` their controls keep the look of the browser. The sketchy theme keeps what no token can carry: its `@font-face`, and its rules for the accordion and the tabs. ([#69](https://github.com/webtides/element-library/issues/69))
51
+ - Changed: the tokens of a theme are in the cascade layer `el-tokens`. A token that the page sets in no layer wins over the theme wherever it is loaded; before, the one that came later won. If the page's own CSS is in layers as well (Tailwind CSS v4), the order of the layers decides between its tokens and the theme's. ([#69](https://github.com/webtides/element-library/issues/69))
52
+ - Changed: the shared style module `form-control` is the layout of every field that renders into the page, `el-form-field` included; before, only `el-input-field` and `el-password-field` composed it, and the other five fields each had a layout of their own. It also gives a label the text colour of the theme and the help message its muted colour, and takes the room of a help message without a text away. ([#130](https://github.com/webtides/element-library/issues/130)) `el-amount-field` composes it as well, in its shadow root. ([#131](https://github.com/webtides/element-library/issues/131))
53
+ - Fixed: on a touch screen a decorated input or select is at least `--el-touch-target` high also when the theme comes after the styles of the field in the cascade, as an adopted stylesheet for example. The minimum height of the theme had the same weight as the touch rule of the field and won there: 42 px with the default theme. `native.css` now states the touch rule as well, so the order no longer decides. ([#69](https://github.com/webtides/element-library/issues/69))
54
+ - Fixed: in the default theme, light scheme, muted text can be read on the muted background as well. `--el-color-fg-muted` is `#676d7b` there (was `#6b7280`): 4.71 : 1 against `--el-color-bg-muted` (was 4.39 : 1, below the 4.5 : 1 that small text needs) and 5.18 : 1 against `--el-color-bg` (was 4.83 : 1). The pair shows wherever muted text stands on a muted fill: the message of an `el-empty-state` or the help message of a field in an `el-card` with `appearance="filled"`. Every muted text of the theme is a little darker with it; the dark scheme and the other two themes had the contrast and are unchanged. ([#117](https://github.com/webtides/element-library/issues/117))
55
+ - Fixed: in the light scheme of the default and of the sketchy theme, text in the success colour can be read, and so can the text on a success fill. `--el-color-success` is `#15803d` in the default theme (was `#16a34a`) and `#257e36` in the sketchy theme (was `#2f9e44`): 5.02 : 1 and 5.10 : 1 against `--el-color-bg` (were 3.30 : 1 and 3.45 : 1, below the 4.5 : 1 that text needs), and 4.56 : 1 and 4.64 : 1 against `--el-color-bg-muted`. It shows wherever the colour does: `el-button`, `el-badge` and `el-tag` with `variant="success"` in every appearance, the stripe and the icon of a success `el-notification`, the check mark of a valid field. The dark schemes and the high-contrast theme keep their values. Without a theme the `success` variant falls back to `#15803d` as well (was `#16a34a`). ([#107](https://github.com/webtides/element-library/issues/107))
56
+ - Fixed: in the light scheme of the default and of the sketchy theme, text in the danger colour can be read on the muted background as well, and so can text in the brand colour of the sketchy theme. `--el-color-danger` is `#d52222` in the default theme (was `#dc2626`) and `#d72020` in the sketchy theme (was `#e03131`), and `--el-color-accent` of the sketchy theme is `#2065ec` (was `#2f6fed`): 4.68 : 1, 4.64 : 1 and 4.62 : 1 against `--el-color-bg-muted` (were 4.39 : 1, 4.10 : 1 and 4.13 : 1, below the 4.5 : 1 that text needs). The pair shows wherever such text stands on a muted fill, in an `el-card` with `appearance="filled"` for example: an outlined or a plain `el-button`, `el-badge` or `el-tag`, and the error message of a field. The three colours are a little darker wherever they show, as a fill, as the border of an invalid control and as the focus ring of the sketchy theme as well; their hue is the same. The accent colour of the default theme had the contrast (4.70 : 1) and is unchanged, as are the dark schemes and the high-contrast theme. Without a theme the `danger` variant falls back to `#d52222` as well (was `#dc2626`). ([#149](https://github.com/webtides/element-library/issues/149))
57
+ - Fixed: without a theme, every variant can be read in every appearance on a dark page as well. A neutral fill and the text on it are a pair that follows the colour scheme, as `light-dark()` resolves it: `#e5e7eb` with `#1c1917` in a light scheme, `#374151` with `#f3f4f6` in a dark one (14.12 : 1 and 9.36 : 1). Before, the fill was `#e5e7eb` in both schemes and the text on it had the text colour of the page, which is white on a dark page: 1.23 : 1. The text of an outlined or a plain warning is the warning colour mixed with the text colour of the page. Before, it was mixed with a fixed dark colour: 3.19 : 1 on a dark page, and 12.7 : 1 now (white text on `#121212`). It shows on `el-button`, `el-tag` and `el-badge` in the `neutral` and the `warning` variant, and on the icon of a warning `el-notification`. On a light page the neutral fill is what it was; the text on it is `#1c1917` and no longer the text colour of the page, and warning text is mixed with that colour (`#7b4f06` under black text, was `#885c11`). A browser that does not know `light-dark()` paints no neutral fill without a theme: the text of the page on nothing. With a theme nothing changes. ([#154](https://github.com/webtides/element-library/issues/154))
58
+
59
+ ### accordion
60
+
61
+ - Changed: on a touch screen (`@media (any-pointer: coarse)`) the header is at least `--el-touch-target` high. With the default and the sketchy theme it already was; with the high-contrast theme it was 46 px with a target of 48 px. Unchanged on a fine pointer and without the token.
62
+ - Fixed: `collapse()` no longer throws `Cannot read properties of undefined (reading 'style')` when the accordion is removed from the DOM before its two animation frames have run (for example a closed accordion that is connected and removed again right away). The content node is now captured up front instead of being read from `$refs` inside the frames, which element-js clears on disconnect.
63
+
64
+ ### amount-field
65
+
66
+ - Changed: BREAKING: `el-amount-field` renders into the page, as every other field, and no longer into a shadow root. The slots `plus` and `minus` and all CSS parts are gone. The signs of the buttons are CSS strings now, `--el-amount-field-plus` and `--el-amount-field-minus`, and a stylesheet selects the elements of the field in the page: `el-amount-field .stepper`, `.step`, `.plus`, `.minus`, `input`, `label`, `.help-message` and `.error-message`. The readme has the table for the move. The look is the same in every theme. ([#105](https://github.com/webtides/element-library/issues/105))
67
+ - Changed: the buttons of `el-amount-field` have an accessible name, `plusLabel` (`Increase`) and `minusLabel` (`Decrease`). It was their sign, `+` and `-`. ([#105](https://github.com/webtides/element-library/issues/105))
68
+ - Changed: on a touch screen (`@media (any-pointer: coarse)`) the plus and minus buttons are at least `--el-touch-target` wide, and the input is as high as the buttons. With the default theme the buttons were 33 and 29 px wide and the input 34 px high. The height of the buttons follows the token on every pointer, as before. Unchanged on a fine pointer and without the token.
69
+ - Changed: the `label` is rendered: a `<label>` above the stepper that names the number input. Before, the field took the attribute and showed nothing, and the input had no accessible name (axe `label`). ([#94](https://github.com/webtides/element-library/issues/94))
70
+ - Changed: the label, the help message, the stepper and the error message stack in a column with a gap of `--el-space-1`, as in every field. The field is a flex container for that (`display: flex`; it was `inline`), and the `hidden` attribute hides it as before. With a theme, a field without messages measures what it did. Without a theme the label is 4 px above the stepper; it had no gap there. ([#131](https://github.com/webtides/element-library/issues/131))
71
+ - Fixed: `el-amount-field` takes part in a native `<form>`. Its value is submitted under its `name`, a `disabled` field is left out, a `<fieldset disabled>` disables it, and `form.reset()` brings back the value it was rendered with. Before, the input was in a shadow root and belonged to no form: nothing was submitted. In server-rendered markup the input is there with its name and value, so a form that is submitted before the script has run has the rendered value. ([#105](https://github.com/webtides/element-library/issues/105))
72
+ - Fixed: a bound that is not set leaves its attribute out of the input. Before, `max="false"` was written to it. ([#105](https://github.com/webtides/element-library/issues/105))
73
+ - Fixed: the buttons of a `disabled` `el-amount-field` are disabled with its input. Before, they changed the value of a disabled field, took the focus and looked enabled. ([#156](https://github.com/webtides/element-library/issues/156))
74
+ - Fixed: the stepper of a disabled `el-amount-field` fades as a whole (`opacity: 0.55`, as the control of every other field) and has the cursor `not-allowed`, by the `disabled` of the field and by a `<fieldset disabled>` around it. Before, the number of a disabled field looked like the one of an enabled field. A button at its bound in an enabled field fades alone, as before. ([#158](https://github.com/webtides/element-library/issues/158))
75
+ - Fixed: the stepper of `el-amount-field` shows the keyboard focus on each of its parts: a ring inside of the button or the input that has it, `--el-focus-ring-width` wide in `--el-color-focus-ring`, and 2 px in the colour of the text without a theme. Before, the input showed nothing, and the stepper cut off the ring of the browser around a button. At rest the field looks as before. ([#157](https://github.com/webtides/element-library/issues/157))
76
+ - Fixed: the `helpMessage` and the `errorMessage` are rendered. The field took both and showed neither, and the `aria-describedby` of its input named an element that did not exist. The help message stands between the label and the stepper. The error message is shown below the stepper while the field is touched and not valid, as an alert (`role="alert"`). The input names the help message in `aria-describedby`, and the error message while it is shown. Both have the look of the messages of every field: `--el-font-size-sm`, the muted and the danger colour of the theme, the colour of the text without one. ([#131](https://github.com/webtides/element-library/issues/131))
77
+ - Fixed: the input says whether the field is valid (`aria-invalid`). Before, the error message reached a screen reader and the state of the control did not, while the control of `el-input-field` and of `el-select-field` has said it all along. ([#134](https://github.com/webtides/element-library/issues/134))
78
+
79
+ ### avatar
80
+
81
+ - Added: `el-avatar`, a new component: the picture that stands for a person or a thing. It shows the first of these that it has: the `image`, the `initials`, an icon (the `icon` slot, and the outline of a person without it). An image that cannot be loaded makes way for the next, also when it had failed in server-rendered markup before the element was there. With a `label` the avatar is an image with that name for assistive technology; without one it is hidden, as a decoration beside a name that is written out. `shape` is `circle` (the default), `square` or `rounded`, and `size` is `small`, `medium` or `large`, both reflected: the width and the height of an avatar are the control height of its size, and `--el-avatar-size` makes it any other size. The background is an eighth of the text colour, so the avatar shows on any background and without a theme. ([#79](https://github.com/webtides/element-library/issues/79))
82
+
83
+ ### badge
84
+
85
+ - Added: `el-badge`, a new component: a short label that marks something with a status or a count ("New", "3"). Pure presentation, without a role and without behaviour. It has the `variant` and the `appearance` of the shared vocabulary, both reflected, `pill` for fully rounded ends and `pulse` for a ring that spreads from the badge to catch the eye; the pulse stands still for a user who prefers reduced motion. A badge is three quarters of the font size of the text it stands in, so it has no `size`. With a single character it is as wide as it is high: a square, and a circle as a pill. ([#74](https://github.com/webtides/element-library/issues/74))
86
+
87
+ ### breadcrumb
88
+
89
+ - Added: `el-breadcrumb`, a new component: the trail from the start page to the current page. A `nav` landmark, named by `label` ("Breadcrumb" by default), that holds a list; every `el-breadcrumb-item` slotted into it is an entry of that list. The entries stand in a row that breaks into a second line where it does not fit, and a line after the first starts with a separator. `--el-breadcrumb-separator`, a CSS string (`'/'` by default), is what stands between two entries: set on the breadcrumb or for the whole page, it is the separator of every entry. The breadcrumb does nothing with its entries from a script, so a server-rendered trail is complete without JavaScript. ([#123](https://github.com/webtides/element-library/issues/123))
90
+
91
+ ### breadcrumb-item
92
+
93
+ - Added: `el-breadcrumb-item`, a new component: one entry of an `el-breadcrumb`, an item of its list (`role="listitem"`). With `href` it is a native link (`target` is passed on, `rel` is written with it), without it is text. `current` marks the entry of the page the user is on: `aria-current="page"`, the text colour of the theme and a heavier weight, as text or as a link. Every entry but the first shows the separator in front of itself, in the muted text colour of the theme and hidden from assistive technology. A link has the accent colour of the theme, the text colour without a theme, is underlined under the pointer and shows the focus ring of the theme; on a touch screen it is at least `--el-touch-target` wide and high. ([#123](https://github.com/webtides/element-library/issues/123))
94
+
95
+ ### button
96
+
97
+ - Added: `appearance` (`filled` by default, `outlined` or `plain`): how the colours of the variant are painted. It works with every variant, so a `plain` button, text only, exists in every colour; before, only the `text` variant in the brand colour did. ([#69](https://github.com/webtides/element-library/issues/69))
98
+ - Added: `variant`, `appearance` and `size` are reflected to attributes of the same name, the defaults included, so a stylesheet can select them (`el-button[variant='brand']`). ([#69](https://github.com/webtides/element-library/issues/69))
99
+ - Added: a pressed style: a button that is pressed (`:active`) is darker than a hovered one; an `outlined` or `plain` button gets a tint of its text color instead. Before, pressing a button on a touch screen showed nothing.
100
+ - Added: in an `el-button-group` a button is joined with its neighbours: the corners that face a neighbour are square, and a filled button with a neighbour in front of it draws the line between the two as its border at the start. Outside of a group the button looks as before. ([#124](https://github.com/webtides/element-library/issues/124))
101
+ - Added: the attributes `form`, `formaction`, `formenctype`, `formmethod`, `formnovalidate` and `formtarget` of `el-button` do what they do on a native button. A button of the type `submit` or `reset` outside of a form acts on the form its `form` attribute names, from the footer slot of an `el-dialog` for example, and a "Cancel" with `formnovalidate` submits a form that is not valid. ([#113](https://github.com/webtides/element-library/issues/113))
102
+ - Changed: BREAKING: the button speaks the library's shared vocabulary. `variant` is `neutral` (the default), `brand`, `success`, `warning` or `danger`, and the new `appearance` replaces the `outline` flag and the `text` variant. The old values are not mapped, a button that still uses them is painted neutral and filled. Rename `variant="primary"` to `variant="brand"`, `variant="default"` to `variant="neutral"` (or leave it out), `variant="text"` to `variant="brand" appearance="plain"` and `outline="true"` to `appearance="outlined"`. Buttons that are renamed this way look as before, in every theme. ([#69](https://github.com/webtides/element-library/issues/69))
103
+ - Changed: BREAKING: the dark `neutral` button, filled in the text colour, is gone. `neutral` now is what `default` was: the muted fill with the border of the theme. There is no successor for the dark fill. ([#69](https://github.com/webtides/element-library/issues/69))
104
+ - Changed: the control inside the shadow root no longer has classes for the variant, the size and the outline (`button--primary`, `button--small`, `button--outline`). Select the host by its attributes instead. ([#69](https://github.com/webtides/element-library/issues/69))
105
+ - Changed: on a touch screen (`@media (any-pointer: coarse)`) the button is at least `--el-touch-target` wide and high, in every size and shape. With the default theme a small button was 32 px high, a medium one 42 px and a small `circle` 32 × 32 px. A circle stays round. Unchanged on a fine pointer and without the token.
106
+ - Changed: `el-button` is form-associated. It is listed in the `elements` of its form, and its `disabled` property is reflected as the platform reads it: the element has `disabled="true"` while it is disabled, set from a script as well, and no `disabled` attribute while it is not. `disabled="false"` and a `disabled` without a value are read as not disabled, as before, and are now taken off the element: for the platform an attribute that is there disables a form-associated element, whatever its value. ([#114](https://github.com/webtides/element-library/issues/114))
107
+ - Changed: `name` and `value` of `el-button` are text, as on a native button: `value="1.50"` is submitted as `1.50` and read as the string `'1.50'`. Before, the attribute was parsed, and the property was the number `1.5`. ([#113](https://github.com/webtides/element-library/issues/113))
108
+ - Changed: an `el-button` of the type `submit` keeps a hidden native `<button type="submit">` as its last child, which is what the form is submitted with. A selector or a script that counts the children of an `el-button` sees it. Enter in a field clicks that button, so a `click` listener on the `el-button` hears that click as well, as a native submit button does. While the button is disabled or loading, Enter does not submit the form. ([#113](https://github.com/webtides/element-library/issues/113))
109
+ - Fixed: an `el-button` of the type `submit` is the submit button of its form. The `submit` event has a `submitter`, the native submit button inside the `el-button`, and the `name` and `value` of the button are in the data of the form. Before, the form was submitted without a submitter and without that entry, although the readme promised it: a form with several submit buttons could not tell them apart. ([#113](https://github.com/webtides/element-library/issues/113))
110
+ - Fixed: Enter in a field submits a form whose submit button is an `el-button`, with any number of fields. Before, only a form with a single field was submitted: the platform found no submit button in the form. ([#113](https://github.com/webtides/element-library/issues/113))
111
+ - Fixed: an `el-button` inside of a `<fieldset disabled>` is disabled, as a native button is: it fires no click, does not submit, takes no focus and is painted as disabled. Before, the fieldset did not reach it. A link button (`href`) is disabled there as by its own `disabled`. ([#114](https://github.com/webtides/element-library/issues/114))
112
+ - Fixed: a `click` listener of the page that calls `preventDefault()` keeps an `el-button` of the type `submit` from submitting its form, and one of the type `reset` from resetting it, as it does with a native button: on the `el-button`, on an element in it or around it. Before, the form was submitted before the page had the click. The button acts once every listener has had the click, still inside of it; after a listener that stops the click on its way (`stopPropagation()`), it acts a task later. ([#155](https://github.com/webtides/element-library/issues/155))
113
+ - Fixed: without a theme, the keyboard focus of `el-button` can be seen on every page. The ring is inside of the button then, in the colour of its label, which can be read on the surface of the button: 5.02 : 1 or more in every variant and appearance, on a light and on a dark page. Before, the ring was around the button in the colour of its label: white on a white page for a brand, a success and a danger button (1.00 : 1), and dark on a dark page for a warning button (1.07 : 1). With `--el-color-focus-ring`, as in the three themes, the ring is around the button as before, and so it is in both cases where the user forces colours. ([#159](https://github.com/webtides/element-library/issues/159))
114
+ - Fixed: the `hidden` attribute hides the button. Before, the `display` of the element won over it. ([#69](https://github.com/webtides/element-library/issues/69))
115
+ - Fixed: a server-rendered `el-button` no longer writes unset attributes as the string `undefined` onto its control. A link button (`href` set) carried `target='undefined'`, `rel='undefined'` and `download='undefined'` in the Declarative Shadow DOM, and a `download` attribute makes the browser save the link target instead of navigating to it. A native button carried `name='undefined'` and `value='undefined'`. The fix is in `@webtides/element-js` 1.3.1 ([element-js#192](https://github.com/webtides/element-js/issues/192)), which the library now requires.
116
+ - Fixed: no hover style stays on the button after a tap. A touch screen leaves `:hover` on the element that was tapped last, so the button looked hovered until the next tap elsewhere. The hover styles now only apply where the pointer can hover (`@media (hover: hover)`).
117
+ - Fixed: the label of an outlined `warning` button is readable on a light background. Its colour is `--el-color-warning` mixed half and half with `--el-color-fg` now, which makes it darker in a light scheme and lighter in a dark one; the border keeps the token. Before, the label had the colour of the token, which has to be light for the dark text of the filled button: `#d97706` was 3.18 : 1 on white as a label and is 7.86 : 1 now. ([#94](https://github.com/webtides/element-library/issues/94))
118
+ - Fixed: an ARIA attribute on `el-button` reaches the control inside it, the `<button>` or `<a>` that has the focus and that a screen reader announces. Before, it stayed on the element, which has no role: an icon button with `aria-label="Add"` was announced by its content ("+"), and `aria-expanded` or `aria-pressed` said nothing. `aria-label`, `aria-description`, `aria-expanded`, `aria-haspopup`, `aria-pressed` and `aria-current` are passed on as they are, with every change. `aria-labelledby`, `aria-describedby` and `aria-controls` name elements by id, which does not reach out of the shadow root; the control gets references to those elements instead (Chrome 135, Firefox 136, Safari 16.4; without them the relation is missing, as before). The attributes stay on the element as well. ([#108](https://github.com/webtides/element-library/issues/108))
119
+
120
+ ### button-group
121
+
122
+ - Added: `el-button-group`, a new component: a row of `el-button` that reads as one control, the actions of a toolbar, a button with a second one for more options. A group to assistive technology (`role="group"`), named by `label`. The buttons touch and share the border between them; the corners that face a neighbour are square, the outer corners of the row keep the radius of the buttons, and the row is mirrored in a text that runs from right to left. Two filled buttons are divided by a line, a quarter of the text colour on the fill. The button that has the focus lies over its neighbours, so its focus ring is not covered. A button inside of a slotted element is joined as that element is, which makes the anchor of an `el-popover` a part of the row; what is in the panel of the popover is not. The group joins its buttons with its stylesheet alone: it runs no script on them, and a server-rendered group does not change when the elements take over. ([#124](https://github.com/webtides/element-library/issues/124))
123
+
124
+ ### card
125
+
126
+ - Added: `el-card`, a new component: a surface that groups what belongs together, a form, a section of settings, an entry of a list. Pure presentation, without a role and without behaviour. It has four regions, each of them a slot: `media` at the top, then `header`, the body and `footer`; a region that nothing is slotted into takes no space, on the server as in the browser. `appearance` is `outlined` (the default: a surface in `--el-color-bg` with a border and the shadow `--el-shadow-md`), `filled` (the muted fill) or `plain` (nothing painted), reflected. `--el-card-padding` is the padding of the header, the body and the footer; unset, it is `--el-space-4`. A card fills the height its container gives it, so cards that a grid stretches are equally high and their footers are in one line. ([#76](https://github.com/webtides/element-library/issues/76), [#81](https://github.com/webtides/element-library/issues/81))
127
+
128
+ ### carousel
129
+
130
+ - Added: `dot-label` (`dotLabel`): the accessible label of a bullet, followed by the number of its slide. Default `'Go to slide'`, which names the bullets "Go to slide 1", "Go to slide 2" and so on. It is the property the dots of `el-slider` have. ([#163](https://github.com/webtides/element-library/issues/163))
131
+ - Changed: BREAKING: the arrows and the bullets have the look and the place of the ones of `el-slider`, and read the tokens of the theme. The theme of Glide is gone: white controls that lay on the slides and showed on a dark picture only, in every theme of the library. The bullets are in a row under the slides and no longer on them, so the carousel is higher by that row (24 px). A bullet is a ring of 10 px in `--el-color-fg-muted`, and the one of the slide that shows a disc in `--el-color-accent` (they were 13 px and white). An arrow is a square of `--el-control-height` with the surface, the text colour, the border and the radius of the tokens, `--el-space-2` in from the sides (was `2em`), in the middle of the height of the slides. Left empty, an arrow shows an arrow head (it showed nothing). The keyboard focus of an arrow shows, as a ring inside of it (the stylesheet took the outline away). An arrow that Glide marks as leading nowhere keeps its surface and its sign fades (the whole arrow faded to a third). Without a theme an arrow has the surface and the text colour of the browser for the colour scheme, and the bullets the text colour of the page. On a page that runs from right to left the arrow back is at the right. The parts keep their names. A rule of the page for `::part(arrow)`, `::part(dot)` or `::part(selected-dot)` now meets another look: a bullet is drawn with its border, so `border-color` colours it and `background` does not. A page that wants the bullets on the slides again lays them there with one rule, see the readme. ([#162](https://github.com/webtides/element-library/issues/162))
132
+ - Changed: on a touch screen (`@media (any-pointer: coarse)`) the arrows are at least `--el-touch-target` wide and high (28 × 22 px before). The bullets keep their size: each gets a hit area of `--el-touch-target` around its dot, and the bullets move apart by as much, so that the areas do not overlap. The row of bullets wraps when it gets wider than the carousel. Unchanged on a fine pointer and without the token.
133
+ - Changed: the copies of the slides that Glide needs for looping are kept in the shadow root. The children of the element stay what the page wrote: before, four slides became eight children as soon as the carousel started, and a framework that hydrated a server-rendered carousel with slides from a loop found nodes it had not rendered (Svelte 5: `hydration_mismatch`, the page was built again). A rule of the page's style sheets still styles a copy when it selects the slide by a class; a selector that needs an ancestor outside the carousel (`el-carousel > div`, `.gallery .slide`) no longer reaches the copies. See "Looping, and server-rendered slides" in the readme. ([#96](https://github.com/webtides/element-library/issues/96))
134
+ - Fixed: the bullets are buttons. The Tab key reaches them, Enter and Space go to the slide of the one that has the focus, and its focus shows as a ring around it. Each has an accessible name (see `dot-label`), and `aria-pressed` marks the one of the slide that shows. They were `div` elements that took a click and nothing else: a user of the keyboard had the two arrows only, and a screen reader did not announce them. ([#163](https://github.com/webtides/element-library/issues/163))
135
+ - Fixed: the arrow buttons have an accessible name when their slots are empty: "Previous slide" and "Next slide", for screen readers only. What is put into the `arrow-left` and `arrow-right` slots replaces that name, as it named the button before. An arrow with an empty slot was a button without a name (axe `button-name`). ([#94](https://github.com/webtides/element-library/issues/94))
136
+ - Fixed: going on from the last slide shows the first slide coming in. It showed a copy of the second one, which then jumped to the first: the copies after the last slide were in the wrong order. ([#96](https://github.com/webtides/element-library/issues/96))
137
+ - Fixed: `api.update()` keeps the slides. After an update Glide took the `<slot>` for its only slide, so the carousel had one empty slide. ([#96](https://github.com/webtides/element-library/issues/96))
138
+ - Fixed: what a page puts into the `arrow-left` or `arrow-right` slot no longer gets the margins of a slide gap. ([#96](https://github.com/webtides/element-library/issues/96))
139
+
140
+ ### checkbox-field
141
+
142
+ - Changed: on a touch screen (`@media (any-pointer: coarse)`) the label, which is the hit area of the checkbox, is at least `--el-touch-target` wide and high. Before, it was as high as its line of text. Unchanged on a fine pointer and without the token.
143
+ - Changed: the help message, the checkbox with its label and the error message stack in a column with a gap of `--el-space-1` (4 px without a theme; they had no gap). The messages are set in `--el-font-size-sm` (14 px without a theme; they had the size of the text), and the help message has the muted colour of the theme (`--el-color-fg-muted`), as in every field now; without a theme it keeps the colour of the text. A help message without a text takes no room. ([#130](https://github.com/webtides/element-library/issues/130))
144
+ - Changed: the help message stands below the checkbox and its label, and the error message below the help message. It was the first thing of the field, above the label it explains. What a screen reader reads is unchanged: the checkbox names both messages in `aria-describedby`. ([#132](https://github.com/webtides/element-library/issues/132))
145
+ - Fixed: the error message is an alert (`role="alert"`), so a screen reader announces it the moment it appears. ([#94](https://github.com/webtides/element-library/issues/94))
146
+ - Fixed: the checkbox names its help message and its error message. Its `aria-describedby` pointed at the checkbox itself, so a screen reader read neither message when the checkbox got focus; the error message was only announced the moment it appeared. It now names the help message, and the error message while that is shown, as the other fields do. ([#129](https://github.com/webtides/element-library/issues/129))
147
+ - Fixed: the error message has the danger colour of the theme (`--el-color-danger`). It had the colour of the text and read like a help message, while the messages of an `el-input-field` on the same form were red. Without a theme it keeps the colour of the text, which is what every field does now. ([#128](https://github.com/webtides/element-library/issues/128))
148
+ - Fixed: the `hidden` attribute hides the field. The field sets a `display` of its own, which won over the attribute. ([#130](https://github.com/webtides/element-library/issues/130))
149
+ - Fixed: the checkbox says whether the field is valid (`aria-invalid`). Before, the error message reached a screen reader and the state of the control did not, while the control of `el-input-field` and of `el-select-field` has said it all along. ([#134](https://github.com/webtides/element-library/issues/134))
150
+ - Fixed: a second field with the same `name` on the page is described by its own messages. Their ids are made per field, not from the name (BREAKING for a page that names `<name>-help-message` itself). See `form-field`. ([#133](https://github.com/webtides/element-library/issues/133))
151
+ - Fixed: the accessible name of the checkbox is its label alone. It started with the check mark of the box ("✓ I agree to the terms"), checked or not: the box is inside the label, and while the checkbox is not checked its mark is hidden from the eye only. The box is now hidden from assistive technology (`aria-hidden`); the checkbox itself says whether it is checked. ([#135](https://github.com/webtides/element-library/issues/135))
152
+ - Fixed: a click is reported once. `input-change` was fired three times for the first click on a checkbox without a `value`, and twice for every other click: by the handler of the form field, by the watcher of `value`, which took over the value of the control, and by the watcher of `checked`. The watcher of `checked` alone reports now, once for every change of the checked state, by the user or by a script, with the value of the control as before. A `value` that a script sets is no change of the checked state and is no longer reported. ([#148](https://github.com/webtides/element-library/issues/148))
153
+
154
+ ### checkbox-group-field
155
+
156
+ - Added: `el-checkbox-group-field`, a new component: a choice of any number of options, the group of checkboxes that `el-radio-field` is for radios. A native `<fieldset>`/`<legend>` wrapping one `<input type="checkbox">` per entry of `options`, all under one name, with the label, the help message, the error message and the layout of every field. `value` is the list of the checked values, in the order of the options: an array from a script, JSON as an attribute. In a form every checked option is submitted under the `name`. `required` means at least one: the field is not valid without a checked option and the browser refuses to submit the form, with the `errorMessage` of the field as the text of its bubble. The box has the look of the box of `el-checkbox-field`. ([#137](https://github.com/webtides/element-library/issues/137))
157
+
158
+ ### color-field
159
+
160
+ - Added: `el-color-field`, a new component: a colour, picked in the picker of the browser. A native `<input type="color">` with the label, the help message, the error message and the layout of every field; it is submitted with its form by the control. `value` is the colour as the control has it, `#rrggbb`. A field without a `value` takes over the value of the control, black, and so does a field whose value the control brings into its format, so `value` says what the form submits; `value` follows the picker while the user goes through it, and `input-change` reports every value once. `show-value` shows the value as text beside the control. `options` is a list of colours the picker of the browser offers, rendered as the native list of the control. The control keeps the look of the browser; with `styles/native.css` it is a well with the border of the other controls, as high as an input in each of the three sizes. ([#144](https://github.com/webtides/element-library/issues/144))
161
+
162
+ ### combobox-field
163
+
164
+ - Added: `el-combobox-field`, a new component: a text the user writes, with suggestions the browser offers while they type. An `el-input-field` with a native `<datalist>`: the browser filters and shows the suggestions, and the keyboard and a screen reader work as the browser has them. `options` are the suggestions, plain strings or `{ value, label }`; options that change reach the list, for suggestions a page loads while the user types. Without options there is no list, and the control is a plain text input. The value is free text: a suggestion is an offer, not a limit. `value` follows what is typed and what is picked, and `input-change` reports it. With `styles/native.css` the control has the look and the sizes of the input of `el-input-field`. ([#145](https://github.com/webtides/element-library/issues/145))
165
+
166
+ ### copy-button
167
+
168
+ - Added: `el-copy-button`, a new component: a button that copies a text to the clipboard and says whether that worked. A native `<button>` that shows an icon and is named by `label`, "Copy" by default. The text is `value`, or with `from` the content of the element with that id: its `value` if it has one, its text otherwise, read at the moment of the press. After a press the icon shows the outcome for `feedback-duration` milliseconds (`1500` by default), a check mark in the success colour or a cross in the danger colour, and a live region tells a screen reader (`success-label`, `error-label`); `status` is `success`, `error` or `idle`, reflected. `copy-button-copy` is fired with the text when it was copied, `copy-button-error` with the reason when it could not be: there was nothing to copy, the page has no clipboard, or the browser refused. `copy()` does the same from a script. `size` is `small`, `medium` or `large`, reflected: a square of the control height of the size, and at least `--el-touch-target` on a touch screen. The slots `copy-icon`, `success-icon` and `error-icon` take other icons. ([#125](https://github.com/webtides/element-library/issues/125))
169
+
170
+ ### date-field
171
+
172
+ - Added: `el-date-field`, a new component: a date, a time or both, entered in the control of the browser and picked in its picker. An `el-input-field` with the `type` `date` (the default), `time`, `datetime-local`, `month` or `week`. `min`, `max` and `step` reach the control: the earliest and the latest value and the distance between two values; a value outside of them is not valid, and the field shows its error message once it is touched, or when the browser refuses to submit the form. `value` is text in the format of the control (`2026-11-15`, `14:30`, `2026-11-15T14:30`, `2026-11`, `2026-W46`); a value in another format is empty for the control, and the field takes that over, so `value` says what the form submits. The field writes to its control only what has changed: the control of a date drops a date that is half entered when its value or its limits are written again. With `styles/native.css` the control has the look and the sizes of the input of `el-input-field`. ([#146](https://github.com/webtides/element-library/issues/146))
173
+
174
+ ### dialog
175
+
176
+ - Changed: on a touch screen (`@media (any-pointer: coarse)`) the close button is at least `--el-touch-target` wide and high (20 × 20 px before). Its icon keeps its size, and the header grows with the button. Unchanged on a fine pointer and without the token.
177
+ - Fixed: a dialog that is taken out of the page while it is open gives the page its scrolling back. Before, the page stayed locked (`overflow: hidden` on the document) with no dialog left to close, and a dialog opened later did not unlock it either, because the lock counts its holders. Put back into the page while `open`, the dialog opens as a modal again; before, it was shown in the flow of the page, without a backdrop and without taking the focus.
178
+ - Fixed: an empty footer takes no room. The footer was meant to be left out without content, but the rule for it never matched, so a dialog without a footer had the padding of the footer (`--el-space-4`, 16 px with the shipped themes) as extra room under its body. A footer that gets content later appears with it, and the footer of a server-rendered dialog is shown.
179
+ - Changed: `dialog-after-show` and `dialog-after-hide` fire only when the dialog has got there. A way that is cut short has none, so after `dialog-show` comes `dialog-after-show` or `dialog-hide`, and after `dialog-hide` comes `dialog-after-hide` or `dialog-show`; before, `dialog-after-show` could fire after the dialog had closed again. The promises of `show()` and `hide()` resolve when the dialog is at rest, at whichever end, and never reject; a `show()` while the dialog is still coming in waits for that way, where it resolved at once. Two changes of `open` before the next frame that cancel each other do nothing and fire nothing. Nothing changes for a dialog that opens and closes undisturbed. ([#110](https://github.com/webtides/element-library/issues/110))
180
+ - Fixed: opening and closing in quick succession no longer leaves the dialog out of step with `open`. A dialog that was closed and opened again while its way out was still running stayed closed with `open` still `true`: nothing was shown, the promise of `show()` never resolved, and the next `show()` did nothing. A button that toggles the dialog and is clicked twice got there. A dialog that was opened and closed again at once kept the class of its shown state, and came in without its transition the next time. Now the last value of `open` wins: a dialog that is closed on its way in turns back, one that is opened on its way out turns round and is shown again. ([#110](https://github.com/webtides/element-library/issues/110))
181
+ - Fixed: a `<form method="dialog">` inside the dialog closes it, as the readme has said since 0.1.0. It never did: the form is a child of the element and the `<dialog>` is in the shadow root, so the platform found no dialog above the form to close. The dialog now closes for the `submit` of such a form itself: by its submit button, by `Enter` in one of its fields, by a button that belongs to it through the `form` attribute, and by a button with `formmethod="dialog"` in a form with another method. It closes without `dialog-request-close`; a listener that calls `preventDefault()` on the `submit` keeps it open, and so does a form that is not valid. There is no `returnValue`: the button that was used is `event.submitter` in the listener. ([#111](https://github.com/webtides/element-library/issues/111))
182
+ - Fixed: `show()` and `hide()` wait for the dialog also when `open` got its value just before the call, in the same frame: set by hand, or by `requestClose()`. Such a call resolved at once, while the dialog was still shown (or still closed), because the dialog begins to move with the next frame. ([#112](https://github.com/webtides/element-library/issues/112))
183
+
184
+ ### divider
185
+
186
+ - Added: `el-divider`, a new component: a line between two groups of content, the regions of a card, the entries of a menu, the controls of a toolbar. The line is a native `<hr>`, a separator to assistive technology. `orientation` is `horizontal` (the default) or `vertical`, reflected: a horizontal divider is as wide as its container, a vertical one as high as the row of the flex or grid container it stands in, and as high as the text in a line of text. The line has the colour and the width of the borders of the theme, and is `1px` in a fifth of the text colour without a theme; `--el-divider-color` and `--el-divider-width` set other ones. It has no space around it: a margin on the element, or the gap of the layout, sets the distance. The line is a border, so it stays when colours are forced. ([#120](https://github.com/webtides/element-library/issues/120))
187
+
188
+ ### drawer
189
+
190
+ - Added: `el-drawer`, a new component: a panel that slides in from an edge of the viewport and lies over the page, for a navigation, a filter or the details of a row. It is `el-dialog` at another place, a modal on the native `<dialog>` element, and has what the dialog has under names of its own: `open`, `label`, `no-header`, `close-label`, `show()`, `hide()`, `requestClose()`, the events `drawer-show`, `drawer-after-show`, `drawer-hide`, `drawer-after-hide`, `drawer-initial-focus` and the cancelable `drawer-request-close`, the same slots and parts, and the lock on the scrolling of the page. `placement` (`start`, `end`, `top` or `bottom`; `end` by default) is the edge it lies along and slides in from; `start` and `end` swap in a right-to-left page. `--el-drawer-size` is the width of a drawer at the start or the end (`25rem` without it) and the height of one at the top or the bottom (the height of its content without it). Its backdrop is the one of the dialog, `--el-dialog-overlay-background`. ([#73](https://github.com/webtides/element-library/issues/73))
191
+ - Added: a form with `method="dialog"` inside the drawer closes it when it is submitted, as in `el-dialog`, and without `drawer-request-close`. ([#111](https://github.com/webtides/element-library/issues/111))
192
+
193
+ ### empty-state
194
+
195
+ - Added: `el-empty-state`, a new component: what stands in the place of a list or a collection while there is nothing in it. Pure presentation, without a role and without behaviour. It has four regions, each of them a slot: `icon`, `heading`, the message (the default slot) and `action`; a region that nothing is slotted into takes no space, on the server as in the browser. The content is a column in the middle, at most `30rem` wide. The message, the icon and the action have the muted text colour (`--el-color-fg-muted`), the heading has `--el-color-fg` and is semibold; the gaps and the padding come from the spacing tokens, and no surface is painted. The action is an element of the page, a button with a listener of its own: the component has no properties and fires no event. ([#83](https://github.com/webtides/element-library/issues/83))
196
+
197
+ ### file-field
198
+
199
+ - Added: `el-file-field`, a new component: one or several files for a form. A native `<input type="file">` with the label, the help message, the error message and the layout of every field; the dialog of the system, a drop onto the control and the form submission are the ones of the browser. `accept`, `multiple` and `capture` reach the control. `files` gives the chosen files, `value` is the list of their names, and `input-change` reports it on every choice. The files come from the user: a script can take the choice away with an empty `value`, and nothing else. The dialog of the system takes the focus from the page, which does not touch the field, so the error message of a required field does not show behind the dialog. The control keeps the look of the browser; with `styles/native.css` it has the border, the focus ring and the three sizes of the input of `el-input-field`. ([#140](https://github.com/webtides/element-library/issues/140))
200
+
201
+ ### form-field
202
+
203
+ - Added: the readme says how the fields take part in a native `<form>` ("In a form"): what is submitted, what `disabled` and `required` do, and what does not work yet. Every statement there is covered by a test of the field. ([#69](https://github.com/webtides/element-library/issues/69))
204
+ - Changed: `el-form-field` has the layout of the fields that extend it: the label, the help message, the control and the error message stack in a column with a gap of `--el-space-1` (4 px without a theme). The messages are set in `--el-font-size-sm` (14 px without a theme), and the error message has the danger colour of the theme; both had the size and the colour of the text. A help message without a text takes no room, and the `hidden` attribute hides the field, which the `display` of the field kept it from. ([#130](https://github.com/webtides/element-library/issues/130))
205
+ - Changed: BREAKING: the ids inside a field are no longer made from its name. The control had `input-<name>` and the messages `<name>-help-message` and `<name>-error-message`. They are `input-…`, `help-message-…` and `error-message-…` now, with a part that is random for every field and another one on every page load, as the controls of the checkbox, the switch and the radio group already had. A selector, a link or a `for` of the page that names one of the old ids no longer finds its element: reach the control through the field, `field.querySelector('input')`. ([#133](https://github.com/webtides/element-library/issues/133))
206
+ - Fixed: the error message is announced by screen readers. It is an alert now (`role="alert"`), so it is read the moment it appears, and the fields name it in the `aria-describedby` of their control while it is shown, so it is read again when the control gets focus. Before, a control pointed at the message with `aria-errormessage` at most, which few screen readers read and which axe reports (`aria-valid-attr-value`). The alert reaches every field that shows the message; `aria-describedby` is set by `el-input-field`, `el-password-field`, `el-select-field`, `el-radio-field`, `el-textarea-field` and `el-switch-field`. ([#94](https://github.com/webtides/element-library/issues/94))
207
+ - Fixed: a field has its own stylesheet when its parent class was connected before it. element-js keeps the stylesheets of an element on its class, and a field found the ones of its parent class there and never built its own. On a page with an `el-input-field` before an `el-password-field`, the password field had the styles of the input field only, and its toggle looked like a native button; every field after an `el-form-field` had the styles of that one only. Each field class now has a place of its own for its stylesheets.
208
+ - Fixed: the cross of a field that is not valid empties the field, not only its control: `clearInput()` sets `value` to the empty text, `input-change` reports it, and `valid` is what the empty control says. Before, the control was empty while `value` kept the old text and no event was fired, so a page that read `value` or listened to `input-change` had another text than the one the form submitted, and a field whose text had been the fault stayed not valid. This reaches the fields that render the cross: `el-input-field`, `el-password-field` and `el-textarea-field`. ([#115](https://github.com/webtides/element-library/issues/115))
209
+ - Fixed: when the browser refuses to submit a form, every field that is not valid shows its error message. Before, a field that the user had not touched showed nothing: it was `:state(invalid)` but not `touched`, so the message the page wrote for this case never appeared, and the user saw the bubble of the browser alone, for the first field only. The field is now `touched` and not `valid` after a refused submit, and its message is announced like the one that appears when it is left (`role="alert"`, named in `aria-describedby`). That holds for a click on a submit button, for Enter in a field and for `form.requestSubmit()`, in `el-input-field`, `el-password-field`, `el-textarea-field`, `el-select-field`, `el-checkbox-field`, `el-switch-field` and `el-radio-field`. The bubble of the browser stays, and with it the focus on the first field; the readme says how a page takes it away. `form.checkValidity()` and `form.reportValidity()` change nothing, and neither does a form with `novalidate`. ([#103](https://github.com/webtides/element-library/issues/103))
210
+ - Fixed: `form.reset()` puts every field back to the state it was rendered with. Before, a reset changed nothing: a field writes its value to its control as the default of the control, and a reset goes back to that default, which was the value of now. An `el-input-field` that the user had emptied stayed empty, a checkbox the user had checked stayed checked, and `touched`, `valid` and the error message stayed as well. The fields now listen for the reset of their form and put back what they were connected with: the value of `el-input-field`, `el-password-field` and `el-textarea-field`, the `checked` of `el-checkbox-field` and `el-switch-field`, the option of `el-radio-field` and `el-select-field`, and `touched` and `valid` of all of them. `input-change` reports the value a field goes back to. A reset button and `el-button type="reset"` do the same; a reset that a listener cancels changes nothing. The field follows a task after the event and its control with the render after that, so read the form in the next frame. ([#102](https://github.com/webtides/element-library/issues/102))
211
+ - Fixed: the `value` attribute of a field is taken as text. element-js parses every attribute, so a value that reads as a number or as JSON arrived as something else: `value="1.50"` was shown and submitted as `1.5`, `12345678901234567890` lost its last digits, `1e3` became `1000` and `[1]` became `1`, and `el-select-field` and `el-radio-field` did not find the option of such a value. That reaches `el-input-field`, `el-password-field`, `el-textarea-field`, `el-select-field`, `el-radio-field`, `el-checkbox-field` and `el-switch-field`. Their `value` property is that text now, where it was a number or a boolean before: `value="5"` gave `5` and gives `'5'`. `el-amount-field` keeps its number. Server-rendered markup still has the parsed value until the element starts in the browser: `@webtides/element-js-ssr-renderer` (0.4.0) parses the attribute itself. ([#127](https://github.com/webtides/element-library/issues/127))
212
+ - Fixed: an `el-form-field` on the page no longer changes the other fields. Its stylesheet had rules for the tags of all the fields, and those rules were on a page only together with an `el-form-field`: there the labels of the text fields and of the select got a margin, the help message of every field the muted colour, and, where that stylesheet came after theirs, `el-input-field` and `el-password-field` lost their column. The stylesheet has rules for `el-form-field` alone now, and every field brings the same layout itself. ([#130](https://github.com/webtides/element-library/issues/130))
213
+ - Fixed: two fields with the same `name` on a page each keep their own label and their own messages. A field made its ids from its name, and a name is unique in a form at most: on a page with a sign-in form and a newsletter form that each had an `email`, the first input was named by both labels, the second had no accessible name, and the second was described by the help message of the first. The ids are made per field now. That reaches the label and the messages of `el-input-field`, `el-password-field`, `el-textarea-field` and `el-select-field`, and the messages of `el-checkbox-field`, `el-switch-field` and `el-radio-field`, whose controls already had an id of their own. Server-rendered markup has ids of its own as well; the element writes new ones to the same elements when it starts. ([#133](https://github.com/webtides/element-library/issues/133))
214
+ - Fixed: a field without a value keeps it while its control is empty: `value` stays `null`. Before, the first key the field heard made it `''`, also a key that enters nothing (Shift, an arrow key) and the first key of a date, whose control has no value until the date is complete. `input-change` reported that `''`, and the next render wrote it to the control as its default. A control for a date or a time drops what the user has entered so far when its value is written, so the first key of a date was lost (see `input-field`). A text that was entered and deleted is still the value `''`, and is reported. That reaches the fields whose value is the text of their control: `el-input-field`, `el-password-field`, `el-textarea-field`, `el-select-field`, `el-otp-field`, `el-combobox-field` and `el-date-field`. ([#147](https://github.com/webtides/element-library/issues/147))
215
+ - Fixed: a field reports a change of its control once. The handler for the `change` of the control fired `input-change` itself, and the watcher of `value` fired it again for the same value: a text was reported with every key and once more when its control was left, an option picked in `el-select-field` twice, each value of `el-input-field type="date"` twice. The watcher alone reports now, as it does for a value a script sets. The event comes with the render after the change, a frame later; the first of the two used to come at once. That reaches `el-input-field`, `el-password-field`, `el-textarea-field`, `el-select-field`, `el-otp-field` and `el-combobox-field`; for `el-checkbox-field` and `el-switch-field` see there. ([#148](https://github.com/webtides/element-library/issues/148))
216
+ - Fixed: a field is as high after it was left as before, whatever the line height of the page. A field that was left shows a mark beside its control (✓ or ✗), which is a line of the text of the page. In a page with high lines that line is higher than a control with the look of the browser (24 px to 21 px for text of 16 px at a line height of 1.5), and `el-input-field`, `el-password-field` and an `el-textarea-field` of one row grew by the difference when they were left for the first time: by 3 px there, by 11 px at a line height of 2. What came after the field moved. The line of the mark no longer adds to the height of the row, and the mark stands where it stood, in the middle of the control. Nothing changes where the control is higher than a line, with `styles/native.css` for example. ([#116](https://github.com/webtides/element-library/issues/116))
217
+
218
+ ### input-field
219
+
220
+ - Added: `autocomplete`, `inputmode`, `enterkeyhint`, `autocapitalize`, `autocorrect` and `spellcheck` are passed on to the native `<input>`, in server-rendered markup and on every render. Set them as attributes or properties on the element; one that is not set is left out on the `<input>`. Before, the field dropped them, so a password manager and the on-screen keyboard got no hints.
221
+ - Added: `size` (`small`, `medium` by default, `large`): the height, the padding and the font size of the control, 0.8 and 1.25 times `--el-control-height` for small and large. Reflected to the attribute. It shows once `styles/native.css` decorates the control; a control with the look of the browser keeps its size. ([#69](https://github.com/webtides/element-library/issues/69))
222
+ - Changed: on a touch screen (`@media (any-pointer: coarse)`) the input is at least `--el-touch-target` high (42 px with the default theme before), and the clear cross of an invalid field at least that wide and high (9 × 18 px before). The mark beside the input takes that width while the field is valid too, so the input keeps its width when the validity changes. Unchanged on a fine pointer and without the token.
223
+ - Changed: without a theme the error message has the colour of the text. It was `red`, which is 4 : 1 on white and below the 4.5 : 1 that small text needs, and which no page with a dark background could rely on. Every field has this fallback now. With a theme, or with `--el-color-danger` set, nothing changes. ([#128](https://github.com/webtides/element-library/issues/128))
224
+ - Changed: the label has the text colour of the theme (`--el-color-fg`) and the help message its muted colour (`--el-color-fg-muted`), as in every field now. Before, they had them only on a page that had an `el-form-field` as well; without a theme both keep the colour of the text. A help message without a text takes no room: empty it was a row of the column, and the label stood two gaps above the input instead of one (8 px instead of 4 px with the shipped themes). ([#130](https://github.com/webtides/element-library/issues/130))
225
+ - Fixed: the `hidden` attribute hides the field. Before, the `display` of the element won over it. ([#69](https://github.com/webtides/element-library/issues/69))
226
+ - Fixed: the error message is announced by screen readers: it is an alert (`role="alert"`), and the input names it in `aria-describedby` while it is shown. Before, the input pointed at it with `aria-errormessage` only. ([#94](https://github.com/webtides/element-library/issues/94))
227
+ - Fixed: the cross of a field that is not valid empties `value` as well, reports it with `input-change`, and `valid` follows the empty input. Before, only the input was emptied. See `form-field`. ([#115](https://github.com/webtides/element-library/issues/115))
228
+ - Fixed: a value that a script sets on the element reaches the input also after the user has typed. The field renders its value as the `value` attribute of the input, which is only the default of the control: once the user had typed, the browser no longer showed it. After `x` was typed into a field with "first", `el.value = 'outside'` left "firstx" in the input and in what the form submitted, while `value` said "outside". The field now writes a value that was set from outside to the control as well, as `el-textarea-field` does. Text the user types is not written back, so the caret stays where it is. ([#126](https://github.com/webtides/element-library/issues/126))
229
+ - Fixed: a second field with the same `name` on the page keeps its own label and its own messages. The ids of the input and of the messages are made per field, not from the name (BREAKING for a page that names `input-<name>` or `<name>-help-message` itself). See `form-field`. ([#133](https://github.com/webtides/element-library/issues/133))
230
+ - Fixed: `type="date"` and `type="time"` keep the first key of an empty field. Typed at the pace of a person, `11/15/2026` arrived as `2026-11-05` and `11:30 PM` as `13:00`: after the first key the field took the empty control as the value `''` and wrote it to the control, which dropped the key. Typed in one go the value was right, so no test had seen it. A field without a value now keeps it while its control is empty (see `form-field`). For a date or a time with an earliest and a latest value there is `el-date-field`. ([#147](https://github.com/webtides/element-library/issues/147))
231
+ - Fixed: the field is as high after it was left as before in a page with high lines. The mark beside the input (✓ or ✗) made it grow by 3 px at a line height of 1.5, where the input has the look of the browser. See `form-field`. ([#116](https://github.com/webtides/element-library/issues/116))
232
+
233
+ ### notification
234
+
235
+ - Added: `close-label` (`closeLabel`): the accessible label of the close button, as on `el-dialog`. Default `'Close'`. Before, the label was fixed, so a screen reader announced the button in English on a page in another language. ([#98](https://github.com/webtides/element-library/issues/98))
236
+ - Changed: BREAKING: `variant` speaks the library's shared vocabulary: `neutral` (the default), `brand`, `success`, `warning` and `danger`, as `el-button`, `el-tag` and `el-badge` do. `primary` is `brand` now and `default` is `neutral`; the old values are not mapped, a notification that still uses one of them is painted neutral. Before, `variant="brand"` showed no accent, on a notification and on the toast that `toast('Saved.', { variant: 'brand' })` shows. The colours come from the shared variants module: the stripe has the border colour of the variant, the icon its text colour. `variant` is reflected to the attribute, and the panel in the shadow root no longer has a class for the variant (`notification--success`). ([#119](https://github.com/webtides/element-library/issues/119))
237
+ - Changed: BREAKING: the look of the old `neutral`, with the stripe and the icon in `--el-color-fg-muted`, is gone. `neutral` now is what `default` was: the stripe in `--el-color-border`. Its icon has the colour of the text (`--el-color-fg`); in the border colour it could hardly be seen (1.5 to 1 against the panel in the default theme). ([#119](https://github.com/webtides/element-library/issues/119))
238
+ - Changed: The icon of a `warning` notification is the warning colour mixed half and half with the colour of the text, as the text of a warning is everywhere else in the library. The plain warning colour is a light one in both schemes and was hard to see on a light panel. The stripe keeps the plain colour. ([#119](https://github.com/webtides/element-library/issues/119))
239
+ - Changed: BREAKING: `toast()` is gone, and with it the stack the method built at the top right of the page. `el-toast` shows a notification as a toast: `toast(note)` from `@webtides/element-library/toast` takes the place of `note.toast()`. It shows the notification as it is, in the region of the page, which has a place at every edge, a limit for the toasts that show at once, and lies in the top layer above dialogs. It returns the notification, not a promise: `notification-after-show` tells when it is shown. A page that styled `.el-toast-stack` sets `placement` and `--el-toast-inset` on `el-toast` instead. ([#118](https://github.com/webtides/element-library/issues/118))
240
+ - Changed: a notification that is already open when it is first rendered in the browser now appears without the enter transition, the same way a server-rendered one does. Opening it later (`show()`, setting `open`) still animates.
241
+ - Changed: on a touch screen (`@media (any-pointer: coarse)`) the close button is at least `--el-touch-target` wide and high (18 × 18 px before). Its icon keeps its size, and a one-line notification grows with the button. Unchanged on a fine pointer and without the token.
242
+ - Fixed: a server-rendered open notification (Declarative Shadow DOM) is visible before its JavaScript runs, and stays visible without JavaScript. It used to be transparent until `connected()` added the `showing` class, and then faded in. A server-rendered closed notification no longer reserves its height before the element is connected. Until the element is connected the resting state follows the `open` attribute; afterwards `show()` / `hide()` animate as before.
243
+ - Fixed: the default variant icon is drawn again when the element is rendered in the browser (a toast, or a notification a framework creates after load). The icon shapes were a template nested inside the `<svg>`, which put them into the HTML namespace on client render, so the icon was an empty box; server-rendered notifications were not affected. Each variant now renders one complete `<svg>` template.
244
+
245
+ ### otp-field
246
+
247
+ - Added: `el-otp-field`, a new component: an `el-input-field` for a one-time code, the short code of a second factor. One native `<input>` for the whole code, so the code from an SMS, a paste, a password manager and a screen reader work on one control. `length` is the number of characters (`6` by default); without further attributes the control has `autocomplete="one-time-code"`, `inputmode="numeric"` and a pattern of `length` digits. Spaces and hyphens are taken out of what is typed, pasted or filled in, and the code is cut at `length`; a code that is full takes no further key, and nothing else is filtered. `input-complete` is fired once when the user has entered a code of full length that is valid, so a page can submit the form with it. With `styles/native.css` the control has the look and the sizes of the input of `el-input-field`. ([#141](https://github.com/webtides/element-library/issues/141))
248
+
249
+ ### pagination
250
+
251
+ - Added: `el-pagination`, a new component: the way through a list that is split into pages. A `nav` landmark with a button per page, the current one marked with `aria-current="page"`, and a button for the page before and the page after. `page`, `total` and `per-page` say where in the list the page is, and the read-only `pages` is the number of pages. `siblings` and `boundaries` are the numbers of pages shown around the current one and at both ends; the pages in between make way for an ellipsis, and the row has the same number of places on every page. A button sets `page` and fires `pagination-change` with the new page in `detail.page`; the pagination loads nothing itself. The focus follows the page that was chosen, wherever its button stands in the new row. `size` is `small`, `medium` or `large`, reflected: the buttons are squares of the control height of the size, and at least `--el-touch-target` on a touch screen. The names of the landmark and of the buttons come from `label`, `page-label`, `previous-label` and `next-label`, the arrow heads can be replaced through the slots `previous-icon` and `next-icon`. ([#80](https://github.com/webtides/element-library/issues/80))
252
+ - Fixed: without a theme the keyboard focus of the current page of `el-pagination` shows on every page: a ring around it in the text colour of the other buttons, `--el-color-fg` or the text colour of the page. Before, the ring had the colour of the text on the fill of the current page, a white ring on a white page. The ring of the other buttons, and every ring with `--el-color-focus-ring`, is as it was. Where the user forces colours, the ring of the current page has a colour of the system, with a theme as well. ([#160](https://github.com/webtides/element-library/issues/160))
253
+
254
+ ### password-field
255
+
256
+ - Added: `autocomplete`, `inputmode`, `enterkeyhint`, `autocapitalize`, `autocorrect` and `spellcheck` are passed on to the native `<input>`, in server-rendered markup and on every render, the one the reveal toggle triggers included. Set them as attributes or properties on the element; one that is not set is left out on the `<input>`. Before, the field dropped them, so a password manager and the on-screen keyboard got no hints. `autocomplete="current-password"` and `autocomplete="new-password"` now reach the input.
257
+ - Added: `show-label` and `hide-label` (`showLabel`, `hideLabel`): the two accessible labels of the reveal button. Defaults `'Show password'` and `'Hide password'`, the texts that were fixed before. ([#98](https://github.com/webtides/element-library/issues/98))
258
+ - Added: `size` (`small`, `medium` by default, `large`), as on `el-input-field`. ([#69](https://github.com/webtides/element-library/issues/69))
259
+ - Changed: on a touch screen (`@media (any-pointer: coarse)`) the reveal button is at least `--el-touch-target` wide and high (20 × 20 px before), the input at least that high, and the clear cross of an invalid field at least that wide and high. Unchanged on a fine pointer and without the token. Known limit: when an `el-input-field` connects before the first `el-password-field` of a page, element-js gives the password field the style sheet of the input field ([element-js#198](https://github.com/webtides/element-js/issues/198)). The reveal button then has none of its styles, this size included.
260
+ - Changed: without a theme the error message has the colour of the text. It was `red`, which is 4 : 1 on white and below the 4.5 : 1 that small text needs, and which no page with a dark background could rely on. Every field has this fallback now. With a theme, or with `--el-color-danger` set, nothing changes. ([#128](https://github.com/webtides/element-library/issues/128))
261
+ - Changed: the label has the text colour of the theme (`--el-color-fg`) and the help message its muted colour (`--el-color-fg-muted`), as in every field now. Before, they had them only on a page that had an `el-form-field` as well; without a theme both keep the colour of the text. A help message without a text takes no room: empty it was a row of the column, and the label stood two gaps above the input instead of one (8 px instead of 4 px with the shipped themes). ([#130](https://github.com/webtides/element-library/issues/130))
262
+ - Fixed: the error message is announced by screen readers: it is an alert (`role="alert"`), and the input names it in `aria-describedby` while it is shown. Before, the input pointed at it with `aria-errormessage` only. ([#94](https://github.com/webtides/element-library/issues/94))
263
+ - Fixed: the field has its own styles when an `el-input-field` is on the page before it. Before, it took over the stylesheet of the input field in that order and lost its own: the reveal button looked like a native button, with a border and a background. See `form-field`.
264
+ - Fixed: the `hidden` attribute hides the field. Before, the `display` of the element won over it. ([#69](https://github.com/webtides/element-library/issues/69))
265
+ - Fixed: the cross of a field that is not valid empties `value` as well, reports it with `input-change`, and `valid` follows the empty input. Before, only the input was emptied. See `form-field`. ([#115](https://github.com/webtides/element-library/issues/115))
266
+ - Fixed: a value that a script sets on the element reaches the input also after the user has typed. The field renders its value as the `value` attribute of the input, which is only the default of the control: once the user had typed, the browser no longer showed it. After `x` was typed into a field with "first", `el.value = 'outside'` left "firstx" in the input and in what the form submitted, while `value` said "outside". The field now writes a value that was set from outside to the control as well, as `el-textarea-field` does. Text the user types is not written back, so the caret stays where it is. ([#126](https://github.com/webtides/element-library/issues/126))
267
+ - Fixed: a second field with the same `name` on the page keeps its own label and its own messages. The ids of the input and of the messages are made per field, not from the name (BREAKING for a page that names `input-<name>` or `<name>-help-message` itself). See `form-field`. ([#133](https://github.com/webtides/element-library/issues/133))
268
+ - Fixed: the field is as high after it was left as before in a page with high lines. The mark beside the input (✓ or ✗) made it grow by 3 px at a line height of 1.5, where the input has the look of the browser. See `form-field`. ([#116](https://github.com/webtides/element-library/issues/116))
269
+
270
+ ### popover
271
+
272
+ - Added: `el-popover`, a new component: a panel that floats next to an anchor. A click on the anchor opens it; a second click, a click beside it or `Escape` closes it. It is built on the native popover of the platform (`popover="auto"`), so the panel is in the top layer, where nothing clips it or lies on top of it, and one popover is open at a time. `placement` names the side of the anchor (`top`, `bottom`, `left`, `right`, each also with `-start` or `-end`), `distance` the gap, and `arrow` adds an arrow that points to the anchor. The panel goes to the opposite side when it has no room, stays inside the viewport, and follows its anchor while it is open. `open` is reflected and has the `open` custom state; `show()`, `hide()` and `toggle()` do the same from a script, and `popover-show` and `popover-hide` fire for every way of opening and closing. The anchor gets `aria-expanded`, and `Escape` gives the focus back to the anchor when it was inside the panel. Needs the Popover API: Chrome 114, Firefox 125, Safari 17. ([#70](https://github.com/webtides/element-library/issues/70))
273
+
274
+ ### progress-bar
275
+
276
+ - Added: `el-progress-bar`, a new component: a track that fills with the progress of a task, an upload, an import, the steps of a form. Exposed as a progress bar (`role="progressbar"`) with its value, and named by `label`, "Progress" by default. `value` of `max` (default `100`) is the share of the track that is filled; a value outside of the range is shown as the nearest one inside. `indeterminate` is the bar for a task whose progress is not known yet: it has no value and two fifths of the track pass over it, and for a user who prefers reduced motion the whole track fades instead. The part that is filled has the accent colour of the theme, and the text colour without a theme; the track is a fifth of the text colour. `--el-progress-bar-indicator-color`, `--el-progress-bar-track-color` and `--el-progress-bar-height` set the colours and the height. When colours are forced the track is drawn with a border and filled in the colour of a selection. ([#121](https://github.com/webtides/element-library/issues/121))
277
+
278
+ ### progress-ring
279
+
280
+ - Added: `el-progress-ring`, a new component: a ring that closes with the progress of a task, for a place with little room. Exposed as a progress bar (`role="progressbar"`) with its value, and named by `label`, "Progress" by default. `value` of `max` (default `100`) is the share of the ring that is drawn, clockwise from the top; a value outside of the range is shown as the nearest one inside. The default slot is the middle of the ring, for a short text ("45 %"), which is not read out: the value is. The ring is a square of `--el-progress-ring-size` (`4rem`) with a line of `--el-progress-ring-track-width` (`0.25rem`) inside of it. The part that is drawn has the accent colour of the theme, and the text colour without a theme; the whole ring is a fifth of the text colour. `--el-progress-ring-indicator-color` and `--el-progress-ring-track-color` set the two. When colours are forced the whole ring is a thin line in the text colour, and the part that is drawn keeps its width in the colour of a selection. ([#122](https://github.com/webtides/element-library/issues/122))
281
+
282
+ ### radio-field
283
+
284
+ - Changed: on a touch screen (`@media (any-pointer: coarse)`) the label of every option, which is its hit area, is at least `--el-touch-target` wide and high. Before, it was as high as its line of text. Unchanged on a fine pointer and without the token.
285
+ - Changed: the legend, the help message, the options and the error message stack in a column with a gap of `--el-space-1` (4 px without a theme). Before, only the legend had that distance to what follows, and none without a theme. The messages are set in `--el-font-size-sm` (14 px without a theme; they had the size of the text), as in every field now. A help message without a text takes no room. ([#130](https://github.com/webtides/element-library/issues/130))
286
+ - Fixed: the error message is announced by screen readers: it is an alert (`role="alert"`), and the group, like each of its radios, names it in `aria-describedby` while it is shown. Before, the group pointed at it with `aria-errormessage` only. ([#94](https://github.com/webtides/element-library/issues/94))
287
+ - Fixed: the `hidden` attribute hides the field. The field sets a `display` of its own, which won over the attribute. ([#130](https://github.com/webtides/element-library/issues/130))
288
+ - Fixed: a second field with the same `name` on the page is described by its own messages. Their ids are made per field, not from the name (BREAKING for a page that names `<name>-help-message` itself). See `form-field`. ([#133](https://github.com/webtides/element-library/issues/133))
289
+ - Fixed: an error the page renders the group with is kept. A group with `valid="false"` and an error message, after a check of the page such as "that plan is sold out", showed nothing: when it connected, the group worked out its validity from `required` and its value and overwrote what the page said. It keeps the error now until the user is in the group again, as the other fields do. ([#139](https://github.com/webtides/element-library/issues/139))
290
+ - Fixed: the group is touched once the user has left it. It was touched as soon as one of its radios lost the focus, also to the next radio: with the arrow keys, and with a click on another option, where a required group without a choice showed its error message for the time of the click. ([#139](https://github.com/webtides/element-library/issues/139))
291
+ - Fixed: a value from a script selects its radio also after the user has chosen. The `checked` attribute of a radio is only its default, which the browser no longer follows once the user has chosen that radio: `value` said one option and the form submitted another. The choice is written to the radios after every render now. ([#139](https://github.com/webtides/element-library/issues/139))
292
+
293
+ ### range-field
294
+
295
+ - Added: `el-range-field`, a new component: a number from a span, picked with a thumb on a track. A native `<input type="range">` with the label, the help message, the error message and the layout of every field; it is submitted with its form by the control. `min`, `max` and `step` are the span. A field without a `value` takes over the value of the control, the middle of the span, so `value` says what the form submits; `value` follows the thumb while it moves, and `input-change` reports every value once. `show-value` shows the value beside the control. The control keeps the look of the browser; with `styles/native.css` it is as wide as the field and has the accent colour of the theme. ([#136](https://github.com/webtides/element-library/issues/136))
296
+
297
+ ### rating-field
298
+
299
+ - Added: `el-rating-field`, a new component: a rating as a number from 1 to `max`, drawn as a row of stars. A native `<fieldset>`/`<legend>` wrapping one `<input type="radio">` per step, with the label, the help message, the error message and the layout of every field; grouping, arrow keys and form submission are native. The stars up to the chosen one are filled, the others are an outline, and with a mouse the stars up to the one under the pointer are shown as on before the click. `--el-rating-color` and `--el-rating-size` set the colour of a filled star and the size of a star. Every radio is named by its number, which needs no translation. ([#138](https://github.com/webtides/element-library/issues/138))
300
+
301
+ ### select-field
302
+
303
+ - Changed: on a touch screen (`@media (any-pointer: coarse)`) the select is at least `--el-touch-target` high (42 px with the default theme before). Unchanged on a fine pointer and without the token.
304
+ - Changed: the label, the help message, the select and the error message stack in a column with a gap of `--el-space-1` (4 px without a theme), as in `el-input-field`. Before, the label and the help message shared a line. The messages are set in `--el-font-size-sm` (14 px without a theme; they had the size of the text), the help message has the muted colour of the theme (`--el-color-fg-muted`) and the label its text colour (`--el-color-fg`); without a theme they keep the colour of the text. A help message without a text takes no room. ([#130](https://github.com/webtides/element-library/issues/130))
305
+ - Fixed: the error message is announced by screen readers: it is an alert (`role="alert"`), and the select names it in `aria-describedby` while it is shown. Before, the select pointed at it with `aria-errormessage` only. ([#94](https://github.com/webtides/element-library/issues/94))
306
+ - Fixed: a decorated select shows its chevron wherever the theme is loaded. The theme showed the field's own chevron with a rule of the same weight as the rule of the field that hides it, so the later one won: with the theme in the stylesheet of the page and the styles of the field after it, the select had no chevron at all, the native one taken away and its own hidden. The field now follows a property that `styles/native.css` sets. ([#69](https://github.com/webtides/element-library/issues/69))
307
+ - Fixed: `value` selects its option. `<el-select-field value="b" options='["a","b","c"]'>` showed and submitted `a`, and a value set later changed nothing: the template wrote `value` onto the `<select>`, which has no such attribute. The option of the value now carries `selected`, in server-rendered markup as well, and a value that is set later selects its option, also after the user has chosen. `value` wins over an option marked as `selected` in `options`, which is the default of a field without a value. ([#104](https://github.com/webtides/element-library/issues/104))
308
+ - Fixed: `value` says what is selected. A field without a value takes over what the select shows, the option marked as `selected` or else the first one; before, `value` stayed `null` until the user chose, while the form already submitted that option. No `input-change` is fired for it. While the placeholder is shown, `value` stays `null`. ([#104](https://github.com/webtides/element-library/issues/104))
309
+ - Fixed: the error message has the danger colour of the theme (`--el-color-danger`). It had the colour of the text and read like a help message, while the messages of an `el-input-field` on the same form were red. Without a theme it keeps the colour of the text, which is what every field does now. ([#128](https://github.com/webtides/element-library/issues/128))
310
+ - Fixed: the `hidden` attribute hides the field. The field sets a `display` of its own, which won over the attribute. ([#130](https://github.com/webtides/element-library/issues/130))
311
+ - Fixed: a second field with the same `name` on the page keeps its own label and its own messages. The ids of the select and of the messages are made per field, not from the name (BREAKING for a page that names `input-<name>` or `<name>-help-message` itself). See `form-field`. ([#133](https://github.com/webtides/element-library/issues/133))
312
+
313
+ ### skeleton
314
+
315
+ - Added: `el-skeleton`, a new component: a quiet shape in the place of content that is still loading, a line of text, an image, an avatar. By default it is a line, as wide as its container and `1em` high; a width and a height on the element make it a block, `--el-skeleton-radius` a circle. `effect` is `none` (the default), `sheen` (a lighter band passes over the shape) or `pulse` (the shape fades and comes back), reflected; both stand still for a user who prefers reduced motion. The colour is an eighth of the text colour, so the skeleton shows on any background and without a theme; `--el-skeleton-color` and `--el-skeleton-sheen-color` set other ones. It has no role and no content: the region that loads says so with `aria-busy`. ([#77](https://github.com/webtides/element-library/issues/77))
316
+
317
+ ### slider
318
+
319
+ - Added: `dot-label` (`dotLabel`): the accessible label of a pager dot, followed by the number of its item. Default `'Go to item'`, which names the dots "Go to item 1", "Go to item 2" and so on. ([#94](https://github.com/webtides/element-library/issues/94))
320
+ - Changed: BREAKING: the arrows and the dots have a look and a place they share with `el-carousel`. A dot is drawn and no longer a character: a ring of 10 px in `--el-color-fg-muted`, and the one of the selected item a disc in `--el-color-accent` (they were `○` and `●` at 22 px, in `--el-color-fg` and the accent colour). A click counts in a square of 24 px around a dot, and the row of dots is 24 px high (was 33 px with the default theme). An arrow is a square of `--el-control-height` (was 41 × 40 px by its padding), `--el-space-2` in from the sides (was at the sides), in the middle of the height of the scroller (was in the middle of the slider with its dots). Left empty, an arrow shows an arrow head and is named "Previous item" or "Next item" for screen readers (it showed `⟨` or `⟩`, and that character was its name). The keyboard focus shows as a ring inside of an arrow and around a dot, from the tokens of the focus ring (it was the outline of the browser). The arrow that leads nowhere keeps its surface and its sign fades (it looked like the other one). Without a theme an arrow has the surface and the text colour of the browser for the colour scheme (it was a character without a surface). The host is a grid (`display: grid`, was `block`). The parts keep their names. A rule of the page for `::part(dot)` now meets another look: a dot is drawn with its border, so `border-color` colours it and `color` does not. ([#162](https://github.com/webtides/element-library/issues/162))
321
+ - Changed: on a touch screen (`@media (any-pointer: coarse)`) the arrows are at least `--el-touch-target` wide and high (41 × 40 px with the default theme before). The dots keep their size: each gets a hit area of `--el-touch-target` around it (the dots were 29 × 34 px), and the dots move apart by as much. The row of dots wraps when it gets wider than the slider. Unchanged on a fine pointer and without the token.
322
+ - Fixed: the pager dots have an accessible name (see `dot-label`); they were buttons without one (axe `button-name`). The scroller can be reached with the keyboard (`tabindex="0"`), where the arrow keys scroll it (axe `scrollable-region-focusable`). ([#94](https://github.com/webtides/element-library/issues/94))
323
+
324
+ ### spinner
325
+
326
+ - Added: `el-spinner`, a new component: a spinner for a wait of unknown length, on its own, for a section or a page that is loading. A ring with a quarter that turns, exposed as a progress bar without a value (`role="progressbar"`) and named by `label`, "Loading" by default. It is as large as the text it stands in (`1em`), so the font size sizes it; `size` (`small`, `medium`, `large`) steps from there by 0.8 and 1.25. The quarter that turns has the accent colour of the theme, and the text colour without a theme; `--el-spinner-indicator-color` and `--el-spinner-track-color` set the two colours. For a user who prefers reduced motion it turns at half the speed. ([#78](https://github.com/webtides/element-library/issues/78), [#82](https://github.com/webtides/element-library/issues/82))
327
+
328
+ ### switch-field
329
+
330
+ - Changed: on a touch screen (`@media (any-pointer: coarse)`) the label, which is the hit area of the switch, is at least `--el-touch-target` wide and high. Before, it was as high as the switch. Unchanged on a fine pointer and without the token.
331
+ - Changed: the help message, the switch with its label and the error message stack in a column with a gap of `--el-space-1` (4 px without a theme; they had no gap), and the messages are set in `--el-font-size-sm` (14 px without a theme; they had the size of the text), as in every field now. A help message without a text takes no room. ([#130](https://github.com/webtides/element-library/issues/130))
332
+ - Changed: the help message stands below the switch and its label, and the error message below the help message. It was the first thing of the field, above the label it explains. What a screen reader reads is unchanged: the switch names both messages in `aria-describedby`. ([#132](https://github.com/webtides/element-library/issues/132))
333
+ - Fixed: the error message is announced by screen readers: it is an alert (`role="alert"`), and the switch names it in `aria-describedby` while it is shown. Before, nothing connected the message with the switch. ([#94](https://github.com/webtides/element-library/issues/94))
334
+ - Fixed: the `hidden` attribute hides the field. The field sets a `display` of its own, which won over the attribute. ([#130](https://github.com/webtides/element-library/issues/130))
335
+ - Fixed: the switch says whether the field is valid (`aria-invalid`). Before, the error message reached a screen reader and the state of the control did not, while the control of `el-input-field` and of `el-select-field` has said it all along. ([#134](https://github.com/webtides/element-library/issues/134))
336
+ - Fixed: a second field with the same `name` on the page is described by its own messages. Their ids are made per field, not from the name (BREAKING for a page that names `<name>-help-message` itself). See `form-field`. ([#133](https://github.com/webtides/element-library/issues/133))
337
+ - Fixed: a click is reported once. `input-change` was fired three times for the first click on a switch without a `value`, and twice for every other click: by the handler of the form field, by the watcher of `value`, which took over the value of the control, and by the watcher of `checked`. The watcher of `checked` alone reports now, once for every change of the on/off state, by the user or by a script, with the value of the control as before. A `value` that a script sets is no change of the on/off state and is no longer reported. ([#148](https://github.com/webtides/element-library/issues/148))
338
+
339
+ ### tab-group
340
+
341
+ - Added: keyboard support: the arrow keys move to the next and the previous link and select it, Home and End go to the first and the last one. Disabled links are skipped, and the arrow keys wrap around. Before, a tab could only be changed with a click. ([#97](https://github.com/webtides/element-library/issues/97))
342
+ - Added: `orientation` (`'horizontal'` by default, or `'vertical'`): which arrow keys move between the links, left and right or up and down. ([#97](https://github.com/webtides/element-library/issues/97))
343
+ - Added: the group tells assistive technology what its parts are: the selected link has `aria-selected="true"` and is the only link in the tab order (roving `tabindex`), every panel is labelled by its link (`aria-labelledby`; a link without an `id` gets one), and the element around the links gets `role="tablist"` and `aria-orientation`, unless the page gave it another role. ([#97](https://github.com/webtides/element-library/issues/97))
344
+ - Changed: put the links into an element of their own (for example a `<div>`), so that the group can make it the `tablist`. Links that are direct children of the group still work, with the keyboard too, but have no `tablist` around them, which axe reports (`aria-required-parent`). The group cannot be the list itself, because it holds the panels as well. ([#97](https://github.com/webtides/element-library/issues/97))
345
+ - Changed: the group no longer sets the `active` state on its links; it sets `aria-selected`, and `el-tab-link` takes its state from that. Nothing changes for `el-tab-link`. An element of your own that is used as a link (`link-selector`) no longer gets `:state(active)` from the group: style it with `[aria-selected='true']`. Before, such an element had to be an element-js element, any other made the group throw; now any element can be a link. ([#99](https://github.com/webtides/element-library/issues/99))
346
+ - Fixed: the group no longer throws when it connects before `el-tab-link` is defined (`TypeError: Cannot read properties of undefined (reading 'states')`), and the first selection reaches the links all the same. That order comes up with lazy definition, where each tag is loaded by itself. The group only writes attributes and styles now, which a link or a panel takes whether its tag is defined or not. ([#99](https://github.com/webtides/element-library/issues/99))
347
+ - Fixed: with no `selected` and panels that are not defined yet, the first panel is selected. The group read the `name` property, which a panel only has once it is defined, so every panel stayed hidden; it reads the attribute now. ([#99](https://github.com/webtides/element-library/issues/99))
348
+ - Fixed: links and panels that are added to the group later are taken in: they get their states, a new panel is labelled by its link, and a group that had no panel at first selects the first one that comes. Before, the group looked for its parts once, when it connected. ([#99](https://github.com/webtides/element-library/issues/99))
349
+
350
+ ### tab-link
351
+
352
+ - Added: the link is a tab: it has `role="tab"`, and Enter and Space select it like a click does. In an `el-tab-group` it carries `aria-selected`, and only the selected link is in the tab order. Before, it had no role and reacted to a click only. A role the page sets itself is kept. ([#97](https://github.com/webtides/element-library/issues/97))
353
+ - Added: a focus ring from the library's tokens (`--el-focus-ring-width`, `--el-color-focus-ring`, `--el-focus-ring-offset`) while the link has the keyboard focus. ([#97](https://github.com/webtides/element-library/issues/97))
354
+ - Changed: on a touch screen (`@media (any-pointer: coarse)`) the tab is at least `--el-touch-target` wide and high (36 px high with the default theme before). Unchanged on a fine pointer and without the token.
355
+ - Changed: the link sets its `active` state itself, while it has `aria-selected="true"`. Before, the `el-tab-group` set the state from outside, which failed when the link was not defined yet. In a group nothing changes: the group keeps `aria-selected` up to date. A link outside a group is active while the page sets `aria-selected="true"` on it. ([#99](https://github.com/webtides/element-library/issues/99))
356
+ - Fixed: a disabled link is exposed as disabled: the element sets `aria-disabled="true"` on itself while it has the `disabled` attribute. Before, it was only greyed out, and axe counted the reduced contrast as a failure. ([#94](https://github.com/webtides/element-library/issues/94))
357
+
358
+ ### tab-panel
359
+
360
+ - Added: the panel has `role="tabpanel"`, and its `el-tab-group` labels it by its link (`aria-labelledby`). A role the page sets itself is kept. ([#97](https://github.com/webtides/element-library/issues/97))
361
+
362
+ ### tag
363
+
364
+ - Added: `el-tag`, a new component: a label for one of several things that belong to something, a keyword or a filter that is set. It has the `variant`, the `appearance` and the `size` of the shared vocabulary, all reflected, and `pill` for fully rounded ends. A tag is 0.7 times as high as a control of the same size, so that it fits into a field. `removable` renders a remove button that fires `tag-remove`; the tag does not remove itself, the page decides what removing means. The button is a native button in the tab order, named with `remove-label` ("Remove" by default) and the text of the tag ("Remove TypeScript"), and on a touch screen it is at least `--el-touch-target` wide and high. A text that does not fit is cut off with an ellipsis. ([#75](https://github.com/webtides/element-library/issues/75))
365
+
366
+ ### tag-field
367
+
368
+ - Added: `el-tag-field`, a new component: a list of short texts the user writes, such as keywords or recipients. A text input that turns what is entered into entries, each an `el-tag` with a remove button, with the label, the help message, the error message and the layout of every field. Enter adds the text of the input, and so does a comma, typed or pasted. `value` is the list; in a form every entry is submitted under the `name` by a hidden input. Text that is still in the input when the form is submitted becomes an entry with the submit, and not when the user leaves the field, which would move the submit button away under the pointer. `required` means at least one entry. After a removal the focus is on the entry that took its place, and a live region says what was added and what was removed (`removeLabel`, `addedLabel`, `removedLabel`). With `styles/native.css` the input has the look and the sizes of the input of `el-input-field`. ([#142](https://github.com/webtides/element-library/issues/142))
369
+
370
+ ### textarea-field
371
+
372
+ - Added: `autocomplete`, `inputmode`, `enterkeyhint`, `autocapitalize`, `autocorrect` and `spellcheck` are passed on to the native `<textarea>`, in server-rendered markup and on every render. Set them as attributes or properties on the element; one that is not set is left out on the `<textarea>`. Before, the field dropped them.
373
+ - Changed: on a touch screen (`@media (any-pointer: coarse)`) the textarea is at least `--el-touch-target` high, which matters for `rows="1"`, and the clear cross of an invalid field at least that wide and high (9 × 18 px before). Unchanged on a fine pointer and without the token.
374
+ - Changed: the label, the help message, the textarea and the error message stack in a column with a gap of `--el-space-1` (4 px without a theme), as in `el-input-field`. Before, the label and the help message shared a line. The messages are set in `--el-font-size-sm` (14 px without a theme; they had the size of the text), the help message has the muted colour of the theme (`--el-color-fg-muted`) and the label its text colour (`--el-color-fg`); without a theme they keep the colour of the text. A help message without a text takes no room. ([#130](https://github.com/webtides/element-library/issues/130))
375
+ - Fixed: a server-rendered `el-textarea-field` shows its value before its JavaScript runs, and without JavaScript. The value is now rendered as the content of the `<textarea>`; before, it was written as a `value` attribute, which a textarea does not have, so the field stayed empty and submitting the form sent an empty text. Known limit: a line break at the very start of the value is missing until the element has started, because the HTML parser drops a line break that directly follows `<textarea>`.
376
+ - Fixed: a re-render no longer overwrites text typed since the last change the field has seen. Before, every render wrote `value` back into the control: a required field renders right after it gets the focus, and text that arrived then was gone. ([#100](https://github.com/webtides/element-library/issues/100))
377
+ - Fixed: `value` follows the textarea on every `input`. Text that arrives without a key going up is the value of the field at once and is reported with `input-change`: a paste with the mouse, dictation, a suggestion of an on-screen keyboard, a script that fills the field. Before, the field read the textarea on `keyup` and `change` only: it did not know such text until the field was left, and a required field counted as not valid for that long. ([#100](https://github.com/webtides/element-library/issues/100))
378
+ - Fixed: the mark of a touched field (✓ or ✗) stands beside the textarea, at its top, and has the colours it has beside an input (`--el-color-success`, `--el-color-danger`). Before, it was a line of its own below the textarea: the field grew by that line when it was left for the first time, and what came after it moved down. A click on a button below the field was lost that way, when the button moved away between the press and the release. A textarea that is as wide as the field gets narrower by the mark and the gap. On a touch screen the mark has the width of `--el-touch-target` in both states, so the textarea keeps its width when the validity changes. ([#101](https://github.com/webtides/element-library/issues/101))
379
+ - Fixed: `aria-describedby` on the textarea now names the help message. It pointed at `<name>-help`, an id that does not exist.
380
+ - Fixed: the error message is announced by screen readers: it is an alert (`role="alert"`), and the textarea names it in `aria-describedby` while it is shown. Before, nothing connected the message with the textarea. ([#94](https://github.com/webtides/element-library/issues/94))
381
+ - Fixed: the cross of a field that is not valid empties `value` as well, reports it with `input-change`, and `valid` follows the empty textarea. Before, only the textarea was emptied. See `form-field`. ([#115](https://github.com/webtides/element-library/issues/115))
382
+ - Fixed: the error message has the danger colour of the theme (`--el-color-danger`). It had the colour of the text and read like a help message, while the messages of an `el-input-field` on the same form were red. Without a theme it keeps the colour of the text, which is what every field does now. ([#128](https://github.com/webtides/element-library/issues/128))
383
+ - Fixed: the `hidden` attribute hides the field. The field sets a `display` of its own, which won over the attribute. ([#130](https://github.com/webtides/element-library/issues/130))
384
+ - Fixed: the textarea says whether the field is valid (`aria-invalid`). Before, the error message reached a screen reader and the state of the control did not, while the control of `el-input-field` and of `el-select-field` has said it all along. ([#134](https://github.com/webtides/element-library/issues/134))
385
+ - Fixed: a second field with the same `name` on the page keeps its own label and its own messages. The ids of the textarea and of the messages are made per field, not from the name (BREAKING for a page that names `input-<name>` or `<name>-help-message` itself). See `form-field`. ([#133](https://github.com/webtides/element-library/issues/133))
386
+ - Fixed: a textarea of one row with the look of the browser is as high after it was left as before in a page with high lines. The mark beside it (✓ or ✗) made the field grow by 3 px at a line height of 1.5. See `form-field`. ([#116](https://github.com/webtides/element-library/issues/116))
387
+
388
+ ### toast
389
+
390
+ - Added: `el-toast`, a new component: the region of a page where toasts appear. A toast is an `el-notification`; the region gives it its place at an edge of the viewport (`placement`: `top-start`, `top`, `top-end` as the default, `bottom-start`, `bottom`, `bottom-end`) and puts several of them into a stack. `toast(message, options)` shows a text, a node or an `el-notification` as a toast and returns the notification; it is a method of the element and a function of the module (`import { toast } from '@webtides/element-library/toast'`), which uses the first `el-toast` of the document and adds one when there is none. A text or a node becomes a notification that can be closed and leaves after five seconds; the options `variant`, `duration`, `closable` and `closeLabel` change that. With `max` no more than that many toasts show at once: the rest wait in the order they came and are shown when a place is free. While it has toasts the region is a native popover in the top layer, above everything of the page, and lets the pointer through beside and between them; without toasts it is not shown. The stack is a landmark with the name in `label`, and `--el-toast-inset` is its distance from the edges of the viewport. ([#72](https://github.com/webtides/element-library/issues/72))
391
+
392
+ ### tooltip
393
+
394
+ - Added: `el-tooltip`, a new component: a short text that explains another element, its anchor. It stands next to the anchor in the page and names it by id with `for`, the way a `<label>` names its field. It opens while the pointer rests on the anchor (after `show-delay`, 150 ms by default) or while the anchor has the focus of the keyboard (at once), and closes when they leave (after `hide-delay`) or with `Escape`. The pointer can go from the anchor onto the text without the tooltip closing. A finger opens nothing. The tooltip is the description of its anchor for a screen reader (`aria-describedby`), open or closed, also for an `el-button`, and has the role `tooltip`. The element is a native popover (`popover="manual"`) in the top layer, placed with `placement` (`top` by default), `distance` and an optional `arrow`, like `el-popover`; it changes sides without room and stays inside the viewport. `open` (reflected, with the `open` custom state), `show()` and `hide()` open and close it from a script, `disabled` leaves it to the script alone, and it fires `tooltip-show` and `tooltip-hide`. Without a theme it has the system colours the other way round. ([#71](https://github.com/webtides/element-library/issues/71))
395
+
15
396
  ## [0.2.0] - 2026-06-10
16
397
 
17
398
  ### Packaging
@@ -38,9 +419,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/) and this
38
419
 
39
420
  ### Components
40
421
 
41
- - Added: new `el-button` component — a themeable button modelled on Shoelace's `<sl-button>` (variants, sizes, outline/pill/circle, caret, loading, prefix/suffix slots, link mode).
42
- - Added: new `el-dialog` component — a modal dialog built on the native `<dialog>` element (platform-provided focus trap, background `inert`, focus restore and `<form method="dialog">` auto-close), with an animated, cancelable open/close lifecycle and ref-counted body-scroll locking that compensates for the removed scrollbar width (no layout shift on open). API modelled on Shoelace's `<sl-dialog>`.
43
- - Added: new `el-notification` component — an alert/notification that can be shown inline or as a transient toast (`toast()` floats it into a shared top-right stack). Semantic variants, optional close button, optional auto-dismiss that pauses on hover/focus, and an ARIA live-region host (`role="alert"` for danger/warning, `role="status"` otherwise). API modelled on Shoelace's `<sl-alert>`.
422
+ - Added: new `el-button` component — a themeable button (variants, sizes, outline/pill/circle, caret, loading, prefix/suffix slots, link mode).
423
+ - Added: new `el-dialog` component — a modal dialog built on the native `<dialog>` element (platform-provided focus trap, background `inert`, focus restore and `<form method="dialog">` auto-close), with an animated, cancelable open/close lifecycle and ref-counted body-scroll locking that compensates for the removed scrollbar width (no layout shift on open).
424
+ - Added: new `el-notification` component — an alert/notification that can be shown inline or as a transient toast (`toast()` floats it into a shared top-right stack). Semantic variants, optional close button, optional auto-dismiss that pauses on hover/focus, and an ARIA live-region host (`role="alert"` for danger/warning, `role="status"` otherwise).
44
425
  - Added: new `el-radio-field` component — a single-choice radio group extending `FormField`, rendering a native `<fieldset>`/`<legend>` of mutually-exclusive radios from an `options` array (strings or `{ value, label?, disabled? }`) with a custom, headless-by-default indicator. Inherits the `input-change` event and `touched`/`valid`/`invalid` states.
45
426
  - Added: new `el-switch-field` component — an on/off toggle extending `FormField`, rendering a native `<input type="checkbox">` with `role="switch"` behind a custom, headless-by-default track/thumb. Reflects `checked`, adds a `checked` custom state, and inherits the `input-change` event and `touched`/`valid`/`invalid` states.
46
427
  - Added: new `el-password-field` component — a masked password input extending `InputField`, pinning the input `type` to `password` (flipping to `text` while revealed) and adding an optional show/hide reveal button (`password-toggle`, default on). Inherits the `input-change` event and `touched`/`valid`/`invalid` states. All three shipped themes decorate its native input identically to `el-input-field`, so themed password and text fields match.