@warp-ds/elements 2.10.0-next.2 → 2.10.0-next.21

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 (758) hide show
  1. package/README.md +4 -0
  2. package/dist/.storybook/utilities.js +4 -4
  3. package/dist/api.js +1 -1
  4. package/dist/api.js.map +2 -2
  5. package/dist/custom-elements.json +1341 -619
  6. package/dist/docs/affix/affix.md +120 -3
  7. package/dist/docs/affix/api.md +2 -2
  8. package/dist/docs/affix/styling.md +108 -0
  9. package/dist/docs/alert/alert.md +6 -6
  10. package/dist/docs/alert/api.md +4 -4
  11. package/dist/docs/alert/styling.md +1 -0
  12. package/dist/docs/attention/api.md +50 -2
  13. package/dist/docs/attention/attention.md +52 -2
  14. package/dist/docs/attention/styling.md +1 -0
  15. package/dist/docs/badge/api.md +50 -4
  16. package/dist/docs/badge/badge.md +52 -4
  17. package/dist/docs/badge/styling.md +1 -0
  18. package/dist/docs/box/api.md +2 -2
  19. package/dist/docs/box/box.md +24 -42
  20. package/dist/docs/box/examples.md +20 -38
  21. package/dist/docs/box/styling.md +1 -0
  22. package/dist/docs/breadcrumb-item/api.md +27 -0
  23. package/dist/docs/breadcrumb-item/breadcrumb-item.md +34 -0
  24. package/dist/docs/breadcrumbs/accessibility.md +8 -18
  25. package/dist/docs/breadcrumbs/breadcrumbs.md +128 -36
  26. package/dist/docs/breadcrumbs/examples.md +15 -9
  27. package/dist/docs/breadcrumbs/styling.md +97 -0
  28. package/dist/docs/breadcrumbs/usage.md +8 -8
  29. package/dist/docs/button/api.md +32 -24
  30. package/dist/docs/button/button.md +105 -26
  31. package/dist/docs/button/styling.md +72 -0
  32. package/dist/docs/card/api.md +8 -0
  33. package/dist/docs/card/card.md +10 -2
  34. package/dist/docs/card/styling.md +1 -0
  35. package/dist/docs/checkbox/api.md +176 -0
  36. package/dist/docs/checkbox/checkbox.md +356 -0
  37. package/dist/docs/checkbox/styling.md +173 -0
  38. package/dist/docs/checkbox-group/accessibility.md +71 -0
  39. package/dist/docs/checkbox-group/api.md +103 -0
  40. package/dist/docs/checkbox-group/checkbox-group.md +529 -0
  41. package/dist/docs/checkbox-group/examples.md +105 -0
  42. package/dist/docs/checkbox-group/styling.md +134 -0
  43. package/dist/docs/checkbox-group/usage.md +95 -0
  44. package/dist/docs/combobox/accessibility.md +71 -0
  45. package/dist/docs/combobox/api.md +74 -36
  46. package/dist/docs/combobox/combobox.md +219 -38
  47. package/dist/docs/combobox/examples.md +44 -0
  48. package/dist/docs/combobox/styling.md +1 -0
  49. package/dist/docs/combobox/usage.md +28 -0
  50. package/dist/docs/datepicker/accessibility.md +25 -0
  51. package/dist/docs/datepicker/api.md +37 -21
  52. package/dist/docs/datepicker/datepicker.md +223 -23
  53. package/dist/docs/datepicker/examples.md +75 -0
  54. package/dist/docs/datepicker/styling.md +1 -0
  55. package/dist/docs/datepicker/usage.md +84 -0
  56. package/dist/docs/expandable/api.md +23 -35
  57. package/dist/docs/expandable/examples.md +54 -0
  58. package/dist/docs/expandable/expandable.md +77 -35
  59. package/dist/docs/expandable/styling.md +1 -0
  60. package/dist/docs/icon/accessibility.md +5 -0
  61. package/dist/docs/icon/api.md +43 -0
  62. package/dist/docs/icon/examples.md +45 -0
  63. package/dist/docs/icon/icon.md +115 -0
  64. package/dist/docs/icon/styling.md +1 -0
  65. package/dist/docs/icon/usage.md +11 -0
  66. package/dist/docs/index.md +49 -0
  67. package/dist/docs/link/api.md +24 -28
  68. package/dist/docs/link/examples.md +75 -0
  69. package/dist/docs/link/link.md +119 -30
  70. package/dist/docs/link/styling.md +1 -0
  71. package/dist/docs/link/usage.md +18 -0
  72. package/dist/docs/modal/api.md +18 -2
  73. package/dist/docs/modal/modal.md +20 -2
  74. package/dist/docs/modal/styling.md +1 -0
  75. package/dist/docs/modal-footer/modal-footer.md +0 -6
  76. package/dist/docs/modal-header/modal-header.md +0 -6
  77. package/dist/docs/page-indicator/page-indicator.md +2 -0
  78. package/dist/docs/page-indicator/styling.md +1 -0
  79. package/dist/docs/pagination/api.md +4 -4
  80. package/dist/docs/pagination/pagination.md +6 -4
  81. package/dist/docs/pagination/styling.md +1 -0
  82. package/dist/docs/pill/api.md +8 -8
  83. package/dist/docs/pill/pill.md +10 -8
  84. package/dist/docs/pill/styling.md +1 -0
  85. package/dist/docs/radio/radio.md +1 -7
  86. package/dist/docs/radio-group/api.md +4 -4
  87. package/dist/docs/radio-group/radio-group.md +183 -68
  88. package/dist/docs/radio-group/styling.md +179 -64
  89. package/dist/docs/select/api.md +10 -10
  90. package/dist/docs/select/select.md +103 -10
  91. package/dist/docs/select/styling.md +92 -0
  92. package/dist/docs/slider/api.md +38 -22
  93. package/dist/docs/slider/slider.md +40 -22
  94. package/dist/docs/slider/styling.md +1 -0
  95. package/dist/docs/slider-thumb/api.md +28 -12
  96. package/dist/docs/slider-thumb/slider-thumb.md +30 -12
  97. package/dist/docs/slider-thumb/styling.md +1 -0
  98. package/dist/docs/snackbar/accessibility.md +20 -0
  99. package/dist/docs/snackbar/api.md +30 -0
  100. package/dist/docs/snackbar/examples.md +191 -0
  101. package/dist/docs/snackbar/snackbar.md +385 -0
  102. package/dist/docs/snackbar/styling.md +72 -0
  103. package/dist/docs/snackbar/usage.md +60 -0
  104. package/dist/docs/snackbar-item/api.md +41 -0
  105. package/dist/docs/snackbar-item/snackbar-item.md +49 -0
  106. package/dist/docs/step/api.md +16 -0
  107. package/dist/docs/step/step.md +16 -0
  108. package/dist/docs/step-indicator/step-indicator.md +2 -0
  109. package/dist/docs/step-indicator/styling.md +1 -0
  110. package/dist/docs/switch/api.md +8 -0
  111. package/dist/docs/switch/styling.md +1 -0
  112. package/dist/docs/switch/switch.md +10 -0
  113. package/dist/docs/tabs/api.md +2 -2
  114. package/dist/docs/tabs/styling.md +1 -0
  115. package/dist/docs/tabs/tabs.md +4 -2
  116. package/dist/docs/textarea/api.md +54 -14
  117. package/dist/docs/textarea/styling.md +92 -0
  118. package/dist/docs/textarea/textarea.md +147 -14
  119. package/dist/docs/textfield/api.md +74 -34
  120. package/dist/docs/textfield/styling.md +96 -0
  121. package/dist/docs/textfield/textfield.md +171 -34
  122. package/dist/index.d.ts +1369 -370
  123. package/dist/packages/affix/affix-styles.d.ts +8 -0
  124. package/dist/packages/affix/affix-styles.js +108 -0
  125. package/dist/packages/affix/affix.d.ts +16 -13
  126. package/dist/packages/affix/affix.hydration.test.d.ts +1 -1
  127. package/dist/packages/affix/affix.hydration.test.js +15 -15
  128. package/dist/packages/affix/affix.js +451 -320
  129. package/dist/packages/affix/affix.js.map +4 -4
  130. package/dist/packages/affix/affix.react.stories.d.ts +3 -3
  131. package/dist/packages/affix/affix.react.stories.js +3 -3
  132. package/dist/packages/affix/affix.react.test.js +5 -3
  133. package/dist/packages/affix/affix.stories.d.ts +3 -3
  134. package/dist/packages/affix/affix.stories.js +10 -10
  135. package/dist/packages/affix/affix.test.d.ts +1 -1
  136. package/dist/packages/affix/affix.test.js +10 -10
  137. package/dist/packages/affix/react.d.ts +3 -3
  138. package/dist/packages/affix/react.js +6 -6
  139. package/dist/packages/affix/styles.js +2 -2
  140. package/dist/packages/alert/alert.d.ts +3 -3
  141. package/dist/packages/alert/alert.hydration.test.d.ts +1 -1
  142. package/dist/packages/alert/alert.hydration.test.js +21 -21
  143. package/dist/packages/alert/alert.js +349 -324
  144. package/dist/packages/alert/alert.js.map +3 -3
  145. package/dist/packages/alert/alert.react.stories.d.ts +2 -2
  146. package/dist/packages/alert/alert.react.stories.js +13 -13
  147. package/dist/packages/alert/alert.stories.d.ts +4 -4
  148. package/dist/packages/alert/alert.stories.js +29 -27
  149. package/dist/packages/alert/alert.test.d.ts +1 -1
  150. package/dist/packages/alert/alert.test.js +34 -21
  151. package/dist/packages/alert/react.d.ts +1 -1
  152. package/dist/packages/alert/react.js +4 -4
  153. package/dist/packages/alert/styles.js +2 -2
  154. package/dist/packages/attention/attention.d.ts +11 -6
  155. package/dist/packages/attention/attention.hydration.test.d.ts +1 -1
  156. package/dist/packages/attention/attention.hydration.test.js +29 -29
  157. package/dist/packages/attention/attention.js +1795 -1781
  158. package/dist/packages/attention/attention.js.map +4 -4
  159. package/dist/packages/attention/attention.react.stories.d.ts +3 -3
  160. package/dist/packages/attention/attention.react.stories.js +13 -13
  161. package/dist/packages/attention/attention.react.test.js +11 -7
  162. package/dist/packages/attention/attention.stories.d.ts +4 -4
  163. package/dist/packages/attention/attention.stories.js +126 -117
  164. package/dist/packages/attention/attention.test.d.ts +1 -1
  165. package/dist/packages/attention/attention.test.js +18 -10
  166. package/dist/packages/attention/layout-styles.js +900 -900
  167. package/dist/packages/attention/react.d.ts +4 -4
  168. package/dist/packages/attention/react.js +13 -11
  169. package/dist/packages/attention/styles.js +2 -2
  170. package/dist/packages/badge/badge.d.ts +3 -3
  171. package/dist/packages/badge/badge.hydration.test.d.ts +1 -1
  172. package/dist/packages/badge/badge.hydration.test.js +25 -25
  173. package/dist/packages/badge/badge.js +281 -281
  174. package/dist/packages/badge/badge.js.map +3 -3
  175. package/dist/packages/badge/badge.react.stories.d.ts +3 -3
  176. package/dist/packages/badge/badge.react.stories.js +17 -17
  177. package/dist/packages/badge/badge.stories.d.ts +3 -3
  178. package/dist/packages/badge/badge.stories.js +22 -20
  179. package/dist/packages/badge/badge.test.d.ts +1 -1
  180. package/dist/packages/badge/badge.test.js +13 -11
  181. package/dist/packages/badge/react.d.ts +1 -1
  182. package/dist/packages/badge/react.js +4 -4
  183. package/dist/packages/badge/styles.js +2 -2
  184. package/dist/packages/box/box.d.ts +1 -1
  185. package/dist/packages/box/box.hydration.test.d.ts +1 -1
  186. package/dist/packages/box/box.hydration.test.js +14 -14
  187. package/dist/packages/box/box.js +288 -288
  188. package/dist/packages/box/box.js.map +3 -3
  189. package/dist/packages/box/box.react.stories.d.ts +3 -3
  190. package/dist/packages/box/box.react.stories.js +8 -8
  191. package/dist/packages/box/box.stories.d.ts +3 -3
  192. package/dist/packages/box/box.stories.js +25 -19
  193. package/dist/packages/box/box.test.d.ts +1 -1
  194. package/dist/packages/box/box.test.js +6 -6
  195. package/dist/packages/box/react.d.ts +1 -1
  196. package/dist/packages/box/react.js +4 -4
  197. package/dist/packages/box/slot.test.d.ts +1 -1
  198. package/dist/packages/box/slot.test.js +6 -6
  199. package/dist/packages/box/styles.js +2 -2
  200. package/dist/packages/breadcrumb-item/breadcrumb-item.d.ts +29 -0
  201. package/dist/packages/breadcrumb-item/breadcrumb-item.js +2529 -0
  202. package/dist/packages/breadcrumb-item/breadcrumb-item.js.map +7 -0
  203. package/dist/packages/breadcrumb-item/react.d.ts +2 -0
  204. package/dist/packages/breadcrumb-item/react.js +11 -0
  205. package/dist/packages/breadcrumb-item/styles.d.ts +4 -0
  206. package/dist/packages/breadcrumb-item/styles.js +81 -0
  207. package/dist/packages/breadcrumbs/breadcrumbs.d.ts +4 -3
  208. package/dist/packages/breadcrumbs/breadcrumbs.hydration.test.d.ts +1 -1
  209. package/dist/packages/breadcrumbs/breadcrumbs.hydration.test.js +57 -50
  210. package/dist/packages/breadcrumbs/breadcrumbs.js +287 -283
  211. package/dist/packages/breadcrumbs/breadcrumbs.js.map +4 -4
  212. package/dist/packages/breadcrumbs/breadcrumbs.react.stories.d.ts +4 -4
  213. package/dist/packages/breadcrumbs/breadcrumbs.react.stories.js +17 -16
  214. package/dist/packages/breadcrumbs/breadcrumbs.stories.d.ts +7 -8
  215. package/dist/packages/breadcrumbs/breadcrumbs.stories.js +30 -26
  216. package/dist/packages/breadcrumbs/breadcrumbs.test.d.ts +1 -1
  217. package/dist/packages/breadcrumbs/breadcrumbs.test.js +19 -17
  218. package/dist/packages/breadcrumbs/react.d.ts +1 -1
  219. package/dist/packages/breadcrumbs/react.js +4 -4
  220. package/dist/packages/breadcrumbs/styles.js +2 -2
  221. package/dist/packages/button/button.d.ts +20 -15
  222. package/dist/packages/button/button.hydration.test.d.ts +1 -1
  223. package/dist/packages/button/button.hydration.test.js +19 -19
  224. package/dist/packages/button/button.js +809 -811
  225. package/dist/packages/button/button.js.map +4 -4
  226. package/dist/packages/button/button.react.stories.d.ts +5 -5
  227. package/dist/packages/button/button.react.stories.js +30 -30
  228. package/dist/packages/button/button.react.test.js +13 -13
  229. package/dist/packages/button/button.stories.d.ts +33 -4
  230. package/dist/packages/button/button.stories.js +353 -70
  231. package/dist/packages/button/button.test.d.ts +1 -1
  232. package/dist/packages/button/button.test.js +36 -35
  233. package/dist/packages/button/react.d.ts +3 -3
  234. package/dist/packages/button/react.js +7 -7
  235. package/dist/packages/button/styles.d.ts +22 -1
  236. package/dist/packages/button/styles.js +433 -2
  237. package/dist/packages/card/card.d.ts +1 -1
  238. package/dist/packages/card/card.hydration.test.d.ts +1 -1
  239. package/dist/packages/card/card.hydration.test.js +14 -14
  240. package/dist/packages/card/card.js +311 -296
  241. package/dist/packages/card/card.js.map +4 -4
  242. package/dist/packages/card/card.react.stories.d.ts +3 -3
  243. package/dist/packages/card/card.react.stories.js +11 -11
  244. package/dist/packages/card/card.stories.d.ts +3 -3
  245. package/dist/packages/card/card.stories.js +36 -24
  246. package/dist/packages/card/card.test.d.ts +1 -1
  247. package/dist/packages/card/card.test.js +6 -6
  248. package/dist/packages/card/react.d.ts +1 -1
  249. package/dist/packages/card/react.js +4 -4
  250. package/dist/packages/card/styles.js +2 -2
  251. package/dist/packages/checkbox/checkbox.a11y.test.d.ts +1 -1
  252. package/dist/packages/checkbox/checkbox.a11y.test.js +47 -33
  253. package/dist/packages/checkbox/checkbox.d.ts +48 -17
  254. package/dist/packages/checkbox/checkbox.hydration.test.d.ts +1 -1
  255. package/dist/packages/checkbox/checkbox.hydration.test.js +21 -21
  256. package/dist/packages/checkbox/checkbox.js +481 -430
  257. package/dist/packages/checkbox/checkbox.js.map +3 -3
  258. package/dist/packages/checkbox/checkbox.react.stories.d.ts +3 -3
  259. package/dist/packages/checkbox/checkbox.react.stories.js +3 -3
  260. package/dist/packages/checkbox/checkbox.stories.d.ts +5 -5
  261. package/dist/packages/checkbox/checkbox.stories.js +99 -91
  262. package/dist/packages/checkbox/checkbox.test.d.ts +1 -1
  263. package/dist/packages/checkbox/checkbox.test.js +64 -64
  264. package/dist/packages/checkbox/react.d.ts +2 -2
  265. package/dist/packages/checkbox/react.js +6 -6
  266. package/dist/packages/checkbox/styles.js +183 -132
  267. package/dist/packages/checkbox-group/checkbox-group.a11y.test.d.ts +2 -2
  268. package/dist/packages/checkbox-group/checkbox-group.a11y.test.js +83 -73
  269. package/dist/packages/checkbox-group/checkbox-group.d.ts +54 -13
  270. package/dist/packages/checkbox-group/checkbox-group.hydration.test.d.ts +2 -2
  271. package/dist/packages/checkbox-group/checkbox-group.hydration.test.js +36 -19
  272. package/dist/packages/checkbox-group/checkbox-group.js +62 -57
  273. package/dist/packages/checkbox-group/checkbox-group.js.map +4 -4
  274. package/dist/packages/checkbox-group/checkbox-group.react.test.js +4 -4
  275. package/dist/packages/checkbox-group/checkbox-group.test.d.ts +2 -2
  276. package/dist/packages/checkbox-group/checkbox-group.test.js +183 -90
  277. package/dist/packages/checkbox-group/react.d.ts +4 -4
  278. package/dist/packages/checkbox-group/react.js +6 -6
  279. package/dist/packages/combobox/combobox.a11y.test.d.ts +2 -2
  280. package/dist/packages/combobox/combobox.a11y.test.js +80 -33
  281. package/dist/packages/combobox/combobox.d.ts +67 -47
  282. package/dist/packages/combobox/combobox.hydration.test.d.ts +1 -1
  283. package/dist/packages/combobox/combobox.hydration.test.js +73 -35
  284. package/dist/packages/combobox/combobox.js +338 -339
  285. package/dist/packages/combobox/combobox.js.map +4 -4
  286. package/dist/packages/combobox/combobox.react.stories.d.ts +29 -13
  287. package/dist/packages/combobox/combobox.react.stories.js +29 -29
  288. package/dist/packages/combobox/combobox.react.test.js +8 -8
  289. package/dist/packages/combobox/combobox.stories.d.ts +4 -4
  290. package/dist/packages/combobox/combobox.stories.js +104 -85
  291. package/dist/packages/combobox/combobox.test.d.ts +2 -2
  292. package/dist/packages/combobox/combobox.test.js +295 -69
  293. package/dist/packages/combobox/react.d.ts +15 -7
  294. package/dist/packages/combobox/react.js +14 -14
  295. package/dist/packages/combobox/styles.js +2 -3
  296. package/dist/packages/datepicker/DatePicker.test.d.ts +2 -2
  297. package/dist/packages/datepicker/DatePicker.test.js +49 -42
  298. package/dist/packages/datepicker/datepicker.d.ts +30 -38
  299. package/dist/packages/datepicker/datepicker.hydration.test.d.ts +1 -1
  300. package/dist/packages/datepicker/datepicker.hydration.test.js +21 -21
  301. package/dist/packages/datepicker/datepicker.js +673 -632
  302. package/dist/packages/datepicker/datepicker.js.map +4 -4
  303. package/dist/packages/datepicker/datepicker.react.stories.d.ts +17 -17
  304. package/dist/packages/datepicker/datepicker.react.stories.js +9 -9
  305. package/dist/packages/datepicker/datepicker.react.test.js +6 -6
  306. package/dist/packages/datepicker/datepicker.stories.d.ts +4 -4
  307. package/dist/packages/datepicker/datepicker.stories.js +32 -32
  308. package/dist/packages/datepicker/datepicker.test.d.ts +2 -2
  309. package/dist/packages/datepicker/datepicker.test.js +77 -79
  310. package/dist/packages/datepicker/react.d.ts +9 -9
  311. package/dist/packages/datepicker/react.js +16 -14
  312. package/dist/packages/datepicker/styles/w-datepicker-calendar.styles.js +13 -12
  313. package/dist/packages/datepicker/styles/w-datepicker-day.styles.js +58 -55
  314. package/dist/packages/datepicker/styles/w-datepicker-month.styles.js +60 -57
  315. package/dist/packages/datepicker/styles/w-datepicker.styles.js +87 -87
  316. package/dist/packages/datepicker/utils.d.ts +3 -0
  317. package/dist/packages/datepicker/utils.js +40 -1
  318. package/dist/packages/datepicker/utils.test.d.ts +1 -0
  319. package/dist/packages/datepicker/utils.test.js +29 -0
  320. package/dist/packages/expandable/expandable.d.ts +18 -39
  321. package/dist/packages/expandable/expandable.hydration.test.d.ts +1 -1
  322. package/dist/packages/expandable/expandable.hydration.test.js +21 -21
  323. package/dist/packages/expandable/expandable.js +359 -332
  324. package/dist/packages/expandable/expandable.js.map +4 -4
  325. package/dist/packages/expandable/expandable.react.stories.d.ts +5 -5
  326. package/dist/packages/expandable/expandable.react.stories.js +7 -7
  327. package/dist/packages/expandable/expandable.react.test.js +15 -7
  328. package/dist/packages/expandable/expandable.stories.d.ts +5 -5
  329. package/dist/packages/expandable/expandable.stories.js +51 -45
  330. package/dist/packages/expandable/expandable.test.d.ts +1 -1
  331. package/dist/packages/expandable/expandable.test.js +19 -17
  332. package/dist/packages/expandable/react.d.ts +3 -3
  333. package/dist/packages/expandable/react.js +9 -9
  334. package/dist/packages/expandable/styles.js +2 -2
  335. package/dist/packages/global.d.ts +1 -0
  336. package/dist/packages/global.js +5 -0
  337. package/dist/packages/i18n.d.ts +1 -1
  338. package/dist/packages/i18n.js +37 -29
  339. package/dist/packages/icon/icon.d.ts +22 -5
  340. package/dist/packages/icon/icon.hydration.test.d.ts +1 -1
  341. package/dist/packages/icon/icon.hydration.test.js +25 -25
  342. package/dist/packages/icon/icon.js +31 -26
  343. package/dist/packages/icon/icon.js.map +3 -3
  344. package/dist/packages/icon/icon.react.stories.d.ts +4 -3
  345. package/dist/packages/icon/icon.react.stories.js +284 -283
  346. package/dist/packages/icon/icon.stories.d.ts +7 -30
  347. package/dist/packages/icon/icon.stories.js +307 -297
  348. package/dist/packages/icon/icon.test.d.ts +1 -1
  349. package/dist/packages/icon/icon.test.js +36 -28
  350. package/dist/packages/icon/react.d.ts +2 -2
  351. package/dist/packages/icon/react.js +4 -4
  352. package/dist/packages/icon/style.js +24 -25
  353. package/dist/packages/interaction-type-detection.d.ts +22 -0
  354. package/dist/packages/interaction-type-detection.js +38 -0
  355. package/dist/packages/link/link.d.ts +22 -23
  356. package/dist/packages/link/link.hydration.test.d.ts +1 -1
  357. package/dist/packages/link/link.hydration.test.js +27 -27
  358. package/dist/packages/link/link.js +775 -498
  359. package/dist/packages/link/link.js.map +4 -4
  360. package/dist/packages/link/link.react.stories.d.ts +3 -3
  361. package/dist/packages/link/link.react.stories.js +42 -42
  362. package/dist/packages/link/link.react.test.js +5 -3
  363. package/dist/packages/link/link.stories.d.ts +3 -3
  364. package/dist/packages/link/link.stories.js +51 -51
  365. package/dist/packages/link/link.test.d.ts +1 -1
  366. package/dist/packages/link/link.test.js +11 -7
  367. package/dist/packages/link/react.d.ts +2 -2
  368. package/dist/packages/link/react.js +6 -6
  369. package/dist/packages/link/styles.d.ts +5 -0
  370. package/dist/packages/link/styles.js +85 -0
  371. package/dist/packages/modal/index.d.ts +7 -7
  372. package/dist/packages/modal/index.js +7 -7
  373. package/dist/packages/modal/modal.d.ts +3 -2
  374. package/dist/packages/modal/modal.hydration.test.d.ts +1 -1
  375. package/dist/packages/modal/modal.hydration.test.js +12 -12
  376. package/dist/packages/modal/modal.js +409 -409
  377. package/dist/packages/modal/modal.js.map +3 -3
  378. package/dist/packages/modal/modal.react.stories.d.ts +7 -7
  379. package/dist/packages/modal/modal.react.stories.js +15 -6
  380. package/dist/packages/modal/modal.react.test.js +5 -5
  381. package/dist/packages/modal/modal.stories.d.ts +6 -6
  382. package/dist/packages/modal/modal.stories.js +253 -238
  383. package/dist/packages/modal/react.d.ts +38 -8
  384. package/dist/packages/modal/react.js +43 -13
  385. package/dist/packages/modal/util.js +3 -1
  386. package/dist/packages/modal-footer/modal-footer.d.ts +1 -1
  387. package/dist/packages/modal-footer/modal-footer.js +296 -296
  388. package/dist/packages/modal-footer/modal-footer.js.map +3 -3
  389. package/dist/packages/modal-footer/react.d.ts +1 -1
  390. package/dist/packages/modal-footer/react.js +4 -4
  391. package/dist/packages/modal-header/modal-header.d.ts +2 -2
  392. package/dist/packages/modal-header/modal-header.js +443 -422
  393. package/dist/packages/modal-header/modal-header.js.map +4 -4
  394. package/dist/packages/modal-header/modal-header.react.test.js +5 -3
  395. package/dist/packages/modal-header/react.d.ts +4 -4
  396. package/dist/packages/modal-header/react.js +8 -8
  397. package/dist/packages/page-indicator/page-indicator.d.ts +1 -5
  398. package/dist/packages/page-indicator/page-indicator.hydration.test.d.ts +1 -1
  399. package/dist/packages/page-indicator/page-indicator.hydration.test.js +22 -22
  400. package/dist/packages/page-indicator/page-indicator.js +29 -29
  401. package/dist/packages/page-indicator/page-indicator.js.map +4 -4
  402. package/dist/packages/page-indicator/page-indicator.react.stories.d.ts +3 -3
  403. package/dist/packages/page-indicator/page-indicator.react.stories.js +11 -11
  404. package/dist/packages/page-indicator/page-indicator.react.test.js +5 -5
  405. package/dist/packages/page-indicator/page-indicator.stories.d.ts +9 -27
  406. package/dist/packages/page-indicator/page-indicator.stories.js +63 -32
  407. package/dist/packages/page-indicator/page-indicator.test.d.ts +1 -1
  408. package/dist/packages/page-indicator/page-indicator.test.js +110 -70
  409. package/dist/packages/page-indicator/react.d.ts +2 -2
  410. package/dist/packages/page-indicator/react.js +7 -7
  411. package/dist/packages/page-indicator/style.js +21 -21
  412. package/dist/packages/pagination/pagination.a11y.test.d.ts +1 -1
  413. package/dist/packages/pagination/pagination.a11y.test.js +59 -25
  414. package/dist/packages/pagination/pagination.d.ts +10 -11
  415. package/dist/packages/pagination/pagination.hydration.test.d.ts +1 -1
  416. package/dist/packages/pagination/pagination.hydration.test.js +19 -19
  417. package/dist/packages/pagination/pagination.js +385 -354
  418. package/dist/packages/pagination/pagination.js.map +4 -4
  419. package/dist/packages/pagination/pagination.react.stories.d.ts +11 -11
  420. package/dist/packages/pagination/pagination.react.stories.js +8 -8
  421. package/dist/packages/pagination/pagination.react.test.js +6 -6
  422. package/dist/packages/pagination/pagination.stories.d.ts +3 -3
  423. package/dist/packages/pagination/pagination.stories.js +18 -18
  424. package/dist/packages/pagination/pagination.test.d.ts +1 -1
  425. package/dist/packages/pagination/pagination.test.js +146 -72
  426. package/dist/packages/pagination/react.d.ts +6 -6
  427. package/dist/packages/pagination/react.js +12 -10
  428. package/dist/packages/pagination/styles.js +2 -2
  429. package/dist/packages/pill/pill.d.ts +6 -6
  430. package/dist/packages/pill/pill.hydration.test.d.ts +1 -1
  431. package/dist/packages/pill/pill.hydration.test.js +14 -14
  432. package/dist/packages/pill/pill.js +337 -314
  433. package/dist/packages/pill/pill.js.map +4 -4
  434. package/dist/packages/pill/pill.react.stories.d.ts +11 -11
  435. package/dist/packages/pill/pill.react.stories.js +3 -3
  436. package/dist/packages/pill/pill.react.test.js +8 -8
  437. package/dist/packages/pill/pill.stories.d.ts +3 -3
  438. package/dist/packages/pill/pill.stories.js +8 -8
  439. package/dist/packages/pill/pill.test.d.ts +1 -1
  440. package/dist/packages/pill/pill.test.js +17 -15
  441. package/dist/packages/pill/react.d.ts +6 -6
  442. package/dist/packages/pill/react.js +18 -14
  443. package/dist/packages/pill/styles.js +2 -2
  444. package/dist/packages/radio/base-element.d.ts +3 -3
  445. package/dist/packages/radio/base-element.js +3 -3
  446. package/dist/packages/radio/custom-error-validator.d.ts +1 -1
  447. package/dist/packages/radio/custom-error-validator.js +3 -3
  448. package/dist/packages/radio/form-associated-element.d.ts +9 -9
  449. package/dist/packages/radio/form-associated-element.js +27 -26
  450. package/dist/packages/radio/host-styles.js +9 -9
  451. package/dist/packages/radio/invalid.d.ts +1 -1
  452. package/dist/packages/radio/invalid.js +1 -1
  453. package/dist/packages/radio/radio-styles.js +199 -160
  454. package/dist/packages/radio/radio.a11y.test.d.ts +2 -2
  455. package/dist/packages/radio/radio.a11y.test.js +60 -58
  456. package/dist/packages/radio/radio.d.ts +4 -4
  457. package/dist/packages/radio/radio.hydration.test.d.ts +1 -1
  458. package/dist/packages/radio/radio.hydration.test.js +23 -14
  459. package/dist/packages/radio/radio.js +491 -452
  460. package/dist/packages/radio/radio.js.map +3 -3
  461. package/dist/packages/radio/radio.react.stories.d.ts +2 -2
  462. package/dist/packages/radio/radio.react.stories.js +3 -3
  463. package/dist/packages/radio/radio.stories.d.ts +4 -4
  464. package/dist/packages/radio/radio.stories.js +152 -136
  465. package/dist/packages/radio/radio.test.d.ts +1 -1
  466. package/dist/packages/radio/radio.test.js +74 -73
  467. package/dist/packages/radio/react.d.ts +1 -1
  468. package/dist/packages/radio/react.js +4 -4
  469. package/dist/packages/radio/required-validator.d.ts +1 -1
  470. package/dist/packages/radio/required-validator.js +12 -7
  471. package/dist/packages/radio/slot.d.ts +1 -1
  472. package/dist/packages/radio/slot.js +11 -8
  473. package/dist/packages/radio/watch.d.ts +1 -1
  474. package/dist/packages/radio/watch.js +3 -1
  475. package/dist/packages/radio-group/radio-group-styles.js +121 -88
  476. package/dist/packages/radio-group/radio-group.a11y.test.d.ts +2 -2
  477. package/dist/packages/radio-group/radio-group.a11y.test.js +83 -77
  478. package/dist/packages/radio-group/radio-group.d.ts +16 -7
  479. package/dist/packages/radio-group/radio-group.hydration.test.d.ts +2 -2
  480. package/dist/packages/radio-group/radio-group.hydration.test.js +30 -15
  481. package/dist/packages/radio-group/radio-group.js +655 -567
  482. package/dist/packages/radio-group/radio-group.js.map +4 -4
  483. package/dist/packages/radio-group/radio-group.react.test.js +4 -4
  484. package/dist/packages/radio-group/radio-group.test.d.ts +2 -2
  485. package/dist/packages/radio-group/radio-group.test.js +304 -230
  486. package/dist/packages/radio-group/react.d.ts +7 -7
  487. package/dist/packages/radio-group/react.js +10 -10
  488. package/dist/packages/select/input-styles.d.ts +11 -0
  489. package/dist/packages/select/input-styles.js +88 -0
  490. package/dist/packages/select/locales/da/messages.mjs +1 -1
  491. package/dist/packages/select/locales/en/messages.mjs +1 -1
  492. package/dist/packages/select/locales/fi/messages.mjs +1 -1
  493. package/dist/packages/select/locales/nb/messages.mjs +1 -1
  494. package/dist/packages/select/locales/sv/messages.mjs +1 -1
  495. package/dist/packages/select/react.d.ts +5 -5
  496. package/dist/packages/select/react.js +11 -11
  497. package/dist/packages/select/select.a11y.test.d.ts +1 -1
  498. package/dist/packages/select/select.a11y.test.js +100 -89
  499. package/dist/packages/select/select.d.ts +10 -11
  500. package/dist/packages/select/select.hydration.test.d.ts +1 -1
  501. package/dist/packages/select/select.hydration.test.js +16 -16
  502. package/dist/packages/select/select.js +432 -336
  503. package/dist/packages/select/select.js.map +4 -4
  504. package/dist/packages/select/select.react.stories.d.ts +10 -10
  505. package/dist/packages/select/select.react.stories.js +19 -14
  506. package/dist/packages/select/select.react.test.js +6 -6
  507. package/dist/packages/select/select.stories.d.ts +3 -3
  508. package/dist/packages/select/select.stories.js +51 -48
  509. package/dist/packages/select/select.test.d.ts +1 -1
  510. package/dist/packages/select/select.test.js +230 -179
  511. package/dist/packages/select/styles.js +2 -2
  512. package/dist/packages/slider/Slider.d.ts +1 -1
  513. package/dist/packages/slider/Slider.js +4 -4
  514. package/dist/packages/slider/index.d.ts +2 -2
  515. package/dist/packages/slider/index.js +2 -2
  516. package/dist/packages/slider/locales/da/messages.mjs +1 -1
  517. package/dist/packages/slider/locales/en/messages.mjs +1 -1
  518. package/dist/packages/slider/locales/fi/messages.mjs +1 -1
  519. package/dist/packages/slider/locales/nb/messages.mjs +1 -1
  520. package/dist/packages/slider/locales/sv/messages.mjs +1 -1
  521. package/dist/packages/slider/react.d.ts +4 -4
  522. package/dist/packages/slider/react.js +9 -9
  523. package/dist/packages/slider/slider.d.ts +25 -17
  524. package/dist/packages/slider/slider.hydration.test.d.ts +1 -1
  525. package/dist/packages/slider/slider.hydration.test.js +40 -16
  526. package/dist/packages/slider/slider.js +524 -467
  527. package/dist/packages/slider/slider.js.map +4 -4
  528. package/dist/packages/slider/slider.react.stories.d.ts +4 -4
  529. package/dist/packages/slider/slider.react.stories.js +29 -32
  530. package/dist/packages/slider/slider.react.test.js +6 -6
  531. package/dist/packages/slider/slider.stories.d.ts +9 -7
  532. package/dist/packages/slider/slider.stories.js +369 -340
  533. package/dist/packages/slider/slider.test.d.ts +5 -5
  534. package/dist/packages/slider/slider.test.js +476 -336
  535. package/dist/packages/slider/styles/w-slider.styles.js +166 -148
  536. package/dist/packages/slider/styles.js +2 -2
  537. package/dist/packages/slider-thumb/SliderThumb.d.ts +1 -1
  538. package/dist/packages/slider-thumb/SliderThumb.js +4 -4
  539. package/dist/packages/slider-thumb/oddbird-css-anchor-positioning.d.ts +1 -1
  540. package/dist/packages/slider-thumb/oddbird-css-anchor-positioning.js +1 -1
  541. package/dist/packages/slider-thumb/react.d.ts +5 -5
  542. package/dist/packages/slider-thumb/react.js +11 -9
  543. package/dist/packages/slider-thumb/slider-thumb.d.ts +17 -17
  544. package/dist/packages/slider-thumb/slider-thumb.hydration.test.d.ts +1 -1
  545. package/dist/packages/slider-thumb/slider-thumb.hydration.test.js +26 -17
  546. package/dist/packages/slider-thumb/slider-thumb.js +550 -553
  547. package/dist/packages/slider-thumb/slider-thumb.js.map +4 -4
  548. package/dist/packages/slider-thumb/slider-thumb.react.test.js +9 -5
  549. package/dist/packages/slider-thumb/styles/w-slider-thumb.styles.js +189 -188
  550. package/dist/packages/slider-thumb/styles.js +2 -0
  551. package/dist/packages/snackbar/locales/da/messages.d.mts +1 -0
  552. package/dist/packages/snackbar/locales/da/messages.mjs +1 -0
  553. package/dist/packages/snackbar/locales/en/messages.d.mts +1 -0
  554. package/dist/packages/snackbar/locales/en/messages.mjs +1 -0
  555. package/dist/packages/snackbar/locales/fi/messages.d.mts +1 -0
  556. package/dist/packages/snackbar/locales/fi/messages.mjs +1 -0
  557. package/dist/packages/snackbar/locales/nb/messages.d.mts +1 -0
  558. package/dist/packages/snackbar/locales/nb/messages.mjs +1 -0
  559. package/dist/packages/snackbar/locales/sv/messages.d.mts +1 -0
  560. package/dist/packages/snackbar/locales/sv/messages.mjs +1 -0
  561. package/dist/packages/snackbar/react.d.ts +2 -0
  562. package/dist/packages/snackbar/react.js +11 -0
  563. package/dist/packages/snackbar/snackbar.d.ts +132 -0
  564. package/dist/packages/snackbar/snackbar.hydration.test.d.ts +1 -0
  565. package/dist/packages/snackbar/snackbar.hydration.test.js +13 -0
  566. package/dist/packages/snackbar/snackbar.js +2665 -0
  567. package/dist/packages/snackbar/snackbar.js.map +7 -0
  568. package/dist/packages/snackbar/snackbar.react.stories.d.ts +12 -0
  569. package/dist/packages/snackbar/snackbar.react.stories.js +160 -0
  570. package/dist/packages/snackbar/snackbar.stories.d.ts +20 -0
  571. package/dist/packages/snackbar/snackbar.stories.js +363 -0
  572. package/dist/packages/snackbar/snackbar.test.d.ts +4 -0
  573. package/dist/packages/snackbar/snackbar.test.js +17 -0
  574. package/dist/packages/snackbar/styles.d.ts +1 -0
  575. package/dist/packages/snackbar/styles.js +35 -0
  576. package/dist/packages/snackbar-item/react.d.ts +5 -0
  577. package/dist/packages/snackbar-item/react.js +16 -0
  578. package/dist/packages/snackbar-item/snackbar-item.d.ts +69 -0
  579. package/dist/packages/snackbar-item/snackbar-item.js +2620 -0
  580. package/dist/packages/snackbar-item/snackbar-item.js.map +7 -0
  581. package/dist/packages/snackbar-item/snackbar-item.react.test.d.ts +1 -0
  582. package/dist/packages/snackbar-item/snackbar-item.react.test.js +5 -0
  583. package/dist/packages/snackbar-item/styles.d.ts +1 -0
  584. package/dist/packages/snackbar-item/styles.js +133 -0
  585. package/dist/packages/step/react.d.ts +1 -1
  586. package/dist/packages/step/react.js +4 -4
  587. package/dist/packages/step/step.d.ts +2 -2
  588. package/dist/packages/step/step.hydration.test.d.ts +1 -1
  589. package/dist/packages/step/step.hydration.test.js +10 -10
  590. package/dist/packages/step/step.js +337 -315
  591. package/dist/packages/step/step.js.map +4 -4
  592. package/dist/packages/step-indicator/index.d.ts +2 -2
  593. package/dist/packages/step-indicator/index.js +2 -2
  594. package/dist/packages/step-indicator/react.d.ts +2 -2
  595. package/dist/packages/step-indicator/react.js +5 -5
  596. package/dist/packages/step-indicator/step-indicator.a11y.test.d.ts +2 -2
  597. package/dist/packages/step-indicator/step-indicator.a11y.test.js +48 -46
  598. package/dist/packages/step-indicator/step-indicator.d.ts +1 -1
  599. package/dist/packages/step-indicator/step-indicator.hydration.test.d.ts +1 -1
  600. package/dist/packages/step-indicator/step-indicator.hydration.test.js +10 -10
  601. package/dist/packages/step-indicator/step-indicator.js +285 -281
  602. package/dist/packages/step-indicator/step-indicator.js.map +3 -3
  603. package/dist/packages/step-indicator/stepindicator.react.stories.d.ts +2 -2
  604. package/dist/packages/step-indicator/stepindicator.react.stories.js +3 -3
  605. package/dist/packages/step-indicator/stepindicator.stories.d.ts +3 -3
  606. package/dist/packages/step-indicator/stepindicator.stories.js +129 -129
  607. package/dist/packages/step-indicator/styles.js +2 -2
  608. package/dist/packages/styles.js +277 -275
  609. package/dist/packages/switch/react.d.ts +1 -1
  610. package/dist/packages/switch/react.js +6 -6
  611. package/dist/packages/switch/styles.js +2 -2
  612. package/dist/packages/switch/switch.a11y.test.d.ts +1 -1
  613. package/dist/packages/switch/switch.a11y.test.js +46 -38
  614. package/dist/packages/switch/switch.d.ts +3 -3
  615. package/dist/packages/switch/switch.hydration.test.d.ts +1 -1
  616. package/dist/packages/switch/switch.hydration.test.js +23 -23
  617. package/dist/packages/switch/switch.js +304 -304
  618. package/dist/packages/switch/switch.js.map +3 -3
  619. package/dist/packages/switch/switch.react.stories.d.ts +2 -2
  620. package/dist/packages/switch/switch.react.stories.js +2 -2
  621. package/dist/packages/switch/switch.stories.d.ts +2 -2
  622. package/dist/packages/switch/switch.stories.js +42 -37
  623. package/dist/packages/switch/switch.test.d.ts +1 -1
  624. package/dist/packages/switch/switch.test.js +30 -35
  625. package/dist/packages/tab/react.d.ts +9 -7
  626. package/dist/packages/tab/react.js +11 -10
  627. package/dist/packages/tab/styles.d.ts +1 -0
  628. package/dist/packages/tab/styles.js +2 -0
  629. package/dist/packages/tab/tab.d.ts +6 -6
  630. package/dist/packages/tab/tab.hydration.test.d.ts +1 -1
  631. package/dist/packages/tab/tab.hydration.test.js +18 -12
  632. package/dist/packages/tab/tab.js +309 -308
  633. package/dist/packages/tab/tab.js.map +4 -4
  634. package/dist/packages/tab/tab.react.test.js +5 -3
  635. package/dist/packages/tab-panel/react.d.ts +3 -2
  636. package/dist/packages/tab-panel/react.js +11 -5
  637. package/dist/packages/tab-panel/tab-panel.d.ts +3 -3
  638. package/dist/packages/tab-panel/tab-panel.hydration.test.d.ts +1 -1
  639. package/dist/packages/tab-panel/tab-panel.hydration.test.js +13 -10
  640. package/dist/packages/tab-panel/tab-panel.js +293 -291
  641. package/dist/packages/tab-panel/tab-panel.js.map +3 -3
  642. package/dist/packages/tabs/index.d.ts +4 -4
  643. package/dist/packages/tabs/index.js +3 -3
  644. package/dist/packages/tabs/react.d.ts +27 -8
  645. package/dist/packages/tabs/react.js +30 -9
  646. package/dist/packages/tabs/styles.js +2 -2
  647. package/dist/packages/tabs/tabs.a11y.test.d.ts +3 -3
  648. package/dist/packages/tabs/tabs.a11y.test.js +188 -169
  649. package/dist/packages/tabs/tabs.d.ts +6 -5
  650. package/dist/packages/tabs/tabs.hydration.test.d.ts +3 -1
  651. package/dist/packages/tabs/tabs.hydration.test.js +22 -8
  652. package/dist/packages/tabs/tabs.js +293 -286
  653. package/dist/packages/tabs/tabs.js.map +3 -3
  654. package/dist/packages/tabs/tabs.react.stories.d.ts +12 -10
  655. package/dist/packages/tabs/tabs.react.stories.js +28 -28
  656. package/dist/packages/tabs/tabs.stories.d.ts +4 -4
  657. package/dist/packages/tabs/tabs.stories.js +101 -95
  658. package/dist/packages/tabs/tabs.test.d.ts +3 -3
  659. package/dist/packages/tabs/tabs.test.js +137 -123
  660. package/dist/packages/textarea/input-styles.d.ts +11 -0
  661. package/dist/packages/textarea/input-styles.js +88 -0
  662. package/dist/packages/textarea/locales/da/messages.mjs +1 -1
  663. package/dist/packages/textarea/locales/en/messages.mjs +1 -1
  664. package/dist/packages/textarea/locales/fi/messages.mjs +1 -1
  665. package/dist/packages/textarea/locales/nb/messages.mjs +1 -1
  666. package/dist/packages/textarea/locales/sv/messages.mjs +1 -1
  667. package/dist/packages/textarea/react.d.ts +11 -11
  668. package/dist/packages/textarea/react.js +17 -17
  669. package/dist/packages/textarea/styles.js +2 -2
  670. package/dist/packages/textarea/textarea.a11y.test.d.ts +1 -1
  671. package/dist/packages/textarea/textarea.a11y.test.js +90 -58
  672. package/dist/packages/textarea/textarea.d.ts +12 -11
  673. package/dist/packages/textarea/textarea.hydration.test.d.ts +1 -1
  674. package/dist/packages/textarea/textarea.hydration.test.js +19 -19
  675. package/dist/packages/textarea/textarea.js +385 -304
  676. package/dist/packages/textarea/textarea.js.map +4 -4
  677. package/dist/packages/textarea/textarea.react.stories.d.ts +21 -21
  678. package/dist/packages/textarea/textarea.react.stories.js +13 -13
  679. package/dist/packages/textarea/textarea.react.test.js +7 -7
  680. package/dist/packages/textarea/textarea.stories.d.ts +3 -3
  681. package/dist/packages/textarea/textarea.stories.js +44 -42
  682. package/dist/packages/textarea/textarea.test.d.ts +1 -1
  683. package/dist/packages/textarea/textarea.test.js +197 -88
  684. package/dist/packages/textfield/input-styles.d.ts +11 -0
  685. package/dist/packages/textfield/input-styles.js +88 -0
  686. package/dist/packages/textfield/locales/da/messages.d.mts +1 -0
  687. package/dist/packages/textfield/locales/da/messages.mjs +1 -0
  688. package/dist/packages/textfield/locales/en/messages.d.mts +1 -0
  689. package/dist/packages/textfield/locales/en/messages.mjs +1 -0
  690. package/dist/packages/textfield/locales/fi/messages.d.mts +1 -0
  691. package/dist/packages/textfield/locales/fi/messages.mjs +1 -0
  692. package/dist/packages/textfield/locales/nb/messages.d.mts +1 -0
  693. package/dist/packages/textfield/locales/nb/messages.mjs +1 -0
  694. package/dist/packages/textfield/locales/sv/messages.d.mts +1 -0
  695. package/dist/packages/textfield/locales/sv/messages.mjs +1 -0
  696. package/dist/packages/textfield/react.d.ts +11 -11
  697. package/dist/packages/textfield/react.js +17 -17
  698. package/dist/packages/textfield/styles/w-textfield.styles.js +60 -58
  699. package/dist/packages/textfield/styles.js +2 -2
  700. package/dist/packages/textfield/textfield.d.ts +36 -26
  701. package/dist/packages/textfield/textfield.hydration.test.d.ts +1 -1
  702. package/dist/packages/textfield/textfield.hydration.test.js +19 -19
  703. package/dist/packages/textfield/textfield.js +468 -373
  704. package/dist/packages/textfield/textfield.js.map +4 -4
  705. package/dist/packages/textfield/textfield.react.stories.d.ts +21 -21
  706. package/dist/packages/textfield/textfield.react.stories.js +31 -31
  707. package/dist/packages/textfield/textfield.react.test.js +7 -7
  708. package/dist/packages/textfield/textfield.stories.d.ts +4 -4
  709. package/dist/packages/textfield/textfield.stories.js +107 -89
  710. package/dist/packages/textfield/textfield.test.d.ts +2 -2
  711. package/dist/packages/textfield/textfield.test.js +174 -71
  712. package/dist/packages/toast/api.d.ts +2 -2
  713. package/dist/packages/toast/api.js +3 -3
  714. package/dist/packages/toast/index.d.ts +5 -5
  715. package/dist/packages/toast/index.js +5 -5
  716. package/dist/packages/toast/styles.js +2 -2
  717. package/dist/packages/toast/toast.d.ts +5 -5
  718. package/dist/packages/toast/toast.js +349 -320
  719. package/dist/packages/toast/toast.js.map +4 -4
  720. package/dist/packages/toast/toast.stories.d.ts +5 -9
  721. package/dist/packages/toast/toast.stories.js +37 -33
  722. package/dist/packages/toast/toast.test.d.ts +1 -1
  723. package/dist/packages/toast/toast.test.js +48 -31
  724. package/dist/packages/toast/types.d.ts +1 -1
  725. package/dist/packages/toast-container/styles.d.ts +1 -0
  726. package/dist/packages/toast-container/styles.js +2 -0
  727. package/dist/packages/toast-container/toast-container.d.ts +2 -2
  728. package/dist/packages/toast-container/toast-container.js +295 -294
  729. package/dist/packages/toast-container/toast-container.js.map +4 -4
  730. package/dist/packages/utils/element-collapse.d.ts +12 -0
  731. package/dist/packages/utils/element-collapse.js +102 -0
  732. package/dist/packages/utils/expand-transition.d.ts +1 -1
  733. package/dist/packages/utils/expand-transition.js +12 -10
  734. package/dist/packages/utils/unstyled-heading.d.ts +1 -1
  735. package/dist/packages/utils/unstyled-heading.js +4 -4
  736. package/dist/packages/utils/window-exists.js +1 -1
  737. package/dist/packages/utils.js +2 -2
  738. package/dist/setup-tests.d.ts +3 -3
  739. package/dist/setup-tests.js +16 -13
  740. package/dist/tests/react-hydration.js +29 -30
  741. package/dist/tests/react-ssr-attributes.d.ts +1 -1
  742. package/dist/tests/react-ssr-attributes.js +4 -4
  743. package/dist/web-types.json +577 -301
  744. package/eik/index.js +96 -0
  745. package/package.json +35 -29
  746. package/dist/docs/modal-footer/accessibility.md +0 -1
  747. package/dist/docs/modal-footer/examples.md +0 -1
  748. package/dist/docs/modal-footer/usage.md +0 -1
  749. package/dist/docs/modal-header/accessibility.md +0 -1
  750. package/dist/docs/modal-header/examples.md +0 -1
  751. package/dist/docs/modal-header/usage.md +0 -1
  752. package/dist/docs/radio/accessibility.md +0 -1
  753. package/dist/docs/radio/examples.md +0 -1
  754. package/dist/docs/radio/usage.md +0 -1
  755. package/dist/packages/button/styles/w-button.styles.d.ts +0 -1
  756. package/dist/packages/button/styles/w-button.styles.js +0 -282
  757. package/dist/packages/link/styles/w-link.styles.js +0 -213
  758. /package/dist/packages/{link/styles/w-link.styles.d.ts → slider-thumb/styles.d.ts} +0 -0
@@ -1,57 +1,14 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@warp-ds/elements",
4
- "version": "2.10.0-next.1",
4
+ "version": "2.10.0-next.20",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "elements": [
9
- {
10
- "name": "w-icon",
11
- "description": "\n---\n",
12
- "doc-url": "",
13
- "attributes": [
14
- {
15
- "name": "name",
16
- "description": "Icon filename (without .svg)",
17
- "value": { "type": "string" }
18
- },
19
- {
20
- "name": "size",
21
- "description": "Size: small, medium, large or pixel value (e.g. \"32px\")",
22
- "value": { "type": "'small' | 'medium' | 'large' | string" }
23
- },
24
- {
25
- "name": "locale",
26
- "description": "Locale used in CDN URL",
27
- "value": { "type": "string" }
28
- }
29
- ],
30
- "events": [],
31
- "js": {
32
- "properties": [
33
- {
34
- "name": "name",
35
- "description": "Icon filename (without .svg)",
36
- "type": "string"
37
- },
38
- {
39
- "name": "size",
40
- "description": "Size: small, medium, large or pixel value (e.g. \"32px\")",
41
- "type": "'small' | 'medium' | 'large' | string"
42
- },
43
- {
44
- "name": "locale",
45
- "description": "Locale used in CDN URL",
46
- "type": "string"
47
- }
48
- ],
49
- "events": []
50
- }
51
- },
52
9
  {
53
10
  "name": "w-textfield",
54
- "description": "A single-line input component used for entering and editing textual or numeric data.\n---\n\n\n### **Slots:**\n - **suffix** - Use with `<w-affix>` to include a suffix, for example the unit for a number (e. g. km or sek).\n- **prefix** - Use with `<w-affix>` to include a prefix, for example a search icon.",
11
+ "description": "A single-line input component used for entering and editing textual or numeric data.\n---\n\n\n### **Slots:**\n - **suffix** - Use with `<w-affix>` to include a suffix, for example the unit for a number (e. g. km or sek).\n- **prefix** - Use with `<w-affix>` to include a prefix, for example a search icon. ## Accessibility Note for Affixes Due to shadow DOM boundaries, affix content cannot be connected to the input via ARIA references. For non-interactive affixes (text labels like currency symbols), consider including that information in the main label or placeholder text instead for better screen reader support.",
55
12
  "doc-url": "",
56
13
  "attributes": [
57
14
  {
@@ -67,49 +24,54 @@
67
24
  {
68
25
  "name": "label",
69
26
  "description": "Either a `label` or an `aria-label` must be provided.",
70
- "value": { "type": "string" }
27
+ "value": { "type": "string | undefined" }
71
28
  },
72
29
  {
73
30
  "name": "help-text",
74
31
  "description": "Use in combination with `invalid` to show as a validation error message,\nor on its own to show a help text.",
75
- "value": { "type": "string" }
32
+ "value": { "type": "string | undefined" }
33
+ },
34
+ {
35
+ "name": "optional",
36
+ "description": "Whether to show the optional indicator after the label.",
37
+ "value": { "type": "boolean", "default": "false" }
76
38
  },
77
39
  {
78
40
  "name": "size",
79
41
  "description": "Sets the [size](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#size) (width) of the input field to fit the expected length of inputs.",
80
- "value": { "type": "string" }
42
+ "value": { "type": "string | undefined" }
81
43
  },
82
44
  {
83
45
  "name": "max",
84
46
  "description": "Use with `type=\"number\"` to set the [maximum allowed value](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#maxlength).",
85
- "value": { "type": "number" }
47
+ "value": { "type": "number | undefined" }
86
48
  },
87
49
  {
88
50
  "name": "min",
89
51
  "description": "Use with `type=\"number\"` to set the [minimum allowed value](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#minlength).",
90
- "value": { "type": "number" }
52
+ "value": { "type": "number | undefined" }
91
53
  },
92
- { "name": "min-length", "value": { "type": "number" } },
54
+ { "name": "min-length", "value": { "type": "number | undefined" } },
93
55
  {
94
56
  "name": "minlength",
95
57
  "description": "For `text`, `search`, `url`, `tel`, `email` and `password` fields, sets the [minimum string length](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#minlength) required.",
96
- "value": { "type": "number" }
58
+ "value": { "type": "number | undefined" }
97
59
  },
98
- { "name": "max-length", "value": { "type": "number" } },
60
+ { "name": "max-length", "value": { "type": "number | undefined" } },
99
61
  {
100
62
  "name": "maxlength",
101
63
  "description": "For `text`, `search`, `url`, `tel`, `email` and `password` fields, sets the [maximum string length](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#maxlength) allowed.",
102
- "value": { "type": "number" }
64
+ "value": { "type": "number | undefined" }
103
65
  },
104
66
  {
105
67
  "name": "pattern",
106
68
  "description": "Sets a [regular expression](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_expressions) that the input's value must [match to pass validation](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#pattern)",
107
- "value": { "type": "string" }
69
+ "value": { "type": "string | undefined" }
108
70
  },
109
71
  {
110
72
  "name": "placeholder",
111
73
  "description": "Set a text that is shown in the textfield when it doesn't have a value.\n\nPlaceholder text should not be used as a substitute for labeling the element with a visible label.",
112
- "value": { "type": "string" }
74
+ "value": { "type": "string | undefined" }
113
75
  },
114
76
  {
115
77
  "name": "read-only",
@@ -128,27 +90,29 @@
128
90
  {
129
91
  "name": "type",
130
92
  "description": "The [type of input](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types).",
131
- "value": { "type": "string" }
93
+ "value": { "type": "string | undefined" }
132
94
  },
133
95
  {
134
96
  "name": "value",
135
97
  "description": "Lets you set the current value.",
136
- "value": { "type": "string" }
98
+ "value": { "type": "string | undefined" }
137
99
  },
138
100
  {
139
101
  "name": "name",
140
102
  "description": "The [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#name) of the input field when submitting the form.",
141
- "value": { "type": "string" }
103
+ "value": { "type": "string | undefined" }
142
104
  },
143
105
  {
144
106
  "name": "step",
145
107
  "description": "When used with `number` this attribute forces inputs to be a whole number of `step`.\n\nFor example with a `step=\"5\"` only values that divide evenly on 5 are allowed.\nUsing arrow up and down in the input field increments and decrements by 5.",
146
- "value": { "type": "number" }
108
+ "value": { "type": "number | undefined" }
147
109
  },
148
110
  {
149
111
  "name": "autocomplete",
150
112
  "description": "A space-separated string that hints to browsers [what type of content it can suggest](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/autocomplete#value) to autofill.",
151
- "value": { "type": "string | undefined" }
113
+ "value": {
114
+ "type": "HTMLInputElement[\"autocomplete\"] | undefined"
115
+ }
152
116
  }
153
117
  ],
154
118
  "slots": [
@@ -158,7 +122,7 @@
158
122
  },
159
123
  {
160
124
  "name": "prefix",
161
- "description": "Use with `<w-affix>` to include a prefix, for example a search icon."
125
+ "description": "Use with `<w-affix>` to include a prefix, for example a search icon. ## Accessibility Note for Affixes Due to shadow DOM boundaries, affix content cannot be connected to the input via ARIA references. For non-interactive affixes (text labels like currency symbols), consider including that information in the main label or placeholder text instead for better screen reader support."
162
126
  }
163
127
  ],
164
128
  "events": [],
@@ -177,49 +141,54 @@
177
141
  {
178
142
  "name": "label",
179
143
  "description": "Either a `label` or an `aria-label` must be provided.",
180
- "type": "string"
144
+ "type": "string | undefined"
181
145
  },
182
146
  {
183
147
  "name": "helpText",
184
148
  "description": "Use in combination with `invalid` to show as a validation error message,\nor on its own to show a help text.",
185
- "type": "string"
149
+ "type": "string | undefined"
150
+ },
151
+ {
152
+ "name": "optional",
153
+ "description": "Whether to show the optional indicator after the label.",
154
+ "type": "boolean"
186
155
  },
187
156
  {
188
157
  "name": "size",
189
158
  "description": "Sets the [size](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#size) (width) of the input field to fit the expected length of inputs.",
190
- "type": "string"
159
+ "type": "string | undefined"
191
160
  },
192
161
  {
193
162
  "name": "max",
194
163
  "description": "Use with `type=\"number\"` to set the [maximum allowed value](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#maxlength).",
195
- "type": "number"
164
+ "type": "number | undefined"
196
165
  },
197
166
  {
198
167
  "name": "min",
199
168
  "description": "Use with `type=\"number\"` to set the [minimum allowed value](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#minlength).",
200
- "type": "number"
169
+ "type": "number | undefined"
201
170
  },
202
- { "name": "minLength", "type": "number" },
171
+ { "name": "minLength", "type": "number | undefined" },
203
172
  {
204
173
  "name": "minlength",
205
174
  "description": "For `text`, `search`, `url`, `tel`, `email` and `password` fields, sets the [minimum string length](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#minlength) required.",
206
- "type": "number"
175
+ "type": "number | undefined"
207
176
  },
208
- { "name": "maxLength", "type": "number" },
177
+ { "name": "maxLength", "type": "number | undefined" },
209
178
  {
210
179
  "name": "maxlength",
211
180
  "description": "For `text`, `search`, `url`, `tel`, `email` and `password` fields, sets the [maximum string length](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#maxlength) allowed.",
212
- "type": "number"
181
+ "type": "number | undefined"
213
182
  },
214
183
  {
215
184
  "name": "pattern",
216
185
  "description": "Sets a [regular expression](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_expressions) that the input's value must [match to pass validation](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#pattern)",
217
- "type": "string"
186
+ "type": "string | undefined"
218
187
  },
219
188
  {
220
189
  "name": "placeholder",
221
190
  "description": "Set a text that is shown in the textfield when it doesn't have a value.\n\nPlaceholder text should not be used as a substitute for labeling the element with a visible label.",
222
- "type": "string"
191
+ "type": "string | undefined"
223
192
  },
224
193
  { "name": "readOnly", "type": "boolean" },
225
194
  {
@@ -235,32 +204,78 @@
235
204
  {
236
205
  "name": "type",
237
206
  "description": "The [type of input](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types).",
238
- "type": "string"
207
+ "type": "string | undefined"
239
208
  },
240
209
  {
241
210
  "name": "value",
242
211
  "description": "Lets you set the current value.",
243
- "type": "string"
212
+ "type": "string | undefined"
244
213
  },
245
214
  {
246
215
  "name": "name",
247
216
  "description": "The [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#name) of the input field when submitting the form.",
248
- "type": "string"
217
+ "type": "string | undefined"
249
218
  },
250
219
  {
251
220
  "name": "step",
252
221
  "description": "When used with `number` this attribute forces inputs to be a whole number of `step`.\n\nFor example with a `step=\"5\"` only values that divide evenly on 5 are allowed.\nUsing arrow up and down in the input field increments and decrements by 5.",
253
- "type": "number"
222
+ "type": "number | undefined"
254
223
  },
255
224
  {
256
225
  "name": "autocomplete",
257
226
  "description": "A space-separated string that hints to browsers [what type of content it can suggest](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/autocomplete#value) to autofill.",
258
- "type": "string | undefined"
227
+ "type": "HTMLInputElement[\"autocomplete\"] | undefined"
259
228
  },
260
229
  {
261
230
  "name": "formatter",
262
231
  "description": "Function to format value when the input field.\n\nOnly active when the input field does not have focus,\nsimilar to the accessible input [masking example from Filament Group](https://filamentgroup.github.io/politespace/demo/demo.html).",
263
- "type": "(value: string) => string"
232
+ "type": "((value: string) => string) | undefined"
233
+ }
234
+ ],
235
+ "events": []
236
+ }
237
+ },
238
+ {
239
+ "name": "w-icon",
240
+ "description": "\n---\n",
241
+ "doc-url": "",
242
+ "attributes": [
243
+ {
244
+ "name": "name",
245
+ "description": "Icon filename (without .svg)",
246
+ "value": { "type": "string" }
247
+ },
248
+ {
249
+ "name": "size",
250
+ "description": "Size: small, medium, large or pixel value (e.g. \"32px\").",
251
+ "value": {
252
+ "type": "'small' | 'medium' | 'large' | `${number}px` | undefined",
253
+ "default": "\"medium\""
254
+ }
255
+ },
256
+ {
257
+ "name": "locale",
258
+ "description": "Locale used for `<title>` text.\n\nReads the `lang` attribute from `<html>`, falls back to 'en'.",
259
+ "value": { "type": "string" }
260
+ }
261
+ ],
262
+ "events": [],
263
+ "js": {
264
+ "properties": [
265
+ {
266
+ "name": "name",
267
+ "description": "Icon filename (without .svg)",
268
+ "type": "string"
269
+ },
270
+ {
271
+ "name": "size",
272
+ "description": "Size: small, medium, large or pixel value (e.g. \"32px\").",
273
+ "type": "'small' | 'medium' | 'large' | `${number}px` | undefined"
274
+ },
275
+ {
276
+ "name": "locale",
277
+ "description": "Locale used for `<title>` text.\n\nReads the `lang` attribute from `<html>`, falls back to 'en'.",
278
+ "type": "string"
264
279
  }
265
280
  ],
266
281
  "events": []
@@ -268,7 +283,7 @@
268
283
  },
269
284
  {
270
285
  "name": "w-affix",
271
- "description": "This component is usually used in other components like form elements to show a prefix or suffix. See for example `w-textfield`.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-affix--docs)\n---\n",
286
+ "description": "This component is usually used in other components like form elements to show a prefix or suffix. See for example `w-textfield`.\n\n## Accessibility Note\nDue to shadow DOM encapsulation, ARIA attributes (like `aria-describedby`, `aria-labelledby`)\ncannot reference elements across shadow boundaries. This means:\n- Non-interactive affixes (text labels, icons) cannot be connected to the parent input via ARIA\n- Interactive affixes (buttons) must have their own `aria-label` (already implemented)\n- Do NOT attempt to reference affix content from parent components via ARIA ID references - it won't work\n\nFor non-interactive labels (e.g., currency symbols), consider including the information in the\nmain label or placeholder instead of relying on ARIA to announce affix content.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-affix--docs)\n---\n",
272
287
  "doc-url": "",
273
288
  "attributes": [
274
289
  {
@@ -285,7 +300,10 @@
285
300
  "description": "Add this property to render a clickable Warp search icon.",
286
301
  "value": { "type": "boolean", "default": "false" }
287
302
  },
288
- { "name": "label", "value": { "type": "string", "default": "''" } },
303
+ {
304
+ "name": "label",
305
+ "value": { "type": "string", "default": "\"\"" }
306
+ },
289
307
  {
290
308
  "name": "icon",
291
309
  "value": { "type": "string | null", "default": "null" }
@@ -321,7 +339,7 @@
321
339
  "name": "variant",
322
340
  "value": {
323
341
  "type": "'negative' | 'positive' | 'warning' | 'info'",
324
- "default": "'info'"
342
+ "default": "\"info\""
325
343
  }
326
344
  },
327
345
  {
@@ -330,7 +348,7 @@
330
348
  },
331
349
  {
332
350
  "name": "role",
333
- "value": { "type": "string", "default": "'alert'" }
351
+ "value": { "type": "string", "default": "\"alert\"" }
334
352
  }
335
353
  ],
336
354
  "events": [],
@@ -353,44 +371,90 @@
353
371
  "attributes": [
354
372
  {
355
373
  "name": "autofocus",
374
+ "description": "Focus the link after it is rendered",
356
375
  "value": { "type": "boolean", "default": "false" }
357
376
  },
358
377
  {
359
378
  "name": "variant",
379
+ "description": "Visual style for the link/button.",
360
380
  "value": {
361
- "type": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet'"
381
+ "type": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet' | undefined"
362
382
  }
363
383
  },
364
384
  {
365
385
  "name": "small",
386
+ "description": "Render a smaller version",
366
387
  "value": { "type": "boolean", "default": "false" }
367
388
  },
368
- { "name": "href", "value": { "type": "string" } },
389
+ {
390
+ "name": "href",
391
+ "description": "The URL the link points to",
392
+ "value": { "type": "string | undefined" }
393
+ },
369
394
  {
370
395
  "name": "disabled",
396
+ "description": "Applies disabled styling, but you need to disable clicks on your own.\n\nThe component renders an `<a>` element; `disabled` affects styling, but does not inherently prevent navigation. If you need to fully disable interaction, omit `href` and/or prevent default click behavior.",
371
397
  "value": { "type": "boolean", "default": "false" }
372
398
  },
373
- { "name": "target", "value": { "type": "string" } },
374
- { "name": "rel", "value": { "type": "string" } },
399
+ {
400
+ "name": "target",
401
+ "description": "Where to display the linked URL (e.g. `_blank`)",
402
+ "value": { "type": "string | undefined" }
403
+ },
404
+ {
405
+ "name": "rel",
406
+ "description": "Relationship of the linked URL.\n\nIf `target=\"_blank\"` and `rel` is not provided, the component uses `noopener`.",
407
+ "value": { "type": "string | undefined" }
408
+ },
375
409
  {
376
410
  "name": "full-width",
411
+ "description": "Makes the link take up the full width of its parent",
377
412
  "value": { "type": "boolean", "default": "false" }
378
413
  }
379
414
  ],
380
415
  "events": [],
381
416
  "js": {
382
417
  "properties": [
383
- { "name": "autofocus", "type": "boolean" },
418
+ {
419
+ "name": "autofocus",
420
+ "description": "Focus the link after it is rendered",
421
+ "type": "boolean"
422
+ },
384
423
  {
385
424
  "name": "variant",
386
- "type": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet'"
425
+ "description": "Visual style for the link/button.",
426
+ "type": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet' | undefined"
387
427
  },
388
- { "name": "small", "type": "boolean" },
389
- { "name": "href", "type": "string" },
390
- { "name": "disabled", "type": "boolean" },
391
- { "name": "target", "type": "string" },
392
- { "name": "rel", "type": "string" },
393
- { "name": "fullWidth", "type": "boolean" }
428
+ {
429
+ "name": "small",
430
+ "description": "Render a smaller version",
431
+ "type": "boolean"
432
+ },
433
+ {
434
+ "name": "href",
435
+ "description": "The URL the link points to",
436
+ "type": "string | undefined"
437
+ },
438
+ {
439
+ "name": "disabled",
440
+ "description": "Applies disabled styling, but you need to disable clicks on your own.\n\nThe component renders an `<a>` element; `disabled` affects styling, but does not inherently prevent navigation. If you need to fully disable interaction, omit `href` and/or prevent default click behavior.",
441
+ "type": "boolean"
442
+ },
443
+ {
444
+ "name": "target",
445
+ "description": "Where to display the linked URL (e.g. `_blank`)",
446
+ "type": "string | undefined"
447
+ },
448
+ {
449
+ "name": "rel",
450
+ "description": "Relationship of the linked URL.\n\nIf `target=\"_blank\"` and `rel` is not provided, the component uses `noopener`.",
451
+ "type": "string | undefined"
452
+ },
453
+ {
454
+ "name": "fullWidth",
455
+ "description": "Makes the link take up the full width of its parent",
456
+ "type": "boolean"
457
+ }
394
458
  ],
395
459
  "events": []
396
460
  }
@@ -403,7 +467,7 @@
403
467
  {
404
468
  "name": "type",
405
469
  "description": "Native button type.\nControls whether the internal button behaves as a regular button, submits a form, or resets a form. Defaults to `button`.",
406
- "value": { "type": "'button' | 'submit' | 'reset'" }
470
+ "value": { "type": "'button' | 'submit' | 'reset' | undefined" }
407
471
  },
408
472
  {
409
473
  "name": "autofocus",
@@ -414,7 +478,7 @@
414
478
  "name": "variant",
415
479
  "description": "Visual style of the button.\nDefaults to `secondary`. Use the variant that matches the action priority, risk, and placement.",
416
480
  "value": {
417
- "type": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet' | 'pill' | 'link'"
481
+ "type": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet' | 'pill' | 'link' | undefined"
418
482
  }
419
483
  },
420
484
  {
@@ -440,12 +504,12 @@
440
504
  {
441
505
  "name": "href",
442
506
  "description": "URL for rendering the button as a link.\nWhen set, the component renders `w-link` instead of a native `button`.",
443
- "value": { "type": "string" }
507
+ "value": { "type": "string | undefined" }
444
508
  },
445
509
  {
446
510
  "name": "target",
447
511
  "description": "Link browsing context.\nPassed to the rendered link when `href` is set.",
448
- "value": { "type": "string" }
512
+ "value": { "type": "string | undefined" }
449
513
  },
450
514
  {
451
515
  "name": "disabled",
@@ -455,7 +519,7 @@
455
519
  {
456
520
  "name": "rel",
457
521
  "description": "Link relationship.\nPassed to the rendered link when `href` is set. If `target=\"_blank\"` is set and `rel` is omitted, `noopener` is used.",
458
- "value": { "type": "string" }
522
+ "value": { "type": "string | undefined" }
459
523
  },
460
524
  {
461
525
  "name": "full-width",
@@ -465,27 +529,27 @@
465
529
  {
466
530
  "name": "button-class",
467
531
  "description": "Deprecated class applied to the internal control\nThis class is applied inside the shadow DOM and is unlikely to have the desired effect. Use attributes or CSS variables to customize the button appearance.",
468
- "value": { "type": "string" }
532
+ "value": { "type": "string | undefined" }
469
533
  },
470
534
  {
471
535
  "name": "name",
472
536
  "description": "Form control name.\nUsed when the button participates in form handling.",
473
- "value": { "type": "string" }
537
+ "value": { "type": "string | undefined" }
474
538
  },
475
539
  {
476
540
  "name": "value",
477
541
  "description": "Form control value.\nUsed with `name` when the button participates in form handling. Resets to its initial value when the form is reset.",
478
- "value": { "type": "string" }
542
+ "value": { "type": "string | undefined" }
479
543
  },
480
544
  {
481
545
  "name": "commandfor",
482
546
  "description": "The [commandfor HTML attribute](https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API#html_attributes) for Invoker Commands.",
483
- "value": { "type": "string" }
547
+ "value": { "type": "string | undefined" }
484
548
  },
485
549
  {
486
550
  "name": "command",
487
551
  "description": "The [command HTML attribute](https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API#html_attributes) for Invoker Commands.",
488
- "value": { "type": "string" }
552
+ "value": { "type": "string | undefined" }
489
553
  }
490
554
  ],
491
555
  "events": [],
@@ -494,7 +558,7 @@
494
558
  {
495
559
  "name": "type",
496
560
  "description": "Native button type.\nControls whether the internal button behaves as a regular button, submits a form, or resets a form. Defaults to `button`.",
497
- "type": "'button' | 'submit' | 'reset'"
561
+ "type": "'button' | 'submit' | 'reset' | undefined"
498
562
  },
499
563
  {
500
564
  "name": "autofocus",
@@ -504,7 +568,7 @@
504
568
  {
505
569
  "name": "variant",
506
570
  "description": "Visual style of the button.\nDefaults to `secondary`. Use the variant that matches the action priority, risk, and placement.",
507
- "type": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet' | 'pill' | 'link'"
571
+ "type": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet' | 'pill' | 'link' | undefined"
508
572
  },
509
573
  {
510
574
  "name": "quiet",
@@ -529,12 +593,12 @@
529
593
  {
530
594
  "name": "href",
531
595
  "description": "URL for rendering the button as a link.\nWhen set, the component renders `w-link` instead of a native `button`.",
532
- "type": "string"
596
+ "type": "string | undefined"
533
597
  },
534
598
  {
535
599
  "name": "target",
536
600
  "description": "Link browsing context.\nPassed to the rendered link when `href` is set.",
537
- "type": "string"
601
+ "type": "string | undefined"
538
602
  },
539
603
  {
540
604
  "name": "disabled",
@@ -544,7 +608,7 @@
544
608
  {
545
609
  "name": "rel",
546
610
  "description": "Link relationship.\nPassed to the rendered link when `href` is set. If `target=\"_blank\"` is set and `rel` is omitted, `noopener` is used.",
547
- "type": "string"
611
+ "type": "string | undefined"
548
612
  },
549
613
  {
550
614
  "name": "fullWidth",
@@ -554,27 +618,27 @@
554
618
  {
555
619
  "name": "buttonClass",
556
620
  "description": "Deprecated class applied to the internal control\nThis class is applied inside the shadow DOM and is unlikely to have the desired effect. Use attributes or CSS variables to customize the button appearance.",
557
- "type": "string"
621
+ "type": "string | undefined"
558
622
  },
559
623
  {
560
624
  "name": "name",
561
625
  "description": "Form control name.\nUsed when the button participates in form handling.",
562
- "type": "string"
626
+ "type": "string | undefined"
563
627
  },
564
628
  {
565
629
  "name": "value",
566
630
  "description": "Form control value.\nUsed with `name` when the button participates in form handling. Resets to its initial value when the form is reset.",
567
- "type": "string"
631
+ "type": "string | undefined"
568
632
  },
569
633
  {
570
634
  "name": "commandfor",
571
635
  "description": "The [commandfor HTML attribute](https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API#html_attributes) for Invoker Commands.",
572
- "type": "string"
636
+ "type": "string | undefined"
573
637
  },
574
638
  {
575
639
  "name": "command",
576
640
  "description": "The [command HTML attribute](https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API#html_attributes) for Invoker Commands.",
577
- "type": "string"
641
+ "type": "string | undefined"
578
642
  }
579
643
  ],
580
644
  "events": []
@@ -595,7 +659,7 @@
595
659
  "description": "Preferred placement relative to the trigger element.\nSets the initial direction for positioning, for example `top`, `right`, `bottom`, or `left` variants.",
596
660
  "value": {
597
661
  "type": "'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end'",
598
- "default": "'bottom'"
662
+ "default": "\"bottom\""
599
663
  }
600
664
  },
601
665
  {
@@ -737,14 +801,14 @@
737
801
  "name": "variant",
738
802
  "description": "Controls the badge color treatment.\nIf omitted, the badge uses neutral styling without reflecting a `variant` attribute.\nAccepted values are `neutral`, `info`, `positive`, `warning`, `negative`, `disabled`, `price`, and `sponsored`. If omitted, the badge uses neutral styling without reflecting a `variant` attribute.",
739
803
  "value": {
740
- "type": "'neutral' | 'info' | 'positive' | 'warning' | 'negative' | 'disabled' | 'price' | 'sponsored'"
804
+ "type": "'neutral' | 'info' | 'positive' | 'warning' | 'negative' | 'disabled' | 'price' | 'sponsored' | undefined"
741
805
  }
742
806
  },
743
807
  {
744
808
  "name": "position",
745
809
  "description": "Positions the badge in a corner of a parent element.\nUse this with a parent element that has `position: relative`. When set, the badge uses absolute positioning and adjusts its corner radii so it sits flush against the selected corner.\nUse this with a parent element that has `position: relative`. Accepted values are `top-left`, `top-right`, `bottom-right`, and `bottom-left`.",
746
810
  "value": {
747
- "type": "'top-left' | 'top-right' | 'bottom-right' | 'bottom-left'"
811
+ "type": "'top-left' | 'top-right' | 'bottom-right' | 'bottom-left' | undefined"
748
812
  }
749
813
  }
750
814
  ],
@@ -760,12 +824,12 @@
760
824
  {
761
825
  "name": "variant",
762
826
  "description": "Controls the badge color treatment.\nIf omitted, the badge uses neutral styling without reflecting a `variant` attribute.\nAccepted values are `neutral`, `info`, `positive`, `warning`, `negative`, `disabled`, `price`, and `sponsored`. If omitted, the badge uses neutral styling without reflecting a `variant` attribute.",
763
- "type": "'neutral' | 'info' | 'positive' | 'warning' | 'negative' | 'disabled' | 'price' | 'sponsored'"
827
+ "type": "'neutral' | 'info' | 'positive' | 'warning' | 'negative' | 'disabled' | 'price' | 'sponsored' | undefined"
764
828
  },
765
829
  {
766
830
  "name": "position",
767
831
  "description": "Positions the badge in a corner of a parent element.\nUse this with a parent element that has `position: relative`. When set, the badge uses absolute positioning and adjusts its corner radii so it sits flush against the selected corner.\nUse this with a parent element that has `position: relative`. Accepted values are `top-left`, `top-right`, `bottom-right`, and `bottom-left`.",
768
- "type": "'top-left' | 'top-right' | 'bottom-right' | 'bottom-left'"
832
+ "type": "'top-left' | 'top-right' | 'bottom-right' | 'bottom-left' | undefined"
769
833
  }
770
834
  ],
771
835
  "events": []
@@ -799,7 +863,7 @@
799
863
  {
800
864
  "name": "role",
801
865
  "description": "ARIA role for the box wrapper.\nDefaults to a role of `region`. Set `role=\"none\"` to override this behaviour for purely visual grouping, or set a specific role when the box has a clearer semantic purpose.",
802
- "value": { "type": "string", "default": "'region'" }
866
+ "value": { "type": "string", "default": "\"region\"" }
803
867
  }
804
868
  ],
805
869
  "events": [],
@@ -851,6 +915,42 @@
851
915
  "events": []
852
916
  }
853
917
  },
918
+ {
919
+ "name": "w-breadcrumb-item",
920
+ "description": "Represents one item in a `w-breadcrumbs` trail.\nRenders the slotted label as a link when `href` is set, or as text when it is not, and adds a separator after non-current items.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-breadcrumbs--docs)\n---\n\n\n### **Slots:**\n - _default_ - The breadcrumb label content.",
921
+ "doc-url": "",
922
+ "attributes": [
923
+ {
924
+ "name": "current-page",
925
+ "description": "Marks this item as the current page.\nUse this on the final breadcrumb item so it exposes `aria-current=\"page\"` and does not render a trailing separator.",
926
+ "value": { "type": "boolean", "default": "false" }
927
+ },
928
+ {
929
+ "name": "href",
930
+ "description": "URL for linked breadcrumb items.\nWhen omitted, the item renders as non-focusable text.",
931
+ "value": { "type": "string | null", "default": "null" }
932
+ }
933
+ ],
934
+ "slots": [
935
+ { "name": "", "description": "The breadcrumb label content." }
936
+ ],
937
+ "events": [],
938
+ "js": {
939
+ "properties": [
940
+ {
941
+ "name": "currentPage",
942
+ "description": "Marks this item as the current page.\nUse this on the final breadcrumb item so it exposes `aria-current=\"page\"` and does not render a trailing separator.",
943
+ "type": "boolean"
944
+ },
945
+ {
946
+ "name": "href",
947
+ "description": "URL for linked breadcrumb items.\nWhen omitted, the item renders as non-focusable text.",
948
+ "type": "string | null"
949
+ }
950
+ ],
951
+ "events": []
952
+ }
953
+ },
854
954
  {
855
955
  "name": "w-card",
856
956
  "description": "Card is a layout component used for separating content areas on a page.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-card--docs)\n---\n",
@@ -902,77 +1002,77 @@
902
1002
  "attributes": [
903
1003
  {
904
1004
  "name": "name",
905
- "description": "The name of the checkbox, submitted as a name/value pair with form data.",
1005
+ "description": "The name of the checkbox.\n\nWhen the checkbox is checked and belongs to a form, this name is submitted with the checkbox value. If the checkbox is inside a `w-checkbox-group` with a name, the group name is used when the checkbox does not have its own name.",
906
1006
  "value": { "type": "string | undefined" }
907
1007
  },
908
1008
  {
909
1009
  "name": "value",
910
- "description": "The value of the checkbox, submitted as a name/value pair with form data.",
1010
+ "description": "The value submitted when the checkbox is checked.\n\nIf no value attribute is set, the checkbox defaults to `on`. Unchecked and disabled checkboxes do not submit a value.",
911
1011
  "value": { "type": "string | null", "default": "null" }
912
1012
  },
913
1013
  {
914
1014
  "name": "indeterminate",
915
- "description": "Draws the checkbox in an indeterminate state.",
1015
+ "description": "Whether the checkbox is visually indeterminate.\n\nUse this for parent options that represent a mixed set of child selections. Clicking the checkbox clears the indeterminate state and sets the checkbox to checked.",
916
1016
  "value": { "type": "boolean", "default": "false" }
917
1017
  },
918
1018
  {
919
1019
  "name": "checked",
920
- "description": "Draws the checkbox in a checked state (reflected to attribute).",
1020
+ "description": "Whether the checkbox is checked.\n\nChecked checkboxes submit their value with form data. The property is reflected to the `checked` attribute.",
921
1021
  "value": { "type": "boolean", "default": "false" }
922
1022
  },
923
1023
  {
924
1024
  "name": "disabled",
925
- "description": "Disables the checkbox.",
1025
+ "description": "Whether the checkbox is disabled.\n\nDisabled checkboxes cannot be focused, changed, or submitted with form data.",
926
1026
  "value": { "type": "boolean", "default": "false" }
927
1027
  },
928
1028
  {
929
1029
  "name": "required",
930
- "description": "Makes the checkbox a required field.",
1030
+ "description": "Whether the checkbox must be checked before form submission.\n\nA required checkbox is invalid until it is checked. For requiring at least one option in a set, use `required` on `w-checkbox-group`.",
931
1031
  "value": { "type": "boolean", "default": "false" }
932
1032
  },
933
1033
  {
934
1034
  "name": "invalid",
935
- "description": "Draws the checkbox in an invalid state.",
1035
+ "description": "Whether the checkbox is visually invalid.\n\nUse this to show an externally managed validation error. Required validation also sets the invalid state after the user interacts with the checkbox or tries to submit the form.",
936
1036
  "value": { "type": "boolean", "default": "false" }
937
1037
  }
938
1038
  ],
939
1039
  "events": [{ "name": "change", "type": "Event" }],
940
1040
  "js": {
941
1041
  "properties": [
942
- { "name": "input", "type": "HTMLInputElement | null" },
1042
+ { "name": "input", "type": "HTMLInputElement" },
943
1043
  {
944
1044
  "name": "name",
945
- "description": "The name of the checkbox, submitted as a name/value pair with form data.",
1045
+ "description": "The name of the checkbox.\n\nWhen the checkbox is checked and belongs to a form, this name is submitted with the checkbox value. If the checkbox is inside a `w-checkbox-group` with a name, the group name is used when the checkbox does not have its own name.",
946
1046
  "type": "string | undefined"
947
1047
  },
948
1048
  {
949
1049
  "name": "value",
950
- "description": "The value of the checkbox, submitted as a name/value pair with form data.",
1050
+ "description": "The value submitted when the checkbox is checked.\n\nIf no value attribute is set, the checkbox defaults to `on`. Unchecked and disabled checkboxes do not submit a value.",
951
1051
  "type": "string | null"
952
1052
  },
953
1053
  {
954
1054
  "name": "indeterminate",
955
- "description": "Draws the checkbox in an indeterminate state.",
1055
+ "description": "Whether the checkbox is visually indeterminate.\n\nUse this for parent options that represent a mixed set of child selections. Clicking the checkbox clears the indeterminate state and sets the checkbox to checked.",
956
1056
  "type": "boolean"
957
1057
  },
958
1058
  {
959
1059
  "name": "checked",
960
- "description": "Draws the checkbox in a checked state (reflected to attribute).",
1060
+ "description": "Whether the checkbox is checked.\n\nChecked checkboxes submit their value with form data. The property is reflected to the `checked` attribute.",
961
1061
  "type": "boolean"
962
1062
  },
963
1063
  {
964
1064
  "name": "disabled",
965
- "description": "Disables the checkbox.",
1065
+ "description": "Whether the checkbox is disabled.\n\nDisabled checkboxes cannot be focused, changed, or submitted with form data.",
966
1066
  "type": "boolean"
967
1067
  },
968
1068
  {
969
1069
  "name": "required",
970
- "description": "Makes the checkbox a required field.",
1070
+ "description": "Whether the checkbox must be checked before form submission.\n\nA required checkbox is invalid until it is checked. For requiring at least one option in a set, use `required` on `w-checkbox-group`.",
971
1071
  "type": "boolean"
972
1072
  },
973
1073
  {
974
1074
  "name": "invalid",
975
- "description": "Draws the checkbox in an invalid state.",
1075
+ "description": "Whether the checkbox is visually invalid.\n\nUse this to show an externally managed validation error. Required validation also sets the invalid state after the user interacts with the checkbox or tries to submit the form.",
976
1076
  "type": "boolean"
977
1077
  },
978
1078
  {
@@ -996,33 +1096,37 @@
996
1096
  },
997
1097
  {
998
1098
  "name": "w-checkbox-group",
999
- "description": "\n---\n\n\n### **Methods:**\n - **checkValidity(): _boolean_** - Checks whether the group passes constraint validation\n- **reportValidity(): _boolean_** - Checks validity and shows the validation message if invalid\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox group.",
1099
+ "description": "Checkboxes allow users to select multiple options from a list of choices.\n\nUse with `w-checkbox`.\n\n## Architecture Note\nThis component uses a <div> wrapper instead of the more semantic <fieldset> element.\nNote that w-radio-group uses <fieldset>, which provides better accessibility and follows\nHTML best practices. This inconsistency exists for historical reasons and may be addressed\nin a future major version to align both on the more semantic approach.\n\nTODO: Align w-checkbox-group to use <fieldset> in a future major version after assessing\nbackwards compatibility implications (CSS selectors, etc.).\n---\n\n\n### **Methods:**\n - **checkValidity(): _boolean_** - Checks whether the group passes constraint validation\n- **reportValidity(): _boolean_** - Checks validity and shows the validation message if invalid\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox group.",
1000
1100
  "doc-url": "",
1001
1101
  "attributes": [
1002
1102
  {
1003
1103
  "name": "label",
1004
- "description": "The group label displayed above the checkboxes.",
1005
- "value": { "type": "string" }
1104
+ "description": "The group label displayed above the checkboxes.\n\nUse this to describe the shared question or topic for the checkbox options. The label is connected to the internal group for assistive technologies.",
1105
+ "value": { "type": "string | undefined" }
1006
1106
  },
1007
1107
  {
1008
1108
  "name": "name",
1009
- "description": "The name applied to child checkboxes when they do not provide one.",
1010
- "value": { "type": "string" }
1109
+ "description": "The name applied to child checkboxes when they do not provide one.\n\nUse this when the grouped checkboxes should submit values under the same form field name. Individual checkboxes can still override the group name with their own `name`.",
1110
+ "value": { "type": "string | undefined" }
1011
1111
  },
1012
1112
  {
1013
1113
  "name": "optional",
1014
- "description": "Whether to show optional text next to the label.",
1114
+ "description": "Whether to show optional text next to the label.\n\nUse this to indicate that selecting an option from the group is not required.",
1015
1115
  "value": { "type": "boolean", "default": "false" }
1016
1116
  },
1017
- { "name": "help-text", "value": { "type": "string" } },
1117
+ {
1118
+ "name": "help-text",
1119
+ "description": "Help text displayed below the checkbox group.\n\nUse this for supporting guidance or validation feedback. When required validation fails, the group replaces this text with the localized required message.",
1120
+ "value": { "type": "string | undefined" }
1121
+ },
1018
1122
  {
1019
1123
  "name": "required",
1020
- "description": "Makes the checkbox group required.",
1124
+ "description": "Whether at least one checkbox in the group must be selected.\n\nRequired validation is managed by the group. The individual checkboxes provide the submitted form values.",
1021
1125
  "value": { "type": "boolean", "default": "false" }
1022
1126
  },
1023
1127
  {
1024
1128
  "name": "invalid",
1025
- "description": "Marks the checkbox group as invalid.",
1129
+ "description": "Whether the checkbox group is visually invalid.\n\nUse this to show an externally managed validation error for the group. The invalid state is also shared with child checkboxes for consistent styling and accessibility state.",
1026
1130
  "value": { "type": "boolean", "default": "false" }
1027
1131
  }
1028
1132
  ],
@@ -1031,28 +1135,32 @@
1031
1135
  "properties": [
1032
1136
  {
1033
1137
  "name": "label",
1034
- "description": "The group label displayed above the checkboxes.",
1035
- "type": "string"
1138
+ "description": "The group label displayed above the checkboxes.\n\nUse this to describe the shared question or topic for the checkbox options. The label is connected to the internal group for assistive technologies.",
1139
+ "type": "string | undefined"
1036
1140
  },
1037
1141
  {
1038
1142
  "name": "name",
1039
- "description": "The name applied to child checkboxes when they do not provide one.",
1040
- "type": "string"
1143
+ "description": "The name applied to child checkboxes when they do not provide one.\n\nUse this when the grouped checkboxes should submit values under the same form field name. Individual checkboxes can still override the group name with their own `name`.",
1144
+ "type": "string | undefined"
1041
1145
  },
1042
1146
  {
1043
1147
  "name": "optional",
1044
- "description": "Whether to show optional text next to the label.",
1148
+ "description": "Whether to show optional text next to the label.\n\nUse this to indicate that selecting an option from the group is not required.",
1045
1149
  "type": "boolean"
1046
1150
  },
1047
- { "name": "helpText", "type": "string" },
1151
+ {
1152
+ "name": "helpText",
1153
+ "description": "Help text displayed below the checkbox group.\n\nUse this for supporting guidance or validation feedback. When required validation fails, the group replaces this text with the localized required message.",
1154
+ "type": "string | undefined"
1155
+ },
1048
1156
  {
1049
1157
  "name": "required",
1050
- "description": "Makes the checkbox group required.",
1158
+ "description": "Whether at least one checkbox in the group must be selected.\n\nRequired validation is managed by the group. The individual checkboxes provide the submitted form values.",
1051
1159
  "type": "boolean"
1052
1160
  },
1053
1161
  {
1054
1162
  "name": "invalid",
1055
- "description": "Marks the checkbox group as invalid.",
1163
+ "description": "Whether the checkbox group is visually invalid.\n\nUse this to show an externally managed validation error for the group. The invalid state is also shared with child checkboxes for consistent styling and accessibility state.",
1056
1164
  "type": "boolean"
1057
1165
  }
1058
1166
  ],
@@ -1066,78 +1174,78 @@
1066
1174
  "attributes": [
1067
1175
  {
1068
1176
  "name": "options",
1069
- "description": "The available options to select from",
1177
+ "description": "The available options to select from.\n\nUse this for framework usage, application state, or remote search results. When `options` contains entries, it is used instead of child `<option>` elements.",
1070
1178
  "value": { "type": "ComboboxOption[]", "default": "[]" }
1071
1179
  },
1072
1180
  {
1073
1181
  "name": "label",
1074
- "description": "Label above input",
1075
- "value": { "type": "string | undefined", "default": "''" }
1182
+ "description": "The label displayed above the input.\n\nUse this to give the combobox a visible and accessible name.",
1183
+ "value": { "type": "string | undefined", "default": "\"\"" }
1076
1184
  },
1077
1185
  {
1078
1186
  "name": "placeholder",
1079
- "description": "Input placeholder",
1080
- "value": { "type": "string | undefined", "default": "''" }
1187
+ "description": "Placeholder text displayed when the input is empty.\n\nUse this as a short hint for the expected input. Do not use placeholder text as a replacement for a label.",
1188
+ "value": { "type": "string | undefined", "default": "\"\"" }
1081
1189
  },
1082
1190
  {
1083
1191
  "name": "value",
1084
- "description": "The input value",
1085
- "value": { "type": "string", "default": "''" }
1192
+ "description": "The selected or typed value.\n\nWhen an option is selected, this is set to the option value. The displayed text may differ when the option has a separate label.",
1193
+ "value": { "type": "string", "default": "\"\"" }
1086
1194
  },
1087
1195
  {
1088
1196
  "name": "open-on-focus",
1089
- "description": "Whether the popover opens when focus is on the text field",
1197
+ "description": "Whether the option list opens when the input receives focus.\n\nUse this when users should see available options before they start typing.",
1090
1198
  "value": { "type": "boolean", "default": "false" }
1091
1199
  },
1092
1200
  {
1093
1201
  "name": "select-on-blur",
1094
- "description": "Select active option on blur",
1202
+ "description": "Whether the active option is selected when the input loses focus.\n\nWhen enabled, the combobox selects the keyboard-highlighted option, or an option whose value exactly matches the current input value, on blur.",
1095
1203
  "value": { "type": "boolean", "default": "true" }
1096
1204
  },
1097
1205
  {
1098
1206
  "name": "match-text-segments",
1099
- "description": "Whether the matching text segments in the options should be highlighted",
1207
+ "description": "Whether matching text segments in options are highlighted.\n\nUse this to visually emphasize the part of each option that matches the current input value.",
1100
1208
  "value": { "type": "boolean", "default": "false" }
1101
1209
  },
1102
1210
  {
1103
1211
  "name": "disable-static-filtering",
1104
- "description": "Disable client-side static filtering",
1212
+ "description": "Whether built-in client-side filtering is disabled.\n\nUse this for remote search or externally filtered results. When disabled, all entries in `options` are rendered as provided.",
1105
1213
  "value": { "type": "boolean", "default": "false" }
1106
1214
  },
1107
1215
  {
1108
1216
  "name": "invalid",
1109
- "description": "Renders the input field in an invalid state",
1217
+ "description": "Whether the combobox is visually invalid.\n\nUse this to show an externally managed validation error. Pair it with `help-text` to explain how to fix the error.",
1110
1218
  "value": { "type": "boolean", "default": "false" }
1111
1219
  },
1112
1220
  {
1113
1221
  "name": "help-text",
1114
- "description": "The content to display as the help text",
1115
- "value": { "type": "string | undefined", "default": "''" }
1222
+ "description": "Help text displayed below the input.\n\nUse this for supporting guidance or validation feedback.",
1223
+ "value": { "type": "string | undefined", "default": "\"\"" }
1116
1224
  },
1117
1225
  {
1118
1226
  "name": "disabled",
1119
- "description": "Whether the element is disabled",
1227
+ "description": "Whether the combobox is disabled.\n\nDisabled comboboxes cannot be focused, changed, or submitted with form data.",
1120
1228
  "value": { "type": "boolean", "default": "false" }
1121
1229
  },
1122
1230
  {
1123
1231
  "name": "required",
1124
- "description": "Whether the element is required",
1232
+ "description": "Whether the combobox is required before form submission.\n\nUse this when the user must provide a value before submitting the form.",
1125
1233
  "value": { "type": "boolean", "default": "false" }
1126
1234
  },
1127
1235
  {
1128
1236
  "name": "optional",
1129
- "description": "Whether to show optional text",
1237
+ "description": "Whether to show optional text next to the label.\n\nUse this to indicate that the combobox is not required.",
1130
1238
  "value": { "type": "boolean", "default": "false" }
1131
1239
  },
1132
1240
  {
1133
1241
  "name": "name",
1134
- "description": "Name attribute for form submission",
1135
- "value": { "type": "string | undefined", "default": "''" }
1242
+ "description": "The name submitted with the combobox value.\n\nUse this when the combobox belongs to a form and its value should be included in form data.",
1243
+ "value": { "type": "string | undefined", "default": "\"\"" }
1136
1244
  },
1137
1245
  {
1138
1246
  "name": "autocomplete",
1139
- "description": "Autocomplete attribute for the input field",
1140
- "value": { "type": "string | undefined", "default": "'off'" }
1247
+ "description": "The autocomplete attribute passed to the internal input.\n\nDefaults to `off`. Set this when browser autocomplete should be enabled or scoped to a specific autocomplete token.",
1248
+ "value": { "type": "string | undefined", "default": "\"off\"" }
1141
1249
  }
1142
1250
  ],
1143
1251
  "events": [],
@@ -1145,77 +1253,77 @@
1145
1253
  "properties": [
1146
1254
  {
1147
1255
  "name": "options",
1148
- "description": "The available options to select from",
1256
+ "description": "The available options to select from.\n\nUse this for framework usage, application state, or remote search results. When `options` contains entries, it is used instead of child `<option>` elements.",
1149
1257
  "type": "ComboboxOption[]"
1150
1258
  },
1151
1259
  {
1152
1260
  "name": "label",
1153
- "description": "Label above input",
1261
+ "description": "The label displayed above the input.\n\nUse this to give the combobox a visible and accessible name.",
1154
1262
  "type": "string | undefined"
1155
1263
  },
1156
1264
  {
1157
1265
  "name": "placeholder",
1158
- "description": "Input placeholder",
1266
+ "description": "Placeholder text displayed when the input is empty.\n\nUse this as a short hint for the expected input. Do not use placeholder text as a replacement for a label.",
1159
1267
  "type": "string | undefined"
1160
1268
  },
1161
1269
  {
1162
1270
  "name": "value",
1163
- "description": "The input value",
1271
+ "description": "The selected or typed value.\n\nWhen an option is selected, this is set to the option value. The displayed text may differ when the option has a separate label.",
1164
1272
  "type": "string"
1165
1273
  },
1166
1274
  {
1167
1275
  "name": "openOnFocus",
1168
- "description": "Whether the popover opens when focus is on the text field",
1276
+ "description": "Whether the option list opens when the input receives focus.\n\nUse this when users should see available options before they start typing.",
1169
1277
  "type": "boolean"
1170
1278
  },
1171
1279
  {
1172
1280
  "name": "selectOnBlur",
1173
- "description": "Select active option on blur",
1281
+ "description": "Whether the active option is selected when the input loses focus.\n\nWhen enabled, the combobox selects the keyboard-highlighted option, or an option whose value exactly matches the current input value, on blur.",
1174
1282
  "type": "boolean"
1175
1283
  },
1176
1284
  {
1177
1285
  "name": "matchTextSegments",
1178
- "description": "Whether the matching text segments in the options should be highlighted",
1286
+ "description": "Whether matching text segments in options are highlighted.\n\nUse this to visually emphasize the part of each option that matches the current input value.",
1179
1287
  "type": "boolean"
1180
1288
  },
1181
1289
  {
1182
1290
  "name": "disableStaticFiltering",
1183
- "description": "Disable client-side static filtering",
1291
+ "description": "Whether built-in client-side filtering is disabled.\n\nUse this for remote search or externally filtered results. When disabled, all entries in `options` are rendered as provided.",
1184
1292
  "type": "boolean"
1185
1293
  },
1186
1294
  {
1187
1295
  "name": "invalid",
1188
- "description": "Renders the input field in an invalid state",
1296
+ "description": "Whether the combobox is visually invalid.\n\nUse this to show an externally managed validation error. Pair it with `help-text` to explain how to fix the error.",
1189
1297
  "type": "boolean"
1190
1298
  },
1191
1299
  {
1192
1300
  "name": "helpText",
1193
- "description": "The content to display as the help text",
1301
+ "description": "Help text displayed below the input.\n\nUse this for supporting guidance or validation feedback.",
1194
1302
  "type": "string | undefined"
1195
1303
  },
1196
1304
  {
1197
1305
  "name": "disabled",
1198
- "description": "Whether the element is disabled",
1306
+ "description": "Whether the combobox is disabled.\n\nDisabled comboboxes cannot be focused, changed, or submitted with form data.",
1199
1307
  "type": "boolean"
1200
1308
  },
1201
1309
  {
1202
1310
  "name": "required",
1203
- "description": "Whether the element is required",
1311
+ "description": "Whether the combobox is required before form submission.\n\nUse this when the user must provide a value before submitting the form.",
1204
1312
  "type": "boolean"
1205
1313
  },
1206
1314
  {
1207
1315
  "name": "optional",
1208
- "description": "Whether to show optional text",
1316
+ "description": "Whether to show optional text next to the label.\n\nUse this to indicate that the combobox is not required.",
1209
1317
  "type": "boolean"
1210
1318
  },
1211
1319
  {
1212
1320
  "name": "name",
1213
- "description": "Name attribute for form submission",
1321
+ "description": "The name submitted with the combobox value.\n\nUse this when the combobox belongs to a form and its value should be included in form data.",
1214
1322
  "type": "string | undefined"
1215
1323
  },
1216
1324
  {
1217
1325
  "name": "autocomplete",
1218
- "description": "Autocomplete attribute for the input field",
1326
+ "description": "The autocomplete attribute passed to the internal input.\n\nDefaults to `off`. Set this when browser autocomplete should be enabled or scoped to a specific autocomplete token.",
1219
1327
  "type": "string | undefined"
1220
1328
  }
1221
1329
  ],
@@ -1227,59 +1335,83 @@
1227
1335
  "description": "An input for dates.\n\nUses the `lang` attribute on either the element or on `<html>` to determine the locale options.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-datepicker--docs)\n---\n",
1228
1336
  "doc-url": "",
1229
1337
  "attributes": [
1230
- { "name": "label", "value": { "type": "string" } },
1338
+ {
1339
+ "name": "label",
1340
+ "description": "The label displayed above the date input.\n\nUse this to give the datepicker a visible and accessible name.",
1341
+ "value": { "type": "string | undefined" }
1342
+ },
1231
1343
  {
1232
1344
  "name": "lang",
1233
- "description": "Takes precedence over the `<html>` lang attribute.",
1345
+ "description": "The locale used for calendar labels and date formatting.\n\nThis takes precedence over the `<html>` `lang` attribute. Supported built-in locales are `en`, `nb`, `sv`, `da`, and `fi`.",
1234
1346
  "value": { "type": "string" }
1235
1347
  },
1236
- { "name": "name", "value": { "type": "string" } },
1237
- { "name": "value", "value": { "type": "string" } },
1348
+ {
1349
+ "name": "name",
1350
+ "description": "The name submitted with the date value.\n\nUse this when the datepicker belongs to a form and its value should be included in form data.",
1351
+ "value": { "type": "string | undefined" }
1352
+ },
1353
+ {
1354
+ "name": "value",
1355
+ "description": "The selected date value.\n\nUse an ISO date string in `YYYY-MM-DD` format. The value is submitted with the form and is reset to its initial value when the form resets.",
1356
+ "value": { "type": "string | undefined" }
1357
+ },
1238
1358
  {
1239
1359
  "name": "header-format",
1240
- "description": "Decides the format of the date as shown in the calendar header.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
1241
- "value": { "type": "string", "default": "'MMMM yyyy'" }
1360
+ "description": "The date format used in the calendar header.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
1361
+ "value": { "type": "string", "default": "\"MMMM yyyy\"" }
1242
1362
  },
1243
1363
  {
1244
1364
  "name": "weekday-format",
1245
- "description": "Decides the format of the weekday as shown above the grid of dates in the calendar.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
1246
- "value": { "type": "string", "default": "'EEEEEE'" }
1365
+ "description": "The weekday format shown above the calendar grid.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
1366
+ "value": { "type": "string", "default": "\"EEEEEE\"" }
1247
1367
  },
1248
1368
  {
1249
1369
  "name": "day-format",
1250
- "description": "Decides the format of the day in the calendar as read to screen readers.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
1251
- "value": { "type": "string", "default": "'PPPP'" }
1370
+ "description": "The date format used for calendar day accessible names.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
1371
+ "value": { "type": "string", "default": "\"PPPP\"" }
1252
1372
  }
1253
1373
  ],
1254
1374
  "events": [],
1255
1375
  "js": {
1256
1376
  "properties": [
1257
- { "name": "label", "type": "string" },
1377
+ {
1378
+ "name": "label",
1379
+ "description": "The label displayed above the date input.\n\nUse this to give the datepicker a visible and accessible name.",
1380
+ "type": "string | undefined"
1381
+ },
1258
1382
  {
1259
1383
  "name": "lang",
1260
- "description": "Takes precedence over the `<html>` lang attribute.",
1384
+ "description": "The locale used for calendar labels and date formatting.\n\nThis takes precedence over the `<html>` `lang` attribute. Supported built-in locales are `en`, `nb`, `sv`, `da`, and `fi`.",
1261
1385
  "type": "string"
1262
1386
  },
1263
- { "name": "name", "type": "string" },
1264
- { "name": "value", "type": "string" },
1387
+ {
1388
+ "name": "name",
1389
+ "description": "The name submitted with the date value.\n\nUse this when the datepicker belongs to a form and its value should be included in form data.",
1390
+ "type": "string | undefined"
1391
+ },
1392
+ {
1393
+ "name": "value",
1394
+ "description": "The selected date value.\n\nUse an ISO date string in `YYYY-MM-DD` format. The value is submitted with the form and is reset to its initial value when the form resets.",
1395
+ "type": "string | undefined"
1396
+ },
1265
1397
  {
1266
1398
  "name": "headerFormat",
1267
- "description": "Decides the format of the date as shown in the calendar header.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
1399
+ "description": "The date format used in the calendar header.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
1268
1400
  "type": "string"
1269
1401
  },
1270
1402
  {
1271
1403
  "name": "weekdayFormat",
1272
- "description": "Decides the format of the weekday as shown above the grid of dates in the calendar.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
1404
+ "description": "The weekday format shown above the calendar grid.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
1273
1405
  "type": "string"
1274
1406
  },
1275
1407
  {
1276
1408
  "name": "isDayDisabled",
1277
- "description": "Lets you control if a date in the calendar should be disabled.\n\nThis needs to be set on the element instance in JavaScript, not as an HTML attribute.",
1278
- "type": "(day: Date) => boolean"
1409
+ "description": "Function used to disable dates in the calendar.\n\nSet this on the element instance in JavaScript, not as an HTML attribute. Disabled dates cannot be selected from the calendar.",
1410
+ "type": "((day: Date) => boolean) | undefined"
1279
1411
  },
1280
1412
  {
1281
1413
  "name": "dayFormat",
1282
- "description": "Decides the format of the day in the calendar as read to screen readers.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
1414
+ "description": "The date format used for calendar day accessible names.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
1283
1415
  "type": "string"
1284
1416
  },
1285
1417
  { "name": "isCalendarOpen", "type": "boolean" },
@@ -1304,33 +1436,52 @@
1304
1436
  },
1305
1437
  {
1306
1438
  "name": "w-expandable",
1307
- "description": "Expandable is a layout component used for creating expandable content areas on a page.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-expandable--docs)\n---\n\n\n### **Slots:**\n - **title** - Alternative to the `title` attribute should you need to provide some additional markup.",
1439
+ "description": "Expandable is a layout component used for creating expandable content areas on a page.\n---\n\n\n### **Slots:**\n - **title** - Alternative to the `title` attribute should you need to provide some additional markup.",
1308
1440
  "doc-url": "",
1309
1441
  "attributes": [
1310
1442
  {
1311
1443
  "name": "expanded",
1444
+ "description": "Controls component's expanded state",
1312
1445
  "value": { "type": "boolean", "default": "false" }
1313
1446
  },
1314
- { "name": "title", "value": { "type": "string" } },
1447
+ {
1448
+ "name": "title",
1449
+ "description": "Component title. Used to display the title value which is always present regardless of whether the component is open or closed.",
1450
+ "value": { "type": "string" }
1451
+ },
1315
1452
  {
1316
1453
  "name": "box",
1454
+ "description": "Will make the expandable a Box",
1317
1455
  "value": { "type": "boolean", "default": "false" }
1318
1456
  },
1319
1457
  {
1320
1458
  "name": "bleed",
1459
+ "description": "Will make the expandable full-width on the sm breakpoint size",
1321
1460
  "value": { "type": "boolean", "default": "false" }
1322
1461
  },
1323
- { "name": "button-class", "value": { "type": "string" } },
1324
- { "name": "content-class", "value": { "type": "string" } },
1462
+ {
1463
+ "name": "button-class",
1464
+ "value": { "type": "string | undefined" }
1465
+ },
1466
+ {
1467
+ "name": "content-class",
1468
+ "value": { "type": "string | undefined" }
1469
+ },
1325
1470
  {
1326
1471
  "name": "no-chevron",
1472
+ "description": "Controls chevron visibility",
1327
1473
  "value": { "type": "boolean", "default": "false" }
1328
1474
  },
1329
1475
  {
1330
1476
  "name": "animated",
1477
+ "description": "Will animate the expansion/collapse",
1331
1478
  "value": { "type": "boolean", "default": "false" }
1332
1479
  },
1333
- { "name": "heading-level", "value": { "type": "number" } },
1480
+ {
1481
+ "name": "heading-level",
1482
+ "description": "Wrap the toggle button in a heading element with the specified level. If headingLevel is not specified, the button will not be wrapped by a heading element.",
1483
+ "value": { "type": "number | undefined" }
1484
+ },
1334
1485
  {
1335
1486
  "name": "_hasTitle",
1336
1487
  "value": { "type": "boolean", "default": "true" }
@@ -1349,17 +1500,43 @@
1349
1500
  "events": [],
1350
1501
  "js": {
1351
1502
  "properties": [
1352
- { "name": "expanded", "type": "boolean" },
1353
- { "name": "title", "type": "string" },
1354
- { "name": "box", "type": "boolean" },
1355
- { "name": "bleed", "type": "boolean" },
1356
- { "name": "buttonClass", "type": "string" },
1357
- { "name": "contentClass", "type": "string" },
1358
- { "name": "noChevron", "type": "boolean" },
1359
- { "name": "animated", "type": "boolean" },
1360
- { "name": "headingLevel", "type": "number" },
1361
- { "name": "_hasTitle", "type": "boolean" },
1362
- { "name": "_showChevronUp", "type": "boolean" }
1503
+ {
1504
+ "name": "expanded",
1505
+ "description": "Controls component's expanded state",
1506
+ "type": "boolean"
1507
+ },
1508
+ {
1509
+ "name": "title",
1510
+ "description": "Component title. Used to display the title value which is always present regardless of whether the component is open or closed.",
1511
+ "type": "string"
1512
+ },
1513
+ {
1514
+ "name": "box",
1515
+ "description": "Will make the expandable a Box",
1516
+ "type": "boolean"
1517
+ },
1518
+ {
1519
+ "name": "bleed",
1520
+ "description": "Will make the expandable full-width on the sm breakpoint size",
1521
+ "type": "boolean"
1522
+ },
1523
+ { "name": "buttonClass", "type": "string | undefined" },
1524
+ { "name": "contentClass", "type": "string | undefined" },
1525
+ {
1526
+ "name": "noChevron",
1527
+ "description": "Controls chevron visibility",
1528
+ "type": "boolean"
1529
+ },
1530
+ {
1531
+ "name": "animated",
1532
+ "description": "Will animate the expansion/collapse",
1533
+ "type": "boolean"
1534
+ },
1535
+ {
1536
+ "name": "headingLevel",
1537
+ "description": "Wrap the toggle button in a heading element with the specified level. If headingLevel is not specified, the button will not be wrapped by a heading element.",
1538
+ "type": "number | undefined"
1539
+ }
1363
1540
  ],
1364
1541
  "events": []
1365
1542
  }
@@ -1374,7 +1551,7 @@
1374
1551
  "description": "Controls if the modal should show or hide.\n\nYou can also call the `open()` and `close()` methods.",
1375
1552
  "value": { "type": "boolean", "default": "false" }
1376
1553
  },
1377
- { "name": "content-id", "value": { "type": "string" } },
1554
+ { "name": "content-id", "value": { "type": "string | undefined" } },
1378
1555
  {
1379
1556
  "name": "ignore-backdrop-clicks",
1380
1557
  "description": "Ignores clicks to the backdrop when set",
@@ -1406,7 +1583,7 @@
1406
1583
  "description": "Controls if the modal should show or hide.\n\nYou can also call the `open()` and `close()` methods.",
1407
1584
  "type": "boolean"
1408
1585
  },
1409
- { "name": "contentId", "type": "string" },
1586
+ { "name": "contentId", "type": "string | undefined" },
1410
1587
  {
1411
1588
  "name": "ignoreBackdropClicks",
1412
1589
  "description": "Ignores clicks to the backdrop when set",
@@ -1517,12 +1694,12 @@
1517
1694
  {
1518
1695
  "name": "base-url",
1519
1696
  "description": "The base URL used to construct page links, for example `/search?page=`.\n\nThe page number is appended to this URL.",
1520
- "value": { "type": "string" }
1697
+ "value": { "type": "string | undefined" }
1521
1698
  },
1522
1699
  {
1523
1700
  "name": "pages",
1524
1701
  "description": "The total number of pages.",
1525
- "value": { "type": "number" }
1702
+ "value": { "type": "number", "default": "0" }
1526
1703
  },
1527
1704
  {
1528
1705
  "name": "current-page",
@@ -1547,7 +1724,7 @@
1547
1724
  {
1548
1725
  "name": "baseUrl",
1549
1726
  "description": "The base URL used to construct page links, for example `/search?page=`.\n\nThe page number is appended to this URL.",
1550
- "type": "string"
1727
+ "type": "string | undefined"
1551
1728
  },
1552
1729
  {
1553
1730
  "name": "pages",
@@ -1589,17 +1766,23 @@
1589
1766
  "description": "Whether the pill should be rendered as a suggestion.",
1590
1767
  "value": { "type": "boolean", "default": "false" }
1591
1768
  },
1592
- { "name": "open-sr-label", "value": { "type": "string" } },
1769
+ {
1770
+ "name": "open-sr-label",
1771
+ "value": { "type": "string | undefined" }
1772
+ },
1593
1773
  {
1594
1774
  "name": "open-aria-label",
1595
1775
  "description": "Label read by screen readers when targeting the pill.",
1596
- "value": { "type": "string" }
1776
+ "value": { "type": "string | undefined" }
1777
+ },
1778
+ {
1779
+ "name": "close-sr-label",
1780
+ "value": { "type": "string | undefined" }
1597
1781
  },
1598
- { "name": "close-sr-label", "value": { "type": "string" } },
1599
1782
  {
1600
1783
  "name": "close-aria-label",
1601
1784
  "description": "Label read by screen readers when targeting the close button.",
1602
- "value": { "type": "string" }
1785
+ "value": { "type": "string | undefined" }
1603
1786
  }
1604
1787
  ],
1605
1788
  "events": [
@@ -1626,17 +1809,17 @@
1626
1809
  "description": "Whether the pill should be rendered as a suggestion.",
1627
1810
  "type": "boolean"
1628
1811
  },
1629
- { "name": "openSrLabel", "type": "string" },
1812
+ { "name": "openSrLabel", "type": "string | undefined" },
1630
1813
  {
1631
1814
  "name": "openAriaLabel",
1632
1815
  "description": "Label read by screen readers when targeting the pill.",
1633
- "type": "string"
1816
+ "type": "string | undefined"
1634
1817
  },
1635
- { "name": "closeSrLabel", "type": "string" },
1818
+ { "name": "closeSrLabel", "type": "string | undefined" },
1636
1819
  {
1637
1820
  "name": "closeAriaLabel",
1638
1821
  "description": "Label read by screen readers when targeting the close button.",
1639
- "type": "string"
1822
+ "type": "string | undefined"
1640
1823
  }
1641
1824
  ],
1642
1825
  "events": [
@@ -1728,18 +1911,18 @@
1728
1911
  },
1729
1912
  {
1730
1913
  "name": "w-radio-group",
1731
- "description": "Radios allow users to select a single option from a list of choices.\n\nUse with `w-radio`.\n---\n\n\n### **Slots:**\n - **label** - Alternative to the `label` attribute should you need custom HTML.\n- **help-text** - Alternative to the `help-text` attribute should you need custom HTML.",
1914
+ "description": "Radios allow users to select a single option from a list of choices.\n\nUse with `w-radio`.\n---\n\n\n### **Slots:**\n - **label** - Alternative to the `label` attribute should you need custom HTML.\n- **help-text** - Alternative to the `help-text` attribute should you need custom HTML. ## Architecture Note This component uses semantic <fieldset> element for grouping radio controls, which provides better accessibility and follows HTML best practices. Note that w-checkbox-group currently uses <div> instead - this inconsistency exists for historical reasons and may be addressed in a future major version to align both on the more semantic approach. TODO: Align w-checkbox-group to also use <fieldset> in a future major version after assessing backwards compatibility implications (CSS selectors, etc.).",
1732
1915
  "doc-url": "",
1733
1916
  "attributes": [
1734
1917
  {
1735
1918
  "name": "label",
1736
1919
  "description": "Label for the radio group.",
1737
- "value": { "type": "string", "default": "''" }
1920
+ "value": { "type": "string", "default": "\"\"" }
1738
1921
  },
1739
1922
  {
1740
1923
  "name": "help-text",
1741
1924
  "description": "Help text for the radio group.\n\nIf you set `required` and `invalid` the group gets a default error message, but you can override it with this attribute.",
1742
- "value": { "type": "string", "default": "''" }
1925
+ "value": { "type": "string", "default": "\"\"" }
1743
1926
  },
1744
1927
  {
1745
1928
  "name": "optional",
@@ -1774,7 +1957,7 @@
1774
1957
  },
1775
1958
  {
1776
1959
  "name": "help-text",
1777
- "description": "Alternative to the `help-text` attribute should you need custom HTML."
1960
+ "description": "Alternative to the `help-text` attribute should you need custom HTML. ## Architecture Note This component uses semantic <fieldset> element for grouping radio controls, which provides better accessibility and follows HTML best practices. Note that w-checkbox-group currently uses <div> instead - this inconsistency exists for historical reasons and may be addressed in a future major version to align both on the more semantic approach. TODO: Align w-checkbox-group to also use <fieldset> in a future major version after assessing backwards compatibility implications (CSS selectors, etc.)."
1778
1961
  }
1779
1962
  ],
1780
1963
  "events": [],
@@ -1837,7 +2020,7 @@
1837
2020
  {
1838
2021
  "name": "help-text",
1839
2022
  "description": "The content displayed as the help text.\n\nPaired with `invalid` to show the text as a validation error.",
1840
- "value": { "type": "string" }
2023
+ "value": { "type": "string | undefined" }
1841
2024
  },
1842
2025
  {
1843
2026
  "name": "invalid",
@@ -1852,12 +2035,12 @@
1852
2035
  {
1853
2036
  "name": "hint",
1854
2037
  "description": "The content displayed as the help text.",
1855
- "value": { "type": "string" }
2038
+ "value": { "type": "string | undefined" }
1856
2039
  },
1857
2040
  {
1858
2041
  "name": "label",
1859
2042
  "description": "The content to display as the label.",
1860
- "value": { "type": "string" }
2043
+ "value": { "type": "string | undefined" }
1861
2044
  },
1862
2045
  {
1863
2046
  "name": "optional",
@@ -1882,12 +2065,12 @@
1882
2065
  {
1883
2066
  "name": "name",
1884
2067
  "description": "The [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#name) of the select when submitting the form.",
1885
- "value": { "type": "string" }
2068
+ "value": { "type": "string | undefined" }
1886
2069
  },
1887
2070
  {
1888
2071
  "name": "value",
1889
2072
  "description": "Lets you set the current value.",
1890
- "value": { "type": "string" }
2073
+ "value": { "type": "string | undefined" }
1891
2074
  }
1892
2075
  ],
1893
2076
  "events": [{ "name": "change", "type": "CustomEvent" }],
@@ -1906,7 +2089,7 @@
1906
2089
  {
1907
2090
  "name": "helpText",
1908
2091
  "description": "The content displayed as the help text.\n\nPaired with `invalid` to show the text as a validation error.",
1909
- "type": "string"
2092
+ "type": "string | undefined"
1910
2093
  },
1911
2094
  {
1912
2095
  "name": "invalid",
@@ -1921,12 +2104,12 @@
1921
2104
  {
1922
2105
  "name": "hint",
1923
2106
  "description": "The content displayed as the help text.",
1924
- "type": "string"
2107
+ "type": "string | undefined"
1925
2108
  },
1926
2109
  {
1927
2110
  "name": "label",
1928
2111
  "description": "The content to display as the label.",
1929
- "type": "string"
2112
+ "type": "string | undefined"
1930
2113
  },
1931
2114
  {
1932
2115
  "name": "optional",
@@ -1951,12 +2134,12 @@
1951
2134
  {
1952
2135
  "name": "name",
1953
2136
  "description": "The [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#name) of the select when submitting the form.",
1954
- "type": "string"
2137
+ "type": "string | undefined"
1955
2138
  },
1956
2139
  {
1957
2140
  "name": "value",
1958
2141
  "description": "Lets you set the current value.",
1959
- "type": "string"
2142
+ "type": "string | undefined"
1960
2143
  }
1961
2144
  ],
1962
2145
  "events": [{ "name": "change", "type": "CustomEvent" }]
@@ -1970,30 +2153,27 @@
1970
2153
  {
1971
2154
  "name": "aria-label",
1972
2155
  "description": "Label for the range input.",
1973
- "value": {
1974
- "type": "string",
1975
- "default": "`label` from `w-slider`"
1976
- }
2156
+ "value": { "type": "string | null", "default": "null" }
1977
2157
  },
1978
2158
  {
1979
2159
  "name": "aria-description",
1980
2160
  "description": "Contextual information for assistive technology, should it be needed",
1981
- "value": { "type": "string" }
2161
+ "value": { "type": "string | null", "default": "null" }
1982
2162
  },
1983
2163
  {
1984
2164
  "name": "name",
1985
2165
  "description": "The name of this input field in the form. The canonical source of the value is the text field.",
1986
- "value": { "type": "string" }
2166
+ "value": { "type": "string | undefined" }
1987
2167
  },
1988
2168
  {
1989
2169
  "name": "value",
1990
2170
  "description": "The initial value, if any",
1991
- "value": { "type": "string" }
2171
+ "value": { "type": "string | undefined" }
1992
2172
  },
1993
2173
  {
1994
2174
  "name": "placeholder",
1995
2175
  "description": "Placeholder in empty text fields",
1996
- "value": { "type": "string" }
2176
+ "value": { "type": "string | undefined" }
1997
2177
  }
1998
2178
  ],
1999
2179
  "events": [
@@ -2013,27 +2193,27 @@
2013
2193
  {
2014
2194
  "name": "ariaLabel",
2015
2195
  "description": "Label for the range input.",
2016
- "type": "string"
2196
+ "type": "string | null"
2017
2197
  },
2018
2198
  {
2019
2199
  "name": "ariaDescription",
2020
2200
  "description": "Contextual information for assistive technology, should it be needed",
2021
- "type": "string"
2201
+ "type": "string | null"
2022
2202
  },
2023
2203
  {
2024
2204
  "name": "name",
2025
2205
  "description": "The name of this input field in the form. The canonical source of the value is the text field.",
2026
- "type": "string"
2206
+ "type": "string | undefined"
2027
2207
  },
2028
2208
  {
2029
2209
  "name": "value",
2030
2210
  "description": "The initial value, if any",
2031
- "type": "string"
2211
+ "type": "string | undefined"
2032
2212
  },
2033
2213
  {
2034
2214
  "name": "placeholder",
2035
2215
  "description": "Placeholder in empty text fields",
2036
- "type": "string"
2216
+ "type": "string | undefined"
2037
2217
  }
2038
2218
  ],
2039
2219
  "events": [
@@ -2058,7 +2238,7 @@
2058
2238
  {
2059
2239
  "name": "label",
2060
2240
  "description": "The slider fieldset label. Required for proper accessibility.\n\nIf you need to display HTML, use the `label` slot instead (f. ex. `<legend class=\"sr-only\" slot=\"label\">Production year</legend>`)",
2061
- "value": { "type": "string" }
2241
+ "value": { "type": "string | undefined" }
2062
2242
  },
2063
2243
  {
2064
2244
  "name": "disabled",
@@ -2072,12 +2252,12 @@
2072
2252
  {
2073
2253
  "name": "error",
2074
2254
  "description": "Validation error text, if any",
2075
- "value": { "type": "string" }
2255
+ "value": { "type": "string | undefined" }
2076
2256
  },
2077
2257
  {
2078
2258
  "name": "help-text",
2079
2259
  "description": "Additional description to show below the fieldset",
2080
- "value": { "type": "string" }
2260
+ "value": { "type": "string | undefined" }
2081
2261
  },
2082
2262
  {
2083
2263
  "name": "invalid",
@@ -2089,30 +2269,35 @@
2089
2269
  "description": "Ensures a child slider thumb has a value before allowing the containing form to submit",
2090
2270
  "value": { "type": "boolean", "default": "false" }
2091
2271
  },
2272
+ {
2273
+ "name": "optional",
2274
+ "description": "Whether to show the optional indicator after the label.",
2275
+ "value": { "type": "boolean", "default": "false" }
2276
+ },
2092
2277
  {
2093
2278
  "name": "min",
2094
2279
  "description": "The minimum allowed value in the range inputs",
2095
- "value": { "type": "string", "default": "0" }
2280
+ "value": { "type": "string | undefined", "default": "0" }
2096
2281
  },
2097
2282
  {
2098
2283
  "name": "max",
2099
2284
  "description": "The maximum allowed value in the range inputs",
2100
- "value": { "type": "string", "default": "100" }
2285
+ "value": { "type": "string | undefined", "default": "100" }
2101
2286
  },
2102
2287
  {
2103
2288
  "name": "markers",
2104
2289
  "description": "Pass a value similar to step to create visual markers at that interval",
2105
- "value": { "type": "number" }
2290
+ "value": { "type": "number | undefined" }
2106
2291
  },
2107
2292
  {
2108
2293
  "name": "step",
2109
2294
  "description": "ets step on the range input to jump between values when dragging",
2110
- "value": { "type": "number" }
2295
+ "value": { "type": "number | undefined" }
2111
2296
  },
2112
2297
  {
2113
2298
  "name": "suffix",
2114
2299
  "description": "Suffix used in text input fields and for the min and max values of the slider",
2115
- "value": { "type": "string" }
2300
+ "value": { "type": "string | undefined" }
2116
2301
  },
2117
2302
  {
2118
2303
  "name": "hidden-textfield",
@@ -2148,7 +2333,7 @@
2148
2333
  {
2149
2334
  "name": "label",
2150
2335
  "description": "The slider fieldset label. Required for proper accessibility.\n\nIf you need to display HTML, use the `label` slot instead (f. ex. `<legend class=\"sr-only\" slot=\"label\">Production year</legend>`)",
2151
- "type": "string"
2336
+ "type": "string | undefined"
2152
2337
  },
2153
2338
  { "name": "disabled", "type": "boolean" },
2154
2339
  {
@@ -2159,12 +2344,12 @@
2159
2344
  {
2160
2345
  "name": "error",
2161
2346
  "description": "Validation error text, if any",
2162
- "type": "string"
2347
+ "type": "string | undefined"
2163
2348
  },
2164
2349
  {
2165
2350
  "name": "helpText",
2166
2351
  "description": "Additional description to show below the fieldset",
2167
- "type": "string"
2352
+ "type": "string | undefined"
2168
2353
  },
2169
2354
  {
2170
2355
  "name": "invalid",
@@ -2176,30 +2361,35 @@
2176
2361
  "description": "Ensures a child slider thumb has a value before allowing the containing form to submit",
2177
2362
  "type": "boolean"
2178
2363
  },
2364
+ {
2365
+ "name": "optional",
2366
+ "description": "Whether to show the optional indicator after the label.",
2367
+ "type": "boolean"
2368
+ },
2179
2369
  {
2180
2370
  "name": "min",
2181
2371
  "description": "The minimum allowed value in the range inputs",
2182
- "type": "string"
2372
+ "type": "string | undefined"
2183
2373
  },
2184
2374
  {
2185
2375
  "name": "max",
2186
2376
  "description": "The maximum allowed value in the range inputs",
2187
- "type": "string"
2377
+ "type": "string | undefined"
2188
2378
  },
2189
2379
  {
2190
2380
  "name": "markers",
2191
2381
  "description": "Pass a value similar to step to create visual markers at that interval",
2192
- "type": "number"
2382
+ "type": "number | undefined"
2193
2383
  },
2194
2384
  {
2195
2385
  "name": "step",
2196
2386
  "description": "ets step on the range input to jump between values when dragging",
2197
- "type": "number"
2387
+ "type": "number | undefined"
2198
2388
  },
2199
2389
  {
2200
2390
  "name": "suffix",
2201
2391
  "description": "Suffix used in text input fields and for the min and max values of the slider",
2202
- "type": "string"
2392
+ "type": "string | undefined"
2203
2393
  },
2204
2394
  {
2205
2395
  "name": "hiddenTextfield",
@@ -2209,22 +2399,75 @@
2209
2399
  {
2210
2400
  "name": "valueFormatter",
2211
2401
  "description": "Formatter for the tooltip and input mask values",
2212
- "type": "(value: string, slot: SliderSlot) => string"
2402
+ "type": "((value: string, slot: SliderSlot) => string) | undefined"
2213
2403
  },
2214
2404
  {
2215
2405
  "name": "tooltipFormatter",
2216
2406
  "description": "Overrides valueFormatter for the tooltip.\n\nUse in open-ended sliders to show for example \"300+ hk\" instead of \"Max\" in the tooltip.",
2217
- "type": "(value: string, slot: SliderSlot) => string"
2407
+ "type": "((value: string, slot: SliderSlot) => string) | undefined"
2218
2408
  },
2219
2409
  {
2220
2410
  "name": "labelFormatter",
2221
2411
  "description": "Formatter for the min and max labels below the range.",
2222
- "type": "(slot: SliderSlot) => string"
2412
+ "type": "((slot: SliderSlot) => string) | undefined"
2413
+ },
2414
+ { "name": "_label" }
2415
+ ],
2416
+ "events": []
2417
+ }
2418
+ },
2419
+ {
2420
+ "name": "w-snackbar-item",
2421
+ "description": "An item to show in a `w-snackbar`.\n\nSee the `create` function on `w-snackbar` for a convenience API which helps you make snackbar items.\n---\n\n\n### **Methods:**\n - **close(): _void_** - Remove the snackbar item from the document.\n\nMoves focus to the last focused element outside of the snackbar item, if available.\n\n### **Slots:**\n - **default** - the snackbar message.\n- **icon** - icon preceeding the message.\n- **action** - action following the message.\n\n### **CSS Properties:**\n - **--w-c-snackbar-item-radius** - undefined _(default: undefined)_\n- **--w-c-snackbar-item-max-width** - undefined _(default: undefined)_\n- **--w-c-snackbar-item-min-width** - undefined _(default: undefined)_\n- **--w-c-snackbar-item-padding** - undefined _(default: undefined)_\n- **--w-c-snackbar-item-bg** - undefined _(default: undefined)_\n- **--w-c-snackbar-item-action-bg-active** - undefined _(default: undefined)_\n- **--w-c-snackbar-item-action-bg-hover** - undefined _(default: undefined)_\n- **--w-c-snackbar-item-color** - undefined _(default: undefined)_\n- **--w-c-snackbar-item-action-color-active** - undefined _(default: undefined)_\n- **--w-c-snackbar-item-action-color-hover** - undefined _(default: undefined)_\n- **--w-c-snackbar-item-box-shadow** - undefined _(default: undefined)_\n\n### **CSS Parts:**\n - **item** - the container wrapping the message, icon and actions.\n- **icon** - the icon for the variant.\n- **message** - the default slot, body of the snackbar item.\n- **action** - close and action button.",
2422
+ "doc-url": "",
2423
+ "attributes": [
2424
+ {
2425
+ "name": "action-placement",
2426
+ "description": "The placement of the action and close buttons.",
2427
+ "value": { "type": "'inline' | 'block'", "default": "\"inline\"" }
2428
+ },
2429
+ {
2430
+ "name": "duration",
2431
+ "description": "How long the message should stay in the document before removing itself.",
2432
+ "value": { "type": "number" }
2433
+ }
2434
+ ],
2435
+ "slots": [
2436
+ { "name": "default", "description": "the snackbar message." },
2437
+ { "name": "icon", "description": "icon preceeding the message." },
2438
+ { "name": "action", "description": "action following the message." }
2439
+ ],
2440
+ "events": [],
2441
+ "js": {
2442
+ "properties": [
2443
+ {
2444
+ "name": "actionPlacement",
2445
+ "description": "The placement of the action and close buttons.",
2446
+ "type": "'inline' | 'block'"
2447
+ },
2448
+ {
2449
+ "name": "duration",
2450
+ "description": "How long the message should stay in the document before removing itself.",
2451
+ "type": "number"
2223
2452
  }
2224
2453
  ],
2225
2454
  "events": []
2226
2455
  }
2227
2456
  },
2457
+ {
2458
+ "name": "w-snackbar",
2459
+ "description": "A Snackbar shows brief user feedback messages that overlay content, with an optional action such as Undo.\n\nInclude one `<w-snackbar></w-snackbar>` in the document `<body>`. Use the `create` function to create messages.\n---\n\n\n### **Methods:**\n - **create(message: _string_, options: _CreateSnackbarOptions_): __** - Creates a snackbar item and immediately adds it to the snackbar.\n\nBy default the snackbar item automatically closes after 4 seconds (`SnackbarDuration.Short`).\n\nIf you include an `action` in the options the default `duration` is\nset to 10 seconds (`SnackbarDuration.Long`) and can not be made shorter.\n\nA `duration` of 10 seconds or longer forces the close button to be visible.\n\nThe default `variant` is `neutral` which does not have an icon.\n\nSet `duration` to `SnackbarDuration.Infinite` if you want a persistent message.\n\n### **Slots:**\n - **default** - `w-snackbar-item` gets placed inside the default slot by the `create` function.\n\n### **CSS Properties:**\n - **--w-c-snackbar-container-gap** - undefined _(default: undefined)_\n- **--w-c-snackbar-position-bottom** - undefined _(default: undefined)_\n- **--w-c-snackbar-position-left** - undefined _(default: undefined)_\n- **--w-c-snackbar-position-right** - undefined _(default: undefined)_\n- **--w-c-snackbar-position-top** - undefined _(default: undefined)_\n- **--w-c-snackbar-z-index** - undefined _(default: undefined)_\n\n### **CSS Parts:**\n - **container** - the live region that positions messages on the screen.",
2460
+ "doc-url": "",
2461
+ "attributes": [],
2462
+ "slots": [
2463
+ {
2464
+ "name": "default",
2465
+ "description": "`w-snackbar-item` gets placed inside the default slot by the `create` function."
2466
+ }
2467
+ ],
2468
+ "events": [],
2469
+ "js": { "properties": [], "events": [] }
2470
+ },
2228
2471
  {
2229
2472
  "name": "w-step",
2230
2473
  "description": "Individual step component that shows a single step in a process\n---\n",
@@ -2421,7 +2664,7 @@
2421
2664
  "name": "active",
2422
2665
  "description": "The `id` of the panel that should be active.",
2423
2666
  "value": {
2424
- "type": "string",
2667
+ "type": "string | undefined",
2425
2668
  "default": "\"\" (Shows the first tab)"
2426
2669
  }
2427
2670
  }
@@ -2438,7 +2681,7 @@
2438
2681
  {
2439
2682
  "name": "active",
2440
2683
  "description": "The `id` of the panel that should be active.",
2441
- "type": "string"
2684
+ "type": "string | undefined"
2442
2685
  }
2443
2686
  ],
2444
2687
  "events": [
@@ -2468,32 +2711,32 @@
2468
2711
  {
2469
2712
  "name": "label",
2470
2713
  "description": "Either a `label` or an `aria-label` must be provided.",
2471
- "value": { "type": "string" }
2714
+ "value": { "type": "string | undefined" }
2472
2715
  },
2473
2716
  {
2474
2717
  "name": "help-text",
2475
2718
  "description": "Use in combination with `invalid` to show as a validation error message,\nor on its own to show a help text.",
2476
- "value": { "type": "string" }
2719
+ "value": { "type": "string | undefined" }
2477
2720
  },
2478
2721
  {
2479
2722
  "name": "maximum-rows",
2480
2723
  "description": "Sets the maximum number of text rows before the content starts scrolling.",
2481
- "value": { "type": "number" }
2724
+ "value": { "type": "number | undefined" }
2482
2725
  },
2483
2726
  {
2484
2727
  "name": "minimum-rows",
2485
2728
  "description": "Sets the minimum number of text rows the textarea should display",
2486
- "value": { "type": "number" }
2729
+ "value": { "type": "number | undefined" }
2487
2730
  },
2488
2731
  {
2489
2732
  "name": "name",
2490
2733
  "description": "The [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#name) of the input field when submitting the form",
2491
- "value": { "type": "string" }
2734
+ "value": { "type": "string | undefined" }
2492
2735
  },
2493
2736
  {
2494
2737
  "name": "placeholder",
2495
2738
  "description": "Set a text that is shown in the textarea when it doesn't have a value.\n\nPlaceholder text should not be used as a substitute for labeling the element with a visible label.",
2496
- "value": { "type": "string" }
2739
+ "value": { "type": "string | undefined" }
2497
2740
  },
2498
2741
  {
2499
2742
  "name": "read-only",
@@ -2512,7 +2755,7 @@
2512
2755
  {
2513
2756
  "name": "value",
2514
2757
  "description": "Lets you set the current value",
2515
- "value": { "type": "string" }
2758
+ "value": { "type": "string | undefined" }
2516
2759
  },
2517
2760
  {
2518
2761
  "name": "optional",
@@ -2536,32 +2779,32 @@
2536
2779
  {
2537
2780
  "name": "label",
2538
2781
  "description": "Either a `label` or an `aria-label` must be provided.",
2539
- "type": "string"
2782
+ "type": "string | undefined"
2540
2783
  },
2541
2784
  {
2542
2785
  "name": "helpText",
2543
2786
  "description": "Use in combination with `invalid` to show as a validation error message,\nor on its own to show a help text.",
2544
- "type": "string"
2787
+ "type": "string | undefined"
2545
2788
  },
2546
2789
  {
2547
2790
  "name": "maxRows",
2548
2791
  "description": "Sets the maximum number of text rows before the content starts scrolling.",
2549
- "type": "number"
2792
+ "type": "number | undefined"
2550
2793
  },
2551
2794
  {
2552
2795
  "name": "minRows",
2553
2796
  "description": "Sets the minimum number of text rows the textarea should display",
2554
- "type": "number"
2797
+ "type": "number | undefined"
2555
2798
  },
2556
2799
  {
2557
2800
  "name": "name",
2558
2801
  "description": "The [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#name) of the input field when submitting the form",
2559
- "type": "string"
2802
+ "type": "string | undefined"
2560
2803
  },
2561
2804
  {
2562
2805
  "name": "placeholder",
2563
2806
  "description": "Set a text that is shown in the textarea when it doesn't have a value.\n\nPlaceholder text should not be used as a substitute for labeling the element with a visible label.",
2564
- "type": "string"
2807
+ "type": "string | undefined"
2565
2808
  },
2566
2809
  { "name": "readOnly", "type": "boolean" },
2567
2810
  {
@@ -2577,7 +2820,7 @@
2577
2820
  {
2578
2821
  "name": "value",
2579
2822
  "description": "Lets you set the current value",
2580
- "type": "string"
2823
+ "type": "string | undefined"
2581
2824
  },
2582
2825
  {
2583
2826
  "name": "optional",
@@ -2601,8 +2844,41 @@
2601
2844
  ]
2602
2845
  },
2603
2846
  "css": {
2604
- "properties": [],
2605
- "pseudo-elements": []
2847
+ "properties": [
2848
+ { "name": "--w-c-snackbar-item-radius" },
2849
+ { "name": "--w-c-snackbar-item-max-width" },
2850
+ { "name": "--w-c-snackbar-item-min-width" },
2851
+ { "name": "--w-c-snackbar-item-padding" },
2852
+ { "name": "--w-c-snackbar-item-bg" },
2853
+ { "name": "--w-c-snackbar-item-action-bg-active" },
2854
+ { "name": "--w-c-snackbar-item-action-bg-hover" },
2855
+ { "name": "--w-c-snackbar-item-color" },
2856
+ { "name": "--w-c-snackbar-item-action-color-active" },
2857
+ { "name": "--w-c-snackbar-item-action-color-hover" },
2858
+ { "name": "--w-c-snackbar-item-box-shadow" },
2859
+ { "name": "--w-c-snackbar-container-gap" },
2860
+ { "name": "--w-c-snackbar-position-bottom" },
2861
+ { "name": "--w-c-snackbar-position-left" },
2862
+ { "name": "--w-c-snackbar-position-right" },
2863
+ { "name": "--w-c-snackbar-position-top" },
2864
+ { "name": "--w-c-snackbar-z-index" }
2865
+ ],
2866
+ "pseudo-elements": [
2867
+ {
2868
+ "name": "part(item)",
2869
+ "description": "the container wrapping the message, icon and actions."
2870
+ },
2871
+ { "name": "part(icon)", "description": "the icon for the variant." },
2872
+ {
2873
+ "name": "part(message)",
2874
+ "description": "the default slot, body of the snackbar item."
2875
+ },
2876
+ { "name": "part(action)", "description": "close and action button." },
2877
+ {
2878
+ "name": "part(container)",
2879
+ "description": "the live region that positions messages on the screen."
2880
+ }
2881
+ ]
2606
2882
  }
2607
2883
  }
2608
2884
  }