@codefast/ui 0.2.41 → 0.2.43

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 (449) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/chunk-26LLBSKZ.js +2 -0
  3. package/dist/chunk-26LLBSKZ.js.map +1 -0
  4. package/dist/{chunk-KZBQGSMG.js → chunk-2HCRY6E2.js} +2 -2
  5. package/dist/{chunk-M2CSPS4G.js → chunk-2MLMFMTL.js} +2 -2
  6. package/dist/{chunk-ZOMNWNKC.cjs → chunk-3JL7B4XR.cjs} +2 -2
  7. package/dist/{chunk-ZOMNWNKC.cjs.map → chunk-3JL7B4XR.cjs.map} +1 -1
  8. package/dist/{chunk-LJTE4MA2.cjs → chunk-3LVYMKJA.cjs} +2 -2
  9. package/dist/chunk-3LVYMKJA.cjs.map +1 -0
  10. package/dist/{chunk-HJKUWJAQ.cjs → chunk-3NN47TDD.cjs} +2 -2
  11. package/dist/{chunk-HJKUWJAQ.cjs.map → chunk-3NN47TDD.cjs.map} +1 -1
  12. package/dist/{chunk-PAZGMXP5.cjs → chunk-3W3PYCMD.cjs} +2 -2
  13. package/dist/{chunk-PAZGMXP5.cjs.map → chunk-3W3PYCMD.cjs.map} +1 -1
  14. package/dist/{chunk-RJCUZWSQ.js → chunk-4ND6E3VF.js} +2 -2
  15. package/dist/{chunk-WNJFKING.cjs → chunk-57TCJTRN.cjs} +2 -2
  16. package/dist/chunk-57TCJTRN.cjs.map +1 -0
  17. package/dist/chunk-5MVHOUTT.js +2 -0
  18. package/dist/chunk-5MVHOUTT.js.map +1 -0
  19. package/dist/{chunk-73ZVOEYN.cjs → chunk-5PXJDI4L.cjs} +2 -2
  20. package/dist/{chunk-73ZVOEYN.cjs.map → chunk-5PXJDI4L.cjs.map} +1 -1
  21. package/dist/{chunk-UTP25IOS.js → chunk-6BUY6VTE.js} +2 -2
  22. package/dist/{chunk-SDQKG5LX.js → chunk-6XRHPVRF.js} +2 -2
  23. package/dist/chunk-6XRHPVRF.js.map +1 -0
  24. package/dist/{chunk-DX7ZENLD.js → chunk-72ZA26UY.js} +2 -2
  25. package/dist/{chunk-UWO435VO.cjs → chunk-7Q6MVCYC.cjs} +2 -2
  26. package/dist/chunk-7Q6MVCYC.cjs.map +1 -0
  27. package/dist/{chunk-5W5EYATS.cjs → chunk-7UKLO4OE.cjs} +2 -2
  28. package/dist/{chunk-5W5EYATS.cjs.map → chunk-7UKLO4OE.cjs.map} +1 -1
  29. package/dist/chunk-7WGY4ZMN.js +2 -0
  30. package/dist/chunk-7WGY4ZMN.js.map +1 -0
  31. package/dist/{chunk-5ZGCITOG.js → chunk-AQAWRAC7.js} +2 -2
  32. package/dist/{chunk-ALK54X5M.cjs → chunk-AXPYELCK.cjs} +2 -2
  33. package/dist/{chunk-ALK54X5M.cjs.map → chunk-AXPYELCK.cjs.map} +1 -1
  34. package/dist/{chunk-VGNEJZTI.js → chunk-B67B62IG.js} +2 -2
  35. package/dist/chunk-BJ5276ZL.cjs +2 -0
  36. package/dist/chunk-BJ5276ZL.cjs.map +1 -0
  37. package/dist/{chunk-6S537DLU.js → chunk-BLNRPR4J.js} +2 -2
  38. package/dist/{chunk-CB2YNTH2.js → chunk-BNC7PACS.js} +2 -2
  39. package/dist/{chunk-OPZLDNA6.js → chunk-BWHLGCCN.js} +2 -2
  40. package/dist/{chunk-CXVL5MZT.js → chunk-BXTX4INR.js} +2 -2
  41. package/dist/{chunk-QSRWMDFU.cjs → chunk-BYTBY5WX.cjs} +2 -2
  42. package/dist/{chunk-QSRWMDFU.cjs.map → chunk-BYTBY5WX.cjs.map} +1 -1
  43. package/dist/chunk-C4E2SCVX.cjs +2 -0
  44. package/dist/chunk-C4E2SCVX.cjs.map +1 -0
  45. package/dist/{chunk-UGLIJJJD.cjs → chunk-C4SZMPSO.cjs} +2 -2
  46. package/dist/{chunk-UGLIJJJD.cjs.map → chunk-C4SZMPSO.cjs.map} +1 -1
  47. package/dist/chunk-CTFPFGTS.cjs +2 -0
  48. package/dist/chunk-CTFPFGTS.cjs.map +1 -0
  49. package/dist/chunk-D4E6EOYH.cjs +2 -0
  50. package/dist/chunk-D4E6EOYH.cjs.map +1 -0
  51. package/dist/{chunk-MUU4UWRP.js → chunk-DJCYODS4.js} +2 -2
  52. package/dist/chunk-DJCYODS4.js.map +1 -0
  53. package/dist/chunk-DUQZVKJK.cjs +2 -0
  54. package/dist/chunk-DUQZVKJK.cjs.map +1 -0
  55. package/dist/{chunk-YWBLBKF6.js → chunk-DVDLKPB6.js} +2 -2
  56. package/dist/chunk-DXPH5UHF.js +2 -0
  57. package/dist/chunk-DXPH5UHF.js.map +1 -0
  58. package/dist/{chunk-4H4ZNNN4.cjs → chunk-DZZ255FB.cjs} +2 -2
  59. package/dist/chunk-DZZ255FB.cjs.map +1 -0
  60. package/dist/{chunk-VZ62M4JP.cjs → chunk-EGF2HVSC.cjs} +2 -2
  61. package/dist/{chunk-VZ62M4JP.cjs.map → chunk-EGF2HVSC.cjs.map} +1 -1
  62. package/dist/{chunk-LBTP74TP.js → chunk-ERL3EYDI.js} +2 -2
  63. package/dist/{chunk-H5KHKTXM.js → chunk-FBNBJYZZ.js} +2 -2
  64. package/dist/{chunk-K63CIBXO.js → chunk-FEDVIVNA.js} +2 -2
  65. package/dist/chunk-FG63J63L.js +2 -0
  66. package/dist/chunk-FG63J63L.js.map +1 -0
  67. package/dist/{chunk-KHTUADLQ.cjs → chunk-FWLOCVOO.cjs} +2 -2
  68. package/dist/{chunk-KHTUADLQ.cjs.map → chunk-FWLOCVOO.cjs.map} +1 -1
  69. package/dist/chunk-FY4T2ER6.cjs +2 -0
  70. package/dist/chunk-FY4T2ER6.cjs.map +1 -0
  71. package/dist/{chunk-ZK3HUPSZ.cjs → chunk-G7QGZFHN.cjs} +2 -2
  72. package/dist/{chunk-ZK3HUPSZ.cjs.map → chunk-G7QGZFHN.cjs.map} +1 -1
  73. package/dist/{chunk-7H66BMH4.cjs → chunk-GINRAIV5.cjs} +2 -2
  74. package/dist/chunk-GINRAIV5.cjs.map +1 -0
  75. package/dist/{chunk-S32LYY3O.cjs → chunk-GYF5Z6OH.cjs} +2 -2
  76. package/dist/chunk-GYF5Z6OH.cjs.map +1 -0
  77. package/dist/{chunk-OVKRBTSG.cjs → chunk-HEJTOZZA.cjs} +2 -2
  78. package/dist/{chunk-OVKRBTSG.cjs.map → chunk-HEJTOZZA.cjs.map} +1 -1
  79. package/dist/chunk-HTXXCU4P.js +2 -0
  80. package/dist/chunk-HTXXCU4P.js.map +1 -0
  81. package/dist/chunk-I2NLOZSK.cjs +2 -0
  82. package/dist/chunk-I2NLOZSK.cjs.map +1 -0
  83. package/dist/{chunk-KFKATGAI.cjs → chunk-I3JAJG2P.cjs} +2 -2
  84. package/dist/{chunk-KFKATGAI.cjs.map → chunk-I3JAJG2P.cjs.map} +1 -1
  85. package/dist/{chunk-TRPIIBAS.cjs → chunk-IDUI37C5.cjs} +2 -2
  86. package/dist/{chunk-TRPIIBAS.cjs.map → chunk-IDUI37C5.cjs.map} +1 -1
  87. package/dist/{chunk-5JTBH2HB.cjs → chunk-IJDGRHSJ.cjs} +2 -2
  88. package/dist/{chunk-5JTBH2HB.cjs.map → chunk-IJDGRHSJ.cjs.map} +1 -1
  89. package/dist/{chunk-KFOO3BEC.js → chunk-IOLF4OUY.js} +2 -2
  90. package/dist/{chunk-7ZBO62H2.js → chunk-JOTHREM7.js} +2 -2
  91. package/dist/{chunk-6VLIWII3.js → chunk-JR523CUY.js} +2 -2
  92. package/dist/chunk-KHN5VXA3.cjs +2 -0
  93. package/dist/chunk-KHN5VXA3.cjs.map +1 -0
  94. package/dist/{chunk-5J5PZ5RW.cjs → chunk-KMG3E33I.cjs} +2 -2
  95. package/dist/chunk-KMG3E33I.cjs.map +1 -0
  96. package/dist/{chunk-WCB6FMMN.cjs → chunk-KWQNOOAD.cjs} +2 -2
  97. package/dist/{chunk-WCB6FMMN.cjs.map → chunk-KWQNOOAD.cjs.map} +1 -1
  98. package/dist/chunk-LHV5Q5HA.js +2 -0
  99. package/dist/chunk-LHV5Q5HA.js.map +1 -0
  100. package/dist/{chunk-2ONIOLJQ.js → chunk-LLKT2WXV.js} +2 -2
  101. package/dist/chunk-LLKT2WXV.js.map +1 -0
  102. package/dist/{chunk-IY35R752.cjs → chunk-M7CDOBPW.cjs} +2 -2
  103. package/dist/{chunk-IY35R752.cjs.map → chunk-M7CDOBPW.cjs.map} +1 -1
  104. package/dist/{chunk-IYUJ5OKV.cjs → chunk-MAOIIWL3.cjs} +2 -2
  105. package/dist/{chunk-IYUJ5OKV.cjs.map → chunk-MAOIIWL3.cjs.map} +1 -1
  106. package/dist/{chunk-HZF7PYFL.js → chunk-MAT244FH.js} +2 -2
  107. package/dist/{chunk-Z3CRHOTP.js → chunk-MJRNFDCK.js} +2 -2
  108. package/dist/{chunk-YYWPQ4QR.js → chunk-MMPSAWTP.js} +2 -2
  109. package/dist/chunk-MMPSAWTP.js.map +1 -0
  110. package/dist/{chunk-2BQKAZIK.cjs → chunk-MTQZ3CIA.cjs} +2 -2
  111. package/dist/{chunk-2BQKAZIK.cjs.map → chunk-MTQZ3CIA.cjs.map} +1 -1
  112. package/dist/{chunk-ZZLPOTQ2.js → chunk-NPHN3UXY.js} +2 -2
  113. package/dist/chunk-O3GW62OB.cjs +2 -0
  114. package/dist/chunk-O3GW62OB.cjs.map +1 -0
  115. package/dist/chunk-OHUMHEWO.js +2 -0
  116. package/dist/chunk-OHUMHEWO.js.map +1 -0
  117. package/dist/{chunk-KY6BYWI2.cjs → chunk-OWHMWJIR.cjs} +2 -2
  118. package/dist/{chunk-KY6BYWI2.cjs.map → chunk-OWHMWJIR.cjs.map} +1 -1
  119. package/dist/{chunk-S6SBFTOK.js → chunk-P5RLQ6DA.js} +2 -2
  120. package/dist/chunk-PCJQXHW5.cjs +2 -0
  121. package/dist/chunk-PCJQXHW5.cjs.map +1 -0
  122. package/dist/{chunk-ZD5ZM7S7.js → chunk-PDPC6PNC.js} +2 -2
  123. package/dist/{chunk-FXESF4F3.js → chunk-PHCGFZJT.js} +2 -2
  124. package/dist/chunk-PHCGFZJT.js.map +1 -0
  125. package/dist/chunk-PNEYPQ6Q.js +2 -0
  126. package/dist/chunk-PNEYPQ6Q.js.map +1 -0
  127. package/dist/{chunk-RPR4QRQK.cjs → chunk-PSBYBUXU.cjs} +2 -2
  128. package/dist/{chunk-RPR4QRQK.cjs.map → chunk-PSBYBUXU.cjs.map} +1 -1
  129. package/dist/{chunk-XMUIAC76.cjs → chunk-PWRGYBD4.cjs} +2 -2
  130. package/dist/{chunk-XMUIAC76.cjs.map → chunk-PWRGYBD4.cjs.map} +1 -1
  131. package/dist/{chunk-JD762OCB.cjs → chunk-Q2EL52C6.cjs} +2 -2
  132. package/dist/chunk-Q2EL52C6.cjs.map +1 -0
  133. package/dist/{chunk-G5SJUAN7.cjs → chunk-QLYHEBIM.cjs} +2 -2
  134. package/dist/{chunk-G5SJUAN7.cjs.map → chunk-QLYHEBIM.cjs.map} +1 -1
  135. package/dist/{chunk-HRARWB2V.js → chunk-RI6OGB2Q.js} +2 -2
  136. package/dist/{chunk-GHZJL33D.js → chunk-RPN2CCYJ.js} +2 -2
  137. package/dist/chunk-RRVBVEKN.js +2 -0
  138. package/dist/chunk-RRVBVEKN.js.map +1 -0
  139. package/dist/{chunk-PL6HV27V.cjs → chunk-RZ2SWMAS.cjs} +2 -2
  140. package/dist/{chunk-PL6HV27V.cjs.map → chunk-RZ2SWMAS.cjs.map} +1 -1
  141. package/dist/{chunk-JO7EANFR.js → chunk-RZ4UBUIX.js} +2 -2
  142. package/dist/chunk-RZ4UBUIX.js.map +1 -0
  143. package/dist/chunk-S23ABGFK.js +2 -0
  144. package/dist/chunk-S23ABGFK.js.map +1 -0
  145. package/dist/{chunk-LQXNGCYD.js → chunk-SU3DRGP4.js} +2 -2
  146. package/dist/chunk-SWKQ7C7S.cjs +2 -0
  147. package/dist/chunk-SWKQ7C7S.cjs.map +1 -0
  148. package/dist/{chunk-KNCCX2RR.js → chunk-T6TXDUNF.js} +2 -2
  149. package/dist/chunk-T6TXDUNF.js.map +1 -0
  150. package/dist/{chunk-SNR6C2TD.js → chunk-TJITRPMB.js} +2 -2
  151. package/dist/{chunk-2HRC7KM5.cjs → chunk-TLE2J6KL.cjs} +2 -2
  152. package/dist/{chunk-2HRC7KM5.cjs.map → chunk-TLE2J6KL.cjs.map} +1 -1
  153. package/dist/{chunk-RDYII63G.cjs → chunk-TPO3DOKI.cjs} +2 -2
  154. package/dist/{chunk-RDYII63G.cjs.map → chunk-TPO3DOKI.cjs.map} +1 -1
  155. package/dist/chunk-U2XKYH2F.js +2 -0
  156. package/dist/chunk-U2XKYH2F.js.map +1 -0
  157. package/dist/chunk-UQ6AIWI7.cjs +2 -0
  158. package/dist/chunk-UQ6AIWI7.cjs.map +1 -0
  159. package/dist/{chunk-OWHTDN3B.cjs → chunk-V5MKHW4Y.cjs} +2 -2
  160. package/dist/chunk-V5MKHW4Y.cjs.map +1 -0
  161. package/dist/{chunk-SDAQL72I.cjs → chunk-VAAMFXUO.cjs} +2 -2
  162. package/dist/{chunk-SDAQL72I.cjs.map → chunk-VAAMFXUO.cjs.map} +1 -1
  163. package/dist/{chunk-THIOYFBD.cjs → chunk-VGKMOGO3.cjs} +2 -2
  164. package/dist/{chunk-THIOYFBD.cjs.map → chunk-VGKMOGO3.cjs.map} +1 -1
  165. package/dist/{chunk-MOTXNJBG.js → chunk-VKFCX5SL.js} +2 -2
  166. package/dist/{chunk-43LREVQW.js → chunk-VR73VX4J.js} +2 -2
  167. package/dist/{chunk-O2AV7D77.cjs → chunk-VZAL4IJL.cjs} +2 -2
  168. package/dist/{chunk-O2AV7D77.cjs.map → chunk-VZAL4IJL.cjs.map} +1 -1
  169. package/dist/{chunk-ETZEGAE4.js → chunk-W3VK5E4D.js} +2 -2
  170. package/dist/chunk-WJXRZTW3.js +2 -0
  171. package/dist/chunk-WJXRZTW3.js.map +1 -0
  172. package/dist/{chunk-BYHI4274.js → chunk-WQSI75VD.js} +2 -2
  173. package/dist/{chunk-62KSISJB.cjs → chunk-WYHMXFLO.cjs} +2 -2
  174. package/dist/{chunk-62KSISJB.cjs.map → chunk-WYHMXFLO.cjs.map} +1 -1
  175. package/dist/{chunk-7EG2MKOP.cjs → chunk-WZ6TY3B4.cjs} +2 -2
  176. package/dist/{chunk-7EG2MKOP.cjs.map → chunk-WZ6TY3B4.cjs.map} +1 -1
  177. package/dist/{chunk-LCW5IZ6X.js → chunk-Y4AIW37G.js} +2 -2
  178. package/dist/{chunk-I3R7CYAL.js → chunk-YDZJRCEM.js} +2 -2
  179. package/dist/chunk-YDZJRCEM.js.map +1 -0
  180. package/dist/chunk-YJF36R67.js +2 -0
  181. package/dist/chunk-YJF36R67.js.map +1 -0
  182. package/dist/{chunk-QU3TG2M3.cjs → chunk-YPCF6WP5.cjs} +2 -2
  183. package/dist/{chunk-QU3TG2M3.cjs.map → chunk-YPCF6WP5.cjs.map} +1 -1
  184. package/dist/{chunk-UU6JKB54.js → chunk-Z74MDKTM.js} +2 -2
  185. package/dist/{chunk-VXLQ4MHB.cjs → chunk-ZEMC4LHN.cjs} +2 -2
  186. package/dist/{chunk-VXLQ4MHB.cjs.map → chunk-ZEMC4LHN.cjs.map} +1 -1
  187. package/dist/{chunk-3NUSPFUR.js → chunk-ZFCLKZ42.js} +2 -2
  188. package/dist/{chunk-J3VCCLJE.cjs → chunk-ZIZBSAGX.cjs} +2 -2
  189. package/dist/{chunk-J3VCCLJE.cjs.map → chunk-ZIZBSAGX.cjs.map} +1 -1
  190. package/dist/{chunk-NIGVA42Q.cjs → chunk-ZWV2WEQ5.cjs} +2 -2
  191. package/dist/{chunk-NIGVA42Q.cjs.map → chunk-ZWV2WEQ5.cjs.map} +1 -1
  192. package/dist/components/accordion.cjs +1 -1
  193. package/dist/components/accordion.js +1 -1
  194. package/dist/components/alert-dialog.cjs +1 -1
  195. package/dist/components/alert-dialog.d.cts +1 -1
  196. package/dist/components/alert-dialog.d.ts +1 -1
  197. package/dist/components/alert-dialog.js +1 -1
  198. package/dist/components/alert.cjs +1 -1
  199. package/dist/components/alert.js +1 -1
  200. package/dist/components/avatar.cjs +1 -1
  201. package/dist/components/avatar.js +1 -1
  202. package/dist/components/badge.cjs +1 -1
  203. package/dist/components/badge.cjs.map +1 -1
  204. package/dist/components/badge.js +1 -1
  205. package/dist/components/breadcrumb.cjs +1 -1
  206. package/dist/components/breadcrumb.js +1 -1
  207. package/dist/components/button.cjs +1 -1
  208. package/dist/components/button.js +1 -1
  209. package/dist/components/calendar.cjs +1 -1
  210. package/dist/components/calendar.js +1 -1
  211. package/dist/components/card.cjs +1 -1
  212. package/dist/components/card.js +1 -1
  213. package/dist/components/carousel.cjs +1 -1
  214. package/dist/components/carousel.js +1 -1
  215. package/dist/components/chart.cjs +1 -1
  216. package/dist/components/chart.js +1 -1
  217. package/dist/components/checkbox-cards.cjs +1 -1
  218. package/dist/components/checkbox-cards.js +1 -1
  219. package/dist/components/checkbox-group.cjs +1 -1
  220. package/dist/components/checkbox-group.js +1 -1
  221. package/dist/components/checkbox.cjs +1 -1
  222. package/dist/components/checkbox.js +1 -1
  223. package/dist/components/command.cjs +1 -1
  224. package/dist/components/command.d.cts +1 -1
  225. package/dist/components/command.d.ts +1 -1
  226. package/dist/components/command.js +1 -1
  227. package/dist/components/container.cjs +1 -1
  228. package/dist/components/container.js +1 -1
  229. package/dist/components/context-menu.cjs +1 -1
  230. package/dist/components/context-menu.js +1 -1
  231. package/dist/components/dialog.cjs +1 -1
  232. package/dist/components/dialog.d.cts +1 -1
  233. package/dist/components/dialog.d.ts +1 -1
  234. package/dist/components/dialog.js +1 -1
  235. package/dist/components/drawer.cjs +1 -1
  236. package/dist/components/drawer.d.cts +1 -1
  237. package/dist/components/drawer.d.ts +1 -1
  238. package/dist/components/drawer.js +1 -1
  239. package/dist/components/dropdown-menu.cjs +1 -1
  240. package/dist/components/dropdown-menu.js +1 -1
  241. package/dist/components/form.cjs +1 -1
  242. package/dist/components/form.js +1 -1
  243. package/dist/components/hover-card.cjs +1 -1
  244. package/dist/components/hover-card.js +1 -1
  245. package/dist/components/input-number.cjs +1 -1
  246. package/dist/components/input-number.d.cts +1 -1
  247. package/dist/components/input-number.d.ts +1 -1
  248. package/dist/components/input-number.js +1 -1
  249. package/dist/components/input-otp.cjs +1 -1
  250. package/dist/components/input-otp.js +1 -1
  251. package/dist/components/input-password.cjs +1 -1
  252. package/dist/components/input-password.d.cts +1 -1
  253. package/dist/components/input-password.d.ts +1 -1
  254. package/dist/components/input-password.js +1 -1
  255. package/dist/components/input-search.cjs +1 -1
  256. package/dist/components/input-search.d.cts +1 -1
  257. package/dist/components/input-search.d.ts +1 -1
  258. package/dist/components/input-search.js +1 -1
  259. package/dist/components/input.cjs +1 -1
  260. package/dist/components/input.js +1 -1
  261. package/dist/components/kbd.cjs +1 -1
  262. package/dist/components/kbd.js +1 -1
  263. package/dist/components/label.cjs +1 -1
  264. package/dist/components/label.js +1 -1
  265. package/dist/components/menubar.cjs +1 -1
  266. package/dist/components/menubar.js +1 -1
  267. package/dist/components/navigation-menu.cjs +1 -1
  268. package/dist/components/navigation-menu.js +1 -1
  269. package/dist/components/pagination.cjs +1 -1
  270. package/dist/components/pagination.js +1 -1
  271. package/dist/components/popover.cjs +1 -1
  272. package/dist/components/popover.js +1 -1
  273. package/dist/components/progress-circle.cjs +1 -1
  274. package/dist/components/progress-circle.cjs.map +1 -1
  275. package/dist/components/progress-circle.js +1 -1
  276. package/dist/components/progress.cjs +1 -1
  277. package/dist/components/progress.js +1 -1
  278. package/dist/components/radio-cards.cjs +1 -1
  279. package/dist/components/radio-cards.js +1 -1
  280. package/dist/components/radio-group.cjs +1 -1
  281. package/dist/components/radio-group.js +1 -1
  282. package/dist/components/radio.cjs +1 -1
  283. package/dist/components/radio.js +1 -1
  284. package/dist/components/resizable.cjs +1 -1
  285. package/dist/components/resizable.js +1 -1
  286. package/dist/components/scroll-area.cjs +1 -1
  287. package/dist/components/scroll-area.js +1 -1
  288. package/dist/components/select.cjs +1 -1
  289. package/dist/components/select.d.cts +1 -1
  290. package/dist/components/select.d.ts +1 -1
  291. package/dist/components/select.js +1 -1
  292. package/dist/components/separator.cjs +1 -1
  293. package/dist/components/separator.js +1 -1
  294. package/dist/components/sheet.cjs +1 -1
  295. package/dist/components/sheet.js +1 -1
  296. package/dist/components/sidebar.cjs +1 -1
  297. package/dist/components/sidebar.js +1 -1
  298. package/dist/components/skeleton.cjs +1 -1
  299. package/dist/components/skeleton.js +1 -1
  300. package/dist/components/slider.cjs +1 -1
  301. package/dist/components/slider.js +1 -1
  302. package/dist/components/sonner.cjs +1 -1
  303. package/dist/components/sonner.cjs.map +1 -1
  304. package/dist/components/sonner.d.cts +1 -1
  305. package/dist/components/sonner.d.ts +1 -1
  306. package/dist/components/sonner.js +1 -1
  307. package/dist/components/spinner.cjs +1 -1
  308. package/dist/components/spinner.js +1 -1
  309. package/dist/components/switch.cjs +1 -1
  310. package/dist/components/switch.js +1 -1
  311. package/dist/components/table.cjs +1 -1
  312. package/dist/components/table.js +1 -1
  313. package/dist/components/tabs.cjs +1 -1
  314. package/dist/components/tabs.js +1 -1
  315. package/dist/components/textarea.cjs +1 -1
  316. package/dist/components/textarea.js +1 -1
  317. package/dist/components/toggle-group.cjs +1 -1
  318. package/dist/components/toggle-group.d.cts +1 -1
  319. package/dist/components/toggle-group.d.ts +1 -1
  320. package/dist/components/toggle-group.js +1 -1
  321. package/dist/components/toggle.cjs +1 -1
  322. package/dist/components/toggle.cjs.map +1 -1
  323. package/dist/components/toggle.js +1 -1
  324. package/dist/components/tooltip.cjs +1 -1
  325. package/dist/components/tooltip.js +1 -1
  326. package/dist/index.cjs +1 -1
  327. package/dist/index.cjs.map +1 -1
  328. package/dist/index.d.cts +2 -4
  329. package/dist/index.d.ts +2 -4
  330. package/dist/index.js +1 -1
  331. package/dist/lib/utils.cjs +1 -1
  332. package/dist/lib/utils.cjs.map +1 -1
  333. package/dist/lib/utils.d.cts +1 -0
  334. package/dist/lib/utils.d.ts +1 -0
  335. package/dist/lib/utils.js +1 -1
  336. package/package.json +14 -15
  337. package/dist/chunk-2ONIOLJQ.js.map +0 -1
  338. package/dist/chunk-3AEEOFHT.js +0 -2
  339. package/dist/chunk-3AEEOFHT.js.map +0 -1
  340. package/dist/chunk-3QNA5W7W.js +0 -2
  341. package/dist/chunk-3QNA5W7W.js.map +0 -1
  342. package/dist/chunk-3R2TIION.js +0 -2
  343. package/dist/chunk-3R2TIION.js.map +0 -1
  344. package/dist/chunk-3XKK56VS.cjs +0 -2
  345. package/dist/chunk-3XKK56VS.cjs.map +0 -1
  346. package/dist/chunk-4C3B26NE.js +0 -2
  347. package/dist/chunk-4C3B26NE.js.map +0 -1
  348. package/dist/chunk-4ENRIR3P.js +0 -2
  349. package/dist/chunk-4ENRIR3P.js.map +0 -1
  350. package/dist/chunk-4H4ZNNN4.cjs.map +0 -1
  351. package/dist/chunk-4KX73AQJ.cjs +0 -2
  352. package/dist/chunk-4KX73AQJ.cjs.map +0 -1
  353. package/dist/chunk-4QBKNZJK.cjs +0 -2
  354. package/dist/chunk-4QBKNZJK.cjs.map +0 -1
  355. package/dist/chunk-5J5PZ5RW.cjs.map +0 -1
  356. package/dist/chunk-6SXDMOC6.js +0 -2
  357. package/dist/chunk-6SXDMOC6.js.map +0 -1
  358. package/dist/chunk-75QPTJUO.cjs +0 -2
  359. package/dist/chunk-75QPTJUO.cjs.map +0 -1
  360. package/dist/chunk-77MMVARO.cjs +0 -2
  361. package/dist/chunk-77MMVARO.cjs.map +0 -1
  362. package/dist/chunk-7H66BMH4.cjs.map +0 -1
  363. package/dist/chunk-AOEBEZCM.cjs +0 -2
  364. package/dist/chunk-AOEBEZCM.cjs.map +0 -1
  365. package/dist/chunk-BM46YHNI.cjs +0 -2
  366. package/dist/chunk-BM46YHNI.cjs.map +0 -1
  367. package/dist/chunk-BSU5RNRG.js +0 -2
  368. package/dist/chunk-BSU5RNRG.js.map +0 -1
  369. package/dist/chunk-E3GP3ZDU.js +0 -2
  370. package/dist/chunk-E3GP3ZDU.js.map +0 -1
  371. package/dist/chunk-EBODIPD3.js +0 -2
  372. package/dist/chunk-EBODIPD3.js.map +0 -1
  373. package/dist/chunk-FXESF4F3.js.map +0 -1
  374. package/dist/chunk-HWMTCBJN.js +0 -2
  375. package/dist/chunk-HWMTCBJN.js.map +0 -1
  376. package/dist/chunk-I3R7CYAL.js.map +0 -1
  377. package/dist/chunk-JD762OCB.cjs.map +0 -1
  378. package/dist/chunk-JO7EANFR.js.map +0 -1
  379. package/dist/chunk-KNCCX2RR.js.map +0 -1
  380. package/dist/chunk-KWNBGPPE.js +0 -2
  381. package/dist/chunk-KWNBGPPE.js.map +0 -1
  382. package/dist/chunk-LJTE4MA2.cjs.map +0 -1
  383. package/dist/chunk-M7O3IU4I.js +0 -2
  384. package/dist/chunk-M7O3IU4I.js.map +0 -1
  385. package/dist/chunk-MUU4UWRP.js.map +0 -1
  386. package/dist/chunk-OWHTDN3B.cjs.map +0 -1
  387. package/dist/chunk-R4SOGOXT.cjs +0 -2
  388. package/dist/chunk-R4SOGOXT.cjs.map +0 -1
  389. package/dist/chunk-RGTR4W4L.cjs +0 -2
  390. package/dist/chunk-RGTR4W4L.cjs.map +0 -1
  391. package/dist/chunk-RIYYTPW4.cjs +0 -2
  392. package/dist/chunk-RIYYTPW4.cjs.map +0 -1
  393. package/dist/chunk-S32LYY3O.cjs.map +0 -1
  394. package/dist/chunk-S4YRB53E.js +0 -2
  395. package/dist/chunk-S4YRB53E.js.map +0 -1
  396. package/dist/chunk-SDQKG5LX.js.map +0 -1
  397. package/dist/chunk-UWO435VO.cjs.map +0 -1
  398. package/dist/chunk-VR5WW6X6.js +0 -2
  399. package/dist/chunk-VR5WW6X6.js.map +0 -1
  400. package/dist/chunk-W4M2CMNL.cjs +0 -2
  401. package/dist/chunk-W4M2CMNL.cjs.map +0 -1
  402. package/dist/chunk-WNJFKING.cjs.map +0 -1
  403. package/dist/chunk-YQARPTSR.cjs +0 -2
  404. package/dist/chunk-YQARPTSR.cjs.map +0 -1
  405. package/dist/chunk-YYWPQ4QR.js.map +0 -1
  406. package/dist/chunk-ZG6U2QZG.js +0 -2
  407. package/dist/chunk-ZG6U2QZG.js.map +0 -1
  408. package/dist/chunk-ZKB3PMFS.cjs +0 -2
  409. package/dist/chunk-ZKB3PMFS.cjs.map +0 -1
  410. package/dist/components/data-table.cjs +0 -2
  411. package/dist/components/data-table.cjs.map +0 -1
  412. package/dist/components/data-table.d.cts +0 -15
  413. package/dist/components/data-table.d.ts +0 -15
  414. package/dist/components/data-table.js +0 -2
  415. package/dist/components/data-table.js.map +0 -1
  416. /package/dist/{chunk-KZBQGSMG.js.map → chunk-2HCRY6E2.js.map} +0 -0
  417. /package/dist/{chunk-M2CSPS4G.js.map → chunk-2MLMFMTL.js.map} +0 -0
  418. /package/dist/{chunk-RJCUZWSQ.js.map → chunk-4ND6E3VF.js.map} +0 -0
  419. /package/dist/{chunk-UTP25IOS.js.map → chunk-6BUY6VTE.js.map} +0 -0
  420. /package/dist/{chunk-DX7ZENLD.js.map → chunk-72ZA26UY.js.map} +0 -0
  421. /package/dist/{chunk-5ZGCITOG.js.map → chunk-AQAWRAC7.js.map} +0 -0
  422. /package/dist/{chunk-VGNEJZTI.js.map → chunk-B67B62IG.js.map} +0 -0
  423. /package/dist/{chunk-6S537DLU.js.map → chunk-BLNRPR4J.js.map} +0 -0
  424. /package/dist/{chunk-CB2YNTH2.js.map → chunk-BNC7PACS.js.map} +0 -0
  425. /package/dist/{chunk-OPZLDNA6.js.map → chunk-BWHLGCCN.js.map} +0 -0
  426. /package/dist/{chunk-CXVL5MZT.js.map → chunk-BXTX4INR.js.map} +0 -0
  427. /package/dist/{chunk-YWBLBKF6.js.map → chunk-DVDLKPB6.js.map} +0 -0
  428. /package/dist/{chunk-LBTP74TP.js.map → chunk-ERL3EYDI.js.map} +0 -0
  429. /package/dist/{chunk-H5KHKTXM.js.map → chunk-FBNBJYZZ.js.map} +0 -0
  430. /package/dist/{chunk-K63CIBXO.js.map → chunk-FEDVIVNA.js.map} +0 -0
  431. /package/dist/{chunk-KFOO3BEC.js.map → chunk-IOLF4OUY.js.map} +0 -0
  432. /package/dist/{chunk-7ZBO62H2.js.map → chunk-JOTHREM7.js.map} +0 -0
  433. /package/dist/{chunk-6VLIWII3.js.map → chunk-JR523CUY.js.map} +0 -0
  434. /package/dist/{chunk-HZF7PYFL.js.map → chunk-MAT244FH.js.map} +0 -0
  435. /package/dist/{chunk-Z3CRHOTP.js.map → chunk-MJRNFDCK.js.map} +0 -0
  436. /package/dist/{chunk-ZZLPOTQ2.js.map → chunk-NPHN3UXY.js.map} +0 -0
  437. /package/dist/{chunk-S6SBFTOK.js.map → chunk-P5RLQ6DA.js.map} +0 -0
  438. /package/dist/{chunk-ZD5ZM7S7.js.map → chunk-PDPC6PNC.js.map} +0 -0
  439. /package/dist/{chunk-HRARWB2V.js.map → chunk-RI6OGB2Q.js.map} +0 -0
  440. /package/dist/{chunk-GHZJL33D.js.map → chunk-RPN2CCYJ.js.map} +0 -0
  441. /package/dist/{chunk-LQXNGCYD.js.map → chunk-SU3DRGP4.js.map} +0 -0
  442. /package/dist/{chunk-SNR6C2TD.js.map → chunk-TJITRPMB.js.map} +0 -0
  443. /package/dist/{chunk-MOTXNJBG.js.map → chunk-VKFCX5SL.js.map} +0 -0
  444. /package/dist/{chunk-43LREVQW.js.map → chunk-VR73VX4J.js.map} +0 -0
  445. /package/dist/{chunk-ETZEGAE4.js.map → chunk-W3VK5E4D.js.map} +0 -0
  446. /package/dist/{chunk-BYHI4274.js.map → chunk-WQSI75VD.js.map} +0 -0
  447. /package/dist/{chunk-LCW5IZ6X.js.map → chunk-Y4AIW37G.js.map} +0 -0
  448. /package/dist/{chunk-UU6JKB54.js.map → chunk-Z74MDKTM.js.map} +0 -0
  449. /package/dist/{chunk-3NUSPFUR.js.map → chunk-ZFCLKZ42.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-RPR4QRQK.cjs","../src/components/menubar.tsx"],"names":["Menubar","className","props","jsx","cn","MenubarMenu","MenubarGroup","MenubarSub","MenubarRadioGroup","MenubarTrigger","MenubarSubTrigger","children","inset","jsxs","ChevronRightIcon","MenubarSubContent","MenubarContent","align","alignOffset","sideOffset","MenubarItem","variant","MenubarCheckboxItem","checked","CheckIcon","MenubarRadioItem","DotIcon","MenubarLabel","MenubarSeparator","MenubarShortcut","MenubarArrow"],"mappings":"AAAA,mZAAwC,uGCEN,2CACmB,+CAUjD,SAFKA,CAAAA,CAAQ,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAA8D,CACnG,OACEC,6BAAAA,CAAkB,CAAA,IAAA,CAAjB,CACC,SAAA,CAAWC,iCAAAA,iEAAG,CAAmEH,CAAS,CAAA,CAC1F,WAAA,CAAU,SAAA,CACT,GAAGC,CAAAA,CACN,CAEJ,CAMA,SAASG,CAAAA,CAAY,CAAE,GAAGH,CAAM,CAAA,CAA8D,CAC5F,OAAOC,6BAAAA,CAAkB,CAAA,IAAA,CAAjB,CAAsB,WAAA,CAAU,cAAA,CAAgB,GAAGD,CAAAA,CAAO,CACpE,CAMA,SAASI,CAAAA,CAAa,CAAE,GAAGJ,CAAM,CAAA,CAA+D,CAC9F,OAAOC,6BAAAA,CAAkB,CAAA,KAAA,CAAjB,CAAuB,WAAA,CAAU,eAAA,CAAiB,GAAGD,CAAAA,CAAO,CACtE,CAMA,SAASK,CAAAA,CAAW,CAAE,GAAGL,CAAM,CAAA,CAA6D,CAC1F,OAAOC,6BAAAA,CAAkB,CAAA,GAAA,CAAjB,CAAqB,WAAA,CAAU,aAAA,CAAe,GAAGD,CAAAA,CAAO,CAClE,CAMA,SAASM,CAAAA,CAAkB,CAAE,GAAGN,CAAM,CAAA,CAAoE,CACxG,OAAOC,6BAAAA,CAAkB,CAAA,UAAA,CAAjB,CAA4B,WAAA,CAAU,qBAAA,C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,SAAA,CAAA7B,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAA+D,CACzG,OAAOC,6BAAAA,CAAkB,CAAA,KAAA,CAAjB,CAAuB,SAAA,CAAWC,iCAAAA,cAAG,CAAgBH,CAAS,CAAA,CAAG,WAAA,CAAU,eAAA,CAAiB,GAAGC,CAAAA,CAAO,CAChH,CAAA,+OAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-RPR4QRQK.cjs","sourcesContent":[null,"import type { ComponentProps, JSX } from 'react';\n\nimport * as MenubarPrimitive from '@radix-ui/react-menubar';\nimport { CheckIcon, ChevronRightIcon, DotIcon } from 'lucide-react';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Menubar\n * -------------------------------------------------------------------------- */\n\nfunction Menubar({ className, ...props }: ComponentProps<typeof MenubarPrimitive.Root>): JSX.Element {\n return (\n <MenubarPrimitive.Root\n className={cn('bg-background flex items-center space-x-1 rounded-lg border p-1', className)}\n data-slot=\"menubar\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarMenu\n * -------------------------------------------------------------------------- */\n\nfunction MenubarMenu({ ...props }: ComponentProps<typeof MenubarPrimitive.Menu>): JSX.Element {\n return <MenubarPrimitive.Menu data-slot=\"menubar-menu\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarGroup\n * -------------------------------------------------------------------------- */\n\nfunction MenubarGroup({ ...props }: ComponentProps<typeof MenubarPrimitive.Group>): JSX.Element {\n return <MenubarPrimitive.Group data-slot=\"menubar-group\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSub\n * -------------------------------------------------------------------------- */\n\nfunction MenubarSub({ ...props }: ComponentProps<typeof MenubarPrimitive.Sub>): JSX.Element {\n return <MenubarPrimitive.Sub data-slot=\"menubar-sub\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarRadioGroup\n * -------------------------------------------------------------------------- */\n\nfunction MenubarRadioGroup({ ...props }: ComponentProps<typeof MenubarPrimitive.RadioGroup>): JSX.Element {\n return <MenubarPrimitive.RadioGroup data-slot=\"menubar-radio-group\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarTrigger\n * -------------------------------------------------------------------------- */\n\nfunction MenubarTrigger({ className, ...props }: ComponentProps<typeof MenubarPrimitive.Trigger>): JSX.Element {\n return (\n <MenubarPrimitive.Trigger\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground outline-hidden flex select-none items-center gap-x-2 rounded-sm px-2 py-1.5 text-sm font-medium',\n className,\n )}\n data-slot=\"menubar-trigger\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSubTrigger\n * -------------------------------------------------------------------------- */\n\nfunction MenubarSubTrigger({\n children,\n className,\n inset,\n ...props\n}: ComponentProps<typeof MenubarPrimitive.SubTrigger> & {\n inset?: boolean;\n}): JSX.Element {\n return (\n <MenubarPrimitive.SubTrigger\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground data-inset:pl-8 outline-hidden flex cursor-default select-none items-center gap-x-2 rounded-sm px-2 py-1.5 text-sm',\n className,\n )}\n data-inset={inset}\n data-slot=\"menubar-sub-trigger\"\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ml-auto size-4\" />\n </MenubarPrimitive.SubTrigger>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSubContent\n * -------------------------------------------------------------------------- */\n\nfunction MenubarSubContent({ className, ...props }: ComponentProps<typeof MenubarPrimitive.SubContent>): JSX.Element {\n return (\n <MenubarPrimitive.Portal>\n <MenubarPrimitive.SubContent\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-in-from-bottom-2 data-[state=open]:data-[side=right]:slide-in-from-left-2 data-[state=open]:data-[side=bottom]:slide-in-from-top-2 data-[state=open]:data-[side=left]:slide-in-from-right-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:data-[side=top]:slide-out-to-bottom-2 data-[state=closed]:data-[side=right]:slide-out-to-left-2 data-[state=closed]:data-[side=bottom]:slide-out-to-top-2 data-[state=closed]:data-[side=left]:slide-out-to-right-2 z-50 min-w-32 rounded-lg border p-1 shadow-lg',\n className,\n )}\n data-slot=\"menubar-sub-content\"\n {...props}\n />\n </MenubarPrimitive.Portal>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarContent\n * -------------------------------------------------------------------------- */\n\nfunction MenubarContent({\n align = 'start',\n alignOffset = -4,\n className,\n sideOffset = 4,\n ...props\n}: ComponentProps<typeof MenubarPrimitive.Content>): JSX.Element {\n return (\n <MenubarPrimitive.Portal>\n <MenubarPrimitive.Content\n align={align}\n alignOffset={alignOffset}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-in-from-bottom-2 data-[state=open]:data-[side=right]:slide-in-from-left-2 data-[state=open]:data-[side=bottom]:slide-in-from-top-2 data-[state=open]:data-[side=left]:slide-in-from-right-2 z-50 min-w-32 rounded-lg border p-1 shadow-lg',\n className,\n )}\n data-slot=\"menubar-content\"\n sideOffset={sideOffset}\n {...props}\n />\n </MenubarPrimitive.Portal>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarItem\n * -------------------------------------------------------------------------- */\n\nfunction MenubarItem({\n className,\n inset,\n variant,\n ...props\n}: ComponentProps<typeof MenubarPrimitive.Item> & {\n inset?: boolean;\n variant?: 'default' | 'destructive';\n}): JSX.Element {\n return (\n <MenubarPrimitive.Item\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground data-inset:pl-8 outline-hidden group/menubar-item data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:[&_svg:not([class*='text-'])]:text-destructive/80 [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default select-none items-center gap-x-2 rounded-sm px-2 py-1.5 text-sm aria-disabled:opacity-50 [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0\",\n className,\n )}\n data-inset={inset}\n data-slot=\"menubar-item\"\n data-variant={variant}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarCheckboxItem\n * -------------------------------------------------------------------------- */\n\nfunction MenubarCheckboxItem({\n checked,\n children,\n className,\n ...props\n}: ComponentProps<typeof MenubarPrimitive.CheckboxItem>): JSX.Element {\n return (\n <MenubarPrimitive.CheckboxItem\n checked={checked}\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground outline-hidden group/menubar-item relative flex cursor-default select-none items-center gap-x-2 rounded-sm py-1.5 pl-8 pr-2 text-sm aria-disabled:opacity-50 [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0\",\n className,\n )}\n data-slot=\"menubar-checkbox-item\"\n {...props}\n >\n <span className=\"absolute left-2 flex items-center justify-center\">\n <MenubarPrimitive.ItemIndicator>\n <CheckIcon className=\"size-4\" />\n </MenubarPrimitive.ItemIndicator>\n </span>\n {children}\n </MenubarPrimitive.CheckboxItem>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarRadioItem\n * -------------------------------------------------------------------------- */\n\nfunction MenubarRadioItem({\n children,\n className,\n ...props\n}: ComponentProps<typeof MenubarPrimitive.RadioItem>): JSX.Element {\n return (\n <MenubarPrimitive.RadioItem\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground outline-hidden group/menubar-item relative flex cursor-default select-none items-center gap-x-2 rounded-sm py-1.5 pl-8 pr-2 text-sm aria-disabled:opacity-50 [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0\",\n className,\n )}\n data-slot=\"menubar-radio-item\"\n {...props}\n >\n <span className=\"absolute left-2 flex items-center justify-center\">\n <MenubarPrimitive.ItemIndicator>\n <DotIcon className=\"size-4 fill-current\" />\n </MenubarPrimitive.ItemIndicator>\n </span>\n {children}\n </MenubarPrimitive.RadioItem>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarLabel\n * -------------------------------------------------------------------------- */\n\nfunction MenubarLabel({\n className,\n inset,\n ...props\n}: ComponentProps<typeof MenubarPrimitive.Label> & {\n inset?: boolean;\n}): JSX.Element {\n return (\n <MenubarPrimitive.Label\n className={cn('data-inset:pl-8 flex items-center gap-x-2 px-2 py-1.5 text-sm font-semibold', className)}\n data-inset={inset}\n data-slot=\"menubar-label\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSeparator\n * -------------------------------------------------------------------------- */\n\nfunction MenubarSeparator({ className, ...props }: ComponentProps<typeof MenubarPrimitive.Separator>): JSX.Element {\n return (\n <MenubarPrimitive.Separator\n className={cn('bg-border mx-2 my-1 h-px', className)}\n data-slot=\"menubar-separator\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarShortcut\n * -------------------------------------------------------------------------- */\n\nfunction MenubarShortcut({ className, ...props }: ComponentProps<'span'>): JSX.Element {\n return (\n <span\n className={cn(\n 'text-muted-foreground group-data-[variant=destructive]/menubar-item:text-destructive/80 ml-auto text-xs tracking-widest',\n className,\n )}\n data-slot=\"menubar-shortcut\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarArrow\n * -------------------------------------------------------------------------- */\n\nfunction MenubarArrow({ className, ...props }: ComponentProps<typeof MenubarPrimitive.Arrow>): JSX.Element {\n return <MenubarPrimitive.Arrow className={cn('fill-popover', className)} data-slot=\"menubar-arrow\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Menubar,\n MenubarArrow,\n MenubarCheckboxItem,\n MenubarContent,\n MenubarGroup,\n MenubarItem,\n MenubarLabel,\n MenubarMenu,\n MenubarRadioGroup,\n MenubarRadioItem,\n MenubarSeparator,\n MenubarShortcut,\n MenubarSub,\n MenubarSubContent,\n MenubarSubTrigger,\n MenubarTrigger,\n};\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-PSBYBUXU.cjs","../src/components/menubar.tsx"],"names":["Menubar","className","props","jsx","cn","MenubarMenu","MenubarGroup","MenubarSub","MenubarRadioGroup","MenubarTrigger","MenubarSubTrigger","children","inset","jsxs","ChevronRightIcon","MenubarSubContent","MenubarContent","align","alignOffset","sideOffset","MenubarItem","variant","MenubarCheckboxItem","checked","CheckIcon","MenubarRadioItem","DotIcon","MenubarLabel","MenubarSeparator","MenubarShortcut","MenubarArrow"],"mappings":"AAAA,mZAAwC,uGCEN,2CACmB,+CAUjD,SAFKA,CAAAA,CAAQ,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAA8D,CACnG,OACEC,6BAAAA,CAAkB,CAAA,IAAA,CAAjB,CACC,SAAA,CAAWC,iCAAAA,iEAAG,CAAmEH,CAAS,CAAA,CAC1F,WAAA,CAAU,SAAA,CACT,GAAGC,CAAAA,CACN,CAEJ,CAMA,SAASG,CAAAA,CAAY,CAAE,GAAGH,CAAM,CAAA,CAA8D,CAC5F,OAAOC,6BAAAA,CAAkB,CAAA,IAAA,CAAjB,CAAsB,WAAA,CAAU,cAAA,CAAgB,GAAGD,CAAAA,CAAO,CACpE,CAMA,SAASI,CAAAA,CAAa,CAAE,GAAGJ,CAAM,CAAA,CAA+D,CAC9F,OAAOC,6BAAAA,CAAkB,CAAA,KAAA,CAAjB,CAAuB,WAAA,CAAU,eAAA,CAAiB,GAAGD,CAAAA,CAAO,CACtE,CAMA,SAASK,CAAAA,CAAW,CAAE,GAAGL,CAAM,CAAA,CAA6D,CAC1F,OAAOC,6BAAAA,CAAkB,CAAA,GA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,CAAW,GAAGC,CAAM,CAAA,CAAwC,CACrF,OACEC,6BAAAA,MAAC,CAAA,CACC,SAAA,CAAWC,iCAAAA,yHACT,CACAH,CACF,CAAA,CACA,WAAA,CAAU,kBAAA,CACT,GAAGC,CAAAA,CACN,CAEJ,CAMA,SAAS4B,CAAAA,CAAa,CAAE,SAAA,CAAA7B,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAA+D,CACzG,OAAOC,6BAAAA,CAAkB,CAAA,KAAA,CAAjB,CAAuB,SAAA,CAAWC,iCAAAA,cAAG,CAAgBH,CAAS,CAAA,CAAG,WAAA,CAAU,eAAA,CAAiB,GAAGC,CAAAA,CAAO,CAChH,CAAA,+OAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-PSBYBUXU.cjs","sourcesContent":[null,"import type { ComponentProps, JSX } from 'react';\n\nimport * as MenubarPrimitive from '@radix-ui/react-menubar';\nimport { CheckIcon, ChevronRightIcon, DotIcon } from 'lucide-react';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Menubar\n * -------------------------------------------------------------------------- */\n\nfunction Menubar({ className, ...props }: ComponentProps<typeof MenubarPrimitive.Root>): JSX.Element {\n return (\n <MenubarPrimitive.Root\n className={cn('bg-background flex items-center space-x-1 rounded-lg border p-1', className)}\n data-slot=\"menubar\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarMenu\n * -------------------------------------------------------------------------- */\n\nfunction MenubarMenu({ ...props }: ComponentProps<typeof MenubarPrimitive.Menu>): JSX.Element {\n return <MenubarPrimitive.Menu data-slot=\"menubar-menu\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarGroup\n * -------------------------------------------------------------------------- */\n\nfunction MenubarGroup({ ...props }: ComponentProps<typeof MenubarPrimitive.Group>): JSX.Element {\n return <MenubarPrimitive.Group data-slot=\"menubar-group\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSub\n * -------------------------------------------------------------------------- */\n\nfunction MenubarSub({ ...props }: ComponentProps<typeof MenubarPrimitive.Sub>): JSX.Element {\n return <MenubarPrimitive.Sub data-slot=\"menubar-sub\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarRadioGroup\n * -------------------------------------------------------------------------- */\n\nfunction MenubarRadioGroup({ ...props }: ComponentProps<typeof MenubarPrimitive.RadioGroup>): JSX.Element {\n return <MenubarPrimitive.RadioGroup data-slot=\"menubar-radio-group\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarTrigger\n * -------------------------------------------------------------------------- */\n\nfunction MenubarTrigger({ className, ...props }: ComponentProps<typeof MenubarPrimitive.Trigger>): JSX.Element {\n return (\n <MenubarPrimitive.Trigger\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground outline-hidden flex select-none items-center gap-x-2 rounded-sm px-2 py-1.5 text-sm font-medium',\n className,\n )}\n data-slot=\"menubar-trigger\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSubTrigger\n * -------------------------------------------------------------------------- */\n\nfunction MenubarSubTrigger({\n children,\n className,\n inset,\n ...props\n}: ComponentProps<typeof MenubarPrimitive.SubTrigger> & {\n inset?: boolean;\n}): JSX.Element {\n return (\n <MenubarPrimitive.SubTrigger\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground data-inset:pl-8 outline-hidden flex cursor-default select-none items-center gap-x-2 rounded-sm px-2 py-1.5 text-sm',\n className,\n )}\n data-inset={inset}\n data-slot=\"menubar-sub-trigger\"\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ml-auto size-4\" />\n </MenubarPrimitive.SubTrigger>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSubContent\n * -------------------------------------------------------------------------- */\n\nfunction MenubarSubContent({ className, ...props }: ComponentProps<typeof MenubarPrimitive.SubContent>): JSX.Element {\n return (\n <MenubarPrimitive.Portal>\n <MenubarPrimitive.SubContent\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-in-from-bottom-2 data-[state=open]:data-[side=right]:slide-in-from-left-2 data-[state=open]:data-[side=bottom]:slide-in-from-top-2 data-[state=open]:data-[side=left]:slide-in-from-right-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:data-[side=top]:slide-out-to-bottom-2 data-[state=closed]:data-[side=right]:slide-out-to-left-2 data-[state=closed]:data-[side=bottom]:slide-out-to-top-2 data-[state=closed]:data-[side=left]:slide-out-to-right-2 z-50 min-w-32 rounded-lg border p-1 shadow-lg',\n className,\n )}\n data-slot=\"menubar-sub-content\"\n {...props}\n />\n </MenubarPrimitive.Portal>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarContent\n * -------------------------------------------------------------------------- */\n\nfunction MenubarContent({\n align = 'start',\n alignOffset = -4,\n className,\n sideOffset = 4,\n ...props\n}: ComponentProps<typeof MenubarPrimitive.Content>): JSX.Element {\n return (\n <MenubarPrimitive.Portal>\n <MenubarPrimitive.Content\n align={align}\n alignOffset={alignOffset}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:data-[side=top]:slide-in-from-bottom-2 data-[state=open]:data-[side=right]:slide-in-from-left-2 data-[state=open]:data-[side=bottom]:slide-in-from-top-2 data-[state=open]:data-[side=left]:slide-in-from-right-2 z-50 min-w-32 rounded-lg border p-1 shadow-lg',\n className,\n )}\n data-slot=\"menubar-content\"\n sideOffset={sideOffset}\n {...props}\n />\n </MenubarPrimitive.Portal>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarItem\n * -------------------------------------------------------------------------- */\n\nfunction MenubarItem({\n className,\n inset,\n variant,\n ...props\n}: ComponentProps<typeof MenubarPrimitive.Item> & {\n inset?: boolean;\n variant?: 'default' | 'destructive';\n}): JSX.Element {\n return (\n <MenubarPrimitive.Item\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground data-inset:pl-8 outline-hidden group/menubar-item data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:[&_svg:not([class*='text-'])]:text-destructive/80 [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default select-none items-center gap-x-2 rounded-sm px-2 py-1.5 text-sm aria-disabled:opacity-50 [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0\",\n className,\n )}\n data-inset={inset}\n data-slot=\"menubar-item\"\n data-variant={variant}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarCheckboxItem\n * -------------------------------------------------------------------------- */\n\nfunction MenubarCheckboxItem({\n checked,\n children,\n className,\n ...props\n}: ComponentProps<typeof MenubarPrimitive.CheckboxItem>): JSX.Element {\n return (\n <MenubarPrimitive.CheckboxItem\n checked={checked}\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground outline-hidden group/menubar-item relative flex cursor-default select-none items-center gap-x-2 rounded-sm py-1.5 pl-8 pr-2 text-sm aria-disabled:opacity-50 [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0\",\n className,\n )}\n data-slot=\"menubar-checkbox-item\"\n {...props}\n >\n <span className=\"absolute left-2 flex items-center justify-center\">\n <MenubarPrimitive.ItemIndicator>\n <CheckIcon className=\"size-4\" />\n </MenubarPrimitive.ItemIndicator>\n </span>\n {children}\n </MenubarPrimitive.CheckboxItem>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarRadioItem\n * -------------------------------------------------------------------------- */\n\nfunction MenubarRadioItem({\n children,\n className,\n ...props\n}: ComponentProps<typeof MenubarPrimitive.RadioItem>): JSX.Element {\n return (\n <MenubarPrimitive.RadioItem\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground outline-hidden group/menubar-item relative flex cursor-default select-none items-center gap-x-2 rounded-sm py-1.5 pl-8 pr-2 text-sm aria-disabled:opacity-50 [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0\",\n className,\n )}\n data-slot=\"menubar-radio-item\"\n {...props}\n >\n <span className=\"absolute left-2 flex items-center justify-center\">\n <MenubarPrimitive.ItemIndicator>\n <DotIcon className=\"size-4 fill-current\" />\n </MenubarPrimitive.ItemIndicator>\n </span>\n {children}\n </MenubarPrimitive.RadioItem>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarLabel\n * -------------------------------------------------------------------------- */\n\nfunction MenubarLabel({\n className,\n inset,\n ...props\n}: ComponentProps<typeof MenubarPrimitive.Label> & {\n inset?: boolean;\n}): JSX.Element {\n return (\n <MenubarPrimitive.Label\n className={cn('data-inset:pl-8 flex items-center gap-x-2 px-2 py-1.5 text-sm font-semibold', className)}\n data-inset={inset}\n data-slot=\"menubar-label\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSeparator\n * -------------------------------------------------------------------------- */\n\nfunction MenubarSeparator({ className, ...props }: ComponentProps<typeof MenubarPrimitive.Separator>): JSX.Element {\n return (\n <MenubarPrimitive.Separator\n className={cn('bg-border mx-2 my-1 h-px', className)}\n data-slot=\"menubar-separator\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarShortcut\n * -------------------------------------------------------------------------- */\n\nfunction MenubarShortcut({ className, ...props }: ComponentProps<'span'>): JSX.Element {\n return (\n <span\n className={cn(\n 'text-muted-foreground group-data-[variant=destructive]/menubar-item:text-destructive/80 ml-auto text-xs tracking-widest',\n className,\n )}\n data-slot=\"menubar-shortcut\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarArrow\n * -------------------------------------------------------------------------- */\n\nfunction MenubarArrow({ className, ...props }: ComponentProps<typeof MenubarPrimitive.Arrow>): JSX.Element {\n return <MenubarPrimitive.Arrow className={cn('fill-popover', className)} data-slot=\"menubar-arrow\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Menubar,\n MenubarArrow,\n MenubarCheckboxItem,\n MenubarContent,\n MenubarGroup,\n MenubarItem,\n MenubarLabel,\n MenubarMenu,\n MenubarRadioGroup,\n MenubarRadioItem,\n MenubarSeparator,\n MenubarShortcut,\n MenubarSub,\n MenubarSubContent,\n MenubarSubTrigger,\n MenubarTrigger,\n};\n"]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunk4QBKNZJKcjs = require('./chunk-4QBKNZJK.cjs');var _reacttooltip = require('@radix-ui/react-tooltip'); var t = _interopRequireWildcard(_reacttooltip);var _jsxruntime = require('react/jsx-runtime');function s({...o}){return _jsxruntime.jsx.call(void 0, t.Provider,{"data-slot":"tooltip-provider",...o})}function m({...o}){return _jsxruntime.jsx.call(void 0, t.Root,{"data-slot":"tooltip",...o})}function f({...o}){return _jsxruntime.jsx.call(void 0, t.Trigger,{"data-slot":"tooltip-trigger",...o})}function P({className:o,children:i,sideOffset:r=4,...d}){return _jsxruntime.jsx.call(void 0, t.Portal,{children:_jsxruntime.jsxs.call(void 0, t.Content,{className:_chunk4QBKNZJKcjs.a.call(void 0, "bg-primary text-primary-foreground data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-[state=delayed-open]:data-[side=top]:slide-in-from-bottom-2 data-[state=delayed-open]:data-[side=right]:slide-in-from-left-2 data-[state=delayed-open]:data-[side=bottom]:slide-in-from-top-2 data-[state=delayed-open]:data-[side=left]:slide-in-from-right-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:data-[side=top]:slide-out-to-bottom-2 data-[state=closed]:data-[side=right]:slide-out-to-left-2 data-[state=closed]:data-[side=bottom]:slide-out-to-top-2 data-[state=closed]:data-[side=left]:slide-out-to-right-2 z-50 rounded-md px-3 py-1.5 text-xs","max-w-(--radix-tooltip-content-available-width)",o),collisionPadding:8,"data-slot":"tooltip-content",sideOffset:r,...d,children:[i,_jsxruntime.jsx.call(void 0, l,{})]})})}function l({className:o,...i}){return _jsxruntime.jsx.call(void 0, t.Arrow,{className:_chunk4QBKNZJKcjs.a.call(void 0, "fill-primary",o),"data-slot":"tooltip-arrow",...i})}exports.a = s; exports.b = m; exports.c = f; exports.d = P;
2
- //# sourceMappingURL=chunk-XMUIAC76.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkDUQZVKJKcjs = require('./chunk-DUQZVKJK.cjs');var _reacttooltip = require('@radix-ui/react-tooltip'); var t = _interopRequireWildcard(_reacttooltip);var _jsxruntime = require('react/jsx-runtime');function s({...o}){return _jsxruntime.jsx.call(void 0, t.Provider,{"data-slot":"tooltip-provider",...o})}function m({...o}){return _jsxruntime.jsx.call(void 0, t.Root,{"data-slot":"tooltip",...o})}function f({...o}){return _jsxruntime.jsx.call(void 0, t.Trigger,{"data-slot":"tooltip-trigger",...o})}function P({className:o,children:i,sideOffset:r=4,...d}){return _jsxruntime.jsx.call(void 0, t.Portal,{children:_jsxruntime.jsxs.call(void 0, t.Content,{className:_chunkDUQZVKJKcjs.a.call(void 0, "bg-primary text-primary-foreground data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-[state=delayed-open]:data-[side=top]:slide-in-from-bottom-2 data-[state=delayed-open]:data-[side=right]:slide-in-from-left-2 data-[state=delayed-open]:data-[side=bottom]:slide-in-from-top-2 data-[state=delayed-open]:data-[side=left]:slide-in-from-right-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:data-[side=top]:slide-out-to-bottom-2 data-[state=closed]:data-[side=right]:slide-out-to-left-2 data-[state=closed]:data-[side=bottom]:slide-out-to-top-2 data-[state=closed]:data-[side=left]:slide-out-to-right-2 z-50 rounded-md px-3 py-1.5 text-xs","max-w-(--radix-tooltip-content-available-width)",o),collisionPadding:8,"data-slot":"tooltip-content",sideOffset:r,...d,children:[i,_jsxruntime.jsx.call(void 0, l,{})]})})}function l({className:o,...i}){return _jsxruntime.jsx.call(void 0, t.Arrow,{className:_chunkDUQZVKJKcjs.a.call(void 0, "fill-primary",o),"data-slot":"tooltip-arrow",...i})}exports.a = s; exports.b = m; exports.c = f; exports.d = P;
2
+ //# sourceMappingURL=chunk-PWRGYBD4.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-XMUIAC76.cjs","../src/components/tooltip.tsx"],"names":["TooltipProvider","props","jsx","Tooltip","TooltipTrigger","TooltipContent","className","children","sideOffset","jsxs","cn","TooltipArrow"],"mappings":"AAAA,mZAAmC,uGCED,+CASzB,SADAA,CAAAA,CAAgB,CAAE,GAAGC,CAAM,CAAA,CAAkE,CACpG,OAAOC,6BAAAA,CAAkB,CAAA,QAAA,CAAjB,CAA0B,WAAA,CAAU,kBAAA,CAAoB,GAAGD,CAAAA,CAAO,CAC5E,CAMA,SAASE,CAAAA,CAAQ,CAAE,GAAGF,CAAM,CAAA,CAA8D,CACxF,OAAOC,6BAAAA,CAAkB,CAAA,IAAA,CAAjB,CAAsB,WAAA,CAAU,SAAA,CAAW,GAAGD,CAAAA,CAAO,CAC/D,CAMA,SAASG,CAAAA,CAAe,CAAE,GAAGH,CAAM,CAAA,CAAiE,CAClG,OAAOC,6BAAAA,CAAkB,CAAA,OAAA,CAAjB,CAAyB,WAAA,CAAU,iBAAA,CAAmB,GAAGD,CAAAA,CAAO,CAC1E,CAMA,SAASI,CAAAA,CAAe,CACtB,SAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CAAa,CAAA,CACb,GAAGP,CACL,CAAA,CAAiE,CAC/D,OACEC,6BAAAA,CAAkB,CAAA,MAAA,CAAjB,CACC,QAAA,CAAAO,8BAAAA,CAAkB,CAAA,OAAA,CAAjB,CACC,SAAA,CAAWC,iCAAAA,iwBACT,CACA,iDAAA,CACAJ,CACF,CAAA,CACA,gBAAA,CAAkB,CAAA,CAClB,WAAA,CAAU,iBAAA,CACV,UAAA,CAAYE,CAAAA,CACX,GAAGP,CAAAA,CAEH,QAAA,CAAA,CAAAM,CAAAA,CACDL,6BAAAA,CAACS,CAAA,CAAA,CAAa,CAAA,CAAA,CAChB,CAAA,CACF,CAEJ,CAMA,SAASA,CAAAA,CAAa,CAAE,SAAA,CAAAL,CAAAA,CAAW,GAAGL,CAAM,CAAA,CAA+D,CACzG,OAAOC,6BAAAA,CAAkB,CAAA,KAAA,CAAjB,CAAuB,SAAA,CAAWQ,iCAAAA,cAAG,CAAgBJ,CAAS,CAAA,CAAG,WAAA,CAAU,eAAA,CAAiB,GAAGL,CAAAA,CAAO,CAChH,CAAA,2DAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-XMUIAC76.cjs","sourcesContent":[null,"import type { ComponentProps, JSX } from 'react';\n\nimport * as TooltipPrimitive from '@radix-ui/react-tooltip';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: TooltipProvider\n * -------------------------------------------------------------------------- */\n\nfunction TooltipProvider({ ...props }: ComponentProps<typeof TooltipPrimitive.Provider>): JSX.Element {\n return <TooltipPrimitive.Provider data-slot=\"tooltip-provider\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: Tooltip\n * -------------------------------------------------------------------------- */\n\nfunction Tooltip({ ...props }: ComponentProps<typeof TooltipPrimitive.Root>): JSX.Element {\n return <TooltipPrimitive.Root data-slot=\"tooltip\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: TooltipTrigger\n * -------------------------------------------------------------------------- */\n\nfunction TooltipTrigger({ ...props }: ComponentProps<typeof TooltipPrimitive.Trigger>): JSX.Element {\n return <TooltipPrimitive.Trigger data-slot=\"tooltip-trigger\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: TooltipContent\n * -------------------------------------------------------------------------- */\n\nfunction TooltipContent({\n className,\n children,\n sideOffset = 4,\n ...props\n}: ComponentProps<typeof TooltipPrimitive.Content>): JSX.Element {\n return (\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content\n className={cn(\n 'bg-primary text-primary-foreground data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-[state=delayed-open]:data-[side=top]:slide-in-from-bottom-2 data-[state=delayed-open]:data-[side=right]:slide-in-from-left-2 data-[state=delayed-open]:data-[side=bottom]:slide-in-from-top-2 data-[state=delayed-open]:data-[side=left]:slide-in-from-right-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:data-[side=top]:slide-out-to-bottom-2 data-[state=closed]:data-[side=right]:slide-out-to-left-2 data-[state=closed]:data-[side=bottom]:slide-out-to-top-2 data-[state=closed]:data-[side=left]:slide-out-to-right-2 z-50 rounded-md px-3 py-1.5 text-xs',\n 'max-w-(--radix-tooltip-content-available-width)',\n className,\n )}\n collisionPadding={8}\n data-slot=\"tooltip-content\"\n sideOffset={sideOffset}\n {...props}\n >\n {children}\n <TooltipArrow />\n </TooltipPrimitive.Content>\n </TooltipPrimitive.Portal>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: TooltipArrow\n * -------------------------------------------------------------------------- */\n\nfunction TooltipArrow({ className, ...props }: ComponentProps<typeof TooltipPrimitive.Arrow>): JSX.Element {\n return <TooltipPrimitive.Arrow className={cn('fill-primary', className)} data-slot=\"tooltip-arrow\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-PWRGYBD4.cjs","../src/components/tooltip.tsx"],"names":["TooltipProvider","props","jsx","Tooltip","TooltipTrigger","TooltipContent","className","children","sideOffset","jsxs","cn","TooltipArrow"],"mappings":"AAAA,mZAAmC,uGCED,+CASzB,SADAA,CAAAA,CAAgB,CAAE,GAAGC,CAAM,CAAA,CAAkE,CACpG,OAAOC,6BAAAA,CAAkB,CAAA,QAAA,CAAjB,CAA0B,WAAA,CAAU,kBAAA,CAAoB,GAAGD,CAAAA,CAAO,CAC5E,CAMA,SAASE,CAAAA,CAAQ,CAAE,GAAGF,CAAM,CAAA,CAA8D,CACxF,OAAOC,6BAAAA,CAAkB,CAAA,IAAA,CAAjB,CAAsB,WAAA,CAAU,SAAA,CAAW,GAAGD,CAAAA,CAAO,CAC/D,CAMA,SAASG,CAAAA,CAAe,CAAE,GAAGH,CAAM,CAAA,CAAiE,CAClG,OAAOC,6BAAAA,CAAkB,CAAA,OAAA,CAAjB,CAAyB,WAAA,CAAU,iBAAA,CAAmB,GAAGD,CAAAA,CAAO,CAC1E,CAMA,SAASI,CAAAA,CAAe,CACtB,SAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,UAAA,CAAAC,CAAAA,CAAa,CAAA,CACb,GAAGP,CACL,CAAA,CAAiE,CAC/D,OACEC,6BAAAA,CAAkB,CAAA,MAAA,CAAjB,CACC,QAAA,CAAAO,8BAAAA,CAAkB,CAAA,OAAA,CAAjB,CACC,SAAA,CAAWC,iCAAAA,iwBACT,CACA,iDAAA,CACAJ,CACF,CAAA,CACA,gBAAA,CAAkB,CAAA,CAClB,WAAA,CAAU,iBAAA,CACV,UAAA,CAAYE,CAAAA,CACX,GAAGP,CAAAA,CAEH,QAAA,CAAA,CAAAM,CAAAA,CACDL,6BAAAA,CAACS,CAAA,CAAA,CAAa,CAAA,CAAA,CAChB,CAAA,CACF,CAEJ,CAMA,SAASA,CAAAA,CAAa,CAAE,SAAA,CAAAL,CAAAA,CAAW,GAAGL,CAAM,CAAA,CAA+D,CACzG,OAAOC,6BAAAA,CAAkB,CAAA,KAAA,CAAjB,CAAuB,SAAA,CAAWQ,iCAAAA,cAAG,CAAgBJ,CAAS,CAAA,CAAG,WAAA,CAAU,eAAA,CAAiB,GAAGL,CAAAA,CAAO,CAChH,CAAA,2DAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-PWRGYBD4.cjs","sourcesContent":[null,"import type { ComponentProps, JSX } from 'react';\n\nimport * as TooltipPrimitive from '@radix-ui/react-tooltip';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: TooltipProvider\n * -------------------------------------------------------------------------- */\n\nfunction TooltipProvider({ ...props }: ComponentProps<typeof TooltipPrimitive.Provider>): JSX.Element {\n return <TooltipPrimitive.Provider data-slot=\"tooltip-provider\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: Tooltip\n * -------------------------------------------------------------------------- */\n\nfunction Tooltip({ ...props }: ComponentProps<typeof TooltipPrimitive.Root>): JSX.Element {\n return <TooltipPrimitive.Root data-slot=\"tooltip\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: TooltipTrigger\n * -------------------------------------------------------------------------- */\n\nfunction TooltipTrigger({ ...props }: ComponentProps<typeof TooltipPrimitive.Trigger>): JSX.Element {\n return <TooltipPrimitive.Trigger data-slot=\"tooltip-trigger\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: TooltipContent\n * -------------------------------------------------------------------------- */\n\nfunction TooltipContent({\n className,\n children,\n sideOffset = 4,\n ...props\n}: ComponentProps<typeof TooltipPrimitive.Content>): JSX.Element {\n return (\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content\n className={cn(\n 'bg-primary text-primary-foreground data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-[state=delayed-open]:data-[side=top]:slide-in-from-bottom-2 data-[state=delayed-open]:data-[side=right]:slide-in-from-left-2 data-[state=delayed-open]:data-[side=bottom]:slide-in-from-top-2 data-[state=delayed-open]:data-[side=left]:slide-in-from-right-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:data-[side=top]:slide-out-to-bottom-2 data-[state=closed]:data-[side=right]:slide-out-to-left-2 data-[state=closed]:data-[side=bottom]:slide-out-to-top-2 data-[state=closed]:data-[side=left]:slide-out-to-right-2 z-50 rounded-md px-3 py-1.5 text-xs',\n 'max-w-(--radix-tooltip-content-available-width)',\n className,\n )}\n collisionPadding={8}\n data-slot=\"tooltip-content\"\n sideOffset={sideOffset}\n {...props}\n >\n {children}\n <TooltipArrow />\n </TooltipPrimitive.Content>\n </TooltipPrimitive.Portal>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: TooltipArrow\n * -------------------------------------------------------------------------- */\n\nfunction TooltipArrow({ className, ...props }: ComponentProps<typeof TooltipPrimitive.Arrow>): JSX.Element {\n return <TooltipPrimitive.Arrow className={cn('fill-primary', className)} data-slot=\"tooltip-arrow\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };\n"]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkRIYYTPW4cjs = require('./chunk-RIYYTPW4.cjs');var _chunk4QBKNZJKcjs = require('./chunk-4QBKNZJK.cjs');var _lucidereact = require('lucide-react');var _jsxruntime = require('react/jsx-runtime');function d({className:n,...t}){return _jsxruntime.jsx.call(void 0, "nav",{"aria-label":"pagination",className:_chunk4QBKNZJKcjs.a.call(void 0, "mx-auto flex w-full justify-center",n),"data-slot":"pagination",role:"navigation",...t})}function v({className:n,...t}){return _jsxruntime.jsx.call(void 0, "ul",{className:_chunk4QBKNZJKcjs.a.call(void 0, "flex flex-row items-center gap-1",n),"data-slot":"pagination-content",...t})}function C(n){return _jsxruntime.jsx.call(void 0, "li",{"data-slot":"pagination-item",...n})}function r({children:n,className:t,isActive:e,size:p="icon",...l}){return _jsxruntime.jsx.call(void 0, "a",{"aria-current":e?"page":void 0,className:_chunkRIYYTPW4cjs.a.call(void 0, {className:t,size:p,variant:e?"outline":"ghost"}),"data-slot":"pagination-link",...l,children:n})}function b({...n}){return _jsxruntime.jsxs.call(void 0, r,{"aria-label":"Go to previous page","data-slot":"pagination-previous",size:"md",...n,children:[_jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeftIcon,{className:"size-4"}),_jsxruntime.jsx.call(void 0, "span",{children:"Previous"})]})}function x({...n}){return _jsxruntime.jsxs.call(void 0, r,{"aria-label":"Go to next page","data-slot":"pagination-next",size:"md",...n,children:[_jsxruntime.jsx.call(void 0, "span",{children:"Next"}),_jsxruntime.jsx.call(void 0, _lucidereact.ChevronRightIcon,{})]})}function E({className:n,...t}){return _jsxruntime.jsxs.call(void 0, "span",{"aria-hidden":!0,className:_chunk4QBKNZJKcjs.a.call(void 0, "flex size-10 items-center justify-center",n),"data-slot":"pagination-ellipsis",...t,children:[_jsxruntime.jsx.call(void 0, _lucidereact.EllipsisIcon,{className:"size-4"}),_jsxruntime.jsx.call(void 0, "span",{className:"sr-only",children:"More pages"})]})}exports.a = d; exports.b = v; exports.c = C; exports.d = r; exports.e = b; exports.f = x; exports.g = E;
2
- //# sourceMappingURL=chunk-JD762OCB.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkC4E2SCVXcjs = require('./chunk-C4E2SCVX.cjs');var _chunkDUQZVKJKcjs = require('./chunk-DUQZVKJK.cjs');var _lucidereact = require('lucide-react');var _jsxruntime = require('react/jsx-runtime');function d({className:n,...t}){return _jsxruntime.jsx.call(void 0, "nav",{"aria-label":"pagination",className:_chunkDUQZVKJKcjs.a.call(void 0, "mx-auto flex w-full justify-center",n),"data-slot":"pagination",role:"navigation",...t})}function v({className:n,...t}){return _jsxruntime.jsx.call(void 0, "ul",{className:_chunkDUQZVKJKcjs.a.call(void 0, "flex flex-row items-center gap-1",n),"data-slot":"pagination-content",...t})}function b(n){return _jsxruntime.jsx.call(void 0, "li",{"data-slot":"pagination-item",...n})}function r({children:n,className:t,isActive:e,size:p="icon",...l}){return _jsxruntime.jsx.call(void 0, "a",{"aria-current":e?"page":void 0,className:_chunkC4E2SCVXcjs.a.call(void 0, {className:t,size:p,variant:e?"outline":"ghost"}),"data-slot":"pagination-link",...l,children:n})}function C({...n}){return _jsxruntime.jsxs.call(void 0, r,{"aria-label":"Go to previous page","data-slot":"pagination-previous",size:"md",...n,children:[_jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeftIcon,{className:"size-4"}),_jsxruntime.jsx.call(void 0, "span",{children:"Previous"})]})}function x({...n}){return _jsxruntime.jsxs.call(void 0, r,{"aria-label":"Go to next page","data-slot":"pagination-next",size:"md",...n,children:[_jsxruntime.jsx.call(void 0, "span",{children:"Next"}),_jsxruntime.jsx.call(void 0, _lucidereact.ChevronRightIcon,{})]})}function E({className:n,...t}){return _jsxruntime.jsxs.call(void 0, "span",{"aria-hidden":!0,className:_chunkDUQZVKJKcjs.a.call(void 0, "flex size-10 items-center justify-center",n),"data-slot":"pagination-ellipsis",...t,children:[_jsxruntime.jsx.call(void 0, _lucidereact.EllipsisIcon,{className:"size-4"}),_jsxruntime.jsx.call(void 0, "span",{className:"sr-only",children:"More pages"})]})}exports.a = d; exports.b = v; exports.c = b; exports.d = r; exports.e = C; exports.f = x; exports.g = E;
2
+ //# sourceMappingURL=chunk-Q2EL52C6.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-Q2EL52C6.cjs","../src/components/pagination.tsx"],"names":["Pagination","className","props","jsx","cn","PaginationContent","PaginationItem","PaginationLink","children","isActive","size","buttonVariants","PaginationPrevious","jsxs","ChevronLeftIcon","PaginationNext","ChevronRightIcon","PaginationEllipsis","EllipsisIcon"],"mappings":"AAAA,iIAAwC,wDAAyC,2CCEjB,+CAa5D,SAFKA,CAAAA,CAAW,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAuC,CAC/E,OACEC,6BAAAA,KAAC,CAAA,CACC,YAAA,CAAW,YAAA,CACX,SAAA,CAAWC,iCAAAA,oCAAG,CAAsCH,CAAS,CAAA,CAC7D,WAAA,CAAU,YAAA,CACV,IAAA,CAAK,YAAA,CACJ,GAAGC,CAAAA,CACN,CAEJ,CAMA,SAASG,CAAAA,CAAkB,CAAE,SAAA,CAAAJ,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAsC,CACrF,OAAOC,6BAAAA,IAAC,CAAA,CAAG,SAAA,CAAWC,iCAAAA,kCAAG,CAAoCH,CAAS,CAAA,CAAG,WAAA,CAAU,oBAAA,CAAsB,GAAGC,CAAAA,CAAO,CACrH,CAMA,SAASI,CAAAA,CAAeJ,CAAAA,CAA0C,CAChE,OAAOC,6BAAAA,IAAC,CAAA,CAAG,WAAA,CAAU,iBAAA,CAAmB,GAAGD,CAAAA,CAAO,CACpD,CAMA,SAASK,CAAAA,CAAe,CACtB,QAAA,CAAAC,CAAAA,CACA,SAAA,CAAAP,CAAAA,CACA,QAAA,CAAAQ,CAAAA,CACA,IAAA,CAAAC,CAAAA,CAAO,MAAA,CACP,GAAGR,CACL,CAAA,CAGkB,CAChB,OACEC,6BAAAA,GAAC,CAAA,CACC,cAAA,CAAcM,CAAAA,CAAW,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,CAAA,CAAa,SAAA,CAAU,QAAA,CAAS,CAAA,CACjCf,6BAAAA,MAAC,CAAA,CAAK,SAAA,CAAU,SAAA,CAAU,QAAA,CAAA,YAAA,CAAU,CAAA,CAAA,CACtC,CAEJ,CAAA,wGAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-Q2EL52C6.cjs","sourcesContent":[null,"import type { ComponentProps, JSX } from 'react';\n\nimport { ChevronLeftIcon, ChevronRightIcon, EllipsisIcon } from 'lucide-react';\n\nimport type { VariantProps } from '@/lib/utils';\n\nimport { buttonVariants } from '@/components/button';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Pagination\n * -------------------------------------------------------------------------- */\n\nfunction Pagination({ className, ...props }: ComponentProps<'nav'>): JSX.Element {\n return (\n <nav\n aria-label=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n data-slot=\"pagination\"\n role=\"navigation\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationContent\n * -------------------------------------------------------------------------- */\n\nfunction PaginationContent({ className, ...props }: ComponentProps<'ul'>): JSX.Element {\n return <ul className={cn('flex flex-row items-center gap-1', className)} data-slot=\"pagination-content\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationItem\n * -------------------------------------------------------------------------- */\n\nfunction PaginationItem(props: ComponentProps<'li'>): JSX.Element {\n return <li data-slot=\"pagination-item\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationLink\n * -------------------------------------------------------------------------- */\n\nfunction PaginationLink({\n children,\n className,\n isActive,\n size = 'icon',\n ...props\n}: ComponentProps<'a'> &\n Pick<VariantProps<typeof buttonVariants>, 'size'> & {\n isActive?: boolean;\n }): JSX.Element {\n return (\n <a\n aria-current={isActive ? 'page' : undefined}\n className={buttonVariants({ className, size, variant: isActive ? 'outline' : 'ghost' })}\n data-slot=\"pagination-link\"\n {...props}\n >\n {children}\n </a>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationPrevious\n * -------------------------------------------------------------------------- */\n\nfunction PaginationPrevious({\n ...props\n}: ComponentProps<'a'> &\n Pick<VariantProps<typeof buttonVariants>, 'size'> & {\n isActive?: boolean;\n }): JSX.Element {\n return (\n <PaginationLink aria-label=\"Go to previous page\" data-slot=\"pagination-previous\" size=\"md\" {...props}>\n <ChevronLeftIcon className=\"size-4\" />\n <span>Previous</span>\n </PaginationLink>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationNext\n * -------------------------------------------------------------------------- */\n\nfunction PaginationNext({\n ...props\n}: ComponentProps<'a'> &\n Pick<VariantProps<typeof buttonVariants>, 'size'> & {\n isActive?: boolean;\n }): JSX.Element {\n return (\n <PaginationLink aria-label=\"Go to next page\" data-slot=\"pagination-next\" size=\"md\" {...props}>\n <span>Next</span>\n <ChevronRightIcon />\n </PaginationLink>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationEllipsis\n * -------------------------------------------------------------------------- */\n\nfunction PaginationEllipsis({ className, ...props }: ComponentProps<'span'>): JSX.Element {\n return (\n <span\n aria-hidden\n className={cn('flex size-10 items-center justify-center', className)}\n data-slot=\"pagination-ellipsis\"\n {...props}\n >\n <EllipsisIcon className=\"size-4\" />\n <span className=\"sr-only\">More pages</span>\n </span>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Pagination,\n PaginationContent,\n PaginationEllipsis,\n PaginationItem,\n PaginationLink,\n PaginationNext,\n PaginationPrevious,\n};\n"]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk4QBKNZJKcjs = require('./chunk-4QBKNZJK.cjs');var _reactslot = require('@radix-ui/react-slot');var _jsxruntime = require('react/jsx-runtime');function l({asChild:e,className:t,...n}){return _jsxruntime.jsx.call(void 0, e?_reactslot.Slot:"kbd",{className:_chunk4QBKNZJKcjs.a.call(void 0, "bg-muted text-muted-foreground inline-flex h-5 select-none items-center gap-1 rounded-sm border px-1.5 font-mono text-xs font-medium",t),"data-slot":"kbd",...n})}exports.a = l;
2
- //# sourceMappingURL=chunk-G5SJUAN7.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkDUQZVKJKcjs = require('./chunk-DUQZVKJK.cjs');var _reactslot = require('@radix-ui/react-slot');var _jsxruntime = require('react/jsx-runtime');function l({asChild:e,className:t,...n}){return _jsxruntime.jsx.call(void 0, e?_reactslot.Slot:"kbd",{className:_chunkDUQZVKJKcjs.a.call(void 0, "bg-muted text-muted-foreground inline-flex h-5 select-none items-center gap-1 rounded-sm border px-1.5 font-mono text-xs font-medium",t),"data-slot":"kbd",...n})}exports.a = l;
2
+ //# sourceMappingURL=chunk-QLYHEBIM.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-G5SJUAN7.cjs","../src/components/kbd.tsx"],"names":["Kbd","asChild","className","props","jsx","Slot","cn"],"mappings":"AAAA,iIAAwC,iDCEnB,+CAkBjB,SAVKA,CAAAA,CAAI,CACX,OAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CAAAA,CACA,GAAGC,CACL,CAAA,CAEgB,CAGd,OACEC,6BAAAA,CAHgBH,CAAUI,eAAAA,CAAO,KAAA,CAGhC,CACC,SAAA,CAAWC,iCAAAA,sIACT,CACAJ,CACF,CAAA,CACA,WAAA,CAAU,KAAA,CACT,GAAGC,CAAAA,CACN,CAEJ,CAAA,cAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-G5SJUAN7.cjs","sourcesContent":[null,"import type { ComponentProps, JSX } from 'react';\n\nimport { Slot } from '@radix-ui/react-slot';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Kbd\n * -------------------------------------------------------------------------- */\n\nfunction Kbd({\n asChild,\n className,\n ...props\n}: ComponentProps<'kbd'> & {\n asChild?: boolean;\n}): JSX.Element {\n const Component = asChild ? Slot : 'kbd';\n\n return (\n <Component\n className={cn(\n 'bg-muted text-muted-foreground inline-flex h-5 select-none items-center gap-1 rounded-sm border px-1.5 font-mono text-xs font-medium',\n className,\n )}\n data-slot=\"kbd\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Kbd };\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-QLYHEBIM.cjs","../src/components/kbd.tsx"],"names":["Kbd","asChild","className","props","jsx","Slot","cn"],"mappings":"AAAA,iIAAwC,iDCEnB,+CAkBjB,SAVKA,CAAAA,CAAI,CACX,OAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CAAAA,CACA,GAAGC,CACL,CAAA,CAEgB,CAGd,OACEC,6BAAAA,CAHgBH,CAAUI,eAAAA,CAAO,KAAA,CAGhC,CACC,SAAA,CAAWC,iCAAAA,sIACT,CACAJ,CACF,CAAA,CACA,WAAA,CAAU,KAAA,CACT,GAAGC,CAAAA,CACN,CAEJ,CAAA,cAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-QLYHEBIM.cjs","sourcesContent":[null,"import type { ComponentProps, JSX } from 'react';\n\nimport { Slot } from '@radix-ui/react-slot';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Kbd\n * -------------------------------------------------------------------------- */\n\nfunction Kbd({\n asChild,\n className,\n ...props\n}: ComponentProps<'kbd'> & {\n asChild?: boolean;\n}): JSX.Element {\n const Component = asChild ? Slot : 'kbd';\n\n return (\n <Component\n className={cn(\n 'bg-muted text-muted-foreground inline-flex h-5 select-none items-center gap-1 rounded-sm border px-1.5 font-mono text-xs font-medium',\n className,\n )}\n data-slot=\"kbd\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Kbd };\n"]}
@@ -1,2 +1,2 @@
1
- import{a}from"./chunk-M2CSPS4G.js";import{a as i}from"./chunk-KWNBGPPE.js";import*as r from"@codefast-ui/checkbox-group";import{CheckIcon as d}from"lucide-react";import{jsx as e,jsxs as n}from"react/jsx-runtime";function h(o){return e(r.Root,{"data-slot":"checkbox-cards",...o})}function k({checkboxClassName:o,children:t,className:c,...s}){return n(a,{className:i("border-input hover:not-has-disabled:not-has-aria-checked:bg-secondary has-aria-checked:bg-primary/10 has-aria-checked:border-primary has-focus-visible:border-ring has-disabled:opacity-50 flex items-start gap-3 rounded-lg border p-3 transition",c),"data-slot":"checkbox-card",children:[e(r.Item,{className:i("border-input text-primary-foreground shadow-xs outline-hidden focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-3 focus-visible:aria-checked:ring-primary/20 dark:focus-visible:aria-checked:ring-primary/40 aria-checked:border-primary aria-checked:bg-primary dark:bg-input/30 peer flex size-4 shrink-0 rounded-sm border transition",o),"data-slot":"checkbox-card-item",...s,children:e(r.CheckboxGroupIndicator,{"data-slot":"checkbox-card-indicator",children:e(d,{className:"size-3.5"})})}),t]})}export{h as a,k as b};
2
- //# sourceMappingURL=chunk-HRARWB2V.js.map
1
+ import{a}from"./chunk-2MLMFMTL.js";import{a as i}from"./chunk-WJXRZTW3.js";import*as r from"@codefast-ui/checkbox-group";import{CheckIcon as d}from"lucide-react";import{jsx as e,jsxs as n}from"react/jsx-runtime";function h(o){return e(r.Root,{"data-slot":"checkbox-cards",...o})}function k({checkboxClassName:o,children:t,className:c,...s}){return n(a,{className:i("border-input hover:not-has-disabled:not-has-aria-checked:bg-secondary has-aria-checked:bg-primary/10 has-aria-checked:border-primary has-focus-visible:border-ring has-disabled:opacity-50 flex items-start gap-3 rounded-lg border p-3 transition",c),"data-slot":"checkbox-card",children:[e(r.Item,{className:i("border-input text-primary-foreground shadow-xs outline-hidden focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-3 focus-visible:aria-checked:ring-primary/20 dark:focus-visible:aria-checked:ring-primary/40 aria-checked:border-primary aria-checked:bg-primary dark:bg-input/30 peer flex size-4 shrink-0 rounded-sm border transition",o),"data-slot":"checkbox-card-item",...s,children:e(r.CheckboxGroupIndicator,{"data-slot":"checkbox-card-indicator",children:e(d,{className:"size-3.5"})})}),t]})}export{h as a,k as b};
2
+ //# sourceMappingURL=chunk-RI6OGB2Q.js.map
@@ -1,2 +1,2 @@
1
- import{a as r}from"./chunk-KWNBGPPE.js";import*as a from"@radix-ui/react-avatar";import{jsx as o}from"react/jsx-runtime";function l({className:t,...e}){return o(a.Root,{className:r("relative flex size-8 shrink-0 overflow-hidden rounded-full",t),"data-slot":"avatar",...e})}function m({className:t,...e}){return o(a.Image,{className:r("aspect-square size-full",t),"data-slot":"avatar-image",...e})}function n({className:t,...e}){return o(a.Fallback,{className:r("bg-muted flex size-full items-center justify-center rounded-full",t),"data-slot":"avatar-fallback",...e})}export{l as a,m as b,n as c};
2
- //# sourceMappingURL=chunk-GHZJL33D.js.map
1
+ import{a as r}from"./chunk-WJXRZTW3.js";import*as a from"@radix-ui/react-avatar";import{jsx as o}from"react/jsx-runtime";function l({className:t,...e}){return o(a.Root,{className:r("relative flex size-8 shrink-0 overflow-hidden rounded-full",t),"data-slot":"avatar",...e})}function m({className:t,...e}){return o(a.Image,{className:r("aspect-square size-full",t),"data-slot":"avatar-image",...e})}function n({className:t,...e}){return o(a.Fallback,{className:r("bg-muted flex size-full items-center justify-center rounded-full",t),"data-slot":"avatar-fallback",...e})}export{l as a,m as b,n as c};
2
+ //# sourceMappingURL=chunk-RPN2CCYJ.js.map
@@ -0,0 +1,2 @@
1
+ "use client";import{b as d}from"./chunk-WJXRZTW3.js";import*as e from"@codefast-ui/progress-circle";import{useAnimatedValue as k}from"@codefast/hooks";import{useCallback as N,useMemo as m}from"react";import{jsx as l,jsxs as v}from"react/jsx-runtime";var S=d({slots:{root:"relative inline-flex items-center justify-center",svg:"size-full",track:"origin-center",indicator:"origin-center",label:"absolute inset-0 flex items-center justify-center text-xs font-medium"},variants:{variant:{default:{indicator:"text-primary",track:"text-primary/20"},destructive:{indicator:"text-destructive",track:"text-destructive/20"}},size:{sm:{label:"text-[10px]"},md:{label:"text-xs"},lg:{label:"text-sm"},xl:{label:"text-base"},"2xl":{label:"text-lg"}},thickness:{thin:{},regular:{},thick:{}}},defaultVariants:{variant:"default",size:"md",thickness:"regular"}});function M({value:t=0,classNames:r,customLabel:i,showValue:f=!1,variant:u="default",size:a,sizeInPixels:g,thickness:o="regular",animate:b=!0,animationDuration:p=1e3,className:x,strokeWidth:P,...C}){let n=k(t,p,b),c=m(()=>g||z(a),[g,a]),h=m(()=>P||R(o,c),[P,o,c]),s=m(()=>S({variant:u,size:a,thickness:o}),[u,a,o]),y=f||!!i,V=N(()=>i?i({value:n}):`${n}%`,[i,n]);return l(e.Provider,{size:c,strokeWidth:h,value:t,...C,children:v(e.Root,{className:s.root({className:[x,r?.root]}),children:[v(e.SVG,{className:s.svg({className:r?.svg}),children:[l(e.Track,{className:s.track({className:r?.track})}),l(e.Indicator,{className:s.indicator({className:r?.indicator}),style:{transitionDuration:`${p}ms`,transitionProperty:"stroke-dashoffset"}})]}),y?l(e.Value,{className:s.label({className:r?.label}),children:V()}):null]})})}M.displayName="ProgressCircle";var z=t=>t?{sm:32,md:48,lg:64,xl:96,"2xl":128}[t]:48,R=(t,r)=>{let i={thin:Math.max(2,r*.025),regular:Math.max(3,r*.05),thick:Math.max(4,r*.075)};return t?i[t]:Math.max(3,r*.05)};export{M as a};
2
+ //# sourceMappingURL=chunk-RRVBVEKN.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/progress-circle.tsx"],"names":["ProgressCirclePrimitive","useAnimatedValue","useCallback","useMemo","jsx","jsxs","progressCircleVariants","tv","ProgressCircle","value","classNames","customLabel","showValue","variant","size","sizeInPixels","thickness","animate","animationDuration","className","strokeWidth","props","displayValue","actualSize","getActualSize","actualThickness","getStrokeWidth","slots","shouldShowLabel","renderLabel","thicknessMap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AI,KAAK,IAAI,EAAGF,EAAO,GAAI,CACtE","sourcesContent":["'use client';\n\nimport type { ComponentProps, CSSProperties, JSX } from 'react';\n\nimport * as ProgressCirclePrimitive from '@codefast-ui/progress-circle';\nimport { useAnimatedValue } from '@codefast/hooks';\nimport { useCallback, useMemo } from 'react';\n\nimport type { VariantProps } from '@/lib/utils';\n\nimport { tv } from '@/lib/utils';\n\n/* -------------------------------------------------------------------------------------------------\n * Variant: ProgressCircle\n * -----------------------------------------------------------------------------------------------*/\n\nconst progressCircleVariants = tv({\n slots: {\n root: 'relative inline-flex items-center justify-center',\n svg: 'size-full',\n track: 'origin-center',\n indicator: 'origin-center',\n label: 'absolute inset-0 flex items-center justify-center text-xs font-medium',\n },\n variants: {\n variant: {\n default: { indicator: 'text-primary', track: 'text-primary/20' },\n destructive: { indicator: 'text-destructive', track: 'text-destructive/20' },\n },\n size: {\n sm: { label: 'text-[10px]' },\n md: { label: 'text-xs' },\n lg: { label: 'text-sm' },\n xl: { label: 'text-base' },\n '2xl': { label: 'text-lg' },\n },\n thickness: { thin: {}, regular: {}, thick: {} },\n },\n defaultVariants: { variant: 'default', size: 'md', thickness: 'regular' },\n});\n\n/* -------------------------------------------------------------------------------------------------\n * Component: ProgressCircle\n * -----------------------------------------------------------------------------------------------*/\n\nfunction ProgressCircle({\n value = 0,\n classNames,\n customLabel,\n showValue = false,\n variant = 'default',\n size,\n sizeInPixels,\n thickness = 'regular',\n animate = true,\n animationDuration = 1000,\n className,\n strokeWidth,\n ...props\n}: Omit<ComponentProps<typeof ProgressCirclePrimitive.Provider>, 'children' | 'size'> &\n VariantProps<typeof progressCircleVariants> & {\n /**\n * Enables animation effect when value changes\n */\n animate?: boolean;\n\n /**\n * Duration of the animation in milliseconds\n */\n animationDuration?: number;\n\n /**\n * CSS class to customize the entire component\n */\n className?: string;\n\n /**\n * CSS classes to customize specific parts of the component\n */\n classNames?: {\n /**\n * Class for the progress indicator\n */\n indicator?: string;\n\n /**\n * Class for the label in the center of the circle\n */\n label?: string;\n\n /**\n * Class for the root element of the component\n */\n root?: string;\n\n /**\n * Class for the SVG element\n */\n svg?: string;\n\n /**\n * Class for the circle track\n */\n track?: string;\n };\n\n /**\n * Custom function to render content in the center of the circle\n * @param value - Current value of the component\n * @returns React element to display in the center of the circle\n */\n customLabel?: ({ value }: { value: number }) => JSX.Element;\n\n /**\n * Display the numeric value in the center of the circle\n */\n showValue?: boolean;\n\n /**\n * Custom size in pixels\n * When provided, this value overrides the size variant option\n */\n sizeInPixels?: number;\n }): JSX.Element {\n const displayValue = useAnimatedValue(value, animationDuration, animate);\n\n const actualSize = useMemo(() => sizeInPixels || getActualSize(size), [sizeInPixels, size]);\n\n const actualThickness = useMemo(\n () => strokeWidth || getStrokeWidth(thickness, actualSize),\n [strokeWidth, thickness, actualSize],\n );\n\n const slots = useMemo(() => progressCircleVariants({ variant, size, thickness }), [variant, size, thickness]);\n\n const shouldShowLabel = showValue || Boolean(customLabel);\n\n const renderLabel = useCallback(() => {\n if (customLabel) {\n return customLabel({ value: displayValue });\n }\n\n return `${displayValue}%`;\n }, [customLabel, displayValue]);\n\n return (\n <ProgressCirclePrimitive.Provider size={actualSize} strokeWidth={actualThickness} value={value} {...props}>\n <ProgressCirclePrimitive.Root className={slots.root({ className: [className, classNames?.root] })}>\n <ProgressCirclePrimitive.SVG className={slots.svg({ className: classNames?.svg })}>\n <ProgressCirclePrimitive.Track className={slots.track({ className: classNames?.track })} />\n <ProgressCirclePrimitive.Indicator\n className={slots.indicator({ className: classNames?.indicator })}\n style={\n {\n transitionDuration: `${animationDuration}ms`,\n transitionProperty: 'stroke-dashoffset',\n } as CSSProperties\n }\n />\n </ProgressCirclePrimitive.SVG>\n {shouldShowLabel ? (\n <ProgressCirclePrimitive.Value className={slots.label({ className: classNames?.label })}>\n {renderLabel()}\n </ProgressCirclePrimitive.Value>\n ) : null}\n </ProgressCirclePrimitive.Root>\n </ProgressCirclePrimitive.Provider>\n );\n}\n\nProgressCircle.displayName = 'ProgressCircle';\n\n/* -----------------------------------------------------------------------------\n * Helpers\n * -------------------------------------------------------------------------- */\n\n/**\n * Maps size variants to actual pixel sizes\n */\nconst getActualSize = (size?: VariantProps<typeof progressCircleVariants>['size']): number => {\n const sizeMap: Record<NonNullable<typeof size>, number> = {\n sm: 32,\n md: 48,\n lg: 64,\n xl: 96,\n '2xl': 128,\n };\n\n return size ? sizeMap[size] : 48;\n};\n\n/**\n * Calculates stroke width based on thickness variant and circle size\n */\nconst getStrokeWidth = (thickness: VariantProps<typeof progressCircleVariants>['thickness'], size: number): number => {\n const thicknessMap: Record<NonNullable<typeof thickness>, number> = {\n thin: Math.max(2, size * 0.025),\n regular: Math.max(3, size * 0.05),\n thick: Math.max(4, size * 0.075),\n };\n\n return thickness ? thicknessMap[thickness] : Math.max(3, size * 0.05);\n};\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { ProgressCircle };\n"]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk4QBKNZJKcjs = require('./chunk-4QBKNZJK.cjs');var _jsxruntime = require('react/jsx-runtime');function p({className:e,...t}){return _jsxruntime.jsx.call(void 0, "div",{className:_chunk4QBKNZJKcjs.a.call(void 0, "bg-muted animate-pulse rounded-lg",e),"data-slot":"skeleton",...t})}exports.a = p;
2
- //# sourceMappingURL=chunk-PL6HV27V.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkDUQZVKJKcjs = require('./chunk-DUQZVKJK.cjs');var _jsxruntime = require('react/jsx-runtime');function p({className:e,...t}){return _jsxruntime.jsx.call(void 0, "div",{className:_chunkDUQZVKJKcjs.a.call(void 0, "bg-muted animate-pulse rounded-lg",e),"data-slot":"skeleton",...t})}exports.a = p;
2
+ //# sourceMappingURL=chunk-RZ2SWMAS.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-PL6HV27V.cjs","../src/components/skeleton.tsx"],"names":["Skeleton","className","props","jsx","cn"],"mappings":"AAAA,iIAAwC,+CCS/B,SADAA,CAAAA,CAAS,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAuC,CAC7E,OAAOC,6BAAAA,KAAC,CAAA,CAAI,SAAA,CAAWC,iCAAAA,mCAAG,CAAqCH,CAAS,CAAA,CAAG,WAAA,CAAU,UAAA,CAAY,GAAGC,CAAAA,CAAO,CAC7G,CAAA,cAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-PL6HV27V.cjs","sourcesContent":[null,"import type { ComponentProps, JSX } from 'react';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Skeleton\n * -------------------------------------------------------------------------- */\n\nfunction Skeleton({ className, ...props }: ComponentProps<'div'>): JSX.Element {\n return <div className={cn('bg-muted animate-pulse rounded-lg', className)} data-slot=\"skeleton\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Skeleton };\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-RZ2SWMAS.cjs","../src/components/skeleton.tsx"],"names":["Skeleton","className","props","jsx","cn"],"mappings":"AAAA,iIAAwC,+CCS/B,SADAA,CAAAA,CAAS,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAuC,CAC7E,OAAOC,6BAAAA,KAAC,CAAA,CAAI,SAAA,CAAWC,iCAAAA,mCAAG,CAAqCH,CAAS,CAAA,CAAG,WAAA,CAAU,UAAA,CAAY,GAAGC,CAAAA,CAAO,CAC7G,CAAA,cAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-RZ2SWMAS.cjs","sourcesContent":[null,"import type { ComponentProps, JSX } from 'react';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Skeleton\n * -------------------------------------------------------------------------- */\n\nfunction Skeleton({ className, ...props }: ComponentProps<'div'>): JSX.Element {\n return <div className={cn('bg-muted animate-pulse rounded-lg', className)} data-slot=\"skeleton\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Skeleton };\n"]}
@@ -1,2 +1,2 @@
1
- import{a as l}from"./chunk-4ENRIR3P.js";import{a as i}from"./chunk-KWNBGPPE.js";import*as o from"@radix-ui/react-dialog";import{XIcon as m}from"lucide-react";import{jsx as a,jsxs as s}from"react/jsx-runtime";function f({...t}){return a(o.Root,{"data-slot":"dialog",...t})}function c({...t}){return a(o.Trigger,{"data-slot":"dialog-trigger",...t})}function u({children:t,className:e,classNames:r,...n}){return s(o.Portal,{children:[a(o.Overlay,{className:i("bg-popover-overlay data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out fixed inset-0 z-50",r?.overlay),"data-slot":"dialog-overlay"}),a(o.Content,{className:i("data-[state=open]:animate-in max-sm:data-[state=open]:animation-duration-500 max-sm:data-[state=open]:slide-in-from-bottom sm:data-[state=open]:fade-in-0 sm:data-[state=open]:zoom-in-95 data-[state=closed]:animate-out max-sm:data-[state=closed]:animation-duration-500 max-sm:data-[state=closed]:slide-out-to-bottom sm:data-[state=closed]:fade-out-0 sm:data-[state=closed]:zoom-out-95 fixed inset-0 z-50 grid grid-rows-[1fr_auto] justify-items-center overflow-auto sm:grid-rows-[1fr_auto_3fr] sm:p-4",r?.wrapper),"data-slot":"dialog-content-wrapper",...n,children:s("div",{className:i("bg-popover text-popover-foreground relative row-start-2 flex w-full flex-col rounded-t-2xl border shadow-lg sm:max-w-lg sm:rounded-2xl",r?.content,e),"data-slot":"dialog-content",children:[t,s(o.Close,{className:l({className:["absolute right-2.5 top-2.5 size-7",r?.close],size:"icon",variant:"ghost"}),"data-slot":"dialog-close",children:[a(m,{className:"size-4"}),a("span",{className:"sr-only",children:"Close"})]})]})})]})}function v({className:t,...e}){return a("header",{className:i("flex shrink-0 flex-col gap-1.5 px-6 pb-2 pt-6 text-center sm:text-left",t),"data-slot":"dialog-header",...e})}function P({className:t,...e}){return a("main",{className:i("overflow-auto px-6 py-2",t),"data-slot":"dialog-body",...e})}function D({className:t,...e}){return a("footer",{className:i("flex shrink-0 flex-col-reverse gap-2 px-6 pb-6 pt-2 sm:flex-row sm:justify-end",t),"data-slot":"dialog-footer",...e})}function x({className:t,...e}){return a(o.Title,{className:i("text-lg font-semibold leading-none tracking-tight",t),"data-slot":"dialog-title",...e})}function y({className:t,...e}){return a(o.Description,{className:i("text-muted-foreground text-sm",t),"data-slot":"dialog-description",...e})}function C({className:t,size:e,variant:r="outline",...n}){return a(o.Close,{className:l({className:t,size:e,variant:r}),"data-slot":"dialog-close",...n})}export{f as a,c as b,u as c,v as d,P as e,D as f,x as g,y as h,C as i};
2
- //# sourceMappingURL=chunk-JO7EANFR.js.map
1
+ import{a as l}from"./chunk-HTXXCU4P.js";import{a as i}from"./chunk-WJXRZTW3.js";import*as o from"@radix-ui/react-dialog";import{XIcon as m}from"lucide-react";import{jsx as a,jsxs as s}from"react/jsx-runtime";function f({...t}){return a(o.Root,{"data-slot":"dialog",...t})}function c({...t}){return a(o.Trigger,{"data-slot":"dialog-trigger",...t})}function u({children:t,className:e,classNames:r,...n}){return s(o.Portal,{children:[a(o.Overlay,{className:i("bg-popover-overlay data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out fixed inset-0 z-50",r?.overlay),"data-slot":"dialog-overlay"}),a(o.Content,{className:i("data-[state=open]:animate-in max-sm:data-[state=open]:animation-duration-500 max-sm:data-[state=open]:slide-in-from-bottom sm:data-[state=open]:fade-in-0 sm:data-[state=open]:zoom-in-95 data-[state=closed]:animate-out max-sm:data-[state=closed]:animation-duration-500 max-sm:data-[state=closed]:slide-out-to-bottom sm:data-[state=closed]:fade-out-0 sm:data-[state=closed]:zoom-out-95 fixed inset-0 z-50 grid grid-rows-[1fr_auto] justify-items-center overflow-auto sm:grid-rows-[1fr_auto_3fr] sm:p-4",r?.wrapper),"data-slot":"dialog-content-wrapper",...n,children:s("div",{className:i("bg-popover text-popover-foreground relative row-start-2 flex w-full flex-col rounded-t-2xl border shadow-lg sm:max-w-lg sm:rounded-2xl",r?.content,e),"data-slot":"dialog-content",children:[t,s(o.Close,{className:l({className:["absolute right-2.5 top-2.5 size-7",r?.close],size:"icon",variant:"ghost"}),"data-slot":"dialog-close",children:[a(m,{className:"size-4"}),a("span",{className:"sr-only",children:"Close"})]})]})})]})}function v({className:t,...e}){return a("header",{className:i("flex shrink-0 flex-col gap-1.5 px-6 pb-2 pt-6 text-center sm:text-left",t),"data-slot":"dialog-header",...e})}function P({className:t,...e}){return a("main",{className:i("overflow-auto px-6 py-2",t),"data-slot":"dialog-body",...e})}function D({className:t,...e}){return a("footer",{className:i("flex shrink-0 flex-col-reverse gap-2 px-6 pb-6 pt-2 sm:flex-row sm:justify-end",t),"data-slot":"dialog-footer",...e})}function x({className:t,...e}){return a(o.Title,{className:i("text-lg font-semibold leading-none tracking-tight",t),"data-slot":"dialog-title",...e})}function y({className:t,...e}){return a(o.Description,{className:i("text-muted-foreground text-sm",t),"data-slot":"dialog-description",...e})}function C({className:t,size:e,variant:r="outline",...n}){return a(o.Close,{className:l({className:t,size:e,variant:r}),"data-slot":"dialog-close",...n})}export{f as a,c as b,u as c,v as d,P as e,D as f,x as g,y as h,C as i};
2
+ //# sourceMappingURL=chunk-RZ4UBUIX.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/dialog.tsx"],"names":["DialogPrimitive","XIcon","jsx","jsxs","Dialog","props","DialogTrigger","DialogContent","children","className","classNames","cn","buttonVariants","DialogHeader","DialogBody","DialogFooter","DialogTitle","DialogDescription","DialogClose","size","variant"],"mappings":"gFAEA,UAAYA,MAAqB,yBACjC,OAAS,SAAAC,MAAa,eAYb,cAAAC,EAsDC,QAAAC,MAtDD,oBADT,SAASC,EAAO,CAAE,GAAGC,CAAM,EAA6D,CACtF,OAAOH,EAAiB,O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GAAGJ,CAAM,EAA8D,CACvG,OACEH,EAAiB,QAAhB,CACC,UAAWS,EAAG,oDAAqDF,CAAS,EAC5E,YAAU,eACT,GAAGJ,EACN,CAEJ,CAMA,SAASY,EAAkB,CAAE,UAAAR,EAAW,GAAGJ,CAAM,EAAoE,CACnH,OACEH,EAAiB,cAAhB,CACC,UAAWS,EAAG,gCAAiCF,CAAS,EACxD,YAAU,qBACT,GAAGJ,EACN,CAEJ,CAMA,SAASa,EAAY,CACnB,UAAAT,EACA,KAAAU,EACA,QAAAC,EAAU,UACV,GAAGf,CACL,EAGgB,CACd,OACEH,EAAiB,QAAhB,CACC,UAAWU,EAAe,CAAE,UAAAH,EAAW,KAAAU,EAAM,QAAAC,CAAQ,CAAC,EACtD,YAAU,eACT,GAAGf,EACN,CAEJ","sourcesContent":["import type { ComponentProps, JSX } from 'react';\n\nimport * as DialogPrimitive from '@radix-ui/react-dialog';\nimport { XIcon } from 'lucide-react';\n\nimport type { VariantProps } from '@/lib/utils';\n\nimport { buttonVariants } from '@/components/button';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Dialog\n * -------------------------------------------------------------------------- */\n\nfunction Dialog({ ...props }: ComponentProps<typeof DialogPrimitive.Root>): JSX.Element {\n return <DialogPrimitive.Root data-slot=\"dialog\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DialogTrigger\n * -------------------------------------------------------------------------- */\n\nfunction DialogTrigger({ ...props }: ComponentProps<typeof DialogPrimitive.Trigger>): JSX.Element {\n return <DialogPrimitive.Trigger data-slot=\"dialog-trigger\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DialogContent\n * -------------------------------------------------------------------------- */\n\nfunction DialogContent({\n children,\n className,\n classNames,\n ...props\n}: ComponentProps<typeof DialogPrimitive.Content> & {\n classNames?: {\n close?: string;\n content?: string;\n overlay?: string;\n wrapper?: string;\n };\n}): JSX.Element {\n return (\n <DialogPrimitive.Portal>\n <DialogPrimitive.Overlay\n className={cn(\n 'bg-popover-overlay data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out fixed inset-0 z-50',\n classNames?.overlay,\n )}\n data-slot=\"dialog-overlay\"\n />\n <DialogPrimitive.Content\n className={cn(\n 'data-[state=open]:animate-in max-sm:data-[state=open]:animation-duration-500 max-sm:data-[state=open]:slide-in-from-bottom sm:data-[state=open]:fade-in-0 sm:data-[state=open]:zoom-in-95 data-[state=closed]:animate-out max-sm:data-[state=closed]:animation-duration-500 max-sm:data-[state=closed]:slide-out-to-bottom sm:data-[state=closed]:fade-out-0 sm:data-[state=closed]:zoom-out-95 fixed inset-0 z-50 grid grid-rows-[1fr_auto] justify-items-center overflow-auto sm:grid-rows-[1fr_auto_3fr] sm:p-4',\n classNames?.wrapper,\n )}\n data-slot=\"dialog-content-wrapper\"\n {...props}\n >\n <div\n className={cn(\n 'bg-popover text-popover-foreground relative row-start-2 flex w-full flex-col rounded-t-2xl border shadow-lg sm:max-w-lg sm:rounded-2xl',\n classNames?.content,\n className,\n )}\n data-slot=\"dialog-content\"\n >\n {children}\n <DialogPrimitive.Close\n className={buttonVariants({\n className: ['absolute right-2.5 top-2.5 size-7', classNames?.close],\n size: 'icon',\n variant: 'ghost',\n })}\n data-slot=\"dialog-close\"\n >\n <XIcon className=\"size-4\" />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n </div>\n </DialogPrimitive.Content>\n </DialogPrimitive.Portal>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DialogHeader\n * -------------------------------------------------------------------------- */\n\nfunction DialogHeader({ className, ...props }: ComponentProps<'div'>): JSX.Element {\n return (\n <header\n className={cn('flex shrink-0 flex-col gap-1.5 px-6 pb-2 pt-6 text-center sm:text-left', className)}\n data-slot=\"dialog-header\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DialogBody\n * -------------------------------------------------------------------------- */\n\nfunction DialogBody({ className, ...props }: ComponentProps<'div'>): JSX.Element {\n return <main className={cn('overflow-auto px-6 py-2', className)} data-slot=\"dialog-body\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DialogFooter\n * -------------------------------------------------------------------------- */\n\nfunction DialogFooter({ className, ...props }: ComponentProps<'div'>): JSX.Element {\n return (\n <footer\n className={cn('flex shrink-0 flex-col-reverse gap-2 px-6 pb-6 pt-2 sm:flex-row sm:justify-end', className)}\n data-slot=\"dialog-footer\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DialogTitle\n * -------------------------------------------------------------------------- */\n\nfunction DialogTitle({ className, ...props }: ComponentProps<typeof DialogPrimitive.Title>): JSX.Element {\n return (\n <DialogPrimitive.Title\n className={cn('text-lg font-semibold leading-none tracking-tight', className)}\n data-slot=\"dialog-title\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DialogDescription\n * -------------------------------------------------------------------------- */\n\nfunction DialogDescription({ className, ...props }: ComponentProps<typeof DialogPrimitive.Description>): JSX.Element {\n return (\n <DialogPrimitive.Description\n className={cn('text-muted-foreground text-sm', className)}\n data-slot=\"dialog-description\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DialogClose\n * -------------------------------------------------------------------------- */\n\nfunction DialogClose({\n className,\n size,\n variant = 'outline',\n ...props\n}: Omit<ComponentProps<typeof DialogPrimitive.Close>, 'ref'> & {\n size?: VariantProps<typeof buttonVariants>['size'];\n variant?: VariantProps<typeof buttonVariants>['variant'];\n}): JSX.Element {\n return (\n <DialogPrimitive.Close\n className={buttonVariants({ className, size, variant })}\n data-slot=\"dialog-close\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Dialog,\n DialogBody,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogFooter,\n DialogHeader,\n DialogTitle,\n DialogTrigger,\n};\n"]}
@@ -0,0 +1,2 @@
1
+ import{a as r}from"./chunk-HTXXCU4P.js";import{a as i,b as m}from"./chunk-WJXRZTW3.js";import*as e from"@radix-ui/react-dialog";import{XIcon as p}from"lucide-react";import{jsx as a,jsxs as l}from"react/jsx-runtime";var h=m({base:"bg-background animation-ease-in-out data-[state=open]:animate-in data-[state=open]:animation-duration-500 data-[state=closed]:animate-out data-[state=closed]:animation-duration-500 fixed z-50 flex flex-col overflow-auto shadow-lg",variants:{side:{bottom:"data-[state=open]:slide-in-from-bottom data-[state=closed]:slide-out-to-bottom inset-x-0 bottom-0 max-h-[80vh] border-t",left:"data-[state=open]:slide-in-from-left data-[state=closed]:slide-out-to-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",right:"data-[state=open]:slide-in-from-right data-[state=closed]:slide-out-to-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",top:"data-[state=open]:slide-in-from-top data-[state=closed]:slide-out-to-top inset-x-0 top-0 max-h-[80vh] border-b"}},defaultVariants:{side:"right"}});function S({children:t,...o}){return a(e.Root,{"data-slot":"sheet",...o,children:t})}function v({...t}){return a(e.Trigger,{"data-slot":"sheet-trigger",...t})}function P({children:t,className:o,classNames:n,side:s="right",...d}){return l(e.Portal,{children:[a(e.Overlay,{className:i("bg-popover-overlay data-[state=open]:animate-fade-in data-[state=open]:animation-duration-500 data-[state=closed]:animate-fade-out data-[state=closed]:animation-duration-500 fixed inset-0 z-50",n?.overlay),"data-slot":"sheet-overlay"}),l(e.Content,{className:h({className:[n?.content,o],side:s}),"data-slot":"sheet-content",...d,children:[t,l(e.Close,{className:r({className:["absolute right-4 top-4 size-7",n?.close],size:"icon",variant:"ghost"}),"data-slot":"sheet-close",children:[a(p,{className:"size-4"}),a("span",{className:"sr-only",children:"Close"})]})]})]})}function g({className:t,...o}){return a("header",{className:i("flex shrink-0 flex-col gap-1.5 px-6 pb-4 pt-6 text-center sm:text-left",t),"data-slot":"sheet-header",...o})}function x({className:t,...o}){return a("main",{className:i("px-6 py-2",t),"data-slot":"sheet-body",...o})}function y({className:t,...o}){return a("footer",{className:i("flex shrink-0 flex-col-reverse gap-2 px-6 pb-6 pt-4 sm:flex-row sm:justify-end",t),"data-slot":"sheet-footer",...o})}function b({className:t,...o}){return a(e.Title,{className:i("text-foreground text-lg font-semibold",t),"data-slot":"sheet-title",...o})}function C({className:t,...o}){return a(e.Description,{className:i("text-muted-foreground text-sm",t),"data-slot":"sheet-description",...o})}function N({className:t,size:o,variant:n="outline",...s}){return a(e.Close,{className:r({className:t,size:o,variant:n}),"data-slot":"sheet-close",...s})}export{S as a,v as b,P as c,g as d,x as e,y as f,b as g,C as h,N as i};
2
+ //# sourceMappingURL=chunk-S23ABGFK.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/sheet.tsx"],"names":["SheetPrimitive","XIcon","jsx","jsxs","sheetContentVariants","tv","Sheet","children","props","SheetTrigger","SheetContent","className","classNames","side","cn","buttonVariants","SheetHeader","SheetBody","SheetFooter","SheetTitle","SheetDescription","SheetClose","size","variant"],"mappings":"uFAEA,UAAYA,MAAoB,yBAChC,OAAS,SAAAC,MAAa,eAkClB,cAAAC,EA+CI,QAAAC,MA/CJ,oBAvBJ,IAAMC,EAAuBC,EAAG,CAC9B,KAAM,wOACN,SAAU,CACR,KAAM,CACJ,OACE,0HACF,KAAM,gIACN,MACE,mIACF,IAAK,gHACP,CACF,EACA,gBAAiB,CACf,KAAM,OACR,CACF,CAAC,EAMD,SAASC,EAAM,CAAE,SAAAC,EAAU,GAAGC,CAAM,EAA4D,CAC9F,OACEN,EAAgB,OAAf,CAAoB,YAAU,QAAS,GAAGM,EACxC,SAAAD,EACH,CAEJ,CAMA,SAASE,EAAa,CAAE,GAAGD,CAAM,EAA+D,CAC9F,OAAON,EAAgB,UAAf,CAAuB,YAAU,gBAAiB,GAAGM,EAAO,CACtE,CAMA,SAASE,EAAa,CACpB,SAAAH,EACA,UAAAI,EACA,WAAAC,EACA,KAAAC,EAAO,QACP,GAAGL,CACL,EAOkB,CAChB,OACEL,EAAg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,EACA,KAAAW,EACA,QAAAC,EAAU,UACV,GAAGf,CACL,EAGgB,CACd,OACEN,EAAgB,QAAf,CAAqB,UAAWa,EAAe,CAAE,UAAAJ,EAAW,KAAAW,EAAM,QAAAC,CAAQ,CAAC,EAAG,YAAU,cAAe,GAAGf,EAAO,CAEtH","sourcesContent":["import type { ComponentProps, JSX } from 'react';\n\nimport * as SheetPrimitive from '@radix-ui/react-dialog';\nimport { XIcon } from 'lucide-react';\n\nimport type { VariantProps } from '@/lib/utils';\n\nimport { buttonVariants } from '@/components/button';\nimport { cn, tv } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Variant: SheetContent\n * -------------------------------------------------------------------------- */\n\nconst sheetContentVariants = tv({\n base: 'bg-background animation-ease-in-out data-[state=open]:animate-in data-[state=open]:animation-duration-500 data-[state=closed]:animate-out data-[state=closed]:animation-duration-500 fixed z-50 flex flex-col overflow-auto shadow-lg',\n variants: {\n side: {\n bottom:\n 'data-[state=open]:slide-in-from-bottom data-[state=closed]:slide-out-to-bottom inset-x-0 bottom-0 max-h-[80vh] border-t',\n left: 'data-[state=open]:slide-in-from-left data-[state=closed]:slide-out-to-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm',\n right:\n 'data-[state=open]:slide-in-from-right data-[state=closed]:slide-out-to-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm',\n top: 'data-[state=open]:slide-in-from-top data-[state=closed]:slide-out-to-top inset-x-0 top-0 max-h-[80vh] border-b',\n },\n },\n defaultVariants: {\n side: 'right',\n },\n});\n\n/* -----------------------------------------------------------------------------\n * Component: Sheet\n * -------------------------------------------------------------------------- */\n\nfunction Sheet({ children, ...props }: ComponentProps<typeof SheetPrimitive.Root>): JSX.Element {\n return (\n <SheetPrimitive.Root data-slot=\"sheet\" {...props}>\n {children}\n </SheetPrimitive.Root>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetTrigger\n * -------------------------------------------------------------------------- */\n\nfunction SheetTrigger({ ...props }: ComponentProps<typeof SheetPrimitive.Trigger>): JSX.Element {\n return <SheetPrimitive.Trigger data-slot=\"sheet-trigger\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetContent\n * -------------------------------------------------------------------------- */\n\nfunction SheetContent({\n children,\n className,\n classNames,\n side = 'right',\n ...props\n}: ComponentProps<typeof SheetPrimitive.Content> &\n VariantProps<typeof sheetContentVariants> & {\n classNames?: {\n close?: string;\n content?: string;\n overlay?: string;\n };\n }): JSX.Element {\n return (\n <SheetPrimitive.Portal>\n <SheetPrimitive.Overlay\n className={cn(\n 'bg-popover-overlay data-[state=open]:animate-fade-in data-[state=open]:animation-duration-500 data-[state=closed]:animate-fade-out data-[state=closed]:animation-duration-500 fixed inset-0 z-50',\n classNames?.overlay,\n )}\n data-slot=\"sheet-overlay\"\n />\n <SheetPrimitive.Content\n className={sheetContentVariants({ className: [classNames?.content, className], side })}\n data-slot=\"sheet-content\"\n {...props}\n >\n {children}\n <SheetPrimitive.Close\n className={buttonVariants({\n className: ['absolute right-4 top-4 size-7', classNames?.close],\n size: 'icon',\n variant: 'ghost',\n })}\n data-slot=\"sheet-close\"\n >\n <XIcon className=\"size-4\" />\n <span className=\"sr-only\">Close</span>\n </SheetPrimitive.Close>\n </SheetPrimitive.Content>\n </SheetPrimitive.Portal>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetHeader\n * -------------------------------------------------------------------------- */\n\nfunction SheetHeader({ className, ...props }: ComponentProps<'div'>): JSX.Element {\n return (\n <header\n className={cn('flex shrink-0 flex-col gap-1.5 px-6 pb-4 pt-6 text-center sm:text-left', className)}\n data-slot=\"sheet-header\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetBody\n * -------------------------------------------------------------------------- */\n\nfunction SheetBody({ className, ...props }: ComponentProps<'div'>): JSX.Element {\n return <main className={cn('px-6 py-2', className)} data-slot=\"sheet-body\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetFooter\n * -------------------------------------------------------------------------- */\n\nfunction SheetFooter({ className, ...props }: ComponentProps<'div'>): JSX.Element {\n return (\n <footer\n className={cn('flex shrink-0 flex-col-reverse gap-2 px-6 pb-6 pt-4 sm:flex-row sm:justify-end', className)}\n data-slot=\"sheet-footer\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetTitle\n * -------------------------------------------------------------------------- */\n\nfunction SheetTitle({ className, ...props }: ComponentProps<typeof SheetPrimitive.Title>): JSX.Element {\n return (\n <SheetPrimitive.Title\n className={cn('text-foreground text-lg font-semibold', className)}\n data-slot=\"sheet-title\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetDescription\n * -------------------------------------------------------------------------- */\n\nfunction SheetDescription({ className, ...props }: ComponentProps<typeof SheetPrimitive.Description>): JSX.Element {\n return (\n <SheetPrimitive.Description\n className={cn('text-muted-foreground text-sm', className)}\n data-slot=\"sheet-description\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: SheetClose\n * -------------------------------------------------------------------------- */\n\nfunction SheetClose({\n className,\n size,\n variant = 'outline',\n ...props\n}: ComponentProps<typeof SheetPrimitive.Close> & {\n size?: VariantProps<typeof buttonVariants>['size'];\n variant?: VariantProps<typeof buttonVariants>['variant'];\n}): JSX.Element {\n return (\n <SheetPrimitive.Close className={buttonVariants({ className, size, variant })} data-slot=\"sheet-close\" {...props} />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Sheet,\n SheetBody,\n SheetClose,\n SheetContent,\n SheetDescription,\n SheetFooter,\n SheetHeader,\n SheetTitle,\n SheetTrigger,\n};\n"]}
@@ -1,2 +1,2 @@
1
- import{a as e}from"./chunk-KWNBGPPE.js";import{jsx as t}from"react/jsx-runtime";function n({className:i,...r}){return t("textarea",{className:e("border-input hover:not-disabled:not-focus-visible:border-ring/60 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-3 placeholder:text-muted-foreground shadow-xs outline-hidden aria-invalid:border-destructive hover:not-disabled:not-focus-within:aria-invalid:border-destructive/60 focus-within:aria-invalid:ring-destructive/20 dark:focus-within:aria-invalid:ring-destructive/40 dark:bg-input/30 flex min-h-16 w-full grow rounded-lg border px-3 py-2 text-base transition disabled:opacity-50 md:text-sm",i),"data-slot":"textarea",...r})}export{n as a};
2
- //# sourceMappingURL=chunk-LQXNGCYD.js.map
1
+ import{a as e}from"./chunk-WJXRZTW3.js";import{jsx as t}from"react/jsx-runtime";function n({className:i,...r}){return t("textarea",{className:e("border-input hover:not-disabled:not-focus-visible:border-ring/60 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-3 placeholder:text-muted-foreground shadow-xs outline-hidden aria-invalid:border-destructive hover:not-disabled:not-focus-within:aria-invalid:border-destructive/60 focus-within:aria-invalid:ring-destructive/20 dark:focus-within:aria-invalid:ring-destructive/40 dark:bg-input/30 flex min-h-16 w-full grow rounded-lg border px-3 py-2 text-base transition disabled:opacity-50 md:text-sm",i),"data-slot":"textarea",...r})}export{n as a};
2
+ //# sourceMappingURL=chunk-SU3DRGP4.js.map
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";var _chunkDUQZVKJKcjs = require('./chunk-DUQZVKJK.cjs');var _reactcontext = require('@radix-ui/react-context');var _reactscrollarea = require('@radix-ui/react-scroll-area'); var r = _interopRequireWildcard(_reactscrollarea);var _jsxruntime = require('react/jsx-runtime');var S=_chunkDUQZVKJKcjs.b.call(void 0, {base:"flex touch-none select-none p-px transition-colors",compoundVariants:[{className:"w-1.5",orientation:"vertical",size:"sm"},{className:"w-2",orientation:"vertical",size:"md"},{className:"w-2.5",orientation:"vertical",size:"lg"},{className:"h-1.5",orientation:"horizontal",size:"sm"},{className:"h-2",orientation:"horizontal",size:"md"},{className:"h-2.5",orientation:"horizontal",size:"lg"}],variants:{orientation:{horizontal:"w-full flex-col border-t border-t-transparent",vertical:"h-full flex-row border-l border-l-transparent"},size:{none:"",sm:"",md:"",lg:""}},defaultVariants:{size:"md",vertical:"vertical"}}),n="ScrollArea",[A]=_reactcontext.createContextScope.call(void 0, n),[v,d]=A(n);function b({__scopeScrollArea:l,children:t,className:o,size:i,...a}){return _jsxruntime.jsx.call(void 0, v,{scope:l,size:i,children:_jsxruntime.jsxs.call(void 0, r.Root,{className:_chunkDUQZVKJKcjs.a.call(void 0, "relative",o),"data-slot":"scroll-area",...a,children:[_jsxruntime.jsx.call(void 0, r.Viewport,{className:"outline-ring ring-ring/50 size-full rounded-[inherit] transition focus-visible:outline-1 focus-visible:ring-4","data-slot":"scroll-area-viewport",children:t}),_jsxruntime.jsx.call(void 0, m,{orientation:"vertical"}),_jsxruntime.jsx.call(void 0, m,{orientation:"horizontal"}),_jsxruntime.jsx.call(void 0, r.Corner,{})]})})}function m({__scopeScrollArea:l,className:t,orientation:o,...i}){let{size:a}=d(n,l);return _jsxruntime.jsx.call(void 0, r.Scrollbar,{className:S({className:t,orientation:o,size:a}),"data-slot":"scroll-area-scrollbar",orientation:o,...i,children:_jsxruntime.jsx.call(void 0, r.ScrollAreaThumb,{className:"bg-border relative flex-1 rounded-full"})})}exports.a = b; exports.b = m;
2
+ //# sourceMappingURL=chunk-SWKQ7C7S.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-SWKQ7C7S.cjs","../src/components/scroll-area.tsx"],"names":["ScrollAreaPrimitive","useScrollAreaContext","createScrollAreaContext","SCROLL_AREA_NAME","ScrollArea","children","className","props","ScrollAreaContextProvider","size","jsxs","cn","jsx","ScrollAreaScrollbar","orientation","__scopeScrollArea","scrollAreaScrollbar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null,"'use client';\n\nimport type { Scope } from '@radix-ui/react-context';\nimport type { ComponentProps, JSX } from 'react';\n\nimport { createContextScope } from '@radix-ui/react-context';\nimport * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';\n\nimport type { VariantProps } from '@/lib/utils';\n\nimport { cn, tv } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Variant: ScrollAreaScrollbar\n * -------------------------------------------------------------------------- */\n\nconst scrollAreaScrollbarVariants = tv({\n base: 'flex touch-none select-none p-px transition-colors',\n compoundVariants: [\n {\n className: 'w-1.5',\n orientation: 'vertical',\n size: 'sm',\n },\n {\n className: 'w-2',\n orientation: 'vertical',\n size: 'md',\n },\n {\n className: 'w-2.5',\n orientation: 'vertical',\n size: 'lg',\n },\n {\n className: 'h-1.5',\n orientation: 'horizontal',\n size: 'sm',\n },\n {\n className: 'h-2',\n orientation: 'horizontal',\n size: 'md',\n },\n {\n className: 'h-2.5',\n orientation: 'horizontal',\n size: 'lg',\n },\n ],\n variants: {\n orientation: {\n horizontal: 'w-full flex-col border-t border-t-transparent',\n vertical: 'h-full flex-row border-l border-l-transparent',\n },\n size: {\n none: '',\n sm: '',\n md: '',\n lg: '',\n },\n },\n defaultVariants: {\n size: 'md',\n vertical: 'vertical',\n },\n});\n\n/* -----------------------------------------------------------------------------\n * Context: ScrollArea\n * -------------------------------------------------------------------------- */\n\nconst SCROLL_AREA_NAME = 'ScrollArea';\n\ntype ScopedProps<P> = P & { __scopeScrollArea?: Scope };\n\nconst [createScrollAreaContext] = createContextScope(SCROLL_AREA_NAME);\n\ntype ScrollAreaContextValue = Pick<VariantProps<typeof scrollAreaScrollbarVariants>, 'size'>;\n\nconst [ScrollAreaContextProvider, useScrollAreaContext] =\n createScrollAreaContext<ScrollAreaContextValue>(SCROLL_AREA_NAME);\n\n/* -----------------------------------------------------------------------------\n * Component: ScrollArea\n * -------------------------------------------------------------------------- */\n\nfunction ScrollArea({\n __scopeScrollArea,\n children,\n className,\n size,\n ...props\n}: ScopedProps<ComponentProps<typeof ScrollAreaPrimitive.Root> & ScrollAreaContextValue>): JSX.Element {\n return (\n <ScrollAreaContextProvider scope={__scopeScrollArea} size={size}>\n <ScrollAreaPrimitive.Root className={cn('relative', className)} data-slot=\"scroll-area\" {...props}>\n <ScrollAreaPrimitive.Viewport\n className=\"outline-ring ring-ring/50 size-full rounded-[inherit] transition focus-visible:outline-1 focus-visible:ring-4\"\n data-slot=\"scroll-area-viewport\"\n >\n {children}\n </ScrollAreaPrimitive.Viewport>\n <ScrollAreaScrollbar orientation=\"vertical\" />\n <ScrollAreaScrollbar orientation=\"horizontal\" />\n <ScrollAreaPrimitive.Corner />\n </ScrollAreaPrimitive.Root>\n </ScrollAreaContextProvider>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: ScrollAreaScrollbar\n * -------------------------------------------------------------------------- */\n\nfunction ScrollAreaScrollbar({\n __scopeScrollArea,\n className,\n orientation,\n ...props\n}: ScopedProps<ComponentProps<typeof ScrollAreaPrimitive.Scrollbar>>): JSX.Element {\n const { size } = useScrollAreaContext(SCROLL_AREA_NAME, __scopeScrollArea);\n\n return (\n <ScrollAreaPrimitive.Scrollbar\n className={scrollAreaScrollbarVariants({ className, orientation, size })}\n data-slot=\"scroll-area-scrollbar\"\n orientation={orientation}\n {...props}\n >\n <ScrollAreaPrimitive.ScrollAreaThumb className=\"bg-border relative flex-1 rounded-full\" />\n </ScrollAreaPrimitive.Scrollbar>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { ScrollArea, ScrollAreaScrollbar };\n"]}
@@ -1,2 +1,2 @@
1
- "use client";import{a as d}from"./chunk-4ENRIR3P.js";import{a}from"./chunk-KWNBGPPE.js";import{Drawer as o}from"vaul";import{jsx as e,jsxs as l}from"react/jsx-runtime";function u({shouldScaleBackground:t=!0,...r}){return e(o.Root,{"data-slot":"drawer",shouldScaleBackground:t,...r})}function w({...t}){return e(o.Trigger,{"data-slot":"drawer-trigger",...t})}function c({children:t,className:r,classNames:i,...n}){return l(o.Portal,{children:[e(o.Overlay,{className:a("bg-popover-overlay fixed inset-0 z-50",i?.overlay),"data-slot":"drawer-overlay"}),l(o.Content,{className:a("group/drawer-content bg-background fixed z-50 flex h-auto flex-col data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=bottom]:rounded-t-2xl data-[vaul-drawer-direction=top]:rounded-b-2xl data-[vaul-drawer-direction=left]:sm:max-w-sm data-[vaul-drawer-direction=right]:sm:max-w-sm",i?.content,r),"data-slot":"drawer-content",...n,children:[e("div",{className:a("bg-muted mx-auto mt-4 hidden h-1.5 w-12 shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block",i?.handle)}),t]})]})}function v({className:t,...r}){return e("div",{className:a("flex flex-col gap-1.5 p-4",t),"data-slot":"drawer-header",...r})}function f({className:t,...r}){return e("main",{className:a("overflow-auto px-4 py-2",t),"data-slot":"drawer-body",...r})}function g({className:t,...r}){return e("div",{className:a("mt-auto flex flex-col gap-2 p-4",t),"data-slot":"drawer-footer",...r})}function P({className:t,...r}){return e(o.Title,{className:a("text-foreground font-semibold",t),"data-slot":"drawer-title",...r})}function D({className:t,...r}){return e(o.Description,{className:a("text-muted-foreground text-sm",t),"data-slot":"drawer-description",...r})}function x({className:t,size:r,variant:i="outline",...n}){return e(o.Close,{className:d({className:t,size:r,variant:i}),"data-slot":"drawer-close",...n})}export{u as a,w as b,c,v as d,f as e,g as f,P as g,D as h,x as i};
2
- //# sourceMappingURL=chunk-KNCCX2RR.js.map
1
+ "use client";import{a as d}from"./chunk-HTXXCU4P.js";import{a}from"./chunk-WJXRZTW3.js";import{Drawer as o}from"vaul";import{jsx as e,jsxs as l}from"react/jsx-runtime";function p({shouldScaleBackground:t=!0,...r}){return e(o.Root,{"data-slot":"drawer",shouldScaleBackground:t,...r})}function w({...t}){return e(o.Trigger,{"data-slot":"drawer-trigger",...t})}function c({children:t,className:r,classNames:i,...n}){return l(o.Portal,{children:[e(o.Overlay,{className:a("bg-popover-overlay fixed inset-0 z-50",i?.overlay),"data-slot":"drawer-overlay"}),l(o.Content,{className:a("group/drawer-content bg-background fixed z-50 flex h-auto flex-col data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=bottom]:rounded-t-2xl data-[vaul-drawer-direction=top]:rounded-b-2xl data-[vaul-drawer-direction=left]:sm:max-w-sm data-[vaul-drawer-direction=right]:sm:max-w-sm",i?.content,r),"data-slot":"drawer-content",...n,children:[e("div",{className:a("bg-muted mx-auto mt-4 hidden h-1.5 w-12 shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block",i?.handle)}),t]})]})}function v({className:t,...r}){return e("div",{className:a("flex flex-col gap-1.5 p-4",t),"data-slot":"drawer-header",...r})}function f({className:t,...r}){return e("main",{className:a("overflow-auto px-4 py-2",t),"data-slot":"drawer-body",...r})}function g({className:t,...r}){return e("div",{className:a("mt-auto flex flex-col gap-2 p-4",t),"data-slot":"drawer-footer",...r})}function P({className:t,...r}){return e(o.Title,{className:a("text-foreground font-semibold",t),"data-slot":"drawer-title",...r})}function D({className:t,...r}){return e(o.Description,{className:a("text-muted-foreground text-sm",t),"data-slot":"drawer-description",...r})}function x({className:t,size:r,variant:i="outline",...n}){return e(o.Close,{className:d({className:t,size:r,variant:i}),"data-slot":"drawer-close",...n})}export{p as a,w as b,c,v as d,f as e,g as f,P as g,D as h,x as i};
2
+ //# sourceMappingURL=chunk-T6TXDUNF.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/drawer.tsx"],"names":["DrawerPrimitive","jsx","jsxs","Drawer","shouldScaleBackground","props","DrawerTrigger","DrawerContent","children","className","classNames","cn","DrawerHeader","DrawerBody","DrawerFooter","DrawerTitle","DrawerDescription","DrawerClose","size","variant","buttonVariants"],"mappings":"2EAIA,OAAS,UAAUA,MAAuB,OAYjC,cAAAC,EAiCH,QAAAC,MAjCG,oBADT,SAASC,EAAO,CAAE,sBAAAC,EAAwB,GAAM,GAAGC,CAAM,EAA6D,CACpH,OAAOJ,EAACD,EAAgB,KAAhB,CAAqB,YAAU,SAAS,sBAAuBI,EAAwB,GAAGC,EAAO,CAC3G,CAMA,SAASC,EAAc,CAAE,GAAGD,CAAM,EAAgE,CAChG,OAAOJ,EAACD,EAAgB,QAAhB,CAAwB,YAAU,iBAAkB,GAAGK,EAAO,CACxE,CAMA,SAASE,EAAc,CACrB,SAAAC,EACA,UAAAC,EACA,WAAAC,EACA,GAAGL,CACL,EAMgB,CACd,OACEH,EAACF,EAAgB,OAAhB,CACC,UAAAC,EAACD,EAAgB,QAAhB,CACC,UAAWW,EAAG,wCAAyCD,GAAY,OAAO,EAC1E,YAAU,iBACZ,EACAR,EAACF,EAAgB,QAAhB,CACC,UAAW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ive } from 'vaul';\n\nimport type { VariantProps } from '@/lib/utils';\n\nimport { buttonVariants } from '@/components/button';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Drawer\n * -------------------------------------------------------------------------- */\n\nfunction Drawer({ shouldScaleBackground = true, ...props }: ComponentProps<typeof DrawerPrimitive.Root>): JSX.Element {\n return <DrawerPrimitive.Root data-slot=\"drawer\" shouldScaleBackground={shouldScaleBackground} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerTrigger\n * -------------------------------------------------------------------------- */\n\nfunction DrawerTrigger({ ...props }: ComponentProps<typeof DrawerPrimitive.Trigger>): JSX.Element {\n return <DrawerPrimitive.Trigger data-slot=\"drawer-trigger\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerContent\n * -------------------------------------------------------------------------- */\n\nfunction DrawerContent({\n children,\n className,\n classNames,\n ...props\n}: ComponentProps<typeof DrawerPrimitive.Content> & {\n classNames?: {\n content?: string;\n handle?: string;\n overlay?: string;\n };\n}): JSX.Element {\n return (\n <DrawerPrimitive.Portal>\n <DrawerPrimitive.Overlay\n className={cn('bg-popover-overlay fixed inset-0 z-50', classNames?.overlay)}\n data-slot=\"drawer-overlay\"\n />\n <DrawerPrimitive.Content\n className={cn(\n 'group/drawer-content bg-background fixed z-50 flex h-auto flex-col data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=bottom]:rounded-t-2xl data-[vaul-drawer-direction=top]:rounded-b-2xl data-[vaul-drawer-direction=left]:sm:max-w-sm data-[vaul-drawer-direction=right]:sm:max-w-sm',\n classNames?.content,\n className,\n )}\n data-slot=\"drawer-content\"\n {...props}\n >\n <div\n className={cn(\n 'bg-muted mx-auto mt-4 hidden h-1.5 w-12 shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block',\n classNames?.handle,\n )}\n />\n {children}\n </DrawerPrimitive.Content>\n </DrawerPrimitive.Portal>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerHeader\n * -------------------------------------------------------------------------- */\n\nfunction DrawerHeader({ className, ...props }: ComponentProps<'div'>): JSX.Element {\n return <div className={cn('flex flex-col gap-1.5 p-4', className)} data-slot=\"drawer-header\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerBody\n * -------------------------------------------------------------------------- */\n\nfunction DrawerBody({ className, ...props }: ComponentProps<'div'>): JSX.Element {\n return <main className={cn('overflow-auto px-4 py-2', className)} data-slot=\"drawer-body\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerFooter\n * -------------------------------------------------------------------------- */\n\nfunction DrawerFooter({ className, ...props }: ComponentProps<'div'>): JSX.Element {\n return <div className={cn('mt-auto flex flex-col gap-2 p-4', className)} data-slot=\"drawer-footer\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerTitle\n * -------------------------------------------------------------------------- */\n\nfunction DrawerTitle({ className, ...props }: ComponentProps<typeof DrawerPrimitive.Title>): JSX.Element {\n return (\n <DrawerPrimitive.Title\n className={cn('text-foreground font-semibold', className)}\n data-slot=\"drawer-title\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerDescription\n * -------------------------------------------------------------------------- */\n\nfunction DrawerDescription({ className, ...props }: ComponentProps<typeof DrawerPrimitive.Description>): JSX.Element {\n return (\n <DrawerPrimitive.Description\n className={cn('text-muted-foreground text-sm', className)}\n data-slot=\"drawer-description\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerClose\n * -------------------------------------------------------------------------- */\n\nfunction DrawerClose({\n className,\n size,\n variant = 'outline',\n ...props\n}: ComponentProps<typeof DrawerPrimitive.Close> & {\n size?: VariantProps<typeof buttonVariants>['size'];\n variant?: VariantProps<typeof buttonVariants>['variant'];\n}): JSX.Element {\n return (\n <DrawerPrimitive.Close\n className={buttonVariants({ className, size, variant })}\n data-slot=\"drawer-close\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Drawer,\n DrawerBody,\n DrawerClose,\n DrawerContent,\n DrawerDescription,\n DrawerFooter,\n DrawerHeader,\n DrawerTitle,\n DrawerTrigger,\n};\n"]}
@@ -1,2 +1,2 @@
1
- import{a}from"./chunk-KWNBGPPE.js";import{jsx as o}from"react/jsx-runtime";function l({className:t,...e}){return o("div",{className:"relative w-full overflow-auto","data-slot":"table-cotainer",children:o("table",{className:a("w-full caption-bottom text-sm",t),"data-slot":"table",...e})})}function r({className:t,...e}){return o("thead",{className:a("*:has-aria-expanded:bg-transparent *:border-b",t),"data-slot":"table-header",...e})}function d({className:t,...e}){return o("tbody",{className:a("*:last-child:border-0",t),"data-slot":"table-body",...e})}function s({className:t,...e}){return o("tfoot",{className:a("bg-muted/50 *:has-aria-expanded:bg-transparent font-medium *:border-b-0 *:border-t",t),"data-slot":"table-footer",...e})}function m({className:t,...e}){return o("tr",{className:a("hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",t),"data-slot":"table-row",...e})}function b({className:t,...e}){return o("th",{className:a("p-2 text-left align-middle font-medium",t),"data-slot":"table-head",...e})}function p({className:t,...e}){return o("td",{className:a("p-2 align-middle",t),"data-slot":"table-cell",...e})}function i({className:t,...e}){return o("caption",{className:a("text-muted-foreground mt-4 text-sm",t),"data-slot":"table-caption",...e})}export{l as a,r as b,d as c,s as d,m as e,b as f,p as g,i as h};
2
- //# sourceMappingURL=chunk-SNR6C2TD.js.map
1
+ import{a}from"./chunk-WJXRZTW3.js";import{jsx as o}from"react/jsx-runtime";function l({className:t,...e}){return o("div",{className:"relative w-full overflow-auto","data-slot":"table-cotainer",children:o("table",{className:a("w-full caption-bottom text-sm",t),"data-slot":"table",...e})})}function r({className:t,...e}){return o("thead",{className:a("*:has-aria-expanded:bg-transparent *:border-b",t),"data-slot":"table-header",...e})}function d({className:t,...e}){return o("tbody",{className:a("*:last-child:border-0",t),"data-slot":"table-body",...e})}function s({className:t,...e}){return o("tfoot",{className:a("bg-muted/50 *:has-aria-expanded:bg-transparent font-medium *:border-b-0 *:border-t",t),"data-slot":"table-footer",...e})}function m({className:t,...e}){return o("tr",{className:a("hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",t),"data-slot":"table-row",...e})}function b({className:t,...e}){return o("th",{className:a("p-2 text-left align-middle font-medium",t),"data-slot":"table-head",...e})}function p({className:t,...e}){return o("td",{className:a("p-2 align-middle",t),"data-slot":"table-cell",...e})}function i({className:t,...e}){return o("caption",{className:a("text-muted-foreground mt-4 text-sm",t),"data-slot":"table-caption",...e})}export{l as a,r as b,d as c,s as d,m as e,b as f,p as g,i as h};
2
+ //# sourceMappingURL=chunk-TJITRPMB.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunk4QBKNZJKcjs = require('./chunk-4QBKNZJK.cjs');var _checkboxgroup = require('@codefast-ui/checkbox-group'); var e = _interopRequireWildcard(_checkboxgroup);var _lucidereact = require('lucide-react');var _jsxruntime = require('react/jsx-runtime');function d({className:i,...o}){return _jsxruntime.jsx.call(void 0, e.Root,{className:_chunk4QBKNZJKcjs.a.call(void 0, "grid gap-2",i),"data-slot":"checkbox-group",...o})}function s({className:i,...o}){return _jsxruntime.jsx.call(void 0, e.Item,{className:_chunk4QBKNZJKcjs.a.call(void 0, "border-input text-primary-foreground shadow-xs outline-hidden hover:not-disabled:not-aria-checked:border-ring/60 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-3 focus-visible:aria-checked:ring-primary/20 dark:focus-visible:aria-checked:ring-primary/40 aria-checked:border-primary aria-checked:bg-primary aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-checked:aria-invalid:bg-destructive hover:not-disabled:not-aria-checked:aria-invalid:border-destructive/60 dark:bg-input/30 peer flex size-4 shrink-0 items-center justify-center rounded-sm border transition disabled:opacity-50",i),"data-slot":"checkbox-group-item",...o,children:_jsxruntime.jsx.call(void 0, e.CheckboxGroupIndicator,{className:"flex items-center justify-center text-current transition-none","data-slot":"checkbox-group-indicator",children:_jsxruntime.jsx.call(void 0, _lucidereact.CheckIcon,{className:"size-3.5"})})})}exports.a = d; exports.b = s;
2
- //# sourceMappingURL=chunk-2HRC7KM5.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkDUQZVKJKcjs = require('./chunk-DUQZVKJK.cjs');var _checkboxgroup = require('@codefast-ui/checkbox-group'); var e = _interopRequireWildcard(_checkboxgroup);var _lucidereact = require('lucide-react');var _jsxruntime = require('react/jsx-runtime');function d({className:i,...o}){return _jsxruntime.jsx.call(void 0, e.Root,{className:_chunkDUQZVKJKcjs.a.call(void 0, "grid gap-2",i),"data-slot":"checkbox-group",...o})}function s({className:i,...o}){return _jsxruntime.jsx.call(void 0, e.Item,{className:_chunkDUQZVKJKcjs.a.call(void 0, "border-input text-primary-foreground shadow-xs outline-hidden hover:not-disabled:not-aria-checked:border-ring/60 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-3 focus-visible:aria-checked:ring-primary/20 dark:focus-visible:aria-checked:ring-primary/40 aria-checked:border-primary aria-checked:bg-primary aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-checked:aria-invalid:bg-destructive hover:not-disabled:not-aria-checked:aria-invalid:border-destructive/60 dark:bg-input/30 peer flex size-4 shrink-0 items-center justify-center rounded-sm border transition disabled:opacity-50",i),"data-slot":"checkbox-group-item",...o,children:_jsxruntime.jsx.call(void 0, e.CheckboxGroupIndicator,{className:"flex items-center justify-center text-current transition-none","data-slot":"checkbox-group-indicator",children:_jsxruntime.jsx.call(void 0, _lucidereact.CheckIcon,{className:"size-3.5"})})})}exports.a = d; exports.b = s;
2
+ //# sourceMappingURL=chunk-TLE2J6KL.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-2HRC7KM5.cjs","../src/components/checkbox-group.tsx"],"names":["CheckboxGroup","className","props","jsx","cn","CheckboxGroupItem","CheckIcon"],"mappings":"AAAA,mZAAwC,6GCEA,2CACd,+CASjB,SADAA,CAAAA,CAAc,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAoE,CAC/G,OAAOC,6BAAAA,CAAwB,CAAA,IAAA,CAAvB,CAA4B,SAAA,CAAWC,iCAAAA,YAAG,CAAcH,CAAS,CAAA,CAAG,WAAA,CAAU,gBAAA,CAAkB,GAAGC,CAAAA,CAAO,CACpH,CAMA,SAASG,CAAAA,CAAkB,CAAE,SAAA,CAAAJ,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAoE,CACnH,OACEC,6BAAAA,CAAwB,CAAA,IAAA,CAAvB,CACC,SAAA,CAAWC,iCAAAA,0pBACT,CACAH,CACF,CAAA,CACA,WAAA,CAAU,qBAAA,CACT,GAAGC,CAAAA,CAEJ,QAAA,CAAAC,6BAAAA,CAAwB,CAAA,sBAAA,CAAvB,CACC,SAAA,CAAU,+DAAA,CACV,WAAA,CAAU,0BAAA,CAEV,QAAA,CAAAA,6BAAAA,sBAACG,CAAA,CAAU,SAAA,CAAU,UAAA,CAAW,CAAA,CAClC,CAAA,CACF,CAEJ,CAAA,6BAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-2HRC7KM5.cjs","sourcesContent":[null,"import type { ComponentProps, JSX } from 'react';\n\nimport * as CheckboxGroupPrimitive from '@codefast-ui/checkbox-group';\nimport { CheckIcon } from 'lucide-react';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: CheckboxGroup\n * -------------------------------------------------------------------------- */\n\nfunction CheckboxGroup({ className, ...props }: ComponentProps<typeof CheckboxGroupPrimitive.Root>): JSX.Element {\n return <CheckboxGroupPrimitive.Root className={cn('grid gap-2', className)} data-slot=\"checkbox-group\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CheckboxGroupItem\n * -------------------------------------------------------------------------- */\n\nfunction CheckboxGroupItem({ className, ...props }: ComponentProps<typeof CheckboxGroupPrimitive.Item>): JSX.Element {\n return (\n <CheckboxGroupPrimitive.Item\n className={cn(\n 'border-input text-primary-foreground shadow-xs outline-hidden hover:not-disabled:not-aria-checked:border-ring/60 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-3 focus-visible:aria-checked:ring-primary/20 dark:focus-visible:aria-checked:ring-primary/40 aria-checked:border-primary aria-checked:bg-primary aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-checked:aria-invalid:bg-destructive hover:not-disabled:not-aria-checked:aria-invalid:border-destructive/60 dark:bg-input/30 peer flex size-4 shrink-0 items-center justify-center rounded-sm border transition disabled:opacity-50',\n className,\n )}\n data-slot=\"checkbox-group-item\"\n {...props}\n >\n <CheckboxGroupPrimitive.CheckboxGroupIndicator\n className=\"flex items-center justify-center text-current transition-none\"\n data-slot=\"checkbox-group-indicator\"\n >\n <CheckIcon className=\"size-3.5\" />\n </CheckboxGroupPrimitive.CheckboxGroupIndicator>\n </CheckboxGroupPrimitive.Item>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { CheckboxGroup, CheckboxGroupItem };\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-TLE2J6KL.cjs","../src/components/checkbox-group.tsx"],"names":["CheckboxGroup","className","props","jsx","cn","CheckboxGroupItem","CheckIcon"],"mappings":"AAAA,mZAAwC,6GCEA,2CACd,+CASjB,SADAA,CAAAA,CAAc,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAoE,CAC/G,OAAOC,6BAAAA,CAAwB,CAAA,IAAA,CAAvB,CAA4B,SAAA,CAAWC,iCAAAA,YAAG,CAAcH,CAAS,CAAA,CAAG,WAAA,CAAU,gBAAA,CAAkB,GAAGC,CAAAA,CAAO,CACpH,CAMA,SAASG,CAAAA,CAAkB,CAAE,SAAA,CAAAJ,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAoE,CACnH,OACEC,6BAAAA,CAAwB,CAAA,IAAA,CAAvB,CACC,SAAA,CAAWC,iCAAAA,0pBACT,CACAH,CACF,CAAA,CACA,WAAA,CAAU,qBAAA,CACT,GAAGC,CAAAA,CAEJ,QAAA,CAAAC,6BAAAA,CAAwB,CAAA,sBAAA,CAAvB,CACC,SAAA,CAAU,+DAAA,CACV,WAAA,CAAU,0BAAA,CAEV,QAAA,CAAAA,6BAAAA,sBAACG,CAAA,CAAU,SAAA,CAAU,UAAA,CAAW,CAAA,CAClC,CAAA,CACF,CAEJ,CAAA,6BAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-TLE2J6KL.cjs","sourcesContent":[null,"import type { ComponentProps, JSX } from 'react';\n\nimport * as CheckboxGroupPrimitive from '@codefast-ui/checkbox-group';\nimport { CheckIcon } from 'lucide-react';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: CheckboxGroup\n * -------------------------------------------------------------------------- */\n\nfunction CheckboxGroup({ className, ...props }: ComponentProps<typeof CheckboxGroupPrimitive.Root>): JSX.Element {\n return <CheckboxGroupPrimitive.Root className={cn('grid gap-2', className)} data-slot=\"checkbox-group\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CheckboxGroupItem\n * -------------------------------------------------------------------------- */\n\nfunction CheckboxGroupItem({ className, ...props }: ComponentProps<typeof CheckboxGroupPrimitive.Item>): JSX.Element {\n return (\n <CheckboxGroupPrimitive.Item\n className={cn(\n 'border-input text-primary-foreground shadow-xs outline-hidden hover:not-disabled:not-aria-checked:border-ring/60 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-3 focus-visible:aria-checked:ring-primary/20 dark:focus-visible:aria-checked:ring-primary/40 aria-checked:border-primary aria-checked:bg-primary aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-checked:aria-invalid:bg-destructive hover:not-disabled:not-aria-checked:aria-invalid:border-destructive/60 dark:bg-input/30 peer flex size-4 shrink-0 items-center justify-center rounded-sm border transition disabled:opacity-50',\n className,\n )}\n data-slot=\"checkbox-group-item\"\n {...props}\n >\n <CheckboxGroupPrimitive.CheckboxGroupIndicator\n className=\"flex items-center justify-center text-current transition-none\"\n data-slot=\"checkbox-group-indicator\"\n >\n <CheckIcon className=\"size-3.5\" />\n </CheckboxGroupPrimitive.CheckboxGroupIndicator>\n </CheckboxGroupPrimitive.Item>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { CheckboxGroup, CheckboxGroupItem };\n"]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";var _chunk4QBKNZJKcjs = require('./chunk-4QBKNZJK.cjs');var _lucidereact = require('lucide-react');var _reactresizablepanels = require('react-resizable-panels'); var e = _interopRequireWildcard(_reactresizablepanels);var _jsxruntime = require('react/jsx-runtime');function p({className:a,...t}){return _jsxruntime.jsx.call(void 0, e.PanelGroup,{className:_chunk4QBKNZJKcjs.a.call(void 0, "flex size-full data-[panel-group-direction=vertical]:flex-col",a),"data-slot":"resizable-panel-group",...t})}function c({...a}){return _jsxruntime.jsx.call(void 0, e.Panel,{"data-slot":"resizable-panel",...a})}function d({className:a,withHandle:t,...l}){return _jsxruntime.jsx.call(void 0, e.PanelResizeHandle,{className:_chunk4QBKNZJKcjs.a.call(void 0, "bg-border focus-visible:bg-ring focus-visible:ring-ring/50 focus-visible:ring-3 outline-hidden relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",a),"data-slot":"resizable-handle",...l,children:t?_jsxruntime.jsx.call(void 0, "div",{className:"bg-border z-10 flex h-4 w-3 items-center justify-center rounded-sm border",children:_jsxruntime.jsx.call(void 0, _lucidereact.GripVerticalIcon,{className:"size-2.5"})}):null})}exports.a = p; exports.b = c; exports.c = d;
2
- //# sourceMappingURL=chunk-RDYII63G.cjs.map
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }"use client";var _chunkDUQZVKJKcjs = require('./chunk-DUQZVKJK.cjs');var _lucidereact = require('lucide-react');var _reactresizablepanels = require('react-resizable-panels'); var e = _interopRequireWildcard(_reactresizablepanels);var _jsxruntime = require('react/jsx-runtime');function p({className:a,...t}){return _jsxruntime.jsx.call(void 0, e.PanelGroup,{className:_chunkDUQZVKJKcjs.a.call(void 0, "flex size-full data-[panel-group-direction=vertical]:flex-col",a),"data-slot":"resizable-panel-group",...t})}function c({...a}){return _jsxruntime.jsx.call(void 0, e.Panel,{"data-slot":"resizable-panel",...a})}function d({className:a,withHandle:t,...l}){return _jsxruntime.jsx.call(void 0, e.PanelResizeHandle,{className:_chunkDUQZVKJKcjs.a.call(void 0, "bg-border focus-visible:bg-ring focus-visible:ring-ring/50 focus-visible:ring-3 outline-hidden relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",a),"data-slot":"resizable-handle",...l,children:t?_jsxruntime.jsx.call(void 0, "div",{className:"bg-border z-10 flex h-4 w-3 items-center justify-center rounded-sm border",children:_jsxruntime.jsx.call(void 0, _lucidereact.GripVerticalIcon,{className:"size-2.5"})}):null})}exports.a = p; exports.b = c; exports.c = d;
2
+ //# sourceMappingURL=chunk-TPO3DOKI.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-RDYII63G.cjs","../src/components/resizable.tsx"],"names":["ResizablePrimitive","className","cn","ResizablePanel","ResizableHandle","withHandle","jsx","GripVerticalIcon"],"mappings":"AAAA,uWAAY,CAAC,wDCIJ,2CACGA,sHAaR,+CAJF,SAAAC,CAAAA,CACA,CAAA,SAEA,CAAA,CAAA,CAAA,GACsB,CAAA,CAAA,CAAA,CAAA,OAAA,6BAAA,CAClB,CAAA,UAAWC,CAAG,CAAA,SAAA,CAAA,iCAAA,+DACd,CAAA,CAAA,CAAU,CAAA,WAAA,CAAA,uBAUhB,CAAA,GAASC,CAAAA,CAAe,CAAE,CAAA,SACxB,CAAA,CAAA,CAAA,GAA2B,CAAA,CAAA,CAAA,CAAA,OAAM,6BAAA,CAAA,CAAA,KAAA,CAAU,CAAA,WAAA,CAAA,iBAO7C,CAAA,GAASC,CAAAA,CAAgB,CACvB,CAAA,SAAAH,CAAAA,CACA,CAAA,SAAA,CAAAI,CAAAA,CACA,UAIA,CAAA,CAAA,CAAA,GACsB,CAAA,CAAA,CAAA,CAAA,OAAA,6BAAA,CAAA,CAAA,iBACPH,CACT,CAAA,SAAA,CAAA,iCAAA,0nBAGF,CAAA,CAAA,CAAU,CAAA,WAAA,CAAA,kBAGT,CAAA,GACCI,CAAAA,CAAC,QAAI,CAAA,CAAA,CAAA,6BAAA,KAAU,CAAA,CAAA,SAAA,CAAA,2EACZC,CAAA,QAAiB,CAAA,6BAAA,6BAAU,CAAA,CAAA,SAAW,CACzC,UAIR,CAAA,CAAA,CAAA,CAAA,CAAA,IAAA,CAAA,CAAA,CAAA,4CAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-RDYII63G.cjs","sourcesContent":[null,"'use client';\n\nimport type { ComponentProps, JSX } from 'react';\n\nimport { GripVerticalIcon } from 'lucide-react';\nimport * as ResizablePrimitive from 'react-resizable-panels';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: ResizablePanelGroup\n * -------------------------------------------------------------------------- */\n\nfunction ResizablePanelGroup({\n className,\n ...props\n}: ComponentProps<typeof ResizablePrimitive.PanelGroup>): JSX.Element {\n return (\n <ResizablePrimitive.PanelGroup\n className={cn('flex size-full data-[panel-group-direction=vertical]:flex-col', className)}\n data-slot=\"resizable-panel-group\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: ResizablePanel\n * -------------------------------------------------------------------------- */\n\nfunction ResizablePanel({ ...props }: ComponentProps<typeof ResizablePrimitive.Panel>): JSX.Element {\n return <ResizablePrimitive.Panel data-slot=\"resizable-panel\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: ResizableHandle\n * -------------------------------------------------------------------------- */\n\nfunction ResizableHandle({\n className,\n withHandle,\n ...props\n}: ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {\n withHandle?: boolean;\n}): JSX.Element {\n return (\n <ResizablePrimitive.PanelResizeHandle\n className={cn(\n 'bg-border focus-visible:bg-ring focus-visible:ring-ring/50 focus-visible:ring-3 outline-hidden relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90',\n className,\n )}\n data-slot=\"resizable-handle\"\n {...props}\n >\n {withHandle ? (\n <div className=\"bg-border z-10 flex h-4 w-3 items-center justify-center rounded-sm border\">\n <GripVerticalIcon className=\"size-2.5\" />\n </div>\n ) : null}\n </ResizablePrimitive.PanelResizeHandle>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { ResizableHandle, ResizablePanel, ResizablePanelGroup };\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-TPO3DOKI.cjs","../src/components/resizable.tsx"],"names":["ResizablePrimitive","className","cn","ResizablePanel","ResizableHandle","withHandle","jsx","GripVerticalIcon"],"mappings":"AAAA,uWAAY,CAAC,wDCIJ,2CACGA,sHAaR,+CAJF,SAAAC,CAAAA,CACA,CAAA,SAEA,CAAA,CAAA,CAAA,GACsB,CAAA,CAAA,CAAA,CAAA,OAAA,6BAAA,CAClB,CAAA,UAAWC,CAAG,CAAA,SAAA,CAAA,iCAAA,+DACd,CAAA,CAAA,CAAU,CAAA,WAAA,CAAA,uBAUhB,CAAA,GAASC,CAAAA,CAAe,CAAE,CAAA,SACxB,CAAA,CAAA,CAAA,GAA2B,CAAA,CAAA,CAAA,CAAA,OAAM,6BAAA,CAAA,CAAA,KAAA,CAAU,CAAA,WAAA,CAAA,iBAO7C,CAAA,GAASC,CAAAA,CAAgB,CACvB,CAAA,SAAAH,CAAAA,CACA,CAAA,SAAA,CAAAI,CAAAA,CACA,UAIA,CAAA,CAAA,CAAA,GACsB,CAAA,CAAA,CAAA,CAAA,OAAA,6BAAA,CAAA,CAAA,iBACPH,CACT,CAAA,SAAA,CAAA,iCAAA,0nBAGF,CAAA,CAAA,CAAU,CAAA,WAAA,CAAA,kBAGT,CAAA,GACCI,CAAAA,CAAC,QAAI,CAAA,CAAA,CAAA,6BAAA,KAAU,CAAA,CAAA,SAAA,CAAA,2EACZC,CAAA,QAAiB,CAAA,6BAAA,6BAAU,CAAA,CAAA,SAAW,CACzC,UAIR,CAAA,CAAA,CAAA,CAAA,CAAA,IAAA,CAAA,CAAA,CAAA,4CAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-TPO3DOKI.cjs","sourcesContent":[null,"'use client';\n\nimport type { ComponentProps, JSX } from 'react';\n\nimport { GripVerticalIcon } from 'lucide-react';\nimport * as ResizablePrimitive from 'react-resizable-panels';\n\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: ResizablePanelGroup\n * -------------------------------------------------------------------------- */\n\nfunction ResizablePanelGroup({\n className,\n ...props\n}: ComponentProps<typeof ResizablePrimitive.PanelGroup>): JSX.Element {\n return (\n <ResizablePrimitive.PanelGroup\n className={cn('flex size-full data-[panel-group-direction=vertical]:flex-col', className)}\n data-slot=\"resizable-panel-group\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: ResizablePanel\n * -------------------------------------------------------------------------- */\n\nfunction ResizablePanel({ ...props }: ComponentProps<typeof ResizablePrimitive.Panel>): JSX.Element {\n return <ResizablePrimitive.Panel data-slot=\"resizable-panel\" {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: ResizableHandle\n * -------------------------------------------------------------------------- */\n\nfunction ResizableHandle({\n className,\n withHandle,\n ...props\n}: ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {\n withHandle?: boolean;\n}): JSX.Element {\n return (\n <ResizablePrimitive.PanelResizeHandle\n className={cn(\n 'bg-border focus-visible:bg-ring focus-visible:ring-ring/50 focus-visible:ring-3 outline-hidden relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90',\n className,\n )}\n data-slot=\"resizable-handle\"\n {...props}\n >\n {withHandle ? (\n <div className=\"bg-border z-10 flex h-4 w-3 items-center justify-center rounded-sm border\">\n <GripVerticalIcon className=\"size-2.5\" />\n </div>\n ) : null}\n </ResizablePrimitive.PanelResizeHandle>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { ResizableHandle, ResizablePanel, ResizablePanelGroup };\n"]}
@@ -0,0 +1,2 @@
1
+ "use client";import{a as s}from"./chunk-DXPH5UHF.js";import{a}from"./chunk-WJXRZTW3.js";import{createContextScope as G}from"@radix-ui/react-context";import*as p from"@radix-ui/react-toggle-group";import{createToggleGroupScope as l}from"@radix-ui/react-toggle-group";import{jsx as m,jsxs as x}from"react/jsx-runtime";var c="ToggleGroup",[P]=G(c,[l]),u=l(),[T,v]=P(c);function C({__scopeToggleGroup:o,children:i,className:g,size:e,variant:t,...n}){let r=u(o);return m(T,{scope:o,size:e,variant:t,children:m(p.Root,{className:a("group/toggle-group flex w-fit items-center -space-x-px rounded-md",g),"data-size":e,"data-slot":"toggle-group","data-variant":t,...r,...n,children:i})})}var S="ToggleGroupItem";function I({__scopeToggleGroup:o,children:i,className:g,prefix:e,suffix:t,...n}){let{variant:r,size:d}=v(S,o),f=u(o);return x(p.Item,{className:s({className:["min-w-0 flex-1 shrink-0 rounded-none shadow-none first:rounded-l-md last:rounded-r-md focus:z-10 focus-visible:z-10",g],size:d,variant:r}),"data-slot":"toggle-group-item","data-variant":r,...f,...n,children:[e,i,t]})}export{C as a,I as b};
2
+ //# sourceMappingURL=chunk-U2XKYH2F.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/toggle-group.tsx"],"names":["createContextScope","ToggleGroupPrimitive","createToggleGroupScope","jsx","jsxs","TOGGLE_GROUP_NAME","createToggleGroupContext","useToggleGroupScope","ToggleGroupProvider","useToggleGroupContext","ToggleGroup","__scopeToggleGroup","children","className","size","variant","props","toggleGroupScope","cn","TOGGLE_GROUP_ITEM_NAME","ToggleGroupItem","prefix","suffix","toggleVariants"],"mappings":"2EAKA,OAAS,sBAAAA,MAA0B,0BACnC,UAAYC,MAA0B,+BACtC,OAAS,0BAAAC,MAA8B,+BAsCjC,cAAAC,EAqCF,QAAAC,MArCE,oBA3BN,IAAMC,EAAoB,cAIpB,CAACC,CAAwB,EAAIN,EAAmBK,EAAmB,CAACH,CAAsB,CAAC,EAE3FK,EAAsBL,EAAuB,EAE7C,CAACM,EAAqBC,CAAqB,EAC/CH,EAA8DD,CAAiB,EAMjF,SAASK,EAAY,CACnB,mBAAAC,EACA,SAAAC,EACA,UAAAC,EACA,KAAAC,EACA,QAAAC,EACA,GAAGC,CACL,EAAqH,CACnH,IAAMC,EAAmBV,EAAoBI,CAAkB,EAE/D,OACER,EAACK,EAAA,CAAoB,MAAOG,EAAoB,KAAMG,EAAM,QAASC,EACnE,SAAAZ,EAAsB,OAArB,CACC,UAAWe,EAAG,oEAAqEL,CAAS,EAC5F,YAAWC,EACX,YAAU,eACV,eAAcC,EACb,GAAGE,EACH,GAAGD,EAEH,SAAAJ,EACH,EACF,CAEJ,CAMA,IAAMO,EAAyB,kBAE/B,SAASC,EAAgB,CACvB,mBAAAT,EACA,SAAAC,EACA,UAAAC,EACA,OAAAQ,EACA,OAAAC,EACA,GAAGN,CACL,EAKgB,CACd,GAAM,CAAE,QAAAD,EAAS,KAAAD,CAAK,EAAIL,EAAsBU,EAAwBR,CAAkB,EACpFM,EAAmBV,EAAoBI,CAAkB,EAE/D,OACEP,EAAsB,OAArB,CACC,UAAWmB,EAAe,CACxB,UAAW,CACT,sHACAV,CACF,EACA,KAAAC,EACA,QAAAC,CACF,CAAC,EACD,YAAU,oBACV,eAAcA,EACb,GAAGE,EACH,GAAGD,EAEH,UAAAK,EACAT,EACAU,GACH,CAEJ","sourcesContent":["'use client';\n\nimport type { Scope } from '@radix-ui/react-context';\nimport type { ComponentProps, JSX, ReactNode } from 'react';\n\nimport { createContextScope } from '@radix-ui/react-context';\nimport * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';\nimport { createToggleGroupScope } from '@radix-ui/react-toggle-group';\n\nimport type { VariantProps } from '@/lib/utils';\n\nimport { toggleVariants } from '@/components/toggle';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Context: ToggleGroup\n * -------------------------------------------------------------------------- */\n\nconst TOGGLE_GROUP_NAME = 'ToggleGroup';\n\ntype ScopedProps<P> = P & { __scopeToggleGroup?: Scope };\n\nconst [createToggleGroupContext] = createContextScope(TOGGLE_GROUP_NAME, [createToggleGroupScope]);\n\nconst useToggleGroupScope = createToggleGroupScope();\n\nconst [ToggleGroupProvider, useToggleGroupContext] =\n createToggleGroupContext<VariantProps<typeof toggleVariants>>(TOGGLE_GROUP_NAME);\n\n/* -----------------------------------------------------------------------------\n * Component: ToggleGroup\n * -------------------------------------------------------------------------- */\n\nfunction ToggleGroup({\n __scopeToggleGroup,\n children,\n className,\n size,\n variant,\n ...props\n}: ScopedProps<ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>>): JSX.Element {\n const toggleGroupScope = useToggleGroupScope(__scopeToggleGroup);\n\n return (\n <ToggleGroupProvider scope={__scopeToggleGroup} size={size} variant={variant}>\n <ToggleGroupPrimitive.Root\n className={cn('group/toggle-group flex w-fit items-center -space-x-px rounded-md', className)}\n data-size={size}\n data-slot=\"toggle-group\"\n data-variant={variant}\n {...toggleGroupScope}\n {...props}\n >\n {children}\n </ToggleGroupPrimitive.Root>\n </ToggleGroupProvider>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: ToggleGroupItem\n * -------------------------------------------------------------------------- */\n\nconst TOGGLE_GROUP_ITEM_NAME = 'ToggleGroupItem';\n\nfunction ToggleGroupItem({\n __scopeToggleGroup,\n children,\n className,\n prefix,\n suffix,\n ...props\n}: ScopedProps<\n Omit<ComponentProps<typeof ToggleGroupPrimitive.Item>, 'prefix'> & {\n prefix?: ReactNode;\n suffix?: ReactNode;\n }\n>): JSX.Element {\n const { variant, size } = useToggleGroupContext(TOGGLE_GROUP_ITEM_NAME, __scopeToggleGroup);\n const toggleGroupScope = useToggleGroupScope(__scopeToggleGroup);\n\n return (\n <ToggleGroupPrimitive.Item\n className={toggleVariants({\n className: [\n 'min-w-0 flex-1 shrink-0 rounded-none shadow-none first:rounded-l-md last:rounded-r-md focus:z-10 focus-visible:z-10',\n className,\n ],\n size,\n variant,\n })}\n data-slot=\"toggle-group-item\"\n data-variant={variant}\n {...toggleGroupScope}\n {...props}\n >\n {prefix}\n {children}\n {suffix}\n </ToggleGroupPrimitive.Item>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { ToggleGroup, ToggleGroupItem };\n"]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkC4E2SCVXcjs = require('./chunk-C4E2SCVX.cjs');var _chunkDUQZVKJKcjs = require('./chunk-DUQZVKJK.cjs');var _reactdialog = require('@radix-ui/react-dialog'); var e = _interopRequireWildcard(_reactdialog);var _lucidereact = require('lucide-react');var _jsxruntime = require('react/jsx-runtime');var h=_chunkDUQZVKJKcjs.b.call(void 0, {base:"bg-background animation-ease-in-out data-[state=open]:animate-in data-[state=open]:animation-duration-500 data-[state=closed]:animate-out data-[state=closed]:animation-duration-500 fixed z-50 flex flex-col overflow-auto shadow-lg",variants:{side:{bottom:"data-[state=open]:slide-in-from-bottom data-[state=closed]:slide-out-to-bottom inset-x-0 bottom-0 max-h-[80vh] border-t",left:"data-[state=open]:slide-in-from-left data-[state=closed]:slide-out-to-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",right:"data-[state=open]:slide-in-from-right data-[state=closed]:slide-out-to-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",top:"data-[state=open]:slide-in-from-top data-[state=closed]:slide-out-to-top inset-x-0 top-0 max-h-[80vh] border-b"}},defaultVariants:{side:"right"}});function S({children:t,...o}){return _jsxruntime.jsx.call(void 0, e.Root,{"data-slot":"sheet",...o,children:t})}function v({...t}){return _jsxruntime.jsx.call(void 0, e.Trigger,{"data-slot":"sheet-trigger",...t})}function P({children:t,className:o,classNames:n,side:s="right",...d}){return _jsxruntime.jsxs.call(void 0, e.Portal,{children:[_jsxruntime.jsx.call(void 0, e.Overlay,{className:_chunkDUQZVKJKcjs.a.call(void 0, "bg-popover-overlay data-[state=open]:animate-fade-in data-[state=open]:animation-duration-500 data-[state=closed]:animate-fade-out data-[state=closed]:animation-duration-500 fixed inset-0 z-50",_optionalChain([n, 'optionalAccess', _ => _.overlay])),"data-slot":"sheet-overlay"}),_jsxruntime.jsxs.call(void 0, e.Content,{className:h({className:[_optionalChain([n, 'optionalAccess', _2 => _2.content]),o],side:s}),"data-slot":"sheet-content",...d,children:[t,_jsxruntime.jsxs.call(void 0, e.Close,{className:_chunkC4E2SCVXcjs.a.call(void 0, {className:["absolute right-4 top-4 size-7",_optionalChain([n, 'optionalAccess', _3 => _3.close])],size:"icon",variant:"ghost"}),"data-slot":"sheet-close",children:[_jsxruntime.jsx.call(void 0, _lucidereact.XIcon,{className:"size-4"}),_jsxruntime.jsx.call(void 0, "span",{className:"sr-only",children:"Close"})]})]})]})}function g({className:t,...o}){return _jsxruntime.jsx.call(void 0, "header",{className:_chunkDUQZVKJKcjs.a.call(void 0, "flex shrink-0 flex-col gap-1.5 px-6 pb-4 pt-6 text-center sm:text-left",t),"data-slot":"sheet-header",...o})}function x({className:t,...o}){return _jsxruntime.jsx.call(void 0, "main",{className:_chunkDUQZVKJKcjs.a.call(void 0, "px-6 py-2",t),"data-slot":"sheet-body",...o})}function y({className:t,...o}){return _jsxruntime.jsx.call(void 0, "footer",{className:_chunkDUQZVKJKcjs.a.call(void 0, "flex shrink-0 flex-col-reverse gap-2 px-6 pb-6 pt-4 sm:flex-row sm:justify-end",t),"data-slot":"sheet-footer",...o})}function b({className:t,...o}){return _jsxruntime.jsx.call(void 0, e.Title,{className:_chunkDUQZVKJKcjs.a.call(void 0, "text-foreground text-lg font-semibold",t),"data-slot":"sheet-title",...o})}function C({className:t,...o}){return _jsxruntime.jsx.call(void 0, e.Description,{className:_chunkDUQZVKJKcjs.a.call(void 0, "text-muted-foreground text-sm",t),"data-slot":"sheet-description",...o})}function N({className:t,size:o,variant:n="outline",...s}){return _jsxruntime.jsx.call(void 0, e.Close,{className:_chunkC4E2SCVXcjs.a.call(void 0, {className:t,size:o,variant:n}),"data-slot":"sheet-close",...s})}exports.a = S; exports.b = v; exports.c = P; exports.d = g; exports.e = x; exports.f = y; exports.g = b; exports.h = C; exports.i = N;
2
+ //# sourceMappingURL=chunk-UQ6AIWI7.cjs.map