@warp-ds/elements 2.4.0 → 2.5.0-next.2

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 (426) hide show
  1. package/dist/api.js.map +2 -2
  2. package/dist/custom-elements.json +878 -412
  3. package/dist/index.d.ts +2204 -777
  4. package/dist/packages/affix/{index.js → affix.js} +1 -1
  5. package/dist/packages/affix/{index.js.map → affix.js.map} +1 -1
  6. package/dist/packages/affix/affix.react.stories.d.ts +1 -1
  7. package/dist/packages/affix/affix.stories.d.ts +2 -2
  8. package/dist/packages/affix/affix.stories.js +1 -1
  9. package/dist/packages/affix/affix.test.d.ts +1 -1
  10. package/dist/packages/affix/affix.test.js +1 -1
  11. package/dist/packages/affix/react.d.ts +1 -1
  12. package/dist/packages/alert/{index.js → alert.js} +1 -1
  13. package/dist/packages/alert/{index.js.map → alert.js.map} +1 -1
  14. package/dist/packages/alert/alert.react.stories.d.ts +1 -1
  15. package/dist/packages/alert/alert.stories.d.ts +2 -2
  16. package/dist/packages/alert/alert.stories.js +1 -1
  17. package/dist/packages/alert/alert.test.d.ts +1 -1
  18. package/dist/packages/alert/alert.test.js +1 -1
  19. package/dist/packages/alert/react.d.ts +1 -1
  20. package/dist/packages/alert/react.js +1 -1
  21. package/dist/packages/attention/{index.d.ts → attention.d.ts} +1 -1
  22. package/dist/packages/attention/{index.js → attention.js} +18 -18
  23. package/dist/packages/attention/attention.js.map +7 -0
  24. package/dist/packages/attention/attention.react.stories.d.ts +1 -1
  25. package/dist/packages/attention/attention.stories.d.ts +3 -3
  26. package/dist/packages/attention/attention.stories.js +2 -2
  27. package/dist/packages/attention/attention.test.d.ts +1 -1
  28. package/dist/packages/attention/attention.test.js +1 -1
  29. package/dist/packages/attention/react.d.ts +1 -1
  30. package/dist/packages/attention/react.js +1 -1
  31. package/dist/packages/badge/{index.js → badge.js} +1 -1
  32. package/dist/packages/badge/{index.js.map → badge.js.map} +1 -1
  33. package/dist/packages/badge/badge.react.stories.d.ts +3 -3
  34. package/dist/packages/badge/badge.stories.d.ts +2 -2
  35. package/dist/packages/badge/badge.stories.js +1 -1
  36. package/dist/packages/badge/badge.test.d.ts +1 -1
  37. package/dist/packages/badge/badge.test.js +1 -1
  38. package/dist/packages/badge/react.d.ts +1 -1
  39. package/dist/packages/badge/react.js +1 -1
  40. package/dist/packages/box/{index.js → box.js} +1 -1
  41. package/dist/packages/box/{index.js.map → box.js.map} +1 -1
  42. package/dist/packages/box/box.react.stories.d.ts +3 -3
  43. package/dist/packages/box/box.stories.d.ts +2 -2
  44. package/dist/packages/box/box.stories.js +1 -1
  45. package/dist/packages/box/box.test.d.ts +1 -1
  46. package/dist/packages/box/box.test.js +1 -1
  47. package/dist/packages/box/react.d.ts +1 -1
  48. package/dist/packages/box/react.js +1 -1
  49. package/dist/packages/box/slot.test.d.ts +1 -1
  50. package/dist/packages/box/slot.test.js +1 -1
  51. package/dist/packages/breadcrumbs/{index.js → breadcrumbs.js} +10 -10
  52. package/dist/packages/breadcrumbs/breadcrumbs.js.map +7 -0
  53. package/dist/packages/breadcrumbs/breadcrumbs.react.stories.d.ts +3 -3
  54. package/dist/packages/breadcrumbs/breadcrumbs.stories.d.ts +2 -2
  55. package/dist/packages/breadcrumbs/breadcrumbs.stories.js +1 -1
  56. package/dist/packages/breadcrumbs/breadcrumbs.test.d.ts +1 -1
  57. package/dist/packages/breadcrumbs/breadcrumbs.test.js +1 -1
  58. package/dist/packages/breadcrumbs/react.d.ts +1 -1
  59. package/dist/packages/breadcrumbs/react.js +1 -1
  60. package/dist/packages/button/{index.d.ts → button.d.ts} +1 -1
  61. package/dist/packages/button/{index.js → button.js} +12 -12
  62. package/dist/packages/button/button.js.map +7 -0
  63. package/dist/packages/button/button.react.stories.d.ts +3 -3
  64. package/dist/packages/button/button.stories.d.ts +2 -2
  65. package/dist/packages/button/button.stories.js +1 -1
  66. package/dist/packages/button/button.test.d.ts +1 -1
  67. package/dist/packages/button/button.test.js +1 -1
  68. package/dist/packages/button/react.d.ts +1 -1
  69. package/dist/packages/button/react.js +1 -1
  70. package/dist/packages/card/{index.js → card.js} +9 -9
  71. package/dist/packages/card/card.js.map +7 -0
  72. package/dist/packages/card/card.react.stories.d.ts +3 -3
  73. package/dist/packages/card/card.stories.d.ts +2 -2
  74. package/dist/packages/card/card.stories.js +1 -1
  75. package/dist/packages/card/card.test.d.ts +1 -1
  76. package/dist/packages/card/card.test.js +1 -1
  77. package/dist/packages/card/react.d.ts +1 -1
  78. package/dist/packages/card/react.js +1 -1
  79. package/dist/packages/combobox/{index.js → combobox.js} +14 -14
  80. package/dist/packages/combobox/{index.js.map → combobox.js.map} +4 -4
  81. package/dist/packages/combobox/combobox.react.stories.d.ts +4 -4
  82. package/dist/packages/combobox/combobox.stories.d.ts +3 -3
  83. package/dist/packages/combobox/combobox.stories.js +2 -2
  84. package/dist/packages/combobox/combobox.test.d.ts +2 -2
  85. package/dist/packages/combobox/combobox.test.js +2 -2
  86. package/dist/packages/combobox/react.d.ts +1 -1
  87. package/dist/packages/combobox/react.js +1 -1
  88. package/dist/packages/datepicker/DatePicker.test.d.ts +2 -2
  89. package/dist/packages/datepicker/DatePicker.test.js +2 -2
  90. package/dist/packages/datepicker/datepicker.js +15 -15
  91. package/dist/packages/datepicker/datepicker.js.map +3 -3
  92. package/dist/packages/datepicker/datepicker.react.stories.d.ts +2 -2
  93. package/dist/packages/datepicker/datepicker.stories.d.ts +3 -3
  94. package/dist/packages/datepicker/datepicker.stories.js +2 -2
  95. package/dist/packages/datepicker/datepicker.test.d.ts +2 -2
  96. package/dist/packages/datepicker/datepicker.test.js +2 -2
  97. package/dist/packages/datepicker/react.js +1 -1
  98. package/dist/packages/expandable/{index.js → expandable.js} +1 -1
  99. package/dist/packages/expandable/{index.js.map → expandable.js.map} +1 -1
  100. package/dist/packages/expandable/expandable.react.stories.d.ts +3 -3
  101. package/dist/packages/expandable/expandable.stories.d.ts +2 -2
  102. package/dist/packages/expandable/expandable.stories.js +1 -1
  103. package/dist/packages/expandable/expandable.test.d.ts +1 -1
  104. package/dist/packages/expandable/expandable.test.js +1 -1
  105. package/dist/packages/expandable/react.d.ts +1 -1
  106. package/dist/packages/expandable/react.js +1 -1
  107. package/dist/packages/i18n.js +6 -2
  108. package/dist/packages/icon/icon.d.ts +22 -0
  109. package/dist/packages/icon/icon.js +27 -0
  110. package/dist/packages/icon/icon.js.map +7 -0
  111. package/dist/packages/icon/icon.react.stories.d.ts +28 -0
  112. package/dist/packages/icon/icon.react.stories.js +37 -0
  113. package/dist/packages/icon/icon.stories.d.ts +39 -0
  114. package/dist/packages/icon/icon.stories.js +43 -0
  115. package/dist/packages/icon/react.d.ts +2 -0
  116. package/dist/packages/{deadtoggle → icon}/react.js +3 -3
  117. package/dist/packages/icon/style.js +27 -0
  118. package/dist/packages/link/{index.js → link.js} +3 -3
  119. package/dist/packages/link/link.js.map +7 -0
  120. package/dist/packages/link/link.react.stories.d.ts +3 -3
  121. package/dist/packages/link/link.stories.d.ts +2 -2
  122. package/dist/packages/link/link.stories.js +1 -1
  123. package/dist/packages/link/link.test.d.ts +1 -1
  124. package/dist/packages/link/link.test.js +1 -1
  125. package/dist/packages/link/react.d.ts +1 -1
  126. package/dist/packages/link/react.js +1 -1
  127. package/dist/packages/link/styles.js +2 -2
  128. package/dist/packages/modal/index.d.ts +6 -3
  129. package/dist/packages/modal/index.js +10 -2717
  130. package/dist/packages/modal/{modal-main.js → modal.js} +1 -1
  131. package/dist/packages/modal/{modal-main.js.map → modal.js.map} +1 -1
  132. package/dist/packages/modal/modal.react.stories.d.ts +1 -1
  133. package/dist/packages/modal/modal.stories.d.ts +6 -3
  134. package/dist/packages/modal/modal.stories.js +3 -1
  135. package/dist/packages/modal/react.d.ts +3 -6
  136. package/dist/packages/modal/react.js +4 -15
  137. package/dist/packages/{modal → modal-footer}/modal-footer.d.ts +2 -2
  138. package/dist/packages/{modal → modal-footer}/modal-footer.js +4 -4
  139. package/dist/packages/modal-footer/modal-footer.js.map +7 -0
  140. package/dist/packages/modal-footer/react.d.ts +2 -0
  141. package/dist/packages/{stepindicator → modal-footer}/react.js +3 -8
  142. package/dist/packages/{modal → modal-header}/modal-header.d.ts +1 -1
  143. package/dist/packages/{modal → modal-header}/modal-header.js +7 -7
  144. package/dist/packages/modal-header/modal-header.js.map +7 -0
  145. package/dist/packages/modal-header/react.d.ts +5 -0
  146. package/dist/packages/{pagination → modal-header}/react.js +5 -5
  147. package/dist/packages/page-indicator/locales/da/messages.mjs +1 -0
  148. package/dist/packages/page-indicator/locales/en/messages.mjs +1 -0
  149. package/dist/packages/page-indicator/locales/fi/messages.mjs +1 -0
  150. package/dist/packages/page-indicator/locales/nb/messages.mjs +1 -0
  151. package/dist/packages/page-indicator/locales/sv/messages.mjs +1 -0
  152. package/dist/packages/page-indicator/page-indicator.d.ts +26 -0
  153. package/dist/packages/page-indicator/page-indicator.js +41 -0
  154. package/dist/packages/page-indicator/page-indicator.js.map +7 -0
  155. package/dist/packages/{pageindicator/pageindicator.react.stories.d.ts → page-indicator/page-indicator.react.stories.d.ts} +3 -3
  156. package/dist/packages/{pageindicator/pageindicator.stories.d.ts → page-indicator/page-indicator.stories.d.ts} +1 -1
  157. package/dist/packages/page-indicator/page-indicator.stories.js +87 -0
  158. package/dist/packages/page-indicator/page-indicator.test.d.ts +1 -0
  159. package/dist/packages/page-indicator/page-indicator.test.js +118 -0
  160. package/dist/packages/{pageindicator → page-indicator}/react.d.ts +1 -1
  161. package/dist/packages/{pageindicator → page-indicator}/react.js +2 -2
  162. package/dist/packages/{pageindicator → page-indicator}/style.js +4 -4
  163. package/dist/packages/pill/{index.js → pill.js} +9 -9
  164. package/dist/packages/pill/pill.js.map +7 -0
  165. package/dist/packages/pill/pill.react.stories.d.ts +4 -4
  166. package/dist/packages/pill/pill.stories.d.ts +2 -2
  167. package/dist/packages/pill/pill.stories.js +1 -1
  168. package/dist/packages/pill/pill.test.d.ts +1 -1
  169. package/dist/packages/pill/pill.test.js +1 -1
  170. package/dist/packages/pill/react.d.ts +1 -1
  171. package/dist/packages/pill/react.js +1 -1
  172. package/dist/packages/select/react.d.ts +1 -1
  173. package/dist/packages/select/react.js +1 -1
  174. package/dist/packages/select/{index.js → select.js} +16 -16
  175. package/dist/packages/select/select.js.map +7 -0
  176. package/dist/packages/select/select.react.stories.d.ts +4 -4
  177. package/dist/packages/select/select.react.stories.js +1 -1
  178. package/dist/packages/select/select.stories.d.ts +2 -2
  179. package/dist/packages/select/select.stories.js +1 -1
  180. package/dist/packages/select/select.test.d.ts +1 -1
  181. package/dist/packages/select/select.test.js +1 -1
  182. package/dist/packages/switch/react.d.ts +1 -1
  183. package/dist/packages/switch/react.js +1 -1
  184. package/dist/packages/switch/{index.js → switch.js} +1 -1
  185. package/dist/packages/switch/{index.js.map → switch.js.map} +1 -1
  186. package/dist/packages/switch/switch.react.stories.d.ts +1 -1
  187. package/dist/packages/switch/switch.stories.d.ts +1 -1
  188. package/dist/packages/switch/switch.stories.js +1 -1
  189. package/dist/packages/switch/switch.test.d.ts +1 -1
  190. package/dist/packages/switch/switch.test.js +2 -2
  191. package/dist/packages/tab/react.d.ts +7 -0
  192. package/dist/packages/tab/react.js +17 -0
  193. package/dist/packages/{tabs → tab}/tab.d.ts +2 -5
  194. package/dist/packages/tab/tab.js +2464 -0
  195. package/dist/packages/tab/tab.js.map +7 -0
  196. package/dist/packages/tab-panel/react.d.ts +2 -0
  197. package/dist/packages/tab-panel/react.js +11 -0
  198. package/dist/packages/{tabs → tab-panel}/tab-panel.d.ts +3 -3
  199. package/dist/packages/tab-panel/tab-panel.js +2441 -0
  200. package/dist/packages/tab-panel/tab-panel.js.map +7 -0
  201. package/dist/packages/tabs/index.d.ts +2 -3
  202. package/dist/packages/tabs/index.js +3 -2
  203. package/dist/packages/tabs/react.d.ts +3 -8
  204. package/dist/packages/tabs/react.js +4 -17
  205. package/dist/packages/tabs/tabs.d.ts +2 -5
  206. package/dist/packages/tabs/tabs.js +2447 -252
  207. package/dist/packages/tabs/tabs.js.map +7 -0
  208. package/dist/packages/tabs/tabs.react.stories.d.ts +14 -1
  209. package/dist/packages/tabs/tabs.react.stories.js +55 -35
  210. package/dist/packages/tabs/tabs.stories.d.ts +5 -4
  211. package/dist/packages/tabs/tabs.stories.js +89 -65
  212. package/dist/packages/textfield/react.d.ts +1 -1
  213. package/dist/packages/textfield/react.js +1 -1
  214. package/dist/packages/textfield/{index.js → textfield.js} +1 -1
  215. package/dist/packages/textfield/{index.js.map → textfield.js.map} +1 -1
  216. package/dist/packages/textfield/textfield.react.stories.d.ts +4 -4
  217. package/dist/packages/textfield/textfield.stories.d.ts +2 -2
  218. package/dist/packages/textfield/textfield.stories.js +1 -1
  219. package/dist/packages/textfield/textfield.test.d.ts +2 -2
  220. package/dist/packages/textfield/textfield.test.js +2 -2
  221. package/dist/packages/toast/index.d.ts +5 -3
  222. package/dist/packages/toast/index.js +7 -2483
  223. package/dist/packages/toast/toast.js +8 -8
  224. package/dist/packages/toast/toast.js.map +3 -3
  225. package/dist/packages/toast/toast.stories.d.ts +4 -3
  226. package/dist/packages/toast/toast.stories.js +3 -2
  227. package/dist/packages/{toast → toast-container}/toast-container.d.ts +1 -1
  228. package/dist/packages/toast-container/toast-container.js.map +7 -0
  229. package/dist/web-types.json +175 -38
  230. package/package.json +91 -38
  231. package/dist/packages/attention/index.js.map +0 -7
  232. package/dist/packages/breadcrumbs/index.js.map +0 -7
  233. package/dist/packages/button/index.js.map +0 -7
  234. package/dist/packages/card/index.js.map +0 -7
  235. package/dist/packages/checkbox/checkbox-group.d.ts +0 -10
  236. package/dist/packages/checkbox/checkbox-group.js +0 -15
  237. package/dist/packages/checkbox/checkbox.d.ts +0 -66
  238. package/dist/packages/checkbox/checkbox.js +0 -220
  239. package/dist/packages/checkbox/checkbox.react.stories.d.ts +0 -12
  240. package/dist/packages/checkbox/checkbox.react.stories.js +0 -10
  241. package/dist/packages/checkbox/checkbox.stories.d.ts +0 -11
  242. package/dist/packages/checkbox/checkbox.stories.js +0 -25
  243. package/dist/packages/checkbox/index.d.ts +0 -2
  244. package/dist/packages/checkbox/index.js +0 -2
  245. package/dist/packages/checkbox/react.d.ts +0 -7
  246. package/dist/packages/checkbox/react.js +0 -20
  247. package/dist/packages/checkbox/styles.d.ts +0 -0
  248. package/dist/packages/checkbox/styles.js +0 -0
  249. package/dist/packages/datepicker/index.d.ts +0 -1
  250. package/dist/packages/datepicker/index.js +0 -2785
  251. package/dist/packages/datepicker/index.js.map +0 -7
  252. package/dist/packages/deadtoggle/dead-toggle.react.stories.d.ts +0 -15
  253. package/dist/packages/deadtoggle/dead-toggle.react.stories.js +0 -34
  254. package/dist/packages/deadtoggle/dead-toggle.stories.d.ts +0 -14
  255. package/dist/packages/deadtoggle/dead-toggle.stories.js +0 -45
  256. package/dist/packages/deadtoggle/dead-toggle.test.d.ts +0 -1
  257. package/dist/packages/deadtoggle/dead-toggle.test.js +0 -9
  258. package/dist/packages/deadtoggle/index.d.ts +0 -17
  259. package/dist/packages/deadtoggle/index.js +0 -51
  260. package/dist/packages/deadtoggle/react.d.ts +0 -2
  261. package/dist/packages/link/index.js.map +0 -7
  262. package/dist/packages/modal/index.js.map +0 -7
  263. package/dist/packages/modal/modal-footer.js.map +0 -7
  264. package/dist/packages/modal/modal-header.js.map +0 -7
  265. package/dist/packages/pageindicator/index.d.ts +0 -10
  266. package/dist/packages/pageindicator/index.js +0 -48
  267. package/dist/packages/pageindicator/pageindicator.stories.js +0 -71
  268. package/dist/packages/pagination/index.d.ts +0 -32
  269. package/dist/packages/pagination/index.js +0 -199
  270. package/dist/packages/pagination/locales/da/messages.mjs +0 -1
  271. package/dist/packages/pagination/locales/en/messages.mjs +0 -1
  272. package/dist/packages/pagination/locales/fi/messages.mjs +0 -1
  273. package/dist/packages/pagination/locales/nb/messages.mjs +0 -1
  274. package/dist/packages/pagination/locales/sv/messages.mjs +0 -1
  275. package/dist/packages/pagination/pagination.react.stories.d.ts +0 -21
  276. package/dist/packages/pagination/pagination.react.stories.js +0 -45
  277. package/dist/packages/pagination/pagination.stories.d.ts +0 -14
  278. package/dist/packages/pagination/pagination.stories.js +0 -56
  279. package/dist/packages/pagination/pagination.test.d.ts +0 -1
  280. package/dist/packages/pagination/pagination.test.js +0 -76
  281. package/dist/packages/pagination/react.d.ts +0 -5
  282. package/dist/packages/pagination/styles.js +0 -2
  283. package/dist/packages/pill/index.js.map +0 -7
  284. package/dist/packages/radio/base-element.d.ts +0 -46
  285. package/dist/packages/radio/base-element.js +0 -100
  286. package/dist/packages/radio/custom-error-validator.d.ts +0 -6
  287. package/dist/packages/radio/custom-error-validator.js +0 -22
  288. package/dist/packages/radio/form-associated-element.d.ts +0 -103
  289. package/dist/packages/radio/form-associated-element.js +0 -282
  290. package/dist/packages/radio/host-styles.d.ts +0 -1
  291. package/dist/packages/radio/host-styles.js +0 -12
  292. package/dist/packages/radio/index.d.ts +0 -2
  293. package/dist/packages/radio/index.js +0 -2
  294. package/dist/packages/radio/invalid.d.ts +0 -8
  295. package/dist/packages/radio/invalid.js +0 -5
  296. package/dist/packages/radio/math.d.ts +0 -1
  297. package/dist/packages/radio/math.js +0 -4
  298. package/dist/packages/radio/radio-group-styles.d.ts +0 -1
  299. package/dist/packages/radio/radio-group-styles.js +0 -59
  300. package/dist/packages/radio/radio-group.d.ts +0 -72
  301. package/dist/packages/radio/radio-group.js +0 -342
  302. package/dist/packages/radio/radio-styles.d.ts +0 -0
  303. package/dist/packages/radio/radio-styles.js +0 -0
  304. package/dist/packages/radio/radio.d.ts +0 -38
  305. package/dist/packages/radio/radio.js +0 -115
  306. package/dist/packages/radio/radio.react.stories.d.ts +0 -9
  307. package/dist/packages/radio/radio.react.stories.js +0 -10
  308. package/dist/packages/radio/radio.stories.d.ts +0 -15
  309. package/dist/packages/radio/radio.stories.js +0 -61
  310. package/dist/packages/radio/react.d.ts +0 -9
  311. package/dist/packages/radio/react.js +0 -22
  312. package/dist/packages/radio/required-validator.d.ts +0 -11
  313. package/dist/packages/radio/required-validator.js +0 -34
  314. package/dist/packages/radio/slot.d.ts +0 -20
  315. package/dist/packages/radio/slot.js +0 -71
  316. package/dist/packages/radio/watch.d.ts +0 -26
  317. package/dist/packages/radio/watch.js +0 -39
  318. package/dist/packages/select/index.js.map +0 -7
  319. package/dist/packages/slider/Slider.d.ts +0 -2
  320. package/dist/packages/slider/Slider.js +0 -8
  321. package/dist/packages/slider/SliderThumb.d.ts +0 -2
  322. package/dist/packages/slider/SliderThumb.js +0 -8
  323. package/dist/packages/slider/index.d.ts +0 -2
  324. package/dist/packages/slider/index.js +0 -2
  325. package/dist/packages/slider/locales/da/messages.d.mts +0 -1
  326. package/dist/packages/slider/locales/da/messages.mjs +0 -1
  327. package/dist/packages/slider/locales/en/messages.d.mts +0 -1
  328. package/dist/packages/slider/locales/en/messages.mjs +0 -1
  329. package/dist/packages/slider/locales/fi/messages.d.mts +0 -1
  330. package/dist/packages/slider/locales/fi/messages.mjs +0 -1
  331. package/dist/packages/slider/locales/nb/messages.d.mts +0 -1
  332. package/dist/packages/slider/locales/nb/messages.mjs +0 -1
  333. package/dist/packages/slider/locales/sv/messages.d.mts +0 -1
  334. package/dist/packages/slider/locales/sv/messages.mjs +0 -1
  335. package/dist/packages/slider/oddbird-css-anchor-positioning.d.ts +0 -2
  336. package/dist/packages/slider/oddbird-css-anchor-positioning.js +0 -3
  337. package/dist/packages/slider/react.d.ts +0 -8
  338. package/dist/packages/slider/react.js +0 -20
  339. package/dist/packages/slider/slider-thumb.d.ts +0 -63
  340. package/dist/packages/slider/slider-thumb.js +0 -501
  341. package/dist/packages/slider/slider.d.ts +0 -55
  342. package/dist/packages/slider/slider.js +0 -301
  343. package/dist/packages/slider/slider.react.stories.d.ts +0 -19
  344. package/dist/packages/slider/slider.react.stories.js +0 -140
  345. package/dist/packages/slider/slider.stories.d.ts +0 -21
  346. package/dist/packages/slider/slider.stories.js +0 -404
  347. package/dist/packages/slider/slider.test.d.ts +0 -4
  348. package/dist/packages/slider/slider.test.js +0 -111
  349. package/dist/packages/slider/styles/w-slider-thumb.styles.d.ts +0 -1
  350. package/dist/packages/slider/styles/w-slider-thumb.styles.js +0 -175
  351. package/dist/packages/slider/styles/w-slider.styles.d.ts +0 -1
  352. package/dist/packages/slider/styles/w-slider.styles.js +0 -148
  353. package/dist/packages/slider/styles.d.ts +0 -1
  354. package/dist/packages/slider/styles.js +0 -2
  355. package/dist/packages/stepindicator/index.d.ts +0 -37
  356. package/dist/packages/stepindicator/index.js +0 -195
  357. package/dist/packages/stepindicator/locales/da/messages.d.mts +0 -1
  358. package/dist/packages/stepindicator/locales/da/messages.mjs +0 -1
  359. package/dist/packages/stepindicator/locales/en/messages.d.mts +0 -1
  360. package/dist/packages/stepindicator/locales/en/messages.mjs +0 -1
  361. package/dist/packages/stepindicator/locales/fi/messages.d.mts +0 -1
  362. package/dist/packages/stepindicator/locales/fi/messages.mjs +0 -1
  363. package/dist/packages/stepindicator/locales/nb/messages.d.mts +0 -1
  364. package/dist/packages/stepindicator/locales/nb/messages.mjs +0 -1
  365. package/dist/packages/stepindicator/locales/sv/messages.d.mts +0 -1
  366. package/dist/packages/stepindicator/locales/sv/messages.mjs +0 -1
  367. package/dist/packages/stepindicator/react.d.ts +0 -3
  368. package/dist/packages/stepindicator/stepindicator.react.stories.d.ts +0 -15
  369. package/dist/packages/stepindicator/stepindicator.react.stories.js +0 -112
  370. package/dist/packages/stepindicator/stepindicator.stories.d.ts +0 -12
  371. package/dist/packages/stepindicator/stepindicator.stories.js +0 -172
  372. package/dist/packages/stepindicator/styles.d.ts +0 -1
  373. package/dist/packages/stepindicator/styles.js +0 -2
  374. package/dist/packages/tabs/tab-panel.js +0 -51
  375. package/dist/packages/tabs/tab.js +0 -104
  376. package/dist/packages/textarea/index.d.ts +0 -1
  377. package/dist/packages/textarea/index.js +0 -1
  378. package/dist/packages/textarea/locales/da/messages.d.mts +0 -1
  379. package/dist/packages/textarea/locales/da/messages.mjs +0 -1
  380. package/dist/packages/textarea/locales/en/messages.d.mts +0 -1
  381. package/dist/packages/textarea/locales/en/messages.mjs +0 -1
  382. package/dist/packages/textarea/locales/fi/messages.d.mts +0 -1
  383. package/dist/packages/textarea/locales/fi/messages.mjs +0 -1
  384. package/dist/packages/textarea/locales/nb/messages.d.mts +0 -1
  385. package/dist/packages/textarea/locales/nb/messages.mjs +0 -1
  386. package/dist/packages/textarea/locales/sv/messages.d.mts +0 -1
  387. package/dist/packages/textarea/locales/sv/messages.mjs +0 -1
  388. package/dist/packages/textarea/react.d.ts +0 -11
  389. package/dist/packages/textarea/react.js +0 -21
  390. package/dist/packages/textarea/styles.d.ts +0 -1
  391. package/dist/packages/textarea/styles.js +0 -2
  392. package/dist/packages/textarea/textarea.d.ts +0 -49
  393. package/dist/packages/textarea/textarea.js +0 -220
  394. package/dist/packages/textarea/textarea.react.stories.d.ts +0 -33
  395. package/dist/packages/textarea/textarea.react.stories.js +0 -41
  396. package/dist/packages/textarea/textarea.stories.d.ts +0 -19
  397. package/dist/packages/textarea/textarea.stories.js +0 -85
  398. package/dist/packages/textarea/textarea.test.d.ts +0 -1
  399. package/dist/packages/textarea/textarea.test.js +0 -68
  400. package/dist/packages/toast/index.js.map +0 -7
  401. package/dist/packages/toast/toast-container.js.map +0 -7
  402. package/dist/packages/toggle-styles.d.ts +0 -1
  403. package/dist/packages/toggle-styles.js +0 -108
  404. /package/dist/packages/affix/{index.d.ts → affix.d.ts} +0 -0
  405. /package/dist/packages/alert/{index.d.ts → alert.d.ts} +0 -0
  406. /package/dist/packages/badge/{index.d.ts → badge.d.ts} +0 -0
  407. /package/dist/packages/box/{index.d.ts → box.d.ts} +0 -0
  408. /package/dist/packages/breadcrumbs/{index.d.ts → breadcrumbs.d.ts} +0 -0
  409. /package/dist/packages/card/{index.d.ts → card.d.ts} +0 -0
  410. /package/dist/packages/combobox/{index.d.ts → combobox.d.ts} +0 -0
  411. /package/dist/packages/expandable/{index.d.ts → expandable.d.ts} +0 -0
  412. /package/dist/packages/{pageindicator → icon}/style.d.ts +0 -0
  413. /package/dist/packages/link/{index.d.ts → link.d.ts} +0 -0
  414. /package/dist/packages/modal/{modal-main.d.ts → modal.d.ts} +0 -0
  415. /package/dist/packages/{pagination → page-indicator}/locales/da/messages.d.mts +0 -0
  416. /package/dist/packages/{pagination → page-indicator}/locales/en/messages.d.mts +0 -0
  417. /package/dist/packages/{pagination → page-indicator}/locales/fi/messages.d.mts +0 -0
  418. /package/dist/packages/{pagination → page-indicator}/locales/nb/messages.d.mts +0 -0
  419. /package/dist/packages/{pagination → page-indicator}/locales/sv/messages.d.mts +0 -0
  420. /package/dist/packages/{pageindicator/pageindicator.react.stories.js → page-indicator/page-indicator.react.stories.js} +0 -0
  421. /package/dist/packages/{pagination/styles.d.ts → page-indicator/style.d.ts} +0 -0
  422. /package/dist/packages/pill/{index.d.ts → pill.d.ts} +0 -0
  423. /package/dist/packages/select/{index.d.ts → select.d.ts} +0 -0
  424. /package/dist/packages/switch/{index.d.ts → switch.d.ts} +0 -0
  425. /package/dist/packages/textfield/{index.d.ts → textfield.d.ts} +0 -0
  426. /package/dist/packages/{toast → toast-container}/toast-container.js +0 -0
package/dist/index.d.ts CHANGED
@@ -1,24 +1,28 @@
1
-
2
- import type { WarpAffix } from "./packages/affix/index.ts";
3
- import type { WarpAlert } from "./packages/alert/index.ts";
4
- import type { WarpLink } from "./packages/link/index.ts";
5
- import type { WarpButton } from "./packages/button/index.ts";
6
- import type { WarpAttention } from "./packages/attention/index.ts";
7
- import type { WarpBadge } from "./packages/badge/index.ts";
8
- import type { WarpBox } from "./packages/box/index.ts";
9
- import type { WarpBreadcrumbs } from "./packages/breadcrumbs/index.ts";
10
- import type { WarpCard } from "./packages/card/index.ts";
11
- import type { WarpExpandable } from "./packages/expandable/index.ts";
12
- import type { WarpPill } from "./packages/pill/index.ts";
13
- import type { WarpSelect } from "./packages/select/index.ts";
14
- import type { WarpTextField } from "./packages/textfield/index.ts";
15
- import type { ModalFooter } from "./packages/modal/modal-footer.ts";
16
- import type { ModalHeader } from "./packages/modal/modal-header.ts";
17
- import type { ModalMain } from "./packages/modal/modal-main.ts";
18
- import type { WarpToastContainer } from "./packages/toast/toast-container.ts";
1
+ import type { WarpAffix } from "./packages/affix/affix.ts";
2
+ import type { WarpAlert } from "./packages/alert/alert.ts";
3
+ import type { WarpLink } from "./packages/link/link.ts";
4
+ import type { WarpButton } from "./packages/button/button.ts";
5
+ import type { WarpAttention } from "./packages/attention/attention.ts";
6
+ import type { WarpBadge } from "./packages/badge/badge.ts";
7
+ import type { WarpBox } from "./packages/box/box.ts";
8
+ import type { WarpBreadcrumbs } from "./packages/breadcrumbs/breadcrumbs.ts";
9
+ import type { WarpCard } from "./packages/card/card.ts";
10
+ import type { WarpExpandable } from "./packages/expandable/expandable.ts";
11
+ import type { WarpPill } from "./packages/pill/pill.ts";
12
+ import type { WarpSelect } from "./packages/select/select.ts";
13
+ import type { WarpTextField } from "./packages/textfield/textfield.ts";
14
+ import type { ModalMain } from "./packages/modal/modal.ts";
15
+ import type { ModalHeader } from "./packages/modal-header/modal-header.ts";
16
+ import type { ModalFooter } from "./packages/modal-footer/modal-footer.ts";
17
+ import type { WarpToastContainer } from "./packages/toast-container/toast-container.ts";
19
18
  import type { WarpDatepicker } from "./packages/datepicker/datepicker.ts";
20
- import type { WarpSwitch } from "./packages/switch/index.ts";
21
- import type { WarpCombobox } from "./packages/combobox/index.ts";
19
+ import type { WarpSwitch } from "./packages/switch/switch.ts";
20
+ import type { WarpCombobox } from "./packages/combobox/combobox.ts";
21
+ import type { WarpPageIndicator } from "./packages/page-indicator/page-indicator.ts";
22
+ import type { WarpTab } from "./packages/tab/tab.ts";
23
+ import type { WarpTabPanel } from "./packages/tab-panel/tab-panel.ts";
24
+ import type { WarpTabs } from "./packages/tabs/tabs.ts";
25
+ import type { WIcon } from "./packages/icon/icon.ts";
22
26
 
23
27
  /**
24
28
  * This type can be used to create scoped tags for your components.
@@ -40,13 +44,12 @@ import type { WarpCombobox } from "./packages/combobox/index.ts";
40
44
  */
41
45
  export type ScopedElements<
42
46
  Prefix extends string = "",
43
- Suffix extends string = ""
47
+ Suffix extends string = "",
44
48
  > = {
45
49
  [Key in keyof CustomElements as `${Prefix}${Key}${Suffix}`]: CustomElements[Key];
46
50
  };
47
51
 
48
52
  type BaseProps<T extends HTMLElement> = {
49
-
50
53
  /** Content added between the opening and closing tags of the element */
51
54
  children?: any;
52
55
  /** Used for declaratively styling one or more elements using CSS (Cascading Stylesheets) */
@@ -89,362 +92,644 @@ type BaseProps<T extends HTMLElement> = {
89
92
  popovertarget?: "top" | "bottom" | "left" | "right" | "auto";
90
93
  /** Specifies the action to be performed on a popover element being controlled by a control element. */
91
94
  popovertargetaction?: "show" | "hide" | "toggle";
92
-
93
- } ;
94
-
95
- type BaseEvents = {
96
-
97
-
98
95
  };
99
96
 
100
-
97
+ type BaseEvents = {};
101
98
 
102
99
  export type WarpAffixProps = {
103
100
  /** */
104
- "aria-label"?: WarpAffix['ariaLabel'];
101
+ "aria-label"?: WarpAffix["ariaLabel"];
105
102
  /** */
106
- "ariaLabel"?: WarpAffix['ariaLabel'];
103
+ ariaLabel?: WarpAffix["ariaLabel"];
107
104
  /** Add this property to render a clickable Warp close icon.
108
105
 
109
106
  Set an `aria-label` that explains the action when using this. */
110
- "clear"?: WarpAffix['clear'];
107
+ clear?: WarpAffix["clear"];
111
108
  /** Add this property to render a clickable Warp search icon.
112
109
 
113
110
  Set an `aria-label` that explains the action when using this. */
114
- "search"?: WarpAffix['search'];
111
+ search?: WarpAffix["search"];
115
112
  /** */
116
- "label"?: WarpAffix['label'];
113
+ label?: WarpAffix["label"];
114
+ };
117
115
 
116
+ export type WarpAffixSolidJsProps = {
117
+ /** */
118
+ "attr:aria-label"?: WarpAffix["ariaLabel"];
119
+ /** */
120
+ "prop:ariaLabel"?: WarpAffix["ariaLabel"];
121
+ /** Add this property to render a clickable Warp close icon.
118
122
 
119
- }
123
+ Set an `aria-label` that explains the action when using this. */
124
+ "prop:clear"?: WarpAffix["clear"];
125
+ /** Add this property to render a clickable Warp search icon.
126
+
127
+ Set an `aria-label` that explains the action when using this. */
128
+ "prop:search"?: WarpAffix["search"];
129
+ /** */
130
+ "prop:label"?: WarpAffix["label"];
120
131
 
132
+ /** Set the innerHTML of the element */
133
+ innerHTML?: string;
134
+ /** Set the textContent of the element */
135
+ textContent?: string | number;
136
+ };
121
137
 
122
138
  export type WarpAlertProps = {
123
139
  /** */
124
- "variant"?: WarpAlert['variant'];
140
+ variant?: WarpAlert["variant"];
125
141
  /** */
126
- "show"?: WarpAlert['show'];
142
+ show?: WarpAlert["show"];
127
143
  /** */
128
- "role"?: WarpAlert['role'];
129
-
144
+ role?: WarpAlert["role"];
145
+ };
130
146
 
131
- }
147
+ export type WarpAlertSolidJsProps = {
148
+ /** */
149
+ "prop:variant"?: WarpAlert["variant"];
150
+ /** */
151
+ "prop:show"?: WarpAlert["show"];
152
+ /** */
153
+ "prop:role"?: WarpAlert["role"];
132
154
 
155
+ /** Set the innerHTML of the element */
156
+ innerHTML?: string;
157
+ /** Set the textContent of the element */
158
+ textContent?: string | number;
159
+ };
133
160
 
134
161
  export type WarpLinkProps = {
135
162
  /** */
136
- "autofocus"?: WarpLink['autofocus'];
163
+ autofocus?: WarpLink["autofocus"];
137
164
  /** */
138
- "variant"?: WarpLink['variant'];
165
+ variant?: WarpLink["variant"];
139
166
  /** */
140
- "small"?: WarpLink['small'];
167
+ small?: WarpLink["small"];
141
168
  /** */
142
- "href"?: WarpLink['href'];
169
+ href?: WarpLink["href"];
143
170
  /** */
144
- "disabled"?: WarpLink['disabled'];
171
+ disabled?: WarpLink["disabled"];
145
172
  /** */
146
- "target"?: WarpLink['target'];
173
+ target?: WarpLink["target"];
147
174
  /** */
148
- "rel"?: WarpLink['rel'];
175
+ rel?: WarpLink["rel"];
149
176
  /** */
150
- "full-width"?: WarpLink['fullWidth'];
177
+ "full-width"?: WarpLink["fullWidth"];
151
178
  /** */
152
- "fullWidth"?: WarpLink['fullWidth'];
153
-
179
+ fullWidth?: WarpLink["fullWidth"];
180
+ };
154
181
 
155
- }
182
+ export type WarpLinkSolidJsProps = {
183
+ /** */
184
+ "prop:autofocus"?: WarpLink["autofocus"];
185
+ /** */
186
+ "prop:variant"?: WarpLink["variant"];
187
+ /** */
188
+ "prop:small"?: WarpLink["small"];
189
+ /** */
190
+ "prop:href"?: WarpLink["href"];
191
+ /** */
192
+ "prop:disabled"?: WarpLink["disabled"];
193
+ /** */
194
+ "prop:target"?: WarpLink["target"];
195
+ /** */
196
+ "prop:rel"?: WarpLink["rel"];
197
+ /** */
198
+ "bool:full-width"?: WarpLink["fullWidth"];
199
+ /** */
200
+ "prop:fullWidth"?: WarpLink["fullWidth"];
156
201
 
202
+ /** Set the innerHTML of the element */
203
+ innerHTML?: string;
204
+ /** Set the textContent of the element */
205
+ textContent?: string | number;
206
+ };
157
207
 
158
208
  export type WarpButtonProps = {
159
209
  /** */
160
- "type"?: WarpButton['type'];
210
+ type?: WarpButton["type"];
161
211
  /** */
162
- "autofocus"?: WarpButton['autofocus'];
212
+ autofocus?: WarpButton["autofocus"];
163
213
  /** */
164
- "variant"?: WarpButton['variant'];
214
+ variant?: WarpButton["variant"];
165
215
  /** */
166
- "quiet"?: WarpButton['quiet'];
216
+ quiet?: WarpButton["quiet"];
167
217
  /** */
168
- "small"?: WarpButton['small'];
218
+ small?: WarpButton["small"];
169
219
  /** */
170
- "loading"?: WarpButton['loading'];
220
+ loading?: WarpButton["loading"];
171
221
  /** */
172
- "href"?: WarpButton['href'];
222
+ href?: WarpButton["href"];
173
223
  /** */
174
- "target"?: WarpButton['target'];
224
+ target?: WarpButton["target"];
175
225
  /** */
176
- "rel"?: WarpButton['rel'];
226
+ rel?: WarpButton["rel"];
177
227
  /** */
178
- "full-width"?: WarpButton['fullWidth'];
228
+ "full-width"?: WarpButton["fullWidth"];
179
229
  /** */
180
- "fullWidth"?: WarpButton['fullWidth'];
230
+ fullWidth?: WarpButton["fullWidth"];
181
231
  /** */
182
- "button-class"?: WarpButton['buttonClass'];
232
+ "button-class"?: WarpButton["buttonClass"];
183
233
  /** */
184
- "buttonClass"?: WarpButton['buttonClass'];
234
+ buttonClass?: WarpButton["buttonClass"];
185
235
  /** */
186
- "name"?: WarpButton['name'];
236
+ name?: WarpButton["name"];
187
237
  /** */
188
- "value"?: WarpButton['value'];
238
+ value?: WarpButton["value"];
189
239
  /** */
190
- "ariaValueTextLoading"?: WarpButton['ariaValueTextLoading'];
191
-
240
+ ariaValueTextLoading?: WarpButton["ariaValueTextLoading"];
241
+ };
192
242
 
193
- }
243
+ export type WarpButtonSolidJsProps = {
244
+ /** */
245
+ "prop:type"?: WarpButton["type"];
246
+ /** */
247
+ "prop:autofocus"?: WarpButton["autofocus"];
248
+ /** */
249
+ "prop:variant"?: WarpButton["variant"];
250
+ /** */
251
+ "prop:quiet"?: WarpButton["quiet"];
252
+ /** */
253
+ "prop:small"?: WarpButton["small"];
254
+ /** */
255
+ "prop:loading"?: WarpButton["loading"];
256
+ /** */
257
+ "prop:href"?: WarpButton["href"];
258
+ /** */
259
+ "prop:target"?: WarpButton["target"];
260
+ /** */
261
+ "prop:rel"?: WarpButton["rel"];
262
+ /** */
263
+ "bool:full-width"?: WarpButton["fullWidth"];
264
+ /** */
265
+ "prop:fullWidth"?: WarpButton["fullWidth"];
266
+ /** */
267
+ "attr:button-class"?: WarpButton["buttonClass"];
268
+ /** */
269
+ "prop:buttonClass"?: WarpButton["buttonClass"];
270
+ /** */
271
+ "prop:name"?: WarpButton["name"];
272
+ /** */
273
+ "prop:value"?: WarpButton["value"];
274
+ /** */
275
+ "prop:ariaValueTextLoading"?: WarpButton["ariaValueTextLoading"];
194
276
 
277
+ /** Set the innerHTML of the element */
278
+ innerHTML?: string;
279
+ /** Set the textContent of the element */
280
+ textContent?: string | number;
281
+ };
195
282
 
196
283
  export type WarpAttentionProps = {
197
284
  /** */
198
- "show"?: WarpAttention['show'];
285
+ show?: WarpAttention["show"];
199
286
  /** */
200
- "placement"?: WarpAttention['placement'];
287
+ placement?: WarpAttention["placement"];
201
288
  /** */
202
- "tooltip"?: WarpAttention['tooltip'];
289
+ tooltip?: WarpAttention["tooltip"];
203
290
  /** */
204
- "callout"?: WarpAttention['callout'];
291
+ callout?: WarpAttention["callout"];
205
292
  /** */
206
- "popover"?: WarpAttention['popover'];
293
+ popover?: WarpAttention["popover"];
207
294
  /** */
208
- "highlight"?: WarpAttention['highlight'];
295
+ highlight?: WarpAttention["highlight"];
209
296
  /** */
210
- "can-close"?: WarpAttention['canClose'];
297
+ "can-close"?: WarpAttention["canClose"];
211
298
  /** */
212
- "canClose"?: WarpAttention['canClose'];
299
+ canClose?: WarpAttention["canClose"];
213
300
  /** */
214
- "no-arrow"?: WarpAttention['noArrow'];
301
+ "no-arrow"?: WarpAttention["noArrow"];
215
302
  /** */
216
- "noArrow"?: WarpAttention['noArrow'];
303
+ noArrow?: WarpAttention["noArrow"];
217
304
  /** */
218
- "distance"?: WarpAttention['distance'];
305
+ distance?: WarpAttention["distance"];
219
306
  /** */
220
- "skidding"?: WarpAttention['skidding'];
307
+ skidding?: WarpAttention["skidding"];
221
308
  /** */
222
- "flip"?: WarpAttention['flip'];
309
+ flip?: WarpAttention["flip"];
223
310
  /** */
224
- "cross-axis"?: WarpAttention['crossAxis'];
311
+ "cross-axis"?: WarpAttention["crossAxis"];
225
312
  /** */
226
- "crossAxis"?: WarpAttention['crossAxis'];
313
+ crossAxis?: WarpAttention["crossAxis"];
227
314
  /** */
228
- "fallback-placements"?: WarpAttention['fallbackPlacements'];
315
+ "fallback-placements"?: WarpAttention["fallbackPlacements"];
229
316
  /** */
230
- "fallbackPlacements"?: WarpAttention['fallbackPlacements'];
317
+ fallbackPlacements?: WarpAttention["fallbackPlacements"];
231
318
  /** */
232
- "_initialPlacement"?: WarpAttention['_initialPlacement'];
319
+ _initialPlacement?: WarpAttention["_initialPlacement"];
233
320
  /** */
234
- "_actualDirection"?: WarpAttention['_actualDirection'];
235
-
321
+ _actualDirection?: WarpAttention["_actualDirection"];
322
+ };
236
323
 
237
- }
324
+ export type WarpAttentionSolidJsProps = {
325
+ /** */
326
+ "prop:show"?: WarpAttention["show"];
327
+ /** */
328
+ "prop:placement"?: WarpAttention["placement"];
329
+ /** */
330
+ "prop:tooltip"?: WarpAttention["tooltip"];
331
+ /** */
332
+ "prop:callout"?: WarpAttention["callout"];
333
+ /** */
334
+ "prop:popover"?: WarpAttention["popover"];
335
+ /** */
336
+ "prop:highlight"?: WarpAttention["highlight"];
337
+ /** */
338
+ "bool:can-close"?: WarpAttention["canClose"];
339
+ /** */
340
+ "prop:canClose"?: WarpAttention["canClose"];
341
+ /** */
342
+ "bool:no-arrow"?: WarpAttention["noArrow"];
343
+ /** */
344
+ "prop:noArrow"?: WarpAttention["noArrow"];
345
+ /** */
346
+ "prop:distance"?: WarpAttention["distance"];
347
+ /** */
348
+ "prop:skidding"?: WarpAttention["skidding"];
349
+ /** */
350
+ "prop:flip"?: WarpAttention["flip"];
351
+ /** */
352
+ "bool:cross-axis"?: WarpAttention["crossAxis"];
353
+ /** */
354
+ "prop:crossAxis"?: WarpAttention["crossAxis"];
355
+ /** */
356
+ "attr:fallback-placements"?: WarpAttention["fallbackPlacements"];
357
+ /** */
358
+ "prop:fallbackPlacements"?: WarpAttention["fallbackPlacements"];
359
+ /** */
360
+ "prop:_initialPlacement"?: WarpAttention["_initialPlacement"];
361
+ /** */
362
+ "prop:_actualDirection"?: WarpAttention["_actualDirection"];
238
363
 
364
+ /** Set the innerHTML of the element */
365
+ innerHTML?: string;
366
+ /** Set the textContent of the element */
367
+ textContent?: string | number;
368
+ };
239
369
 
240
370
  export type WarpBadgeProps = {
241
371
  /** */
242
- "variant"?: WarpBadge['variant'];
372
+ variant?: WarpBadge["variant"];
243
373
  /** */
244
- "position"?: WarpBadge['position'];
245
-
374
+ position?: WarpBadge["position"];
375
+ };
246
376
 
247
- }
377
+ export type WarpBadgeSolidJsProps = {
378
+ /** */
379
+ "prop:variant"?: WarpBadge["variant"];
380
+ /** */
381
+ "prop:position"?: WarpBadge["position"];
248
382
 
383
+ /** Set the innerHTML of the element */
384
+ innerHTML?: string;
385
+ /** Set the textContent of the element */
386
+ textContent?: string | number;
387
+ };
249
388
 
250
389
  export type WarpBoxProps = {
251
390
  /** */
252
- "bleed"?: WarpBox['bleed'];
391
+ bleed?: WarpBox["bleed"];
253
392
  /** */
254
- "bordered"?: WarpBox['bordered'];
393
+ bordered?: WarpBox["bordered"];
255
394
  /** */
256
- "info"?: WarpBox['info'];
395
+ info?: WarpBox["info"];
257
396
  /** */
258
- "neutral"?: WarpBox['neutral'];
397
+ neutral?: WarpBox["neutral"];
259
398
  /** */
260
- "role"?: WarpBox['role'];
261
-
399
+ role?: WarpBox["role"];
400
+ };
262
401
 
263
- }
402
+ export type WarpBoxSolidJsProps = {
403
+ /** */
404
+ "prop:bleed"?: WarpBox["bleed"];
405
+ /** */
406
+ "prop:bordered"?: WarpBox["bordered"];
407
+ /** */
408
+ "prop:info"?: WarpBox["info"];
409
+ /** */
410
+ "prop:neutral"?: WarpBox["neutral"];
411
+ /** */
412
+ "prop:role"?: WarpBox["role"];
264
413
 
414
+ /** Set the innerHTML of the element */
415
+ innerHTML?: string;
416
+ /** Set the textContent of the element */
417
+ textContent?: string | number;
418
+ };
265
419
 
266
420
  export type WarpBreadcrumbsProps = {
267
421
  /** */
268
- "aria-label"?: WarpBreadcrumbs['ariaLabel'];
422
+ "aria-label"?: WarpBreadcrumbs["ariaLabel"];
269
423
  /** */
270
- "ariaLabel"?: WarpBreadcrumbs['ariaLabel'];
271
-
424
+ ariaLabel?: WarpBreadcrumbs["ariaLabel"];
425
+ };
272
426
 
273
- }
427
+ export type WarpBreadcrumbsSolidJsProps = {
428
+ /** */
429
+ "attr:aria-label"?: WarpBreadcrumbs["ariaLabel"];
430
+ /** */
431
+ "prop:ariaLabel"?: WarpBreadcrumbs["ariaLabel"];
274
432
 
433
+ /** Set the innerHTML of the element */
434
+ innerHTML?: string;
435
+ /** Set the textContent of the element */
436
+ textContent?: string | number;
437
+ };
275
438
 
276
439
  export type WarpCardProps = {
277
440
  /** */
278
- "selected"?: WarpCard['selected'];
441
+ selected?: WarpCard["selected"];
279
442
  /** */
280
- "flat"?: WarpCard['flat'];
443
+ flat?: WarpCard["flat"];
281
444
  /** */
282
- "clickable"?: WarpCard['clickable'];
445
+ clickable?: WarpCard["clickable"];
283
446
  /** */
284
- "buttonText"?: WarpCard['buttonText'];
285
-
447
+ buttonText?: WarpCard["buttonText"];
448
+ };
286
449
 
287
- }
450
+ export type WarpCardSolidJsProps = {
451
+ /** */
452
+ "prop:selected"?: WarpCard["selected"];
453
+ /** */
454
+ "prop:flat"?: WarpCard["flat"];
455
+ /** */
456
+ "prop:clickable"?: WarpCard["clickable"];
457
+ /** */
458
+ "prop:buttonText"?: WarpCard["buttonText"];
288
459
 
460
+ /** Set the innerHTML of the element */
461
+ innerHTML?: string;
462
+ /** Set the textContent of the element */
463
+ textContent?: string | number;
464
+ };
289
465
 
290
466
  export type WarpExpandableProps = {
291
467
  /** */
292
- "expanded"?: WarpExpandable['expanded'];
468
+ expanded?: WarpExpandable["expanded"];
293
469
  /** */
294
- "title"?: WarpExpandable['title'];
470
+ title?: WarpExpandable["title"];
295
471
  /** */
296
- "box"?: WarpExpandable['box'];
472
+ box?: WarpExpandable["box"];
297
473
  /** */
298
- "bleed"?: WarpExpandable['bleed'];
474
+ bleed?: WarpExpandable["bleed"];
299
475
  /** */
300
- "button-class"?: WarpExpandable['buttonClass'];
476
+ "button-class"?: WarpExpandable["buttonClass"];
301
477
  /** */
302
- "buttonClass"?: WarpExpandable['buttonClass'];
478
+ buttonClass?: WarpExpandable["buttonClass"];
303
479
  /** */
304
- "content-class"?: WarpExpandable['contentClass'];
480
+ "content-class"?: WarpExpandable["contentClass"];
305
481
  /** */
306
- "contentClass"?: WarpExpandable['contentClass'];
482
+ contentClass?: WarpExpandable["contentClass"];
307
483
  /** */
308
- "no-chevron"?: WarpExpandable['noChevron'];
484
+ "no-chevron"?: WarpExpandable["noChevron"];
309
485
  /** */
310
- "noChevron"?: WarpExpandable['noChevron'];
486
+ noChevron?: WarpExpandable["noChevron"];
311
487
  /** */
312
- "animated"?: WarpExpandable['animated'];
488
+ animated?: WarpExpandable["animated"];
313
489
  /** */
314
- "heading-level"?: WarpExpandable['headingLevel'];
490
+ "heading-level"?: WarpExpandable["headingLevel"];
315
491
  /** */
316
- "headingLevel"?: WarpExpandable['headingLevel'];
492
+ headingLevel?: WarpExpandable["headingLevel"];
317
493
  /** */
318
- "_hasTitle"?: WarpExpandable['_hasTitle'];
494
+ _hasTitle?: WarpExpandable["_hasTitle"];
319
495
  /** */
320
- "_showChevronUp"?: WarpExpandable['_showChevronUp'];
321
-
496
+ _showChevronUp?: WarpExpandable["_showChevronUp"];
497
+ };
322
498
 
323
- }
499
+ export type WarpExpandableSolidJsProps = {
500
+ /** */
501
+ "prop:expanded"?: WarpExpandable["expanded"];
502
+ /** */
503
+ "prop:title"?: WarpExpandable["title"];
504
+ /** */
505
+ "prop:box"?: WarpExpandable["box"];
506
+ /** */
507
+ "prop:bleed"?: WarpExpandable["bleed"];
508
+ /** */
509
+ "attr:button-class"?: WarpExpandable["buttonClass"];
510
+ /** */
511
+ "prop:buttonClass"?: WarpExpandable["buttonClass"];
512
+ /** */
513
+ "attr:content-class"?: WarpExpandable["contentClass"];
514
+ /** */
515
+ "prop:contentClass"?: WarpExpandable["contentClass"];
516
+ /** */
517
+ "bool:no-chevron"?: WarpExpandable["noChevron"];
518
+ /** */
519
+ "prop:noChevron"?: WarpExpandable["noChevron"];
520
+ /** */
521
+ "prop:animated"?: WarpExpandable["animated"];
522
+ /** */
523
+ "attr:heading-level"?: WarpExpandable["headingLevel"];
524
+ /** */
525
+ "prop:headingLevel"?: WarpExpandable["headingLevel"];
526
+ /** */
527
+ "prop:_hasTitle"?: WarpExpandable["_hasTitle"];
528
+ /** */
529
+ "prop:_showChevronUp"?: WarpExpandable["_showChevronUp"];
324
530
 
531
+ /** Set the innerHTML of the element */
532
+ innerHTML?: string;
533
+ /** Set the textContent of the element */
534
+ textContent?: string | number;
535
+ };
325
536
 
326
537
  export type WarpPillProps = {
327
538
  /** */
328
- "can-close"?: WarpPill['canClose'];
539
+ "can-close"?: WarpPill["canClose"];
329
540
  /** */
330
- "canClose"?: WarpPill['canClose'];
541
+ canClose?: WarpPill["canClose"];
331
542
  /** */
332
- "suggestion"?: WarpPill['suggestion'];
543
+ suggestion?: WarpPill["suggestion"];
333
544
  /** @deprecated Used "open-arial-label" instead. */
334
- "open-sr-label"?: WarpPill['openSrLabel'];
545
+ "open-sr-label"?: WarpPill["openSrLabel"];
335
546
  /** @deprecated Used "open-arial-label" instead. */
336
- "openSrLabel"?: WarpPill['openSrLabel'];
547
+ openSrLabel?: WarpPill["openSrLabel"];
337
548
  /** */
338
- "open-aria-label"?: WarpPill['openAriaLabel'];
549
+ "open-aria-label"?: WarpPill["openAriaLabel"];
339
550
  /** */
340
- "openAriaLabel"?: WarpPill['openAriaLabel'];
551
+ openAriaLabel?: WarpPill["openAriaLabel"];
341
552
  /** @deprecated Used "close-arial-label" instead. */
342
- "close-sr-label"?: WarpPill['closeSrLabel'];
553
+ "close-sr-label"?: WarpPill["closeSrLabel"];
343
554
  /** @deprecated Used "close-arial-label" instead. */
344
- "closeSrLabel"?: WarpPill['closeSrLabel'];
555
+ closeSrLabel?: WarpPill["closeSrLabel"];
345
556
  /** */
346
- "close-aria-label"?: WarpPill['closeAriaLabel'];
557
+ "close-aria-label"?: WarpPill["closeAriaLabel"];
347
558
  /** */
348
- "closeAriaLabel"?: WarpPill['closeAriaLabel'];
559
+ closeAriaLabel?: WarpPill["closeAriaLabel"];
349
560
  /** */
350
- "openFilterSrText"?: WarpPill['openFilterSrText'];
561
+ openFilterSrText?: WarpPill["openFilterSrText"];
351
562
  /** */
352
- "removeFilterSrText"?: WarpPill['removeFilterSrText'];
563
+ removeFilterSrText?: WarpPill["removeFilterSrText"];
353
564
 
354
565
  /** */
355
- "onw-pill-click"?: (e: CustomEvent<CustomEvent>) => void;
566
+ "onw-pill-click"?: (e: CustomEvent) => void;
356
567
  /** */
357
- "onw-pill-close"?: (e: CustomEvent<CustomEvent>) => void;
358
- }
568
+ "onw-pill-close"?: (e: CustomEvent) => void;
569
+ };
359
570
 
571
+ export type WarpPillSolidJsProps = {
572
+ /** */
573
+ "bool:can-close"?: WarpPill["canClose"];
574
+ /** */
575
+ "prop:canClose"?: WarpPill["canClose"];
576
+ /** */
577
+ "prop:suggestion"?: WarpPill["suggestion"];
578
+ /** @deprecated Used "open-arial-label" instead. */
579
+ "attr:open-sr-label"?: WarpPill["openSrLabel"];
580
+ /** @deprecated Used "open-arial-label" instead. */
581
+ "prop:openSrLabel"?: WarpPill["openSrLabel"];
582
+ /** */
583
+ "attr:open-aria-label"?: WarpPill["openAriaLabel"];
584
+ /** */
585
+ "prop:openAriaLabel"?: WarpPill["openAriaLabel"];
586
+ /** @deprecated Used "close-arial-label" instead. */
587
+ "attr:close-sr-label"?: WarpPill["closeSrLabel"];
588
+ /** @deprecated Used "close-arial-label" instead. */
589
+ "prop:closeSrLabel"?: WarpPill["closeSrLabel"];
590
+ /** */
591
+ "attr:close-aria-label"?: WarpPill["closeAriaLabel"];
592
+ /** */
593
+ "prop:closeAriaLabel"?: WarpPill["closeAriaLabel"];
594
+ /** */
595
+ "prop:openFilterSrText"?: WarpPill["openFilterSrText"];
596
+ /** */
597
+ "prop:removeFilterSrText"?: WarpPill["removeFilterSrText"];
598
+ /** */
599
+ "on:w-pill-click"?: (e: CustomEvent) => void;
600
+ /** */
601
+ "on:w-pill-close"?: (e: CustomEvent) => void;
602
+
603
+ /** Set the innerHTML of the element */
604
+ innerHTML?: string;
605
+ /** Set the textContent of the element */
606
+ textContent?: string | number;
607
+ };
360
608
 
361
609
  export type WarpSelectProps = {
362
610
  /** @deprecated Use the native `autofocus` attribute instead. - Whether the element should receive focus on render. */
363
- "auto-focus"?: WarpSelect['autoFocus'];
611
+ "auto-focus"?: WarpSelect["autoFocus"];
364
612
  /** @deprecated Use the native `autofocus` attribute instead. - Whether the element should receive focus on render. */
365
- "autoFocus"?: WarpSelect['autoFocus'];
613
+ autoFocus?: WarpSelect["autoFocus"];
366
614
  /** Whether the element should receive focus on render */
367
- "autofocus"?: WarpSelect['autofocus'];
615
+ autofocus?: WarpSelect["autofocus"];
368
616
  /** The content displayed as the help text. Paired with `invalid` to show the text as a validation error. */
369
- "help-text"?: WarpSelect['helpText'];
617
+ "help-text"?: WarpSelect["helpText"];
370
618
  /** The content displayed as the help text. Paired with `invalid` to show the text as a validation error. */
371
- "helpText"?: WarpSelect['helpText'];
619
+ helpText?: WarpSelect["helpText"];
372
620
  /** Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error. */
373
- "invalid"?: WarpSelect['invalid'];
621
+ invalid?: WarpSelect["invalid"];
374
622
  /** @deprecated Use `help-text` instead and only set it if you want to display the help text. - Whether to always show a hint. */
375
- "always"?: WarpSelect['always'];
623
+ always?: WarpSelect["always"];
376
624
  /** @deprecated Use `help-text` instead. - The content displayed as the help text. */
377
- "hint"?: WarpSelect['hint'];
625
+ hint?: WarpSelect["hint"];
378
626
  /** The content to disply as the label */
379
- "label"?: WarpSelect['label'];
627
+ label?: WarpSelect["label"];
380
628
  /** Whether to show optional text */
381
- "optional"?: WarpSelect['optional'];
629
+ optional?: WarpSelect["optional"];
382
630
  /** Renders the field in a disabled state. */
383
- "disabled"?: WarpSelect['disabled'];
631
+ disabled?: WarpSelect["disabled"];
384
632
  /** @deprecated Use the native readonly attribute instead. - Renders the field in a readonly state. */
385
- "read-only"?: WarpSelect['readOnly'];
633
+ "read-only"?: WarpSelect["readOnly"];
386
634
  /** @deprecated Use the native readonly attribute instead. - Renders the field in a readonly state. */
387
- "readOnly"?: WarpSelect['readOnly'];
635
+ readOnly?: WarpSelect["readOnly"];
388
636
  /** Renders the field in a readonly state. */
389
- "readonly"?: WarpSelect['readonly'];
637
+ readonly?: WarpSelect["readonly"];
390
638
  /** */
391
- "name"?: WarpSelect['name'];
639
+ name?: WarpSelect["name"];
392
640
  /** */
393
- "value"?: WarpSelect['value'];
394
-
641
+ value?: WarpSelect["value"];
642
+ };
395
643
 
396
- }
644
+ export type WarpSelectSolidJsProps = {
645
+ /** @deprecated Use the native `autofocus` attribute instead. - Whether the element should receive focus on render. */
646
+ "bool:auto-focus"?: WarpSelect["autoFocus"];
647
+ /** @deprecated Use the native `autofocus` attribute instead. - Whether the element should receive focus on render. */
648
+ "prop:autoFocus"?: WarpSelect["autoFocus"];
649
+ /** Whether the element should receive focus on render */
650
+ "prop:autofocus"?: WarpSelect["autofocus"];
651
+ /** The content displayed as the help text. Paired with `invalid` to show the text as a validation error. */
652
+ "attr:help-text"?: WarpSelect["helpText"];
653
+ /** The content displayed as the help text. Paired with `invalid` to show the text as a validation error. */
654
+ "prop:helpText"?: WarpSelect["helpText"];
655
+ /** Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error. */
656
+ "prop:invalid"?: WarpSelect["invalid"];
657
+ /** @deprecated Use `help-text` instead and only set it if you want to display the help text. - Whether to always show a hint. */
658
+ "prop:always"?: WarpSelect["always"];
659
+ /** @deprecated Use `help-text` instead. - The content displayed as the help text. */
660
+ "prop:hint"?: WarpSelect["hint"];
661
+ /** The content to disply as the label */
662
+ "prop:label"?: WarpSelect["label"];
663
+ /** Whether to show optional text */
664
+ "prop:optional"?: WarpSelect["optional"];
665
+ /** Renders the field in a disabled state. */
666
+ "prop:disabled"?: WarpSelect["disabled"];
667
+ /** @deprecated Use the native readonly attribute instead. - Renders the field in a readonly state. */
668
+ "bool:read-only"?: WarpSelect["readOnly"];
669
+ /** @deprecated Use the native readonly attribute instead. - Renders the field in a readonly state. */
670
+ "prop:readOnly"?: WarpSelect["readOnly"];
671
+ /** Renders the field in a readonly state. */
672
+ "prop:readonly"?: WarpSelect["readonly"];
673
+ /** */
674
+ "prop:name"?: WarpSelect["name"];
675
+ /** */
676
+ "prop:value"?: WarpSelect["value"];
397
677
 
678
+ /** Set the innerHTML of the element */
679
+ innerHTML?: string;
680
+ /** Set the textContent of the element */
681
+ textContent?: string | number;
682
+ };
398
683
 
399
684
  export type WarpTextFieldProps = {
400
685
  /** */
401
- "disabled"?: WarpTextField['disabled'];
686
+ disabled?: WarpTextField["disabled"];
402
687
  /** */
403
- "invalid"?: WarpTextField['invalid'];
688
+ invalid?: WarpTextField["invalid"];
404
689
  /** */
405
- "id"?: WarpTextField['id'];
690
+ id?: WarpTextField["id"];
406
691
  /** */
407
- "label"?: WarpTextField['label'];
692
+ label?: WarpTextField["label"];
408
693
  /** */
409
- "help-text"?: WarpTextField['helpText'];
694
+ "help-text"?: WarpTextField["helpText"];
410
695
  /** */
411
- "helpText"?: WarpTextField['helpText'];
696
+ helpText?: WarpTextField["helpText"];
412
697
  /** */
413
- "size"?: WarpTextField['size'];
698
+ size?: WarpTextField["size"];
414
699
  /** */
415
- "max"?: WarpTextField['max'];
700
+ max?: WarpTextField["max"];
416
701
  /** */
417
- "min"?: WarpTextField['min'];
702
+ min?: WarpTextField["min"];
418
703
  /** */
419
- "min-length"?: WarpTextField['minLength'];
704
+ "min-length"?: WarpTextField["minLength"];
420
705
  /** */
421
- "minLength"?: WarpTextField['minLength'];
706
+ minLength?: WarpTextField["minLength"];
422
707
  /** */
423
- "max-length"?: WarpTextField['maxLength'];
708
+ "max-length"?: WarpTextField["maxLength"];
424
709
  /** */
425
- "maxLength"?: WarpTextField['maxLength'];
710
+ maxLength?: WarpTextField["maxLength"];
426
711
  /** */
427
- "pattern"?: WarpTextField['pattern'];
712
+ pattern?: WarpTextField["pattern"];
428
713
  /** */
429
- "placeholder"?: WarpTextField['placeholder'];
714
+ placeholder?: WarpTextField["placeholder"];
430
715
  /** @deprecated Use the native readonly attribute instead. */
431
- "read-only"?: WarpTextField['readOnly'];
716
+ "read-only"?: WarpTextField["readOnly"];
432
717
  /** @deprecated Use the native readonly attribute instead. */
433
- "readOnly"?: WarpTextField['readOnly'];
718
+ readOnly?: WarpTextField["readOnly"];
434
719
  /** */
435
- "readonly"?: WarpTextField['readonly'];
720
+ readonly?: WarpTextField["readonly"];
436
721
  /** */
437
- "required"?: WarpTextField['required'];
722
+ required?: WarpTextField["required"];
438
723
  /** */
439
- "type"?: WarpTextField['type'];
724
+ type?: WarpTextField["type"];
440
725
  /** */
441
- "value"?: WarpTextField['value'];
726
+ value?: WarpTextField["value"];
442
727
  /** */
443
- "name"?: WarpTextField['name'];
728
+ name?: WarpTextField["name"];
444
729
  /** */
445
- "step"?: WarpTextField['step'];
730
+ step?: WarpTextField["step"];
446
731
  /** */
447
- "autocomplete"?: WarpTextField['autocomplete'];
732
+ autocomplete?: WarpTextField["autocomplete"];
448
733
  /** Function to format value when the input field.
449
734
 
450
735
  Only active when the input field does not have focus,
@@ -452,804 +737,1946 @@ similar to the accessible input masking example from Filament Group
452
737
 
453
738
  https://css-tricks.com/input-masking/
454
739
  https://filamentgroup.github.io/politespace/demo/demo.html */
455
- "formatter"?: WarpTextField['formatter'];
456
-
740
+ formatter?: WarpTextField["formatter"];
741
+ };
457
742
 
458
- }
743
+ export type WarpTextFieldSolidJsProps = {
744
+ /** */
745
+ "prop:disabled"?: WarpTextField["disabled"];
746
+ /** */
747
+ "prop:invalid"?: WarpTextField["invalid"];
748
+ /** */
749
+ "prop:id"?: WarpTextField["id"];
750
+ /** */
751
+ "prop:label"?: WarpTextField["label"];
752
+ /** */
753
+ "attr:help-text"?: WarpTextField["helpText"];
754
+ /** */
755
+ "prop:helpText"?: WarpTextField["helpText"];
756
+ /** */
757
+ "prop:size"?: WarpTextField["size"];
758
+ /** */
759
+ "prop:max"?: WarpTextField["max"];
760
+ /** */
761
+ "prop:min"?: WarpTextField["min"];
762
+ /** */
763
+ "attr:min-length"?: WarpTextField["minLength"];
764
+ /** */
765
+ "prop:minLength"?: WarpTextField["minLength"];
766
+ /** */
767
+ "attr:max-length"?: WarpTextField["maxLength"];
768
+ /** */
769
+ "prop:maxLength"?: WarpTextField["maxLength"];
770
+ /** */
771
+ "prop:pattern"?: WarpTextField["pattern"];
772
+ /** */
773
+ "prop:placeholder"?: WarpTextField["placeholder"];
774
+ /** @deprecated Use the native readonly attribute instead. */
775
+ "bool:read-only"?: WarpTextField["readOnly"];
776
+ /** @deprecated Use the native readonly attribute instead. */
777
+ "prop:readOnly"?: WarpTextField["readOnly"];
778
+ /** */
779
+ "prop:readonly"?: WarpTextField["readonly"];
780
+ /** */
781
+ "prop:required"?: WarpTextField["required"];
782
+ /** */
783
+ "prop:type"?: WarpTextField["type"];
784
+ /** */
785
+ "prop:value"?: WarpTextField["value"];
786
+ /** */
787
+ "prop:name"?: WarpTextField["name"];
788
+ /** */
789
+ "prop:step"?: WarpTextField["step"];
790
+ /** */
791
+ "prop:autocomplete"?: WarpTextField["autocomplete"];
792
+ /** Function to format value when the input field.
459
793
 
794
+ Only active when the input field does not have focus,
795
+ similar to the accessible input masking example from Filament Group
460
796
 
461
- export type ModalFooterProps = {
797
+ https://css-tricks.com/input-masking/
798
+ https://filamentgroup.github.io/politespace/demo/demo.html */
799
+ "prop:formatter"?: WarpTextField["formatter"];
462
800
 
801
+ /** Set the innerHTML of the element */
802
+ innerHTML?: string;
803
+ /** Set the textContent of the element */
804
+ textContent?: string | number;
805
+ };
463
806
 
464
- }
807
+ export type ModalMainProps = {
808
+ /** */
809
+ show?: ModalMain["show"];
810
+ /** */
811
+ "content-id"?: ModalMain["contentId"];
812
+ /** */
813
+ contentId?: ModalMain["contentId"];
814
+ /** */
815
+ "ignore-backdrop-clicks"?: ModalMain["ignoreBackdropClicks"];
816
+ /** */
817
+ ignoreBackdropClicks?: ModalMain["ignoreBackdropClicks"];
818
+ /** */
819
+ dialogEl?: ModalMain["dialogEl"];
820
+ /** */
821
+ dialogInnerEl?: ModalMain["dialogInnerEl"];
822
+ /** */
823
+ contentEl?: ModalMain["contentEl"];
465
824
 
825
+ /** */
826
+ onshown?: (e: CustomEvent) => void;
827
+ /** */
828
+ onhidden?: (e: CustomEvent) => void;
829
+ };
466
830
 
467
- export type ModalHeaderProps = {
831
+ export type ModalMainSolidJsProps = {
468
832
  /** */
469
- "title"?: ModalHeader['title'];
833
+ "prop:show"?: ModalMain["show"];
470
834
  /** */
471
- "back"?: ModalHeader['back'];
835
+ "attr:content-id"?: ModalMain["contentId"];
472
836
  /** */
473
- "no-close"?: ModalHeader['noClose'];
837
+ "prop:contentId"?: ModalMain["contentId"];
474
838
  /** */
475
- "noClose"?: ModalHeader['noClose'];
839
+ "bool:ignore-backdrop-clicks"?: ModalMain["ignoreBackdropClicks"];
476
840
  /** */
477
- "titleEl"?: ModalHeader['titleEl'];
478
-
841
+ "prop:ignoreBackdropClicks"?: ModalMain["ignoreBackdropClicks"];
479
842
  /** */
480
- "onbackClicked"?: (e: CustomEvent<CustomEvent>) => void;
481
- }
843
+ "prop:dialogEl"?: ModalMain["dialogEl"];
844
+ /** */
845
+ "prop:dialogInnerEl"?: ModalMain["dialogInnerEl"];
846
+ /** */
847
+ "prop:contentEl"?: ModalMain["contentEl"];
848
+ /** */
849
+ "on:shown"?: (e: CustomEvent) => void;
850
+ /** */
851
+ "on:hidden"?: (e: CustomEvent) => void;
482
852
 
853
+ /** Set the innerHTML of the element */
854
+ innerHTML?: string;
855
+ /** Set the textContent of the element */
856
+ textContent?: string | number;
857
+ };
483
858
 
484
- export type ModalMainProps = {
859
+ export type ModalHeaderProps = {
860
+ /** */
861
+ title?: ModalHeader["title"];
862
+ /** */
863
+ back?: ModalHeader["back"];
485
864
  /** */
486
- "show"?: ModalMain['show'];
865
+ "no-close"?: ModalHeader["noClose"];
487
866
  /** */
488
- "content-id"?: ModalMain['contentId'];
867
+ noClose?: ModalHeader["noClose"];
489
868
  /** */
490
- "contentId"?: ModalMain['contentId'];
869
+ titleEl?: ModalHeader["titleEl"];
870
+
491
871
  /** */
492
- "ignore-backdrop-clicks"?: ModalMain['ignoreBackdropClicks'];
872
+ onbackClicked?: (e: CustomEvent) => void;
873
+ };
874
+
875
+ export type ModalHeaderSolidJsProps = {
493
876
  /** */
494
- "ignoreBackdropClicks"?: ModalMain['ignoreBackdropClicks'];
877
+ "prop:title"?: ModalHeader["title"];
495
878
  /** */
496
- "dialogEl"?: ModalMain['dialogEl'];
879
+ "prop:back"?: ModalHeader["back"];
497
880
  /** */
498
- "dialogInnerEl"?: ModalMain['dialogInnerEl'];
881
+ "bool:no-close"?: ModalHeader["noClose"];
499
882
  /** */
500
- "contentEl"?: ModalMain['contentEl'];
501
-
883
+ "prop:noClose"?: ModalHeader["noClose"];
502
884
  /** */
503
- "onshown"?: (e: CustomEvent<CustomEvent>) => void;
885
+ "prop:titleEl"?: ModalHeader["titleEl"];
504
886
  /** */
505
- "onhidden"?: (e: CustomEvent<CustomEvent>) => void;
506
- }
887
+ "on:backClicked"?: (e: CustomEvent) => void;
507
888
 
889
+ /** Set the innerHTML of the element */
890
+ innerHTML?: string;
891
+ /** Set the textContent of the element */
892
+ textContent?: string | number;
893
+ };
508
894
 
509
- export type WarpToastContainerProps = {
895
+ export type ModalFooterProps = {};
510
896
 
897
+ export type ModalFooterSolidJsProps = {
898
+ /** Set the innerHTML of the element */
899
+ innerHTML?: string;
900
+ /** Set the textContent of the element */
901
+ textContent?: string | number;
902
+ };
511
903
 
512
- }
904
+ export type WarpToastContainerProps = {};
513
905
 
906
+ export type WarpToastContainerSolidJsProps = {
907
+ /** Set the innerHTML of the element */
908
+ innerHTML?: string;
909
+ /** Set the textContent of the element */
910
+ textContent?: string | number;
911
+ };
514
912
 
515
913
  export type WarpDatepickerProps = {
516
914
  /** */
517
- "label"?: WarpDatepicker['label'];
915
+ label?: WarpDatepicker["label"];
518
916
  /** Takes precedence over the `<html>` lang attribute. */
519
- "lang"?: WarpDatepicker['lang'];
917
+ lang?: WarpDatepicker["lang"];
520
918
  /** */
521
- "name"?: WarpDatepicker['name'];
919
+ name?: WarpDatepicker["name"];
522
920
  /** */
523
- "value"?: WarpDatepicker['value'];
921
+ value?: WarpDatepicker["value"];
524
922
  /** Decides the format of the date as shown in the calendar header.
525
923
 
526
924
  The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
527
- "header-format"?: WarpDatepicker['headerFormat'];
925
+ "header-format"?: WarpDatepicker["headerFormat"];
528
926
  /** Decides the format of the date as shown in the calendar header.
529
927
 
530
928
  The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
531
- "headerFormat"?: WarpDatepicker['headerFormat'];
929
+ headerFormat?: WarpDatepicker["headerFormat"];
532
930
  /** Decides the format of the weekday as shown above the grid of dates in the calendar.
533
931
 
534
932
  The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
535
- "weekday-format"?: WarpDatepicker['weekdayFormat'];
933
+ "weekday-format"?: WarpDatepicker["weekdayFormat"];
536
934
  /** Decides the format of the weekday as shown above the grid of dates in the calendar.
537
935
 
538
936
  The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
539
- "weekdayFormat"?: WarpDatepicker['weekdayFormat'];
937
+ weekdayFormat?: WarpDatepicker["weekdayFormat"];
540
938
  /** Decides the format of the day in the calendar as read to screen readers.
541
939
 
542
940
  The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
543
- "day-format"?: WarpDatepicker['dayFormat'];
941
+ "day-format"?: WarpDatepicker["dayFormat"];
544
942
  /** Decides the format of the day in the calendar as read to screen readers.
545
943
 
546
944
  The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
547
- "dayFormat"?: WarpDatepicker['dayFormat'];
945
+ dayFormat?: WarpDatepicker["dayFormat"];
548
946
  /** Lets you control if a date in the calendar should be disabled.
549
947
 
550
948
  This needs to be set on the element instance in JavaScript, not as an HTML attribute. */
551
- "isDayDisabled"?: WarpDatepicker['isDayDisabled'];
949
+ isDayDisabled?: WarpDatepicker["isDayDisabled"];
552
950
  /** */
553
- "isCalendarOpen"?: WarpDatepicker['isCalendarOpen'];
951
+ isCalendarOpen?: WarpDatepicker["isCalendarOpen"];
554
952
  /** */
555
- "navigationDate"?: WarpDatepicker['navigationDate'];
953
+ navigationDate?: WarpDatepicker["navigationDate"];
556
954
  /** */
557
- "calendar"?: WarpDatepicker['calendar'];
955
+ calendar?: WarpDatepicker["calendar"];
558
956
  /** */
559
- "input"?: WarpDatepicker['input'];
957
+ input?: WarpDatepicker["input"];
560
958
  /** */
561
- "toggleButton"?: WarpDatepicker['toggleButton'];
959
+ toggleButton?: WarpDatepicker["toggleButton"];
562
960
  /** */
563
- "wrapper"?: WarpDatepicker['wrapper'];
961
+ wrapper?: WarpDatepicker["wrapper"];
564
962
  /** This is the first focusable element, needed for the modal focus trap.
565
963
 
566
964
  Don't cache this and other `@query` fields from inside the calendar modal.
567
965
  They work the first time, but once the calendar is closed and reopened
568
966
  the query will point to an element that doesn't exist anymore. */
569
- "previousMonthButton"?: WarpDatepicker['previousMonthButton'];
967
+ previousMonthButton?: WarpDatepicker["previousMonthButton"];
570
968
  /** */
571
- "todayCell"?: WarpDatepicker['todayCell'];
969
+ todayCell?: WarpDatepicker["todayCell"];
572
970
  /** */
573
- "selectedCell"?: WarpDatepicker['selectedCell'];
971
+ selectedCell?: WarpDatepicker["selectedCell"];
972
+ };
574
973
 
974
+ export type WarpDatepickerSolidJsProps = {
975
+ /** */
976
+ "prop:label"?: WarpDatepicker["label"];
977
+ /** Takes precedence over the `<html>` lang attribute. */
978
+ "prop:lang"?: WarpDatepicker["lang"];
979
+ /** */
980
+ "prop:name"?: WarpDatepicker["name"];
981
+ /** */
982
+ "prop:value"?: WarpDatepicker["value"];
983
+ /** Decides the format of the date as shown in the calendar header.
575
984
 
576
- }
985
+ The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
986
+ "attr:header-format"?: WarpDatepicker["headerFormat"];
987
+ /** Decides the format of the date as shown in the calendar header.
577
988
 
989
+ The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
990
+ "prop:headerFormat"?: WarpDatepicker["headerFormat"];
991
+ /** Decides the format of the weekday as shown above the grid of dates in the calendar.
992
+
993
+ The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
994
+ "attr:weekday-format"?: WarpDatepicker["weekdayFormat"];
995
+ /** Decides the format of the weekday as shown above the grid of dates in the calendar.
996
+
997
+ The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
998
+ "prop:weekdayFormat"?: WarpDatepicker["weekdayFormat"];
999
+ /** Decides the format of the day in the calendar as read to screen readers.
1000
+
1001
+ The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
1002
+ "attr:day-format"?: WarpDatepicker["dayFormat"];
1003
+ /** Decides the format of the day in the calendar as read to screen readers.
1004
+
1005
+ The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
1006
+ "prop:dayFormat"?: WarpDatepicker["dayFormat"];
1007
+ /** Lets you control if a date in the calendar should be disabled.
1008
+
1009
+ This needs to be set on the element instance in JavaScript, not as an HTML attribute. */
1010
+ "prop:isDayDisabled"?: WarpDatepicker["isDayDisabled"];
1011
+ /** */
1012
+ "prop:isCalendarOpen"?: WarpDatepicker["isCalendarOpen"];
1013
+ /** */
1014
+ "prop:navigationDate"?: WarpDatepicker["navigationDate"];
1015
+ /** */
1016
+ "prop:calendar"?: WarpDatepicker["calendar"];
1017
+ /** */
1018
+ "prop:input"?: WarpDatepicker["input"];
1019
+ /** */
1020
+ "prop:toggleButton"?: WarpDatepicker["toggleButton"];
1021
+ /** */
1022
+ "prop:wrapper"?: WarpDatepicker["wrapper"];
1023
+ /** This is the first focusable element, needed for the modal focus trap.
1024
+
1025
+ Don't cache this and other `@query` fields from inside the calendar modal.
1026
+ They work the first time, but once the calendar is closed and reopened
1027
+ the query will point to an element that doesn't exist anymore. */
1028
+ "prop:previousMonthButton"?: WarpDatepicker["previousMonthButton"];
1029
+ /** */
1030
+ "prop:todayCell"?: WarpDatepicker["todayCell"];
1031
+ /** */
1032
+ "prop:selectedCell"?: WarpDatepicker["selectedCell"];
1033
+
1034
+ /** Set the innerHTML of the element */
1035
+ innerHTML?: string;
1036
+ /** Set the textContent of the element */
1037
+ textContent?: string | number;
1038
+ };
578
1039
 
579
1040
  export type WarpSwitchProps = {
580
1041
  /** */
581
- "name"?: WarpSwitch['name'];
1042
+ name?: WarpSwitch["name"];
582
1043
  /** */
583
- "value"?: WarpSwitch['value'];
1044
+ value?: WarpSwitch["value"];
584
1045
  /** */
585
- "checked"?: WarpSwitch['checked'];
1046
+ checked?: WarpSwitch["checked"];
586
1047
  /** */
587
- "disabled"?: WarpSwitch['disabled'];
1048
+ disabled?: WarpSwitch["disabled"];
588
1049
 
589
1050
  /** */
590
- "onchange"?: (e: CustomEvent<CustomEvent>) => void;
591
- }
1051
+ onchange?: (e: CustomEvent) => void;
1052
+ };
1053
+
1054
+ export type WarpSwitchSolidJsProps = {
1055
+ /** */
1056
+ "prop:name"?: WarpSwitch["name"];
1057
+ /** */
1058
+ "prop:value"?: WarpSwitch["value"];
1059
+ /** */
1060
+ "prop:checked"?: WarpSwitch["checked"];
1061
+ /** */
1062
+ "prop:disabled"?: WarpSwitch["disabled"];
1063
+ /** */
1064
+ "on:change"?: (e: CustomEvent) => void;
592
1065
 
1066
+ /** Set the innerHTML of the element */
1067
+ innerHTML?: string;
1068
+ /** Set the textContent of the element */
1069
+ textContent?: string | number;
1070
+ };
593
1071
 
594
1072
  export type WarpComboboxProps = {
595
1073
  /** The available options to select from */
596
- "options"?: WarpCombobox['options'];
1074
+ options?: WarpCombobox["options"];
1075
+ /** Label above input */
1076
+ label?: WarpCombobox["label"];
1077
+ /** Input placeholder */
1078
+ placeholder?: WarpCombobox["placeholder"];
1079
+ /** The input value */
1080
+ value?: WarpCombobox["value"];
1081
+ /** Whether the popover opens when focus is on the text field */
1082
+ "open-on-focus"?: WarpCombobox["openOnFocus"];
1083
+ /** Whether the popover opens when focus is on the text field */
1084
+ openOnFocus?: WarpCombobox["openOnFocus"];
1085
+ /** Select active option on blur */
1086
+ "select-on-blur"?: WarpCombobox["selectOnBlur"];
1087
+ /** Select active option on blur */
1088
+ selectOnBlur?: WarpCombobox["selectOnBlur"];
1089
+ /** Whether the matching text segments in the options should be highlighted */
1090
+ "match-text-segments"?: WarpCombobox["matchTextSegments"];
1091
+ /** Whether the matching text segments in the options should be highlighted */
1092
+ matchTextSegments?: WarpCombobox["matchTextSegments"];
1093
+ /** Disable client-side static filtering */
1094
+ "disable-static-filtering"?: WarpCombobox["disableStaticFiltering"];
1095
+ /** Disable client-side static filtering */
1096
+ disableStaticFiltering?: WarpCombobox["disableStaticFiltering"];
1097
+ /** Renders the input field in an invalid state */
1098
+ invalid?: WarpCombobox["invalid"];
1099
+ /** The content to display as the help text */
1100
+ "help-text"?: WarpCombobox["helpText"];
1101
+ /** The content to display as the help text */
1102
+ helpText?: WarpCombobox["helpText"];
1103
+ /** Whether the element is disabled */
1104
+ disabled?: WarpCombobox["disabled"];
1105
+ /** Whether the element is required */
1106
+ required?: WarpCombobox["required"];
1107
+ /** Whether to show optional text */
1108
+ optional?: WarpCombobox["optional"];
1109
+ /** Name attribute for form submission */
1110
+ name?: WarpCombobox["name"];
1111
+ /** Autocomplete attribute for the input field */
1112
+ autocomplete?: WarpCombobox["autocomplete"];
1113
+ };
1114
+
1115
+ export type WarpComboboxSolidJsProps = {
1116
+ /** The available options to select from */
1117
+ "prop:options"?: WarpCombobox["options"];
597
1118
  /** Label above input */
598
- "label"?: WarpCombobox['label'];
1119
+ "prop:label"?: WarpCombobox["label"];
599
1120
  /** Input placeholder */
600
- "placeholder"?: WarpCombobox['placeholder'];
1121
+ "prop:placeholder"?: WarpCombobox["placeholder"];
601
1122
  /** The input value */
602
- "value"?: WarpCombobox['value'];
1123
+ "prop:value"?: WarpCombobox["value"];
603
1124
  /** Whether the popover opens when focus is on the text field */
604
- "open-on-focus"?: WarpCombobox['openOnFocus'];
1125
+ "bool:open-on-focus"?: WarpCombobox["openOnFocus"];
605
1126
  /** Whether the popover opens when focus is on the text field */
606
- "openOnFocus"?: WarpCombobox['openOnFocus'];
1127
+ "prop:openOnFocus"?: WarpCombobox["openOnFocus"];
607
1128
  /** Select active option on blur */
608
- "select-on-blur"?: WarpCombobox['selectOnBlur'];
1129
+ "bool:select-on-blur"?: WarpCombobox["selectOnBlur"];
609
1130
  /** Select active option on blur */
610
- "selectOnBlur"?: WarpCombobox['selectOnBlur'];
1131
+ "prop:selectOnBlur"?: WarpCombobox["selectOnBlur"];
611
1132
  /** Whether the matching text segments in the options should be highlighted */
612
- "match-text-segments"?: WarpCombobox['matchTextSegments'];
1133
+ "bool:match-text-segments"?: WarpCombobox["matchTextSegments"];
613
1134
  /** Whether the matching text segments in the options should be highlighted */
614
- "matchTextSegments"?: WarpCombobox['matchTextSegments'];
1135
+ "prop:matchTextSegments"?: WarpCombobox["matchTextSegments"];
615
1136
  /** Disable client-side static filtering */
616
- "disable-static-filtering"?: WarpCombobox['disableStaticFiltering'];
1137
+ "bool:disable-static-filtering"?: WarpCombobox["disableStaticFiltering"];
617
1138
  /** Disable client-side static filtering */
618
- "disableStaticFiltering"?: WarpCombobox['disableStaticFiltering'];
1139
+ "prop:disableStaticFiltering"?: WarpCombobox["disableStaticFiltering"];
619
1140
  /** Renders the input field in an invalid state */
620
- "invalid"?: WarpCombobox['invalid'];
1141
+ "prop:invalid"?: WarpCombobox["invalid"];
621
1142
  /** The content to display as the help text */
622
- "help-text"?: WarpCombobox['helpText'];
1143
+ "attr:help-text"?: WarpCombobox["helpText"];
623
1144
  /** The content to display as the help text */
624
- "helpText"?: WarpCombobox['helpText'];
1145
+ "prop:helpText"?: WarpCombobox["helpText"];
625
1146
  /** Whether the element is disabled */
626
- "disabled"?: WarpCombobox['disabled'];
1147
+ "prop:disabled"?: WarpCombobox["disabled"];
627
1148
  /** Whether the element is required */
628
- "required"?: WarpCombobox['required'];
1149
+ "prop:required"?: WarpCombobox["required"];
629
1150
  /** Whether to show optional text */
630
- "optional"?: WarpCombobox['optional'];
1151
+ "prop:optional"?: WarpCombobox["optional"];
631
1152
  /** Name attribute for form submission */
632
- "name"?: WarpCombobox['name'];
1153
+ "prop:name"?: WarpCombobox["name"];
633
1154
  /** Autocomplete attribute for the input field */
634
- "autocomplete"?: WarpCombobox['autocomplete'];
1155
+ "prop:autocomplete"?: WarpCombobox["autocomplete"];
635
1156
 
1157
+ /** Set the innerHTML of the element */
1158
+ innerHTML?: string;
1159
+ /** Set the textContent of the element */
1160
+ textContent?: string | number;
1161
+ };
636
1162
 
637
- }
1163
+ export type WarpPageIndicatorProps = {
1164
+ /** Currently selected page (1-based index, clamped to valid range) */
1165
+ "selected-page"?: WarpPageIndicator["selectedPage"];
1166
+ /** Currently selected page (1-based index, clamped to valid range) */
1167
+ selectedPage?: WarpPageIndicator["selectedPage"];
1168
+ /** Total number of pages (minimum 1) */
1169
+ "page-count"?: WarpPageIndicator["pageCount"];
1170
+ /** Total number of pages (minimum 1) */
1171
+ pageCount?: WarpPageIndicator["pageCount"];
1172
+ };
1173
+
1174
+ export type WarpPageIndicatorSolidJsProps = {
1175
+ /** Currently selected page (1-based index, clamped to valid range) */
1176
+ "attr:selected-page"?: WarpPageIndicator["selectedPage"];
1177
+ /** Currently selected page (1-based index, clamped to valid range) */
1178
+ "prop:selectedPage"?: WarpPageIndicator["selectedPage"];
1179
+ /** Total number of pages (minimum 1) */
1180
+ "attr:page-count"?: WarpPageIndicator["pageCount"];
1181
+ /** Total number of pages (minimum 1) */
1182
+ "prop:pageCount"?: WarpPageIndicator["pageCount"];
1183
+
1184
+ /** Set the innerHTML of the element */
1185
+ innerHTML?: string;
1186
+ /** Set the textContent of the element */
1187
+ textContent?: string | number;
1188
+ };
638
1189
 
639
- export type CustomElements = {
1190
+ export type WarpTabProps = {
1191
+ /** */
1192
+ for?: WarpTab["for"];
1193
+ /** */
1194
+ active?: WarpTab["active"];
1195
+ /** */
1196
+ over?: WarpTab["over"];
1197
+ };
640
1198
 
1199
+ export type WarpTabSolidJsProps = {
1200
+ /** */
1201
+ "prop:for"?: WarpTab["for"];
1202
+ /** */
1203
+ "prop:active"?: WarpTab["active"];
1204
+ /** */
1205
+ "prop:over"?: WarpTab["over"];
1206
+
1207
+ /** Set the innerHTML of the element */
1208
+ innerHTML?: string;
1209
+ /** Set the textContent of the element */
1210
+ textContent?: string | number;
1211
+ };
1212
+
1213
+ export type WarpTabPanelProps = {
1214
+ /** */
1215
+ hidden?: WarpTabPanel["hidden"];
1216
+ };
1217
+
1218
+ export type WarpTabPanelSolidJsProps = {
1219
+ /** */
1220
+ "prop:hidden"?: WarpTabPanel["hidden"];
1221
+
1222
+ /** Set the innerHTML of the element */
1223
+ innerHTML?: string;
1224
+ /** Set the textContent of the element */
1225
+ textContent?: string | number;
1226
+ };
1227
+
1228
+ export type WarpTabsProps = {
1229
+ /** */
1230
+ active?: WarpTabs["active"];
1231
+
1232
+ /** */
1233
+ onchange?: (e: CustomEvent) => void;
1234
+ };
1235
+
1236
+ export type WarpTabsSolidJsProps = {
1237
+ /** */
1238
+ "prop:active"?: WarpTabs["active"];
1239
+ /** */
1240
+ "on:change"?: (e: CustomEvent) => void;
1241
+
1242
+ /** Set the innerHTML of the element */
1243
+ innerHTML?: string;
1244
+ /** Set the textContent of the element */
1245
+ textContent?: string | number;
1246
+ };
1247
+
1248
+ export type WIconProps = {
1249
+ /** Icon filename (without .svg) */
1250
+ name?: WIcon["name"];
1251
+ /** Size: small, medium, large or pixel value (e.g. "32px") */
1252
+ size?: WIcon["size"];
1253
+ /** Locale used in CDN URL */
1254
+ locale?: WIcon["locale"];
1255
+ };
1256
+
1257
+ export type WIconSolidJsProps = {
1258
+ /** Icon filename (without .svg) */
1259
+ "prop:name"?: WIcon["name"];
1260
+ /** Size: small, medium, large or pixel value (e.g. "32px") */
1261
+ "prop:size"?: WIcon["size"];
1262
+ /** Locale used in CDN URL */
1263
+ "prop:locale"?: WIcon["locale"];
1264
+
1265
+ /** Set the innerHTML of the element */
1266
+ innerHTML?: string;
1267
+ /** Set the textContent of the element */
1268
+ textContent?: string | number;
1269
+ };
641
1270
 
1271
+ export type CustomElements = {
642
1272
  /**
643
- * This component is usually used in other components like form elements to show a prefix or suffix. See for example `w-textfield`.
644
- *
645
- * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-affix--docs)
646
- *
647
- * ## Attributes & Properties
648
- *
649
- * Component attributes and properties that can be applied to the element or by using JavaScript.
650
- *
651
- * - `aria-label`/`ariaLabel`: undefined
652
- * - `clear`: Add this property to render a clickable Warp close icon.
653
- *
654
- * Set an `aria-label` that explains the action when using this.
655
- * - `search`: Add this property to render a clickable Warp search icon.
656
- *
657
- * Set an `aria-label` that explains the action when using this.
658
- * - `label`: undefined
659
- */
660
- "w-affix": Partial<WarpAffixProps & BaseProps<WarpAffix> & BaseEvents>;
1273
+ * This component is usually used in other components like form elements to show a prefix or suffix. See for example `w-textfield`.
1274
+ *
1275
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-affix--docs)
1276
+ *
1277
+ * ## Attributes & Properties
1278
+ *
1279
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1280
+ *
1281
+ * - `aria-label`/`ariaLabel`: undefined
1282
+ * - `clear`: Add this property to render a clickable Warp close icon.
1283
+ *
1284
+ * Set an `aria-label` that explains the action when using this.
1285
+ * - `search`: Add this property to render a clickable Warp search icon.
1286
+ *
1287
+ * Set an `aria-label` that explains the action when using this.
1288
+ * - `label`: undefined
1289
+ */
1290
+ "w-affix": Partial<WarpAffixProps & BaseProps<WarpAffix> & BaseEvents>;
661
1291
 
1292
+ /**
1293
+ * Alert is an inline component used for displaying different types of messages.
1294
+ *
1295
+ * For accessibility reasons, alert should appear close to the element that triggered it.
1296
+ *
1297
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/feedback-alert--docs)
1298
+ *
1299
+ * ## Attributes & Properties
1300
+ *
1301
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1302
+ *
1303
+ * - `variant`: undefined
1304
+ * - `show`: undefined
1305
+ * - `role`: undefined
1306
+ */
1307
+ "w-alert": Partial<WarpAlertProps & BaseProps<WarpAlert> & BaseEvents>;
662
1308
 
663
1309
  /**
664
- * Alert is an inline component used for displaying different types of messages.
665
- *
666
- * For accessibility reasons, alert should appear close to the element that triggered it.
667
- *
668
- * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/feedback-alert--docs)
669
- *
670
- * ## Attributes & Properties
671
- *
672
- * Component attributes and properties that can be applied to the element or by using JavaScript.
673
- *
674
- * - `variant`: undefined
675
- * - `show`: undefined
676
- * - `role`: undefined
677
- */
678
- "w-alert": Partial<WarpAlertProps & BaseProps<WarpAlert> & BaseEvents>;
1310
+ * Buttons are used to perform actions, with different visuals for different needs.
1311
+ *
1312
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-link--docs)
1313
+ *
1314
+ * ## Attributes & Properties
1315
+ *
1316
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1317
+ *
1318
+ * - `autofocus`: undefined
1319
+ * - `variant`: undefined
1320
+ * - `small`: undefined
1321
+ * - `href`: undefined
1322
+ * - `disabled`: undefined
1323
+ * - `target`: undefined
1324
+ * - `rel`: undefined
1325
+ * - `full-width`/`fullWidth`: undefined
1326
+ */
1327
+ "w-link": Partial<WarpLinkProps & BaseProps<WarpLink> & BaseEvents>;
679
1328
 
1329
+ /**
1330
+ * Buttons are used to perform actions, widh different visuals for different needs.
1331
+ *
1332
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-button--docs)
1333
+ *
1334
+ * ## Attributes & Properties
1335
+ *
1336
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1337
+ *
1338
+ * - `type`: undefined
1339
+ * - `autofocus`: undefined
1340
+ * - `variant`: undefined
1341
+ * - `quiet`: undefined
1342
+ * - `small`: undefined
1343
+ * - `loading`: undefined
1344
+ * - `href`: undefined
1345
+ * - `target`: undefined
1346
+ * - `rel`: undefined
1347
+ * - `full-width`/`fullWidth`: undefined
1348
+ * - `button-class`/`buttonClass`: undefined
1349
+ * - `name`: undefined
1350
+ * - `value`: undefined
1351
+ * - `ariaValueTextLoading`: undefined (property only)
1352
+ *
1353
+ * ## Methods
1354
+ *
1355
+ * Methods that can be called to access component functionality.
1356
+ *
1357
+ * - `resetFormControl() => void`: undefined
1358
+ */
1359
+ "w-button": Partial<WarpButtonProps & BaseProps<WarpButton> & BaseEvents>;
680
1360
 
681
1361
  /**
682
- * Buttons are used to perform actions, with different visuals for different needs.
683
- *
684
- * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-link--docs)
685
- *
686
- * ## Attributes & Properties
687
- *
688
- * Component attributes and properties that can be applied to the element or by using JavaScript.
689
- *
690
- * - `autofocus`: undefined
691
- * - `variant`: undefined
692
- * - `small`: undefined
693
- * - `href`: undefined
694
- * - `disabled`: undefined
695
- * - `target`: undefined
696
- * - `rel`: undefined
697
- * - `full-width`/`fullWidth`: undefined
698
- */
699
- "w-link": Partial<WarpLinkProps & BaseProps<WarpLink> & BaseEvents>;
1362
+ *
1363
+ *
1364
+ * ## Attributes & Properties
1365
+ *
1366
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1367
+ *
1368
+ * - `show`: undefined
1369
+ * - `placement`: undefined
1370
+ * - `tooltip`: undefined
1371
+ * - `callout`: undefined
1372
+ * - `popover`: undefined
1373
+ * - `highlight`: undefined
1374
+ * - `can-close`/`canClose`: undefined
1375
+ * - `no-arrow`/`noArrow`: undefined
1376
+ * - `distance`: undefined
1377
+ * - `skidding`: undefined
1378
+ * - `flip`: undefined
1379
+ * - `cross-axis`/`crossAxis`: undefined
1380
+ * - `fallback-placements`/`fallbackPlacements`: undefined
1381
+ * - `_initialPlacement`: undefined (property only)
1382
+ * - `_actualDirection`: undefined (property only)
1383
+ *
1384
+ * ## Methods
1385
+ *
1386
+ * Methods that can be called to access component functionality.
1387
+ *
1388
+ * - `handleDone() => void`: undefined
1389
+ * - `pointingAtDirection() => void`: undefined
1390
+ * - `activeAttentionType() => void`: undefined
1391
+ * - `defaultAriaLabel() => void`: undefined
1392
+ * - `setAriaLabels() => void`: undefined
1393
+ * - `close() => void`: undefined
1394
+ * - `keypressed(e: KeyboardEvent) => void`: undefined
1395
+ */
1396
+ "w-attention": Partial<
1397
+ WarpAttentionProps & BaseProps<WarpAttention> & BaseEvents
1398
+ >;
700
1399
 
1400
+ /**
1401
+ * `w-badge` is used for showing a small amount of non-interactive color-categorized metadata, like a status or count.
1402
+ *
1403
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-badge--docs)
1404
+ *
1405
+ * ## Attributes & Properties
1406
+ *
1407
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1408
+ *
1409
+ * - `variant`: undefined
1410
+ * - `position`: undefined
1411
+ */
1412
+ "w-badge": Partial<WarpBadgeProps & BaseProps<WarpBadge> & BaseEvents>;
701
1413
 
702
1414
  /**
703
- * Buttons are used to perform actions, widh different visuals for different needs.
704
- *
705
- * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-button--docs)
706
- *
707
- * ## Attributes & Properties
708
- *
709
- * Component attributes and properties that can be applied to the element or by using JavaScript.
710
- *
711
- * - `type`: undefined
712
- * - `autofocus`: undefined
713
- * - `variant`: undefined
714
- * - `quiet`: undefined
715
- * - `small`: undefined
716
- * - `loading`: undefined
717
- * - `href`: undefined
718
- * - `target`: undefined
719
- * - `rel`: undefined
720
- * - `full-width`/`fullWidth`: undefined
721
- * - `button-class`/`buttonClass`: undefined
722
- * - `name`: undefined
723
- * - `value`: undefined
724
- * - `ariaValueTextLoading`: undefined (property only)
725
- *
726
- * ## Methods
727
- *
728
- * Methods that can be called to access component functionality.
729
- *
730
- * - `resetFormControl() => void`: undefined
731
- */
732
- "w-button": Partial<WarpButtonProps & BaseProps<WarpButton> & BaseEvents>;
1415
+ * Box is a layout component used for separating content areas on a page.
1416
+ *
1417
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-box--docs)
1418
+ *
1419
+ * ## Attributes & Properties
1420
+ *
1421
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1422
+ *
1423
+ * - `bleed`: undefined
1424
+ * - `bordered`: undefined
1425
+ * - `info`: undefined
1426
+ * - `neutral`: undefined
1427
+ * - `role`: undefined
1428
+ */
1429
+ "w-box": Partial<WarpBoxProps & BaseProps<WarpBox> & BaseEvents>;
733
1430
 
1431
+ /**
1432
+ * Breadcrumbs show the navigation structure for the current location.
1433
+ *
1434
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-breadcrumbs--docs)
1435
+ *
1436
+ * ## Attributes & Properties
1437
+ *
1438
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1439
+ *
1440
+ * - `aria-label`/`ariaLabel`: undefined
1441
+ */
1442
+ "w-breadcrumbs": Partial<
1443
+ WarpBreadcrumbsProps & BaseProps<WarpBreadcrumbs> & BaseEvents
1444
+ >;
734
1445
 
735
1446
  /**
736
- *
737
- *
738
- * ## Attributes & Properties
739
- *
740
- * Component attributes and properties that can be applied to the element or by using JavaScript.
741
- *
742
- * - `show`: undefined
743
- * - `placement`: undefined
744
- * - `tooltip`: undefined
745
- * - `callout`: undefined
746
- * - `popover`: undefined
747
- * - `highlight`: undefined
748
- * - `can-close`/`canClose`: undefined
749
- * - `no-arrow`/`noArrow`: undefined
750
- * - `distance`: undefined
751
- * - `skidding`: undefined
752
- * - `flip`: undefined
753
- * - `cross-axis`/`crossAxis`: undefined
754
- * - `fallback-placements`/`fallbackPlacements`: undefined
755
- * - `_initialPlacement`: undefined (property only)
756
- * - `_actualDirection`: undefined (property only)
757
- *
758
- * ## Methods
759
- *
760
- * Methods that can be called to access component functionality.
761
- *
762
- * - `handleDone() => void`: undefined
763
- * - `pointingAtDirection() => void`: undefined
764
- * - `activeAttentionType() => void`: undefined
765
- * - `defaultAriaLabel() => void`: undefined
766
- * - `setAriaLabels() => void`: undefined
767
- * - `close() => void`: undefined
768
- * - `keypressed(e: KeyboardEvent) => void`: undefined
769
- */
770
- "w-attention": Partial<WarpAttentionProps & BaseProps<WarpAttention> & BaseEvents>;
1447
+ * Card is a layout component used for separating content areas on a page.
1448
+ *
1449
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-card--docs)
1450
+ *
1451
+ * ## Attributes & Properties
1452
+ *
1453
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1454
+ *
1455
+ * - `selected`: undefined
1456
+ * - `flat`: undefined
1457
+ * - `clickable`: undefined
1458
+ * - `buttonText`: undefined (property only)
1459
+ *
1460
+ * ## Methods
1461
+ *
1462
+ * Methods that can be called to access component functionality.
1463
+ *
1464
+ * - `keypressed(e: KeyboardEvent) => void`: undefined
1465
+ */
1466
+ "w-card": Partial<WarpCardProps & BaseProps<WarpCard> & BaseEvents>;
771
1467
 
1468
+ /**
1469
+ * Expandable is a layout component used for creating expandable content areas on a page.
1470
+ *
1471
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-expandable--docs)
1472
+ *
1473
+ * ## Attributes & Properties
1474
+ *
1475
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1476
+ *
1477
+ * - `expanded`: undefined
1478
+ * - `title`: undefined
1479
+ * - `box`: undefined
1480
+ * - `bleed`: undefined
1481
+ * - `button-class`/`buttonClass`: undefined
1482
+ * - `content-class`/`contentClass`: undefined
1483
+ * - `no-chevron`/`noChevron`: undefined
1484
+ * - `animated`: undefined
1485
+ * - `heading-level`/`headingLevel`: undefined
1486
+ * - `_hasTitle`: undefined
1487
+ * - `_showChevronUp`: undefined
1488
+ *
1489
+ * ## Slots
1490
+ *
1491
+ * Areas where markup can be added to the component.
1492
+ *
1493
+ * - `title`: Alternative to the `title` attribute should you need to provide some additional markup.
1494
+ */
1495
+ "w-expandable": Partial<
1496
+ WarpExpandableProps & BaseProps<WarpExpandable> & BaseEvents
1497
+ >;
772
1498
 
773
1499
  /**
774
- * `w-badge` is used for showing a small amount of non-interactive color-categorized metadata, like a status or count.
775
- *
776
- * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-badge--docs)
777
- *
778
- * ## Attributes & Properties
779
- *
780
- * Component attributes and properties that can be applied to the element or by using JavaScript.
781
- *
782
- * - `variant`: undefined
783
- * - `position`: undefined
784
- */
785
- "w-badge": Partial<WarpBadgeProps & BaseProps<WarpBadge> & BaseEvents>;
1500
+ * Pill is a type of button that is often used as a filter, but can also be used as a rounded button for overlays, etc.
1501
+ *
1502
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-pill--docs)
1503
+ *
1504
+ * ## Attributes & Properties
1505
+ *
1506
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1507
+ *
1508
+ * - `can-close`/`canClose`: undefined
1509
+ * - `suggestion`: undefined
1510
+ * - `open-sr-label`/`openSrLabel`: undefined
1511
+ * - `open-aria-label`/`openAriaLabel`: undefined
1512
+ * - `close-sr-label`/`closeSrLabel`: undefined
1513
+ * - `close-aria-label`/`closeAriaLabel`: undefined
1514
+ * - `openFilterSrText`: undefined (property only)
1515
+ * - `removeFilterSrText`: undefined (property only)
1516
+ *
1517
+ * ## Events
1518
+ *
1519
+ * Events that will be emitted by the component.
1520
+ *
1521
+ * - `w-pill-click`: undefined
1522
+ * - `w-pill-close`: undefined
1523
+ */
1524
+ "w-pill": Partial<WarpPillProps & BaseProps<WarpPill> & BaseEvents>;
786
1525
 
1526
+ /**
1527
+ * A dropdown component for selecting a single value.
1528
+ *
1529
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-select--docs)
1530
+ *
1531
+ * ## Attributes & Properties
1532
+ *
1533
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1534
+ *
1535
+ * - `auto-focus`/`autoFocus`: Whether the element should receive focus on render.
1536
+ * - `autofocus`: Whether the element should receive focus on render
1537
+ * - `help-text`/`helpText`: The content displayed as the help text. Paired with `invalid` to show the text as a validation error.
1538
+ * - `invalid`: Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error.
1539
+ * - `always`: Whether to always show a hint.
1540
+ * - `hint`: The content displayed as the help text.
1541
+ * - `label`: The content to disply as the label
1542
+ * - `optional`: Whether to show optional text
1543
+ * - `disabled`: Renders the field in a disabled state.
1544
+ * - `read-only`/`readOnly`: Renders the field in a readonly state.
1545
+ * - `readonly`: Renders the field in a readonly state.
1546
+ * - `name`: undefined
1547
+ * - `value`: undefined
1548
+ *
1549
+ * ## Methods
1550
+ *
1551
+ * Methods that can be called to access component functionality.
1552
+ *
1553
+ * - `resetFormControl() => void`: undefined
1554
+ * - `handleKeyDown(event: KeyboardEvent) => void`: undefined
1555
+ * - `onChange({ target }) => void`: undefined
1556
+ */
1557
+ "w-select": Partial<WarpSelectProps & BaseProps<WarpSelect> & BaseEvents>;
787
1558
 
788
1559
  /**
789
- * Box is a layout component used for separating content areas on a page.
790
- *
791
- * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-box--docs)
792
- *
793
- * ## Attributes & Properties
794
- *
795
- * Component attributes and properties that can be applied to the element or by using JavaScript.
796
- *
797
- * - `bleed`: undefined
798
- * - `bordered`: undefined
799
- * - `info`: undefined
800
- * - `neutral`: undefined
801
- * - `role`: undefined
802
- */
803
- "w-box": Partial<WarpBoxProps & BaseProps<WarpBox> & BaseEvents>;
1560
+ * A single line text input element.
1561
+ *
1562
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)
1563
+ *
1564
+ * ## Attributes & Properties
1565
+ *
1566
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1567
+ *
1568
+ * - `disabled`: undefined
1569
+ * - `invalid`: undefined
1570
+ * - `id`: undefined
1571
+ * - `label`: undefined
1572
+ * - `help-text`/`helpText`: undefined
1573
+ * - `size`: undefined
1574
+ * - `max`: undefined
1575
+ * - `min`: undefined
1576
+ * - `min-length`/`minLength`: undefined
1577
+ * - `max-length`/`maxLength`: undefined
1578
+ * - `pattern`: undefined
1579
+ * - `placeholder`: undefined
1580
+ * - `read-only`/`readOnly`: undefined
1581
+ * - `readonly`: undefined
1582
+ * - `required`: undefined
1583
+ * - `type`: undefined
1584
+ * - `value`: undefined
1585
+ * - `name`: undefined
1586
+ * - `step`: undefined
1587
+ * - `autocomplete`: undefined
1588
+ * - `formatter`: Function to format value when the input field.
1589
+ *
1590
+ * Only active when the input field does not have focus,
1591
+ * similar to the accessible input masking example from Filament Group
1592
+ *
1593
+ * https://css-tricks.com/input-masking/
1594
+ * https://filamentgroup.github.io/politespace/demo/demo.html (property only)
1595
+ *
1596
+ * ## Methods
1597
+ *
1598
+ * Methods that can be called to access component functionality.
1599
+ *
1600
+ * - `resetFormControl() => void`: undefined
1601
+ * - `handler(e: Event) => void`: undefined
1602
+ * - `prefixSlotChange() => void`: undefined
1603
+ * - `suffixSlotChange() => void`: undefined
1604
+ */
1605
+ "w-textfield": Partial<
1606
+ WarpTextFieldProps & BaseProps<WarpTextField> & BaseEvents
1607
+ >;
804
1608
 
1609
+ /**
1610
+ * Modals (or dialogs) display important information that users need to acknowledge.
1611
+ *
1612
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
1613
+ *
1614
+ * ## Attributes & Properties
1615
+ *
1616
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1617
+ *
1618
+ * - `show`: undefined
1619
+ * - `content-id`/`contentId`: undefined
1620
+ * - `ignore-backdrop-clicks`/`ignoreBackdropClicks`: undefined
1621
+ * - `dialogEl`: undefined (property only)
1622
+ * - `dialogInnerEl`: undefined (property only)
1623
+ * - `contentEl`: undefined (property only)
1624
+ *
1625
+ * ## Events
1626
+ *
1627
+ * Events that will be emitted by the component.
1628
+ *
1629
+ * - `shown`: undefined
1630
+ * - `hidden`: undefined
1631
+ *
1632
+ * ## Slots
1633
+ *
1634
+ * Areas where markup can be added to the component.
1635
+ *
1636
+ * - `header`: Typically where you would use the `w-modal-header` component.
1637
+ * - `content`: The main content of the modal.
1638
+ * - `footer`: Typically where you would use the `w-modal-footer` component, for things like actions.
1639
+ *
1640
+ * ## Methods
1641
+ *
1642
+ * Methods that can be called to access component functionality.
1643
+ *
1644
+ * - `open() => void`: undefined
1645
+ * - `close() => void`: undefined
1646
+ * - `handleListeners(verb = 'addEventListener') => void`: undefined
1647
+ * - `eventPreventer(evt: Event) => void`: undefined
1648
+ * - `closeOnBackdropClick(evt: MouseEvent) => void`: undefined
1649
+ * - `interceptEscape(evt: KeyboardEvent) => void`: undefined
1650
+ * - `modifyBorderRadius() => void`: undefined
1651
+ */
1652
+ "w-modal": Partial<ModalMainProps & BaseProps<ModalMain> & BaseEvents>;
805
1653
 
806
1654
  /**
807
- * Breadcrumbs show the navigation structure for the current location.
808
- *
809
- * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-breadcrumbs--docs)
810
- *
811
- * ## Attributes & Properties
812
- *
813
- * Component attributes and properties that can be applied to the element or by using JavaScript.
814
- *
815
- * - `aria-label`/`ariaLabel`: undefined
816
- */
817
- "w-breadcrumbs": Partial<WarpBreadcrumbsProps & BaseProps<WarpBreadcrumbs> & BaseEvents>;
1655
+ * The header section of a modal, typically where you place the title and a close button.
1656
+ *
1657
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
1658
+ *
1659
+ * ## Attributes & Properties
1660
+ *
1661
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1662
+ *
1663
+ * - `title`: undefined
1664
+ * - `back`: undefined
1665
+ * - `no-close`/`noClose`: undefined
1666
+ * - `titleEl`: undefined (property only)
1667
+ * - `titleClasses`: undefined (property only) (readonly)
1668
+ * - `backButton`: undefined (property only) (readonly)
1669
+ * - `closeButton`: undefined (property only) (readonly)
1670
+ *
1671
+ * ## Events
1672
+ *
1673
+ * Events that will be emitted by the component.
1674
+ *
1675
+ * - `backClicked`: undefined
1676
+ *
1677
+ * ## Slots
1678
+ *
1679
+ * Areas where markup can be added to the component.
1680
+ *
1681
+ * - `top`: Customize the title bar, for example to have a header image that reaches the modal's edges. See the With Image story for an example.
1682
+ *
1683
+ * ## Methods
1684
+ *
1685
+ * Methods that can be called to access component functionality.
1686
+ *
1687
+ * - `emitBack() => void`: undefined
1688
+ * - `handleTopSlotChange(slotEvent) => void`: undefined
1689
+ */
1690
+ "w-modal-header": Partial<
1691
+ ModalHeaderProps & BaseProps<ModalHeader> & BaseEvents
1692
+ >;
818
1693
 
1694
+ /**
1695
+ * The footer section of a modal, typically where you place actions.
1696
+ *
1697
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
1698
+ */
1699
+ "w-modal-footer": Partial<
1700
+ ModalFooterProps & BaseProps<ModalFooter> & BaseEvents
1701
+ >;
819
1702
 
820
1703
  /**
821
- * Card is a layout component used for separating content areas on a page.
822
- *
823
- * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-card--docs)
824
- *
825
- * ## Attributes & Properties
826
- *
827
- * Component attributes and properties that can be applied to the element or by using JavaScript.
828
- *
829
- * - `selected`: undefined
830
- * - `flat`: undefined
831
- * - `clickable`: undefined
832
- * - `buttonText`: undefined (property only)
833
- *
834
- * ## Methods
835
- *
836
- * Methods that can be called to access component functionality.
837
- *
838
- * - `keypressed(e: KeyboardEvent) => void`: undefined
839
- */
840
- "w-card": Partial<WarpCardProps & BaseProps<WarpCard> & BaseEvents>;
1704
+ *
1705
+ *
1706
+ * ## Methods
1707
+ *
1708
+ * Methods that can be called to access component functionality.
1709
+ *
1710
+ * - `init() => void`: undefined
1711
+ * - `get(id: string | number) => ToastInternal | undefined`: undefined
1712
+ * - `set(toast: ToastOptions) => Map<string | number, ToastInternal>`: undefined
1713
+ * - `del(id: string | number) => Promise<boolean>`: undefined
1714
+ */
1715
+ "w-toast-container": Partial<
1716
+ WarpToastContainerProps & BaseProps<WarpToastContainer> & BaseEvents
1717
+ >;
841
1718
 
1719
+ /**
1720
+ * An input for dates.
1721
+ *
1722
+ * Uses the `lang` attribute on either the element or on `<html>` to determine the locale options.
1723
+ *
1724
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-datepicker--docs)
1725
+ *
1726
+ * ## Attributes & Properties
1727
+ *
1728
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1729
+ *
1730
+ * - `label`: undefined
1731
+ * - `lang`: Takes precedence over the `<html>` lang attribute.
1732
+ * - `name`: undefined
1733
+ * - `value`: undefined
1734
+ * - `header-format`/`headerFormat`: Decides the format of the date as shown in the calendar header.
1735
+ *
1736
+ * The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
1737
+ * - `weekday-format`/`weekdayFormat`: Decides the format of the weekday as shown above the grid of dates in the calendar.
1738
+ *
1739
+ * The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
1740
+ * - `day-format`/`dayFormat`: Decides the format of the day in the calendar as read to screen readers.
1741
+ *
1742
+ * The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
1743
+ * - `isDayDisabled`: Lets you control if a date in the calendar should be disabled.
1744
+ *
1745
+ * This needs to be set on the element instance in JavaScript, not as an HTML attribute. (property only)
1746
+ * - `isCalendarOpen`: undefined (property only)
1747
+ * - `navigationDate`: undefined (property only)
1748
+ * - `selectedDate`: undefined (property only) (readonly)
1749
+ * - `month`: undefined (property only) (readonly)
1750
+ * - `weeks`: undefined (property only) (readonly)
1751
+ * - `calendar`: undefined (property only)
1752
+ * - `input`: undefined (property only)
1753
+ * - `toggleButton`: undefined (property only)
1754
+ * - `wrapper`: undefined (property only)
1755
+ * - `previousMonthButton`: This is the first focusable element, needed for the modal focus trap.
1756
+ *
1757
+ * Don't cache this and other `@query` fields from inside the calendar modal.
1758
+ * They work the first time, but once the calendar is closed and reopened
1759
+ * the query will point to an element that doesn't exist anymore. (property only)
1760
+ * - `todayCell`: undefined (property only)
1761
+ * - `selectedCell`: undefined (property only)
1762
+ *
1763
+ * ## Methods
1764
+ *
1765
+ * Methods that can be called to access component functionality.
1766
+ *
1767
+ * - `resetFormControl() => void`: undefined
1768
+ */
1769
+ "w-datepicker": Partial<
1770
+ WarpDatepickerProps & BaseProps<WarpDatepicker> & BaseEvents
1771
+ >;
842
1772
 
843
1773
  /**
844
- * Expandable is a layout component used for creating expandable content areas on a page.
845
- *
846
- * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-expandable--docs)
847
- *
848
- * ## Attributes & Properties
849
- *
850
- * Component attributes and properties that can be applied to the element or by using JavaScript.
851
- *
852
- * - `expanded`: undefined
853
- * - `title`: undefined
854
- * - `box`: undefined
855
- * - `bleed`: undefined
856
- * - `button-class`/`buttonClass`: undefined
857
- * - `content-class`/`contentClass`: undefined
858
- * - `no-chevron`/`noChevron`: undefined
859
- * - `animated`: undefined
860
- * - `heading-level`/`headingLevel`: undefined
861
- * - `_hasTitle`: undefined
862
- * - `_showChevronUp`: undefined
863
- *
864
- * ## Slots
865
- *
866
- * Areas where markup can be added to the component.
867
- *
868
- * - `title`: Alternative to the `title` attribute should you need to provide some additional markup.
869
- */
870
- "w-expandable": Partial<WarpExpandableProps & BaseProps<WarpExpandable> & BaseEvents>;
1774
+ *
1775
+ *
1776
+ * ## Attributes & Properties
1777
+ *
1778
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1779
+ *
1780
+ * - `name`: undefined
1781
+ * - `value`: undefined
1782
+ * - `checked`: undefined
1783
+ * - `disabled`: undefined
1784
+ *
1785
+ * ## Events
1786
+ *
1787
+ * Events that will be emitted by the component.
1788
+ *
1789
+ * - `change`: undefined
1790
+ *
1791
+ * ## Methods
1792
+ *
1793
+ * Methods that can be called to access component functionality.
1794
+ *
1795
+ * - `resetFormControl() => void`: undefined
1796
+ */
1797
+ "w-switch": Partial<WarpSwitchProps & BaseProps<WarpSwitch> & BaseEvents>;
871
1798
 
1799
+ /**
1800
+ * A combobox element for text input with selectable options.
1801
+ *
1802
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-combobox--docs)
1803
+ *
1804
+ * ## Attributes & Properties
1805
+ *
1806
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1807
+ *
1808
+ * - `options`: The available options to select from
1809
+ * - `label`: Label above input
1810
+ * - `placeholder`: Input placeholder
1811
+ * - `value`: The input value
1812
+ * - `open-on-focus`/`openOnFocus`: Whether the popover opens when focus is on the text field
1813
+ * - `select-on-blur`/`selectOnBlur`: Select active option on blur
1814
+ * - `match-text-segments`/`matchTextSegments`: Whether the matching text segments in the options should be highlighted
1815
+ * - `disable-static-filtering`/`disableStaticFiltering`: Disable client-side static filtering
1816
+ * - `invalid`: Renders the input field in an invalid state
1817
+ * - `help-text`/`helpText`: The content to display as the help text
1818
+ * - `disabled`: Whether the element is disabled
1819
+ * - `required`: Whether the element is required
1820
+ * - `optional`: Whether to show optional text
1821
+ * - `name`: Name attribute for form submission
1822
+ * - `autocomplete`: Autocomplete attribute for the input field
1823
+ *
1824
+ * ## Methods
1825
+ *
1826
+ * Methods that can be called to access component functionality.
1827
+ *
1828
+ * - `resetFormControl() => void`: undefined
1829
+ */
1830
+ "w-combobox": Partial<
1831
+ WarpComboboxProps & BaseProps<WarpCombobox> & BaseEvents
1832
+ >;
872
1833
 
873
1834
  /**
874
- * Pill is a type of button that is often used as a filter, but can also be used as a rounded button for overlays, etc.
875
- *
876
- * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-pill--docs)
877
- *
878
- * ## Attributes & Properties
879
- *
880
- * Component attributes and properties that can be applied to the element or by using JavaScript.
881
- *
882
- * - `can-close`/`canClose`: undefined
883
- * - `suggestion`: undefined
884
- * - `open-sr-label`/`openSrLabel`: undefined
885
- * - `open-aria-label`/`openAriaLabel`: undefined
886
- * - `close-sr-label`/`closeSrLabel`: undefined
887
- * - `close-aria-label`/`closeAriaLabel`: undefined
888
- * - `openFilterSrText`: undefined (property only)
889
- * - `removeFilterSrText`: undefined (property only)
890
- *
891
- * ## Events
892
- *
893
- * Events that will be emitted by the component.
894
- *
895
- * - `w-pill-click`: undefined
896
- * - `w-pill-close`: undefined
897
- */
898
- "w-pill": Partial<WarpPillProps & BaseProps<WarpPill> & BaseEvents>;
1835
+ * A page indicator component that displays a series of dots representing pages.
1836
+ * One dot is highlighted to indicate the currently selected page.
1837
+ *
1838
+ * ## Attributes & Properties
1839
+ *
1840
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1841
+ *
1842
+ * - `selected-page`/`selectedPage`: Currently selected page (1-based index, clamped to valid range)
1843
+ * - `page-count`/`pageCount`: Total number of pages (minimum 1)
1844
+ */
1845
+ "w-page-indicator": Partial<
1846
+ WarpPageIndicatorProps & BaseProps<WarpPageIndicator> & BaseEvents
1847
+ >;
899
1848
 
1849
+ /**
1850
+ * Individual tab component used within w-tabs container.
1851
+ *
1852
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
1853
+ *
1854
+ * ## Attributes & Properties
1855
+ *
1856
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1857
+ *
1858
+ * - `for`: undefined
1859
+ * - `active`: undefined
1860
+ * - `over`: undefined
1861
+ */
1862
+ "w-tab": Partial<WarpTabProps & BaseProps<WarpTab> & BaseEvents>;
900
1863
 
901
1864
  /**
902
- * A dropdown component for selecting a single value.
903
- *
904
- * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-select--docs)
905
- *
906
- * ## Attributes & Properties
907
- *
908
- * Component attributes and properties that can be applied to the element or by using JavaScript.
909
- *
910
- * - `auto-focus`/`autoFocus`: Whether the element should receive focus on render.
911
- * - `autofocus`: Whether the element should receive focus on render
912
- * - `help-text`/`helpText`: The content displayed as the help text. Paired with `invalid` to show the text as a validation error.
913
- * - `invalid`: Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error.
914
- * - `always`: Whether to always show a hint.
915
- * - `hint`: The content displayed as the help text.
916
- * - `label`: The content to disply as the label
917
- * - `optional`: Whether to show optional text
918
- * - `disabled`: Renders the field in a disabled state.
919
- * - `read-only`/`readOnly`: Renders the field in a readonly state.
920
- * - `readonly`: Renders the field in a readonly state.
921
- * - `name`: undefined
922
- * - `value`: undefined
923
- *
924
- * ## Methods
925
- *
926
- * Methods that can be called to access component functionality.
927
- *
928
- * - `resetFormControl() => void`: undefined
929
- * - `handleKeyDown(event: KeyboardEvent) => void`: undefined
930
- * - `onChange({ target }) => void`: undefined
931
- */
932
- "w-select": Partial<WarpSelectProps & BaseProps<WarpSelect> & BaseEvents>;
1865
+ * Tab panel component that holds content for individual tabs.
1866
+ * Each tab panel should have a name that matches a corresponding tab.
1867
+ *
1868
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
1869
+ *
1870
+ * ## Attributes & Properties
1871
+ *
1872
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1873
+ *
1874
+ * - `hidden`: undefined
1875
+ */
1876
+ "w-tab-panel": Partial<
1877
+ WarpTabPanelProps & BaseProps<WarpTabPanel> & BaseEvents
1878
+ >;
933
1879
 
1880
+ /**
1881
+ * Tabs are used to organize content by grouping similar information on the same page.
1882
+ *
1883
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
1884
+ *
1885
+ * ## Attributes & Properties
1886
+ *
1887
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1888
+ *
1889
+ * - `active`: undefined
1890
+ * - `tabs`: undefined (property only) (readonly)
1891
+ * - `activeTab`: undefined (property only) (readonly)
1892
+ *
1893
+ * ## Events
1894
+ *
1895
+ * Events that will be emitted by the component.
1896
+ *
1897
+ * - `change`: undefined
1898
+ */
1899
+ "w-tabs": Partial<WarpTabsProps & BaseProps<WarpTabs> & BaseEvents>;
934
1900
 
935
1901
  /**
936
- * A single line text input element.
937
- *
938
- * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)
939
- *
940
- * ## Attributes & Properties
941
- *
942
- * Component attributes and properties that can be applied to the element or by using JavaScript.
943
- *
944
- * - `disabled`: undefined
945
- * - `invalid`: undefined
946
- * - `id`: undefined
947
- * - `label`: undefined
948
- * - `help-text`/`helpText`: undefined
949
- * - `size`: undefined
950
- * - `max`: undefined
951
- * - `min`: undefined
952
- * - `min-length`/`minLength`: undefined
953
- * - `max-length`/`maxLength`: undefined
954
- * - `pattern`: undefined
955
- * - `placeholder`: undefined
956
- * - `read-only`/`readOnly`: undefined
957
- * - `readonly`: undefined
958
- * - `required`: undefined
959
- * - `type`: undefined
960
- * - `value`: undefined
961
- * - `name`: undefined
962
- * - `step`: undefined
963
- * - `autocomplete`: undefined
964
- * - `formatter`: Function to format value when the input field.
965
- *
966
- * Only active when the input field does not have focus,
967
- * similar to the accessible input masking example from Filament Group
968
- *
969
- * https://css-tricks.com/input-masking/
970
- * https://filamentgroup.github.io/politespace/demo/demo.html (property only)
971
- *
972
- * ## Methods
973
- *
974
- * Methods that can be called to access component functionality.
975
- *
976
- * - `resetFormControl() => void`: undefined
977
- * - `handler(e: Event) => void`: undefined
978
- * - `prefixSlotChange() => void`: undefined
979
- * - `suffixSlotChange() => void`: undefined
980
- */
981
- "w-textfield": Partial<WarpTextFieldProps & BaseProps<WarpTextField> & BaseEvents>;
1902
+ *
1903
+ *
1904
+ * ## Attributes & Properties
1905
+ *
1906
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1907
+ *
1908
+ * - `name`: Icon filename (without .svg)
1909
+ * - `size`: Size: small, medium, large or pixel value (e.g. "32px")
1910
+ * - `locale`: Locale used in CDN URL
1911
+ */
1912
+ "w-icon": Partial<WIconProps & BaseProps<WIcon> & BaseEvents>;
1913
+ };
982
1914
 
1915
+ export type CustomElementsSolidJs = {
1916
+ /**
1917
+ * This component is usually used in other components like form elements to show a prefix or suffix. See for example `w-textfield`.
1918
+ *
1919
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-affix--docs)
1920
+ *
1921
+ * ## Attributes & Properties
1922
+ *
1923
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1924
+ *
1925
+ * - `aria-label`/`ariaLabel`: undefined
1926
+ * - `clear`: Add this property to render a clickable Warp close icon.
1927
+ *
1928
+ * Set an `aria-label` that explains the action when using this.
1929
+ * - `search`: Add this property to render a clickable Warp search icon.
1930
+ *
1931
+ * Set an `aria-label` that explains the action when using this.
1932
+ * - `label`: undefined
1933
+ */
1934
+ "w-affix": Partial<
1935
+ WarpAffixProps & WarpAffixSolidJsProps & BaseProps<WarpAffix> & BaseEvents
1936
+ >;
983
1937
 
984
1938
  /**
985
- * The footer section of a modal, typically where you place actions.
986
- *
987
- * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
988
- */
989
- "w-modal-footer": Partial<ModalFooterProps & BaseProps<ModalFooter> & BaseEvents>;
1939
+ * Alert is an inline component used for displaying different types of messages.
1940
+ *
1941
+ * For accessibility reasons, alert should appear close to the element that triggered it.
1942
+ *
1943
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/feedback-alert--docs)
1944
+ *
1945
+ * ## Attributes & Properties
1946
+ *
1947
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1948
+ *
1949
+ * - `variant`: undefined
1950
+ * - `show`: undefined
1951
+ * - `role`: undefined
1952
+ */
1953
+ "w-alert": Partial<
1954
+ WarpAlertProps & WarpAlertSolidJsProps & BaseProps<WarpAlert> & BaseEvents
1955
+ >;
990
1956
 
1957
+ /**
1958
+ * Buttons are used to perform actions, with different visuals for different needs.
1959
+ *
1960
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-link--docs)
1961
+ *
1962
+ * ## Attributes & Properties
1963
+ *
1964
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1965
+ *
1966
+ * - `autofocus`: undefined
1967
+ * - `variant`: undefined
1968
+ * - `small`: undefined
1969
+ * - `href`: undefined
1970
+ * - `disabled`: undefined
1971
+ * - `target`: undefined
1972
+ * - `rel`: undefined
1973
+ * - `full-width`/`fullWidth`: undefined
1974
+ */
1975
+ "w-link": Partial<
1976
+ WarpLinkProps & WarpLinkSolidJsProps & BaseProps<WarpLink> & BaseEvents
1977
+ >;
991
1978
 
992
1979
  /**
993
- * The header section of a modal, typically where you place the title and a close button.
994
- *
995
- * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
996
- *
997
- * ## Attributes & Properties
998
- *
999
- * Component attributes and properties that can be applied to the element or by using JavaScript.
1000
- *
1001
- * - `title`: undefined
1002
- * - `back`: undefined
1003
- * - `no-close`/`noClose`: undefined
1004
- * - `titleEl`: undefined (property only)
1005
- * - `titleClasses`: undefined (property only) (readonly)
1006
- * - `backButton`: undefined (property only) (readonly)
1007
- * - `closeButton`: undefined (property only) (readonly)
1008
- *
1009
- * ## Events
1010
- *
1011
- * Events that will be emitted by the component.
1012
- *
1013
- * - `backClicked`: undefined
1014
- *
1015
- * ## Slots
1016
- *
1017
- * Areas where markup can be added to the component.
1018
- *
1019
- * - `top`: Customize the title bar, for example to have a header image that reaches the modal's edges. See the With Image story for an example.
1020
- *
1021
- * ## Methods
1022
- *
1023
- * Methods that can be called to access component functionality.
1024
- *
1025
- * - `emitBack() => void`: undefined
1026
- * - `handleTopSlotChange(slotEvent) => void`: undefined
1027
- */
1028
- "w-modal-header": Partial<ModalHeaderProps & BaseProps<ModalHeader> & BaseEvents>;
1980
+ * Buttons are used to perform actions, widh different visuals for different needs.
1981
+ *
1982
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-button--docs)
1983
+ *
1984
+ * ## Attributes & Properties
1985
+ *
1986
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1987
+ *
1988
+ * - `type`: undefined
1989
+ * - `autofocus`: undefined
1990
+ * - `variant`: undefined
1991
+ * - `quiet`: undefined
1992
+ * - `small`: undefined
1993
+ * - `loading`: undefined
1994
+ * - `href`: undefined
1995
+ * - `target`: undefined
1996
+ * - `rel`: undefined
1997
+ * - `full-width`/`fullWidth`: undefined
1998
+ * - `button-class`/`buttonClass`: undefined
1999
+ * - `name`: undefined
2000
+ * - `value`: undefined
2001
+ * - `ariaValueTextLoading`: undefined (property only)
2002
+ *
2003
+ * ## Methods
2004
+ *
2005
+ * Methods that can be called to access component functionality.
2006
+ *
2007
+ * - `resetFormControl() => void`: undefined
2008
+ */
2009
+ "w-button": Partial<
2010
+ WarpButtonProps &
2011
+ WarpButtonSolidJsProps &
2012
+ BaseProps<WarpButton> &
2013
+ BaseEvents
2014
+ >;
1029
2015
 
2016
+ /**
2017
+ *
2018
+ *
2019
+ * ## Attributes & Properties
2020
+ *
2021
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
2022
+ *
2023
+ * - `show`: undefined
2024
+ * - `placement`: undefined
2025
+ * - `tooltip`: undefined
2026
+ * - `callout`: undefined
2027
+ * - `popover`: undefined
2028
+ * - `highlight`: undefined
2029
+ * - `can-close`/`canClose`: undefined
2030
+ * - `no-arrow`/`noArrow`: undefined
2031
+ * - `distance`: undefined
2032
+ * - `skidding`: undefined
2033
+ * - `flip`: undefined
2034
+ * - `cross-axis`/`crossAxis`: undefined
2035
+ * - `fallback-placements`/`fallbackPlacements`: undefined
2036
+ * - `_initialPlacement`: undefined (property only)
2037
+ * - `_actualDirection`: undefined (property only)
2038
+ *
2039
+ * ## Methods
2040
+ *
2041
+ * Methods that can be called to access component functionality.
2042
+ *
2043
+ * - `handleDone() => void`: undefined
2044
+ * - `pointingAtDirection() => void`: undefined
2045
+ * - `activeAttentionType() => void`: undefined
2046
+ * - `defaultAriaLabel() => void`: undefined
2047
+ * - `setAriaLabels() => void`: undefined
2048
+ * - `close() => void`: undefined
2049
+ * - `keypressed(e: KeyboardEvent) => void`: undefined
2050
+ */
2051
+ "w-attention": Partial<
2052
+ WarpAttentionProps &
2053
+ WarpAttentionSolidJsProps &
2054
+ BaseProps<WarpAttention> &
2055
+ BaseEvents
2056
+ >;
1030
2057
 
1031
2058
  /**
1032
- * Modals (or dialogs) display important information that users need to acknowledge.
1033
- *
1034
- * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
1035
- *
1036
- * ## Attributes & Properties
1037
- *
1038
- * Component attributes and properties that can be applied to the element or by using JavaScript.
1039
- *
1040
- * - `show`: undefined
1041
- * - `content-id`/`contentId`: undefined
1042
- * - `ignore-backdrop-clicks`/`ignoreBackdropClicks`: undefined
1043
- * - `dialogEl`: undefined (property only)
1044
- * - `dialogInnerEl`: undefined (property only)
1045
- * - `contentEl`: undefined (property only)
1046
- *
1047
- * ## Events
1048
- *
1049
- * Events that will be emitted by the component.
1050
- *
1051
- * - `shown`: undefined
1052
- * - `hidden`: undefined
1053
- *
1054
- * ## Slots
1055
- *
1056
- * Areas where markup can be added to the component.
1057
- *
1058
- * - `header`: Typically where you would use the `w-modal-header` component.
1059
- * - `content`: The main content of the modal.
1060
- * - `footer`: Typically where you would use the `w-modal-footer` component, for things like actions.
1061
- *
1062
- * ## Methods
1063
- *
1064
- * Methods that can be called to access component functionality.
1065
- *
1066
- * - `open() => void`: undefined
1067
- * - `close() => void`: undefined
1068
- * - `handleListeners(verb = 'addEventListener') => void`: undefined
1069
- * - `eventPreventer(evt: Event) => void`: undefined
1070
- * - `closeOnBackdropClick(evt: MouseEvent) => void`: undefined
1071
- * - `interceptEscape(evt: KeyboardEvent) => void`: undefined
1072
- * - `modifyBorderRadius() => void`: undefined
1073
- */
1074
- "w-modal": Partial<ModalMainProps & BaseProps<ModalMain> & BaseEvents>;
2059
+ * `w-badge` is used for showing a small amount of non-interactive color-categorized metadata, like a status or count.
2060
+ *
2061
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-badge--docs)
2062
+ *
2063
+ * ## Attributes & Properties
2064
+ *
2065
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
2066
+ *
2067
+ * - `variant`: undefined
2068
+ * - `position`: undefined
2069
+ */
2070
+ "w-badge": Partial<
2071
+ WarpBadgeProps & WarpBadgeSolidJsProps & BaseProps<WarpBadge> & BaseEvents
2072
+ >;
1075
2073
 
2074
+ /**
2075
+ * Box is a layout component used for separating content areas on a page.
2076
+ *
2077
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-box--docs)
2078
+ *
2079
+ * ## Attributes & Properties
2080
+ *
2081
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
2082
+ *
2083
+ * - `bleed`: undefined
2084
+ * - `bordered`: undefined
2085
+ * - `info`: undefined
2086
+ * - `neutral`: undefined
2087
+ * - `role`: undefined
2088
+ */
2089
+ "w-box": Partial<
2090
+ WarpBoxProps & WarpBoxSolidJsProps & BaseProps<WarpBox> & BaseEvents
2091
+ >;
1076
2092
 
1077
2093
  /**
1078
- *
1079
- *
1080
- * ## Methods
1081
- *
1082
- * Methods that can be called to access component functionality.
1083
- *
1084
- * - `init() => void`: undefined
1085
- * - `get(id: string | number) => ToastInternal | undefined`: undefined
1086
- * - `set(toast: ToastOptions) => Map<string | number, ToastInternal>`: undefined
1087
- * - `del(id: string | number) => Promise<boolean>`: undefined
1088
- */
1089
- "w-toast-container": Partial<WarpToastContainerProps & BaseProps<WarpToastContainer> & BaseEvents>;
2094
+ * Breadcrumbs show the navigation structure for the current location.
2095
+ *
2096
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-breadcrumbs--docs)
2097
+ *
2098
+ * ## Attributes & Properties
2099
+ *
2100
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
2101
+ *
2102
+ * - `aria-label`/`ariaLabel`: undefined
2103
+ */
2104
+ "w-breadcrumbs": Partial<
2105
+ WarpBreadcrumbsProps &
2106
+ WarpBreadcrumbsSolidJsProps &
2107
+ BaseProps<WarpBreadcrumbs> &
2108
+ BaseEvents
2109
+ >;
1090
2110
 
2111
+ /**
2112
+ * Card is a layout component used for separating content areas on a page.
2113
+ *
2114
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-card--docs)
2115
+ *
2116
+ * ## Attributes & Properties
2117
+ *
2118
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
2119
+ *
2120
+ * - `selected`: undefined
2121
+ * - `flat`: undefined
2122
+ * - `clickable`: undefined
2123
+ * - `buttonText`: undefined (property only)
2124
+ *
2125
+ * ## Methods
2126
+ *
2127
+ * Methods that can be called to access component functionality.
2128
+ *
2129
+ * - `keypressed(e: KeyboardEvent) => void`: undefined
2130
+ */
2131
+ "w-card": Partial<
2132
+ WarpCardProps & WarpCardSolidJsProps & BaseProps<WarpCard> & BaseEvents
2133
+ >;
1091
2134
 
1092
2135
  /**
1093
- * An input for dates.
1094
- *
1095
- * Uses the `lang` attribute on either the element or on `<html>` to determine the locale options.
1096
- *
1097
- * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-datepicker--docs)
1098
- *
1099
- * ## Attributes & Properties
1100
- *
1101
- * Component attributes and properties that can be applied to the element or by using JavaScript.
1102
- *
1103
- * - `label`: undefined
1104
- * - `lang`: Takes precedence over the `<html>` lang attribute.
1105
- * - `name`: undefined
1106
- * - `value`: undefined
1107
- * - `header-format`/`headerFormat`: Decides the format of the date as shown in the calendar header.
1108
- *
1109
- * The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
1110
- * - `weekday-format`/`weekdayFormat`: Decides the format of the weekday as shown above the grid of dates in the calendar.
1111
- *
1112
- * The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
1113
- * - `day-format`/`dayFormat`: Decides the format of the day in the calendar as read to screen readers.
1114
- *
1115
- * The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
1116
- * - `isDayDisabled`: Lets you control if a date in the calendar should be disabled.
1117
- *
1118
- * This needs to be set on the element instance in JavaScript, not as an HTML attribute. (property only)
1119
- * - `isCalendarOpen`: undefined (property only)
1120
- * - `navigationDate`: undefined (property only)
1121
- * - `selectedDate`: undefined (property only) (readonly)
1122
- * - `month`: undefined (property only) (readonly)
1123
- * - `weeks`: undefined (property only) (readonly)
1124
- * - `calendar`: undefined (property only)
1125
- * - `input`: undefined (property only)
1126
- * - `toggleButton`: undefined (property only)
1127
- * - `wrapper`: undefined (property only)
1128
- * - `previousMonthButton`: This is the first focusable element, needed for the modal focus trap.
1129
- *
1130
- * Don't cache this and other `@query` fields from inside the calendar modal.
1131
- * They work the first time, but once the calendar is closed and reopened
1132
- * the query will point to an element that doesn't exist anymore. (property only)
1133
- * - `todayCell`: undefined (property only)
1134
- * - `selectedCell`: undefined (property only)
1135
- *
1136
- * ## Methods
1137
- *
1138
- * Methods that can be called to access component functionality.
1139
- *
1140
- * - `resetFormControl() => void`: undefined
1141
- */
1142
- "w-datepicker": Partial<WarpDatepickerProps & BaseProps<WarpDatepicker> & BaseEvents>;
2136
+ * Expandable is a layout component used for creating expandable content areas on a page.
2137
+ *
2138
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-expandable--docs)
2139
+ *
2140
+ * ## Attributes & Properties
2141
+ *
2142
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
2143
+ *
2144
+ * - `expanded`: undefined
2145
+ * - `title`: undefined
2146
+ * - `box`: undefined
2147
+ * - `bleed`: undefined
2148
+ * - `button-class`/`buttonClass`: undefined
2149
+ * - `content-class`/`contentClass`: undefined
2150
+ * - `no-chevron`/`noChevron`: undefined
2151
+ * - `animated`: undefined
2152
+ * - `heading-level`/`headingLevel`: undefined
2153
+ * - `_hasTitle`: undefined
2154
+ * - `_showChevronUp`: undefined
2155
+ *
2156
+ * ## Slots
2157
+ *
2158
+ * Areas where markup can be added to the component.
2159
+ *
2160
+ * - `title`: Alternative to the `title` attribute should you need to provide some additional markup.
2161
+ */
2162
+ "w-expandable": Partial<
2163
+ WarpExpandableProps &
2164
+ WarpExpandableSolidJsProps &
2165
+ BaseProps<WarpExpandable> &
2166
+ BaseEvents
2167
+ >;
1143
2168
 
2169
+ /**
2170
+ * Pill is a type of button that is often used as a filter, but can also be used as a rounded button for overlays, etc.
2171
+ *
2172
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-pill--docs)
2173
+ *
2174
+ * ## Attributes & Properties
2175
+ *
2176
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
2177
+ *
2178
+ * - `can-close`/`canClose`: undefined
2179
+ * - `suggestion`: undefined
2180
+ * - `open-sr-label`/`openSrLabel`: undefined
2181
+ * - `open-aria-label`/`openAriaLabel`: undefined
2182
+ * - `close-sr-label`/`closeSrLabel`: undefined
2183
+ * - `close-aria-label`/`closeAriaLabel`: undefined
2184
+ * - `openFilterSrText`: undefined (property only)
2185
+ * - `removeFilterSrText`: undefined (property only)
2186
+ *
2187
+ * ## Events
2188
+ *
2189
+ * Events that will be emitted by the component.
2190
+ *
2191
+ * - `w-pill-click`: undefined
2192
+ * - `w-pill-close`: undefined
2193
+ */
2194
+ "w-pill": Partial<
2195
+ WarpPillProps & WarpPillSolidJsProps & BaseProps<WarpPill> & BaseEvents
2196
+ >;
1144
2197
 
1145
2198
  /**
1146
- *
1147
- *
1148
- * ## Attributes & Properties
1149
- *
1150
- * Component attributes and properties that can be applied to the element or by using JavaScript.
1151
- *
1152
- * - `name`: undefined
1153
- * - `value`: undefined
1154
- * - `checked`: undefined
1155
- * - `disabled`: undefined
1156
- *
1157
- * ## Events
1158
- *
1159
- * Events that will be emitted by the component.
1160
- *
1161
- * - `change`: undefined
1162
- *
1163
- * ## Methods
1164
- *
1165
- * Methods that can be called to access component functionality.
1166
- *
1167
- * - `resetFormControl() => void`: undefined
1168
- */
1169
- "w-switch": Partial<WarpSwitchProps & BaseProps<WarpSwitch> & BaseEvents>;
2199
+ * A dropdown component for selecting a single value.
2200
+ *
2201
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-select--docs)
2202
+ *
2203
+ * ## Attributes & Properties
2204
+ *
2205
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
2206
+ *
2207
+ * - `auto-focus`/`autoFocus`: Whether the element should receive focus on render.
2208
+ * - `autofocus`: Whether the element should receive focus on render
2209
+ * - `help-text`/`helpText`: The content displayed as the help text. Paired with `invalid` to show the text as a validation error.
2210
+ * - `invalid`: Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error.
2211
+ * - `always`: Whether to always show a hint.
2212
+ * - `hint`: The content displayed as the help text.
2213
+ * - `label`: The content to disply as the label
2214
+ * - `optional`: Whether to show optional text
2215
+ * - `disabled`: Renders the field in a disabled state.
2216
+ * - `read-only`/`readOnly`: Renders the field in a readonly state.
2217
+ * - `readonly`: Renders the field in a readonly state.
2218
+ * - `name`: undefined
2219
+ * - `value`: undefined
2220
+ *
2221
+ * ## Methods
2222
+ *
2223
+ * Methods that can be called to access component functionality.
2224
+ *
2225
+ * - `resetFormControl() => void`: undefined
2226
+ * - `handleKeyDown(event: KeyboardEvent) => void`: undefined
2227
+ * - `onChange({ target }) => void`: undefined
2228
+ */
2229
+ "w-select": Partial<
2230
+ WarpSelectProps &
2231
+ WarpSelectSolidJsProps &
2232
+ BaseProps<WarpSelect> &
2233
+ BaseEvents
2234
+ >;
1170
2235
 
2236
+ /**
2237
+ * A single line text input element.
2238
+ *
2239
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)
2240
+ *
2241
+ * ## Attributes & Properties
2242
+ *
2243
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
2244
+ *
2245
+ * - `disabled`: undefined
2246
+ * - `invalid`: undefined
2247
+ * - `id`: undefined
2248
+ * - `label`: undefined
2249
+ * - `help-text`/`helpText`: undefined
2250
+ * - `size`: undefined
2251
+ * - `max`: undefined
2252
+ * - `min`: undefined
2253
+ * - `min-length`/`minLength`: undefined
2254
+ * - `max-length`/`maxLength`: undefined
2255
+ * - `pattern`: undefined
2256
+ * - `placeholder`: undefined
2257
+ * - `read-only`/`readOnly`: undefined
2258
+ * - `readonly`: undefined
2259
+ * - `required`: undefined
2260
+ * - `type`: undefined
2261
+ * - `value`: undefined
2262
+ * - `name`: undefined
2263
+ * - `step`: undefined
2264
+ * - `autocomplete`: undefined
2265
+ * - `formatter`: Function to format value when the input field.
2266
+ *
2267
+ * Only active when the input field does not have focus,
2268
+ * similar to the accessible input masking example from Filament Group
2269
+ *
2270
+ * https://css-tricks.com/input-masking/
2271
+ * https://filamentgroup.github.io/politespace/demo/demo.html (property only)
2272
+ *
2273
+ * ## Methods
2274
+ *
2275
+ * Methods that can be called to access component functionality.
2276
+ *
2277
+ * - `resetFormControl() => void`: undefined
2278
+ * - `handler(e: Event) => void`: undefined
2279
+ * - `prefixSlotChange() => void`: undefined
2280
+ * - `suffixSlotChange() => void`: undefined
2281
+ */
2282
+ "w-textfield": Partial<
2283
+ WarpTextFieldProps &
2284
+ WarpTextFieldSolidJsProps &
2285
+ BaseProps<WarpTextField> &
2286
+ BaseEvents
2287
+ >;
1171
2288
 
1172
2289
  /**
1173
- * A combobox element for text input with selectable options.
1174
- *
1175
- * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-combobox--docs)
1176
- *
1177
- * ## Attributes & Properties
1178
- *
1179
- * Component attributes and properties that can be applied to the element or by using JavaScript.
1180
- *
1181
- * - `options`: The available options to select from
1182
- * - `label`: Label above input
1183
- * - `placeholder`: Input placeholder
1184
- * - `value`: The input value
1185
- * - `open-on-focus`/`openOnFocus`: Whether the popover opens when focus is on the text field
1186
- * - `select-on-blur`/`selectOnBlur`: Select active option on blur
1187
- * - `match-text-segments`/`matchTextSegments`: Whether the matching text segments in the options should be highlighted
1188
- * - `disable-static-filtering`/`disableStaticFiltering`: Disable client-side static filtering
1189
- * - `invalid`: Renders the input field in an invalid state
1190
- * - `help-text`/`helpText`: The content to display as the help text
1191
- * - `disabled`: Whether the element is disabled
1192
- * - `required`: Whether the element is required
1193
- * - `optional`: Whether to show optional text
1194
- * - `name`: Name attribute for form submission
1195
- * - `autocomplete`: Autocomplete attribute for the input field
1196
- *
1197
- * ## Methods
1198
- *
1199
- * Methods that can be called to access component functionality.
1200
- *
1201
- * - `resetFormControl() => void`: undefined
1202
- */
1203
- "w-combobox": Partial<WarpComboboxProps & BaseProps<WarpCombobox> & BaseEvents>;
1204
- }
2290
+ * Modals (or dialogs) display important information that users need to acknowledge.
2291
+ *
2292
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
2293
+ *
2294
+ * ## Attributes & Properties
2295
+ *
2296
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
2297
+ *
2298
+ * - `show`: undefined
2299
+ * - `content-id`/`contentId`: undefined
2300
+ * - `ignore-backdrop-clicks`/`ignoreBackdropClicks`: undefined
2301
+ * - `dialogEl`: undefined (property only)
2302
+ * - `dialogInnerEl`: undefined (property only)
2303
+ * - `contentEl`: undefined (property only)
2304
+ *
2305
+ * ## Events
2306
+ *
2307
+ * Events that will be emitted by the component.
2308
+ *
2309
+ * - `shown`: undefined
2310
+ * - `hidden`: undefined
2311
+ *
2312
+ * ## Slots
2313
+ *
2314
+ * Areas where markup can be added to the component.
2315
+ *
2316
+ * - `header`: Typically where you would use the `w-modal-header` component.
2317
+ * - `content`: The main content of the modal.
2318
+ * - `footer`: Typically where you would use the `w-modal-footer` component, for things like actions.
2319
+ *
2320
+ * ## Methods
2321
+ *
2322
+ * Methods that can be called to access component functionality.
2323
+ *
2324
+ * - `open() => void`: undefined
2325
+ * - `close() => void`: undefined
2326
+ * - `handleListeners(verb = 'addEventListener') => void`: undefined
2327
+ * - `eventPreventer(evt: Event) => void`: undefined
2328
+ * - `closeOnBackdropClick(evt: MouseEvent) => void`: undefined
2329
+ * - `interceptEscape(evt: KeyboardEvent) => void`: undefined
2330
+ * - `modifyBorderRadius() => void`: undefined
2331
+ */
2332
+ "w-modal": Partial<
2333
+ ModalMainProps & ModalMainSolidJsProps & BaseProps<ModalMain> & BaseEvents
2334
+ >;
1205
2335
 
1206
- export type CustomCssProperties = {
2336
+ /**
2337
+ * The header section of a modal, typically where you place the title and a close button.
2338
+ *
2339
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
2340
+ *
2341
+ * ## Attributes & Properties
2342
+ *
2343
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
2344
+ *
2345
+ * - `title`: undefined
2346
+ * - `back`: undefined
2347
+ * - `no-close`/`noClose`: undefined
2348
+ * - `titleEl`: undefined (property only)
2349
+ * - `titleClasses`: undefined (property only) (readonly)
2350
+ * - `backButton`: undefined (property only) (readonly)
2351
+ * - `closeButton`: undefined (property only) (readonly)
2352
+ *
2353
+ * ## Events
2354
+ *
2355
+ * Events that will be emitted by the component.
2356
+ *
2357
+ * - `backClicked`: undefined
2358
+ *
2359
+ * ## Slots
2360
+ *
2361
+ * Areas where markup can be added to the component.
2362
+ *
2363
+ * - `top`: Customize the title bar, for example to have a header image that reaches the modal's edges. See the With Image story for an example.
2364
+ *
2365
+ * ## Methods
2366
+ *
2367
+ * Methods that can be called to access component functionality.
2368
+ *
2369
+ * - `emitBack() => void`: undefined
2370
+ * - `handleTopSlotChange(slotEvent) => void`: undefined
2371
+ */
2372
+ "w-modal-header": Partial<
2373
+ ModalHeaderProps &
2374
+ ModalHeaderSolidJsProps &
2375
+ BaseProps<ModalHeader> &
2376
+ BaseEvents
2377
+ >;
1207
2378
 
1208
- }
2379
+ /**
2380
+ * The footer section of a modal, typically where you place actions.
2381
+ *
2382
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)
2383
+ */
2384
+ "w-modal-footer": Partial<
2385
+ ModalFooterProps &
2386
+ ModalFooterSolidJsProps &
2387
+ BaseProps<ModalFooter> &
2388
+ BaseEvents
2389
+ >;
1209
2390
 
2391
+ /**
2392
+ *
2393
+ *
2394
+ * ## Methods
2395
+ *
2396
+ * Methods that can be called to access component functionality.
2397
+ *
2398
+ * - `init() => void`: undefined
2399
+ * - `get(id: string | number) => ToastInternal | undefined`: undefined
2400
+ * - `set(toast: ToastOptions) => Map<string | number, ToastInternal>`: undefined
2401
+ * - `del(id: string | number) => Promise<boolean>`: undefined
2402
+ */
2403
+ "w-toast-container": Partial<
2404
+ WarpToastContainerProps &
2405
+ WarpToastContainerSolidJsProps &
2406
+ BaseProps<WarpToastContainer> &
2407
+ BaseEvents
2408
+ >;
2409
+
2410
+ /**
2411
+ * An input for dates.
2412
+ *
2413
+ * Uses the `lang` attribute on either the element or on `<html>` to determine the locale options.
2414
+ *
2415
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-datepicker--docs)
2416
+ *
2417
+ * ## Attributes & Properties
2418
+ *
2419
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
2420
+ *
2421
+ * - `label`: undefined
2422
+ * - `lang`: Takes precedence over the `<html>` lang attribute.
2423
+ * - `name`: undefined
2424
+ * - `value`: undefined
2425
+ * - `header-format`/`headerFormat`: Decides the format of the date as shown in the calendar header.
2426
+ *
2427
+ * The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
2428
+ * - `weekday-format`/`weekdayFormat`: Decides the format of the weekday as shown above the grid of dates in the calendar.
2429
+ *
2430
+ * The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
2431
+ * - `day-format`/`dayFormat`: Decides the format of the day in the calendar as read to screen readers.
2432
+ *
2433
+ * The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
2434
+ * - `isDayDisabled`: Lets you control if a date in the calendar should be disabled.
2435
+ *
2436
+ * This needs to be set on the element instance in JavaScript, not as an HTML attribute. (property only)
2437
+ * - `isCalendarOpen`: undefined (property only)
2438
+ * - `navigationDate`: undefined (property only)
2439
+ * - `selectedDate`: undefined (property only) (readonly)
2440
+ * - `month`: undefined (property only) (readonly)
2441
+ * - `weeks`: undefined (property only) (readonly)
2442
+ * - `calendar`: undefined (property only)
2443
+ * - `input`: undefined (property only)
2444
+ * - `toggleButton`: undefined (property only)
2445
+ * - `wrapper`: undefined (property only)
2446
+ * - `previousMonthButton`: This is the first focusable element, needed for the modal focus trap.
2447
+ *
2448
+ * Don't cache this and other `@query` fields from inside the calendar modal.
2449
+ * They work the first time, but once the calendar is closed and reopened
2450
+ * the query will point to an element that doesn't exist anymore. (property only)
2451
+ * - `todayCell`: undefined (property only)
2452
+ * - `selectedCell`: undefined (property only)
2453
+ *
2454
+ * ## Methods
2455
+ *
2456
+ * Methods that can be called to access component functionality.
2457
+ *
2458
+ * - `resetFormControl() => void`: undefined
2459
+ */
2460
+ "w-datepicker": Partial<
2461
+ WarpDatepickerProps &
2462
+ WarpDatepickerSolidJsProps &
2463
+ BaseProps<WarpDatepicker> &
2464
+ BaseEvents
2465
+ >;
2466
+
2467
+ /**
2468
+ *
2469
+ *
2470
+ * ## Attributes & Properties
2471
+ *
2472
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
2473
+ *
2474
+ * - `name`: undefined
2475
+ * - `value`: undefined
2476
+ * - `checked`: undefined
2477
+ * - `disabled`: undefined
2478
+ *
2479
+ * ## Events
2480
+ *
2481
+ * Events that will be emitted by the component.
2482
+ *
2483
+ * - `change`: undefined
2484
+ *
2485
+ * ## Methods
2486
+ *
2487
+ * Methods that can be called to access component functionality.
2488
+ *
2489
+ * - `resetFormControl() => void`: undefined
2490
+ */
2491
+ "w-switch": Partial<
2492
+ WarpSwitchProps &
2493
+ WarpSwitchSolidJsProps &
2494
+ BaseProps<WarpSwitch> &
2495
+ BaseEvents
2496
+ >;
2497
+
2498
+ /**
2499
+ * A combobox element for text input with selectable options.
2500
+ *
2501
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-combobox--docs)
2502
+ *
2503
+ * ## Attributes & Properties
2504
+ *
2505
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
2506
+ *
2507
+ * - `options`: The available options to select from
2508
+ * - `label`: Label above input
2509
+ * - `placeholder`: Input placeholder
2510
+ * - `value`: The input value
2511
+ * - `open-on-focus`/`openOnFocus`: Whether the popover opens when focus is on the text field
2512
+ * - `select-on-blur`/`selectOnBlur`: Select active option on blur
2513
+ * - `match-text-segments`/`matchTextSegments`: Whether the matching text segments in the options should be highlighted
2514
+ * - `disable-static-filtering`/`disableStaticFiltering`: Disable client-side static filtering
2515
+ * - `invalid`: Renders the input field in an invalid state
2516
+ * - `help-text`/`helpText`: The content to display as the help text
2517
+ * - `disabled`: Whether the element is disabled
2518
+ * - `required`: Whether the element is required
2519
+ * - `optional`: Whether to show optional text
2520
+ * - `name`: Name attribute for form submission
2521
+ * - `autocomplete`: Autocomplete attribute for the input field
2522
+ *
2523
+ * ## Methods
2524
+ *
2525
+ * Methods that can be called to access component functionality.
2526
+ *
2527
+ * - `resetFormControl() => void`: undefined
2528
+ */
2529
+ "w-combobox": Partial<
2530
+ WarpComboboxProps &
2531
+ WarpComboboxSolidJsProps &
2532
+ BaseProps<WarpCombobox> &
2533
+ BaseEvents
2534
+ >;
2535
+
2536
+ /**
2537
+ * A page indicator component that displays a series of dots representing pages.
2538
+ * One dot is highlighted to indicate the currently selected page.
2539
+ *
2540
+ * ## Attributes & Properties
2541
+ *
2542
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
2543
+ *
2544
+ * - `selected-page`/`selectedPage`: Currently selected page (1-based index, clamped to valid range)
2545
+ * - `page-count`/`pageCount`: Total number of pages (minimum 1)
2546
+ */
2547
+ "w-page-indicator": Partial<
2548
+ WarpPageIndicatorProps &
2549
+ WarpPageIndicatorSolidJsProps &
2550
+ BaseProps<WarpPageIndicator> &
2551
+ BaseEvents
2552
+ >;
2553
+
2554
+ /**
2555
+ * Individual tab component used within w-tabs container.
2556
+ *
2557
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
2558
+ *
2559
+ * ## Attributes & Properties
2560
+ *
2561
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
2562
+ *
2563
+ * - `for`: undefined
2564
+ * - `active`: undefined
2565
+ * - `over`: undefined
2566
+ */
2567
+ "w-tab": Partial<
2568
+ WarpTabProps & WarpTabSolidJsProps & BaseProps<WarpTab> & BaseEvents
2569
+ >;
2570
+
2571
+ /**
2572
+ * Tab panel component that holds content for individual tabs.
2573
+ * Each tab panel should have a name that matches a corresponding tab.
2574
+ *
2575
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
2576
+ *
2577
+ * ## Attributes & Properties
2578
+ *
2579
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
2580
+ *
2581
+ * - `hidden`: undefined
2582
+ */
2583
+ "w-tab-panel": Partial<
2584
+ WarpTabPanelProps &
2585
+ WarpTabPanelSolidJsProps &
2586
+ BaseProps<WarpTabPanel> &
2587
+ BaseEvents
2588
+ >;
2589
+
2590
+ /**
2591
+ * Tabs are used to organize content by grouping similar information on the same page.
2592
+ *
2593
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
2594
+ *
2595
+ * ## Attributes & Properties
2596
+ *
2597
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
2598
+ *
2599
+ * - `active`: undefined
2600
+ * - `tabs`: undefined (property only) (readonly)
2601
+ * - `activeTab`: undefined (property only) (readonly)
2602
+ *
2603
+ * ## Events
2604
+ *
2605
+ * Events that will be emitted by the component.
2606
+ *
2607
+ * - `change`: undefined
2608
+ */
2609
+ "w-tabs": Partial<
2610
+ WarpTabsProps & WarpTabsSolidJsProps & BaseProps<WarpTabs> & BaseEvents
2611
+ >;
2612
+
2613
+ /**
2614
+ *
2615
+ *
2616
+ * ## Attributes & Properties
2617
+ *
2618
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
2619
+ *
2620
+ * - `name`: Icon filename (without .svg)
2621
+ * - `size`: Size: small, medium, large or pixel value (e.g. "32px")
2622
+ * - `locale`: Locale used in CDN URL
2623
+ */
2624
+ "w-icon": Partial<
2625
+ WIconProps & WIconSolidJsProps & BaseProps<WIcon> & BaseEvents
2626
+ >;
2627
+ };
1210
2628
 
1211
- declare module 'react' {
2629
+ export type CustomCssProperties = {};
2630
+
2631
+ declare module "react" {
1212
2632
  namespace JSX {
1213
2633
  interface IntrinsicElements extends CustomElements {}
1214
2634
  }
1215
2635
  export interface CSSProperties extends CustomCssProperties {}
1216
2636
  }
1217
2637
 
1218
- declare module 'preact' {
2638
+ declare module "preact" {
1219
2639
  namespace JSX {
1220
2640
  interface IntrinsicElements extends CustomElements {}
1221
2641
  }
1222
2642
  export interface CSSProperties extends CustomCssProperties {}
1223
2643
  }
1224
2644
 
1225
- declare module '@builder.io/qwik' {
2645
+ declare module "@builder.io/qwik" {
1226
2646
  namespace JSX {
1227
2647
  interface IntrinsicElements extends CustomElements {}
1228
2648
  }
1229
2649
  export interface CSSProperties extends CustomCssProperties {}
1230
2650
  }
1231
2651
 
1232
- declare module '@stencil/core' {
2652
+ declare module "@stencil/core" {
1233
2653
  namespace JSX {
1234
2654
  interface IntrinsicElements extends CustomElements {}
1235
2655
  }
1236
2656
  export interface CSSProperties extends CustomCssProperties {}
1237
2657
  }
1238
2658
 
1239
- declare module 'hono/jsx' {
2659
+ declare module "hono/jsx" {
1240
2660
  namespace JSX {
1241
2661
  interface IntrinsicElements extends CustomElements {}
1242
2662
  }
1243
2663
  export interface CSSProperties extends CustomCssProperties {}
1244
2664
  }
1245
2665
 
1246
- declare module 'react-native' {
2666
+ declare module "react-native" {
1247
2667
  namespace JSX {
1248
2668
  interface IntrinsicElements extends CustomElements {}
1249
2669
  }
1250
2670
  export interface CSSProperties extends CustomCssProperties {}
1251
2671
  }
1252
2672
 
2673
+ declare module "solid-js" {
2674
+ namespace JSX {
2675
+ interface IntrinsicElements extends CustomElementsSolidJs {}
2676
+ }
2677
+ export interface CSSProperties extends CustomCssProperties {}
2678
+ }
2679
+
1253
2680
  declare global {
1254
2681
  namespace JSX {
1255
2682
  interface IntrinsicElements extends CustomElements {}