@codefast/ui 0.1.39 → 0.1.41
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.
- package/dist/{chunk-S6JAAVCK.js → chunk-23GW7ABR.js} +1 -1
- package/dist/{chunk-S6JAAVCK.js.map → chunk-23GW7ABR.js.map} +1 -1
- package/dist/{chunk-EYYMRAUH.cjs → chunk-2I4HX5WZ.cjs} +1 -1
- package/dist/{chunk-EYYMRAUH.cjs.map → chunk-2I4HX5WZ.cjs.map} +1 -1
- package/dist/{chunk-KNSUZHIX.js → chunk-2L66SLK7.js} +1 -1
- package/dist/{chunk-KNSUZHIX.js.map → chunk-2L66SLK7.js.map} +1 -1
- package/dist/{chunk-JO3GWI7Z.cjs → chunk-2PDUC74G.cjs} +1 -1
- package/dist/{chunk-JO3GWI7Z.cjs.map → chunk-2PDUC74G.cjs.map} +1 -1
- package/dist/{chunk-4LXGDACG.js → chunk-2S5X6KEC.js} +1 -1
- package/dist/{chunk-4LXGDACG.js.map → chunk-2S5X6KEC.js.map} +1 -1
- package/dist/{chunk-G7L7OMQC.cjs → chunk-2TPZK3HF.cjs} +1 -1
- package/dist/{chunk-G7L7OMQC.cjs.map → chunk-2TPZK3HF.cjs.map} +1 -1
- package/dist/{chunk-P3NQKY2O.js → chunk-2UTHZBUW.js} +1 -1
- package/dist/{chunk-P3NQKY2O.js.map → chunk-2UTHZBUW.js.map} +1 -1
- package/dist/{chunk-ESTQ3TW2.js → chunk-2YPMUBQ3.js} +1 -1
- package/dist/{chunk-ESTQ3TW2.js.map → chunk-2YPMUBQ3.js.map} +1 -1
- package/dist/{chunk-4GFRDE44.cjs → chunk-2ZFGMWLN.cjs} +2 -2
- package/dist/{chunk-4GFRDE44.cjs.map → chunk-2ZFGMWLN.cjs.map} +1 -1
- package/dist/{chunk-MKML3QHO.js → chunk-35I5LYFK.js} +2 -2
- package/dist/chunk-35I5LYFK.js.map +1 -0
- package/dist/{chunk-PAG3B6YB.js → chunk-3MX2Z6YO.js} +1 -1
- package/dist/{chunk-PAG3B6YB.js.map → chunk-3MX2Z6YO.js.map} +1 -1
- package/dist/{chunk-TSLTPMZG.js → chunk-453RCTYD.js} +1 -1
- package/dist/{chunk-TSLTPMZG.js.map → chunk-453RCTYD.js.map} +1 -1
- package/dist/{chunk-CABVGOLI.js → chunk-4S2IPOFD.js} +1 -1
- package/dist/{chunk-CABVGOLI.js.map → chunk-4S2IPOFD.js.map} +1 -1
- package/dist/{chunk-2VT6BX7S.cjs → chunk-5PHGQ4WO.cjs} +1 -1
- package/dist/{chunk-2VT6BX7S.cjs.map → chunk-5PHGQ4WO.cjs.map} +1 -1
- package/dist/{chunk-IDUR6OTC.js → chunk-676AFCKE.js} +1 -1
- package/dist/{chunk-IDUR6OTC.js.map → chunk-676AFCKE.js.map} +1 -1
- package/dist/{chunk-MS6HNR34.js → chunk-6I2ETZFI.js} +2 -2
- package/dist/{chunk-MS6HNR34.js.map → chunk-6I2ETZFI.js.map} +1 -1
- package/dist/{chunk-J5GEUQC3.js → chunk-6KQLJXPZ.js} +1 -1
- package/dist/{chunk-J5GEUQC3.js.map → chunk-6KQLJXPZ.js.map} +1 -1
- package/dist/{chunk-6QQPQ7WN.cjs → chunk-724FVHOW.cjs} +1 -1
- package/dist/{chunk-6QQPQ7WN.cjs.map → chunk-724FVHOW.cjs.map} +1 -1
- package/dist/{chunk-7AU7CPUH.js → chunk-7IRDNEXB.js} +1 -1
- package/dist/{chunk-7AU7CPUH.js.map → chunk-7IRDNEXB.js.map} +1 -1
- package/dist/{chunk-ZNOQDIWE.js → chunk-7WGDSUH5.js} +1 -1
- package/dist/{chunk-ZNOQDIWE.js.map → chunk-7WGDSUH5.js.map} +1 -1
- package/dist/{chunk-R4NKNWAF.cjs → chunk-A4KLN3C7.cjs} +1 -1
- package/dist/{chunk-R4NKNWAF.cjs.map → chunk-A4KLN3C7.cjs.map} +1 -1
- package/dist/{chunk-ZW5FER3Z.js → chunk-A6JWDJMI.js} +1 -1
- package/dist/{chunk-ZW5FER3Z.js.map → chunk-A6JWDJMI.js.map} +1 -1
- package/dist/{chunk-PFJKZSJ6.js → chunk-AUV6OPX3.js} +2 -2
- package/dist/{chunk-PFJKZSJ6.js.map → chunk-AUV6OPX3.js.map} +1 -1
- package/dist/{chunk-D77DV2PY.cjs → chunk-B44J2FJY.cjs} +1 -1
- package/dist/{chunk-D77DV2PY.cjs.map → chunk-B44J2FJY.cjs.map} +1 -1
- package/dist/{chunk-B2ANDYCK.cjs → chunk-BEB76MFO.cjs} +2 -2
- package/dist/{chunk-B2ANDYCK.cjs.map → chunk-BEB76MFO.cjs.map} +1 -1
- package/dist/{chunk-EMHBGKJ3.js → chunk-BLLW2IB4.js} +1 -1
- package/dist/{chunk-EMHBGKJ3.js.map → chunk-BLLW2IB4.js.map} +1 -1
- package/dist/{chunk-UFTG26DA.cjs → chunk-BQTDCIBW.cjs} +1 -1
- package/dist/{chunk-UFTG26DA.cjs.map → chunk-BQTDCIBW.cjs.map} +1 -1
- package/dist/{chunk-CVSZ456P.cjs → chunk-BRRVMH2P.cjs} +1 -1
- package/dist/{chunk-CVSZ456P.cjs.map → chunk-BRRVMH2P.cjs.map} +1 -1
- package/dist/{chunk-TAFSGBZZ.cjs → chunk-CEKEAPXG.cjs} +1 -1
- package/dist/{chunk-TAFSGBZZ.cjs.map → chunk-CEKEAPXG.cjs.map} +1 -1
- package/dist/{chunk-5AQT2M4Q.cjs → chunk-E4OOKNPK.cjs} +1 -1
- package/dist/{chunk-5AQT2M4Q.cjs.map → chunk-E4OOKNPK.cjs.map} +1 -1
- package/dist/{chunk-R3WIIIAC.js → chunk-EBSEF4UJ.js} +2 -2
- package/dist/{chunk-R3WIIIAC.js.map → chunk-EBSEF4UJ.js.map} +1 -1
- package/dist/{chunk-IGBASIDT.cjs → chunk-EJKVDVBQ.cjs} +1 -1
- package/dist/{chunk-IGBASIDT.cjs.map → chunk-EJKVDVBQ.cjs.map} +1 -1
- package/dist/{chunk-VPPKOHWH.js → chunk-END3X3XX.js} +1 -1
- package/dist/{chunk-VPPKOHWH.js.map → chunk-END3X3XX.js.map} +1 -1
- package/dist/{chunk-5NHYXWLY.js → chunk-EOIBKG5E.js} +1 -1
- package/dist/{chunk-5NHYXWLY.js.map → chunk-EOIBKG5E.js.map} +1 -1
- package/dist/{chunk-7K56G3OS.cjs → chunk-ESW7HLAR.cjs} +1 -1
- package/dist/{chunk-7K56G3OS.cjs.map → chunk-ESW7HLAR.cjs.map} +1 -1
- package/dist/{chunk-COVOQ3IT.cjs → chunk-EUKWGLGW.cjs} +1 -1
- package/dist/{chunk-COVOQ3IT.cjs.map → chunk-EUKWGLGW.cjs.map} +1 -1
- package/dist/{chunk-PSJENEZT.js → chunk-FAHH4BRG.js} +1 -1
- package/dist/{chunk-PSJENEZT.js.map → chunk-FAHH4BRG.js.map} +1 -1
- package/dist/{chunk-3VRNVFVA.cjs → chunk-FBWVAERI.cjs} +1 -1
- package/dist/{chunk-3VRNVFVA.cjs.map → chunk-FBWVAERI.cjs.map} +1 -1
- package/dist/{chunk-IHEIUFFB.js → chunk-FFS6LEIC.js} +1 -1
- package/dist/{chunk-IHEIUFFB.js.map → chunk-FFS6LEIC.js.map} +1 -1
- package/dist/{chunk-HO75YBHT.js → chunk-FQX54EGQ.js} +1 -1
- package/dist/chunk-FQX54EGQ.js.map +1 -0
- package/dist/{chunk-GLTHRHLI.cjs → chunk-GCH6J4AU.cjs} +1 -1
- package/dist/{chunk-GLTHRHLI.cjs.map → chunk-GCH6J4AU.cjs.map} +1 -1
- package/dist/{chunk-B6QFTT55.js → chunk-GPWWJ55C.js} +1 -1
- package/dist/{chunk-B6QFTT55.js.map → chunk-GPWWJ55C.js.map} +1 -1
- package/dist/{chunk-AQBPC4WT.cjs → chunk-GRVBRVSI.cjs} +1 -1
- package/dist/{chunk-AQBPC4WT.cjs.map → chunk-GRVBRVSI.cjs.map} +1 -1
- package/dist/{chunk-32SQW5RI.cjs → chunk-GTFDLZHV.cjs} +1 -1
- package/dist/{chunk-32SQW5RI.cjs.map → chunk-GTFDLZHV.cjs.map} +1 -1
- package/dist/{chunk-L7HMJMCP.js → chunk-HLDMGTXD.js} +1 -1
- package/dist/{chunk-L7HMJMCP.js.map → chunk-HLDMGTXD.js.map} +1 -1
- package/dist/{chunk-Y7NPEE5D.js → chunk-HUPAMFBT.js} +1 -1
- package/dist/{chunk-Y7NPEE5D.js.map → chunk-HUPAMFBT.js.map} +1 -1
- package/dist/{chunk-YL262UMC.cjs → chunk-ID2YVK5K.cjs} +1 -1
- package/dist/{chunk-YL262UMC.cjs.map → chunk-ID2YVK5K.cjs.map} +1 -1
- package/dist/{chunk-B6SHQPJP.js → chunk-IFNZQ4X4.js} +2 -2
- package/dist/{chunk-B6SHQPJP.js.map → chunk-IFNZQ4X4.js.map} +1 -1
- package/dist/{chunk-3SGIRTMN.js → chunk-IL6HKETS.js} +1 -1
- package/dist/{chunk-3SGIRTMN.js.map → chunk-IL6HKETS.js.map} +1 -1
- package/dist/{chunk-6JVA5L6F.cjs → chunk-IQW2BNVB.cjs} +2 -2
- package/dist/{chunk-6JVA5L6F.cjs.map → chunk-IQW2BNVB.cjs.map} +1 -1
- package/dist/{chunk-5WJRJGUS.js → chunk-JFUWDWLK.js} +2 -2
- package/dist/{chunk-5WJRJGUS.js.map → chunk-JFUWDWLK.js.map} +1 -1
- package/dist/{chunk-RN4E5CZJ.js → chunk-JKFXJEBN.js} +1 -1
- package/dist/{chunk-RN4E5CZJ.js.map → chunk-JKFXJEBN.js.map} +1 -1
- package/dist/{chunk-AIMWT5FF.cjs → chunk-KEAGJ67V.cjs} +1 -1
- package/dist/{chunk-AIMWT5FF.cjs.map → chunk-KEAGJ67V.cjs.map} +1 -1
- package/dist/{chunk-QZSEGJP3.cjs → chunk-KL3VMRZB.cjs} +2 -2
- package/dist/{chunk-QZSEGJP3.cjs.map → chunk-KL3VMRZB.cjs.map} +1 -1
- package/dist/{chunk-DQYZFLAN.js → chunk-KMM56U4E.js} +1 -1
- package/dist/{chunk-DQYZFLAN.js.map → chunk-KMM56U4E.js.map} +1 -1
- package/dist/{chunk-2KJO6CJD.cjs → chunk-KXWXI4E6.cjs} +1 -1
- package/dist/{chunk-2KJO6CJD.cjs.map → chunk-KXWXI4E6.cjs.map} +1 -1
- package/dist/{chunk-JNSAIWYA.js → chunk-L2GO47JL.js} +2 -2
- package/dist/{chunk-JNSAIWYA.js.map → chunk-L2GO47JL.js.map} +1 -1
- package/dist/{chunk-G2ZKUHLX.cjs → chunk-L2UFRTIN.cjs} +1 -1
- package/dist/{chunk-G2ZKUHLX.cjs.map → chunk-L2UFRTIN.cjs.map} +1 -1
- package/dist/{chunk-KU2TWJO6.cjs → chunk-LAABDH76.cjs} +1 -1
- package/dist/chunk-LAABDH76.cjs.map +1 -0
- package/dist/{chunk-4EPZJQXB.cjs → chunk-LCSG5Q6R.cjs} +1 -1
- package/dist/{chunk-4EPZJQXB.cjs.map → chunk-LCSG5Q6R.cjs.map} +1 -1
- package/dist/{chunk-QP6DOJTZ.cjs → chunk-LEPRQUPN.cjs} +1 -1
- package/dist/{chunk-QP6DOJTZ.cjs.map → chunk-LEPRQUPN.cjs.map} +1 -1
- package/dist/{chunk-T3UMGRIG.js → chunk-LK24DDIX.js} +1 -1
- package/dist/{chunk-T3UMGRIG.js.map → chunk-LK24DDIX.js.map} +1 -1
- package/dist/{chunk-H673265S.js → chunk-MHWTM2SE.js} +1 -1
- package/dist/{chunk-H673265S.js.map → chunk-MHWTM2SE.js.map} +1 -1
- package/dist/{chunk-6CRPUDHO.cjs → chunk-MOZFPPDY.cjs} +1 -1
- package/dist/{chunk-6CRPUDHO.cjs.map → chunk-MOZFPPDY.cjs.map} +1 -1
- package/dist/{chunk-Y46KHJVE.cjs → chunk-MSQ7VB7N.cjs} +2 -2
- package/dist/{chunk-Y46KHJVE.cjs.map → chunk-MSQ7VB7N.cjs.map} +1 -1
- package/dist/{chunk-C3JCUMYC.cjs → chunk-NN5SBICK.cjs} +1 -1
- package/dist/{chunk-C3JCUMYC.cjs.map → chunk-NN5SBICK.cjs.map} +1 -1
- package/dist/{chunk-4NUC23C3.cjs → chunk-NWNJEQSH.cjs} +1 -1
- package/dist/{chunk-4NUC23C3.cjs.map → chunk-NWNJEQSH.cjs.map} +1 -1
- package/dist/{chunk-4MEKIJBX.js → chunk-OGNKWQLC.js} +1 -1
- package/dist/{chunk-4MEKIJBX.js.map → chunk-OGNKWQLC.js.map} +1 -1
- package/dist/{chunk-MKZNGJBS.cjs → chunk-OKAUTO55.cjs} +1 -1
- package/dist/{chunk-MKZNGJBS.cjs.map → chunk-OKAUTO55.cjs.map} +1 -1
- package/dist/{chunk-5ZLLY3TV.js → chunk-PABBDAHL.js} +2 -2
- package/dist/{chunk-5ZLLY3TV.js.map → chunk-PABBDAHL.js.map} +1 -1
- package/dist/{chunk-ESGJD3EH.js → chunk-PND7QGPJ.js} +2 -2
- package/dist/{chunk-ESGJD3EH.js.map → chunk-PND7QGPJ.js.map} +1 -1
- package/dist/{chunk-WIMGJQVV.js → chunk-Q44GDNL2.js} +1 -1
- package/dist/{chunk-WIMGJQVV.js.map → chunk-Q44GDNL2.js.map} +1 -1
- package/dist/{chunk-NTCSJCJ2.cjs → chunk-QHNY23IH.cjs} +2 -2
- package/dist/chunk-QHNY23IH.cjs.map +1 -0
- package/dist/{chunk-HW6UEQFN.cjs → chunk-QMG62BV3.cjs} +1 -1
- package/dist/{chunk-HW6UEQFN.cjs.map → chunk-QMG62BV3.cjs.map} +1 -1
- package/dist/{chunk-277MGUJU.cjs → chunk-QSJKKUEW.cjs} +2 -2
- package/dist/{chunk-277MGUJU.cjs.map → chunk-QSJKKUEW.cjs.map} +1 -1
- package/dist/{chunk-6NCX7KIZ.js → chunk-QZZVFEOG.js} +1 -1
- package/dist/{chunk-6NCX7KIZ.js.map → chunk-QZZVFEOG.js.map} +1 -1
- package/dist/{chunk-BCBGSRNY.cjs → chunk-RBNJWH4I.cjs} +2 -2
- package/dist/chunk-RBNJWH4I.cjs.map +1 -0
- package/dist/{chunk-SCKKOG6N.js → chunk-RKGPSBB2.js} +2 -2
- package/dist/chunk-RKGPSBB2.js.map +1 -0
- package/dist/{chunk-DXKDE2PN.cjs → chunk-RLN3ZMKZ.cjs} +1 -1
- package/dist/{chunk-DXKDE2PN.cjs.map → chunk-RLN3ZMKZ.cjs.map} +1 -1
- package/dist/{chunk-P43SRU6B.js → chunk-RN6FVK2T.js} +2 -2
- package/dist/{chunk-P43SRU6B.js.map → chunk-RN6FVK2T.js.map} +1 -1
- package/dist/{chunk-UOKR5A44.js → chunk-S6NZOZO3.js} +1 -1
- package/dist/{chunk-UOKR5A44.js.map → chunk-S6NZOZO3.js.map} +1 -1
- package/dist/{chunk-5LXJ6LNT.js → chunk-SZJCVDQJ.js} +1 -1
- package/dist/{chunk-5LXJ6LNT.js.map → chunk-SZJCVDQJ.js.map} +1 -1
- package/dist/{chunk-3X6EEYS3.cjs → chunk-T5MDFGTH.cjs} +2 -2
- package/dist/{chunk-3X6EEYS3.cjs.map → chunk-T5MDFGTH.cjs.map} +1 -1
- package/dist/{chunk-OILTSDEC.cjs → chunk-TCBTFFUD.cjs} +1 -1
- package/dist/{chunk-OILTSDEC.cjs.map → chunk-TCBTFFUD.cjs.map} +1 -1
- package/dist/{chunk-YP7NF7KY.cjs → chunk-TMG24RQD.cjs} +2 -2
- package/dist/{chunk-YP7NF7KY.cjs.map → chunk-TMG24RQD.cjs.map} +1 -1
- package/dist/{chunk-OIBROWV7.js → chunk-UFNNCJZJ.js} +1 -1
- package/dist/{chunk-OIBROWV7.js.map → chunk-UFNNCJZJ.js.map} +1 -1
- package/dist/{chunk-GP4IX6Q5.cjs → chunk-UNYP4MLA.cjs} +1 -1
- package/dist/{chunk-GP4IX6Q5.cjs.map → chunk-UNYP4MLA.cjs.map} +1 -1
- package/dist/{chunk-Z7V3J23W.cjs → chunk-USDR57FY.cjs} +1 -1
- package/dist/{chunk-Z7V3J23W.cjs.map → chunk-USDR57FY.cjs.map} +1 -1
- package/dist/{chunk-YUJO6FOF.cjs → chunk-VGMUU7IK.cjs} +1 -1
- package/dist/{chunk-YUJO6FOF.cjs.map → chunk-VGMUU7IK.cjs.map} +1 -1
- package/dist/{chunk-JF2IPHMR.js → chunk-VRJTXWVC.js} +1 -1
- package/dist/{chunk-JF2IPHMR.js.map → chunk-VRJTXWVC.js.map} +1 -1
- package/dist/{chunk-QGXJIDRM.cjs → chunk-WMX6LRVM.cjs} +2 -2
- package/dist/chunk-WMX6LRVM.cjs.map +1 -0
- package/dist/{chunk-27FVJY2D.cjs → chunk-WPRQHIAB.cjs} +1 -1
- package/dist/{chunk-27FVJY2D.cjs.map → chunk-WPRQHIAB.cjs.map} +1 -1
- package/dist/{chunk-RZRUQ2YQ.js → chunk-WRNORCGY.js} +1 -1
- package/dist/{chunk-RZRUQ2YQ.js.map → chunk-WRNORCGY.js.map} +1 -1
- package/dist/{chunk-PHNUQKIK.js → chunk-WRV3NPYH.js} +2 -2
- package/dist/{chunk-PHNUQKIK.js.map → chunk-WRV3NPYH.js.map} +1 -1
- package/dist/{chunk-2OTO3VQG.js → chunk-X7SCQSLL.js} +1 -1
- package/dist/{chunk-2OTO3VQG.js.map → chunk-X7SCQSLL.js.map} +1 -1
- package/dist/{chunk-WV3VVLBR.js → chunk-XFVUVJFP.js} +1 -1
- package/dist/{chunk-WV3VVLBR.js.map → chunk-XFVUVJFP.js.map} +1 -1
- package/dist/{chunk-7RUBTABZ.cjs → chunk-XGECD4OY.cjs} +1 -1
- package/dist/{chunk-7RUBTABZ.cjs.map → chunk-XGECD4OY.cjs.map} +1 -1
- package/dist/{chunk-2L2JOHZX.js → chunk-XNHIUPPQ.js} +1 -1
- package/dist/{chunk-2L2JOHZX.js.map → chunk-XNHIUPPQ.js.map} +1 -1
- package/dist/{chunk-RPUH3ITJ.js → chunk-XQIIFT2E.js} +2 -2
- package/dist/{chunk-RPUH3ITJ.js.map → chunk-XQIIFT2E.js.map} +1 -1
- package/dist/{chunk-NBQOSKVV.cjs → chunk-XWLQZWT4.cjs} +1 -1
- package/dist/{chunk-NBQOSKVV.cjs.map → chunk-XWLQZWT4.cjs.map} +1 -1
- package/dist/{chunk-QOOHNPY5.js → chunk-XZPVLQDL.js} +1 -1
- package/dist/{chunk-QOOHNPY5.js.map → chunk-XZPVLQDL.js.map} +1 -1
- package/dist/{chunk-XQQCAIOS.cjs → chunk-YB746ZCF.cjs} +1 -1
- package/dist/{chunk-XQQCAIOS.cjs.map → chunk-YB746ZCF.cjs.map} +1 -1
- package/dist/{chunk-6WG2BQFJ.cjs → chunk-YD6EZS5C.cjs} +1 -1
- package/dist/{chunk-6WG2BQFJ.cjs.map → chunk-YD6EZS5C.cjs.map} +1 -1
- package/dist/{chunk-ER57BTKA.js → chunk-YQW267KZ.js} +1 -1
- package/dist/{chunk-ER57BTKA.js.map → chunk-YQW267KZ.js.map} +1 -1
- package/dist/{chunk-RY34IJ6J.cjs → chunk-YTUXNNEM.cjs} +1 -1
- package/dist/{chunk-RY34IJ6J.cjs.map → chunk-YTUXNNEM.cjs.map} +1 -1
- package/dist/{chunk-HFROIOY3.cjs → chunk-ZJ27IZXN.cjs} +1 -1
- package/dist/{chunk-HFROIOY3.cjs.map → chunk-ZJ27IZXN.cjs.map} +1 -1
- package/dist/{chunk-H6BT6PGA.js → chunk-ZTS4YELG.js} +1 -1
- package/dist/{chunk-H6BT6PGA.js.map → chunk-ZTS4YELG.js.map} +1 -1
- package/dist/{chunk-SFY3PJ4P.cjs → chunk-ZUUL7G4G.cjs} +1 -1
- package/dist/{chunk-SFY3PJ4P.cjs.map → chunk-ZUUL7G4G.cjs.map} +1 -1
- package/dist/components/accordion.cjs +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/alert-dialog.cjs +1 -1
- package/dist/components/alert-dialog.d.cts +1 -1
- package/dist/components/alert-dialog.d.ts +1 -1
- package/dist/components/alert-dialog.js +1 -1
- package/dist/components/alert.cjs +1 -1
- package/dist/components/alert.js +1 -1
- package/dist/components/avatar.cjs +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/breadcrumb.cjs +1 -1
- package/dist/components/breadcrumb.js +1 -1
- package/dist/components/button.cjs +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calendar.cjs +1 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/card.cjs +1 -1
- package/dist/components/card.cjs.map +1 -1
- package/dist/components/card.d.cts +2 -2
- package/dist/components/card.d.ts +2 -2
- package/dist/components/card.js +1 -1
- package/dist/components/carousel.cjs +1 -1
- package/dist/components/carousel.d.cts +1 -1
- package/dist/components/carousel.d.ts +1 -1
- package/dist/components/carousel.js +1 -1
- package/dist/components/chart.cjs +1 -1
- package/dist/components/chart.js +1 -1
- package/dist/components/checkbox-cards.cjs +1 -1
- package/dist/components/checkbox-cards.js +1 -1
- package/dist/components/checkbox-group.cjs +1 -1
- package/dist/components/checkbox-group.js +1 -1
- package/dist/components/checkbox.cjs +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/collapsible.cjs +1 -1
- package/dist/components/collapsible.js +1 -1
- package/dist/components/command.cjs +1 -1
- package/dist/components/command.d.cts +2 -2
- package/dist/components/command.d.ts +2 -2
- package/dist/components/command.js +1 -1
- package/dist/components/container.cjs +1 -1
- package/dist/components/container.js +1 -1
- package/dist/components/context-menu.cjs +1 -1
- package/dist/components/context-menu.js +1 -1
- package/dist/components/data-table.cjs +1 -1
- package/dist/components/data-table.d.cts +1 -1
- package/dist/components/data-table.d.ts +1 -1
- package/dist/components/data-table.js +1 -1
- package/dist/components/dialog.cjs +1 -1
- package/dist/components/dialog.d.cts +1 -1
- package/dist/components/dialog.d.ts +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/drawer.cjs +1 -1
- package/dist/components/drawer.d.cts +1 -1
- package/dist/components/drawer.d.ts +1 -1
- package/dist/components/drawer.js +1 -1
- package/dist/components/dropdown-menu.cjs +1 -1
- package/dist/components/dropdown-menu.js +1 -1
- package/dist/components/form.cjs +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/hover-card.cjs +1 -1
- package/dist/components/hover-card.js +1 -1
- package/dist/components/input-otp.cjs +1 -1
- package/dist/components/input-otp.js +1 -1
- package/dist/components/kbd.cjs +1 -1
- package/dist/components/kbd.js +1 -1
- package/dist/components/label.cjs +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/menubar.cjs +1 -1
- package/dist/components/menubar.js +1 -1
- package/dist/components/navigation-menu.cjs +1 -1
- package/dist/components/navigation-menu.js +1 -1
- package/dist/components/number-input.cjs +1 -1
- package/dist/components/number-input.d.cts +1 -1
- package/dist/components/number-input.d.ts +1 -1
- package/dist/components/number-input.js +1 -1
- package/dist/components/pagination.cjs +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/password-input.cjs +1 -1
- package/dist/components/password-input.d.cts +1 -1
- package/dist/components/password-input.d.ts +1 -1
- package/dist/components/password-input.js +1 -1
- package/dist/components/popover.cjs +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.cjs +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/radio-cards.cjs +1 -1
- package/dist/components/radio-cards.js +1 -1
- package/dist/components/radio-group.cjs +1 -1
- package/dist/components/radio-group.js +1 -1
- package/dist/components/radio.cjs +1 -1
- package/dist/components/radio.js +1 -1
- package/dist/components/resizable.cjs +1 -1
- package/dist/components/resizable.js +1 -1
- package/dist/components/scroll-area.cjs +1 -1
- package/dist/components/scroll-area.js +1 -1
- package/dist/components/search-input.cjs +1 -1
- package/dist/components/search-input.d.cts +1 -1
- package/dist/components/search-input.d.ts +1 -1
- package/dist/components/search-input.js +1 -1
- package/dist/components/select.cjs +1 -1
- package/dist/components/select.d.cts +1 -1
- package/dist/components/select.d.ts +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/separator.cjs +1 -1
- package/dist/components/separator.js +1 -1
- package/dist/components/sheet.cjs +1 -1
- package/dist/components/sheet.d.cts +1 -1
- package/dist/components/sheet.d.ts +1 -1
- package/dist/components/sheet.js +1 -1
- package/dist/components/skeleton.cjs +1 -1
- package/dist/components/skeleton.js +1 -1
- package/dist/components/slider.cjs +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/sonner.cjs +1 -1
- package/dist/components/sonner.js +1 -1
- package/dist/components/spinner.cjs +1 -1
- package/dist/components/spinner.js +1 -1
- package/dist/components/switch.cjs +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/table.cjs +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/tabs.cjs +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/text-input.cjs +1 -1
- package/dist/components/text-input.d.cts +1 -1
- package/dist/components/text-input.d.ts +1 -1
- package/dist/components/text-input.js +1 -1
- package/dist/components/textarea.cjs +1 -1
- package/dist/components/textarea.js +1 -1
- package/dist/components/toggle-group.cjs +1 -1
- package/dist/components/toggle-group.d.cts +1 -1
- package/dist/components/toggle-group.d.ts +1 -1
- package/dist/components/toggle-group.js +1 -1
- package/dist/components/toggle.cjs +1 -1
- package/dist/components/toggle.d.cts +1 -1
- package/dist/components/toggle.d.ts +1 -1
- package/dist/components/toggle.js +1 -1
- package/dist/components/tooltip.cjs +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +7 -7
- package/dist/chunk-BCBGSRNY.cjs.map +0 -1
- package/dist/chunk-HO75YBHT.js.map +0 -1
- package/dist/chunk-KU2TWJO6.cjs.map +0 -1
- package/dist/chunk-MKML3QHO.js.map +0 -1
- package/dist/chunk-NTCSJCJ2.cjs.map +0 -1
- package/dist/chunk-QGXJIDRM.cjs.map +0 -1
- package/dist/chunk-SCKKOG6N.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export { Box, BoxProps } from './components/box.js';
|
|
|
13
13
|
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbEllipsisProps, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbLink, BreadcrumbLinkProps, BreadcrumbList, BreadcrumbListProps, BreadcrumbPage, BreadcrumbPageProps, BreadcrumbProps, BreadcrumbSeparator, BreadcrumbSeparatorProps } from './components/breadcrumb.js';
|
|
14
14
|
export { Button, ButtonProps } from './components/button.js';
|
|
15
15
|
export { Calendar, CalendarLabel, CalendarLabelProps, CalendarProps, CalendarRangeLabel, CalendarRangeLabelProps } from './components/calendar.js';
|
|
16
|
-
export { Card,
|
|
16
|
+
export { Card, CardBody, CardContentProps, CardDescription, CardDescriptionProps, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardTitle, CardTitleProps } from './components/card.js';
|
|
17
17
|
export { Carousel, CarouselApi, CarouselContent, CarouselContentProps, CarouselItem, CarouselItemProps, CarouselNext, CarouselNextProps, CarouselPrevious, CarouselPreviousProps, CarouselProps, createCarouselScope } from './components/carousel.js';
|
|
18
18
|
export { ChartConfig, ChartContainer, ChartContainerProps, ChartLegend, ChartLegendContent, ChartLegendContentProps, ChartLegendProps, ChartStyle, ChartStyleProps, ChartTooltip, ChartTooltipContent, ChartTooltipContentProps, ChartTooltipProps } from './components/chart.js';
|
|
19
19
|
export { Checkbox, CheckboxProps } from './components/checkbox.js';
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as Ff}from"./chunk-
|
|
1
|
+
import{a as Ff}from"./chunk-HUPAMFBT.js";import"./chunk-U2JQOYDM.js";import{a as Hf,b as If}from"./chunk-YQW267KZ.js";import{a as Gf}from"./chunk-453RCTYD.js";import{a as f}from"./chunk-CQUPWL67.js";import{a as Jf,b as Kf,c as Lf,d as Mf,e as Nf}from"./chunk-2UTHZBUW.js";import{a as gf,b as hf}from"./chunk-RN6FVK2T.js";import{a as jf}from"./chunk-LXKXNXN3.js";import{a as kf}from"./chunk-QZZVFEOG.js";import{a as lf,b as nf,c as qf,d as sf,e as uf,f as vf,g as wf,h as yf}from"./chunk-4S2IPOFD.js";import{a as zf,b as Af,c as Bf,d as Cf}from"./chunk-UFNNCJZJ.js";import{a as Ef}from"./chunk-PND7QGPJ.js";import{a as Df}from"./chunk-PAMP6NUT.js";import{a as Xe,b as Ye}from"./chunk-SZJCVDQJ.js";import{a as Ze}from"./chunk-XQIIFT2E.js";import{a as _e}from"./chunk-VIFD5JWH.js";import{a as $e,b as of}from"./chunk-7WGDSUH5.js";import{a as rf,b as ef,c as ff,d as mf,e as pf,f as tf,g as xf,h as af,i as bf}from"./chunk-LK24DDIX.js";import{a as cf}from"./chunk-MHWTM2SE.js";import{a as df}from"./chunk-XFVUVJFP.js";import{a as He,b as Ie,c as Je,d as Ke,e as Le}from"./chunk-Q44GDNL2.js";import{a as Me}from"./chunk-TRKS7L3H.js";import{a as Ne}from"./chunk-X7SCQSLL.js";import{a as Oe}from"./chunk-GYXY4PT6.js";import{a as Qe,b as Re}from"./chunk-2L66SLK7.js";import{a as Se,b as Te}from"./chunk-676AFCKE.js";import{a as Pe}from"./chunk-2S5X6KEC.js";import{a as Ue,b as Ve,c as We}from"./chunk-VRJTXWVC.js";import{a as Wr,b as Xr,c as Yr,d as Zr,e as _r,f as $r,g as oe}from"./chunk-IFNZQ4X4.js";import{a as re}from"./chunk-23GW7ABR.js";import{a as ee,b as fe,c as me,d as pe,e as te,f as xe,g as ae,h as be,i as ce,j as de,k as ge,l as he,m as ie,n as je,o as ke,p as le}from"./chunk-FAHH4BRG.js";import{a as ne,b as qe,c as se,d as ue,e as ve,f as we}from"./chunk-XNHIUPPQ.js";import{a as ye}from"./chunk-JFUWDWLK.js";import{a as ze,b as Ae,c as Be,d as Ce,e as De,f as Ee,g as Fe}from"./chunk-KMM56U4E.js";import{a as Ge}from"./chunk-PABBDAHL.js";import{a as e}from"./chunk-B3N66CDR.js";import"./chunk-C46H5E6H.js";import{a as yr,b as zr,c as Ar,d as Br,e as Cr,f as Dr,g as Er,h as Fr,i as Gr}from"./chunk-FQX54EGQ.js";import{a as Hr}from"./chunk-JTU2KPJV.js";import{a as Jr,b as Kr,c as Lr,d as Mr,e as Nr,f as Or,g as Pr,h as Qr}from"./chunk-EBSEF4UJ.js";import{a as Ir}from"./chunk-ZTS4YELG.js";import{a as Rr}from"./chunk-MEM2VQOF.js";import{a as Sr,b as Tr,c as Ur,d as Vr}from"./chunk-3MX2Z6YO.js";import{a as ao,b as bo}from"./chunk-HLDMGTXD.js";import{a as po}from"./chunk-GPWWJ55C.js";import{a as co}from"./chunk-XBWLMOFD.js";import{a as go,b as ho,c as io}from"./chunk-S6NZOZO3.js";import{a as yo,b as zo,c as Ao,d as Bo,e as Co,f as Do,g as Eo,h as Fo,i as Go,j as Ho}from"./chunk-AUV6OPX3.js";import{a as jo,b as ko,c as lo,d as no,e as qo,f as so,g as uo,h as vo,i as wo}from"./chunk-EOIBKG5E.js";import{a as Io}from"./chunk-A6JWDJMI.js";import{a as Jo,b as Ko,c as Lo,d as Mo,e as No,f as Oo,g as Po,h as Qo,i as Ro,j as So,k as To,l as Uo,m as Vo,n as Wo,o as Xo}from"./chunk-2YPMUBQ3.js";import{a as ur,b as vr,c as wr}from"./chunk-RKGPSBB2.js";import{a as dr,b as gr,c as hr,d as ir,e as jr,f as kr,g as lr,h as nr,i as qr,j as sr}from"./chunk-OGNKWQLC.js";import{a as Yo,b as Zo,c as _o,d as $o,e as or,f as rr,g as er,h as fr,i as mr,j as pr,k as tr,l as xr,m as ar,n as br,o as cr}from"./chunk-7IRDNEXB.js";import{a as C}from"./chunk-36U4Q3SK.js";import{a as D,b as E,c as F,d as G,e as H,f as I,g as J}from"./chunk-6KQLJXPZ.js";import{a as M,b as N,c as O}from"./chunk-L2GO47JL.js";import{a as P,b as Q,c as R,d as S,e as T,f as U}from"./chunk-35I5LYFK.js";import{a as V,b as W,c as X,d as Y,e as Z,f as _}from"./chunk-WRV3NPYH.js";import{a as L}from"./chunk-6I2ETZFI.js";import{a as K}from"./chunk-XZPVLQDL.js";import{a as $,b as oo,c as ro,d as eo,e as fo,f as mo}from"./chunk-BLLW2IB4.js";import{a as to,b as xo}from"./chunk-END3X3XX.js";import{a as m,b as p,c as t,d as x,e as a}from"./chunk-WRNORCGY.js";import{a as g,b as h,c as i,d as j,e as k,f as l,g as n,h as q,i as s,j as u}from"./chunk-FFS6LEIC.js";import{a as r}from"./chunk-2LKWUAEG.js";import{a as b,b as c,c as d}from"./chunk-IL6HKETS.js";import{a as v}from"./chunk-34KHJIHB.js";import{a as w,b as y,c as z}from"./chunk-JKFXJEBN.js";import{a as o}from"./chunk-VPYH6JWS.js";import{a as A}from"./chunk-PCEPHQF4.js";import{a as B}from"./chunk-WDWMIB3K.js";export{m as Accordion,a as AccordionContent,t as AccordionIcon,p as AccordionItem,x as AccordionTrigger,b as Alert,d as AlertDescription,g as AlertDialog,s as AlertDialogAction,k as AlertDialogBody,u as AlertDialogCancel,i as AlertDialogContent,q as AlertDialogDescription,l as AlertDialogFooter,j as AlertDialogHeader,n as AlertDialogTitle,h as AlertDialogTrigger,c as AlertTitle,v as AspectRatio,w as Avatar,z as AvatarFallback,y as AvatarImage,A as Badge,B as Blockquote,C as Box,D as Breadcrumb,J as BreadcrumbEllipsis,F as BreadcrumbItem,G as BreadcrumbLink,E as BreadcrumbList,H as BreadcrumbPage,I as BreadcrumbSeparator,L as Button,M as Calendar,O as CalendarLabel,N as CalendarRangeLabel,P as Card,T as CardBody,S as CardDescription,U as CardFooter,Q as CardHeader,R as CardTitle,W as Carousel,X as CarouselContent,Y as CarouselItem,_ as CarouselNext,Z as CarouselPrevious,$ as ChartContainer,fo as ChartLegend,mo as ChartLegendContent,oo as ChartStyle,ro as ChartTooltip,eo as ChartTooltipContent,po as Checkbox,to as CheckboxCards,xo as CheckboxCardsItem,ao as CheckboxGroup,bo as CheckboxGroupItem,co as Code,go as Collapsible,io as CollapsibleContent,ho as CollapsibleTrigger,yo as Command,zo as CommandDialog,Co as CommandEmpty,Do as CommandGroup,Ao as CommandInput,Fo as CommandItem,Bo as CommandList,Go as CommandLoading,Eo as CommandSeparator,Ho as CommandShortcut,Io as Container,Jo as ContextMenu,Xo as ContextMenuArrow,So as ContextMenuCheckboxItem,Qo as ContextMenuContent,Lo as ContextMenuGroup,Ro as ContextMenuItem,Uo as ContextMenuLabel,No as ContextMenuRadioGroup,To as ContextMenuRadioItem,Vo as ContextMenuSeparator,Wo as ContextMenuShortcut,Mo as ContextMenuSub,Po as ContextMenuSubContent,Oo as ContextMenuSubTrigger,Ko as ContextMenuTrigger,wr as DataTableColumnHeader,vr as DataTablePagination,ur as DataTableViewOptions,jo as Dialog,qo as DialogBody,wo as DialogClose,lo as DialogContent,vo as DialogDescription,so as DialogFooter,no as DialogHeader,uo as DialogTitle,ko as DialogTrigger,yr as Drawer,Cr as DrawerBody,Gr as DrawerClose,Ar as DrawerContent,Fr as DrawerDescription,Dr as DrawerFooter,Br as DrawerHeader,Er as DrawerTitle,zr as DrawerTrigger,Yo as DropdownMenu,cr as DropdownMenuArrow,pr as DropdownMenuCheckboxItem,fr as DropdownMenuContent,_o as DropdownMenuGroup,mr as DropdownMenuItem,xr as DropdownMenuLabel,or as DropdownMenuRadioGroup,tr as DropdownMenuRadioItem,ar as DropdownMenuSeparator,br as DropdownMenuShortcut,$o as DropdownMenuSub,er as DropdownMenuSubContent,rr as DropdownMenuSubTrigger,Zo as DropdownMenuTrigger,Hr as Em,Jr as Form,Or as FormControl,Pr as FormDescription,Lr as FormField,Mr as FormItem,Nr as FormLabel,Qr as FormMessage,Rr as Heading,Sr as HoverCard,Vr as HoverCardArrow,Ur as HoverCardContent,Tr as HoverCardTrigger,Zr as InputOTP,_r as InputOTPGroup,oe as InputOTPSeparator,$r as InputOTPSlot,re as Kbd,Ir as Label,te as Menubar,le as MenubarArrow,ge as MenubarCheckboxItem,ce as MenubarContent,fe as MenubarGroup,de as MenubarItem,ie as MenubarLabel,ee as MenubarMenu,pe as MenubarRadioGroup,he as MenubarRadioItem,je as MenubarSeparator,ke as MenubarShortcut,me as MenubarSub,be as MenubarSubContent,ae as MenubarSubTrigger,xe as MenubarTrigger,ne as NavigationMenu,ve as NavigationMenuContent,se as NavigationMenuItem,we as NavigationMenuLink,qe as NavigationMenuList,ue as NavigationMenuTrigger,ye as NumberInput,ze as Pagination,Ae as PaginationContent,Fe as PaginationEllipsis,Be as PaginationItem,Ce as PaginationLink,Ee as PaginationNext,De as PaginationPrevious,Ge as PasswordInput,He as Popover,Je as PopoverAnchor,Le as PopoverArrow,Ke as PopoverContent,Ie as PopoverTrigger,Me as Pre,Ne as Progress,Oe as Quote,Wr as REGEXP_ONLY_CHARS,Xr as REGEXP_ONLY_DIGITS,Yr as REGEXP_ONLY_DIGITS_AND_CHARS,Pe as Radio,Qe as RadioCards,Re as RadioCardsItem,Se as RadioGroup,Te as RadioGroupItem,We as ResizableHandle,Ve as ResizablePanel,Ue as ResizablePanelGroup,Xe as ScrollArea,Ye as ScrollAreaScrollbar,Ze as SearchInput,_e as Section,dr as Select,lr as SelectContent,gr as SelectGroup,qr as SelectItem,nr as SelectLabel,kr as SelectScrollDownButton,jr as SelectScrollUpButton,sr as SelectSeparator,ir as SelectTrigger,hr as SelectValue,$e as Separator,of as SeparatorItem,rf as Sheet,pf as SheetBody,bf as SheetClose,ff as SheetContent,af as SheetDescription,tf as SheetFooter,mf as SheetHeader,xf as SheetTitle,ef as SheetTrigger,cf as Skeleton,df as Slider,K as Spinner,jf as Strong,kf as Switch,lf as Table,qf as TableBody,yf as TableCaption,wf as TableCell,sf as TableFooter,vf as TableHead,nf as TableHeader,uf as TableRow,zf as Tabs,Cf as TabsContent,Af as TabsList,Bf as TabsTrigger,Df as Text,Ef as TextInput,Ff as Textarea,hf as Toaster,Gf as Toggle,Hf as ToggleGroup,If as ToggleGroupItem,Kf as Tooltip,Nf as TooltipArrow,Mf as TooltipContent,Jf as TooltipProvider,Lf as TooltipTrigger,r as buttonVariants,o as cn,V as createCarouselScope,Kr as createFormFieldScope,e as inputVariants,gf as toast,f as toggleVariants};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codefast/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.41",
|
|
4
4
|
"bugs": {
|
|
5
5
|
"url": "https://github.com/codefastlabs/codefast/issues"
|
|
6
6
|
},
|
|
@@ -75,9 +75,9 @@
|
|
|
75
75
|
"tailwind-merge": "^2.5.3",
|
|
76
76
|
"tailwind-variants": "^0.2.1",
|
|
77
77
|
"vaul": "^1.0.0",
|
|
78
|
-
"@codefast-ui/checkbox-group": "0.1.
|
|
79
|
-
"@codefast-ui/input": "0.1.
|
|
80
|
-
"@codefast-ui/number-input": "0.1.
|
|
78
|
+
"@codefast-ui/checkbox-group": "0.1.41",
|
|
79
|
+
"@codefast-ui/input": "0.1.41",
|
|
80
|
+
"@codefast-ui/number-input": "0.1.41"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@types/node": "^20.16.11",
|
|
@@ -86,9 +86,9 @@
|
|
|
86
86
|
"tailwindcss": "^3.4.13",
|
|
87
87
|
"tsup": "^8.3.0",
|
|
88
88
|
"typescript": "^5.6.3",
|
|
89
|
-
"@codefast/config-tailwind": "0.1.
|
|
90
|
-
"@codefast/config-typescript": "0.1.
|
|
91
|
-
"@codefast/eslint-config": "0.1.
|
|
89
|
+
"@codefast/config-tailwind": "0.1.41",
|
|
90
|
+
"@codefast/config-typescript": "0.1.41",
|
|
91
|
+
"@codefast/eslint-config": "0.1.41"
|
|
92
92
|
},
|
|
93
93
|
"peerDependencies": {
|
|
94
94
|
"@tanstack/react-table": "^8",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-BCBGSRNY.cjs","../src/components/data-table.tsx"],"names":["jsxs","DropdownMenu","DropdownMenuTrigger","buttonVariants","jsx","MixerHorizontalIcon","DropdownMenuContent","DropdownMenuLabel","DropdownMenuCheckboxItem","column","DataTablePagination","className","cn","table","SelectTrigger","SelectValue","pageSize","SelectItem","Button","DataTableColumnHeader","DropdownMenuItem","ChevronUpIcon","ChevronDownIcon","DropdownMenuSeparator","EyeNoneIcon","Fragment","title","SortIcon","sorted"],"mappings":"AAAA,qFAAY,CAAC,wDAAoE,wDAA8E,wDAAyC,wDAAyC,wDCG/O,mDAwMS,+CA/JT,SAEA,CAAA,CAAA,CAAA,KACEA,CAACC,CAAAA,CAAA,CACC,CAAA,OAAA,8BAAA,mBAAAD,CAACE,CAAAA,QACC,CAAA,CAAA,8BAAA,mBAAWC,CAAe,CAAE,SAAM,CAAM,iCAAA,CAAA,IAAA,CAAS,IAAA,CAAA,OAEjD,CAAA,SAAAC,CAAAA,CAACC,CAAAA,QAAoB,CAAA,CAAA,6BAAA,+BAAU,CAAA,CAAA,SAAW,CAAA,QAG5CL,CAAAA,CAACM,CAAAA,MAAoB,CAAA,CAAM,CAAA,CAAA,8BAAA,mBAAA,CAAM,CAAA,KAAA,CAAA,KAAU,CAAA,SACzC,CAAA,MAACC,CAAAA,QAAkB,CAAA,CAAA,6BAAA,mBAAA,CAAA,CAAA,QAAA,CAAA,gBAGhB,CAAA,CAAA,CAAA,6BAAA,mBAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,aAGG,CAAA,CAAA,CAAA,MAAc,CAAA,CAAA,EAAA,OAAe,CAAA,CAAA,UAAsB,CAAA,GAAA,EAAW,CAClE,CAAA,UAEGC,CAAAA,CAAA,CAEC,CAAA,GAAA,CAAA,CAAA,EAASC,6BAAAA,mBAAO,CAAA,CAAA,OAAA,CAAA,CAAA,CAAa,YACnB,CAAA,CAAA,CAAA,SAAA,CACV,YAAA,CAAA,eACS,CAAA,CAAA,EAAA,CAAA,CAAA,CAAA,gBAGR,CAAA,CAAA,CAAAA,CAAAA,CAAO,CAAA,CAAA,QAEX,CAAA,CACL,CAAA,EACF,CAEJ,CAWA,C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AGT,CAAA,CAAA,CAAAL,CAAAA,CAACoB,CAAAA,QAAY,CAAA,CAAA,6BAAA,uBAAU,CAAA,CAAA,SAAA,CAAA,uBAEzB,CACF,CAAA,CAAA,MA/CKC,CAAA,CAAG,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,6BAAAC,oBAAM,CAkDpB,CAEA,QAAA,CAASC,CAAAA,CAAS,CAChB,CAAA,SAGc,CACd,CAAA,CAAA,MAAQC,CAAQ,CACd,CAAA,CAAA,CAAA,MAAK,CAAA,CACH,CAAA,CAAA,IAAA,MAAQ,CAAgB,OAGrB,6BAAA,2BAAA,CAAA,CACH,CAAA,CAAA,CAAA,IAAOxB,KAAC,CAAc,OAGxB,6BAAA,yBACE,CAAA,CAAA,CAAA,CAAA,CAAA,OAAQ,CAAc,OAE5B,6BAAA,yBAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,4CAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-BCBGSRNY.cjs","sourcesContent":[null,"'use client';\n\nimport {\n CaretSortIcon,\n ChevronDownIcon,\n ChevronLeftIcon,\n ChevronRightIcon,\n ChevronUpIcon,\n DoubleArrowLeftIcon,\n DoubleArrowRightIcon,\n EyeNoneIcon,\n MixerHorizontalIcon,\n} from '@radix-ui/react-icons';\nimport { type HTMLAttributes, type JSX } from 'react';\nimport type * as ReactTable from '@tanstack/react-table';\nimport { Button } from '@/components/button';\nimport {\n DropdownMenu,\n DropdownMenuCheckboxItem,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuTrigger,\n} from '@/components/dropdown-menu';\nimport {\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n} from '@/components/select';\nimport { cn } from '@/lib/utils';\nimport { buttonVariants } from '@/styles/button-variants';\n\n/* -----------------------------------------------------------------------------\n * Component: DataTableViewOptions\n * -------------------------------------------------------------------------- */\n\ninterface DataTableViewOptionsProps<TData> {\n table: ReactTable.Table<TData>;\n}\n\nfunction DataTableViewOptions<TData>({\n table,\n}: DataTableViewOptionsProps<TData>): JSX.Element {\n return (\n <DropdownMenu>\n <DropdownMenuTrigger\n className={buttonVariants({ size: 'xs', variant: 'outline' })}\n >\n <MixerHorizontalIcon className=\"size-4\" />\n View\n </DropdownMenuTrigger>\n <DropdownMenuContent align=\"end\" className=\"w-36\">\n <DropdownMenuLabel>Toggle columns</DropdownMenuLabel>\n <DropdownMenuSeparator />\n {table\n .getAllColumns()\n .filter(\n (column) =>\n typeof column.accessorFn !== 'undefined' && column.getCanHide(),\n )\n .map((column) => (\n <DropdownMenuCheckboxItem\n key={column.id}\n checked={column.getIsVisible()}\n className=\"capitalize\"\n onCheckedChange={(value) => {\n column.toggleVisibility(Boolean(value));\n }}\n >\n {column.id}\n </DropdownMenuCheckboxItem>\n ))}\n </DropdownMenuContent>\n </DropdownMenu>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DataTablePagination\n * -------------------------------------------------------------------------- */\n\ninterface DataTablePaginationProps<TData>\n extends HTMLAttributes<HTMLDivElement> {\n table: ReactTable.Table<TData>;\n}\n\nfunction DataTablePagination<TData>({\n table,\n className,\n ...props\n}: DataTablePaginationProps<TData>): JSX.Element {\n return (\n <div\n className={cn(\n 'flex flex-wrap items-center justify-between gap-4 px-2',\n className,\n )}\n {...props}\n >\n <div className=\"text-muted-foreground min-w-max flex-1 text-sm\">\n {table.getFilteredSelectedRowModel().rows.length} of{' '}\n {table.getFilteredRowModel().rows.length} row(s) selected.\n </div>\n\n <div className=\"flex grow flex-wrap items-center justify-between gap-4 md:justify-end md:gap-x-6 lg:gap-x-8\">\n <div className=\"flex flex-wrap items-center gap-x-2 gap-y-4\">\n <p className=\"text-sm font-medium\">Rows per page</p>\n <Select\n value={String(table.getState().pagination.pageSize)}\n onValueChange={(value) => {\n table.setPageSize(Number(value));\n }}\n >\n <SelectTrigger className=\"w-18 h-8\">\n <SelectValue placeholder={table.getState().pagination.pageSize} />\n </SelectTrigger>\n <SelectContent side=\"top\">\n {[10, 20, 30, 40, 50].map((pageSize) => (\n <SelectItem key={pageSize} value={String(pageSize)}>\n {pageSize}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </div>\n <div className=\"flex flex-wrap items-center justify-center text-sm font-medium\">\n Page {table.getState().pagination.pageIndex + 1} of{' '}\n {table.getPageCount()}\n </div>\n <div className=\"flex flex-wrap items-center gap-x-2 gap-y-4\">\n <Button\n icon\n className=\"max-md:hidden\"\n disabled={!table.getCanPreviousPage()}\n size=\"xs\"\n variant=\"outline\"\n onClick={() => {\n table.setPageIndex(0);\n }}\n >\n <span className=\"sr-only\">Go to first page</span>\n <DoubleArrowLeftIcon className=\"size-4\" />\n </Button>\n <Button\n icon\n disabled={!table.getCanPreviousPage()}\n size=\"xs\"\n variant=\"outline\"\n onClick={() => {\n table.previousPage();\n }}\n >\n <span className=\"sr-only\">Go to previous page</span>\n <ChevronLeftIcon className=\"size-4\" />\n </Button>\n <Button\n icon\n disabled={!table.getCanNextPage()}\n size=\"xs\"\n variant=\"outline\"\n onClick={() => {\n table.nextPage();\n }}\n >\n <span className=\"sr-only\">Go to next page</span>\n <ChevronRightIcon className=\"size-4\" />\n </Button>\n <Button\n icon\n className=\"max-md:hidden\"\n disabled={!table.getCanNextPage()}\n size=\"xs\"\n variant=\"outline\"\n onClick={() => {\n table.setPageIndex(table.getPageCount() - 1);\n }}\n >\n <span className=\"sr-only\">Go to last page</span>\n <DoubleArrowRightIcon className=\"size-4\" />\n </Button>\n </div>\n </div>\n </div>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DataTableColumnHeader\n * -------------------------------------------------------------------------- */\n\ninterface DataTableColumnHeaderProps<TData, TValue> {\n column: ReactTable.Column<TData, TValue>;\n title: string;\n}\n\nfunction DataTableColumnHeader<TData, TValue>({\n column,\n title,\n}: DataTableColumnHeaderProps<TData, TValue>): JSX.Element {\n if (!column.getCanSort()) {\n return <>{title}</>;\n }\n\n return (\n <DropdownMenu>\n <DropdownMenuTrigger asChild>\n <Button\n className={cn(\n 'text-muted-foreground p-0',\n 'hover:bg-transparent',\n 'data-[state=open]:text-accent-foreground',\n 'focus-visible:text-accent-foreground focus-visible:bg-transparent focus-visible:outline-0',\n )}\n size=\"xs\"\n suffix={<SortIcon sorted={column.getIsSorted()} />}\n variant=\"ghost\"\n >\n {title}\n </Button>\n </DropdownMenuTrigger>\n\n <DropdownMenuContent align=\"start\">\n <DropdownMenuItem\n onClick={() => {\n column.toggleSorting(false);\n }}\n >\n <ChevronUpIcon className=\"text-muted-foreground\" />\n Asc\n </DropdownMenuItem>\n <DropdownMenuItem\n onClick={() => {\n column.toggleSorting(true);\n }}\n >\n <ChevronDownIcon className=\"text-muted-foreground\" />\n Desc\n </DropdownMenuItem>\n <DropdownMenuSeparator />\n <DropdownMenuItem\n onClick={() => {\n column.toggleVisibility(false);\n }}\n >\n <EyeNoneIcon className=\"text-muted-foreground\" />\n Hide\n </DropdownMenuItem>\n </DropdownMenuContent>\n </DropdownMenu>\n );\n}\n\nfunction SortIcon({\n sorted,\n}: {\n sorted: false | ReactTable.SortDirection;\n}): JSX.Element {\n switch (sorted) {\n case 'desc': {\n return <ChevronDownIcon />;\n }\n\n case 'asc': {\n return <ChevronUpIcon />;\n }\n\n default:\n return <CaretSortIcon />;\n }\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n DataTableColumnHeader,\n type DataTableColumnHeaderProps,\n DataTablePagination,\n type DataTablePaginationProps,\n DataTableViewOptions,\n type DataTableViewOptionsProps,\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/drawer.tsx"],"names":["forwardRef","DrawerPrimitive","jsx","jsxs","Drawer","shouldScaleBackground","props","DrawerTrigger","DrawerContent","children","className","forwardedRef","cn","DrawerHeader","DrawerBody","DrawerFooter","DrawerTitle","DrawerDescription","DrawerClose","size","variant","button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D,IAAMgB,EAAoBjB,EAGxB,CAAC,CAAE,UAAAU,EAAW,GAAGJ,CAAM,EAAGK,IAC1BT,EAACD,EAAgB,YAAhB,CACC,IAAKU,EACL,UAAWC,EAAG,gCAAiCF,CAAS,EACvD,GAAGJ,EACN,CACD,EAEDW,EAAkB,YAAchB,EAAgB,YAAY,YAc5D,IAAMiB,EAAclB,EAClB,CAAC,CAAE,UAAAU,EAAW,KAAAS,EAAM,QAAAC,EAAU,UAAW,GAAGd,CAAM,EAAGK,IACnDT,EAACD,EAAgB,MAAhB,CACC,IAAKU,EACL,UAAWU,EAAe,CAAE,UAAAX,EAAW,KAAAS,EAAM,QAAAC,CAAQ,CAAC,EACrD,GAAGd,EACN,CAEJ,EAEAY,EAAY,YAAcjB,EAAgB,MAAM","sourcesContent":["'use client';\n\nimport {\n type ComponentProps,\n type ComponentPropsWithoutRef,\n type ComponentRef,\n forwardRef,\n type HTMLAttributes,\n type JSX,\n} from 'react';\nimport { Drawer as DrawerPrimitive } from 'vaul';\nimport { cn } from '@/lib/utils';\nimport {\n buttonVariants,\n type ButtonVariantsProps,\n} from '@/styles/button-variants';\n\n/* -----------------------------------------------------------------------------\n * Component: Drawer\n * -------------------------------------------------------------------------- */\n\ntype DrawerProps = ComponentProps<typeof DrawerPrimitive.Root>;\n\nfunction Drawer({\n shouldScaleBackground = true,\n ...props\n}: DrawerProps): JSX.Element {\n return (\n <DrawerPrimitive.Root\n shouldScaleBackground={shouldScaleBackground}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerTrigger\n * -------------------------------------------------------------------------- */\n\ntype DrawerTriggerProps = ComponentPropsWithoutRef<\n typeof DrawerPrimitive.Trigger\n>;\nconst DrawerTrigger = DrawerPrimitive.Trigger;\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerContent\n * -------------------------------------------------------------------------- */\n\ntype DrawerContentElement = ComponentRef<typeof DrawerPrimitive.Content>;\ntype DrawerContentProps = ComponentPropsWithoutRef<\n typeof DrawerPrimitive.Content\n>;\n\nconst DrawerContent = forwardRef<DrawerContentElement, DrawerContentProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <DrawerPrimitive.Portal>\n <DrawerPrimitive.Overlay className=\"fixed inset-0 z-50 bg-black/80\" />\n <DrawerPrimitive.Content\n ref={forwardedRef}\n className={cn(\n 'bg-background fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-xl border',\n className,\n )}\n {...props}\n >\n <div className=\"bg-muted mx-auto mt-4 h-2 w-24 rounded-full\" />\n {children}\n </DrawerPrimitive.Content>\n </DrawerPrimitive.Portal>\n ),\n);\n\nDrawerContent.displayName = 'DrawerContent';\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerHeader\n * -------------------------------------------------------------------------- */\n\ntype DrawerHeaderProps = HTMLAttributes<HTMLDivElement>;\n\nfunction DrawerHeader({ className, ...props }: DrawerHeaderProps): JSX.Element {\n return (\n <div\n className={cn('grid gap-1.5 p-4 text-center sm:text-left', className)}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerBody\n * -------------------------------------------------------------------------- */\n\ntype DrawerBodyProps = HTMLAttributes<HTMLDivElement>;\n\nfunction DrawerBody({ className, ...props }: DrawerBodyProps): JSX.Element {\n return (\n <main className={cn('overflow-auto px-4 py-2', className)} {...props} />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerFooter\n * -------------------------------------------------------------------------- */\n\ntype DrawerFooterProps = HTMLAttributes<HTMLDivElement>;\n\nfunction DrawerFooter({ className, ...props }: DrawerFooterProps): JSX.Element {\n return (\n <div\n className={cn('mt-auto flex flex-col-reverse gap-2 p-4', className)}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerTitle\n * -------------------------------------------------------------------------- */\n\ntype DrawerTitleElement = ComponentRef<typeof DrawerPrimitive.Title>;\ntype DrawerTitleProps = ComponentPropsWithoutRef<typeof DrawerPrimitive.Title>;\n\nconst DrawerTitle = forwardRef<DrawerTitleElement, DrawerTitleProps>(\n ({ className, ...props }, forwardedRef) => (\n <DrawerPrimitive.Title\n ref={forwardedRef}\n className={cn(\n 'text-lg font-semibold leading-none tracking-tight',\n className,\n )}\n {...props}\n />\n ),\n);\n\nDrawerTitle.displayName = DrawerPrimitive.Title.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerDescription\n * -------------------------------------------------------------------------- */\n\ntype DrawerDescriptionElement = ComponentRef<\n typeof DrawerPrimitive.Description\n>;\ntype DrawerDescriptionProps = ComponentPropsWithoutRef<\n typeof DrawerPrimitive.Description\n>;\n\nconst DrawerDescription = forwardRef<\n DrawerDescriptionElement,\n DrawerDescriptionProps\n>(({ className, ...props }, forwardedRef) => (\n <DrawerPrimitive.Description\n ref={forwardedRef}\n className={cn('text-muted-foreground text-sm', className)}\n {...props}\n />\n));\n\nDrawerDescription.displayName = DrawerPrimitive.Description.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerClose\n * -------------------------------------------------------------------------- */\n\ntype DrawerCloseElement = ComponentRef<typeof DrawerPrimitive.Close>;\n\ninterface DrawerCloseProps\n extends ComponentPropsWithoutRef<typeof DrawerPrimitive.Close> {\n size?: ButtonVariantsProps['size'];\n variant?: ButtonVariantsProps['variant'];\n}\n\nconst DrawerClose = forwardRef<DrawerCloseElement, DrawerCloseProps>(\n ({ className, size, variant = 'outline', ...props }, forwardedRef) => (\n <DrawerPrimitive.Close\n ref={forwardedRef}\n className={buttonVariants({ className, size, variant })}\n {...props}\n />\n ),\n);\n\nDrawerClose.displayName = DrawerPrimitive.Close.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Drawer,\n DrawerBody,\n type DrawerBodyProps,\n DrawerClose,\n type DrawerCloseProps,\n DrawerContent,\n type DrawerContentProps,\n DrawerDescription,\n type DrawerDescriptionProps,\n DrawerFooter,\n type DrawerFooterProps,\n DrawerHeader,\n type DrawerHeaderProps,\n type DrawerProps,\n DrawerTitle,\n type DrawerTitleProps,\n DrawerTrigger,\n type DrawerTriggerProps,\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-KU2TWJO6.cjs","../src/components/drawer.tsx"],"names":["DrawerPrimitive","DrawerTrigger","DrawerContent","forwardRef","children","className","jsxs","jsx","forwardedRef","cn","DrawerBody","DrawerFooter","DrawerTitle","DrawerDescription","props","buttonVariants","DrawerClose"],"mappings":"AAAA,qFAAY,CAAC,wDAAwC,wDCMnD,8BAIO,4BAkBL,+CAJF,SAAA,CAAA,CAAA,CAAA,qBAGA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,GACGA,CAAAA,CAAgB,CAAA,CAAA,OACf,6BAAA,YAAA,CAAA,IAAA,CAAA,CAAA,qBAaN,CAAMC,CAAAA,CAAgBD,GAAgB,CAAA,CAAA,CAAA,CAAA,IAWhCE,CAAgBC,CAAAA,YACpB,CAAC,OAAE,CAAA,CAAA,aAAAC,+BAAAA,CAAU,CAAA,QAAAC,CAAAA,CAAW,CAAA,SACtBC,CAAAA,CAACN,CAAAA,GAAgB,CAAA,CAAA,CAAA,CAAA,CAAhB,EACC,8BAAA,YAAA,CAAA,MAAAO,CAACP,CAAAA,QAAgB,CAAhB,CAAwB,6BAAA,YAAA,CAAA,OAAU,CAAA,CAAA,SAAA,CAAA,gCAClB,CAAA,CAAhB,CACC,8BAAA,YAAA,CAAKQ,OACL,CAAA,CAAA,GAAWC,CAAAA,CACT,CAAA,SAAA,CAAA,iCAAA,4FAKF,CAAA,CAAA,CAAA,CAAA,GAAAF,CAAC,CAAA,QAAI,CAAA,CAAA,6BAAA,KAAU,CAAA,CAAA,SAAA,CAAA,6CAOvBL,CAAc,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAc,CAAA,WAAA,CAAA,eAQJ,CAAA,SAAAG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A,CAAA,CAAA,+BAAAK,CAAW,CAAA,SAAM,CAAA,CAAA,CAAA,IAAU,CAAA,CAAA,CAAA,OAAW,CAAA,CAAA,CAAGS,SACzCd,CAAAA,GAAgB,CAAA,CAAA,CAAA,CAAhB,CACC,EAAA,6BAAA,YAAKQ,CACL,KAAA,CAAA,CAAA,GAAWO,CAAAA,CAAe,CAAE,SAAA,CAAAV,iCAAAA,CAAW,SAAM,CAAA,CAAA,CAAA,IAAS,CAAA,CACrD,CAAA,OAKPW,CAAAA,CAAY,CAAA,CAAA,CAAA,GAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAchB,CAAAA,WAAsB,CAAA,YAAA,CAAA,KAAA,CAAA,WAAA,CAAA,sIAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-KU2TWJO6.cjs","sourcesContent":[null,"'use client';\n\nimport {\n type ComponentProps,\n type ComponentPropsWithoutRef,\n type ComponentRef,\n forwardRef,\n type HTMLAttributes,\n type JSX,\n} from 'react';\nimport { Drawer as DrawerPrimitive } from 'vaul';\nimport { cn } from '@/lib/utils';\nimport {\n buttonVariants,\n type ButtonVariantsProps,\n} from '@/styles/button-variants';\n\n/* -----------------------------------------------------------------------------\n * Component: Drawer\n * -------------------------------------------------------------------------- */\n\ntype DrawerProps = ComponentProps<typeof DrawerPrimitive.Root>;\n\nfunction Drawer({\n shouldScaleBackground = true,\n ...props\n}: DrawerProps): JSX.Element {\n return (\n <DrawerPrimitive.Root\n shouldScaleBackground={shouldScaleBackground}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerTrigger\n * -------------------------------------------------------------------------- */\n\ntype DrawerTriggerProps = ComponentPropsWithoutRef<\n typeof DrawerPrimitive.Trigger\n>;\nconst DrawerTrigger = DrawerPrimitive.Trigger;\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerContent\n * -------------------------------------------------------------------------- */\n\ntype DrawerContentElement = ComponentRef<typeof DrawerPrimitive.Content>;\ntype DrawerContentProps = ComponentPropsWithoutRef<\n typeof DrawerPrimitive.Content\n>;\n\nconst DrawerContent = forwardRef<DrawerContentElement, DrawerContentProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <DrawerPrimitive.Portal>\n <DrawerPrimitive.Overlay className=\"fixed inset-0 z-50 bg-black/80\" />\n <DrawerPrimitive.Content\n ref={forwardedRef}\n className={cn(\n 'bg-background fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-xl border',\n className,\n )}\n {...props}\n >\n <div className=\"bg-muted mx-auto mt-4 h-2 w-24 rounded-full\" />\n {children}\n </DrawerPrimitive.Content>\n </DrawerPrimitive.Portal>\n ),\n);\n\nDrawerContent.displayName = 'DrawerContent';\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerHeader\n * -------------------------------------------------------------------------- */\n\ntype DrawerHeaderProps = HTMLAttributes<HTMLDivElement>;\n\nfunction DrawerHeader({ className, ...props }: DrawerHeaderProps): JSX.Element {\n return (\n <div\n className={cn('grid gap-1.5 p-4 text-center sm:text-left', className)}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerBody\n * -------------------------------------------------------------------------- */\n\ntype DrawerBodyProps = HTMLAttributes<HTMLDivElement>;\n\nfunction DrawerBody({ className, ...props }: DrawerBodyProps): JSX.Element {\n return (\n <main className={cn('overflow-auto px-4 py-2', className)} {...props} />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerFooter\n * -------------------------------------------------------------------------- */\n\ntype DrawerFooterProps = HTMLAttributes<HTMLDivElement>;\n\nfunction DrawerFooter({ className, ...props }: DrawerFooterProps): JSX.Element {\n return (\n <div\n className={cn('mt-auto flex flex-col-reverse gap-2 p-4', className)}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerTitle\n * -------------------------------------------------------------------------- */\n\ntype DrawerTitleElement = ComponentRef<typeof DrawerPrimitive.Title>;\ntype DrawerTitleProps = ComponentPropsWithoutRef<typeof DrawerPrimitive.Title>;\n\nconst DrawerTitle = forwardRef<DrawerTitleElement, DrawerTitleProps>(\n ({ className, ...props }, forwardedRef) => (\n <DrawerPrimitive.Title\n ref={forwardedRef}\n className={cn(\n 'text-lg font-semibold leading-none tracking-tight',\n className,\n )}\n {...props}\n />\n ),\n);\n\nDrawerTitle.displayName = DrawerPrimitive.Title.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerDescription\n * -------------------------------------------------------------------------- */\n\ntype DrawerDescriptionElement = ComponentRef<\n typeof DrawerPrimitive.Description\n>;\ntype DrawerDescriptionProps = ComponentPropsWithoutRef<\n typeof DrawerPrimitive.Description\n>;\n\nconst DrawerDescription = forwardRef<\n DrawerDescriptionElement,\n DrawerDescriptionProps\n>(({ className, ...props }, forwardedRef) => (\n <DrawerPrimitive.Description\n ref={forwardedRef}\n className={cn('text-muted-foreground text-sm', className)}\n {...props}\n />\n));\n\nDrawerDescription.displayName = DrawerPrimitive.Description.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: DrawerClose\n * -------------------------------------------------------------------------- */\n\ntype DrawerCloseElement = ComponentRef<typeof DrawerPrimitive.Close>;\n\ninterface DrawerCloseProps\n extends ComponentPropsWithoutRef<typeof DrawerPrimitive.Close> {\n size?: ButtonVariantsProps['size'];\n variant?: ButtonVariantsProps['variant'];\n}\n\nconst DrawerClose = forwardRef<DrawerCloseElement, DrawerCloseProps>(\n ({ className, size, variant = 'outline', ...props }, forwardedRef) => (\n <DrawerPrimitive.Close\n ref={forwardedRef}\n className={buttonVariants({ className, size, variant })}\n {...props}\n />\n ),\n);\n\nDrawerClose.displayName = DrawerPrimitive.Close.displayName;\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Drawer,\n DrawerBody,\n type DrawerBodyProps,\n DrawerClose,\n type DrawerCloseProps,\n DrawerContent,\n type DrawerContentProps,\n DrawerDescription,\n type DrawerDescriptionProps,\n DrawerFooter,\n type DrawerFooterProps,\n DrawerHeader,\n type DrawerHeaderProps,\n type DrawerProps,\n DrawerTitle,\n type DrawerTitleProps,\n DrawerTrigger,\n type DrawerTriggerProps,\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/card.tsx"],"names":["forwardRef","jsx","Card","className","props","forwardedRef","cn","CardHeader","CardTitle","children","CardDescription","CardContent","CardFooter"],"mappings":"mCAAA,OAAS,cAAAA,MAAuC,QAY5C,cAAAC,MAAA,oBAFJ,IAAMC,EAAOF,EACX,CAAC,CAAE,UAAAG,EAAW,GAAGC,CAAM,EAAGC,IACxBJ,EAAC,OACC,IAAKI,EACL,UAAWC,EACT,wDACAH,CACF,EACC,GAAGC,EACN,CAEJ,EAEAF,EAAK,YAAc,OASnB,IAAMK,EAAaP,EACjB,CAAC,CAAE,UAAAG,EAAW,GAAGC,CAAM,EAAGC,IACxBJ,EAAC,OACC,IAAKI,EACL,UAAWC,EAAG,8BAA+BH,CAAS,EACrD,GAAGC,EACN,CAEJ,EAEAG,EAAW,YAAc,aASzB,IAAMC,EAAYR,EAChB,CAAC,CAAE,SAAAS,EAAU,UAAAN,EAAW,GAAGC,CAAM,EAAGC,IAClCJ,EAAC,MACC,IAAKI,EACL,UAAWC,EAAG,4CAA6CH,CAAS,EACnE,GAAGC,EAEH,SAAAK,EACH,CAEJ,EAEAD,EAAU,YAAc,YASxB,IAAME,EAAkBV,EAGtB,CAAC,CAAE,UAAAG,EAAW,GAAGC,CAAM,EAAGC,IAC1BJ,EAAC,KACC,IAAKI,EACL,UAAWC,EAAG,gCAAiCH,CAAS,EACvD,GAAGC,EACN,CACD,EAEDM,EAAgB,YAAc,kBAS9B,IAAMC,EAAcX,EAClB,CAAC,CAAE,UAAAG,EAAW,GAAGC,CAAM,EAAGC,IACxBJ,EAAC,OAAI,IAAKI,EAAc,UAAWC,EAAG,WAAYH,CAAS,EAAI,GAAGC,EAAO,CAE7E,EAEAO,EAAY,YAAc,cAS1B,IAAMC,EAAaZ,EACjB,CAAC,CAAE,UAAAG,EAAW,GAAGC,CAAM,EAAGC,IACxBJ,EAAC,OACC,IAAKI,EACL,UAAWC,EAAG,6BAA8BH,CAAS,EACpD,GAAGC,EACN,CAEJ,EAEAQ,EAAW,YAAc","sourcesContent":["import { forwardRef, type HTMLAttributes } from 'react';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Card\n * -------------------------------------------------------------------------- */\n\ntype CardElement = HTMLDivElement;\ntype CardProps = HTMLAttributes<HTMLDivElement>;\n\nconst Card = forwardRef<CardElement, CardProps>(\n ({ className, ...props }, forwardedRef) => (\n <div\n ref={forwardedRef}\n className={cn(\n 'bg-card text-card-foreground rounded-lg border shadow',\n className,\n )}\n {...props}\n />\n ),\n);\n\nCard.displayName = 'Card';\n\n/* -----------------------------------------------------------------------------\n * Component: CardHeader\n * -------------------------------------------------------------------------- */\n\ntype CardHeaderElement = HTMLDivElement;\ntype CardHeaderProps = HTMLAttributes<HTMLDivElement>;\n\nconst CardHeader = forwardRef<CardHeaderElement, CardHeaderProps>(\n ({ className, ...props }, forwardedRef) => (\n <div\n ref={forwardedRef}\n className={cn('flex flex-col gap-y-1.5 p-6', className)}\n {...props}\n />\n ),\n);\n\nCardHeader.displayName = 'CardHeader';\n\n/* -----------------------------------------------------------------------------\n * Component: CardTitle\n * -------------------------------------------------------------------------- */\n\ntype CardTitleElement = HTMLParagraphElement;\ntype CardTitleProps = HTMLAttributes<HTMLHeadingElement>;\n\nconst CardTitle = forwardRef<CardTitleElement, CardTitleProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <h3\n ref={forwardedRef}\n className={cn('font-semibold leading-none tracking-tight', className)}\n {...props}\n >\n {children}\n </h3>\n ),\n);\n\nCardTitle.displayName = 'CardTitle';\n\n/* -----------------------------------------------------------------------------\n * Component: CardDescription\n * -------------------------------------------------------------------------- */\n\ntype CardDescriptionElement = HTMLParagraphElement;\ntype CardDescriptionProps = HTMLAttributes<HTMLParagraphElement>;\n\nconst CardDescription = forwardRef<\n CardDescriptionElement,\n CardDescriptionProps\n>(({ className, ...props }, forwardedRef) => (\n <p\n ref={forwardedRef}\n className={cn('text-muted-foreground text-sm', className)}\n {...props}\n />\n));\n\nCardDescription.displayName = 'CardDescription';\n\n/* -----------------------------------------------------------------------------\n * Component: CardContent\n * -------------------------------------------------------------------------- */\n\ntype CardContentElement = HTMLDivElement;\ntype CardContentProps = HTMLAttributes<HTMLDivElement>;\n\nconst CardContent = forwardRef<CardContentElement, CardContentProps>(\n ({ className, ...props }, forwardedRef) => (\n <div ref={forwardedRef} className={cn('p-6 pt-0', className)} {...props} />\n ),\n);\n\nCardContent.displayName = 'CardContent';\n\n/* -----------------------------------------------------------------------------\n * Component: CardFooter\n * -------------------------------------------------------------------------- */\n\ntype CardFooterElement = HTMLDivElement;\ntype CardFooterProps = HTMLAttributes<HTMLDivElement>;\n\nconst CardFooter = forwardRef<CardFooterElement, CardFooterProps>(\n ({ className, ...props }, forwardedRef) => (\n <div\n ref={forwardedRef}\n className={cn('flex items-center p-6 pt-0', className)}\n {...props}\n />\n ),\n);\n\nCardFooter.displayName = 'CardFooter';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Card,\n CardContent,\n type CardContentProps,\n CardDescription,\n type CardDescriptionProps,\n CardFooter,\n type CardFooterProps,\n CardHeader,\n type CardHeaderProps,\n type CardProps,\n CardTitle,\n type CardTitleProps,\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-NTCSJCJ2.cjs","../src/components/card.tsx"],"names":["Card","forwardRef","className","props","forwardedRef","jsx","cn","CardHeader","CardTitle","children","CardDescription","CardContent","CardFooter"],"mappings":"AAAA,iIAAmC,8BCAa,+CAY5C,IAFEA,CAAAA,CAAOC,+BAAAA,CACV,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CA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CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACxBC,6BAAAA,KAAC,CAAA,CAAI,GAAA,CAAKD,CAAAA,CAAc,SAAA,CAAWE,iCAAAA,UAAG,CAAYJ,CAAS,CAAA,CAAI,GAAGC,CAAAA,CAAO,CAE7E,CAAA,CAEAQ,CAAAA,CAAY,WAAA,CAAc,aAAA,CAS1B,IAAMC,CAAAA,CAAaX,+BAAAA,CAChB,CAAE,SAAA,CAAAC,CAAAA,CAAW,GAAGC,CAAM,CAAA,CAAGC,CAAAA,CAAAA,EACxBC,6BAAAA,KAAC,CAAA,CACC,GAAA,CAAKD,CAAAA,CACL,SAAA,CAAWE,iCAAAA,4BAAG,CAA8BJ,CAAS,CAAA,CACpD,GAAGC,CAAAA,CACN,CAEJ,CAAA,CAEAS,CAAAA,CAAW,WAAA,CAAc,YAAA,CAAA,yFAAA","file":"/home/runner/work/codefast/codefast/packages/ui/dist/chunk-NTCSJCJ2.cjs","sourcesContent":[null,"import { forwardRef, type HTMLAttributes } from 'react';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Card\n * -------------------------------------------------------------------------- */\n\ntype CardElement = HTMLDivElement;\ntype CardProps = HTMLAttributes<HTMLDivElement>;\n\nconst Card = forwardRef<CardElement, CardProps>(\n ({ className, ...props }, forwardedRef) => (\n <div\n ref={forwardedRef}\n className={cn(\n 'bg-card text-card-foreground rounded-lg border shadow',\n className,\n )}\n {...props}\n />\n ),\n);\n\nCard.displayName = 'Card';\n\n/* -----------------------------------------------------------------------------\n * Component: CardHeader\n * -------------------------------------------------------------------------- */\n\ntype CardHeaderElement = HTMLDivElement;\ntype CardHeaderProps = HTMLAttributes<HTMLDivElement>;\n\nconst CardHeader = forwardRef<CardHeaderElement, CardHeaderProps>(\n ({ className, ...props }, forwardedRef) => (\n <div\n ref={forwardedRef}\n className={cn('flex flex-col gap-y-1.5 p-6', className)}\n {...props}\n />\n ),\n);\n\nCardHeader.displayName = 'CardHeader';\n\n/* -----------------------------------------------------------------------------\n * Component: CardTitle\n * -------------------------------------------------------------------------- */\n\ntype CardTitleElement = HTMLParagraphElement;\ntype CardTitleProps = HTMLAttributes<HTMLHeadingElement>;\n\nconst CardTitle = forwardRef<CardTitleElement, CardTitleProps>(\n ({ children, className, ...props }, forwardedRef) => (\n <h3\n ref={forwardedRef}\n className={cn('font-semibold leading-none tracking-tight', className)}\n {...props}\n >\n {children}\n </h3>\n ),\n);\n\nCardTitle.displayName = 'CardTitle';\n\n/* -----------------------------------------------------------------------------\n * Component: CardDescription\n * -------------------------------------------------------------------------- */\n\ntype CardDescriptionElement = HTMLParagraphElement;\ntype CardDescriptionProps = HTMLAttributes<HTMLParagraphElement>;\n\nconst CardDescription = forwardRef<\n CardDescriptionElement,\n CardDescriptionProps\n>(({ className, ...props }, forwardedRef) => (\n <p\n ref={forwardedRef}\n className={cn('text-muted-foreground text-sm', className)}\n {...props}\n />\n));\n\nCardDescription.displayName = 'CardDescription';\n\n/* -----------------------------------------------------------------------------\n * Component: CardContent\n * -------------------------------------------------------------------------- */\n\ntype CardContentElement = HTMLDivElement;\ntype CardContentProps = HTMLAttributes<HTMLDivElement>;\n\nconst CardContent = forwardRef<CardContentElement, CardContentProps>(\n ({ className, ...props }, forwardedRef) => (\n <div ref={forwardedRef} className={cn('p-6 pt-0', className)} {...props} />\n ),\n);\n\nCardContent.displayName = 'CardContent';\n\n/* -----------------------------------------------------------------------------\n * Component: CardFooter\n * -------------------------------------------------------------------------- */\n\ntype CardFooterElement = HTMLDivElement;\ntype CardFooterProps = HTMLAttributes<HTMLDivElement>;\n\nconst CardFooter = forwardRef<CardFooterElement, CardFooterProps>(\n ({ className, ...props }, forwardedRef) => (\n <div\n ref={forwardedRef}\n className={cn('flex items-center p-6 pt-0', className)}\n {...props}\n />\n ),\n);\n\nCardFooter.displayName = 'CardFooter';\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Card,\n CardContent,\n type CardContentProps,\n CardDescription,\n type CardDescriptionProps,\n CardFooter,\n type CardFooterProps,\n CardHeader,\n type CardHeaderProps,\n type CardProps,\n CardTitle,\n type CardTitleProps,\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/codefast/codefast/packages/ui/dist/chunk-QGXJIDRM.cjs","../src/components/command.tsx"],"names":["className","jsx","CommandPrimitive","forwardedRef","cn","Command","children","Dialog","DialogContent","CommandInput","forwardRef","jsxs","MagnifyingGlassIcon","CommandList","CommandGroup","CommandSeparator","CommandItem","CommandLoading"],"mappings":"AAAA,qFAAY,CAAC,wDAA+C,wDCEnD,mDACA,4BAKP,8BAgBE,+CADC,IAAA,CAAA,CAAA,+BAAAA,CAAW,CAAA,SACZC,CAAAA,CAACC,CAAAA,GACC,CAAA,CAAA,CAAKC,CAAAA,CACL,EAAA,6BAAA,aAAA,CAAA,CAAA,GAAWC,CAAAA,CACT,CAAA,SAAA,CAAA,iCAAA,2FAQRC,CAAQ,CAAA,CAAA,CAAA,GAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAcH,CAAAA,WAAiB,CAAA,aAQvC,CAAA,WACE,CAAA,SAAAI,CACA,CAAA,CAAA,QAEA,CAAA,CAAA,CAAA,GACGC,CAAAA,CAAA,CAAQ,CAAA,OACP,6BAAA,mBAAA,CAAA,CAAA,GAACC,CAAAA,CAAA,QAAc,CAAA,6BAAA,mBAAU,CAAA,CAAA,SACvB,CAAA,KAACH,CAAA,QAAQ,CAAA,6BAAA,CAAU,CAAA,CAAA,SAAA,CAAA,0TAEnB,CACF,QAcAI,CAAAA,CAAeC,CAAAA,CACnB,CAAC,CAAE,CAAA,CAAA,CAAA,IAAA,CAAA,CAAA,+BAAAV,CAAW,CAAA,SACZW,CAAAA,CAAC,CAAA,GAAA,CAAA,CAAA,CACC,CAAA,CAAA,EAAA,8BAAA,KAAU,CAAA,CAAA,SAAA,CAAA,uCACV,CAAA,oBAEA,CA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ages/ui/dist/chunk-QGXJIDRM.cjs","sourcesContent":[null,"'use client';\n\nimport { MagnifyingGlassIcon } from '@radix-ui/react-icons';\nimport { Command as CommandPrimitive } from 'cmdk';\nimport {\n type ComponentProps,\n type ComponentPropsWithoutRef,\n type ComponentRef,\n forwardRef,\n type HTMLAttributes,\n type JSX,\n} from 'react';\nimport { Dialog, DialogContent } from '@/components/dialog';\nimport { cn } from '@/lib/utils';\n\n/* -----------------------------------------------------------------------------\n * Component: Command\n * -------------------------------------------------------------------------- */\n\ntype CommandElement = ComponentRef<typeof CommandPrimitive>;\ntype CommandProps = ComponentPropsWithoutRef<typeof CommandPrimitive>;\n\nconst Command = forwardRef<CommandElement, CommandProps>(\n ({ className, ...props }, forwardedRef) => (\n <CommandPrimitive\n ref={forwardedRef}\n className={cn(\n 'bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md',\n className,\n )}\n {...props}\n />\n ),\n);\n\nCommand.displayName = CommandPrimitive.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: CommandDialog\n * -------------------------------------------------------------------------- */\n\ntype CommandDialogProps = ComponentProps<typeof Dialog>;\n\nfunction CommandDialog({\n children,\n ...props\n}: CommandDialogProps): JSX.Element {\n return (\n <Dialog {...props}>\n <DialogContent className=\"p-0\">\n <Command className=\"[&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:size-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:size-5\">\n {children}\n </Command>\n </DialogContent>\n </Dialog>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: CommandInput\n * -------------------------------------------------------------------------- */\n\ntype CommandInputElement = ComponentRef<typeof CommandPrimitive.Input>;\ntype CommandInputProps = ComponentPropsWithoutRef<\n typeof CommandPrimitive.Input\n>;\n\nconst CommandInput = forwardRef<CommandInputElement, CommandInputProps>(\n ({ className, ...props }, forwardedRef) => (\n <div\n className=\"flex items-center gap-2 border-b px-3\"\n cmdk-input-wrapper=\"\"\n >\n <MagnifyingGlassIcon className=\"size-5 shrink-0 opacity-50\" />\n <CommandPrimitive.Input\n ref={forwardedRef}\n className={cn(\n 'placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent text-sm outline-none disabled:cursor-default disabled:opacity-50',\n className,\n )}\n {...props}\n />\n </div>\n ),\n);\n\nCommandInput.displayName = CommandPrimitive.Input.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: CommandList\n * -------------------------------------------------------------------------- */\n\ntype CommandListElement = ComponentRef<typeof CommandPrimitive.List>;\ntype CommandListProps = ComponentPropsWithoutRef<typeof CommandPrimitive.List>;\n\nconst CommandList = forwardRef<CommandListElement, CommandListProps>(\n ({ className, ...props }, forwardedRef) => (\n <CommandPrimitive.List\n ref={forwardedRef}\n className={cn('max-h-72 overflow-y-auto overflow-x-hidden', className)}\n {...props}\n />\n ),\n);\n\nCommandList.displayName = CommandPrimitive.List.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: CommandEmpty\n * -------------------------------------------------------------------------- */\n\ntype CommandEmptyElement = ComponentRef<typeof CommandPrimitive.Empty>;\ntype CommandEmptyProps = ComponentPropsWithoutRef<\n typeof CommandPrimitive.Empty\n>;\n\nconst CommandEmpty = forwardRef<CommandEmptyElement, CommandEmptyProps>(\n (props, forwardedRef) => (\n <CommandPrimitive.Empty\n ref={forwardedRef}\n className=\"py-6 text-center text-sm\"\n {...props}\n />\n ),\n);\n\nCommandEmpty.displayName = CommandPrimitive.Empty.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: CommandGroup\n * -------------------------------------------------------------------------- */\n\ntype CommandGroupElement = ComponentRef<typeof CommandPrimitive.Group>;\ntype CommandGroupProps = ComponentPropsWithoutRef<\n typeof CommandPrimitive.Group\n>;\n\nconst CommandGroup = forwardRef<CommandGroupElement, CommandGroupProps>(\n ({ className, ...props }, forwardedRef) => (\n <CommandPrimitive.Group\n ref={forwardedRef}\n className={cn(\n 'text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium',\n className,\n )}\n {...props}\n />\n ),\n);\n\nCommandGroup.displayName = CommandPrimitive.Group.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: CommandSeparator\n * -------------------------------------------------------------------------- */\n\ntype CommandSeparatorElement = ComponentRef<typeof CommandPrimitive.Separator>;\ntype CommandSeparatorProps = ComponentPropsWithoutRef<\n typeof CommandPrimitive.Separator\n>;\n\nconst CommandSeparator = forwardRef<\n CommandSeparatorElement,\n CommandSeparatorProps\n>(({ className, ...props }, forwardedRef) => (\n <CommandPrimitive.Separator\n ref={forwardedRef}\n className={cn('bg-border -mx-1 h-px', className)}\n {...props}\n />\n));\n\nCommandSeparator.displayName = CommandPrimitive.Separator.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: CommandItem\n * -------------------------------------------------------------------------- */\n\ntype CommandItemElement = ComponentRef<typeof CommandPrimitive.Item>;\ntype CommandItemProps = ComponentPropsWithoutRef<typeof CommandPrimitive.Item>;\n\nconst CommandItem = forwardRef<CommandItemElement, CommandItemProps>(\n ({ className, ...props }, forwardedRef) => (\n <CommandPrimitive.Item\n ref={forwardedRef}\n className={cn(\n 'gap-x-2 px-3 py-1.5',\n 'relative flex cursor-pointer select-none items-center rounded-sm text-sm',\n 'aria-disabled:pointer-events-none aria-disabled:opacity-50',\n 'aria-selected:bg-accent aria-selected:text-accent-foreground aria-selected:outline-none',\n className,\n )}\n {...props}\n />\n ),\n);\n\nCommandItem.displayName = CommandPrimitive.Item.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: CommandLoading\n * -------------------------------------------------------------------------- */\n\ntype CommandLoadingElement = ComponentRef<typeof CommandPrimitive.Loading>;\ntype CommandLoadingProps = ComponentPropsWithoutRef<\n typeof CommandPrimitive.Loading\n>;\n\nconst CommandLoading = forwardRef<CommandLoadingElement, CommandLoadingProps>(\n ({ className, ...props }, forwardedRef) => (\n <CommandPrimitive.Loading\n ref={forwardedRef}\n className={cn('flex justify-center p-2', className)}\n {...props}\n />\n ),\n);\n\nCommandLoading.displayName = CommandPrimitive.Loading.displayName;\n\n/* -----------------------------------------------------------------------------\n * Component: CommandShortcut\n * -------------------------------------------------------------------------- */\n\ntype CommandShortcutProps = HTMLAttributes<HTMLSpanElement>;\n\nfunction CommandShortcut({\n className,\n ...props\n}: CommandShortcutProps): JSX.Element {\n return (\n <span\n className={cn(\n 'text-muted-foreground ml-auto text-xs tracking-widest',\n className,\n )}\n {...props}\n />\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n Command,\n CommandDialog,\n type CommandDialogProps,\n CommandEmpty,\n type CommandEmptyProps,\n CommandGroup,\n type CommandGroupProps,\n CommandInput,\n type CommandInputProps,\n CommandItem,\n type CommandItemProps,\n CommandList,\n type CommandListProps,\n CommandLoading,\n type CommandLoadingProps,\n type CommandProps,\n CommandSeparator,\n type CommandSeparatorProps,\n CommandShortcut,\n type CommandShortcutProps,\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/data-table.tsx"],"names":["CaretSortIcon","ChevronDownIcon","ChevronLeftIcon","ChevronRightIcon","ChevronUpIcon","DoubleArrowLeftIcon","DoubleArrowRightIcon","EyeNoneIcon","MixerHorizontalIcon","Fragment","jsx","jsxs","DataTableViewOptions","table","DropdownMenu","DropdownMenuTrigger","buttonVariants","DropdownMenuContent","DropdownMenuLabel","DropdownMenuSeparator","column","DropdownMenuCheckboxItem","value","DataTablePagination","className","props","cn","Select","SelectTrigger","SelectValue","SelectContent","pageSize","SelectItem","Button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Ac,EAGxB,QACE,OAAOM,EAACV,EAAA,EAAc,CAC1B,CACF","sourcesContent":["'use client';\n\nimport {\n CaretSortIcon,\n ChevronDownIcon,\n ChevronLeftIcon,\n ChevronRightIcon,\n ChevronUpIcon,\n DoubleArrowLeftIcon,\n DoubleArrowRightIcon,\n EyeNoneIcon,\n MixerHorizontalIcon,\n} from '@radix-ui/react-icons';\nimport { type HTMLAttributes, type JSX } from 'react';\nimport type * as ReactTable from '@tanstack/react-table';\nimport { Button } from '@/components/button';\nimport {\n DropdownMenu,\n DropdownMenuCheckboxItem,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuTrigger,\n} from '@/components/dropdown-menu';\nimport {\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n} from '@/components/select';\nimport { cn } from '@/lib/utils';\nimport { buttonVariants } from '@/styles/button-variants';\n\n/* -----------------------------------------------------------------------------\n * Component: DataTableViewOptions\n * -------------------------------------------------------------------------- */\n\ninterface DataTableViewOptionsProps<TData> {\n table: ReactTable.Table<TData>;\n}\n\nfunction DataTableViewOptions<TData>({\n table,\n}: DataTableViewOptionsProps<TData>): JSX.Element {\n return (\n <DropdownMenu>\n <DropdownMenuTrigger\n className={buttonVariants({ size: 'xs', variant: 'outline' })}\n >\n <MixerHorizontalIcon className=\"size-4\" />\n View\n </DropdownMenuTrigger>\n <DropdownMenuContent align=\"end\" className=\"w-36\">\n <DropdownMenuLabel>Toggle columns</DropdownMenuLabel>\n <DropdownMenuSeparator />\n {table\n .getAllColumns()\n .filter(\n (column) =>\n typeof column.accessorFn !== 'undefined' && column.getCanHide(),\n )\n .map((column) => (\n <DropdownMenuCheckboxItem\n key={column.id}\n checked={column.getIsVisible()}\n className=\"capitalize\"\n onCheckedChange={(value) => {\n column.toggleVisibility(Boolean(value));\n }}\n >\n {column.id}\n </DropdownMenuCheckboxItem>\n ))}\n </DropdownMenuContent>\n </DropdownMenu>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DataTablePagination\n * -------------------------------------------------------------------------- */\n\ninterface DataTablePaginationProps<TData>\n extends HTMLAttributes<HTMLDivElement> {\n table: ReactTable.Table<TData>;\n}\n\nfunction DataTablePagination<TData>({\n table,\n className,\n ...props\n}: DataTablePaginationProps<TData>): JSX.Element {\n return (\n <div\n className={cn(\n 'flex flex-wrap items-center justify-between gap-4 px-2',\n className,\n )}\n {...props}\n >\n <div className=\"text-muted-foreground min-w-max flex-1 text-sm\">\n {table.getFilteredSelectedRowModel().rows.length} of{' '}\n {table.getFilteredRowModel().rows.length} row(s) selected.\n </div>\n\n <div className=\"flex grow flex-wrap items-center justify-between gap-4 md:justify-end md:gap-x-6 lg:gap-x-8\">\n <div className=\"flex flex-wrap items-center gap-x-2 gap-y-4\">\n <p className=\"text-sm font-medium\">Rows per page</p>\n <Select\n value={String(table.getState().pagination.pageSize)}\n onValueChange={(value) => {\n table.setPageSize(Number(value));\n }}\n >\n <SelectTrigger className=\"w-18 h-8\">\n <SelectValue placeholder={table.getState().pagination.pageSize} />\n </SelectTrigger>\n <SelectContent side=\"top\">\n {[10, 20, 30, 40, 50].map((pageSize) => (\n <SelectItem key={pageSize} value={String(pageSize)}>\n {pageSize}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </div>\n <div className=\"flex flex-wrap items-center justify-center text-sm font-medium\">\n Page {table.getState().pagination.pageIndex + 1} of{' '}\n {table.getPageCount()}\n </div>\n <div className=\"flex flex-wrap items-center gap-x-2 gap-y-4\">\n <Button\n icon\n className=\"max-md:hidden\"\n disabled={!table.getCanPreviousPage()}\n size=\"xs\"\n variant=\"outline\"\n onClick={() => {\n table.setPageIndex(0);\n }}\n >\n <span className=\"sr-only\">Go to first page</span>\n <DoubleArrowLeftIcon className=\"size-4\" />\n </Button>\n <Button\n icon\n disabled={!table.getCanPreviousPage()}\n size=\"xs\"\n variant=\"outline\"\n onClick={() => {\n table.previousPage();\n }}\n >\n <span className=\"sr-only\">Go to previous page</span>\n <ChevronLeftIcon className=\"size-4\" />\n </Button>\n <Button\n icon\n disabled={!table.getCanNextPage()}\n size=\"xs\"\n variant=\"outline\"\n onClick={() => {\n table.nextPage();\n }}\n >\n <span className=\"sr-only\">Go to next page</span>\n <ChevronRightIcon className=\"size-4\" />\n </Button>\n <Button\n icon\n className=\"max-md:hidden\"\n disabled={!table.getCanNextPage()}\n size=\"xs\"\n variant=\"outline\"\n onClick={() => {\n table.setPageIndex(table.getPageCount() - 1);\n }}\n >\n <span className=\"sr-only\">Go to last page</span>\n <DoubleArrowRightIcon className=\"size-4\" />\n </Button>\n </div>\n </div>\n </div>\n );\n}\n\n/* -----------------------------------------------------------------------------\n * Component: DataTableColumnHeader\n * -------------------------------------------------------------------------- */\n\ninterface DataTableColumnHeaderProps<TData, TValue> {\n column: ReactTable.Column<TData, TValue>;\n title: string;\n}\n\nfunction DataTableColumnHeader<TData, TValue>({\n column,\n title,\n}: DataTableColumnHeaderProps<TData, TValue>): JSX.Element {\n if (!column.getCanSort()) {\n return <>{title}</>;\n }\n\n return (\n <DropdownMenu>\n <DropdownMenuTrigger asChild>\n <Button\n className={cn(\n 'text-muted-foreground p-0',\n 'hover:bg-transparent',\n 'data-[state=open]:text-accent-foreground',\n 'focus-visible:text-accent-foreground focus-visible:bg-transparent focus-visible:outline-0',\n )}\n size=\"xs\"\n suffix={<SortIcon sorted={column.getIsSorted()} />}\n variant=\"ghost\"\n >\n {title}\n </Button>\n </DropdownMenuTrigger>\n\n <DropdownMenuContent align=\"start\">\n <DropdownMenuItem\n onClick={() => {\n column.toggleSorting(false);\n }}\n >\n <ChevronUpIcon className=\"text-muted-foreground\" />\n Asc\n </DropdownMenuItem>\n <DropdownMenuItem\n onClick={() => {\n column.toggleSorting(true);\n }}\n >\n <ChevronDownIcon className=\"text-muted-foreground\" />\n Desc\n </DropdownMenuItem>\n <DropdownMenuSeparator />\n <DropdownMenuItem\n onClick={() => {\n column.toggleVisibility(false);\n }}\n >\n <EyeNoneIcon className=\"text-muted-foreground\" />\n Hide\n </DropdownMenuItem>\n </DropdownMenuContent>\n </DropdownMenu>\n );\n}\n\nfunction SortIcon({\n sorted,\n}: {\n sorted: false | ReactTable.SortDirection;\n}): JSX.Element {\n switch (sorted) {\n case 'desc': {\n return <ChevronDownIcon />;\n }\n\n case 'asc': {\n return <ChevronUpIcon />;\n }\n\n default:\n return <CaretSortIcon />;\n }\n}\n\n/* -----------------------------------------------------------------------------\n * Exports\n * -------------------------------------------------------------------------- */\n\nexport {\n DataTableColumnHeader,\n type DataTableColumnHeaderProps,\n DataTablePagination,\n type DataTablePaginationProps,\n DataTableViewOptions,\n type DataTableViewOptionsProps,\n};\n"]}
|