@dub/ui 0.1.41 → 0.1.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion.mjs +1 -1
- package/dist/alert.mjs +1 -1
- package/dist/animated-size-container.d.ts +10 -10
- package/dist/animated-size-container.mjs +1 -1
- package/dist/avatar.mjs +1 -1
- package/dist/badge.d.ts +1 -1
- package/dist/badge.mjs +1 -1
- package/dist/blur-image.mjs +1 -1
- package/dist/button.d.ts +2 -1
- package/dist/button.mjs +1 -1
- package/dist/card-list/card-list-card.mjs +1 -1
- package/dist/card-list/card-list-pagination.mjs +1 -1
- package/dist/card-list/card-list.mjs +1 -1
- package/dist/carousel.mjs +1 -1
- package/dist/checkbox.mjs +1 -1
- package/dist/chunk-22VQCXTS.mjs +2 -0
- package/dist/chunk-264722UF.mjs +2 -0
- package/dist/chunk-26UTZ36T.mjs +2 -0
- package/dist/chunk-2AOKBLAO.mjs +2 -0
- package/dist/chunk-2B4ZUEWM.mjs +2 -0
- package/dist/chunk-2DDO5LZJ.mjs +2 -0
- package/dist/chunk-2EFKEMW2.mjs +2 -0
- package/dist/chunk-2EX5FTIX.mjs +2 -0
- package/dist/chunk-2EXAOHUE.mjs +2 -0
- package/dist/chunk-2H5NWO74.mjs +2 -0
- package/dist/chunk-2IBR6G4X.mjs +2 -0
- package/dist/chunk-2JF7LIKK.mjs +2 -0
- package/dist/chunk-2N2OSZGO.mjs +2 -0
- package/dist/chunk-2NQ4YPL4.mjs +2 -0
- package/dist/chunk-2NQWSFJN.mjs +2 -0
- package/dist/chunk-2PGKKBI3.mjs +2 -0
- package/dist/chunk-2Q32RL6S.mjs +2 -0
- package/dist/chunk-2Q3PCZMP.mjs +2 -0
- package/dist/chunk-2QZ75VBU.mjs +2 -0
- package/dist/chunk-2RERHOTA.mjs +2 -0
- package/dist/chunk-2SSV4SNM.mjs +2 -0
- package/dist/chunk-2UNHOJ2S.mjs +2 -0
- package/dist/chunk-2VGBG2Y3.mjs +2 -0
- package/dist/chunk-2ZJZI7GG.mjs +2 -0
- package/dist/chunk-33BN5WQB.mjs +2 -0
- package/dist/chunk-33XREDOX.mjs +2 -0
- package/dist/chunk-3522UCTB.mjs +2 -0
- package/dist/chunk-35NFT3WW.mjs +6 -0
- package/dist/chunk-37AIPO3A.mjs +2 -0
- package/dist/chunk-3AAV6LWB.mjs +2 -0
- package/dist/chunk-3DAEAC76.mjs +2 -0
- package/dist/chunk-3EFTXDLN.mjs +6 -0
- package/dist/chunk-3EZXGJRO.mjs +2 -0
- package/dist/chunk-3GNN3TAS.mjs +2 -0
- package/dist/chunk-3LRCYFHO.mjs +2 -0
- package/dist/chunk-3M5ORLAP.mjs +2 -0
- package/dist/chunk-3NFI44T3.mjs +2 -0
- package/dist/chunk-3PYO3QZ7.mjs +2 -0
- package/dist/chunk-3Q6PJUW7.mjs +6 -0
- package/dist/chunk-3QCQ2QIR.mjs +2 -0
- package/dist/chunk-3QRFF4QU.mjs +2 -0
- package/dist/chunk-3QY3W3M7.mjs +2 -0
- package/dist/chunk-3U6JJNOR.mjs +2 -0
- package/dist/chunk-3UQ5CRFA.mjs +2 -0
- package/dist/chunk-3UQSTAS7.mjs +2 -0
- package/dist/chunk-3WHMW5GD.mjs +2 -0
- package/dist/chunk-3WR7TR3U.mjs +2 -0
- package/dist/chunk-3ZS6NX3B.mjs +2 -0
- package/dist/chunk-42YTXGLO.mjs +2 -0
- package/dist/chunk-47DPLAJJ.mjs +2 -0
- package/dist/chunk-47VYBD5N.mjs +2 -0
- package/dist/chunk-4BAKNAAO.mjs +2 -0
- package/dist/chunk-4BJFIGMU.mjs +2 -0
- package/dist/chunk-4E2CCKCW.mjs +2 -0
- package/dist/chunk-4GKL2J4S.mjs +2 -0
- package/dist/chunk-4HCVFEQK.mjs +2 -0
- package/dist/chunk-4JIDEN3F.mjs +2 -0
- package/dist/chunk-4JKWK36B.mjs +2 -0
- package/dist/chunk-4MEKW67Y.mjs +2 -0
- package/dist/chunk-4MUTC25O.mjs +2 -0
- package/dist/chunk-4NOI657T.mjs +2 -0
- package/dist/chunk-4NXF6PD7.mjs +2 -0
- package/dist/chunk-4QPP6NWA.mjs +2 -0
- package/dist/chunk-4RKU6AB7.mjs +2 -0
- package/dist/chunk-4TIOMP7W.mjs +2 -0
- package/dist/chunk-4U5SMGPH.mjs +2 -0
- package/dist/chunk-4Z4D32TS.mjs +2 -0
- package/dist/chunk-526PIVDQ.mjs +2 -0
- package/dist/chunk-54DQRXYB.mjs +2 -0
- package/dist/chunk-54RQQQ2D.mjs +2 -0
- package/dist/chunk-55BPBT3U.mjs +2 -0
- package/dist/chunk-55R5P5O4.mjs +2 -0
- package/dist/chunk-57JW7ERJ.mjs +2 -0
- package/dist/chunk-5ADBHMDN.mjs +2 -0
- package/dist/chunk-5AEOBPRN.mjs +2 -0
- package/dist/chunk-5ATHOZZU.mjs +2 -0
- package/dist/chunk-5FRWP5RL.mjs +2 -0
- package/dist/chunk-5FYGTA3N.mjs +6 -0
- package/dist/chunk-5GPH4UXJ.mjs +2 -0
- package/dist/chunk-5IGQNAQY.mjs +2 -0
- package/dist/chunk-5IPH3W22.mjs +2 -0
- package/dist/chunk-5MD5EJ3V.mjs +2 -0
- package/dist/chunk-5MV62WYC.mjs +2 -0
- package/dist/chunk-5NADOKXK.mjs +2 -0
- package/dist/chunk-5OR3ABMN.mjs +2 -0
- package/dist/chunk-5QZ6GAP5.mjs +2 -0
- package/dist/chunk-5R7KTHDK.mjs +2 -0
- package/dist/chunk-5RBD37YQ.mjs +2 -0
- package/dist/chunk-5RDHO23D.mjs +2 -0
- package/dist/chunk-5TTRWOBM.mjs +2 -0
- package/dist/chunk-5UBDEJEP.mjs +2 -0
- package/dist/chunk-5ZA7YN3I.mjs +2 -0
- package/dist/chunk-5ZB4RTVJ.mjs +2 -0
- package/dist/chunk-62YSRIBM.mjs +2 -0
- package/dist/chunk-634IKUL7.mjs +2 -0
- package/dist/chunk-67AH7R62.mjs +2 -0
- package/dist/chunk-67WQAZMJ.mjs +2 -0
- package/dist/chunk-6AZ6ZFXO.mjs +2 -0
- package/dist/chunk-6C7NDAYH.mjs +2 -0
- package/dist/chunk-6CUTW667.mjs +2 -0
- package/dist/chunk-6EGGHEJW.mjs +2 -0
- package/dist/chunk-6FCAUAFL.mjs +2 -0
- package/dist/chunk-6IRI3JUL.mjs +2 -0
- package/dist/chunk-6JDZJ7TV.mjs +2 -0
- package/dist/chunk-6JNTHLKR.mjs +2 -0
- package/dist/chunk-6JO6DIFQ.mjs +2 -0
- package/dist/chunk-6KXUFN6J.mjs +2 -0
- package/dist/chunk-6N7VVCEW.mjs +6 -0
- package/dist/chunk-6OFLX6YB.mjs +2 -0
- package/dist/chunk-6OKFVIKA.mjs +2 -0
- package/dist/chunk-6OPHP3SO.mjs +2 -0
- package/dist/chunk-6OVNFHXV.mjs +6 -0
- package/dist/chunk-6PQHHUM3.mjs +2 -0
- package/dist/chunk-6QEHC5HE.mjs +2 -0
- package/dist/chunk-6T634WQ7.mjs +2 -0
- package/dist/chunk-6WWGKXOZ.mjs +2 -0
- package/dist/chunk-6XHDDRO6.mjs +2 -0
- package/dist/chunk-736DQQNI.mjs +2 -0
- package/dist/chunk-75F4AZKD.mjs +2 -0
- package/dist/chunk-762XYVJA.mjs +2 -0
- package/dist/chunk-765P4464.mjs +2 -0
- package/dist/chunk-77GNDRJE.mjs +2 -0
- package/dist/chunk-7BMMDO4M.mjs +6 -0
- package/dist/chunk-7CSHSNAF.mjs +2 -0
- package/dist/chunk-7D3OVY7U.mjs +2 -0
- package/dist/chunk-7DPTCLVR.mjs +2 -0
- package/dist/chunk-7F7I4ICV.mjs +2 -0
- package/dist/chunk-7FYOWXYH.mjs +2 -0
- package/dist/chunk-7HCULZEO.mjs +2 -0
- package/dist/chunk-7JOFCAZW.mjs +2 -0
- package/dist/chunk-7JZQPHKS.mjs +2 -0
- package/dist/chunk-7KGKYEJB.mjs +2 -0
- package/dist/chunk-7QK3NTMP.mjs +2 -0
- package/dist/chunk-7RH7DIX3.mjs +2 -0
- package/dist/chunk-7S2BXPCU.mjs +2 -0
- package/dist/chunk-7TBGFJM2.mjs +2 -0
- package/dist/chunk-7TJAMB4H.mjs +2 -0
- package/dist/chunk-A3CFMSMP.mjs +2 -0
- package/dist/chunk-A4SAPFEG.mjs +2 -0
- package/dist/chunk-A6Y5QMD4.mjs +2 -0
- package/dist/chunk-AA6W6DQK.mjs +2 -0
- package/dist/chunk-AB77OU3N.mjs +2 -0
- package/dist/chunk-ADDTGVHP.mjs +2 -0
- package/dist/chunk-ADG5QSYW.mjs +2 -0
- package/dist/chunk-AH7BP3GW.mjs +2 -0
- package/dist/chunk-AIMMOL25.mjs +2 -0
- package/dist/chunk-AIXWJY6H.mjs +2 -0
- package/dist/chunk-AJSYTKWC.mjs +2 -0
- package/dist/chunk-AJVGGOXE.mjs +2 -0
- package/dist/chunk-AMCG252V.mjs +2 -0
- package/dist/chunk-AN572PRP.mjs +2 -0
- package/dist/chunk-ANKFVFAO.mjs +2 -0
- package/dist/chunk-AOH4GFUX.mjs +2 -0
- package/dist/chunk-APZXG6H5.mjs +2 -0
- package/dist/chunk-AQ34YVMG.mjs +2 -0
- package/dist/chunk-AQB5EGRA.mjs +2 -0
- package/dist/chunk-AW3FK5HD.mjs +2 -0
- package/dist/chunk-AWO6QQWU.mjs +2 -0
- package/dist/chunk-AWUOUW3G.mjs +2 -0
- package/dist/chunk-AWYTUX33.mjs +2 -0
- package/dist/chunk-B2Q6EKPP.mjs +2 -0
- package/dist/chunk-B2QUCGN3.mjs +2 -0
- package/dist/chunk-B3PCCHZ5.mjs +2 -0
- package/dist/chunk-B3TCVH4R.mjs +2 -0
- package/dist/chunk-B7A7Y54A.mjs +2 -0
- package/dist/chunk-B7OCSPUV.mjs +2 -0
- package/dist/chunk-B7UDTK22.mjs +6 -0
- package/dist/chunk-BA6RYOSV.mjs +2 -0
- package/dist/chunk-BA7PDLUS.mjs +2 -0
- package/dist/chunk-BDH523DV.mjs +2 -0
- package/dist/chunk-BF5PBBMZ.mjs +2 -0
- package/dist/chunk-BFCHLS7R.mjs +2 -0
- package/dist/chunk-BFK25NV2.mjs +2 -0
- package/dist/chunk-BGBQP4FA.mjs +2 -0
- package/dist/chunk-BJ6N4565.mjs +2 -0
- package/dist/chunk-BMA23JFE.mjs +2 -0
- package/dist/chunk-BOKMGZWX.mjs +2 -0
- package/dist/chunk-BSB5FSZJ.mjs +2 -0
- package/dist/chunk-BTLCSAUM.mjs +6 -0
- package/dist/chunk-BUSEG7QM.mjs +2 -0
- package/dist/chunk-BW6LPRF4.mjs +2 -0
- package/dist/chunk-BYDDKUS3.mjs +2 -0
- package/dist/chunk-C36LKPZO.mjs +2 -0
- package/dist/chunk-C4QIHV4E.mjs +2 -0
- package/dist/chunk-CAALHQAA.mjs +2 -0
- package/dist/chunk-CAJ4VPYL.mjs +2 -0
- package/dist/chunk-CEOIYF34.mjs +2 -0
- package/dist/chunk-CF5QPZAZ.mjs +2 -0
- package/dist/chunk-CG7C7A4X.mjs +2 -0
- package/dist/chunk-CJ7CR6AX.mjs +2 -0
- package/dist/chunk-CKVST7GQ.mjs +6 -0
- package/dist/chunk-CMCK7JCK.mjs +2 -0
- package/dist/chunk-CNPQGTEH.mjs +2 -0
- package/dist/chunk-CNYCO6OI.mjs +2 -0
- package/dist/chunk-CWVXEZUI.mjs +2 -0
- package/dist/chunk-CZBS56VC.mjs +2 -0
- package/dist/chunk-D373C5O5.mjs +2 -0
- package/dist/chunk-D5ZK7UCM.mjs +2 -0
- package/dist/chunk-D6NC3N7C.mjs +2 -0
- package/dist/chunk-D6ZUZXZ6.mjs +2 -0
- package/dist/chunk-DGDXBKHW.mjs +2 -0
- package/dist/chunk-DI5N2D3J.mjs +2 -0
- package/dist/chunk-DJBX5CUG.mjs +2 -0
- package/dist/chunk-DJV2SUL2.mjs +2 -0
- package/dist/chunk-DLGXSWUZ.mjs +2 -0
- package/dist/chunk-DMWU7YFN.mjs +2 -0
- package/dist/chunk-DONQLQ5Z.mjs +2 -0
- package/dist/chunk-DPRPEEMP.mjs +2 -0
- package/dist/chunk-DQ4K6XOY.mjs +2 -0
- package/dist/chunk-DQKW6CXB.mjs +2 -0
- package/dist/chunk-DRQXIQK2.mjs +2 -0
- package/dist/chunk-DTJX6CJZ.mjs +2 -0
- package/dist/chunk-DTKDAEI5.mjs +2 -0
- package/dist/chunk-DUGPW7JJ.mjs +2 -0
- package/dist/chunk-DZAGEBYT.mjs +2 -0
- package/dist/chunk-E2LDK2R3.mjs +2 -0
- package/dist/chunk-E3AG5CM3.mjs +2 -0
- package/dist/chunk-E3WD2R3L.mjs +2 -0
- package/dist/chunk-E544IR3R.mjs +6 -0
- package/dist/chunk-E74B3LWC.mjs +2 -0
- package/dist/chunk-E7BCR7RT.mjs +2 -0
- package/dist/chunk-EAS5WP3T.mjs +2 -0
- package/dist/chunk-ED4UUUV3.mjs +2 -0
- package/dist/chunk-EDK4AR77.mjs +2 -0
- package/dist/chunk-ELLZHQKS.mjs +2 -0
- package/dist/chunk-EMALUF5M.mjs +2 -0
- package/dist/chunk-EMZK675T.mjs +2 -0
- package/dist/chunk-ETYHTR4R.mjs +2 -0
- package/dist/chunk-EU3GT3UR.mjs +2 -0
- package/dist/chunk-EXHW7CE5.mjs +2 -0
- package/dist/chunk-EYEBGF7B.mjs +2 -0
- package/dist/chunk-EYZXLP7S.mjs +2 -0
- package/dist/chunk-F3UQLBXP.mjs +2 -0
- package/dist/chunk-F3Z6OW6J.mjs +2 -0
- package/dist/chunk-F5JLRBQ5.mjs +2 -0
- package/dist/chunk-F6CZHTT4.mjs +2 -0
- package/dist/chunk-FAZN4FUF.mjs +2 -0
- package/dist/chunk-FD2MVB5I.mjs +2 -0
- package/dist/chunk-FFH6IEVI.mjs +2 -0
- package/dist/chunk-FGPAFCKI.mjs +2 -0
- package/dist/chunk-FII2WPBU.mjs +2 -0
- package/dist/chunk-FKUNUEFV.mjs +2 -0
- package/dist/chunk-FLDES2VR.mjs +2 -0
- package/dist/chunk-FLGOXDBQ.mjs +2 -0
- package/dist/chunk-FLS3N5OD.mjs +2 -0
- package/dist/chunk-FMHWMIS7.mjs +2 -0
- package/dist/chunk-FNA235EX.mjs +2 -0
- package/dist/chunk-FNFAFBSH.mjs +2 -0
- package/dist/chunk-FNFBNFCQ.mjs +2 -0
- package/dist/chunk-FP5767J3.mjs +2 -0
- package/dist/chunk-FP6EDWNF.mjs +2 -0
- package/dist/chunk-FPAFWJLD.mjs +6 -0
- package/dist/chunk-FVFX2NEV.mjs +2 -0
- package/dist/chunk-FWHNTEDY.mjs +2 -0
- package/dist/chunk-FWOARQNA.mjs +2 -0
- package/dist/chunk-FY7RAXWI.mjs +2 -0
- package/dist/chunk-FYKKACAO.mjs +2 -0
- package/dist/chunk-G32A6DHR.mjs +2 -0
- package/dist/chunk-GBCYNTKL.mjs +2 -0
- package/dist/chunk-GC3HGCWP.mjs +2 -0
- package/dist/chunk-GCXRUJG7.mjs +2 -0
- package/dist/chunk-GFAOKHKB.mjs +2 -0
- package/dist/chunk-GFOJYSVE.mjs +2 -0
- package/dist/chunk-GGOJ4SU6.mjs +2 -0
- package/dist/chunk-GHLK7AD2.mjs +2 -0
- package/dist/chunk-GKT5MQAV.mjs +2 -0
- package/dist/chunk-GLBQWX5P.mjs +2 -0
- package/dist/chunk-GLXFEQD7.mjs +2 -0
- package/dist/chunk-GSFPBJSH.mjs +2 -0
- package/dist/chunk-GUXPQOZ2.mjs +6 -0
- package/dist/chunk-GVBIGY6N.mjs +2 -0
- package/dist/chunk-GVLHFKBA.mjs +2 -0
- package/dist/chunk-H2YB6HEF.mjs +2 -0
- package/dist/chunk-H3TQGMOA.mjs +2 -0
- package/dist/chunk-H64YS2RG.mjs +2 -0
- package/dist/chunk-HCJW5H7Y.mjs +2 -0
- package/dist/chunk-HDTPDDFC.mjs +2 -0
- package/dist/chunk-HGIBZZNW.mjs +2 -0
- package/dist/chunk-HHVKTGZH.mjs +2 -0
- package/dist/chunk-HKIWL7OB.mjs +2 -0
- package/dist/chunk-HKZNQ245.mjs +2 -0
- package/dist/chunk-HMQO3TWF.mjs +2 -0
- package/dist/chunk-HNZVJ7AH.mjs +2 -0
- package/dist/chunk-HO6EWDWC.mjs +2 -0
- package/dist/chunk-HPXCEBBQ.mjs +2 -0
- package/dist/chunk-HQPOMDNV.mjs +2 -0
- package/dist/chunk-HTNORLOJ.mjs +2 -0
- package/dist/chunk-HWILOJKM.mjs +2 -0
- package/dist/chunk-HZRK72BB.mjs +2 -0
- package/dist/chunk-HZSNVY3A.mjs +2 -0
- package/dist/chunk-I7IXEJU3.mjs +2 -0
- package/dist/chunk-I7RKLBS3.mjs +2 -0
- package/dist/chunk-ICNX7MR2.mjs +2 -0
- package/dist/chunk-IDPRYBH4.mjs +2 -0
- package/dist/chunk-IGMFMKPE.mjs +2 -0
- package/dist/chunk-IGVPSG6O.mjs +2 -0
- package/dist/chunk-IID4EAFV.mjs +2 -0
- package/dist/chunk-IKXIQ6SP.mjs +2 -0
- package/dist/chunk-ILFLOD7D.mjs +2 -0
- package/dist/chunk-ILKDX3JO.mjs +2 -0
- package/dist/chunk-IN37UVJY.mjs +2 -0
- package/dist/chunk-IQRIPCGQ.mjs +2 -0
- package/dist/chunk-IRG2GZB3.mjs +2 -0
- package/dist/chunk-ISWUUICB.mjs +2 -0
- package/dist/chunk-IT2RXTRT.mjs +2 -0
- package/dist/chunk-IUKR3FR6.mjs +2 -0
- package/dist/chunk-IUSCFHMW.mjs +6 -0
- package/dist/chunk-IYAIQC4O.mjs +2 -0
- package/dist/chunk-IYLAG6AC.mjs +2 -0
- package/dist/chunk-IYLGGDXL.mjs +2 -0
- package/dist/chunk-IZUYCOY2.mjs +2 -0
- package/dist/chunk-J2LGZUAK.mjs +2 -0
- package/dist/chunk-J5CUY4DB.mjs +2 -0
- package/dist/chunk-J6GBIVYL.mjs +2 -0
- package/dist/chunk-J74IKRYE.mjs +2 -0
- package/dist/chunk-JGXGESJD.mjs +2 -0
- package/dist/chunk-JHWSPGWP.mjs +2 -0
- package/dist/chunk-JJIFS5EW.mjs +2 -0
- package/dist/chunk-JJVJLAGU.mjs +2 -0
- package/dist/chunk-JKAH4OIF.mjs +2 -0
- package/dist/chunk-JKZP52MJ.mjs +2 -0
- package/dist/chunk-JL4PJPFE.mjs +2 -0
- package/dist/chunk-JLGAZJPL.mjs +6 -0
- package/dist/chunk-JLQA7YP7.mjs +2 -0
- package/dist/chunk-JMONP47A.mjs +2 -0
- package/dist/chunk-JN5HRNRK.mjs +2 -0
- package/dist/chunk-JO7LAFJB.mjs +2 -0
- package/dist/chunk-JOIKSXBG.mjs +2 -0
- package/dist/chunk-JOX3SX55.mjs +2 -0
- package/dist/chunk-JQMGPZ5D.mjs +2 -0
- package/dist/chunk-JRVYQBS5.mjs +2 -0
- package/dist/chunk-JVBXWLLT.mjs +2 -0
- package/dist/chunk-JXXCJ3CH.mjs +2 -0
- package/dist/chunk-K3SXYZU3.mjs +2 -0
- package/dist/chunk-K4WOYZHT.mjs +2 -0
- package/dist/chunk-K4YGY4VA.mjs +2 -0
- package/dist/chunk-K6U5YHOV.mjs +2 -0
- package/dist/chunk-KCJ6FBVC.mjs +2 -0
- package/dist/chunk-KELLNH2S.mjs +2 -0
- package/dist/chunk-KGLJJFHU.mjs +2 -0
- package/dist/chunk-KGQWA5H2.mjs +2 -0
- package/dist/chunk-KH2COB3G.mjs +2 -0
- package/dist/chunk-KHINVDF2.mjs +2 -0
- package/dist/chunk-KIXHLJSC.mjs +2 -0
- package/dist/chunk-KIYMY25F.mjs +2 -0
- package/dist/chunk-KK67I6MV.mjs +2 -0
- package/dist/chunk-KKHBKCFB.mjs +2 -0
- package/dist/chunk-KLAXO5A7.mjs +2 -0
- package/dist/chunk-KLXTDUPJ.mjs +2 -0
- package/dist/chunk-KM7HFRFI.mjs +2 -0
- package/dist/chunk-KORCUTLA.mjs +2 -0
- package/dist/chunk-KREUVMXB.mjs +2 -0
- package/dist/chunk-KTB74533.mjs +2 -0
- package/dist/chunk-KWEH757D.mjs +6 -0
- package/dist/chunk-KXWDLS4E.mjs +6 -0
- package/dist/chunk-L3CSRV4D.mjs +2 -0
- package/dist/chunk-L3MFQIJD.mjs +2 -0
- package/dist/chunk-L5KCKSED.mjs +2 -0
- package/dist/chunk-L6QVY26B.mjs +6 -0
- package/dist/chunk-L6XDIPBV.mjs +2 -0
- package/dist/chunk-LEZIAPWC.mjs +2 -0
- package/dist/chunk-LKSEPGQF.mjs +2 -0
- package/dist/chunk-LMLXNJXO.mjs +2 -0
- package/dist/chunk-LOZJMHIK.mjs +2 -0
- package/dist/chunk-LTI5RGDT.mjs +2 -0
- package/dist/chunk-LUZTLLOR.mjs +2 -0
- package/dist/chunk-M42FIGRQ.mjs +2 -0
- package/dist/chunk-MA4JVXD5.mjs +2 -0
- package/dist/chunk-MCKIL2UE.mjs +2 -0
- package/dist/chunk-MFQMY2DV.mjs +2 -0
- package/dist/chunk-MM5HT6L3.mjs +2 -0
- package/dist/chunk-MOGLS2NJ.mjs +2 -0
- package/dist/chunk-MPDTWBTP.mjs +2 -0
- package/dist/chunk-MPRFZSVO.mjs +2 -0
- package/dist/chunk-MQDBJI4S.mjs +2 -0
- package/dist/chunk-MR345C2K.mjs +2 -0
- package/dist/chunk-MR7UDMWY.mjs +2 -0
- package/dist/chunk-MSG5IPXZ.mjs +2 -0
- package/dist/chunk-MT6PVRID.mjs +2 -0
- package/dist/chunk-MYDKZMG5.mjs +2 -0
- package/dist/chunk-MZOCVC6D.mjs +2 -0
- package/dist/chunk-N3FEOS5Y.mjs +2 -0
- package/dist/chunk-NAULWZLP.mjs +2 -0
- package/dist/chunk-NBJBDNNY.mjs +2 -0
- package/dist/chunk-NGPOIA5P.mjs +2 -0
- package/dist/chunk-NJLUJ5FM.mjs +2 -0
- package/dist/chunk-NNMNH4MP.mjs +2 -0
- package/dist/chunk-NNXOCO7Z.mjs +2 -0
- package/dist/chunk-NPYJQPBK.mjs +2 -0
- package/dist/chunk-NQAOQ7GA.mjs +2 -0
- package/dist/chunk-NR3C3HE5.mjs +2 -0
- package/dist/chunk-NSBO2SPK.mjs +2 -0
- package/dist/chunk-NTFCLATS.mjs +2 -0
- package/dist/chunk-NTM2YSR6.mjs +2 -0
- package/dist/chunk-NU2IC4R2.mjs +2 -0
- package/dist/chunk-NVXNMWRW.mjs +2 -0
- package/dist/chunk-NWAVR2XY.mjs +2 -0
- package/dist/chunk-NWME2ANF.mjs +2 -0
- package/dist/chunk-NXVJUHWM.mjs +2 -0
- package/dist/chunk-O3AEXXSC.mjs +2 -0
- package/dist/chunk-O3VGC6IM.mjs +2 -0
- package/dist/chunk-O5S6Y2G2.mjs +6 -0
- package/dist/chunk-O6A3T7LO.mjs +2 -0
- package/dist/chunk-O6TMG37D.mjs +2 -0
- package/dist/chunk-O7DVGPGT.mjs +2 -0
- package/dist/chunk-OC2NFXLN.mjs +2 -0
- package/dist/chunk-OD2BF5RD.mjs +2 -0
- package/dist/chunk-ODQ6AYCE.mjs +2 -0
- package/dist/chunk-OEMP2FW5.mjs +2 -0
- package/dist/chunk-OFGDIBN6.mjs +2 -0
- package/dist/chunk-OFJDYMBR.mjs +2 -0
- package/dist/chunk-OGM5BTJS.mjs +6 -0
- package/dist/chunk-OHE43DAN.mjs +2 -0
- package/dist/chunk-OHQVHCYV.mjs +2 -0
- package/dist/chunk-OI5ZFAJJ.mjs +2 -0
- package/dist/chunk-OJ2KLUY7.mjs +2 -0
- package/dist/chunk-OKCPAQCJ.mjs +2 -0
- package/dist/chunk-OMHZKOLE.mjs +2 -0
- package/dist/chunk-OO6BOTVE.mjs +2 -0
- package/dist/chunk-OODZPBWL.mjs +2 -0
- package/dist/chunk-OP562WRF.mjs +2 -0
- package/dist/chunk-OU5736LJ.mjs +2 -0
- package/dist/chunk-OWTXICDP.mjs +2 -0
- package/dist/chunk-OYBMAYMO.mjs +2 -0
- package/dist/chunk-OYLNAFAA.mjs +2 -0
- package/dist/chunk-OYP3W54L.mjs +2 -0
- package/dist/chunk-OZA34ELD.mjs +2 -0
- package/dist/chunk-P3S6BYAW.mjs +2 -0
- package/dist/chunk-P4GLDNAI.mjs +2 -0
- package/dist/chunk-P75VJXTG.mjs +2 -0
- package/dist/chunk-P7VTQ3OI.mjs +2 -0
- package/dist/chunk-PBLS5K4K.mjs +2 -0
- package/dist/chunk-PC3JVDB5.mjs +6 -0
- package/dist/chunk-PCQUU5AC.mjs +2 -0
- package/dist/chunk-PFO2MRYH.mjs +2 -0
- package/dist/chunk-PLTJLX5M.mjs +2 -0
- package/dist/chunk-PMN72HSN.mjs +2 -0
- package/dist/chunk-PNE5L62P.mjs +2 -0
- package/dist/chunk-PRGA72PV.mjs +2 -0
- package/dist/chunk-PS2M7HLW.mjs +2 -0
- package/dist/chunk-PUBVZVSP.mjs +2 -0
- package/dist/chunk-PY6JBIF3.mjs +2 -0
- package/dist/chunk-Q25KTZNC.mjs +2 -0
- package/dist/chunk-Q65FWVKT.mjs +2 -0
- package/dist/chunk-Q6VPWVF3.mjs +2 -0
- package/dist/chunk-QAIZQZ7Z.mjs +2 -0
- package/dist/chunk-QC4EK4SD.mjs +2 -0
- package/dist/chunk-QCBZMRIG.mjs +2 -0
- package/dist/chunk-QCMDYF3Z.mjs +2 -0
- package/dist/chunk-QCRARGWU.mjs +2 -0
- package/dist/chunk-QGFQJBUV.mjs +2 -0
- package/dist/chunk-QMDEODYC.mjs +2 -0
- package/dist/chunk-QPROT4FZ.mjs +2 -0
- package/dist/chunk-QPXFUVCJ.mjs +2 -0
- package/dist/chunk-QQS5M4G4.mjs +2 -0
- package/dist/chunk-QRKVLPMK.mjs +2 -0
- package/dist/chunk-QSMIB34W.mjs +2 -0
- package/dist/chunk-QVKG6U5H.mjs +2 -0
- package/dist/chunk-QWT7DUOV.mjs +2 -0
- package/dist/chunk-QXAORW26.mjs +2 -0
- package/dist/chunk-QZ6LSKFX.mjs +2 -0
- package/dist/chunk-QZXOBUJL.mjs +2 -0
- package/dist/chunk-R3XT7KVY.mjs +2 -0
- package/dist/chunk-R6AVHMVZ.mjs +2 -0
- package/dist/chunk-R7N3CF4X.mjs +2 -0
- package/dist/chunk-R7SDJISV.mjs +2 -0
- package/dist/chunk-RACAQ3EU.mjs +2 -0
- package/dist/chunk-RBU6NXO7.mjs +2 -0
- package/dist/chunk-RDTDBK2K.mjs +2 -0
- package/dist/chunk-RE3LWJBM.mjs +2 -0
- package/dist/chunk-RESSZTHZ.mjs +2 -0
- package/dist/chunk-RFKBTO6X.mjs +2 -0
- package/dist/chunk-RHWJ44UI.mjs +2 -0
- package/dist/chunk-RJDRCW3C.mjs +2 -0
- package/dist/chunk-RJSRCX6A.mjs +2 -0
- package/dist/chunk-RLPLHQ7H.mjs +2 -0
- package/dist/chunk-RLTJI4XG.mjs +2 -0
- package/dist/chunk-RM4ON2Q2.mjs +2 -0
- package/dist/chunk-RPVXDGUB.mjs +2 -0
- package/dist/chunk-RSJHTQ7X.mjs +2 -0
- package/dist/chunk-RT5IRUFY.mjs +2 -0
- package/dist/chunk-RTOELANM.mjs +2 -0
- package/dist/chunk-RTRX3R2A.mjs +2 -0
- package/dist/chunk-RUJ4XFW2.mjs +2 -0
- package/dist/chunk-RUUBXFWP.mjs +6 -0
- package/dist/chunk-RXIUX3N3.mjs +2 -0
- package/dist/chunk-S2XJQ3TD.mjs +2 -0
- package/dist/chunk-S33TJ42N.mjs +2 -0
- package/dist/chunk-S55DHSLA.mjs +2 -0
- package/dist/chunk-S63FQWHD.mjs +2 -0
- package/dist/chunk-S6UXLFVF.mjs +2 -0
- package/dist/chunk-S7344DEQ.mjs +2 -0
- package/dist/chunk-S75I5JRK.mjs +2 -0
- package/dist/chunk-SAW4PI4Q.mjs +2 -0
- package/dist/chunk-SBJZ3S4Y.mjs +2 -0
- package/dist/chunk-SCQKC6FA.mjs +2 -0
- package/dist/chunk-SF266UKH.mjs +2 -0
- package/dist/chunk-SGPH7Q3E.mjs +2 -0
- package/dist/chunk-SHU2ZVVT.mjs +2 -0
- package/dist/chunk-SJL2ZCWX.mjs +2 -0
- package/dist/chunk-SKRVSN3O.mjs +2 -0
- package/dist/chunk-SLW7IMYA.mjs +2 -0
- package/dist/chunk-SNUC2CWI.mjs +2 -0
- package/dist/chunk-SO22ZBRR.mjs +2 -0
- package/dist/chunk-SUU6EDFK.mjs +2 -0
- package/dist/chunk-SYTSLVMT.mjs +2 -0
- package/dist/chunk-T4LJAWKD.mjs +2 -0
- package/dist/chunk-T5QH2JB4.mjs +2 -0
- package/dist/chunk-T6GXW64W.mjs +2 -0
- package/dist/chunk-T76PPZR5.mjs +2 -0
- package/dist/chunk-TBWBXKPG.mjs +2 -0
- package/dist/chunk-TCB2ACKR.mjs +2 -0
- package/dist/chunk-TEYVSTDR.mjs +2 -0
- package/dist/chunk-TL3MXGZ5.mjs +2 -0
- package/dist/chunk-TMFXOLAX.mjs +2 -0
- package/dist/chunk-TNVL6MR4.mjs +2 -0
- package/dist/chunk-TO64D3MI.mjs +6 -0
- package/dist/chunk-TOTRIHMY.mjs +2 -0
- package/dist/chunk-TPINN7A2.mjs +2 -0
- package/dist/chunk-TTXLDECL.mjs +2 -0
- package/dist/chunk-TVNW6C42.mjs +2 -0
- package/dist/chunk-TVWJKZ3K.mjs +2 -0
- package/dist/chunk-U2QEE6OP.mjs +2 -0
- package/dist/chunk-U3CSISGV.mjs +2 -0
- package/dist/chunk-U3QA7OPP.mjs +2 -0
- package/dist/chunk-UASSJWIP.mjs +2 -0
- package/dist/chunk-UI4BOUPN.mjs +2 -0
- package/dist/chunk-UI55DKLJ.mjs +2 -0
- package/dist/chunk-UIHASSMK.mjs +6 -0
- package/dist/chunk-UMHUM7NH.mjs +2 -0
- package/dist/chunk-UOTSA3KI.mjs +2 -0
- package/dist/chunk-UQJXI4XZ.mjs +2 -0
- package/dist/chunk-USJY5XEY.mjs +2 -0
- package/dist/chunk-UTQCXP7L.mjs +2 -0
- package/dist/chunk-UTRZIJPI.mjs +2 -0
- package/dist/chunk-UTVCC2XE.mjs +2 -0
- package/dist/chunk-UU4H4HG6.mjs +2 -0
- package/dist/chunk-UUGZVXNM.mjs +2 -0
- package/dist/chunk-UUZ6Z64K.mjs +2 -0
- package/dist/chunk-UVTR5K3N.mjs +2 -0
- package/dist/chunk-UZRU4L52.mjs +2 -0
- package/dist/chunk-V2MQB5JD.mjs +2 -0
- package/dist/chunk-V3YM4JPY.mjs +2 -0
- package/dist/chunk-V4TM7NZN.mjs +2 -0
- package/dist/chunk-V6QPYAQ3.mjs +6 -0
- package/dist/chunk-V6XCRMO5.mjs +2 -0
- package/dist/chunk-VD4L2BYQ.mjs +2 -0
- package/dist/chunk-VEP4FY3Z.mjs +6 -0
- package/dist/chunk-VFGW7MQO.mjs +2 -0
- package/dist/chunk-VGVABUHL.mjs +2 -0
- package/dist/chunk-VHJB3C2A.mjs +2 -0
- package/dist/chunk-VHMMATV6.mjs +2 -0
- package/dist/chunk-VIR6HKIZ.mjs +2 -0
- package/dist/chunk-VJEEBWOD.mjs +2 -0
- package/dist/chunk-VOXXQIVW.mjs +2 -0
- package/dist/chunk-VQFORFGG.mjs +2 -0
- package/dist/chunk-VRNDQH4E.mjs +2 -0
- package/dist/chunk-VSAA26UQ.mjs +2 -0
- package/dist/chunk-VU7DI3BB.mjs +2 -0
- package/dist/chunk-W3JO3HIU.mjs +2 -0
- package/dist/chunk-W4GZO3I3.mjs +2 -0
- package/dist/chunk-W4JJYMMJ.mjs +2 -0
- package/dist/chunk-W5F74SN3.mjs +2 -0
- package/dist/chunk-WD77FFEH.mjs +2 -0
- package/dist/chunk-WHJZ5S6U.mjs +2 -0
- package/dist/chunk-WJIYF5YJ.mjs +2 -0
- package/dist/chunk-WJPMJZCT.mjs +2 -0
- package/dist/chunk-WKUW6LRO.mjs +2 -0
- package/dist/chunk-WLNXSVIY.mjs +2 -0
- package/dist/chunk-WP57K75X.mjs +2 -0
- package/dist/chunk-WUOZBCY3.mjs +2 -0
- package/dist/chunk-WWAEYN7A.mjs +2 -0
- package/dist/chunk-WWWMAXC6.mjs +6 -0
- package/dist/chunk-X2R6FQTU.mjs +2 -0
- package/dist/chunk-X5LADDC5.mjs +2 -0
- package/dist/chunk-XBDDEHZV.mjs +2 -0
- package/dist/chunk-XCQFKOUW.mjs +2 -0
- package/dist/chunk-XDJJGVZH.mjs +2 -0
- package/dist/chunk-XDZ5GOJM.mjs +2 -0
- package/dist/chunk-XFRXYT37.mjs +2 -0
- package/dist/chunk-XICGVU2Q.mjs +2 -0
- package/dist/chunk-XIDLDMFJ.mjs +2 -0
- package/dist/chunk-XIKEHRSG.mjs +2 -0
- package/dist/chunk-XIZBEX5H.mjs +6 -0
- package/dist/chunk-XKCQY76C.mjs +2 -0
- package/dist/chunk-XLHG56LG.mjs +2 -0
- package/dist/chunk-XLJVXBER.mjs +6 -0
- package/dist/chunk-XLT3BVTL.mjs +2 -0
- package/dist/chunk-XS4LZ7KN.mjs +2 -0
- package/dist/chunk-XSMUOSJZ.mjs +2 -0
- package/dist/chunk-XTWQJCTQ.mjs +2 -0
- package/dist/chunk-Y6BD6KP7.mjs +2 -0
- package/dist/chunk-Y6SETBKJ.mjs +2 -0
- package/dist/chunk-Y7YBQADB.mjs +2 -0
- package/dist/chunk-YBQXODOV.mjs +2 -0
- package/dist/chunk-YCITSFC5.mjs +2 -0
- package/dist/chunk-YDBM27OT.mjs +2 -0
- package/dist/chunk-YDEWWJVS.mjs +2 -0
- package/dist/chunk-YIANSNHQ.mjs +2 -0
- package/dist/chunk-YIHMUCJN.mjs +2 -0
- package/dist/chunk-YJ3KSGLP.mjs +2 -0
- package/dist/chunk-YJ62PUGZ.mjs +2 -0
- package/dist/chunk-YMOC7NRA.mjs +2 -0
- package/dist/chunk-YOJCOGGD.mjs +2 -0
- package/dist/chunk-YOXM4DDQ.mjs +2 -0
- package/dist/chunk-YVLBXTXS.mjs +2 -0
- package/dist/chunk-YWHBE66D.mjs +6 -0
- package/dist/chunk-YWJYEACQ.mjs +2 -0
- package/dist/chunk-YYMQBKKP.mjs +2 -0
- package/dist/chunk-Z3VMMXPS.mjs +2 -0
- package/dist/chunk-Z5DWLFNI.mjs +2 -0
- package/dist/chunk-Z5HKED4B.mjs +2 -0
- package/dist/chunk-ZAPNIRBA.mjs +2 -0
- package/dist/chunk-ZAWPNOMW.mjs +2 -0
- package/dist/chunk-ZC4HZ3JB.mjs +2 -0
- package/dist/chunk-ZES3KZDG.mjs +2 -0
- package/dist/chunk-ZJZGBIE4.mjs +2 -0
- package/dist/chunk-ZKNHEWJL.mjs +2 -0
- package/dist/chunk-ZMHQ4Z7Z.mjs +2 -0
- package/dist/chunk-ZNBT6SIF.mjs +2 -0
- package/dist/chunk-ZQINFHS2.mjs +2 -0
- package/dist/chunk-ZYRIHQVL.mjs +2 -0
- package/dist/chunk-ZZTMYUBR.mjs +2 -0
- package/dist/client-only.d.ts +2 -1
- package/dist/client-only.mjs +1 -1
- package/dist/composite-logo.mjs +1 -1
- package/dist/copy-button.mjs +1 -1
- package/dist/counting-numbers.mjs +1 -1
- package/dist/date-picker/calendar.mjs +1 -1
- package/dist/date-picker/date-range-picker.d.ts +1 -1
- package/dist/date-picker/date-range-picker.mjs +1 -1
- package/dist/date-picker/presets.d.ts +1 -1
- package/dist/date-picker/presets.mjs +1 -1
- package/dist/date-picker/trigger.mjs +1 -1
- package/dist/file-upload.d.ts +2 -1
- package/dist/file-upload.mjs +1 -1
- package/dist/filter/filter-list.mjs +1 -1
- package/dist/filter/filter-select.mjs +1 -1
- package/dist/footer.mjs +1 -1
- package/dist/form.mjs +1 -1
- package/dist/hooks/use-keyboard-shortcut.mjs +1 -1
- package/dist/icons/continents/index.mjs +1 -1
- package/dist/icons/default-domains/amazon.mjs +1 -1
- package/dist/icons/default-domains/chatgpt.mjs +1 -1
- package/dist/icons/default-domains/figma.mjs +1 -1
- package/dist/icons/default-domains/github-enhanced.mjs +1 -1
- package/dist/icons/default-domains/google-enhanced.mjs +1 -1
- package/dist/icons/default-domains/spotify.mjs +1 -1
- package/dist/icons/expanding-arrow.mjs +1 -1
- package/dist/icons/index.d.ts +4 -0
- package/dist/icons/index.mjs +1 -1
- package/dist/icons/linkedin.mjs +1 -1
- package/dist/icons/loading-circle.mjs +1 -1
- package/dist/icons/loading-spinner.mjs +1 -1
- package/dist/icons/nucleo/connected-dots.d.ts +6 -0
- package/dist/icons/nucleo/connected-dots.mjs +2 -0
- package/dist/icons/nucleo/cube-settings.d.ts +6 -0
- package/dist/icons/nucleo/cube-settings.mjs +2 -0
- package/dist/icons/nucleo/xmark.d.ts +6 -0
- package/dist/icons/nucleo/xmark.mjs +2 -0
- package/dist/icons/sort-order.mjs +1 -1
- package/dist/icons/twitter.mjs +1 -1
- package/dist/icons/youtube.mjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.mjs +1 -1
- package/dist/input-select.mjs +1 -1
- package/dist/input.mjs +1 -1
- package/dist/label.mjs +1 -1
- package/dist/link-logo.mjs +1 -1
- package/dist/link-preview.mjs +1 -1
- package/dist/logo.mjs +1 -1
- package/dist/max-width-wrapper.mjs +1 -1
- package/dist/modal.mjs +1 -1
- package/dist/nav/content/product-content.mjs +1 -1
- package/dist/nav/content/resources-content.mjs +1 -1
- package/dist/nav/content/shared.mjs +1 -1
- package/dist/nav/content/solutions-content.mjs +1 -1
- package/dist/nav/nav-mobile.mjs +1 -1
- package/dist/nav/nav.mjs +1 -1
- package/dist/nav-logo.mjs +1 -1
- package/dist/popover.mjs +1 -1
- package/dist/popup.mjs +1 -1
- package/dist/progress-bar.mjs +1 -1
- package/dist/radio-group.mjs +1 -1
- package/dist/status-badge.d.ts +4 -0
- package/dist/status-badge.mjs +1 -1
- package/dist/switch.mjs +1 -1
- package/dist/tab-select.mjs +1 -1
- package/dist/table/table.mjs +1 -1
- package/dist/toggle-group.mjs +1 -1
- package/dist/tooltip.d.ts +1 -1
- package/dist/tooltip.mjs +1 -1
- package/dist/types-2682e9e8.d.ts +49 -0
- package/dist/types-a866e01c.d.ts +49 -0
- package/dist/wordmark.mjs +1 -1
- package/package.json +4 -1
package/dist/accordion.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b,c,d}from"./chunk-
|
|
2
|
+
import{a,b,c,d}from"./chunk-4BJFIGMU.mjs";import"./chunk-DGDXBKHW.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Accordion,d as AccordionContent,b as AccordionItem,c as AccordionTrigger};
|
package/dist/alert.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b,c}from"./chunk-
|
|
2
|
+
import{a,b,c}from"./chunk-ZAPNIRBA.mjs";import"./chunk-DGDXBKHW.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Alert,c as AlertDescription,b as AlertTitle};
|
|
@@ -10,21 +10,21 @@ declare const AnimatedSizeContainer: react.ForwardRefExoticComponent<{
|
|
|
10
10
|
} & {
|
|
11
11
|
children?: react.ReactNode;
|
|
12
12
|
} & Omit<Omit<{
|
|
13
|
-
className?: string | undefined;
|
|
14
|
-
id?: string | undefined;
|
|
15
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
16
|
-
slot?: string | undefined;
|
|
17
13
|
title?: string | undefined;
|
|
14
|
+
slot?: string | undefined;
|
|
18
15
|
defaultChecked?: boolean | undefined;
|
|
19
16
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
20
17
|
suppressContentEditableWarning?: boolean | undefined;
|
|
21
18
|
suppressHydrationWarning?: boolean | undefined;
|
|
22
19
|
accessKey?: string | undefined;
|
|
23
20
|
autoFocus?: boolean | undefined;
|
|
24
|
-
|
|
21
|
+
className?: string | undefined;
|
|
22
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
25
23
|
contextMenu?: string | undefined;
|
|
26
24
|
dir?: string | undefined;
|
|
25
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
27
26
|
hidden?: boolean | undefined;
|
|
27
|
+
id?: string | undefined;
|
|
28
28
|
lang?: string | undefined;
|
|
29
29
|
nonce?: string | undefined;
|
|
30
30
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
@@ -55,7 +55,7 @@ declare const AnimatedSizeContainer: react.ForwardRefExoticComponent<{
|
|
|
55
55
|
results?: number | undefined;
|
|
56
56
|
security?: string | undefined;
|
|
57
57
|
unselectable?: "on" | "off" | undefined;
|
|
58
|
-
inputMode?: "
|
|
58
|
+
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
59
59
|
is?: string | undefined;
|
|
60
60
|
tw?: string | undefined;
|
|
61
61
|
"aria-activedescendant"?: string | undefined;
|
|
@@ -70,17 +70,17 @@ declare const AnimatedSizeContainer: react.ForwardRefExoticComponent<{
|
|
|
70
70
|
"aria-colindextext"?: string | undefined;
|
|
71
71
|
"aria-colspan"?: number | undefined;
|
|
72
72
|
"aria-controls"?: string | undefined;
|
|
73
|
-
"aria-current"?: boolean | "
|
|
73
|
+
"aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
74
74
|
"aria-describedby"?: string | undefined;
|
|
75
75
|
"aria-description"?: string | undefined;
|
|
76
76
|
"aria-details"?: string | undefined;
|
|
77
77
|
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
78
|
-
"aria-dropeffect"?: "link" | "none" | "copy" | "
|
|
78
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
|
79
79
|
"aria-errormessage"?: string | undefined;
|
|
80
80
|
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
81
81
|
"aria-flowto"?: string | undefined;
|
|
82
82
|
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
83
|
-
"aria-haspopup"?: boolean | "
|
|
83
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
84
84
|
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
85
85
|
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
86
86
|
"aria-keyshortcuts"?: string | undefined;
|
|
@@ -97,7 +97,7 @@ declare const AnimatedSizeContainer: react.ForwardRefExoticComponent<{
|
|
|
97
97
|
"aria-posinset"?: number | undefined;
|
|
98
98
|
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
99
99
|
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
100
|
-
"aria-relevant"?: "text" | "
|
|
100
|
+
"aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
101
101
|
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
102
102
|
"aria-roledescription"?: string | undefined;
|
|
103
103
|
"aria-rowcount"?: number | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{
|
|
2
|
+
import{a}from"./chunk-J2LGZUAK.mjs";import"./chunk-7TBGFJM2.mjs";import"./chunk-DGDXBKHW.mjs";import"./chunk-AUBFB4SI.mjs";export{a as AnimatedSizeContainer};
|
package/dist/avatar.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b}from"./chunk-
|
|
2
|
+
import{a,b}from"./chunk-ZMHQ4Z7Z.mjs";import"./chunk-DGDXBKHW.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Avatar,b as TokenAvatar};
|
package/dist/badge.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as class_variance_authority_dist_types from 'class-variance-authority/d
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
|
|
5
5
|
declare const badgeVariants: (props?: ({
|
|
6
|
-
variant?: "
|
|
6
|
+
variant?: "black" | "blue" | "gray" | "violet" | "default" | "sky" | "neutral" | "rainbow" | null | undefined;
|
|
7
7
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
8
8
|
interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
|
|
9
9
|
}
|
package/dist/badge.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b}from"./chunk-
|
|
2
|
+
import{a,b}from"./chunk-6T634WQ7.mjs";import"./chunk-DGDXBKHW.mjs";import"./chunk-AUBFB4SI.mjs";export{b as Badge,a as badgeVariants};
|
package/dist/blur-image.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a}from"./chunk-
|
|
2
|
+
import{a}from"./chunk-WWAEYN7A.mjs";import"./chunk-DGDXBKHW.mjs";import"./chunk-AUBFB4SI.mjs";export{a as BlurImage};
|
package/dist/button.d.ts
CHANGED
|
@@ -4,10 +4,11 @@ import * as class_variance_authority_dist_types from 'class-variance-authority/d
|
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
6
|
declare const buttonVariants: (props?: ({
|
|
7
|
-
variant?: "
|
|
7
|
+
variant?: "outline" | "success" | "primary" | "secondary" | "danger" | "danger-outline" | null | undefined;
|
|
8
8
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
9
9
|
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
10
10
|
text?: ReactNode | string;
|
|
11
|
+
textWrapperClassName?: string;
|
|
11
12
|
loading?: boolean;
|
|
12
13
|
icon?: ReactNode;
|
|
13
14
|
shortcut?: string;
|
package/dist/button.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b}from"./chunk-
|
|
2
|
+
import{a,b}from"./chunk-JMONP47A.mjs";import"./chunk-2EXAOHUE.mjs";import"./chunk-ZFPCRWL4.mjs";import"./chunk-6HFOWUNK.mjs";import"./chunk-6JPO26GL.mjs";import"./chunk-FW3IXMVC.mjs";import"./chunk-TMFXOLAX.mjs";import"./chunk-42Y3WP6A.mjs";import"./chunk-PFE7XPKG.mjs";import"./chunk-BOPNDXYJ.mjs";import"./chunk-XCO6TYE2.mjs";import"./chunk-H2RARDXL.mjs";import"./chunk-IQZRESCY.mjs";import"./chunk-32C65ISH.mjs";import"./chunk-REMU6JDP.mjs";import"./chunk-HBXAUCXR.mjs";import"./chunk-IOYSFSEC.mjs";import"./chunk-C27HVKJD.mjs";import"./chunk-WB4ATGR6.mjs";import"./chunk-RB2WIZ7A.mjs";import"./chunk-ODZV737U.mjs";import"./chunk-JFSNPBO7.mjs";import"./chunk-XCEWXSTL.mjs";import"./chunk-VX7JFYOR.mjs";import"./chunk-XVZSZKJJ.mjs";import"./chunk-CZSSD6PV.mjs";import"./chunk-U4QIRPVU.mjs";import"./chunk-D7SRRREC.mjs";import"./chunk-VETEWFVX.mjs";import"./chunk-LFGWL3ID.mjs";import"./chunk-TDNQCEQH.mjs";import"./chunk-BOCPUR5Z.mjs";import"./chunk-SBK5CRMY.mjs";import"./chunk-4QV6SMAW.mjs";import"./chunk-LGBCPCZI.mjs";import"./chunk-RVNLURMM.mjs";import"./chunk-DDH3RGOS.mjs";import"./chunk-O2Q5X4BD.mjs";import"./chunk-SZYWGXLX.mjs";import"./chunk-R27OFGXD.mjs";import"./chunk-3W34NPBH.mjs";import"./chunk-GM7MJ5YV.mjs";import"./chunk-FGMEH6RM.mjs";import"./chunk-DJJD7VHE.mjs";import"./chunk-QC6GZ7KR.mjs";import"./chunk-PXGRN26D.mjs";import"./chunk-JBURS7BX.mjs";import"./chunk-YIQYPU22.mjs";import"./chunk-OUWJF64C.mjs";import"./chunk-PT4MR4NI.mjs";import"./chunk-BPQSDPGU.mjs";import"./chunk-PGPTYK4W.mjs";import"./chunk-7NSJS37T.mjs";import"./chunk-QZR75WPQ.mjs";import"./chunk-RAPTAKTT.mjs";import"./chunk-WDAMFRJJ.mjs";import"./chunk-ZHXYP44Q.mjs";import"./chunk-2AVTXLJA.mjs";import"./chunk-DWACNU5E.mjs";import"./chunk-VHJB3C2A.mjs";import"./chunk-KM4WRZJP.mjs";import"./chunk-7JOFCAZW.mjs";import"./chunk-YA7GX4GF.mjs";import"./chunk-PI7GNHXR.mjs";import"./chunk-HYPLE4VW.mjs";import"./chunk-EARKUZEZ.mjs";import"./chunk-3KFNNXJ6.mjs";import"./chunk-LPV7TLRR.mjs";import"./chunk-GV2NLM3E.mjs";import"./chunk-IGIB6XZB.mjs";import"./chunk-GYE7FFDN.mjs";import"./chunk-V3YM4JPY.mjs";import"./chunk-X6BT5NYY.mjs";import"./chunk-36GFRX4D.mjs";import"./chunk-O5ED4ULH.mjs";import"./chunk-V7RF4LCH.mjs";import"./chunk-KDNSFAET.mjs";import"./chunk-3YI5TNDO.mjs";import"./chunk-2W2M7KTU.mjs";import"./chunk-CF5QPZAZ.mjs";import"./chunk-YYMQBKKP.mjs";import"./chunk-DTKDAEI5.mjs";import"./chunk-6JDZJ7TV.mjs";import"./chunk-FLDES2VR.mjs";import"./chunk-INQSSLYX.mjs";import"./chunk-IODGUY4G.mjs";import"./chunk-KCK3HMV3.mjs";import"./chunk-URNITXJC.mjs";import"./chunk-KUT7JPA7.mjs";import"./chunk-EX6WLDZE.mjs";import"./chunk-2COCR43F.mjs";import"./chunk-EHYVEIOL.mjs";import"./chunk-DMUERTF2.mjs";import"./chunk-RDTDBK2K.mjs";import"./chunk-PDSUXFDU.mjs";import"./chunk-E6VJQMTO.mjs";import"./chunk-HTNORLOJ.mjs";import"./chunk-2TGXECZQ.mjs";import"./chunk-NPWONPKN.mjs";import"./chunk-ZOMZCD5I.mjs";import"./chunk-KYMBX7DZ.mjs";import"./chunk-2LBJI2KO.mjs";import"./chunk-TNAH7N5Q.mjs";import"./chunk-KM7HFRFI.mjs";import"./chunk-ZJICX3BL.mjs";import"./chunk-HJMQR6M2.mjs";import"./chunk-RACAQ3EU.mjs";import"./chunk-3QY3W3M7.mjs";import"./chunk-CUYZMDRN.mjs";import"./chunk-YIANSNHQ.mjs";import"./chunk-YURUGH4S.mjs";import"./chunk-XSZV33MB.mjs";import"./chunk-BKZ6TNZC.mjs";import"./chunk-C4QIHV4E.mjs";import"./chunk-MURAUI3W.mjs";import"./chunk-ALEYOCBW.mjs";import"./chunk-6T634WQ7.mjs";import"./chunk-DGDXBKHW.mjs";import"./chunk-AUBFB4SI.mjs";export{b as Button,a as buttonVariants};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b}from"../chunk-
|
|
2
|
+
import{a,b}from"../chunk-TPINN7A2.mjs";import"../chunk-V4TM7NZN.mjs";import"../chunk-DGDXBKHW.mjs";import"../chunk-AUBFB4SI.mjs";export{a as CardContext,b as CardListCard};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a}from"../chunk-
|
|
2
|
+
import{a}from"../chunk-OMHZKOLE.mjs";import"../chunk-JMONP47A.mjs";import"../chunk-2EXAOHUE.mjs";import"../chunk-ZFPCRWL4.mjs";import"../chunk-6HFOWUNK.mjs";import"../chunk-6JPO26GL.mjs";import"../chunk-FW3IXMVC.mjs";import"../chunk-TMFXOLAX.mjs";import"../chunk-42Y3WP6A.mjs";import"../chunk-PFE7XPKG.mjs";import"../chunk-BOPNDXYJ.mjs";import"../chunk-XCO6TYE2.mjs";import"../chunk-H2RARDXL.mjs";import"../chunk-IQZRESCY.mjs";import"../chunk-32C65ISH.mjs";import"../chunk-REMU6JDP.mjs";import"../chunk-HBXAUCXR.mjs";import"../chunk-IOYSFSEC.mjs";import"../chunk-C27HVKJD.mjs";import"../chunk-WB4ATGR6.mjs";import"../chunk-RB2WIZ7A.mjs";import"../chunk-ODZV737U.mjs";import"../chunk-JFSNPBO7.mjs";import"../chunk-XCEWXSTL.mjs";import"../chunk-VX7JFYOR.mjs";import"../chunk-XVZSZKJJ.mjs";import"../chunk-CZSSD6PV.mjs";import"../chunk-U4QIRPVU.mjs";import"../chunk-D7SRRREC.mjs";import"../chunk-VETEWFVX.mjs";import"../chunk-LFGWL3ID.mjs";import"../chunk-TDNQCEQH.mjs";import"../chunk-BOCPUR5Z.mjs";import"../chunk-SBK5CRMY.mjs";import"../chunk-4QV6SMAW.mjs";import"../chunk-LGBCPCZI.mjs";import"../chunk-RVNLURMM.mjs";import"../chunk-DDH3RGOS.mjs";import"../chunk-O2Q5X4BD.mjs";import"../chunk-SZYWGXLX.mjs";import"../chunk-R27OFGXD.mjs";import"../chunk-3W34NPBH.mjs";import"../chunk-GM7MJ5YV.mjs";import"../chunk-FGMEH6RM.mjs";import"../chunk-DJJD7VHE.mjs";import"../chunk-QC6GZ7KR.mjs";import"../chunk-PXGRN26D.mjs";import"../chunk-JBURS7BX.mjs";import"../chunk-YIQYPU22.mjs";import"../chunk-OUWJF64C.mjs";import"../chunk-PT4MR4NI.mjs";import"../chunk-BPQSDPGU.mjs";import"../chunk-PGPTYK4W.mjs";import"../chunk-7NSJS37T.mjs";import"../chunk-QZR75WPQ.mjs";import"../chunk-RAPTAKTT.mjs";import"../chunk-WDAMFRJJ.mjs";import"../chunk-ZHXYP44Q.mjs";import"../chunk-2AVTXLJA.mjs";import"../chunk-DWACNU5E.mjs";import"../chunk-VHJB3C2A.mjs";import"../chunk-KM4WRZJP.mjs";import"../chunk-7JOFCAZW.mjs";import"../chunk-YA7GX4GF.mjs";import"../chunk-PI7GNHXR.mjs";import"../chunk-HYPLE4VW.mjs";import"../chunk-EARKUZEZ.mjs";import"../chunk-3KFNNXJ6.mjs";import"../chunk-LPV7TLRR.mjs";import"../chunk-GV2NLM3E.mjs";import"../chunk-IGIB6XZB.mjs";import"../chunk-GYE7FFDN.mjs";import"../chunk-V3YM4JPY.mjs";import"../chunk-X6BT5NYY.mjs";import"../chunk-36GFRX4D.mjs";import"../chunk-O5ED4ULH.mjs";import"../chunk-V7RF4LCH.mjs";import"../chunk-KDNSFAET.mjs";import"../chunk-3YI5TNDO.mjs";import"../chunk-2W2M7KTU.mjs";import"../chunk-CF5QPZAZ.mjs";import"../chunk-YYMQBKKP.mjs";import"../chunk-DTKDAEI5.mjs";import"../chunk-6JDZJ7TV.mjs";import"../chunk-FLDES2VR.mjs";import"../chunk-INQSSLYX.mjs";import"../chunk-IODGUY4G.mjs";import"../chunk-KCK3HMV3.mjs";import"../chunk-URNITXJC.mjs";import"../chunk-KUT7JPA7.mjs";import"../chunk-EX6WLDZE.mjs";import"../chunk-2COCR43F.mjs";import"../chunk-EHYVEIOL.mjs";import"../chunk-DMUERTF2.mjs";import"../chunk-RDTDBK2K.mjs";import"../chunk-PDSUXFDU.mjs";import"../chunk-E6VJQMTO.mjs";import"../chunk-HTNORLOJ.mjs";import"../chunk-2TGXECZQ.mjs";import"../chunk-NPWONPKN.mjs";import"../chunk-ZOMZCD5I.mjs";import"../chunk-KYMBX7DZ.mjs";import"../chunk-2LBJI2KO.mjs";import"../chunk-TNAH7N5Q.mjs";import"../chunk-KM7HFRFI.mjs";import"../chunk-ZJICX3BL.mjs";import"../chunk-HJMQR6M2.mjs";import"../chunk-RACAQ3EU.mjs";import"../chunk-3QY3W3M7.mjs";import"../chunk-CUYZMDRN.mjs";import"../chunk-YIANSNHQ.mjs";import"../chunk-YURUGH4S.mjs";import"../chunk-XSZV33MB.mjs";import"../chunk-BKZ6TNZC.mjs";import"../chunk-C4QIHV4E.mjs";import"../chunk-MURAUI3W.mjs";import"../chunk-ALEYOCBW.mjs";import"../chunk-6T634WQ7.mjs";import"../chunk-DGDXBKHW.mjs";import"../chunk-AUBFB4SI.mjs";export{a as CardListPagination};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b}from"../chunk-
|
|
2
|
+
import{a,b}from"../chunk-V4TM7NZN.mjs";import"../chunk-DGDXBKHW.mjs";import"../chunk-AUBFB4SI.mjs";export{b as CardList,a as CardListContext};
|
package/dist/carousel.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b,c,d,e,f,g}from"./chunk-
|
|
2
|
+
import{a,b,c,d,e,f,g}from"./chunk-5AEOBPRN.mjs";import"./chunk-JMONP47A.mjs";import"./chunk-2EXAOHUE.mjs";import"./chunk-ZFPCRWL4.mjs";import"./chunk-6HFOWUNK.mjs";import"./chunk-6JPO26GL.mjs";import"./chunk-FW3IXMVC.mjs";import"./chunk-TMFXOLAX.mjs";import"./chunk-42Y3WP6A.mjs";import"./chunk-PFE7XPKG.mjs";import"./chunk-BOPNDXYJ.mjs";import"./chunk-XCO6TYE2.mjs";import"./chunk-H2RARDXL.mjs";import"./chunk-IQZRESCY.mjs";import"./chunk-32C65ISH.mjs";import"./chunk-REMU6JDP.mjs";import"./chunk-HBXAUCXR.mjs";import"./chunk-IOYSFSEC.mjs";import"./chunk-C27HVKJD.mjs";import"./chunk-WB4ATGR6.mjs";import"./chunk-RB2WIZ7A.mjs";import"./chunk-ODZV737U.mjs";import"./chunk-JFSNPBO7.mjs";import"./chunk-XCEWXSTL.mjs";import"./chunk-VX7JFYOR.mjs";import"./chunk-XVZSZKJJ.mjs";import"./chunk-CZSSD6PV.mjs";import"./chunk-U4QIRPVU.mjs";import"./chunk-D7SRRREC.mjs";import"./chunk-VETEWFVX.mjs";import"./chunk-LFGWL3ID.mjs";import"./chunk-TDNQCEQH.mjs";import"./chunk-BOCPUR5Z.mjs";import"./chunk-SBK5CRMY.mjs";import"./chunk-4QV6SMAW.mjs";import"./chunk-LGBCPCZI.mjs";import"./chunk-RVNLURMM.mjs";import"./chunk-DDH3RGOS.mjs";import"./chunk-O2Q5X4BD.mjs";import"./chunk-SZYWGXLX.mjs";import"./chunk-R27OFGXD.mjs";import"./chunk-3W34NPBH.mjs";import"./chunk-GM7MJ5YV.mjs";import"./chunk-FGMEH6RM.mjs";import"./chunk-DJJD7VHE.mjs";import"./chunk-QC6GZ7KR.mjs";import"./chunk-PXGRN26D.mjs";import"./chunk-JBURS7BX.mjs";import"./chunk-YIQYPU22.mjs";import"./chunk-OUWJF64C.mjs";import"./chunk-PT4MR4NI.mjs";import"./chunk-BPQSDPGU.mjs";import"./chunk-PGPTYK4W.mjs";import"./chunk-7NSJS37T.mjs";import"./chunk-QZR75WPQ.mjs";import"./chunk-RAPTAKTT.mjs";import"./chunk-WDAMFRJJ.mjs";import"./chunk-ZHXYP44Q.mjs";import"./chunk-2AVTXLJA.mjs";import"./chunk-DWACNU5E.mjs";import"./chunk-VHJB3C2A.mjs";import"./chunk-KM4WRZJP.mjs";import"./chunk-7JOFCAZW.mjs";import"./chunk-YA7GX4GF.mjs";import"./chunk-PI7GNHXR.mjs";import"./chunk-HYPLE4VW.mjs";import"./chunk-EARKUZEZ.mjs";import"./chunk-3KFNNXJ6.mjs";import"./chunk-LPV7TLRR.mjs";import"./chunk-GV2NLM3E.mjs";import"./chunk-IGIB6XZB.mjs";import"./chunk-GYE7FFDN.mjs";import"./chunk-V3YM4JPY.mjs";import"./chunk-X6BT5NYY.mjs";import"./chunk-36GFRX4D.mjs";import"./chunk-O5ED4ULH.mjs";import"./chunk-V7RF4LCH.mjs";import"./chunk-KDNSFAET.mjs";import"./chunk-3YI5TNDO.mjs";import"./chunk-2W2M7KTU.mjs";import"./chunk-CF5QPZAZ.mjs";import"./chunk-YYMQBKKP.mjs";import"./chunk-DTKDAEI5.mjs";import"./chunk-6JDZJ7TV.mjs";import"./chunk-FLDES2VR.mjs";import"./chunk-INQSSLYX.mjs";import"./chunk-IODGUY4G.mjs";import"./chunk-KCK3HMV3.mjs";import"./chunk-URNITXJC.mjs";import"./chunk-KUT7JPA7.mjs";import"./chunk-EX6WLDZE.mjs";import"./chunk-2COCR43F.mjs";import"./chunk-EHYVEIOL.mjs";import"./chunk-DMUERTF2.mjs";import"./chunk-RDTDBK2K.mjs";import"./chunk-PDSUXFDU.mjs";import"./chunk-E6VJQMTO.mjs";import"./chunk-HTNORLOJ.mjs";import"./chunk-2TGXECZQ.mjs";import"./chunk-NPWONPKN.mjs";import"./chunk-ZOMZCD5I.mjs";import"./chunk-KYMBX7DZ.mjs";import"./chunk-2LBJI2KO.mjs";import"./chunk-TNAH7N5Q.mjs";import"./chunk-KM7HFRFI.mjs";import"./chunk-ZJICX3BL.mjs";import"./chunk-HJMQR6M2.mjs";import"./chunk-RACAQ3EU.mjs";import"./chunk-3QY3W3M7.mjs";import"./chunk-CUYZMDRN.mjs";import"./chunk-YIANSNHQ.mjs";import"./chunk-YURUGH4S.mjs";import"./chunk-XSZV33MB.mjs";import"./chunk-BKZ6TNZC.mjs";import"./chunk-C4QIHV4E.mjs";import"./chunk-MURAUI3W.mjs";import"./chunk-ALEYOCBW.mjs";import"./chunk-6T634WQ7.mjs";import"./chunk-DGDXBKHW.mjs";import"./chunk-AUBFB4SI.mjs";export{b as Carousel,c as CarouselContent,d as CarouselItem,g as CarouselNavBar,f as CarouselNext,e as CarouselPrevious,a as useCarousel};
|
package/dist/checkbox.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a}from"./chunk-
|
|
2
|
+
import{a}from"./chunk-HPXCEBBQ.mjs";import"./chunk-DGDXBKHW.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Checkbox};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as m}from"./chunk-JMONP47A.mjs";import{i}from"./chunk-DGDXBKHW.mjs";import{useMemo as x,useState as u}from"react";import{jsx as a,jsxs as r}from"react/jsx-runtime";function M({title:g,description:c,inputAttrs:e,helpText:s,buttonText:f="Save Changes",disabledTooltip:o,handleSubmit:y}){let[t,p]=u(e.defaultValue),[l,d]=u(!1),b=x(()=>l||!t||t===e.defaultValue,[l,t,e.defaultValue]);return r("form",{onSubmit:async n=>{n.preventDefault(),d(!0),await y({[e.name]:t}),d(!1)},className:"rounded-lg border border-gray-200 bg-white",children:[r("div",{className:"relative flex flex-col space-y-6 p-5 sm:p-10",children:[r("div",{className:"flex flex-col space-y-3",children:[a("h2",{className:"text-xl font-medium",children:g}),a("p",{className:"text-sm text-gray-500",children:c})]}),typeof e.defaultValue=="string"?a("input",{...e,type:e.type||"text",required:!0,disabled:!!o,onChange:n=>p(n.target.value),className:i("w-full max-w-md rounded-md border border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",{"cursor-not-allowed bg-gray-100 text-gray-400":o})}):a("div",{className:"h-[2.35rem] w-full max-w-md animate-pulse rounded-md bg-gray-200"})]}),r("div",{className:"flex items-center justify-between space-x-4 rounded-b-lg border-t border-gray-200 bg-gray-50 p-3 sm:px-10",children:[typeof s=="string"?a("p",{className:"prose-sm prose-a:underline prose-a:underline-offset-4 hover:prose-a:text-gray-700 text-gray-500 transition-colors",dangerouslySetInnerHTML:{__html:s||""}}):s,a("div",{className:"shrink-0",children:a(m,{text:f,loading:l,disabled:b,disabledTooltip:o})})]})]})}export{M as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as b}from"./chunk-UIHASSMK.mjs";import{b as h}from"./chunk-7DV57YB3.mjs";import{b as p,d as f,i,k as g}from"./chunk-G242M5FF.mjs";import{ChevronDown as w,Menu as x,X as C}from"lucide-react";import r from"next/link";import{useParams as N}from"next/navigation";import{useEffect as _,useState as v}from"react";import z from"swr";import{Fragment as D,jsx as e,jsxs as s}from"react/jsx-runtime";function j({theme:n="light"}){let{domain:m="dub.co"}=N(),[a,o]=v(!1);_(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:t}=z(m==="dub.co"&&"/api/auth/session",g,{dedupingInterval:6e4});return s("div",{className:i(n==="dark"&&"dark"),children:[e("button",{onClick:()=>o(!a),className:i("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden dark:hover:bg-white/20 dark:active:bg-white/30",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(C,{className:"h-5 w-5 text-gray-600 dark:text-white/70"}):e(x,{className:"h-5 w-5 text-gray-600 dark:text-white/70"})}),e("nav",{className:i("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden dark:bg-black dark:text-white/70",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200 dark:divide-white/[0.15]",children:[b.map(({name:l,href:u,childItems:d},c)=>e(L,{name:l,href:u,childItems:d,setOpen:o},c)),t&&Object.keys(t).length>0?e("li",{className:"py-3",children:e(r,{href:f,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(D,{children:[e("li",{className:"py-3",children:e(r,{href:`${f}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(r,{href:`${f}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var L=({name:n,href:m,childItems:a,setOpen:o})=>{let{domain:t="dub.co"}=N(),[l,u]=v(!1);return a?e("li",{className:"py-3",children:s(h,{height:!0,children:[s("button",{className:"flex w-full justify-between",onClick:()=>u(!l),children:[e("p",{className:"font-semibold",children:n}),e(w,{className:i("h-5 w-5 text-gray-500 transition-all dark:text-white/50",l&&"rotate-180")})]}),l&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:a.map(({title:d,href:c,icon:y,iconClassName:k})=>s(r,{href:p(c,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:d}),onClick:()=>o(!1),className:"flex w-full space-x-2",children:[e(y,{className:i("h-5 w-5 text-gray-500 dark:text-white/80",k)}),e("span",{className:"text-sm",children:d})]},c))})]})}):m?e("li",{className:"py-3",children:e(r,{href:p(m,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:n}),onClick:()=>o(!1),className:"flex w-full font-semibold capitalize",children:n})}):null};export{j as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{e as N}from"./chunk-3EFTXDLN.mjs";import{a as x}from"./chunk-PLTJLX5M.mjs";import{a as v}from"./chunk-W3JO3HIU.mjs";import{a as b}from"./chunk-JJIFS5EW.mjs";import{a as y}from"./chunk-T76PPZR5.mjs";import{a as h}from"./chunk-ALEYOCBW.mjs";import{a as f}from"./chunk-QZ6LSKFX.mjs";import{c as n,e as d,g,h as p,o}from"./chunk-QMDEODYC.mjs";import C from"next/image";import s from"next/link";import{useParams as T}from"next/navigation";import{useEffect as F,useState as _}from"react";import D from"swr";import{jsx as e,jsxs as r}from"react/jsx-runtime";var m={features:x.map(({title:t,href:a})=>({name:t,href:a})),product:[{name:"Blog",href:"/blog"},{name:"Brand",href:"/brand"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"}],compare:p.map(({name:t,slug:a})=>({name:t,href:`/compare/${a}`})),legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:g.map(({name:t,slug:a})=>({name:t,href:`/tools/${a}`}))};function R(){let{domain:t="dub.co"}=T();return e("footer",{children:r(v,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-6",children:[r(s,{href:(void 0)("/",t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:"Logo"}),className:"block max-w-fit",children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(N,{className:"h-8 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),r("div",{className:"flex items-center space-x-3",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(h,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),r("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e(P,{})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.features.map(a=>e("li",{children:e(s,{href:(void 0)(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.product.map(a=>e("li",{children:e(s,{href:(void 0)(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{className:"flex flex-col space-y-8",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.compare.map(a=>e("li",{children:e(s,{href:(void 0)(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.legal.map(a=>e("li",{children:e(s,{href:(void 0)(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.tools.map(a=>e("li",{children:e(s,{href:(void 0)(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]})]})]}),e(C,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function P(){let{data:t}=D("https://status.dub.co/api/v1/summary",d),[a,l]=_("bg-gray-200"),[i,c]=_("Loading status...");return F(()=>{if(!t)return;let{ongoing_incidents:u}=t;if(u.length>0){let{current_worst_impact:w,name:k}=u[0],L=w==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(k),l(L)}else c("All systems operational"),l("bg-green-500")},[t]),r(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[r("div",{className:"relative h-3 w-3",children:[e("div",{className:n("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",a,i==="Loading status..."&&"animate-none")}),e("div",{className:n("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",a)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{R as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{o as i}from"./chunk-NXVJUHWM.mjs";import{jsx as l,jsxs as t}from"react/jsx-runtime";function s({className:a}){return t("svg",{className:i("h-full w-full",a),viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("circle",{cx:"111",cy:"111",r:"111",fill:"url(#paint0_radial_8328_50)"}),t("g",{"clip-path":"url(#clip0_8328_50)",children:[l("path",{d:"M85.0053 196C99.3544 196 111 184.352 111 170V144H85.0053C70.6562 144 59.0105 155.648 59.0105 170C59.0105 184.352 70.6562 196 85.0053 196Z",fill:"#0ACF83"}),l("path",{d:"M59.0105 118C59.0105 103.648 70.6562 92 85.0053 92H111V144H85.0053C70.6562 144 59.0105 132.352 59.0105 118Z",fill:"#A259FF"}),l("path",{d:"M59.0103 66C59.0103 51.648 70.6559 40 85.0051 40H111V92H85.0051C70.6559 92 59.0103 80.352 59.0103 66Z",fill:"#F24E1E"}),l("path",{d:"M111 40H136.995C151.344 40 162.99 51.648 162.99 66C162.99 80.352 151.344 92 136.995 92H111V40Z",fill:"#FF7262"}),l("path",{d:"M162.99 118C162.99 132.352 151.344 144 136.995 144C122.646 144 111 132.352 111 118C111 103.648 122.646 92 136.995 92C151.344 92 162.99 103.648 162.99 118Z",fill:"#1ABCFE"})]}),t("defs",{children:[t("radialGradient",{id:"paint0_radial_8328_50",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(226.5 207.5) rotate(-140.591) scale(286.681)",children:[l("stop",{stopColor:"white"}),l("stop",{offset:"0.5",stopColor:"white"}),l("stop",{offset:"1",stopColor:"#E8E8E8"})]}),l("clipPath",{id:"clip0_8328_50",children:l("rect",{width:"104",height:"156",fill:"white",transform:"translate(59 40)"})})]})]})}export{s as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{o as r}from"./chunk-NXVJUHWM.mjs";import*as e from"@radix-ui/react-accordion";import{ChevronDown as m}from"lucide-react";import*as c from"react";import{jsx as n,jsxs as l}from"react/jsx-runtime";var v=e.Root,d=c.forwardRef(({className:o,...t},i)=>n(e.Item,{ref:i,className:r("border-b border-b-slate-200 py-3 last:border-none",o),...t}));d.displayName="AccordionItem";var s=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Header,{className:"flex",children:l(e.Trigger,{ref:a,className:r("flex flex-1 items-center justify-between font-medium transition-all sm:text-lg [&[data-state=open]>svg]:rotate-180",o),...i,children:[t,n(m,{className:"h-5 w-5 flex-none transition-transform duration-300"})]})}));s.displayName=e.Trigger.displayName;var f=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Content,{ref:a,className:r("data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm text-gray-500 transition-all sm:text-base",o),...i,children:t}));f.displayName=e.Content.displayName;export{v as a,d as b,s as c,f as d};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as T}from"./chunk-GVBIGY6N.mjs";import{a as A}from"./chunk-NWME2ANF.mjs";import{a as O}from"./chunk-MA4JVXD5.mjs";import{b as E}from"./chunk-RTRX3R2A.mjs";import{i as g}from"./chunk-PRGA72PV.mjs";import{flip as G,offset as J,size as U,useDismiss as W,useFloating as Y,useInteractions as Z}from"@floating-ui/react";import{Command as i,useCommandState as ee}from"cmdk";import{Check as te,ChevronDown as ae,Search as w,X as oe}from"lucide-react";import{createContext as re,forwardRef as se,useContext as L,useEffect as N,useMemo as le,useRef as F,useState as C}from"react";import{Drawer as f}from"vaul";import{jsx as e,jsxs as o}from"react/jsx-runtime";var v=re({inputAttrs:{},openCommandList:!1,setOpenCommandList:()=>{},inputValue:"",setInputValue:()=>{},disabled:!1,selectedItem:null,setSelectedItem:()=>{}});function we({items:r,selectedItem:a,setSelectedItem:d,className:s,disabled:t,adjustForMobile:u,icon:b,inputAttrs:x,noItemsElement:p}){let l=F(null),[c,y]=C(!1),[n,P]=C(""),[D,M]=C(!1);N(()=>{c&&M(!1)},[c]),N(()=>M(!0),[n]),N(()=>{a&&P(a.value)},[a]);let k=le(()=>{let m=n.toLowerCase();return D?r.filter(h=>h.value.toLowerCase().includes(m)):n?r.sort((h,q)=>(q.value.toLowerCase().includes(m)?1:0)-(h.value.toLowerCase().includes(m)?1:0)):r},[D,n,r]),{refs:R,floatingStyles:j,context:z}=Y({open:c,onOpenChange:y,middleware:[J(8),U({apply({elements:{floating:m},availableHeight:h}){Object.assign(m.style,{maxHeight:`${Math.max(75,Math.min(h,290))}px`})},padding:8}),G({fallbackStrategy:"initialPlacement",padding:8})]}),B=W(z),{getReferenceProps:K,getFloatingProps:$}=Z([B]),V=F(null),{scrollProgress:Q,updateScrollProgress:X}=T(V),{isMobile:_}=A();return e(v.Provider,{value:{inputAttrs:x||{},openCommandList:c,setOpenCommandList:y,inputValue:n,setInputValue:P,disabled:Boolean(t),selectedItem:a,setSelectedItem:d},children:_&&u?o(f.Root,{open:c,onOpenChange:y,children:[e(f.Trigger,{className:"sm:hidden",asChild:!0,children:e(i,{ref:l,className:"relative",shouldFilter:!1,loop:!0,children:o("div",{className:g("group relative rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500 md:min-w-[140px]",s),children:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:a&&a.image?e("img",{src:a.image,alt:a.value,className:"h-4 w-4 rounded-full"}):b||e(w,{className:"h-4 w-4 text-gray-400"})}),o("div",{className:"flex h-10 px-8",children:[e(S,{}),e(I,{})]})]})})}),e(f.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),o(f.Portal,{children:[e(f.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-lg border-t border-gray-200 bg-white",children:o(i,{ref:l,className:"relative",shouldFilter:!1,loop:!0,children:[o("div",{className:g("group relative mb-2 rounded-t-md border-b border-gray-300 bg-white p-1 sm:border sm:py-0 sm:focus-within:border-gray-500 sm:focus-within:ring-1 sm:focus-within:ring-gray-200",s),children:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:a&&a.image?e("img",{src:a.image,alt:a.value,className:"h-4 w-4 rounded-full"}):b||e(w,{className:"h-4 w-4 text-gray-400"})}),o("div",{className:"flex h-10 px-8",children:[e(S,{}),e(I,{})]})]}),c&&o(i.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[r.length===0&&n===""&&(p?e("div",{children:p}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),n!==""&&e(i.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),e(H,{items:k})]})]})}),e(f.Overlay,{})]})]}):o(i,{ref:l,className:"relative",shouldFilter:!1,loop:!0,children:[o("div",{className:g("group rounded-md border border-gray-200 bg-white px-1 transition-all focus-within:border-gray-500 focus-within:ring-4 focus-within:ring-gray-200",s),children:[e("div",{onClick:()=>y(m=>!m),className:"absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-gray-400",children:a&&a.image?e("img",{src:a.image,alt:a.value,className:"h-4 w-4 rounded-full"}):b||e(w,{className:"h-4 w-4 text-gray-400"})}),o("div",{className:"flex h-10 px-8",children:[e(S,{ref:R.setReference,...K()}),e(I,{})]})]}),c&&o("div",{ref:R.setFloating,style:j,...$(),className:"z-20 flex w-full min-w-[160px] flex-col overflow-hidden rounded-md border border-gray-200 bg-white shadow-md",children:[o("div",{ref:V,onScroll:X,className:"grow overflow-y-auto p-2",children:[o(i.List,{children:[r.length===0&&n===""&&(p?e("div",{children:p}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),n!==""&&e(i.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."})]}),e(H,{items:k})]}),e("div",{className:"pointer-events-none absolute bottom-0 left-0 hidden h-16 w-full bg-gradient-to-t from-white sm:block",style:{opacity:1-Math.pow(Q,2)}})]})]})})}var S=se((r,a)=>{let d=ee(l=>l.filtered.count===0),{inputAttrs:s,openCommandList:t,setOpenCommandList:u,inputValue:b,setInputValue:x,disabled:p}=L(v);return e(i.Input,{ref:a,placeholder:(s==null?void 0:s.placeholder)||"Search...",autoFocus:t,onFocus:()=>u(!0),value:b,onValueChange:x,onKeyDown:l=>{l.key==="Escape"?(l.preventDefault(),u(!1)):l.key==="Enter"&&d?u(!1):l.key.match(/^[a-z0-9]$/i)&&!l.metaKey&&u(!0)},disabled:p,className:"block w-full truncate rounded-md border-none px-0 text-base text-gray-900 placeholder-gray-400 outline-none outline-0 transition-all duration-300 focus:ring-0 md:text-sm"})});function I(){let{setSelectedItem:r,openCommandList:a,setOpenCommandList:d,inputValue:s,setInputValue:t}=L(v);return e("button",{onClick:()=>{d(u=>!u),r(null),t("")},className:"absolute inset-y-0 right-0 my-auto pr-3",children:s.length>0?e(oe,{className:"h-4 w-4 text-gray-400 transition-all hover:text-gray-700"}):e(ae,{className:g("h-4 w-4 text-gray-400 transition-all hover:text-gray-700",{"rotate-180 transform":a})})})}function H({items:r}){let{setSelectedItem:a,setOpenCommandList:d,setInputValue:s}=L(v);return r.map(t=>o(i.Item,{value:t.value,disabled:t.disabled,onSelect:()=>{a(t),s(t.value),d(!1)},className:"group flex cursor-pointer items-center justify-between rounded-md px-4 py-2 text-sm text-gray-900 hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200 aria-disabled:cursor-not-allowed aria-disabled:opacity-75 aria-disabled:hover:bg-white aria-selected:bg-gray-100 aria-selected:text-gray-900",children:[o("div",{className:"flex items-center space-x-2",children:[t.image&&e(O,{src:t.image,alt:t.value,className:"h-4 w-4 rounded-full",width:16,height:16}),e("p",{className:g("whitespace-nowrap py-0.5 text-sm",t.color&&"rounded-md px-2",t.color==="red"&&"bg-red-100 text-red-600",t.color==="yellow"&&"bg-yellow-100 text-yellow-600",t.color==="green"&&"bg-green-100 text-green-600",t.color==="blue"&&"bg-blue-100 text-blue-600",t.color==="purple"&&"bg-purple-100 text-purple-600",t.color==="brown"&&"bg-brown-100 text-brown-600"),children:t.value}),t.label&&e(E,{className:"text-xs",variant:"neutral",children:t.label})]}),e(te,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},t.id))}export{we as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{o as e}from"./chunk-OKCPAQCJ.mjs";import{jsx as t,jsxs as o}from"react/jsx-runtime";function i({className:r}){return o("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:"256",height:"256",viewBox:"0 0 256 256",className:e("text-[#ff0000]",r),children:[t("defs",{}),t("g",{style:{stroke:"none",strokeWidth:0,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"#ff0000",fillRule:"nonzero",opacity:1},transform:"translate(1.4065934065934016 1.4065934065934016) scale(2.81 2.81)",children:t("path",{d:"M 88.119 23.338 c -1.035 -3.872 -4.085 -6.922 -7.957 -7.957 C 73.144 13.5 45 13.5 45 13.5 s -28.144 0 -35.162 1.881 c -3.872 1.035 -6.922 4.085 -7.957 7.957 C 0 30.356 0 45 0 45 s 0 14.644 1.881 21.662 c 1.035 3.872 4.085 6.922 7.957 7.957 C 16.856 76.5 45 76.5 45 76.5 s 28.144 0 35.162 -1.881 c 3.872 -1.035 6.922 -4.085 7.957 -7.957 C 90 59.644 90 45 90 45 S 90 30.356 88.119 23.338 z M 36 58.5 v -27 L 59.382 45 L 36 58.5 z",style:{stroke:"none",strokeWidth:1,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"currentColor",fillRule:"nonzero",opacity:1},transform:" matrix(1 0 0 1 0 0) ",strokeLinecap:"round"})})]})}export{i as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{e as u}from"./chunk-PLTJLX5M.mjs";import{a as m,c as g,e as k}from"./chunk-ELLZHQKS.mjs";import{a as d}from"./chunk-RUJ4XFW2.mjs";import{a as p}from"./chunk-7JZQPHKS.mjs";import{a as c}from"./chunk-BOKMGZWX.mjs";import{a as l}from"./chunk-SUU6EDFK.mjs";import{a as h}from"./chunk-2JF7LIKK.mjs";import{a as f}from"./chunk-5MV62WYC.mjs";import{b as a,i as t}from"./chunk-QSMIB34W.mjs";import{jsx as e,jsxs as s}from"react/jsx-runtime";var v=[{name:"Spotify Link Shortener",href:"/tools/spotify-link-shortener",icon:p},{name:"ChatGPT Link Shortener",href:"/tools/chatgpt-link-shortener",icon:l},{name:"GitHub Link Shortener",href:"/tools/github-link-shortener",icon:f},{name:"Google Link Shortener",href:"/tools/google-link-shortener",icon:d},{name:"Amazon Link Shortener",href:"/tools/amazon-link-shortener",icon:c},{name:"Figma Link Shortener",href:"/tools/figma-link-shortener",icon:h}];function _({domain:o}){return s("div",{className:"grid w-[32rem] grid-cols-[7fr_5fr]",children:[s("div",{className:"p-5",children:[e("p",{className:t(m,"mb-2"),children:"Tools"}),e("div",{className:"flex flex-col gap-2",children:v.map(({name:r,href:n,icon:i})=>e(k,{name:r,href:a(n,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:r}),icon:e(i,{})}))})]}),s("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[e("p",{className:t(m,"mb-2"),children:"Resources"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:u.map(({icon:r,title:n,href:i})=>e(g,{href:a(i,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:n}),icon:e(r,{className:t("h-5 w-5 shrink-0 text-gray-600 dark:text-white/60")}),title:n,showArrow:!0}))})]})]})}export{_ as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as c}from"./chunk-6T634WQ7.mjs";import{c as s,g as m}from"./chunk-DGDXBKHW.mjs";import*as n from"@radix-ui/react-tooltip";import d from"linkify-react";import{HelpCircle as x}from"lucide-react";import u from"next/link";import{useState as f}from"react";import{jsx as t,jsxs as a}from"react/jsx-runtime";function P({children:e}){return t(n.Provider,{delayDuration:100,children:e})}function p({children:e,content:o,side:r="top"}){let[l,i]=f(!1);return a(n.Root,{open:l,onOpenChange:i,delayDuration:0,children:[t(n.Trigger,{asChild:!0,onClick:()=>{i(!0)},onBlur:()=>{i(!1)},children:e}),t(n.Portal,{children:t(n.Content,{sideOffset:8,side:r,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-xl border border-gray-200 bg-white shadow-sm",collisionPadding:0,children:typeof o=="string"?t("span",{className:"block max-w-xs text-pretty px-4 py-2 text-center text-sm text-gray-700",children:o}):typeof o=="function"?o({setOpen:i}):o})})]})}function k({title:e,cta:o,href:r,target:l,onClick:i}){return a("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[t("p",{className:"text-sm text-gray-700",children:e}),o&&(r?t(u,{href:r,...l?{target:l}:{},className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",children:o}):i?t("button",{type:"button",className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",onClick:i,children:o}):null)]})}function w({title:e,cta:o,href:r}){return a("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[e," ",t("a",{href:r,target:"_blank",rel:"noopener noreferrer",onClick:l=>l.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:o})]})}function C({children:e}){return t("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:t(d,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:e})})}function R(e){return t(p,{...e,children:t(x,{className:"h-4 w-4 text-gray-500"})})}function B({value:e,unit:o="total clicks",prefix:r,children:l,lastClicked:i}){return(!e||e<1e3)&&!i?l:t(p,{content:a("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[a("p",{className:"text-sm font-semibold text-gray-700",children:[r,s(e||0,{full:!0})," ",o]}),i&&a("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",m(i,{withAgo:!0})]})]}),children:l})}function L({children:e,content:o,...r}){return t(p,{content:o,...r,children:t("div",{className:"flex cursor-pointer items-center",children:t(c,{variant:"gray",className:"border-gray-300 transition-all hover:bg-gray-200",children:e})})})}function O({tooltipContent:e,children:o,...r}){return t(p,{content:e,children:t("div",{className:"flex cursor-pointer items-center",children:t("button",{type:"button",...r,children:o})})})}export{P as a,p as b,k as c,w as d,C as e,R as f,B as g,L as h,O as i};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{e as N}from"./chunk-WWWMAXC6.mjs";import{a as x}from"./chunk-EMALUF5M.mjs";import{a as v}from"./chunk-5ADBHMDN.mjs";import{a as b}from"./chunk-42YTXGLO.mjs";import{a as y}from"./chunk-F3UQLBXP.mjs";import{a as f}from"./chunk-GCXRUJG7.mjs";import{a as h}from"./chunk-ALEYOCBW.mjs";import{b as o,i as n,k as d,m as g,n as p}from"./chunk-QSMIB34W.mjs";import C from"next/image";import s from"next/link";import{useParams as T}from"next/navigation";import{useEffect as F,useState as _}from"react";import D from"swr";import{jsx as e,jsxs as r}from"react/jsx-runtime";var m={features:x.map(({title:t,href:a})=>({name:t,href:a})),product:[{name:"Blog",href:"/blog"},{name:"Brand",href:"/brand"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"}],compare:p.map(({name:t,slug:a})=>({name:t,href:`/compare/${a}`})),legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:g.map(({name:t,slug:a})=>({name:t,href:`/tools/${a}`}))};function R(){let{domain:t="dub.co"}=T();return e("footer",{children:r(v,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-6",children:[r(s,{href:o("/",t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:"Logo"}),className:"block max-w-fit",children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(N,{className:"h-8 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),r("div",{className:"flex items-center space-x-3",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(h,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),r("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e(P,{})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.features.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.product.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{className:"flex flex-col space-y-8",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.compare.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.legal.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.tools.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]})]})]}),e(C,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function P(){let{data:t}=D("https://status.dub.co/api/v1/summary",d),[a,l]=_("bg-gray-200"),[i,c]=_("Loading status...");return F(()=>{if(!t)return;let{ongoing_incidents:u}=t;if(u.length>0){let{current_worst_impact:w,name:k}=u[0],L=w==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(k),l(L)}else c("All systems operational"),l("bg-green-500")},[t]),r(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[r("div",{className:"relative h-3 w-3",children:[e("div",{className:n("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",a,i==="Loading status..."&&"animate-none")}),e("div",{className:n("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",a)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{R as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as p}from"./chunk-RXIUX3N3.mjs";import{b as y}from"./chunk-KGQWA5H2.mjs";import{i as g}from"./chunk-QSMIB34W.mjs";import{Command as n}from"cmdk";import{Lock as T}from"lucide-react";import{jsx as o,jsxs as R}from"react/jsx-runtime";var w=({presets:a,onSelect:l,currentValue:i})=>{let P=e=>"dateRange"in e,b=e=>"date"in e,r=(e,t)=>e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear(),h=(e,t)=>{let s=e.from,m=t.from,u=!1;s&&m&&r(s,m)&&(u=!0);let d=e.to,c=t.to,f=!1;return d&&c&&r(d,c)&&(f=!0),u&&f},x=e=>{if(P(e)){let t=i;return t&&h(t,e.dateRange)}else if(b(e)){let t=i;return t&&r(t,e.date)}return!1};return p(a.filter(e=>e.shortcut).map(e=>e.shortcut),e=>{console.log("shortcut",e.key);let t=a.find(s=>s.shortcut===e.key);t&&l(t)},{enabled:!0}),o(n,{className:"w-full rounded ring-gray-200 ring-offset-2 focus:outline-none",tabIndex:0,autoFocus:!0,loop:!0,children:o(n.List,{className:"[&>*]:flex [&>*]:w-full [&>*]:items-start [&>*]:gap-x-2 [&>*]:gap-y-0.5 [&>*]:sm:flex-col",children:a.map((e,t)=>R(n.Item,{disabled:e.requiresUpgrade,onSelect:()=>l(e),title:e.label,value:e.id,className:g("group relative flex cursor-pointer items-center justify-between overflow-hidden text-ellipsis whitespace-nowrap rounded border border-gray-200","px-2.5 py-1.5 text-left text-sm text-gray-700 shadow-sm outline-none sm:w-full sm:border-none sm:py-2 sm:shadow-none","disabled:pointer-events-none disabled:opacity-50","sm:data-[selected=true]:bg-gray-100",x(e)&&"font-semibold text-gray-800"),children:[o("span",{children:e.label}),e.requiresUpgrade&&o(T,{className:"h-3.5 w-3.5","aria-hidden":"true"}),e.requiresUpgrade&&e.tooltipContent&&o(y,{side:"bottom",content:e.tooltipContent,children:o("div",{className:"absolute inset-0 cursor-not-allowed"})}),e.shortcut&&o("kbd",{className:"rounded bg-gray-100 px-2 py-0.5 text-xs font-light text-gray-400 group-data-[selected=true]:bg-gray-200",children:e.shortcut})]},t))})})};w.displayName="DatePicker.Presets";export{w as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{i}from"./chunk-QSMIB34W.mjs";import{jsx as l,jsxs as t}from"react/jsx-runtime";function s({className:a}){return t("svg",{className:i("h-full w-full",a),viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("circle",{cx:"111",cy:"111",r:"111",fill:"url(#paint0_radial_8328_50)"}),t("g",{"clip-path":"url(#clip0_8328_50)",children:[l("path",{d:"M85.0053 196C99.3544 196 111 184.352 111 170V144H85.0053C70.6562 144 59.0105 155.648 59.0105 170C59.0105 184.352 70.6562 196 85.0053 196Z",fill:"#0ACF83"}),l("path",{d:"M59.0105 118C59.0105 103.648 70.6562 92 85.0053 92H111V144H85.0053C70.6562 144 59.0105 132.352 59.0105 118Z",fill:"#A259FF"}),l("path",{d:"M59.0103 66C59.0103 51.648 70.6559 40 85.0051 40H111V92H85.0051C70.6559 92 59.0103 80.352 59.0103 66Z",fill:"#F24E1E"}),l("path",{d:"M111 40H136.995C151.344 40 162.99 51.648 162.99 66C162.99 80.352 151.344 92 136.995 92H111V40Z",fill:"#FF7262"}),l("path",{d:"M162.99 118C162.99 132.352 151.344 144 136.995 144C122.646 144 111 132.352 111 118C111 103.648 122.646 92 136.995 92C151.344 92 162.99 103.648 162.99 118Z",fill:"#1ABCFE"})]}),t("defs",{children:[t("radialGradient",{id:"paint0_radial_8328_50",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(226.5 207.5) rotate(-140.591) scale(286.681)",children:[l("stop",{stopColor:"white"}),l("stop",{offset:"0.5",stopColor:"white"}),l("stop",{offset:"1",stopColor:"#E8E8E8"})]}),l("clipPath",{id:"clip0_8328_50",children:l("rect",{width:"104",height:"156",fill:"white",transform:"translate(59 40)"})})]})]})}export{s as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as T}from"./chunk-U3QA7OPP.mjs";import{a as F}from"./chunk-AQB5EGRA.mjs";import{a as H}from"./chunk-PBLS5K4K.mjs";import{a as C}from"./chunk-S7344DEQ.mjs";import{a as p}from"./chunk-QTCYB542.mjs";import{i as O}from"./chunk-QSMIB34W.mjs";import{enUS as W}from"date-fns/locale";import{useEffect as N,useMemo as q,useState as E}from"react";import{format as M}from"date-fns";import{createContext as J}from"react";var I=J({isOpen:!1,setIsOpen:()=>{}}),K=()=>{let r=typeof window<"u"?window.navigator.language:"en-US",l=new Intl.DateTimeFormat(r,{hour:"numeric"}).format();return Number.isInteger(Number(l))},k=(r,l,f=!1)=>{let i=!K(),o;return f?o=i?M(r,"d MMM, yyyy h:mm a",{locale:l}):M(r,"d MMM, yyyy HH:mm",{locale:l}):o=M(r,"d MMM, yyyy",{locale:l}),o},U=(r,l)=>{let{toYear:f,fromYear:i,fromMonth:o,toMonth:g,fromDay:P,toDay:y}=l;if(r&&r.length>0){let w=i,b=f;r.forEach(e=>{var v,R,$,c,x,h;if("date"in e){let d=e.date.getFullYear();if(i&&d<i)throw new Error(`Preset ${e.label} is before fromYear ${w}.`);if(f&&d>f)throw new Error(`Preset ${e.label} is after toYear ${b}.`);if(o&&e.date.getMonth()<o.getMonth())throw new Error(`Preset ${e.label} is before fromMonth ${o}.`);if(g&&e.date.getMonth()>g.getMonth())throw new Error(`Preset ${e.label} is after toMonth ${g}.`);if(P&&e.date.getDate()<P.getDate())throw new Error(`Preset ${e.label} is before fromDay ${P}.`);if(y&&e.date.getDate()>y.getDate())throw new Error(`Preset ${e.label} is after toDay ${M(y,"MMM dd, yyyy")}.`)}if("dateRange"in e){let d=(v=e.dateRange.from)==null?void 0:v.getFullYear(),s=(R=e.dateRange.to)==null?void 0:R.getFullYear();if(d&&i&&d<i)throw new Error(`Preset ${e.label}'s 'from' is before fromYear ${w}.`);if(s&&f&&s>f)throw new Error(`Preset ${e.label}'s 'to' is after toYear ${b}.`);if(o){let n=($=e.dateRange.from)==null?void 0:$.getMonth();if(n&&n<o.getMonth())throw new Error(`Preset ${e.label}'s 'from' is before fromMonth ${M(o,"MMM, yyyy")}.`)}if(g){let n=(c=e.dateRange.to)==null?void 0:c.getMonth();if(n&&n>g.getMonth())throw new Error(`Preset ${e.label}'s 'to' is after toMonth ${M(g,"MMM, yyyy")}.`)}if(P){let n=(x=e.dateRange.from)==null?void 0:x.getDate();if(n&&n<P.getDate())throw new Error(`Preset ${e.dateRange.from}'s 'from' is before fromDay ${M(P,"MMM dd, yyyy")}.`)}if(y){let n=(h=e.dateRange.to)==null?void 0:h.getDate();if(n&&n>y.getDate())throw new Error(`Preset ${e.label}'s 'to' is after toDay ${M(y,"MMM dd, yyyy")}.`)}}})}};import{jsx as m,jsxs as Z}from"react/jsx-runtime";var X=({value:r,defaultValue:l,presetId:f,onChange:i,presets:o,disabled:g,disableNavigation:P,disabledDays:y,showYearNavigation:w=!1,locale:b=W,placeholder:e="Select date range",hasError:v,align:R="center",className:$,...c})=>{let{isDesktop:x}=p(),[h,d]=E(!1),[s,n]=E(o&&f?o==null?void 0:o.find(({id:a})=>a===f):void 0),[t,u]=E((s==null?void 0:s.dateRange)??r??l??void 0),[A,S]=E(t==null?void 0:t.to),L=q(()=>t,[h]);N(()=>{u(r)},[r]),N(()=>{let a=o==null?void 0:o.find(({id:Y})=>Y===f);n(a),u((a==null?void 0:a.dateRange)??r??l)},[o,f]),N(()=>{h?t&&S(t.to):S(t==null?void 0:t.to)},[h]);let B=(a,Y)=>{let D=(t==null?void 0:t.from)&&(t==null?void 0:t.to)?{from:Y}:a;u(D),n(void 0),(D==null?void 0:D.from)&&(D==null?void 0:D.to)&&(i==null||i(D),d(!1))},Q=a=>{u(a.dateRange),n(a),i==null||i(a.dateRange,a),d(!1)},V=()=>{u(L),d(!1)},z=a=>{a||V(),d(a)},G=q(()=>t?`${t.from?k(t.from,b):""} - ${t.to?k(t.to,b):""}`:null,[t,b]);return m(I.Provider,{value:{isOpen:h,setIsOpen:d},children:m(C,{align:R,openPopover:h,setOpenPopover:z,popoverContentClassName:"rounded-xl",content:m("div",{className:"flex w-full",children:Z("div",{className:"scrollbar-hide flex w-full flex-col overflow-x-scroll sm:flex-row-reverse sm:items-start",children:[o&&o.length>0&&m("div",{className:O("relative flex h-16 w-full items-center sm:h-full sm:w-48","border-b border-gray-200 sm:border-b-0 sm:border-l","scrollbar-hide overflow-auto"),children:m("div",{className:"absolute px-3 sm:inset-0 sm:left-0 sm:p-3",children:m(F,{currentValue:t,presets:o,onSelect:Q})})}),m("div",{className:"scrollbar-hide overflow-x-scroll",children:m(T,{mode:"range",selected:t,onSelect:B,month:A,onMonthChange:S,numberOfMonths:x?2:1,disabled:y,disableNavigation:P,showYearNavigation:w,locale:b,className:"scrollbar-hide overflow-x-scroll",classNames:{months:"flex flex-row divide-x divide-gray-200 overflow-x-scroll scrollbar-hide"},...c})})]})}),children:m(H,{placeholder:e,disabled:g,className:$,hasError:v,"aria-required":c.required||c["aria-required"],"aria-invalid":c["aria-invalid"],"aria-label":c["aria-label"],"aria-labelledby":c["aria-labelledby"],children:(s==null?void 0:s.label)??G})})})};function ge({presets:r,...l}){return r&&U(r,l),m(X,{presets:r,...l})}export{I as a,ge as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{e as N}from"./chunk-B7UDTK22.mjs";import{a as x}from"./chunk-5IGQNAQY.mjs";import{a as v}from"./chunk-YDTTMIZG.mjs";import{a as b}from"./chunk-3SWT3ZWS.mjs";import{a as y}from"./chunk-KUEWPGVX.mjs";import{a as h}from"./chunk-ALEYOCBW.mjs";import{a as f}from"./chunk-X34KS7RS.mjs";import{b as o,i as n,k as d,m as g,n as p}from"./chunk-G242M5FF.mjs";import C from"next/image";import s from"next/link";import{useParams as T}from"next/navigation";import{useEffect as F,useState as _}from"react";import D from"swr";import{jsx as e,jsxs as r}from"react/jsx-runtime";var m={features:x.map(({title:t,href:a})=>({name:t,href:a})),product:[{name:"Blog",href:"/blog"},{name:"Brand",href:"/brand"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"}],compare:p.map(({name:t,slug:a})=>({name:t,href:`/compare/${a}`})),legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:g.map(({name:t,slug:a})=>({name:t,href:`/tools/${a}`}))};function R(){let{domain:t="dub.co"}=T();return e("footer",{children:r(v,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-6",children:[r(s,{href:o("/",t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:"Logo"}),className:"block max-w-fit",children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(N,{className:"h-8 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),r("div",{className:"flex items-center space-x-3",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(h,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),r("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e(P,{})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.features.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.product.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{className:"flex flex-col space-y-8",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.compare.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.legal.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.tools.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]})]})]}),e(C,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function P(){let{data:t}=D("https://status.dub.co/api/v1/summary",d),[a,l]=_("bg-gray-200"),[i,c]=_("Loading status...");return F(()=>{if(!t)return;let{ongoing_incidents:u}=t;if(u.length>0){let{current_worst_impact:w,name:k}=u[0],L=w==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(k),l(L)}else c("All systems operational"),l("bg-green-500")},[t]),r(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[r("div",{className:"relative h-3 w-3",children:[e("div",{className:n("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",a,i==="Loading status..."&&"animate-none")}),e("div",{className:n("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",a)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{R as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as F}from"./chunk-3QY3W3M7.mjs";import{i as r}from"./chunk-DGDXBKHW.mjs";import{cva as L}from"class-variance-authority";import{UploadCloud as M}from"lucide-react";import{useState as h}from"react";import{toast as N}from"sonner";import{Fragment as k,jsx as t,jsxs as u}from"react/jsx-runtime";var d={any:{types:[]},images:{types:["image/png","image/jpeg"],errorMessage:"File type not supported (.png or .jpg only)"},csv:{types:["text/csv"],errorMessage:"File type not supported (.csv only)"}},V=L("group relative isolate flex aspect-[1200/630] w-full flex-col items-center justify-center overflow-hidden bg-white transition-all hover:bg-gray-50",{variants:{variant:{default:"rounded-md border border-gray-300 shadow-sm",plain:""}},defaultVariants:{variant:"default"}});function K({readFile:x,onChange:s,variant:w,className:D,iconClassName:P,accept:l="any",imageSrc:n,loading:R=!1,clickToUpload:p=!0,showHoverOverlay:U=!0,content:g,maxFileSizeMB:c=0,accessibilityLabel:j="File upload",disabled:a=!1}){let[f,i]=h(!1),[T,z]=h(null),y=async e=>{let o="dataTransfer"in e?e.dataTransfer.files&&e.dataTransfer.files[0]:e.target.files&&e.target.files[0];if(!o)return;if(z(o.name),c>0&&o.size/1024/1024>c){N.error(`File size too big (max ${c} MB)`);return}let m=d[l].types;if(m.length&&!m.includes(o.type)){N.error(d[l].errorMessage??"File type not supported");return}if(x){let v=new FileReader;v.onload=E=>{var b;return s==null?void 0:s({src:(b=E.target)==null?void 0:b.result,file:o})},v.readAsDataURL(o);return}s==null||s({file:o})};return u("label",{className:r(V({variant:w}),a?"cursor-not-allowed":r(p&&"cursor-pointer"),D),children:[R&&t("div",{className:"absolute inset-0 z-[5] flex items-center justify-center rounded-[inherit] bg-white",children:t(F,{})}),t("div",{className:"absolute inset-0 z-[5]",onDragOver:e=>{e.preventDefault(),e.stopPropagation(),i(!0)},onDragEnter:e=>{e.preventDefault(),e.stopPropagation(),i(!0)},onDragLeave:e=>{e.preventDefault(),e.stopPropagation(),i(!1)},onDrop:async e=>{e.preventDefault(),e.stopPropagation(),y(e),i(!1)}}),u("div",{className:r("absolute inset-0 z-[3] flex flex-col items-center justify-center rounded-[inherit] bg-white transition-all",a&&"bg-gray-50",f&&!a&&"cursor-copy border-2 border-black bg-gray-50 opacity-100",n?r("opacity-0",U&&!a&&"group-hover:opacity-100"):r(!a&&"group-hover:bg-gray-50")),children:[t(M,{className:r("size-7 transition-all duration-75",a?"text-gray-400":r("text-gray-500 group-hover:scale-110 group-active:scale-95",f?"scale-110":"scale-100"),P)}),g!==null&&t("div",{className:r("mt-2 text-center text-sm text-gray-500",a&&"text-gray-400"),children:g??t(k,{children:u("p",{children:["Drag and drop ",p&&"or click"," to upload."]})})}),t("span",{className:"sr-only",children:j})]}),n&&t("img",{src:n,alt:"Preview",className:"h-full w-full rounded-[inherit] object-cover"}),p&&t("div",{className:"sr-only mt-1 flex shadow-sm",children:t("input",{type:"file",accept:d[l].types.join(","),onChange:y,disabled:a},T)})]})}export{K as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as t}from"./chunk-FP6EDWNF.mjs";import{a as o}from"./chunk-QC6GZ7KR.mjs";import{i as m,o as s}from"./chunk-NXVJUHWM.mjs";import{jsx as e}from"react/jsx-runtime";function n({apexDomain:r,className:l}){return r?e(t,{src:`${m}${r}`,alt:r,className:s("h-8 w-8 rounded-full sm:h-10 sm:w-10",l),width:20,height:20,draggable:!1}):e("div",{className:s("flex h-8 w-8 items-center justify-center rounded-full bg-gray-100 px-0 sm:h-10 sm:w-10",l),children:e(o,{className:"h-4 w-4 text-gray-600 sm:h-5 sm:w-5"})})}export{n as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as U}from"./chunk-Y7YBQADB.mjs";import{a as q}from"./chunk-A4SAPFEG.mjs";import{c as C}from"./chunk-6WWGKXOZ.mjs";import{a as H}from"./chunk-XDZ5GOJM.mjs";import{a as I}from"./chunk-DTJX6CJZ.mjs";import{a as F}from"./chunk-NWME2ANF.mjs";import{i as T}from"./chunk-DGDXBKHW.mjs";import{enUS as Z}from"date-fns/locale";import{useEffect as N,useMemo as B,useState as S}from"react";import{format as M}from"date-fns";import{createContext as W}from"react";var A=W({isOpen:!1,setIsOpen:()=>{}}),X=()=>{let a=typeof window<"u"?window.navigator.language:"en-US",l=new Intl.DateTimeFormat(a,{hour:"numeric"}).format();return Number.isInteger(Number(l))},Y=(a,l,s=!1)=>{let i=!X(),e;return s?e=i?M(a,"d MMM, yyyy h:mm a",{locale:l}):M(a,"d MMM, yyyy HH:mm",{locale:l}):e=M(a,"d MMM, yyyy",{locale:l}),e},L=(a,l)=>{let{toYear:s,fromYear:i,fromMonth:e,toMonth:h,fromDay:y,toDay:P}=l;if(a&&a.length>0){let v=i,u=s;a.forEach(t=>{var R,$,x,g,E,D;if("date"in t){let d=t.date.getFullYear();if(i&&d<i)throw new Error(`Preset ${t.label} is before fromYear ${v}.`);if(s&&d>s)throw new Error(`Preset ${t.label} is after toYear ${u}.`);if(e&&t.date.getMonth()<e.getMonth())throw new Error(`Preset ${t.label} is before fromMonth ${e}.`);if(h&&t.date.getMonth()>h.getMonth())throw new Error(`Preset ${t.label} is after toMonth ${h}.`);if(y&&t.date.getDate()<y.getDate())throw new Error(`Preset ${t.label} is before fromDay ${y}.`);if(P&&t.date.getDate()>P.getDate())throw new Error(`Preset ${t.label} is after toDay ${M(P,"MMM dd, yyyy")}.`)}if("dateRange"in t){let d=(R=t.dateRange.from)==null?void 0:R.getFullYear(),f=($=t.dateRange.to)==null?void 0:$.getFullYear();if(d&&i&&d<i)throw new Error(`Preset ${t.label}'s 'from' is before fromYear ${v}.`);if(f&&s&&f>s)throw new Error(`Preset ${t.label}'s 'to' is after toYear ${u}.`);if(e){let n=(x=t.dateRange.from)==null?void 0:x.getMonth();if(n&&n<e.getMonth())throw new Error(`Preset ${t.label}'s 'from' is before fromMonth ${M(e,"MMM, yyyy")}.`)}if(h){let n=(g=t.dateRange.to)==null?void 0:g.getMonth();if(n&&n>h.getMonth())throw new Error(`Preset ${t.label}'s 'to' is after toMonth ${M(h,"MMM, yyyy")}.`)}if(y){let n=(E=t.dateRange.from)==null?void 0:E.getDate();if(n&&n<y.getDate())throw new Error(`Preset ${t.dateRange.from}'s 'from' is before fromDay ${M(y,"MMM dd, yyyy")}.`)}if(P){let n=(D=t.dateRange.to)==null?void 0:D.getDate();if(n&&n>P.getDate())throw new Error(`Preset ${t.label}'s 'to' is after toDay ${M(P,"MMM dd, yyyy")}.`)}}})}};import{jsx as m,jsxs as j}from"react/jsx-runtime";var _=({value:a,defaultValue:l,presetId:s,onChange:i,presets:e,disabled:h,disableNavigation:y,disabledDays:P,showYearNavigation:v=!1,locale:u=Z,placeholder:t="Select date range",hasError:R,align:$="center",className:x,...g})=>{let{isDesktop:E}=F(),[D,d]=S(!1),[f,n]=S(e&&s?e==null?void 0:e.find(({id:r})=>r===s):void 0),[o,w]=S((f==null?void 0:f.dateRange)??a??l??void 0),[K,k]=S(o==null?void 0:o.to),Q=B(()=>o,[D]);N(()=>{w(a)},[a]),N(()=>{let r=e==null?void 0:e.find(({id:b})=>b===s);n(r),w((r==null?void 0:r.dateRange)??a??l)},[e,s]),N(()=>{D?o&&k(o.to):k(o==null?void 0:o.to)},[D]);let V=(r,b)=>{let c=(o==null?void 0:o.from)&&(o==null?void 0:o.to)?{from:b}:r;w(c),n(void 0),(c==null?void 0:c.from)&&(c==null?void 0:c.to)&&(i==null||i(c),d(!1))},O=r=>{w(r.dateRange),n(r),i==null||i(r.dateRange,r),d(!1)},z=()=>{w(Q),d(!1)},G=r=>{r||z(),d(r)},J=B(()=>o?`${o.from?Y(o.from,u):""} - ${o.to?Y(o.to,u):""}`:null,[o,u]);return C((e==null?void 0:e.filter(r=>r.shortcut).map(r=>r.shortcut))??[],r=>{let b=e==null?void 0:e.find(c=>c.shortcut===r.key);b&&O(b)}),m(A.Provider,{value:{isOpen:D,setIsOpen:d},children:m(I,{align:$,openPopover:D,setOpenPopover:G,popoverContentClassName:"rounded-xl",content:m("div",{className:"flex w-full",children:j("div",{className:"scrollbar-hide flex w-full flex-col overflow-x-scroll sm:flex-row-reverse sm:items-start",children:[e&&e.length>0&&m("div",{className:T("relative flex h-16 w-full items-center sm:h-full sm:w-48","border-b border-gray-200 sm:border-b-0 sm:border-l","scrollbar-hide overflow-auto"),children:m("div",{className:"absolute px-3 sm:inset-0 sm:left-0 sm:p-3",children:m(U,{currentValue:o,presets:e,onSelect:O})})}),m("div",{className:"scrollbar-hide overflow-x-scroll",children:m(H,{mode:"range",selected:o,onSelect:V,month:K,onMonthChange:k,numberOfMonths:E?2:1,disabled:P,disableNavigation:y,showYearNavigation:v,locale:u,className:"scrollbar-hide overflow-x-scroll",classNames:{months:"flex flex-row divide-x divide-gray-200 overflow-x-scroll scrollbar-hide"},...g})})]})}),children:m(q,{placeholder:t,disabled:h,className:x,hasError:R,"aria-required":g.required||g["aria-required"],"aria-invalid":g["aria-invalid"],"aria-label":g["aria-label"],"aria-labelledby":g["aria-labelledby"],children:(f==null?void 0:f.label)??J})})})};function he({presets:a,...l}){return a&&L(a,l),m(_,{presets:a,...l})}export{A as a,he as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as n}from"./chunk-GV2NLM3E.mjs";import{a as s}from"./chunk-IGIB6XZB.mjs";import{a as o}from"./chunk-GYE7FFDN.mjs";import{a as c}from"./chunk-WDAMFRJJ.mjs";import{i as r}from"./chunk-QSMIB34W.mjs";import{cva as g}from"class-variance-authority";import{jsx as f,jsxs as m}from"react/jsx-runtime";var d=g("flex gap-1.5 items-center max-w-fit rounded-md px-2 py-1 text-xs font-medium whitespace-nowrap",{variants:{variant:{neutral:"bg-gray-500/[.15] text-gray-600",success:"bg-green-500/[.15] text-green-600",pending:"bg-orange-500/[.15] text-orange-600",error:"bg-red-500/[.15] text-red-600"}},defaultVariants:{variant:"neutral"}}),u={neutral:o,success:n,pending:s,error:c};function B({className:i,variant:e,icon:t,children:l,...p}){let a=t!==null?t??u[e??"neutral"]:null;return m("span",{className:r(d({variant:e}),i),...p,children:[a&&f(a,{className:"h-3 w-3 shrink-0"}),l]})}export{d as a,B as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as l}from"./chunk-KGQWA5H2.mjs";import{a as s}from"./chunk-N3FEOS5Y.mjs";import{i as r}from"./chunk-QSMIB34W.mjs";import{cva as y}from"class-variance-authority";import{forwardRef as x}from"react";import{jsx as o,jsxs as u}from"react/jsx-runtime";var h=y("transition-all",{variants:{variant:{primary:"border-black bg-black text-white hover:bg-gray-800 hover:ring-4 hover:ring-gray-200",secondary:r("border-gray-200 bg-white text-gray-900 hover:bg-gray-50 focus-visible:border-gray-500 outline-none","data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200"),outline:"border-transparent text-gray-500 duration-75 hover:bg-gray-100",success:"border-blue-500 bg-blue-500 text-white hover:bg-blue-600 hover:ring-4 hover:ring-blue-100",danger:"border-red-500 bg-red-500 text-white hover:bg-red-600 hover:ring-4 hover:ring-red-100","danger-outline":"border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white"}},defaultVariants:{variant:"primary"}}),m=x(({text:n,variant:e="primary",className:d,loading:g,icon:i,shortcut:t,disabledTooltip:b,...a},p)=>b?o(l,{content:b,children:u("div",{className:r("flex h-10 w-full cursor-not-allowed items-center justify-center gap-x-2 rounded-md border border-gray-200 bg-gray-100 px-4 text-left text-sm text-gray-400 transition-all focus:outline-none",{"border-transparent bg-transparent":e==null?void 0:e.endsWith("outline")},d),children:[i,n&&o("div",{className:r("min-w-0 grow truncate",t&&"flex-1"),children:n}),t&&o("kbd",{className:r("hidden rounded bg-gray-200 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",{"bg-gray-100":e==null?void 0:e.endsWith("outline")}),children:t})]})}):u("button",{ref:p,type:a.onClick?"button":"submit",className:r("group flex h-10 w-full items-center justify-center gap-2 whitespace-nowrap rounded-md border px-4 text-left text-sm",a.disabled||g?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":h({variant:e}),d),disabled:a.disabled||g,...a,children:[g?o(s,{}):i||null,n&&o("div",{className:r("min-w-0 grow truncate",t&&"flex-1"),children:n}),t&&o("kbd",{className:r("hidden rounded px-2 py-0.5 text-xs font-light transition-all duration-75 md:inline-block",{"bg-gray-700 text-gray-400 group-hover:bg-gray-600 group-hover:text-gray-300":e==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="secondary","bg-gray-100 text-gray-500 group-hover:bg-gray-200":e==="outline","bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":e==="danger-outline"}),children:t})]}));m.displayName="Button";export{h as a,m as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{o as a}from"./chunk-NXVJUHWM.mjs";import*as i from"@radix-ui/react-radio-group";import{Circle as p}from"lucide-react";import*as m from"react";import{jsx as e}from"react/jsx-runtime";var s=m.forwardRef(({className:o,...r},t)=>e(i.Root,{className:a("grid gap-2",o),...r,ref:t}));s.displayName=i.Root.displayName;var d=m.forwardRef(({className:o,...r},t)=>e(i.Item,{ref:t,className:a("border-primary text-primary ring-offset-background focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",o),...r,children:e(i.Indicator,{className:"flex items-center justify-center",children:e(p,{className:"h-2.5 w-2.5 fill-current text-current"})})}));d.displayName=i.Item.displayName;export{s as a,d as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as T}from"./chunk-GVBIGY6N.mjs";import{a as A}from"./chunk-NWME2ANF.mjs";import{a as O}from"./chunk-WWAEYN7A.mjs";import{b as E}from"./chunk-6T634WQ7.mjs";import{i as g}from"./chunk-DGDXBKHW.mjs";import{flip as G,offset as J,size as U,useDismiss as W,useFloating as Y,useInteractions as Z}from"@floating-ui/react";import{Command as i,useCommandState as ee}from"cmdk";import{Check as te,ChevronDown as ae,Search as w,X as oe}from"lucide-react";import{createContext as re,forwardRef as se,useContext as L,useEffect as N,useMemo as le,useRef as F,useState as C}from"react";import{Drawer as f}from"vaul";import{jsx as e,jsxs as o}from"react/jsx-runtime";var v=re({inputAttrs:{},openCommandList:!1,setOpenCommandList:()=>{},inputValue:"",setInputValue:()=>{},disabled:!1,selectedItem:null,setSelectedItem:()=>{}});function we({items:r,selectedItem:a,setSelectedItem:d,className:s,disabled:t,adjustForMobile:u,icon:b,inputAttrs:x,noItemsElement:p}){let l=F(null),[c,y]=C(!1),[n,P]=C(""),[D,M]=C(!1);N(()=>{c&&M(!1)},[c]),N(()=>M(!0),[n]),N(()=>{a&&P(a.value)},[a]);let k=le(()=>{let m=n.toLowerCase();return D?r.filter(h=>h.value.toLowerCase().includes(m)):n?r.sort((h,q)=>(q.value.toLowerCase().includes(m)?1:0)-(h.value.toLowerCase().includes(m)?1:0)):r},[D,n,r]),{refs:R,floatingStyles:j,context:z}=Y({open:c,onOpenChange:y,middleware:[J(8),U({apply({elements:{floating:m},availableHeight:h}){Object.assign(m.style,{maxHeight:`${Math.max(75,Math.min(h,290))}px`})},padding:8}),G({fallbackStrategy:"initialPlacement",padding:8})]}),B=W(z),{getReferenceProps:K,getFloatingProps:$}=Z([B]),V=F(null),{scrollProgress:Q,updateScrollProgress:X}=T(V),{isMobile:_}=A();return e(v.Provider,{value:{inputAttrs:x||{},openCommandList:c,setOpenCommandList:y,inputValue:n,setInputValue:P,disabled:Boolean(t),selectedItem:a,setSelectedItem:d},children:_&&u?o(f.Root,{open:c,onOpenChange:y,children:[e(f.Trigger,{className:"sm:hidden",asChild:!0,children:e(i,{ref:l,className:"relative",shouldFilter:!1,loop:!0,children:o("div",{className:g("group relative rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500 md:min-w-[140px]",s),children:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:a&&a.image?e("img",{src:a.image,alt:a.value,className:"h-4 w-4 rounded-full"}):b||e(w,{className:"h-4 w-4 text-gray-400"})}),o("div",{className:"flex h-10 px-8",children:[e(S,{}),e(I,{})]})]})})}),e(f.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),o(f.Portal,{children:[e(f.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-lg border-t border-gray-200 bg-white",children:o(i,{ref:l,className:"relative",shouldFilter:!1,loop:!0,children:[o("div",{className:g("group relative mb-2 rounded-t-md border-b border-gray-300 bg-white p-1 sm:border sm:py-0 sm:focus-within:border-gray-500 sm:focus-within:ring-1 sm:focus-within:ring-gray-200",s),children:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:a&&a.image?e("img",{src:a.image,alt:a.value,className:"h-4 w-4 rounded-full"}):b||e(w,{className:"h-4 w-4 text-gray-400"})}),o("div",{className:"flex h-10 px-8",children:[e(S,{}),e(I,{})]})]}),c&&o(i.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[r.length===0&&n===""&&(p?e("div",{children:p}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),n!==""&&e(i.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),e(H,{items:k})]})]})}),e(f.Overlay,{})]})]}):o(i,{ref:l,className:"relative",shouldFilter:!1,loop:!0,children:[o("div",{className:g("group rounded-md border border-gray-200 bg-white px-1 transition-all focus-within:border-gray-500 focus-within:ring-4 focus-within:ring-gray-200",s),children:[e("div",{onClick:()=>y(m=>!m),className:"absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-gray-400",children:a&&a.image?e("img",{src:a.image,alt:a.value,className:"h-4 w-4 rounded-full"}):b||e(w,{className:"h-4 w-4 text-gray-400"})}),o("div",{className:"flex h-10 px-8",children:[e(S,{ref:R.setReference,...K()}),e(I,{})]})]}),c&&o("div",{ref:R.setFloating,style:j,...$(),className:"z-20 flex w-full min-w-[160px] flex-col overflow-hidden rounded-md border border-gray-200 bg-white shadow-md",children:[o("div",{ref:V,onScroll:X,className:"grow overflow-y-auto p-2",children:[o(i.List,{children:[r.length===0&&n===""&&(p?e("div",{children:p}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),n!==""&&e(i.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."})]}),e(H,{items:k})]}),e("div",{className:"pointer-events-none absolute bottom-0 left-0 hidden h-16 w-full bg-gradient-to-t from-white sm:block",style:{opacity:1-Math.pow(Q,2)}})]})]})})}var S=se((r,a)=>{let d=ee(l=>l.filtered.count===0),{inputAttrs:s,openCommandList:t,setOpenCommandList:u,inputValue:b,setInputValue:x,disabled:p}=L(v);return e(i.Input,{ref:a,placeholder:(s==null?void 0:s.placeholder)||"Search...",autoFocus:t,onFocus:()=>u(!0),value:b,onValueChange:x,onKeyDown:l=>{l.key==="Escape"?(l.preventDefault(),u(!1)):l.key==="Enter"&&d?u(!1):l.key.match(/^[a-z0-9]$/i)&&!l.metaKey&&u(!0)},disabled:p,className:"block w-full truncate rounded-md border-none px-0 text-base text-gray-900 placeholder-gray-400 outline-none outline-0 transition-all duration-300 focus:ring-0 md:text-sm"})});function I(){let{setSelectedItem:r,openCommandList:a,setOpenCommandList:d,inputValue:s,setInputValue:t}=L(v);return e("button",{onClick:()=>{d(u=>!u),r(null),t("")},className:"absolute inset-y-0 right-0 my-auto pr-3",children:s.length>0?e(oe,{className:"h-4 w-4 text-gray-400 transition-all hover:text-gray-700"}):e(ae,{className:g("h-4 w-4 text-gray-400 transition-all hover:text-gray-700",{"rotate-180 transform":a})})})}function H({items:r}){let{setSelectedItem:a,setOpenCommandList:d,setInputValue:s}=L(v);return r.map(t=>o(i.Item,{value:t.value,disabled:t.disabled,onSelect:()=>{a(t),s(t.value),d(!1)},className:"group flex cursor-pointer items-center justify-between rounded-md px-4 py-2 text-sm text-gray-900 hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200 aria-disabled:cursor-not-allowed aria-disabled:opacity-75 aria-disabled:hover:bg-white aria-selected:bg-gray-100 aria-selected:text-gray-900",children:[o("div",{className:"flex items-center space-x-2",children:[t.image&&e(O,{src:t.image,alt:t.value,className:"h-4 w-4 rounded-full",width:16,height:16}),e("p",{className:g("whitespace-nowrap py-0.5 text-sm",t.color&&"rounded-md px-2",t.color==="red"&&"bg-red-100 text-red-600",t.color==="yellow"&&"bg-yellow-100 text-yellow-600",t.color==="green"&&"bg-green-100 text-green-600",t.color==="blue"&&"bg-blue-100 text-blue-600",t.color==="purple"&&"bg-purple-100 text-purple-600",t.color==="brown"&&"bg-brown-100 text-brown-600"),children:t.value}),t.label&&e(E,{className:"text-xs",variant:"neutral",children:t.label})]}),e(te,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},t.id))}export{we as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as l}from"./chunk-PNE5L62P.mjs";import{a as s}from"./chunk-I7IXEJU3.mjs";import{o as r}from"./chunk-OKCPAQCJ.mjs";import{cva as y}from"class-variance-authority";import{forwardRef as x}from"react";import{jsx as o,jsxs as u}from"react/jsx-runtime";var h=y("transition-all",{variants:{variant:{primary:"border-black bg-black text-white hover:bg-gray-800 hover:ring-4 hover:ring-gray-200",secondary:r("border-gray-200 bg-white text-gray-900 hover:bg-gray-50 focus-visible:border-gray-500 outline-none","data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200"),outline:"border-transparent text-gray-500 duration-75 hover:bg-gray-100",success:"border-blue-500 bg-blue-500 text-white hover:bg-blue-600 hover:ring-4 hover:ring-blue-100",danger:"border-red-500 bg-red-500 text-white hover:bg-red-600 hover:ring-4 hover:ring-red-100","danger-outline":"border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white"}},defaultVariants:{variant:"primary"}}),m=x(({text:n,variant:e="primary",className:d,loading:g,icon:i,shortcut:t,disabledTooltip:b,...a},p)=>b?o(l,{content:b,children:u("div",{className:r("flex h-10 w-full cursor-not-allowed items-center justify-center gap-x-2 rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",{"border-transparent bg-transparent":e==null?void 0:e.endsWith("outline")},d),children:[i,n&&o("div",{className:r(t&&"flex-1 text-left"),children:n}),t&&o("kbd",{className:r("hidden rounded bg-gray-200 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",{"bg-gray-100":e==null?void 0:e.endsWith("outline")}),children:t})]})}):u("button",{ref:p,type:a.onClick?"button":"submit",className:r("group flex h-10 w-full items-center justify-center gap-2 whitespace-nowrap rounded-md border px-4 text-sm",a.disabled||g?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":h({variant:e}),d),disabled:a.disabled||g,...a,children:[g?o(s,{}):i||null,n&&o("div",{className:r(t&&"flex-1 text-left"),children:n}),t&&o("kbd",{className:r("hidden rounded px-2 py-0.5 text-xs font-light transition-all duration-75 md:inline-block",{"bg-gray-700 text-gray-400 group-hover:bg-gray-600 group-hover:text-gray-300":e==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="secondary","bg-gray-100 text-gray-500 group-hover:bg-gray-200":e==="outline","bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":e==="danger-outline"}),children:t})]}));m.displayName="Button";export{h as a,m as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as l,d as p}from"./chunk-ZJZGBIE4.mjs";import{a as n,c,d as u}from"./chunk-W4JJYMMJ.mjs";import{b as s,i as m}from"./chunk-DGDXBKHW.mjs";import{jsx as e,jsxs as d}from"react/jsx-runtime";function g({domain:o}){return d("div",{className:"grid w-[32rem] grid-cols-[5fr_3.5fr]",children:[d("div",{className:"p-5",children:[e("p",{className:m(n,"mb-2"),children:"Profiles"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:l.map(({icon:i,title:r,description:t,href:a})=>e(c,{href:s(a,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:r}),icon:e(u,{icon:i}),title:r,description:t}))})]}),d("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[e("p",{className:m(n,"mb-2"),children:"SDKs"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:p.map(({icon:i,iconClassName:r,title:t,href:a})=>e(c,{href:s(a,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:t}),icon:e(i,{className:m("h-5 w-5 shrink-0 text-gray-600 transition-colors dark:text-white/60",r)}),title:t,showArrow:!0},a))})]})]})}export{g as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as b}from"./chunk-6OVNFHXV.mjs";import{a as h}from"./chunk-4HCVFEQK.mjs";import{b as p,d as f,i,k as g}from"./chunk-QSMIB34W.mjs";import{ChevronDown as w,Menu as x,X as C}from"lucide-react";import r from"next/link";import{useParams as N}from"next/navigation";import{useEffect as _,useState as v}from"react";import z from"swr";import{Fragment as D,jsx as e,jsxs as s}from"react/jsx-runtime";function j({theme:n="light"}){let{domain:m="dub.co"}=N(),[a,o]=v(!1);_(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:t}=z(m==="dub.co"&&"/api/auth/session",g,{dedupingInterval:6e4});return s("div",{className:i(n==="dark"&&"dark"),children:[e("button",{onClick:()=>o(!a),className:i("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden dark:hover:bg-white/20 dark:active:bg-white/30",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(C,{className:"h-5 w-5 text-gray-600 dark:text-white/70"}):e(x,{className:"h-5 w-5 text-gray-600 dark:text-white/70"})}),e("nav",{className:i("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden dark:bg-black dark:text-white/70",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200 dark:divide-white/[0.15]",children:[b.map(({name:l,href:u,childItems:d},c)=>e(L,{name:l,href:u,childItems:d,setOpen:o},c)),t&&Object.keys(t).length>0?e("li",{className:"py-3",children:e(r,{href:f,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(D,{children:[e("li",{className:"py-3",children:e(r,{href:`${f}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(r,{href:`${f}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var L=({name:n,href:m,childItems:a,setOpen:o})=>{let{domain:t="dub.co"}=N(),[l,u]=v(!1);return a?e("li",{className:"py-3",children:s(h,{height:!0,children:[s("button",{className:"flex w-full justify-between",onClick:()=>u(!l),children:[e("p",{className:"font-semibold",children:n}),e(w,{className:i("h-5 w-5 text-gray-500 transition-all dark:text-white/50",l&&"rotate-180")})]}),l&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:a.map(({title:d,href:c,icon:y,iconClassName:k})=>s(r,{href:p(c,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:d}),onClick:()=>o(!1),className:"flex w-full space-x-2",children:[e(y,{className:i("h-5 w-5 text-gray-500 dark:text-white/80",k)}),e("span",{className:"text-sm",children:d})]},c))})]})}):m?e("li",{className:"py-3",children:e(r,{href:p(m,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:n}),onClick:()=>o(!1),className:"flex w-full font-semibold capitalize",children:n})}):null};export{j as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as b}from"./chunk-MR345C2K.mjs";import{o as s}from"./chunk-OKCPAQCJ.mjs";import{cva as L}from"class-variance-authority";import{UploadCloud as V}from"lucide-react";import{useState as F}from"react";import{toast as h}from"sonner";import{Fragment as M,jsx as t,jsxs as c}from"react/jsx-runtime";var d={any:{types:[]},images:{types:["image/png","image/jpeg"],errorMessage:"File type not supported (.png or .jpg only)"}},z=L("group relative isolate flex aspect-[1200/630] w-full flex-col items-center justify-center overflow-hidden bg-white transition-all hover:bg-gray-50",{variants:{variant:{default:"rounded-md border border-gray-300 shadow-sm",plain:""}},defaultVariants:{variant:"default"}});function J({readFile:N,onChange:r,variant:w,className:D,iconClassName:x,accept:i="any",imageSrc:l,loading:P=!1,clickToUpload:n=!0,showHoverOverlay:R=!0,content:u,maxFileSizeMB:p=0,accessibilityLabel:U="File upload"}){let[g,o]=F(!1),[j,T]=F(null),f=async e=>{let a="dataTransfer"in e?e.dataTransfer.files&&e.dataTransfer.files[0]:e.target.files&&e.target.files[0];if(!a)return;if(T(a.name),p>0&&a.size/1024/1024>p){h.error(`File size too big (max ${p} MB)`);return}let m=d[i].types;if(m.length&&!m.includes(a.type)){h.error(d[i].errorMessage??"File type not supported");return}if(N){let y=new FileReader;y.onload=E=>{var v;return r==null?void 0:r({src:(v=E.target)==null?void 0:v.result,file:a})},y.readAsDataURL(a);return}r==null||r({file:a})};return c("label",{className:s(z({variant:w}),n&&"cursor-pointer",D),children:[P&&t("div",{className:"absolute inset-0 z-[5] flex items-center justify-center rounded-[inherit] bg-white",children:t(b,{})}),t("div",{className:"absolute inset-0 z-[5]",onDragOver:e=>{e.preventDefault(),e.stopPropagation(),o(!0)},onDragEnter:e=>{e.preventDefault(),e.stopPropagation(),o(!0)},onDragLeave:e=>{e.preventDefault(),e.stopPropagation(),o(!1)},onDrop:async e=>{e.preventDefault(),e.stopPropagation(),f(e),o(!1)}}),c("div",{className:s("absolute inset-0 z-[3] flex flex-col items-center justify-center rounded-[inherit] bg-white transition-all",g&&"cursor-copy border-2 border-black bg-gray-50 opacity-100",l?s("opacity-0",R&&"group-hover:opacity-100"):"group-hover:bg-gray-50"),children:[t(V,{className:s("h-7 w-7 text-gray-500 transition-all duration-75 group-hover:scale-110 group-active:scale-95",g?"scale-110":"scale-100",x)}),u!==null&&t("div",{className:"mt-2 text-center text-sm text-gray-500",children:u??t(M,{children:c("p",{children:["Drag and drop ",n&&"or click"," to upload."]})})}),t("span",{className:"sr-only",children:U})]}),l&&t("img",{src:l,alt:"Preview",className:"h-full w-full rounded-[inherit] object-cover"}),n&&t("div",{className:"sr-only mt-1 flex shadow-sm",children:t("input",{type:"file",accept:d[i].types.join(","),onChange:f},j)})]})}export{J as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as b}from"./chunk-PC3JVDB5.mjs";import{b as h}from"./chunk-T6GXW64W.mjs";import{b as p,c as f,n as g,o as i}from"./chunk-OKCPAQCJ.mjs";import{ChevronDown as w,Menu as x,X as C}from"lucide-react";import r from"next/link";import{useParams as N}from"next/navigation";import{useEffect as _,useState as v}from"react";import z from"swr";import{Fragment as D,jsx as e,jsxs as s}from"react/jsx-runtime";function j({theme:n="light"}){let{domain:m="dub.co"}=N(),[a,o]=v(!1);_(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:t}=z(m==="dub.co"&&"/api/auth/session",g,{dedupingInterval:6e4});return s("div",{className:i(n==="dark"&&"dark"),children:[e("button",{onClick:()=>o(!a),className:i("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden dark:hover:bg-white/20 dark:active:bg-white/30",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(C,{className:"h-5 w-5 text-gray-600 dark:text-white/70"}):e(x,{className:"h-5 w-5 text-gray-600 dark:text-white/70"})}),e("nav",{className:i("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden dark:bg-black dark:text-white/70",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200 dark:divide-white/[0.15]",children:[b.map(({name:l,href:u,childItems:d},c)=>e(L,{name:l,href:u,childItems:d,setOpen:o},c)),t&&Object.keys(t).length>0?e("li",{className:"py-3",children:e(r,{href:f,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(D,{children:[e("li",{className:"py-3",children:e(r,{href:`${f}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(r,{href:`${f}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var L=({name:n,href:m,childItems:a,setOpen:o})=>{let{domain:t="dub.co"}=N(),[l,u]=v(!1);return a?e("li",{className:"py-3",children:s(h,{height:!0,children:[s("button",{className:"flex w-full justify-between",onClick:()=>u(!l),children:[e("p",{className:"font-semibold",children:n}),e(w,{className:i("h-5 w-5 text-gray-500 transition-all dark:text-white/50",l&&"rotate-180")})]}),l&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:a.map(({title:d,href:c,icon:y,iconClassName:k})=>s(r,{href:p(c,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:d}),onClick:()=>o(!1),className:"flex w-full space-x-2",children:[e(y,{className:i("h-5 w-5 text-gray-500 dark:text-white/80",k)}),e("span",{className:"text-sm",children:d})]},c))})]})}):m?e("li",{className:"py-3",children:e(r,{href:p(m,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:n}),onClick:()=>o(!1),className:"flex w-full font-semibold capitalize",children:n})}):null};export{j as a};
|