@particle-academy/react-fancy 5.12.0 → 5.14.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 (959) hide show
  1. package/dist/AudioViewer.types-VWhRx6XG.d.cts +22 -0
  2. package/dist/AudioViewer.types-VWhRx6XG.d.ts +22 -0
  3. package/dist/Card-BZ5F6-wd.d.cts +50 -0
  4. package/dist/Card-BZ5F6-wd.d.ts +50 -0
  5. package/dist/Carousel.context-Ba3gKZHQ.d.cts +61 -0
  6. package/dist/Carousel.context-Ba3gKZHQ.d.ts +61 -0
  7. package/dist/FieldMode.context-Bv_wuS8V.d.ts +74 -0
  8. package/dist/FieldMode.context-C28RH8GR.d.cts +74 -0
  9. package/dist/ImageViewer.types-BaqlDeuo.d.cts +55 -0
  10. package/dist/ImageViewer.types-BaqlDeuo.d.ts +55 -0
  11. package/dist/PdfViewer.types-_u6vboSl.d.cts +14 -0
  12. package/dist/PdfViewer.types-_u6vboSl.d.ts +14 -0
  13. package/dist/Timeline-7zHhIk3P.d.cts +73 -0
  14. package/dist/Timeline-Cvrd7N7-.d.ts +73 -0
  15. package/dist/VideoViewer.types-CTwS6PcM.d.cts +26 -0
  16. package/dist/VideoViewer.types-CTwS6PcM.d.ts +26 -0
  17. package/dist/accordion-panel.cjs +34 -0
  18. package/dist/accordion-panel.cjs.map +1 -0
  19. package/dist/accordion-panel.d.cts +186 -0
  20. package/dist/accordion-panel.d.ts +186 -0
  21. package/dist/accordion-panel.js +5 -0
  22. package/dist/accordion-panel.js.map +1 -0
  23. package/dist/accordion.cjs +17 -0
  24. package/dist/accordion.cjs.map +1 -0
  25. package/dist/accordion.d.cts +53 -0
  26. package/dist/accordion.d.ts +53 -0
  27. package/dist/accordion.js +4 -0
  28. package/dist/accordion.js.map +1 -0
  29. package/dist/audio-viewer.cjs +13 -0
  30. package/dist/audio-viewer.cjs.map +1 -0
  31. package/dist/audio-viewer.d.cts +14 -0
  32. package/dist/audio-viewer.d.ts +14 -0
  33. package/dist/audio-viewer.js +4 -0
  34. package/dist/audio-viewer.js.map +1 -0
  35. package/dist/autocomplete.cjs +20 -0
  36. package/dist/autocomplete.cjs.map +1 -0
  37. package/dist/autocomplete.d.cts +28 -0
  38. package/dist/autocomplete.d.ts +28 -0
  39. package/dist/autocomplete.js +11 -0
  40. package/dist/autocomplete.js.map +1 -0
  41. package/dist/avatar.cjs +13 -0
  42. package/dist/avatar.cjs.map +1 -0
  43. package/dist/avatar.d.cts +26 -0
  44. package/dist/avatar.d.ts +26 -0
  45. package/dist/avatar.js +4 -0
  46. package/dist/avatar.js.map +1 -0
  47. package/dist/badge.cjs +13 -0
  48. package/dist/badge.cjs.map +1 -0
  49. package/dist/badge.d.cts +18 -0
  50. package/dist/badge.d.ts +18 -0
  51. package/dist/badge.js +4 -0
  52. package/dist/badge.js.map +1 -0
  53. package/dist/brand.cjs +17 -0
  54. package/dist/brand.cjs.map +1 -0
  55. package/dist/brand.d.cts +43 -0
  56. package/dist/brand.d.ts +43 -0
  57. package/dist/brand.js +4 -0
  58. package/dist/brand.js.map +1 -0
  59. package/dist/breadcrumbs.cjs +15 -0
  60. package/dist/breadcrumbs.cjs.map +1 -0
  61. package/dist/breadcrumbs.d.cts +36 -0
  62. package/dist/breadcrumbs.d.ts +36 -0
  63. package/dist/breadcrumbs.js +6 -0
  64. package/dist/breadcrumbs.js.map +1 -0
  65. package/dist/button.cjs +20 -0
  66. package/dist/button.cjs.map +1 -0
  67. package/dist/button.d.cts +84 -0
  68. package/dist/button.d.ts +84 -0
  69. package/dist/button.js +7 -0
  70. package/dist/button.js.map +1 -0
  71. package/dist/calendar.cjs +13 -0
  72. package/dist/calendar.cjs.map +1 -0
  73. package/dist/calendar.d.cts +20 -0
  74. package/dist/calendar.d.ts +20 -0
  75. package/dist/calendar.js +4 -0
  76. package/dist/calendar.js.map +1 -0
  77. package/dist/callout.cjs +13 -0
  78. package/dist/callout.cjs.map +1 -0
  79. package/dist/callout.d.cts +16 -0
  80. package/dist/callout.d.ts +16 -0
  81. package/dist/callout.js +4 -0
  82. package/dist/callout.js.map +1 -0
  83. package/dist/card.cjs +29 -0
  84. package/dist/card.cjs.map +1 -0
  85. package/dist/card.d.cts +29 -0
  86. package/dist/card.d.ts +29 -0
  87. package/dist/card.js +4 -0
  88. package/dist/card.js.map +1 -0
  89. package/dist/carousel.cjs +34 -0
  90. package/dist/carousel.cjs.map +1 -0
  91. package/dist/carousel.d.cts +13 -0
  92. package/dist/carousel.d.ts +13 -0
  93. package/dist/carousel.js +5 -0
  94. package/dist/carousel.js.map +1 -0
  95. package/dist/chart.cjs +13 -0
  96. package/dist/chart.cjs.map +1 -0
  97. package/dist/chart.d.cts +140 -0
  98. package/dist/chart.d.ts +140 -0
  99. package/dist/chart.js +4 -0
  100. package/dist/chart.js.map +1 -0
  101. package/dist/chat-drawer.cjs +15 -0
  102. package/dist/chat-drawer.cjs.map +1 -0
  103. package/dist/chat-drawer.d.cts +63 -0
  104. package/dist/chat-drawer.d.ts +63 -0
  105. package/dist/chat-drawer.js +6 -0
  106. package/dist/chat-drawer.js.map +1 -0
  107. package/dist/checkbox-group.cjs +19 -0
  108. package/dist/checkbox-group.cjs.map +1 -0
  109. package/dist/checkbox-group.d.cts +18 -0
  110. package/dist/checkbox-group.d.ts +18 -0
  111. package/dist/checkbox-group.js +10 -0
  112. package/dist/checkbox-group.js.map +1 -0
  113. package/dist/checkbox.cjs +17 -0
  114. package/dist/checkbox.cjs.map +1 -0
  115. package/dist/checkbox.d.cts +16 -0
  116. package/dist/checkbox.d.ts +16 -0
  117. package/dist/checkbox.js +8 -0
  118. package/dist/checkbox.js.map +1 -0
  119. package/dist/chunk-2CNSZCVE.cjs +119 -0
  120. package/dist/chunk-2CNSZCVE.cjs.map +1 -0
  121. package/dist/chunk-2CYRAKWI.cjs +241 -0
  122. package/dist/chunk-2CYRAKWI.cjs.map +1 -0
  123. package/dist/chunk-2G3L4BLU.cjs +257 -0
  124. package/dist/chunk-2G3L4BLU.cjs.map +1 -0
  125. package/dist/chunk-2PELJ4VA.cjs +335 -0
  126. package/dist/chunk-2PELJ4VA.cjs.map +1 -0
  127. package/dist/chunk-2S7WRR5P.cjs +156 -0
  128. package/dist/chunk-2S7WRR5P.cjs.map +1 -0
  129. package/dist/chunk-32AJIHBZ.js +201 -0
  130. package/dist/chunk-32AJIHBZ.js.map +1 -0
  131. package/dist/chunk-3DJGPNUI.js +39 -0
  132. package/dist/chunk-3DJGPNUI.js.map +1 -0
  133. package/dist/chunk-3ETOEEVN.cjs +62 -0
  134. package/dist/chunk-3ETOEEVN.cjs.map +1 -0
  135. package/dist/chunk-3F66SAE7.js +40 -0
  136. package/dist/chunk-3F66SAE7.js.map +1 -0
  137. package/dist/chunk-3GRC5J2L.cjs +54 -0
  138. package/dist/chunk-3GRC5J2L.cjs.map +1 -0
  139. package/dist/chunk-3SQ34IQC.cjs +124 -0
  140. package/dist/chunk-3SQ34IQC.cjs.map +1 -0
  141. package/dist/chunk-3WGRVDQR.cjs +39 -0
  142. package/dist/chunk-3WGRVDQR.cjs.map +1 -0
  143. package/dist/chunk-3Z6ALUWP.cjs +13 -0
  144. package/dist/chunk-3Z6ALUWP.cjs.map +1 -0
  145. package/dist/chunk-45BBNJQD.js +2019 -0
  146. package/dist/chunk-45BBNJQD.js.map +1 -0
  147. package/dist/chunk-47TFRODY.cjs +107 -0
  148. package/dist/chunk-47TFRODY.cjs.map +1 -0
  149. package/dist/chunk-4DQ6HX27.cjs +187 -0
  150. package/dist/chunk-4DQ6HX27.cjs.map +1 -0
  151. package/dist/chunk-4UA45GB4.js +129 -0
  152. package/dist/chunk-4UA45GB4.js.map +1 -0
  153. package/dist/chunk-57FQGQJK.cjs +26 -0
  154. package/dist/chunk-57FQGQJK.cjs.map +1 -0
  155. package/dist/chunk-5FV6GMFP.cjs +4 -0
  156. package/dist/chunk-5FV6GMFP.cjs.map +1 -0
  157. package/dist/chunk-5HOQ2PHR.cjs +287 -0
  158. package/dist/chunk-5HOQ2PHR.cjs.map +1 -0
  159. package/dist/chunk-5I4PR2KV.cjs +131 -0
  160. package/dist/chunk-5I4PR2KV.cjs.map +1 -0
  161. package/dist/chunk-5LHG7HEY.cjs +42 -0
  162. package/dist/chunk-5LHG7HEY.cjs.map +1 -0
  163. package/dist/chunk-5OC6DUYT.js +139 -0
  164. package/dist/chunk-5OC6DUYT.js.map +1 -0
  165. package/dist/chunk-5QL7XT3N.js +80 -0
  166. package/dist/chunk-5QL7XT3N.js.map +1 -0
  167. package/dist/chunk-5U2DZ7AV.js +49 -0
  168. package/dist/chunk-5U2DZ7AV.js.map +1 -0
  169. package/dist/chunk-5UOQVGZC.cjs +930 -0
  170. package/dist/chunk-5UOQVGZC.cjs.map +1 -0
  171. package/dist/chunk-6BW5BQMN.cjs +57 -0
  172. package/dist/chunk-6BW5BQMN.cjs.map +1 -0
  173. package/dist/chunk-6FBFE66M.cjs +292 -0
  174. package/dist/chunk-6FBFE66M.cjs.map +1 -0
  175. package/dist/chunk-6FQGMVF2.js +25 -0
  176. package/dist/chunk-6FQGMVF2.js.map +1 -0
  177. package/dist/chunk-6GC5DMOK.cjs +141 -0
  178. package/dist/chunk-6GC5DMOK.cjs.map +1 -0
  179. package/dist/chunk-6H6OYLMJ.js +105 -0
  180. package/dist/chunk-6H6OYLMJ.js.map +1 -0
  181. package/dist/chunk-6L6LI2RL.cjs +37 -0
  182. package/dist/chunk-6L6LI2RL.cjs.map +1 -0
  183. package/dist/chunk-6MDZQIMZ.cjs +18 -0
  184. package/dist/chunk-6MDZQIMZ.cjs.map +1 -0
  185. package/dist/chunk-6OSHAP6L.cjs +110 -0
  186. package/dist/chunk-6OSHAP6L.cjs.map +1 -0
  187. package/dist/chunk-7AFEKDUS.js +202 -0
  188. package/dist/chunk-7AFEKDUS.js.map +1 -0
  189. package/dist/chunk-7C7VF4WY.cjs +155 -0
  190. package/dist/chunk-7C7VF4WY.cjs.map +1 -0
  191. package/dist/chunk-7NLKXBZ2.cjs +88 -0
  192. package/dist/chunk-7NLKXBZ2.cjs.map +1 -0
  193. package/dist/chunk-7XDKIZQE.js +382 -0
  194. package/dist/chunk-7XDKIZQE.js.map +1 -0
  195. package/dist/chunk-A22T6DKO.cjs +283 -0
  196. package/dist/chunk-A22T6DKO.cjs.map +1 -0
  197. package/dist/chunk-A3CNYKT3.js +197 -0
  198. package/dist/chunk-A3CNYKT3.js.map +1 -0
  199. package/dist/chunk-AC7M7JDO.cjs +199 -0
  200. package/dist/chunk-AC7M7JDO.cjs.map +1 -0
  201. package/dist/chunk-AGDW5ENV.js +37 -0
  202. package/dist/chunk-AGDW5ENV.js.map +1 -0
  203. package/dist/chunk-AIA5UNQ5.cjs +4 -0
  204. package/dist/chunk-AIA5UNQ5.cjs.map +1 -0
  205. package/dist/chunk-AKIUDPJU.js +119 -0
  206. package/dist/chunk-AKIUDPJU.js.map +1 -0
  207. package/dist/chunk-ANEX75DF.cjs +39 -0
  208. package/dist/chunk-ANEX75DF.cjs.map +1 -0
  209. package/dist/chunk-AOOBRPTE.cjs +142 -0
  210. package/dist/chunk-AOOBRPTE.cjs.map +1 -0
  211. package/dist/chunk-ARSQY4P7.cjs +101 -0
  212. package/dist/chunk-ARSQY4P7.cjs.map +1 -0
  213. package/dist/chunk-ATFXU6R6.js +122 -0
  214. package/dist/chunk-ATFXU6R6.js.map +1 -0
  215. package/dist/chunk-AUTW5O4W.js +3 -0
  216. package/dist/chunk-AUTW5O4W.js.map +1 -0
  217. package/dist/chunk-AVR5P4GA.cjs +832 -0
  218. package/dist/chunk-AVR5P4GA.cjs.map +1 -0
  219. package/dist/chunk-B3HVWXIQ.cjs +112 -0
  220. package/dist/chunk-B3HVWXIQ.cjs.map +1 -0
  221. package/dist/chunk-BEGDL2CD.js +81 -0
  222. package/dist/chunk-BEGDL2CD.js.map +1 -0
  223. package/dist/chunk-BFKCVSNK.cjs +80 -0
  224. package/dist/chunk-BFKCVSNK.cjs.map +1 -0
  225. package/dist/chunk-BPBI3WWQ.cjs +364 -0
  226. package/dist/chunk-BPBI3WWQ.cjs.map +1 -0
  227. package/dist/chunk-BYIY6BH2.js +927 -0
  228. package/dist/chunk-BYIY6BH2.js.map +1 -0
  229. package/dist/chunk-C4Z4S3CX.js +164 -0
  230. package/dist/chunk-C4Z4S3CX.js.map +1 -0
  231. package/dist/chunk-C5AZNBVB.js +153 -0
  232. package/dist/chunk-C5AZNBVB.js.map +1 -0
  233. package/dist/chunk-CFBK5RIZ.js +35 -0
  234. package/dist/chunk-CFBK5RIZ.js.map +1 -0
  235. package/dist/chunk-CHADHN6M.js +37 -0
  236. package/dist/chunk-CHADHN6M.js.map +1 -0
  237. package/dist/chunk-CPY7NHXM.js +88 -0
  238. package/dist/chunk-CPY7NHXM.js.map +1 -0
  239. package/dist/chunk-CS4GQXYY.js +131 -0
  240. package/dist/chunk-CS4GQXYY.js.map +1 -0
  241. package/dist/chunk-CTMJYV3O.js +99 -0
  242. package/dist/chunk-CTMJYV3O.js.map +1 -0
  243. package/dist/chunk-CZZH45GQ.cjs +122 -0
  244. package/dist/chunk-CZZH45GQ.cjs.map +1 -0
  245. package/dist/chunk-D4WM23Y4.js +109 -0
  246. package/dist/chunk-D4WM23Y4.js.map +1 -0
  247. package/dist/chunk-D7NAXQ2N.js +86 -0
  248. package/dist/chunk-D7NAXQ2N.js.map +1 -0
  249. package/dist/chunk-DJ3YM72H.cjs +353 -0
  250. package/dist/chunk-DJ3YM72H.cjs.map +1 -0
  251. package/dist/chunk-DOSSIU6S.cjs +162 -0
  252. package/dist/chunk-DOSSIU6S.cjs.map +1 -0
  253. package/dist/chunk-DSUHZO6T.js +11 -0
  254. package/dist/chunk-DSUHZO6T.js.map +1 -0
  255. package/dist/chunk-DTPGJNOI.js +204 -0
  256. package/dist/chunk-DTPGJNOI.js.map +1 -0
  257. package/dist/chunk-DV4IMAQW.js +100 -0
  258. package/dist/chunk-DV4IMAQW.js.map +1 -0
  259. package/dist/chunk-DWRMC2FN.cjs +95 -0
  260. package/dist/chunk-DWRMC2FN.cjs.map +1 -0
  261. package/dist/chunk-DZD2RJVD.js +47 -0
  262. package/dist/chunk-DZD2RJVD.js.map +1 -0
  263. package/dist/chunk-E4LFD44D.js +69 -0
  264. package/dist/chunk-E4LFD44D.js.map +1 -0
  265. package/dist/chunk-E7PHL3TD.cjs +144 -0
  266. package/dist/chunk-E7PHL3TD.cjs.map +1 -0
  267. package/dist/chunk-ECZ66DKF.js +522 -0
  268. package/dist/chunk-ECZ66DKF.js.map +1 -0
  269. package/dist/chunk-EERAEPQO.cjs +177 -0
  270. package/dist/chunk-EERAEPQO.cjs.map +1 -0
  271. package/dist/chunk-EIBW5YLS.js +52 -0
  272. package/dist/chunk-EIBW5YLS.js.map +1 -0
  273. package/dist/chunk-ESKVRRVA.js +56 -0
  274. package/dist/chunk-ESKVRRVA.js.map +1 -0
  275. package/dist/chunk-EVXDG2XN.js +108 -0
  276. package/dist/chunk-EVXDG2XN.js.map +1 -0
  277. package/dist/chunk-F6NEPU67.cjs +218 -0
  278. package/dist/chunk-F6NEPU67.cjs.map +1 -0
  279. package/dist/chunk-F6SCZCJE.js +176 -0
  280. package/dist/chunk-F6SCZCJE.js.map +1 -0
  281. package/dist/chunk-FA3D4GFC.cjs +323 -0
  282. package/dist/chunk-FA3D4GFC.cjs.map +1 -0
  283. package/dist/chunk-FCAV5IFW.js +63 -0
  284. package/dist/chunk-FCAV5IFW.js.map +1 -0
  285. package/dist/chunk-FVV76TRF.js +101 -0
  286. package/dist/chunk-FVV76TRF.js.map +1 -0
  287. package/dist/chunk-G2W7B3OG.js +420 -0
  288. package/dist/chunk-G2W7B3OG.js.map +1 -0
  289. package/dist/chunk-G34OBTU3.cjs +27 -0
  290. package/dist/chunk-G34OBTU3.cjs.map +1 -0
  291. package/dist/chunk-GFYSELJF.js +35 -0
  292. package/dist/chunk-GFYSELJF.js.map +1 -0
  293. package/dist/chunk-GIDW3SUE.cjs +59 -0
  294. package/dist/chunk-GIDW3SUE.cjs.map +1 -0
  295. package/dist/chunk-GKGL7F36.js +290 -0
  296. package/dist/chunk-GKGL7F36.js.map +1 -0
  297. package/dist/chunk-GKPCXPCD.js +262 -0
  298. package/dist/chunk-GKPCXPCD.js.map +1 -0
  299. package/dist/chunk-GZIUE4DE.js +117 -0
  300. package/dist/chunk-GZIUE4DE.js.map +1 -0
  301. package/dist/chunk-HAOYXGGJ.js +104 -0
  302. package/dist/chunk-HAOYXGGJ.js.map +1 -0
  303. package/dist/chunk-HBFVOHQC.cjs +102 -0
  304. package/dist/chunk-HBFVOHQC.cjs.map +1 -0
  305. package/dist/chunk-HG6XUJOT.js +328 -0
  306. package/dist/chunk-HG6XUJOT.js.map +1 -0
  307. package/dist/chunk-I6L7OP7G.cjs +203 -0
  308. package/dist/chunk-I6L7OP7G.cjs.map +1 -0
  309. package/dist/chunk-IE4CM2SN.js +122 -0
  310. package/dist/chunk-IE4CM2SN.js.map +1 -0
  311. package/dist/chunk-IF25CE6S.cjs +202 -0
  312. package/dist/chunk-IF25CE6S.cjs.map +1 -0
  313. package/dist/chunk-IF3T3ZCB.cjs +273 -0
  314. package/dist/chunk-IF3T3ZCB.cjs.map +1 -0
  315. package/dist/chunk-IF5LOWUL.js +273 -0
  316. package/dist/chunk-IF5LOWUL.js.map +1 -0
  317. package/dist/chunk-IGU5YXRV.cjs +138 -0
  318. package/dist/chunk-IGU5YXRV.cjs.map +1 -0
  319. package/dist/chunk-IGYIMS6J.js +174 -0
  320. package/dist/chunk-IGYIMS6J.js.map +1 -0
  321. package/dist/chunk-IJ4I55QQ.cjs +38 -0
  322. package/dist/chunk-IJ4I55QQ.cjs.map +1 -0
  323. package/dist/chunk-IXHZVFHX.cjs +44 -0
  324. package/dist/chunk-IXHZVFHX.cjs.map +1 -0
  325. package/dist/chunk-J2DI6RMR.cjs +115 -0
  326. package/dist/chunk-J2DI6RMR.cjs.map +1 -0
  327. package/dist/chunk-J3XS4HHX.js +230 -0
  328. package/dist/chunk-J3XS4HHX.js.map +1 -0
  329. package/dist/chunk-JCOBDDHF.js +118 -0
  330. package/dist/chunk-JCOBDDHF.js.map +1 -0
  331. package/dist/chunk-JHEM6IGT.cjs +49 -0
  332. package/dist/chunk-JHEM6IGT.cjs.map +1 -0
  333. package/dist/chunk-JIYP73OJ.js +169 -0
  334. package/dist/chunk-JIYP73OJ.js.map +1 -0
  335. package/dist/chunk-JKO2Y5SH.js +60 -0
  336. package/dist/chunk-JKO2Y5SH.js.map +1 -0
  337. package/dist/chunk-JPTWZ3RF.cjs +280 -0
  338. package/dist/chunk-JPTWZ3RF.cjs.map +1 -0
  339. package/dist/chunk-JXE5XID6.js +19 -0
  340. package/dist/chunk-JXE5XID6.js.map +1 -0
  341. package/dist/chunk-JXIBUIEY.cjs +144 -0
  342. package/dist/chunk-JXIBUIEY.cjs.map +1 -0
  343. package/dist/chunk-JYKZKSZJ.js +122 -0
  344. package/dist/chunk-JYKZKSZJ.js.map +1 -0
  345. package/dist/chunk-K2DZEYBF.js +321 -0
  346. package/dist/chunk-K2DZEYBF.js.map +1 -0
  347. package/dist/chunk-K7JGOQJG.js +55 -0
  348. package/dist/chunk-K7JGOQJG.js.map +1 -0
  349. package/dist/chunk-KC6QBKKB.cjs +173 -0
  350. package/dist/chunk-KC6QBKKB.cjs.map +1 -0
  351. package/dist/chunk-KE7KXY5C.cjs +233 -0
  352. package/dist/chunk-KE7KXY5C.cjs.map +1 -0
  353. package/dist/chunk-KICZTIZL.cjs +133 -0
  354. package/dist/chunk-KICZTIZL.cjs.map +1 -0
  355. package/dist/chunk-KJ22KE56.cjs +19 -0
  356. package/dist/chunk-KJ22KE56.cjs.map +1 -0
  357. package/dist/chunk-KUKYJZIU.cjs +179 -0
  358. package/dist/chunk-KUKYJZIU.cjs.map +1 -0
  359. package/dist/chunk-L3V3BYVS.cjs +15 -0
  360. package/dist/chunk-L3V3BYVS.cjs.map +1 -0
  361. package/dist/chunk-LNWO23PU.cjs +131 -0
  362. package/dist/chunk-LNWO23PU.cjs.map +1 -0
  363. package/dist/chunk-LPQVXTKV.js +36 -0
  364. package/dist/chunk-LPQVXTKV.js.map +1 -0
  365. package/dist/chunk-LZL2KD4P.cjs +207 -0
  366. package/dist/chunk-LZL2KD4P.cjs.map +1 -0
  367. package/dist/chunk-M24NCWBU.js +239 -0
  368. package/dist/chunk-M24NCWBU.js.map +1 -0
  369. package/dist/chunk-M7EEQPE7.js +137 -0
  370. package/dist/chunk-M7EEQPE7.js.map +1 -0
  371. package/dist/chunk-MDUSUJWY.cjs +31 -0
  372. package/dist/chunk-MDUSUJWY.cjs.map +1 -0
  373. package/dist/chunk-MGZE2QEM.cjs +51 -0
  374. package/dist/chunk-MGZE2QEM.cjs.map +1 -0
  375. package/dist/chunk-MILTPAF6.js +255 -0
  376. package/dist/chunk-MILTPAF6.js.map +1 -0
  377. package/dist/chunk-MQ6VGG62.js +113 -0
  378. package/dist/chunk-MQ6VGG62.js.map +1 -0
  379. package/dist/chunk-MYF2PDTU.js +137 -0
  380. package/dist/chunk-MYF2PDTU.js.map +1 -0
  381. package/dist/chunk-MZIU27UY.js +133 -0
  382. package/dist/chunk-MZIU27UY.js.map +1 -0
  383. package/dist/chunk-N7WQ53US.js +211 -0
  384. package/dist/chunk-N7WQ53US.js.map +1 -0
  385. package/dist/chunk-NBZC6LOB.cjs +43 -0
  386. package/dist/chunk-NBZC6LOB.cjs.map +1 -0
  387. package/dist/chunk-NH7NRRII.js +167 -0
  388. package/dist/chunk-NH7NRRII.js.map +1 -0
  389. package/dist/chunk-NLJGNPNN.js +284 -0
  390. package/dist/chunk-NLJGNPNN.js.map +1 -0
  391. package/dist/chunk-NNSNANNY.cjs +224 -0
  392. package/dist/chunk-NNSNANNY.cjs.map +1 -0
  393. package/dist/chunk-NPKE2IX6.js +154 -0
  394. package/dist/chunk-NPKE2IX6.js.map +1 -0
  395. package/dist/chunk-NRXK42LO.js +12 -0
  396. package/dist/chunk-NRXK42LO.js.map +1 -0
  397. package/dist/chunk-O432BDEO.js +160 -0
  398. package/dist/chunk-O432BDEO.js.map +1 -0
  399. package/dist/chunk-O4MKOSU2.js +29 -0
  400. package/dist/chunk-O4MKOSU2.js.map +1 -0
  401. package/dist/chunk-O5IO7TCO.cjs +4 -0
  402. package/dist/chunk-O5IO7TCO.cjs.map +1 -0
  403. package/dist/chunk-OL53XYHF.js +17 -0
  404. package/dist/chunk-OL53XYHF.js.map +1 -0
  405. package/dist/chunk-ORCXPDDG.js +3 -0
  406. package/dist/chunk-ORCXPDDG.js.map +1 -0
  407. package/dist/chunk-ORFHF6PT.cjs +172 -0
  408. package/dist/chunk-ORFHF6PT.cjs.map +1 -0
  409. package/dist/chunk-ORPYY2MO.cjs +124 -0
  410. package/dist/chunk-ORPYY2MO.cjs.map +1 -0
  411. package/dist/chunk-OUOEQZHY.cjs +27 -0
  412. package/dist/chunk-OUOEQZHY.cjs.map +1 -0
  413. package/dist/chunk-PBXYU4EV.cjs +121 -0
  414. package/dist/chunk-PBXYU4EV.cjs.map +1 -0
  415. package/dist/chunk-PH3WGR5P.cjs +82 -0
  416. package/dist/chunk-PH3WGR5P.cjs.map +1 -0
  417. package/dist/chunk-POZZY3D5.cjs +135 -0
  418. package/dist/chunk-POZZY3D5.cjs.map +1 -0
  419. package/dist/chunk-PPLR2DNC.cjs +41 -0
  420. package/dist/chunk-PPLR2DNC.cjs.map +1 -0
  421. package/dist/chunk-PQWQ5K6J.js +15 -0
  422. package/dist/chunk-PQWQ5K6J.js.map +1 -0
  423. package/dist/chunk-PRDWJ4AR.js +215 -0
  424. package/dist/chunk-PRDWJ4AR.js.map +1 -0
  425. package/dist/chunk-PRJSEZ5F.cjs +285 -0
  426. package/dist/chunk-PRJSEZ5F.cjs.map +1 -0
  427. package/dist/chunk-PVWPZYTR.js +830 -0
  428. package/dist/chunk-PVWPZYTR.js.map +1 -0
  429. package/dist/chunk-PYRMH34E.js +49 -0
  430. package/dist/chunk-PYRMH34E.js.map +1 -0
  431. package/dist/chunk-PZIAL4OP.cjs +524 -0
  432. package/dist/chunk-PZIAL4OP.cjs.map +1 -0
  433. package/dist/chunk-QFFC2DKK.js +56 -0
  434. package/dist/chunk-QFFC2DKK.js.map +1 -0
  435. package/dist/chunk-R55HE5C5.js +81 -0
  436. package/dist/chunk-R55HE5C5.js.map +1 -0
  437. package/dist/chunk-RA3P63XW.cjs +65 -0
  438. package/dist/chunk-RA3P63XW.cjs.map +1 -0
  439. package/dist/chunk-RES2GOQQ.js +139 -0
  440. package/dist/chunk-RES2GOQQ.js.map +1 -0
  441. package/dist/chunk-RGANGU7X.js +24 -0
  442. package/dist/chunk-RGANGU7X.js.map +1 -0
  443. package/dist/chunk-RID7CYGD.js +344 -0
  444. package/dist/chunk-RID7CYGD.js.map +1 -0
  445. package/dist/chunk-RM4QWJS3.js +200 -0
  446. package/dist/chunk-RM4QWJS3.js.map +1 -0
  447. package/dist/chunk-RNHIDZLE.cjs +103 -0
  448. package/dist/chunk-RNHIDZLE.cjs.map +1 -0
  449. package/dist/chunk-RNPFSVFN.js +24 -0
  450. package/dist/chunk-RNPFSVFN.js.map +1 -0
  451. package/dist/chunk-RR7BWUVP.cjs +58 -0
  452. package/dist/chunk-RR7BWUVP.cjs.map +1 -0
  453. package/dist/chunk-RXDRYWVD.cjs +21 -0
  454. package/dist/chunk-RXDRYWVD.cjs.map +1 -0
  455. package/dist/chunk-S3TRSECD.cjs +4 -0
  456. package/dist/chunk-S3TRSECD.cjs.map +1 -0
  457. package/dist/chunk-SCPHSBBU.cjs +83 -0
  458. package/dist/chunk-SCPHSBBU.cjs.map +1 -0
  459. package/dist/chunk-SKI33QNW.js +133 -0
  460. package/dist/chunk-SKI33QNW.js.map +1 -0
  461. package/dist/chunk-T6IXZZBQ.cjs +83 -0
  462. package/dist/chunk-T6IXZZBQ.cjs.map +1 -0
  463. package/dist/chunk-T6YELZPJ.cjs +90 -0
  464. package/dist/chunk-T6YELZPJ.cjs.map +1 -0
  465. package/dist/chunk-TECFGOV2.js +222 -0
  466. package/dist/chunk-TECFGOV2.js.map +1 -0
  467. package/dist/chunk-TJ66S5K6.js +3 -0
  468. package/dist/chunk-TJ66S5K6.js.map +1 -0
  469. package/dist/chunk-TVRCOKJQ.cjs +106 -0
  470. package/dist/chunk-TVRCOKJQ.cjs.map +1 -0
  471. package/dist/chunk-TXTRTTG7.cjs +51 -0
  472. package/dist/chunk-TXTRTTG7.cjs.map +1 -0
  473. package/dist/chunk-TZKZ2LUF.cjs +140 -0
  474. package/dist/chunk-TZKZ2LUF.cjs.map +1 -0
  475. package/dist/chunk-UCYAHLGM.js +142 -0
  476. package/dist/chunk-UCYAHLGM.js.map +1 -0
  477. package/dist/chunk-UH2YXQ2B.cjs +166 -0
  478. package/dist/chunk-UH2YXQ2B.cjs.map +1 -0
  479. package/dist/chunk-UWVVEB2N.js +55 -0
  480. package/dist/chunk-UWVVEB2N.js.map +1 -0
  481. package/dist/chunk-VBZZ4CMM.cjs +71 -0
  482. package/dist/chunk-VBZZ4CMM.cjs.map +1 -0
  483. package/dist/chunk-VE3EM4K2.cjs +57 -0
  484. package/dist/chunk-VE3EM4K2.cjs.map +1 -0
  485. package/dist/chunk-VNDOT3NK.cjs +426 -0
  486. package/dist/chunk-VNDOT3NK.cjs.map +1 -0
  487. package/dist/chunk-VXHFR5MV.js +3 -0
  488. package/dist/chunk-VXHFR5MV.js.map +1 -0
  489. package/dist/chunk-W2Q4OWHX.cjs +204 -0
  490. package/dist/chunk-W2Q4OWHX.cjs.map +1 -0
  491. package/dist/chunk-WEGL4S52.js +450 -0
  492. package/dist/chunk-WEGL4S52.js.map +1 -0
  493. package/dist/chunk-WHEXTDPV.js +41 -0
  494. package/dist/chunk-WHEXTDPV.js.map +1 -0
  495. package/dist/chunk-WT72KW5M.cjs +347 -0
  496. package/dist/chunk-WT72KW5M.cjs.map +1 -0
  497. package/dist/chunk-WVO2EKE6.cjs +101 -0
  498. package/dist/chunk-WVO2EKE6.cjs.map +1 -0
  499. package/dist/chunk-WXADO5TS.cjs +124 -0
  500. package/dist/chunk-WXADO5TS.cjs.map +1 -0
  501. package/dist/chunk-X36ZGYTF.js +281 -0
  502. package/dist/chunk-X36ZGYTF.js.map +1 -0
  503. package/dist/chunk-XBBEQLMY.cjs +214 -0
  504. package/dist/chunk-XBBEQLMY.cjs.map +1 -0
  505. package/dist/chunk-XCZZVRBY.cjs +2030 -0
  506. package/dist/chunk-XCZZVRBY.cjs.map +1 -0
  507. package/dist/chunk-XJXQG34J.js +77 -0
  508. package/dist/chunk-XJXQG34J.js.map +1 -0
  509. package/dist/chunk-XMBOZ73D.js +92 -0
  510. package/dist/chunk-XMBOZ73D.js.map +1 -0
  511. package/dist/chunk-XZYKPGSK.cjs +453 -0
  512. package/dist/chunk-XZYKPGSK.cjs.map +1 -0
  513. package/dist/chunk-YCZN4FWI.js +42 -0
  514. package/dist/chunk-YCZN4FWI.js.map +1 -0
  515. package/dist/chunk-YHXE274U.js +129 -0
  516. package/dist/chunk-YHXE274U.js.map +1 -0
  517. package/dist/chunk-YLGTDBB2.cjs +43 -0
  518. package/dist/chunk-YLGTDBB2.cjs.map +1 -0
  519. package/dist/chunk-YT42J4VQ.js +361 -0
  520. package/dist/chunk-YT42J4VQ.js.map +1 -0
  521. package/dist/chunk-YT6N44Z3.js +99 -0
  522. package/dist/chunk-YT6N44Z3.js.map +1 -0
  523. package/dist/chunk-YXC7QHNT.cjs +385 -0
  524. package/dist/chunk-YXC7QHNT.cjs.map +1 -0
  525. package/dist/chunk-ZFVSEO5Z.cjs +136 -0
  526. package/dist/chunk-ZFVSEO5Z.cjs.map +1 -0
  527. package/dist/chunk-ZLCVKYHY.js +344 -0
  528. package/dist/chunk-ZLCVKYHY.js.map +1 -0
  529. package/dist/chunk-ZNTEM7F2.js +184 -0
  530. package/dist/chunk-ZNTEM7F2.js.map +1 -0
  531. package/dist/chunk-ZT36VWIA.js +136 -0
  532. package/dist/chunk-ZT36VWIA.js.map +1 -0
  533. package/dist/chunk-ZWOEKDNI.js +281 -0
  534. package/dist/chunk-ZWOEKDNI.js.map +1 -0
  535. package/dist/code-view.cjs +13 -0
  536. package/dist/code-view.cjs.map +1 -0
  537. package/dist/code-view.d.cts +44 -0
  538. package/dist/code-view.d.ts +44 -0
  539. package/dist/code-view.js +4 -0
  540. package/dist/code-view.js.map +1 -0
  541. package/dist/color-picker.cjs +16 -0
  542. package/dist/color-picker.cjs.map +1 -0
  543. package/dist/color-picker.d.cts +20 -0
  544. package/dist/color-picker.d.ts +20 -0
  545. package/dist/color-picker.js +7 -0
  546. package/dist/color-picker.js.map +1 -0
  547. package/dist/command.cjs +21 -0
  548. package/dist/command.cjs.map +1 -0
  549. package/dist/command.d.cts +78 -0
  550. package/dist/command.d.ts +78 -0
  551. package/dist/command.js +8 -0
  552. package/dist/command.js.map +1 -0
  553. package/dist/composer.cjs +14 -0
  554. package/dist/composer.cjs.map +1 -0
  555. package/dist/composer.d.cts +17 -0
  556. package/dist/composer.d.ts +17 -0
  557. package/dist/composer.js +5 -0
  558. package/dist/composer.js.map +1 -0
  559. package/dist/content-renderer.cjs +23 -0
  560. package/dist/content-renderer.cjs.map +1 -0
  561. package/dist/content-renderer.d.cts +27 -0
  562. package/dist/content-renderer.d.ts +27 -0
  563. package/dist/content-renderer.js +6 -0
  564. package/dist/content-renderer.js.map +1 -0
  565. package/dist/context-menu.cjs +21 -0
  566. package/dist/context-menu.cjs.map +1 -0
  567. package/dist/context-menu.d.cts +91 -0
  568. package/dist/context-menu.d.ts +91 -0
  569. package/dist/context-menu.js +8 -0
  570. package/dist/context-menu.js.map +1 -0
  571. package/dist/date-picker.cjs +19 -0
  572. package/dist/date-picker.cjs.map +1 -0
  573. package/dist/date-picker.d.cts +26 -0
  574. package/dist/date-picker.d.ts +26 -0
  575. package/dist/date-picker.js +10 -0
  576. package/dist/date-picker.js.map +1 -0
  577. package/dist/drawer.cjs +21 -0
  578. package/dist/drawer.cjs.map +1 -0
  579. package/dist/drawer.d.cts +116 -0
  580. package/dist/drawer.d.ts +116 -0
  581. package/dist/drawer.js +8 -0
  582. package/dist/drawer.js.map +1 -0
  583. package/dist/dropdown.cjs +22 -0
  584. package/dist/dropdown.cjs.map +1 -0
  585. package/dist/dropdown.d.cts +67 -0
  586. package/dist/dropdown.d.ts +67 -0
  587. package/dist/dropdown.js +9 -0
  588. package/dist/dropdown.js.map +1 -0
  589. package/dist/editor.cjs +29 -0
  590. package/dist/editor.cjs.map +1 -0
  591. package/dist/editor.d.cts +153 -0
  592. package/dist/editor.d.ts +153 -0
  593. package/dist/editor.js +16 -0
  594. package/dist/editor.js.map +1 -0
  595. package/dist/emoji-select.cjs +15 -0
  596. package/dist/emoji-select.cjs.map +1 -0
  597. package/dist/emoji-select.d.cts +13 -0
  598. package/dist/emoji-select.d.ts +13 -0
  599. package/dist/emoji-select.js +6 -0
  600. package/dist/emoji-select.js.map +1 -0
  601. package/dist/emoji.cjs +14 -0
  602. package/dist/emoji.cjs.map +1 -0
  603. package/dist/emoji.d.cts +2 -0
  604. package/dist/emoji.d.ts +2 -0
  605. package/dist/emoji.js +5 -0
  606. package/dist/emoji.js.map +1 -0
  607. package/dist/extensions-6PVd3-vB.d.cts +38 -0
  608. package/dist/extensions-6PVd3-vB.d.ts +38 -0
  609. package/dist/eyebrow.cjs +13 -0
  610. package/dist/eyebrow.cjs.map +1 -0
  611. package/dist/eyebrow.d.cts +33 -0
  612. package/dist/eyebrow.d.ts +33 -0
  613. package/dist/eyebrow.js +4 -0
  614. package/dist/eyebrow.js.map +1 -0
  615. package/dist/faux-client.cjs +13 -0
  616. package/dist/faux-client.cjs.map +1 -0
  617. package/dist/faux-client.d.cts +39 -0
  618. package/dist/faux-client.d.ts +39 -0
  619. package/dist/faux-client.js +4 -0
  620. package/dist/faux-client.js.map +1 -0
  621. package/dist/field.cjs +14 -0
  622. package/dist/field.cjs.map +1 -0
  623. package/dist/field.d.cts +18 -0
  624. package/dist/field.d.ts +18 -0
  625. package/dist/field.js +5 -0
  626. package/dist/field.js.map +1 -0
  627. package/dist/file-browser.cjs +18 -0
  628. package/dist/file-browser.cjs.map +1 -0
  629. package/dist/file-browser.d.cts +269 -0
  630. package/dist/file-browser.d.ts +269 -0
  631. package/dist/file-browser.js +5 -0
  632. package/dist/file-browser.js.map +1 -0
  633. package/dist/file-upload.cjs +17 -0
  634. package/dist/file-upload.cjs.map +1 -0
  635. package/dist/file-upload.d.cts +48 -0
  636. package/dist/file-upload.d.ts +48 -0
  637. package/dist/file-upload.js +4 -0
  638. package/dist/file-upload.js.map +1 -0
  639. package/dist/heading.cjs +13 -0
  640. package/dist/heading.cjs.map +1 -0
  641. package/dist/heading.d.cts +25 -0
  642. package/dist/heading.d.ts +25 -0
  643. package/dist/heading.js +4 -0
  644. package/dist/heading.js.map +1 -0
  645. package/dist/icon.cjs +34 -0
  646. package/dist/icon.cjs.map +1 -0
  647. package/dist/icon.d.cts +51 -0
  648. package/dist/icon.d.ts +51 -0
  649. package/dist/icon.js +5 -0
  650. package/dist/icon.js.map +1 -0
  651. package/dist/image-viewer.cjs +14 -0
  652. package/dist/image-viewer.cjs.map +1 -0
  653. package/dist/image-viewer.d.cts +19 -0
  654. package/dist/image-viewer.d.ts +19 -0
  655. package/dist/image-viewer.js +5 -0
  656. package/dist/image-viewer.js.map +1 -0
  657. package/dist/index-B71wa9AW.d.cts +79 -0
  658. package/dist/index-BktWpyRH.d.cts +53 -0
  659. package/dist/index-BktWpyRH.d.ts +53 -0
  660. package/dist/index-bIntFOl5.d.ts +79 -0
  661. package/dist/index-list.cjs +13 -0
  662. package/dist/index-list.cjs.map +1 -0
  663. package/dist/index-list.d.cts +49 -0
  664. package/dist/index-list.d.ts +49 -0
  665. package/dist/index-list.js +4 -0
  666. package/dist/index-list.js.map +1 -0
  667. package/dist/index.cjs +671 -16826
  668. package/dist/index.cjs.map +1 -1
  669. package/dist/index.d.cts +94 -4078
  670. package/dist/index.d.ts +94 -4078
  671. package/dist/index.js +104 -16708
  672. package/dist/index.js.map +1 -1
  673. package/dist/input-tag.cjs +28 -0
  674. package/dist/input-tag.cjs.map +1 -0
  675. package/dist/input-tag.d.cts +134 -0
  676. package/dist/input-tag.d.ts +134 -0
  677. package/dist/input-tag.js +3 -0
  678. package/dist/input-tag.js.map +1 -0
  679. package/dist/input.cjs +20 -0
  680. package/dist/input.cjs.map +1 -0
  681. package/dist/input.d.cts +32 -0
  682. package/dist/input.d.ts +32 -0
  683. package/dist/input.js +11 -0
  684. package/dist/input.js.map +1 -0
  685. package/dist/inputs.cjs +100 -0
  686. package/dist/inputs.cjs.map +1 -0
  687. package/dist/inputs.d.cts +16 -0
  688. package/dist/inputs.d.ts +16 -0
  689. package/dist/inputs.js +27 -0
  690. package/dist/inputs.js.map +1 -0
  691. package/dist/inputs.types-CkWdvN-t.d.cts +44 -0
  692. package/dist/inputs.types-DERzxpe1.d.ts +44 -0
  693. package/dist/kanban.cjs +17 -0
  694. package/dist/kanban.cjs.map +1 -0
  695. package/dist/kanban.d.cts +136 -0
  696. package/dist/kanban.d.ts +136 -0
  697. package/dist/kanban.js +4 -0
  698. package/dist/kanban.js.map +1 -0
  699. package/dist/kbd.cjs +13 -0
  700. package/dist/kbd.cjs.map +1 -0
  701. package/dist/kbd.d.cts +30 -0
  702. package/dist/kbd.d.ts +30 -0
  703. package/dist/kbd.js +4 -0
  704. package/dist/kbd.js.map +1 -0
  705. package/dist/magic-wand.cjs +25 -0
  706. package/dist/magic-wand.cjs.map +1 -0
  707. package/dist/magic-wand.d.cts +62 -0
  708. package/dist/magic-wand.d.ts +62 -0
  709. package/dist/magic-wand.js +16 -0
  710. package/dist/magic-wand.js.map +1 -0
  711. package/dist/marquee.cjs +13 -0
  712. package/dist/marquee.cjs.map +1 -0
  713. package/dist/marquee.d.cts +48 -0
  714. package/dist/marquee.d.ts +48 -0
  715. package/dist/marquee.js +4 -0
  716. package/dist/marquee.js.map +1 -0
  717. package/dist/media-viewer.cjs +18 -0
  718. package/dist/media-viewer.cjs.map +1 -0
  719. package/dist/media-viewer.d.cts +6 -0
  720. package/dist/media-viewer.d.ts +6 -0
  721. package/dist/media-viewer.js +9 -0
  722. package/dist/media-viewer.js.map +1 -0
  723. package/dist/menu.cjs +17 -0
  724. package/dist/menu.cjs.map +1 -0
  725. package/dist/menu.d.cts +60 -0
  726. package/dist/menu.d.ts +60 -0
  727. package/dist/menu.js +4 -0
  728. package/dist/menu.js.map +1 -0
  729. package/dist/mobile-menu.cjs +26 -0
  730. package/dist/mobile-menu.cjs.map +1 -0
  731. package/dist/mobile-menu.d.cts +60 -0
  732. package/dist/mobile-menu.d.ts +60 -0
  733. package/dist/mobile-menu.js +13 -0
  734. package/dist/mobile-menu.js.map +1 -0
  735. package/dist/modal.cjs +21 -0
  736. package/dist/modal.cjs.map +1 -0
  737. package/dist/modal.d.cts +52 -0
  738. package/dist/modal.d.ts +52 -0
  739. package/dist/modal.js +8 -0
  740. package/dist/modal.js.map +1 -0
  741. package/dist/mode.cjs +37 -0
  742. package/dist/mode.cjs.map +1 -0
  743. package/dist/mode.d.cts +28 -0
  744. package/dist/mode.d.ts +28 -0
  745. package/dist/mode.js +8 -0
  746. package/dist/mode.js.map +1 -0
  747. package/dist/mood-meter.cjs +12 -0
  748. package/dist/mood-meter.cjs.map +1 -0
  749. package/dist/mood-meter.d.cts +67 -0
  750. package/dist/mood-meter.d.ts +67 -0
  751. package/dist/mood-meter.js +3 -0
  752. package/dist/mood-meter.js.map +1 -0
  753. package/dist/multi-switch.cjs +19 -0
  754. package/dist/multi-switch.cjs.map +1 -0
  755. package/dist/multi-switch.d.cts +18 -0
  756. package/dist/multi-switch.d.ts +18 -0
  757. package/dist/multi-switch.js +10 -0
  758. package/dist/multi-switch.js.map +1 -0
  759. package/dist/navbar.cjs +17 -0
  760. package/dist/navbar.cjs.map +1 -0
  761. package/dist/navbar.d.cts +60 -0
  762. package/dist/navbar.d.ts +60 -0
  763. package/dist/navbar.js +4 -0
  764. package/dist/navbar.js.map +1 -0
  765. package/dist/otp-input.cjs +16 -0
  766. package/dist/otp-input.cjs.map +1 -0
  767. package/dist/otp-input.d.cts +18 -0
  768. package/dist/otp-input.d.ts +18 -0
  769. package/dist/otp-input.js +7 -0
  770. package/dist/otp-input.js.map +1 -0
  771. package/dist/pagination.cjs +13 -0
  772. package/dist/pagination.cjs.map +1 -0
  773. package/dist/pagination.d.cts +16 -0
  774. package/dist/pagination.d.ts +16 -0
  775. package/dist/pagination.js +4 -0
  776. package/dist/pagination.js.map +1 -0
  777. package/dist/pdf-viewer.cjs +13 -0
  778. package/dist/pdf-viewer.cjs.map +1 -0
  779. package/dist/pdf-viewer.d.cts +16 -0
  780. package/dist/pdf-viewer.d.ts +16 -0
  781. package/dist/pdf-viewer.js +4 -0
  782. package/dist/pdf-viewer.js.map +1 -0
  783. package/dist/pillbox.cjs +14 -0
  784. package/dist/pillbox.cjs.map +1 -0
  785. package/dist/pillbox.d.cts +15 -0
  786. package/dist/pillbox.d.ts +15 -0
  787. package/dist/pillbox.js +5 -0
  788. package/dist/pillbox.js.map +1 -0
  789. package/dist/popover.cjs +21 -0
  790. package/dist/popover.cjs.map +1 -0
  791. package/dist/popover.d.cts +71 -0
  792. package/dist/popover.d.ts +71 -0
  793. package/dist/popover.js +8 -0
  794. package/dist/popover.js.map +1 -0
  795. package/dist/portal.cjs +12 -0
  796. package/dist/portal.cjs.map +1 -0
  797. package/dist/portal.d.cts +10 -0
  798. package/dist/portal.d.ts +10 -0
  799. package/dist/portal.js +3 -0
  800. package/dist/portal.js.map +1 -0
  801. package/dist/profile.cjs +14 -0
  802. package/dist/profile.cjs.map +1 -0
  803. package/dist/profile.d.cts +16 -0
  804. package/dist/profile.d.ts +16 -0
  805. package/dist/profile.js +5 -0
  806. package/dist/profile.js.map +1 -0
  807. package/dist/progress.cjs +13 -0
  808. package/dist/progress.cjs.map +1 -0
  809. package/dist/progress.d.cts +25 -0
  810. package/dist/progress.d.ts +25 -0
  811. package/dist/progress.js +4 -0
  812. package/dist/progress.js.map +1 -0
  813. package/dist/prompt-input.cjs +20 -0
  814. package/dist/prompt-input.cjs.map +1 -0
  815. package/dist/prompt-input.d.cts +76 -0
  816. package/dist/prompt-input.d.ts +76 -0
  817. package/dist/prompt-input.js +11 -0
  818. package/dist/prompt-input.js.map +1 -0
  819. package/dist/pull-quote.cjs +13 -0
  820. package/dist/pull-quote.cjs.map +1 -0
  821. package/dist/pull-quote.d.cts +33 -0
  822. package/dist/pull-quote.d.ts +33 -0
  823. package/dist/pull-quote.js +4 -0
  824. package/dist/pull-quote.js.map +1 -0
  825. package/dist/radio-group.cjs +19 -0
  826. package/dist/radio-group.cjs.map +1 -0
  827. package/dist/radio-group.d.cts +18 -0
  828. package/dist/radio-group.d.ts +18 -0
  829. package/dist/radio-group.js +10 -0
  830. package/dist/radio-group.js.map +1 -0
  831. package/dist/reason-tag.cjs +22 -0
  832. package/dist/reason-tag.cjs.map +1 -0
  833. package/dist/reason-tag.d.cts +57 -0
  834. package/dist/reason-tag.d.ts +57 -0
  835. package/dist/reason-tag.js +13 -0
  836. package/dist/reason-tag.js.map +1 -0
  837. package/dist/select.cjs +23 -0
  838. package/dist/select.cjs.map +1 -0
  839. package/dist/select.d.cts +41 -0
  840. package/dist/select.d.ts +41 -0
  841. package/dist/select.js +14 -0
  842. package/dist/select.js.map +1 -0
  843. package/dist/separator.cjs +13 -0
  844. package/dist/separator.cjs.map +1 -0
  845. package/dist/separator.d.cts +14 -0
  846. package/dist/separator.d.ts +14 -0
  847. package/dist/separator.js +4 -0
  848. package/dist/separator.js.map +1 -0
  849. package/dist/sidebar.cjs +25 -0
  850. package/dist/sidebar.cjs.map +1 -0
  851. package/dist/sidebar.d.cts +80 -0
  852. package/dist/sidebar.d.ts +80 -0
  853. package/dist/sidebar.js +12 -0
  854. package/dist/sidebar.js.map +1 -0
  855. package/dist/skeleton.cjs +13 -0
  856. package/dist/skeleton.cjs.map +1 -0
  857. package/dist/skeleton.d.cts +16 -0
  858. package/dist/skeleton.d.ts +16 -0
  859. package/dist/skeleton.js +4 -0
  860. package/dist/skeleton.js.map +1 -0
  861. package/dist/slider.cjs +19 -0
  862. package/dist/slider.cjs.map +1 -0
  863. package/dist/slider.d.cts +34 -0
  864. package/dist/slider.d.ts +34 -0
  865. package/dist/slider.js +10 -0
  866. package/dist/slider.js.map +1 -0
  867. package/dist/stat-list.cjs +13 -0
  868. package/dist/stat-list.cjs.map +1 -0
  869. package/dist/stat-list.d.cts +43 -0
  870. package/dist/stat-list.d.ts +43 -0
  871. package/dist/stat-list.js +4 -0
  872. package/dist/stat-list.js.map +1 -0
  873. package/dist/stat.cjs +17 -0
  874. package/dist/stat.cjs.map +1 -0
  875. package/dist/stat.d.cts +29 -0
  876. package/dist/stat.d.ts +29 -0
  877. package/dist/stat.js +4 -0
  878. package/dist/stat.js.map +1 -0
  879. package/dist/sticky-note.cjs +13 -0
  880. package/dist/sticky-note.cjs.map +1 -0
  881. package/dist/sticky-note.d.cts +53 -0
  882. package/dist/sticky-note.d.ts +53 -0
  883. package/dist/sticky-note.js +4 -0
  884. package/dist/sticky-note.js.map +1 -0
  885. package/dist/switch.cjs +17 -0
  886. package/dist/switch.cjs.map +1 -0
  887. package/dist/switch.d.cts +16 -0
  888. package/dist/switch.d.ts +16 -0
  889. package/dist/switch.js +8 -0
  890. package/dist/switch.js.map +1 -0
  891. package/dist/table.cjs +50 -0
  892. package/dist/table.cjs.map +1 -0
  893. package/dist/table.d.cts +89 -0
  894. package/dist/table.d.ts +89 -0
  895. package/dist/table.js +5 -0
  896. package/dist/table.js.map +1 -0
  897. package/dist/tabs.cjs +18 -0
  898. package/dist/tabs.cjs.map +1 -0
  899. package/dist/tabs.d.cts +68 -0
  900. package/dist/tabs.d.ts +68 -0
  901. package/dist/tabs.js +5 -0
  902. package/dist/tabs.js.map +1 -0
  903. package/dist/text.cjs +13 -0
  904. package/dist/text.cjs.map +1 -0
  905. package/dist/text.d.cts +17 -0
  906. package/dist/text.d.ts +17 -0
  907. package/dist/text.js +4 -0
  908. package/dist/text.js.map +1 -0
  909. package/dist/textarea.cjs +20 -0
  910. package/dist/textarea.cjs.map +1 -0
  911. package/dist/textarea.d.cts +15 -0
  912. package/dist/textarea.d.ts +15 -0
  913. package/dist/textarea.js +11 -0
  914. package/dist/textarea.js.map +1 -0
  915. package/dist/time-grid.cjs +13 -0
  916. package/dist/time-grid.cjs.map +1 -0
  917. package/dist/time-grid.d.cts +53 -0
  918. package/dist/time-grid.d.ts +53 -0
  919. package/dist/time-grid.js +4 -0
  920. package/dist/time-grid.js.map +1 -0
  921. package/dist/time-picker.cjs +16 -0
  922. package/dist/time-picker.cjs.map +1 -0
  923. package/dist/time-picker.d.cts +19 -0
  924. package/dist/time-picker.d.ts +19 -0
  925. package/dist/time-picker.js +7 -0
  926. package/dist/time-picker.js.map +1 -0
  927. package/dist/timeline.cjs +21 -0
  928. package/dist/timeline.cjs.map +1 -0
  929. package/dist/timeline.d.cts +10 -0
  930. package/dist/timeline.d.ts +10 -0
  931. package/dist/timeline.js +4 -0
  932. package/dist/timeline.js.map +1 -0
  933. package/dist/toast.cjs +18 -0
  934. package/dist/toast.cjs.map +1 -0
  935. package/dist/toast.d.cts +54 -0
  936. package/dist/toast.d.ts +54 -0
  937. package/dist/toast.js +5 -0
  938. package/dist/toast.js.map +1 -0
  939. package/dist/tooltip.cjs +15 -0
  940. package/dist/tooltip.cjs.map +1 -0
  941. package/dist/tooltip.d.cts +16 -0
  942. package/dist/tooltip.d.ts +16 -0
  943. package/dist/tooltip.js +6 -0
  944. package/dist/tooltip.js.map +1 -0
  945. package/dist/tree-nav.cjs +17 -0
  946. package/dist/tree-nav.cjs.map +1 -0
  947. package/dist/tree-nav.d.cts +114 -0
  948. package/dist/tree-nav.d.ts +114 -0
  949. package/dist/tree-nav.js +4 -0
  950. package/dist/tree-nav.js.map +1 -0
  951. package/dist/types-8Sv0rCjw.d.cts +58 -0
  952. package/dist/types-8Sv0rCjw.d.ts +58 -0
  953. package/dist/video-viewer.cjs +13 -0
  954. package/dist/video-viewer.cjs.map +1 -0
  955. package/dist/video-viewer.d.cts +14 -0
  956. package/dist/video-viewer.d.ts +14 -0
  957. package/dist/video-viewer.js +4 -0
  958. package/dist/video-viewer.js.map +1 -0
  959. package/package.json +855 -5
@@ -0,0 +1,927 @@
1
+ import { useControllableState } from './chunk-6FQGMVF2.js';
2
+ import { cn } from './chunk-DSUHZO6T.js';
3
+ import { createContext, useState, useMemo, useRef, useCallback, useEffect, Fragment as Fragment$1, useContext } from 'react';
4
+ import { Loader2, ChevronRight, Search, X, ArrowUp, ArrowDown, Pencil, CircleAlert, RotateCw } from 'lucide-react';
5
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
6
+
7
+ var FileBrowserContext = createContext(null);
8
+ function useFileBrowser() {
9
+ const ctx = useContext(FileBrowserContext);
10
+ if (!ctx) {
11
+ throw new Error("useFileBrowser must be used within a <FileBrowser> component");
12
+ }
13
+ return ctx;
14
+ }
15
+
16
+ // src/components/FileBrowser/FileBrowser.utils.ts
17
+ function normalizePath(input) {
18
+ const raw = input.trim().replace(/\\/g, "/");
19
+ if (raw === "") return "/";
20
+ const absolute = raw.startsWith("/");
21
+ const out = [];
22
+ for (const segment of raw.split("/")) {
23
+ if (segment === "" || segment === ".") continue;
24
+ if (segment === "..") {
25
+ out.pop();
26
+ continue;
27
+ }
28
+ out.push(segment);
29
+ }
30
+ if (out.length === 0) return "/";
31
+ return (absolute ? "/" : "") + out.join("/");
32
+ }
33
+ function parentPath(path) {
34
+ const i = path.lastIndexOf("/");
35
+ if (i === -1) return "/";
36
+ if (i === 0) return "/";
37
+ return path.slice(0, i);
38
+ }
39
+ function pathSegments(path) {
40
+ const absolute = path.startsWith("/");
41
+ const parts = path.split("/").filter(Boolean);
42
+ const segments = [];
43
+ let acc = "";
44
+ parts.forEach((part, i) => {
45
+ acc = i === 0 && !absolute ? part : `${acc}/${part}`;
46
+ segments.push({ label: part, path: acc });
47
+ });
48
+ return segments;
49
+ }
50
+ function compareNames(a, b) {
51
+ const cmp = a.localeCompare(b, "en", { numeric: true, sensitivity: "base" });
52
+ if (cmp !== 0) return cmp;
53
+ return a < b ? -1 : a > b ? 1 : 0;
54
+ }
55
+ function compareFileEntries(a, b, sort) {
56
+ if (a.kind !== b.kind) return a.kind === "dir" ? -1 : 1;
57
+ const direction = sort.direction === "desc" ? -1 : 1;
58
+ let cmp;
59
+ switch (sort.by) {
60
+ case "size":
61
+ cmp = (a.size ?? -1) - (b.size ?? -1);
62
+ break;
63
+ case "mtime": {
64
+ const am = a.mtime ?? "";
65
+ const bm = b.mtime ?? "";
66
+ cmp = am < bm ? -1 : am > bm ? 1 : 0;
67
+ break;
68
+ }
69
+ default:
70
+ cmp = compareNames(a.name, b.name);
71
+ }
72
+ if (cmp !== 0) return direction * cmp;
73
+ return compareNames(a.name, b.name);
74
+ }
75
+ function isEntryExpandable(entry, children, hasProvider) {
76
+ if (entry.kind !== "dir" || entry.hasChildren === false) return false;
77
+ if (children !== void 0) return children.length > 0;
78
+ return hasProvider;
79
+ }
80
+ function entryMatchesFilter(entry, query, entriesFor, visited = /* @__PURE__ */ new Set()) {
81
+ if (entry.name.toLowerCase().includes(query)) return true;
82
+ if (entry.kind !== "dir" || visited.has(entry.path)) return false;
83
+ visited.add(entry.path);
84
+ const children = entriesFor(entry.path);
85
+ return children?.some((child) => entryMatchesFilter(child, query, entriesFor, visited)) ?? false;
86
+ }
87
+ function formatFileSize(bytes) {
88
+ if (!Number.isFinite(bytes) || bytes < 0) return "";
89
+ if (bytes < 1024) return `${bytes} B`;
90
+ const units = ["KB", "MB", "GB", "TB"];
91
+ let value = bytes;
92
+ let unit = -1;
93
+ do {
94
+ value /= 1024;
95
+ unit++;
96
+ } while (value >= 1024 && unit < units.length - 1);
97
+ const rounded = value >= 100 ? Math.round(value) : Math.round(value * 10) / 10;
98
+ return `${rounded} ${units[unit]}`;
99
+ }
100
+ var SEGMENT_CLASS = "shrink-0 rounded text-[13px] text-zinc-500 transition-colors hover:text-zinc-700 dark:text-zinc-400 dark:hover:text-zinc-300";
101
+ var ACTIVE_SEGMENT_CLASS = "shrink-0 truncate text-[13px] font-medium text-zinc-900 dark:text-white";
102
+ function FileBrowserPathBar({
103
+ editable = true,
104
+ placeholder = "/path/to/folder",
105
+ className
106
+ }) {
107
+ const { path, navigate } = useFileBrowser();
108
+ const [editing, setEditing] = useState(false);
109
+ const [draft, setDraft] = useState("");
110
+ const startEdit = () => {
111
+ setDraft(path);
112
+ setEditing(true);
113
+ };
114
+ const commit = () => {
115
+ navigate(normalizePath(draft));
116
+ setEditing(false);
117
+ };
118
+ const segments = pathSegments(path);
119
+ const atRoot = segments.length === 0;
120
+ return /* @__PURE__ */ jsxs(
121
+ "div",
122
+ {
123
+ "data-react-fancy-file-browser-path": "",
124
+ className: cn(
125
+ "flex items-center gap-1 border-b border-zinc-200 px-2 py-1.5 dark:border-zinc-700",
126
+ className
127
+ ),
128
+ children: [
129
+ editing ? /* @__PURE__ */ jsx(
130
+ "input",
131
+ {
132
+ "data-react-fancy-file-browser-path-input": "",
133
+ type: "text",
134
+ value: draft,
135
+ onChange: (e) => setDraft(e.target.value),
136
+ onKeyDown: (e) => {
137
+ if (e.key === "Enter") {
138
+ e.preventDefault();
139
+ commit();
140
+ } else if (e.key === "Escape") {
141
+ e.preventDefault();
142
+ setEditing(false);
143
+ }
144
+ },
145
+ onBlur: () => setEditing(false),
146
+ autoFocus: true,
147
+ spellCheck: false,
148
+ placeholder,
149
+ "aria-label": "Path",
150
+ className: "min-w-0 flex-1 rounded-md border border-zinc-300 bg-transparent px-2 py-0.5 font-mono text-xs text-zinc-700 outline-none placeholder:text-zinc-400 focus:border-blue-400 dark:border-zinc-600 dark:text-zinc-300"
151
+ }
152
+ ) : /* @__PURE__ */ jsxs(
153
+ "nav",
154
+ {
155
+ "aria-label": "Path",
156
+ onDoubleClick: editable ? startEdit : void 0,
157
+ className: "flex min-w-0 flex-1 items-center gap-1 overflow-x-auto",
158
+ children: [
159
+ atRoot ? /* @__PURE__ */ jsx("span", { "data-react-fancy-file-browser-path-segment": "", "aria-current": "location", className: ACTIVE_SEGMENT_CLASS, children: "/" }) : /* @__PURE__ */ jsx(
160
+ "button",
161
+ {
162
+ type: "button",
163
+ "data-react-fancy-file-browser-path-segment": "",
164
+ onClick: () => navigate("/"),
165
+ className: SEGMENT_CLASS,
166
+ children: "/"
167
+ }
168
+ ),
169
+ segments.map((segment, i) => {
170
+ const last = i === segments.length - 1;
171
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [
172
+ i > 0 && /* @__PURE__ */ jsx(ChevronRight, { size: 12, "aria-hidden": "true", className: "shrink-0 text-zinc-400" }),
173
+ last ? /* @__PURE__ */ jsx(
174
+ "span",
175
+ {
176
+ "data-react-fancy-file-browser-path-segment": "",
177
+ "aria-current": "location",
178
+ className: ACTIVE_SEGMENT_CLASS,
179
+ children: segment.label
180
+ }
181
+ ) : /* @__PURE__ */ jsx(
182
+ "button",
183
+ {
184
+ type: "button",
185
+ "data-react-fancy-file-browser-path-segment": "",
186
+ onClick: () => navigate(segment.path),
187
+ className: SEGMENT_CLASS,
188
+ children: segment.label
189
+ }
190
+ )
191
+ ] }, segment.path);
192
+ })
193
+ ]
194
+ }
195
+ ),
196
+ editable && !editing && /* @__PURE__ */ jsx(
197
+ "button",
198
+ {
199
+ type: "button",
200
+ "aria-label": "Edit path",
201
+ onClick: startEdit,
202
+ className: "shrink-0 rounded-md p-1 text-zinc-400 transition-colors hover:bg-zinc-100 hover:text-zinc-600 dark:hover:bg-zinc-800 dark:hover:text-zinc-300",
203
+ children: /* @__PURE__ */ jsx(Pencil, { size: 13 })
204
+ }
205
+ )
206
+ ]
207
+ }
208
+ );
209
+ }
210
+ FileBrowserPathBar.displayName = "FileBrowserPathBar";
211
+ var SORT_FIELDS = [
212
+ { field: "name", label: "Name" },
213
+ { field: "size", label: "Size" },
214
+ { field: "mtime", label: "Modified" }
215
+ ];
216
+ function FileBrowserToolbar({ filterPlaceholder = "Filter", className }) {
217
+ const { filter, setFilter, sort, setSort } = useFileBrowser();
218
+ return /* @__PURE__ */ jsxs(
219
+ "div",
220
+ {
221
+ "data-react-fancy-file-browser-toolbar": "",
222
+ className: cn(
223
+ "flex items-center gap-2 border-b border-zinc-200 px-2 py-1.5 dark:border-zinc-700",
224
+ className
225
+ ),
226
+ children: [
227
+ /* @__PURE__ */ jsxs(
228
+ "div",
229
+ {
230
+ "data-react-fancy-file-browser-filter": "",
231
+ className: "flex min-w-0 flex-1 items-center gap-1.5 rounded-md border border-zinc-200 px-2 dark:border-zinc-700",
232
+ children: [
233
+ /* @__PURE__ */ jsx(Search, { size: 13, "aria-hidden": "true", className: "shrink-0 text-zinc-400" }),
234
+ /* @__PURE__ */ jsx(
235
+ "input",
236
+ {
237
+ type: "text",
238
+ value: filter,
239
+ onChange: (e) => setFilter(e.target.value),
240
+ placeholder: filterPlaceholder,
241
+ "aria-label": "Filter by name",
242
+ spellCheck: false,
243
+ className: "min-w-0 flex-1 bg-transparent py-1 text-xs text-zinc-700 outline-none placeholder:text-zinc-400 dark:text-zinc-300"
244
+ }
245
+ ),
246
+ filter !== "" && /* @__PURE__ */ jsx(
247
+ "button",
248
+ {
249
+ type: "button",
250
+ "aria-label": "Clear filter",
251
+ onClick: () => setFilter(""),
252
+ className: "shrink-0 text-zinc-400 transition-colors hover:text-zinc-600 dark:hover:text-zinc-300",
253
+ children: /* @__PURE__ */ jsx(X, { size: 12 })
254
+ }
255
+ )
256
+ ]
257
+ }
258
+ ),
259
+ /* @__PURE__ */ jsx(
260
+ "div",
261
+ {
262
+ "data-react-fancy-file-browser-sort": "",
263
+ role: "group",
264
+ "aria-label": "Sort",
265
+ className: "flex shrink-0 items-center gap-0.5",
266
+ children: SORT_FIELDS.map(({ field, label }) => {
267
+ const active = sort.by === field;
268
+ return /* @__PURE__ */ jsxs(
269
+ "button",
270
+ {
271
+ type: "button",
272
+ "data-sort-field": field,
273
+ "aria-pressed": active,
274
+ onClick: () => setSort(
275
+ active ? { by: field, direction: sort.direction === "asc" ? "desc" : "asc" } : { by: field, direction: "asc" }
276
+ ),
277
+ className: cn(
278
+ "flex items-center gap-0.5 rounded-md px-1.5 py-0.5 text-xs transition-colors",
279
+ active ? "bg-zinc-100 font-medium text-zinc-900 dark:bg-zinc-800 dark:text-white" : "text-zinc-500 hover:text-zinc-700 dark:text-zinc-400 dark:hover:text-zinc-300"
280
+ ),
281
+ children: [
282
+ label,
283
+ active && (sort.direction === "asc" ? /* @__PURE__ */ jsx(ArrowUp, { size: 11, "aria-hidden": "true" }) : /* @__PURE__ */ jsx(ArrowDown, { size: 11, "aria-hidden": "true" }))
284
+ ]
285
+ },
286
+ field
287
+ );
288
+ })
289
+ }
290
+ )
291
+ ]
292
+ }
293
+ );
294
+ }
295
+ FileBrowserToolbar.displayName = "FileBrowserToolbar";
296
+ var EXT_COLORS = {
297
+ ts: "#3178c6",
298
+ tsx: "#3178c6",
299
+ js: "#f7df1e",
300
+ jsx: "#f7df1e",
301
+ php: "#777bb4",
302
+ html: "#e34c26",
303
+ htm: "#e34c26",
304
+ css: "#264de4",
305
+ json: "#a1a1aa",
306
+ md: "#71717a",
307
+ yaml: "#cb171e",
308
+ yml: "#cb171e"
309
+ };
310
+ function FileIcon({ ext }) {
311
+ const color = ext && EXT_COLORS[ext.toLowerCase()] || "#71717a";
312
+ return /* @__PURE__ */ jsxs("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", className: "shrink-0", children: [
313
+ /* @__PURE__ */ jsx("path", { d: "M4 1h5.5L13 4.5V14a1 1 0 01-1 1H4a1 1 0 01-1-1V2a1 1 0 011-1z", stroke: color, strokeWidth: "1.2" }),
314
+ /* @__PURE__ */ jsx("path", { d: "M9 1v4h4", stroke: color, strokeWidth: "1.2" })
315
+ ] });
316
+ }
317
+ function FolderIcon({ open }) {
318
+ if (open) {
319
+ return /* @__PURE__ */ jsxs("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", className: "shrink-0", children: [
320
+ /* @__PURE__ */ jsx("path", { d: "M1.5 3.5a1 1 0 011-1h3l1.5 1.5H13a1 1 0 011 1V5H2.5V3.5z", fill: "#fbbf24" }),
321
+ /* @__PURE__ */ jsx("path", { d: "M1 6h13l-1.5 7.5H2.5L1 6z", fill: "#fbbf24", opacity: "0.7" })
322
+ ] });
323
+ }
324
+ return /* @__PURE__ */ jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", className: "shrink-0", children: /* @__PURE__ */ jsx("path", { d: "M1.5 3a1 1 0 011-1h3l1.5 1.5H13a1 1 0 011 1v8a1 1 0 01-1 1H2.5a1 1 0 01-1-1V3z", fill: "#fbbf24" }) });
325
+ }
326
+ function FileBrowserStatusRow({ depth, kind, message, onRetry }) {
327
+ const { indentSize } = useFileBrowser();
328
+ const paddingLeft = depth * indentSize + 4 + 18;
329
+ if (kind === "error") {
330
+ return /* @__PURE__ */ jsxs(
331
+ "div",
332
+ {
333
+ role: "none",
334
+ "data-react-fancy-file-browser-status": "error",
335
+ className: "flex items-center gap-1.5 py-0.5 pr-2 text-xs text-red-600 dark:text-red-400",
336
+ style: { paddingLeft },
337
+ children: [
338
+ /* @__PURE__ */ jsx(CircleAlert, { size: 12, className: "shrink-0" }),
339
+ /* @__PURE__ */ jsx("span", { className: "min-w-0 flex-1 truncate", children: message || "Failed to load" }),
340
+ onRetry && /* @__PURE__ */ jsxs(
341
+ "button",
342
+ {
343
+ type: "button",
344
+ onClick: onRetry,
345
+ className: "flex shrink-0 items-center gap-1 rounded-md px-1.5 py-0.5 text-[11px] text-zinc-500 transition-colors hover:bg-zinc-100 hover:text-zinc-700 dark:text-zinc-400 dark:hover:bg-zinc-800 dark:hover:text-zinc-200",
346
+ children: [
347
+ /* @__PURE__ */ jsx(RotateCw, { size: 11 }),
348
+ "Retry"
349
+ ]
350
+ }
351
+ )
352
+ ]
353
+ }
354
+ );
355
+ }
356
+ return /* @__PURE__ */ jsxs(
357
+ "div",
358
+ {
359
+ role: "none",
360
+ "data-react-fancy-file-browser-status": kind,
361
+ className: "flex items-center gap-1.5 py-0.5 text-xs text-zinc-400 italic dark:text-zinc-500",
362
+ style: { paddingLeft },
363
+ children: [
364
+ kind === "loading" && /* @__PURE__ */ jsx(Loader2, { size: 12, className: "shrink-0 animate-spin", "aria-hidden": "true" }),
365
+ /* @__PURE__ */ jsx("span", { className: "truncate", children: kind === "loading" ? "Loading\u2026" : kind === "empty" ? "Empty" : kind === "no-matches" ? "No matches" : "No entries" })
366
+ ]
367
+ }
368
+ );
369
+ }
370
+ FileBrowserStatusRow.displayName = "FileBrowserStatusRow";
371
+ function FileBrowserNode({ entry, depth }) {
372
+ const {
373
+ entriesFor,
374
+ visibleChildrenFor,
375
+ statusFor,
376
+ errorFor,
377
+ loadPath,
378
+ hasProvider,
379
+ expandedPaths,
380
+ toggleExpanded,
381
+ navigate,
382
+ isSelected,
383
+ isSelectable,
384
+ selectEntry,
385
+ tabFocusPath,
386
+ setFocusedPath,
387
+ focusRow,
388
+ registerRow,
389
+ indentSize,
390
+ showIcons
391
+ } = useFileBrowser();
392
+ const rawChildren = entriesFor(entry.path);
393
+ const childrenKnown = rawChildren !== void 0;
394
+ const expandable = isEntryExpandable(entry, rawChildren, hasProvider);
395
+ const expanded = expandable && expandedPaths.includes(entry.path);
396
+ const status = statusFor(entry.path);
397
+ const selectable = isSelectable(entry);
398
+ const selected = isSelected(entry.path);
399
+ const loading = expanded && !childrenKnown && status === "loading";
400
+ const paddingLeft = depth * indentSize + 4;
401
+ const ext = entry.name.includes(".") ? entry.name.split(".").pop() : void 0;
402
+ const handleClick = () => {
403
+ if (entry.disabled) return;
404
+ setFocusedPath(entry.path);
405
+ focusRow(entry.path);
406
+ if (selectable) selectEntry(entry);
407
+ if (expandable) toggleExpanded(entry.path);
408
+ };
409
+ const handleDoubleClick = () => {
410
+ if (entry.disabled || entry.kind !== "dir") return;
411
+ navigate(entry.path);
412
+ };
413
+ const handleChevronClick = (e) => {
414
+ e.stopPropagation();
415
+ if (!entry.disabled && expandable) toggleExpanded(entry.path);
416
+ };
417
+ const visibleChildren = expanded && childrenKnown ? visibleChildrenFor(entry.path) : [];
418
+ return /* @__PURE__ */ jsxs(
419
+ "div",
420
+ {
421
+ role: "treeitem",
422
+ "data-react-fancy-file-browser-node": "",
423
+ "data-path": entry.path,
424
+ "data-kind": entry.kind,
425
+ "aria-level": depth + 1,
426
+ "aria-expanded": expandable ? expanded : void 0,
427
+ "aria-selected": selectable ? selected : void 0,
428
+ "aria-disabled": entry.disabled || void 0,
429
+ "aria-busy": loading || void 0,
430
+ tabIndex: tabFocusPath === entry.path ? 0 : -1,
431
+ ref: (el) => registerRow(entry.path, el),
432
+ onFocus: (e) => {
433
+ if (e.target === e.currentTarget) setFocusedPath(entry.path);
434
+ },
435
+ className: "group outline-none",
436
+ children: [
437
+ /* @__PURE__ */ jsxs(
438
+ "div",
439
+ {
440
+ "data-react-fancy-file-browser-row": "",
441
+ onClick: handleClick,
442
+ onDoubleClick: handleDoubleClick,
443
+ className: cn(
444
+ "flex w-full cursor-pointer items-center gap-1 rounded-md py-0.5 pr-2 text-left text-[13px] transition-colors select-none",
445
+ selected ? "bg-blue-500/15 text-blue-600 dark:text-blue-400" : "text-zinc-700 hover:bg-zinc-100 dark:text-zinc-300 dark:hover:bg-zinc-800",
446
+ entry.disabled && "pointer-events-none opacity-40",
447
+ "group-focus-visible:ring-2 group-focus-visible:ring-blue-500/40 group-focus-visible:ring-inset"
448
+ ),
449
+ style: { paddingLeft },
450
+ children: [
451
+ expandable ? loading ? /* @__PURE__ */ jsx(Loader2, { size: 14, className: "shrink-0 animate-spin text-zinc-400", "aria-hidden": "true" }) : /* @__PURE__ */ jsx(
452
+ "button",
453
+ {
454
+ type: "button",
455
+ tabIndex: -1,
456
+ "aria-hidden": "true",
457
+ onClick: handleChevronClick,
458
+ className: "flex shrink-0 items-center justify-center text-zinc-400 hover:text-zinc-600 dark:hover:text-zinc-300",
459
+ children: /* @__PURE__ */ jsx(
460
+ ChevronRight,
461
+ {
462
+ size: 14,
463
+ className: cn("transition-transform duration-150", expanded && "rotate-90")
464
+ }
465
+ )
466
+ }
467
+ ) : /* @__PURE__ */ jsx("span", { className: "w-3.5 shrink-0" }),
468
+ showIcons && (entry.kind === "dir" ? /* @__PURE__ */ jsx(FolderIcon, { open: expanded }) : /* @__PURE__ */ jsx(FileIcon, { ext })),
469
+ /* @__PURE__ */ jsx("span", { className: "min-w-0 flex-1 truncate", children: entry.name }),
470
+ entry.kind === "file" && entry.size !== void 0 && /* @__PURE__ */ jsx("span", { className: "shrink-0 text-[11px] text-zinc-400 tabular-nums dark:text-zinc-500", children: formatFileSize(entry.size) })
471
+ ]
472
+ }
473
+ ),
474
+ expanded && /* @__PURE__ */ jsxs("div", { role: "group", "data-react-fancy-file-browser-node-children": "", children: [
475
+ !childrenKnown && (status === "loading" || status === "idle") && /* @__PURE__ */ jsx(FileBrowserStatusRow, { depth: depth + 1, kind: "loading" }),
476
+ !childrenKnown && status === "error" && /* @__PURE__ */ jsx(
477
+ FileBrowserStatusRow,
478
+ {
479
+ depth: depth + 1,
480
+ kind: "error",
481
+ message: errorFor(entry.path),
482
+ onRetry: () => loadPath(entry.path, { reload: true })
483
+ }
484
+ ),
485
+ childrenKnown && (visibleChildren.length > 0 ? visibleChildren.map((child) => /* @__PURE__ */ jsx(FileBrowserNode, { entry: child, depth: depth + 1 }, child.path)) : /* @__PURE__ */ jsx(
486
+ FileBrowserStatusRow,
487
+ {
488
+ depth: depth + 1,
489
+ kind: rawChildren.length === 0 ? "empty" : "no-matches"
490
+ }
491
+ ))
492
+ ] })
493
+ ]
494
+ }
495
+ );
496
+ }
497
+ FileBrowserNode.displayName = "FileBrowserNode";
498
+ function FileBrowserTree({ ariaLabel = "Files", className }) {
499
+ const ctx = useFileBrowser();
500
+ const {
501
+ path,
502
+ entriesFor,
503
+ visibleChildrenFor,
504
+ statusFor,
505
+ errorFor,
506
+ loadPath,
507
+ hasProvider,
508
+ visibleRows,
509
+ tabFocusPath,
510
+ setFocusedPath,
511
+ focusRow,
512
+ toggleExpanded,
513
+ isSelectable,
514
+ selectEntry,
515
+ navigate,
516
+ multiple
517
+ } = ctx;
518
+ const rootEntries = entriesFor(path);
519
+ const rootStatus = statusFor(path);
520
+ const rootChildren = rootEntries !== void 0 ? visibleChildrenFor(path) : [];
521
+ const moveTo = (row) => {
522
+ setFocusedPath(row.entry.path);
523
+ focusRow(row.entry.path);
524
+ };
525
+ const activate = (row) => {
526
+ if (row.entry.disabled) return;
527
+ if (isSelectable(row.entry)) selectEntry(row.entry);
528
+ if (row.expandable) toggleExpanded(row.entry.path);
529
+ else if (row.entry.kind === "dir" && !isSelectable(row.entry)) navigate(row.entry.path);
530
+ };
531
+ const handleKeyDown = (e) => {
532
+ const rows = visibleRows;
533
+ if (rows.length === 0) return;
534
+ const index = rows.findIndex((row) => row.entry.path === tabFocusPath);
535
+ const current = index >= 0 ? rows[index] : rows[0];
536
+ switch (e.key) {
537
+ case "ArrowDown":
538
+ e.preventDefault();
539
+ if (index < rows.length - 1) moveTo(rows[index + 1]);
540
+ break;
541
+ case "ArrowUp":
542
+ e.preventDefault();
543
+ if (index > 0) moveTo(rows[index - 1]);
544
+ break;
545
+ case "Home":
546
+ e.preventDefault();
547
+ moveTo(rows[0]);
548
+ break;
549
+ case "End":
550
+ e.preventDefault();
551
+ moveTo(rows[rows.length - 1]);
552
+ break;
553
+ case "ArrowRight":
554
+ e.preventDefault();
555
+ if (current.entry.disabled) break;
556
+ if (current.expandable && !current.expanded) {
557
+ toggleExpanded(current.entry.path);
558
+ } else if (current.expanded) {
559
+ const firstChild = rows[index + 1];
560
+ if (firstChild && firstChild.parentPath === current.entry.path) moveTo(firstChild);
561
+ }
562
+ break;
563
+ case "ArrowLeft":
564
+ e.preventDefault();
565
+ if (current.expanded && !current.entry.disabled) {
566
+ toggleExpanded(current.entry.path);
567
+ } else if (current.parentPath) {
568
+ const parent = rows.find((row) => row.entry.path === current.parentPath);
569
+ if (parent) moveTo(parent);
570
+ }
571
+ break;
572
+ case "Enter":
573
+ e.preventDefault();
574
+ activate(current);
575
+ break;
576
+ case " ":
577
+ e.preventDefault();
578
+ if (!current.entry.disabled) selectEntry(current.entry);
579
+ break;
580
+ }
581
+ };
582
+ return /* @__PURE__ */ jsxs(
583
+ "div",
584
+ {
585
+ role: "tree",
586
+ "aria-label": ariaLabel,
587
+ "aria-multiselectable": multiple || void 0,
588
+ "data-react-fancy-file-browser-tree": "",
589
+ className: cn("min-h-0 flex-1 overflow-auto p-1", className),
590
+ onKeyDown: handleKeyDown,
591
+ children: [
592
+ rootEntries === void 0 && hasProvider && (rootStatus === "loading" || rootStatus === "idle") && /* @__PURE__ */ jsx(FileBrowserStatusRow, { depth: 0, kind: "loading" }),
593
+ rootEntries === void 0 && rootStatus === "error" && /* @__PURE__ */ jsx(
594
+ FileBrowserStatusRow,
595
+ {
596
+ depth: 0,
597
+ kind: "error",
598
+ message: errorFor(path),
599
+ onRetry: () => loadPath(path, { reload: true })
600
+ }
601
+ ),
602
+ rootEntries === void 0 && rootStatus === "idle" && !hasProvider && /* @__PURE__ */ jsx(FileBrowserStatusRow, { depth: 0, kind: "unknown" }),
603
+ rootEntries !== void 0 && (rootChildren.length > 0 ? rootChildren.map((entry) => /* @__PURE__ */ jsx(FileBrowserNode, { entry, depth: 0 }, entry.path)) : /* @__PURE__ */ jsx(FileBrowserStatusRow, { depth: 0, kind: rootEntries.length === 0 ? "empty" : "no-matches" }))
604
+ ]
605
+ }
606
+ );
607
+ }
608
+ FileBrowserTree.displayName = "FileBrowserTree";
609
+ var DEFAULT_SORT = { by: "name", direction: "asc" };
610
+ function snapshotNodeToEntry(node) {
611
+ const { children: _children, ...entry } = node;
612
+ return entry;
613
+ }
614
+ function buildSnapshotMap(snapshot) {
615
+ const map = /* @__PURE__ */ new Map();
616
+ if (!snapshot || snapshot.length === 0) return map;
617
+ for (const root of snapshot) {
618
+ const parent = parentPath(root.path);
619
+ const list = map.get(parent);
620
+ if (list) list.push(snapshotNodeToEntry(root));
621
+ else map.set(parent, [snapshotNodeToEntry(root)]);
622
+ }
623
+ const walk = (nodes) => {
624
+ for (const node of nodes) {
625
+ if (node.children) {
626
+ map.set(node.path, node.children.map(snapshotNodeToEntry));
627
+ walk(node.children);
628
+ }
629
+ }
630
+ };
631
+ walk(snapshot);
632
+ return map;
633
+ }
634
+ function FileBrowserRoot({
635
+ provider,
636
+ snapshot,
637
+ select = "file",
638
+ multiple = false,
639
+ value,
640
+ defaultValue,
641
+ onChange,
642
+ path,
643
+ defaultPath = "/",
644
+ onPathChange,
645
+ expandedPaths,
646
+ defaultExpandedPaths,
647
+ onExpandedChange,
648
+ sort,
649
+ defaultSort,
650
+ onSortChange,
651
+ filter,
652
+ defaultFilter,
653
+ onFilterChange,
654
+ onError,
655
+ indentSize = 16,
656
+ showIcons = true,
657
+ className,
658
+ children
659
+ }) {
660
+ const [currentPath, setCurrentPath] = useControllableState(path, defaultPath, onPathChange);
661
+ const [expanded, setExpanded] = useControllableState(
662
+ expandedPaths,
663
+ defaultExpandedPaths ?? [],
664
+ onExpandedChange
665
+ );
666
+ const [sortState, setSortState] = useControllableState(sort, defaultSort ?? DEFAULT_SORT, onSortChange);
667
+ const [filterState, setFilterState] = useControllableState(filter, defaultFilter ?? "", onFilterChange);
668
+ const [internalValue, setInternalValue] = useState(
669
+ () => defaultValue ?? (multiple ? [] : null)
670
+ );
671
+ const selection = value !== void 0 ? value : internalValue;
672
+ const selectedPaths = useMemo(
673
+ () => selection == null ? [] : Array.isArray(selection) ? selection : [selection],
674
+ [selection]
675
+ );
676
+ const snapshotMap = useMemo(() => buildSnapshotMap(snapshot), [snapshot]);
677
+ const [loadedChildren, setLoadedChildren] = useState({});
678
+ const [loadStatus, setLoadStatus] = useState({});
679
+ const [loadErrors, setLoadErrors] = useState({});
680
+ const seqCounter = useRef(0);
681
+ const requestSeq = useRef({});
682
+ const stateRef = useRef({ snapshotMap, loadedChildren, loadStatus });
683
+ stateRef.current = { snapshotMap, loadedChildren, loadStatus };
684
+ const providerRef = useRef(provider);
685
+ providerRef.current = provider;
686
+ const onErrorRef = useRef(onError);
687
+ onErrorRef.current = onError;
688
+ const onChangeRef = useRef(onChange);
689
+ onChangeRef.current = onChange;
690
+ const loadPath = useCallback((targetPath, options) => {
691
+ const prov = providerRef.current;
692
+ if (!prov) return;
693
+ const { snapshotMap: snap, loadedChildren: loaded, loadStatus: statuses } = stateRef.current;
694
+ const status = statuses[targetPath] ?? "idle";
695
+ if (status === "loading") return;
696
+ const known = snap.get(targetPath) ?? loaded[targetPath];
697
+ if (!options?.reload && (known !== void 0 || status === "error")) return;
698
+ const requestId = ++seqCounter.current;
699
+ requestSeq.current[targetPath] = requestId;
700
+ setLoadStatus((prev) => ({ ...prev, [targetPath]: "loading" }));
701
+ prov.loadChildren(targetPath).then(
702
+ (entries) => {
703
+ if (requestSeq.current[targetPath] !== requestId) return;
704
+ setLoadedChildren((prev) => ({ ...prev, [targetPath]: entries }));
705
+ setLoadStatus((prev) => ({ ...prev, [targetPath]: "loaded" }));
706
+ setLoadErrors((prev) => {
707
+ if (!(targetPath in prev)) return prev;
708
+ const next = { ...prev };
709
+ delete next[targetPath];
710
+ return next;
711
+ });
712
+ },
713
+ (error) => {
714
+ if (requestSeq.current[targetPath] !== requestId) return;
715
+ setLoadStatus((prev) => ({ ...prev, [targetPath]: "error" }));
716
+ setLoadErrors((prev) => ({
717
+ ...prev,
718
+ [targetPath]: error instanceof Error ? error.message : String(error)
719
+ }));
720
+ onErrorRef.current?.(targetPath, error);
721
+ }
722
+ );
723
+ }, []);
724
+ const entriesFor = useCallback(
725
+ (p) => snapshotMap.get(p) ?? loadedChildren[p],
726
+ [snapshotMap, loadedChildren]
727
+ );
728
+ const statusFor = useCallback(
729
+ (p) => {
730
+ if (snapshotMap.has(p)) return "loaded";
731
+ const status = loadStatus[p];
732
+ if (status) return status;
733
+ return loadedChildren[p] !== void 0 ? "loaded" : "idle";
734
+ },
735
+ [snapshotMap, loadStatus, loadedChildren]
736
+ );
737
+ const errorFor = useCallback((p) => loadErrors[p], [loadErrors]);
738
+ useEffect(() => {
739
+ if (!provider) return;
740
+ loadPath(currentPath);
741
+ for (const p of expanded) loadPath(p);
742
+ }, [provider, currentPath, expanded, snapshotMap, loadPath]);
743
+ const filterLower = filterState.trim().toLowerCase();
744
+ const visibleChildrenFor = useCallback(
745
+ (p) => {
746
+ const entries = entriesFor(p);
747
+ if (!entries) return [];
748
+ const filtered = filterLower ? entries.filter((entry) => entryMatchesFilter(entry, filterLower, entriesFor)) : entries.slice();
749
+ return filtered.sort((a, b) => compareFileEntries(a, b, sortState));
750
+ },
751
+ [entriesFor, filterLower, sortState]
752
+ );
753
+ const visibleRows = useMemo(() => {
754
+ const rows = [];
755
+ const visited = /* @__PURE__ */ new Set([currentPath]);
756
+ const walk = (p, depth, parent) => {
757
+ for (const entry of visibleChildrenFor(p)) {
758
+ const expandable = isEntryExpandable(entry, entriesFor(entry.path), !!provider);
759
+ const isOpen = expandable && expanded.includes(entry.path);
760
+ rows.push({ entry, depth, expandable, expanded: isOpen, parentPath: parent });
761
+ if (isOpen && !visited.has(entry.path)) {
762
+ visited.add(entry.path);
763
+ walk(entry.path, depth + 1, entry.path);
764
+ }
765
+ }
766
+ };
767
+ walk(currentPath, 0, null);
768
+ return rows;
769
+ }, [visibleChildrenFor, entriesFor, provider, expanded, currentPath]);
770
+ const entryIndex = useMemo(() => {
771
+ const map = /* @__PURE__ */ new Map();
772
+ for (const list of snapshotMap.values()) {
773
+ for (const entry of list) map.set(entry.path, entry);
774
+ }
775
+ for (const list of Object.values(loadedChildren)) {
776
+ for (const entry of list) {
777
+ if (!map.has(entry.path)) map.set(entry.path, entry);
778
+ }
779
+ }
780
+ return map;
781
+ }, [snapshotMap, loadedChildren]);
782
+ const isSelectable = useCallback(
783
+ (entry) => !entry.disabled && (select === "both" || (select === "file" ? entry.kind === "file" : entry.kind === "dir")),
784
+ [select]
785
+ );
786
+ const isSelected = useCallback((p) => selectedPaths.includes(p), [selectedPaths]);
787
+ const commitSelection = useCallback(
788
+ (paths) => {
789
+ const nextValue = multiple ? paths : paths[0] ?? null;
790
+ if (value === void 0) setInternalValue(nextValue);
791
+ onChangeRef.current?.(
792
+ nextValue,
793
+ paths.map((p) => entryIndex.get(p)).filter((entry) => entry !== void 0)
794
+ );
795
+ },
796
+ [multiple, value, entryIndex]
797
+ );
798
+ const selectEntry = useCallback(
799
+ (entry) => {
800
+ if (!isSelectable(entry)) return;
801
+ if (multiple) {
802
+ commitSelection(
803
+ selectedPaths.includes(entry.path) ? selectedPaths.filter((p) => p !== entry.path) : [...selectedPaths, entry.path]
804
+ );
805
+ } else {
806
+ commitSelection([entry.path]);
807
+ }
808
+ },
809
+ [isSelectable, multiple, selectedPaths, commitSelection]
810
+ );
811
+ const toggleExpanded = useCallback(
812
+ (p) => {
813
+ setExpanded((prev) => prev.includes(p) ? prev.filter((x) => x !== p) : [...prev, p]);
814
+ },
815
+ [setExpanded]
816
+ );
817
+ const [focusedPath, setFocusedPath] = useState(null);
818
+ const navigate = useCallback(
819
+ (p) => {
820
+ setCurrentPath(p);
821
+ setFilterState("");
822
+ setFocusedPath(null);
823
+ },
824
+ [setCurrentPath, setFilterState]
825
+ );
826
+ const rowRefs = useRef(/* @__PURE__ */ new Map());
827
+ const registerRow = useCallback((p, el) => {
828
+ if (el) rowRefs.current.set(p, el);
829
+ else rowRefs.current.delete(p);
830
+ }, []);
831
+ const focusRow = useCallback((p) => {
832
+ rowRefs.current.get(p)?.focus();
833
+ }, []);
834
+ const tabFocusPath = useMemo(() => {
835
+ if (focusedPath && visibleRows.some((row) => row.entry.path === focusedPath)) {
836
+ return focusedPath;
837
+ }
838
+ return visibleRows[0]?.entry.path ?? null;
839
+ }, [focusedPath, visibleRows]);
840
+ const ctx = useMemo(
841
+ () => ({
842
+ entriesFor,
843
+ visibleChildrenFor,
844
+ statusFor,
845
+ errorFor,
846
+ loadPath,
847
+ hasProvider: !!provider,
848
+ path: currentPath,
849
+ navigate,
850
+ expandedPaths: expanded,
851
+ toggleExpanded,
852
+ select,
853
+ multiple,
854
+ selectedPaths,
855
+ isSelected,
856
+ isSelectable,
857
+ selectEntry,
858
+ sort: sortState,
859
+ setSort: setSortState,
860
+ filter: filterState,
861
+ setFilter: setFilterState,
862
+ visibleRows,
863
+ focusedPath,
864
+ setFocusedPath,
865
+ tabFocusPath,
866
+ focusRow,
867
+ registerRow,
868
+ indentSize,
869
+ showIcons
870
+ }),
871
+ [
872
+ entriesFor,
873
+ visibleChildrenFor,
874
+ statusFor,
875
+ errorFor,
876
+ loadPath,
877
+ provider,
878
+ currentPath,
879
+ navigate,
880
+ expanded,
881
+ toggleExpanded,
882
+ select,
883
+ multiple,
884
+ selectedPaths,
885
+ isSelected,
886
+ isSelectable,
887
+ selectEntry,
888
+ sortState,
889
+ setSortState,
890
+ filterState,
891
+ setFilterState,
892
+ visibleRows,
893
+ focusedPath,
894
+ tabFocusPath,
895
+ focusRow,
896
+ registerRow,
897
+ indentSize,
898
+ showIcons
899
+ ]
900
+ );
901
+ return /* @__PURE__ */ jsx(FileBrowserContext.Provider, { value: ctx, children: /* @__PURE__ */ jsx(
902
+ "div",
903
+ {
904
+ "data-react-fancy-file-browser": "",
905
+ className: cn(
906
+ "flex flex-col overflow-hidden rounded-lg border border-zinc-200 bg-white text-sm dark:border-zinc-700 dark:bg-zinc-900",
907
+ className
908
+ ),
909
+ children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
910
+ /* @__PURE__ */ jsx(FileBrowserPathBar, {}),
911
+ /* @__PURE__ */ jsx(FileBrowserToolbar, {}),
912
+ /* @__PURE__ */ jsx(FileBrowserTree, {})
913
+ ] })
914
+ }
915
+ ) });
916
+ }
917
+ FileBrowserRoot.displayName = "FileBrowser";
918
+ var FileBrowser = Object.assign(FileBrowserRoot, {
919
+ PathBar: FileBrowserPathBar,
920
+ Toolbar: FileBrowserToolbar,
921
+ Tree: FileBrowserTree,
922
+ Node: FileBrowserNode
923
+ });
924
+
925
+ export { FileBrowser, useFileBrowser };
926
+ //# sourceMappingURL=chunk-BYIY6BH2.js.map
927
+ //# sourceMappingURL=chunk-BYIY6BH2.js.map