@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,81 @@
1
+ import "./use-overlay-portal-D8GjZ-m7.js";
2
+ import "./use-overlay-trigger-PP99t2ZF.js";
3
+ import { t as ChangeDetails } from "./change-details-CPSkPCNw.js";
4
+ import { t as OverlayHandle } from "./overlay-handle-DzzlzKqP.js";
5
+ import { t as PartProps } from "./render-element-Pwuv2wsL.js";
6
+ import { c as DialogTriggerProps, f as DialogPortal, h as DialogPopupProps, i as DialogRootSharedProps, n as DialogDescription, o as DialogViewportState, r as DialogClose, t as DialogTitle, v as DialogBackdropProps } from "./dialog-title-BitK2i0A.js";
7
+ import { ReactNode } from "react";
8
+ import { ResolvedSnapPoint, SnapPoint, SnapPoint as SnapPoint$1, SwipeDirection, SwipeDirection as SwipeDirection$1 } from "@fragiola/primitives/swipe";
9
+ interface DrawerBackdropProps extends DialogBackdropProps {}
10
+ /** Dialog's Backdrop, with the swipe's `data-swiping` and `--drawer-swipe-progress`. */
11
+ declare function DrawerBackdrop({ style, ...props }: DrawerBackdropProps): import("react").JSX.Element;
12
+ /** A Drawer's handle: its detached Triggers and imperative opening (spec/drawer.md). */
13
+ interface DrawerHandle<Payload = unknown> extends OverlayHandle<Payload> {
14
+ readonly component: "drawer";
15
+ }
16
+ /** Creates a Drawer handle (`Drawer.createHandle`), for Triggers outside the Root. */
17
+ declare function createDrawerHandle<Payload = unknown>(): DrawerHandle<Payload>;
18
+ interface DrawerPopupState {
19
+ open: boolean;
20
+ nested: boolean;
21
+ nestedDrawerOpen: boolean;
22
+ swiping: boolean;
23
+ swipeDirection: string;
24
+ expanded: boolean;
25
+ }
26
+ interface DrawerPopupProps extends PartProps<DrawerPopupState> {
27
+ /** Focused on open (default: the first tabbable element, else the popup). */
28
+ initialFocus?: DialogPopupProps["initialFocus"];
29
+ /** Focused on close (default: the active trigger, else the element focused before opening). */
30
+ finalFocus?: DialogPopupProps["finalFocus"];
31
+ }
32
+ /**
33
+ * The drawer's dialog (spec/drawer.md): Dialog's Popup, plus the swipe (`watchSwipe` on it), the
34
+ * snap point offset and the movement variables.
35
+ */
36
+ declare function DrawerPopup({ className, style, render, ...props }: DrawerPopupProps): import("react").JSX.Element;
37
+ interface DrawerRootProps<Payload = unknown> extends DialogRootSharedProps<Payload> {
38
+ /** Connects Triggers rendered outside the Root (spec/drawer.md, "Detached triggers"). */
39
+ handle?: DrawerHandle<Payload>;
40
+ /** The edge a swipe dismisses it towards (default `"down"`: a bottom sheet). */
41
+ swipeDirection?: SwipeDirection$1;
42
+ /** The heights it rests at (spec/drawer.md, "Snap points"); vertical directions only. */
43
+ snapPoints?: readonly SnapPoint$1[];
44
+ /** The active snap point, controlled. */
45
+ snapPoint?: SnapPoint$1 | null;
46
+ /** The snap point it opens on, uncontrolled (default: the first of `snapPoints`). */
47
+ defaultSnapPoint?: SnapPoint$1 | null;
48
+ onSnapPointChange?: (snapPoint: SnapPoint$1 | null, details: ChangeDetails) => void;
49
+ }
50
+ /**
51
+ * Holds the drawer's state; renders no element (spec/drawer.md). Its parts are Dialog's, named
52
+ * `drawer-*`, plus the swipe and the snap points.
53
+ */
54
+ declare function DrawerRoot<Payload = unknown>({ swipeDirection, snapPoints, snapPoint: snapPointProp, defaultSnapPoint, onSnapPointChange, children, ...props }: DrawerRootProps<Payload>): import("react").JSX.Element;
55
+ /** The props of `Drawer.Trigger` (Dialog's Trigger), with a Drawer handle. */
56
+ interface DrawerTriggerProps<Payload = unknown> extends Omit<DialogTriggerProps<Payload>, "handle"> {
57
+ /** The handle of a Root this Trigger opens from anywhere (spec/drawer.md). */
58
+ handle?: DrawerHandle<Payload>;
59
+ }
60
+ /**
61
+ * The drawer's content: a mouse press inside it selects text instead of swiping (spec/drawer.md,
62
+ * "Swipe"); a touch still swipes.
63
+ */
64
+ declare function DrawerContent(props: PartProps<Record<string, never>>): import("react").ReactNode;
65
+ /** Dialog's Viewport, with the swipe's `data-swiping`. */
66
+ declare function DrawerViewport(props: PartProps<DialogViewportState>): import("react").JSX.Element;
67
+ /** spec/drawer.md: Dialog's parts, named `drawer-*` by the Root, with the swipe */
68
+ declare const Drawer: {
69
+ Root: typeof DrawerRoot;
70
+ Trigger: <Payload = unknown>(props: DrawerTriggerProps<Payload>) => ReactNode;
71
+ Portal: typeof DialogPortal;
72
+ Backdrop: typeof DrawerBackdrop;
73
+ Viewport: typeof DrawerViewport;
74
+ Popup: typeof DrawerPopup;
75
+ Content: typeof DrawerContent;
76
+ Title: typeof DialogTitle;
77
+ Description: typeof DialogDescription;
78
+ Close: typeof DialogClose;
79
+ createHandle: typeof createDrawerHandle;
80
+ };
81
+ export { DrawerTriggerProps as a, DrawerPopupState as c, DrawerBackdropProps as d, Drawer as i, DrawerHandle as l, SnapPoint as n, DrawerRootProps as o, SwipeDirection as r, DrawerPopupProps as s, ResolvedSnapPoint as t, createDrawerHandle as u };
@@ -0,0 +1,79 @@
1
+ import { t as PartProps } from "./render-element-Pwuv2wsL.js";
2
+ import { ScrollAreaOrientation, ScrollAreaOrientation as ScrollAreaOrientation$1, ScrollAreaThreshold, ScrollAreaThresholdInput, ScrollAreaThresholdInput as ScrollAreaThresholdInput$1 } from "@fragiola/primitives/scroll-area";
3
+ /** What the Root, the Viewport and the Content render with (spec/scroll-area.md). */
4
+ interface ScrollAreaState {
5
+ /** The user scrolls the area (either axis). */
6
+ scrolling: boolean;
7
+ hasOverflowX: boolean;
8
+ hasOverflowY: boolean;
9
+ overflowXStart: boolean;
10
+ overflowXEnd: boolean;
11
+ overflowYStart: boolean;
12
+ overflowYEnd: boolean;
13
+ }
14
+ type ScrollAreaContentProps = PartProps<ScrollAreaState>;
15
+ /** The scrolled content, measured when it resizes (spec/scroll-area.md). */
16
+ declare function ScrollAreaContent(props: ScrollAreaContentProps): import("react").ReactNode;
17
+ /** A Corner has no state of its own (spec/scroll-area.md). */
18
+ type ScrollAreaCornerState = Record<string, never>;
19
+ type ScrollAreaCornerProps = PartProps<ScrollAreaCornerState>;
20
+ /**
21
+ * The square where the two scrollbars meet (spec/scroll-area.md): rendered while both axes
22
+ * overflow, sized by the Root's `--scroll-area-corner-*` variables.
23
+ */
24
+ declare function ScrollAreaCorner(props: ScrollAreaCornerProps): import("react").ReactNode;
25
+ interface ScrollAreaRootProps extends PartProps<ScrollAreaState> {
26
+ /**
27
+ * How far, in pixels, the content must be scrolled from an edge before its `data-overflow-*`
28
+ * attribute is set: one number, or `{ xStart, xEnd, yStart, yEnd }` (default `0`).
29
+ */
30
+ overflowEdgeThreshold?: ScrollAreaThresholdInput$1;
31
+ }
32
+ /**
33
+ * The box of a scrolling area (spec/scroll-area.md): it holds the measured state, which the
34
+ * toolkit's `createScrollArea` reports for the parts it registers.
35
+ */
36
+ declare function ScrollAreaRoot({ overflowEdgeThreshold, ...props }: ScrollAreaRootProps): import("react").JSX.Element;
37
+ interface ScrollAreaScrollbarState extends ScrollAreaState {
38
+ /** A mouse or pen is over the Root. */
39
+ hovering: boolean;
40
+ orientation: ScrollAreaOrientation$1;
41
+ }
42
+ interface ScrollAreaScrollbarProps extends PartProps<ScrollAreaScrollbarState> {
43
+ /** Its axis (default `vertical`). */
44
+ orientation?: ScrollAreaOrientation$1;
45
+ /** Rendered even when its axis does not overflow (default `false`). */
46
+ keepMounted?: boolean;
47
+ }
48
+ /**
49
+ * The track of one axis (spec/scroll-area.md): `aria-hidden`, rendered while its axis
50
+ * overflows; a press on it scrolls, a drag of its Thumb scrolls (the toolkit's listeners).
51
+ */
52
+ declare function ScrollAreaScrollbar({ orientation, keepMounted, ...props }: ScrollAreaScrollbarProps): import("react").JSX.Element | null;
53
+ interface ScrollAreaThumbState {
54
+ /** The user scrolls its axis. */
55
+ scrolling: boolean;
56
+ orientation: ScrollAreaOrientation$1;
57
+ }
58
+ type ScrollAreaThumbProps = PartProps<ScrollAreaThumbState>;
59
+ /**
60
+ * The thumb of a Scrollbar (spec/scroll-area.md): its size is the Scrollbar's
61
+ * `--scroll-area-thumb-*` variable, and the toolkit places it along the track.
62
+ */
63
+ declare function ScrollAreaThumb(props: ScrollAreaThumbProps): import("react").ReactNode;
64
+ type ScrollAreaViewportProps = PartProps<ScrollAreaState>;
65
+ /**
66
+ * The element that scrolls, natively (spec/scroll-area.md): its native scrollbars are hidden, and
67
+ * it takes a tab stop while it overflows with nothing focusable in it.
68
+ */
69
+ declare function ScrollAreaViewport(props: ScrollAreaViewportProps): import("react").ReactNode;
70
+ /** spec/scroll-area.md */
71
+ declare const ScrollArea: {
72
+ Root: typeof ScrollAreaRoot;
73
+ Viewport: typeof ScrollAreaViewport;
74
+ Content: typeof ScrollAreaContent;
75
+ Scrollbar: typeof ScrollAreaScrollbar;
76
+ Thumb: typeof ScrollAreaThumb;
77
+ Corner: typeof ScrollAreaCorner;
78
+ };
79
+ export { ScrollAreaViewportProps as a, ScrollAreaScrollbarProps as c, ScrollAreaCornerProps as d, ScrollAreaCornerState as f, ScrollArea as i, ScrollAreaScrollbarState as l, ScrollAreaState as m, ScrollAreaThreshold as n, ScrollAreaThumbProps as o, ScrollAreaContentProps as p, ScrollAreaThresholdInput as r, ScrollAreaThumbState as s, ScrollAreaOrientation as t, ScrollAreaRootProps as u };
@@ -0,0 +1,81 @@
1
+ import { t as ChangeDetails } from "./change-details-CPSkPCNw.js";
2
+ import { t as PartProps } from "./render-element-Pwuv2wsL.js";
3
+ import { ActivationDirection } from "@fragiola/primitives/collection";
4
+ interface TabsIndicatorProps extends PartProps<{
5
+ orientation: string;
6
+ }> {
7
+ /**
8
+ * Places it before hydration in a server render (Base UI's name): the server writes a small
9
+ * inline script inside it that measures the selected tab as the page parses, then removes
10
+ * itself (spec/tabs.md, "Server rendering"). Default `false`.
11
+ */
12
+ renderBeforeHydration?: boolean;
13
+ /**
14
+ * The `nonce` of the `renderBeforeHydration` script, so it runs under a Content Security
15
+ * Policy that allows inline scripts by nonce (spec/tabs.md, "Server rendering").
16
+ */
17
+ nonce?: string;
18
+ }
19
+ /**
20
+ * Follows the selected tab through CSS variables measured from the list (spec/tabs.md). It is
21
+ * rendered once the selected tab is measured (at once with `renderBeforeHydration`).
22
+ */
23
+ declare function TabsIndicator({ renderBeforeHydration, nonce, ...props }: TabsIndicatorProps): import("react").ReactNode;
24
+ /** The tablist: one tab stop, arrows move between tabs (spec/tabs.md, "Keyboard"). */
25
+ declare function TabsList(props: PartProps<{
26
+ orientation: string;
27
+ }>): import("react").ReactNode;
28
+ interface TabsRootState {
29
+ orientation: "horizontal" | "vertical";
30
+ activation: "automatic" | "manual";
31
+ activationDirection: ActivationDirection;
32
+ }
33
+ interface TabsRootProps extends PartProps<TabsRootState> {
34
+ value?: string;
35
+ /** Default: the first enabled tab. */
36
+ defaultValue?: string;
37
+ onValueChange?: (value: string, details: ChangeDetails) => void;
38
+ orientation?: "horizontal" | "vertical";
39
+ /** `automatic`: moving focus selects; `manual`: Enter or Space selects. */
40
+ activation?: "automatic" | "manual";
41
+ /** Whether the arrow keys wrap from the last tab to the first and back (default `true`). */
42
+ loopFocus?: boolean;
43
+ }
44
+ /** spec/tabs.md */
45
+ declare function TabsRoot({ value: valueProp, defaultValue, onValueChange, orientation, activation, loopFocus, ...props }: TabsRootProps): import("react").JSX.Element;
46
+ interface TabsPanelState {
47
+ selected: boolean;
48
+ orientation: string;
49
+ activationDirection: ActivationDirection;
50
+ transitionStatus: "starting" | "ending" | undefined;
51
+ }
52
+ interface TabsPanelProps extends PartProps<TabsPanelState> {
53
+ value: string;
54
+ /** Keep an inactive panel rendered, `hidden`, once its exit ended (default `false`). */
55
+ keepMounted?: boolean;
56
+ }
57
+ /**
58
+ * The content of one tab, with enter and exit states (spec/tabs.md, "Animation"): a panel that
59
+ * stops being selected stays, `inert`, with `data-ending-style` until its animations end.
60
+ */
61
+ declare function TabsPanel({ value, keepMounted, ...props }: TabsPanelProps): import("react").ReactNode;
62
+ interface TabsTabState {
63
+ selected: boolean;
64
+ disabled: boolean;
65
+ orientation: string;
66
+ }
67
+ interface TabsTabProps extends PartProps<TabsTabState> {
68
+ value: string;
69
+ /** Stays focusable, is never selected (spec/tabs.md). */
70
+ disabled?: boolean;
71
+ }
72
+ declare function TabsTab({ value, disabled, ...props }: TabsTabProps): import("react").ReactNode;
73
+ /** spec/tabs.md */
74
+ declare const Tabs: {
75
+ Root: typeof TabsRoot;
76
+ List: typeof TabsList;
77
+ Tab: typeof TabsTab;
78
+ Indicator: typeof TabsIndicator;
79
+ Panel: typeof TabsPanel;
80
+ };
81
+ export { TabsPanelState as a, TabsRootState as c, TabsPanelProps as i, TabsIndicatorProps as l, TabsTabProps as n, ActivationDirection as o, TabsTabState as r, TabsRootProps as s, Tabs as t };
@@ -0,0 +1,37 @@
1
+ import { t as ChangeDetails } from "./change-details-CPSkPCNw.js";
2
+ import "./render-element-Pwuv2wsL.js";
3
+ import { S as CalendarCell, a as CalendarPrevButton, b as CalendarGrid, g as CalendarGridHeader, p as CalendarHeaderCell, r as CalendarRootSharedProps, s as CalendarNextButton, t as CalendarRow, u as CalendarHeading, v as CalendarGridBody } from "./calendar-row-BO5kyOgq.js";
4
+ import "./calendar-value-DCOjO7og.js";
5
+ import "./parts-BJ94V7Kv.js";
6
+ import { DateRange, PlainDate, PlainDate as PlainDate$1, Weekday } from "@fragiola/primitives/date";
7
+ interface MultipleCalendarRootProps extends CalendarRootSharedProps {
8
+ /** The chosen dates, sorted from the earliest (controlled). */
9
+ value?: PlainDate$1[];
10
+ /** The chosen dates at first (uncontrolled; default none). */
11
+ defaultValue?: PlainDate$1[];
12
+ onValueChange?: (value: PlainDate$1[], details: ChangeDetails) => void;
13
+ /** How many dates can be chosen at most (default: no limit). */
14
+ maxSelected?: number;
15
+ /** The form name: one hidden input per chosen date (ISO 8601). */
16
+ name?: string;
17
+ }
18
+ /**
19
+ * Several dates (spec/calendar.md, "Multiple dates"): a press, Enter or Space toggles a date. Its
20
+ * state is the Calendar's, with the dates on top; its parts are the Calendar's, named
21
+ * `multiple-calendar-*`.
22
+ */
23
+ declare function MultipleCalendarRoot({ value: valueProp, defaultValue, onValueChange, maxSelected, name, min, max, isDateUnavailable, locale, firstDayOfWeek, visibleMonths, calendar, disabled, readOnly, children, ...props }: MultipleCalendarRootProps): import("react").JSX.Element;
24
+ /** spec/calendar.md "Multiple dates": several dates, with the Calendar's parts (named `multiple-calendar-*`) */
25
+ declare const MultipleCalendar: {
26
+ Root: typeof MultipleCalendarRoot;
27
+ Heading: typeof CalendarHeading;
28
+ PrevButton: typeof CalendarPrevButton;
29
+ NextButton: typeof CalendarNextButton;
30
+ Grid: typeof CalendarGrid;
31
+ GridHeader: typeof CalendarGridHeader;
32
+ HeaderCell: typeof CalendarHeaderCell;
33
+ GridBody: typeof CalendarGridBody;
34
+ Row: typeof CalendarRow;
35
+ Cell: typeof CalendarCell;
36
+ };
37
+ export { MultipleCalendarRootProps as a, MultipleCalendar as i, PlainDate as n, Weekday as r, DateRange 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, PlainYear as PlainYear$1, PlainYearMonth, YearMonthRange, YearRange } from "@fragiola/primitives/month-year";
6
+ interface YearCalendarRootProps extends MonthCalendarRootSharedProps {
7
+ value?: PlainYear$1 | null;
8
+ defaultValue?: PlainYear$1 | null;
9
+ onValueChange?: (value: PlainYear$1 | null, details: ChangeDetails) => void;
10
+ /** Years before it are disabled. */
11
+ min?: PlainYear$1 | null;
12
+ /** Years after it are disabled. */
13
+ max?: PlainYear$1 | null;
14
+ /** Unavailable years can be focused but not chosen. */
15
+ isUnavailable?: (year: PlainYear$1) => boolean;
16
+ }
17
+ /** One year, in a grid of a page of 12 years (spec/month-calendar.md), on the MonthCalendar's state and parts. */
18
+ declare function YearCalendarRoot(props: YearCalendarRootProps): import("react").JSX.Element;
19
+ /** spec/month-calendar.md: one year, in a grid of a page of 12 years, with the MonthCalendar's parts (named `year-calendar-*`) */
20
+ declare const YearCalendar: {
21
+ Root: typeof YearCalendarRoot;
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 { YearCalendar as a, YearRange as i, PlainYearMonth as n, YearCalendarRootProps as o, YearMonthRange as r, PlainYear as t };
@@ -0,0 +1,34 @@
1
+ import { t as ChangeDetails } from "./change-details-CPSkPCNw.js";
2
+ import { t as PartProps } from "./render-element-Pwuv2wsL.js";
3
+ interface SwitchState {
4
+ checked: boolean;
5
+ disabled: boolean;
6
+ readOnly: boolean;
7
+ required: boolean;
8
+ }
9
+ interface SwitchRootProps extends PartProps<SwitchState> {
10
+ checked?: boolean;
11
+ defaultChecked?: boolean;
12
+ onCheckedChange?: (checked: boolean, details: ChangeDetails) => void;
13
+ disabled?: boolean;
14
+ required?: boolean;
15
+ /** Focusable and submitted, but a press or a key does not toggle it. */
16
+ readOnly?: boolean;
17
+ name?: string;
18
+ /** Submitted while on (`"on"`). */
19
+ value?: string;
20
+ /** Submitted while off, when given (Base UI); nothing is submitted while off without it. */
21
+ uncheckedValue?: string;
22
+ id?: string;
23
+ }
24
+ /** A `switch` with its hidden form inputs (spec/switch.md, the APG switch). */
25
+ declare function SwitchRoot({ checked: checkedProp, defaultChecked, onCheckedChange, disabled: disabledProp, required, readOnly, name, value, uncheckedValue, id: idProp, children, ...props }: SwitchRootProps): import("react").JSX.Element;
26
+ type SwitchThumbProps = PartProps<SwitchState>;
27
+ /** The moving part, always rendered; the recipe places it from `data-checked` (spec/switch.md). */
28
+ declare function SwitchThumb(props: SwitchThumbProps): import("react").ReactNode;
29
+ /** spec/switch.md */
30
+ declare const Switch: {
31
+ Root: typeof SwitchRoot;
32
+ Thumb: typeof SwitchThumb;
33
+ };
34
+ export { SwitchState as i, SwitchThumbProps as n, SwitchRootProps as r, Switch as t };
@@ -0,0 +1,73 @@
1
+ import { t as ChangeDetails } from "./change-details-CPSkPCNw.js";
2
+ import { t as PartProps } from "./render-element-Pwuv2wsL.js";
3
+ import { ReactNode } from "react";
4
+ interface RatingRootState {
5
+ value: number;
6
+ disabled: boolean;
7
+ readOnly: boolean;
8
+ required: boolean;
9
+ }
10
+ /** What the Root's children function receives (spec/rating.md, "API"). */
11
+ interface RatingRootRenderState {
12
+ /** The stars' indexes, `1` to `count`. */
13
+ items: number[];
14
+ value: number;
15
+ }
16
+ interface RatingRootProps extends Omit<PartProps<RatingRootState>, "children"> {
17
+ /** The score, `0` for none (controlled). */
18
+ value?: number;
19
+ /** The score at first (default `0`: none). */
20
+ defaultValue?: number;
21
+ onValueChange?: (value: number, details: ChangeDetails) => void;
22
+ /** The number of stars (default `5`). */
23
+ count?: number;
24
+ /** Half steps: the arrows step by 0.5, a press on a star's inline-start half chooses its half. */
25
+ allowHalf?: boolean;
26
+ /** A press that chooses the current value again clears it (default `false`). */
27
+ allowClear?: boolean;
28
+ /** Shown and focusable; nothing changes it. */
29
+ readOnly?: boolean;
30
+ /** Every star is disabled. */
31
+ disabled?: boolean;
32
+ /** The form's validation fails while the value is `0`. */
33
+ required?: boolean;
34
+ /** The HiddenInput's name. */
35
+ name?: string;
36
+ /** The arrows wrap from `count` to the first step and back (default `true`). */
37
+ loopFocus?: boolean;
38
+ children?: ReactNode | ((state: RatingRootRenderState) => ReactNode);
39
+ }
40
+ /**
41
+ * A score chosen among stars (spec/rating.md, the APG's rating radio group): the `radiogroup`,
42
+ * one `radio` per star, one tab stop, the arrows step the value and move the focus, a pointer
43
+ * previews the value it would choose.
44
+ */
45
+ declare function RatingRoot({ value: valueProp, defaultValue, onValueChange, count, allowHalf, allowClear, readOnly, disabled: disabledProp, required, name, loopFocus, children, ...props }: RatingRootProps): import("react").JSX.Element;
46
+ /**
47
+ * The Rating's form value (spec/rating.md, "Forms"): a visually hidden input with the score as
48
+ * text, its `name` only while there is one, validated by the browser.
49
+ */
50
+ declare function RatingHiddenInput(props: PartProps<RatingRootState>): import("react").ReactNode;
51
+ /** A star's state (spec/rating.md, "API"). */
52
+ interface RatingItemState {
53
+ index: number;
54
+ checked: boolean;
55
+ highlighted: boolean;
56
+ half: boolean;
57
+ disabled: boolean;
58
+ readOnly: boolean;
59
+ }
60
+ interface RatingItemProps extends Omit<PartProps<RatingItemState>, "children"> {
61
+ /** The star's number, `1` to `count`: its whole value. */
62
+ index: number;
63
+ children?: ReactNode | ((state: RatingItemState) => ReactNode);
64
+ }
65
+ /** A star: a `radio` of the Rating (spec/rating.md). */
66
+ declare function RatingItem({ index, children, ...props }: RatingItemProps): ReactNode;
67
+ /** spec/rating.md */
68
+ declare const Rating: {
69
+ Root: typeof RatingRoot;
70
+ Item: typeof RatingItem;
71
+ HiddenInput: typeof RatingHiddenInput;
72
+ };
73
+ export { RatingRootRenderState as a, RatingRootProps as i, RatingItemProps as n, RatingRootState as o, RatingItemState as r, Rating as t };
@@ -0,0 +1,32 @@
1
+ import { t as ChangeDetails } from "./change-details-CPSkPCNw.js";
2
+ import { t as PartProps } from "./render-element-Pwuv2wsL.js";
3
+ interface RadioGroupState {
4
+ value: string | null;
5
+ disabled: boolean;
6
+ required: boolean;
7
+ orientation: "horizontal" | "vertical" | undefined;
8
+ }
9
+ interface RadioGroupProps extends PartProps<RadioGroupState> {
10
+ /** The checked radio's value; `null` for none (controlled). */
11
+ value?: string | null;
12
+ /** The radio checked at first (default: none). */
13
+ defaultValue?: string | null;
14
+ /** The checked radio's value; `null` when a form reset returns the group to none. */
15
+ onValueChange?: (value: string | null, details: ChangeDetails) => void;
16
+ /** Disables every radio. */
17
+ disabled?: boolean;
18
+ /** The form's validation fails while no radio is checked. */
19
+ required?: boolean;
20
+ /** Every radio's hidden input takes it. */
21
+ name?: string;
22
+ /** `aria-orientation` and `data-orientation`; it changes no key (APG). */
23
+ orientation?: "horizontal" | "vertical";
24
+ /** The arrows wrap from the last radio to the first and back (default `true`). */
25
+ loopFocus?: boolean;
26
+ }
27
+ /**
28
+ * A set of radios of which one can be checked (spec/radio-group.md, the APG radio group): the
29
+ * `radiogroup`, one tab stop, the arrows move the focus and the check together.
30
+ */
31
+ declare function RadioGroup({ value: valueProp, defaultValue, onValueChange, disabled: disabledProp, required, name, orientation, loopFocus, ...props }: RadioGroupProps): import("react").JSX.Element;
32
+ export { RadioGroupProps as n, RadioGroupState as r, RadioGroup as t };
@@ -0,0 +1,88 @@
1
+ import { t as OverlayPortalProps } from "./use-overlay-portal-D8GjZ-m7.js";
2
+ import { t as PartProps } from "./render-element-Pwuv2wsL.js";
3
+ import { ReactNode } from "react";
4
+ import { SwipeDirection, SwipeDirection as SwipeDirection$1 } from "@fragiola/primitives/swipe";
5
+ import { ToastManager, ToastManager as ToastManager$1, ToastManagerOptions, ToastManagerOptions as ToastManagerOptions$1, ToastObject, ToastObject as ToastObject$1, ToastOptions, ToastOptions as ToastOptions$1, ToastPriority, ToastPromiseOptions, ToastPromiseOptions as ToastPromiseOptions$1, ToastUpdate } from "@fragiola/primitives/toast";
6
+ /**
7
+ * Creates a toast queue (spec/toast.md, "The toast queue"): a plain module can create it, import
8
+ * it anywhere and add toasts, and a `Toast.Provider` renders it (`toastManager`).
9
+ */
10
+ declare function createToastManager<Data = unknown>(options?: ToastManagerOptions$1): ToastManager$1<Data>;
11
+ /** A toast's action: a button the app wires (spec/toast.md). */
12
+ declare function ToastAction(props: PartProps<{
13
+ type: string | undefined;
14
+ }>): import("react").ReactNode;
15
+ /** Closes its toast (spec/toast.md). */
16
+ declare function ToastClose(props: PartProps<{
17
+ type: string | undefined;
18
+ }>): import("react").ReactNode;
19
+ /** The toast's description (its Root's `aria-describedby`); its children default to the toast's `description`. */
20
+ declare function ToastDescription(props: PartProps<{
21
+ type: string | undefined;
22
+ }>): import("react").ReactNode;
23
+ interface ToastPortalProps extends Omit<OverlayPortalProps, "keepMounted"> {}
24
+ /** Renders the Viewport into `container` (default `body`), in the browser only (spec/toast.md). */
25
+ declare function ToastPortal(props: ToastPortalProps): import("react").ReactNode;
26
+ interface ToastProviderProps {
27
+ /** A queue the app created (for instance in a plain module); default: one of its own. */
28
+ toastManager?: ToastManager$1<unknown>;
29
+ /** How many toasts show at once (default `3`; given to a `toastManager` only when set). */
30
+ limit?: number;
31
+ /** The default ms before a toast closes (default `5000`; idem). */
32
+ timeout?: number;
33
+ children?: ReactNode;
34
+ }
35
+ /** Gives its parts the toast queue (spec/toast.md, "API"); renders no element. */
36
+ declare function ToastProvider({ toastManager, limit, timeout, children }: ToastProviderProps): import("react").JSX.Element;
37
+ interface ToastRootState {
38
+ type: string | undefined;
39
+ expanded: boolean;
40
+ limited: boolean;
41
+ swiping: boolean;
42
+ swipeDirection: SwipeDirection$1 | undefined;
43
+ }
44
+ interface ToastRootProps<Data = unknown> extends PartProps<ToastRootState> {
45
+ /** The toast of the queue it renders. */
46
+ toast: ToastObject$1<Data>;
47
+ /** The edge a swipe dismisses it towards (default `right`). */
48
+ swipeDirection?: SwipeDirection$1;
49
+ }
50
+ /** One toast (spec/toast.md): its presence, its measure, its swipe and Escape. */
51
+ declare function ToastRoot<Data = unknown>({ toast, swipeDirection, ...props }: ToastRootProps<Data>): import("react").JSX.Element;
52
+ /** The toast's title (its Root's `aria-labelledby`); its children default to the toast's `title`. */
53
+ declare function ToastTitle(props: PartProps<{
54
+ type: string | undefined;
55
+ }>): import("react").ReactNode;
56
+ interface ToastViewportState {
57
+ expanded: boolean;
58
+ }
59
+ /**
60
+ * The `region` landmark of the toasts (spec/toast.md, "Viewport"): F6 reaches it, the pointer and
61
+ * the keyboard in it pause the queue, and its live regions announce the toasts.
62
+ */
63
+ declare function ToastViewport(props: PartProps<ToastViewportState>): import("react").JSX.Element;
64
+ /** The Provider's queue in a component (spec/toast.md, "The queue in a component"). */
65
+ interface UseToastManagerValue<Data = unknown> {
66
+ /** The toasts, newest first; a change renders again. */
67
+ toasts: readonly ToastObject$1<Data>[];
68
+ add: (options: ToastOptions$1<Data>) => string;
69
+ update: ToastManager$1<Data>["update"];
70
+ close: (id?: string) => void;
71
+ promise: <Value>(promise: Promise<Value>, options: ToastPromiseOptions$1<Value, Data>) => Promise<Value>;
72
+ }
73
+ /** The toast queue of the enclosing `Toast.Provider`, with its toasts. */
74
+ declare function useToastManager<Data = unknown>(): UseToastManagerValue<Data>;
75
+ /** spec/toast.md */
76
+ declare const Toast: {
77
+ Provider: typeof ToastProvider;
78
+ Portal: typeof ToastPortal;
79
+ Viewport: typeof ToastViewport;
80
+ Root: typeof ToastRoot;
81
+ Title: typeof ToastTitle;
82
+ Description: typeof ToastDescription;
83
+ Action: typeof ToastAction;
84
+ Close: typeof ToastClose;
85
+ createToastManager: typeof createToastManager;
86
+ useToastManager: typeof useToastManager;
87
+ };
88
+ export { createToastManager as _, ToastOptions as a, ToastUpdate as c, useToastManager as d, ToastViewportState as f, ToastPortalProps as g, ToastProviderProps as h, ToastObject as i, Toast as l, ToastRootState as m, ToastManager as n, ToastPriority as o, ToastRootProps as p, ToastManagerOptions as r, ToastPromiseOptions as s, SwipeDirection as t, UseToastManagerValue as u };
@@ -0,0 +1,38 @@
1
+ import { t as ChangeDetails } from "./change-details-CPSkPCNw.js";
2
+ import { t as PartProps } from "./render-element-Pwuv2wsL.js";
3
+ interface CollapsibleState {
4
+ open: boolean;
5
+ disabled: boolean;
6
+ }
7
+ interface CollapsiblePanelState {
8
+ open: boolean;
9
+ disabled: boolean;
10
+ transitionStatus: "starting" | "ending" | undefined;
11
+ }
12
+ interface CollapsiblePanelProps extends PartProps<CollapsiblePanelState> {
13
+ /** Keep a closed panel in the DOM, `hidden` (default `false`). */
14
+ keepMounted?: boolean;
15
+ /** Keep a closed panel in the DOM, `hidden="until-found"`: find-in-page opens it. */
16
+ hiddenUntilFound?: boolean;
17
+ }
18
+ /** The content shown and hidden, animatable with no layout jump (spec/collapsible.md). */
19
+ declare function CollapsiblePanel({ keepMounted, hiddenUntilFound, ...props }: CollapsiblePanelProps): import("react").ReactNode;
20
+ interface CollapsibleRootProps extends PartProps<CollapsibleState> {
21
+ open?: boolean;
22
+ defaultOpen?: boolean;
23
+ onOpenChange?: (open: boolean, details: ChangeDetails) => void;
24
+ /** Nothing but a controlled `open` opens or closes it (default `false`). */
25
+ disabled?: boolean;
26
+ }
27
+ /** spec/collapsible.md (the APG disclosure) */
28
+ declare function CollapsibleRoot({ open: openProp, defaultOpen, onOpenChange, disabled, ...props }: CollapsibleRootProps): import("react").JSX.Element;
29
+ type CollapsibleTriggerProps = PartProps<CollapsibleState>;
30
+ /** The disclosure button (spec/collapsible.md): Enter and Space through its native click. */
31
+ declare function CollapsibleTrigger(props: CollapsibleTriggerProps): import("react").ReactNode;
32
+ /** spec/collapsible.md */
33
+ declare const Collapsible: {
34
+ Root: typeof CollapsibleRoot;
35
+ Trigger: typeof CollapsibleTrigger;
36
+ Panel: typeof CollapsiblePanel;
37
+ };
38
+ export { CollapsiblePanelState as a, CollapsiblePanelProps as i, CollapsibleTriggerProps as n, CollapsibleState as o, CollapsibleRootProps as r, Collapsible as t };
@@ -0,0 +1,16 @@
1
+ import { t as PartProps } from "./render-element-Pwuv2wsL.js";
2
+ /** What an AspectRatio renders with (spec/aspect-ratio.md). */
3
+ interface AspectRatioState {
4
+ /** The width over the height. */
5
+ ratio: number;
6
+ }
7
+ interface AspectRatioProps extends PartProps<AspectRatioState> {
8
+ /** The width over the height (default `1`; not a positive finite number: `1`). */
9
+ ratio?: number;
10
+ }
11
+ /**
12
+ * A box that keeps its content at a ratio (spec/aspect-ratio.md): a structural
13
+ * `aspect-ratio`, and nothing else.
14
+ */
15
+ declare function AspectRatio({ ratio: ratioProp, ...props }: AspectRatioProps): import("react").ReactNode;
16
+ export { AspectRatioProps as n, AspectRatioState as r, AspectRatio as t };