@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
@@ -2,141 +2,6 @@
2
2
  "schemaVersion": "1.0.0",
3
3
  "readme": "",
4
4
  "modules": [
5
- {
6
- "kind": "javascript-module",
7
- "path": "packages/icon/icon.ts",
8
- "declarations": [
9
- {
10
- "kind": "class",
11
- "description": "",
12
- "name": "WIcon",
13
- "members": [
14
- {
15
- "kind": "field",
16
- "name": "name",
17
- "type": {
18
- "text": "string"
19
- },
20
- "description": "Icon filename (without .svg)",
21
- "attribute": "name",
22
- "reflects": true
23
- },
24
- {
25
- "kind": "field",
26
- "name": "size",
27
- "type": {
28
- "text": "'small' | 'medium' | 'large' | string"
29
- },
30
- "description": "Size: small, medium, large or pixel value (e.g. \"32px\")",
31
- "attribute": "size",
32
- "reflects": true
33
- },
34
- {
35
- "kind": "field",
36
- "name": "locale",
37
- "type": {
38
- "text": "string"
39
- },
40
- "description": "Locale used in CDN URL",
41
- "attribute": "locale",
42
- "reflects": true
43
- },
44
- {
45
- "kind": "field",
46
- "name": "svg",
47
- "type": {
48
- "text": "SVGElement | null"
49
- },
50
- "privacy": "private",
51
- "default": "null",
52
- "description": "Parsed SVG element (not reflected as attribute)"
53
- },
54
- {
55
- "kind": "method",
56
- "name": "fetchIcon",
57
- "privacy": "private",
58
- "return": {
59
- "type": {
60
- "text": ""
61
- }
62
- },
63
- "parameters": [
64
- {
65
- "name": "iconName",
66
- "type": {
67
- "text": "string"
68
- },
69
- "description": "Name of the icon file"
70
- }
71
- ],
72
- "description": "Fetch an icon SVG from the CDN, with caching"
73
- },
74
- {
75
- "kind": "method",
76
- "name": "loadIcon",
77
- "privacy": "private",
78
- "return": {
79
- "type": {
80
- "text": "Promise<void>"
81
- }
82
- }
83
- }
84
- ],
85
- "attributes": [
86
- {
87
- "name": "name",
88
- "type": {
89
- "text": "string"
90
- },
91
- "description": "Icon filename (without .svg)",
92
- "fieldName": "name"
93
- },
94
- {
95
- "name": "size",
96
- "type": {
97
- "text": "'small' | 'medium' | 'large' | string"
98
- },
99
- "description": "Size: small, medium, large or pixel value (e.g. \"32px\")",
100
- "fieldName": "size"
101
- },
102
- {
103
- "name": "locale",
104
- "type": {
105
- "text": "string"
106
- },
107
- "description": "Locale used in CDN URL",
108
- "fieldName": "locale"
109
- }
110
- ],
111
- "superclass": {
112
- "name": "LitElement",
113
- "package": "lit"
114
- },
115
- "tagName": "w-icon",
116
- "customElement": true,
117
- "modulePath": "packages/icon/icon.ts",
118
- "definitionPath": "packages/icon/icon.ts"
119
- }
120
- ],
121
- "exports": [
122
- {
123
- "kind": "js",
124
- "name": "WIcon",
125
- "declaration": {
126
- "name": "WIcon",
127
- "module": "packages/icon/icon.ts"
128
- }
129
- },
130
- {
131
- "kind": "custom-element-definition",
132
- "name": "w-icon",
133
- "declaration": {
134
- "name": "WIcon",
135
- "module": "packages/icon/icon.ts"
136
- }
137
- }
138
- ]
139
- },
140
5
  {
141
6
  "kind": "javascript-module",
142
7
  "path": "packages/textfield/textfield.ts",
@@ -151,7 +16,7 @@
151
16
  "name": "suffix"
152
17
  },
153
18
  {
154
- "description": "Use with `<w-affix>` to include a prefix, for example a search icon.",
19
+ "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.",
155
20
  "name": "prefix"
156
21
  }
157
22
  ],
@@ -184,7 +49,7 @@
184
49
  "kind": "field",
185
50
  "name": "label",
186
51
  "type": {
187
- "text": "string"
52
+ "text": "string | undefined"
188
53
  },
189
54
  "description": "Either a `label` or an `aria-label` must be provided.",
190
55
  "attribute": "label",
@@ -194,18 +59,29 @@
194
59
  "kind": "field",
195
60
  "name": "helpText",
196
61
  "type": {
197
- "text": "string"
62
+ "text": "string | undefined"
198
63
  },
199
64
  "description": "Use in combination with `invalid` to show as a validation error message,\nor on its own to show a help text.",
200
65
  "summary": "Description shown below the input field",
201
66
  "attribute": "help-text",
202
67
  "reflects": true
203
68
  },
69
+ {
70
+ "kind": "field",
71
+ "name": "optional",
72
+ "type": {
73
+ "text": "boolean"
74
+ },
75
+ "default": "false",
76
+ "description": "Whether to show the optional indicator after the label.",
77
+ "attribute": "optional",
78
+ "reflects": true
79
+ },
204
80
  {
205
81
  "kind": "field",
206
82
  "name": "size",
207
83
  "type": {
208
- "text": "string"
84
+ "text": "string | undefined"
209
85
  },
210
86
  "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.",
211
87
  "attribute": "size",
@@ -215,7 +91,7 @@
215
91
  "kind": "field",
216
92
  "name": "max",
217
93
  "type": {
218
- "text": "number"
94
+ "text": "number | undefined"
219
95
  },
220
96
  "description": "Use with `type=\"number\"` to set the [maximum allowed value](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#maxlength).",
221
97
  "attribute": "max",
@@ -225,7 +101,7 @@
225
101
  "kind": "field",
226
102
  "name": "min",
227
103
  "type": {
228
- "text": "number"
104
+ "text": "number | undefined"
229
105
  },
230
106
  "description": "Use with `type=\"number\"` to set the [minimum allowed value](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#minlength).",
231
107
  "attribute": "min",
@@ -235,7 +111,7 @@
235
111
  "kind": "field",
236
112
  "name": "minLength",
237
113
  "type": {
238
- "text": "number"
114
+ "text": "number | undefined"
239
115
  },
240
116
  "deprecated": "Use the native `minlength` attribute",
241
117
  "attribute": "min-length",
@@ -245,7 +121,7 @@
245
121
  "kind": "field",
246
122
  "name": "minlength",
247
123
  "type": {
248
- "text": "number"
124
+ "text": "number | undefined"
249
125
  },
250
126
  "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.",
251
127
  "attribute": "minlength",
@@ -255,7 +131,7 @@
255
131
  "kind": "field",
256
132
  "name": "maxLength",
257
133
  "type": {
258
- "text": "number"
134
+ "text": "number | undefined"
259
135
  },
260
136
  "deprecated": "Use the native `maxlength` attribute",
261
137
  "attribute": "max-length",
@@ -265,7 +141,7 @@
265
141
  "kind": "field",
266
142
  "name": "maxlength",
267
143
  "type": {
268
- "text": "number"
144
+ "text": "number | undefined"
269
145
  },
270
146
  "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.",
271
147
  "attribute": "maxlength",
@@ -275,7 +151,7 @@
275
151
  "kind": "field",
276
152
  "name": "pattern",
277
153
  "type": {
278
- "text": "string"
154
+ "text": "string | undefined"
279
155
  },
280
156
  "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)",
281
157
  "attribute": "pattern",
@@ -285,7 +161,7 @@
285
161
  "kind": "field",
286
162
  "name": "placeholder",
287
163
  "type": {
288
- "text": "string"
164
+ "text": "string | undefined"
289
165
  },
290
166
  "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.",
291
167
  "summary": "Shown in the textfield when it doesn't have a value",
@@ -329,7 +205,7 @@
329
205
  "kind": "field",
330
206
  "name": "type",
331
207
  "type": {
332
- "text": "string"
208
+ "text": "string | undefined"
333
209
  },
334
210
  "description": "The [type of input](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types).",
335
211
  "attribute": "type",
@@ -339,7 +215,7 @@
339
215
  "kind": "field",
340
216
  "name": "value",
341
217
  "type": {
342
- "text": "string"
218
+ "text": "string | undefined"
343
219
  },
344
220
  "description": "Lets you set the current value.",
345
221
  "attribute": "value",
@@ -349,7 +225,7 @@
349
225
  "kind": "field",
350
226
  "name": "name",
351
227
  "type": {
352
- "text": "string"
228
+ "text": "string | undefined"
353
229
  },
354
230
  "description": "The [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#name) of the input field when submitting the form.",
355
231
  "attribute": "name",
@@ -359,7 +235,7 @@
359
235
  "kind": "field",
360
236
  "name": "step",
361
237
  "type": {
362
- "text": "number"
238
+ "text": "number | undefined"
363
239
  },
364
240
  "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.",
365
241
  "summary": "Forces `number` inputs to be a whole number of `step`",
@@ -370,7 +246,7 @@
370
246
  "kind": "field",
371
247
  "name": "autocomplete",
372
248
  "type": {
373
- "text": "string | undefined"
249
+ "text": "HTMLInputElement[\"autocomplete\"] | undefined"
374
250
  },
375
251
  "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.",
376
252
  "attribute": "autocomplete",
@@ -380,7 +256,7 @@
380
256
  "kind": "field",
381
257
  "name": "formatter",
382
258
  "type": {
383
- "text": "(value: string) => string"
259
+ "text": "((value: string) => string) | undefined"
384
260
  },
385
261
  "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).",
386
262
  "summary": "Function to format value when the input field"
@@ -403,9 +279,9 @@
403
279
  "name": "#initialValue",
404
280
  "privacy": "private",
405
281
  "type": {
406
- "text": "string | null"
282
+ "text": "string | undefined"
407
283
  },
408
- "default": "null"
284
+ "default": "undefined"
409
285
  },
410
286
  {
411
287
  "kind": "method",
@@ -473,7 +349,7 @@
473
349
  {
474
350
  "name": "label",
475
351
  "type": {
476
- "text": "string"
352
+ "text": "string | undefined"
477
353
  },
478
354
  "description": "Either a `label` or an `aria-label` must be provided.",
479
355
  "fieldName": "label"
@@ -481,16 +357,25 @@
481
357
  {
482
358
  "name": "help-text",
483
359
  "type": {
484
- "text": "string"
360
+ "text": "string | undefined"
485
361
  },
486
362
  "description": "Use in combination with `invalid` to show as a validation error message,\nor on its own to show a help text.",
487
363
  "summary": "Description shown below the input field",
488
364
  "fieldName": "helpText"
489
365
  },
366
+ {
367
+ "name": "optional",
368
+ "type": {
369
+ "text": "boolean"
370
+ },
371
+ "default": "false",
372
+ "description": "Whether to show the optional indicator after the label.",
373
+ "fieldName": "optional"
374
+ },
490
375
  {
491
376
  "name": "size",
492
377
  "type": {
493
- "text": "string"
378
+ "text": "string | undefined"
494
379
  },
495
380
  "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.",
496
381
  "fieldName": "size"
@@ -498,7 +383,7 @@
498
383
  {
499
384
  "name": "max",
500
385
  "type": {
501
- "text": "number"
386
+ "text": "number | undefined"
502
387
  },
503
388
  "description": "Use with `type=\"number\"` to set the [maximum allowed value](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#maxlength).",
504
389
  "fieldName": "max"
@@ -506,7 +391,7 @@
506
391
  {
507
392
  "name": "min",
508
393
  "type": {
509
- "text": "number"
394
+ "text": "number | undefined"
510
395
  },
511
396
  "description": "Use with `type=\"number\"` to set the [minimum allowed value](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#minlength).",
512
397
  "fieldName": "min"
@@ -514,7 +399,7 @@
514
399
  {
515
400
  "name": "min-length",
516
401
  "type": {
517
- "text": "number"
402
+ "text": "number | undefined"
518
403
  },
519
404
  "deprecated": "Use the native `minlength` attribute",
520
405
  "fieldName": "minLength"
@@ -522,7 +407,7 @@
522
407
  {
523
408
  "name": "minlength",
524
409
  "type": {
525
- "text": "number"
410
+ "text": "number | undefined"
526
411
  },
527
412
  "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.",
528
413
  "fieldName": "minlength"
@@ -530,7 +415,7 @@
530
415
  {
531
416
  "name": "max-length",
532
417
  "type": {
533
- "text": "number"
418
+ "text": "number | undefined"
534
419
  },
535
420
  "deprecated": "Use the native `maxlength` attribute",
536
421
  "fieldName": "maxLength"
@@ -538,7 +423,7 @@
538
423
  {
539
424
  "name": "maxlength",
540
425
  "type": {
541
- "text": "number"
426
+ "text": "number | undefined"
542
427
  },
543
428
  "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.",
544
429
  "fieldName": "maxlength"
@@ -546,7 +431,7 @@
546
431
  {
547
432
  "name": "pattern",
548
433
  "type": {
549
- "text": "string"
434
+ "text": "string | undefined"
550
435
  },
551
436
  "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)",
552
437
  "fieldName": "pattern"
@@ -554,7 +439,7 @@
554
439
  {
555
440
  "name": "placeholder",
556
441
  "type": {
557
- "text": "string"
442
+ "text": "string | undefined"
558
443
  },
559
444
  "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.",
560
445
  "summary": "Shown in the textfield when it doesn't have a value",
@@ -590,7 +475,7 @@
590
475
  {
591
476
  "name": "type",
592
477
  "type": {
593
- "text": "string"
478
+ "text": "string | undefined"
594
479
  },
595
480
  "description": "The [type of input](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types).",
596
481
  "fieldName": "type"
@@ -598,7 +483,7 @@
598
483
  {
599
484
  "name": "value",
600
485
  "type": {
601
- "text": "string"
486
+ "text": "string | undefined"
602
487
  },
603
488
  "description": "Lets you set the current value.",
604
489
  "fieldName": "value"
@@ -606,7 +491,7 @@
606
491
  {
607
492
  "name": "name",
608
493
  "type": {
609
- "text": "string"
494
+ "text": "string | undefined"
610
495
  },
611
496
  "description": "The [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#name) of the input field when submitting the form.",
612
497
  "fieldName": "name"
@@ -614,7 +499,7 @@
614
499
  {
615
500
  "name": "step",
616
501
  "type": {
617
- "text": "number"
502
+ "text": "number | undefined"
618
503
  },
619
504
  "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.",
620
505
  "summary": "Forces `number` inputs to be a whole number of `step`",
@@ -623,7 +508,7 @@
623
508
  {
624
509
  "name": "autocomplete",
625
510
  "type": {
626
- "text": "string | undefined"
511
+ "text": "HTMLInputElement[\"autocomplete\"] | undefined"
627
512
  },
628
513
  "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.",
629
514
  "fieldName": "autocomplete"
@@ -666,75 +551,232 @@
666
551
  },
667
552
  {
668
553
  "kind": "javascript-module",
669
- "path": "packages/affix/affix.ts",
554
+ "path": "packages/icon/icon.ts",
670
555
  "declarations": [
671
556
  {
672
557
  "kind": "class",
673
- "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)",
674
- "name": "WarpAffix",
558
+ "description": "",
559
+ "name": "WarpIcon",
675
560
  "members": [
676
561
  {
677
562
  "kind": "field",
678
- "name": "ariaLabel",
563
+ "name": "name",
679
564
  "type": {
680
- "text": "string | null"
565
+ "text": "string"
681
566
  },
682
- "default": "null",
683
- "summary": "Accessible label for icon-button variants.",
684
- "attribute": "aria-label",
567
+ "description": "Icon filename (without .svg)",
568
+ "attribute": "name",
685
569
  "reflects": true
686
570
  },
687
571
  {
688
572
  "kind": "field",
689
- "name": "clear",
690
- "type": {
691
- "text": "boolean"
692
- },
693
- "default": "false",
694
- "description": "Add this property to render a clickable Warp close icon.\n\nSet an `aria-label` that explains the action when using this.",
695
- "summary": "Renders a clear icon button.",
696
- "attribute": "clear"
697
- },
698
- {
699
- "kind": "field",
700
- "name": "search",
573
+ "name": "size",
701
574
  "type": {
702
- "text": "boolean"
575
+ "text": "\"small\" | \"medium\" | \"large\" | PixelValue | undefined"
703
576
  },
704
- "default": "false",
705
- "description": "Add this property to render a clickable Warp search icon.",
706
- "summary": "Renders a search icon button.",
707
- "attribute": "search"
577
+ "description": "Size: small, medium, large or pixel value (e.g. \"32px\").",
578
+ "default": "\"medium\"",
579
+ "attribute": "size",
580
+ "reflects": true,
581
+ "parsedType": {
582
+ "text": "'small' | 'medium' | 'large' | `${number}px` | undefined"
583
+ }
708
584
  },
709
585
  {
710
586
  "kind": "field",
711
- "name": "label",
587
+ "name": "locale",
712
588
  "type": {
713
589
  "text": "string"
714
590
  },
715
- "default": "''",
716
- "summary": "Text label shown as prefix/suffix content.",
717
- "attribute": "label",
591
+ "description": "Locale used for `<title>` text.\n\nReads the `lang` attribute from `<html>`, falls back to 'en'.",
592
+ "attribute": "locale",
718
593
  "reflects": true
719
594
  },
720
595
  {
721
596
  "kind": "field",
722
- "name": "icon",
597
+ "name": "svg",
723
598
  "type": {
724
- "text": "string | null"
599
+ "text": "SVGElement | null"
725
600
  },
601
+ "privacy": "private",
726
602
  "default": "null",
727
- "summary": "Icon name rendered as prefix/suffix content.",
728
- "attribute": "icon",
729
- "reflects": true
603
+ "description": "Parsed SVG element (not reflected as attribute)"
730
604
  },
731
605
  {
732
- "kind": "field",
733
- "name": "_icon",
734
- "readonly": true
735
- }
736
- ],
737
- "attributes": [
606
+ "kind": "method",
607
+ "name": "fetchIcon",
608
+ "privacy": "private",
609
+ "return": {
610
+ "type": {
611
+ "text": ""
612
+ }
613
+ },
614
+ "parameters": [
615
+ {
616
+ "name": "iconName",
617
+ "type": {
618
+ "text": "string"
619
+ },
620
+ "description": "Name of the icon file"
621
+ }
622
+ ],
623
+ "description": "Fetch an icon SVG from the CDN, with caching"
624
+ },
625
+ {
626
+ "kind": "method",
627
+ "name": "loadIcon",
628
+ "privacy": "private",
629
+ "return": {
630
+ "type": {
631
+ "text": "Promise<void>"
632
+ }
633
+ }
634
+ }
635
+ ],
636
+ "attributes": [
637
+ {
638
+ "name": "name",
639
+ "type": {
640
+ "text": "string"
641
+ },
642
+ "description": "Icon filename (without .svg)",
643
+ "fieldName": "name"
644
+ },
645
+ {
646
+ "name": "size",
647
+ "type": {
648
+ "text": "\"small\" | \"medium\" | \"large\" | PixelValue | undefined"
649
+ },
650
+ "description": "Size: small, medium, large or pixel value (e.g. \"32px\").",
651
+ "default": "\"medium\"",
652
+ "fieldName": "size",
653
+ "parsedType": {
654
+ "text": "'small' | 'medium' | 'large' | `${number}px` | undefined"
655
+ }
656
+ },
657
+ {
658
+ "name": "locale",
659
+ "type": {
660
+ "text": "string"
661
+ },
662
+ "description": "Locale used for `<title>` text.\n\nReads the `lang` attribute from `<html>`, falls back to 'en'.",
663
+ "fieldName": "locale"
664
+ }
665
+ ],
666
+ "superclass": {
667
+ "name": "LitElement",
668
+ "package": "lit"
669
+ },
670
+ "tagName": "w-icon",
671
+ "customElement": true,
672
+ "modulePath": "packages/icon/icon.ts",
673
+ "definitionPath": "packages/icon/icon.ts"
674
+ },
675
+ {
676
+ "kind": "variable",
677
+ "name": "WIcon",
678
+ "default": "WarpIcon",
679
+ "deprecated": "Exported for backwards compatibility. Use WarpIcon."
680
+ }
681
+ ],
682
+ "exports": [
683
+ {
684
+ "kind": "js",
685
+ "name": "WarpIcon",
686
+ "declaration": {
687
+ "name": "WarpIcon",
688
+ "module": "packages/icon/icon.ts"
689
+ }
690
+ },
691
+ {
692
+ "kind": "js",
693
+ "name": "WIcon",
694
+ "declaration": {
695
+ "name": "WIcon",
696
+ "module": "packages/icon/icon.ts"
697
+ }
698
+ },
699
+ {
700
+ "kind": "custom-element-definition",
701
+ "name": "w-icon",
702
+ "declaration": {
703
+ "name": "WarpIcon",
704
+ "module": "packages/icon/icon.ts"
705
+ }
706
+ }
707
+ ]
708
+ },
709
+ {
710
+ "kind": "javascript-module",
711
+ "path": "packages/affix/affix.ts",
712
+ "declarations": [
713
+ {
714
+ "kind": "class",
715
+ "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)",
716
+ "name": "WarpAffix",
717
+ "members": [
718
+ {
719
+ "kind": "field",
720
+ "name": "ariaLabel",
721
+ "type": {
722
+ "text": "string | null"
723
+ },
724
+ "default": "null",
725
+ "summary": "Accessible label for icon-button variants.",
726
+ "attribute": "aria-label",
727
+ "reflects": true
728
+ },
729
+ {
730
+ "kind": "field",
731
+ "name": "clear",
732
+ "type": {
733
+ "text": "boolean"
734
+ },
735
+ "default": "false",
736
+ "description": "Add this property to render a clickable Warp close icon.\n\nSet an `aria-label` that explains the action when using this.",
737
+ "summary": "Renders a clear icon button.",
738
+ "attribute": "clear"
739
+ },
740
+ {
741
+ "kind": "field",
742
+ "name": "search",
743
+ "type": {
744
+ "text": "boolean"
745
+ },
746
+ "default": "false",
747
+ "description": "Add this property to render a clickable Warp search icon.",
748
+ "summary": "Renders a search icon button.",
749
+ "attribute": "search"
750
+ },
751
+ {
752
+ "kind": "field",
753
+ "name": "label",
754
+ "type": {
755
+ "text": "string"
756
+ },
757
+ "default": "\"\"",
758
+ "summary": "Text label shown as prefix/suffix content.",
759
+ "attribute": "label",
760
+ "reflects": true
761
+ },
762
+ {
763
+ "kind": "field",
764
+ "name": "icon",
765
+ "type": {
766
+ "text": "string | null"
767
+ },
768
+ "default": "null",
769
+ "summary": "Icon name rendered as prefix/suffix content.",
770
+ "attribute": "icon",
771
+ "reflects": true
772
+ },
773
+ {
774
+ "kind": "field",
775
+ "name": "_icon",
776
+ "readonly": true
777
+ }
778
+ ],
779
+ "attributes": [
738
780
  {
739
781
  "name": "aria-label",
740
782
  "type": {
@@ -769,7 +811,7 @@
769
811
  "type": {
770
812
  "text": "string"
771
813
  },
772
- "default": "''",
814
+ "default": "\"\"",
773
815
  "summary": "Text label shown as prefix/suffix content.",
774
816
  "fieldName": "label"
775
817
  },
@@ -841,7 +883,7 @@
841
883
  "type": {
842
884
  "text": "AlertVariants"
843
885
  },
844
- "default": "'info'",
886
+ "default": "\"info\"",
845
887
  "summary": "Visual style of the alert.",
846
888
  "attribute": "variant",
847
889
  "reflects": true,
@@ -866,7 +908,7 @@
866
908
  "type": {
867
909
  "text": "string"
868
910
  },
869
- "default": "'alert'",
911
+ "default": "\"alert\"",
870
912
  "summary": "ARIA role announced to assistive technology.",
871
913
  "attribute": "role",
872
914
  "reflects": true
@@ -878,7 +920,7 @@
878
920
  "type": {
879
921
  "text": "AlertVariants"
880
922
  },
881
- "default": "'info'",
923
+ "default": "\"info\"",
882
924
  "summary": "Visual style of the alert.",
883
925
  "fieldName": "variant",
884
926
  "parsedType": {
@@ -899,7 +941,7 @@
899
941
  "type": {
900
942
  "text": "string"
901
943
  },
902
- "default": "'alert'",
944
+ "default": "\"alert\"",
903
945
  "summary": "ARIA role announced to assistive technology.",
904
946
  "fieldName": "role"
905
947
  }
@@ -942,15 +984,6 @@
942
984
  "description": "Buttons are used to perform actions, with different visuals for different needs.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-link--docs)",
943
985
  "name": "WarpLink",
944
986
  "members": [
945
- {
946
- "kind": "field",
947
- "name": "shadowRootOptions",
948
- "type": {
949
- "text": "object"
950
- },
951
- "static": true,
952
- "default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
953
- },
954
987
  {
955
988
  "kind": "field",
956
989
  "name": "autofocus",
@@ -958,6 +991,7 @@
958
991
  "text": "boolean"
959
992
  },
960
993
  "default": "false",
994
+ "description": "Focus the link after it is rendered",
961
995
  "attribute": "autofocus",
962
996
  "reflects": true
963
997
  },
@@ -965,12 +999,13 @@
965
999
  "kind": "field",
966
1000
  "name": "variant",
967
1001
  "type": {
968
- "text": "ButtonVariant"
1002
+ "text": "ButtonVariant | undefined"
969
1003
  },
1004
+ "description": "Visual style for the link/button.",
970
1005
  "attribute": "variant",
971
1006
  "reflects": true,
972
1007
  "parsedType": {
973
- "text": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet'"
1008
+ "text": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet' | undefined"
974
1009
  }
975
1010
  },
976
1011
  {
@@ -980,6 +1015,7 @@
980
1015
  "text": "boolean"
981
1016
  },
982
1017
  "default": "false",
1018
+ "description": "Render a smaller version",
983
1019
  "attribute": "small",
984
1020
  "reflects": true
985
1021
  },
@@ -987,8 +1023,9 @@
987
1023
  "kind": "field",
988
1024
  "name": "href",
989
1025
  "type": {
990
- "text": "string"
1026
+ "text": "string | undefined"
991
1027
  },
1028
+ "description": "The URL the link points to",
992
1029
  "attribute": "href",
993
1030
  "reflects": true
994
1031
  },
@@ -999,6 +1036,7 @@
999
1036
  "text": "boolean"
1000
1037
  },
1001
1038
  "default": "false",
1039
+ "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.",
1002
1040
  "attribute": "disabled",
1003
1041
  "reflects": true
1004
1042
  },
@@ -1006,8 +1044,9 @@
1006
1044
  "kind": "field",
1007
1045
  "name": "target",
1008
1046
  "type": {
1009
- "text": "string"
1047
+ "text": "string | undefined"
1010
1048
  },
1049
+ "description": "Where to display the linked URL (e.g. `_blank`)",
1011
1050
  "attribute": "target",
1012
1051
  "reflects": true
1013
1052
  },
@@ -1015,8 +1054,9 @@
1015
1054
  "kind": "field",
1016
1055
  "name": "rel",
1017
1056
  "type": {
1018
- "text": "string"
1057
+ "text": "string | undefined"
1019
1058
  },
1059
+ "description": "Relationship of the linked URL.\n\nIf `target=\"_blank\"` and `rel` is not provided, the component uses `noopener`.",
1020
1060
  "attribute": "rel",
1021
1061
  "reflects": true
1022
1062
  },
@@ -1027,6 +1067,7 @@
1027
1067
  "text": "boolean"
1028
1068
  },
1029
1069
  "default": "false",
1070
+ "description": "Makes the link take up the full width of its parent",
1030
1071
  "attribute": "full-width",
1031
1072
  "reflects": true
1032
1073
  }
@@ -1038,16 +1079,18 @@
1038
1079
  "text": "boolean"
1039
1080
  },
1040
1081
  "default": "false",
1082
+ "description": "Focus the link after it is rendered",
1041
1083
  "fieldName": "autofocus"
1042
1084
  },
1043
1085
  {
1044
1086
  "name": "variant",
1045
1087
  "type": {
1046
- "text": "ButtonVariant"
1088
+ "text": "ButtonVariant | undefined"
1047
1089
  },
1090
+ "description": "Visual style for the link/button.",
1048
1091
  "fieldName": "variant",
1049
1092
  "parsedType": {
1050
- "text": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet'"
1093
+ "text": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet' | undefined"
1051
1094
  }
1052
1095
  },
1053
1096
  {
@@ -1056,13 +1099,15 @@
1056
1099
  "text": "boolean"
1057
1100
  },
1058
1101
  "default": "false",
1102
+ "description": "Render a smaller version",
1059
1103
  "fieldName": "small"
1060
1104
  },
1061
1105
  {
1062
1106
  "name": "href",
1063
1107
  "type": {
1064
- "text": "string"
1108
+ "text": "string | undefined"
1065
1109
  },
1110
+ "description": "The URL the link points to",
1066
1111
  "fieldName": "href"
1067
1112
  },
1068
1113
  {
@@ -1071,20 +1116,23 @@
1071
1116
  "text": "boolean"
1072
1117
  },
1073
1118
  "default": "false",
1119
+ "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.",
1074
1120
  "fieldName": "disabled"
1075
1121
  },
1076
1122
  {
1077
1123
  "name": "target",
1078
1124
  "type": {
1079
- "text": "string"
1125
+ "text": "string | undefined"
1080
1126
  },
1127
+ "description": "Where to display the linked URL (e.g. `_blank`)",
1081
1128
  "fieldName": "target"
1082
1129
  },
1083
1130
  {
1084
1131
  "name": "rel",
1085
1132
  "type": {
1086
- "text": "string"
1133
+ "text": "string | undefined"
1087
1134
  },
1135
+ "description": "Relationship of the linked URL.\n\nIf `target=\"_blank\"` and `rel` is not provided, the component uses `noopener`.",
1088
1136
  "fieldName": "rel"
1089
1137
  },
1090
1138
  {
@@ -1093,6 +1141,7 @@
1093
1141
  "text": "boolean"
1094
1142
  },
1095
1143
  "default": "false",
1144
+ "description": "Makes the link take up the full width of its parent",
1096
1145
  "fieldName": "fullWidth"
1097
1146
  }
1098
1147
  ],
@@ -1148,13 +1197,13 @@
1148
1197
  "kind": "field",
1149
1198
  "name": "type",
1150
1199
  "type": {
1151
- "text": "ButtonType"
1200
+ "text": "ButtonType | undefined"
1152
1201
  },
1153
1202
  "description": "Native button type.\nControls whether the internal button behaves as a regular button, submits a form, or resets a form. Defaults to `button`.",
1154
1203
  "attribute": "type",
1155
1204
  "reflects": true,
1156
1205
  "parsedType": {
1157
- "text": "'button' | 'submit' | 'reset'"
1206
+ "text": "'button' | 'submit' | 'reset' | undefined"
1158
1207
  }
1159
1208
  },
1160
1209
  {
@@ -1172,13 +1221,13 @@
1172
1221
  "kind": "field",
1173
1222
  "name": "variant",
1174
1223
  "type": {
1175
- "text": "ButtonVariant"
1224
+ "text": "ButtonVariant | undefined"
1176
1225
  },
1177
1226
  "description": "Visual style of the button.\nDefaults to `secondary`. Use the variant that matches the action priority, risk, and placement.",
1178
1227
  "attribute": "variant",
1179
1228
  "reflects": true,
1180
1229
  "parsedType": {
1181
- "text": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet' | 'pill' | 'link'"
1230
+ "text": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet' | 'pill' | 'link' | undefined"
1182
1231
  }
1183
1232
  },
1184
1233
  {
@@ -1230,7 +1279,7 @@
1230
1279
  "kind": "field",
1231
1280
  "name": "href",
1232
1281
  "type": {
1233
- "text": "string"
1282
+ "text": "string | undefined"
1234
1283
  },
1235
1284
  "description": "URL for rendering the button as a link.\nWhen set, the component renders `w-link` instead of a native `button`.",
1236
1285
  "attribute": "href",
@@ -1240,7 +1289,7 @@
1240
1289
  "kind": "field",
1241
1290
  "name": "target",
1242
1291
  "type": {
1243
- "text": "string"
1292
+ "text": "string | undefined"
1244
1293
  },
1245
1294
  "description": "Link browsing context.\nPassed to the rendered link when `href` is set.",
1246
1295
  "attribute": "target",
@@ -1261,7 +1310,7 @@
1261
1310
  "kind": "field",
1262
1311
  "name": "rel",
1263
1312
  "type": {
1264
- "text": "string"
1313
+ "text": "string | undefined"
1265
1314
  },
1266
1315
  "description": "Link relationship.\nPassed to the rendered link when `href` is set. If `target=\"_blank\"` is set and `rel` is omitted, `noopener` is used.",
1267
1316
  "attribute": "rel",
@@ -1282,7 +1331,7 @@
1282
1331
  "kind": "field",
1283
1332
  "name": "buttonClass",
1284
1333
  "type": {
1285
- "text": "string"
1334
+ "text": "string | undefined"
1286
1335
  },
1287
1336
  "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.",
1288
1337
  "deprecated": "This class is applied inside the shadow DOM and is unlikely to have the desired effect. Use attributes or CSS variables to customize the appearance of the button.",
@@ -1293,7 +1342,7 @@
1293
1342
  "kind": "field",
1294
1343
  "name": "name",
1295
1344
  "type": {
1296
- "text": "string"
1345
+ "text": "string | undefined"
1297
1346
  },
1298
1347
  "description": "Form control name.\nUsed when the button participates in form handling.",
1299
1348
  "attribute": "name",
@@ -1303,7 +1352,7 @@
1303
1352
  "kind": "field",
1304
1353
  "name": "value",
1305
1354
  "type": {
1306
- "text": "string"
1355
+ "text": "string | undefined"
1307
1356
  },
1308
1357
  "description": "Form control value.\nUsed with `name` when the button participates in form handling. Resets to its initial value when the form is reset.",
1309
1358
  "attribute": "value",
@@ -1313,7 +1362,7 @@
1313
1362
  "kind": "field",
1314
1363
  "name": "commandfor",
1315
1364
  "type": {
1316
- "text": "string"
1365
+ "text": "string | undefined"
1317
1366
  },
1318
1367
  "description": "The [commandfor HTML attribute](https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API#html_attributes) for Invoker Commands.",
1319
1368
  "attribute": "commandfor"
@@ -1322,7 +1371,7 @@
1322
1371
  "kind": "field",
1323
1372
  "name": "command",
1324
1373
  "type": {
1325
- "text": "string"
1374
+ "text": "string | undefined"
1326
1375
  },
1327
1376
  "description": "The [command HTML attribute](https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API#html_attributes) for Invoker Commands.",
1328
1377
  "attribute": "command"
@@ -1348,9 +1397,9 @@
1348
1397
  "name": "#initialValue",
1349
1398
  "privacy": "private",
1350
1399
  "type": {
1351
- "text": "string | null"
1400
+ "text": "string | undefined"
1352
1401
  },
1353
- "default": "null"
1402
+ "default": "undefined"
1354
1403
  },
1355
1404
  {
1356
1405
  "kind": "method",
@@ -1388,12 +1437,12 @@
1388
1437
  {
1389
1438
  "name": "type",
1390
1439
  "type": {
1391
- "text": "ButtonType"
1440
+ "text": "ButtonType | undefined"
1392
1441
  },
1393
1442
  "description": "Native button type.\nControls whether the internal button behaves as a regular button, submits a form, or resets a form. Defaults to `button`.",
1394
1443
  "fieldName": "type",
1395
1444
  "parsedType": {
1396
- "text": "'button' | 'submit' | 'reset'"
1445
+ "text": "'button' | 'submit' | 'reset' | undefined"
1397
1446
  }
1398
1447
  },
1399
1448
  {
@@ -1408,12 +1457,12 @@
1408
1457
  {
1409
1458
  "name": "variant",
1410
1459
  "type": {
1411
- "text": "ButtonVariant"
1460
+ "text": "ButtonVariant | undefined"
1412
1461
  },
1413
1462
  "description": "Visual style of the button.\nDefaults to `secondary`. Use the variant that matches the action priority, risk, and placement.",
1414
1463
  "fieldName": "variant",
1415
1464
  "parsedType": {
1416
- "text": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet' | 'pill' | 'link'"
1465
+ "text": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet' | 'pill' | 'link' | undefined"
1417
1466
  }
1418
1467
  },
1419
1468
  {
@@ -1456,7 +1505,7 @@
1456
1505
  {
1457
1506
  "name": "href",
1458
1507
  "type": {
1459
- "text": "string"
1508
+ "text": "string | undefined"
1460
1509
  },
1461
1510
  "description": "URL for rendering the button as a link.\nWhen set, the component renders `w-link` instead of a native `button`.",
1462
1511
  "fieldName": "href"
@@ -1464,7 +1513,7 @@
1464
1513
  {
1465
1514
  "name": "target",
1466
1515
  "type": {
1467
- "text": "string"
1516
+ "text": "string | undefined"
1468
1517
  },
1469
1518
  "description": "Link browsing context.\nPassed to the rendered link when `href` is set.",
1470
1519
  "fieldName": "target"
@@ -1481,7 +1530,7 @@
1481
1530
  {
1482
1531
  "name": "rel",
1483
1532
  "type": {
1484
- "text": "string"
1533
+ "text": "string | undefined"
1485
1534
  },
1486
1535
  "description": "Link relationship.\nPassed to the rendered link when `href` is set. If `target=\"_blank\"` is set and `rel` is omitted, `noopener` is used.",
1487
1536
  "fieldName": "rel"
@@ -1498,7 +1547,7 @@
1498
1547
  {
1499
1548
  "name": "button-class",
1500
1549
  "type": {
1501
- "text": "string"
1550
+ "text": "string | undefined"
1502
1551
  },
1503
1552
  "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.",
1504
1553
  "deprecated": "This class is applied inside the shadow DOM and is unlikely to have the desired effect. Use attributes or CSS variables to customize the appearance of the button.",
@@ -1507,7 +1556,7 @@
1507
1556
  {
1508
1557
  "name": "name",
1509
1558
  "type": {
1510
- "text": "string"
1559
+ "text": "string | undefined"
1511
1560
  },
1512
1561
  "description": "Form control name.\nUsed when the button participates in form handling.",
1513
1562
  "fieldName": "name"
@@ -1515,7 +1564,7 @@
1515
1564
  {
1516
1565
  "name": "value",
1517
1566
  "type": {
1518
- "text": "string"
1567
+ "text": "string | undefined"
1519
1568
  },
1520
1569
  "description": "Form control value.\nUsed with `name` when the button participates in form handling. Resets to its initial value when the form is reset.",
1521
1570
  "fieldName": "value"
@@ -1523,7 +1572,7 @@
1523
1572
  {
1524
1573
  "name": "commandfor",
1525
1574
  "type": {
1526
- "text": "string"
1575
+ "text": "string | undefined"
1527
1576
  },
1528
1577
  "description": "The [commandfor HTML attribute](https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API#html_attributes) for Invoker Commands.",
1529
1578
  "fieldName": "commandfor"
@@ -1531,7 +1580,7 @@
1531
1580
  {
1532
1581
  "name": "command",
1533
1582
  "type": {
1534
- "text": "string"
1583
+ "text": "string | undefined"
1535
1584
  },
1536
1585
  "description": "The [command HTML attribute](https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API#html_attributes) for Invoker Commands.",
1537
1586
  "fieldName": "command"
@@ -1599,7 +1648,7 @@
1599
1648
  "text": "Directions"
1600
1649
  },
1601
1650
  "description": "Preferred placement relative to the trigger element.\nSets the initial direction for positioning, for example `top`, `right`, `bottom`, or `left` variants.",
1602
- "default": "'bottom'",
1651
+ "default": "\"bottom\"",
1603
1652
  "attribute": "placement",
1604
1653
  "parsedType": {
1605
1654
  "text": "'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end'"
@@ -1799,7 +1848,7 @@
1799
1848
  "text": "Directions"
1800
1849
  },
1801
1850
  "description": "Preferred placement relative to the trigger element.\nSets the initial direction for positioning, for example `top`, `right`, `bottom`, or `left` variants.",
1802
- "default": "'bottom'",
1851
+ "default": "\"bottom\"",
1803
1852
  "fieldName": "placement",
1804
1853
  "parsedType": {
1805
1854
  "text": "'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end'"
@@ -1953,39 +2002,51 @@
1953
2002
  "kind": "field",
1954
2003
  "name": "variant",
1955
2004
  "type": {
1956
- "text": "'neutral' | 'info' | 'positive' | 'warning' | 'negative' | 'disabled' | 'price' | 'sponsored'"
2005
+ "text": "| \"neutral\"\n\t\t| \"info\"\n\t\t| \"positive\"\n\t\t| \"warning\"\n\t\t| \"negative\"\n\t\t| \"disabled\"\n\t\t| \"price\"\n\t\t| \"sponsored\"\n\t\t| undefined"
1957
2006
  },
1958
2007
  "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.",
1959
2008
  "attribute": "variant",
1960
- "reflects": true
2009
+ "reflects": true,
2010
+ "parsedType": {
2011
+ "text": "'neutral' | 'info' | 'positive' | 'warning' | 'negative' | 'disabled' | 'price' | 'sponsored' | undefined"
2012
+ }
1961
2013
  },
1962
2014
  {
1963
2015
  "kind": "field",
1964
2016
  "name": "position",
1965
2017
  "type": {
1966
- "text": "'top-left' | 'top-right' | 'bottom-right' | 'bottom-left'"
2018
+ "text": "| \"top-left\"\n\t\t| \"top-right\"\n\t\t| \"bottom-right\"\n\t\t| \"bottom-left\"\n\t\t| undefined"
1967
2019
  },
1968
2020
  "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`.",
1969
2021
  "attribute": "position",
1970
- "reflects": true
2022
+ "reflects": true,
2023
+ "parsedType": {
2024
+ "text": "'top-left' | 'top-right' | 'bottom-right' | 'bottom-left' | undefined"
2025
+ }
1971
2026
  }
1972
2027
  ],
1973
2028
  "attributes": [
1974
2029
  {
1975
2030
  "name": "variant",
1976
2031
  "type": {
1977
- "text": "'neutral' | 'info' | 'positive' | 'warning' | 'negative' | 'disabled' | 'price' | 'sponsored'"
2032
+ "text": "| \"neutral\"\n\t\t| \"info\"\n\t\t| \"positive\"\n\t\t| \"warning\"\n\t\t| \"negative\"\n\t\t| \"disabled\"\n\t\t| \"price\"\n\t\t| \"sponsored\"\n\t\t| undefined"
1978
2033
  },
1979
2034
  "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.",
1980
- "fieldName": "variant"
2035
+ "fieldName": "variant",
2036
+ "parsedType": {
2037
+ "text": "'neutral' | 'info' | 'positive' | 'warning' | 'negative' | 'disabled' | 'price' | 'sponsored' | undefined"
2038
+ }
1981
2039
  },
1982
2040
  {
1983
2041
  "name": "position",
1984
2042
  "type": {
1985
- "text": "'top-left' | 'top-right' | 'bottom-right' | 'bottom-left'"
2043
+ "text": "| \"top-left\"\n\t\t| \"top-right\"\n\t\t| \"bottom-right\"\n\t\t| \"bottom-left\"\n\t\t| undefined"
1986
2044
  },
1987
2045
  "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`.",
1988
- "fieldName": "position"
2046
+ "fieldName": "position",
2047
+ "parsedType": {
2048
+ "text": "'top-left' | 'top-right' | 'bottom-right' | 'bottom-left' | undefined"
2049
+ }
1989
2050
  }
1990
2051
  ],
1991
2052
  "superclass": {
@@ -2076,7 +2137,7 @@
2076
2137
  "type": {
2077
2138
  "text": "string"
2078
2139
  },
2079
- "default": "'region'",
2140
+ "default": "\"region\"",
2080
2141
  "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.",
2081
2142
  "attribute": "role",
2082
2143
  "reflects": true
@@ -2124,7 +2185,7 @@
2124
2185
  "type": {
2125
2186
  "text": "string"
2126
2187
  },
2127
- "default": "'region'",
2188
+ "default": "\"region\"",
2128
2189
  "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.",
2129
2190
  "fieldName": "role"
2130
2191
  }
@@ -2181,6 +2242,14 @@
2181
2242
  },
2182
2243
  "privacy": "private"
2183
2244
  },
2245
+ {
2246
+ "kind": "field",
2247
+ "name": "_defaultLabel",
2248
+ "type": {
2249
+ "text": "string"
2250
+ },
2251
+ "privacy": "private"
2252
+ },
2184
2253
  {
2185
2254
  "kind": "field",
2186
2255
  "name": "ariaLabel",
@@ -2188,6 +2257,24 @@
2188
2257
  "text": "string | null"
2189
2258
  },
2190
2259
  "description": "Accessible label for the breadcrumb navigation.\nDefaults to the localized \"You are here\" label. Set `aria-label` when the default label is not specific enough for the page."
2260
+ },
2261
+ {
2262
+ "kind": "field",
2263
+ "name": "_label",
2264
+ "type": {
2265
+ "text": "string"
2266
+ },
2267
+ "privacy": "private",
2268
+ "readonly": true
2269
+ },
2270
+ {
2271
+ "kind": "field",
2272
+ "name": "_children",
2273
+ "type": {
2274
+ "text": "Array<Element | TemplateResult>"
2275
+ },
2276
+ "privacy": "private",
2277
+ "default": "[]"
2191
2278
  }
2192
2279
  ],
2193
2280
  "superclass": {
@@ -2221,13 +2308,102 @@
2221
2308
  },
2222
2309
  {
2223
2310
  "kind": "javascript-module",
2224
- "path": "packages/card/card.ts",
2311
+ "path": "packages/breadcrumb-item/breadcrumb-item.ts",
2225
2312
  "declarations": [
2226
2313
  {
2227
2314
  "kind": "class",
2228
- "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)",
2229
- "name": "WarpCard",
2230
- "members": [
2315
+ "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)",
2316
+ "name": "WarpBreadcrumbItem",
2317
+ "slots": [
2318
+ {
2319
+ "description": "The breadcrumb label content.",
2320
+ "name": ""
2321
+ }
2322
+ ],
2323
+ "members": [
2324
+ {
2325
+ "kind": "field",
2326
+ "name": "currentPage",
2327
+ "type": {
2328
+ "text": "boolean"
2329
+ },
2330
+ "default": "false",
2331
+ "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.",
2332
+ "attribute": "current-page"
2333
+ },
2334
+ {
2335
+ "kind": "field",
2336
+ "name": "href",
2337
+ "type": {
2338
+ "text": "string | null"
2339
+ },
2340
+ "default": "null",
2341
+ "description": "URL for linked breadcrumb items.\nWhen omitted, the item renders as non-focusable text.",
2342
+ "attribute": "href"
2343
+ }
2344
+ ],
2345
+ "attributes": [
2346
+ {
2347
+ "name": "current-page",
2348
+ "type": {
2349
+ "text": "boolean"
2350
+ },
2351
+ "default": "false",
2352
+ "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.",
2353
+ "fieldName": "currentPage"
2354
+ },
2355
+ {
2356
+ "name": "href",
2357
+ "type": {
2358
+ "text": "string | null"
2359
+ },
2360
+ "default": "null",
2361
+ "description": "URL for linked breadcrumb items.\nWhen omitted, the item renders as non-focusable text.",
2362
+ "fieldName": "href"
2363
+ }
2364
+ ],
2365
+ "superclass": {
2366
+ "name": "LitElement",
2367
+ "package": "lit"
2368
+ },
2369
+ "parent": {
2370
+ "name": "w-breadcrumbs",
2371
+ "description": ""
2372
+ },
2373
+ "tagName": "w-breadcrumb-item",
2374
+ "customElement": true,
2375
+ "modulePath": "packages/breadcrumb-item/breadcrumb-item.ts",
2376
+ "definitionPath": "packages/breadcrumb-item/breadcrumb-item.ts"
2377
+ }
2378
+ ],
2379
+ "exports": [
2380
+ {
2381
+ "kind": "custom-element-definition",
2382
+ "name": "w-breadcrumb-item",
2383
+ "declaration": {
2384
+ "name": "WarpBreadcrumbItem",
2385
+ "module": "packages/breadcrumb-item/breadcrumb-item.ts"
2386
+ }
2387
+ },
2388
+ {
2389
+ "kind": "js",
2390
+ "name": "WarpBreadcrumbItem",
2391
+ "declaration": {
2392
+ "name": "WarpBreadcrumbItem",
2393
+ "module": "packages/breadcrumb-item/breadcrumb-item.ts"
2394
+ }
2395
+ }
2396
+ ]
2397
+ },
2398
+ {
2399
+ "kind": "javascript-module",
2400
+ "path": "packages/card/card.ts",
2401
+ "declarations": [
2402
+ {
2403
+ "kind": "class",
2404
+ "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)",
2405
+ "name": "WarpCard",
2406
+ "members": [
2231
2407
  {
2232
2408
  "kind": "field",
2233
2409
  "name": "selected",
@@ -2344,7 +2520,7 @@
2344
2520
  {
2345
2521
  "kind": "class",
2346
2522
  "description": "",
2347
- "name": "WCheckbox",
2523
+ "name": "WarpCheckbox",
2348
2524
  "members": [
2349
2525
  {
2350
2526
  "kind": "field",
@@ -2353,19 +2529,19 @@
2353
2529
  "text": "object"
2354
2530
  },
2355
2531
  "static": true,
2356
- "default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true }"
2532
+ "default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
2357
2533
  },
2358
2534
  {
2359
2535
  "kind": "field",
2360
2536
  "name": "input",
2361
2537
  "type": {
2362
- "text": "HTMLInputElement | null"
2538
+ "text": "HTMLInputElement"
2363
2539
  }
2364
2540
  },
2365
2541
  {
2366
2542
  "kind": "field",
2367
2543
  "name": "name",
2368
- "description": "The name of the checkbox, submitted as a name/value pair with form data.",
2544
+ "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.",
2369
2545
  "type": {
2370
2546
  "text": "string | undefined"
2371
2547
  },
@@ -2387,7 +2563,7 @@
2387
2563
  "text": "string | null"
2388
2564
  },
2389
2565
  "default": "null",
2390
- "description": "The value of the checkbox, submitted as a name/value pair with form data.",
2566
+ "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.",
2391
2567
  "attribute": "value",
2392
2568
  "reflects": true
2393
2569
  },
@@ -2398,7 +2574,7 @@
2398
2574
  "text": "boolean"
2399
2575
  },
2400
2576
  "default": "false",
2401
- "description": "Draws the checkbox in an indeterminate state.",
2577
+ "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.",
2402
2578
  "attribute": "indeterminate",
2403
2579
  "reflects": true
2404
2580
  },
@@ -2409,7 +2585,7 @@
2409
2585
  "text": "boolean"
2410
2586
  },
2411
2587
  "default": "false",
2412
- "description": "Draws the checkbox in a checked state (reflected to attribute).",
2588
+ "description": "Whether the checkbox is checked.\n\nChecked checkboxes submit their value with form data. The property is reflected to the `checked` attribute.",
2413
2589
  "attribute": "checked",
2414
2590
  "reflects": true
2415
2591
  },
@@ -2420,7 +2596,7 @@
2420
2596
  "text": "boolean"
2421
2597
  },
2422
2598
  "default": "false",
2423
- "description": "Disables the checkbox.",
2599
+ "description": "Whether the checkbox is disabled.\n\nDisabled checkboxes cannot be focused, changed, or submitted with form data.",
2424
2600
  "attribute": "disabled",
2425
2601
  "reflects": true
2426
2602
  },
@@ -2431,7 +2607,7 @@
2431
2607
  "text": "boolean"
2432
2608
  },
2433
2609
  "default": "false",
2434
- "description": "Makes the checkbox a required field.",
2610
+ "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`.",
2435
2611
  "attribute": "required",
2436
2612
  "reflects": true
2437
2613
  },
@@ -2442,10 +2618,28 @@
2442
2618
  "text": "boolean"
2443
2619
  },
2444
2620
  "default": "false",
2445
- "description": "Draws the checkbox in an invalid state.",
2621
+ "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.",
2446
2622
  "attribute": "invalid",
2447
2623
  "reflects": true
2448
2624
  },
2625
+ {
2626
+ "kind": "field",
2627
+ "name": "_groupInvalid",
2628
+ "type": {
2629
+ "text": "boolean | undefined"
2630
+ },
2631
+ "privacy": "private",
2632
+ "description": "Internal invalid state managed by parent checkbox-group.\nNon-reflecting to avoid DOM changes during hydration."
2633
+ },
2634
+ {
2635
+ "kind": "field",
2636
+ "name": "_groupName",
2637
+ "type": {
2638
+ "text": "string | undefined"
2639
+ },
2640
+ "privacy": "private",
2641
+ "description": "Internal name managed by parent checkbox-group.\nNon-reflecting to avoid DOM changes during hydration."
2642
+ },
2449
2643
  {
2450
2644
  "kind": "field",
2451
2645
  "name": "#defaultChecked",
@@ -2596,7 +2790,7 @@
2596
2790
  "attributes": [
2597
2791
  {
2598
2792
  "name": "name",
2599
- "description": "The name of the checkbox, submitted as a name/value pair with form data.",
2793
+ "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.",
2600
2794
  "type": {
2601
2795
  "text": "string | undefined"
2602
2796
  },
@@ -2608,7 +2802,7 @@
2608
2802
  "text": "string | null"
2609
2803
  },
2610
2804
  "default": "null",
2611
- "description": "The value of the checkbox, submitted as a name/value pair with form data.",
2805
+ "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.",
2612
2806
  "fieldName": "value"
2613
2807
  },
2614
2808
  {
@@ -2617,7 +2811,7 @@
2617
2811
  "text": "boolean"
2618
2812
  },
2619
2813
  "default": "false",
2620
- "description": "Draws the checkbox in an indeterminate state.",
2814
+ "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.",
2621
2815
  "fieldName": "indeterminate"
2622
2816
  },
2623
2817
  {
@@ -2626,7 +2820,7 @@
2626
2820
  "text": "boolean"
2627
2821
  },
2628
2822
  "default": "false",
2629
- "description": "Draws the checkbox in a checked state (reflected to attribute).",
2823
+ "description": "Whether the checkbox is checked.\n\nChecked checkboxes submit their value with form data. The property is reflected to the `checked` attribute.",
2630
2824
  "fieldName": "checked"
2631
2825
  },
2632
2826
  {
@@ -2635,7 +2829,7 @@
2635
2829
  "text": "boolean"
2636
2830
  },
2637
2831
  "default": "false",
2638
- "description": "Disables the checkbox.",
2832
+ "description": "Whether the checkbox is disabled.\n\nDisabled checkboxes cannot be focused, changed, or submitted with form data.",
2639
2833
  "fieldName": "disabled"
2640
2834
  },
2641
2835
  {
@@ -2644,7 +2838,7 @@
2644
2838
  "text": "boolean"
2645
2839
  },
2646
2840
  "default": "false",
2647
- "description": "Makes the checkbox a required field.",
2841
+ "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`.",
2648
2842
  "fieldName": "required"
2649
2843
  },
2650
2844
  {
@@ -2653,7 +2847,7 @@
2653
2847
  "text": "boolean"
2654
2848
  },
2655
2849
  "default": "false",
2656
- "description": "Draws the checkbox in an invalid state.",
2850
+ "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.",
2657
2851
  "fieldName": "invalid"
2658
2852
  }
2659
2853
  ],
@@ -2667,13 +2861,31 @@
2667
2861
  "name": "LitElement",
2668
2862
  "package": "lit"
2669
2863
  },
2864
+ "parent": {
2865
+ "name": "w-checkbox-group",
2866
+ "description": ""
2867
+ },
2670
2868
  "tagName": "w-checkbox",
2671
2869
  "customElement": true,
2672
2870
  "modulePath": "packages/checkbox/checkbox.ts",
2673
2871
  "definitionPath": "packages/checkbox/checkbox.ts"
2872
+ },
2873
+ {
2874
+ "kind": "variable",
2875
+ "name": "WCheckbox",
2876
+ "default": "WarpCheckbox",
2877
+ "deprecated": "Use WarpCheckbox"
2674
2878
  }
2675
2879
  ],
2676
2880
  "exports": [
2881
+ {
2882
+ "kind": "js",
2883
+ "name": "WarpCheckbox",
2884
+ "declaration": {
2885
+ "name": "WarpCheckbox",
2886
+ "module": "packages/checkbox/checkbox.ts"
2887
+ }
2888
+ },
2677
2889
  {
2678
2890
  "kind": "js",
2679
2891
  "name": "WCheckbox",
@@ -2686,7 +2898,7 @@
2686
2898
  "kind": "custom-element-definition",
2687
2899
  "name": "w-checkbox",
2688
2900
  "declaration": {
2689
- "name": "WCheckbox",
2901
+ "name": "WarpCheckbox",
2690
2902
  "module": "packages/checkbox/checkbox.ts"
2691
2903
  }
2692
2904
  }
@@ -2698,8 +2910,8 @@
2698
2910
  "declarations": [
2699
2911
  {
2700
2912
  "kind": "class",
2701
- "description": "",
2702
- "name": "WCheckboxGroup",
2913
+ "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.).",
2914
+ "name": "WarpCheckboxGroup",
2703
2915
  "members": [
2704
2916
  {
2705
2917
  "kind": "field",
@@ -2714,9 +2926,9 @@
2714
2926
  "kind": "field",
2715
2927
  "name": "label",
2716
2928
  "type": {
2717
- "text": "string"
2929
+ "text": "string | undefined"
2718
2930
  },
2719
- "description": "The group label displayed above the checkboxes.",
2931
+ "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.",
2720
2932
  "attribute": "label",
2721
2933
  "reflects": true
2722
2934
  },
@@ -2724,9 +2936,9 @@
2724
2936
  "kind": "field",
2725
2937
  "name": "name",
2726
2938
  "type": {
2727
- "text": "string"
2939
+ "text": "string | undefined"
2728
2940
  },
2729
- "description": "The name applied to child checkboxes when they do not provide one.",
2941
+ "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`.",
2730
2942
  "attribute": "name",
2731
2943
  "reflects": true
2732
2944
  },
@@ -2737,7 +2949,7 @@
2737
2949
  "text": "boolean"
2738
2950
  },
2739
2951
  "default": "false",
2740
- "description": "Whether to show optional text next to the label.",
2952
+ "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.",
2741
2953
  "attribute": "optional",
2742
2954
  "reflects": true
2743
2955
  },
@@ -2745,8 +2957,9 @@
2745
2957
  "kind": "field",
2746
2958
  "name": "helpText",
2747
2959
  "type": {
2748
- "text": "string"
2960
+ "text": "string | undefined"
2749
2961
  },
2962
+ "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.",
2750
2963
  "attribute": "help-text",
2751
2964
  "reflects": true
2752
2965
  },
@@ -2757,7 +2970,7 @@
2757
2970
  "text": "boolean"
2758
2971
  },
2759
2972
  "default": "false",
2760
- "description": "Makes the checkbox group required.",
2973
+ "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.",
2761
2974
  "attribute": "required",
2762
2975
  "reflects": true
2763
2976
  },
@@ -2768,7 +2981,7 @@
2768
2981
  "text": "boolean"
2769
2982
  },
2770
2983
  "default": "false",
2771
- "description": "Marks the checkbox group as invalid.",
2984
+ "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.",
2772
2985
  "attribute": "invalid",
2773
2986
  "reflects": true
2774
2987
  },
@@ -3027,17 +3240,17 @@
3027
3240
  {
3028
3241
  "name": "label",
3029
3242
  "type": {
3030
- "text": "string"
3243
+ "text": "string | undefined"
3031
3244
  },
3032
- "description": "The group label displayed above the checkboxes.",
3245
+ "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.",
3033
3246
  "fieldName": "label"
3034
3247
  },
3035
3248
  {
3036
3249
  "name": "name",
3037
3250
  "type": {
3038
- "text": "string"
3251
+ "text": "string | undefined"
3039
3252
  },
3040
- "description": "The name applied to child checkboxes when they do not provide one.",
3253
+ "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`.",
3041
3254
  "fieldName": "name"
3042
3255
  },
3043
3256
  {
@@ -3046,14 +3259,15 @@
3046
3259
  "text": "boolean"
3047
3260
  },
3048
3261
  "default": "false",
3049
- "description": "Whether to show optional text next to the label.",
3262
+ "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.",
3050
3263
  "fieldName": "optional"
3051
3264
  },
3052
3265
  {
3053
3266
  "name": "help-text",
3054
3267
  "type": {
3055
- "text": "string"
3268
+ "text": "string | undefined"
3056
3269
  },
3270
+ "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.",
3057
3271
  "fieldName": "helpText"
3058
3272
  },
3059
3273
  {
@@ -3062,7 +3276,7 @@
3062
3276
  "text": "boolean"
3063
3277
  },
3064
3278
  "default": "false",
3065
- "description": "Makes the checkbox group required.",
3279
+ "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.",
3066
3280
  "fieldName": "required"
3067
3281
  },
3068
3282
  {
@@ -3071,7 +3285,7 @@
3071
3285
  "text": "boolean"
3072
3286
  },
3073
3287
  "default": "false",
3074
- "description": "Marks the checkbox group as invalid.",
3288
+ "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.",
3075
3289
  "fieldName": "invalid"
3076
3290
  }
3077
3291
  ],
@@ -3089,9 +3303,23 @@
3089
3303
  "customElement": true,
3090
3304
  "modulePath": "packages/checkbox-group/checkbox-group.ts",
3091
3305
  "definitionPath": "packages/checkbox-group/checkbox-group.ts"
3306
+ },
3307
+ {
3308
+ "kind": "variable",
3309
+ "name": "WCheckboxGroup",
3310
+ "default": "WarpCheckboxGroup",
3311
+ "deprecated": "Use WarpCheckboxGroup"
3092
3312
  }
3093
3313
  ],
3094
3314
  "exports": [
3315
+ {
3316
+ "kind": "js",
3317
+ "name": "WarpCheckboxGroup",
3318
+ "declaration": {
3319
+ "name": "WarpCheckboxGroup",
3320
+ "module": "packages/checkbox-group/checkbox-group.ts"
3321
+ }
3322
+ },
3095
3323
  {
3096
3324
  "kind": "js",
3097
3325
  "name": "WCheckboxGroup",
@@ -3104,7 +3332,7 @@
3104
3332
  "kind": "custom-element-definition",
3105
3333
  "name": "w-checkbox-group",
3106
3334
  "declaration": {
3107
- "name": "WCheckboxGroup",
3335
+ "name": "WarpCheckboxGroup",
3108
3336
  "module": "packages/checkbox-group/checkbox-group.ts"
3109
3337
  }
3110
3338
  }
@@ -3126,7 +3354,7 @@
3126
3354
  "text": "ComboboxOption[]"
3127
3355
  },
3128
3356
  "default": "[]",
3129
- "description": "The available options to select from",
3357
+ "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.",
3130
3358
  "attribute": "options"
3131
3359
  },
3132
3360
  {
@@ -3135,8 +3363,8 @@
3135
3363
  "type": {
3136
3364
  "text": "string | undefined"
3137
3365
  },
3138
- "default": "''",
3139
- "description": "Label above input",
3366
+ "default": "\"\"",
3367
+ "description": "The label displayed above the input.\n\nUse this to give the combobox a visible and accessible name.",
3140
3368
  "attribute": "label",
3141
3369
  "reflects": true
3142
3370
  },
@@ -3146,8 +3374,8 @@
3146
3374
  "type": {
3147
3375
  "text": "string | undefined"
3148
3376
  },
3149
- "default": "''",
3150
- "description": "Input placeholder",
3377
+ "default": "\"\"",
3378
+ "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.",
3151
3379
  "attribute": "placeholder",
3152
3380
  "reflects": true
3153
3381
  },
@@ -3157,8 +3385,8 @@
3157
3385
  "type": {
3158
3386
  "text": "string"
3159
3387
  },
3160
- "default": "''",
3161
- "description": "The input value",
3388
+ "default": "\"\"",
3389
+ "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.",
3162
3390
  "attribute": "value",
3163
3391
  "reflects": true
3164
3392
  },
@@ -3169,7 +3397,7 @@
3169
3397
  "text": "boolean"
3170
3398
  },
3171
3399
  "default": "false",
3172
- "description": "Whether the popover opens when focus is on the text field",
3400
+ "description": "Whether the option list opens when the input receives focus.\n\nUse this when users should see available options before they start typing.",
3173
3401
  "attribute": "open-on-focus",
3174
3402
  "reflects": true
3175
3403
  },
@@ -3180,7 +3408,7 @@
3180
3408
  "text": "boolean"
3181
3409
  },
3182
3410
  "default": "true",
3183
- "description": "Select active option on blur",
3411
+ "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.",
3184
3412
  "attribute": "select-on-blur",
3185
3413
  "reflects": true
3186
3414
  },
@@ -3191,7 +3419,7 @@
3191
3419
  "text": "boolean"
3192
3420
  },
3193
3421
  "default": "false",
3194
- "description": "Whether the matching text segments in the options should be highlighted",
3422
+ "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.",
3195
3423
  "attribute": "match-text-segments",
3196
3424
  "reflects": true
3197
3425
  },
@@ -3202,7 +3430,7 @@
3202
3430
  "text": "boolean"
3203
3431
  },
3204
3432
  "default": "false",
3205
- "description": "Disable client-side static filtering",
3433
+ "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.",
3206
3434
  "attribute": "disable-static-filtering",
3207
3435
  "reflects": true
3208
3436
  },
@@ -3213,7 +3441,7 @@
3213
3441
  "text": "boolean"
3214
3442
  },
3215
3443
  "default": "false",
3216
- "description": "Renders the input field in an invalid state",
3444
+ "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.",
3217
3445
  "attribute": "invalid",
3218
3446
  "reflects": true
3219
3447
  },
@@ -3223,8 +3451,8 @@
3223
3451
  "type": {
3224
3452
  "text": "string | undefined"
3225
3453
  },
3226
- "default": "''",
3227
- "description": "The content to display as the help text",
3454
+ "default": "\"\"",
3455
+ "description": "Help text displayed below the input.\n\nUse this for supporting guidance or validation feedback.",
3228
3456
  "attribute": "help-text",
3229
3457
  "reflects": true
3230
3458
  },
@@ -3235,7 +3463,7 @@
3235
3463
  "text": "boolean"
3236
3464
  },
3237
3465
  "default": "false",
3238
- "description": "Whether the element is disabled",
3466
+ "description": "Whether the combobox is disabled.\n\nDisabled comboboxes cannot be focused, changed, or submitted with form data.",
3239
3467
  "attribute": "disabled",
3240
3468
  "reflects": true
3241
3469
  },
@@ -3246,7 +3474,7 @@
3246
3474
  "text": "boolean"
3247
3475
  },
3248
3476
  "default": "false",
3249
- "description": "Whether the element is required",
3477
+ "description": "Whether the combobox is required before form submission.\n\nUse this when the user must provide a value before submitting the form.",
3250
3478
  "attribute": "required",
3251
3479
  "reflects": true
3252
3480
  },
@@ -3257,7 +3485,7 @@
3257
3485
  "text": "boolean"
3258
3486
  },
3259
3487
  "default": "false",
3260
- "description": "Whether to show optional text",
3488
+ "description": "Whether to show optional text next to the label.\n\nUse this to indicate that the combobox is not required.",
3261
3489
  "attribute": "optional",
3262
3490
  "reflects": true
3263
3491
  },
@@ -3267,8 +3495,8 @@
3267
3495
  "type": {
3268
3496
  "text": "string | undefined"
3269
3497
  },
3270
- "default": "''",
3271
- "description": "Name attribute for form submission",
3498
+ "default": "\"\"",
3499
+ "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.",
3272
3500
  "attribute": "name",
3273
3501
  "reflects": true
3274
3502
  },
@@ -3278,8 +3506,8 @@
3278
3506
  "type": {
3279
3507
  "text": "string | undefined"
3280
3508
  },
3281
- "default": "'off'",
3282
- "description": "Autocomplete attribute for the input field",
3509
+ "default": "\"off\"",
3510
+ "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.",
3283
3511
  "attribute": "autocomplete",
3284
3512
  "reflects": true
3285
3513
  },
@@ -3288,9 +3516,17 @@
3288
3516
  "name": "#initialValue",
3289
3517
  "privacy": "private",
3290
3518
  "type": {
3291
- "text": "string | null"
3519
+ "text": "string"
3292
3520
  },
3293
- "default": "null"
3521
+ "default": "\"\""
3522
+ },
3523
+ {
3524
+ "kind": "field",
3525
+ "name": "#lightDomObserver",
3526
+ "privacy": "private",
3527
+ "type": {
3528
+ "text": "MutationObserver | undefined"
3529
+ }
3294
3530
  },
3295
3531
  {
3296
3532
  "kind": "method",
@@ -3322,6 +3558,12 @@
3322
3558
  "privacy": "private",
3323
3559
  "readonly": true
3324
3560
  },
3561
+ {
3562
+ "kind": "field",
3563
+ "name": "_sourceOptions",
3564
+ "privacy": "private",
3565
+ "readonly": true
3566
+ },
3325
3567
  {
3326
3568
  "kind": "field",
3327
3569
  "name": "_navigationLabelOrDisplayValue",
@@ -3361,6 +3603,16 @@
3361
3603
  ],
3362
3604
  "description": "Generate options with unique IDs and match information"
3363
3605
  },
3606
+ {
3607
+ "kind": "method",
3608
+ "name": "#getOptionNodes",
3609
+ "privacy": "private"
3610
+ },
3611
+ {
3612
+ "kind": "method",
3613
+ "name": "#syncOptionsFromLightDom",
3614
+ "privacy": "private"
3615
+ },
3364
3616
  {
3365
3617
  "kind": "method",
3366
3618
  "name": "_getAriaText",
@@ -3539,7 +3791,7 @@
3539
3791
  "text": "ComboboxOption[]"
3540
3792
  },
3541
3793
  "default": "[]",
3542
- "description": "The available options to select from",
3794
+ "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.",
3543
3795
  "fieldName": "options"
3544
3796
  },
3545
3797
  {
@@ -3547,8 +3799,8 @@
3547
3799
  "type": {
3548
3800
  "text": "string | undefined"
3549
3801
  },
3550
- "default": "''",
3551
- "description": "Label above input",
3802
+ "default": "\"\"",
3803
+ "description": "The label displayed above the input.\n\nUse this to give the combobox a visible and accessible name.",
3552
3804
  "fieldName": "label"
3553
3805
  },
3554
3806
  {
@@ -3556,8 +3808,8 @@
3556
3808
  "type": {
3557
3809
  "text": "string | undefined"
3558
3810
  },
3559
- "default": "''",
3560
- "description": "Input placeholder",
3811
+ "default": "\"\"",
3812
+ "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.",
3561
3813
  "fieldName": "placeholder"
3562
3814
  },
3563
3815
  {
@@ -3565,8 +3817,8 @@
3565
3817
  "type": {
3566
3818
  "text": "string"
3567
3819
  },
3568
- "default": "''",
3569
- "description": "The input value",
3820
+ "default": "\"\"",
3821
+ "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.",
3570
3822
  "fieldName": "value"
3571
3823
  },
3572
3824
  {
@@ -3575,7 +3827,7 @@
3575
3827
  "text": "boolean"
3576
3828
  },
3577
3829
  "default": "false",
3578
- "description": "Whether the popover opens when focus is on the text field",
3830
+ "description": "Whether the option list opens when the input receives focus.\n\nUse this when users should see available options before they start typing.",
3579
3831
  "fieldName": "openOnFocus"
3580
3832
  },
3581
3833
  {
@@ -3584,7 +3836,7 @@
3584
3836
  "text": "boolean"
3585
3837
  },
3586
3838
  "default": "true",
3587
- "description": "Select active option on blur",
3839
+ "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.",
3588
3840
  "fieldName": "selectOnBlur"
3589
3841
  },
3590
3842
  {
@@ -3593,7 +3845,7 @@
3593
3845
  "text": "boolean"
3594
3846
  },
3595
3847
  "default": "false",
3596
- "description": "Whether the matching text segments in the options should be highlighted",
3848
+ "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.",
3597
3849
  "fieldName": "matchTextSegments"
3598
3850
  },
3599
3851
  {
@@ -3602,7 +3854,7 @@
3602
3854
  "text": "boolean"
3603
3855
  },
3604
3856
  "default": "false",
3605
- "description": "Disable client-side static filtering",
3857
+ "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.",
3606
3858
  "fieldName": "disableStaticFiltering"
3607
3859
  },
3608
3860
  {
@@ -3611,7 +3863,7 @@
3611
3863
  "text": "boolean"
3612
3864
  },
3613
3865
  "default": "false",
3614
- "description": "Renders the input field in an invalid state",
3866
+ "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.",
3615
3867
  "fieldName": "invalid"
3616
3868
  },
3617
3869
  {
@@ -3619,8 +3871,8 @@
3619
3871
  "type": {
3620
3872
  "text": "string | undefined"
3621
3873
  },
3622
- "default": "''",
3623
- "description": "The content to display as the help text",
3874
+ "default": "\"\"",
3875
+ "description": "Help text displayed below the input.\n\nUse this for supporting guidance or validation feedback.",
3624
3876
  "fieldName": "helpText"
3625
3877
  },
3626
3878
  {
@@ -3629,7 +3881,7 @@
3629
3881
  "text": "boolean"
3630
3882
  },
3631
3883
  "default": "false",
3632
- "description": "Whether the element is disabled",
3884
+ "description": "Whether the combobox is disabled.\n\nDisabled comboboxes cannot be focused, changed, or submitted with form data.",
3633
3885
  "fieldName": "disabled"
3634
3886
  },
3635
3887
  {
@@ -3638,7 +3890,7 @@
3638
3890
  "text": "boolean"
3639
3891
  },
3640
3892
  "default": "false",
3641
- "description": "Whether the element is required",
3893
+ "description": "Whether the combobox is required before form submission.\n\nUse this when the user must provide a value before submitting the form.",
3642
3894
  "fieldName": "required"
3643
3895
  },
3644
3896
  {
@@ -3647,7 +3899,7 @@
3647
3899
  "text": "boolean"
3648
3900
  },
3649
3901
  "default": "false",
3650
- "description": "Whether to show optional text",
3902
+ "description": "Whether to show optional text next to the label.\n\nUse this to indicate that the combobox is not required.",
3651
3903
  "fieldName": "optional"
3652
3904
  },
3653
3905
  {
@@ -3655,8 +3907,8 @@
3655
3907
  "type": {
3656
3908
  "text": "string | undefined"
3657
3909
  },
3658
- "default": "''",
3659
- "description": "Name attribute for form submission",
3910
+ "default": "\"\"",
3911
+ "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.",
3660
3912
  "fieldName": "name"
3661
3913
  },
3662
3914
  {
@@ -3664,8 +3916,8 @@
3664
3916
  "type": {
3665
3917
  "text": "string | undefined"
3666
3918
  },
3667
- "default": "'off'",
3668
- "description": "Autocomplete attribute for the input field",
3919
+ "default": "\"off\"",
3920
+ "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.",
3669
3921
  "fieldName": "autocomplete"
3670
3922
  }
3671
3923
  ],
@@ -3726,8 +3978,9 @@
3726
3978
  "kind": "field",
3727
3979
  "name": "label",
3728
3980
  "type": {
3729
- "text": "string"
3981
+ "text": "string | undefined"
3730
3982
  },
3983
+ "description": "The label displayed above the date input.\n\nUse this to give the datepicker a visible and accessible name.",
3731
3984
  "attribute": "label",
3732
3985
  "reflects": true
3733
3986
  },
@@ -3737,7 +3990,7 @@
3737
3990
  "type": {
3738
3991
  "text": "string"
3739
3992
  },
3740
- "description": "Takes precedence over the `<html>` lang attribute.",
3993
+ "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`.",
3741
3994
  "attribute": "lang",
3742
3995
  "reflects": true
3743
3996
  },
@@ -3745,8 +3998,9 @@
3745
3998
  "kind": "field",
3746
3999
  "name": "name",
3747
4000
  "type": {
3748
- "text": "string"
4001
+ "text": "string | undefined"
3749
4002
  },
4003
+ "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.",
3750
4004
  "attribute": "name",
3751
4005
  "reflects": true
3752
4006
  },
@@ -3754,8 +4008,9 @@
3754
4008
  "kind": "field",
3755
4009
  "name": "value",
3756
4010
  "type": {
3757
- "text": "string"
4011
+ "text": "string | undefined"
3758
4012
  },
4013
+ "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.",
3759
4014
  "attribute": "value",
3760
4015
  "reflects": true
3761
4016
  },
@@ -3765,8 +4020,8 @@
3765
4020
  "type": {
3766
4021
  "text": "string"
3767
4022
  },
3768
- "default": "'MMMM yyyy'",
3769
- "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).",
4023
+ "default": "\"MMMM yyyy\"",
4024
+ "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).",
3770
4025
  "attribute": "header-format"
3771
4026
  },
3772
4027
  {
@@ -3775,17 +4030,17 @@
3775
4030
  "type": {
3776
4031
  "text": "string"
3777
4032
  },
3778
- "default": "'EEEEEE'",
3779
- "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).",
4033
+ "default": "\"EEEEEE\"",
4034
+ "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).",
3780
4035
  "attribute": "weekday-format"
3781
4036
  },
3782
4037
  {
3783
4038
  "kind": "field",
3784
4039
  "name": "isDayDisabled",
3785
4040
  "type": {
3786
- "text": "(day: Date) => boolean"
4041
+ "text": "((day: Date) => boolean) | undefined"
3787
4042
  },
3788
- "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."
4043
+ "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."
3789
4044
  },
3790
4045
  {
3791
4046
  "kind": "field",
@@ -3793,8 +4048,8 @@
3793
4048
  "type": {
3794
4049
  "text": "string"
3795
4050
  },
3796
- "default": "'PPPP'",
3797
- "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).",
4051
+ "default": "\"PPPP\"",
4052
+ "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).",
3798
4053
  "attribute": "day-format"
3799
4054
  },
3800
4055
  {
@@ -3830,9 +4085,9 @@
3830
4085
  "name": "#initialValue",
3831
4086
  "privacy": "private",
3832
4087
  "type": {
3833
- "text": "string | null"
4088
+ "text": "string | undefined"
3834
4089
  },
3835
- "default": "null"
4090
+ "default": "undefined"
3836
4091
  },
3837
4092
  {
3838
4093
  "kind": "field",
@@ -3889,6 +4144,18 @@
3889
4144
  "text": "HTMLTableCellElement"
3890
4145
  }
3891
4146
  },
4147
+ {
4148
+ "kind": "field",
4149
+ "name": "#inputLocale",
4150
+ "privacy": "private",
4151
+ "readonly": true
4152
+ },
4153
+ {
4154
+ "kind": "field",
4155
+ "name": "#inputValue",
4156
+ "privacy": "private",
4157
+ "readonly": true
4158
+ },
3892
4159
  {
3893
4160
  "kind": "method",
3894
4161
  "name": "resetFormControl",
@@ -3999,8 +4266,9 @@
3999
4266
  {
4000
4267
  "name": "label",
4001
4268
  "type": {
4002
- "text": "string"
4269
+ "text": "string | undefined"
4003
4270
  },
4271
+ "description": "The label displayed above the date input.\n\nUse this to give the datepicker a visible and accessible name.",
4004
4272
  "fieldName": "label"
4005
4273
  },
4006
4274
  {
@@ -4008,21 +4276,23 @@
4008
4276
  "type": {
4009
4277
  "text": "string"
4010
4278
  },
4011
- "description": "Takes precedence over the `<html>` lang attribute.",
4279
+ "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`.",
4012
4280
  "fieldName": "lang"
4013
4281
  },
4014
4282
  {
4015
4283
  "name": "name",
4016
4284
  "type": {
4017
- "text": "string"
4285
+ "text": "string | undefined"
4018
4286
  },
4287
+ "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.",
4019
4288
  "fieldName": "name"
4020
4289
  },
4021
4290
  {
4022
4291
  "name": "value",
4023
4292
  "type": {
4024
- "text": "string"
4293
+ "text": "string | undefined"
4025
4294
  },
4295
+ "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.",
4026
4296
  "fieldName": "value"
4027
4297
  },
4028
4298
  {
@@ -4030,8 +4300,8 @@
4030
4300
  "type": {
4031
4301
  "text": "string"
4032
4302
  },
4033
- "default": "'MMMM yyyy'",
4034
- "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).",
4303
+ "default": "\"MMMM yyyy\"",
4304
+ "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).",
4035
4305
  "fieldName": "headerFormat"
4036
4306
  },
4037
4307
  {
@@ -4039,8 +4309,8 @@
4039
4309
  "type": {
4040
4310
  "text": "string"
4041
4311
  },
4042
- "default": "'EEEEEE'",
4043
- "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).",
4312
+ "default": "\"EEEEEE\"",
4313
+ "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).",
4044
4314
  "fieldName": "weekdayFormat"
4045
4315
  },
4046
4316
  {
@@ -4048,8 +4318,8 @@
4048
4318
  "type": {
4049
4319
  "text": "string"
4050
4320
  },
4051
- "default": "'PPPP'",
4052
- "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).",
4321
+ "default": "\"PPPP\"",
4322
+ "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).",
4053
4323
  "fieldName": "dayFormat"
4054
4324
  }
4055
4325
  ],
@@ -4094,7 +4364,7 @@
4094
4364
  "declarations": [
4095
4365
  {
4096
4366
  "kind": "class",
4097
- "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)",
4367
+ "description": "Expandable is a layout component used for creating expandable content areas on a page.",
4098
4368
  "name": "WarpExpandable",
4099
4369
  "slots": [
4100
4370
  {
@@ -4110,6 +4380,7 @@
4110
4380
  "text": "boolean"
4111
4381
  },
4112
4382
  "default": "false",
4383
+ "description": "Controls component's expanded state",
4113
4384
  "attribute": "expanded",
4114
4385
  "reflects": true
4115
4386
  },
@@ -4119,6 +4390,7 @@
4119
4390
  "type": {
4120
4391
  "text": "string"
4121
4392
  },
4393
+ "description": "Component title. Used to display the title value which is always present regardless of whether the component is open or closed.",
4122
4394
  "attribute": "title"
4123
4395
  },
4124
4396
  {
@@ -4128,6 +4400,7 @@
4128
4400
  "text": "boolean"
4129
4401
  },
4130
4402
  "default": "false",
4403
+ "description": "Will make the expandable a Box",
4131
4404
  "attribute": "box"
4132
4405
  },
4133
4406
  {
@@ -4137,22 +4410,25 @@
4137
4410
  "text": "boolean"
4138
4411
  },
4139
4412
  "default": "false",
4413
+ "description": "Will make the expandable full-width on the sm breakpoint size",
4140
4414
  "attribute": "bleed"
4141
4415
  },
4142
4416
  {
4143
4417
  "kind": "field",
4144
4418
  "name": "buttonClass",
4145
4419
  "type": {
4146
- "text": "string"
4420
+ "text": "string | undefined"
4147
4421
  },
4422
+ "deprecated": "Probably does not work the way you expect. The class must exist inside the shadow DOM of the component.",
4148
4423
  "attribute": "button-class"
4149
4424
  },
4150
4425
  {
4151
4426
  "kind": "field",
4152
4427
  "name": "contentClass",
4153
4428
  "type": {
4154
- "text": "string"
4429
+ "text": "string | undefined"
4155
4430
  },
4431
+ "deprecated": "Probably does not work the way you expect. The class must exist inside the shadow DOM of the component.",
4156
4432
  "attribute": "content-class"
4157
4433
  },
4158
4434
  {
@@ -4162,6 +4438,7 @@
4162
4438
  "text": "boolean"
4163
4439
  },
4164
4440
  "default": "false",
4441
+ "description": "Controls chevron visibility",
4165
4442
  "attribute": "no-chevron"
4166
4443
  },
4167
4444
  {
@@ -4171,14 +4448,16 @@
4171
4448
  "text": "boolean"
4172
4449
  },
4173
4450
  "default": "false",
4451
+ "description": "Will animate the expansion/collapse",
4174
4452
  "attribute": "animated"
4175
4453
  },
4176
4454
  {
4177
4455
  "kind": "field",
4178
4456
  "name": "headingLevel",
4179
4457
  "type": {
4180
- "text": "number"
4458
+ "text": "number | undefined"
4181
4459
  },
4460
+ "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.",
4182
4461
  "attribute": "heading-level"
4183
4462
  },
4184
4463
  {
@@ -4187,6 +4466,7 @@
4187
4466
  "type": {
4188
4467
  "text": "boolean"
4189
4468
  },
4469
+ "privacy": "private",
4190
4470
  "default": "true",
4191
4471
  "attribute": "_hasTitle"
4192
4472
  },
@@ -4196,6 +4476,7 @@
4196
4476
  "type": {
4197
4477
  "text": "boolean"
4198
4478
  },
4479
+ "privacy": "private",
4199
4480
  "default": "false",
4200
4481
  "attribute": "_showChevronUp"
4201
4482
  },
@@ -4243,6 +4524,7 @@
4243
4524
  "text": "boolean"
4244
4525
  },
4245
4526
  "default": "false",
4527
+ "description": "Controls component's expanded state",
4246
4528
  "fieldName": "expanded"
4247
4529
  },
4248
4530
  {
@@ -4250,6 +4532,7 @@
4250
4532
  "type": {
4251
4533
  "text": "string"
4252
4534
  },
4535
+ "description": "Component title. Used to display the title value which is always present regardless of whether the component is open or closed.",
4253
4536
  "fieldName": "title"
4254
4537
  },
4255
4538
  {
@@ -4258,6 +4541,7 @@
4258
4541
  "text": "boolean"
4259
4542
  },
4260
4543
  "default": "false",
4544
+ "description": "Will make the expandable a Box",
4261
4545
  "fieldName": "box"
4262
4546
  },
4263
4547
  {
@@ -4266,20 +4550,23 @@
4266
4550
  "text": "boolean"
4267
4551
  },
4268
4552
  "default": "false",
4553
+ "description": "Will make the expandable full-width on the sm breakpoint size",
4269
4554
  "fieldName": "bleed"
4270
4555
  },
4271
4556
  {
4272
4557
  "name": "button-class",
4273
4558
  "type": {
4274
- "text": "string"
4559
+ "text": "string | undefined"
4275
4560
  },
4561
+ "deprecated": "Probably does not work the way you expect. The class must exist inside the shadow DOM of the component.",
4276
4562
  "fieldName": "buttonClass"
4277
4563
  },
4278
4564
  {
4279
4565
  "name": "content-class",
4280
4566
  "type": {
4281
- "text": "string"
4567
+ "text": "string | undefined"
4282
4568
  },
4569
+ "deprecated": "Probably does not work the way you expect. The class must exist inside the shadow DOM of the component.",
4283
4570
  "fieldName": "contentClass"
4284
4571
  },
4285
4572
  {
@@ -4288,6 +4575,7 @@
4288
4575
  "text": "boolean"
4289
4576
  },
4290
4577
  "default": "false",
4578
+ "description": "Controls chevron visibility",
4291
4579
  "fieldName": "noChevron"
4292
4580
  },
4293
4581
  {
@@ -4296,13 +4584,15 @@
4296
4584
  "text": "boolean"
4297
4585
  },
4298
4586
  "default": "false",
4587
+ "description": "Will animate the expansion/collapse",
4299
4588
  "fieldName": "animated"
4300
4589
  },
4301
4590
  {
4302
4591
  "name": "heading-level",
4303
4592
  "type": {
4304
- "text": "number"
4593
+ "text": "number | undefined"
4305
4594
  },
4595
+ "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.",
4306
4596
  "fieldName": "headingLevel"
4307
4597
  },
4308
4598
  {
@@ -4388,7 +4678,7 @@
4388
4678
  "kind": "field",
4389
4679
  "name": "contentId",
4390
4680
  "type": {
4391
- "text": "string"
4681
+ "text": "string | undefined"
4392
4682
  },
4393
4683
  "attribute": "content-id"
4394
4684
  },
@@ -4426,6 +4716,15 @@
4426
4716
  },
4427
4717
  "privacy": "private"
4428
4718
  },
4719
+ {
4720
+ "kind": "field",
4721
+ "name": "_isClosing",
4722
+ "type": {
4723
+ "text": "boolean"
4724
+ },
4725
+ "privacy": "private",
4726
+ "default": "false"
4727
+ },
4429
4728
  {
4430
4729
  "kind": "method",
4431
4730
  "name": "open",
@@ -4447,7 +4746,7 @@
4447
4746
  "parameters": [
4448
4747
  {
4449
4748
  "name": "verb",
4450
- "default": "'addEventListener'"
4749
+ "default": "\"addEventListener\""
4451
4750
  }
4452
4751
  ]
4453
4752
  },
@@ -4523,7 +4822,7 @@
4523
4822
  {
4524
4823
  "name": "content-id",
4525
4824
  "type": {
4526
- "text": "string"
4825
+ "text": "string | undefined"
4527
4826
  },
4528
4827
  "fieldName": "contentId"
4529
4828
  },
@@ -4854,8 +5153,8 @@
4854
5153
  "type": {
4855
5154
  "text": "number"
4856
5155
  },
4857
- "description": "Currently selected page (1-based index)",
4858
5156
  "default": "1",
5157
+ "description": "Currently selected page (1-based index)",
4859
5158
  "attribute": "selected-page",
4860
5159
  "reflects": true
4861
5160
  },
@@ -4865,8 +5164,8 @@
4865
5164
  "type": {
4866
5165
  "text": "number"
4867
5166
  },
4868
- "description": "Total number of pages",
4869
5167
  "default": "1",
5168
+ "description": "Total number of pages",
4870
5169
  "attribute": "page-count",
4871
5170
  "reflects": true
4872
5171
  },
@@ -4897,8 +5196,8 @@
4897
5196
  "type": {
4898
5197
  "text": "number"
4899
5198
  },
4900
- "description": "Currently selected page (1-based index)",
4901
5199
  "default": "1",
5200
+ "description": "Currently selected page (1-based index)",
4902
5201
  "fieldName": "selectedPage"
4903
5202
  },
4904
5203
  {
@@ -4906,8 +5205,8 @@
4906
5205
  "type": {
4907
5206
  "text": "number"
4908
5207
  },
4909
- "description": "Total number of pages",
4910
5208
  "default": "1",
5209
+ "description": "Total number of pages",
4911
5210
  "fieldName": "pageCount"
4912
5211
  }
4913
5212
  ],
@@ -4953,7 +5252,7 @@
4953
5252
  "kind": "field",
4954
5253
  "name": "baseUrl",
4955
5254
  "type": {
4956
- "text": "string"
5255
+ "text": "string | undefined"
4957
5256
  },
4958
5257
  "description": "The base URL used to construct page links, for example `/search?page=`.\n\nThe page number is appended to this URL.",
4959
5258
  "attribute": "base-url",
@@ -4965,6 +5264,7 @@
4965
5264
  "type": {
4966
5265
  "text": "number"
4967
5266
  },
5267
+ "default": "0",
4968
5268
  "description": "The total number of pages.",
4969
5269
  "attribute": "pages",
4970
5270
  "reflects": true
@@ -4975,8 +5275,8 @@
4975
5275
  "type": {
4976
5276
  "text": "number"
4977
5277
  },
4978
- "description": "The currently active page number.",
4979
5278
  "default": "1",
5279
+ "description": "The currently active page number.",
4980
5280
  "attribute": "current-page",
4981
5281
  "reflects": true
4982
5282
  },
@@ -4986,8 +5286,8 @@
4986
5286
  "type": {
4987
5287
  "text": "number"
4988
5288
  },
4989
- "description": "The maximum number of page numbers visible.",
4990
5289
  "default": "7",
5290
+ "description": "The maximum number of page numbers visible.",
4991
5291
  "attribute": "visible-pages",
4992
5292
  "reflects": true
4993
5293
  },
@@ -5018,7 +5318,7 @@
5018
5318
  {
5019
5319
  "name": "base-url",
5020
5320
  "type": {
5021
- "text": "string"
5321
+ "text": "string | undefined"
5022
5322
  },
5023
5323
  "description": "The base URL used to construct page links, for example `/search?page=`.\n\nThe page number is appended to this URL.",
5024
5324
  "fieldName": "baseUrl"
@@ -5028,6 +5328,7 @@
5028
5328
  "type": {
5029
5329
  "text": "number"
5030
5330
  },
5331
+ "default": "0",
5031
5332
  "description": "The total number of pages.",
5032
5333
  "fieldName": "pages"
5033
5334
  },
@@ -5036,8 +5337,8 @@
5036
5337
  "type": {
5037
5338
  "text": "number"
5038
5339
  },
5039
- "description": "The currently active page number.",
5040
5340
  "default": "1",
5341
+ "description": "The currently active page number.",
5041
5342
  "fieldName": "currentPageNumber"
5042
5343
  },
5043
5344
  {
@@ -5045,8 +5346,8 @@
5045
5346
  "type": {
5046
5347
  "text": "number"
5047
5348
  },
5048
- "description": "The maximum number of page numbers visible.",
5049
5349
  "default": "7",
5350
+ "description": "The maximum number of page numbers visible.",
5050
5351
  "fieldName": "visiblePages"
5051
5352
  }
5052
5353
  ],
@@ -5112,7 +5413,7 @@
5112
5413
  "kind": "field",
5113
5414
  "name": "openSrLabel",
5114
5415
  "type": {
5115
- "text": "string"
5416
+ "text": "string | undefined"
5116
5417
  },
5117
5418
  "deprecated": "Used \"open-arial-label\" instead.",
5118
5419
  "attribute": "open-sr-label"
@@ -5121,7 +5422,7 @@
5121
5422
  "kind": "field",
5122
5423
  "name": "openAriaLabel",
5123
5424
  "type": {
5124
- "text": "string"
5425
+ "text": "string | undefined"
5125
5426
  },
5126
5427
  "description": "Label read by screen readers when targeting the pill.",
5127
5428
  "attribute": "open-aria-label"
@@ -5130,7 +5431,7 @@
5130
5431
  "kind": "field",
5131
5432
  "name": "closeSrLabel",
5132
5433
  "type": {
5133
- "text": "string"
5434
+ "text": "string | undefined"
5134
5435
  },
5135
5436
  "deprecated": "Used \"close-arial-label\" instead.",
5136
5437
  "attribute": "close-sr-label"
@@ -5139,7 +5440,7 @@
5139
5440
  "kind": "field",
5140
5441
  "name": "closeAriaLabel",
5141
5442
  "type": {
5142
- "text": "string"
5443
+ "text": "string | undefined"
5143
5444
  },
5144
5445
  "description": "Label read by screen readers when targeting the close button.",
5145
5446
  "attribute": "close-aria-label"
@@ -5221,7 +5522,7 @@
5221
5522
  {
5222
5523
  "name": "open-sr-label",
5223
5524
  "type": {
5224
- "text": "string"
5525
+ "text": "string | undefined"
5225
5526
  },
5226
5527
  "deprecated": "Used \"open-arial-label\" instead.",
5227
5528
  "fieldName": "openSrLabel"
@@ -5229,7 +5530,7 @@
5229
5530
  {
5230
5531
  "name": "open-aria-label",
5231
5532
  "type": {
5232
- "text": "string"
5533
+ "text": "string | undefined"
5233
5534
  },
5234
5535
  "description": "Label read by screen readers when targeting the pill.",
5235
5536
  "fieldName": "openAriaLabel"
@@ -5237,7 +5538,7 @@
5237
5538
  {
5238
5539
  "name": "close-sr-label",
5239
5540
  "type": {
5240
- "text": "string"
5541
+ "text": "string | undefined"
5241
5542
  },
5242
5543
  "deprecated": "Used \"close-arial-label\" instead.",
5243
5544
  "fieldName": "closeSrLabel"
@@ -5245,7 +5546,7 @@
5245
5546
  {
5246
5547
  "name": "close-aria-label",
5247
5548
  "type": {
5248
- "text": "string"
5549
+ "text": "string | undefined"
5249
5550
  },
5250
5551
  "description": "Label read by screen readers when targeting the close button.",
5251
5552
  "fieldName": "closeAriaLabel"
@@ -5628,7 +5929,7 @@
5628
5929
  "name": "label"
5629
5930
  },
5630
5931
  {
5631
- "description": "Alternative to the `help-text` attribute should you need custom HTML.",
5932
+ "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.).",
5632
5933
  "name": "help-text"
5633
5934
  }
5634
5935
  ],
@@ -5657,7 +5958,7 @@
5657
5958
  "type": {
5658
5959
  "text": "string"
5659
5960
  },
5660
- "default": "''",
5961
+ "default": "\"\"",
5661
5962
  "description": "Label for the radio group.",
5662
5963
  "attribute": "label"
5663
5964
  },
@@ -5667,7 +5968,7 @@
5667
5968
  "type": {
5668
5969
  "text": "string"
5669
5970
  },
5670
- "default": "''",
5971
+ "default": "\"\"",
5671
5972
  "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.",
5672
5973
  "attribute": "help-text"
5673
5974
  },
@@ -5906,7 +6207,7 @@
5906
6207
  {
5907
6208
  "name": "name",
5908
6209
  "type": {
5909
- "text": "'label' | 'help-text'"
6210
+ "text": "\"label\" | \"help-text\""
5910
6211
  }
5911
6212
  }
5912
6213
  ]
@@ -5995,7 +6296,7 @@
5995
6296
  "type": {
5996
6297
  "text": "string"
5997
6298
  },
5998
- "default": "''",
6299
+ "default": "\"\"",
5999
6300
  "description": "Label for the radio group.",
6000
6301
  "fieldName": "label"
6001
6302
  },
@@ -6004,7 +6305,7 @@
6004
6305
  "type": {
6005
6306
  "text": "string"
6006
6307
  },
6007
- "default": "''",
6308
+ "default": "\"\"",
6008
6309
  "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.",
6009
6310
  "fieldName": "helpText"
6010
6311
  },
@@ -6139,7 +6440,7 @@
6139
6440
  "kind": "field",
6140
6441
  "name": "helpText",
6141
6442
  "type": {
6142
- "text": "string"
6443
+ "text": "string | undefined"
6143
6444
  },
6144
6445
  "description": "The content displayed as the help text.\n\nPaired with `invalid` to show the text as a validation error.",
6145
6446
  "attribute": "help-text",
@@ -6172,7 +6473,7 @@
6172
6473
  "kind": "field",
6173
6474
  "name": "hint",
6174
6475
  "type": {
6175
- "text": "string"
6476
+ "text": "string | undefined"
6176
6477
  },
6177
6478
  "description": "The content displayed as the help text.",
6178
6479
  "deprecated": "Use `help-text` instead.",
@@ -6183,7 +6484,7 @@
6183
6484
  "kind": "field",
6184
6485
  "name": "label",
6185
6486
  "type": {
6186
- "text": "string"
6487
+ "text": "string | undefined"
6187
6488
  },
6188
6489
  "description": "The content to display as the label.",
6189
6490
  "attribute": "label",
@@ -6234,11 +6535,20 @@
6234
6535
  "attribute": "readonly",
6235
6536
  "reflects": true
6236
6537
  },
6538
+ {
6539
+ "kind": "field",
6540
+ "name": "_options",
6541
+ "type": {
6542
+ "text": "Array<TemplateResult>"
6543
+ },
6544
+ "privacy": "private",
6545
+ "default": "[]"
6546
+ },
6237
6547
  {
6238
6548
  "kind": "field",
6239
6549
  "name": "name",
6240
6550
  "type": {
6241
- "text": "string"
6551
+ "text": "string | undefined"
6242
6552
  },
6243
6553
  "description": "The [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#name) of the select when submitting the form.",
6244
6554
  "attribute": "name",
@@ -6248,7 +6558,7 @@
6248
6558
  "kind": "field",
6249
6559
  "name": "value",
6250
6560
  "type": {
6251
- "text": "string"
6561
+ "text": "string | undefined"
6252
6562
  },
6253
6563
  "description": "Lets you set the current value.",
6254
6564
  "attribute": "value",
@@ -6259,9 +6569,9 @@
6259
6569
  "name": "#initialValue",
6260
6570
  "privacy": "private",
6261
6571
  "type": {
6262
- "text": "string | null"
6572
+ "text": "string | undefined"
6263
6573
  },
6264
- "default": "null"
6574
+ "default": "undefined"
6265
6575
  },
6266
6576
  {
6267
6577
  "kind": "field",
@@ -6310,7 +6620,7 @@
6310
6620
  "privacy": "private",
6311
6621
  "parameters": [
6312
6622
  {
6313
- "name": "{ allowDefaultFirstOption = false }",
6623
+ "name": "{\n\t\tallowDefaultFirstOption = false,\n\t}",
6314
6624
  "default": "{}",
6315
6625
  "type": {
6316
6626
  "text": "{ allowDefaultFirstOption?: boolean }"
@@ -6324,7 +6634,7 @@
6324
6634
  "privacy": "private",
6325
6635
  "parameters": [
6326
6636
  {
6327
- "name": "{ syncValueFromSelected = false }",
6637
+ "name": "{\n\t\tsyncValueFromSelected = false,\n\t}",
6328
6638
  "default": "{}",
6329
6639
  "type": {
6330
6640
  "text": "{ syncValueFromSelected?: boolean }"
@@ -6394,7 +6704,7 @@
6394
6704
  {
6395
6705
  "name": "help-text",
6396
6706
  "type": {
6397
- "text": "string"
6707
+ "text": "string | undefined"
6398
6708
  },
6399
6709
  "description": "The content displayed as the help text.\n\nPaired with `invalid` to show the text as a validation error.",
6400
6710
  "fieldName": "helpText"
@@ -6421,7 +6731,7 @@
6421
6731
  {
6422
6732
  "name": "hint",
6423
6733
  "type": {
6424
- "text": "string"
6734
+ "text": "string | undefined"
6425
6735
  },
6426
6736
  "description": "The content displayed as the help text.",
6427
6737
  "deprecated": "Use `help-text` instead.",
@@ -6430,7 +6740,7 @@
6430
6740
  {
6431
6741
  "name": "label",
6432
6742
  "type": {
6433
- "text": "string"
6743
+ "text": "string | undefined"
6434
6744
  },
6435
6745
  "description": "The content to display as the label.",
6436
6746
  "fieldName": "label"
@@ -6475,7 +6785,7 @@
6475
6785
  {
6476
6786
  "name": "name",
6477
6787
  "type": {
6478
- "text": "string"
6788
+ "text": "string | undefined"
6479
6789
  },
6480
6790
  "description": "The [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#name) of the select when submitting the form.",
6481
6791
  "fieldName": "name"
@@ -6483,7 +6793,7 @@
6483
6793
  {
6484
6794
  "name": "value",
6485
6795
  "type": {
6486
- "text": "string"
6796
+ "text": "string | undefined"
6487
6797
  },
6488
6798
  "description": "Lets you set the current value.",
6489
6799
  "fieldName": "value"
@@ -6537,18 +6847,19 @@
6537
6847
  "kind": "field",
6538
6848
  "name": "ariaLabel",
6539
6849
  "type": {
6540
- "text": "string"
6850
+ "text": "string | null"
6541
6851
  },
6852
+ "default": "null",
6542
6853
  "description": "Label for the range input.",
6543
- "default": "`label` from `w-slider`",
6544
6854
  "attribute": "aria-label"
6545
6855
  },
6546
6856
  {
6547
6857
  "kind": "field",
6548
6858
  "name": "ariaDescription",
6549
6859
  "type": {
6550
- "text": "string"
6860
+ "text": "string | null"
6551
6861
  },
6862
+ "default": "null",
6552
6863
  "description": "Contextual information for assistive technology, should it be needed",
6553
6864
  "attribute": "aria-description"
6554
6865
  },
@@ -6556,7 +6867,7 @@
6556
6867
  "kind": "field",
6557
6868
  "name": "name",
6558
6869
  "type": {
6559
- "text": "string"
6870
+ "text": "string | undefined"
6560
6871
  },
6561
6872
  "description": "The name of this input field in the form. The canonical source of the value is the text field.",
6562
6873
  "attribute": "name",
@@ -6566,7 +6877,7 @@
6566
6877
  "kind": "field",
6567
6878
  "name": "value",
6568
6879
  "type": {
6569
- "text": "string"
6880
+ "text": "string | undefined"
6570
6881
  },
6571
6882
  "description": "The initial value, if any",
6572
6883
  "attribute": "value",
@@ -6576,7 +6887,7 @@
6576
6887
  "kind": "field",
6577
6888
  "name": "placeholder",
6578
6889
  "type": {
6579
- "text": "string"
6890
+ "text": "string | undefined"
6580
6891
  },
6581
6892
  "description": "Placeholder in empty text fields",
6582
6893
  "attribute": "placeholder",
@@ -6587,9 +6898,9 @@
6587
6898
  "name": "#initialValue",
6588
6899
  "privacy": "private",
6589
6900
  "type": {
6590
- "text": "string | null"
6901
+ "text": "string | undefined"
6591
6902
  },
6592
- "default": "null"
6903
+ "default": "undefined"
6593
6904
  },
6594
6905
  {
6595
6906
  "kind": "method",
@@ -6752,24 +7063,25 @@
6752
7063
  {
6753
7064
  "name": "aria-label",
6754
7065
  "type": {
6755
- "text": "string"
7066
+ "text": "string | null"
6756
7067
  },
7068
+ "default": "null",
6757
7069
  "description": "Label for the range input.",
6758
- "default": "`label` from `w-slider`",
6759
7070
  "fieldName": "ariaLabel"
6760
7071
  },
6761
7072
  {
6762
7073
  "name": "aria-description",
6763
7074
  "type": {
6764
- "text": "string"
7075
+ "text": "string | null"
6765
7076
  },
7077
+ "default": "null",
6766
7078
  "description": "Contextual information for assistive technology, should it be needed",
6767
7079
  "fieldName": "ariaDescription"
6768
7080
  },
6769
7081
  {
6770
7082
  "name": "name",
6771
7083
  "type": {
6772
- "text": "string"
7084
+ "text": "string | undefined"
6773
7085
  },
6774
7086
  "description": "The name of this input field in the form. The canonical source of the value is the text field.",
6775
7087
  "fieldName": "name"
@@ -6777,7 +7089,7 @@
6777
7089
  {
6778
7090
  "name": "value",
6779
7091
  "type": {
6780
- "text": "string"
7092
+ "text": "string | undefined"
6781
7093
  },
6782
7094
  "description": "The initial value, if any",
6783
7095
  "fieldName": "value"
@@ -6785,7 +7097,7 @@
6785
7097
  {
6786
7098
  "name": "placeholder",
6787
7099
  "type": {
6788
- "text": "string"
7100
+ "text": "string | undefined"
6789
7101
  },
6790
7102
  "description": "Placeholder in empty text fields",
6791
7103
  "fieldName": "placeholder"
@@ -6865,7 +7177,7 @@
6865
7177
  "kind": "field",
6866
7178
  "name": "label",
6867
7179
  "type": {
6868
- "text": "string"
7180
+ "text": "string | undefined"
6869
7181
  },
6870
7182
  "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>`)",
6871
7183
  "attribute": "label",
@@ -6895,7 +7207,7 @@
6895
7207
  "kind": "field",
6896
7208
  "name": "error",
6897
7209
  "type": {
6898
- "text": "string"
7210
+ "text": "string | undefined"
6899
7211
  },
6900
7212
  "description": "Validation error text, if any",
6901
7213
  "attribute": "error",
@@ -6905,7 +7217,7 @@
6905
7217
  "kind": "field",
6906
7218
  "name": "helpText",
6907
7219
  "type": {
6908
- "text": "string"
7220
+ "text": "string | undefined"
6909
7221
  },
6910
7222
  "description": "Additional description to show below the fieldset",
6911
7223
  "attribute": "help-text",
@@ -6933,11 +7245,22 @@
6933
7245
  "attribute": "required",
6934
7246
  "reflects": true
6935
7247
  },
7248
+ {
7249
+ "kind": "field",
7250
+ "name": "optional",
7251
+ "type": {
7252
+ "text": "boolean"
7253
+ },
7254
+ "default": "false",
7255
+ "description": "Whether to show the optional indicator after the label.",
7256
+ "attribute": "optional",
7257
+ "reflects": true
7258
+ },
6936
7259
  {
6937
7260
  "kind": "field",
6938
7261
  "name": "min",
6939
7262
  "type": {
6940
- "text": "string"
7263
+ "text": "string | undefined"
6941
7264
  },
6942
7265
  "description": "The minimum allowed value in the range inputs",
6943
7266
  "default": "0",
@@ -6948,7 +7271,7 @@
6948
7271
  "kind": "field",
6949
7272
  "name": "max",
6950
7273
  "type": {
6951
- "text": "string"
7274
+ "text": "string | undefined"
6952
7275
  },
6953
7276
  "description": "The maximum allowed value in the range inputs",
6954
7277
  "default": "100",
@@ -6959,7 +7282,7 @@
6959
7282
  "kind": "field",
6960
7283
  "name": "markers",
6961
7284
  "type": {
6962
- "text": "number"
7285
+ "text": "number | undefined"
6963
7286
  },
6964
7287
  "description": "Pass a value similar to step to create visual markers at that interval",
6965
7288
  "attribute": "markers",
@@ -6969,7 +7292,7 @@
6969
7292
  "kind": "field",
6970
7293
  "name": "step",
6971
7294
  "type": {
6972
- "text": "number"
7295
+ "text": "number | undefined"
6973
7296
  },
6974
7297
  "description": "ets step on the range input to jump between values when dragging",
6975
7298
  "attribute": "step",
@@ -6979,7 +7302,7 @@
6979
7302
  "kind": "field",
6980
7303
  "name": "suffix",
6981
7304
  "type": {
6982
- "text": "string"
7305
+ "text": "string | undefined"
6983
7306
  },
6984
7307
  "description": "Suffix used in text input fields and for the min and max values of the slider",
6985
7308
  "attribute": "suffix",
@@ -7000,7 +7323,7 @@
7000
7323
  "kind": "field",
7001
7324
  "name": "valueFormatter",
7002
7325
  "type": {
7003
- "text": "(value: string, slot: SliderSlot) => string"
7326
+ "text": "((value: string, slot: SliderSlot) => string) | undefined"
7004
7327
  },
7005
7328
  "description": "Formatter for the tooltip and input mask values"
7006
7329
  },
@@ -7008,7 +7331,7 @@
7008
7331
  "kind": "field",
7009
7332
  "name": "tooltipFormatter",
7010
7333
  "type": {
7011
- "text": "(value: string, slot: SliderSlot) => string"
7334
+ "text": "((value: string, slot: SliderSlot) => string) | undefined"
7012
7335
  },
7013
7336
  "description": "Overrides valueFormatter for the tooltip.\n\nUse in open-ended sliders to show for example \"300+ hk\" instead of \"Max\" in the tooltip."
7014
7337
  },
@@ -7016,7 +7339,7 @@
7016
7339
  "kind": "field",
7017
7340
  "name": "labelFormatter",
7018
7341
  "type": {
7019
- "text": "(slot: SliderSlot) => string"
7342
+ "text": "((slot: SliderSlot) => string) | undefined"
7020
7343
  },
7021
7344
  "description": "Formatter for the min and max labels below the range."
7022
7345
  },
@@ -7063,211 +7386,610 @@
7063
7386
  },
7064
7387
  {
7065
7388
  "kind": "method",
7066
- "name": "#handleKeyDown",
7389
+ "name": "#handleKeyDown",
7390
+ "privacy": "private",
7391
+ "parameters": [
7392
+ {
7393
+ "name": "e",
7394
+ "type": {
7395
+ "text": "KeyboardEvent"
7396
+ }
7397
+ }
7398
+ ]
7399
+ },
7400
+ {
7401
+ "kind": "method",
7402
+ "name": "#doValidation",
7403
+ "privacy": "private"
7404
+ },
7405
+ {
7406
+ "kind": "method",
7407
+ "name": "#onSliderValidity",
7408
+ "privacy": "private",
7409
+ "parameters": [
7410
+ {
7411
+ "name": "e",
7412
+ "type": {
7413
+ "text": "CustomEvent"
7414
+ }
7415
+ }
7416
+ ]
7417
+ },
7418
+ {
7419
+ "kind": "method",
7420
+ "name": "#getEdgeValue",
7421
+ "privacy": "private",
7422
+ "return": {
7423
+ "type": {
7424
+ "text": "string"
7425
+ }
7426
+ },
7427
+ "parameters": [
7428
+ {
7429
+ "name": "boundary",
7430
+ "type": {
7431
+ "text": "string"
7432
+ }
7433
+ },
7434
+ {
7435
+ "name": "input",
7436
+ "type": {
7437
+ "text": "WarpSliderThumb"
7438
+ }
7439
+ }
7440
+ ]
7441
+ },
7442
+ {
7443
+ "kind": "method",
7444
+ "name": "#updateActiveTrack",
7445
+ "privacy": "private",
7446
+ "parameters": [
7447
+ {
7448
+ "name": "input",
7449
+ "type": {
7450
+ "text": "WarpSliderThumb"
7451
+ }
7452
+ }
7453
+ ],
7454
+ "description": "We use CSS variables to fill the active track with a background color."
7455
+ },
7456
+ {
7457
+ "kind": "method",
7458
+ "name": "_handleLabelSlotChange",
7459
+ "privacy": "private",
7460
+ "parameters": [
7461
+ {
7462
+ "name": "e",
7463
+ "type": {
7464
+ "text": "Event"
7465
+ }
7466
+ }
7467
+ ]
7468
+ },
7469
+ {
7470
+ "kind": "field",
7471
+ "name": "_label",
7472
+ "readonly": true
7473
+ }
7474
+ ],
7475
+ "attributes": [
7476
+ {
7477
+ "name": "label",
7478
+ "type": {
7479
+ "text": "string | undefined"
7480
+ },
7481
+ "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>`)",
7482
+ "fieldName": "label"
7483
+ },
7484
+ {
7485
+ "name": "disabled",
7486
+ "type": {
7487
+ "text": "boolean"
7488
+ },
7489
+ "default": "false",
7490
+ "fieldName": "disabled"
7491
+ },
7492
+ {
7493
+ "name": "open-ended",
7494
+ "type": {
7495
+ "text": "boolean"
7496
+ },
7497
+ "default": "false",
7498
+ "description": "Whether or not to allow values outside the range such as \"Before 1950\" and \"2025+\".",
7499
+ "fieldName": "openEnded"
7500
+ },
7501
+ {
7502
+ "name": "error",
7503
+ "type": {
7504
+ "text": "string | undefined"
7505
+ },
7506
+ "description": "Validation error text, if any",
7507
+ "fieldName": "error"
7508
+ },
7509
+ {
7510
+ "name": "help-text",
7511
+ "type": {
7512
+ "text": "string | undefined"
7513
+ },
7514
+ "description": "Additional description to show below the fieldset",
7515
+ "fieldName": "helpText"
7516
+ },
7517
+ {
7518
+ "name": "invalid",
7519
+ "type": {
7520
+ "text": "boolean"
7521
+ },
7522
+ "default": "false",
7523
+ "description": "Sets the form fields and fieldset in an invalid state",
7524
+ "fieldName": "invalid"
7525
+ },
7526
+ {
7527
+ "name": "required",
7528
+ "type": {
7529
+ "text": "boolean"
7530
+ },
7531
+ "default": "false",
7532
+ "description": "Ensures a child slider thumb has a value before allowing the containing form to submit",
7533
+ "fieldName": "required"
7534
+ },
7535
+ {
7536
+ "name": "optional",
7537
+ "type": {
7538
+ "text": "boolean"
7539
+ },
7540
+ "default": "false",
7541
+ "description": "Whether to show the optional indicator after the label.",
7542
+ "fieldName": "optional"
7543
+ },
7544
+ {
7545
+ "name": "min",
7546
+ "type": {
7547
+ "text": "string | undefined"
7548
+ },
7549
+ "description": "The minimum allowed value in the range inputs",
7550
+ "default": "0",
7551
+ "fieldName": "min"
7552
+ },
7553
+ {
7554
+ "name": "max",
7555
+ "type": {
7556
+ "text": "string | undefined"
7557
+ },
7558
+ "description": "The maximum allowed value in the range inputs",
7559
+ "default": "100",
7560
+ "fieldName": "max"
7561
+ },
7562
+ {
7563
+ "name": "markers",
7564
+ "type": {
7565
+ "text": "number | undefined"
7566
+ },
7567
+ "description": "Pass a value similar to step to create visual markers at that interval",
7568
+ "fieldName": "markers"
7569
+ },
7570
+ {
7571
+ "name": "step",
7572
+ "type": {
7573
+ "text": "number | undefined"
7574
+ },
7575
+ "description": "ets step on the range input to jump between values when dragging",
7576
+ "fieldName": "step"
7577
+ },
7578
+ {
7579
+ "name": "suffix",
7580
+ "type": {
7581
+ "text": "string | undefined"
7582
+ },
7583
+ "description": "Suffix used in text input fields and for the min and max values of the slider",
7584
+ "fieldName": "suffix"
7585
+ },
7586
+ {
7587
+ "name": "hidden-textfield",
7588
+ "type": {
7589
+ "text": "boolean"
7590
+ },
7591
+ "default": "false",
7592
+ "description": "Should only be used in special cases",
7593
+ "fieldName": "hiddenTextfield"
7594
+ }
7595
+ ],
7596
+ "superclass": {
7597
+ "name": "LitElement",
7598
+ "package": "lit"
7599
+ },
7600
+ "tagName": "w-slider",
7601
+ "customElement": true,
7602
+ "modulePath": "packages/slider/slider.ts",
7603
+ "definitionPath": "packages/slider/slider.ts"
7604
+ }
7605
+ ],
7606
+ "exports": [
7607
+ {
7608
+ "kind": "custom-element-definition",
7609
+ "name": "w-slider",
7610
+ "declaration": {
7611
+ "name": "WarpSlider",
7612
+ "module": "packages/slider/slider.ts"
7613
+ }
7614
+ },
7615
+ {
7616
+ "kind": "js",
7617
+ "name": "WarpSlider",
7618
+ "declaration": {
7619
+ "name": "WarpSlider",
7620
+ "module": "packages/slider/slider.ts"
7621
+ }
7622
+ }
7623
+ ]
7624
+ },
7625
+ {
7626
+ "kind": "javascript-module",
7627
+ "path": "packages/snackbar-item/snackbar-item.ts",
7628
+ "declarations": [
7629
+ {
7630
+ "kind": "class",
7631
+ "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.",
7632
+ "name": "WarpSnackbarItem",
7633
+ "cssProperties": [
7634
+ {
7635
+ "name": "--w-c-snackbar-item-radius"
7636
+ },
7637
+ {
7638
+ "name": "--w-c-snackbar-item-max-width"
7639
+ },
7640
+ {
7641
+ "name": "--w-c-snackbar-item-min-width"
7642
+ },
7643
+ {
7644
+ "name": "--w-c-snackbar-item-padding"
7645
+ },
7646
+ {
7647
+ "name": "--w-c-snackbar-item-bg"
7648
+ },
7649
+ {
7650
+ "name": "--w-c-snackbar-item-action-bg-active"
7651
+ },
7652
+ {
7653
+ "name": "--w-c-snackbar-item-action-bg-hover"
7654
+ },
7655
+ {
7656
+ "name": "--w-c-snackbar-item-color"
7657
+ },
7658
+ {
7659
+ "name": "--w-c-snackbar-item-action-color-active"
7660
+ },
7661
+ {
7662
+ "name": "--w-c-snackbar-item-action-color-hover"
7663
+ },
7664
+ {
7665
+ "name": "--w-c-snackbar-item-box-shadow"
7666
+ }
7667
+ ],
7668
+ "cssParts": [
7669
+ {
7670
+ "description": "the container wrapping the message, icon and actions.",
7671
+ "name": "item"
7672
+ },
7673
+ {
7674
+ "description": "the icon for the variant.",
7675
+ "name": "icon"
7676
+ },
7677
+ {
7678
+ "description": "the default slot, body of the snackbar item.",
7679
+ "name": "message"
7680
+ },
7681
+ {
7682
+ "description": "close and action button.",
7683
+ "name": "action"
7684
+ }
7685
+ ],
7686
+ "slots": [
7687
+ {
7688
+ "description": "the snackbar message.",
7689
+ "name": "default"
7690
+ },
7691
+ {
7692
+ "description": "icon preceeding the message.",
7693
+ "name": "icon"
7694
+ },
7695
+ {
7696
+ "description": "action following the message.",
7697
+ "name": "action"
7698
+ }
7699
+ ],
7700
+ "members": [
7701
+ {
7702
+ "kind": "field",
7703
+ "name": "actionPlacement",
7704
+ "type": {
7705
+ "text": "SnackbarActionPlacement"
7706
+ },
7707
+ "default": "\"inline\"",
7708
+ "description": "The placement of the action and close buttons.",
7709
+ "attribute": "action-placement",
7710
+ "reflects": true,
7711
+ "parsedType": {
7712
+ "text": "'inline' | 'block'"
7713
+ }
7714
+ },
7715
+ {
7716
+ "kind": "field",
7717
+ "name": "duration",
7718
+ "type": {
7719
+ "text": "number"
7720
+ },
7721
+ "description": "How long the message should stay in the document before removing itself.",
7722
+ "attribute": "duration",
7723
+ "reflects": true
7724
+ },
7725
+ {
7726
+ "kind": "field",
7727
+ "name": "root",
7728
+ "type": {
7729
+ "text": "HTMLDivElement | null"
7730
+ },
7731
+ "privacy": "private"
7732
+ },
7733
+ {
7734
+ "kind": "field",
7735
+ "name": "hasAction",
7736
+ "type": {
7737
+ "text": "boolean"
7738
+ },
7739
+ "privacy": "private",
7740
+ "default": "false"
7741
+ },
7742
+ {
7743
+ "kind": "field",
7744
+ "name": "#expanded",
7745
+ "privacy": "private",
7746
+ "type": {
7747
+ "text": "boolean"
7748
+ },
7749
+ "default": "false"
7750
+ },
7751
+ {
7752
+ "kind": "field",
7753
+ "name": "#durationLeft",
7754
+ "privacy": "private",
7755
+ "type": {
7756
+ "text": "number"
7757
+ }
7758
+ },
7759
+ {
7760
+ "kind": "field",
7761
+ "name": "#lastFocused",
7762
+ "privacy": "private",
7763
+ "type": {
7764
+ "text": "HTMLElement | null"
7765
+ },
7766
+ "default": "null"
7767
+ },
7768
+ {
7769
+ "kind": "field",
7770
+ "name": "#timer",
7771
+ "privacy": "private",
7772
+ "type": {
7773
+ "text": "ReturnType<typeof setTimeout> | null"
7774
+ },
7775
+ "default": "null"
7776
+ },
7777
+ {
7778
+ "kind": "field",
7779
+ "name": "#timerPaused",
7780
+ "privacy": "private",
7781
+ "type": {
7782
+ "text": "boolean"
7783
+ },
7784
+ "default": "false"
7785
+ },
7786
+ {
7787
+ "kind": "method",
7788
+ "name": "close",
7789
+ "return": {
7790
+ "type": {
7791
+ "text": "void"
7792
+ }
7793
+ },
7794
+ "description": "Remove the snackbar item from the document.\n\nMoves focus to the last focused element outside of the snackbar item, if available.",
7795
+ "type": {
7796
+ "text": "close() => void"
7797
+ }
7798
+ },
7799
+ {
7800
+ "kind": "method",
7801
+ "name": "#onFocusIn",
7067
7802
  "privacy": "private",
7068
7803
  "parameters": [
7069
7804
  {
7070
7805
  "name": "e",
7071
7806
  "type": {
7072
- "text": "KeyboardEvent"
7807
+ "text": "FocusEvent"
7073
7808
  }
7074
7809
  }
7075
- ]
7076
- },
7077
- {
7078
- "kind": "method",
7079
- "name": "#doValidation",
7080
- "privacy": "private"
7810
+ ],
7811
+ "description": "Listen to focusin, not focus, as focus does not bubble.\n\nWe're interested in running code when an action button gets focus,\nsuch as pausing the countdown and storing the last focused element\noutside of the snackbar so we can return there when it closes.\n\nOnly save the first instance of `relatedTarget` so we don't overwrite\nit when focus moves from an action button to the close button."
7081
7812
  },
7082
7813
  {
7083
7814
  "kind": "method",
7084
- "name": "#onSliderValidity",
7815
+ "name": "#onFocusOut",
7085
7816
  "privacy": "private",
7086
7817
  "parameters": [
7087
7818
  {
7088
7819
  "name": "e",
7089
7820
  "type": {
7090
- "text": "CustomEvent"
7821
+ "text": "FocusEvent"
7091
7822
  }
7092
7823
  }
7093
- ]
7824
+ ],
7825
+ "description": "Listen to focusout, not blur, as blur does not bubble.\n\nUnpause the countdown by clearing this.#lastFocused\nif the focus is moving outside of the snackbar item."
7094
7826
  },
7095
7827
  {
7096
7828
  "kind": "method",
7097
- "name": "#getEdgeValue",
7098
- "privacy": "private",
7099
- "return": {
7100
- "type": {
7101
- "text": "string"
7102
- }
7103
- },
7104
- "parameters": [
7105
- {
7106
- "name": "boundary",
7107
- "type": {
7108
- "text": "string"
7109
- }
7110
- },
7111
- {
7112
- "name": "input",
7113
- "type": {
7114
- "text": "WarpSliderThumb"
7115
- }
7116
- }
7117
- ]
7829
+ "name": "#onMouseEnter",
7830
+ "privacy": "private"
7118
7831
  },
7119
7832
  {
7120
7833
  "kind": "method",
7121
- "name": "#updateActiveTrack",
7122
- "privacy": "private",
7123
- "parameters": [
7124
- {
7125
- "name": "input",
7126
- "type": {
7127
- "text": "WarpSliderThumb"
7128
- }
7129
- }
7130
- ],
7131
- "description": "We use CSS variables to fill the active track with a background color."
7834
+ "name": "#onMouseLeave",
7835
+ "privacy": "private"
7836
+ },
7837
+ {
7838
+ "kind": "method",
7839
+ "name": "#hasAction",
7840
+ "privacy": "private"
7132
7841
  }
7133
7842
  ],
7134
7843
  "attributes": [
7135
7844
  {
7136
- "name": "label",
7137
- "type": {
7138
- "text": "string"
7139
- },
7140
- "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>`)",
7141
- "fieldName": "label"
7142
- },
7143
- {
7144
- "name": "disabled",
7845
+ "name": "action-placement",
7145
7846
  "type": {
7146
- "text": "boolean"
7847
+ "text": "SnackbarActionPlacement"
7147
7848
  },
7148
- "default": "false",
7149
- "fieldName": "disabled"
7849
+ "default": "\"inline\"",
7850
+ "description": "The placement of the action and close buttons.",
7851
+ "fieldName": "actionPlacement",
7852
+ "parsedType": {
7853
+ "text": "'inline' | 'block'"
7854
+ }
7150
7855
  },
7151
7856
  {
7152
- "name": "open-ended",
7857
+ "name": "duration",
7153
7858
  "type": {
7154
- "text": "boolean"
7859
+ "text": "number"
7155
7860
  },
7156
- "default": "false",
7157
- "description": "Whether or not to allow values outside the range such as \"Before 1950\" and \"2025+\".",
7158
- "fieldName": "openEnded"
7159
- },
7861
+ "description": "How long the message should stay in the document before removing itself.",
7862
+ "fieldName": "duration"
7863
+ }
7864
+ ],
7865
+ "superclass": {
7866
+ "name": "LitElement",
7867
+ "package": "lit"
7868
+ },
7869
+ "parent": {
7870
+ "name": "w-snackbar",
7871
+ "description": ""
7872
+ },
7873
+ "tagName": "w-snackbar-item",
7874
+ "customElement": true,
7875
+ "modulePath": "packages/snackbar-item/snackbar-item.ts",
7876
+ "definitionPath": "packages/snackbar-item/snackbar-item.ts"
7877
+ }
7878
+ ],
7879
+ "exports": [
7880
+ {
7881
+ "kind": "js",
7882
+ "name": "WarpSnackbarItem",
7883
+ "declaration": {
7884
+ "name": "WarpSnackbarItem",
7885
+ "module": "packages/snackbar-item/snackbar-item.ts"
7886
+ }
7887
+ },
7888
+ {
7889
+ "kind": "custom-element-definition",
7890
+ "name": "w-snackbar-item",
7891
+ "declaration": {
7892
+ "name": "WarpSnackbarItem",
7893
+ "module": "packages/snackbar-item/snackbar-item.ts"
7894
+ }
7895
+ }
7896
+ ]
7897
+ },
7898
+ {
7899
+ "kind": "javascript-module",
7900
+ "path": "packages/snackbar/snackbar.ts",
7901
+ "declarations": [
7902
+ {
7903
+ "kind": "class",
7904
+ "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.",
7905
+ "name": "WarpSnackbar",
7906
+ "cssProperties": [
7160
7907
  {
7161
- "name": "error",
7162
- "type": {
7163
- "text": "string"
7164
- },
7165
- "description": "Validation error text, if any",
7166
- "fieldName": "error"
7908
+ "name": "--w-c-snackbar-container-gap"
7167
7909
  },
7168
7910
  {
7169
- "name": "help-text",
7170
- "type": {
7171
- "text": "string"
7172
- },
7173
- "description": "Additional description to show below the fieldset",
7174
- "fieldName": "helpText"
7911
+ "name": "--w-c-snackbar-position-bottom"
7175
7912
  },
7176
7913
  {
7177
- "name": "invalid",
7178
- "type": {
7179
- "text": "boolean"
7180
- },
7181
- "default": "false",
7182
- "description": "Sets the form fields and fieldset in an invalid state",
7183
- "fieldName": "invalid"
7914
+ "name": "--w-c-snackbar-position-left"
7184
7915
  },
7185
7916
  {
7186
- "name": "required",
7187
- "type": {
7188
- "text": "boolean"
7189
- },
7190
- "default": "false",
7191
- "description": "Ensures a child slider thumb has a value before allowing the containing form to submit",
7192
- "fieldName": "required"
7917
+ "name": "--w-c-snackbar-position-right"
7193
7918
  },
7194
7919
  {
7195
- "name": "min",
7196
- "type": {
7197
- "text": "string"
7198
- },
7199
- "description": "The minimum allowed value in the range inputs",
7200
- "default": "0",
7201
- "fieldName": "min"
7920
+ "name": "--w-c-snackbar-position-top"
7202
7921
  },
7203
7922
  {
7204
- "name": "max",
7205
- "type": {
7206
- "text": "string"
7207
- },
7208
- "description": "The maximum allowed value in the range inputs",
7209
- "default": "100",
7210
- "fieldName": "max"
7211
- },
7923
+ "name": "--w-c-snackbar-z-index"
7924
+ }
7925
+ ],
7926
+ "cssParts": [
7212
7927
  {
7213
- "name": "markers",
7214
- "type": {
7215
- "text": "number"
7216
- },
7217
- "description": "Pass a value similar to step to create visual markers at that interval",
7218
- "fieldName": "markers"
7219
- },
7928
+ "description": "the live region that positions messages on the screen.",
7929
+ "name": "container"
7930
+ }
7931
+ ],
7932
+ "slots": [
7220
7933
  {
7221
- "name": "step",
7222
- "type": {
7223
- "text": "number"
7224
- },
7225
- "description": "ets step on the range input to jump between values when dragging",
7226
- "fieldName": "step"
7227
- },
7934
+ "description": "`w-snackbar-item` gets placed inside the default slot by the `create` function.",
7935
+ "name": "default"
7936
+ }
7937
+ ],
7938
+ "members": [
7228
7939
  {
7229
- "name": "suffix",
7230
- "type": {
7231
- "text": "string"
7940
+ "kind": "method",
7941
+ "name": "create",
7942
+ "return": {
7943
+ "type": {
7944
+ "text": ""
7945
+ }
7232
7946
  },
7233
- "description": "Suffix used in text input fields and for the min and max values of the slider",
7234
- "fieldName": "suffix"
7235
- },
7236
- {
7237
- "name": "hidden-textfield",
7947
+ "parameters": [
7948
+ {
7949
+ "name": "message",
7950
+ "type": {
7951
+ "text": "string"
7952
+ }
7953
+ },
7954
+ {
7955
+ "name": "options",
7956
+ "default": "{}",
7957
+ "type": {
7958
+ "text": "CreateSnackbarOptions"
7959
+ }
7960
+ }
7961
+ ],
7962
+ "description": "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.",
7238
7963
  "type": {
7239
- "text": "boolean"
7240
- },
7241
- "default": "false",
7242
- "description": "Should only be used in special cases",
7243
- "fieldName": "hiddenTextfield"
7964
+ "text": "create(message: string, options: CreateSnackbarOptions = {}) => void"
7965
+ }
7244
7966
  }
7245
7967
  ],
7246
7968
  "superclass": {
7247
7969
  "name": "LitElement",
7248
7970
  "package": "lit"
7249
7971
  },
7250
- "tagName": "w-slider",
7972
+ "tagName": "w-snackbar",
7251
7973
  "customElement": true,
7252
- "modulePath": "packages/slider/slider.ts",
7253
- "definitionPath": "packages/slider/slider.ts"
7974
+ "modulePath": "packages/snackbar/snackbar.ts",
7975
+ "definitionPath": "packages/snackbar/snackbar.ts"
7254
7976
  }
7255
7977
  ],
7256
7978
  "exports": [
7257
7979
  {
7258
- "kind": "custom-element-definition",
7259
- "name": "w-slider",
7980
+ "kind": "js",
7981
+ "name": "WarpSnackbar",
7260
7982
  "declaration": {
7261
- "name": "WarpSlider",
7262
- "module": "packages/slider/slider.ts"
7983
+ "name": "WarpSnackbar",
7984
+ "module": "packages/snackbar/snackbar.ts"
7263
7985
  }
7264
7986
  },
7265
7987
  {
7266
- "kind": "js",
7267
- "name": "WarpSlider",
7988
+ "kind": "custom-element-definition",
7989
+ "name": "w-snackbar",
7268
7990
  "declaration": {
7269
- "name": "WarpSlider",
7270
- "module": "packages/slider/slider.ts"
7991
+ "name": "WarpSnackbar",
7992
+ "module": "packages/snackbar/snackbar.ts"
7271
7993
  }
7272
7994
  }
7273
7995
  ]
@@ -7310,7 +8032,7 @@
7310
8032
  "text": "StepsContext"
7311
8033
  },
7312
8034
  "privacy": "private",
7313
- "default": "{ horizontal: false, right: false, isLast: false, isFirst: false }"
8035
+ "default": "{ horizontal: false, right: false, isLast: false, isFirst: false, }"
7314
8036
  },
7315
8037
  {
7316
8038
  "kind": "field",
@@ -7533,9 +8255,9 @@
7533
8255
  "name": "#initialState",
7534
8256
  "privacy": "private",
7535
8257
  "type": {
7536
- "text": "boolean | null"
8258
+ "text": "boolean"
7537
8259
  },
7538
- "default": "null"
8260
+ "default": "false"
7539
8261
  },
7540
8262
  {
7541
8263
  "kind": "method",
@@ -7675,7 +8397,7 @@
7675
8397
  "kind": "field",
7676
8398
  "name": "_ownAriaSelected",
7677
8399
  "type": {
7678
- "text": "'true' | 'false' | undefined"
8400
+ "text": "\"true\" | \"false\" | undefined"
7679
8401
  },
7680
8402
  "privacy": "private"
7681
8403
  },
@@ -7857,7 +8579,7 @@
7857
8579
  "kind": "field",
7858
8580
  "name": "active",
7859
8581
  "type": {
7860
- "text": "string"
8582
+ "text": "string | undefined"
7861
8583
  },
7862
8584
  "description": "The `id` of the panel that should be active.",
7863
8585
  "default": "\"\" (Shows the first tab)",
@@ -7889,10 +8611,10 @@
7889
8611
  "kind": "field",
7890
8612
  "name": "_activeTabFor",
7891
8613
  "type": {
7892
- "text": "string"
8614
+ "text": "string | undefined"
7893
8615
  },
7894
8616
  "privacy": "private",
7895
- "default": "''"
8617
+ "default": "\"\""
7896
8618
  },
7897
8619
  {
7898
8620
  "kind": "field",
@@ -7968,7 +8690,7 @@
7968
8690
  {
7969
8691
  "name": "active",
7970
8692
  "type": {
7971
- "text": "string"
8693
+ "text": "string | undefined"
7972
8694
  },
7973
8695
  "description": "The `id` of the panel that should be active.",
7974
8696
  "default": "\"\" (Shows the first tab)",
@@ -8040,7 +8762,7 @@
8040
8762
  "kind": "field",
8041
8763
  "name": "label",
8042
8764
  "type": {
8043
- "text": "string"
8765
+ "text": "string | undefined"
8044
8766
  },
8045
8767
  "description": "Either a `label` or an `aria-label` must be provided.",
8046
8768
  "attribute": "label",
@@ -8050,7 +8772,7 @@
8050
8772
  "kind": "field",
8051
8773
  "name": "helpText",
8052
8774
  "type": {
8053
- "text": "string"
8775
+ "text": "string | undefined"
8054
8776
  },
8055
8777
  "description": "Use in combination with `invalid` to show as a validation error message,\nor on its own to show a help text.",
8056
8778
  "summary": "Description shown below the input field",
@@ -8061,7 +8783,7 @@
8061
8783
  "kind": "field",
8062
8784
  "name": "maxRows",
8063
8785
  "type": {
8064
- "text": "number"
8786
+ "text": "number | undefined"
8065
8787
  },
8066
8788
  "description": "Sets the maximum number of text rows before the content starts scrolling.",
8067
8789
  "attribute": "maximum-rows",
@@ -8071,7 +8793,7 @@
8071
8793
  "kind": "field",
8072
8794
  "name": "minRows",
8073
8795
  "type": {
8074
- "text": "number"
8796
+ "text": "number | undefined"
8075
8797
  },
8076
8798
  "description": "Sets the minimum number of text rows the textarea should display",
8077
8799
  "attribute": "minimum-rows",
@@ -8081,7 +8803,7 @@
8081
8803
  "kind": "field",
8082
8804
  "name": "name",
8083
8805
  "type": {
8084
- "text": "string"
8806
+ "text": "string | undefined"
8085
8807
  },
8086
8808
  "description": "The [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#name) of the input field when submitting the form",
8087
8809
  "attribute": "name",
@@ -8091,7 +8813,7 @@
8091
8813
  "kind": "field",
8092
8814
  "name": "placeholder",
8093
8815
  "type": {
8094
- "text": "string"
8816
+ "text": "string | undefined"
8095
8817
  },
8096
8818
  "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.",
8097
8819
  "summary": "Shown in the textarea when it doesn't have a value",
@@ -8135,7 +8857,7 @@
8135
8857
  "kind": "field",
8136
8858
  "name": "value",
8137
8859
  "type": {
8138
- "text": "string"
8860
+ "text": "string | undefined"
8139
8861
  },
8140
8862
  "description": "Lets you set the current value",
8141
8863
  "attribute": "value",
@@ -8165,9 +8887,9 @@
8165
8887
  "name": "#initialValue",
8166
8888
  "privacy": "private",
8167
8889
  "type": {
8168
- "text": "string | null"
8890
+ "text": "string | undefined"
8169
8891
  },
8170
- "default": "null"
8892
+ "default": "undefined"
8171
8893
  },
8172
8894
  {
8173
8895
  "kind": "field",
@@ -8331,7 +9053,7 @@
8331
9053
  {
8332
9054
  "name": "label",
8333
9055
  "type": {
8334
- "text": "string"
9056
+ "text": "string | undefined"
8335
9057
  },
8336
9058
  "description": "Either a `label` or an `aria-label` must be provided.",
8337
9059
  "fieldName": "label"
@@ -8339,7 +9061,7 @@
8339
9061
  {
8340
9062
  "name": "help-text",
8341
9063
  "type": {
8342
- "text": "string"
9064
+ "text": "string | undefined"
8343
9065
  },
8344
9066
  "description": "Use in combination with `invalid` to show as a validation error message,\nor on its own to show a help text.",
8345
9067
  "summary": "Description shown below the input field",
@@ -8348,7 +9070,7 @@
8348
9070
  {
8349
9071
  "name": "maximum-rows",
8350
9072
  "type": {
8351
- "text": "number"
9073
+ "text": "number | undefined"
8352
9074
  },
8353
9075
  "description": "Sets the maximum number of text rows before the content starts scrolling.",
8354
9076
  "fieldName": "maxRows"
@@ -8356,7 +9078,7 @@
8356
9078
  {
8357
9079
  "name": "minimum-rows",
8358
9080
  "type": {
8359
- "text": "number"
9081
+ "text": "number | undefined"
8360
9082
  },
8361
9083
  "description": "Sets the minimum number of text rows the textarea should display",
8362
9084
  "fieldName": "minRows"
@@ -8364,7 +9086,7 @@
8364
9086
  {
8365
9087
  "name": "name",
8366
9088
  "type": {
8367
- "text": "string"
9089
+ "text": "string | undefined"
8368
9090
  },
8369
9091
  "description": "The [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#name) of the input field when submitting the form",
8370
9092
  "fieldName": "name"
@@ -8372,7 +9094,7 @@
8372
9094
  {
8373
9095
  "name": "placeholder",
8374
9096
  "type": {
8375
- "text": "string"
9097
+ "text": "string | undefined"
8376
9098
  },
8377
9099
  "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.",
8378
9100
  "summary": "Shown in the textarea when it doesn't have a value",
@@ -8408,7 +9130,7 @@
8408
9130
  {
8409
9131
  "name": "value",
8410
9132
  "type": {
8411
- "text": "string"
9133
+ "text": "string | undefined"
8412
9134
  },
8413
9135
  "description": "Lets you set the current value",
8414
9136
  "fieldName": "value"