@fragiola/primitives-react 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (579) hide show
  1. package/CHANGELOG.md +67 -0
  2. package/LICENSE +21 -0
  3. package/README.md +38 -2
  4. package/dist/accordion--E-5hjWo.js +210 -0
  5. package/dist/accordion--E-5hjWo.js.map +1 -0
  6. package/dist/accordion.d.ts +4 -0
  7. package/dist/accordion.js +1 -0
  8. package/dist/alert-dialog-7FIAj98B.js +37 -0
  9. package/dist/alert-dialog-7FIAj98B.js.map +1 -0
  10. package/dist/alert-dialog.d.ts +9 -0
  11. package/dist/alert-dialog.js +1 -0
  12. package/dist/aspect-ratio-CUADsevg.js +19 -0
  13. package/dist/aspect-ratio-CUADsevg.js.map +1 -0
  14. package/dist/aspect-ratio.d.ts +3 -0
  15. package/dist/aspect-ratio.js +1 -0
  16. package/dist/async-list-7ljWFMgA.js +35 -0
  17. package/dist/async-list-7ljWFMgA.js.map +1 -0
  18. package/dist/async-list.d.ts +2 -0
  19. package/dist/async-list.js +1 -0
  20. package/dist/autocomplete-virtual-BE8dDDgU.js +56 -0
  21. package/dist/autocomplete-virtual-BE8dDDgU.js.map +1 -0
  22. package/dist/autocomplete-virtual.d.ts +4 -0
  23. package/dist/autocomplete-virtual.js +3 -0
  24. package/dist/autocomplete.d.ts +9 -0
  25. package/dist/autocomplete.js +1 -0
  26. package/dist/avatar-CABjoLs9.js +101 -0
  27. package/dist/avatar-CABjoLs9.js.map +1 -0
  28. package/dist/avatar.d.ts +3 -0
  29. package/dist/avatar.js +1 -0
  30. package/dist/breadcrumbs-nG0Rq3kX.js +69 -0
  31. package/dist/breadcrumbs-nG0Rq3kX.js.map +1 -0
  32. package/dist/breadcrumbs.d.ts +3 -0
  33. package/dist/breadcrumbs.js +1 -0
  34. package/dist/button-B6h8UkhR.js +30 -0
  35. package/dist/button-B6h8UkhR.js.map +1 -0
  36. package/dist/button-props-DWfy1ZSo.js +69 -0
  37. package/dist/button-props-DWfy1ZSo.js.map +1 -0
  38. package/dist/button.d.ts +3 -0
  39. package/dist/button.js +1 -0
  40. package/dist/calendar-preset-Cs-hy-_0.js +70 -0
  41. package/dist/calendar-preset-Cs-hy-_0.js.map +1 -0
  42. package/dist/calendar-preset.d.ts +4 -0
  43. package/dist/calendar-preset.js +3 -0
  44. package/dist/calendar-root-base-CIkiSebb.js +515 -0
  45. package/dist/calendar-root-base-CIkiSebb.js.map +1 -0
  46. package/dist/calendar-row-BO5kyOgq.d.ts +84 -0
  47. package/dist/calendar-value-DCOjO7og.d.ts +23 -0
  48. package/dist/calendar-view-DT9i5Xg_.js +157 -0
  49. package/dist/calendar-view-DT9i5Xg_.js.map +1 -0
  50. package/dist/calendar-view.d.ts +6 -0
  51. package/dist/calendar-view.js +4 -0
  52. package/dist/calendar.d.ts +7 -0
  53. package/dist/calendar.js +1 -0
  54. package/dist/carousel-ClQsQ135.js +436 -0
  55. package/dist/carousel-ClQsQ135.js.map +1 -0
  56. package/dist/carousel.d.ts +4 -0
  57. package/dist/carousel.js +1 -0
  58. package/dist/cascade-select-DZlpKUok.js +582 -0
  59. package/dist/cascade-select-DZlpKUok.js.map +1 -0
  60. package/dist/cascade-select.d.ts +7 -0
  61. package/dist/cascade-select.js +1 -0
  62. package/dist/change-details-CPSkPCNw.d.ts +32 -0
  63. package/dist/checkbox-CbmkKNfv.js +165 -0
  64. package/dist/checkbox-CbmkKNfv.js.map +1 -0
  65. package/dist/checkbox-group-_UrFCUgQ.js +99 -0
  66. package/dist/checkbox-group-_UrFCUgQ.js.map +1 -0
  67. package/dist/checkbox-group-context-CoGqgxBM.js +6 -0
  68. package/dist/checkbox-group-context-CoGqgxBM.js.map +1 -0
  69. package/dist/checkbox-group.d.ts +4 -0
  70. package/dist/checkbox-group.js +1 -0
  71. package/dist/checkbox.d.ts +4 -0
  72. package/dist/checkbox.js +1 -0
  73. package/dist/clipboard-CvgO1qhh.js +189 -0
  74. package/dist/clipboard-CvgO1qhh.js.map +1 -0
  75. package/dist/clipboard.d.ts +4 -0
  76. package/dist/clipboard.js +1 -0
  77. package/dist/collapsible-Dh0TUP6l.js +112 -0
  78. package/dist/collapsible-Dh0TUP6l.js.map +1 -0
  79. package/dist/collapsible.d.ts +4 -0
  80. package/dist/collapsible.js +1 -0
  81. package/dist/color-area-BGo6tZxX.js +311 -0
  82. package/dist/color-area-BGo6tZxX.js.map +1 -0
  83. package/dist/color-area.d.ts +4 -0
  84. package/dist/color-area.js +1 -0
  85. package/dist/color-field-B9QEKyQ1.js +334 -0
  86. package/dist/color-field-B9QEKyQ1.js.map +1 -0
  87. package/dist/color-field.d.ts +4 -0
  88. package/dist/color-field.js +1 -0
  89. package/dist/color-picker-BNOtqWUK.js +276 -0
  90. package/dist/color-picker-BNOtqWUK.js.map +1 -0
  91. package/dist/color-picker-binding-D9xBS_my.js +6 -0
  92. package/dist/color-picker-binding-D9xBS_my.js.map +1 -0
  93. package/dist/color-picker-popover-CV_wP6KG.js +195 -0
  94. package/dist/color-picker-popover-CV_wP6KG.js.map +1 -0
  95. package/dist/color-picker-popover.d.ts +7 -0
  96. package/dist/color-picker-popover.js +1 -0
  97. package/dist/color-picker.d.ts +4 -0
  98. package/dist/color-picker.js +1 -0
  99. package/dist/color-slider-Bw940FJr.js +357 -0
  100. package/dist/color-slider-Bw940FJr.js.map +1 -0
  101. package/dist/color-slider.d.ts +4 -0
  102. package/dist/color-slider.js +1 -0
  103. package/dist/color-swatch-C9ws0xF4.js +37 -0
  104. package/dist/color-swatch-C9ws0xF4.js.map +1 -0
  105. package/dist/color-swatch-picker-CnmTr1SY.js +286 -0
  106. package/dist/color-swatch-picker-CnmTr1SY.js.map +1 -0
  107. package/dist/color-swatch-picker.d.ts +4 -0
  108. package/dist/color-swatch-picker.js +1 -0
  109. package/dist/color-swatch.d.ts +3 -0
  110. package/dist/color-swatch.js +1 -0
  111. package/dist/color-wheel--n8w5fIJ.js +247 -0
  112. package/dist/color-wheel--n8w5fIJ.js.map +1 -0
  113. package/dist/color-wheel.d.ts +4 -0
  114. package/dist/color-wheel.js +1 -0
  115. package/dist/combobox-virtual-BI-l10BE.js +61 -0
  116. package/dist/combobox-virtual-BI-l10BE.js.map +1 -0
  117. package/dist/combobox-virtual.d.ts +4 -0
  118. package/dist/combobox-virtual.js +3 -0
  119. package/dist/combobox.d.ts +9 -0
  120. package/dist/combobox.js +1 -0
  121. package/dist/command-virtual-CxNLxsih.js +56 -0
  122. package/dist/command-virtual-CxNLxsih.js.map +1 -0
  123. package/dist/command-virtual.d.ts +4 -0
  124. package/dist/command-virtual.js +3 -0
  125. package/dist/command.d.ts +5 -0
  126. package/dist/command.js +1 -0
  127. package/dist/context-menu-DGj2L-Sv.js +131 -0
  128. package/dist/context-menu-DGj2L-Sv.js.map +1 -0
  129. package/dist/context-menu.d.ts +8 -0
  130. package/dist/context-menu.js +1 -0
  131. package/dist/date-field-C1nhThPd.js +33 -0
  132. package/dist/date-field-C1nhThPd.js.map +1 -0
  133. package/dist/date-field-root-CzSo5iKL.d.ts +26 -0
  134. package/dist/date-field-root-base-B-050SUC.js +185 -0
  135. package/dist/date-field-root-base-B-050SUC.js.map +1 -0
  136. package/dist/date-field-segment-BoS-ohDh.d.ts +67 -0
  137. package/dist/date-field.d.ts +6 -0
  138. package/dist/date-field.js +1 -0
  139. package/dist/date-picker-input-BCaKff7A.js +29 -0
  140. package/dist/date-picker-input-BCaKff7A.js.map +1 -0
  141. package/dist/date-picker-input-root-base-Cc3mE-NR.d.ts +17 -0
  142. package/dist/date-picker-input-root-base-D4VaBnpf.js +361 -0
  143. package/dist/date-picker-input-root-base-D4VaBnpf.js.map +1 -0
  144. package/dist/date-picker-input.d.ts +7 -0
  145. package/dist/date-picker-input.js +3 -0
  146. package/dist/date-picker-trigger-BKPvZbRg.js +304 -0
  147. package/dist/date-picker-trigger-BKPvZbRg.js.map +1 -0
  148. package/dist/date-picker-trigger-DHsAhBf2.d.ts +51 -0
  149. package/dist/date-picker.d.ts +11 -0
  150. package/dist/date-picker.js +1 -0
  151. package/dist/date-range-field-C-ID01oa.js +34 -0
  152. package/dist/date-range-field-C-ID01oa.js.map +1 -0
  153. package/dist/date-range-field-input-BkLpldTx.js +33 -0
  154. package/dist/date-range-field-input-BkLpldTx.js.map +1 -0
  155. package/dist/date-range-field-input-BwCNo15l.d.ts +13 -0
  156. package/dist/date-range-field-root-CmZ3c7xn.d.ts +31 -0
  157. package/dist/date-range-field-root-base-DWH3nqmz.d.ts +23 -0
  158. package/dist/date-range-field-root-base-z8S5aSCs.js +261 -0
  159. package/dist/date-range-field-root-base-z8S5aSCs.js.map +1 -0
  160. package/dist/date-range-field.d.ts +9 -0
  161. package/dist/date-range-field.js +1 -0
  162. package/dist/date-range-picker-input-DlIdTD-J.js +30 -0
  163. package/dist/date-range-picker-input-DlIdTD-J.js.map +1 -0
  164. package/dist/date-range-picker-input.d.ts +10 -0
  165. package/dist/date-range-picker-input.js +3 -0
  166. package/dist/date-range-picker.d.ts +11 -0
  167. package/dist/date-range-picker.js +1 -0
  168. package/dist/dialog-DDE15qBB.js +33 -0
  169. package/dist/dialog-DDE15qBB.js.map +1 -0
  170. package/dist/dialog-root-base-DDMrqDC9.js +328 -0
  171. package/dist/dialog-root-base-DDMrqDC9.js.map +1 -0
  172. package/dist/dialog-title-BitK2i0A.d.ts +78 -0
  173. package/dist/dialog.d.ts +9 -0
  174. package/dist/dialog.js +1 -0
  175. package/dist/direction-BfW1BOg1.js +22 -0
  176. package/dist/direction-BfW1BOg1.js.map +1 -0
  177. package/dist/direction-context-CiRdNJmu.js +11 -0
  178. package/dist/direction-context-CiRdNJmu.js.map +1 -0
  179. package/dist/direction.d.ts +2 -0
  180. package/dist/direction.js +1 -0
  181. package/dist/drawer-CaPOhMl-.js +302 -0
  182. package/dist/drawer-CaPOhMl-.js.map +1 -0
  183. package/dist/drawer.d.ts +9 -0
  184. package/dist/drawer.js +1 -0
  185. package/dist/drop-zone-q0-5u2cs.js +86 -0
  186. package/dist/drop-zone-q0-5u2cs.js.map +1 -0
  187. package/dist/drop-zone.d.ts +4 -0
  188. package/dist/drop-zone.js +1 -0
  189. package/dist/editable-vU6vYZOD.js +403 -0
  190. package/dist/editable-vU6vYZOD.js.map +1 -0
  191. package/dist/editable.d.ts +4 -0
  192. package/dist/editable.js +1 -0
  193. package/dist/field-DibhXWF6.js +308 -0
  194. package/dist/field-DibhXWF6.js.map +1 -0
  195. package/dist/field.d.ts +4 -0
  196. package/dist/field.js +1 -0
  197. package/dist/fieldset-Cz80P2jc.js +53 -0
  198. package/dist/fieldset-Cz80P2jc.js.map +1 -0
  199. package/dist/fieldset-context-CeaxEBvi.js +6 -0
  200. package/dist/fieldset-context-CeaxEBvi.js.map +1 -0
  201. package/dist/fieldset.d.ts +3 -0
  202. package/dist/fieldset.js +1 -0
  203. package/dist/file-upload-BIRibICU.js +513 -0
  204. package/dist/file-upload-BIRibICU.js.map +1 -0
  205. package/dist/file-upload.d.ts +4 -0
  206. package/dist/file-upload.js +1 -0
  207. package/dist/form-DNAaFPpL.js +87 -0
  208. package/dist/form-DNAaFPpL.js.map +1 -0
  209. package/dist/form-context-BW-nK6kl.js +6 -0
  210. package/dist/form-context-BW-nK6kl.js.map +1 -0
  211. package/dist/form.d.ts +3 -0
  212. package/dist/form.js +1 -0
  213. package/dist/hover-card-CRDpA_zU.js +317 -0
  214. package/dist/hover-card-CRDpA_zU.js.map +1 -0
  215. package/dist/hover-card.d.ts +9 -0
  216. package/dist/hover-card.js +1 -0
  217. package/dist/index-0bXL0iXX.d.ts +25 -0
  218. package/dist/index-6f2s5HfF.d.ts +30 -0
  219. package/dist/index-9WYWziGt.d.ts +42 -0
  220. package/dist/index-B57uQVXT.d.ts +100 -0
  221. package/dist/index-BA629roy.d.ts +52 -0
  222. package/dist/index-BC5bS-vC.d.ts +30 -0
  223. package/dist/index-BDbTYsJR.d.ts +77 -0
  224. package/dist/index-BEaxabvv.d.ts +80 -0
  225. package/dist/index-BLRo_PJD.d.ts +58 -0
  226. package/dist/index-BMt816ZL.d.ts +51 -0
  227. package/dist/index-BQJrDd_G.d.ts +108 -0
  228. package/dist/index-BUJIeLCT.d.ts +37 -0
  229. package/dist/index-BZxd4oqB.d.ts +111 -0
  230. package/dist/index-B_JVgpGe.d.ts +13 -0
  231. package/dist/index-BdxleDV0.d.ts +104 -0
  232. package/dist/index-Be4w9GAc.d.ts +13 -0
  233. package/dist/index-Bht8ohW3.d.ts +31 -0
  234. package/dist/index-Bk1NBvxD.d.ts +75 -0
  235. package/dist/index-BmtcAsQr.d.ts +44 -0
  236. package/dist/index-BmuEv-h3.d.ts +35 -0
  237. package/dist/index-BnPLIkKG.d.ts +31 -0
  238. package/dist/index-BoJU86K5.d.ts +52 -0
  239. package/dist/index-Bq6yByLv.d.ts +50 -0
  240. package/dist/index-Bqt2th2p.d.ts +41 -0
  241. package/dist/index-BrXfSGo2.d.ts +51 -0
  242. package/dist/index-BsvcTJ_x.d.ts +17 -0
  243. package/dist/index-BxcCz-NS.d.ts +36 -0
  244. package/dist/index-C3y4g2fs.d.ts +21 -0
  245. package/dist/index-C8-b81Jh.d.ts +20 -0
  246. package/dist/index-C8KLM25T.d.ts +31 -0
  247. package/dist/index-C9TSddnB.d.ts +140 -0
  248. package/dist/index-CCnaczzE.d.ts +32 -0
  249. package/dist/index-CD6hgnl1.d.ts +86 -0
  250. package/dist/index-CEN3o4Pw.d.ts +35 -0
  251. package/dist/index-CFlhfs3y.d.ts +30 -0
  252. package/dist/index-CIQU06ga.d.ts +36 -0
  253. package/dist/index-CNUEsZ_M.d.ts +51 -0
  254. package/dist/index-CNYBtgVC.d.ts +53 -0
  255. package/dist/index-CQJHcuzo.d.ts +76 -0
  256. package/dist/index-CTw9ONha.d.ts +69 -0
  257. package/dist/index-CU9QnAha.d.ts +32 -0
  258. package/dist/index-CcwKZWPY.d.ts +92 -0
  259. package/dist/index-Cjl7RT2o.d.ts +17 -0
  260. package/dist/index-ClfKp-sZ.d.ts +21 -0
  261. package/dist/index-CqGIxPDB.d.ts +82 -0
  262. package/dist/index-CsXJJ0G8.d.ts +41 -0
  263. package/dist/index-Cyjcq7lp.d.ts +28 -0
  264. package/dist/index-CzB9dDcM.d.ts +22 -0
  265. package/dist/index-D1-zqp2Q.d.ts +44 -0
  266. package/dist/index-D59OFWyx.d.ts +53 -0
  267. package/dist/index-D9lx4wAU.d.ts +21 -0
  268. package/dist/index-DHrnPQEE.d.ts +128 -0
  269. package/dist/index-DHwyHITu.d.ts +131 -0
  270. package/dist/index-DQ68aV2P.d.ts +21 -0
  271. package/dist/index-DQAkgf9_.d.ts +14 -0
  272. package/dist/index-DRow1231.d.ts +31 -0
  273. package/dist/index-DTGZeJU7.d.ts +29 -0
  274. package/dist/index-DU7jtvI8.d.ts +24 -0
  275. package/dist/index-DVjhOpXu.d.ts +42 -0
  276. package/dist/index-DZoqbcd6.d.ts +26 -0
  277. package/dist/index-Da0eVQHO.d.ts +62 -0
  278. package/dist/index-DhNPJa6U.d.ts +31 -0
  279. package/dist/index-DnQAamhU.d.ts +27 -0
  280. package/dist/index-DoFrs7Az.d.ts +16 -0
  281. package/dist/index-DorcIjVk.d.ts +20 -0
  282. package/dist/index-Dx-yMTdt.d.ts +81 -0
  283. package/dist/index-J4LbimqY.d.ts +79 -0
  284. package/dist/index-L6Mp2njJ.d.ts +81 -0
  285. package/dist/index-OmXQjsNi.d.ts +37 -0
  286. package/dist/index-PpCPWRbt.d.ts +30 -0
  287. package/dist/index-Pq-ztBxR.d.ts +34 -0
  288. package/dist/index-Qgz-Dnsj.d.ts +73 -0
  289. package/dist/index-R3h8-VcD.d.ts +32 -0
  290. package/dist/index-WtAHbmtb.d.ts +88 -0
  291. package/dist/index-dKoYaA3K.d.ts +38 -0
  292. package/dist/index-fgqEotIa.d.ts +16 -0
  293. package/dist/index-gvpnQy8T.d.ts +87 -0
  294. package/dist/index-kY3Yo50q.d.ts +68 -0
  295. package/dist/index-ndFpL4W9.d.ts +15 -0
  296. package/dist/index-oLgwTyCz.d.ts +45 -0
  297. package/dist/index-pSrGVYre.d.ts +40 -0
  298. package/dist/index-t4CBZJDG.d.ts +65 -0
  299. package/dist/index-wC8PY0fW.d.ts +16 -0
  300. package/dist/index-wv0Lafz4.d.ts +46 -0
  301. package/dist/index-zEeZUMLc.d.ts +29 -0
  302. package/dist/index.d.ts +125 -0
  303. package/dist/index.js +104 -0
  304. package/dist/label-DN9tJMXl.js +24 -0
  305. package/dist/label-DN9tJMXl.js.map +1 -0
  306. package/dist/label.d.ts +3 -0
  307. package/dist/label.js +1 -0
  308. package/dist/link-D3xYrfPK.js +22 -0
  309. package/dist/link-D3xYrfPK.js.map +1 -0
  310. package/dist/link-props-Shu8RU_5.js +27 -0
  311. package/dist/link-props-Shu8RU_5.js.map +1 -0
  312. package/dist/link.d.ts +3 -0
  313. package/dist/link.js +1 -0
  314. package/dist/listbox-virtual-C4wz3TOa.js +281 -0
  315. package/dist/listbox-virtual-C4wz3TOa.js.map +1 -0
  316. package/dist/listbox-virtual.d.ts +6 -0
  317. package/dist/listbox-virtual.js +3 -0
  318. package/dist/listbox.d.ts +5 -0
  319. package/dist/listbox.js +1 -0
  320. package/dist/live-region-style-Xgiu9ttw.js +48 -0
  321. package/dist/live-region-style-Xgiu9ttw.js.map +1 -0
  322. package/dist/menu-bar-context-1duNlOWo.js +14 -0
  323. package/dist/menu-bar-context-1duNlOWo.js.map +1 -0
  324. package/dist/menu-oZj27rvf.js +123 -0
  325. package/dist/menu-oZj27rvf.js.map +1 -0
  326. package/dist/menu-separator-CzAc4jM8.d.ts +143 -0
  327. package/dist/menu-submenu-trigger-BykOQORL.js +672 -0
  328. package/dist/menu-submenu-trigger-BykOQORL.js.map +1 -0
  329. package/dist/menu.d.ts +10 -0
  330. package/dist/menu.js +1 -0
  331. package/dist/menubar-wjJF54GJ.js +213 -0
  332. package/dist/menubar-wjJF54GJ.js.map +1 -0
  333. package/dist/menubar.d.ts +3 -0
  334. package/dist/menubar.js +1 -0
  335. package/dist/meter-11PgO99t.js +120 -0
  336. package/dist/meter-11PgO99t.js.map +1 -0
  337. package/dist/meter.d.ts +3 -0
  338. package/dist/meter.js +1 -0
  339. package/dist/month-calendar-value-CNJcsqcv.d.ts +5 -0
  340. package/dist/month-calendar-value-D_au-Kbz.js +35 -0
  341. package/dist/month-calendar-value-D_au-Kbz.js.map +1 -0
  342. package/dist/month-calendar.d.ts +6 -0
  343. package/dist/month-calendar.js +1 -0
  344. package/dist/month-picker-DFjFvjo9.js +26 -0
  345. package/dist/month-picker-DFjFvjo9.js.map +1 -0
  346. package/dist/month-picker-root-base-CI7jcllI.js +162 -0
  347. package/dist/month-picker-root-base-CI7jcllI.js.map +1 -0
  348. package/dist/month-picker-root-base-SELhczoy.d.ts +28 -0
  349. package/dist/month-picker.d.ts +10 -0
  350. package/dist/month-picker.js +3 -0
  351. package/dist/month-range-calendar-BmnWB6OD.js +28 -0
  352. package/dist/month-range-calendar-BmnWB6OD.js.map +1 -0
  353. package/dist/month-range-calendar.d.ts +6 -0
  354. package/dist/month-range-calendar.js +3 -0
  355. package/dist/month-range-picker-TfMtxi2X.js +26 -0
  356. package/dist/month-range-picker-TfMtxi2X.js.map +1 -0
  357. package/dist/month-range-picker.d.ts +10 -0
  358. package/dist/month-range-picker.js +3 -0
  359. package/dist/multiple-calendar-EBsuTzYQ.js +133 -0
  360. package/dist/multiple-calendar-EBsuTzYQ.js.map +1 -0
  361. package/dist/multiple-calendar.d.ts +7 -0
  362. package/dist/multiple-calendar.js +3 -0
  363. package/dist/navigation-menu-82shSjXS.js +660 -0
  364. package/dist/navigation-menu-82shSjXS.js.map +1 -0
  365. package/dist/navigation-menu.d.ts +5 -0
  366. package/dist/navigation-menu.js +1 -0
  367. package/dist/number-field-BUNkL15K.js +491 -0
  368. package/dist/number-field-BUNkL15K.js.map +1 -0
  369. package/dist/number-field.d.ts +4 -0
  370. package/dist/number-field.js +1 -0
  371. package/dist/otp-field-BMKBhv0O.js +363 -0
  372. package/dist/otp-field-BMKBhv0O.js.map +1 -0
  373. package/dist/otp-field.d.ts +4 -0
  374. package/dist/otp-field.js +1 -0
  375. package/dist/overlay-handle-DOyqO4oY.js +62 -0
  376. package/dist/overlay-handle-DOyqO4oY.js.map +1 -0
  377. package/dist/overlay-handle-DzzlzKqP.d.ts +16 -0
  378. package/dist/pagination-CMWaQSpr.js +173 -0
  379. package/dist/pagination-CMWaQSpr.js.map +1 -0
  380. package/dist/pagination.d.ts +4 -0
  381. package/dist/pagination.js +1 -0
  382. package/dist/parts-B2E7RN77.d.ts +170 -0
  383. package/dist/parts-BHkvkEgf.js +485 -0
  384. package/dist/parts-BHkvkEgf.js.map +1 -0
  385. package/dist/parts-BJ94V7Kv.d.ts +24 -0
  386. package/dist/parts-BL0sXepP.d.ts +101 -0
  387. package/dist/parts-BjC20sfl.d.ts +19 -0
  388. package/dist/parts-BnbJ2FWv.d.ts +81 -0
  389. package/dist/parts-C688_OLH.js +24 -0
  390. package/dist/parts-C688_OLH.js.map +1 -0
  391. package/dist/parts-C81p8gpg.d.ts +147 -0
  392. package/dist/parts-CDVlldST.js +721 -0
  393. package/dist/parts-CDVlldST.js.map +1 -0
  394. package/dist/parts-CNp1lOIU.js +24 -0
  395. package/dist/parts-CNp1lOIU.js.map +1 -0
  396. package/dist/parts-CXjEfLf7.d.ts +125 -0
  397. package/dist/parts-CrriPiIL.js +29 -0
  398. package/dist/parts-CrriPiIL.js.map +1 -0
  399. package/dist/parts-DVNSEjIO.d.ts +19 -0
  400. package/dist/parts-DmQ9WqOP.js +512 -0
  401. package/dist/parts-DmQ9WqOP.js.map +1 -0
  402. package/dist/parts-DoQQN1Io.d.ts +96 -0
  403. package/dist/parts-VT0Ohb06.js +806 -0
  404. package/dist/parts-VT0Ohb06.js.map +1 -0
  405. package/dist/parts-XRa0gd47.js +350 -0
  406. package/dist/parts-XRa0gd47.js.map +1 -0
  407. package/dist/parts-_ZriSS4p.js +376 -0
  408. package/dist/parts-_ZriSS4p.js.map +1 -0
  409. package/dist/password-input-BQAySlmc.js +212 -0
  410. package/dist/password-input-BQAySlmc.js.map +1 -0
  411. package/dist/password-input.d.ts +4 -0
  412. package/dist/password-input.js +1 -0
  413. package/dist/picker-binding-context-7ci59zS0.js +22 -0
  414. package/dist/picker-binding-context-7ci59zS0.js.map +1 -0
  415. package/dist/popover-C5UaRJpT.js +295 -0
  416. package/dist/popover-C5UaRJpT.js.map +1 -0
  417. package/dist/popover.d.ts +9 -0
  418. package/dist/popover.js +1 -0
  419. package/dist/progress-2d64jFqb.js +141 -0
  420. package/dist/progress-2d64jFqb.js.map +1 -0
  421. package/dist/progress.d.ts +3 -0
  422. package/dist/progress.js +1 -0
  423. package/dist/radio-Mvw36nnF.js +128 -0
  424. package/dist/radio-Mvw36nnF.js.map +1 -0
  425. package/dist/radio-group-D7DchtVK.js +149 -0
  426. package/dist/radio-group-D7DchtVK.js.map +1 -0
  427. package/dist/radio-group-context-DRe2PyiF.js +6 -0
  428. package/dist/radio-group-context-DRe2PyiF.js.map +1 -0
  429. package/dist/radio-group.d.ts +4 -0
  430. package/dist/radio-group.js +1 -0
  431. package/dist/radio.d.ts +3 -0
  432. package/dist/radio.js +1 -0
  433. package/dist/range-calendar-BMxPzzAr.js +32 -0
  434. package/dist/range-calendar-BMxPzzAr.js.map +1 -0
  435. package/dist/range-calendar.d.ts +6 -0
  436. package/dist/range-calendar.js +1 -0
  437. package/dist/rating-DQdIL_nz.js +303 -0
  438. package/dist/rating-DQdIL_nz.js.map +1 -0
  439. package/dist/rating.d.ts +4 -0
  440. package/dist/rating.js +1 -0
  441. package/dist/render-C7XnxB7f.js +40 -0
  442. package/dist/render-C7XnxB7f.js.map +1 -0
  443. package/dist/render-element-DXbUbfgN.js +66 -0
  444. package/dist/render-element-DXbUbfgN.js.map +1 -0
  445. package/dist/render-element-Pwuv2wsL.d.ts +13 -0
  446. package/dist/render.d.ts +3 -0
  447. package/dist/render.js +1 -0
  448. package/dist/roving-context-BVp0I9UN.js +16 -0
  449. package/dist/roving-context-BVp0I9UN.js.map +1 -0
  450. package/dist/scroll-area-CGaVLKik.js +274 -0
  451. package/dist/scroll-area-CGaVLKik.js.map +1 -0
  452. package/dist/scroll-area.d.ts +3 -0
  453. package/dist/scroll-area.js +1 -0
  454. package/dist/search-field-DqGQt6pC.js +207 -0
  455. package/dist/search-field-DqGQt6pC.js.map +1 -0
  456. package/dist/search-field.d.ts +4 -0
  457. package/dist/search-field.js +1 -0
  458. package/dist/segmented-control-BYrnLASo.js +316 -0
  459. package/dist/segmented-control-BYrnLASo.js.map +1 -0
  460. package/dist/segmented-control.d.ts +4 -0
  461. package/dist/segmented-control.js +1 -0
  462. package/dist/select-virtual-9vDaEiye.js +55 -0
  463. package/dist/select-virtual-9vDaEiye.js.map +1 -0
  464. package/dist/select-virtual.d.ts +4 -0
  465. package/dist/select-virtual.js +3 -0
  466. package/dist/select.d.ts +8 -0
  467. package/dist/select.js +1 -0
  468. package/dist/separator-ChAJks2Q.js +18 -0
  469. package/dist/separator-ChAJks2Q.js.map +1 -0
  470. package/dist/separator.d.ts +3 -0
  471. package/dist/separator.js +1 -0
  472. package/dist/slider-DZiqQ18C.js +437 -0
  473. package/dist/slider-DZiqQ18C.js.map +1 -0
  474. package/dist/slider.d.ts +4 -0
  475. package/dist/slider.js +1 -0
  476. package/dist/state-attributes-DhboDeMS.js +14 -0
  477. package/dist/state-attributes-DhboDeMS.js.map +1 -0
  478. package/dist/steps-t_FxFH9P.js +251 -0
  479. package/dist/steps-t_FxFH9P.js.map +1 -0
  480. package/dist/steps.d.ts +4 -0
  481. package/dist/steps.js +1 -0
  482. package/dist/switch-D3zj8gtg.js +137 -0
  483. package/dist/switch-D3zj8gtg.js.map +1 -0
  484. package/dist/switch.d.ts +4 -0
  485. package/dist/switch.js +1 -0
  486. package/dist/tabs-o83wz1hF.js +285 -0
  487. package/dist/tabs-o83wz1hF.js.map +1 -0
  488. package/dist/tabs.d.ts +4 -0
  489. package/dist/tabs.js +1 -0
  490. package/dist/tag-group-gmBdCkE4.js +354 -0
  491. package/dist/tag-group-gmBdCkE4.js.map +1 -0
  492. package/dist/tag-group.d.ts +4 -0
  493. package/dist/tag-group.js +1 -0
  494. package/dist/tags-input-Co9pI732.js +555 -0
  495. package/dist/tags-input-Co9pI732.js.map +1 -0
  496. package/dist/tags-input.d.ts +4 -0
  497. package/dist/tags-input.js +1 -0
  498. package/dist/time-field-qqgemJB1.js +35 -0
  499. package/dist/time-field-qqgemJB1.js.map +1 -0
  500. package/dist/time-field.d.ts +5 -0
  501. package/dist/time-field.js +1 -0
  502. package/dist/time-range-field-BurnJee0.js +36 -0
  503. package/dist/time-range-field-BurnJee0.js.map +1 -0
  504. package/dist/time-range-field.d.ts +7 -0
  505. package/dist/time-range-field.js +1 -0
  506. package/dist/toast-ChdTo_Md.js +341 -0
  507. package/dist/toast-ChdTo_Md.js.map +1 -0
  508. package/dist/toast.d.ts +4 -0
  509. package/dist/toast.js +1 -0
  510. package/dist/toggle-W5tihPuD.js +65 -0
  511. package/dist/toggle-W5tihPuD.js.map +1 -0
  512. package/dist/toggle-group-DpJ794rw.js +73 -0
  513. package/dist/toggle-group-DpJ794rw.js.map +1 -0
  514. package/dist/toggle-group-context-Bp44l1NR.js +6 -0
  515. package/dist/toggle-group-context-Bp44l1NR.js.map +1 -0
  516. package/dist/toggle-group.d.ts +4 -0
  517. package/dist/toggle-group.js +1 -0
  518. package/dist/toggle.d.ts +4 -0
  519. package/dist/toggle.js +1 -0
  520. package/dist/toolbar-DfjePeEZ.js +178 -0
  521. package/dist/toolbar-DfjePeEZ.js.map +1 -0
  522. package/dist/toolbar.d.ts +3 -0
  523. package/dist/toolbar.js +1 -0
  524. package/dist/tooltip-CqZtSspz.js +320 -0
  525. package/dist/tooltip-CqZtSspz.js.map +1 -0
  526. package/dist/tooltip.d.ts +9 -0
  527. package/dist/tooltip.js +1 -0
  528. package/dist/use-color-picker-binding-D0R-FsfF.js +17 -0
  529. package/dist/use-color-picker-binding-D0R-FsfF.js.map +1 -0
  530. package/dist/use-controllable-state-Dm8eNkgP.js +36 -0
  531. package/dist/use-controllable-state-Dm8eNkgP.js.map +1 -0
  532. package/dist/use-element-tpFZ-kuA.js +10 -0
  533. package/dist/use-element-tpFZ-kuA.js.map +1 -0
  534. package/dist/use-field-control-CL_nOU7T.js +131 -0
  535. package/dist/use-field-control-CL_nOU7T.js.map +1 -0
  536. package/dist/use-overlay-portal-Cfv6qtTO.js +18 -0
  537. package/dist/use-overlay-portal-Cfv6qtTO.js.map +1 -0
  538. package/dist/use-overlay-portal-D8GjZ-m7.d.ts +13 -0
  539. package/dist/use-overlay-root-BDO5E_0S.d.ts +23 -0
  540. package/dist/use-overlay-root-eXuUlCpV.js +225 -0
  541. package/dist/use-overlay-root-eXuUlCpV.js.map +1 -0
  542. package/dist/use-overlay-trigger-CxW1Z6Q6.js +74 -0
  543. package/dist/use-overlay-trigger-CxW1Z6Q6.js.map +1 -0
  544. package/dist/use-overlay-trigger-PP99t2ZF.d.ts +11 -0
  545. package/dist/use-panel-transition-CKMdsqPR.js +145 -0
  546. package/dist/use-panel-transition-CKMdsqPR.js.map +1 -0
  547. package/dist/use-positioner-BpxM4U5Y.d.ts +11 -0
  548. package/dist/use-positioner-DtJR980s.js +56 -0
  549. package/dist/use-positioner-DtJR980s.js.map +1 -0
  550. package/dist/use-presence-Cwi_UTLe.js +97 -0
  551. package/dist/use-presence-Cwi_UTLe.js.map +1 -0
  552. package/dist/use-required-context-Cjd_CYnv.js +11 -0
  553. package/dist/use-required-context-Cjd_CYnv.js.map +1 -0
  554. package/dist/use-roving-composite-D0vtGxm8.js +82 -0
  555. package/dist/use-roving-composite-D0vtGxm8.js.map +1 -0
  556. package/dist/use-roving-item-Dxe3phsZ.js +42 -0
  557. package/dist/use-roving-item-Dxe3phsZ.js.map +1 -0
  558. package/dist/use-segment-group--unFuh-Z.js +307 -0
  559. package/dist/use-segment-group--unFuh-Z.js.map +1 -0
  560. package/dist/use-virtual-rows-B5N0qgmT.js +99 -0
  561. package/dist/use-virtual-rows-B5N0qgmT.js.map +1 -0
  562. package/dist/use-virtual-rows-BQFqR0_e.d.ts +16 -0
  563. package/dist/year-calendar-CroBMFMN.js +28 -0
  564. package/dist/year-calendar-CroBMFMN.js.map +1 -0
  565. package/dist/year-calendar.d.ts +6 -0
  566. package/dist/year-calendar.js +3 -0
  567. package/dist/year-picker-DJVxXtPh.js +26 -0
  568. package/dist/year-picker-DJVxXtPh.js.map +1 -0
  569. package/dist/year-picker.d.ts +10 -0
  570. package/dist/year-picker.js +3 -0
  571. package/dist/year-range-calendar-Cz2WYDV2.js +28 -0
  572. package/dist/year-range-calendar-Cz2WYDV2.js.map +1 -0
  573. package/dist/year-range-calendar.d.ts +6 -0
  574. package/dist/year-range-calendar.js +3 -0
  575. package/dist/year-range-picker-9f7L5Hgx.js +26 -0
  576. package/dist/year-range-picker-9f7L5Hgx.js.map +1 -0
  577. package/dist/year-range-picker.d.ts +10 -0
  578. package/dist/year-range-picker.js +3 -0
  579. package/package.json +553 -3
@@ -0,0 +1,51 @@
1
+ import { t as PartProps } from "./render-element-Pwuv2wsL.js";
2
+ import { ReactNode } from "react";
3
+ interface MeterState {
4
+ /** The value, clamped to `[min, max]`. */
5
+ value: number;
6
+ min: number;
7
+ max: number;
8
+ }
9
+ type MeterIndicatorProps = PartProps<MeterState>;
10
+ /**
11
+ * The filled part, from the inline start (spec/meter.md): its structural style sets its inline
12
+ * size, and `--meter-indicator-size`.
13
+ */
14
+ declare function MeterIndicator(props: MeterIndicatorProps): import("react").ReactNode;
15
+ interface MeterLabelProps extends PartProps<MeterState> {
16
+ id?: string;
17
+ }
18
+ /** Names the meter (`aria-labelledby`, spec/meter.md). */
19
+ declare function MeterLabel({ id: idProp, ...props }: MeterLabelProps): import("react").ReactNode;
20
+ interface MeterRootProps extends PartProps<MeterState> {
21
+ /** The measurement; clamped to `[min, max]`. */
22
+ value: number;
23
+ min?: number;
24
+ max?: number;
25
+ /** How the value is written; default: a percentage of the range. */
26
+ format?: Intl.NumberFormatOptions;
27
+ /** The locale of `format` (BCP 47; default: the runtime's). */
28
+ locale?: string;
29
+ /** The Root's `aria-valuetext` instead of the formatted value. */
30
+ getAriaValueText?: (formattedValue: string, value: number) => string;
31
+ }
32
+ /** The `meter`: holds the value and its formatted text (spec/meter.md). */
33
+ declare function MeterRoot({ value: valueProp, min, max, format, locale, getAriaValueText, ...props }: MeterRootProps): import("react").JSX.Element;
34
+ type MeterTrackProps = PartProps<MeterState>;
35
+ /** The rail the Indicator fills (spec/meter.md). */
36
+ declare function MeterTrack(props: MeterTrackProps): import("react").ReactNode;
37
+ interface MeterValueProps extends Omit<PartProps<MeterState>, "children"> {
38
+ /** Its content: a node, or a function of the formatted value and the value. */
39
+ children?: ReactNode | ((formattedValue: string, value: number) => ReactNode);
40
+ }
41
+ /** Shows the formatted value (spec/meter.md). */
42
+ declare function MeterValue({ children, ...props }: MeterValueProps): ReactNode;
43
+ /** spec/meter.md */
44
+ declare const Meter: {
45
+ Root: typeof MeterRoot;
46
+ Label: typeof MeterLabel;
47
+ Value: typeof MeterValue;
48
+ Track: typeof MeterTrack;
49
+ Indicator: typeof MeterIndicator;
50
+ };
51
+ export { MeterLabelProps as a, MeterRootProps as i, MeterValueProps as n, MeterIndicatorProps as o, MeterTrackProps as r, MeterState as s, Meter as t };
@@ -0,0 +1,17 @@
1
+ import { t as PartProps } from "./render-element-Pwuv2wsL.js";
2
+ interface LinkState {
3
+ disabled: boolean;
4
+ current: boolean;
5
+ }
6
+ interface LinkProps extends PartProps<LinkState> {
7
+ /** The link is unavailable: `aria-disabled`, and its press navigates nowhere. */
8
+ disabled?: boolean;
9
+ /** It links to the page the app is on: `aria-current="page"`. */
10
+ current?: boolean;
11
+ }
12
+ /**
13
+ * A link with a disabled and a current state (spec/link.md): the app's anchor, or its router's
14
+ * link through `render` (any component that renders an anchor with the props it is given).
15
+ */
16
+ declare function Link({ disabled, current, ...props }: LinkProps): import("react").ReactNode;
17
+ export { LinkProps as n, LinkState as r, Link as t };
@@ -0,0 +1,36 @@
1
+ import { t as ChangeDetails } from "./change-details-CPSkPCNw.js";
2
+ import { t as PartProps } from "./render-element-Pwuv2wsL.js";
3
+ interface CheckboxState {
4
+ checked: boolean;
5
+ indeterminate: boolean;
6
+ disabled: boolean;
7
+ required: boolean;
8
+ }
9
+ interface CheckboxIndicatorProps extends PartProps<CheckboxState> {
10
+ /** Rendered in every state, not only while checked or indeterminate. */
11
+ keepMounted?: boolean;
12
+ }
13
+ /** The check or the dash, hidden from assistive technologies (spec/checkbox.md). */
14
+ declare function CheckboxIndicator({ keepMounted, ...props }: CheckboxIndicatorProps): import("react").ReactNode;
15
+ interface CheckboxRootProps extends PartProps<CheckboxState> {
16
+ checked?: boolean;
17
+ defaultChecked?: boolean;
18
+ onCheckedChange?: (checked: boolean, details: ChangeDetails) => void;
19
+ indeterminate?: boolean;
20
+ disabled?: boolean;
21
+ required?: boolean;
22
+ name?: string;
23
+ /** Submitted while checked (`"on"`); inside a CheckboxGroup, its value in the group's array. */
24
+ value?: string;
25
+ /** The CheckboxGroup's parent checkbox. */
26
+ parent?: boolean;
27
+ id?: string;
28
+ }
29
+ /** A `checkbox` with its hidden form input (spec/checkbox.md). */
30
+ declare function CheckboxRoot({ checked: checkedProp, defaultChecked, onCheckedChange, indeterminate: indeterminateProp, disabled: disabledProp, required, name, value, parent, id: idProp, children, ...props }: CheckboxRootProps): import("react").JSX.Element;
31
+ /** spec/checkbox.md */
32
+ declare const Checkbox: {
33
+ Root: typeof CheckboxRoot;
34
+ Indicator: typeof CheckboxIndicator;
35
+ };
36
+ export { CheckboxState as i, CheckboxRootProps as n, CheckboxIndicatorProps as r, Checkbox as t };
@@ -0,0 +1,21 @@
1
+ import { t as VirtualListProps } from "./use-virtual-rows-BQFqR0_e.js";
2
+ import "./parts-C81p8gpg.js";
3
+ import { t as PartProps } from "./render-element-Pwuv2wsL.js";
4
+ import { ReactNode } from "react";
5
+ interface AutocompleteVirtualListProps<Entry = unknown> extends Omit<PartProps<{
6
+ empty: boolean;
7
+ }>, "children">, VirtualListProps {
8
+ /** An `Autocomplete.Item` for each matching suggestion in view (the Root's `items`, flat). */
9
+ children: (entry: Entry, index: number) => ReactNode;
10
+ }
11
+ /**
12
+ * Autocomplete's List rendering only the matching suggestions in view (spec/virtual-lists.md): the ends and the
13
+ * highlighted suggestion with its neighbours stay rendered, so the Input's keys
14
+ * and `aria-activedescendant` behave as with every item rendered.
15
+ */
16
+ declare function AutocompleteVirtualList<Entry = unknown>({ children, itemSize, measure, overscan, loading, onLoadMore, ref, ...props }: AutocompleteVirtualListProps<Entry>): import("react").JSX.Element;
17
+ /** spec/virtual-lists.md */
18
+ declare const AutocompleteVirtual: {
19
+ List: typeof AutocompleteVirtualList;
20
+ };
21
+ export { AutocompleteVirtualListProps as n, AutocompleteVirtual as t };
@@ -0,0 +1,20 @@
1
+ import { t as VirtualListProps } from "./use-virtual-rows-BQFqR0_e.js";
2
+ import { a as SelectItemData } from "./parts-CXjEfLf7.js";
3
+ import { t as PartProps } from "./render-element-Pwuv2wsL.js";
4
+ import { ReactNode } from "react";
5
+ interface SelectVirtualListProps extends Omit<PartProps<{
6
+ open: boolean;
7
+ }>, "children">, VirtualListProps {
8
+ /** A `Select.Item` for each item of the Root's `items` in view. */
9
+ children: (item: SelectItemData, index: number) => ReactNode;
10
+ }
11
+ /**
12
+ * Select's List rendering only the Root's `items` in view (spec/virtual-lists.md): the highlighted
13
+ * and selected items stay rendered, so `aria-activedescendant` names a rendered option.
14
+ */
15
+ declare function SelectVirtualList({ children, itemSize, measure, overscan, loading, onLoadMore, ref, ...props }: SelectVirtualListProps): import("react").JSX.Element;
16
+ /** spec/virtual-lists.md */
17
+ declare const SelectVirtual: {
18
+ List: typeof SelectVirtualList;
19
+ };
20
+ export { SelectVirtualListProps as n, SelectVirtual as t };
@@ -0,0 +1,31 @@
1
+ import "./use-overlay-portal-D8GjZ-m7.js";
2
+ import "./use-positioner-BpxM4U5Y.js";
3
+ import { t as ChangeDetails } from "./change-details-CPSkPCNw.js";
4
+ import "./render-element-Pwuv2wsL.js";
5
+ import { a as DatePickerPositioner, c as DatePickerPortal, t as DatePickerTrigger, u as DatePickerPopup } from "./date-picker-trigger-DHsAhBf2.js";
6
+ import "./parts-BjC20sfl.js";
7
+ import { t as MonthPickerRootSharedProps } from "./month-picker-root-base-SELhczoy.js";
8
+ import { Align, Side } from "@fragiola/primitives/positioning";
9
+ import { PlainYear, PlainYear as PlainYear$1 } from "@fragiola/primitives/month-year";
10
+ interface YearPickerRootProps extends MonthPickerRootSharedProps {
11
+ value?: PlainYear$1 | null;
12
+ defaultValue?: PlainYear$1 | null;
13
+ onValueChange?: (value: PlainYear$1 | null, details: ChangeDetails) => void;
14
+ /** Years before it are disabled (passed to the bound calendar). */
15
+ min?: PlainYear$1 | null;
16
+ /** Years after it are disabled (passed to the bound calendar). */
17
+ max?: PlainYear$1 | null;
18
+ /** Unavailable years can be focused but not chosen (passed to the bound calendar). */
19
+ isUnavailable?: (year: PlainYear$1) => boolean;
20
+ }
21
+ /** A trigger and a popup holding a bound `YearCalendar.Root`: one year (spec/month-calendar.md). */
22
+ declare function YearPickerRoot(props: YearPickerRootProps): import("react").JSX.Element;
23
+ /** spec/month-calendar.md: one year, with the DatePicker's parts (named `year-picker-*`) */
24
+ declare const YearPicker: {
25
+ Root: typeof YearPickerRoot;
26
+ Trigger: typeof DatePickerTrigger;
27
+ Portal: typeof DatePickerPortal;
28
+ Positioner: typeof DatePickerPositioner;
29
+ Popup: typeof DatePickerPopup;
30
+ };
31
+ export { YearPickerRootProps as a, YearPicker as i, PlainYear as n, Side as r, Align as t };
@@ -0,0 +1,140 @@
1
+ import { t as ChangeDetails } from "./change-details-CPSkPCNw.js";
2
+ import { t as PartProps } from "./render-element-Pwuv2wsL.js";
3
+ import { MouseEventHandler, ReactNode } from "react";
4
+ import { CarouselOrientation } from "@fragiola/primitives/carousel";
5
+ /** What the AutoplayTrigger renders with. */
6
+ interface CarouselAutoplayTriggerState {
7
+ playing: boolean;
8
+ }
9
+ interface CarouselAutoplayTriggerProps extends Omit<PartProps<CarouselAutoplayTriggerState>, "children"> {
10
+ /** The app's label, which follows the state: a node, or a function of the state. */
11
+ children?: ReactNode | ((state: CarouselAutoplayTriggerState) => ReactNode);
12
+ onClick?: MouseEventHandler<HTMLElement>;
13
+ }
14
+ /**
15
+ * Stops and starts the rotation (spec/carousel.md): the APG's rotation control, whose label (the
16
+ * app's) changes with the state, with no `aria-pressed`.
17
+ */
18
+ declare function CarouselAutoplayTrigger({ children, onClick, ...props }: CarouselAutoplayTriggerProps): ReactNode;
19
+ /** What the Root renders with (spec/carousel.md). */
20
+ interface CarouselState {
21
+ /** The current page, from 0. */
22
+ page: number;
23
+ /** The number of pages. */
24
+ pageCount: number;
25
+ orientation: "horizontal" | "vertical";
26
+ /** The slides rotate. */
27
+ playing: boolean;
28
+ /** A hover pauses the rotation. */
29
+ paused: boolean;
30
+ /** A mouse drag runs. */
31
+ dragging: boolean;
32
+ }
33
+ /** What an Indicator renders with. */
34
+ interface CarouselIndicatorState {
35
+ /** Its page. */
36
+ index: number;
37
+ /** It is the current page's. */
38
+ current: boolean;
39
+ }
40
+ interface CarouselIndicatorProps extends PartProps<CarouselIndicatorState> {
41
+ /** The page it picks, from 0. */
42
+ index: number;
43
+ onClick?: MouseEventHandler<HTMLElement>;
44
+ }
45
+ /**
46
+ * Picks a page (spec/carousel.md): a button, `aria-disabled` while it is the current page's (the
47
+ * APG's grouped style); in the tabbed variant a tab of the roving tab stop.
48
+ */
49
+ declare function CarouselIndicator({ index, onClick, ...props }: CarouselIndicatorProps): import("react").ReactNode;
50
+ type CarouselIndicatorGroupProps = PartProps<CarouselState>;
51
+ /**
52
+ * The slide picker controls (spec/carousel.md): a `group` of buttons, or in the tabbed variant a
53
+ * `tablist` with the APG tabs' keys (automatic activation, wrapping), as Tabs' List.
54
+ */
55
+ declare function CarouselIndicatorGroup(props: CarouselIndicatorGroupProps): import("react").ReactNode;
56
+ /** What a slide renders with. */
57
+ interface CarouselItemState {
58
+ index: number;
59
+ /** The slide is on the current page. */
60
+ inView: boolean;
61
+ }
62
+ interface CarouselItemProps extends PartProps<CarouselItemState> {
63
+ /** Its slide, from 0. */
64
+ index: number;
65
+ }
66
+ /**
67
+ * One slide (spec/carousel.md): a `group` with the role description "slide" (a `tabpanel` in the
68
+ * tabbed variant), the app naming it; out of view, `inert` and hidden from assistive technology.
69
+ */
70
+ declare function CarouselItem({ index, ...props }: CarouselItemProps): import("react").ReactNode;
71
+ type CarouselItemGroupProps = PartProps<CarouselState>;
72
+ /**
73
+ * The slides' scroll container and live region (spec/carousel.md): `aria-live="off"` while the
74
+ * slides rotate, `"polite"` otherwise.
75
+ */
76
+ declare function CarouselItemGroup(props: CarouselItemGroupProps): import("react").ReactNode;
77
+ /** What a PrevTrigger or a NextTrigger renders with. */
78
+ interface CarouselStepTriggerState {
79
+ /** The page it moves to, `null` at an edge. */
80
+ page: number | null;
81
+ disabled: boolean;
82
+ }
83
+ interface CarouselStepTriggerProps extends PartProps<CarouselStepTriggerState> {
84
+ onClick?: MouseEventHandler<HTMLElement>;
85
+ }
86
+ type CarouselNextTriggerProps = CarouselStepTriggerProps;
87
+ /** The page after (spec/carousel.md): disabled on the last page unless `loop`. */
88
+ declare function CarouselNextTrigger(props: CarouselNextTriggerProps): import("react").ReactNode;
89
+ type CarouselPrevTriggerProps = CarouselStepTriggerProps;
90
+ /** The page before (spec/carousel.md): disabled on the first page unless `loop`. */
91
+ declare function CarouselPrevTrigger(props: CarouselPrevTriggerProps): import("react").ReactNode;
92
+ interface CarouselRootProps extends PartProps<CarouselState> {
93
+ /** The number of slides. */
94
+ slideCount: number;
95
+ /** The current page, from 0 (controlled). */
96
+ page?: number;
97
+ /** The page at first (default `0`). */
98
+ defaultPage?: number;
99
+ /** Every page change, with its reason. */
100
+ onPageChange?: (page: number, details: ChangeDetails) => void;
101
+ /** The slides a page shows side by side (default `1`). */
102
+ slidesPerPage?: number;
103
+ /** The slides a page moves by (default `slidesPerPage`). */
104
+ slidesPerMove?: number;
105
+ /** Previous on the first page goes to the last, Next on the last to the first. */
106
+ loop?: boolean;
107
+ orientation?: "horizontal" | "vertical";
108
+ /** The gap between slides, a CSS length (default `"0px"`). */
109
+ spacing?: string;
110
+ /** `"tabbed"`: the Indicators are tabs and the slides tabpanels (default `"basic"`). */
111
+ variant?: "basic" | "tabbed";
112
+ /** Whether the slides rotate (controlled). */
113
+ playing?: boolean;
114
+ /** Whether the slides rotate at first (default `false`). */
115
+ defaultPlaying?: boolean;
116
+ /** Every rotation change, with its reason. */
117
+ onPlayingChange?: (playing: boolean, details: ChangeDetails) => void;
118
+ /** The time a page shows while rotating, in ms (default `5000`). */
119
+ delay?: number;
120
+ /** A mouse drag scrolls the slides (default `true`). */
121
+ allowMouseDrag?: boolean;
122
+ }
123
+ /**
124
+ * A carousel (spec/carousel.md, the APG's): a named region whose slides scroll natively a page at
125
+ * a time, with an optional rotation that focus stops and a hover pauses. Its DOM side is the
126
+ * toolkit's `/carousel`.
127
+ */
128
+ declare function CarouselRoot({ slideCount: slideCountProp, page: pageProp, defaultPage, onPageChange, slidesPerPage, slidesPerMove, loop, orientation, spacing, variant, playing: playingProp, defaultPlaying, onPlayingChange, delay, allowMouseDrag, style, ...props }: CarouselRootProps): import("react").JSX.Element;
129
+ /** spec/carousel.md */
130
+ declare const Carousel: {
131
+ Root: typeof CarouselRoot;
132
+ ItemGroup: typeof CarouselItemGroup;
133
+ Item: typeof CarouselItem;
134
+ PrevTrigger: typeof CarouselPrevTrigger;
135
+ NextTrigger: typeof CarouselNextTrigger;
136
+ IndicatorGroup: typeof CarouselIndicatorGroup;
137
+ Indicator: typeof CarouselIndicator;
138
+ AutoplayTrigger: typeof CarouselAutoplayTrigger;
139
+ };
140
+ export { CarouselNextTriggerProps as a, CarouselItemGroupProps as c, CarouselIndicatorGroupProps as d, CarouselIndicatorProps as f, CarouselAutoplayTriggerState as g, CarouselAutoplayTriggerProps as h, CarouselPrevTriggerProps as i, CarouselItemProps as l, CarouselState as m, Carousel as n, CarouselStepTriggerProps as o, CarouselIndicatorState as p, CarouselRootProps as r, CarouselStepTriggerState as s, CarouselOrientation as t, CarouselItemState as u };
@@ -0,0 +1,32 @@
1
+ import { t as ChangeDetails } from "./change-details-CPSkPCNw.js";
2
+ import { t as DateFieldSegment } from "./date-field-segment-BoS-ohDh.js";
3
+ import "./date-field-root-CzSo5iKL.js";
4
+ import { t as DatePickerInputRootSharedProps } from "./date-picker-input-root-base-Cc3mE-NR.js";
5
+ import "./date-range-field-root-base-DWH3nqmz.js";
6
+ import { t as DateRangeFieldInput } from "./date-range-field-input-BwCNo15l.js";
7
+ import { r as DateRangeFieldValue } from "./date-range-field-root-CmZ3c7xn.js";
8
+ import "./parts-DVNSEjIO.js";
9
+ import { DateRange, PlainDate } from "@fragiola/primitives/date";
10
+ import { DateSegment, SegmentGranularity, SegmentType } from "@fragiola/primitives/segments";
11
+ import { PlainDateTime } from "@fragiola/primitives/time";
12
+ interface DateRangePickerInputRootProps extends DatePickerInputRootSharedProps {
13
+ /** `{ start, end }`; set only from a complete, valid entry (the end not before the start). */
14
+ value?: DateRangeFieldValue | null;
15
+ defaultValue?: DateRangeFieldValue | null;
16
+ onValueChange?: (value: DateRangeFieldValue | null, details: ChangeDetails) => void;
17
+ }
18
+ /**
19
+ * A DateRangePicker whose range is also typed into two ends' segments (spec/calendar.md, "Typed
20
+ * input"): its other parts are the DateRangePicker's, its Segments the range field's Input.
21
+ */
22
+ declare function DateRangePickerInputRoot(props: DateRangePickerInputRootProps): import("react").JSX.Element;
23
+ /**
24
+ * spec/calendar.md, "Typed input": a DateRangePicker typed into two ends' segments; its other
25
+ * parts are the DateRangePicker's
26
+ */
27
+ declare const DateRangePickerInput: {
28
+ Root: typeof DateRangePickerInputRoot;
29
+ Segments: typeof DateRangeFieldInput;
30
+ Segment: typeof DateFieldSegment;
31
+ };
32
+ export { SegmentGranularity as a, DateRangePickerInputRootProps as c, PlainDateTime as i, DateSegment as n, SegmentType as o, PlainDate as r, DateRangePickerInput as s, DateRange as t };
@@ -0,0 +1,86 @@
1
+ import { t as PartProps } from "./render-element-Pwuv2wsL.js";
2
+ import { FocusEventHandler, KeyboardEventHandler, MouseEventHandler, PointerEventHandler } from "react";
3
+ import { RovingOrientation, RovingOrientation as RovingOrientation$1 } from "@fragiola/primitives/collection";
4
+ /** The parts' state: the toolbar's orientation, and whether the part is disabled. */
5
+ interface ToolbarItemState {
6
+ orientation: RovingOrientation$1;
7
+ disabled: boolean;
8
+ }
9
+ interface ToolbarButtonProps extends PartProps<ToolbarItemState> {
10
+ /** The button ignores presses and keys. */
11
+ disabled?: boolean;
12
+ /** A disabled button the arrows still reach (spec/toolbar.md, "Disabled items"). */
13
+ focusableWhenDisabled?: boolean;
14
+ /** Whether the rendered element is a native `<button>` (default `true`), as Button's. */
15
+ nativeButton?: boolean;
16
+ /** Forwarded; a native button is `type="button"` unless given. */
17
+ type?: "button" | "submit" | "reset";
18
+ onClick?: MouseEventHandler<HTMLElement>;
19
+ onMouseDown?: MouseEventHandler<HTMLElement>;
20
+ onPointerDown?: PointerEventHandler<HTMLElement>;
21
+ onKeyDown?: KeyboardEventHandler<HTMLElement>;
22
+ onKeyUp?: KeyboardEventHandler<HTMLElement>;
23
+ onFocus?: FocusEventHandler<HTMLElement>;
24
+ }
25
+ /** A button of a toolbar (spec/toolbar.md): Button's behaviour, an item of the toolbar's focus. */
26
+ declare function ToolbarButton({ disabled: disabledProp, focusableWhenDisabled, nativeButton, type, onClick, onMouseDown, onPointerDown, onKeyDown, onKeyUp, onFocus, ...props }: ToolbarButtonProps): import("react").ReactNode;
27
+ interface ToolbarGroupProps extends PartProps<ToolbarItemState> {
28
+ /** Every item in it is disabled. */
29
+ disabled?: boolean;
30
+ }
31
+ /**
32
+ * A group of a toolbar's items (spec/toolbar.md): no focus of its own; it passes its `disabled`
33
+ * on to the items inside it through the toolbar's roving scope ("Nested composites").
34
+ */
35
+ declare function ToolbarGroup({ disabled: disabledProp, children, ...props }: ToolbarGroupProps): import("react").ReactNode;
36
+ interface ToolbarInputProps extends PartProps<ToolbarItemState> {
37
+ /** The input ignores presses and typing. */
38
+ disabled?: boolean;
39
+ /** A disabled input the arrows still reach: `aria-disabled` and `readonly` (spec/toolbar.md). */
40
+ focusableWhenDisabled?: boolean;
41
+ }
42
+ /**
43
+ * A text input of a toolbar (spec/toolbar.md): an item of the toolbar's focus that keeps its caret
44
+ * keys until the caret reaches the text's edge.
45
+ */
46
+ declare function ToolbarInput({ disabled: disabledProp, focusableWhenDisabled, ...props }: ToolbarInputProps): import("react").ReactNode;
47
+ interface ToolbarLinkState {
48
+ orientation: "horizontal" | "vertical";
49
+ }
50
+ type ToolbarLinkProps = PartProps<ToolbarLinkState>;
51
+ /** A link of a toolbar (spec/toolbar.md): an item of the toolbar's focus; it cannot be disabled. */
52
+ declare function ToolbarLink(props: ToolbarLinkProps): import("react").ReactNode;
53
+ interface ToolbarRootState {
54
+ orientation: RovingOrientation$1;
55
+ disabled: boolean;
56
+ }
57
+ interface ToolbarRootProps extends PartProps<ToolbarRootState> {
58
+ /** The arrow keys' axis (default `"horizontal"`). */
59
+ orientation?: RovingOrientation$1;
60
+ /** The arrows wrap from the last item to the first and back (default `true`). */
61
+ loopFocus?: boolean;
62
+ /** Every Button, Input, Toggle and ToggleGroup in it is disabled. */
63
+ disabled?: boolean;
64
+ }
65
+ /**
66
+ * A set of controls that is one tab stop (spec/toolbar.md, the APG toolbar): the roving-focus
67
+ * scope every item inside registers with, a ToggleGroup's Toggles included ("Nested composites").
68
+ */
69
+ declare function ToolbarRoot({ orientation, loopFocus, disabled, ...props }: ToolbarRootProps): import("react").JSX.Element;
70
+ interface ToolbarSeparatorState {
71
+ /** Across the toolbar's: `"vertical"` in a horizontal toolbar. */
72
+ orientation: "horizontal" | "vertical";
73
+ }
74
+ type ToolbarSeparatorProps = PartProps<ToolbarSeparatorState>;
75
+ /** A separator across a toolbar's orientation (spec/toolbar.md), not focusable. */
76
+ declare function ToolbarSeparator(props: ToolbarSeparatorProps): import("react").ReactNode;
77
+ /** spec/toolbar.md */
78
+ declare const Toolbar: {
79
+ Root: typeof ToolbarRoot;
80
+ Button: typeof ToolbarButton;
81
+ Link: typeof ToolbarLink;
82
+ Input: typeof ToolbarInput;
83
+ Group: typeof ToolbarGroup;
84
+ Separator: typeof ToolbarSeparator;
85
+ };
86
+ export { ToolbarRootProps as a, ToolbarLinkState as c, ToolbarButtonProps as d, ToolbarItemState as f, ToolbarSeparatorState as i, ToolbarInputProps as l, Toolbar as n, ToolbarRootState as o, ToolbarSeparatorProps as r, ToolbarLinkProps as s, RovingOrientation as t, ToolbarGroupProps as u };
@@ -0,0 +1,35 @@
1
+ import { n as RenderProp } from "./render-element-Pwuv2wsL.js";
2
+ import { CSSProperties, ReactNode, Ref } from "react";
3
+ /**
4
+ * Merges props left to right, as every part merges its own with the consumer's (spec/README.md,
5
+ * "Render utilities"): event handlers compose (the earlier first), `className` joins, `style`
6
+ * merges (the later wins), any other later prop wins (`undefined` leaves the earlier).
7
+ */
8
+ declare function mergeProps<Props extends object = Record<string, unknown>>(...props: readonly (Partial<Props> | null | undefined)[]): Props;
9
+ /** The props a part written with {@link useRender} renders: `className` and `style` may be functions of the state. */
10
+ interface UseRenderProps<State> {
11
+ className?: string | ((state: State) => string | undefined);
12
+ style?: CSSProperties | ((state: State) => CSSProperties | undefined);
13
+ ref?: Ref<HTMLElement>;
14
+ children?: ReactNode;
15
+ [key: string]: unknown;
16
+ }
17
+ interface UseRenderOptions<State> {
18
+ /** The consumer's `render`: an element its props merge into, or a function of the props and the state. */
19
+ render?: RenderProp<State> | undefined;
20
+ /** The part's props (the consumer's included), merged into the element. */
21
+ props?: UseRenderProps<State>;
22
+ /** The part's state: its booleans and strings become `data-*` attributes, and `render` receives it. */
23
+ state?: State;
24
+ /** The part's own ref to its element (merged with the consumer's). */
25
+ ref?: Ref<HTMLElement>;
26
+ /** The element rendered without `render` (default `"div"`). */
27
+ defaultTagName?: string;
28
+ }
29
+ /**
30
+ * Renders a part with the primitive contract (spec/README.md, "Render utilities"): the default
31
+ * element, or the consumer's `render`, with the props merged in and the state's `data-*`
32
+ * attributes (`true` an empty attribute, `false` none, a string its value).
33
+ */
34
+ declare function useRender<State extends object = Record<string, never>>({ render, props, state, ref, defaultTagName }: UseRenderOptions<State>): ReactNode;
35
+ export { mergeProps as i, UseRenderProps as n, useRender as r, UseRenderOptions as t };
@@ -0,0 +1,30 @@
1
+ import { t as ChangeDetails } from "./change-details-CPSkPCNw.js";
2
+ import "./render-element-Pwuv2wsL.js";
3
+ import { _ as MonthCalendarGrid, a as MonthCalendarRootSharedProps, f as MonthCalendarHeading, h as MonthCalendarGridBody, l as MonthCalendarNextButton, n as MonthCalendarRow, s as MonthCalendarPrevButton, y as MonthCalendarCell } from "./parts-BL0sXepP.js";
4
+ import "./month-calendar-value-CNJcsqcv.js";
5
+ import { PlainYear, PlainYearMonth, PlainYearMonth as PlainYearMonth$1, YearMonthRange, YearMonthRange as YearMonthRange$1, YearRange } from "@fragiola/primitives/month-year";
6
+ interface MonthRangeCalendarRootProps extends MonthCalendarRootSharedProps {
7
+ value?: YearMonthRange$1 | null;
8
+ defaultValue?: YearMonthRange$1 | null;
9
+ onValueChange?: (value: YearMonthRange$1 | null, details: ChangeDetails) => void;
10
+ /** Months before it are disabled. */
11
+ min?: PlainYearMonth$1 | null;
12
+ /** Months after it are disabled. */
13
+ max?: PlainYearMonth$1 | null;
14
+ /** Unavailable months can be focused but not chosen. */
15
+ isUnavailable?: (month: PlainYearMonth$1) => boolean;
16
+ }
17
+ /** A range of months (spec/month-calendar.md), on the MonthCalendar's state and parts. */
18
+ declare function MonthRangeCalendarRoot(props: MonthRangeCalendarRootProps): import("react").JSX.Element;
19
+ /** spec/month-calendar.md: a range of months, with the MonthCalendar's parts (named `month-range-calendar-*`) */
20
+ declare const MonthRangeCalendar: {
21
+ Root: typeof MonthRangeCalendarRoot;
22
+ Heading: typeof MonthCalendarHeading;
23
+ PrevButton: typeof MonthCalendarPrevButton;
24
+ NextButton: typeof MonthCalendarNextButton;
25
+ Grid: typeof MonthCalendarGrid;
26
+ GridBody: typeof MonthCalendarGridBody;
27
+ Row: typeof MonthCalendarRow;
28
+ Cell: typeof MonthCalendarCell;
29
+ };
30
+ export { MonthRangeCalendar as a, YearRange as i, PlainYearMonth as n, MonthRangeCalendarRootProps as o, YearMonthRange as r, PlainYear as t };
@@ -0,0 +1,36 @@
1
+ import { t as PartProps } from "./render-element-Pwuv2wsL.js";
2
+ import { ImageLoadingStatus, ImageLoadingStatus as ImageLoadingStatus$1 } from "@fragiola/primitives/image";
3
+ interface AvatarState {
4
+ /** The image's loading status (spec/avatar.md). */
5
+ status: ImageLoadingStatus$1;
6
+ }
7
+ interface AvatarFallbackProps extends PartProps<AvatarState> {
8
+ /** Rendered only once this many milliseconds have passed since it mounted. */
9
+ delay?: number;
10
+ }
11
+ /** Shown while the image is not loaded, after its `delay` (spec/avatar.md). */
12
+ declare function AvatarFallback({ delay, ...props }: AvatarFallbackProps): import("react").ReactNode;
13
+ interface AvatarImageProps extends PartProps<AvatarState> {
14
+ src?: string;
15
+ srcSet?: string;
16
+ sizes?: string;
17
+ crossOrigin?: "anonymous" | "use-credentials" | "";
18
+ referrerPolicy?: string;
19
+ /** Called with each new status but `idle`. */
20
+ onLoadingStatusChange?: (status: ImageLoadingStatus$1) => void;
21
+ }
22
+ /**
23
+ * The image, rendered only once it has loaded (spec/avatar.md): it loads outside the document
24
+ * first, within the mount (a cached image is `loaded` before the browser paints).
25
+ */
26
+ declare function AvatarImage({ src, srcSet, sizes, crossOrigin, referrerPolicy, onLoadingStatusChange, ...props }: AvatarImageProps): import("react").ReactNode;
27
+ type AvatarRootProps = PartProps<AvatarState>;
28
+ /** Holds the image's loading status (spec/avatar.md); no status attribute of its own (Base UI). */
29
+ declare function AvatarRoot(props: AvatarRootProps): import("react").JSX.Element;
30
+ /** spec/avatar.md */
31
+ declare const Avatar: {
32
+ Root: typeof AvatarRoot;
33
+ Image: typeof AvatarImage;
34
+ Fallback: typeof AvatarFallback;
35
+ };
36
+ export { AvatarFallbackProps as a, AvatarImageProps as i, Avatar as n, AvatarState as o, AvatarRootProps as r, ImageLoadingStatus as t };
@@ -0,0 +1,51 @@
1
+ import { t as VirtualListProps } from "./use-virtual-rows-BQFqR0_e.js";
2
+ import { t as ChangeDetails } from "./change-details-CPSkPCNw.js";
3
+ import { t as PartProps } from "./render-element-Pwuv2wsL.js";
4
+ import { a as ListboxRootState } from "./parts-BnbJ2FWv.js";
5
+ import { ReactNode } from "react";
6
+ import { SelectionBehavior, SelectionBehavior as SelectionBehavior$1, SelectionMode } from "@fragiola/primitives/selection";
7
+ /** One option of a virtual Listbox: its value, the label typeahead matches, its disabled state. */
8
+ interface ListboxVirtualItem {
9
+ value: string;
10
+ label: string;
11
+ disabled?: boolean;
12
+ }
13
+ interface ListboxVirtualRootCommonProps extends Omit<PartProps<ListboxRootState>, "children">, VirtualListProps {
14
+ /** Every option, in the list's order. */
15
+ items: readonly ListboxVirtualItem[];
16
+ /** A `Listbox.Item` for each item in view, with the item's `value` and `disabled`. */
17
+ children: (item: ListboxVirtualItem, index: number) => ReactNode;
18
+ /** The APG's selection model (default `"toggle"`, the recommended one). */
19
+ selectionBehavior?: SelectionBehavior$1;
20
+ /** The arrows wrap from the last option to the first and back (default `true`). */
21
+ loopFocus?: boolean;
22
+ /** Every option is disabled and none takes focus. */
23
+ disabled?: boolean;
24
+ name?: string;
25
+ /** The form's validation fails while nothing is selected. */
26
+ required?: boolean;
27
+ }
28
+ interface ListboxVirtualRootSingleProps extends ListboxVirtualRootCommonProps {
29
+ multiple?: false;
30
+ value?: string | null;
31
+ defaultValue?: string | null;
32
+ onValueChange?: (value: string | null, details: ChangeDetails) => void;
33
+ }
34
+ interface ListboxVirtualRootMultipleProps extends ListboxVirtualRootCommonProps {
35
+ multiple: true;
36
+ value?: readonly string[];
37
+ defaultValue?: readonly string[];
38
+ onValueChange?: (value: string[], details: ChangeDetails) => void;
39
+ }
40
+ type ListboxVirtualRootProps = ListboxVirtualRootSingleProps | ListboxVirtualRootMultipleProps;
41
+ /**
42
+ * A Listbox Root over `items`, rendering only the options in view (spec/virtual-lists.md): the
43
+ * keys, the typeahead, the ranges and select all run over every item, a key scrolls its target
44
+ * into view and focuses it, and the focused option and the tab stop stay rendered.
45
+ */
46
+ declare function ListboxVirtualRoot(props: ListboxVirtualRootProps): import("react").JSX.Element;
47
+ /** spec/virtual-lists.md */
48
+ declare const ListboxVirtual: {
49
+ Root: typeof ListboxVirtualRoot;
50
+ };
51
+ export { ListboxVirtualRootMultipleProps as a, ListboxVirtualItem as i, SelectionMode as n, ListboxVirtualRootProps as o, ListboxVirtual as r, ListboxVirtualRootSingleProps as s, SelectionBehavior as t };
@@ -0,0 +1,53 @@
1
+ import "./use-overlay-portal-D8GjZ-m7.js";
2
+ import { t as OverlayRootProps } from "./use-overlay-root-BDO5E_0S.js";
3
+ import "./use-positioner-BpxM4U5Y.js";
4
+ import { t as PartProps } from "./render-element-Pwuv2wsL.js";
5
+ import { E as MenuItem, a as MenuSubmenuTrigger, g as MenuRadioItem, i as MenuGroup, j as MenuCheckboxItem, k as MenuCheckboxItemIndicator, m as MenuRadioItemIndicator, n as MenuPopup, r as MenuGroupLabel, t as MenuSeparator, u as MenuSubmenuRoot, w as MenuPortal, x as MenuPositioner, y as MenuRadioGroup } from "./menu-separator-CzAc4jM8.js";
6
+ import { ReactNode } from "react";
7
+ import { Align, Side } from "@fragiola/primitives/positioning";
8
+ interface ContextMenuRootProps extends OverlayRootProps {
9
+ /** Arrow keys wrap at the ends (default `true`). */
10
+ loopFocus?: boolean;
11
+ /**
12
+ * Locks the page's scroll and blocks the pointer outside the menu while it is open (default
13
+ * `false`; spec/menu.md, "Modal").
14
+ */
15
+ modal?: boolean;
16
+ /** The area opens nothing, and the browser's own menu shows (default `false`). */
17
+ disabled?: boolean;
18
+ children?: ReactNode;
19
+ }
20
+ /**
21
+ * Holds the state of a context menu's root level; renders no element (spec/context-menu.md). Its
22
+ * parts are Menu's, named `context-menu-*`; its Trigger is an area.
23
+ */
24
+ declare function ContextMenuRoot({ disabled, children, ...props }: ContextMenuRootProps): import("react").JSX.Element;
25
+ interface ContextMenuTriggerState {
26
+ open: boolean;
27
+ disabled: boolean;
28
+ }
29
+ /**
30
+ * The area a right-click, a touch long press, or the `ContextMenu` key and Shift+F10 open the
31
+ * menu from (spec/context-menu.md): no button, no role.
32
+ */
33
+ declare function ContextMenuTrigger(props: PartProps<ContextMenuTriggerState>): import("react").ReactNode;
34
+ /** spec/context-menu.md: Menu's parts (named `context-menu-*` by the Root), opened from an area */
35
+ declare const ContextMenu: {
36
+ Root: typeof ContextMenuRoot;
37
+ Trigger: typeof ContextMenuTrigger;
38
+ Portal: typeof MenuPortal;
39
+ Positioner: typeof MenuPositioner;
40
+ Popup: typeof MenuPopup;
41
+ Item: typeof MenuItem;
42
+ Separator: typeof MenuSeparator;
43
+ Group: typeof MenuGroup;
44
+ GroupLabel: typeof MenuGroupLabel;
45
+ CheckboxItem: typeof MenuCheckboxItem;
46
+ CheckboxItemIndicator: typeof MenuCheckboxItemIndicator;
47
+ RadioGroup: typeof MenuRadioGroup;
48
+ RadioItem: typeof MenuRadioItem;
49
+ RadioItemIndicator: typeof MenuRadioItemIndicator;
50
+ SubmenuRoot: typeof MenuSubmenuRoot;
51
+ SubmenuTrigger: typeof MenuSubmenuTrigger;
52
+ };
53
+ export { ContextMenuRootProps as a, ContextMenuTriggerState as i, Side as n, ContextMenu as r, Align as t };