@codefast/ui 0.1.16 → 0.1.18

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 (582) hide show
  1. package/dist/chunk-27CWL4U2.cjs +2 -0
  2. package/dist/chunk-27CWL4U2.cjs.map +1 -0
  3. package/dist/chunk-2FNUMFAC.js +2 -0
  4. package/dist/chunk-2FNUMFAC.js.map +1 -0
  5. package/dist/chunk-2HQLZ4XL.js +2 -0
  6. package/dist/chunk-2HQLZ4XL.js.map +1 -0
  7. package/dist/chunk-2R3RTUT6.js +2 -0
  8. package/dist/chunk-2R3RTUT6.js.map +1 -0
  9. package/dist/chunk-33V2XGLI.cjs +2 -0
  10. package/dist/chunk-33V2XGLI.cjs.map +1 -0
  11. package/dist/chunk-35WF2CHJ.cjs +2 -0
  12. package/dist/chunk-35WF2CHJ.cjs.map +1 -0
  13. package/dist/chunk-3QPKYZVI.js +2 -0
  14. package/dist/chunk-3QPKYZVI.js.map +1 -0
  15. package/dist/chunk-3TTKAAKJ.js +2 -0
  16. package/dist/chunk-3TTKAAKJ.js.map +1 -0
  17. package/dist/{chunk-4ZUKMN2S.js → chunk-43VUWOQI.js} +2 -2
  18. package/dist/chunk-43VUWOQI.js.map +1 -0
  19. package/dist/chunk-4GCPJSL4.cjs +2 -0
  20. package/dist/chunk-4GCPJSL4.cjs.map +1 -0
  21. package/dist/chunk-4K3DJLPZ.js +1 -0
  22. package/dist/chunk-4K3DJLPZ.js.map +1 -0
  23. package/dist/chunk-4MLITJD2.cjs +2 -0
  24. package/dist/chunk-4MLITJD2.cjs.map +1 -0
  25. package/dist/chunk-4OKPZDVZ.cjs +2 -0
  26. package/dist/chunk-4OKPZDVZ.cjs.map +1 -0
  27. package/dist/{chunk-YGWCQ264.cjs → chunk-5JIVDHL5.cjs} +2 -2
  28. package/dist/{chunk-YGWCQ264.cjs.map → chunk-5JIVDHL5.cjs.map} +1 -1
  29. package/dist/{chunk-NXL44ABA.cjs → chunk-5PVMCKLW.cjs} +2 -2
  30. package/dist/{chunk-NXL44ABA.cjs.map → chunk-5PVMCKLW.cjs.map} +1 -1
  31. package/dist/chunk-5QLP2S5O.cjs +2 -0
  32. package/dist/chunk-5QLP2S5O.cjs.map +1 -0
  33. package/dist/chunk-5QV4JGG2.js +2 -0
  34. package/dist/chunk-5QV4JGG2.js.map +1 -0
  35. package/dist/{chunk-YGPIWXWP.js → chunk-5SBCSCS4.js} +2 -2
  36. package/dist/chunk-5SBCSCS4.js.map +1 -0
  37. package/dist/chunk-5VNNFVCL.cjs +2 -0
  38. package/dist/chunk-5VNNFVCL.cjs.map +1 -0
  39. package/dist/chunk-5XXQ7RTM.js +2 -0
  40. package/dist/chunk-5XXQ7RTM.js.map +1 -0
  41. package/dist/chunk-5YFOTPFZ.js +2 -0
  42. package/dist/chunk-5YFOTPFZ.js.map +1 -0
  43. package/dist/chunk-5YMLEVEI.js +2 -0
  44. package/dist/chunk-5YMLEVEI.js.map +1 -0
  45. package/dist/{chunk-SL4DH4JN.cjs → chunk-6B5BJVT2.cjs} +2 -2
  46. package/dist/{chunk-SL4DH4JN.cjs.map → chunk-6B5BJVT2.cjs.map} +1 -1
  47. package/dist/chunk-6XHYHG3Z.cjs +2 -0
  48. package/dist/chunk-6XHYHG3Z.cjs.map +1 -0
  49. package/dist/chunk-7AFL322T.cjs +2 -0
  50. package/dist/chunk-7AFL322T.cjs.map +1 -0
  51. package/dist/chunk-7UKH2QZD.js +2 -0
  52. package/dist/chunk-7UKH2QZD.js.map +1 -0
  53. package/dist/chunk-AAWRKPOC.cjs +2 -0
  54. package/dist/chunk-AAWRKPOC.cjs.map +1 -0
  55. package/dist/chunk-AIQVVCKS.js +2 -0
  56. package/dist/chunk-AIQVVCKS.js.map +1 -0
  57. package/dist/chunk-AKJBZRRU.js +2 -0
  58. package/dist/chunk-AKJBZRRU.js.map +1 -0
  59. package/dist/{chunk-ONMU2LFX.js → chunk-AKXCF7X4.js} +2 -2
  60. package/dist/chunk-AKXCF7X4.js.map +1 -0
  61. package/dist/chunk-ASPYPA2M.js +2 -0
  62. package/dist/chunk-ASPYPA2M.js.map +1 -0
  63. package/dist/chunk-B3D2QCP5.cjs +2 -0
  64. package/dist/chunk-B3D2QCP5.cjs.map +1 -0
  65. package/dist/chunk-B52E7NEF.cjs +2 -0
  66. package/dist/chunk-B52E7NEF.cjs.map +1 -0
  67. package/dist/chunk-BCUIDTE5.js +2 -0
  68. package/dist/chunk-BCUIDTE5.js.map +1 -0
  69. package/dist/chunk-BEZ77ZME.cjs +2 -0
  70. package/dist/chunk-BEZ77ZME.cjs.map +1 -0
  71. package/dist/{chunk-K4DIHWHX.js → chunk-BFSQCLKM.js} +2 -2
  72. package/dist/chunk-BFSQCLKM.js.map +1 -0
  73. package/dist/chunk-BIMRX5NA.js +2 -0
  74. package/dist/chunk-BIMRX5NA.js.map +1 -0
  75. package/dist/chunk-CDOYLZCL.cjs +2 -0
  76. package/dist/chunk-CDOYLZCL.cjs.map +1 -0
  77. package/dist/chunk-CDYYO7UL.cjs +2 -0
  78. package/dist/{chunk-4XRBMJ5Q.cjs.map → chunk-CDYYO7UL.cjs.map} +1 -1
  79. package/dist/chunk-CP3QTN62.js +2 -0
  80. package/dist/chunk-CP3QTN62.js.map +1 -0
  81. package/dist/chunk-CP6FV6U7.cjs +2 -0
  82. package/dist/chunk-CP6FV6U7.cjs.map +1 -0
  83. package/dist/chunk-CSM4BPHK.js +2 -0
  84. package/dist/chunk-CSM4BPHK.js.map +1 -0
  85. package/dist/chunk-CTFJ6YN5.js +2 -0
  86. package/dist/chunk-CTFJ6YN5.js.map +1 -0
  87. package/dist/chunk-CXJUY43F.js +2 -0
  88. package/dist/chunk-CXJUY43F.js.map +1 -0
  89. package/dist/chunk-DES7PGJQ.js +2 -0
  90. package/dist/chunk-DES7PGJQ.js.map +1 -0
  91. package/dist/chunk-DLHI7J72.cjs +2 -0
  92. package/dist/chunk-DLHI7J72.cjs.map +1 -0
  93. package/dist/chunk-DNB5HOPM.cjs +2 -0
  94. package/dist/chunk-DNB5HOPM.cjs.map +1 -0
  95. package/dist/chunk-ER3YAOW7.cjs +2 -0
  96. package/dist/chunk-ER3YAOW7.cjs.map +1 -0
  97. package/dist/chunk-ETORSGGH.js +2 -0
  98. package/dist/chunk-ETORSGGH.js.map +1 -0
  99. package/dist/chunk-EVPJIYLO.cjs +2 -0
  100. package/dist/chunk-EVPJIYLO.cjs.map +1 -0
  101. package/dist/chunk-F5F6O3D5.cjs +2 -0
  102. package/dist/chunk-F5F6O3D5.cjs.map +1 -0
  103. package/dist/chunk-FCYJHKDR.js +2 -0
  104. package/dist/chunk-FCYJHKDR.js.map +1 -0
  105. package/dist/chunk-FLTWEYQD.js +2 -0
  106. package/dist/chunk-FLTWEYQD.js.map +1 -0
  107. package/dist/{chunk-V3MHNDPX.js → chunk-FRWLZHLM.js} +2 -2
  108. package/dist/chunk-FRWLZHLM.js.map +1 -0
  109. package/dist/chunk-FVXOMQDN.js +2 -0
  110. package/dist/chunk-FVXOMQDN.js.map +1 -0
  111. package/dist/chunk-G4LJ5TN5.js +2 -0
  112. package/dist/chunk-G4LJ5TN5.js.map +1 -0
  113. package/dist/chunk-GT2CI77M.cjs +2 -0
  114. package/dist/chunk-GT2CI77M.cjs.map +1 -0
  115. package/dist/chunk-GV4VYFHE.cjs +2 -0
  116. package/dist/chunk-GV4VYFHE.cjs.map +1 -0
  117. package/dist/chunk-GZWZ3C2B.js +2 -0
  118. package/dist/chunk-GZWZ3C2B.js.map +1 -0
  119. package/dist/chunk-H5VHJLP5.cjs +2 -0
  120. package/dist/chunk-H5VHJLP5.cjs.map +1 -0
  121. package/dist/chunk-HEAE7KLN.cjs +1 -0
  122. package/dist/chunk-HEAE7KLN.cjs.map +1 -0
  123. package/dist/chunk-HZWT3MYB.js +2 -0
  124. package/dist/chunk-HZWT3MYB.js.map +1 -0
  125. package/dist/chunk-IE4KC75G.js +2 -0
  126. package/dist/chunk-IE4KC75G.js.map +1 -0
  127. package/dist/chunk-IEQSQZOB.js +2 -0
  128. package/dist/chunk-IEQSQZOB.js.map +1 -0
  129. package/dist/chunk-IIVGEI3E.cjs +2 -0
  130. package/dist/chunk-IIVGEI3E.cjs.map +1 -0
  131. package/dist/chunk-IOHKESMH.js +2 -0
  132. package/dist/chunk-IOHKESMH.js.map +1 -0
  133. package/dist/chunk-IR6R54CH.js +2 -0
  134. package/dist/chunk-IR6R54CH.js.map +1 -0
  135. package/dist/chunk-IZ2WPH7V.cjs +2 -0
  136. package/dist/chunk-IZ2WPH7V.cjs.map +1 -0
  137. package/dist/{chunk-UJ6WZQLY.cjs → chunk-J5AQYWQK.cjs} +2 -2
  138. package/dist/{chunk-UJ6WZQLY.cjs.map → chunk-J5AQYWQK.cjs.map} +1 -1
  139. package/dist/chunk-J5BWQWHW.cjs +2 -0
  140. package/dist/chunk-J5BWQWHW.cjs.map +1 -0
  141. package/dist/chunk-J6XTK2WS.js +2 -0
  142. package/dist/chunk-J6XTK2WS.js.map +1 -0
  143. package/dist/chunk-JP4APSVT.js +2 -0
  144. package/dist/chunk-JP4APSVT.js.map +1 -0
  145. package/dist/chunk-JQGHNRWR.cjs +2 -0
  146. package/dist/chunk-JQGHNRWR.cjs.map +1 -0
  147. package/dist/chunk-KCEGWWMN.cjs +2 -0
  148. package/dist/chunk-KCEGWWMN.cjs.map +1 -0
  149. package/dist/chunk-KFKF7F7I.cjs +2 -0
  150. package/dist/chunk-KFKF7F7I.cjs.map +1 -0
  151. package/dist/chunk-LEFHT4C6.cjs +2 -0
  152. package/dist/chunk-LEFHT4C6.cjs.map +1 -0
  153. package/dist/chunk-LK43D4XH.js +2 -0
  154. package/dist/chunk-LK43D4XH.js.map +1 -0
  155. package/dist/chunk-MC7CMUQL.js +2 -0
  156. package/dist/chunk-MC7CMUQL.js.map +1 -0
  157. package/dist/chunk-MI2JU67S.js +2 -0
  158. package/dist/chunk-MI2JU67S.js.map +1 -0
  159. package/dist/chunk-NB6KW2HB.cjs +2 -0
  160. package/dist/chunk-NB6KW2HB.cjs.map +1 -0
  161. package/dist/chunk-NCCK3ADO.js +1 -0
  162. package/dist/chunk-NCCK3ADO.js.map +1 -0
  163. package/dist/chunk-NSZM7NIM.cjs +2 -0
  164. package/dist/chunk-NSZM7NIM.cjs.map +1 -0
  165. package/dist/chunk-OIQJKJUR.js +2 -0
  166. package/dist/chunk-OIQJKJUR.js.map +1 -0
  167. package/dist/chunk-OPWVP2TV.cjs +2 -0
  168. package/dist/chunk-OPWVP2TV.cjs.map +1 -0
  169. package/dist/chunk-OQOAQWCY.cjs +2 -0
  170. package/dist/chunk-OQOAQWCY.cjs.map +1 -0
  171. package/dist/chunk-OS6IYK4A.cjs +2 -0
  172. package/dist/chunk-OS6IYK4A.cjs.map +1 -0
  173. package/dist/chunk-P3CZU2DV.js +2 -0
  174. package/dist/chunk-P3CZU2DV.js.map +1 -0
  175. package/dist/chunk-PCOYLJQH.js +2 -0
  176. package/dist/chunk-PCOYLJQH.js.map +1 -0
  177. package/dist/{chunk-V2GDHPHA.js → chunk-PFD7T33H.js} +2 -2
  178. package/dist/chunk-PFD7T33H.js.map +1 -0
  179. package/dist/chunk-PLI3333R.cjs +2 -0
  180. package/dist/chunk-PLI3333R.cjs.map +1 -0
  181. package/dist/chunk-PROR2VI7.cjs +2 -0
  182. package/dist/chunk-PROR2VI7.cjs.map +1 -0
  183. package/dist/chunk-PUI3QPHI.js +1 -0
  184. package/dist/chunk-PUI3QPHI.js.map +1 -0
  185. package/dist/chunk-Q2ONTCLL.cjs +2 -0
  186. package/dist/chunk-Q2ONTCLL.cjs.map +1 -0
  187. package/dist/chunk-Q5GVT3YP.js +2 -0
  188. package/dist/chunk-Q5GVT3YP.js.map +1 -0
  189. package/dist/chunk-Q5Z2DBJJ.cjs +2 -0
  190. package/dist/chunk-Q5Z2DBJJ.cjs.map +1 -0
  191. package/dist/chunk-Q6S43KW2.cjs +2 -0
  192. package/dist/chunk-Q6S43KW2.cjs.map +1 -0
  193. package/dist/chunk-QARMJ2BX.cjs +2 -0
  194. package/dist/chunk-QARMJ2BX.cjs.map +1 -0
  195. package/dist/chunk-QBLKF2OQ.cjs +2 -0
  196. package/dist/chunk-QBLKF2OQ.cjs.map +1 -0
  197. package/dist/chunk-QCAJZQPA.cjs +2 -0
  198. package/dist/chunk-QCAJZQPA.cjs.map +1 -0
  199. package/dist/{chunk-KJU47KXR.js → chunk-QPBSDXOA.js} +2 -2
  200. package/dist/chunk-QPBSDXOA.js.map +1 -0
  201. package/dist/chunk-QPRKJI37.cjs +2 -0
  202. package/dist/chunk-QPRKJI37.cjs.map +1 -0
  203. package/dist/chunk-QYM75EUF.cjs +2 -0
  204. package/dist/chunk-QYM75EUF.cjs.map +1 -0
  205. package/dist/chunk-RCCVQI3Z.js +2 -0
  206. package/dist/chunk-RCCVQI3Z.js.map +1 -0
  207. package/dist/chunk-RDIOSOBM.js +2 -0
  208. package/dist/chunk-RDIOSOBM.js.map +1 -0
  209. package/dist/{chunk-HE5BEJEK.cjs → chunk-RHJZA6L4.cjs} +2 -2
  210. package/dist/{chunk-HE5BEJEK.cjs.map → chunk-RHJZA6L4.cjs.map} +1 -1
  211. package/dist/chunk-RIGLYWUP.cjs +2 -0
  212. package/dist/chunk-RIGLYWUP.cjs.map +1 -0
  213. package/dist/chunk-RWA3QEPS.cjs +2 -0
  214. package/dist/chunk-RWA3QEPS.cjs.map +1 -0
  215. package/dist/chunk-S3EILQBS.js +2 -0
  216. package/dist/chunk-S3EILQBS.js.map +1 -0
  217. package/dist/chunk-SLU77BSY.js +2 -0
  218. package/dist/chunk-SLU77BSY.js.map +1 -0
  219. package/dist/chunk-SUDJHBSQ.js +2 -0
  220. package/dist/chunk-SUDJHBSQ.js.map +1 -0
  221. package/dist/{chunk-O4CKTS5M.cjs → chunk-T7TNKVNH.cjs} +2 -2
  222. package/dist/{chunk-O4CKTS5M.cjs.map → chunk-T7TNKVNH.cjs.map} +1 -1
  223. package/dist/chunk-TER25JG4.cjs +2 -0
  224. package/dist/chunk-TER25JG4.cjs.map +1 -0
  225. package/dist/chunk-TGEEGLYZ.js +2 -0
  226. package/dist/chunk-TGEEGLYZ.js.map +1 -0
  227. package/dist/{chunk-LSBI35ZE.cjs → chunk-TULN5SP4.cjs} +2 -2
  228. package/dist/{chunk-LSBI35ZE.cjs.map → chunk-TULN5SP4.cjs.map} +1 -1
  229. package/dist/chunk-TW56LZ5K.cjs +2 -0
  230. package/dist/chunk-TW56LZ5K.cjs.map +1 -0
  231. package/dist/chunk-U5IMPLGI.cjs +2 -0
  232. package/dist/chunk-U5IMPLGI.cjs.map +1 -0
  233. package/dist/chunk-UOP4X4QG.js +2 -0
  234. package/dist/chunk-UOP4X4QG.js.map +1 -0
  235. package/dist/chunk-UPHP6DHE.js +2 -0
  236. package/dist/chunk-UPHP6DHE.js.map +1 -0
  237. package/dist/chunk-UUVOQXVJ.js +2 -0
  238. package/dist/chunk-UUVOQXVJ.js.map +1 -0
  239. package/dist/chunk-V232PMZ4.cjs +2 -0
  240. package/dist/chunk-V232PMZ4.cjs.map +1 -0
  241. package/dist/chunk-V5DHFSNV.js +2 -0
  242. package/dist/chunk-V5DHFSNV.js.map +1 -0
  243. package/dist/chunk-V6OMAUGK.js +2 -0
  244. package/dist/chunk-V6OMAUGK.js.map +1 -0
  245. package/dist/chunk-VGZPSBY7.js +2 -0
  246. package/dist/chunk-VGZPSBY7.js.map +1 -0
  247. package/dist/chunk-VUCUZ262.js +2 -0
  248. package/dist/chunk-VUCUZ262.js.map +1 -0
  249. package/dist/chunk-VYK6H4U7.cjs +2 -0
  250. package/dist/chunk-VYK6H4U7.cjs.map +1 -0
  251. package/dist/chunk-VYNEGBOF.cjs +2 -0
  252. package/dist/chunk-VYNEGBOF.cjs.map +1 -0
  253. package/dist/chunk-WAEG45LP.cjs +1 -0
  254. package/dist/chunk-WAEG45LP.cjs.map +1 -0
  255. package/dist/chunk-WN3BBM3J.js +2 -0
  256. package/dist/chunk-WN3BBM3J.js.map +1 -0
  257. package/dist/chunk-WQ3CZQMX.js +2 -0
  258. package/dist/chunk-WQ3CZQMX.js.map +1 -0
  259. package/dist/{chunk-ULYEL7KW.cjs → chunk-WQX6L5IN.cjs} +2 -2
  260. package/dist/{chunk-ULYEL7KW.cjs.map → chunk-WQX6L5IN.cjs.map} +1 -1
  261. package/dist/chunk-WZYSDC53.js +2 -0
  262. package/dist/chunk-WZYSDC53.js.map +1 -0
  263. package/dist/chunk-XC7YE6XJ.cjs +2 -0
  264. package/dist/chunk-XC7YE6XJ.cjs.map +1 -0
  265. package/dist/chunk-XDGVANTO.js +2 -0
  266. package/dist/chunk-XDGVANTO.js.map +1 -0
  267. package/dist/chunk-XYI62TUR.cjs +2 -0
  268. package/dist/chunk-XYI62TUR.cjs.map +1 -0
  269. package/dist/chunk-Y3RT7JPO.cjs +1 -0
  270. package/dist/chunk-Y3RT7JPO.cjs.map +1 -0
  271. package/dist/chunk-YAXL5WDP.js +2 -0
  272. package/dist/chunk-YAXL5WDP.js.map +1 -0
  273. package/dist/chunk-YM5GXNZF.cjs +2 -0
  274. package/dist/chunk-YM5GXNZF.cjs.map +1 -0
  275. package/dist/{chunk-KXSZLRFH.js → chunk-Z2JLMR6B.js} +2 -2
  276. package/dist/chunk-Z2JLMR6B.js.map +1 -0
  277. package/dist/chunk-ZNGSZDXH.cjs +2 -0
  278. package/dist/chunk-ZNGSZDXH.cjs.map +1 -0
  279. package/dist/chunk-ZSY4WFKH.js +2 -0
  280. package/dist/chunk-ZSY4WFKH.js.map +1 -0
  281. package/dist/components/accordion.cjs +1 -1
  282. package/dist/components/accordion.cjs.map +1 -1
  283. package/dist/components/accordion.js +1 -1
  284. package/dist/components/accordion.js.map +1 -1
  285. package/dist/components/alert-dialog.cjs +1 -1
  286. package/dist/components/alert-dialog.cjs.map +1 -1
  287. package/dist/components/alert-dialog.js +1 -1
  288. package/dist/components/alert-dialog.js.map +1 -1
  289. package/dist/components/alert.cjs +1 -1
  290. package/dist/components/alert.cjs.map +1 -1
  291. package/dist/components/alert.js +1 -1
  292. package/dist/components/alert.js.map +1 -1
  293. package/dist/components/aspect-ratio.cjs +1 -1
  294. package/dist/components/aspect-ratio.cjs.map +1 -1
  295. package/dist/components/aspect-ratio.js +1 -1
  296. package/dist/components/aspect-ratio.js.map +1 -1
  297. package/dist/components/avatar.cjs +1 -1
  298. package/dist/components/avatar.cjs.map +1 -1
  299. package/dist/components/avatar.js +1 -1
  300. package/dist/components/avatar.js.map +1 -1
  301. package/dist/components/badge.cjs +1 -1
  302. package/dist/components/badge.cjs.map +1 -1
  303. package/dist/components/badge.js +1 -1
  304. package/dist/components/badge.js.map +1 -1
  305. package/dist/components/blockquote.cjs +1 -1
  306. package/dist/components/blockquote.cjs.map +1 -1
  307. package/dist/components/blockquote.js +1 -1
  308. package/dist/components/blockquote.js.map +1 -1
  309. package/dist/components/box.cjs +1 -1
  310. package/dist/components/box.cjs.map +1 -1
  311. package/dist/components/box.js +1 -1
  312. package/dist/components/box.js.map +1 -1
  313. package/dist/components/breadcrumb.cjs +1 -1
  314. package/dist/components/breadcrumb.cjs.map +1 -1
  315. package/dist/components/breadcrumb.js +1 -1
  316. package/dist/components/breadcrumb.js.map +1 -1
  317. package/dist/components/button.cjs +1 -1
  318. package/dist/components/button.js +1 -1
  319. package/dist/components/button.js.map +1 -1
  320. package/dist/components/calendar.cjs +1 -1
  321. package/dist/components/calendar.cjs.map +1 -1
  322. package/dist/components/calendar.js +1 -1
  323. package/dist/components/calendar.js.map +1 -1
  324. package/dist/components/card.cjs +1 -1
  325. package/dist/components/card.cjs.map +1 -1
  326. package/dist/components/card.js +1 -1
  327. package/dist/components/card.js.map +1 -1
  328. package/dist/components/carousel.cjs +1 -1
  329. package/dist/components/carousel.cjs.map +1 -1
  330. package/dist/components/carousel.js +1 -1
  331. package/dist/components/carousel.js.map +1 -1
  332. package/dist/components/checkbox-cards.cjs +1 -1
  333. package/dist/components/checkbox-cards.cjs.map +1 -1
  334. package/dist/components/checkbox-cards.js +1 -1
  335. package/dist/components/checkbox-cards.js.map +1 -1
  336. package/dist/components/checkbox-group.cjs +1 -1
  337. package/dist/components/checkbox-group.cjs.map +1 -1
  338. package/dist/components/checkbox-group.js +1 -1
  339. package/dist/components/checkbox-group.js.map +1 -1
  340. package/dist/components/checkbox.cjs +1 -1
  341. package/dist/components/checkbox.cjs.map +1 -1
  342. package/dist/components/checkbox.js +1 -1
  343. package/dist/components/checkbox.js.map +1 -1
  344. package/dist/components/code.cjs +1 -1
  345. package/dist/components/code.cjs.map +1 -1
  346. package/dist/components/code.js +1 -1
  347. package/dist/components/code.js.map +1 -1
  348. package/dist/components/collapsible.cjs +1 -1
  349. package/dist/components/collapsible.cjs.map +1 -1
  350. package/dist/components/collapsible.js +1 -1
  351. package/dist/components/collapsible.js.map +1 -1
  352. package/dist/components/command.cjs +1 -1
  353. package/dist/components/command.cjs.map +1 -1
  354. package/dist/components/command.d.cts +8 -8
  355. package/dist/components/command.d.ts +8 -8
  356. package/dist/components/command.js +1 -1
  357. package/dist/components/command.js.map +1 -1
  358. package/dist/components/container.cjs +1 -1
  359. package/dist/components/container.cjs.map +1 -1
  360. package/dist/components/container.js +1 -1
  361. package/dist/components/container.js.map +1 -1
  362. package/dist/components/context-menu.cjs +1 -1
  363. package/dist/components/context-menu.cjs.map +1 -1
  364. package/dist/components/context-menu.js +1 -1
  365. package/dist/components/context-menu.js.map +1 -1
  366. package/dist/components/data-table.cjs +1 -1
  367. package/dist/components/data-table.cjs.map +1 -1
  368. package/dist/components/data-table.js +1 -1
  369. package/dist/components/data-table.js.map +1 -1
  370. package/dist/components/dialog.cjs +1 -1
  371. package/dist/components/dialog.js +1 -1
  372. package/dist/components/dialog.js.map +1 -1
  373. package/dist/components/drawer.cjs +1 -1
  374. package/dist/components/drawer.cjs.map +1 -1
  375. package/dist/components/drawer.js +1 -1
  376. package/dist/components/drawer.js.map +1 -1
  377. package/dist/components/dropdown-menu.cjs +1 -1
  378. package/dist/components/dropdown-menu.js +1 -1
  379. package/dist/components/dropdown-menu.js.map +1 -1
  380. package/dist/components/em.cjs +1 -1
  381. package/dist/components/em.cjs.map +1 -1
  382. package/dist/components/em.js +1 -1
  383. package/dist/components/em.js.map +1 -1
  384. package/dist/components/form.cjs +1 -1
  385. package/dist/components/form.cjs.map +1 -1
  386. package/dist/components/form.js +1 -1
  387. package/dist/components/form.js.map +1 -1
  388. package/dist/components/heading.cjs +1 -1
  389. package/dist/components/heading.cjs.map +1 -1
  390. package/dist/components/heading.js +1 -1
  391. package/dist/components/heading.js.map +1 -1
  392. package/dist/components/hover-card.cjs +1 -1
  393. package/dist/components/hover-card.cjs.map +1 -1
  394. package/dist/components/hover-card.js +1 -1
  395. package/dist/components/hover-card.js.map +1 -1
  396. package/dist/components/index.cjs +2 -0
  397. package/dist/components/index.cjs.map +1 -0
  398. package/dist/components/index.d.cts +109 -0
  399. package/dist/components/index.d.ts +109 -0
  400. package/dist/components/index.js +2 -0
  401. package/dist/components/index.js.map +1 -0
  402. package/dist/components/input-otp.cjs +1 -1
  403. package/dist/components/input-otp.cjs.map +1 -1
  404. package/dist/components/input-otp.js +1 -1
  405. package/dist/components/input-otp.js.map +1 -1
  406. package/dist/components/kbd.cjs +1 -1
  407. package/dist/components/kbd.cjs.map +1 -1
  408. package/dist/components/kbd.js +1 -1
  409. package/dist/components/kbd.js.map +1 -1
  410. package/dist/components/label.cjs +1 -1
  411. package/dist/components/label.js +1 -1
  412. package/dist/components/label.js.map +1 -1
  413. package/dist/components/menubar.cjs +1 -1
  414. package/dist/components/menubar.cjs.map +1 -1
  415. package/dist/components/menubar.js +1 -1
  416. package/dist/components/menubar.js.map +1 -1
  417. package/dist/components/navigation-menu.cjs +1 -1
  418. package/dist/components/navigation-menu.cjs.map +1 -1
  419. package/dist/components/navigation-menu.js +1 -1
  420. package/dist/components/navigation-menu.js.map +1 -1
  421. package/dist/components/number-input.cjs +1 -1
  422. package/dist/components/number-input.cjs.map +1 -1
  423. package/dist/components/number-input.js +1 -1
  424. package/dist/components/number-input.js.map +1 -1
  425. package/dist/components/pagination.cjs +1 -1
  426. package/dist/components/pagination.cjs.map +1 -1
  427. package/dist/components/pagination.js +1 -1
  428. package/dist/components/pagination.js.map +1 -1
  429. package/dist/components/popover.cjs +1 -1
  430. package/dist/components/popover.cjs.map +1 -1
  431. package/dist/components/popover.js +1 -1
  432. package/dist/components/popover.js.map +1 -1
  433. package/dist/components/pre.cjs +1 -1
  434. package/dist/components/pre.cjs.map +1 -1
  435. package/dist/components/pre.js +1 -1
  436. package/dist/components/pre.js.map +1 -1
  437. package/dist/components/progress.cjs +1 -1
  438. package/dist/components/progress.cjs.map +1 -1
  439. package/dist/components/progress.js +1 -1
  440. package/dist/components/progress.js.map +1 -1
  441. package/dist/components/quote.cjs +1 -1
  442. package/dist/components/quote.cjs.map +1 -1
  443. package/dist/components/quote.js +1 -1
  444. package/dist/components/quote.js.map +1 -1
  445. package/dist/components/radio-cards.cjs +1 -1
  446. package/dist/components/radio-cards.cjs.map +1 -1
  447. package/dist/components/radio-cards.js +1 -1
  448. package/dist/components/radio-cards.js.map +1 -1
  449. package/dist/components/radio-group.cjs +1 -1
  450. package/dist/components/radio-group.cjs.map +1 -1
  451. package/dist/components/radio-group.js +1 -1
  452. package/dist/components/radio-group.js.map +1 -1
  453. package/dist/components/radio.cjs +1 -1
  454. package/dist/components/radio.cjs.map +1 -1
  455. package/dist/components/radio.js +1 -1
  456. package/dist/components/radio.js.map +1 -1
  457. package/dist/components/resizable.cjs +1 -1
  458. package/dist/components/resizable.cjs.map +1 -1
  459. package/dist/components/resizable.js +1 -1
  460. package/dist/components/resizable.js.map +1 -1
  461. package/dist/components/scroll-area.cjs +1 -1
  462. package/dist/components/scroll-area.cjs.map +1 -1
  463. package/dist/components/scroll-area.js +1 -1
  464. package/dist/components/scroll-area.js.map +1 -1
  465. package/dist/components/section.cjs +1 -1
  466. package/dist/components/section.cjs.map +1 -1
  467. package/dist/components/section.js +1 -1
  468. package/dist/components/section.js.map +1 -1
  469. package/dist/components/select.cjs +1 -1
  470. package/dist/components/select.js +1 -1
  471. package/dist/components/select.js.map +1 -1
  472. package/dist/components/separator.cjs +1 -1
  473. package/dist/components/separator.cjs.map +1 -1
  474. package/dist/components/separator.js +1 -1
  475. package/dist/components/separator.js.map +1 -1
  476. package/dist/components/sheet.cjs +1 -1
  477. package/dist/components/sheet.cjs.map +1 -1
  478. package/dist/components/sheet.js +1 -1
  479. package/dist/components/sheet.js.map +1 -1
  480. package/dist/components/skeleton.cjs +1 -1
  481. package/dist/components/skeleton.cjs.map +1 -1
  482. package/dist/components/skeleton.js +1 -1
  483. package/dist/components/skeleton.js.map +1 -1
  484. package/dist/components/slider.cjs +1 -1
  485. package/dist/components/slider.cjs.map +1 -1
  486. package/dist/components/slider.js +1 -1
  487. package/dist/components/slider.js.map +1 -1
  488. package/dist/components/sonner.cjs +1 -1
  489. package/dist/components/sonner.cjs.map +1 -1
  490. package/dist/components/sonner.js +1 -1
  491. package/dist/components/sonner.js.map +1 -1
  492. package/dist/components/spinner.cjs +1 -1
  493. package/dist/components/spinner.js +1 -1
  494. package/dist/components/spinner.js.map +1 -1
  495. package/dist/components/strong.cjs +1 -1
  496. package/dist/components/strong.cjs.map +1 -1
  497. package/dist/components/strong.js +1 -1
  498. package/dist/components/strong.js.map +1 -1
  499. package/dist/components/switch.cjs +1 -1
  500. package/dist/components/switch.cjs.map +1 -1
  501. package/dist/components/switch.js +1 -1
  502. package/dist/components/switch.js.map +1 -1
  503. package/dist/components/table.cjs +1 -1
  504. package/dist/components/table.cjs.map +1 -1
  505. package/dist/components/table.js +1 -1
  506. package/dist/components/table.js.map +1 -1
  507. package/dist/components/tabs.cjs +1 -1
  508. package/dist/components/tabs.cjs.map +1 -1
  509. package/dist/components/tabs.js +1 -1
  510. package/dist/components/tabs.js.map +1 -1
  511. package/dist/components/text-input.cjs +1 -1
  512. package/dist/components/text-input.cjs.map +1 -1
  513. package/dist/components/text-input.js +1 -1
  514. package/dist/components/text-input.js.map +1 -1
  515. package/dist/components/text.cjs +1 -1
  516. package/dist/components/text.cjs.map +1 -1
  517. package/dist/components/text.js +1 -1
  518. package/dist/components/text.js.map +1 -1
  519. package/dist/components/textarea.cjs +1 -1
  520. package/dist/components/textarea.cjs.map +1 -1
  521. package/dist/components/textarea.js +1 -1
  522. package/dist/components/textarea.js.map +1 -1
  523. package/dist/components/toggle-group.cjs +1 -1
  524. package/dist/components/toggle-group.cjs.map +1 -1
  525. package/dist/components/toggle-group.js +1 -1
  526. package/dist/components/toggle-group.js.map +1 -1
  527. package/dist/components/toggle.cjs +1 -1
  528. package/dist/components/toggle.cjs.map +1 -1
  529. package/dist/components/toggle.js +1 -1
  530. package/dist/components/toggle.js.map +1 -1
  531. package/dist/components/tooltip.cjs +1 -1
  532. package/dist/components/tooltip.cjs.map +1 -1
  533. package/dist/components/tooltip.js +1 -1
  534. package/dist/components/tooltip.js.map +1 -1
  535. package/dist/index.cjs +2 -0
  536. package/dist/index.cjs.map +1 -0
  537. package/dist/index.d.cts +111 -0
  538. package/dist/index.d.ts +111 -0
  539. package/dist/index.js +2 -0
  540. package/dist/index.js.map +1 -0
  541. package/dist/lib/index.cjs +2 -0
  542. package/dist/lib/index.cjs.map +1 -0
  543. package/dist/lib/index.d.cts +2 -0
  544. package/dist/lib/index.d.ts +2 -0
  545. package/dist/lib/index.js +2 -0
  546. package/dist/lib/index.js.map +1 -0
  547. package/dist/lib/utils.cjs +1 -1
  548. package/dist/lib/utils.js +1 -1
  549. package/dist/lib/utils.js.map +1 -1
  550. package/dist/styles/button-variants.cjs +1 -1
  551. package/dist/styles/button-variants.js +1 -1
  552. package/dist/styles/button-variants.js.map +1 -1
  553. package/dist/styles/index.cjs +2 -0
  554. package/dist/styles/index.cjs.map +1 -0
  555. package/dist/styles/index.d.cts +5 -0
  556. package/dist/styles/index.d.ts +5 -0
  557. package/dist/styles/index.js +2 -0
  558. package/dist/styles/index.js.map +1 -0
  559. package/dist/styles/input-variants.cjs +1 -1
  560. package/dist/styles/input-variants.js +1 -1
  561. package/dist/styles/input-variants.js.map +1 -1
  562. package/dist/styles/toggle-variants.cjs +1 -1
  563. package/dist/styles/toggle-variants.js +1 -1
  564. package/dist/styles/toggle-variants.js.map +1 -1
  565. package/package.json +28 -343
  566. package/dist/chunk-4XRBMJ5Q.cjs +0 -2
  567. package/dist/chunk-4ZUKMN2S.js.map +0 -1
  568. package/dist/chunk-5JGCIAX3.cjs +0 -2
  569. package/dist/chunk-5JGCIAX3.cjs.map +0 -1
  570. package/dist/chunk-FIU6XBX4.js +0 -2
  571. package/dist/chunk-FIU6XBX4.js.map +0 -1
  572. package/dist/chunk-K4DIHWHX.js.map +0 -1
  573. package/dist/chunk-KJU47KXR.js.map +0 -1
  574. package/dist/chunk-KXSZLRFH.js.map +0 -1
  575. package/dist/chunk-ONMU2LFX.js.map +0 -1
  576. package/dist/chunk-V2GDHPHA.js.map +0 -1
  577. package/dist/chunk-V3MHNDPX.js.map +0 -1
  578. package/dist/chunk-VRBUDJBH.js +0 -2
  579. package/dist/chunk-VRBUDJBH.js.map +0 -1
  580. package/dist/chunk-YGPIWXWP.js.map +0 -1
  581. package/dist/styles.css +0 -2
  582. package/dist/styles.css.map +0 -1
@@ -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 _chunk4XRBMJ5Qcjs = require('../chunk-4XRBMJ5Q.cjs');var _react = require('react'); var t = _interopRequireWildcard(_react);var _reactslot = require('@radix-ui/react-slot');var _jsxruntime = require('react/jsx-runtime');var p=t.forwardRef(({asChild:o,className:n,...r},d)=>_jsxruntime.jsx.call(void 0, o?_reactslot.Slot:"kbd",{ref:d,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "bg-muted text-muted-foreground inline-flex h-5 select-none items-center gap-1 rounded border px-1.5 font-mono text-xs font-medium",n),...r}));p.displayName="Kbd";exports.Kbd = p;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkTW56LZ5Kcjs = require('../chunk-TW56LZ5K.cjs');require('../chunk-CDYYO7UL.cjs');exports.Kbd = _chunkTW56LZ5Kcjs.a;
2
2
  //# sourceMappingURL=kbd.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/components/kbd.cjs","../../src/components/kbd.tsx"],"names":["Kbd","asChild","className","props","forwardedRef","jsx","Slot","cn"],"mappings":"AAAA,oZAAyC,uECAlB,iDACF,+CAiBjB,IAJEA,CAAAA,CAAY,CAAA,CAAA,UAAA,CAAiC,CAAC,CAAE,OAAA,CAAAC,CAAAA,CAAS,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAIlFC,6BAAAA,CAHgBJ,CAAUK,eAAAA,CAAO,KAAA,CAGhC,CACC,GAAA,CAAKF,CAAAA,CACL,SAAA,CAAWG,iCAAAA,mIACT,CACAL,CACF,CAAA,CACC,GAAGC,CAAAA,CACN,CAEH,CAAA,CAEDH,CAAAA,CAAI,WAAA,CAAc,KAAA,CAAA,gBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/kbd.cjs","sourcesContent":[null,"import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Kbd\n * -------------------------------------------------------------------------- */\n\ntype KbdElement = HTMLElement;\n\ninterface KbdProps extends React.HTMLAttributes<HTMLElement> {\n asChild?: boolean;\n}\n\nconst Kbd = React.forwardRef<KbdElement, KbdProps>(({ asChild, className, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : 'kbd';\n\n return (\n <Component\n ref={forwardedRef}\n className={cn(\n 'bg-muted text-muted-foreground inline-flex h-5 select-none items-center gap-1 rounded border px-1.5 font-mono text-xs font-medium',\n className,\n )}\n {...props}\n />\n );\n});\n\nKbd.displayName = 'Kbd';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Kbd, type KbdProps };\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/components/kbd.cjs"],"names":[],"mappings":"AAAA,kIAAoC,iCAA8B,kCAAiB","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/kbd.cjs"}
@@ -1,2 +1,2 @@
1
- import{a as e}from"../chunk-VRBUDJBH.js";import*as t from"react";import{Slot as m}from"@radix-ui/react-slot";import{jsx as s}from"react/jsx-runtime";var p=t.forwardRef(({asChild:o,className:n,...r},d)=>s(o?m:"kbd",{ref:d,className:e("bg-muted text-muted-foreground inline-flex h-5 select-none items-center gap-1 rounded border px-1.5 font-mono text-xs font-medium",n),...r}));p.displayName="Kbd";export{p as Kbd};
1
+ import{a}from"../chunk-JP4APSVT.js";import"../chunk-ASPYPA2M.js";export{a as Kbd};
2
2
  //# sourceMappingURL=kbd.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/components/kbd.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Kbd\n * -------------------------------------------------------------------------- */\n\ntype KbdElement = HTMLElement;\n\ninterface KbdProps extends React.HTMLAttributes<HTMLElement> {\n asChild?: boolean;\n}\n\nconst Kbd = React.forwardRef<KbdElement, KbdProps>(({ asChild, className, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : 'kbd';\n\n return (\n <Component\n ref={forwardedRef}\n className={cn(\n 'bg-muted text-muted-foreground inline-flex h-5 select-none items-center gap-1 rounded border px-1.5 font-mono text-xs font-medium',\n className,\n )}\n {...props}\n />\n );\n});\n\nKbd.displayName = 'Kbd';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Kbd, type KbdProps };\n"],"mappings":"yCAAA,UAAYA,MAAW,QACvB,OAAS,QAAAC,MAAY,uBAiBjB,cAAAC,MAAA,oBAJJ,IAAMC,EAAY,aAAiC,CAAC,CAAE,QAAAC,EAAS,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAIlFL,EAHgBE,EAAUI,EAAO,MAGhC,CACC,IAAKD,EACL,UAAWE,EACT,oIACAJ,CACF,EACC,GAAGC,EACN,CAEH,EAEDH,EAAI,YAAc","names":["React","Slot","jsx","Kbd","asChild","className","props","forwardedRef","Slot","cn"]}
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkNXL44ABAcjs = require('../chunk-NXL44ABA.cjs');require('../chunk-4XRBMJ5Q.cjs');exports.Label = _chunkNXL44ABAcjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk5PVMCKLWcjs = require('../chunk-5PVMCKLW.cjs');require('../chunk-CDYYO7UL.cjs');exports.Label = _chunk5PVMCKLWcjs.a;
2
2
  //# sourceMappingURL=label.cjs.map
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-4ZUKMN2S.js";import"../chunk-VRBUDJBH.js";export{a as Label};
1
+ import{a}from"../chunk-43VUWOQI.js";import"../chunk-ASPYPA2M.js";export{a as Label};
2
2
  //# sourceMappingURL=label.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -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 _chunk4XRBMJ5Qcjs = require('../chunk-4XRBMJ5Q.cjs');var _react = require('react'); var i = _interopRequireWildcard(_react);var _reacticons = require('@radix-ui/react-icons');var _reactmenubar = require('@radix-ui/react-menubar'); var e = _interopRequireWildcard(_reactmenubar);var _jsxruntime = require('react/jsx-runtime');var N=e.Menu,E= exports.MenubarGroup =e.Group,w= exports.MenubarSub =e.Sub,T= exports.MenubarRadioGroup =e.RadioGroup,l= exports.Menubar =i.forwardRef(({className:t,...r},a)=>_jsxruntime.jsx.call(void 0, e.Root,{ref:a,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "bg-background flex h-10 items-center space-x-1 rounded-md border p-1",t),...r}));l.displayName=e.Root.displayName;var M=i.forwardRef(({className:t,...r},a)=>_jsxruntime.jsx.call(void 0, e.Trigger,{ref:a,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "px-2.75 gap-2.75 h-8","flex cursor-pointer select-none items-center rounded-sm text-sm font-medium","focus:bg-accent focus:text-accent-foreground focus:outline-none","data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t),...r}));M.displayName=e.Trigger.displayName;var f=i.forwardRef(({children:t,className:r,inset:a,...s},u)=>_jsxruntime.jsxs.call(void 0, e.SubTrigger,{ref:u,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "px-2.75 gap-2.75 h-8","flex cursor-pointer select-none items-center rounded-sm text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",a&&"pl-8",r),...s,children:[t,_jsxruntime.jsx.call(void 0, _reacticons.ChevronRightIcon,{className:"ml-auto size-4"})]}));f.displayName=e.SubTrigger.displayName;var P=i.forwardRef(({className:t,...r},a)=>_jsxruntime.jsx.call(void 0, e.Portal,{children:_jsxruntime.jsx.call(void 0, e.SubContent,{ref:a,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "bg-popover text-popover-foreground z-50 min-w-32 rounded-md border p-1 shadow-md","data-[state=open]:animate-in data-[state=open]:fade-in 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 data-[state=closed]:zoom-out-95","data-[state=closed]:data-[side=top]:slide-out-to-bottom-2","data-[state=closed]:data-[side=left]:slide-out-to-right-2","data-[state=closed]:data-[side=bottom]:slide-out-to-top-2","data-[state=closed]:data-[side=right]:slide-out-to-left-2",t),...r})}));P.displayName=e.SubContent.displayName;var R=i.forwardRef(({className:t,align:r="start",alignOffset:a=-4,sideOffset:s=8,...u},m)=>_jsxruntime.jsx.call(void 0, e.Portal,{children:_jsxruntime.jsx.call(void 0, e.Content,{ref:m,align:r,alignOffset:a,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "bg-popover text-popover-foreground z-50 min-w-32 rounded-md border p-1 shadow-md","data-[state=open]:animate-in data-[state=open]:fade-in 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",t),sideOffset:s,...u})}));R.displayName=e.Content.displayName;var y=i.forwardRef(({className:t,inset:r,...a},s)=>_jsxruntime.jsx.call(void 0, e.Item,{ref:s,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "px-2.75 gap-2.75 h-8","relative flex cursor-pointer select-none items-center rounded-sm text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","aria-disabled:pointer-events-none aria-disabled:opacity-50",r&&"pl-8",t),...a}));y.displayName=e.Item.displayName;var g=i.forwardRef(({children:t,className:r,checked:a,...s},u)=>_jsxruntime.jsxs.call(void 0, e.CheckboxItem,{ref:u,checked:a,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "px-2.75 gap-2.75 h-8","pl-8","relative flex cursor-pointer select-none items-center rounded-sm text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","aria-disabled:pointer-events-none aria-disabled:opacity-50",r),...s,children:[_jsxruntime.jsx.call(void 0, "span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:_jsxruntime.jsx.call(void 0, e.ItemIndicator,{children:_jsxruntime.jsx.call(void 0, _reacticons.CheckIcon,{className:"size-4"})})}),t]}));g.displayName=e.CheckboxItem.displayName;var v=i.forwardRef(({children:t,className:r,...a},s)=>_jsxruntime.jsxs.call(void 0, e.RadioItem,{ref:s,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "px-2.75 gap-2.75 h-8","pl-8","relative flex cursor-pointer select-none items-center rounded-sm text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","aria-disabled:pointer-events-none aria-disabled:opacity-50",r),...a,children:[_jsxruntime.jsx.call(void 0, "span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:_jsxruntime.jsx.call(void 0, e.ItemIndicator,{children:_jsxruntime.jsx.call(void 0, _reacticons.DotFilledIcon,{className:"size-4 fill-current"})})}),t]}));v.displayName=e.RadioItem.displayName;var x=i.forwardRef(({className:t,inset:r,...a},s)=>_jsxruntime.jsx.call(void 0, e.Label,{ref:s,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "px-2.75 gap-2.75 h-8","flex items-center text-sm font-semibold",r&&"pl-8",t),...a}));x.displayName=e.Label.displayName;var h=i.forwardRef(({className:t,...r},a)=>_jsxruntime.jsx.call(void 0, e.Separator,{ref:a,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "bg-muted mx-2 my-1 h-px",t),...r}));h.displayName=e.Separator.displayName;function k({className:t,...r}){return _jsxruntime.jsx.call(void 0, "span",{className:_chunk4XRBMJ5Qcjs.a.call(void 0, "text-muted-foreground ml-auto text-xs tracking-widest",t),...r})}var C=i.forwardRef(({className:t,...r},a)=>_jsxruntime.jsx.call(void 0, e.Arrow,{ref:a,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "fill-popover",t),...r}));C.displayName=e.Arrow.displayName;exports.Menubar = l; exports.MenubarArrow = C; exports.MenubarCheckboxItem = g; exports.MenubarContent = R; exports.MenubarGroup = E; exports.MenubarItem = y; exports.MenubarLabel = x; exports.MenubarMenu = N; exports.MenubarRadioGroup = T; exports.MenubarRadioItem = v; exports.MenubarSeparator = h; exports.MenubarShortcut = k; exports.MenubarSub = w; exports.MenubarSubContent = P; exports.MenubarSubTrigger = f; exports.MenubarTrigger = M;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkNSZM7NIMcjs = require('../chunk-NSZM7NIM.cjs');require('../chunk-CDYYO7UL.cjs');exports.Menubar = _chunkNSZM7NIMcjs.e; exports.MenubarArrow = _chunkNSZM7NIMcjs.p; exports.MenubarCheckboxItem = _chunkNSZM7NIMcjs.k; exports.MenubarContent = _chunkNSZM7NIMcjs.i; exports.MenubarGroup = _chunkNSZM7NIMcjs.b; exports.MenubarItem = _chunkNSZM7NIMcjs.j; exports.MenubarLabel = _chunkNSZM7NIMcjs.m; exports.MenubarMenu = _chunkNSZM7NIMcjs.a; exports.MenubarRadioGroup = _chunkNSZM7NIMcjs.d; exports.MenubarRadioItem = _chunkNSZM7NIMcjs.l; exports.MenubarSeparator = _chunkNSZM7NIMcjs.n; exports.MenubarShortcut = _chunkNSZM7NIMcjs.o; exports.MenubarSub = _chunkNSZM7NIMcjs.c; exports.MenubarSubContent = _chunkNSZM7NIMcjs.h; exports.MenubarSubTrigger = _chunkNSZM7NIMcjs.g; exports.MenubarTrigger = _chunkNSZM7NIMcjs.f;
2
2
  //# sourceMappingURL=menubar.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/components/menubar.cjs","../../src/components/menubar.tsx"],"names":["MenubarMenu","MenubarGroup","MenubarSub","MenubarRadioGroup","Menubar","className","props","forwardedRef","jsx","cn","MenubarTrigger","MenubarSubTrigger","children","inset","jsxs","ChevronRightIcon","MenubarSubContent","MenubarContent","align","alignOffset","sideOffset","MenubarItem","MenubarCheckboxItem","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AA,CAAQR,CAAS,CAAA,CAC1G,GAAGC,CAAAA,CACN,CAEJ,CAAA,CAEAqB,CAAAA,CAAa,WAAA,CAA+B,CAAA,CAAA,KAAA,CAAM,WAAA,CASlD,IAAMC,CAAAA,CAAyB,CAAA,CAAA,UAAA,CAC7B,CAAC,CAAE,SAAA,CAAAvB,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACxBC,6BAAAA,CAAkB,CAAA,SAAA,CAAjB,CAA2B,GAAA,CAAKD,CAAAA,CAAc,SAAA,CAAWE,iCAAAA,yBAAG,CAA2BJ,CAAS,CAAA,CAAI,GAAGC,CAAAA,CAAO,CAEnH,CAAA,CAEAsB,CAAAA,CAAiB,WAAA,CAA+B,CAAA,CAAA,SAAA,CAAU,WAAA,CAQ1D,SAASC,CAAAA,CAAgB,CAAE,SAAA,CAAAxB,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAA4C,CACzF,OAAOE,6BAAAA,MAAC,CAAA,CAAK,SAAA,CAAWC,iCAAAA,uDAAG,CAAyDJ,CAAS,CAAA,CAAI,GAAGC,CAAAA,CAAO,CAC7G,CASA,IAAMwB,CAAAA,CAAqB,CAAA,CAAA,UAAA,CACzB,CAAC,CAAE,SAAA,CAAAzB,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACxBC,6BAAAA,CAAkB,CAAA,KAAA,CAAjB,CAAuB,GAAA,CAAKD,CAAAA,CAAc,SAAA,CAAWE,iCAAAA,cAAG,CAAgBJ,CAAS,CAAA,CAAI,GAAGC,CAAAA,CAAO,CAEpG,CAAA,CAEAwB,CAAAA,CAAa,WAAA,CAA+B,CAAA,CAAA,KAAA,CAAM,WAAA,CAAA,2bAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/menubar.cjs","sourcesContent":[null,"import * as React from 'react';\nimport { CheckIcon, ChevronRightIcon, DotFilledIcon } from '@radix-ui/react-icons';\nimport * as MenubarPrimitive from '@radix-ui/react-menubar';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarMenu\n * -------------------------------------------------------------------------- */\n\ntype MenubarMenuProps = React.ComponentProps<typeof MenubarPrimitive.Menu>;\nconst MenubarMenu = MenubarPrimitive.Menu;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarGroup\n * -------------------------------------------------------------------------- */\n\ntype MenubarGroupProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Group>;\nconst MenubarGroup = MenubarPrimitive.Group;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSub\n * -------------------------------------------------------------------------- */\n\ntype MenubarSubProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Sub>;\nconst MenubarSub = MenubarPrimitive.Sub;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarRadioGroup\n * -------------------------------------------------------------------------- */\n\ntype MenubarRadioGroupProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.RadioGroup>;\nconst MenubarRadioGroup = MenubarPrimitive.RadioGroup;\n\n/* -----------------------------------------------------------------------------\n * Component: Menubar\n * -------------------------------------------------------------------------- */\n\ntype MenubarElement = React.ElementRef<typeof MenubarPrimitive.Root>;\ntype MenubarProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Root>;\n\nconst Menubar = React.forwardRef<MenubarElement, MenubarProps>(({ className, ...props }, forwardedRef) => (\n <MenubarPrimitive.Root\n ref={forwardedRef}\n className={cn('bg-background flex h-10 items-center space-x-1 rounded-md border p-1', className)}\n {...props}\n />\n));\n\nMenubar.displayName = MenubarPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarTrigger\n * -------------------------------------------------------------------------- */\n\ntype MenubarTriggerElement = React.ElementRef<typeof MenubarPrimitive.Trigger>;\ntype MenubarTriggerProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger>;\n\nconst MenubarTrigger = React.forwardRef<MenubarTriggerElement, MenubarTriggerProps>(\n ({ className, ...props }, forwardedRef) => (\n <MenubarPrimitive.Trigger\n ref={forwardedRef}\n className={cn(\n 'px-2.75 gap-2.75 h-8',\n 'flex cursor-pointer select-none items-center rounded-sm text-sm font-medium',\n 'focus:bg-accent focus:text-accent-foreground focus:outline-none',\n 'data-[state=open]:bg-accent data-[state=open]:text-accent-foreground',\n className,\n )}\n {...props}\n />\n ),\n);\n\nMenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSubTrigger\n * -------------------------------------------------------------------------- */\n\ntype MenubarSubTriggerElement = React.ElementRef<typeof MenubarPrimitive.SubTrigger>;\n\ninterface MenubarSubTriggerProps extends React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubTrigger> {\n inset?: boolean;\n}\n\nconst MenubarSubTrigger = React.forwardRef<MenubarSubTriggerElement, MenubarSubTriggerProps>(\n ({ children, className, inset, ...props }, forwardedRef) => (\n <MenubarPrimitive.SubTrigger\n ref={forwardedRef}\n className={cn(\n 'px-2.75 gap-2.75 h-8',\n 'flex cursor-pointer select-none items-center rounded-sm text-sm',\n 'focus:bg-accent focus:text-accent-foreground focus:outline-none',\n 'data-[state=open]:bg-accent data-[state=open]:text-accent-foreground',\n inset && 'pl-8',\n className,\n )}\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ml-auto size-4\" />\n </MenubarPrimitive.SubTrigger>\n ),\n);\n\nMenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSubContent\n * -------------------------------------------------------------------------- */\n\ntype MenubarSubContentElement = React.ElementRef<typeof MenubarPrimitive.SubContent>;\ntype MenubarSubContentProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubContent>;\n\nconst MenubarSubContent = React.forwardRef<MenubarSubContentElement, MenubarSubContentProps>(\n ({ className, ...props }, forwardedRef) => (\n <MenubarPrimitive.Portal>\n <MenubarPrimitive.SubContent\n ref={forwardedRef}\n className={cn(\n 'bg-popover text-popover-foreground z-50 min-w-32 rounded-md border p-1 shadow-md',\n 'data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-95',\n 'data-[state=open]:data-[side=top]:slide-in-from-bottom-2',\n 'data-[state=open]:data-[side=right]:slide-in-from-left-2',\n 'data-[state=open]:data-[side=bottom]:slide-in-from-top-2',\n 'data-[state=open]:data-[side=left]:slide-in-from-right-2',\n 'data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95',\n 'data-[state=closed]:data-[side=top]:slide-out-to-bottom-2',\n 'data-[state=closed]:data-[side=left]:slide-out-to-right-2',\n 'data-[state=closed]:data-[side=bottom]:slide-out-to-top-2',\n 'data-[state=closed]:data-[side=right]:slide-out-to-left-2',\n className,\n )}\n {...props}\n />\n </MenubarPrimitive.Portal>\n ),\n);\n\nMenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarContent\n * -------------------------------------------------------------------------- */\n\ntype MenubarContentElement = React.ElementRef<typeof MenubarPrimitive.Content>;\ntype MenubarContentProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Content>;\n\nconst MenubarContent = React.forwardRef<MenubarContentElement, MenubarContentProps>(\n ({ className, align = 'start', alignOffset = -4, sideOffset = 8, ...props }, forwardedRef) => (\n <MenubarPrimitive.Portal>\n <MenubarPrimitive.Content\n ref={forwardedRef}\n align={align}\n alignOffset={alignOffset}\n className={cn(\n 'bg-popover text-popover-foreground z-50 min-w-32 rounded-md border p-1 shadow-md',\n 'data-[state=open]:animate-in data-[state=open]:fade-in 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',\n className,\n )}\n sideOffset={sideOffset}\n {...props}\n />\n </MenubarPrimitive.Portal>\n ),\n);\n\nMenubarContent.displayName = MenubarPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarItem\n * -------------------------------------------------------------------------- */\n\ntype MenubarItemElement = React.ElementRef<typeof MenubarPrimitive.Item>;\n\ninterface MenubarItemProps extends React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Item> {\n inset?: boolean;\n}\n\nconst MenubarItem = React.forwardRef<MenubarItemElement, MenubarItemProps>(\n ({ className, inset, ...props }, forwardedRef) => (\n <MenubarPrimitive.Item\n ref={forwardedRef}\n className={cn(\n 'px-2.75 gap-2.75 h-8',\n 'relative flex cursor-pointer select-none items-center rounded-sm text-sm',\n 'focus:bg-accent focus:text-accent-foreground focus:outline-none',\n 'aria-disabled:pointer-events-none aria-disabled:opacity-50',\n inset && 'pl-8',\n className,\n )}\n {...props}\n />\n ),\n);\n\nMenubarItem.displayName = MenubarPrimitive.Item.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarCheckboxItem\n * -------------------------------------------------------------------------- */\n\ntype MenubarCheckboxItemElement = React.ElementRef<typeof MenubarPrimitive.CheckboxItem>;\ntype MenubarCheckboxItemProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.CheckboxItem>;\n\nconst MenubarCheckboxItem = React.forwardRef<MenubarCheckboxItemElement, MenubarCheckboxItemProps>(\n ({ children, className, checked, ...props }, forwardedRef) => (\n <MenubarPrimitive.CheckboxItem\n ref={forwardedRef}\n checked={checked}\n className={cn(\n 'px-2.75 gap-2.75 h-8',\n 'pl-8',\n 'relative flex cursor-pointer select-none items-center rounded-sm text-sm',\n 'focus:bg-accent focus:text-accent-foreground focus:outline-none',\n 'aria-disabled:pointer-events-none aria-disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <span className=\"absolute left-2 flex size-3.5 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\nMenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarRadioItem\n * -------------------------------------------------------------------------- */\n\ntype MenubarRadioItemElement = React.ElementRef<typeof MenubarPrimitive.RadioItem>;\ntype MenubarRadioItemProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.RadioItem>;\n\nconst MenubarRadioItem = React.forwardRef<MenubarRadioItemElement, MenubarRadioItemProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <MenubarPrimitive.RadioItem\n ref={forwardedRef}\n className={cn(\n 'px-2.75 gap-2.75 h-8',\n 'pl-8',\n 'relative flex cursor-pointer select-none items-center rounded-sm text-sm',\n 'focus:bg-accent focus:text-accent-foreground focus:outline-none',\n 'aria-disabled:pointer-events-none aria-disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <span className=\"absolute left-2 flex size-3.5 items-center justify-center\">\n <MenubarPrimitive.ItemIndicator>\n <DotFilledIcon className=\"size-4 fill-current\" />\n </MenubarPrimitive.ItemIndicator>\n </span>\n {children}\n </MenubarPrimitive.RadioItem>\n ),\n);\n\nMenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarLabel\n * -------------------------------------------------------------------------- */\n\ntype MenubarLabelElement = React.ElementRef<typeof MenubarPrimitive.Label>;\n\ninterface MenubarLabelProps extends React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Label> {\n inset?: boolean;\n}\n\nconst MenubarLabel = React.forwardRef<MenubarLabelElement, MenubarLabelProps>(\n ({ className, inset, ...props }, forwardedRef) => (\n <MenubarPrimitive.Label\n ref={forwardedRef}\n className={cn('px-2.75 gap-2.75 h-8', 'flex items-center text-sm font-semibold', inset && 'pl-8', className)}\n {...props}\n />\n ),\n);\n\nMenubarLabel.displayName = MenubarPrimitive.Label.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSeparator\n * -------------------------------------------------------------------------- */\n\ntype MenubarSeparatorElement = React.ElementRef<typeof MenubarPrimitive.Separator>;\ntype MenubarSeparatorProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Separator>;\n\nconst MenubarSeparator = React.forwardRef<MenubarSeparatorElement, MenubarSeparatorProps>(\n ({ className, ...props }, forwardedRef) => (\n <MenubarPrimitive.Separator ref={forwardedRef} className={cn('bg-muted mx-2 my-1 h-px', className)} {...props} />\n ),\n);\n\nMenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarShortcut\n * -------------------------------------------------------------------------- */\n\ntype MenubarShortcutProps = React.HTMLAttributes<HTMLSpanElement>;\n\nfunction MenubarShortcut({ className, ...props }: MenubarShortcutProps): React.JSX.Element {\n return <span className={cn('text-muted-foreground ml-auto text-xs tracking-widest', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarArrow\n * -------------------------------------------------------------------------- */\n\ntype MenubarArrowElement = React.ElementRef<typeof MenubarPrimitive.Arrow>;\ntype MenubarArrowProps = MenubarPrimitive.MenubarArrowProps;\n\nconst MenubarArrow = React.forwardRef<MenubarArrowElement, MenubarArrowProps>(\n ({ className, ...props }, forwardedRef) => (\n <MenubarPrimitive.Arrow ref={forwardedRef} className={cn('fill-popover', className)} {...props} />\n ),\n);\n\nMenubarArrow.displayName = MenubarPrimitive.Arrow.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Menubar,\n MenubarMenu,\n MenubarTrigger,\n MenubarContent,\n MenubarItem,\n MenubarSeparator,\n MenubarLabel,\n MenubarCheckboxItem,\n MenubarRadioGroup,\n MenubarRadioItem,\n MenubarSubContent,\n MenubarSubTrigger,\n MenubarGroup,\n MenubarSub,\n MenubarShortcut,\n MenubarArrow,\n type MenubarProps,\n type MenubarMenuProps,\n type MenubarTriggerProps,\n type MenubarContentProps,\n type MenubarItemProps,\n type MenubarSeparatorProps,\n type MenubarLabelProps,\n type MenubarCheckboxItemProps,\n type MenubarRadioGroupProps,\n type MenubarRadioItemProps,\n type MenubarSubContentProps,\n type MenubarSubTriggerProps,\n type MenubarGroupProps,\n type MenubarSubProps,\n type MenubarShortcutProps,\n type MenubarArrowProps,\n};\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/components/menubar.cjs"],"names":[],"mappings":"AAAA,kIAAkE,iCAA8B,2tBAAoU","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/menubar.cjs"}
@@ -1,2 +1,2 @@
1
- import{a as n}from"../chunk-VRBUDJBH.js";import*as i from"react";import{CheckIcon as b,ChevronRightIcon as d,DotFilledIcon as c}from"@radix-ui/react-icons";import*as e from"@radix-ui/react-menubar";import{jsx as o,jsxs as p}from"react/jsx-runtime";var N=e.Menu,E=e.Group,w=e.Sub,T=e.RadioGroup,l=i.forwardRef(({className:t,...r},a)=>o(e.Root,{ref:a,className:n("bg-background flex h-10 items-center space-x-1 rounded-md border p-1",t),...r}));l.displayName=e.Root.displayName;var M=i.forwardRef(({className:t,...r},a)=>o(e.Trigger,{ref:a,className:n("px-2.75 gap-2.75 h-8","flex cursor-pointer select-none items-center rounded-sm text-sm font-medium","focus:bg-accent focus:text-accent-foreground focus:outline-none","data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t),...r}));M.displayName=e.Trigger.displayName;var f=i.forwardRef(({children:t,className:r,inset:a,...s},u)=>p(e.SubTrigger,{ref:u,className:n("px-2.75 gap-2.75 h-8","flex cursor-pointer select-none items-center rounded-sm text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",a&&"pl-8",r),...s,children:[t,o(d,{className:"ml-auto size-4"})]}));f.displayName=e.SubTrigger.displayName;var P=i.forwardRef(({className:t,...r},a)=>o(e.Portal,{children:o(e.SubContent,{ref:a,className:n("bg-popover text-popover-foreground z-50 min-w-32 rounded-md border p-1 shadow-md","data-[state=open]:animate-in data-[state=open]:fade-in 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 data-[state=closed]:zoom-out-95","data-[state=closed]:data-[side=top]:slide-out-to-bottom-2","data-[state=closed]:data-[side=left]:slide-out-to-right-2","data-[state=closed]:data-[side=bottom]:slide-out-to-top-2","data-[state=closed]:data-[side=right]:slide-out-to-left-2",t),...r})}));P.displayName=e.SubContent.displayName;var R=i.forwardRef(({className:t,align:r="start",alignOffset:a=-4,sideOffset:s=8,...u},m)=>o(e.Portal,{children:o(e.Content,{ref:m,align:r,alignOffset:a,className:n("bg-popover text-popover-foreground z-50 min-w-32 rounded-md border p-1 shadow-md","data-[state=open]:animate-in data-[state=open]:fade-in 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",t),sideOffset:s,...u})}));R.displayName=e.Content.displayName;var y=i.forwardRef(({className:t,inset:r,...a},s)=>o(e.Item,{ref:s,className:n("px-2.75 gap-2.75 h-8","relative flex cursor-pointer select-none items-center rounded-sm text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","aria-disabled:pointer-events-none aria-disabled:opacity-50",r&&"pl-8",t),...a}));y.displayName=e.Item.displayName;var g=i.forwardRef(({children:t,className:r,checked:a,...s},u)=>p(e.CheckboxItem,{ref:u,checked:a,className:n("px-2.75 gap-2.75 h-8","pl-8","relative flex cursor-pointer select-none items-center rounded-sm text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","aria-disabled:pointer-events-none aria-disabled:opacity-50",r),...s,children:[o("span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:o(e.ItemIndicator,{children:o(b,{className:"size-4"})})}),t]}));g.displayName=e.CheckboxItem.displayName;var v=i.forwardRef(({children:t,className:r,...a},s)=>p(e.RadioItem,{ref:s,className:n("px-2.75 gap-2.75 h-8","pl-8","relative flex cursor-pointer select-none items-center rounded-sm text-sm","focus:bg-accent focus:text-accent-foreground focus:outline-none","aria-disabled:pointer-events-none aria-disabled:opacity-50",r),...a,children:[o("span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:o(e.ItemIndicator,{children:o(c,{className:"size-4 fill-current"})})}),t]}));v.displayName=e.RadioItem.displayName;var x=i.forwardRef(({className:t,inset:r,...a},s)=>o(e.Label,{ref:s,className:n("px-2.75 gap-2.75 h-8","flex items-center text-sm font-semibold",r&&"pl-8",t),...a}));x.displayName=e.Label.displayName;var h=i.forwardRef(({className:t,...r},a)=>o(e.Separator,{ref:a,className:n("bg-muted mx-2 my-1 h-px",t),...r}));h.displayName=e.Separator.displayName;function k({className:t,...r}){return o("span",{className:n("text-muted-foreground ml-auto text-xs tracking-widest",t),...r})}var C=i.forwardRef(({className:t,...r},a)=>o(e.Arrow,{ref:a,className:n("fill-popover",t),...r}));C.displayName=e.Arrow.displayName;export{l as Menubar,C as MenubarArrow,g as MenubarCheckboxItem,R as MenubarContent,E as MenubarGroup,y as MenubarItem,x as MenubarLabel,N as MenubarMenu,T as MenubarRadioGroup,v as MenubarRadioItem,h as MenubarSeparator,k as MenubarShortcut,w as MenubarSub,P as MenubarSubContent,f as MenubarSubTrigger,M as MenubarTrigger};
1
+ import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p}from"../chunk-CXJUY43F.js";import"../chunk-ASPYPA2M.js";export{e as Menubar,p as MenubarArrow,k as MenubarCheckboxItem,i as MenubarContent,b as MenubarGroup,j as MenubarItem,m as MenubarLabel,a as MenubarMenu,d as MenubarRadioGroup,l as MenubarRadioItem,n as MenubarSeparator,o as MenubarShortcut,c as MenubarSub,h as MenubarSubContent,g as MenubarSubTrigger,f as MenubarTrigger};
2
2
  //# sourceMappingURL=menubar.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/components/menubar.tsx"],"sourcesContent":["import * as React from 'react';\nimport { CheckIcon, ChevronRightIcon, DotFilledIcon } from '@radix-ui/react-icons';\nimport * as MenubarPrimitive from '@radix-ui/react-menubar';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarMenu\n * -------------------------------------------------------------------------- */\n\ntype MenubarMenuProps = React.ComponentProps<typeof MenubarPrimitive.Menu>;\nconst MenubarMenu = MenubarPrimitive.Menu;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarGroup\n * -------------------------------------------------------------------------- */\n\ntype MenubarGroupProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Group>;\nconst MenubarGroup = MenubarPrimitive.Group;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSub\n * -------------------------------------------------------------------------- */\n\ntype MenubarSubProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Sub>;\nconst MenubarSub = MenubarPrimitive.Sub;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarRadioGroup\n * -------------------------------------------------------------------------- */\n\ntype MenubarRadioGroupProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.RadioGroup>;\nconst MenubarRadioGroup = MenubarPrimitive.RadioGroup;\n\n/* -----------------------------------------------------------------------------\n * Component: Menubar\n * -------------------------------------------------------------------------- */\n\ntype MenubarElement = React.ElementRef<typeof MenubarPrimitive.Root>;\ntype MenubarProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Root>;\n\nconst Menubar = React.forwardRef<MenubarElement, MenubarProps>(({ className, ...props }, forwardedRef) => (\n <MenubarPrimitive.Root\n ref={forwardedRef}\n className={cn('bg-background flex h-10 items-center space-x-1 rounded-md border p-1', className)}\n {...props}\n />\n));\n\nMenubar.displayName = MenubarPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarTrigger\n * -------------------------------------------------------------------------- */\n\ntype MenubarTriggerElement = React.ElementRef<typeof MenubarPrimitive.Trigger>;\ntype MenubarTriggerProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger>;\n\nconst MenubarTrigger = React.forwardRef<MenubarTriggerElement, MenubarTriggerProps>(\n ({ className, ...props }, forwardedRef) => (\n <MenubarPrimitive.Trigger\n ref={forwardedRef}\n className={cn(\n 'px-2.75 gap-2.75 h-8',\n 'flex cursor-pointer select-none items-center rounded-sm text-sm font-medium',\n 'focus:bg-accent focus:text-accent-foreground focus:outline-none',\n 'data-[state=open]:bg-accent data-[state=open]:text-accent-foreground',\n className,\n )}\n {...props}\n />\n ),\n);\n\nMenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSubTrigger\n * -------------------------------------------------------------------------- */\n\ntype MenubarSubTriggerElement = React.ElementRef<typeof MenubarPrimitive.SubTrigger>;\n\ninterface MenubarSubTriggerProps extends React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubTrigger> {\n inset?: boolean;\n}\n\nconst MenubarSubTrigger = React.forwardRef<MenubarSubTriggerElement, MenubarSubTriggerProps>(\n ({ children, className, inset, ...props }, forwardedRef) => (\n <MenubarPrimitive.SubTrigger\n ref={forwardedRef}\n className={cn(\n 'px-2.75 gap-2.75 h-8',\n 'flex cursor-pointer select-none items-center rounded-sm text-sm',\n 'focus:bg-accent focus:text-accent-foreground focus:outline-none',\n 'data-[state=open]:bg-accent data-[state=open]:text-accent-foreground',\n inset && 'pl-8',\n className,\n )}\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ml-auto size-4\" />\n </MenubarPrimitive.SubTrigger>\n ),\n);\n\nMenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSubContent\n * -------------------------------------------------------------------------- */\n\ntype MenubarSubContentElement = React.ElementRef<typeof MenubarPrimitive.SubContent>;\ntype MenubarSubContentProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubContent>;\n\nconst MenubarSubContent = React.forwardRef<MenubarSubContentElement, MenubarSubContentProps>(\n ({ className, ...props }, forwardedRef) => (\n <MenubarPrimitive.Portal>\n <MenubarPrimitive.SubContent\n ref={forwardedRef}\n className={cn(\n 'bg-popover text-popover-foreground z-50 min-w-32 rounded-md border p-1 shadow-md',\n 'data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-95',\n 'data-[state=open]:data-[side=top]:slide-in-from-bottom-2',\n 'data-[state=open]:data-[side=right]:slide-in-from-left-2',\n 'data-[state=open]:data-[side=bottom]:slide-in-from-top-2',\n 'data-[state=open]:data-[side=left]:slide-in-from-right-2',\n 'data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95',\n 'data-[state=closed]:data-[side=top]:slide-out-to-bottom-2',\n 'data-[state=closed]:data-[side=left]:slide-out-to-right-2',\n 'data-[state=closed]:data-[side=bottom]:slide-out-to-top-2',\n 'data-[state=closed]:data-[side=right]:slide-out-to-left-2',\n className,\n )}\n {...props}\n />\n </MenubarPrimitive.Portal>\n ),\n);\n\nMenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarContent\n * -------------------------------------------------------------------------- */\n\ntype MenubarContentElement = React.ElementRef<typeof MenubarPrimitive.Content>;\ntype MenubarContentProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Content>;\n\nconst MenubarContent = React.forwardRef<MenubarContentElement, MenubarContentProps>(\n ({ className, align = 'start', alignOffset = -4, sideOffset = 8, ...props }, forwardedRef) => (\n <MenubarPrimitive.Portal>\n <MenubarPrimitive.Content\n ref={forwardedRef}\n align={align}\n alignOffset={alignOffset}\n className={cn(\n 'bg-popover text-popover-foreground z-50 min-w-32 rounded-md border p-1 shadow-md',\n 'data-[state=open]:animate-in data-[state=open]:fade-in 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',\n className,\n )}\n sideOffset={sideOffset}\n {...props}\n />\n </MenubarPrimitive.Portal>\n ),\n);\n\nMenubarContent.displayName = MenubarPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarItem\n * -------------------------------------------------------------------------- */\n\ntype MenubarItemElement = React.ElementRef<typeof MenubarPrimitive.Item>;\n\ninterface MenubarItemProps extends React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Item> {\n inset?: boolean;\n}\n\nconst MenubarItem = React.forwardRef<MenubarItemElement, MenubarItemProps>(\n ({ className, inset, ...props }, forwardedRef) => (\n <MenubarPrimitive.Item\n ref={forwardedRef}\n className={cn(\n 'px-2.75 gap-2.75 h-8',\n 'relative flex cursor-pointer select-none items-center rounded-sm text-sm',\n 'focus:bg-accent focus:text-accent-foreground focus:outline-none',\n 'aria-disabled:pointer-events-none aria-disabled:opacity-50',\n inset && 'pl-8',\n className,\n )}\n {...props}\n />\n ),\n);\n\nMenubarItem.displayName = MenubarPrimitive.Item.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarCheckboxItem\n * -------------------------------------------------------------------------- */\n\ntype MenubarCheckboxItemElement = React.ElementRef<typeof MenubarPrimitive.CheckboxItem>;\ntype MenubarCheckboxItemProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.CheckboxItem>;\n\nconst MenubarCheckboxItem = React.forwardRef<MenubarCheckboxItemElement, MenubarCheckboxItemProps>(\n ({ children, className, checked, ...props }, forwardedRef) => (\n <MenubarPrimitive.CheckboxItem\n ref={forwardedRef}\n checked={checked}\n className={cn(\n 'px-2.75 gap-2.75 h-8',\n 'pl-8',\n 'relative flex cursor-pointer select-none items-center rounded-sm text-sm',\n 'focus:bg-accent focus:text-accent-foreground focus:outline-none',\n 'aria-disabled:pointer-events-none aria-disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <span className=\"absolute left-2 flex size-3.5 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\nMenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarRadioItem\n * -------------------------------------------------------------------------- */\n\ntype MenubarRadioItemElement = React.ElementRef<typeof MenubarPrimitive.RadioItem>;\ntype MenubarRadioItemProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.RadioItem>;\n\nconst MenubarRadioItem = React.forwardRef<MenubarRadioItemElement, MenubarRadioItemProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <MenubarPrimitive.RadioItem\n ref={forwardedRef}\n className={cn(\n 'px-2.75 gap-2.75 h-8',\n 'pl-8',\n 'relative flex cursor-pointer select-none items-center rounded-sm text-sm',\n 'focus:bg-accent focus:text-accent-foreground focus:outline-none',\n 'aria-disabled:pointer-events-none aria-disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <span className=\"absolute left-2 flex size-3.5 items-center justify-center\">\n <MenubarPrimitive.ItemIndicator>\n <DotFilledIcon className=\"size-4 fill-current\" />\n </MenubarPrimitive.ItemIndicator>\n </span>\n {children}\n </MenubarPrimitive.RadioItem>\n ),\n);\n\nMenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarLabel\n * -------------------------------------------------------------------------- */\n\ntype MenubarLabelElement = React.ElementRef<typeof MenubarPrimitive.Label>;\n\ninterface MenubarLabelProps extends React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Label> {\n inset?: boolean;\n}\n\nconst MenubarLabel = React.forwardRef<MenubarLabelElement, MenubarLabelProps>(\n ({ className, inset, ...props }, forwardedRef) => (\n <MenubarPrimitive.Label\n ref={forwardedRef}\n className={cn('px-2.75 gap-2.75 h-8', 'flex items-center text-sm font-semibold', inset && 'pl-8', className)}\n {...props}\n />\n ),\n);\n\nMenubarLabel.displayName = MenubarPrimitive.Label.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarSeparator\n * -------------------------------------------------------------------------- */\n\ntype MenubarSeparatorElement = React.ElementRef<typeof MenubarPrimitive.Separator>;\ntype MenubarSeparatorProps = React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Separator>;\n\nconst MenubarSeparator = React.forwardRef<MenubarSeparatorElement, MenubarSeparatorProps>(\n ({ className, ...props }, forwardedRef) => (\n <MenubarPrimitive.Separator ref={forwardedRef} className={cn('bg-muted mx-2 my-1 h-px', className)} {...props} />\n ),\n);\n\nMenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarShortcut\n * -------------------------------------------------------------------------- */\n\ntype MenubarShortcutProps = React.HTMLAttributes<HTMLSpanElement>;\n\nfunction MenubarShortcut({ className, ...props }: MenubarShortcutProps): React.JSX.Element {\n return <span className={cn('text-muted-foreground ml-auto text-xs tracking-widest', className)} {...props} />;\n}\n\n/* -----------------------------------------------------------------------------\n * Component: MenubarArrow\n * -------------------------------------------------------------------------- */\n\ntype MenubarArrowElement = React.ElementRef<typeof MenubarPrimitive.Arrow>;\ntype MenubarArrowProps = MenubarPrimitive.MenubarArrowProps;\n\nconst MenubarArrow = React.forwardRef<MenubarArrowElement, MenubarArrowProps>(\n ({ className, ...props }, forwardedRef) => (\n <MenubarPrimitive.Arrow ref={forwardedRef} className={cn('fill-popover', className)} {...props} />\n ),\n);\n\nMenubarArrow.displayName = MenubarPrimitive.Arrow.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Menubar,\n MenubarMenu,\n MenubarTrigger,\n MenubarContent,\n MenubarItem,\n MenubarSeparator,\n MenubarLabel,\n MenubarCheckboxItem,\n MenubarRadioGroup,\n MenubarRadioItem,\n MenubarSubContent,\n MenubarSubTrigger,\n MenubarGroup,\n MenubarSub,\n MenubarShortcut,\n MenubarArrow,\n type MenubarProps,\n type MenubarMenuProps,\n type MenubarTriggerProps,\n type MenubarContentProps,\n type MenubarItemProps,\n type MenubarSeparatorProps,\n type MenubarLabelProps,\n type MenubarCheckboxItemProps,\n type MenubarRadioGroupProps,\n type MenubarRadioItemProps,\n type MenubarSubContentProps,\n type MenubarSubTriggerProps,\n type MenubarGroupProps,\n type MenubarSubProps,\n type MenubarShortcutProps,\n type MenubarArrowProps,\n};\n"],"mappings":"yCAAA,UAAYA,MAAW,QACvB,OAAS,aAAAC,EAAW,oBAAAC,EAAkB,iBAAAC,MAAqB,wBAC3D,UAAYC,MAAsB,0BAuChC,cAAAC,EA8CE,QAAAC,MA9CF,oBA/BF,IAAMC,EAA+B,OAO/BC,EAAgC,QAOhCC,EAA8B,MAO9BC,EAAqC,aASrCC,EAAgB,aAAyC,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IACvFT,EAAkB,OAAjB,CACC,IAAKS,EACL,UAAWC,EAAG,uEAAwEH,CAAS,EAC9F,GAAGC,EACN,CACD,EAEDF,EAAQ,YAA+B,OAAK,YAS5C,IAAMK,EAAuB,aAC3B,CAAC,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAAGC,IACxBT,EAAkB,UAAjB,CACC,IAAKS,EACL,UAAWC,EACT,uBACA,8EACA,kEACA,uEACAH,CACF,EACC,GAAGC,EACN,CAEJ,EAEAG,EAAe,YAA+B,UAAQ,YAYtD,IAAMC,EAA0B,aAC9B,CAAC,CAAE,SAAAC,EAAU,UAAAN,EAAW,MAAAO,EAAO,GAAGN,CAAM,EAAGC,IACzCR,EAAkB,aAAjB,CACC,IAAKQ,EACL,UAAWC,EACT,uBACA,kEACA,kEACA,uEACAI,GAAS,OACTP,CACF,EACC,GAAGC,EAEH,UAAAK,EACDb,EAACe,EAAA,CAAiB,UAAU,iBAAiB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ubarRadioGroup","Menubar","className","props","forwardedRef","cn","MenubarTrigger","MenubarSubTrigger","children","inset","ChevronRightIcon","MenubarSubContent","MenubarContent","align","alignOffset","sideOffset","MenubarItem","MenubarCheckboxItem","checked","CheckIcon","MenubarRadioItem","DotFilledIcon","MenubarLabel","MenubarSeparator","MenubarShortcut","MenubarArrow"]}
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -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 _chunkLSBI35ZEcjs = require('../chunk-LSBI35ZE.cjs');var _chunk4XRBMJ5Qcjs = require('../chunk-4XRBMJ5Q.cjs');var _react = require('react'); var r = _interopRequireWildcard(_react);var _reacticons = require('@radix-ui/react-icons');var _reactnavigationmenu = require('@radix-ui/react-navigation-menu'); var t = _interopRequireWildcard(_reactnavigationmenu);var _jsxruntime = require('react/jsx-runtime');var N=r.forwardRef(({children:e,className:i,...a},m)=>_jsxruntime.jsxs.call(void 0, t.Root,{ref:m,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "relative z-10 flex max-w-max flex-1 items-center justify-center",i),...a,children:[e,_jsxruntime.jsx.call(void 0, s,{})]}));N.displayName=t.Root.displayName;var d=r.forwardRef(({children:e,className:i,...a},m)=>_jsxruntime.jsxs.call(void 0, t.List,{ref:m,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "group flex flex-1 list-none items-center justify-center space-x-1",i),...a,children:[e,_jsxruntime.jsx.call(void 0, g,{})]}));d.displayName=t.List.displayName;var y=t.Item,f= exports.NavigationMenuTrigger =r.forwardRef(({children:e,className:i,...a},m)=>_jsxruntime.jsxs.call(void 0, t.Trigger,{ref:m,className:_chunkLSBI35ZEcjs.a.call(void 0, {variant:"ghost",className:["data-[state=open]:bg-accent data-[state=open]:text-accent-foreground","group",i]}),...a,children:[e,_jsxruntime.jsx.call(void 0, _reacticons.ChevronDownIcon,{"aria-hidden":"true",className:_chunk4XRBMJ5Qcjs.a.call(void 0, "relative top-px ml-1 size-3 transition","group-data-[state=open]:rotate-180")})]}));f.displayName=t.Trigger.displayName;var l=r.forwardRef(({className:e,...i},a)=>_jsxruntime.jsx.call(void 0, t.Content,{ref:a,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 left-0 top-0 w-full md:absolute md:w-auto",e),...i}));l.displayName=t.Content.displayName;var R=t.Link,s=r.forwardRef(({className:e,...i},a)=>_jsxruntime.jsx.call(void 0, "div",{className:"perspective-[125rem] absolute left-0 top-full flex justify-center",children:_jsxruntime.jsx.call(void 0, t.Viewport,{ref:a,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "bg-popover text-popover-foreground relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full origin-[top_center] overflow-hidden rounded-md border p-1 shadow-md transition-[width,height] sm:w-[var(--radix-navigation-menu-viewport-width)]","data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-90","data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95",e),...i})}));s.displayName=t.Viewport.displayName;var g=r.forwardRef(({className:e,...i},a)=>_jsxruntime.jsx.call(void 0, t.Indicator,{ref:a,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "data-[state=visible]:animate-fade-in data-[state=hidden]:animate-fade-out top-full z-10 flex h-1.5 items-center justify-center overflow-hidden transition",e),...i,children:_jsxruntime.jsx.call(void 0, "div",{className:"bg-popover relative top-[60%] size-2 rotate-45 rounded-tl-sm"})}));g.displayName=t.Indicator.displayName;exports.NavigationMenu = N; exports.NavigationMenuContent = l; exports.NavigationMenuItem = y; exports.NavigationMenuLink = R; exports.NavigationMenuList = d; exports.NavigationMenuTrigger = f;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk5QLP2S5Ocjs = require('../chunk-5QLP2S5O.cjs');require('../chunk-TULN5SP4.cjs');require('../chunk-CDYYO7UL.cjs');exports.NavigationMenu = _chunk5QLP2S5Ocjs.a; exports.NavigationMenuContent = _chunk5QLP2S5Ocjs.e; exports.NavigationMenuItem = _chunk5QLP2S5Ocjs.c; exports.NavigationMenuLink = _chunk5QLP2S5Ocjs.f; exports.NavigationMenuList = _chunk5QLP2S5Ocjs.b; exports.NavigationMenuTrigger = _chunk5QLP2S5Ocjs.d;
2
2
  //# sourceMappingURL=navigation-menu.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/components/navigation-menu.cjs","../../src/components/navigation-menu.tsx"],"names":["NavigationMenu","children","className","props","forwardedRef","jsxs","cn","jsx","NavigationMenuViewport","NavigationMenuList","NavigationMenuIndicator","NavigationMenuItem","NavigationMenuTrigger","buttonVariants","ChevronDownIcon","NavigationMenuContent","NavigationMenuLink"],"mappings":"AAAA,oZAAyC,yDAA0C,uECA5D,mDACS,6HACS,+CAarC,IAFEA,CAAAA,CAAuB,CAAA,CAAA,UAAA,CAC3B,CAAC,CAAE,QAAA,CAAAC,CAAAA,CAAU,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAClCC,8BAAAA,CAAyB,CAAA,IAAA,CAAxB,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWE,iCAAAA,iEAAG,CAAmEJ,CAAS,CAAA,CACzF,GAAGC,CAAAA,CAEH,QAAA,CAAA,CAAAF,CAAAA,CACDM,6BAAAA,CAACC,CAAA,CAAA,CAAuB,CAAA,CAAA,CAC1B,CAEJ,CAAA,CA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CAAA,iMAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/navigation-menu.cjs","sourcesContent":[null,"import * as React from 'react';\nimport { ChevronDownIcon } from '@radix-ui/react-icons';\nimport * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';\nimport { cn } from '@/lib/utils';\nimport { buttonVariants } from '@/styles/button-variants';\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenu\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuElement = React.ElementRef<typeof NavigationMenuPrimitive.Root>;\ntype NavigationMenuProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root>;\n\nconst NavigationMenu = React.forwardRef<NavigationMenuElement, NavigationMenuProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.Root\n ref={forwardedRef}\n className={cn('relative z-10 flex max-w-max flex-1 items-center justify-center', className)}\n {...props}\n >\n {children}\n <NavigationMenuViewport />\n </NavigationMenuPrimitive.Root>\n ),\n);\n\nNavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuList\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuListElement = React.ElementRef<typeof NavigationMenuPrimitive.List>;\ntype NavigationMenuListProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.List>;\n\nconst NavigationMenuList = React.forwardRef<NavigationMenuListElement, NavigationMenuListProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.List\n ref={forwardedRef}\n className={cn('group flex flex-1 list-none items-center justify-center space-x-1', className)}\n {...props}\n >\n {children}\n <NavigationMenuIndicator />\n </NavigationMenuPrimitive.List>\n ),\n);\n\nNavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuItem\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuItemProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Item>;\n\nconst NavigationMenuItem = NavigationMenuPrimitive.Item;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuContent\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuTriggerElement = React.ElementRef<typeof NavigationMenuPrimitive.Trigger>;\ntype NavigationMenuTriggerProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Trigger>;\n\nconst NavigationMenuTrigger = React.forwardRef<NavigationMenuTriggerElement, NavigationMenuTriggerProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.Trigger\n ref={forwardedRef}\n className={buttonVariants({\n variant: 'ghost',\n className: ['data-[state=open]:bg-accent data-[state=open]:text-accent-foreground', 'group', className],\n })}\n {...props}\n >\n {children}\n <ChevronDownIcon\n aria-hidden=\"true\"\n className={cn('relative top-px ml-1 size-3 transition', 'group-data-[state=open]:rotate-180')}\n />\n </NavigationMenuPrimitive.Trigger>\n ),\n);\n\nNavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuContent\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuContentElement = React.ElementRef<typeof NavigationMenuPrimitive.Content>;\ntype NavigationMenuContentProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Content>;\n\nconst NavigationMenuContent = React.forwardRef<NavigationMenuContentElement, NavigationMenuContentProps>(\n ({ className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.Content\n ref={forwardedRef}\n className={cn(\n 'data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 left-0 top-0 w-full md:absolute md:w-auto',\n className,\n )}\n {...props}\n />\n ),\n);\n\nNavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuLink\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuLinkProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Link>;\n\nconst NavigationMenuLink = NavigationMenuPrimitive.Link;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuViewport\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuViewportElement = React.ElementRef<typeof NavigationMenuPrimitive.Viewport>;\ntype NavigationMenuViewportProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Viewport>;\n\nconst NavigationMenuViewport = React.forwardRef<NavigationMenuViewportElement, NavigationMenuViewportProps>(\n ({ className, ...props }, forwardedRef) => (\n <div className=\"perspective-[125rem] absolute left-0 top-full flex justify-center\">\n <NavigationMenuPrimitive.Viewport\n ref={forwardedRef}\n className={cn(\n 'bg-popover text-popover-foreground relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full origin-[top_center] overflow-hidden rounded-md border p-1 shadow-md transition-[width,height] sm:w-[var(--radix-navigation-menu-viewport-width)]',\n 'data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-90',\n 'data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95',\n className,\n )}\n {...props}\n />\n </div>\n ),\n);\n\nNavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuIndicator\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuIndicatorElement = React.ElementRef<typeof NavigationMenuPrimitive.Indicator>;\ntype NavigationMenuIndicatorProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Indicator>;\n\nconst NavigationMenuIndicator = React.forwardRef<NavigationMenuIndicatorElement, NavigationMenuIndicatorProps>(\n ({ className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.Indicator\n ref={forwardedRef}\n className={cn(\n 'data-[state=visible]:animate-fade-in data-[state=hidden]:animate-fade-out top-full z-10 flex h-1.5 items-center justify-center overflow-hidden transition',\n className,\n )}\n {...props}\n >\n <div className=\"bg-popover relative top-[60%] size-2 rotate-45 rounded-tl-sm\" />\n </NavigationMenuPrimitive.Indicator>\n ),\n);\n\nNavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n NavigationMenu,\n NavigationMenuList,\n NavigationMenuItem,\n NavigationMenuContent,\n NavigationMenuTrigger,\n NavigationMenuLink,\n type NavigationMenuProps,\n type NavigationMenuListProps,\n type NavigationMenuItemProps,\n type NavigationMenuContentProps,\n type NavigationMenuTriggerProps,\n type NavigationMenuLinkProps,\n};\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/components/navigation-menu.cjs"],"names":[],"mappings":"AAAA,kIAA8C,iCAA8B,iCAA8B,6SAA0J","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/navigation-menu.cjs"}
@@ -1,2 +1,2 @@
1
- import{a as p}from"../chunk-YGPIWXWP.js";import{a as n}from"../chunk-VRBUDJBH.js";import*as r from"react";import{ChevronDownIcon as u}from"@radix-ui/react-icons";import*as t from"@radix-ui/react-navigation-menu";import{jsx as o,jsxs as v}from"react/jsx-runtime";var N=r.forwardRef(({children:e,className:i,...a},m)=>v(t.Root,{ref:m,className:n("relative z-10 flex max-w-max flex-1 items-center justify-center",i),...a,children:[e,o(s,{})]}));N.displayName=t.Root.displayName;var d=r.forwardRef(({children:e,className:i,...a},m)=>v(t.List,{ref:m,className:n("group flex flex-1 list-none items-center justify-center space-x-1",i),...a,children:[e,o(g,{})]}));d.displayName=t.List.displayName;var y=t.Item,f=r.forwardRef(({children:e,className:i,...a},m)=>v(t.Trigger,{ref:m,className:p({variant:"ghost",className:["data-[state=open]:bg-accent data-[state=open]:text-accent-foreground","group",i]}),...a,children:[e,o(u,{"aria-hidden":"true",className:n("relative top-px ml-1 size-3 transition","group-data-[state=open]:rotate-180")})]}));f.displayName=t.Trigger.displayName;var l=r.forwardRef(({className:e,...i},a)=>o(t.Content,{ref:a,className:n("data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 left-0 top-0 w-full md:absolute md:w-auto",e),...i}));l.displayName=t.Content.displayName;var R=t.Link,s=r.forwardRef(({className:e,...i},a)=>o("div",{className:"perspective-[125rem] absolute left-0 top-full flex justify-center",children:o(t.Viewport,{ref:a,className:n("bg-popover text-popover-foreground relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full origin-[top_center] overflow-hidden rounded-md border p-1 shadow-md transition-[width,height] sm:w-[var(--radix-navigation-menu-viewport-width)]","data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-90","data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95",e),...i})}));s.displayName=t.Viewport.displayName;var g=r.forwardRef(({className:e,...i},a)=>o(t.Indicator,{ref:a,className:n("data-[state=visible]:animate-fade-in data-[state=hidden]:animate-fade-out top-full z-10 flex h-1.5 items-center justify-center overflow-hidden transition",e),...i,children:o("div",{className:"bg-popover relative top-[60%] size-2 rotate-45 rounded-tl-sm"})}));g.displayName=t.Indicator.displayName;export{N as NavigationMenu,l as NavigationMenuContent,y as NavigationMenuItem,R as NavigationMenuLink,d as NavigationMenuList,f as NavigationMenuTrigger};
1
+ import{a,b,c,d,e,f}from"../chunk-IOHKESMH.js";import"../chunk-5SBCSCS4.js";import"../chunk-ASPYPA2M.js";export{a as NavigationMenu,e as NavigationMenuContent,c as NavigationMenuItem,f as NavigationMenuLink,b as NavigationMenuList,d as NavigationMenuTrigger};
2
2
  //# sourceMappingURL=navigation-menu.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/components/navigation-menu.tsx"],"sourcesContent":["import * as React from 'react';\nimport { ChevronDownIcon } from '@radix-ui/react-icons';\nimport * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';\nimport { cn } from '@/lib/utils';\nimport { buttonVariants } from '@/styles/button-variants';\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenu\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuElement = React.ElementRef<typeof NavigationMenuPrimitive.Root>;\ntype NavigationMenuProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root>;\n\nconst NavigationMenu = React.forwardRef<NavigationMenuElement, NavigationMenuProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.Root\n ref={forwardedRef}\n className={cn('relative z-10 flex max-w-max flex-1 items-center justify-center', className)}\n {...props}\n >\n {children}\n <NavigationMenuViewport />\n </NavigationMenuPrimitive.Root>\n ),\n);\n\nNavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuList\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuListElement = React.ElementRef<typeof NavigationMenuPrimitive.List>;\ntype NavigationMenuListProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.List>;\n\nconst NavigationMenuList = React.forwardRef<NavigationMenuListElement, NavigationMenuListProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.List\n ref={forwardedRef}\n className={cn('group flex flex-1 list-none items-center justify-center space-x-1', className)}\n {...props}\n >\n {children}\n <NavigationMenuIndicator />\n </NavigationMenuPrimitive.List>\n ),\n);\n\nNavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuItem\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuItemProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Item>;\n\nconst NavigationMenuItem = NavigationMenuPrimitive.Item;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuContent\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuTriggerElement = React.ElementRef<typeof NavigationMenuPrimitive.Trigger>;\ntype NavigationMenuTriggerProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Trigger>;\n\nconst NavigationMenuTrigger = React.forwardRef<NavigationMenuTriggerElement, NavigationMenuTriggerProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.Trigger\n ref={forwardedRef}\n className={buttonVariants({\n variant: 'ghost',\n className: ['data-[state=open]:bg-accent data-[state=open]:text-accent-foreground', 'group', className],\n })}\n {...props}\n >\n {children}\n <ChevronDownIcon\n aria-hidden=\"true\"\n className={cn('relative top-px ml-1 size-3 transition', 'group-data-[state=open]:rotate-180')}\n />\n </NavigationMenuPrimitive.Trigger>\n ),\n);\n\nNavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuContent\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuContentElement = React.ElementRef<typeof NavigationMenuPrimitive.Content>;\ntype NavigationMenuContentProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Content>;\n\nconst NavigationMenuContent = React.forwardRef<NavigationMenuContentElement, NavigationMenuContentProps>(\n ({ className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.Content\n ref={forwardedRef}\n className={cn(\n 'data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 left-0 top-0 w-full md:absolute md:w-auto',\n className,\n )}\n {...props}\n />\n ),\n);\n\nNavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuLink\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuLinkProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Link>;\n\nconst NavigationMenuLink = NavigationMenuPrimitive.Link;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuViewport\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuViewportElement = React.ElementRef<typeof NavigationMenuPrimitive.Viewport>;\ntype NavigationMenuViewportProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Viewport>;\n\nconst NavigationMenuViewport = React.forwardRef<NavigationMenuViewportElement, NavigationMenuViewportProps>(\n ({ className, ...props }, forwardedRef) => (\n <div className=\"perspective-[125rem] absolute left-0 top-full flex justify-center\">\n <NavigationMenuPrimitive.Viewport\n ref={forwardedRef}\n className={cn(\n 'bg-popover text-popover-foreground relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full origin-[top_center] overflow-hidden rounded-md border p-1 shadow-md transition-[width,height] sm:w-[var(--radix-navigation-menu-viewport-width)]',\n 'data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-90',\n 'data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95',\n className,\n )}\n {...props}\n />\n </div>\n ),\n);\n\nNavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: NavigationMenuIndicator\n * -------------------------------------------------------------------------- */\n\ntype NavigationMenuIndicatorElement = React.ElementRef<typeof NavigationMenuPrimitive.Indicator>;\ntype NavigationMenuIndicatorProps = React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Indicator>;\n\nconst NavigationMenuIndicator = React.forwardRef<NavigationMenuIndicatorElement, NavigationMenuIndicatorProps>(\n ({ className, ...props }, forwardedRef) => (\n <NavigationMenuPrimitive.Indicator\n ref={forwardedRef}\n className={cn(\n 'data-[state=visible]:animate-fade-in data-[state=hidden]:animate-fade-out top-full z-10 flex h-1.5 items-center justify-center overflow-hidden transition',\n className,\n )}\n {...props}\n >\n <div className=\"bg-popover relative top-[60%] size-2 rotate-45 rounded-tl-sm\" />\n </NavigationMenuPrimitive.Indicator>\n ),\n);\n\nNavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n NavigationMenu,\n NavigationMenuList,\n NavigationMenuItem,\n NavigationMenuContent,\n NavigationMenuTrigger,\n NavigationMenuLink,\n type NavigationMenuProps,\n type NavigationMenuListProps,\n type NavigationMenuItemProps,\n type NavigationMenuContentProps,\n type NavigationMenuTriggerProps,\n type NavigationMenuLinkProps,\n};\n"],"mappings":"kFAAA,UAAYA,MAAW,QACvB,OAAS,mBAAAC,MAAuB,wBAChC,UAAYC,MAA6B,kCAarC,OAME,OAAAC,EANF,QAAAC,MAAA,oBAFJ,IAAMC,EAAuB,aAC3B,CAAC,CAAE,SAAAC,EAAU,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAClCL,EAAyB,OAAxB,CACC,IAAKK,EACL,UAAWC,EAAG,kEAAmEH,CAAS,EACzF,GAAGC,EAEH,UAAAF,EACDH,EAACQ,EAAA,EAAuB,GAC1B,CAEJ,EAEAN,EAAe,YAAsC,OAAK,YAS1D,IAAMO,EAA2B,aAC/B,CAAC,CAAE,SAAAN,EAAU,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAClCL,EAAyB,OAAxB,CACC,IAAKK,EACL,UAAWC,EAAG,oEAAqEH,CAAS,EAC3F,GAAGC,EAEH,UAAAF,EACDH,EAACU,EAAA,EAAwB,GAC3B,CAEJ,EAEAD,EAAmB,YAAsC,OAAK,YAQ9D,IAAME,EAA6C,OAS7CC,EAA8B,aAClC,CAAC,CAAE,SAAAT,EAAU,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAClCL,EAAyB,UAAxB,CACC,IAAKK,EACL,UAAWO,EAAe,CACxB,QAAS,QACT,UAAW,CAAC,uEAAwE,QAAST,CAAS,CACxG,CAAC,EACA,GAAGC,EAEH,UAAAF,EACDH,EAACc,EAAA,CACC,cAAY,OACZ,UAAWP,EAAG,yCAA0C,oCAAoC,EAC9F,GACF,CAEJ,EAEAK,EAAsB,YAAsC,UAAQ,YASpE,IAAMG,EAA8B,aAClC,CAAC,CAAE,UAAAX,EAAW,GAAGC,CAAM,EAAGC,IACxBN,EAAyB,UAAxB,CACC,IAAKM,EACL,UAAWC,EACT,wVACAH,CACF,EACC,GAAGC,EACN,CAEJ,EAEAU,EAAsB,YAAsC,UAAQ,YAQpE,IAAMC,EAA6C,OAS7CR,EAA+B,aACnC,CAAC,CAAE,UAAAJ,EAAW,GAAGC,CAAM,EAAGC,IACxBN,EAAC,OAAI,UAAU,oEACb,SAAAA,EAAyB,WAAxB,CACC,IAAKM,EACL,UAAWC,EACT,8PACA,sFACA,+FACAH,CACF,EACC,GAAGC,EACN,EACF,CAEJ,EAEAG,EAAuB,YAAsC,WAAS,YAStE,IAAME,EAAgC,aACpC,CAAC,CAAE,UAAAN,EAAW,GAAGC,CAAM,EAAGC,IACxBN,EAAyB,YAAxB,CACC,IAAKM,EACL,UAAWC,EACT,4JACAH,CACF,EACC,GAAGC,EAEJ,SAAAL,EAAC,OAAI,UAAU,+DAA+D,EAChF,CAEJ,EAEAU,EAAwB,YAAsC,YAAU","names":["React","ChevronDownIcon","NavigationMenuPrimitive","jsx","jsxs","NavigationMenu","children","className","props","forwardedRef","cn","NavigationMenuViewport","NavigationMenuList","NavigationMenuIndicator","NavigationMenuItem","NavigationMenuTrigger","buttonVariants","ChevronDownIcon","NavigationMenuContent","NavigationMenuLink"]}
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -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 _chunk5JGCIAX3cjs = require('../chunk-5JGCIAX3.cjs');var _chunkLSBI35ZEcjs = require('../chunk-LSBI35ZE.cjs');var _react = require('react'); var i = _interopRequireWildcard(_react);var _numberinput = require('@codefast-ui/number-input'); var e = _interopRequireWildcard(_numberinput);var _reacticons = require('@radix-ui/react-icons');var _jsxruntime = require('react/jsx-runtime');var{root:V,input:g}=_chunk5JGCIAX3cjs.a.call(void 0, ),B= exports.NumberInput =i.forwardRef(({ariaDecrementLabel:u,ariaIncrementLabel:a,className:p,inputSize:n,defaultValue:s,disabled:l,formatOptions:c,id:d,max:I,min:N,readOnly:f,step:b,value:v,onChange:P,...R},h)=>_jsxruntime.jsxs.call(void 0, e.Root,{ariaDecrementLabel:u,ariaIncrementLabel:a,className:V({inputSize:n,className:["pr-0",p]}),defaultValue:s,disabled:l,formatOptions:c,id:d,max:I,min:N,readOnly:f,step:b,value:v,onChange:P,children:[_jsxruntime.jsx.call(void 0, e.Item,{ref:h,autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",className:g({inputSize:n}),inputMode:"numeric",spellCheck:"false",...R}),_jsxruntime.jsxs.call(void 0, "div",{className:"ml-auto grid h-full divide-y rounded-r-md border-l",children:[_jsxruntime.jsx.call(void 0, e.IncrementButton,{className:_chunkLSBI35ZEcjs.a.call(void 0, {className:"h-full rounded-none rounded-tr-md",icon:!0,variant:"ghost"}),children:_jsxruntime.jsx.call(void 0, _reacticons.ChevronUpIcon,{})}),_jsxruntime.jsx.call(void 0, e.DecrementButton,{className:_chunkLSBI35ZEcjs.a.call(void 0, {className:"rounded-tb-md h-full rounded-none",icon:!0,variant:"ghost"}),children:_jsxruntime.jsx.call(void 0, _reacticons.ChevronDownIcon,{})})]})]}));B.displayName="NumberInput";exports.NumberInput = B;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkRIGLYWUPcjs = require('../chunk-RIGLYWUP.cjs');require('../chunk-TULN5SP4.cjs');require('../chunk-H5VHJLP5.cjs');exports.NumberInput = _chunkRIGLYWUPcjs.a;
2
2
  //# sourceMappingURL=number-input.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/components/number-input.cjs","../../src/components/number-input.tsx"],"names":["root","input","inputVariants","NumberInput","ariaDecrementLabel","ariaIncrementLabel","className","inputSize","defaultValue","disabled","formatOptions","id","max","min","readOnly","step","value","onChange","props","forwardedRef","jsxs","jsx","buttonVariants","ChevronUpIcon","ChevronDownIcon"],"mappings":"AAAA,uWAAY,CAAC,yDAAyC,yDAA0C,uECEzE,uGACe,mDACS,+CAoDzC,GAhDA,CAAE,IAAA,CAAAA,CAAAA,CAAM,KAAA,CAAAC,CAAM,CAAA,CAAIC,iCAAAA,CAAc,CAYhCC,CAAAA,uBAAoB,CAAA,CAAA,UAAA,CACxB,CACE,CACE,kBAAA,CAAAC,CAAAA,CACA,kBAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CAAAA,CACA,SAAA,CAAAC,CAAAA,CACA,YAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,aAAA,CAAAC,CAAAA,CACA,EAAA,CAAAC,CAAAA,CACA,GAAA,CAAAC,CAAAA,CACA,GAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,IAAA,CAAAC,CAAAA,CACA,KAAA,CAAAC,CAAAA,CACA,QAAA,CAAAC,CAAAA,CACA,GAAGC,CACL,CAAA,CACAC,CAAAA,CAAAA,EAEAC,8BAAAA,CAAsB,CAAA,IAAA,CAArB,CACC,kBAAA,CAAoBhB,CAAAA,CACpB,kBAAA,CAAoBC,CAAAA,CACpB,SAAA,CAAWL,CAAAA,CAAK,CAAE,SAAA,CAAAO,CAAAA,CAAW,SAAA,CAAW,CAAC,MAAA,CAAQD,CAAS,CAAE,CAAC,CAAA,CAC7D,YAAA,CAAcE,CAAAA,CACd,QAAA,CAAUC,CAAAA,CACV,aAAA,CAAeC,CAAAA,CACf,EAAA,CAAIC,CAAAA,CACJ,GAAA,CAAKC,CAAAA,CACL,GAAA,CAAKC,CAAAA,CACL,QAAA,CAAUC,CAAAA,CACV,IAAA,CAAMC,CAAAA,CACN,KAAA,CAAOC,CAAAA,CACP,QAAA,CAAUC,CAAAA,CAEV,QAAA,CAAA,CAAAI,6BAAAA,CAAsB,CAAA,IAAA,CAArB,CACC,GAAA,CAAKF,CAAAA,CACL,cAAA,CAAe,KAAA,CACf,YAAA,CAAa,KAAA,CACb,WAAA,CAAY,KAAA,CACZ,SAAA,CAAWlB,CAAAA,CAAM,CAAE,SAAA,CAAAM,CAAU,CAAC,CAAA,CAC9B,SAAA,CAAU,SAAA,CACV,UAAA,CAAW,OAAA,CACV,GAAGW,CAAAA,CACN,CAAA,CACAE,8BAAAA,KAAC,CAAA,CAAI,SAAA,CAAU,oDAAA,CACb,QAAA,CAAA,CAAAC,6BAAAA,CAAsB,CAAA,eAAA,CAArB,CACC,SAAA,CAAWC,iCAAAA,CACT,SAAA,CAAW,mCAAA,CACX,IAAA,CAAM,CAAA,CAAA,CACN,OAAA,CAAS,OACX,CAAC,CAAA,CAED,QAAA,CAAAD,6BAAAA,yBAACE,CAAA,CAAA,CAAc,CAAA,CACjB,CAAA,CACAF,6BAAAA,CAAsB,CAAA,eAAA,CAArB,CACC,SAAA,CAAWC,iCAAAA,CACT,SAAA,CAAW,mCAAA,CACX,IAAA,CAAM,CAAA,CAAA,CACN,OAAA,CAAS,OACX,CAAC,CAAA,CAED,QAAA,CAAAD,6BAAAA,2BAACG,CAAA,CAAA,CAAgB,CAAA,CACnB,CAAA,CAAA,CACF,CAAA,CAAA,CACF,CAEJ,CAAA,CAEArB,CAAAA,CAAY,WAAA,CAAc,aAAA,CAAA,wBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/number-input.cjs","sourcesContent":[null,"'use client';\n\nimport * as React from 'react';\nimport * as NumberInputPrimitive from '@codefast-ui/number-input';\nimport { ChevronDownIcon, ChevronUpIcon } from '@radix-ui/react-icons';\nimport { buttonVariants } from '@/styles/button-variants';\nimport { inputVariants, type InputVariantsProps } from '@/styles/input-variants';\n\nconst { root, input } = inputVariants();\n\n/* -----------------------------------------------------------------------------\n * Component: NumberInput\n * -------------------------------------------------------------------------- */\n\ntype NumberInputElement = React.ElementRef<typeof NumberInputPrimitive.Item>;\ninterface NumberInputProps\n extends InputVariantsProps,\n React.ComponentProps<typeof NumberInputPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof NumberInputPrimitive.Item> {}\n\nconst NumberInput = React.forwardRef<NumberInputElement, NumberInputProps>(\n (\n {\n ariaDecrementLabel,\n ariaIncrementLabel,\n className,\n inputSize,\n defaultValue,\n disabled,\n formatOptions,\n id,\n max,\n min,\n readOnly,\n step,\n value,\n onChange,\n ...props\n },\n forwardedRef,\n ) => (\n <NumberInputPrimitive.Root\n ariaDecrementLabel={ariaDecrementLabel}\n ariaIncrementLabel={ariaIncrementLabel}\n className={root({ inputSize, className: ['pr-0', className] })}\n defaultValue={defaultValue}\n disabled={disabled}\n formatOptions={formatOptions}\n id={id}\n max={max}\n min={min}\n readOnly={readOnly}\n step={step}\n value={value}\n onChange={onChange}\n >\n <NumberInputPrimitive.Item\n ref={forwardedRef}\n autoCapitalize=\"off\"\n autoComplete=\"off\"\n autoCorrect=\"off\"\n className={input({ inputSize })}\n inputMode=\"numeric\"\n spellCheck=\"false\"\n {...props}\n />\n <div className=\"ml-auto grid h-full divide-y rounded-r-md border-l\">\n <NumberInputPrimitive.IncrementButton\n className={buttonVariants({\n className: 'h-full rounded-none rounded-tr-md',\n icon: true,\n variant: 'ghost',\n })}\n >\n <ChevronUpIcon />\n </NumberInputPrimitive.IncrementButton>\n <NumberInputPrimitive.DecrementButton\n className={buttonVariants({\n className: 'rounded-tb-md h-full rounded-none',\n icon: true,\n variant: 'ghost',\n })}\n >\n <ChevronDownIcon />\n </NumberInputPrimitive.DecrementButton>\n </div>\n </NumberInputPrimitive.Root>\n ),\n);\n\nNumberInput.displayName = 'NumberInput';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { NumberInput, type NumberInputProps };\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/components/number-input.cjs"],"names":[],"mappings":"AAAA,kIAAoC,iCAA8B,iCAA8B,0CAAyB","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/number-input.cjs"}
@@ -1,2 +1,2 @@
1
- "use client";import{a as o}from"../chunk-FIU6XBX4.js";import{a as r}from"../chunk-YGPIWXWP.js";import*as i from"react";import*as e from"@codefast-ui/number-input";import{ChevronDownIcon as y,ChevronUpIcon as C}from"@radix-ui/react-icons";import{jsx as t,jsxs as m}from"react/jsx-runtime";var{root:V,input:g}=o(),B=i.forwardRef(({ariaDecrementLabel:u,ariaIncrementLabel:a,className:p,inputSize:n,defaultValue:s,disabled:l,formatOptions:c,id:d,max:I,min:N,readOnly:f,step:b,value:v,onChange:P,...R},h)=>m(e.Root,{ariaDecrementLabel:u,ariaIncrementLabel:a,className:V({inputSize:n,className:["pr-0",p]}),defaultValue:s,disabled:l,formatOptions:c,id:d,max:I,min:N,readOnly:f,step:b,value:v,onChange:P,children:[t(e.Item,{ref:h,autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",className:g({inputSize:n}),inputMode:"numeric",spellCheck:"false",...R}),m("div",{className:"ml-auto grid h-full divide-y rounded-r-md border-l",children:[t(e.IncrementButton,{className:r({className:"h-full rounded-none rounded-tr-md",icon:!0,variant:"ghost"}),children:t(C,{})}),t(e.DecrementButton,{className:r({className:"rounded-tb-md h-full rounded-none",icon:!0,variant:"ghost"}),children:t(y,{})})]})]}));B.displayName="NumberInput";export{B as NumberInput};
1
+ import{a}from"../chunk-WZYSDC53.js";import"../chunk-5SBCSCS4.js";import"../chunk-GZWZ3C2B.js";export{a as NumberInput};
2
2
  //# sourceMappingURL=number-input.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/components/number-input.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as NumberInputPrimitive from '@codefast-ui/number-input';\nimport { ChevronDownIcon, ChevronUpIcon } from '@radix-ui/react-icons';\nimport { buttonVariants } from '@/styles/button-variants';\nimport { inputVariants, type InputVariantsProps } from '@/styles/input-variants';\n\nconst { root, input } = inputVariants();\n\n/* -----------------------------------------------------------------------------\n * Component: NumberInput\n * -------------------------------------------------------------------------- */\n\ntype NumberInputElement = React.ElementRef<typeof NumberInputPrimitive.Item>;\ninterface NumberInputProps\n extends InputVariantsProps,\n React.ComponentProps<typeof NumberInputPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof NumberInputPrimitive.Item> {}\n\nconst NumberInput = React.forwardRef<NumberInputElement, NumberInputProps>(\n (\n {\n ariaDecrementLabel,\n ariaIncrementLabel,\n className,\n inputSize,\n defaultValue,\n disabled,\n formatOptions,\n id,\n max,\n min,\n readOnly,\n step,\n value,\n onChange,\n ...props\n },\n forwardedRef,\n ) => (\n <NumberInputPrimitive.Root\n ariaDecrementLabel={ariaDecrementLabel}\n ariaIncrementLabel={ariaIncrementLabel}\n className={root({ inputSize, className: ['pr-0', className] })}\n defaultValue={defaultValue}\n disabled={disabled}\n formatOptions={formatOptions}\n id={id}\n max={max}\n min={min}\n readOnly={readOnly}\n step={step}\n value={value}\n onChange={onChange}\n >\n <NumberInputPrimitive.Item\n ref={forwardedRef}\n autoCapitalize=\"off\"\n autoComplete=\"off\"\n autoCorrect=\"off\"\n className={input({ inputSize })}\n inputMode=\"numeric\"\n spellCheck=\"false\"\n {...props}\n />\n <div className=\"ml-auto grid h-full divide-y rounded-r-md border-l\">\n <NumberInputPrimitive.IncrementButton\n className={buttonVariants({\n className: 'h-full rounded-none rounded-tr-md',\n icon: true,\n variant: 'ghost',\n })}\n >\n <ChevronUpIcon />\n </NumberInputPrimitive.IncrementButton>\n <NumberInputPrimitive.DecrementButton\n className={buttonVariants({\n className: 'rounded-tb-md h-full rounded-none',\n icon: true,\n variant: 'ghost',\n })}\n >\n <ChevronDownIcon />\n </NumberInputPrimitive.DecrementButton>\n </div>\n </NumberInputPrimitive.Root>\n ),\n);\n\nNumberInput.displayName = 'NumberInput';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { NumberInput, type NumberInputProps };\n"],"mappings":"+FAEA,UAAYA,MAAW,QACvB,UAAYC,MAA0B,4BACtC,OAAS,mBAAAC,EAAiB,iBAAAC,MAAqB,wBAoDzC,cAAAC,EAUA,QAAAC,MAVA,oBAhDN,GAAM,CAAE,KAAAC,EAAM,MAAAC,CAAM,EAAIC,EAAc,EAYhCC,EAAoB,aACxB,CACE,CACE,mBAAAC,EACA,mBAAAC,EACA,UAAAC,EACA,UAAAC,EACA,aAAAC,EACA,SAAAC,EACA,cAAAC,EACA,GAAAC,EACA,IAAAC,EACA,IAAAC,EACA,SAAAC,EACA,KAAAC,EACA,MAAAC,EACA,SAAAC,EACA,GAAGC,CACL,EACAC,IAEApB,EAAsB,OAArB,CACC,mBAAoBK,EACpB,mBAAoBC,EACpB,UAAWL,EAAK,CAAE,UAAAO,EAAW,UAAW,CAAC,OAAQD,CAAS,CAAE,CAAC,EAC7D,aAAcE,EACd,SAAUC,EACV,cAAeC,EACf,GAAIC,EACJ,IAAKC,EACL,IAAKC,EACL,SAAUC,EACV,KAAMC,EACN,MAAOC,EACP,SAAUC,EAEV,UAAAnB,EAAsB,OAArB,CACC,IAAKqB,EACL,eAAe,MACf,aAAa,MACb,YAAY,MACZ,UAAWlB,EAAM,CAAE,UAAAM,CAAU,CAAC,EAC9B,UAAU,UACV,WAAW,QACV,GAAGW,EACN,EACAnB,EAAC,OAAI,UAAU,qDACb,UAAAD,EAAsB,kBAArB,CACC,UAAWsB,EAAe,CACxB,UAAW,oCACX,KAAM,GACN,QAAS,OACX,CAAC,EAED,SAAAtB,EAACuB,EAAA,EAAc,EACjB,EACAvB,EAAsB,kBAArB,CACC,UAAWsB,EAAe,CACxB,UAAW,oCACX,KAAM,GACN,QAAS,OACX,CAAC,EAED,SAAAtB,EAACwB,EAAA,EAAgB,EACnB,GACF,GACF,CAEJ,EAEAnB,EAAY,YAAc","names":["React","NumberInputPrimitive","ChevronDownIcon","ChevronUpIcon","jsx","jsxs","root","input","inputVariants","NumberInput","ariaDecrementLabel","ariaIncrementLabel","className","inputSize","defaultValue","disabled","formatOptions","id","max","min","readOnly","step","value","onChange","props","forwardedRef","buttonVariants","ChevronUpIcon","ChevronDownIcon"]}
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -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 _chunkLSBI35ZEcjs = require('../chunk-LSBI35ZE.cjs');var _chunk4XRBMJ5Qcjs = require('../chunk-4XRBMJ5Q.cjs');var _react = require('react'); var o = _interopRequireWildcard(_react);var _reacticons = require('@radix-ui/react-icons');var _jsxruntime = require('react/jsx-runtime');function N({className:t,...n}){return _jsxruntime.jsx.call(void 0, "nav",{"aria-label":"pagination",className:_chunk4XRBMJ5Qcjs.a.call(void 0, "mx-auto flex w-full justify-center",t),role:"navigation",...n})}var u=o.forwardRef(({className:t,...n},i)=>_jsxruntime.jsx.call(void 0, "ul",{ref:i,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "flex flex-row items-center gap-1",t),...n}));u.displayName="PaginationContent";var L=o.forwardRef((t,n)=>_jsxruntime.jsx.call(void 0, "li",{ref:n,...t}));L.displayName="PaginationItem";function p({className:t,isActive:n,size:i,children:P,...l}){return _jsxruntime.jsx.call(void 0, "a",{"aria-current":n?"page":void 0,className:_chunkLSBI35ZEcjs.a.call(void 0, {className:t,icon:!0,size:i,variant:n?"outline":"ghost"}),...l,children:P})}function R({className:t,...n}){return _jsxruntime.jsxs.call(void 0, p,{"aria-label":"Go to previous page",className:_chunk4XRBMJ5Qcjs.a.call(void 0, "gap-1 pl-2.5",t),size:"md",...n,children:[_jsxruntime.jsx.call(void 0, _reacticons.ChevronLeftIcon,{className:"size-4"}),_jsxruntime.jsx.call(void 0, "span",{children:"Previous"})]})}function H({className:t,...n}){return _jsxruntime.jsxs.call(void 0, p,{"aria-label":"Go to next page",className:_chunk4XRBMJ5Qcjs.a.call(void 0, "gap-1 pr-2.5",t),size:"md",...n,children:[_jsxruntime.jsx.call(void 0, "span",{children:"Next"}),_jsxruntime.jsx.call(void 0, _reacticons.ChevronRightIcon,{className:"size-4"})]})}function M({className:t,...n}){return _jsxruntime.jsxs.call(void 0, "span",{"aria-hidden":!0,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "flex size-10 items-center justify-center",t),...n,children:[_jsxruntime.jsx.call(void 0, _reacticons.DotsHorizontalIcon,{className:"size-4"}),_jsxruntime.jsx.call(void 0, "span",{className:"sr-only",children:"More pages"})]})}exports.Pagination = N; exports.PaginationContent = u; exports.PaginationEllipsis = M; exports.PaginationItem = L; exports.PaginationLink = p; exports.PaginationNext = H; exports.PaginationPrevious = R;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk33V2XGLIcjs = require('../chunk-33V2XGLI.cjs');require('../chunk-TULN5SP4.cjs');require('../chunk-CDYYO7UL.cjs');exports.Pagination = _chunk33V2XGLIcjs.a; exports.PaginationContent = _chunk33V2XGLIcjs.b; exports.PaginationEllipsis = _chunk33V2XGLIcjs.g; exports.PaginationItem = _chunk33V2XGLIcjs.c; exports.PaginationLink = _chunk33V2XGLIcjs.d; exports.PaginationNext = _chunk33V2XGLIcjs.f; exports.PaginationPrevious = _chunk33V2XGLIcjs.e;
2
2
  //# sourceMappingURL=pagination.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/components/pagination.cjs","../../src/components/pagination.tsx"],"names":["Pagination","className","props","jsx","cn","PaginationContent","forwardedRef","PaginationItem","PaginationLink","isActive","size","children","buttonVariants","PaginationPrevious","jsxs","ChevronLeftIcon","PaginationNext","ChevronRightIcon","PaginationEllipsis","DotsHorizontalIcon"],"mappings":"AAAA,oZAAyC,yDAA0C,uECA5D,mDAC+C,+CAYlE,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,IAAA,CAAK,YAAA,CACJ,GAAGC,CAAAA,CACN,CAEJ,CASA,IAAMG,CAAAA,CAA0B,CAAA,CAAA,UAAA,CAC9B,CAAC,CAAE,SAAA,CAAAJ,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGI,CAAAA,CAAAA,EACxBH,6BAAAA,IAAC,CAAA,CAAG,GAAA,CAAKG,CAAAA,CAAc,SAAA,CAAWF,iCAAAA,kCAAG,CAAoCH,CAAS,CAAA,CAAI,GAAGC,CAAAA,CAAO,CAEpG,CAAA,CAEAG,CAAAA,CAAkB,WAAA,CAAc,mBAAA,CAShC,IAAME,CAAAA,CAAuB,CAAA,CAAA,UAAA,CAAuD,CAACL,CAAAA,CAAOI,CAAAA,CAAAA,EAC1FH,6BAAAA,IAAC,CAAA,CAAG,GAAA,CAAKG,CAAAA,CAAe,GAAGJ,CAAAA,CAAO,CACnC,CAAA,CAEDK,CAAAA,CAAe,WAAA,CAAc,gBAAA,CAU7B,SAASC,CAAAA,CAAe,CAAE,SAAA,CAAAP,CAAAA,CAAW,QAAA,CAAAQ,CAAAA,CAAU,IAAA,CAAAC,CAAAA,CAAM,QAAA,CAAAC,CAAAA,CAAU,GAAGT,CAAM,CAAA,CAA2C,CACjH,OACEC,6BAAAA,GAAC,CAAA,CACC,cAAA,CAAcM,CAAAA,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AAC,SAAA,CAAWV,iCAAAA,0CAAG,CAA4CH,CAAS,CAAA,CAAI,GAAGC,CAAAA,CAC1F,QAAA,CAAA,CAAAC,6BAAAA,8BAACgB,CAAA,CAAmB,SAAA,CAAU,QAAA,CAAS,CAAA,CACvChB,6BAAAA,MAAC,CAAA,CAAK,SAAA,CAAU,SAAA,CAAU,QAAA,CAAA,YAAA,CAAU,CAAA,CAAA,CACtC,CAEJ,CAAA,0MAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/pagination.cjs","sourcesContent":[null,"import * as React from 'react';\nimport { ChevronLeftIcon, ChevronRightIcon, DotsHorizontalIcon } from '@radix-ui/react-icons';\nimport { cn } from '@/lib/utils';\nimport { buttonVariants, type ButtonVariantsProps } from '@/styles/button-variants';\n\n/* -----------------------------------------------------------------------------\n * Component: Pagination\n * -------------------------------------------------------------------------- */\n\ntype PaginationProps = React.HTMLAttributes<HTMLElement>;\n\nfunction Pagination({ className, ...props }: PaginationProps): React.JSX.Element {\n return (\n <nav\n aria-label=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n role=\"navigation\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationContent\n * -------------------------------------------------------------------------- */\n\ntype PaginationContentElement = HTMLUListElement;\ntype PaginationContentProps = React.HTMLAttributes<HTMLUListElement>;\n\nconst PaginationContent = React.forwardRef<PaginationContentElement, PaginationContentProps>(\n ({ className, ...props }, forwardedRef) => (\n <ul ref={forwardedRef} className={cn('flex flex-row items-center gap-1', className)} {...props} />\n ),\n);\n\nPaginationContent.displayName = 'PaginationContent';\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationItem\n * -------------------------------------------------------------------------- */\n\ntype PaginationItemElement = HTMLLIElement;\ntype PaginationItemProps = React.LiHTMLAttributes<HTMLLIElement>;\n\nconst PaginationItem = React.forwardRef<PaginationItemElement, PaginationItemProps>((props, forwardedRef) => (\n <li ref={forwardedRef} {...props} />\n));\n\nPaginationItem.displayName = 'PaginationItem';\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationLink\n * -------------------------------------------------------------------------- */\n\ninterface PaginationLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement>, Pick<ButtonVariantsProps, 'size'> {\n isActive?: boolean;\n}\n\nfunction PaginationLink({ className, isActive, size, children, ...props }: PaginationLinkProps): React.JSX.Element {\n return (\n <a\n aria-current={isActive ? 'page' : undefined}\n className={buttonVariants({\n className,\n icon: true,\n size,\n variant: isActive ? 'outline' : 'ghost',\n })}\n {...props}\n >\n {children}\n </a>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationPrevious\n * -------------------------------------------------------------------------- */\n\ntype PaginationPreviousProps = PaginationLinkProps;\n\nfunction PaginationPrevious({ className, ...props }: PaginationPreviousProps): React.JSX.Element {\n return (\n <PaginationLink aria-label=\"Go to previous page\" className={cn('gap-1 pl-2.5', className)} size=\"md\" {...props}>\n <ChevronLeftIcon className=\"size-4\" />\n <span>Previous</span>\n </PaginationLink>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationNext\n * -------------------------------------------------------------------------- */\n\ntype PaginationNextProps = PaginationLinkProps;\n\nfunction PaginationNext({ className, ...props }: PaginationNextProps): React.JSX.Element {\n return (\n <PaginationLink aria-label=\"Go to next page\" className={cn('gap-1 pr-2.5', className)} size=\"md\" {...props}>\n <span>Next</span>\n <ChevronRightIcon className=\"size-4\" />\n </PaginationLink>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationEllipsis\n * -------------------------------------------------------------------------- */\n\ntype PaginationEllipsisProps = React.HTMLAttributes<HTMLSpanElement>;\n\nfunction PaginationEllipsis({ className, ...props }: PaginationEllipsisProps): React.JSX.Element {\n return (\n <span aria-hidden className={cn('flex size-10 items-center justify-center', className)} {...props}>\n <DotsHorizontalIcon 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 PaginationLink,\n PaginationItem,\n PaginationPrevious,\n PaginationNext,\n PaginationEllipsis,\n type PaginationProps,\n type PaginationContentProps,\n type PaginationLinkProps,\n type PaginationItemProps,\n type PaginationPreviousProps,\n type PaginationNextProps,\n type PaginationEllipsisProps,\n};\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/components/pagination.cjs"],"names":[],"mappings":"AAAA,kIAAgD,iCAA8B,iCAA8B,wUAA2J","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/pagination.cjs"}
@@ -1,2 +1,2 @@
1
- import{a as r}from"../chunk-YGPIWXWP.js";import{a as e}from"../chunk-VRBUDJBH.js";import*as o from"react";import{ChevronLeftIcon as g,ChevronRightIcon as m,DotsHorizontalIcon as c}from"@radix-ui/react-icons";import{jsx as a,jsxs as s}from"react/jsx-runtime";function N({className:t,...n}){return a("nav",{"aria-label":"pagination",className:e("mx-auto flex w-full justify-center",t),role:"navigation",...n})}var u=o.forwardRef(({className:t,...n},i)=>a("ul",{ref:i,className:e("flex flex-row items-center gap-1",t),...n}));u.displayName="PaginationContent";var L=o.forwardRef((t,n)=>a("li",{ref:n,...t}));L.displayName="PaginationItem";function p({className:t,isActive:n,size:i,children:P,...l}){return a("a",{"aria-current":n?"page":void 0,className:r({className:t,icon:!0,size:i,variant:n?"outline":"ghost"}),...l,children:P})}function R({className:t,...n}){return s(p,{"aria-label":"Go to previous page",className:e("gap-1 pl-2.5",t),size:"md",...n,children:[a(g,{className:"size-4"}),a("span",{children:"Previous"})]})}function H({className:t,...n}){return s(p,{"aria-label":"Go to next page",className:e("gap-1 pr-2.5",t),size:"md",...n,children:[a("span",{children:"Next"}),a(m,{className:"size-4"})]})}function M({className:t,...n}){return s("span",{"aria-hidden":!0,className:e("flex size-10 items-center justify-center",t),...n,children:[a(c,{className:"size-4"}),a("span",{className:"sr-only",children:"More pages"})]})}export{N as Pagination,u as PaginationContent,M as PaginationEllipsis,L as PaginationItem,p as PaginationLink,H as PaginationNext,R as PaginationPrevious};
1
+ import{a,b,c,d,e,f,g}from"../chunk-PCOYLJQH.js";import"../chunk-5SBCSCS4.js";import"../chunk-ASPYPA2M.js";export{a as Pagination,b as PaginationContent,g as PaginationEllipsis,c as PaginationItem,d as PaginationLink,f as PaginationNext,e as PaginationPrevious};
2
2
  //# sourceMappingURL=pagination.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/components/pagination.tsx"],"sourcesContent":["import * as React from 'react';\nimport { ChevronLeftIcon, ChevronRightIcon, DotsHorizontalIcon } from '@radix-ui/react-icons';\nimport { cn } from '@/lib/utils';\nimport { buttonVariants, type ButtonVariantsProps } from '@/styles/button-variants';\n\n/* -----------------------------------------------------------------------------\n * Component: Pagination\n * -------------------------------------------------------------------------- */\n\ntype PaginationProps = React.HTMLAttributes<HTMLElement>;\n\nfunction Pagination({ className, ...props }: PaginationProps): React.JSX.Element {\n return (\n <nav\n aria-label=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n role=\"navigation\"\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationContent\n * -------------------------------------------------------------------------- */\n\ntype PaginationContentElement = HTMLUListElement;\ntype PaginationContentProps = React.HTMLAttributes<HTMLUListElement>;\n\nconst PaginationContent = React.forwardRef<PaginationContentElement, PaginationContentProps>(\n ({ className, ...props }, forwardedRef) => (\n <ul ref={forwardedRef} className={cn('flex flex-row items-center gap-1', className)} {...props} />\n ),\n);\n\nPaginationContent.displayName = 'PaginationContent';\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationItem\n * -------------------------------------------------------------------------- */\n\ntype PaginationItemElement = HTMLLIElement;\ntype PaginationItemProps = React.LiHTMLAttributes<HTMLLIElement>;\n\nconst PaginationItem = React.forwardRef<PaginationItemElement, PaginationItemProps>((props, forwardedRef) => (\n <li ref={forwardedRef} {...props} />\n));\n\nPaginationItem.displayName = 'PaginationItem';\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationLink\n * -------------------------------------------------------------------------- */\n\ninterface PaginationLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement>, Pick<ButtonVariantsProps, 'size'> {\n isActive?: boolean;\n}\n\nfunction PaginationLink({ className, isActive, size, children, ...props }: PaginationLinkProps): React.JSX.Element {\n return (\n <a\n aria-current={isActive ? 'page' : undefined}\n className={buttonVariants({\n className,\n icon: true,\n size,\n variant: isActive ? 'outline' : 'ghost',\n })}\n {...props}\n >\n {children}\n </a>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationPrevious\n * -------------------------------------------------------------------------- */\n\ntype PaginationPreviousProps = PaginationLinkProps;\n\nfunction PaginationPrevious({ className, ...props }: PaginationPreviousProps): React.JSX.Element {\n return (\n <PaginationLink aria-label=\"Go to previous page\" className={cn('gap-1 pl-2.5', className)} size=\"md\" {...props}>\n <ChevronLeftIcon className=\"size-4\" />\n <span>Previous</span>\n </PaginationLink>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationNext\n * -------------------------------------------------------------------------- */\n\ntype PaginationNextProps = PaginationLinkProps;\n\nfunction PaginationNext({ className, ...props }: PaginationNextProps): React.JSX.Element {\n return (\n <PaginationLink aria-label=\"Go to next page\" className={cn('gap-1 pr-2.5', className)} size=\"md\" {...props}>\n <span>Next</span>\n <ChevronRightIcon className=\"size-4\" />\n </PaginationLink>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: PaginationEllipsis\n * -------------------------------------------------------------------------- */\n\ntype PaginationEllipsisProps = React.HTMLAttributes<HTMLSpanElement>;\n\nfunction PaginationEllipsis({ className, ...props }: PaginationEllipsisProps): React.JSX.Element {\n return (\n <span aria-hidden className={cn('flex size-10 items-center justify-center', className)} {...props}>\n <DotsHorizontalIcon 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 PaginationLink,\n PaginationItem,\n PaginationPrevious,\n PaginationNext,\n PaginationEllipsis,\n type PaginationProps,\n type PaginationContentProps,\n type PaginationLinkProps,\n type PaginationItemProps,\n type PaginationPreviousProps,\n type PaginationNextProps,\n type PaginationEllipsisProps,\n};\n"],"mappings":"kFAAA,UAAYA,MAAW,QACvB,OAAS,mBAAAC,EAAiB,oBAAAC,EAAkB,sBAAAC,MAA0B,wBAYlE,cAAAC,EAsEA,QAAAC,MAtEA,oBAFJ,SAASC,EAAW,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAuC,CAC/E,OACEJ,EAAC,OACC,aAAW,aACX,UAAWK,EAAG,qCAAsCF,CAAS,EAC7D,KAAK,aACJ,GAAGC,EACN,CAEJ,CASA,IAAME,EAA0B,aAC9B,CAAC,CAAE,UAAAH,EAAW,GAAGC,CAAM,EAAGG,IACxBP,EAAC,MAAG,IAAKO,EAAc,UAAWF,EAAG,mCAAoCF,CAAS,EAAI,GAAGC,EAAO,CAEpG,EAEAE,EAAkB,YAAc,oBAShC,IAAME,EAAuB,aAAuD,CAACJ,EAAOG,IAC1FP,EAAC,MAAG,IAAKO,EAAe,GAAGH,EAAO,CACnC,EAEDI,EAAe,YAAc,iBAU7B,SAASC,EAAe,CAAE,UAAAN,EAAW,SAAAO,EAAU,KAAAC,EAAM,SAAAC,EAAU,GAAGR,CAAM,EAA2C,CACjH,OACEJ,EAAC,KACC,eAAcU,EAAW,OAAS,OAClC,UAAWG,EAAe,CACxB,UAAAV,EACA,KAAM,GACN,KAAAQ,EACA,QAASD,EAAW,UAAY,OAClC,CAAC,EACA,GAAGN,EAEH,SAAAQ,EACH,CAEJ,CAQA,SAASE,EAAmB,CAAE,UAAAX,EAAW,GAAGC,CAAM,EAA+C,CAC/F,OACEH,EAACQ,EAAA,CAAe,aAAW,sBAAsB,UAAWJ,EAAG,eAAgBF,CAAS,EAAG,KAAK,KAAM,GAAGC,EACvG,UAAAJ,EAACe,EAAA,CAAgB,UAAU,SAAS,EACpCf,EAAC,QAAK,oBAAQ,GAChB,CAEJ,CAQA,SAASgB,EAAe,CAAE,UAAAb,EAAW,GAAGC,CAAM,EAA2C,CACvF,OACEH,EAACQ,EAAA,CAAe,aAAW,kBAAkB,UAAWJ,EAAG,eAAgBF,CAAS,EAAG,KAAK,KAAM,GAAGC,EACnG,UAAAJ,EAAC,QAAK,gBAAI,EACVA,EAACiB,EAAA,CAAiB,UAAU,SAAS,GACvC,CAEJ,CAQA,SAASC,EAAmB,CAAE,UAAAf,EAAW,GAAGC,CAAM,EAA+C,CAC/F,OACEH,EAAC,QAAK,cAAW,GAAC,UAAWI,EAAG,2CAA4CF,CAAS,EAAI,GAAGC,EAC1F,UAAAJ,EAACmB,EAAA,CAAmB,UAAU,SAAS,EACvCnB,EAAC,QAAK,UAAU,UAAU,sBAAU,GACtC,CAEJ","names":["React","ChevronLeftIcon","ChevronRightIcon","DotsHorizontalIcon","jsx","jsxs","Pagination","className","props","cn","PaginationContent","forwardedRef","PaginationItem","PaginationLink","isActive","size","children","buttonVariants","PaginationPrevious","ChevronLeftIcon","PaginationNext","ChevronRightIcon","PaginationEllipsis","DotsHorizontalIcon"]}
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -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 _chunk4XRBMJ5Qcjs = require('../chunk-4XRBMJ5Q.cjs');var _react = require('react'); var a = _interopRequireWildcard(_react);var _reactpopover = require('@radix-ui/react-popover'); var o = _interopRequireWildcard(_reactpopover);var _jsxruntime = require('react/jsx-runtime');var m=o.Root,f= exports.PopoverTrigger =o.Trigger,l= exports.PopoverAnchor =o.Anchor,n= exports.PopoverContent =a.forwardRef(({className:e,align:t="center",sideOffset:r=6,...P},s)=>_jsxruntime.jsx.call(void 0, o.Portal,{children:_jsxruntime.jsx.call(void 0, o.Content,{ref:s,align:t,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "bg-popover text-popover-foreground z-50 min-w-32 rounded-md border p-4 shadow-md","data-[state=open]:animate-in data-[state=open]:fade-in 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 data-[state=closed]:zoom-out-95","data-[state=closed]:data-[side=top]:slide-out-to-bottom-2","data-[state=closed]:data-[side=left]:slide-out-to-right-2","data-[state=closed]:data-[side=bottom]:slide-out-to-top-2","data-[state=closed]:data-[side=right]:slide-out-to-left-2",e),sideOffset:r,...P})}));n.displayName=o.Content.displayName;var d=a.forwardRef(({className:e,...t},r)=>_jsxruntime.jsx.call(void 0, o.Arrow,{ref:r,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "fill-popover",e),...t}));d.displayName=o.Arrow.displayName;exports.Popover = m; exports.PopoverAnchor = l; exports.PopoverArrow = d; exports.PopoverContent = n; exports.PopoverTrigger = f;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkQ5Z2DBJJcjs = require('../chunk-Q5Z2DBJJ.cjs');require('../chunk-CDYYO7UL.cjs');exports.Popover = _chunkQ5Z2DBJJcjs.a; exports.PopoverAnchor = _chunkQ5Z2DBJJcjs.c; exports.PopoverArrow = _chunkQ5Z2DBJJcjs.e; exports.PopoverContent = _chunkQ5Z2DBJJcjs.d; exports.PopoverTrigger = _chunkQ5Z2DBJJcjs.b;
2
2
  //# sourceMappingURL=popover.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/components/popover.cjs","../../src/components/popover.tsx"],"names":["Popover","PopoverTr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CAAA,KAAA,CAAM,WAAA,CAAA,iIAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/popover.cjs","sourcesContent":[null,"import * as React from 'react';\nimport * as PopoverPrimitive from '@radix-ui/react-popover';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Popover\n * -------------------------------------------------------------------------- */\n\ntype PopoverProps = React.ComponentProps<typeof PopoverPrimitive.Root>;\nconst Popover = PopoverPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: PopoverTrigger\n * -------------------------------------------------------------------------- */\n\ntype PopoverTriggerProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Trigger>;\nconst PopoverTrigger = PopoverPrimitive.Trigger;\n\n/* -----------------------------------------------------------------------------\n * Component: PopoverAnchor\n * -------------------------------------------------------------------------- */\n\ntype PopoverAnchorProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Anchor>;\nconst PopoverAnchor = PopoverPrimitive.Anchor;\n\n/* -----------------------------------------------------------------------------\n * Component: PopoverContent\n * -------------------------------------------------------------------------- */\n\ntype PopoverContentElement = React.ElementRef<typeof PopoverPrimitive.Content>;\ntype PopoverContentProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>;\n\nconst PopoverContent = React.forwardRef<PopoverContentElement, PopoverContentProps>(\n ({ className, align = 'center', sideOffset = 6, ...props }, forwardedRef) => (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n ref={forwardedRef}\n align={align}\n className={cn(\n 'bg-popover text-popover-foreground z-50 min-w-32 rounded-md border p-4 shadow-md',\n 'data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-95',\n 'data-[state=open]:data-[side=top]:slide-in-from-bottom-2',\n 'data-[state=open]:data-[side=right]:slide-in-from-left-2',\n 'data-[state=open]:data-[side=bottom]:slide-in-from-top-2',\n 'data-[state=open]:data-[side=left]:slide-in-from-right-2',\n 'data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95',\n 'data-[state=closed]:data-[side=top]:slide-out-to-bottom-2',\n 'data-[state=closed]:data-[side=left]:slide-out-to-right-2',\n 'data-[state=closed]:data-[side=bottom]:slide-out-to-top-2',\n 'data-[state=closed]:data-[side=right]:slide-out-to-left-2',\n className,\n )}\n sideOffset={sideOffset}\n {...props}\n />\n </PopoverPrimitive.Portal>\n ),\n);\n\nPopoverContent.displayName = PopoverPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: PopoverArrow\n * -------------------------------------------------------------------------- */\n\ntype PopoverArrowElement = React.ElementRef<typeof PopoverPrimitive.Arrow>;\ntype PopoverArrowProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Arrow>;\n\nconst PopoverArrow = React.forwardRef<PopoverArrowElement, PopoverArrowProps>(\n ({ className, ...props }, forwardedRef) => (\n <PopoverPrimitive.Arrow ref={forwardedRef} className={cn('fill-popover', className)} {...props} />\n ),\n);\n\nPopoverArrow.displayName = PopoverPrimitive.Arrow.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Popover,\n PopoverTrigger,\n PopoverContent,\n PopoverAnchor,\n PopoverArrow,\n type PopoverProps,\n type PopoverTriggerProps,\n type PopoverContentProps,\n type PopoverAnchorProps,\n type PopoverArrowProps,\n};\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/components/popover.cjs"],"names":[],"mappings":"AAAA,kIAA4C,iCAA8B,2NAAkG","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/popover.cjs"}
@@ -1,2 +1,2 @@
1
- import{a as p}from"../chunk-VRBUDJBH.js";import*as a from"react";import*as o from"@radix-ui/react-popover";import{jsx as i}from"react/jsx-runtime";var m=o.Root,f=o.Trigger,l=o.Anchor,n=a.forwardRef(({className:e,align:t="center",sideOffset:r=6,...P},s)=>i(o.Portal,{children:i(o.Content,{ref:s,align:t,className:p("bg-popover text-popover-foreground z-50 min-w-32 rounded-md border p-4 shadow-md","data-[state=open]:animate-in data-[state=open]:fade-in 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 data-[state=closed]:zoom-out-95","data-[state=closed]:data-[side=top]:slide-out-to-bottom-2","data-[state=closed]:data-[side=left]:slide-out-to-right-2","data-[state=closed]:data-[side=bottom]:slide-out-to-top-2","data-[state=closed]:data-[side=right]:slide-out-to-left-2",e),sideOffset:r,...P})}));n.displayName=o.Content.displayName;var d=a.forwardRef(({className:e,...t},r)=>i(o.Arrow,{ref:r,className:p("fill-popover",e),...t}));d.displayName=o.Arrow.displayName;export{m as Popover,l as PopoverAnchor,d as PopoverArrow,n as PopoverContent,f as PopoverTrigger};
1
+ import{a,b,c,d,e}from"../chunk-7UKH2QZD.js";import"../chunk-ASPYPA2M.js";export{a as Popover,c as PopoverAnchor,e as PopoverArrow,d as PopoverContent,b as PopoverTrigger};
2
2
  //# sourceMappingURL=popover.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/components/popover.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as PopoverPrimitive from '@radix-ui/react-popover';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Popover\n * -------------------------------------------------------------------------- */\n\ntype PopoverProps = React.ComponentProps<typeof PopoverPrimitive.Root>;\nconst Popover = PopoverPrimitive.Root;\n\n/* -----------------------------------------------------------------------------\n * Component: PopoverTrigger\n * -------------------------------------------------------------------------- */\n\ntype PopoverTriggerProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Trigger>;\nconst PopoverTrigger = PopoverPrimitive.Trigger;\n\n/* -----------------------------------------------------------------------------\n * Component: PopoverAnchor\n * -------------------------------------------------------------------------- */\n\ntype PopoverAnchorProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Anchor>;\nconst PopoverAnchor = PopoverPrimitive.Anchor;\n\n/* -----------------------------------------------------------------------------\n * Component: PopoverContent\n * -------------------------------------------------------------------------- */\n\ntype PopoverContentElement = React.ElementRef<typeof PopoverPrimitive.Content>;\ntype PopoverContentProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>;\n\nconst PopoverContent = React.forwardRef<PopoverContentElement, PopoverContentProps>(\n ({ className, align = 'center', sideOffset = 6, ...props }, forwardedRef) => (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n ref={forwardedRef}\n align={align}\n className={cn(\n 'bg-popover text-popover-foreground z-50 min-w-32 rounded-md border p-4 shadow-md',\n 'data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:zoom-in-95',\n 'data-[state=open]:data-[side=top]:slide-in-from-bottom-2',\n 'data-[state=open]:data-[side=right]:slide-in-from-left-2',\n 'data-[state=open]:data-[side=bottom]:slide-in-from-top-2',\n 'data-[state=open]:data-[side=left]:slide-in-from-right-2',\n 'data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=closed]:zoom-out-95',\n 'data-[state=closed]:data-[side=top]:slide-out-to-bottom-2',\n 'data-[state=closed]:data-[side=left]:slide-out-to-right-2',\n 'data-[state=closed]:data-[side=bottom]:slide-out-to-top-2',\n 'data-[state=closed]:data-[side=right]:slide-out-to-left-2',\n className,\n )}\n sideOffset={sideOffset}\n {...props}\n />\n </PopoverPrimitive.Portal>\n ),\n);\n\nPopoverContent.displayName = PopoverPrimitive.Content.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: PopoverArrow\n * -------------------------------------------------------------------------- */\n\ntype PopoverArrowElement = React.ElementRef<typeof PopoverPrimitive.Arrow>;\ntype PopoverArrowProps = React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Arrow>;\n\nconst PopoverArrow = React.forwardRef<PopoverArrowElement, PopoverArrowProps>(\n ({ className, ...props }, forwardedRef) => (\n <PopoverPrimitive.Arrow ref={forwardedRef} className={cn('fill-popover', className)} {...props} />\n ),\n);\n\nPopoverArrow.displayName = PopoverPrimitive.Arrow.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Popover,\n PopoverTrigger,\n PopoverContent,\n PopoverAnchor,\n PopoverArrow,\n type PopoverProps,\n type PopoverTriggerProps,\n type PopoverContentProps,\n type PopoverAnchorProps,\n type PopoverArrowProps,\n};\n"],"mappings":"yCAAA,UAAYA,MAAW,QACvB,UAAYC,MAAsB,0BAkC5B,cAAAC,MAAA,oBA1BN,IAAMC,EAA2B,OAO3BC,EAAkC,UAOlCC,EAAiC,SASjCC,EAAuB,aAC3B,CAAC,CAAE,UAAAC,EAAW,MAAAC,EAAQ,SAAU,WAAAC,EAAa,EAAG,GAAGC,CAAM,EAAGC,IAC1DT,EAAkB,SAAjB,CACC,SAAAA,EAAkB,UAAjB,CACC,IAAKS,EACL,MAAOH,EACP,UAAWI,EACT,mFACA,sFACA,2DACA,2DACA,2DACA,2DACA,+FACA,4DACA,4DACA,4DACA,4DACAL,CACF,EACA,WAAYE,EACX,GAAGC,EACN,EACF,CAEJ,EAEAJ,EAAe,YAA+B,UAAQ,YAStD,IAAMO,EAAqB,aACzB,CAAC,CAAE,UAAAN,EAAW,GAAGG,CAAM,EAAGC,IACxBT,EAAkB,QAAjB,CAAuB,IAAKS,EAAc,UAAWC,EAAG,eAAgBL,CAAS,EAAI,GAAGG,EAAO,CAEpG,EAEAG,EAAa,YAA+B,QAAM","names":["React","PopoverPrimitive","jsx","Popover","PopoverTrigger","PopoverAnchor","PopoverContent","className","align","sideOffset","props","forwardedRef","cn","PopoverArrow"]}
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -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 _react = require('react'); var e = _interopRequireWildcard(_react);var _reactslot = require('@radix-ui/react-slot');var _jsxruntime = require('react/jsx-runtime');var p=e.forwardRef(({asChild:r,...t},o)=>_jsxruntime.jsx.call(void 0, r?_reactslot.Slot:"pre",{ref:o,...t}));p.displayName="Pre";exports.Pre = p;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkJ5BWQWHWcjs = require('../chunk-J5BWQWHW.cjs');exports.Pre = _chunkJ5BWQWHWcjs.a;
2
2
  //# sourceMappingURL=pre.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/components/pre.tsx"],"names":["Pre","asChild","props","forwardedRef","jsx","Slot"],"mappings":"AAAA,kaAAuB,iDACF,+CAeZ,IAHHA,CAAAA,CAAY,CAAA,CAAA,UAAA,CAAiC,CAAC,CAAE,OAAA,CAAAC,CAAAA,CAAS,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAGlEC,6BAAAA,CAFWH,CAAUI,eAAAA,CAAO,KAAA,CAE3B,CAAU,GAAA,CAAKF,CAAAA,CAAe,GAAGD,CAAAA,CAAO,CACjD,CAAA,CAEDF,CAAAA,CAAI,WAAA,CAAc,KAAA,CAAA,gBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/pre.cjs","sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\n\n/* -----------------------------------------------------------------------------\n * Component: Pre\n * -------------------------------------------------------------------------- */\n\ntype PreElement = HTMLPreElement;\n\ninterface PreProps extends React.HTMLAttributes<HTMLPreElement> {\n asChild?: boolean;\n}\n\nconst Pre = React.forwardRef<PreElement, PreProps>(({ asChild, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : 'pre';\n\n return <Component ref={forwardedRef} {...props} />;\n});\n\nPre.displayName = 'Pre';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Pre, type PreProps };\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/components/pre.cjs"],"names":[],"mappings":"AAAA,kIAAoC,kCAAiB","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/pre.cjs"}
@@ -1,2 +1,2 @@
1
- import*as e from"react";import{Slot as n}from"@radix-ui/react-slot";import{jsx as P}from"react/jsx-runtime";var p=e.forwardRef(({asChild:r,...t},o)=>P(r?n:"pre",{ref:o,...t}));p.displayName="Pre";export{p as Pre};
1
+ import{a}from"../chunk-G4LJ5TN5.js";export{a as Pre};
2
2
  //# sourceMappingURL=pre.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/components/pre.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\n\n/* -----------------------------------------------------------------------------\n * Component: Pre\n * -------------------------------------------------------------------------- */\n\ntype PreElement = HTMLPreElement;\n\ninterface PreProps extends React.HTMLAttributes<HTMLPreElement> {\n asChild?: boolean;\n}\n\nconst Pre = React.forwardRef<PreElement, PreProps>(({ asChild, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : 'pre';\n\n return <Component ref={forwardedRef} {...props} />;\n});\n\nPre.displayName = 'Pre';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Pre, type PreProps };\n"],"mappings":"AAAA,UAAYA,MAAW,QACvB,OAAS,QAAAC,MAAY,uBAeZ,cAAAC,MAAA,oBAHT,IAAMC,EAAY,aAAiC,CAAC,CAAE,QAAAC,EAAS,GAAGC,CAAM,EAAGC,IAGlEJ,EAFWE,EAAUH,EAAO,MAE3B,CAAU,IAAKK,EAAe,GAAGD,EAAO,CACjD,EAEDF,EAAI,YAAc","names":["React","Slot","jsx","Pre","asChild","props","forwardedRef"]}
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -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; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunk4XRBMJ5Qcjs = require('../chunk-4XRBMJ5Q.cjs');var _react = require('react'); var s = _interopRequireWildcard(_react);var _reactprogress = require('@radix-ui/react-progress'); var r = _interopRequireWildcard(_reactprogress);var _jsxruntime = require('react/jsx-runtime');var a=s.forwardRef(({className:t,value:i,...P},m)=>_jsxruntime.jsx.call(void 0, r.Root,{ref:m,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "bg-primary/20 relative h-2 w-full overflow-hidden rounded-full",t),...P,children:_jsxruntime.jsx.call(void 0, r.Indicator,{className:"bg-primary size-full flex-1 transition",style:{transform:`translateX(-${String(100-(_nullishCoalesce(i, () => (0))))}%)`}})}));a.displayName=r.Root.displayName;exports.Progress = a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk5VNNFVCLcjs = require('../chunk-5VNNFVCL.cjs');require('../chunk-CDYYO7UL.cjs');exports.Progress = _chunk5VNNFVCLcjs.a;
2
2
  //# sourceMappingURL=progress.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/components/progress.cjs","../../src/components/progress.tsx"],"names":["Progress","className","value","props","forwardedRef","jsx","cn"],"mappings":"AAAA,wfAAyC,uECAlB,0GACY,+CAgB/B,IANEA,CAAAA,CAAiB,CAAA,CAAA,UAAA,CAA2C,CAAC,CAAE,SAAA,CAAAC,CAAAA,CAAW,KAAA,CAAAC,CAAAA,CAAO,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACjGC,6BAAAA,CAAmB,CAAA,IAAA,CAAlB,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWE,iCAAAA,gEAAG,CAAkEL,CAAS,CAAA,CACxF,GAAGE,CAAAA,CAEJ,QAAA,CAAAE,6BAAAA,CAAmB,CAAA,SAAA,CAAlB,CACC,SAAA,CAAU,wCAAA,CACV,KAAA,CAAO,CACL,SAAA,CAAW,CAAA,YAAA,EAAe,MAAA,CAAO,GAAA,CAAA,kBAAOH,CAAAA,SAAS,GAAA,CAAE,CAAC,CAAA,EAAA,CACtD,CAAA,CACF,CAAA,CACF,CACD,CAAA,CAEDF,CAAAA,CAAS,WAAA,CAAgC,CAAA,CAAA,IAAA,CAAK,WAAA,CAAA,qBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/progress.cjs","sourcesContent":[null,"import * as React from 'react';\nimport * as ProgressPrimitive from '@radix-ui/react-progress';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Progress\n * -------------------------------------------------------------------------- */\n\ntype ProgressElement = React.ElementRef<typeof ProgressPrimitive.Root>;\ntype ProgressProps = React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>;\n\nconst Progress = React.forwardRef<ProgressElement, ProgressProps>(({ className, value, ...props }, forwardedRef) => (\n <ProgressPrimitive.Root\n ref={forwardedRef}\n className={cn('bg-primary/20 relative h-2 w-full overflow-hidden rounded-full', className)}\n {...props}\n >\n <ProgressPrimitive.Indicator\n className=\"bg-primary size-full flex-1 transition\"\n style={{\n transform: `translateX(-${String(100 - (value ?? 0))}%)`,\n }}\n />\n </ProgressPrimitive.Root>\n));\n\nProgress.displayName = ProgressPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Progress, type ProgressProps };\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/components/progress.cjs"],"names":[],"mappings":"AAAA,kIAAoC,iCAA8B,uCAAsB","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/progress.cjs"}
@@ -1,2 +1,2 @@
1
- import{a as e}from"../chunk-VRBUDJBH.js";import*as s from"react";import*as r from"@radix-ui/react-progress";import{jsx as o}from"react/jsx-runtime";var a=s.forwardRef(({className:t,value:i,...P},m)=>o(r.Root,{ref:m,className:e("bg-primary/20 relative h-2 w-full overflow-hidden rounded-full",t),...P,children:o(r.Indicator,{className:"bg-primary size-full flex-1 transition",style:{transform:`translateX(-${String(100-(i??0))}%)`}})}));a.displayName=r.Root.displayName;export{a as Progress};
1
+ import{a}from"../chunk-UPHP6DHE.js";import"../chunk-ASPYPA2M.js";export{a as Progress};
2
2
  //# sourceMappingURL=progress.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/components/progress.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as ProgressPrimitive from '@radix-ui/react-progress';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Progress\n * -------------------------------------------------------------------------- */\n\ntype ProgressElement = React.ElementRef<typeof ProgressPrimitive.Root>;\ntype ProgressProps = React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>;\n\nconst Progress = React.forwardRef<ProgressElement, ProgressProps>(({ className, value, ...props }, forwardedRef) => (\n <ProgressPrimitive.Root\n ref={forwardedRef}\n className={cn('bg-primary/20 relative h-2 w-full overflow-hidden rounded-full', className)}\n {...props}\n >\n <ProgressPrimitive.Indicator\n className=\"bg-primary size-full flex-1 transition\"\n style={{\n transform: `translateX(-${String(100 - (value ?? 0))}%)`,\n }}\n />\n </ProgressPrimitive.Root>\n));\n\nProgress.displayName = ProgressPrimitive.Root.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Progress, type ProgressProps };\n"],"mappings":"yCAAA,UAAYA,MAAW,QACvB,UAAYC,MAAuB,2BAgB/B,cAAAC,MAAA,oBANJ,IAAMC,EAAiB,aAA2C,CAAC,CAAE,UAAAC,EAAW,MAAAC,EAAO,GAAGC,CAAM,EAAGC,IACjGL,EAAmB,OAAlB,CACC,IAAKK,EACL,UAAWC,EAAG,iEAAkEJ,CAAS,EACxF,GAAGE,EAEJ,SAAAJ,EAAmB,YAAlB,CACC,UAAU,yCACV,MAAO,CACL,UAAW,eAAe,OAAO,KAAOG,GAAS,EAAE,CAAC,IACtD,EACF,EACF,CACD,EAEDF,EAAS,YAAgC,OAAK","names":["React","ProgressPrimitive","jsx","Progress","className","value","props","forwardedRef","cn"]}
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -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 _react = require('react'); var e = _interopRequireWildcard(_react);var _reactslot = require('@radix-ui/react-slot');var _jsxruntime = require('react/jsx-runtime');var p=e.forwardRef(({asChild:t,...o},n)=>_jsxruntime.jsx.call(void 0, t?_reactslot.Slot:"q",{ref:n,...o}));p.displayName="Quote";exports.Quote = p;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkQARMJ2BXcjs = require('../chunk-QARMJ2BX.cjs');exports.Quote = _chunkQARMJ2BXcjs.a;
2
2
  //# sourceMappingURL=quote.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/components/quote.tsx"],"names":["Quote","asChild","props","forwardedRef","jsx","Slot"],"mappings":"AAAA,kaAAuB,iDACF,+CAeZ,IAHHA,CAAAA,CAAc,CAAA,CAAA,UAAA,CAAqC,CAAC,CAAE,OAAA,CAAAC,CAAAA,CAAS,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EAGxEC,6BAAAA,CAFWH,CAAUI,eAAAA,CAAO,GAAA,CAE3B,CAAU,GAAA,CAAKF,CAAAA,CAAe,GAAGD,CAAAA,CAAO,CACjD,CAAA,CAEDF,CAAAA,CAAM,WAAA,CAAc,OAAA,CAAA,kBAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/quote.cjs","sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\n\n/* -----------------------------------------------------------------------------\n * Component: Quote\n * -------------------------------------------------------------------------- */\n\ntype QuoteElement = HTMLQuoteElement;\n\ninterface QuoteProps extends React.QuoteHTMLAttributes<HTMLQuoteElement> {\n asChild?: boolean;\n}\n\nconst Quote = React.forwardRef<QuoteElement, QuoteProps>(({ asChild, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : 'q';\n\n return <Component ref={forwardedRef} {...props} />;\n});\n\nQuote.displayName = 'Quote';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Quote, type QuoteProps };\n"]}
1
+ {"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/components/quote.cjs"],"names":[],"mappings":"AAAA,kIAAoC,oCAAmB","file":"/home/runner/work/codefast/codefast/packages/ui/dist/components/quote.cjs"}
@@ -1,2 +1,2 @@
1
- import*as e from"react";import{Slot as r}from"@radix-ui/react-slot";import{jsx as u}from"react/jsx-runtime";var p=e.forwardRef(({asChild:t,...o},n)=>u(t?r:"q",{ref:n,...o}));p.displayName="Quote";export{p as Quote};
1
+ import{a}from"../chunk-XDGVANTO.js";export{a as Quote};
2
2
  //# sourceMappingURL=quote.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/components/quote.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Slot } from '@radix-ui/react-slot';\n\n/* -----------------------------------------------------------------------------\n * Component: Quote\n * -------------------------------------------------------------------------- */\n\ntype QuoteElement = HTMLQuoteElement;\n\ninterface QuoteProps extends React.QuoteHTMLAttributes<HTMLQuoteElement> {\n asChild?: boolean;\n}\n\nconst Quote = React.forwardRef<QuoteElement, QuoteProps>(({ asChild, ...props }, forwardedRef) => {\n const Component = asChild ? Slot : 'q';\n\n return <Component ref={forwardedRef} {...props} />;\n});\n\nQuote.displayName = 'Quote';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport { Quote, type QuoteProps };\n"],"mappings":"AAAA,UAAYA,MAAW,QACvB,OAAS,QAAAC,MAAY,uBAeZ,cAAAC,MAAA,oBAHT,IAAMC,EAAc,aAAqC,CAAC,CAAE,QAAAC,EAAS,GAAGC,CAAM,EAAGC,IAGxEJ,EAFWE,EAAUH,EAAO,IAE3B,CAAU,IAAKK,EAAe,GAAGD,EAAO,CACjD,EAEDF,EAAM,YAAc","names":["React","Slot","jsx","Quote","asChild","props","forwardedRef"]}
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -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 _chunk4XRBMJ5Qcjs = require('../chunk-4XRBMJ5Q.cjs');var _react = require('react'); var a = _interopRequireWildcard(_react);var _reactradiogroup = require('@radix-ui/react-radio-group'); var e = _interopRequireWildcard(_reactradiogroup);var _jsxruntime = require('react/jsx-runtime');var p=a.forwardRef(({className:o,...i},r)=>_jsxruntime.jsx.call(void 0, e.Root,{className:_chunk4XRBMJ5Qcjs.a.call(void 0, "grid gap-2",o),...i,ref:r}));p.displayName=e.Root.displayName;var s=a.forwardRef(({className:o,...i},r)=>_jsxruntime.jsx.call(void 0, e.Item,{ref:r,className:_chunk4XRBMJ5Qcjs.a.call(void 0, "text-foreground focus-visible:bg-primary/10 group peer flex cursor-pointer items-center justify-center rounded-md border p-4 focus-visible:outline focus-visible:outline-2 disabled:cursor-default disabled:opacity-50 aria-checked:outline aria-checked:outline-2",o),...i}));s.displayName=e.Item.displayName;exports.RadioCards = p; exports.RadioCardsItem = s;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkGT2CI77Mcjs = require('../chunk-GT2CI77M.cjs');require('../chunk-CDYYO7UL.cjs');exports.RadioCards = _chunkGT2CI77Mcjs.a; exports.RadioCardsItem = _chunkGT2CI77Mcjs.b;
2
2
  //# sourceMappingURL=radio-cards.cjs.map