@funstack/ui 0.1.0-alpha.2 → 0.1.0-alpha.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1046) hide show
  1. package/README.md +22 -1
  2. package/dist/accordion/accordion-context.mjs.map +1 -1
  3. package/dist/accordion/accordion-item.d.mts +22 -4
  4. package/dist/accordion/accordion-item.d.mts.map +1 -1
  5. package/dist/accordion/accordion-item.mjs +32 -10
  6. package/dist/accordion/accordion-item.mjs.map +1 -1
  7. package/dist/accordion/accordion-panel.d.mts +19 -4
  8. package/dist/accordion/accordion-panel.d.mts.map +1 -1
  9. package/dist/accordion/accordion-panel.mjs +8 -6
  10. package/dist/accordion/accordion-panel.mjs.map +1 -1
  11. package/dist/accordion/accordion-root.d.mts +39 -5
  12. package/dist/accordion/accordion-root.d.mts.map +1 -1
  13. package/dist/accordion/accordion-root.mjs +75 -67
  14. package/dist/accordion/accordion-root.mjs.map +1 -1
  15. package/dist/accordion/accordion-trigger.d.mts +12 -4
  16. package/dist/accordion/accordion-trigger.d.mts.map +1 -1
  17. package/dist/accordion/accordion-trigger.mjs +14 -28
  18. package/dist/accordion/accordion-trigger.mjs.map +1 -1
  19. package/dist/accordion/index.d.mts +2 -0
  20. package/dist/accordion/index.d.mts.map +1 -1
  21. package/dist/accordion/index.mjs +2 -0
  22. package/dist/accordion/index.mjs.map +1 -1
  23. package/dist/alert-dialog/alert-dialog-action.d.mts +73 -0
  24. package/dist/alert-dialog/alert-dialog-action.d.mts.map +1 -0
  25. package/dist/alert-dialog/alert-dialog-action.mjs +23 -0
  26. package/dist/alert-dialog/alert-dialog-action.mjs.map +1 -0
  27. package/dist/alert-dialog/alert-dialog-cancel.d.mts +31 -0
  28. package/dist/alert-dialog/alert-dialog-cancel.d.mts.map +1 -0
  29. package/dist/alert-dialog/alert-dialog-cancel.mjs +50 -0
  30. package/dist/alert-dialog/alert-dialog-cancel.mjs.map +1 -0
  31. package/dist/alert-dialog/alert-dialog-context.mjs +24 -0
  32. package/dist/alert-dialog/alert-dialog-context.mjs.map +1 -0
  33. package/dist/alert-dialog/alert-dialog-description.d.mts +25 -0
  34. package/dist/alert-dialog/alert-dialog-description.d.mts.map +1 -0
  35. package/dist/alert-dialog/alert-dialog-description.mjs +20 -0
  36. package/dist/alert-dialog/alert-dialog-description.mjs.map +1 -0
  37. package/dist/alert-dialog/alert-dialog-form.d.mts +27 -0
  38. package/dist/alert-dialog/alert-dialog-form.d.mts.map +1 -0
  39. package/dist/alert-dialog/alert-dialog-form.mjs +22 -0
  40. package/dist/alert-dialog/alert-dialog-form.mjs.map +1 -0
  41. package/dist/alert-dialog/alert-dialog-popup.d.mts +42 -0
  42. package/dist/alert-dialog/alert-dialog-popup.d.mts.map +1 -0
  43. package/dist/alert-dialog/alert-dialog-popup.mjs +53 -0
  44. package/dist/alert-dialog/alert-dialog-popup.mjs.map +1 -0
  45. package/dist/alert-dialog/alert-dialog-root.d.mts +31 -0
  46. package/dist/alert-dialog/alert-dialog-root.d.mts.map +1 -0
  47. package/dist/alert-dialog/alert-dialog-root.mjs +23 -0
  48. package/dist/alert-dialog/alert-dialog-root.mjs.map +1 -0
  49. package/dist/alert-dialog/alert-dialog-title.d.mts +23 -0
  50. package/dist/alert-dialog/alert-dialog-title.d.mts.map +1 -0
  51. package/dist/alert-dialog/alert-dialog-title.mjs +18 -0
  52. package/dist/alert-dialog/alert-dialog-title.mjs.map +1 -0
  53. package/dist/alert-dialog/alert-dialog-trigger.d.mts +23 -0
  54. package/dist/alert-dialog/alert-dialog-trigger.d.mts.map +1 -0
  55. package/dist/alert-dialog/alert-dialog-trigger.mjs +18 -0
  56. package/dist/alert-dialog/alert-dialog-trigger.mjs.map +1 -0
  57. package/dist/alert-dialog/index.d.mts +33 -0
  58. package/dist/alert-dialog/index.d.mts.map +1 -0
  59. package/dist/alert-dialog/index.mjs +33 -0
  60. package/dist/alert-dialog/index.mjs.map +1 -0
  61. package/dist/avatar/avatar-context.mjs +24 -0
  62. package/dist/avatar/avatar-context.mjs.map +1 -0
  63. package/dist/avatar/avatar-fallback.d.mts +32 -0
  64. package/dist/avatar/avatar-fallback.d.mts.map +1 -0
  65. package/dist/avatar/avatar-fallback.mjs +31 -0
  66. package/dist/avatar/avatar-fallback.mjs.map +1 -0
  67. package/dist/avatar/avatar-image.d.mts +37 -0
  68. package/dist/avatar/avatar-image.d.mts.map +1 -0
  69. package/dist/avatar/avatar-image.mjs +91 -0
  70. package/dist/avatar/avatar-image.mjs.map +1 -0
  71. package/dist/avatar/avatar-root.d.mts +48 -0
  72. package/dist/avatar/avatar-root.d.mts.map +1 -0
  73. package/dist/avatar/avatar-root.mjs +81 -0
  74. package/dist/avatar/avatar-root.mjs.map +1 -0
  75. package/dist/avatar/index.d.mts +24 -0
  76. package/dist/avatar/index.d.mts.map +1 -0
  77. package/dist/avatar/index.mjs +24 -0
  78. package/dist/avatar/index.mjs.map +1 -0
  79. package/dist/bin/skill-installer.d.mts +1 -0
  80. package/dist/bin/skill-installer.mjs +12 -0
  81. package/dist/bin/skill-installer.mjs.map +1 -0
  82. package/dist/button/button.d.mts +118 -0
  83. package/dist/button/button.d.mts.map +1 -0
  84. package/dist/button/button.mjs +98 -0
  85. package/dist/button/button.mjs.map +1 -0
  86. package/dist/button/index.d.mts +3 -0
  87. package/dist/button/index.mjs +1 -0
  88. package/dist/checkbox/checkbox.d.mts +32 -9
  89. package/dist/checkbox/checkbox.d.mts.map +1 -1
  90. package/dist/checkbox/checkbox.mjs +25 -50
  91. package/dist/checkbox/checkbox.mjs.map +1 -1
  92. package/dist/checkbox-group/checkbox-group-context.mjs.map +1 -1
  93. package/dist/checkbox-group/checkbox-group-item.d.mts +20 -5
  94. package/dist/checkbox-group/checkbox-group-item.d.mts.map +1 -1
  95. package/dist/checkbox-group/checkbox-group-item.mjs +25 -27
  96. package/dist/checkbox-group/checkbox-group-item.mjs.map +1 -1
  97. package/dist/checkbox-group/checkbox-group-label.d.mts +10 -0
  98. package/dist/checkbox-group/checkbox-group-label.d.mts.map +1 -1
  99. package/dist/checkbox-group/checkbox-group-label.mjs +3 -6
  100. package/dist/checkbox-group/checkbox-group-label.mjs.map +1 -1
  101. package/dist/checkbox-group/checkbox-group-parent.d.mts +22 -5
  102. package/dist/checkbox-group/checkbox-group-parent.d.mts.map +1 -1
  103. package/dist/checkbox-group/checkbox-group-parent.mjs +17 -13
  104. package/dist/checkbox-group/checkbox-group-parent.mjs.map +1 -1
  105. package/dist/checkbox-group/checkbox-group-root.d.mts +37 -7
  106. package/dist/checkbox-group/checkbox-group-root.d.mts.map +1 -1
  107. package/dist/checkbox-group/checkbox-group-root.mjs +102 -102
  108. package/dist/checkbox-group/checkbox-group-root.mjs.map +1 -1
  109. package/dist/checkbox-group/index.d.mts +2 -0
  110. package/dist/checkbox-group/index.d.mts.map +1 -1
  111. package/dist/checkbox-group/index.mjs +2 -0
  112. package/dist/checkbox-group/index.mjs.map +1 -1
  113. package/dist/collapsible/collapsible-context.mjs +8 -0
  114. package/dist/collapsible/collapsible-context.mjs.map +1 -0
  115. package/dist/collapsible/collapsible-panel.d.mts +53 -0
  116. package/dist/collapsible/collapsible-panel.d.mts.map +1 -0
  117. package/dist/collapsible/collapsible-panel.mjs +41 -0
  118. package/dist/collapsible/collapsible-panel.mjs.map +1 -0
  119. package/dist/collapsible/collapsible-root.d.mts +108 -0
  120. package/dist/collapsible/collapsible-root.d.mts.map +1 -0
  121. package/dist/collapsible/collapsible-root.mjs +147 -0
  122. package/dist/collapsible/collapsible-root.mjs.map +1 -0
  123. package/dist/collapsible/collapsible-trigger.d.mts +45 -0
  124. package/dist/collapsible/collapsible-trigger.d.mts.map +1 -0
  125. package/dist/collapsible/collapsible-trigger.mjs +62 -0
  126. package/dist/collapsible/collapsible-trigger.mjs.map +1 -0
  127. package/dist/collapsible/index.d.mts +21 -0
  128. package/dist/collapsible/index.d.mts.map +1 -0
  129. package/dist/collapsible/index.mjs +21 -0
  130. package/dist/collapsible/index.mjs.map +1 -0
  131. package/dist/combobox/chip-text.mjs +24 -0
  132. package/dist/combobox/chip-text.mjs.map +1 -0
  133. package/dist/combobox/combobox-chips.d.mts +159 -0
  134. package/dist/combobox/combobox-chips.d.mts.map +1 -0
  135. package/dist/combobox/combobox-chips.mjs +198 -0
  136. package/dist/combobox/combobox-chips.mjs.map +1 -0
  137. package/dist/combobox/combobox-clear.d.mts +29 -5
  138. package/dist/combobox/combobox-clear.d.mts.map +1 -1
  139. package/dist/combobox/combobox-clear.mjs +17 -8
  140. package/dist/combobox/combobox-clear.mjs.map +1 -1
  141. package/dist/combobox/combobox-context.mjs +4 -5
  142. package/dist/combobox/combobox-context.mjs.map +1 -1
  143. package/dist/combobox/combobox-group.d.mts +49 -1
  144. package/dist/combobox/combobox-group.d.mts.map +1 -1
  145. package/dist/combobox/combobox-group.mjs +14 -3
  146. package/dist/combobox/combobox-group.mjs.map +1 -1
  147. package/dist/combobox/combobox-input.d.mts +27 -5
  148. package/dist/combobox/combobox-input.d.mts.map +1 -1
  149. package/dist/combobox/combobox-input.mjs +53 -13
  150. package/dist/combobox/combobox-input.mjs.map +1 -1
  151. package/dist/combobox/combobox-keyboard.mjs +127 -0
  152. package/dist/combobox/combobox-keyboard.mjs.map +1 -0
  153. package/dist/combobox/combobox-label.d.mts +18 -1
  154. package/dist/combobox/combobox-label.d.mts.map +1 -1
  155. package/dist/combobox/combobox-label.mjs +4 -1
  156. package/dist/combobox/combobox-label.mjs.map +1 -1
  157. package/dist/combobox/combobox-list.d.mts +15 -1
  158. package/dist/combobox/combobox-list.d.mts.map +1 -1
  159. package/dist/combobox/combobox-list.mjs +13 -13
  160. package/dist/combobox/combobox-list.mjs.map +1 -1
  161. package/dist/combobox/combobox-option.d.mts +30 -5
  162. package/dist/combobox/combobox-option.d.mts.map +1 -1
  163. package/dist/combobox/combobox-option.mjs +9 -5
  164. package/dist/combobox/combobox-option.mjs.map +1 -1
  165. package/dist/combobox/combobox-popup.d.mts +24 -3
  166. package/dist/combobox/combobox-popup.d.mts.map +1 -1
  167. package/dist/combobox/combobox-popup.mjs +24 -29
  168. package/dist/combobox/combobox-popup.mjs.map +1 -1
  169. package/dist/combobox/combobox-root.d.mts +183 -43
  170. package/dist/combobox/combobox-root.d.mts.map +1 -1
  171. package/dist/combobox/combobox-root.mjs +476 -270
  172. package/dist/combobox/combobox-root.mjs.map +1 -1
  173. package/dist/combobox/combobox-trigger.d.mts +36 -8
  174. package/dist/combobox/combobox-trigger.d.mts.map +1 -1
  175. package/dist/combobox/combobox-trigger.mjs +50 -41
  176. package/dist/combobox/combobox-trigger.mjs.map +1 -1
  177. package/dist/combobox/index.d.mts +13 -5
  178. package/dist/combobox/index.d.mts.map +1 -1
  179. package/dist/combobox/index.mjs +13 -5
  180. package/dist/combobox/index.mjs.map +1 -1
  181. package/dist/combobox/use-combobox-form.mjs +53 -0
  182. package/dist/combobox/use-combobox-form.mjs.map +1 -0
  183. package/dist/combobox/use-combobox-text.mjs +43 -0
  184. package/dist/combobox/use-combobox-text.mjs.map +1 -0
  185. package/dist/csp/csp-provider.d.mts +33 -0
  186. package/dist/csp/csp-provider.d.mts.map +1 -0
  187. package/dist/csp/csp-provider.mjs +26 -0
  188. package/dist/csp/csp-provider.mjs.map +1 -0
  189. package/dist/csp/index.d.mts +3 -0
  190. package/dist/csp/index.mjs +3 -0
  191. package/dist/csp/style-hashes.d.mts +21 -0
  192. package/dist/csp/style-hashes.d.mts.map +1 -0
  193. package/dist/csp/style-hashes.mjs +23 -0
  194. package/dist/csp/style-hashes.mjs.map +1 -0
  195. package/dist/dialog/dialog-close.d.mts +56 -12
  196. package/dist/dialog/dialog-close.d.mts.map +1 -1
  197. package/dist/dialog/dialog-close.mjs +63 -55
  198. package/dist/dialog/dialog-close.mjs.map +1 -1
  199. package/dist/dialog/dialog-context.d.mts +2 -0
  200. package/dist/dialog/dialog-context.mjs +20 -2
  201. package/dist/dialog/dialog-context.mjs.map +1 -1
  202. package/dist/dialog/dialog-description.d.mts +14 -1
  203. package/dist/dialog/dialog-description.d.mts.map +1 -1
  204. package/dist/dialog/dialog-description.mjs +10 -4
  205. package/dist/dialog/dialog-description.mjs.map +1 -1
  206. package/dist/dialog/dialog-dismiss.mjs +108 -0
  207. package/dist/dialog/dialog-dismiss.mjs.map +1 -0
  208. package/dist/dialog/dialog-form.d.mts +43 -11
  209. package/dist/dialog/dialog-form.d.mts.map +1 -1
  210. package/dist/dialog/dialog-form.mjs +64 -37
  211. package/dist/dialog/dialog-form.mjs.map +1 -1
  212. package/dist/dialog/dialog-popup.d.mts +48 -14
  213. package/dist/dialog/dialog-popup.d.mts.map +1 -1
  214. package/dist/dialog/dialog-popup.mjs +184 -241
  215. package/dist/dialog/dialog-popup.mjs.map +1 -1
  216. package/dist/dialog/dialog-root.d.mts +54 -19
  217. package/dist/dialog/dialog-root.d.mts.map +1 -1
  218. package/dist/dialog/dialog-root.mjs +76 -92
  219. package/dist/dialog/dialog-root.mjs.map +1 -1
  220. package/dist/dialog/dialog-title.d.mts +13 -1
  221. package/dist/dialog/dialog-title.d.mts.map +1 -1
  222. package/dist/dialog/dialog-title.mjs +10 -4
  223. package/dist/dialog/dialog-title.mjs.map +1 -1
  224. package/dist/dialog/dialog-trigger.d.mts +30 -6
  225. package/dist/dialog/dialog-trigger.d.mts.map +1 -1
  226. package/dist/dialog/dialog-trigger.mjs +50 -28
  227. package/dist/dialog/dialog-trigger.mjs.map +1 -1
  228. package/dist/dialog/index.d.mts +7 -3
  229. package/dist/dialog/index.d.mts.map +1 -1
  230. package/dist/dialog/index.mjs +7 -3
  231. package/dist/dialog/index.mjs.map +1 -1
  232. package/dist/docs/components/accordion.md +428 -0
  233. package/dist/docs/components/alert-dialog.md +546 -0
  234. package/dist/docs/components/avatar.md +354 -0
  235. package/dist/docs/components/button.md +511 -0
  236. package/dist/docs/components/checkbox-group.md +483 -0
  237. package/dist/docs/components/checkbox.md +373 -0
  238. package/dist/docs/components/collapsible.md +408 -0
  239. package/dist/docs/components/combobox.md +960 -0
  240. package/dist/docs/components/context-menu.md +524 -0
  241. package/dist/docs/components/dialog.md +694 -0
  242. package/dist/docs/components/drawer.md +622 -0
  243. package/dist/docs/components/field.md +765 -0
  244. package/dist/docs/components/hover-card.md +494 -0
  245. package/dist/docs/components/menu.md +670 -0
  246. package/dist/docs/components/meter.md +313 -0
  247. package/dist/docs/components/multi-select.md +622 -0
  248. package/dist/docs/components/number-field.md +528 -0
  249. package/dist/docs/components/otp-field.md +501 -0
  250. package/dist/docs/components/popover.md +656 -0
  251. package/dist/docs/components/progress.md +450 -0
  252. package/dist/docs/components/radio-group.md +457 -0
  253. package/dist/docs/components/scroll-area.md +294 -0
  254. package/dist/docs/components/select.md +670 -0
  255. package/dist/docs/components/separator.md +182 -0
  256. package/dist/docs/components/slider.md +558 -0
  257. package/dist/docs/components/switch.md +311 -0
  258. package/dist/docs/components/tabs.md +473 -0
  259. package/dist/docs/components/toast.md +602 -0
  260. package/dist/docs/components/toggle-group.md +341 -0
  261. package/dist/docs/components/toggle.md +245 -0
  262. package/dist/docs/components/toolbar.md +390 -0
  263. package/dist/docs/components/tooltip.md +494 -0
  264. package/dist/docs/concepts/action-props.md +281 -0
  265. package/dist/docs/concepts/ai-agents.md +56 -0
  266. package/dist/docs/concepts/browser-owned-state.md +133 -0
  267. package/dist/docs/concepts/content-security-policy.md +69 -0
  268. package/dist/docs/concepts/experimental.md +36 -0
  269. package/dist/docs/concepts/pending-and-optimistic.md +263 -0
  270. package/dist/docs/concepts/render.md +23 -0
  271. package/dist/docs/concepts/server-components.md +132 -0
  272. package/dist/docs/concepts/suspense.md +129 -0
  273. package/dist/docs/concepts/transitions.md +112 -0
  274. package/dist/docs/getting-started.md +102 -0
  275. package/dist/docs/index.md +191 -0
  276. package/dist/docs/roadmap.md +150 -0
  277. package/dist/docs/why.md +104 -0
  278. package/dist/drawer/drawer-close.d.mts +26 -0
  279. package/dist/drawer/drawer-close.d.mts.map +1 -0
  280. package/dist/drawer/drawer-close.mjs +19 -0
  281. package/dist/drawer/drawer-close.mjs.map +1 -0
  282. package/dist/drawer/drawer-description.d.mts +23 -0
  283. package/dist/drawer/drawer-description.d.mts.map +1 -0
  284. package/dist/drawer/drawer-description.mjs +18 -0
  285. package/dist/drawer/drawer-description.mjs.map +1 -0
  286. package/dist/drawer/drawer-form.d.mts +24 -0
  287. package/dist/drawer/drawer-form.d.mts.map +1 -0
  288. package/dist/drawer/drawer-form.mjs +19 -0
  289. package/dist/drawer/drawer-form.mjs.map +1 -0
  290. package/dist/drawer/drawer-popup.d.mts +77 -0
  291. package/dist/drawer/drawer-popup.d.mts.map +1 -0
  292. package/dist/drawer/drawer-popup.mjs +124 -0
  293. package/dist/drawer/drawer-popup.mjs.map +1 -0
  294. package/dist/drawer/drawer-root.d.mts +31 -0
  295. package/dist/drawer/drawer-root.d.mts.map +1 -0
  296. package/dist/drawer/drawer-root.mjs +23 -0
  297. package/dist/drawer/drawer-root.mjs.map +1 -0
  298. package/dist/drawer/drawer-swipe.d.mts +5 -0
  299. package/dist/drawer/drawer-swipe.d.mts.map +1 -0
  300. package/dist/drawer/drawer-swipe.mjs +193 -0
  301. package/dist/drawer/drawer-swipe.mjs.map +1 -0
  302. package/dist/drawer/drawer-title.d.mts +23 -0
  303. package/dist/drawer/drawer-title.d.mts.map +1 -0
  304. package/dist/drawer/drawer-title.mjs +18 -0
  305. package/dist/drawer/drawer-title.mjs.map +1 -0
  306. package/dist/drawer/drawer-trigger.d.mts +23 -0
  307. package/dist/drawer/drawer-trigger.d.mts.map +1 -0
  308. package/dist/drawer/drawer-trigger.mjs +18 -0
  309. package/dist/drawer/drawer-trigger.mjs.map +1 -0
  310. package/dist/drawer/index.d.mts +34 -0
  311. package/dist/drawer/index.d.mts.map +1 -0
  312. package/dist/drawer/index.mjs +33 -0
  313. package/dist/drawer/index.mjs.map +1 -0
  314. package/dist/field/field-control.d.mts +65 -0
  315. package/dist/field/field-control.d.mts.map +1 -0
  316. package/dist/field/field-control.mjs +92 -0
  317. package/dist/field/field-control.mjs.map +1 -0
  318. package/dist/field/field-description.d.mts +35 -0
  319. package/dist/field/field-description.d.mts.map +1 -0
  320. package/dist/field/field-description.mjs +35 -0
  321. package/dist/field/field-description.mjs.map +1 -0
  322. package/dist/field/field-error.d.mts +42 -0
  323. package/dist/field/field-error.d.mts.map +1 -0
  324. package/dist/field/field-error.mjs +43 -0
  325. package/dist/field/field-error.mjs.map +1 -0
  326. package/dist/field/field-label.d.mts +39 -0
  327. package/dist/field/field-label.d.mts.map +1 -0
  328. package/dist/field/field-label.mjs +50 -0
  329. package/dist/field/field-label.mjs.map +1 -0
  330. package/dist/field/field-root.d.mts +72 -0
  331. package/dist/field/field-root.d.mts.map +1 -0
  332. package/dist/field/field-root.mjs +309 -0
  333. package/dist/field/field-root.mjs.map +1 -0
  334. package/dist/field/index.d.mts +27 -0
  335. package/dist/field/index.d.mts.map +1 -0
  336. package/dist/field/index.mjs +26 -0
  337. package/dist/field/index.mjs.map +1 -0
  338. package/dist/field/use-server-error-visibility.mjs +44 -0
  339. package/dist/field/use-server-error-visibility.mjs.map +1 -0
  340. package/dist/form/form-root.d.mts +74 -0
  341. package/dist/form/form-root.d.mts.map +1 -0
  342. package/dist/form/form-root.mjs +158 -0
  343. package/dist/form/form-root.mjs.map +1 -0
  344. package/dist/form/form-submit.d.mts +56 -0
  345. package/dist/form/form-submit.d.mts.map +1 -0
  346. package/dist/form/form-submit.mjs +53 -0
  347. package/dist/form/form-submit.mjs.map +1 -0
  348. package/dist/form/index.d.mts +18 -0
  349. package/dist/form/index.d.mts.map +1 -0
  350. package/dist/form/index.mjs +18 -0
  351. package/dist/form/index.mjs.map +1 -0
  352. package/dist/hover-card/hover-card-context.mjs +13 -0
  353. package/dist/hover-card/hover-card-context.mjs.map +1 -0
  354. package/dist/hover-card/hover-card-popup.d.mts +102 -0
  355. package/dist/hover-card/hover-card-popup.d.mts.map +1 -0
  356. package/dist/hover-card/hover-card-popup.mjs +80 -0
  357. package/dist/hover-card/hover-card-popup.mjs.map +1 -0
  358. package/dist/hover-card/hover-card-root.d.mts +94 -0
  359. package/dist/hover-card/hover-card-root.d.mts.map +1 -0
  360. package/dist/hover-card/hover-card-root.mjs +74 -0
  361. package/dist/hover-card/hover-card-root.mjs.map +1 -0
  362. package/dist/hover-card/hover-card-trigger.d.mts +65 -0
  363. package/dist/hover-card/hover-card-trigger.d.mts.map +1 -0
  364. package/dist/hover-card/hover-card-trigger.mjs +109 -0
  365. package/dist/hover-card/hover-card-trigger.mjs.map +1 -0
  366. package/dist/hover-card/index.d.mts +24 -0
  367. package/dist/hover-card/index.d.mts.map +1 -0
  368. package/dist/hover-card/index.mjs +24 -0
  369. package/dist/hover-card/index.mjs.map +1 -0
  370. package/dist/hover-card/use-hover-card-interest.mjs +242 -0
  371. package/dist/hover-card/use-hover-card-interest.mjs.map +1 -0
  372. package/dist/index.d.mts +118 -13
  373. package/dist/index.mjs +22 -1
  374. package/dist/internal/{action-details.mjs → action/action-details.mjs} +1 -1
  375. package/dist/internal/action/action-details.mjs.map +1 -0
  376. package/dist/internal/action/call-urgent-handler.mjs +32 -0
  377. package/dist/internal/action/call-urgent-handler.mjs.map +1 -0
  378. package/dist/internal/action/report-dropped.mjs +27 -0
  379. package/dist/internal/action/report-dropped.mjs.map +1 -0
  380. package/dist/internal/action/use-action-trigger.mjs +67 -0
  381. package/dist/internal/action/use-action-trigger.mjs.map +1 -0
  382. package/dist/internal/action/use-connected.mjs +24 -0
  383. package/dist/internal/action/use-connected.mjs.map +1 -0
  384. package/dist/internal/action/use-controllable-action.mjs +153 -0
  385. package/dist/internal/action/use-controllable-action.mjs.map +1 -0
  386. package/dist/internal/action/use-multiple-selection.mjs +83 -0
  387. package/dist/internal/action/use-multiple-selection.mjs.map +1 -0
  388. package/dist/internal/action/use-pure-trigger.mjs +34 -0
  389. package/dist/internal/action/use-pure-trigger.mjs.map +1 -0
  390. package/dist/internal/action/use-step-commit.mjs +147 -0
  391. package/dist/internal/action/use-step-commit.mjs.map +1 -0
  392. package/dist/internal/announce.mjs +20 -0
  393. package/dist/internal/announce.mjs.map +1 -0
  394. package/dist/internal/arrow-keys.mjs +21 -0
  395. package/dist/internal/arrow-keys.mjs.map +1 -0
  396. package/dist/internal/csp-context.mjs +8 -0
  397. package/dist/internal/csp-context.mjs.map +1 -0
  398. package/dist/internal/decimal.mjs +33 -0
  399. package/dist/internal/decimal.mjs.map +1 -0
  400. package/dist/internal/details-summary.mjs +56 -0
  401. package/dist/internal/details-summary.mjs.map +1 -0
  402. package/dist/internal/dev-warn.mjs +17 -0
  403. package/dist/internal/dev-warn.mjs.map +1 -0
  404. package/dist/internal/dom-order.mjs +17 -0
  405. package/dist/internal/dom-order.mjs.map +1 -0
  406. package/dist/internal/form/field-context.d.mts +19 -0
  407. package/dist/internal/form/field-context.d.mts.map +1 -0
  408. package/dist/internal/form/field-context.mjs +24 -0
  409. package/dist/internal/form/field-context.mjs.map +1 -0
  410. package/dist/internal/form/focus-first-invalid.mjs +67 -0
  411. package/dist/internal/form/focus-first-invalid.mjs.map +1 -0
  412. package/dist/internal/form/form-status-watcher.mjs +31 -0
  413. package/dist/internal/form/form-status-watcher.mjs.map +1 -0
  414. package/dist/internal/form/group-member.mjs +37 -0
  415. package/dist/internal/form/group-member.mjs.map +1 -0
  416. package/dist/internal/form/hidden-values.mjs +29 -0
  417. package/dist/internal/form/hidden-values.mjs.map +1 -0
  418. package/dist/internal/{sync-presence.mjs → form/sync-presence.mjs} +6 -2
  419. package/dist/internal/form/sync-presence.mjs.map +1 -0
  420. package/dist/internal/form/use-checkable-input.mjs +79 -0
  421. package/dist/internal/form/use-checkable-input.mjs.map +1 -0
  422. package/dist/internal/form/use-field-control.mjs +125 -0
  423. package/dist/internal/form/use-field-control.mjs.map +1 -0
  424. package/dist/internal/form/use-fieldset-group.mjs +46 -0
  425. package/dist/internal/form/use-fieldset-group.mjs.map +1 -0
  426. package/dist/internal/form/use-form-owner-event.mjs +44 -0
  427. package/dist/internal/form/use-form-owner-event.mjs.map +1 -0
  428. package/dist/internal/form/use-form-reset.mjs +39 -0
  429. package/dist/internal/form/use-form-reset.mjs.map +1 -0
  430. package/dist/internal/{use-native-checked.mjs → form/use-native-checked.mjs} +8 -9
  431. package/dist/internal/form/use-native-checked.mjs.map +1 -0
  432. package/dist/internal/{use-native-group-reconciliation.mjs → form/use-native-group-reconciliation.mjs} +15 -12
  433. package/dist/internal/form/use-native-group-reconciliation.mjs.map +1 -0
  434. package/dist/internal/{use-native-select-value.mjs → form/use-native-select-value.mjs} +8 -6
  435. package/dist/internal/form/use-native-select-value.mjs.map +1 -0
  436. package/dist/internal/form/validity.d.mts +35 -0
  437. package/dist/internal/form/validity.d.mts.map +1 -0
  438. package/dist/internal/form/validity.mjs +98 -0
  439. package/dist/internal/form/validity.mjs.map +1 -0
  440. package/dist/internal/overlay/anchor-position.d.mts +15 -0
  441. package/dist/internal/overlay/anchor-position.d.mts.map +1 -0
  442. package/dist/internal/overlay/anchor-position.mjs +132 -0
  443. package/dist/internal/overlay/anchor-position.mjs.map +1 -0
  444. package/dist/internal/overlay/content-focus-probe.mjs +42 -0
  445. package/dist/internal/overlay/content-focus-probe.mjs.map +1 -0
  446. package/dist/internal/overlay/css-transition-cut.mjs +66 -0
  447. package/dist/internal/overlay/css-transition-cut.mjs.map +1 -0
  448. package/dist/internal/overlay/focus-visible.mjs +26 -0
  449. package/dist/internal/overlay/focus-visible.mjs.map +1 -0
  450. package/dist/internal/overlay/invokers.mjs +63 -0
  451. package/dist/internal/overlay/invokers.mjs.map +1 -0
  452. package/dist/internal/overlay/modal-registry.mjs +39 -0
  453. package/dist/internal/overlay/modal-registry.mjs.map +1 -0
  454. package/dist/internal/overlay/overlay-popup.mjs +103 -0
  455. package/dist/internal/overlay/overlay-popup.mjs.map +1 -0
  456. package/dist/internal/overlay/overlay-show.mjs +73 -0
  457. package/dist/internal/overlay/overlay-show.mjs.map +1 -0
  458. package/dist/internal/overlay/popover-open.mjs +18 -0
  459. package/dist/internal/overlay/popover-open.mjs.map +1 -0
  460. package/dist/internal/overlay/trigger-ref.mjs +26 -0
  461. package/dist/internal/overlay/trigger-ref.mjs.map +1 -0
  462. package/dist/internal/overlay/use-apply-open-state.mjs +44 -0
  463. package/dist/internal/overlay/use-apply-open-state.mjs.map +1 -0
  464. package/dist/internal/{use-exit-animation.mjs → overlay/use-exit-animation.mjs} +28 -8
  465. package/dist/internal/overlay/use-exit-animation.mjs.map +1 -0
  466. package/dist/internal/overlay/use-interest-dismiss.mjs +85 -0
  467. package/dist/internal/overlay/use-interest-dismiss.mjs.map +1 -0
  468. package/dist/internal/overlay/use-modal-registration.mjs +47 -0
  469. package/dist/internal/overlay/use-modal-registration.mjs.map +1 -0
  470. package/dist/internal/overlay/use-overlay-close.mjs +72 -0
  471. package/dist/internal/overlay/use-overlay-close.mjs.map +1 -0
  472. package/dist/internal/overlay/use-overlay-root.d.mts +2 -0
  473. package/dist/internal/overlay/use-overlay-root.mjs +193 -0
  474. package/dist/internal/overlay/use-overlay-root.mjs.map +1 -0
  475. package/dist/internal/overlay/use-popover-popup.mjs +287 -0
  476. package/dist/internal/overlay/use-popover-popup.mjs.map +1 -0
  477. package/dist/internal/overlay/use-popover-trigger.d.mts +16 -0
  478. package/dist/internal/overlay/use-popover-trigger.d.mts.map +1 -0
  479. package/dist/internal/overlay/use-popover-trigger.mjs +142 -0
  480. package/dist/internal/overlay/use-popover-trigger.mjs.map +1 -0
  481. package/dist/internal/overlay/use-resolved-placement.mjs +162 -0
  482. package/dist/internal/overlay/use-resolved-placement.mjs.map +1 -0
  483. package/dist/internal/platform-attributes.d.mts +2 -1
  484. package/dist/internal/platform-attributes.d.mts.map +1 -1
  485. package/dist/internal/pointer-capture.mjs +20 -0
  486. package/dist/internal/pointer-capture.mjs.map +1 -0
  487. package/dist/internal/range-value.mjs +51 -0
  488. package/dist/internal/range-value.mjs.map +1 -0
  489. package/dist/internal/render-element.d.mts +2 -0
  490. package/dist/internal/render-element.mjs +123 -0
  491. package/dist/internal/render-element.mjs.map +1 -0
  492. package/dist/internal/shipped-styles.mjs +14 -0
  493. package/dist/internal/shipped-styles.mjs.map +1 -0
  494. package/dist/internal/swipe-arithmetic.mjs +75 -0
  495. package/dist/internal/swipe-arithmetic.mjs.map +1 -0
  496. package/dist/internal/swipe.mjs +169 -0
  497. package/dist/internal/swipe.mjs.map +1 -0
  498. package/dist/internal/toolbar-context.mjs +17 -0
  499. package/dist/internal/toolbar-context.mjs.map +1 -0
  500. package/dist/internal/transition-boundary.mjs +5 -9
  501. package/dist/internal/transition-boundary.mjs.map +1 -1
  502. package/dist/internal/typeahead.mjs +52 -0
  503. package/dist/internal/typeahead.mjs.map +1 -0
  504. package/dist/internal/types.d.mts +42 -9
  505. package/dist/internal/types.d.mts.map +1 -1
  506. package/dist/internal/use-active-option.mjs +51 -0
  507. package/dist/internal/use-active-option.mjs.map +1 -0
  508. package/dist/internal/use-deferred-leave.mjs +113 -0
  509. package/dist/internal/use-deferred-leave.mjs.map +1 -0
  510. package/dist/internal/use-dev-warning.mjs +8 -4
  511. package/dist/internal/use-dev-warning.mjs.map +1 -1
  512. package/dist/internal/use-element-check.mjs +39 -0
  513. package/dist/internal/use-element-check.mjs.map +1 -0
  514. package/dist/internal/use-item-order.mjs +42 -0
  515. package/dist/internal/use-item-order.mjs.map +1 -0
  516. package/dist/internal/use-latest.mjs +28 -0
  517. package/dist/internal/use-latest.mjs.map +1 -0
  518. package/dist/internal/use-merged-refs.mjs +19 -0
  519. package/dist/internal/use-merged-refs.mjs.map +1 -0
  520. package/dist/internal/use-mount-fixed.mjs +22 -0
  521. package/dist/internal/use-mount-fixed.mjs.map +1 -0
  522. package/dist/internal/use-name-warning.mjs +140 -0
  523. package/dist/internal/use-name-warning.mjs.map +1 -0
  524. package/dist/internal/use-native-focusgroup.mjs +19 -0
  525. package/dist/internal/use-native-focusgroup.mjs.map +1 -0
  526. package/dist/internal/use-option-registry.mjs +70 -0
  527. package/dist/internal/use-option-registry.mjs.map +1 -0
  528. package/dist/internal/use-register-count.mjs +27 -0
  529. package/dist/internal/use-register-count.mjs.map +1 -0
  530. package/dist/internal/use-render.d.mts +2 -0
  531. package/dist/internal/use-render.mjs +12 -35
  532. package/dist/internal/use-render.mjs.map +1 -1
  533. package/dist/internal/use-roving-focus.mjs +288 -0
  534. package/dist/internal/use-roving-focus.mjs.map +1 -0
  535. package/dist/internal/use-value-set.mjs +20 -0
  536. package/dist/internal/use-value-set.mjs.map +1 -0
  537. package/dist/internal/value-set.mjs +41 -0
  538. package/dist/internal/value-set.mjs.map +1 -0
  539. package/dist/menu/index.d.mts +8 -2
  540. package/dist/menu/index.d.mts.map +1 -1
  541. package/dist/menu/index.mjs +7 -1
  542. package/dist/menu/index.mjs.map +1 -1
  543. package/dist/menu/menu-checkbox-item.d.mts +27 -3
  544. package/dist/menu/menu-checkbox-item.d.mts.map +1 -1
  545. package/dist/menu/menu-checkbox-item.mjs +6 -3
  546. package/dist/menu/menu-checkbox-item.mjs.map +1 -1
  547. package/dist/menu/menu-context-trigger.d.mts +63 -0
  548. package/dist/menu/menu-context-trigger.d.mts.map +1 -0
  549. package/dist/menu/menu-context-trigger.mjs +231 -0
  550. package/dist/menu/menu-context-trigger.mjs.map +1 -0
  551. package/dist/menu/menu-context.d.mts +1 -1
  552. package/dist/menu/menu-context.mjs +44 -1
  553. package/dist/menu/menu-context.mjs.map +1 -1
  554. package/dist/menu/menu-dom.mjs +35 -4
  555. package/dist/menu/menu-dom.mjs.map +1 -1
  556. package/dist/menu/menu-gestures.mjs +166 -0
  557. package/dist/menu/menu-gestures.mjs.map +1 -0
  558. package/dist/menu/menu-group.d.mts +36 -1
  559. package/dist/menu/menu-group.d.mts.map +1 -1
  560. package/dist/menu/menu-group.mjs +15 -5
  561. package/dist/menu/menu-group.mjs.map +1 -1
  562. package/dist/menu/menu-hover.mjs +0 -1
  563. package/dist/menu/menu-hover.mjs.map +1 -1
  564. package/dist/menu/menu-item.d.mts +42 -5
  565. package/dist/menu/menu-item.d.mts.map +1 -1
  566. package/dist/menu/menu-item.mjs +18 -9
  567. package/dist/menu/menu-item.mjs.map +1 -1
  568. package/dist/menu/menu-outside.mjs +101 -0
  569. package/dist/menu/menu-outside.mjs.map +1 -0
  570. package/dist/menu/menu-point.mjs +85 -0
  571. package/dist/menu/menu-point.mjs.map +1 -0
  572. package/dist/menu/menu-popup.d.mts +68 -11
  573. package/dist/menu/menu-popup.d.mts.map +1 -1
  574. package/dist/menu/menu-popup.mjs +106 -116
  575. package/dist/menu/menu-popup.mjs.map +1 -1
  576. package/dist/menu/menu-radio-group.d.mts +20 -1
  577. package/dist/menu/menu-radio-group.d.mts.map +1 -1
  578. package/dist/menu/menu-radio-group.mjs +14 -7
  579. package/dist/menu/menu-radio-group.mjs.map +1 -1
  580. package/dist/menu/menu-radio-item.d.mts +18 -0
  581. package/dist/menu/menu-radio-item.d.mts.map +1 -1
  582. package/dist/menu/menu-radio-item.mjs +5 -1
  583. package/dist/menu/menu-radio-item.mjs.map +1 -1
  584. package/dist/menu/menu-root.d.mts +61 -12
  585. package/dist/menu/menu-root.d.mts.map +1 -1
  586. package/dist/menu/menu-root.mjs +72 -17
  587. package/dist/menu/menu-root.mjs.map +1 -1
  588. package/dist/menu/menu-submenu-trigger.d.mts +24 -9
  589. package/dist/menu/menu-submenu-trigger.d.mts.map +1 -1
  590. package/dist/menu/menu-submenu-trigger.mjs +48 -26
  591. package/dist/menu/menu-submenu-trigger.mjs.map +1 -1
  592. package/dist/menu/menu-trigger.d.mts +37 -16
  593. package/dist/menu/menu-trigger.d.mts.map +1 -1
  594. package/dist/menu/menu-trigger.mjs +39 -23
  595. package/dist/menu/menu-trigger.mjs.map +1 -1
  596. package/dist/menu/use-menu-item.mjs +14 -16
  597. package/dist/menu/use-menu-item.mjs.map +1 -1
  598. package/dist/menu/use-menu-keyboard.mjs +68 -0
  599. package/dist/menu/use-menu-keyboard.mjs.map +1 -0
  600. package/dist/meter/index.d.mts +26 -0
  601. package/dist/meter/index.d.mts.map +1 -0
  602. package/dist/meter/index.mjs +25 -0
  603. package/dist/meter/index.mjs.map +1 -0
  604. package/dist/meter/meter-context.mjs +13 -0
  605. package/dist/meter/meter-context.mjs.map +1 -0
  606. package/dist/meter/meter-indicator.d.mts +30 -0
  607. package/dist/meter/meter-indicator.d.mts.map +1 -0
  608. package/dist/meter/meter-indicator.mjs +27 -0
  609. package/dist/meter/meter-indicator.mjs.map +1 -0
  610. package/dist/meter/meter-label.d.mts +30 -0
  611. package/dist/meter/meter-label.d.mts.map +1 -0
  612. package/dist/meter/meter-label.mjs +30 -0
  613. package/dist/meter/meter-label.mjs.map +1 -0
  614. package/dist/meter/meter-region.d.mts +9 -0
  615. package/dist/meter/meter-region.d.mts.map +1 -0
  616. package/dist/meter/meter-region.mjs +39 -0
  617. package/dist/meter/meter-region.mjs.map +1 -0
  618. package/dist/meter/meter-root.d.mts +113 -0
  619. package/dist/meter/meter-root.d.mts.map +1 -0
  620. package/dist/meter/meter-root.mjs +85 -0
  621. package/dist/meter/meter-root.mjs.map +1 -0
  622. package/dist/meter/meter-track.d.mts +30 -0
  623. package/dist/meter/meter-track.d.mts.map +1 -0
  624. package/dist/meter/meter-track.mjs +27 -0
  625. package/dist/meter/meter-track.mjs.map +1 -0
  626. package/dist/meter/meter-value.d.mts +34 -0
  627. package/dist/meter/meter-value.d.mts.map +1 -0
  628. package/dist/meter/meter-value.mjs +31 -0
  629. package/dist/meter/meter-value.mjs.map +1 -0
  630. package/dist/multi-select/index.d.mts +37 -0
  631. package/dist/multi-select/index.d.mts.map +1 -0
  632. package/dist/multi-select/index.mjs +37 -0
  633. package/dist/multi-select/index.mjs.map +1 -0
  634. package/dist/multi-select/multi-select-context.mjs +19 -0
  635. package/dist/multi-select/multi-select-context.mjs.map +1 -0
  636. package/dist/multi-select/multi-select-group.d.mts +120 -0
  637. package/dist/multi-select/multi-select-group.d.mts.map +1 -0
  638. package/dist/multi-select/multi-select-group.mjs +111 -0
  639. package/dist/multi-select/multi-select-group.mjs.map +1 -0
  640. package/dist/multi-select/multi-select-keyboard.mjs +145 -0
  641. package/dist/multi-select/multi-select-keyboard.mjs.map +1 -0
  642. package/dist/multi-select/multi-select-label.d.mts +42 -0
  643. package/dist/multi-select/multi-select-label.d.mts.map +1 -0
  644. package/dist/multi-select/multi-select-label.mjs +41 -0
  645. package/dist/multi-select/multi-select-label.mjs.map +1 -0
  646. package/dist/multi-select/multi-select-list.d.mts +47 -0
  647. package/dist/multi-select/multi-select-list.d.mts.map +1 -0
  648. package/dist/multi-select/multi-select-list.mjs +65 -0
  649. package/dist/multi-select/multi-select-list.mjs.map +1 -0
  650. package/dist/multi-select/multi-select-option.d.mts +68 -0
  651. package/dist/multi-select/multi-select-option.d.mts.map +1 -0
  652. package/dist/multi-select/multi-select-option.mjs +93 -0
  653. package/dist/multi-select/multi-select-option.mjs.map +1 -0
  654. package/dist/multi-select/multi-select-popup.d.mts +58 -0
  655. package/dist/multi-select/multi-select-popup.d.mts.map +1 -0
  656. package/dist/multi-select/multi-select-popup.mjs +71 -0
  657. package/dist/multi-select/multi-select-popup.mjs.map +1 -0
  658. package/dist/multi-select/multi-select-root.d.mts +125 -0
  659. package/dist/multi-select/multi-select-root.d.mts.map +1 -0
  660. package/dist/multi-select/multi-select-root.mjs +257 -0
  661. package/dist/multi-select/multi-select-root.mjs.map +1 -0
  662. package/dist/multi-select/multi-select-trigger.d.mts +66 -0
  663. package/dist/multi-select/multi-select-trigger.d.mts.map +1 -0
  664. package/dist/multi-select/multi-select-trigger.mjs +169 -0
  665. package/dist/multi-select/multi-select-trigger.mjs.map +1 -0
  666. package/dist/multi-select/multi-select-value.d.mts +57 -0
  667. package/dist/multi-select/multi-select-value.d.mts.map +1 -0
  668. package/dist/multi-select/multi-select-value.mjs +41 -0
  669. package/dist/multi-select/multi-select-value.mjs.map +1 -0
  670. package/dist/number-field/index.d.mts +29 -0
  671. package/dist/number-field/index.d.mts.map +1 -0
  672. package/dist/number-field/index.mjs +28 -0
  673. package/dist/number-field/index.mjs.map +1 -0
  674. package/dist/number-field/number-field-arithmetic.mjs +97 -0
  675. package/dist/number-field/number-field-arithmetic.mjs.map +1 -0
  676. package/dist/number-field/number-field-context.d.mts +7 -0
  677. package/dist/number-field/number-field-context.d.mts.map +1 -0
  678. package/dist/number-field/number-field-context.mjs +13 -0
  679. package/dist/number-field/number-field-context.mjs.map +1 -0
  680. package/dist/number-field/number-field-decrement.d.mts +19 -0
  681. package/dist/number-field/number-field-decrement.d.mts.map +1 -0
  682. package/dist/number-field/number-field-decrement.mjs +22 -0
  683. package/dist/number-field/number-field-decrement.mjs.map +1 -0
  684. package/dist/number-field/number-field-format.mjs +279 -0
  685. package/dist/number-field/number-field-format.mjs.map +1 -0
  686. package/dist/number-field/number-field-increment.d.mts +19 -0
  687. package/dist/number-field/number-field-increment.d.mts.map +1 -0
  688. package/dist/number-field/number-field-increment.mjs +22 -0
  689. package/dist/number-field/number-field-increment.mjs.map +1 -0
  690. package/dist/number-field/number-field-input.d.mts +38 -0
  691. package/dist/number-field/number-field-input.d.mts.map +1 -0
  692. package/dist/number-field/number-field-input.mjs +161 -0
  693. package/dist/number-field/number-field-input.mjs.map +1 -0
  694. package/dist/number-field/number-field-label.d.mts +33 -0
  695. package/dist/number-field/number-field-label.d.mts.map +1 -0
  696. package/dist/number-field/number-field-label.mjs +43 -0
  697. package/dist/number-field/number-field-label.mjs.map +1 -0
  698. package/dist/number-field/number-field-root.d.mts +157 -0
  699. package/dist/number-field/number-field-root.d.mts.map +1 -0
  700. package/dist/number-field/number-field-root.mjs +445 -0
  701. package/dist/number-field/number-field-root.mjs.map +1 -0
  702. package/dist/number-field/use-number-field-dev-warnings.mjs +28 -0
  703. package/dist/number-field/use-number-field-dev-warnings.mjs.map +1 -0
  704. package/dist/number-field/use-step-button.d.mts +44 -0
  705. package/dist/number-field/use-step-button.d.mts.map +1 -0
  706. package/dist/number-field/use-step-button.mjs +175 -0
  707. package/dist/number-field/use-step-button.mjs.map +1 -0
  708. package/dist/otp-field/index.d.mts +23 -0
  709. package/dist/otp-field/index.d.mts.map +1 -0
  710. package/dist/otp-field/index.mjs +23 -0
  711. package/dist/otp-field/index.mjs.map +1 -0
  712. package/dist/otp-field/otp-field-context.mjs +13 -0
  713. package/dist/otp-field/otp-field-context.mjs.map +1 -0
  714. package/dist/otp-field/otp-field-filter.d.mts +5 -0
  715. package/dist/otp-field/otp-field-filter.d.mts.map +1 -0
  716. package/dist/otp-field/otp-field-filter.mjs +135 -0
  717. package/dist/otp-field/otp-field-filter.mjs.map +1 -0
  718. package/dist/otp-field/otp-field-input.d.mts +41 -0
  719. package/dist/otp-field/otp-field-input.d.mts.map +1 -0
  720. package/dist/otp-field/otp-field-input.mjs +177 -0
  721. package/dist/otp-field/otp-field-input.mjs.map +1 -0
  722. package/dist/otp-field/otp-field-root.d.mts +143 -0
  723. package/dist/otp-field/otp-field-root.d.mts.map +1 -0
  724. package/dist/otp-field/otp-field-root.mjs +397 -0
  725. package/dist/otp-field/otp-field-root.mjs.map +1 -0
  726. package/dist/otp-field/otp-field-slot.d.mts +52 -0
  727. package/dist/otp-field/otp-field-slot.d.mts.map +1 -0
  728. package/dist/otp-field/otp-field-slot.mjs +67 -0
  729. package/dist/otp-field/otp-field-slot.mjs.map +1 -0
  730. package/dist/popover/index.d.mts +6 -4
  731. package/dist/popover/index.d.mts.map +1 -1
  732. package/dist/popover/index.mjs +6 -4
  733. package/dist/popover/index.mjs.map +1 -1
  734. package/dist/popover/popover-close.d.mts +48 -8
  735. package/dist/popover/popover-close.d.mts.map +1 -1
  736. package/dist/popover/popover-close.mjs +41 -67
  737. package/dist/popover/popover-close.mjs.map +1 -1
  738. package/dist/popover/popover-context.mjs.map +1 -1
  739. package/dist/popover/popover-description.d.mts +12 -0
  740. package/dist/popover/popover-description.d.mts.map +1 -1
  741. package/dist/popover/popover-description.mjs +2 -0
  742. package/dist/popover/popover-description.mjs.map +1 -1
  743. package/dist/popover/popover-popup.d.mts +64 -18
  744. package/dist/popover/popover-popup.d.mts.map +1 -1
  745. package/dist/popover/popover-popup.mjs +31 -36
  746. package/dist/popover/popover-popup.mjs.map +1 -1
  747. package/dist/popover/popover-root.d.mts +40 -18
  748. package/dist/popover/popover-root.d.mts.map +1 -1
  749. package/dist/popover/popover-root.mjs +15 -10
  750. package/dist/popover/popover-root.mjs.map +1 -1
  751. package/dist/popover/popover-title.d.mts +11 -0
  752. package/dist/popover/popover-title.d.mts.map +1 -1
  753. package/dist/popover/popover-title.mjs +2 -0
  754. package/dist/popover/popover-title.mjs.map +1 -1
  755. package/dist/popover/popover-trigger.d.mts +38 -18
  756. package/dist/popover/popover-trigger.d.mts.map +1 -1
  757. package/dist/popover/popover-trigger.mjs +14 -9
  758. package/dist/popover/popover-trigger.mjs.map +1 -1
  759. package/dist/progress/index.d.mts +26 -0
  760. package/dist/progress/index.d.mts.map +1 -0
  761. package/dist/progress/index.mjs +26 -0
  762. package/dist/progress/index.mjs.map +1 -0
  763. package/dist/progress/progress-context.mjs +13 -0
  764. package/dist/progress/progress-context.mjs.map +1 -0
  765. package/dist/progress/progress-indicator.d.mts +30 -0
  766. package/dist/progress/progress-indicator.d.mts.map +1 -0
  767. package/dist/progress/progress-indicator.mjs +31 -0
  768. package/dist/progress/progress-indicator.mjs.map +1 -0
  769. package/dist/progress/progress-label.d.mts +30 -0
  770. package/dist/progress/progress-label.d.mts.map +1 -0
  771. package/dist/progress/progress-label.mjs +32 -0
  772. package/dist/progress/progress-label.mjs.map +1 -0
  773. package/dist/progress/progress-root.d.mts +96 -0
  774. package/dist/progress/progress-root.d.mts.map +1 -0
  775. package/dist/progress/progress-root.mjs +82 -0
  776. package/dist/progress/progress-root.mjs.map +1 -0
  777. package/dist/progress/progress-track.d.mts +30 -0
  778. package/dist/progress/progress-track.d.mts.map +1 -0
  779. package/dist/progress/progress-track.mjs +31 -0
  780. package/dist/progress/progress-track.mjs.map +1 -0
  781. package/dist/progress/progress-value.d.mts +34 -0
  782. package/dist/progress/progress-value.d.mts.map +1 -0
  783. package/dist/progress/progress-value.mjs +35 -0
  784. package/dist/progress/progress-value.mjs.map +1 -0
  785. package/dist/radio-group/index.d.mts +2 -0
  786. package/dist/radio-group/index.d.mts.map +1 -1
  787. package/dist/radio-group/index.mjs +2 -0
  788. package/dist/radio-group/index.mjs.map +1 -1
  789. package/dist/radio-group/radio-group-context.mjs.map +1 -1
  790. package/dist/radio-group/radio-group-item.d.mts +21 -5
  791. package/dist/radio-group/radio-group-item.d.mts.map +1 -1
  792. package/dist/radio-group/radio-group-item.mjs +22 -25
  793. package/dist/radio-group/radio-group-item.mjs.map +1 -1
  794. package/dist/radio-group/radio-group-label.d.mts +10 -0
  795. package/dist/radio-group/radio-group-label.d.mts.map +1 -1
  796. package/dist/radio-group/radio-group-label.mjs +3 -6
  797. package/dist/radio-group/radio-group-label.mjs.map +1 -1
  798. package/dist/radio-group/radio-group-root.d.mts +34 -8
  799. package/dist/radio-group/radio-group-root.d.mts.map +1 -1
  800. package/dist/radio-group/radio-group-root.mjs +48 -39
  801. package/dist/radio-group/radio-group-root.mjs.map +1 -1
  802. package/dist/select/index.d.mts +2 -0
  803. package/dist/select/index.d.mts.map +1 -1
  804. package/dist/select/index.mjs +2 -0
  805. package/dist/select/index.mjs.map +1 -1
  806. package/dist/select/select-dom.mjs +9 -18
  807. package/dist/select/select-dom.mjs.map +1 -1
  808. package/dist/select/select-group-label.d.mts +10 -0
  809. package/dist/select/select-group-label.d.mts.map +1 -1
  810. package/dist/select/select-group-label.mjs +5 -1
  811. package/dist/select/select-group-label.mjs.map +1 -1
  812. package/dist/select/select-group.d.mts +15 -1
  813. package/dist/select/select-group.d.mts.map +1 -1
  814. package/dist/select/select-group.mjs +8 -4
  815. package/dist/select/select-group.mjs.map +1 -1
  816. package/dist/select/select-option.d.mts +19 -1
  817. package/dist/select/select-option.d.mts.map +1 -1
  818. package/dist/select/select-option.mjs +4 -2
  819. package/dist/select/select-option.mjs.map +1 -1
  820. package/dist/select/select-root.d.mts +28 -3
  821. package/dist/select/select-root.d.mts.map +1 -1
  822. package/dist/select/select-root.mjs +39 -12
  823. package/dist/select/select-root.mjs.map +1 -1
  824. package/dist/select/select-separator.d.mts +9 -0
  825. package/dist/select/select-separator.d.mts.map +1 -1
  826. package/dist/select/select-separator.mjs +2 -0
  827. package/dist/select/select-separator.mjs.map +1 -1
  828. package/dist/select/select-trigger.d.mts +9 -0
  829. package/dist/select/select-trigger.d.mts.map +1 -1
  830. package/dist/select/select-trigger.mjs +5 -1
  831. package/dist/select/select-trigger.mjs.map +1 -1
  832. package/dist/select/select-value.d.mts +9 -0
  833. package/dist/select/select-value.d.mts.map +1 -1
  834. package/dist/select/select-value.mjs +5 -6
  835. package/dist/select/select-value.mjs.map +1 -1
  836. package/dist/separator/index.d.mts +3 -0
  837. package/dist/separator/index.mjs +1 -0
  838. package/dist/separator/separator.d.mts +58 -0
  839. package/dist/separator/separator.d.mts.map +1 -0
  840. package/dist/separator/separator.mjs +41 -0
  841. package/dist/separator/separator.mjs.map +1 -0
  842. package/dist/slider/index.d.mts +34 -0
  843. package/dist/slider/index.d.mts.map +1 -0
  844. package/dist/slider/index.mjs +29 -0
  845. package/dist/slider/index.mjs.map +1 -0
  846. package/dist/slider/slider-arithmetic.mjs +165 -0
  847. package/dist/slider/slider-arithmetic.mjs.map +1 -0
  848. package/dist/slider/slider-context.mjs +13 -0
  849. package/dist/slider/slider-context.mjs.map +1 -0
  850. package/dist/slider/slider-indicator.d.mts +34 -0
  851. package/dist/slider/slider-indicator.d.mts.map +1 -0
  852. package/dist/slider/slider-indicator.mjs +38 -0
  853. package/dist/slider/slider-indicator.mjs.map +1 -0
  854. package/dist/slider/slider-label.d.mts +33 -0
  855. package/dist/slider/slider-label.d.mts.map +1 -0
  856. package/dist/slider/slider-label.mjs +40 -0
  857. package/dist/slider/slider-label.mjs.map +1 -0
  858. package/dist/slider/slider-root.d.mts +155 -0
  859. package/dist/slider/slider-root.d.mts.map +1 -0
  860. package/dist/slider/slider-root.mjs +434 -0
  861. package/dist/slider/slider-root.mjs.map +1 -0
  862. package/dist/slider/slider-thumb.d.mts +87 -0
  863. package/dist/slider/slider-thumb.d.mts.map +1 -0
  864. package/dist/slider/slider-thumb.mjs +150 -0
  865. package/dist/slider/slider-thumb.mjs.map +1 -0
  866. package/dist/slider/slider-track.d.mts +46 -0
  867. package/dist/slider/slider-track.d.mts.map +1 -0
  868. package/dist/slider/slider-track.mjs +57 -0
  869. package/dist/slider/slider-track.mjs.map +1 -0
  870. package/dist/slider/slider-value.d.mts +45 -0
  871. package/dist/slider/slider-value.d.mts.map +1 -0
  872. package/dist/slider/slider-value.mjs +41 -0
  873. package/dist/slider/slider-value.mjs.map +1 -0
  874. package/dist/slider/use-slider-dev-warnings.mjs +29 -0
  875. package/dist/slider/use-slider-dev-warnings.mjs.map +1 -0
  876. package/dist/slider/use-thumb-registry.mjs +51 -0
  877. package/dist/slider/use-thumb-registry.mjs.map +1 -0
  878. package/dist/switch/switch.d.mts +30 -9
  879. package/dist/switch/switch.d.mts.map +1 -1
  880. package/dist/switch/switch.mjs +24 -46
  881. package/dist/switch/switch.mjs.map +1 -1
  882. package/dist/tabs/index.d.mts +2 -0
  883. package/dist/tabs/index.d.mts.map +1 -1
  884. package/dist/tabs/index.mjs +2 -0
  885. package/dist/tabs/index.mjs.map +1 -1
  886. package/dist/tabs/tabs-context.d.mts +7 -3
  887. package/dist/tabs/tabs-context.d.mts.map +1 -1
  888. package/dist/tabs/tabs-context.mjs.map +1 -1
  889. package/dist/tabs/tabs-indicator.d.mts +17 -0
  890. package/dist/tabs/tabs-indicator.d.mts.map +1 -1
  891. package/dist/tabs/tabs-indicator.mjs +4 -1
  892. package/dist/tabs/tabs-indicator.mjs.map +1 -1
  893. package/dist/tabs/tabs-list.d.mts +19 -1
  894. package/dist/tabs/tabs-list.d.mts.map +1 -1
  895. package/dist/tabs/tabs-list.mjs +12 -23
  896. package/dist/tabs/tabs-list.mjs.map +1 -1
  897. package/dist/tabs/tabs-panel.d.mts +22 -4
  898. package/dist/tabs/tabs-panel.d.mts.map +1 -1
  899. package/dist/tabs/tabs-panel.mjs +4 -2
  900. package/dist/tabs/tabs-panel.mjs.map +1 -1
  901. package/dist/tabs/tabs-root.d.mts +43 -8
  902. package/dist/tabs/tabs-root.d.mts.map +1 -1
  903. package/dist/tabs/tabs-root.mjs +23 -10
  904. package/dist/tabs/tabs-root.mjs.map +1 -1
  905. package/dist/tabs/tabs-tab.d.mts +25 -5
  906. package/dist/tabs/tabs-tab.d.mts.map +1 -1
  907. package/dist/tabs/tabs-tab.mjs +5 -2
  908. package/dist/tabs/tabs-tab.mjs.map +1 -1
  909. package/dist/{internal → tabs}/use-until-found.mjs +1 -1
  910. package/dist/tabs/use-until-found.mjs.map +1 -0
  911. package/dist/toast/index.d.mts +27 -0
  912. package/dist/toast/index.d.mts.map +1 -0
  913. package/dist/toast/index.mjs +28 -0
  914. package/dist/toast/index.mjs.map +1 -0
  915. package/dist/toast/toast-action.d.mts +86 -0
  916. package/dist/toast/toast-action.d.mts.map +1 -0
  917. package/dist/toast/toast-action.mjs +81 -0
  918. package/dist/toast/toast-action.mjs.map +1 -0
  919. package/dist/toast/toast-close.d.mts +52 -0
  920. package/dist/toast/toast-close.d.mts.map +1 -0
  921. package/dist/toast/toast-close.mjs +53 -0
  922. package/dist/toast/toast-close.mjs.map +1 -0
  923. package/dist/toast/toast-context.mjs +19 -0
  924. package/dist/toast/toast-context.mjs.map +1 -0
  925. package/dist/toast/toast-description.d.mts +39 -0
  926. package/dist/toast/toast-description.d.mts.map +1 -0
  927. package/dist/toast/toast-description.mjs +37 -0
  928. package/dist/toast/toast-description.mjs.map +1 -0
  929. package/dist/toast/toast-hotkey.mjs +27 -0
  930. package/dist/toast/toast-hotkey.mjs.map +1 -0
  931. package/dist/toast/toast-queue.mjs +137 -0
  932. package/dist/toast/toast-queue.mjs.map +1 -0
  933. package/dist/toast/toast-root.d.mts +63 -0
  934. package/dist/toast/toast-root.d.mts.map +1 -0
  935. package/dist/toast/toast-root.mjs +209 -0
  936. package/dist/toast/toast-root.mjs.map +1 -0
  937. package/dist/toast/toast-timers.mjs +65 -0
  938. package/dist/toast/toast-timers.mjs.map +1 -0
  939. package/dist/toast/toast-title.d.mts +38 -0
  940. package/dist/toast/toast-title.d.mts.map +1 -0
  941. package/dist/toast/toast-title.mjs +35 -0
  942. package/dist/toast/toast-title.mjs.map +1 -0
  943. package/dist/toast/toast-viewport.d.mts +81 -0
  944. package/dist/toast/toast-viewport.d.mts.map +1 -0
  945. package/dist/toast/toast-viewport.mjs +345 -0
  946. package/dist/toast/toast-viewport.mjs.map +1 -0
  947. package/dist/toast/toast.d.mts +162 -0
  948. package/dist/toast/toast.d.mts.map +1 -0
  949. package/dist/toast/toast.mjs +161 -0
  950. package/dist/toast/toast.mjs.map +1 -0
  951. package/dist/toast/use-modal-portal-host.mjs +52 -0
  952. package/dist/toast/use-modal-portal-host.mjs.map +1 -0
  953. package/dist/toast/use-toast-announcements.mjs +46 -0
  954. package/dist/toast/use-toast-announcements.mjs.map +1 -0
  955. package/dist/toast/use-toast-focus.mjs +75 -0
  956. package/dist/toast/use-toast-focus.mjs.map +1 -0
  957. package/dist/toast/use-toast-pauses.mjs +58 -0
  958. package/dist/toast/use-toast-pauses.mjs.map +1 -0
  959. package/dist/toggle/toggle.d.mts +26 -6
  960. package/dist/toggle/toggle.d.mts.map +1 -1
  961. package/dist/toggle/toggle.mjs +12 -6
  962. package/dist/toggle/toggle.mjs.map +1 -1
  963. package/dist/toggle-group/index.d.mts +18 -0
  964. package/dist/toggle-group/index.d.mts.map +1 -0
  965. package/dist/toggle-group/index.mjs +17 -0
  966. package/dist/toggle-group/index.mjs.map +1 -0
  967. package/dist/toggle-group/toggle-group-context.d.mts +6 -0
  968. package/dist/toggle-group/toggle-group-context.d.mts.map +1 -0
  969. package/dist/toggle-group/toggle-group-context.mjs +13 -0
  970. package/dist/toggle-group/toggle-group-context.mjs.map +1 -0
  971. package/dist/toggle-group/toggle-group-item.d.mts +71 -0
  972. package/dist/toggle-group/toggle-group-item.d.mts.map +1 -0
  973. package/dist/toggle-group/toggle-group-item.mjs +69 -0
  974. package/dist/toggle-group/toggle-group-item.mjs.map +1 -0
  975. package/dist/toggle-group/toggle-group-root.d.mts +156 -0
  976. package/dist/toggle-group/toggle-group-root.d.mts.map +1 -0
  977. package/dist/toggle-group/toggle-group-root.mjs +177 -0
  978. package/dist/toggle-group/toggle-group-root.mjs.map +1 -0
  979. package/dist/toolbar/index.d.mts +19 -0
  980. package/dist/toolbar/index.d.mts.map +1 -0
  981. package/dist/toolbar/index.mjs +19 -0
  982. package/dist/toolbar/index.mjs.map +1 -0
  983. package/dist/toolbar/toolbar-root.d.mts +65 -0
  984. package/dist/toolbar/toolbar-root.d.mts.map +1 -0
  985. package/dist/toolbar/toolbar-root.mjs +67 -0
  986. package/dist/toolbar/toolbar-root.mjs.map +1 -0
  987. package/dist/toolbar/toolbar-separator.d.mts +38 -0
  988. package/dist/toolbar/toolbar-separator.d.mts.map +1 -0
  989. package/dist/toolbar/toolbar-separator.mjs +33 -0
  990. package/dist/toolbar/toolbar-separator.mjs.map +1 -0
  991. package/dist/tooltip/index.d.mts +10 -5
  992. package/dist/tooltip/index.d.mts.map +1 -1
  993. package/dist/tooltip/index.mjs +8 -3
  994. package/dist/tooltip/index.mjs.map +1 -1
  995. package/dist/tooltip/tooltip-arrow.d.mts +46 -0
  996. package/dist/tooltip/tooltip-arrow.d.mts.map +1 -0
  997. package/dist/tooltip/tooltip-arrow.mjs +47 -0
  998. package/dist/tooltip/tooltip-arrow.mjs.map +1 -0
  999. package/dist/tooltip/tooltip-context.d.mts +11 -0
  1000. package/dist/tooltip/tooltip-context.d.mts.map +1 -1
  1001. package/dist/tooltip/tooltip-context.mjs +2 -1
  1002. package/dist/tooltip/tooltip-context.mjs.map +1 -1
  1003. package/dist/tooltip/tooltip-popup.d.mts +49 -7
  1004. package/dist/tooltip/tooltip-popup.d.mts.map +1 -1
  1005. package/dist/tooltip/tooltip-popup.mjs +37 -15
  1006. package/dist/tooltip/tooltip-popup.mjs.map +1 -1
  1007. package/dist/tooltip/tooltip-root.d.mts +24 -2
  1008. package/dist/tooltip/tooltip-root.d.mts.map +1 -1
  1009. package/dist/tooltip/tooltip-root.mjs +29 -6
  1010. package/dist/tooltip/tooltip-root.mjs.map +1 -1
  1011. package/dist/tooltip/tooltip-trigger.d.mts +28 -3
  1012. package/dist/tooltip/tooltip-trigger.d.mts.map +1 -1
  1013. package/dist/tooltip/tooltip-trigger.mjs +26 -6
  1014. package/dist/tooltip/tooltip-trigger.mjs.map +1 -1
  1015. package/dist/tooltip/tooltip-warm.mjs +29 -0
  1016. package/dist/tooltip/tooltip-warm.mjs.map +1 -0
  1017. package/dist/tooltip/use-tooltip-interaction.mjs +128 -77
  1018. package/dist/tooltip/use-tooltip-interaction.mjs.map +1 -1
  1019. package/package.json +30 -2
  1020. package/skills/funstack-ui-knowledge/SKILL.md +84 -0
  1021. package/dist/accordion/accordion-context.d.mts +0 -5
  1022. package/dist/accordion/accordion-context.d.mts.map +0 -1
  1023. package/dist/internal/action-details.mjs.map +0 -1
  1024. package/dist/internal/anchor-position.d.mts +0 -7
  1025. package/dist/internal/anchor-position.d.mts.map +0 -1
  1026. package/dist/internal/anchor-position.mjs +0 -16
  1027. package/dist/internal/anchor-position.mjs.map +0 -1
  1028. package/dist/internal/sync-presence.mjs.map +0 -1
  1029. package/dist/internal/use-action-trigger.mjs +0 -58
  1030. package/dist/internal/use-action-trigger.mjs.map +0 -1
  1031. package/dist/internal/use-controllable-action.mjs +0 -119
  1032. package/dist/internal/use-controllable-action.mjs.map +0 -1
  1033. package/dist/internal/use-exit-animation.mjs.map +0 -1
  1034. package/dist/internal/use-form-reset.mjs +0 -54
  1035. package/dist/internal/use-form-reset.mjs.map +0 -1
  1036. package/dist/internal/use-native-checked.mjs.map +0 -1
  1037. package/dist/internal/use-native-group-reconciliation.mjs.map +0 -1
  1038. package/dist/internal/use-native-select-value.mjs.map +0 -1
  1039. package/dist/internal/use-popover-popup.mjs +0 -274
  1040. package/dist/internal/use-popover-popup.mjs.map +0 -1
  1041. package/dist/internal/use-popover-root.d.mts +0 -2
  1042. package/dist/internal/use-popover-root.mjs +0 -112
  1043. package/dist/internal/use-popover-root.mjs.map +0 -1
  1044. package/dist/internal/use-popover-trigger.mjs +0 -86
  1045. package/dist/internal/use-popover-trigger.mjs.map +0 -1
  1046. package/dist/internal/use-until-found.mjs.map +0 -1
@@ -0,0 +1,112 @@
1
+ # Transitions & ViewTransition
2
+
3
+ Every state change the library makes is a React transition. That is what lets React keep old content on screen, and it is also what lets `<ViewTransition>` animate the change.
4
+
5
+ ## Terms
6
+
7
+ - **<a id="commit"></a>Commit**: The moment React applies a finished render to the DOM. One user interaction can lead to several commits: the synchronous one that shows the [optimistic value](pending-and-optimistic.md#optimistic), and the transition commit that ends the action.
8
+ - **View transition**: The browser's View Transition API: it snapshots the page before and after a DOM change and animates between the two. React starts one for a transition commit when a `<ViewTransition>` boundary in the tree is affected.
9
+ - **Transition type**: A string attached to a transition with React's `addTransitionType`. A `<ViewTransition>` can pick its animation by type, and CSS can match it with `:active-view-transition-type()`.
10
+
11
+ ## <a id="transition-prop"></a>The `transition` prop
12
+
13
+ Each part whose mount, unmount or content is driven by library state has a `transition` prop. When you pass it, the part renders a `<ViewTransition default={transition}>` as the outermost node of its output; without it, the part renders no boundary at all. The value has exactly React's type: `"auto"`, `"none"`, a View Transition class, or a map from transition type to class.
14
+
15
+ Treat `transition` as static. Changing it between `undefined` and a value remounts the part (development warns); switching between `"none"` and a class does not. Any value, `"none"` and a type map that does not match included, has a cost: when the part mounts or is revealed in a transition (a tab switch with `keepMounted` `false` or `true`, a part inside a dialog that opens), React starts a document view transition. The browser then cross-fades the whole page for 250 ms, and the next transition commit waits for it.
16
+
17
+ Example: [Tabs](../components/tabs.md)
18
+
19
+ `Tabs.Panel` takes `transition`, which animates the swap from one panel to the next. A class animates every swap; a type map picks a slide direction from the Tabs transition types:
20
+
21
+ ```tsx
22
+ <Tabs.Panel value="billing" transition="fade">...</Tabs.Panel>
23
+
24
+ <Tabs.Panel
25
+ value="billing"
26
+ transition={{ "fsui-tabs-next": "slide-left", "fsui-tabs-prev": "slide-right", default: "none" }}
27
+ >
28
+ ...
29
+ </Tabs.Panel>
30
+ ```
31
+
32
+ ```css
33
+ ::view-transition-old(.slide-left) { animation: 160ms ease-in both slide-out-left; }
34
+ ::view-transition-new(.slide-left) { animation: 160ms ease-out both slide-in-right; }
35
+
36
+ @media (prefers-reduced-motion: reduce) {
37
+ ::view-transition-group(*),
38
+ ::view-transition-old(*),
39
+ ::view-transition-new(*) { animation: none !important; }
40
+ }
41
+ ```
42
+
43
+ Every animation comes from your stylesheet, so reduced motion is yours to handle: when you write an animation (a view transition or plain CSS), add a `prefers-reduced-motion` rule like the one above.
44
+
45
+ If you want only your own named animations, you can opt out of the page cross-fade with the CSS below. It is optional and applies to every view transition on the page, including your router's. The last rule keeps clicks working during a transition in Firefox, which otherwise suppresses hit testing.
46
+
47
+ ```css
48
+ ::view-transition-old(root),
49
+ ::view-transition-new(root) { animation: none; }
50
+ /* or: :root { view-transition-name: none; } */
51
+
52
+ ::view-transition { pointer-events: none; }
53
+ ```
54
+
55
+ ## Transition types
56
+
57
+ Each dispatch adds `fsui-<component>` and, where the change has a direction or kind, `fsui-<component>-<change>` through `addTransitionType`. A few examples:
58
+
59
+ | Component | Types |
60
+ | - | - |
61
+ | Toggle | `fsui-toggle`, `fsui-toggle-press`, `fsui-toggle-release` |
62
+ | Tabs | `fsui-tabs`, `fsui-tabs-next`, `fsui-tabs-prev` (DOM order of the new tab relative to the committed one) |
63
+ | Dialog | `fsui-dialog`, `fsui-dialog-open`, `fsui-dialog-close` |
64
+
65
+ Every component page lists its own types, or says that it has none, in its **Transition types** section. Components whose state never changes in a transition add none: their commits are urgent, or their state belongs to the browser.
66
+
67
+ Use them in a `transition` map, or in CSS with `:active-view-transition-type(fsui-tabs-next)`. Types you add yourself with `addTransitionType` in the synchronous part of an action join the same transition.
68
+
69
+ Types are attached only to the commit that ends a dispatched action. A rollback after a rejection, or a controlled parent snapping the value back, carries no `fsui-*` type: a type map needs a `default` entry if rollbacks should animate.
70
+
71
+ ## What animates when
72
+
73
+ React starts a view transition only for commits made entirely of transition lanes (a lane is React's priority class for an update; transitions have their own). The optimistic flip is a synchronous commit, so it never animates through `<ViewTransition>`. What to animate with depends on which value the part renders (see [the three values](pending-and-optimistic.md#terms)):
74
+
75
+ | The part renders | Animate with |
76
+ | - | - |
77
+ | optimistic state (a trigger) | a CSS `transition` on the data attribute |
78
+ | committed state (a content region) | the `transition` prop |
79
+ | the end of pending, or a rollback | the `transition` prop |
80
+ | [browser-owned state](browser-owned-state.md) | CSS: `@starting-style`, `transition-behavior: allow-discrete` |
81
+
82
+ Example: [Tabs](../components/tabs.md)
83
+
84
+ `Tabs.Tab` renders the optimistic selection: animate its colour with a CSS transition on `[data-selected]`. `Tabs.Indicator` follows the optimistic tab with CSS Anchor Positioning, so a plain CSS transition on its inset properties makes it slide on click and slide back on rollback. `Tabs.Panel` renders the committed selection: animate the swap with its `transition` prop. A spinner rendered from the Tab's `pending` state disappears in the commit that ends the action, which the Tab's own `transition` prop can animate.
85
+
86
+ ### <a id="css-exit"></a>A popup with a CSS exit and a view transition
87
+
88
+ A popup in the top layer can close two ways. A close the library performs (a part's close, a controlled `open={false}`) happens in a commit, so the popup's `transition` prop can animate it with a view transition in every engine. A [dismissal](browser-owned-state.md#dismissal) happens in the browser before React hears about it, so only a CSS exit (`@starting-style`, `transition-behavior: allow-discrete`) can animate it; it is a fact, reported to `onOpenChange` in an urgent commit, which starts no view transition at all. Write both: the `transition` prop animates what the library does, CSS animates what the browser does, and the library's own show or hide never runs a CSS transition.
89
+
90
+ While a view transition runs, the library turns off the popup's CSS transitions for the moment of its own show or hide. Otherwise Chromium would keep a popup the library hides rendering through its CSS fade and capture it in the close's new snapshot as well as the old one (a double image), and the CSS enter would run under the view transition's enter. To do this, the library writes an inline `transition: none !important` on the popup for the length of that one call and then puts your inline `transition` back. A dismissal is never cut, so its CSS fade runs even when another view transition of the page starts during it (a dismissal while the library's own view transition runs fades inside that transition's new image). Only CSS transitions are cut: an exit written as a `@keyframes` animation on the closed state still runs during a library close, and Chromium captures it twice. Write the exit as a `transition`.
91
+
92
+ Example: [Dialog](../components/dialog.md)
93
+
94
+ A Dialog with a CSS fade for Escape and a click outside, and a view transition for its Close parts:
95
+
96
+ ```tsx
97
+ <Dialog.Popup className="dialog" transition={{ "fsui-dialog-open": "pop", "fsui-dialog-close": "pop", default: "none" }}>
98
+ ```
99
+
100
+ ```css
101
+ .dialog { opacity: 0; transition: opacity 150ms, display 150ms allow-discrete, overlay 150ms allow-discrete; }
102
+ .dialog:open { opacity: 1; }
103
+ @starting-style { .dialog:open { opacity: 0; } }
104
+ ::view-transition-new(.pop) { animation: 180ms ease-out both pop-in; }
105
+ ::view-transition-old(.pop) { animation: 140ms ease-in both pop-out; }
106
+ ```
107
+
108
+ ## Rules the library follows for you
109
+
110
+ - It never calls `document.startViewTransition` and never uses `flushSync`.
111
+ - `<ViewTransition>` renders no DOM and is safe in server-rendered trees; hydration is not a transition, so nothing animates on first paint.
112
+ - [Content regions](pending-and-optimistic.md#content-region) kept mounted while hidden (Tabs `keepMounted`) switch their `<Activity>` mode inside the library's transition, so nested `<ViewTransition>` boundaries get enter and exit animations.
@@ -0,0 +1,102 @@
1
+ # Getting started
2
+
3
+ Install the package, import a component from its subpath, and style it with CSS. There is no provider, no theme and no stylesheet to import.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install @funstack/ui@alpha
9
+ ```
10
+
11
+ > **Alpha**
12
+ >
13
+ > `@funstack/ui` is published as alpha releases under the `alpha` dist-tag; there is no `latest` release yet. APIs change without notice.
14
+
15
+ React **19.3 or later** is a peer dependency (`react` and `react-dom` `>=19.3.0`). The library relies on React 19.3 features such as `<ViewTransition>` and `addTransitionType`. The package is ESM only and has no other runtime dependencies.
16
+
17
+ ## Imports
18
+
19
+ Every component has its own subpath, which is the documented form. The root entry re-exports everything, and both resolve to the same files.
20
+
21
+ ```tsx
22
+ import { Toggle } from "@funstack/ui/toggle";
23
+ import { Tabs } from "@funstack/ui/tabs";
24
+ import { Accordion } from "@funstack/ui/accordion";
25
+ import { Tooltip } from "@funstack/ui/tooltip";
26
+
27
+ // Also works:
28
+ import { Tabs, Toggle } from "@funstack/ui";
29
+
30
+ // Shared types live in the root entry.
31
+ import type { ActionDetails, ChangeAction } from "@funstack/ui";
32
+ ```
33
+
34
+ Single-element components are plain components (`Toggle`). Compound components are a namespace of parts (`Tabs.Root`, `Tabs.Tab`, ...). The namespace itself is not a component.
35
+
36
+ A <a id="part"></a>part is one piece of a component that you render yourself and that usually renders one element: `Tabs.Tab` is a part, and so is a whole `Toggle`. The Root is the part of a compound component that holds its state (and its transition, when it has one) and provides them to the other parts through context; it is usually, not always, the outermost part. Other recurring words (trigger, content region, optimistic and committed value) are defined on [Pending & optimistic state](concepts/pending-and-optimistic.md#terms).
37
+
38
+ ## A first component
39
+
40
+ ```tsx
41
+ "use client";
42
+ import { Toggle } from "@funstack/ui/toggle";
43
+ import { saveFavorite } from "./api";
44
+
45
+ export function FavoriteButton({ postId, initial }: { postId: string; initial: boolean }) {
46
+ return (
47
+ <Toggle
48
+ className="favorite"
49
+ defaultPressed={initial}
50
+ pressedChangeAction={(pressed) => saveFavorite(postId, pressed)}
51
+ >
52
+ Favorite
53
+ </Toggle>
54
+ );
55
+ }
56
+ ```
57
+
58
+ `pressedChangeAction` is an [action](concepts/action-props.md#action): it runs inside a transition. While the returned promise is pending, the button already shows the new pressed state ([optimistic](concepts/pending-and-optimistic.md#optimistic)) and carries `data-pending`. If it rejects, the pressed state rolls back and the error goes to the nearest Error Boundary. The [Action props](concepts/action-props.md) page explains the details.
59
+
60
+ ## <a id="styling"></a>Styling: data attributes and CSS
61
+
62
+ Components render plain, accessible HTML and ship no styles. Library state appears as `data-*` attributes, emitted by presence (`data-pending=""` when true, absent when false). Enum-like states carry a value (`data-orientation="vertical"`).
63
+
64
+ ```css
65
+ .favorite[data-pressed] { background: gold; }
66
+ .favorite[data-pending] { cursor: progress; opacity: 0.8; }
67
+ .favorite[data-disabled] { opacity: 0.5; }
68
+
69
+ /* Interaction state comes from the platform, not from attributes. */
70
+ .favorite:hover { filter: brightness(1.05); }
71
+ .favorite:focus-visible { outline: 2px solid; }
72
+ ```
73
+
74
+ Hover, focus and active state are deliberately not attributes: use `:hover`, `:focus-visible` and `:active`. Tailwind's `data-*` variants work as is: `data-pressed:bg-amber-300 data-pending:opacity-80`.
75
+
76
+ When CSS is not enough, `className`, `style` and `children` also accept a function of the part's state:
77
+
78
+ ```tsx
79
+ <Toggle
80
+ className={({ pressed, pending }) => (pending ? "fav busy" : pressed ? "fav on" : "fav")}
81
+ >
82
+ {({ pressed, pending }) => (pending ? <Spinner /> : pressed ? <StarFilled /> : <StarOutline />)}
83
+ </Toggle>
84
+ ```
85
+
86
+ Each component page lists the fields of a part's state object in the **State** line under the part's props table.
87
+
88
+ To render a different element (your design system's button, a link), pass `render`; see [Replacing the element: `render`](concepts/render.md).
89
+
90
+ ## What the components share
91
+
92
+ These props mean the same on every component that has them:
93
+
94
+ | Prop | Meaning |
95
+ | - | - |
96
+ | `x` / `defaultX` / `xChangeAction` | Controlled value, initial uncontrolled value, and the action called on every change. |
97
+ | `transition` | On parts whose content is driven by library state: forwarded to the part's `<ViewTransition default>`. Without it the part renders no `<ViewTransition>`. |
98
+ | `render` | Replaces the rendered element (no `asChild`, no `as`). See [Replacing the element](concepts/render.md). |
99
+ | `ref` | An ordinary prop on every part that renders an element. |
100
+ | `experimental_*` | Opt-in use of a platform feature that is not in every engine yet. |
101
+
102
+ One attribute is shared too, but it is not a prop: every component with an action renders `data-pending` while an action dispatched through it is in flight (see [Styling](#styling) above).
@@ -0,0 +1,191 @@
1
+ # FUNSTACK UI
2
+
3
+ Headless React components, and the first UI library that is **Async React**-native.
4
+
5
+ > **Experimental**
6
+ >
7
+ > APIs change without notice. Releases are on npm under the `alpha` dist-tag. Feedback is welcome on [GitHub](https://github.com/uhyo/funstack-ui/issues).
8
+
9
+ ## Try it
10
+
11
+ The star flips at once, the button shows a spinner while the fake save runs, and a second click while it is pending wins. The code is one `Toggle` with an async action.
12
+
13
+ ```tsx title="ToggleFavorite.tsx"
14
+ "use client";
15
+ import { Toggle } from "@funstack/ui/toggle";
16
+ import { fakeSave } from "./fake-api.js";
17
+
18
+ // Uncontrolled Toggle with an async action. The star flips at once (optimistic), the button
19
+ // carries data-pending for the 800 ms the save takes, and a second click while pending wins.
20
+ export function ToggleFavorite() {
21
+ return (
22
+ <Toggle className="demo-toggle" pressedChangeAction={(next) => fakeSave(`favorite=${next}`)}>
23
+ {({ pressed, pending }) => (
24
+ <>
25
+ {pending ? (
26
+ <span className="demo-spinner" aria-hidden />
27
+ ) : (
28
+ <span aria-hidden>{pressed ? "★" : "☆"}</span>
29
+ )}
30
+ Favorite
31
+ </>
32
+ )}
33
+ </Toggle>
34
+ );
35
+ }
36
+ ```
37
+
38
+ ```css title="toggle.css"
39
+ /* Toggle: data attributes carry library state; :hover / :focus-visible come from the platform. */
40
+ .demo-toggle {
41
+ display: inline-flex;
42
+ align-items: center;
43
+ gap: 0.4em;
44
+ padding: 0.4em 0.9em;
45
+ border: 1px solid var(--color-border);
46
+ border-radius: 999px;
47
+ background: var(--color-bg);
48
+ color: var(--color-text);
49
+ font: inherit;
50
+ cursor: pointer;
51
+ /* The optimistic flip is a sync commit, so it animates with a plain CSS transition. */
52
+ transition:
53
+ background-color 120ms,
54
+ color 120ms,
55
+ border-color 120ms;
56
+ }
57
+
58
+ .demo-toggle[data-pressed] {
59
+ background: var(--color-primary);
60
+ border-color: var(--color-primary);
61
+ color: var(--color-on-primary);
62
+ }
63
+
64
+ .demo-toggle[data-pending] {
65
+ cursor: progress;
66
+ }
67
+
68
+ .demo-toggle[data-disabled] {
69
+ opacity: 0.5;
70
+ cursor: not-allowed;
71
+ }
72
+
73
+ .demo-toggle:focus-visible {
74
+ outline: 2px solid var(--color-primary);
75
+ outline-offset: 2px;
76
+ }
77
+
78
+ @media (prefers-reduced-motion: reduce) {
79
+ .demo-toggle {
80
+ transition: none;
81
+ }
82
+ }
83
+ ```
84
+
85
+ The components are headless: accessible HTML with data attributes, no styles. You bring the CSS. [Why FUNSTACK UI](why.md) shows what this saves you.
86
+
87
+ ## Principles
88
+
89
+ - **[Suspense-native](concepts/suspense.md)**
90
+
91
+ Content that suspends is the normal case. The old content stays on screen while the new content loads.
92
+
93
+ - **[Transition by default](concepts/transitions.md)**
94
+
95
+ Every state change the library makes is a React transition. You do not opt in.
96
+
97
+ - **[Action props, not event handlers](concepts/action-props.md)**
98
+
99
+ Pass an async function (`pressedChangeAction`, `valueChangeAction`); the component shows the new value at once and `data-pending` until it is done.
100
+
101
+ - **[\<ViewTransition> built in](concepts/transitions.md#transition-prop)**
102
+
103
+ Give a part a `transition` prop and its changes animate with React's `<ViewTransition>`.
104
+
105
+ - **[Greedy about the platform](concepts/browser-owned-state.md)**
106
+
107
+ Popover API, `<dialog>`, CSS Anchor Positioning, `<details>`, native form controls. Where HTML can do the job, it does.
108
+
109
+ - **Accessibility is not optional**
110
+
111
+ Components follow the WAI-ARIA Authoring Practices and are tested for keyboard and assistive-technology behaviour.
112
+
113
+ ## Install
114
+
115
+ ```bash
116
+ npm install @funstack/ui@alpha
117
+ ```
118
+
119
+ React 19.3 or later. Supported browsers: **the latest stable Blink, WebKit and Gecko. No fallbacks.** Platform features not yet in all three are opt-in [experimental props](concepts/experimental.md).
120
+
121
+ Components: [Button](components/button.md), [Toggle](components/toggle.md), [ToggleGroup](components/toggle-group.md), [Toolbar](components/toolbar.md), [Tabs](components/tabs.md), [Accordion](components/accordion.md), [Collapsible](components/collapsible.md), [Tooltip](components/tooltip.md), [HoverCard](components/hover-card.md), [Popover](components/popover.md), [Dialog](components/dialog.md), [AlertDialog](components/alert-dialog.md), [Drawer](components/drawer.md), [Menu](components/menu.md), [Context menu (Menu)](components/context-menu.md), [Toast](components/toast.md), [Field and Form](components/field.md), [Checkbox](components/checkbox.md), [CheckboxGroup](components/checkbox-group.md), [RadioGroup](components/radio-group.md), [Switch](components/switch.md), [Select](components/select.md), [Combobox](components/combobox.md), [MultiSelect](components/multi-select.md), [Slider](components/slider.md), [NumberField](components/number-field.md), [OTPField](components/otp-field.md), [Progress](components/progress.md), [Meter](components/meter.md), [Avatar](components/avatar.md), [Separator](components/separator.md) and [Scroll areas (recipe)](components/scroll-area.md). More are coming; see the [roadmap](roadmap.md).
122
+
123
+ ## The FUNSTACK family
124
+
125
+ FUNSTACK UI is part of the FUNSTACK family, which aims to be the most modern React stack:
126
+
127
+ - [FUNSTACK Router](https://router.funstack.work): a React router built on the Navigation API.
128
+ - [FUNSTACK Static](https://static.funstack.work): a React Server Components static site framework. This site is built with it.
129
+
130
+ ## All pages
131
+
132
+ ### Introduction
133
+
134
+ - [Why FUNSTACK UI](why.md): Why choose FUNSTACK UI: headless React components built for Async React, which already do the async work for you. Pending and optimistic state, Suspense, transitions and the platform, built in.
135
+ - [Overview](index.md): FUNSTACK UI is a headless React component library and the first UI library that is Async React-native: Suspense-native, transition by default, action props, and \<ViewTransition> built in.
136
+ - [Getting started](getting-started.md): Install @funstack/ui, import a component from its subpath, and style it with data attributes and CSS.
137
+
138
+ ### Concepts
139
+
140
+ - [Action props](concepts/action-props.md): FUNSTACK UI components take action props instead of event handlers. Actions run inside the component's transition, may be async, and report errors to Error Boundaries. A change that had already happened is reported to an on\* handler instead.
141
+ - [Pending & optimistic state](concepts/pending-and-optimistic.md): A state owner keeps a committed, an optimistic and a pending value. Triggers render the optimistic value, content regions the committed one, and data-pending marks an action in flight.
142
+ - [Transitions & ViewTransition](concepts/transitions.md): Every state change in FUNSTACK UI is a transition. Parts whose content is driven by library state take a transition prop that renders a \<ViewTransition>, and changes are tagged with fsui-\* transition types.
143
+ - [Suspense](concepts/suspense.md): FUNSTACK UI content regions keep old content on screen while new content suspends. You own the Suspense boundaries.
144
+ - [Browser-owned state](concepts/browser-owned-state.md): Some state belongs to the browser: the popover top layer, \<details open>, dismissing a \<dialog>, a native input before React hears about it. FUNSTACK UI observes it instead of driving it.
145
+ - [Server Components](concepts/server-components.md): FUNSTACK UI parts are client modules that Server Components can render directly. Some behaviour works before hydration.
146
+
147
+ ### Guides
148
+
149
+ - [Replacing the element (render)](concepts/render.md): How the render prop replaces the element a FUNSTACK UI part renders: the element form, the function form, and how the part's props are merged into yours.
150
+ - [Experimental features](concepts/experimental.md): Platform features that are not in every engine yet are opt-in through experimental\_\* props on the part that uses them.
151
+ - [Content Security Policy](concepts/content-security-policy.md): What a strict style-src needs for FUNSTACK UI: the SHA-256 of the two shipped stylesheets (STYLE_SHA256) or a nonce through CSPProvider, and style-src-attr for server-rendered inline styles.
152
+ - [Using with AI agents](concepts/ai-agents.md): Give a coding agent FUNSTACK UI knowledge: install the funstack-ui-knowledge skill from the npm package, or point the agent at the Markdown docs bundled in the package and published as llms.txt.
153
+
154
+ ### Components
155
+
156
+ - [Button](components/button.md): A button whose click is a transition: action in its own transition, data-pending, whilePending to run or ignore a click while pending, formAction with per-submitter pending.
157
+ - [Toggle](components/toggle.md): A two-state button with an async pressedChangeAction, optimistic aria-pressed and data-pending.
158
+ - [ToggleGroup](components/toggle-group.md): A set of aria-pressed toggle buttons sharing one value: several pressed, or at most one with exclusive. Optimistic, with pending state.
159
+ - [Toolbar](components/toolbar.md): A WAI-ARIA toolbar with one Tab stop and arrow keys over any focusable children: toggles, menu buttons, links, inputs. No wrapper parts.
160
+ - [Tabs](components/tabs.md): Tabs with optimistic selection, committed panels that may suspend, automatic or manual activation, an anchor-positioned indicator, and find-in-page support.
161
+ - [Accordion](components/accordion.md): An accordion built on \<details>/\<summary>: no JavaScript when you need no state; actions, optimistic data-open and Suspense-friendly panels when you do.
162
+ - [Collapsible](components/collapsible.md): One disclosure built on \<details>/\<summary>: no JavaScript when you need no state; actions, optimistic data-open and Suspense-friendly content when you do.
163
+ - [Tooltip](components/tooltip.md): A tooltip built on the Popover API and CSS Anchor Positioning, with a native interestfor path in Chromium. Open state belongs to the browser.
164
+ - [HoverCard](components/hover-card.md): A rich preview that appears when the user rests the pointer on a link or focuses it: the open is a transition, so the content loads on interest and the card appears when it is ready; every close is a fact.
165
+ - [Popover](components/popover.md): A non-modal popover on the Popover API: JS-free when you need no state; a transition-driven open, library-owned closes with a ViewTransition exit in every engine, and Suspense-ready content when you do.
166
+ - [Dialog](components/dialog.md): A dialog built on \<dialog> and Invoker Commands: JS-free when you need no state; a transition-driven open with a pending trigger, Suspense-ready content, and library-owned closes with a ViewTransition exit in every engine when you do.
167
+ - [AlertDialog](components/alert-dialog.md): A Dialog with alert defaults: role alertdialog, always modal, no light dismiss, focus on Cancel. The confirm button runs your async action with its own pending state, closes when it resolves and stays open when it rejects.
168
+ - [Drawer](components/drawer.md): A dialog attached to an edge of the viewport that the user can swipe back to it, with mouse, pen or touch. A Dialog underneath: top layer, focus, Escape, the JS-free mode; the swipe is a dismissal reported to onOpenChange, and your CSS moves the drawer through three custom properties.
169
+ - [Menu](components/menu.md): A menu button on the Popover API: items whose actions run in their own transition with pending state, optimistic checkbox and radio items, the APG keyboard model with typeahead, and submenus with hover intent.
170
+ - [Context menu (Menu)](components/context-menu.md): Menu.ContextTrigger: a region whose right-click, Shift+F10 or touch long-press opens a Menu at the pointer, with the menu's pending items, optimistic checkbox and radio items and submenus unchanged.
171
+ - [Toast](components/toast.md): Notifications fed by a toast() function and rendered by your own Viewport: an urgent queue that shows while the action it reports on is still pending, promise toasts, an Undo action prop, an onClose handler for the Undo window, ariaNotify announcements, and a region that stays interactive above modal dialogs.
172
+ - [Field and Form](components/field.md): Labelled, described, validated form fields on top of native constraint validation and :user-invalid, and a Form that runs its action in a transition, routes server errors to fields and resets only on success.
173
+ - [Checkbox](components/checkbox.md): A native \<input type=checkbox> with an async checkedChangeAction, optimistic checked state, a controlled indeterminate state and native form participation.
174
+ - [CheckboxGroup](components/checkbox-group.md): A group of native \<input type=checkbox> in a \<fieldset> with a set value, a mixed-state select-all Parent, group-level required, an async valueChangeAction and data-pending.
175
+ - [RadioGroup](components/radio-group.md): A radio group of native \<input type=radio> in a \<fieldset>: native keyboard and forms, an async valueChangeAction, optimistic checked state and data-pending.
176
+ - [Switch](components/switch.md): An on/off switch rendered as a native \<input type=checkbox role=switch>: optimistic checked state, data-pending while checkedChangeAction runs, native form participation.
177
+ - [Select](components/select.md): A real \<select>, progressively enhanced with customizable select (appearance: base-select): native forms, keyboard and pickers, an async valueChangeAction, optimistic selection and data-pending.
178
+ - [Combobox](components/combobox.md): An editable combobox with list autocomplete: urgent typing, results from a deferred query inside Suspense, aria-activedescendant, an async valueChangeAction with the option pending, free text, multiple selection with chips, forms and ariaNotify.
179
+ - [MultiSelect](components/multi-select.md): A select-only combobox with a multi-select listbox: a button that shows the selection, options that load on open inside Suspense, a pick that toggles with an optimistic selection and the option pending, the open state as actions and facts, forms and required.
180
+ - [Slider](components/slider.md): A slider on a visually hidden native \<input type=range> per thumb: every step a transition, each gesture saved once with rollback, multi-thumb, vertical and RTL.
181
+ - [NumberField](components/number-field.md): A text field that holds a number: typed in the user's locale, stepped with keys and press-and-hold buttons, posted as a plain number through a hidden native number input, saved once per gesture with rollback.
182
+ - [OTPField](components/otp-field.md): A field for a one-time code: one input with autocomplete one-time-code drawn as a row of boxes, a filter that keeps the text a code, and completeAction, the moment the code is complete as an awaited request with data-pending.
183
+ - [Progress](components/progress.md): A progress bar on div\[role=progressbar]: the display of someone else's action, correct in every lane, localised aria-valuetext, and a Root that is itself a Server Component.
184
+ - [Meter](components/meter.md): A gauge on div\[role=meter] with the platform's low / high / optimum regions, localised aria-valuetext, and a Root that is itself a Server Component.
185
+ - [Avatar](components/avatar.md): A picture of a person or a thing with initials or an icon in its place: the image is in the server HTML, the fallback sits under it, the name is on the Root, and React's commit wait for images under a ViewTransition still applies.
186
+ - [Separator](components/separator.md): A line between two pieces of content: an hr with aria-orientation and data-orientation, a decorative mode, and a component that is itself a Server Component.
187
+ - [Scroll areas (recipe)](components/scroll-area.md): There is no ScrollArea part: a native scroller with scrollbar-width, scrollbar-color and scrollbar-gutter, edge fades from a scroll-driven animation, and a Tab stop for content with nothing focusable. A recipe, run in Chromium, Firefox and WebKit.
188
+
189
+ ### Resources
190
+
191
+ - [Roadmap & changelog](roadmap.md): Where FUNSTACK UI is heading, and where to follow changes.
@@ -0,0 +1,150 @@
1
+ # Roadmap & changelog
2
+
3
+ FUNSTACK UI is experimental; alpha releases are on npm. Planning happens in [GitHub issues](https://github.com/uhyo/funstack-ui/issues); this page is a short summary.
4
+
5
+ ## Changelog
6
+
7
+ Alpha releases (`0.1.0-alpha.N`) are published on npm under the `alpha` dist-tag: `npm install @funstack/ui@alpha`. Each release is listed on [GitHub Releases](https://github.com/uhyo/funstack-ui/releases); between releases, the [commit history](https://github.com/uhyo/funstack-ui/commits/master) is the changelog.
8
+
9
+ ## Behaviour changes
10
+
11
+ Changes an upgrade may notice, newest first. Each component page documents the current behaviour.
12
+
13
+ - New component [Drawer](components/drawer.md) ([#168](https://github.com/uhyo/funstack-ui/issues/168)): a Dialog attached to an edge (`side`, rendered as `data-side`) that the user can swipe back to it with mouse, pen or touch. The swipe writes `data-swiping` and `--drawer-swipe-x` / `-y` / `-progress` for your CSS, finishes the slide, and closes the drawer as a dismissal reported to `onOpenChange`. Its transition types are `fsui-drawer*`. Snap points and the pull from a scrolled-to-top list are not in this version.
14
+
15
+ - New component [OTPField](components/otp-field.md) ([#171](https://github.com/uhyo/funstack-ui/issues/171)): a one-time-code field that is one `autocomplete="one-time-code"` input drawn as a row of boxes, with `completeAction` for the complete code, `submitOnComplete` and `experimental_webOTP`.
16
+
17
+ - New component [Avatar](components/avatar.md) ([#171](https://github.com/uhyo/funstack-ui/issues/171)), and a [Scroll areas](components/scroll-area.md) recipe page instead of a ScrollArea part.
18
+
19
+ - A `Dialog.Close` or `Popover.Close` with an `action` no longer renders `commandfor` / `command` ([#182](https://github.com/uhyo/funstack-ui/issues/182)). A click before hydration used to close the dialog or popover natively without running the action; it now does nothing until the page has hydrated, and then runs the action and closes. A Close without `action` is unchanged (a native invoker). Selectors on `[command]` no longer match such a button.
20
+
21
+ - New component [AlertDialog](components/alert-dialog.md) ([#167](https://github.com/uhyo/funstack-ui/issues/167)): a Dialog with `role="alertdialog"`, no light dismiss and focus on Cancel, whose `Action` runs an async action and closes when it resolves. Development messages of a Dialog part outside its Root now name the Root of its own namespace.
22
+
23
+ - New component [Separator](components/separator.md) ([#169](https://github.com/uhyo/funstack-ui/issues/169)). `Field.Control` no longer throws outside a `Field.Root`: it renders the plain control and accepts `id`. A Slider's Track and Thumb and NumberField's Increment / Decrement no longer move or dispatch inside a `<fieldset disabled>` ([#180](https://github.com/uhyo/funstack-ui/issues/180)); before, a drag or a press still changed the value although the browser had disabled the inputs.
24
+
25
+ - New component [MultiSelect](components/multi-select.md) ([#165](https://github.com/uhyo/funstack-ui/issues/165)). `<Select.Root multiple>`, already a type error, no longer reaches the `<select>`: the attribute is dropped with a development warning that names MultiSelect. `Field.Label` focuses a button control (MultiSelect's Trigger) instead of clicking it.
26
+
27
+ - A disabled `Button` whose click the browser acts on (`type="submit"` or `"reset"`, the `formAction` default, `commandfor` / `popoverTarget`, with or without `action`) keeps native `disabled` also with a component or `<input>` `render`, as `Form.Submit` does; it used to render `aria-disabled`, which does not stop a submission or command before hydration ([#158](https://github.com/uhyo/funstack-ui/issues/158)). Inside a `Toolbar.Root` or with `focusableWhenDisabled` nothing changes. A natively disabled `Button`, `Dialog.Close`, `Popover.Close` or `Toast.Action` that is also pending no longer adds `aria-disabled`: native `disabled` wins. A disabled JS-free Trigger or Close of a Dialog or Popover rendered as a host link renders `aria-disabled` instead of a meaningless `disabled` attribute, and its click is cancelled (the link no longer navigates after hydration).
28
+
29
+ - Three alignments with the library-wide rules ([#157](https://github.com/uhyo/funstack-ui/issues/157)):
30
+
31
+ - Accordion in multiple mode passes `valueChangeAction` its open items in document order also when an Item mounted later (inserted between others, or behind a Suspense boundary); such an Item used to sort last. In exclusive mode, of several items opened before hydration the first in the document wins.
32
+ - `Toast.Action` and `Toast.Close` render `data-disabled` when `disabled`, and on a link or component `render` `aria-disabled="true"` with a cancelled click (a disabled link no longer navigates); their state has a new `disabled` field. `Form.Submit` with a host element that is not a `<button>` or `<input>` (`render={<a />}`) renders `aria-disabled` with a cancelled click instead of a meaningless `disabled` attribute.
33
+ - `Form.Root` passes the rejection of a submission that a later one superseded, or of one that settles after the form unmounted or was hidden, to `reportError` (a window `error` event) instead of dropping it. The latest submission's rejection still reaches the Error Boundary.
34
+
35
+ - A popup with both a CSS exit and `transition` no longer needs the rule `html:active-view-transition .my-popup { transition: none; }` ([#147](https://github.com/uhyo/funstack-ui/issues/147); [A popup with a CSS exit and a view transition](concepts/transitions.md#css-exit)). While a view transition runs, the library turns the popup's CSS transitions off for the moment of its own show or hide, with an inline `transition: none !important` that it removes right after. The rule is not needed: remove it. Keeping it breaks nothing, but an unrelated view transition of the page then still cuts a dismissal's CSS fade.
36
+
37
+ - **Breaking:** requests and facts ([#148](https://github.com/uhyo/funstack-ui/issues/148); [Requests and facts](concepts/browser-owned-state.md#requests-and-facts)). On `Popover.Root`, `Menu.Root`, `Combobox.Root` and `Dialog.Root`:
38
+
39
+ - `openChangeAction` is no longer called for a close the library did not perform on request: Escape, a click outside, focus leaving the popup, a parent menu closing its submenu, your own invoker button closing the popup, script `hidePopover()` / `close()`, and so on. These closes are [facts](concepts/action-props.md#fact), reported to the new `onOpenChange` instead. Code that checks `reason === "dismiss"` inside `openChangeAction` must move to `onOpenChange`.
40
+ - A controlled Root needs `onOpenChange` as well: `open={open} openChangeAction={setOpen} onOpenChange={setOpen}`. Without it the popup re-opens after every dismissal (development warns); a Menu re-opened this way leaves focus where the dismissal put it ([#155](https://github.com/uhyo/funstack-ui/issues/155)).
41
+ - `onOpenChange` must set state directly, not in `startTransition` and not after an `await`.
42
+ - A dismissal is no longer pending: no `data-pending` on the Trigger, `state.pending` stays `false`, the committed state is `false` at once, and the callback is not awaited.
43
+ - A dismissal starts no view transition and carries no `fsui-<component>-close` type: `transition` on a Popup animates opens and the closes a part asks for; a dismissal is animated by CSS only.
44
+ - A controlled Root that keeps `open={true}` after a dismissal is re-opened at once, not after the callback settled.
45
+ - Errors: a failing dismissal callback no longer reaches an Error Boundary; a rejected promise returned from `onOpenChange`, or a throw, goes to `reportError`.
46
+ - A dismissal during a pending close is reported at once; a request that was in flight is superseded (its rejection goes to `reportError`). `Dialog.Root` no longer holds such a dismissal back.
47
+ - A Server Function passed to `openChangeAction` no longer hears dismissals; pass it to `onOpenChange` too.
48
+ - JS-free mode (Popover, Dialog): `onOpenChange` on the Root selects library mode.
49
+
50
+ Not changing: a popup opened before hydration is still a request, `openChangeAction(true, { reason: "platform" })`. Two closes keep `reason: "dismiss"` and stay requests to `openChangeAction`: the pointer leaving a hover-opened submenu, and lost interest while an `interestfor` open is still pending.
51
+
52
+ - **Breaking:** `toast({ closeAction })` is renamed `onClose`. It is called synchronously when the toast closes, is not awaited, no longer holds other transitions, and its rejection goes to `reportError` instead of the Error Boundary above the Viewport ([#148](https://github.com/uhyo/funstack-ui/issues/148)).
53
+
54
+ - `Combobox.Root`'s `onInputValueChange` may return a promise: the development warning is gone, and a rejection or a throw goes to `reportError`. Every `on*` handler the library defines follows that rule ([Action props](concepts/action-props.md#handlers), [#148](https://github.com/uhyo/funstack-ui/issues/148)).
55
+
56
+ - **Breaking:** a pending `Button` no longer ignores clicks or renders `aria-disabled="true"`: every click, Enter or Space runs its `action` (or submits its function `formAction`) again. Add `whilePending="ignore"` to keep the old behaviour, for a Save, Pay or Delete that must not run twice. A `Menu.Item` with `closeOnActivate={false}` and a `Toast.Action` with `closeOnSettle={false}` now run every activation too. The Close parts, a closing `Menu.Item` and a closing `Toast.Action` still ignore a second activation by default; `whilePending="run"` opts out. In `"run"` mode the runs overlap, so an older run's rejection goes to `reportError` ([#146](https://github.com/uhyo/funstack-ui/issues/146)).
57
+
58
+ - An action that rejects after its component unmounted (a `Toast.Action` whose toast was closed meanwhile, a `Menu.Item` whose menu closed) or while it is hidden (an `<Activity>`, a closed `keepMounted` overlay, a Suspense boundary showing its fallback) is passed to the global `reportError` instead of being lost ([#152](https://github.com/uhyo/funstack-ui/issues/152)).
59
+
60
+ - Resetting the form of an uncontrolled CheckboxGroup while a change is pending lands on the default even when a pending change rejects later ([#151](https://github.com/uhyo/funstack-ui/issues/151)).
61
+
62
+ - When an older action rejects after a newer one started, the rejection no longer replaces the component with the Error Boundary: it is passed to the global `reportError` (a window `error` event) and the UI keeps the newer intent. The latest action's rejection still reaches the Error Boundary ([#145](https://github.com/uhyo/funstack-ui/issues/145)).
63
+
64
+ - Uncontrolled CheckboxGroup, and ToggleGroup and Accordion without `exclusive`, no longer commit a change whose action rejected when a later change's action resolved ([#150](https://github.com/uhyo/funstack-ui/issues/150)).
65
+
66
+ - **Breaking (types):** `Combobox.Input` owns `onFocus`, which is no longer in its props type; use `onFocusCapture` to react to focus ([#132](https://github.com/uhyo/funstack-ui/issues/132)).
67
+
68
+ - A `Combobox.Trigger` that is disabled but stays focusable (a component `render` with `aria-disabled`) is no invoker, like the other overlay Triggers: it renders `aria-expanded` and no `popovertarget`, and pressing it while the listbox is shown light-dismisses it ([#132](https://github.com/uhyo/funstack-ui/issues/132)).
69
+
70
+ - A Popover opened by an `interestfor` button that is not its Trigger (Chromium) hides when interest is lost, reported as `"dismiss"` ([#127](https://github.com/uhyo/funstack-ui/issues/127)).
71
+
72
+ - Pressing a button of yours that targets an open Menu or Combobox (a [foreign invoker](concepts/browser-owned-state.md#foreign-invoker)) no longer moves focus out of it first; the button's own close is the only close ([#126](https://github.com/uhyo/funstack-ui/issues/126)).
73
+
74
+ - A foreign `popovertarget` button that closes a Popover, Menu or Combobox is reported as `"activate"` instead of `"dismiss"` ([#125](https://github.com/uhyo/funstack-ui/issues/125)).
75
+
76
+ - **Breaking:** `Popover.Trigger`, `Menu.Trigger`, `Menu.SubmenuTrigger` and `Combobox.Trigger` name their popup with `popovertarget` instead of `commandfor` + `command="toggle-popover"`, and a `<button>` Trigger renders no `aria-expanded`: every browser exposes the popup's state on it. Move CSS from `[aria-expanded="true"]` to `[data-open]` (now also written in Popover's JS-free mode), or to `:has(+ :popover-open)` on a page that never hydrates. A Trigger rendered as a link or another element through `render` keeps `aria-expanded`. Replace `[commandfor]` selectors on these Triggers with `[data-open]` or a class of your own. `commandfor`, `command`, `popoverTarget` and `popoverTargetAction` are owned by these Triggers ([#121](https://github.com/uhyo/funstack-ui/issues/121)).
77
+
78
+ - Clicking the Trigger of an open Menu or Combobox is a library-owned close on every engine: the popup stays shown with `data-pending` until `openChangeAction(false)` settles, and the exit view transition runs ([#110](https://github.com/uhyo/funstack-ui/issues/110), [#112](https://github.com/uhyo/funstack-ui/issues/112)).
79
+
80
+ - An overlay Trigger's `aria-expanded` and the Combobox input's report whether the popup is actually shown; `data-open` stays optimistic. With `defaultOpen` the server HTML has `aria-expanded="false"` until the popup is shown after hydration ([#118](https://github.com/uhyo/funstack-ui/issues/118)).
81
+
82
+ - A Trigger click on an open non-modal `lightDismiss` Dialog dismisses it on every engine ([#116](https://github.com/uhyo/funstack-ui/issues/116)).
83
+
84
+ - Popover and Menu Triggers rendered as something other than a `<button>` are no longer invokers; a development warning explains that they close through light dismiss ([#115](https://github.com/uhyo/funstack-ui/issues/115)).
85
+
86
+ - The fallback live region is removed: announcements use `ariaNotify` only ([#113](https://github.com/uhyo/funstack-ui/issues/113)).
87
+
88
+ - Combobox: a press on the input while the listbox is open no longer closes it ([#123](https://github.com/uhyo/funstack-ui/issues/123)); pressing a label while typing no longer discards or commits the typed text ([#111](https://github.com/uhyo/funstack-ui/issues/111)).
89
+
90
+ - Toast: ArrowUp and ArrowDown inside a text field in a toast move the caret instead of switching toasts ([#113](https://github.com/uhyo/funstack-ui/issues/113)).
91
+
92
+ - **Breaking:** `MenuTriggerProps` no longer accepts `onMouseDown` ([#110](https://github.com/uhyo/funstack-ui/issues/110)); `ComboboxTriggerProps` no longer accepts `commandfor` or `command` ([#112](https://github.com/uhyo/funstack-ui/issues/112)); `Combobox.Input` owns `onPointerDown` ([#123](https://github.com/uhyo/funstack-ui/issues/123)).
93
+
94
+ - CheckboxGroup compares a controlled `value` by content, so an inline array with the same items does not re-render every Item ([#108](https://github.com/uhyo/funstack-ui/issues/108)).
95
+
96
+ - Slider and NumberField: when a newer action supersedes one that then rejects, the rejection reaches the Error Boundary at once instead of waiting for the action on the other channel (step or commit) to settle ([#105](https://github.com/uhyo/funstack-ui/issues/105)).
97
+
98
+ - **Breaking:** `TabsValueChangeDetails.reason` and `AccordionValueChangeDetails.reason` are the shared `ChangeReason` type ([#102](https://github.com/uhyo/funstack-ui/issues/102)).
99
+
100
+ - **Breaking:** `Combobox.Root`'s `inputValueChangeAction` is renamed `onInputValueChange` and the type `UrgentChangeAction` is renamed `UrgentChangeHandler`; an action prop always means a transition ([#96](https://github.com/uhyo/funstack-ui/issues/96)).
101
+
102
+ - While a tooltip is showing, the next one opens at once ([#21](https://github.com/uhyo/funstack-ui/issues/21)).
103
+
104
+ - **Breaking:** `data-side` / `data-align` on Tooltip, Popover and Menu report the side the browser chose while shown, not the requested one; the `side` type gains `"inline-start"` / `"inline-end"` and `align` start / end mirror under RTL; a submenu opens on the inline-end side (the left in RTL) ([#20](https://github.com/uhyo/funstack-ui/issues/20), [#53](https://github.com/uhyo/funstack-ui/issues/53)).
105
+
106
+ - Every Menu closes on a right- or middle-click outside; a wheel over a menu never scrolls the page ([#45](https://github.com/uhyo/funstack-ui/issues/45), [#88](https://github.com/uhyo/funstack-ui/issues/88)).
107
+
108
+ - `disabled` on a link or component `render` renders `aria-disabled="true"` instead of native `disabled` on Toggle, ToggleGroup.Item, Menu.Trigger, Combobox.Trigger and Clear, NumberField.Increment and Decrement, and the Dialog and Popover Trigger and Close parts where they handle the click; a disabled link ToggleGroup.Item is reached by the arrow keys. Form.Submit keeps native `disabled` ([#83](https://github.com/uhyo/funstack-ui/issues/83); since [#157](https://github.com/uhyo/funstack-ui/issues/157) except on a host element that is not a `<button>` or `<input>`).
109
+
110
+ - `Dialog.Close`, `Popover.Close`, `Menu.Item` and `Toast.Action` ignore a second click while their own action is pending, with `aria-disabled` meanwhile; before, a second click ran the action again ([#81](https://github.com/uhyo/funstack-ui/issues/81)).
111
+
112
+ - **Breaking:** `Toolbar.Button` is removed; use [Button](components/button.md), which behaves the same inside a toolbar ([#79](https://github.com/uhyo/funstack-ui/issues/79)).
113
+
114
+ ## Done
115
+
116
+ - Library-wide API conventions: action props, pending and optimistic state, Suspense, ViewTransition, composition.
117
+ - [Toggle](components/toggle.md), [Tabs](components/tabs.md), [Accordion](components/accordion.md) and [Tooltip](components/tooltip.md): the first four primitives.
118
+ - [Dialog](components/dialog.md), [Switch](components/switch.md), [Checkbox](components/checkbox.md) and [RadioGroup](components/radio-group.md), with the shared form-reset and hydration handling.
119
+ - Browser-mode tests (Playwright) in Chromium, Firefox and WebKit for Popover, anchor positioning, `<dialog>`, native inputs and ViewTransition.
120
+ - A conditional `<ViewTransition>` boundary ([#35](https://github.com/uhyo/funstack-ui/issues/35)).
121
+ - The first npm release, `0.1.0-alpha.0` (dist-tag `alpha`).
122
+ - [CheckboxGroup](components/checkbox-group.md) ([#33](https://github.com/uhyo/funstack-ui/issues/33)).
123
+ - [Popover](components/popover.md) ([#38](https://github.com/uhyo/funstack-ui/issues/38), [#40](https://github.com/uhyo/funstack-ui/issues/40)).
124
+ - [Menu](components/menu.md) ([#39](https://github.com/uhyo/funstack-ui/issues/39), [#41](https://github.com/uhyo/funstack-ui/issues/41), [#47](https://github.com/uhyo/funstack-ui/issues/47)).
125
+ - [Select](components/select.md) and [Combobox](components/combobox.md), the library's first urgent state, `onInputValueChange` ([#50](https://github.com/uhyo/funstack-ui/issues/50)).
126
+ - [Toast](components/toast.md), [Slider](components/slider.md) and [Field and Form](components/field.md) ([#54](https://github.com/uhyo/funstack-ui/issues/54)).
127
+ - [Progress](components/progress.md) and [Meter](components/meter.md), the first output-only components ([#68](https://github.com/uhyo/funstack-ui/issues/68)).
128
+ - [ToggleGroup](components/toggle-group.md) and [Toolbar](components/toolbar.md) ([#66](https://github.com/uhyo/funstack-ui/issues/66)).
129
+ - [NumberField](components/number-field.md) ([#67](https://github.com/uhyo/funstack-ui/issues/67)).
130
+ - [Button](components/button.md) ([#79](https://github.com/uhyo/funstack-ui/issues/79)), and re-entry handling for every pure trigger ([#81](https://github.com/uhyo/funstack-ui/issues/81), [#83](https://github.com/uhyo/funstack-ui/issues/83)).
131
+ - [Context menu](components/context-menu.md): `Menu.ContextTrigger`, press-drag-release, touch long-press and the library's first shipped (positioning-only) CSS ([#45](https://github.com/uhyo/funstack-ui/issues/45), [#88](https://github.com/uhyo/funstack-ui/issues/88)). Touch is verified under Chromium's emulation; iOS and Android pending ([#90](https://github.com/uhyo/funstack-ui/issues/90)).
132
+ - Resolved placement (`data-side` is where the popup is), [Tooltip.Arrow](components/tooltip.md#arrow), logical sides and RTL ([#20](https://github.com/uhyo/funstack-ui/issues/20), [#53](https://github.com/uhyo/funstack-ui/issues/53), [#88](https://github.com/uhyo/funstack-ui/issues/88)). Firefox misplaces anchored popups in a direction island ([#89](https://github.com/uhyo/funstack-ui/issues/89)).
133
+ - [Tooltip skip-delay](components/tooltip.md#skip-delay) ([#21](https://github.com/uhyo/funstack-ui/issues/21)).
134
+ - [Content Security Policy](concepts/content-security-policy.md): `STYLE_SHA256` and `<CSPProvider nonce>` ([#88](https://github.com/uhyo/funstack-ui/issues/88)).
135
+ - Directive-free variants of platform-native parts: considered and not built ([#19](https://github.com/uhyo/funstack-ui/issues/19)); [Server Components](concepts/server-components.md#js-free) defines "JS-free" and the form-control pages show the plain HTML alternative.
136
+
137
+ ## Next
138
+
139
+ - More components toward a full set.
140
+
141
+ ## Deferred
142
+
143
+ - A directive-free Accordion (`@funstack/ui/accordion/native`): a ready plan, not scheduled ([#19](https://github.com/uhyo/funstack-ui/issues/19)).
144
+
145
+ ## Upstream
146
+
147
+ - react-dom renders `hidden="until-found"` as a boolean ([#16](https://github.com/uhyo/funstack-ui/issues/16)).
148
+ - Chromium does not match `:checked` on a checkbox that is both checked and indeterminate; jsdom toggles instead of restoring a checkbox after a cancelled click ([#34](https://github.com/uhyo/funstack-ui/issues/34)).
149
+
150
+ Ideas and bug reports are welcome as [new issues](https://github.com/uhyo/funstack-ui/issues/new).