@alexgorbatchev/shadcn 0.0.48 → 0.0.49
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/README.md +64 -2
- package/dist/{chunk-snq5m541.js → chunk-02a3sgge.js} +3 -3
- package/dist/{chunk-mqea74ex.js → chunk-032fn19y.js} +2 -2
- package/dist/{chunk-tg5grn8f.js → chunk-056z8fc3.js} +2 -2
- package/dist/{chunk-fz2x6hvf.js → chunk-09x5ne2y.js} +4 -4
- package/dist/{chunk-0q9n4syq.js → chunk-0bwg27nq.js} +3 -3
- package/dist/{chunk-hyq4nwg2.js → chunk-0hq6rg7w.js} +1 -1
- package/dist/{chunk-6kygf29c.js → chunk-0jz2mp48.js} +2 -2
- package/dist/{chunk-fvg93469.js → chunk-0ybqnkcy.js} +1 -1
- package/dist/{chunk-m9rrhywc.js → chunk-10bcpsft.js} +6 -6
- package/dist/{chunk-cfnkbp0y.js → chunk-10vjajh7.js} +1 -1
- package/dist/{chunk-588wj6g4.js → chunk-11m1mwv4.js} +3 -3
- package/dist/{chunk-wnhxn2se.js → chunk-16qrkr8k.js} +1 -1
- package/dist/{chunk-c9ypcp4s.js → chunk-1f6p05qh.js} +5 -5
- package/dist/{chunk-d70rcwk7.js → chunk-1fzwfn11.js} +1 -1
- package/dist/{chunk-3wap1z7h.js → chunk-1k2g7rpj.js} +2 -2
- package/dist/{chunk-c4m53x5s.js → chunk-1wrsg75m.js} +1 -1
- package/dist/{chunk-zj30cfgx.js → chunk-1xgqshkv.js} +1 -1
- package/dist/{chunk-s3wqwhxc.js → chunk-228jkv3n.js} +1 -1
- package/dist/{chunk-f6rbv5gf.js → chunk-2b5f37wj.js} +3 -3
- package/dist/{chunk-kxx5fnpb.js → chunk-2fxzw0xc.js} +2 -2
- package/dist/{chunk-xq579zwh.js → chunk-2z53taz1.js} +1 -1
- package/dist/{chunk-a6mes7w0.js → chunk-31wptjv4.js} +52 -93
- package/dist/{chunk-wgxs6b5t.js → chunk-39q6906v.js} +1 -1
- package/dist/{chunk-s8ejm9d8.js → chunk-3b15harp.js} +1 -1
- package/dist/{chunk-6jw87d07.js → chunk-3gc5n7dc.js} +2 -2
- package/dist/{chunk-05shyxqp.js → chunk-3gxptxxs.js} +1 -1
- package/dist/{chunk-jhw9q2eq.js → chunk-3j9enr2q.js} +1 -1
- package/dist/{chunk-ybyx7vt4.js → chunk-3kw3nft7.js} +3 -3
- package/dist/{chunk-vfhztmet.js → chunk-3p6085ag.js} +1 -1
- package/dist/{chunk-fb6h4fzt.js → chunk-3qq9yhn2.js} +1 -1
- package/dist/{chunk-a82d9z1e.js → chunk-3qrvksfh.js} +1 -1
- package/dist/{chunk-fxfwgr5g.js → chunk-3rjm30tj.js} +7 -7
- package/dist/{chunk-e9756880.js → chunk-4143tbd7.js} +2 -2
- package/dist/{chunk-645dhey7.js → chunk-424xrf3x.js} +11 -9
- package/dist/{chunk-23jrbq6y.js → chunk-4531ygnr.js} +1 -1
- package/dist/{chunk-9de1htr5.js → chunk-4e96tpw0.js} +1 -1
- package/dist/{chunk-jgdpa00w.js → chunk-4t23yhc0.js} +2 -2
- package/dist/{chunk-wh7rmym5.js → chunk-4z3c9p9y.js} +3 -3
- package/dist/{chunk-1t959882.js → chunk-4zm4dn1a.js} +2 -2
- package/dist/{chunk-f08tw6hg.js → chunk-50ykf6dc.js} +2 -2
- package/dist/{chunk-zksbrzf6.js → chunk-51t02gb9.js} +3 -3
- package/dist/{chunk-rajgnfbr.js → chunk-52aadmkc.js} +1 -1
- package/dist/{chunk-srr328m4.js → chunk-58cpjhsr.js} +30 -15
- package/dist/{chunk-0twprqdp.js → chunk-5bq2j907.js} +3 -3
- package/dist/{chunk-7w8yemba.js → chunk-5jgfh8t9.js} +1 -1
- package/dist/{chunk-8k18tnap.js → chunk-5pgk9qar.js} +3 -3
- package/dist/{chunk-7mnba0d8.js → chunk-5rxjvjkq.js} +6 -6
- package/dist/{chunk-fky4t8cc.js → chunk-5tag5wg4.js} +9 -9
- package/dist/{chunk-xvmv0xm5.js → chunk-5wk6h8rc.js} +3 -3
- package/dist/{chunk-gbmvkt3q.js → chunk-62ggz655.js} +4 -4
- package/dist/{chunk-m0agthfm.js → chunk-65xd5we6.js} +2 -2
- package/dist/{chunk-23419f5j.js → chunk-6bsys2p8.js} +2 -2
- package/dist/{chunk-84gs32n6.js → chunk-6en4vrjc.js} +79 -48
- package/dist/{chunk-w1jm0rx3.js → chunk-6eseyyv3.js} +4 -4
- package/dist/{chunk-96x8wa8w.js → chunk-6gmarxhb.js} +2 -2
- package/dist/{chunk-vhm7fpav.js → chunk-6pj5fxa2.js} +10 -10
- package/dist/{chunk-v8gdzaxt.js → chunk-6wqp7xn4.js} +1 -1
- package/dist/{chunk-10t1w38s.js → chunk-70rxgqd7.js} +3 -3
- package/dist/{chunk-8xnjf4ef.js → chunk-737c03z9.js} +3 -3
- package/dist/{chunk-3xw5sdfk.js → chunk-73s0vkbs.js} +2 -2
- package/dist/{chunk-2mn2ctsk.js → chunk-7cq1s2ey.js} +1 -1
- package/dist/{chunk-ydfsxbrn.js → chunk-7dpp28jx.js} +2 -2
- package/dist/{chunk-79vgr8w9.js → chunk-7gjmprwx.js} +5 -5
- package/dist/{chunk-x6vx0v6d.js → chunk-7srpghny.js} +2 -2
- package/dist/{chunk-bnaejcfx.js → chunk-7v8ry91s.js} +2 -2
- package/dist/{chunk-0fmrwsgp.js → chunk-7vg045gd.js} +1 -1
- package/dist/{chunk-vyve5wf3.js → chunk-7vnpp3ya.js} +1 -1
- package/dist/{chunk-pws4vb8r.js → chunk-7yc7phbt.js} +3 -3
- package/dist/{chunk-cn1ns1xj.js → chunk-7zf1pehx.js} +2 -2
- package/dist/{chunk-77xfccfq.js → chunk-880zr7gb.js} +4 -4
- package/dist/{chunk-2krw4tjq.js → chunk-8b4gq4xb.js} +3 -3
- package/dist/{chunk-m71d0g7v.js → chunk-8gtsqm4v.js} +6 -6
- package/dist/{chunk-kbcprevc.js → chunk-8jyhvaer.js} +1 -1
- package/dist/{chunk-prp1x0by.js → chunk-8sktrf74.js} +1 -1
- package/dist/{chunk-ewhk1ze1.js → chunk-8vw7ycbs.js} +2 -2
- package/dist/{chunk-td7ra5d2.js → chunk-8w8mnk5h.js} +2 -2
- package/dist/{chunk-71efbr5n.js → chunk-8xk2zeg2.js} +1 -1
- package/dist/{chunk-60p7sagm.js → chunk-9ecf92s6.js} +1 -1
- package/dist/{chunk-1zbtg30t.js → chunk-9gdt00hm.js} +1 -1
- package/dist/{chunk-6jpz5geq.js → chunk-9n0axzd5.js} +3 -3
- package/dist/{chunk-wjx6zf94.js → chunk-9t530p75.js} +1 -1
- package/dist/{chunk-dfkzm4f1.js → chunk-9yjrw75r.js} +14 -14
- package/dist/{chunk-pa8yemp1.js → chunk-a1c1yrkz.js} +1 -1
- package/dist/{chunk-9qcqxp3v.js → chunk-a3n2jee5.js} +1 -1
- package/dist/{chunk-hj9avapz.js → chunk-ab932mya.js} +5 -5
- package/dist/{chunk-9vm8fks0.js → chunk-ajnmzqsv.js} +1 -1
- package/dist/{chunk-khkdgmvm.js → chunk-amdsd0g4.js} +1 -1
- package/dist/{chunk-ghz2g6j5.js → chunk-an661kn2.js} +3 -3
- package/dist/{chunk-06c2d8rd.js → chunk-b19nmr0m.js} +2 -2
- package/dist/{chunk-caz81rnv.js → chunk-b5s5y5wq.js} +1 -1
- package/dist/{chunk-5j39rehg.js → chunk-bcwbh20z.js} +1 -1
- package/dist/{chunk-38301e40.js → chunk-bd09gygt.js} +1 -1
- package/dist/{chunk-21ab0jsp.js → chunk-bf8kbj33.js} +1 -1
- package/dist/{chunk-h3qqt3rg.js → chunk-bgvjmnst.js} +3 -3
- package/dist/{chunk-x1598f0d.js → chunk-bkb7mahn.js} +3 -3
- package/dist/{chunk-jadf0xqn.js → chunk-brxk90eb.js} +2 -2
- package/dist/{chunk-ct6ayjkt.js → chunk-bxzbrzbb.js} +2 -2
- package/dist/{chunk-ngq209hr.js → chunk-cjx1ry29.js} +3 -3
- package/dist/{chunk-t97ts9df.js → chunk-d1z748rn.js} +1 -1
- package/dist/{chunk-1hy9rfvc.js → chunk-d1zj7xk2.js} +2 -2
- package/dist/{chunk-cn81dnqb.js → chunk-d93zpy8g.js} +1 -1
- package/dist/{chunk-mwzmmeeq.js → chunk-ddbc17b4.js} +1 -1
- package/dist/{chunk-d444bwwf.js → chunk-dq2s4vwc.js} +3 -3
- package/dist/{chunk-tbd56x4h.js → chunk-dvzs0424.js} +3 -3
- package/dist/{chunk-k6hfm259.js → chunk-dyg4pwcd.js} +1 -1
- package/dist/{chunk-f9twxy4y.js → chunk-e55n7tff.js} +2 -2
- package/dist/{chunk-f72tygjq.js → chunk-ee098znw.js} +2 -2
- package/dist/{chunk-dhmtrz6f.js → chunk-efm3b1py.js} +3 -3
- package/dist/{chunk-cp2m7y7v.js → chunk-en44w1pn.js} +3 -1
- package/dist/{chunk-tq0pfv5h.js → chunk-er6e5fj8.js} +1 -1
- package/dist/{chunk-gykrcxd1.js → chunk-f281m4a9.js} +1 -1
- package/dist/{chunk-m99hfsps.js → chunk-f2p7w894.js} +1 -1
- package/dist/{chunk-h5zhqdmb.js → chunk-f37ge3wq.js} +3 -3
- package/dist/{chunk-q7zc22qp.js → chunk-f4xwjhmy.js} +1 -1
- package/dist/{chunk-3t7h84te.js → chunk-f63kp4af.js} +3 -3
- package/dist/{chunk-x6zmnr8m.js → chunk-f6qkck8r.js} +6 -6
- package/dist/{chunk-2mswp6h1.js → chunk-f7cczxya.js} +4 -4
- package/dist/{chunk-y7tyyzfy.js → chunk-f97wwbfy.js} +3 -3
- package/dist/chunk-f9sm5zpv.js +47 -0
- package/dist/{chunk-v9r6zprz.js → chunk-fdhssr0q.js} +1 -1
- package/dist/{chunk-pj01ybcm.js → chunk-fjw7yyt3.js} +3 -3
- package/dist/{chunk-fba5hr7b.js → chunk-fm1b6e79.js} +2 -2
- package/dist/{chunk-83v2vma2.js → chunk-fnqc1181.js} +2 -2
- package/dist/{chunk-khtt3f21.js → chunk-fp4dkem8.js} +2 -2
- package/dist/{chunk-4gcpx4pm.js → chunk-fvg6symh.js} +2 -2
- package/dist/{chunk-1q30wk9x.js → chunk-g5dzh9rr.js} +3 -3
- package/dist/{chunk-6475gsta.js → chunk-g975kjdm.js} +2 -2
- package/dist/{chunk-xwf411kf.js → chunk-gb16cwpw.js} +2 -2
- package/dist/{chunk-axw1yqxz.js → chunk-gg37cyfd.js} +2 -2
- package/dist/{chunk-8jnfvgvk.js → chunk-ghv4vcae.js} +2 -2
- package/dist/{chunk-f9kdk0q4.js → chunk-gns8a3x5.js} +1 -1
- package/dist/{chunk-j2hawnp9.js → chunk-gremnsj0.js} +2 -2
- package/dist/{chunk-rr74321a.js → chunk-gx8z1f8n.js} +2 -2
- package/dist/{chunk-fgfaarep.js → chunk-h2hpkawe.js} +2 -2
- package/dist/{chunk-fkzh31y0.js → chunk-h7zgbreq.js} +1 -1
- package/dist/{chunk-jk941nke.js → chunk-h9tjva8p.js} +2 -2
- package/dist/{chunk-svz0farj.js → chunk-ha7g0gt2.js} +2 -2
- package/dist/{chunk-mtx71g1t.js → chunk-hkqjfk9w.js} +5 -5
- package/dist/{chunk-beywepck.js → chunk-hp9vkfh5.js} +2 -2
- package/dist/chunk-hpf8s83c.js +89 -0
- package/dist/{chunk-63gvcckp.js → chunk-hw988ram.js} +1 -1
- package/dist/{chunk-8r57zwqg.js → chunk-hyaz95gc.js} +1 -1
- package/dist/{chunk-7qwp41y5.js → chunk-j2zxqzta.js} +2 -2
- package/dist/{chunk-f63cr8mx.js → chunk-j6rp3w59.js} +1 -1
- package/dist/{chunk-s0ecp1mv.js → chunk-jbrt06va.js} +3 -3
- package/dist/{chunk-qmfxytfb.js → chunk-jhpeb72r.js} +3 -3
- package/dist/{chunk-svr3r7pj.js → chunk-jhvy8jay.js} +675 -174
- package/dist/{chunk-6fp821jv.js → chunk-jswxzynj.js} +2 -2
- package/dist/{chunk-nxkbx5r2.js → chunk-jvmm6k16.js} +2 -2
- package/dist/{chunk-bygq5yqf.js → chunk-k1f35j55.js} +1 -1
- package/dist/{chunk-w9jyajx3.js → chunk-k2t9ey7z.js} +1 -1
- package/dist/{chunk-efs4bk5b.js → chunk-k7cvfw0f.js} +1 -1
- package/dist/{chunk-4pae2b1z.js → chunk-k7gzvk6n.js} +1 -1
- package/dist/{chunk-ekbesw9t.js → chunk-kgqe8gpb.js} +1 -1
- package/dist/{chunk-7zyf9nnf.js → chunk-kxvn3eae.js} +2 -2
- package/dist/{chunk-3v95p5js.js → chunk-m0kavf2m.js} +1 -1
- package/dist/{chunk-jcxxjkqx.js → chunk-m32ptxf3.js} +1 -1
- package/dist/{chunk-vm3fzfnj.js → chunk-m37eyydy.js} +1 -1
- package/dist/chunk-m4geb1s5.js +30 -0
- package/dist/{chunk-7g1dx0bn.js → chunk-m6eb1thj.js} +1 -1
- package/dist/{chunk-ptgtqv1a.js → chunk-m98d89xc.js} +1 -1
- package/dist/{chunk-aahx2gyb.js → chunk-mc0788ah.js} +2 -2
- package/dist/{chunk-yabr2qx9.js → chunk-mmydm40x.js} +1 -1
- package/dist/{chunk-bt7ramb0.js → chunk-mxcfz56p.js} +3 -3
- package/dist/{chunk-hpmvzsnv.js → chunk-n2n7k3he.js} +1 -1
- package/dist/{chunk-vnxy5dtp.js → chunk-n8n3gp71.js} +1 -1
- package/dist/{chunk-dy4ghe9p.js → chunk-nay3qsgw.js} +5 -5
- package/dist/{chunk-v00z8h0n.js → chunk-nbpvngb8.js} +1 -1
- package/dist/{chunk-xfhk2vrw.js → chunk-nfbxyvht.js} +2 -2
- package/dist/{chunk-jwzg2twy.js → chunk-nj1sgtss.js} +3 -3
- package/dist/{chunk-e970kv8r.js → chunk-nk53z990.js} +2 -2
- package/dist/{chunk-smzhep9f.js → chunk-nnhn7kjq.js} +1 -1
- package/dist/{chunk-e9v481he.js → chunk-nrdc4t48.js} +3 -3
- package/dist/{chunk-bhejvd5q.js → chunk-ny54gm5e.js} +2 -2
- package/dist/{chunk-4k2jzddw.js → chunk-p33nbc0k.js} +1 -1
- package/dist/{chunk-q606kj28.js → chunk-p56he2j7.js} +1 -1
- package/dist/{chunk-zpcxr2r4.js → chunk-pq89m919.js} +2 -2
- package/dist/{chunk-0xqqs9kw.js → chunk-ps59anjd.js} +2 -2
- package/dist/{chunk-z8n03ra5.js → chunk-ptdr68cq.js} +3 -3
- package/dist/{chunk-wq8jxf31.js → chunk-pv379mp6.js} +4 -4
- package/dist/{chunk-zc60zhz7.js → chunk-q1fgpxfk.js} +1 -1
- package/dist/{chunk-2pzvxbq3.js → chunk-qff5s98n.js} +3 -3
- package/dist/{chunk-1hq2k0fs.js → chunk-qgwshegs.js} +3 -3
- package/dist/{chunk-m4wfy6n3.js → chunk-qnf643p0.js} +3 -3
- package/dist/{chunk-fpj82hex.js → chunk-qrjxx1x9.js} +2 -2
- package/dist/{chunk-tzred534.js → chunk-qzxz33rc.js} +1 -1
- package/dist/{chunk-1akz4hf3.js → chunk-r0g0gwv6.js} +1 -1
- package/dist/{chunk-zp3wrbve.js → chunk-r6bwsyxy.js} +2 -2
- package/dist/{chunk-vrs3371x.js → chunk-rgdesh1z.js} +4 -4
- package/dist/{chunk-n5ea9nv1.js → chunk-rpsf1cph.js} +4 -4
- package/dist/{chunk-5zyc28sc.js → chunk-rs5xh8wa.js} +3 -3
- package/dist/{chunk-14mh00z3.js → chunk-rxjxb4vy.js} +4 -4
- package/dist/{chunk-xgp1eyhr.js → chunk-rzd306rr.js} +4 -4
- package/dist/{chunk-kzar67tq.js → chunk-s2f3zzbb.js} +1 -1
- package/dist/{chunk-4e879g03.js → chunk-s3r5g3md.js} +2 -2
- package/dist/{chunk-r4jzz4f2.js → chunk-sp4g23m0.js} +1 -1
- package/dist/{chunk-dq6se94p.js → chunk-sqz2901w.js} +2 -2
- package/dist/{chunk-3ptcdy6g.js → chunk-sty5mqva.js} +2 -2
- package/dist/{chunk-53cmv2aj.js → chunk-t06g497x.js} +1 -1
- package/dist/{chunk-mcdqy5gt.js → chunk-t18hedpv.js} +2 -2
- package/dist/{chunk-e50068hn.js → chunk-t1zv81zn.js} +2 -2
- package/dist/{chunk-wkg0rssg.js → chunk-t36xxpry.js} +1 -1
- package/dist/{chunk-1xncv9gb.js → chunk-t3p4dn1p.js} +1 -1
- package/dist/{chunk-8q0xpeh4.js → chunk-t4y934a5.js} +1 -1
- package/dist/{chunk-vg2j5044.js → chunk-t5e0s8q6.js} +1 -1
- package/dist/{chunk-p6kw19sx.js → chunk-t6w8vcvf.js} +8 -8
- package/dist/{chunk-zte6pw69.js → chunk-tjn53x34.js} +1 -1
- package/dist/{chunk-h51gnkz8.js → chunk-tqrn8kq8.js} +2 -2
- package/dist/{chunk-cy1xv5nz.js → chunk-trwye0d6.js} +2 -2
- package/dist/{chunk-b3b2tvkg.js → chunk-tsvrzz9w.js} +1 -1
- package/dist/{chunk-wpa484a6.js → chunk-tw8f1ew4.js} +2 -2
- package/dist/{chunk-rtb0ejf0.js → chunk-v2bbs7s8.js} +1 -1
- package/dist/{chunk-v24aqtkt.js → chunk-v2wx2fz4.js} +2 -2
- package/dist/{chunk-0gwqtywa.js → chunk-v9kxtms1.js} +3 -3
- package/dist/{chunk-5h7xxnr7.js → chunk-vazxcmjt.js} +1 -1
- package/dist/{chunk-khgrv6k6.js → chunk-vjsnyvt7.js} +1 -1
- package/dist/{chunk-5fg2ns3n.js → chunk-vkay3k3s.js} +1 -1
- package/dist/{chunk-agy4dzea.js → chunk-vneyvqxe.js} +1 -1
- package/dist/{chunk-1sxpyjph.js → chunk-vq9yw85z.js} +4 -4
- package/dist/{chunk-5w279fsn.js → chunk-vqgw4xab.js} +5 -5
- package/dist/{chunk-5s6r4g8w.js → chunk-vqkfgdt6.js} +1 -1
- package/dist/{chunk-4c2sqyrp.js → chunk-vr1taabg.js} +1 -1
- package/dist/{chunk-nw8zvj83.js → chunk-vrreeywg.js} +1 -1
- package/dist/{chunk-48yhjpfs.js → chunk-vxazk4y0.js} +2 -2
- package/dist/{chunk-hxctrrkh.js → chunk-wrvxzfdb.js} +1 -1
- package/dist/{chunk-h0g7qkya.js → chunk-wtf2qczs.js} +1 -1
- package/dist/{chunk-xvgp05yg.js → chunk-wvap51y9.js} +1 -1
- package/dist/{chunk-gtebjkkz.js → chunk-wzgnj3s7.js} +5 -5
- package/dist/{chunk-hxg0pkj9.js → chunk-x0212x2e.js} +1 -1
- package/dist/{chunk-qv3b2jvc.js → chunk-x0p3g392.js} +2 -2
- package/dist/{chunk-1sqv5axv.js → chunk-x4rwh3pv.js} +1 -1
- package/dist/{chunk-8bxfp671.js → chunk-x805mg9x.js} +2 -2
- package/dist/{chunk-qky9999p.js → chunk-x8ftt0wm.js} +1 -1
- package/dist/{chunk-zdt8xxzy.js → chunk-x9qph1g4.js} +1 -1
- package/dist/{chunk-k01gpm23.js → chunk-xg439a2k.js} +1 -1
- package/dist/{chunk-2ye8evra.js → chunk-xk5f09gs.js} +1 -1
- package/dist/{chunk-ynkpdpn0.js → chunk-xw5992sc.js} +1 -1
- package/dist/{chunk-3b6ws9hk.js → chunk-xywttk96.js} +2 -2
- package/dist/{chunk-f28xnx55.js → chunk-y18e8eaz.js} +2 -2
- package/dist/{chunk-46tg5t7g.js → chunk-y2dn791x.js} +4 -4
- package/dist/{chunk-esrypw6g.js → chunk-ya4v4p8k.js} +2 -2
- package/dist/{chunk-kz9np152.js → chunk-ybs1waxw.js} +1 -1
- package/dist/{chunk-474fgeht.js → chunk-yeht7bxz.js} +2 -2
- package/dist/{chunk-4e1eq1t5.js → chunk-z0z9p92d.js} +3 -3
- package/dist/{chunk-5myr07fp.js → chunk-z15pn5a5.js} +2 -2
- package/dist/{chunk-p5x18ckg.js → chunk-zdp3bb9e.js} +1 -1
- package/dist/{chunk-kv1akmf5.js → chunk-zdpm4kf4.js} +2 -2
- package/dist/{chunk-ray29hdb.js → chunk-zk8enn91.js} +2 -2
- package/dist/{chunk-r7mfpkbb.js → chunk-zmygyj8h.js} +4 -4
- package/dist/{chunk-m7n2f6nf.js → chunk-zrgacdwr.js} +1 -1
- package/dist/{chunk-cvg5366s.js → chunk-zthc8ajd.js} +1 -1
- package/dist/{chunk-3g8p9apn.js → chunk-zyxzn7xf.js} +1 -1
- package/dist/components/AppShell.d.ts +16 -4
- package/dist/components/Container.d.ts +13 -0
- package/dist/components/Grid.d.ts +27 -0
- package/dist/components/Heading.d.ts +21 -0
- package/dist/components/ScrollArea.d.ts +3 -1
- package/dist/components/Stack.d.ts +22 -0
- package/dist/components/Table.d.ts +2 -1
- package/dist/components/Text.d.ts +25 -0
- package/dist/components/WeatherForecast.d.ts +19 -0
- package/dist/components/WeatherSummary.d.ts +32 -0
- package/dist/components/analytics/AnalyticsLink.d.ts +4 -3
- package/dist/components/assistant-ui/elements/AgentCard.js +3 -3
- package/dist/components/assistant-ui/elements/AgentHandoff.js +2 -2
- package/dist/components/assistant-ui/elements/AgentPlan.js +3 -3
- package/dist/components/assistant-ui/elements/AgentStatus.js +2 -2
- package/dist/components/assistant-ui/elements/ApprovalCard.js +3 -3
- package/dist/components/assistant-ui/elements/ArtifactCard.js +4 -4
- package/dist/components/assistant-ui/elements/AudioPlayer.js +3 -3
- package/dist/components/assistant-ui/elements/BackgroundInbox.js +4 -4
- package/dist/components/assistant-ui/elements/CanvasSplit.d.ts +9 -2
- package/dist/components/assistant-ui/elements/CanvasSplit.js +3 -3
- package/dist/components/assistant-ui/elements/Chart.js +4 -4
- package/dist/components/assistant-ui/elements/ChatPanel.js +6 -6
- package/dist/components/assistant-ui/elements/CheckpointHistory.js +3 -3
- package/dist/components/assistant-ui/elements/Citation.js +5 -5
- package/dist/components/assistant-ui/elements/CodeDiff.js +3 -3
- package/dist/components/assistant-ui/elements/CodeRunner.js +3 -3
- package/dist/components/assistant-ui/elements/CommandPalette.js +9 -9
- package/dist/components/assistant-ui/elements/ComparisonCard.js +2 -2
- package/dist/components/assistant-ui/elements/Composer.js +2 -2
- package/dist/components/assistant-ui/elements/ComposerActions.js +2 -2
- package/dist/components/assistant-ui/elements/ComposerAttachButton.js +3 -3
- package/dist/components/assistant-ui/elements/ComposerAttachmentChip.js +4 -4
- package/dist/components/assistant-ui/elements/ComposerAttachments.js +6 -6
- package/dist/components/assistant-ui/elements/ComposerBar.js +6 -6
- package/dist/components/assistant-ui/elements/ComposerCommandItem.js +5 -5
- package/dist/components/assistant-ui/elements/ComposerContext.js +5 -5
- package/dist/components/assistant-ui/elements/ComposerInput.js +6 -6
- package/dist/components/assistant-ui/elements/ComposerMenu.js +2 -2
- package/dist/components/assistant-ui/elements/ComposerMenuItem.js +4 -4
- package/dist/components/assistant-ui/elements/ComposerModelItem.js +5 -5
- package/dist/components/assistant-ui/elements/ComposerModelTrigger.js +3 -3
- package/dist/components/assistant-ui/elements/ComposerPersonItem.js +5 -5
- package/dist/components/assistant-ui/elements/ComposerSend.js +3 -3
- package/dist/components/assistant-ui/elements/ComposerToolbar.js +6 -6
- package/dist/components/assistant-ui/elements/ComposerVoice.js +3 -3
- package/dist/components/assistant-ui/elements/ComposerVoiceButton.js +3 -3
- package/dist/components/assistant-ui/elements/ComputerUse.js +2 -2
- package/dist/components/assistant-ui/elements/ConfidenceMarker.js +2 -2
- package/dist/components/assistant-ui/elements/ConnectionState.js +3 -3
- package/dist/components/assistant-ui/elements/ContextBreakdown.js +2 -2
- package/dist/components/assistant-ui/elements/ContextDisplay.js +9 -9
- package/dist/components/assistant-ui/elements/ContextDisplayBar.js +6 -6
- package/dist/components/assistant-ui/elements/ContextDisplayContent.js +3 -3
- package/dist/components/assistant-ui/elements/ContextDisplayRing.js +6 -6
- package/dist/components/assistant-ui/elements/ContextDisplayRoot.js +3 -3
- package/dist/components/assistant-ui/elements/ContextDisplayText.js +6 -6
- package/dist/components/assistant-ui/elements/ContextDisplayTrigger.js +3 -3
- package/dist/components/assistant-ui/elements/ConversationMap.js +3 -3
- package/dist/components/assistant-ui/elements/ConversationSearch.js +6 -6
- package/dist/components/assistant-ui/elements/CostMeter.js +2 -2
- package/dist/components/assistant-ui/elements/DataTable.js +7 -7
- package/dist/components/assistant-ui/elements/DaySeparator.js +2 -2
- package/dist/components/assistant-ui/elements/Diagram.js +3 -3
- package/dist/components/assistant-ui/elements/DiffViewer.js +13 -13
- package/dist/components/assistant-ui/elements/DiffViewerContent.js +2 -2
- package/dist/components/assistant-ui/elements/DiffViewerFile.js +2 -2
- package/dist/components/assistant-ui/elements/DiffViewerFileBadge.js +3 -3
- package/dist/components/assistant-ui/elements/DiffViewerHeader.js +6 -6
- package/dist/components/assistant-ui/elements/DiffViewerLine.js +3 -3
- package/dist/components/assistant-ui/elements/DiffViewerSplitLine.js +3 -3
- package/dist/components/assistant-ui/elements/DiffViewerStats.js +3 -3
- package/dist/components/assistant-ui/elements/DirectiveText.js +3 -3
- package/dist/components/assistant-ui/elements/DocumentReference.js +3 -3
- package/dist/components/assistant-ui/elements/DotMatrix.js +2 -2
- package/dist/components/assistant-ui/elements/DraftRestore.js +3 -3
- package/dist/components/assistant-ui/elements/EditMessage.js +8 -8
- package/dist/components/assistant-ui/elements/ElicitationForm.js +10 -10
- package/dist/components/assistant-ui/elements/EmptyState.js +3 -3
- package/dist/components/assistant-ui/elements/EmptyStateComposer.js +6 -6
- package/dist/components/assistant-ui/elements/EmptyStateGreeting.js +2 -2
- package/dist/components/assistant-ui/elements/EmptyStateSuggestion.js +3 -3
- package/dist/components/assistant-ui/elements/EmptyStateSuggestions.js +2 -2
- package/dist/components/assistant-ui/elements/ErrorState.js +4 -4
- package/dist/components/assistant-ui/elements/EveAskQuestion.js +5 -5
- package/dist/components/assistant-ui/elements/FeedbackDialog.js +9 -9
- package/dist/components/assistant-ui/elements/File.js +6 -6
- package/dist/components/assistant-ui/elements/FileTree.js +3 -3
- package/dist/components/assistant-ui/elements/FlowGraph.js +3 -3
- package/dist/components/assistant-ui/elements/GenerationLoader.js +3 -3
- package/dist/components/assistant-ui/elements/GenerativeUi.js +9 -8
- package/dist/components/assistant-ui/elements/GeoMap.d.ts +7 -2
- package/dist/components/assistant-ui/elements/GeoMap.js +4 -3
- package/dist/components/assistant-ui/elements/GuardrailNotice.js +4 -4
- package/dist/components/assistant-ui/elements/Image.js +5 -5
- package/dist/components/assistant-ui/elements/ImageGallery.js +5 -5
- package/dist/components/assistant-ui/elements/ImageGeneration.js +4 -4
- package/dist/components/assistant-ui/elements/InlineCitation.js +2 -2
- package/dist/components/assistant-ui/elements/JobProgress.js +4 -4
- package/dist/components/assistant-ui/elements/LauncherBubble.js +4 -4
- package/dist/components/assistant-ui/elements/LinkPreview.js +3 -3
- package/dist/components/assistant-ui/elements/MapAnswer.js +3 -3
- package/dist/components/assistant-ui/elements/MarkdownText.js +5 -5
- package/dist/components/assistant-ui/elements/MathBlock.js +2 -2
- package/dist/components/assistant-ui/elements/McpServerPanel.js +5 -5
- package/dist/components/assistant-ui/elements/MemoryChips.js +3 -3
- package/dist/components/assistant-ui/elements/MermaidDiagram.js +6 -6
- package/dist/components/assistant-ui/elements/MermaidZoom.js +4 -4
- package/dist/components/assistant-ui/elements/MessageActions.js +4 -4
- package/dist/components/assistant-ui/elements/MessageAttachments.js +3 -3
- package/dist/components/assistant-ui/elements/MessageBranches.js +3 -3
- package/dist/components/assistant-ui/elements/MessagePair.js +3 -3
- package/dist/components/assistant-ui/elements/MessageQueue.js +3 -3
- package/dist/components/assistant-ui/elements/MessageTiming.js +2 -2
- package/dist/components/assistant-ui/elements/MobileComposer.js +6 -6
- package/dist/components/assistant-ui/elements/ModelPicker.js +8 -8
- package/dist/components/assistant-ui/elements/ModelSelector.js +17 -17
- package/dist/components/assistant-ui/elements/ModelSelectorContent.js +14 -14
- package/dist/components/assistant-ui/elements/ModelSelectorEmpty.js +8 -8
- package/dist/components/assistant-ui/elements/ModelSelectorFocusAnchor.js +8 -8
- package/dist/components/assistant-ui/elements/ModelSelectorGroup.js +8 -8
- package/dist/components/assistant-ui/elements/ModelSelectorItem.js +8 -8
- package/dist/components/assistant-ui/elements/ModelSelectorList.js +10 -10
- package/dist/components/assistant-ui/elements/ModelSelectorRoot.js +3 -3
- package/dist/components/assistant-ui/elements/ModelSelectorSearch.js +8 -8
- package/dist/components/assistant-ui/elements/ModelSelectorSeparator.js +8 -8
- package/dist/components/assistant-ui/elements/ModelSelectorTrigger.js +3 -3
- package/dist/components/assistant-ui/elements/NumberRoll.js +2 -2
- package/dist/components/assistant-ui/elements/NumberTicker.js +2 -2
- package/dist/components/assistant-ui/elements/Onboarding.js +3 -3
- package/dist/components/assistant-ui/elements/OptionList.js +6 -6
- package/dist/components/assistant-ui/elements/OptionText.js +2 -2
- package/dist/components/assistant-ui/elements/PermissionGrant.js +3 -3
- package/dist/components/assistant-ui/elements/PromptLibrary.js +6 -6
- package/dist/components/assistant-ui/elements/QuestionFlow.js +7 -7
- package/dist/components/assistant-ui/elements/QuotaBanner.js +3 -3
- package/dist/components/assistant-ui/elements/QuoteReply.js +3 -3
- package/dist/components/assistant-ui/elements/ReadAloud.js +4 -4
- package/dist/components/assistant-ui/elements/ReasoningContent.js +3 -3
- package/dist/components/assistant-ui/elements/ReasoningEffort.js +4 -4
- package/dist/components/assistant-ui/elements/ReasoningFade.js +2 -2
- package/dist/components/assistant-ui/elements/ReasoningPanel.js +4 -4
- package/dist/components/assistant-ui/elements/ReasoningRoot.js +2 -2
- package/dist/components/assistant-ui/elements/ReasoningText.js +2 -2
- package/dist/components/assistant-ui/elements/ReasoningTrigger.js +2 -2
- package/dist/components/assistant-ui/elements/RecommendationCard.d.ts +15 -7
- package/dist/components/assistant-ui/elements/RecommendationCard.js +3 -3
- package/dist/components/assistant-ui/elements/RegenerateMenu.js +4 -4
- package/dist/components/assistant-ui/elements/ResearchReport.js +2 -2
- package/dist/components/assistant-ui/elements/RetrievalChunks.js +3 -3
- package/dist/components/assistant-ui/elements/ReviewableDiff.js +3 -3
- package/dist/components/assistant-ui/elements/RunActivity.js +2 -2
- package/dist/components/assistant-ui/elements/ScheduleCard.js +3 -3
- package/dist/components/assistant-ui/elements/ScoreBreakdown.js +3 -3
- package/dist/components/assistant-ui/elements/ScrollAnchor.js +2 -2
- package/dist/components/assistant-ui/elements/SettingsPanel.js +6 -6
- package/dist/components/assistant-ui/elements/SharedConversation.js +3 -3
- package/dist/components/assistant-ui/elements/ShikiHighlighter.js +2 -2
- package/dist/components/assistant-ui/elements/ShimmerLabel.js +2 -2
- package/dist/components/assistant-ui/elements/Sources.js +3 -3
- package/dist/components/assistant-ui/elements/SpeakerIdentity.js +2 -2
- package/dist/components/assistant-ui/elements/SpecSheet.js +2 -2
- package/dist/components/assistant-ui/elements/StoppedRun.js +3 -3
- package/dist/components/assistant-ui/elements/StreamingText.js +2 -2
- package/dist/components/assistant-ui/elements/SubagentList.js +3 -3
- package/dist/components/assistant-ui/elements/Suggestions.js +3 -3
- package/dist/components/assistant-ui/elements/SwapLabel.js +2 -2
- package/dist/components/assistant-ui/elements/TaskCard.js +4 -4
- package/dist/components/assistant-ui/elements/TaskStateIcon.js +2 -2
- package/dist/components/assistant-ui/elements/TerminalBlock.js +3 -3
- package/dist/components/assistant-ui/elements/ThinkingIndicator.js +3 -3
- package/dist/components/assistant-ui/elements/ThreadList.js +3 -3
- package/dist/components/assistant-ui/elements/ThreadSearch.js +6 -6
- package/dist/components/assistant-ui/elements/Timeline.d.ts +20 -11
- package/dist/components/assistant-ui/elements/Timeline.js +2 -2
- package/dist/components/assistant-ui/elements/TodoList.js +3 -3
- package/dist/components/assistant-ui/elements/ToolCall.js +4 -4
- package/dist/components/assistant-ui/elements/ToolError.js +3 -3
- package/dist/components/assistant-ui/elements/ToolGroup.js +3 -3
- package/dist/components/assistant-ui/elements/ToolTimeline.js +4 -4
- package/dist/components/assistant-ui/elements/TooltipIconButton.js +3 -3
- package/dist/components/assistant-ui/elements/TraceWaterfall.js +2 -2
- package/dist/components/assistant-ui/elements/TypingIndicator.js +2 -2
- package/dist/components/assistant-ui/elements/VideoPlayer.js +2 -2
- package/dist/components/assistant-ui/elements/VoiceConversation.js +3 -3
- package/dist/components/assistant-ui/elements/VoiceOrb.js +2 -2
- package/dist/components/assistant-ui/elements/WebPreview.js +4 -4
- package/dist/components/assistant-ui/elements/WebSearch.js +3 -3
- package/dist/components/assistant-ui/eveAskQuestionToolkit.js +6 -6
- package/dist/components/assistant-ui/index.js +206 -205
- package/dist/components/assistant-ui/native/AgentStatus.js +3 -3
- package/dist/components/assistant-ui/native/AssistantModal.js +26 -26
- package/dist/components/assistant-ui/native/AssistantSidebar.js +25 -25
- package/dist/components/assistant-ui/native/AttachmentPreview.js +6 -6
- package/dist/components/assistant-ui/native/ComposerTriggerPopover.js +2 -2
- package/dist/components/assistant-ui/native/ContextDisplay.js +11 -11
- package/dist/components/assistant-ui/native/ContextDisplayBar.js +8 -8
- package/dist/components/assistant-ui/native/ContextDisplayRing.js +8 -8
- package/dist/components/assistant-ui/native/ContextDisplayRoot.js +5 -5
- package/dist/components/assistant-ui/native/ContextDisplayRuntimeRoot.js +4 -4
- package/dist/components/assistant-ui/native/ContextDisplayText.js +8 -8
- package/dist/components/assistant-ui/native/ConversationMapAui.js +4 -4
- package/dist/components/assistant-ui/native/DirectiveText.js +4 -4
- package/dist/components/assistant-ui/native/McpConfigDialog.js +9 -9
- package/dist/components/assistant-ui/native/MermaidDiagram.js +7 -7
- package/dist/components/assistant-ui/native/MessageTiming.js +3 -3
- package/dist/components/assistant-ui/native/ModelSelector.js +19 -19
- package/dist/components/assistant-ui/native/Reasoning.js +11 -11
- package/dist/components/assistant-ui/native/Sources.js +4 -4
- package/dist/components/assistant-ui/native/SyntaxHighlighter.js +3 -3
- package/dist/components/assistant-ui/native/TaskCard.js +10 -10
- package/dist/components/assistant-ui/native/TaskGroup.js +11 -11
- package/dist/components/assistant-ui/native/TaskTray.js +5 -5
- package/dist/components/assistant-ui/native/Thread.js +23 -23
- package/dist/components/assistant-ui/native/ThreadList.js +5 -5
- package/dist/components/assistant-ui/native/ThreadListSidebar.js +9 -9
- package/dist/components/assistant-ui/native/ToolFallbackRoot.js +4 -4
- package/dist/components/assistant-ui/native/ToolGroup.js +2 -2
- package/dist/components/assistant-ui/native/VoiceConnectButton.js +3 -3
- package/dist/components/assistant-ui/native/VoiceControl.js +8 -8
- package/dist/components/assistant-ui/native/VoiceConversation.js +4 -4
- package/dist/components/assistant-ui/native/VoiceDisconnectButton.js +4 -4
- package/dist/components/assistant-ui/native/VoiceMuteButton.js +4 -4
- package/dist/components/assistant-ui/native/VoiceOrb.js +3 -3
- package/dist/components/assistant-ui/native/VoiceStatusDot.js +2 -2
- package/dist/components/assistant-ui/native/index.js +86 -86
- package/dist/components/calendar/index.js +4 -4
- package/dist/components/carousel/index.js +3 -3
- package/dist/components/chart/index.js +2 -2
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/command/index.js +7 -7
- package/dist/components/data-grid/index.js +16 -14
- package/dist/components/editor/index.js +3 -3
- package/dist/components/event-calendar/index.js +8 -8
- package/dist/components/file-upload/index.js +2 -2
- package/dist/components/gantt/index.js +6 -6
- package/dist/components/image-crop/index.js +1 -1
- package/dist/components/input-otp/EmailCodeAuthForm.d.ts +21 -0
- package/dist/components/input-otp/index.d.ts +2 -0
- package/dist/components/input-otp/index.js +264 -1
- package/dist/components/json-render/catalog.d.ts +1 -1
- package/dist/components/json-render/index.js +36 -35
- package/dist/components/message-scroller/index.js +2 -2
- package/dist/components/persian-calendar/index.js +3 -3
- package/dist/components/questionnaire/index.js +2 -2
- package/dist/components/resizable/index.js +3 -3
- package/dist/components/sonner/index.js +2 -2
- package/dist/components/tree/index.js +2 -2
- package/dist/components/virtual-data-grid/index.js +7 -7
- package/dist/components/virtual-table/index.js +3 -3
- package/dist/hooks/useLinkAnalyticsCallback.d.ts +10 -0
- package/dist/index.d.ts +17 -1
- package/dist/index.js +75 -57
- package/dist/layout/constants.d.ts +14 -0
- package/dist/layout/responsiveClassNames.d.ts +3 -0
- package/dist/layout/types.d.ts +28 -0
- package/dist/prototype.js +1 -1
- package/dist/theme.css +5 -0
- package/dist/typography/types.d.ts +2 -0
- package/llms/components/actions/ButtonLink.md +22 -0
- package/llms/components/assistant-ui/elements/conversations/CanvasSplit.md +38 -0
- package/llms/components/assistant-ui/elements/data-visualization/GeoMap.md +57 -0
- package/llms/components/assistant-ui/elements/data-visualization/RecommendationCard.md +41 -0
- package/llms/components/assistant-ui/elements/data-visualization/Timeline.md +76 -0
- package/llms/components/data-display/Heading.md +78 -0
- package/llms/components/data-display/Text.md +94 -0
- package/llms/components/data-display/WeatherForecast.md +76 -0
- package/llms/components/data-display/WeatherSummary.md +103 -0
- package/llms/components/forms/EmailCodeAuthForm.md +94 -0
- package/llms/components/layout/AppShell.md +35 -1
- package/llms/components/layout/Container.md +97 -0
- package/llms/components/layout/Grid.md +133 -0
- package/llms/components/layout/Stack.md +170 -0
- package/llms/setup.md +64 -2
- package/llms.txt +10 -2
- package/package.json +1 -1
- package/templates/prototype/src/components/ScenarioContent.tsx +3 -2
- package/templates/prototype/src/prototypes/dashboard/components/Dashboard.tsx +3 -2
- package/dist/chunk-4710gn6d.js +0 -15
- package/dist/chunk-dg14mg3y.js +0 -56
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-7ny0vyek.js";
|
|
4
4
|
import {
|
|
5
5
|
cn2
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-en44w1pn.js";
|
|
7
7
|
import {
|
|
8
8
|
DensityContext,
|
|
9
9
|
useDensity
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
TooltipContent2,
|
|
24
24
|
buttonVariants2,
|
|
25
25
|
Button2
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-bd09gygt.js";
|
|
27
27
|
import {
|
|
28
28
|
MenuPortal,
|
|
29
29
|
MenuPopup,
|
|
@@ -38,12 +38,12 @@ import {
|
|
|
38
38
|
MenuShortcut2,
|
|
39
39
|
DropdownMenu2,
|
|
40
40
|
DropdownMenuTrigger2
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-10vjajh7.js";
|
|
42
42
|
import {
|
|
43
43
|
Alert2,
|
|
44
44
|
AlertTitle2,
|
|
45
45
|
AlertDescription2
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-x9qph1g4.js";
|
|
47
47
|
import {
|
|
48
48
|
Dialog2,
|
|
49
49
|
DialogClose2,
|
|
@@ -52,43 +52,31 @@ import {
|
|
|
52
52
|
DialogFooter2,
|
|
53
53
|
DialogTitle2,
|
|
54
54
|
DialogDescription2
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-4t23yhc0.js";
|
|
56
56
|
import {
|
|
57
|
-
ScrollArea2
|
|
58
|
-
|
|
59
|
-
ComboboxValue2,
|
|
60
|
-
ComboboxContent2,
|
|
61
|
-
ComboboxList2,
|
|
62
|
-
ComboboxItem2,
|
|
63
|
-
ComboboxGroup2,
|
|
64
|
-
ComboboxCollection2,
|
|
65
|
-
ComboboxEmpty2,
|
|
66
|
-
ComboboxChips2,
|
|
67
|
-
ComboboxChip2,
|
|
68
|
-
ComboboxChipsInput2,
|
|
69
|
-
useComboboxAnchor2
|
|
70
|
-
} from "./chunk-a6mes7w0.js";
|
|
57
|
+
ScrollArea2
|
|
58
|
+
} from "./chunk-f9sm5zpv.js";
|
|
71
59
|
import {
|
|
72
60
|
Skeleton2
|
|
73
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-1fzwfn11.js";
|
|
74
62
|
import {
|
|
75
63
|
Input2
|
|
76
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-7vg045gd.js";
|
|
77
65
|
import {
|
|
78
66
|
Separator2
|
|
79
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-52aadmkc.js";
|
|
80
68
|
import {
|
|
81
69
|
FieldGroup2,
|
|
82
70
|
Field2,
|
|
83
71
|
FieldLabel2,
|
|
84
72
|
FieldDescription2
|
|
85
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-9n0axzd5.js";
|
|
86
74
|
import {
|
|
87
75
|
Textarea2
|
|
88
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-er6e5fj8.js";
|
|
89
77
|
import {
|
|
90
78
|
RadioGroup2
|
|
91
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-kgqe8gpb.js";
|
|
92
80
|
import {
|
|
93
81
|
Card2,
|
|
94
82
|
CardHeader2,
|
|
@@ -96,17 +84,31 @@ import {
|
|
|
96
84
|
CardDescription2,
|
|
97
85
|
CardContent2,
|
|
98
86
|
CardFooter2
|
|
99
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-k1f35j55.js";
|
|
88
|
+
import {
|
|
89
|
+
Combobox2,
|
|
90
|
+
ComboboxValue2,
|
|
91
|
+
ComboboxContent2,
|
|
92
|
+
ComboboxList2,
|
|
93
|
+
ComboboxItem2,
|
|
94
|
+
ComboboxGroup2,
|
|
95
|
+
ComboboxCollection2,
|
|
96
|
+
ComboboxEmpty2,
|
|
97
|
+
ComboboxChips2,
|
|
98
|
+
ComboboxChip2,
|
|
99
|
+
ComboboxChipsInput2,
|
|
100
|
+
useComboboxAnchor2
|
|
101
|
+
} from "./chunk-31wptjv4.js";
|
|
100
102
|
import {
|
|
101
103
|
Badge2
|
|
102
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-9t530p75.js";
|
|
103
105
|
import {
|
|
104
106
|
Empty2,
|
|
105
107
|
EmptyHeader2,
|
|
106
108
|
EmptyTitle2,
|
|
107
109
|
EmptyDescription2,
|
|
108
110
|
EmptyContent2
|
|
109
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-4e96tpw0.js";
|
|
110
112
|
import {
|
|
111
113
|
ThemeContext
|
|
112
114
|
} from "./chunk-1j2hz3w9.js";
|
|
@@ -117,17 +119,18 @@ import {
|
|
|
117
119
|
Avatar2,
|
|
118
120
|
AvatarImage2,
|
|
119
121
|
AvatarFallback2
|
|
120
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-0hq6rg7w.js";
|
|
121
123
|
import {
|
|
122
124
|
Spinner2
|
|
123
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-t3p4dn1p.js";
|
|
124
126
|
import {
|
|
125
127
|
NativeSelect2,
|
|
126
128
|
NativeSelectOption2
|
|
127
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-sp4g23m0.js";
|
|
128
130
|
import {
|
|
131
|
+
useLinkAnalyticsCallback,
|
|
129
132
|
AnalyticsLink
|
|
130
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-m4geb1s5.js";
|
|
131
134
|
import {
|
|
132
135
|
SidebarProvider2,
|
|
133
136
|
Sidebar2,
|
|
@@ -140,7 +143,7 @@ import {
|
|
|
140
143
|
SidebarMenu2,
|
|
141
144
|
SidebarMenuItem2,
|
|
142
145
|
SidebarMenuButton2
|
|
143
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-1f6p05qh.js";
|
|
144
147
|
import {
|
|
145
148
|
AnalyticsButton
|
|
146
149
|
} from "./chunk-tcefvfr8.js";
|
|
@@ -164,7 +167,7 @@ function ButtonLink2({
|
|
|
164
167
|
children,
|
|
165
168
|
...props
|
|
166
169
|
}) {
|
|
167
|
-
const onClick =
|
|
170
|
+
const onClick = useLinkAnalyticsCallback("ButtonLink", analytics, props.onClick, render !== undefined);
|
|
168
171
|
return useRender({
|
|
169
172
|
defaultTagName: "a",
|
|
170
173
|
props: mergeProps({
|
|
@@ -1355,7 +1358,7 @@ function BreadcrumbItem2({ density, className, ...props }) {
|
|
|
1355
1358
|
});
|
|
1356
1359
|
}
|
|
1357
1360
|
function BreadcrumbLink2({ analytics, density, className, render, ...props }) {
|
|
1358
|
-
const onClick =
|
|
1361
|
+
const onClick = useLinkAnalyticsCallback("BreadcrumbLink", analytics, props.onClick, render !== undefined);
|
|
1359
1362
|
return useRender3({
|
|
1360
1363
|
defaultTagName: "a",
|
|
1361
1364
|
props: mergeProps3({
|
|
@@ -3093,6 +3096,7 @@ function AppShell2({
|
|
|
3093
3096
|
height = "100dvh",
|
|
3094
3097
|
defaultSidebarOpen = true,
|
|
3095
3098
|
label = "Application",
|
|
3099
|
+
content = "scroll",
|
|
3096
3100
|
density
|
|
3097
3101
|
}) {
|
|
3098
3102
|
return /* @__PURE__ */ jsxs19(SidebarProvider2, {
|
|
@@ -3118,8 +3122,9 @@ function AppShell2({
|
|
|
3118
3122
|
children: /* @__PURE__ */ jsxs19(SidebarMenuButton2, {
|
|
3119
3123
|
render: /* @__PURE__ */ jsx33(AnalyticsLink, {
|
|
3120
3124
|
component: "AppShell",
|
|
3121
|
-
|
|
3122
|
-
|
|
3125
|
+
render: item.render,
|
|
3126
|
+
...item.href === undefined ? {} : { href: item.href },
|
|
3127
|
+
...item.active ? { "aria-current": "page" } : {}
|
|
3123
3128
|
}),
|
|
3124
3129
|
isActive: item.active,
|
|
3125
3130
|
tooltip: item.label,
|
|
@@ -3157,7 +3162,12 @@ function AppShell2({
|
|
|
3157
3162
|
header
|
|
3158
3163
|
]
|
|
3159
3164
|
}),
|
|
3160
|
-
/* @__PURE__ */ jsx33(
|
|
3165
|
+
content === "fill" ? /* @__PURE__ */ jsx33("div", {
|
|
3166
|
+
"data-slot": "app-shell-content",
|
|
3167
|
+
"data-scroll": "none",
|
|
3168
|
+
className: "flex min-h-0 min-w-0 flex-1 flex-col",
|
|
3169
|
+
children
|
|
3170
|
+
}) : /* @__PURE__ */ jsx33(ScrollArea2, {
|
|
3161
3171
|
className: "min-h-0 flex-1",
|
|
3162
3172
|
children: /* @__PURE__ */ jsx33("div", {
|
|
3163
3173
|
className: "flex min-w-0 flex-col gap-panel p-panel",
|
|
@@ -3174,37 +3184,528 @@ function AppShell2({
|
|
|
3174
3184
|
]
|
|
3175
3185
|
});
|
|
3176
3186
|
}
|
|
3187
|
+
// src/components/Stack.tsx
|
|
3188
|
+
import { mergeProps as mergeProps9 } from "@base-ui/react/merge-props";
|
|
3189
|
+
import { useRender as useRender10 } from "@base-ui/react/use-render";
|
|
3190
|
+
|
|
3191
|
+
// src/layout/constants.ts
|
|
3192
|
+
var GAP_CLASSES = {
|
|
3193
|
+
none: "gap-0",
|
|
3194
|
+
control: "gap-control-gap",
|
|
3195
|
+
"panel-sm": "gap-panel-sm",
|
|
3196
|
+
panel: "gap-panel",
|
|
3197
|
+
field: "gap-field-gap",
|
|
3198
|
+
section: "gap-section"
|
|
3199
|
+
};
|
|
3200
|
+
var PADDING_CLASSES = {
|
|
3201
|
+
none: "p-0",
|
|
3202
|
+
control: "p-control-gap",
|
|
3203
|
+
"panel-sm": "p-panel-sm",
|
|
3204
|
+
panel: "p-panel",
|
|
3205
|
+
field: "p-field-gap",
|
|
3206
|
+
section: "p-section"
|
|
3207
|
+
};
|
|
3208
|
+
var HEIGHT_CLASSES = {
|
|
3209
|
+
auto: "",
|
|
3210
|
+
full: "h-full min-h-0",
|
|
3211
|
+
viewport: "h-dvh min-h-0",
|
|
3212
|
+
"min-viewport": "min-h-dvh"
|
|
3213
|
+
};
|
|
3214
|
+
var GROW_CLASSES = "min-h-0 min-w-0 flex-1";
|
|
3215
|
+
var STACK_DIRECTION_CLASSES = {
|
|
3216
|
+
base: { vertical: "flex-col", horizontal: "flex-row" },
|
|
3217
|
+
sm: { vertical: "sm:flex-col", horizontal: "sm:flex-row" },
|
|
3218
|
+
md: { vertical: "md:flex-col", horizontal: "md:flex-row" },
|
|
3219
|
+
lg: { vertical: "lg:flex-col", horizontal: "lg:flex-row" },
|
|
3220
|
+
xl: { vertical: "xl:flex-col", horizontal: "xl:flex-row" }
|
|
3221
|
+
};
|
|
3222
|
+
var STACK_ALIGN_CLASSES = {
|
|
3223
|
+
start: "items-start",
|
|
3224
|
+
center: "items-center",
|
|
3225
|
+
end: "items-end",
|
|
3226
|
+
stretch: "items-stretch",
|
|
3227
|
+
baseline: "items-baseline"
|
|
3228
|
+
};
|
|
3229
|
+
var STACK_JUSTIFY_CLASSES = {
|
|
3230
|
+
start: "justify-start",
|
|
3231
|
+
center: "justify-center",
|
|
3232
|
+
end: "justify-end",
|
|
3233
|
+
between: "justify-between"
|
|
3234
|
+
};
|
|
3235
|
+
var GRID_COLUMN_CLASSES = {
|
|
3236
|
+
base: {
|
|
3237
|
+
1: "grid-cols-1",
|
|
3238
|
+
2: "grid-cols-2",
|
|
3239
|
+
3: "grid-cols-3",
|
|
3240
|
+
4: "grid-cols-4",
|
|
3241
|
+
5: "grid-cols-5",
|
|
3242
|
+
6: "grid-cols-6",
|
|
3243
|
+
12: "grid-cols-12"
|
|
3244
|
+
},
|
|
3245
|
+
sm: {
|
|
3246
|
+
1: "sm:grid-cols-1",
|
|
3247
|
+
2: "sm:grid-cols-2",
|
|
3248
|
+
3: "sm:grid-cols-3",
|
|
3249
|
+
4: "sm:grid-cols-4",
|
|
3250
|
+
5: "sm:grid-cols-5",
|
|
3251
|
+
6: "sm:grid-cols-6",
|
|
3252
|
+
12: "sm:grid-cols-12"
|
|
3253
|
+
},
|
|
3254
|
+
md: {
|
|
3255
|
+
1: "md:grid-cols-1",
|
|
3256
|
+
2: "md:grid-cols-2",
|
|
3257
|
+
3: "md:grid-cols-3",
|
|
3258
|
+
4: "md:grid-cols-4",
|
|
3259
|
+
5: "md:grid-cols-5",
|
|
3260
|
+
6: "md:grid-cols-6",
|
|
3261
|
+
12: "md:grid-cols-12"
|
|
3262
|
+
},
|
|
3263
|
+
lg: {
|
|
3264
|
+
1: "lg:grid-cols-1",
|
|
3265
|
+
2: "lg:grid-cols-2",
|
|
3266
|
+
3: "lg:grid-cols-3",
|
|
3267
|
+
4: "lg:grid-cols-4",
|
|
3268
|
+
5: "lg:grid-cols-5",
|
|
3269
|
+
6: "lg:grid-cols-6",
|
|
3270
|
+
12: "lg:grid-cols-12"
|
|
3271
|
+
},
|
|
3272
|
+
xl: {
|
|
3273
|
+
1: "xl:grid-cols-1",
|
|
3274
|
+
2: "xl:grid-cols-2",
|
|
3275
|
+
3: "xl:grid-cols-3",
|
|
3276
|
+
4: "xl:grid-cols-4",
|
|
3277
|
+
5: "xl:grid-cols-5",
|
|
3278
|
+
6: "xl:grid-cols-6",
|
|
3279
|
+
12: "xl:grid-cols-12"
|
|
3280
|
+
}
|
|
3281
|
+
};
|
|
3282
|
+
var GRID_MIN_COLUMN_WIDTH_CLASSES = {
|
|
3283
|
+
xs: "grid-cols-[repeat(auto-fill,minmax(min(100%,8rem),1fr))]",
|
|
3284
|
+
sm: "grid-cols-[repeat(auto-fill,minmax(min(100%,12rem),1fr))]",
|
|
3285
|
+
md: "grid-cols-[repeat(auto-fill,minmax(min(100%,16rem),1fr))]",
|
|
3286
|
+
lg: "grid-cols-[repeat(auto-fill,minmax(min(100%,22rem),1fr))]"
|
|
3287
|
+
};
|
|
3288
|
+
var GRID_ALIGN_CLASSES = {
|
|
3289
|
+
start: "items-start",
|
|
3290
|
+
center: "items-center",
|
|
3291
|
+
end: "items-end",
|
|
3292
|
+
stretch: "items-stretch"
|
|
3293
|
+
};
|
|
3294
|
+
var GRID_SPAN_CLASSES = {
|
|
3295
|
+
base: {
|
|
3296
|
+
1: "col-span-1",
|
|
3297
|
+
2: "col-span-2",
|
|
3298
|
+
3: "col-span-3",
|
|
3299
|
+
4: "col-span-4",
|
|
3300
|
+
5: "col-span-5",
|
|
3301
|
+
6: "col-span-6",
|
|
3302
|
+
full: "col-span-full"
|
|
3303
|
+
},
|
|
3304
|
+
sm: {
|
|
3305
|
+
1: "sm:col-span-1",
|
|
3306
|
+
2: "sm:col-span-2",
|
|
3307
|
+
3: "sm:col-span-3",
|
|
3308
|
+
4: "sm:col-span-4",
|
|
3309
|
+
5: "sm:col-span-5",
|
|
3310
|
+
6: "sm:col-span-6",
|
|
3311
|
+
full: "sm:col-span-full"
|
|
3312
|
+
},
|
|
3313
|
+
md: {
|
|
3314
|
+
1: "md:col-span-1",
|
|
3315
|
+
2: "md:col-span-2",
|
|
3316
|
+
3: "md:col-span-3",
|
|
3317
|
+
4: "md:col-span-4",
|
|
3318
|
+
5: "md:col-span-5",
|
|
3319
|
+
6: "md:col-span-6",
|
|
3320
|
+
full: "md:col-span-full"
|
|
3321
|
+
},
|
|
3322
|
+
lg: {
|
|
3323
|
+
1: "lg:col-span-1",
|
|
3324
|
+
2: "lg:col-span-2",
|
|
3325
|
+
3: "lg:col-span-3",
|
|
3326
|
+
4: "lg:col-span-4",
|
|
3327
|
+
5: "lg:col-span-5",
|
|
3328
|
+
6: "lg:col-span-6",
|
|
3329
|
+
full: "lg:col-span-full"
|
|
3330
|
+
},
|
|
3331
|
+
xl: {
|
|
3332
|
+
1: "xl:col-span-1",
|
|
3333
|
+
2: "xl:col-span-2",
|
|
3334
|
+
3: "xl:col-span-3",
|
|
3335
|
+
4: "xl:col-span-4",
|
|
3336
|
+
5: "xl:col-span-5",
|
|
3337
|
+
6: "xl:col-span-6",
|
|
3338
|
+
full: "xl:col-span-full"
|
|
3339
|
+
}
|
|
3340
|
+
};
|
|
3341
|
+
var CONTAINER_WIDTH_CLASSES = {
|
|
3342
|
+
xs: "max-w-xs",
|
|
3343
|
+
sm: "max-w-sm",
|
|
3344
|
+
md: "max-w-2xl",
|
|
3345
|
+
lg: "max-w-5xl",
|
|
3346
|
+
xl: "max-w-7xl",
|
|
3347
|
+
full: "max-w-none"
|
|
3348
|
+
};
|
|
3349
|
+
var LAYOUT_BREAKPOINTS = ["base", "sm", "md", "lg", "xl"];
|
|
3350
|
+
|
|
3351
|
+
// src/layout/responsiveClassNames.ts
|
|
3352
|
+
function isBreakpointMap(value) {
|
|
3353
|
+
return typeof value === "object";
|
|
3354
|
+
}
|
|
3355
|
+
function responsiveClassNames(value, classes) {
|
|
3356
|
+
if (value === undefined)
|
|
3357
|
+
return "";
|
|
3358
|
+
if (!isBreakpointMap(value))
|
|
3359
|
+
return classes.base[value];
|
|
3360
|
+
return LAYOUT_BREAKPOINTS.flatMap((breakpoint) => {
|
|
3361
|
+
const breakpointValue = value[breakpoint];
|
|
3362
|
+
return breakpointValue === undefined ? [] : [classes[breakpoint][breakpointValue]];
|
|
3363
|
+
}).join(" ");
|
|
3364
|
+
}
|
|
3365
|
+
|
|
3366
|
+
// src/components/Stack.tsx
|
|
3367
|
+
function Stack2({
|
|
3368
|
+
direction = "vertical",
|
|
3369
|
+
gap = "none",
|
|
3370
|
+
padding = "none",
|
|
3371
|
+
align,
|
|
3372
|
+
justify,
|
|
3373
|
+
wrap = false,
|
|
3374
|
+
grow = false,
|
|
3375
|
+
height = "auto",
|
|
3376
|
+
density,
|
|
3377
|
+
className,
|
|
3378
|
+
render,
|
|
3379
|
+
...props
|
|
3380
|
+
}) {
|
|
3381
|
+
return useRender10({
|
|
3382
|
+
defaultTagName: "div",
|
|
3383
|
+
props: mergeProps9({
|
|
3384
|
+
className: cn2("flex", responsiveClassNames(direction, STACK_DIRECTION_CLASSES), GAP_CLASSES[gap], PADDING_CLASSES[padding], align && STACK_ALIGN_CLASSES[align], justify && STACK_JUSTIFY_CLASSES[justify], wrap && "flex-wrap", grow && GROW_CLASSES, HEIGHT_CLASSES[height], className)
|
|
3385
|
+
}, props),
|
|
3386
|
+
render,
|
|
3387
|
+
state: { slot: "stack", density }
|
|
3388
|
+
});
|
|
3389
|
+
}
|
|
3390
|
+
// src/components/Grid.tsx
|
|
3391
|
+
import { mergeProps as mergeProps10 } from "@base-ui/react/merge-props";
|
|
3392
|
+
import { useRender as useRender11 } from "@base-ui/react/use-render";
|
|
3393
|
+
function Grid2({
|
|
3394
|
+
columns = 1,
|
|
3395
|
+
minColumnWidth,
|
|
3396
|
+
gap = "panel",
|
|
3397
|
+
padding = "none",
|
|
3398
|
+
align,
|
|
3399
|
+
grow = false,
|
|
3400
|
+
height = "auto",
|
|
3401
|
+
density,
|
|
3402
|
+
className,
|
|
3403
|
+
render,
|
|
3404
|
+
...props
|
|
3405
|
+
}) {
|
|
3406
|
+
return useRender11({
|
|
3407
|
+
defaultTagName: "div",
|
|
3408
|
+
props: mergeProps10({
|
|
3409
|
+
className: cn2("grid min-w-0", minColumnWidth === undefined ? responsiveClassNames(columns, GRID_COLUMN_CLASSES) : GRID_MIN_COLUMN_WIDTH_CLASSES[minColumnWidth], GAP_CLASSES[gap], PADDING_CLASSES[padding], align && GRID_ALIGN_CLASSES[align], grow && GROW_CLASSES, HEIGHT_CLASSES[height], className)
|
|
3410
|
+
}, props),
|
|
3411
|
+
render,
|
|
3412
|
+
state: { slot: "grid", density }
|
|
3413
|
+
});
|
|
3414
|
+
}
|
|
3415
|
+
function GridItem2({ span, density, className, render, ...props }) {
|
|
3416
|
+
return useRender11({
|
|
3417
|
+
defaultTagName: "div",
|
|
3418
|
+
props: mergeProps10({ className: cn2("min-w-0", responsiveClassNames(span, GRID_SPAN_CLASSES), className) }, props),
|
|
3419
|
+
render,
|
|
3420
|
+
state: { slot: "grid-item", density }
|
|
3421
|
+
});
|
|
3422
|
+
}
|
|
3423
|
+
// src/components/Container.tsx
|
|
3424
|
+
import { mergeProps as mergeProps11 } from "@base-ui/react/merge-props";
|
|
3425
|
+
import { useRender as useRender12 } from "@base-ui/react/use-render";
|
|
3426
|
+
function Container2({
|
|
3427
|
+
width = "lg",
|
|
3428
|
+
padding = "none",
|
|
3429
|
+
density,
|
|
3430
|
+
className,
|
|
3431
|
+
render,
|
|
3432
|
+
...props
|
|
3433
|
+
}) {
|
|
3434
|
+
return useRender12({
|
|
3435
|
+
defaultTagName: "div",
|
|
3436
|
+
props: mergeProps11({
|
|
3437
|
+
className: cn2("mx-auto w-full min-w-0", CONTAINER_WIDTH_CLASSES[width], PADDING_CLASSES[padding], className)
|
|
3438
|
+
}, props),
|
|
3439
|
+
render,
|
|
3440
|
+
state: { slot: "container", density }
|
|
3441
|
+
});
|
|
3442
|
+
}
|
|
3443
|
+
// src/components/Text.tsx
|
|
3444
|
+
import { mergeProps as mergeProps12 } from "@base-ui/react/merge-props";
|
|
3445
|
+
import { useRender as useRender13 } from "@base-ui/react/use-render";
|
|
3446
|
+
var SIZE_CLASSES = {
|
|
3447
|
+
xs: "text-xs",
|
|
3448
|
+
sm: "text-sm",
|
|
3449
|
+
base: "text-base",
|
|
3450
|
+
lg: "text-lg"
|
|
3451
|
+
};
|
|
3452
|
+
var TONE_CLASSES = {
|
|
3453
|
+
default: "text-foreground",
|
|
3454
|
+
muted: "text-muted-foreground",
|
|
3455
|
+
faint: "text-faint-foreground",
|
|
3456
|
+
primary: "text-primary",
|
|
3457
|
+
success: "text-success",
|
|
3458
|
+
warning: "text-warning",
|
|
3459
|
+
destructive: "text-destructive"
|
|
3460
|
+
};
|
|
3461
|
+
var WEIGHT_CLASSES = {
|
|
3462
|
+
normal: "font-normal",
|
|
3463
|
+
medium: "font-medium",
|
|
3464
|
+
semibold: "font-semibold"
|
|
3465
|
+
};
|
|
3466
|
+
var ALIGN_CLASSES = {
|
|
3467
|
+
start: "text-start",
|
|
3468
|
+
center: "text-center",
|
|
3469
|
+
end: "text-end"
|
|
3470
|
+
};
|
|
3471
|
+
function Text2({
|
|
3472
|
+
size = "base",
|
|
3473
|
+
tone = "default",
|
|
3474
|
+
weight = "normal",
|
|
3475
|
+
align = "start",
|
|
3476
|
+
truncate = false,
|
|
3477
|
+
tabular = false,
|
|
3478
|
+
density,
|
|
3479
|
+
className,
|
|
3480
|
+
render,
|
|
3481
|
+
...props
|
|
3482
|
+
}) {
|
|
3483
|
+
return useRender13({
|
|
3484
|
+
defaultTagName: "p",
|
|
3485
|
+
props: mergeProps12({
|
|
3486
|
+
className: cn2("min-w-0", SIZE_CLASSES[size], TONE_CLASSES[tone], WEIGHT_CLASSES[weight], ALIGN_CLASSES[align], truncate ? "truncate" : "break-words", tabular && "tabular-nums", className)
|
|
3487
|
+
}, props),
|
|
3488
|
+
render,
|
|
3489
|
+
state: { slot: "text", density }
|
|
3490
|
+
});
|
|
3491
|
+
}
|
|
3492
|
+
// src/components/Heading.tsx
|
|
3493
|
+
import { mergeProps as mergeProps13 } from "@base-ui/react/merge-props";
|
|
3494
|
+
import { useRender as useRender14 } from "@base-ui/react/use-render";
|
|
3495
|
+
var HEADING_TAGS = { 1: "h1", 2: "h2", 3: "h3", 4: "h4", 5: "h5", 6: "h6" };
|
|
3496
|
+
var DEFAULT_SIZES = { 1: "xl", 2: "lg", 3: "base", 4: "sm", 5: "sm", 6: "sm" };
|
|
3497
|
+
var SIZE_CLASSES2 = {
|
|
3498
|
+
sm: "text-sm",
|
|
3499
|
+
base: "text-base",
|
|
3500
|
+
lg: "text-lg",
|
|
3501
|
+
xl: "text-xl"
|
|
3502
|
+
};
|
|
3503
|
+
function Heading2({ level, size, truncate = false, density, className, render, ...props }) {
|
|
3504
|
+
return useRender14({
|
|
3505
|
+
defaultTagName: HEADING_TAGS[level],
|
|
3506
|
+
props: mergeProps13({
|
|
3507
|
+
className: cn2("min-w-0 font-semibold text-foreground", SIZE_CLASSES2[size ?? DEFAULT_SIZES[level]], truncate ? "truncate" : "break-words", className)
|
|
3508
|
+
}, props),
|
|
3509
|
+
render,
|
|
3510
|
+
state: { slot: "heading", level, density }
|
|
3511
|
+
});
|
|
3512
|
+
}
|
|
3513
|
+
// src/components/WeatherSummary.tsx
|
|
3514
|
+
import { mergeProps as mergeProps14 } from "@base-ui/react/merge-props";
|
|
3515
|
+
import { useRender as useRender15 } from "@base-ui/react/use-render";
|
|
3516
|
+
import {
|
|
3517
|
+
CloudDrizzleIcon,
|
|
3518
|
+
CloudFogIcon,
|
|
3519
|
+
CloudIcon,
|
|
3520
|
+
CloudLightningIcon,
|
|
3521
|
+
CloudRainIcon,
|
|
3522
|
+
CloudSnowIcon,
|
|
3523
|
+
CloudSunIcon,
|
|
3524
|
+
DropletIcon,
|
|
3525
|
+
SunIcon
|
|
3526
|
+
} from "lucide-react";
|
|
3527
|
+
import { jsx as jsx34, jsxs as jsxs20, Fragment as Fragment5 } from "react/jsx-runtime";
|
|
3528
|
+
var CONDITION_ICONS = {
|
|
3529
|
+
clear: SunIcon,
|
|
3530
|
+
"partly-cloudy": CloudSunIcon,
|
|
3531
|
+
cloudy: CloudIcon,
|
|
3532
|
+
fog: CloudFogIcon,
|
|
3533
|
+
drizzle: CloudDrizzleIcon,
|
|
3534
|
+
rain: CloudRainIcon,
|
|
3535
|
+
snow: CloudSnowIcon,
|
|
3536
|
+
thunderstorm: CloudLightningIcon
|
|
3537
|
+
};
|
|
3538
|
+
var CONDITION_LABELS = {
|
|
3539
|
+
clear: "Clear",
|
|
3540
|
+
"partly-cloudy": "Partly cloudy",
|
|
3541
|
+
cloudy: "Cloudy",
|
|
3542
|
+
fog: "Fog",
|
|
3543
|
+
drizzle: "Drizzle",
|
|
3544
|
+
rain: "Rain",
|
|
3545
|
+
snow: "Snow",
|
|
3546
|
+
thunderstorm: "Thunderstorm"
|
|
3547
|
+
};
|
|
3548
|
+
function formatTemperature(value, unit, locale) {
|
|
3549
|
+
return new Intl.NumberFormat(locale, { style: "unit", unit, maximumFractionDigits: 0 }).format(value);
|
|
3550
|
+
}
|
|
3551
|
+
function formatProbability(value, locale) {
|
|
3552
|
+
const share = Math.min(100, Math.max(0, value)) / 100;
|
|
3553
|
+
return new Intl.NumberFormat(locale, { style: "percent", maximumFractionDigits: 0 }).format(share);
|
|
3554
|
+
}
|
|
3555
|
+
function WeatherSummary2({
|
|
3556
|
+
label,
|
|
3557
|
+
condition,
|
|
3558
|
+
conditionLabel = CONDITION_LABELS[condition],
|
|
3559
|
+
high,
|
|
3560
|
+
low,
|
|
3561
|
+
precipitationProbability,
|
|
3562
|
+
unit = "celsius",
|
|
3563
|
+
locale,
|
|
3564
|
+
variant = "default",
|
|
3565
|
+
density,
|
|
3566
|
+
className,
|
|
3567
|
+
render,
|
|
3568
|
+
...props
|
|
3569
|
+
}) {
|
|
3570
|
+
const ConditionIcon = CONDITION_ICONS[condition];
|
|
3571
|
+
const highText = formatTemperature(high, unit, locale);
|
|
3572
|
+
const lowText = formatTemperature(low, unit, locale);
|
|
3573
|
+
const probabilityText = precipitationProbability === undefined ? undefined : formatProbability(precipitationProbability, locale);
|
|
3574
|
+
const isCompact = variant === "compact";
|
|
3575
|
+
return useRender15({
|
|
3576
|
+
defaultTagName: "div",
|
|
3577
|
+
props: mergeProps14({
|
|
3578
|
+
className: cn2("flex min-w-0 text-foreground", isCompact ? "flex-col items-center gap-1 text-center" : "items-center gap-panel-sm", className),
|
|
3579
|
+
children: /* @__PURE__ */ jsxs20(Fragment5, {
|
|
3580
|
+
children: [
|
|
3581
|
+
/* @__PURE__ */ jsx34(ConditionIcon, {
|
|
3582
|
+
"aria-hidden": "true",
|
|
3583
|
+
"data-slot": "weather-summary-icon",
|
|
3584
|
+
className: cn2("shrink-0 text-muted-foreground", isCompact ? "size-6" : "size-8")
|
|
3585
|
+
}),
|
|
3586
|
+
/* @__PURE__ */ jsxs20("div", {
|
|
3587
|
+
className: cn2("flex min-w-0 flex-col gap-0.5", isCompact && "items-center"),
|
|
3588
|
+
children: [
|
|
3589
|
+
/* @__PURE__ */ jsx34("div", {
|
|
3590
|
+
className: "text-sm font-medium break-words",
|
|
3591
|
+
children: label
|
|
3592
|
+
}),
|
|
3593
|
+
/* @__PURE__ */ jsx34("div", {
|
|
3594
|
+
className: cn2("text-sm text-muted-foreground", isCompact && "sr-only"),
|
|
3595
|
+
children: conditionLabel
|
|
3596
|
+
}),
|
|
3597
|
+
/* @__PURE__ */ jsxs20("div", {
|
|
3598
|
+
className: "flex flex-wrap items-baseline gap-x-2 text-sm tabular-nums",
|
|
3599
|
+
children: [
|
|
3600
|
+
/* @__PURE__ */ jsxs20("span", {
|
|
3601
|
+
children: [
|
|
3602
|
+
/* @__PURE__ */ jsx34("span", {
|
|
3603
|
+
className: "sr-only",
|
|
3604
|
+
children: "High "
|
|
3605
|
+
}),
|
|
3606
|
+
/* @__PURE__ */ jsx34("span", {
|
|
3607
|
+
className: "font-medium",
|
|
3608
|
+
children: highText
|
|
3609
|
+
})
|
|
3610
|
+
]
|
|
3611
|
+
}),
|
|
3612
|
+
/* @__PURE__ */ jsxs20("span", {
|
|
3613
|
+
className: "text-muted-foreground",
|
|
3614
|
+
children: [
|
|
3615
|
+
/* @__PURE__ */ jsx34("span", {
|
|
3616
|
+
className: "sr-only",
|
|
3617
|
+
children: "Low "
|
|
3618
|
+
}),
|
|
3619
|
+
lowText
|
|
3620
|
+
]
|
|
3621
|
+
})
|
|
3622
|
+
]
|
|
3623
|
+
}),
|
|
3624
|
+
probabilityText !== undefined && /* @__PURE__ */ jsxs20("div", {
|
|
3625
|
+
className: "flex items-center gap-1 text-xs text-muted-foreground tabular-nums",
|
|
3626
|
+
children: [
|
|
3627
|
+
/* @__PURE__ */ jsx34(DropletIcon, {
|
|
3628
|
+
"aria-hidden": "true",
|
|
3629
|
+
className: "size-3 shrink-0"
|
|
3630
|
+
}),
|
|
3631
|
+
/* @__PURE__ */ jsxs20("span", {
|
|
3632
|
+
children: [
|
|
3633
|
+
probabilityText,
|
|
3634
|
+
/* @__PURE__ */ jsx34("span", {
|
|
3635
|
+
className: "sr-only",
|
|
3636
|
+
children: " chance of precipitation"
|
|
3637
|
+
})
|
|
3638
|
+
]
|
|
3639
|
+
})
|
|
3640
|
+
]
|
|
3641
|
+
})
|
|
3642
|
+
]
|
|
3643
|
+
})
|
|
3644
|
+
]
|
|
3645
|
+
})
|
|
3646
|
+
}, props),
|
|
3647
|
+
render,
|
|
3648
|
+
state: { slot: "weather-summary", condition, density }
|
|
3649
|
+
});
|
|
3650
|
+
}
|
|
3651
|
+
// src/components/WeatherForecast.tsx
|
|
3652
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
3653
|
+
function WeatherForecast2({
|
|
3654
|
+
days,
|
|
3655
|
+
label,
|
|
3656
|
+
unit,
|
|
3657
|
+
locale,
|
|
3658
|
+
variant = "strip",
|
|
3659
|
+
density,
|
|
3660
|
+
className,
|
|
3661
|
+
...props
|
|
3662
|
+
}) {
|
|
3663
|
+
return /* @__PURE__ */ jsx35("ul", {
|
|
3664
|
+
"aria-label": label,
|
|
3665
|
+
"data-slot": "weather-forecast",
|
|
3666
|
+
"data-density": density,
|
|
3667
|
+
className: cn2("grid min-w-0 gap-panel-sm", variant === "strip" && "grid-cols-[repeat(auto-fill,minmax(6rem,1fr))]", className),
|
|
3668
|
+
...props,
|
|
3669
|
+
children: days.map(({ id, ...day }) => /* @__PURE__ */ jsx35(WeatherSummary2, {
|
|
3670
|
+
...day,
|
|
3671
|
+
unit,
|
|
3672
|
+
locale,
|
|
3673
|
+
variant: variant === "strip" ? "compact" : "default",
|
|
3674
|
+
render: /* @__PURE__ */ jsx35("li", {})
|
|
3675
|
+
}, id))
|
|
3676
|
+
});
|
|
3677
|
+
}
|
|
3177
3678
|
// src/components/PageHeader.tsx
|
|
3178
|
-
import { jsx as
|
|
3679
|
+
import { jsx as jsx36, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
3179
3680
|
function PageHeader2({ title, eyebrow, description, breadcrumbs, actions, density }) {
|
|
3180
|
-
return /* @__PURE__ */
|
|
3681
|
+
return /* @__PURE__ */ jsxs21("header", {
|
|
3181
3682
|
"data-density": density,
|
|
3182
3683
|
"data-slot": "page-header",
|
|
3183
3684
|
"data-scroll": "none",
|
|
3184
3685
|
className: "flex min-w-0 flex-col gap-field-gap",
|
|
3185
3686
|
children: [
|
|
3186
3687
|
breadcrumbs,
|
|
3187
|
-
/* @__PURE__ */
|
|
3688
|
+
/* @__PURE__ */ jsxs21("div", {
|
|
3188
3689
|
className: "flex min-w-0 flex-wrap items-start justify-between gap-panel",
|
|
3189
3690
|
children: [
|
|
3190
|
-
/* @__PURE__ */
|
|
3691
|
+
/* @__PURE__ */ jsxs21("div", {
|
|
3191
3692
|
className: "min-w-0",
|
|
3192
3693
|
children: [
|
|
3193
|
-
eyebrow != null && /* @__PURE__ */
|
|
3694
|
+
eyebrow != null && /* @__PURE__ */ jsx36("div", {
|
|
3194
3695
|
className: "mb-2 text-xs font-medium tracking-widest text-muted-foreground",
|
|
3195
3696
|
children: eyebrow
|
|
3196
3697
|
}),
|
|
3197
|
-
/* @__PURE__ */
|
|
3698
|
+
/* @__PURE__ */ jsx36("h1", {
|
|
3198
3699
|
className: "text-xl font-semibold text-foreground",
|
|
3199
3700
|
children: title
|
|
3200
3701
|
}),
|
|
3201
|
-
description && /* @__PURE__ */
|
|
3702
|
+
description && /* @__PURE__ */ jsx36("div", {
|
|
3202
3703
|
className: "mt-1 text-sm text-muted-foreground",
|
|
3203
3704
|
children: description
|
|
3204
3705
|
})
|
|
3205
3706
|
]
|
|
3206
3707
|
}),
|
|
3207
|
-
actions && /* @__PURE__ */
|
|
3708
|
+
actions && /* @__PURE__ */ jsx36("div", {
|
|
3208
3709
|
className: "flex min-w-0 max-w-full flex-wrap items-center gap-control-gap wrap-anywhere",
|
|
3209
3710
|
children: actions
|
|
3210
3711
|
})
|
|
@@ -3214,7 +3715,7 @@ function PageHeader2({ title, eyebrow, description, breadcrumbs, actions, densit
|
|
|
3214
3715
|
});
|
|
3215
3716
|
}
|
|
3216
3717
|
// src/components/WorkspaceSwitcher.tsx
|
|
3217
|
-
import { jsx as
|
|
3718
|
+
import { jsx as jsx37, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
3218
3719
|
function WorkspaceSwitcher2({
|
|
3219
3720
|
workspaces,
|
|
3220
3721
|
value,
|
|
@@ -3224,7 +3725,7 @@ function WorkspaceSwitcher2({
|
|
|
3224
3725
|
label = "Workspace",
|
|
3225
3726
|
density
|
|
3226
3727
|
}) {
|
|
3227
|
-
return /* @__PURE__ */
|
|
3728
|
+
return /* @__PURE__ */ jsxs22(Select2, {
|
|
3228
3729
|
items: workspaces,
|
|
3229
3730
|
value,
|
|
3230
3731
|
defaultValue: defaultValue ?? workspaces[0]?.value,
|
|
@@ -3234,15 +3735,15 @@ function WorkspaceSwitcher2({
|
|
|
3234
3735
|
},
|
|
3235
3736
|
disabled,
|
|
3236
3737
|
children: [
|
|
3237
|
-
/* @__PURE__ */
|
|
3738
|
+
/* @__PURE__ */ jsx37(SelectTrigger2, {
|
|
3238
3739
|
"aria-label": label,
|
|
3239
3740
|
density,
|
|
3240
|
-
children: /* @__PURE__ */
|
|
3741
|
+
children: /* @__PURE__ */ jsx37(SelectValue2, {})
|
|
3241
3742
|
}),
|
|
3242
|
-
/* @__PURE__ */
|
|
3743
|
+
/* @__PURE__ */ jsx37(SelectContent2, {
|
|
3243
3744
|
density,
|
|
3244
|
-
children: /* @__PURE__ */
|
|
3245
|
-
children: workspaces.map((workspace) => /* @__PURE__ */
|
|
3745
|
+
children: /* @__PURE__ */ jsx37(SelectGroup2, {
|
|
3746
|
+
children: workspaces.map((workspace) => /* @__PURE__ */ jsx37(SelectItem2, {
|
|
3246
3747
|
value: workspace.value,
|
|
3247
3748
|
children: workspace.label
|
|
3248
3749
|
}, workspace.value))
|
|
@@ -3252,52 +3753,52 @@ function WorkspaceSwitcher2({
|
|
|
3252
3753
|
});
|
|
3253
3754
|
}
|
|
3254
3755
|
// src/components/AccountMenu.tsx
|
|
3255
|
-
import { jsx as
|
|
3756
|
+
import { jsx as jsx38, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
3256
3757
|
function AccountMenu2({ name, email, image, onAction, density }) {
|
|
3257
|
-
return /* @__PURE__ */
|
|
3758
|
+
return /* @__PURE__ */ jsxs23(DropdownMenu2, {
|
|
3258
3759
|
children: [
|
|
3259
|
-
/* @__PURE__ */
|
|
3260
|
-
render: /* @__PURE__ */
|
|
3760
|
+
/* @__PURE__ */ jsxs23(DropdownMenuTrigger2, {
|
|
3761
|
+
render: /* @__PURE__ */ jsx38(Button2, {
|
|
3261
3762
|
variant: "ghost",
|
|
3262
3763
|
density
|
|
3263
3764
|
}),
|
|
3264
3765
|
"aria-label": `Account menu for ${name}`,
|
|
3265
3766
|
children: [
|
|
3266
|
-
/* @__PURE__ */
|
|
3767
|
+
/* @__PURE__ */ jsxs23(Avatar2, {
|
|
3267
3768
|
className: "size-control",
|
|
3268
3769
|
children: [
|
|
3269
|
-
/* @__PURE__ */
|
|
3770
|
+
/* @__PURE__ */ jsx38(AvatarImage2, {
|
|
3270
3771
|
src: image,
|
|
3271
3772
|
alt: ""
|
|
3272
3773
|
}),
|
|
3273
|
-
/* @__PURE__ */
|
|
3774
|
+
/* @__PURE__ */ jsx38(AvatarFallback2, {
|
|
3274
3775
|
children: name.slice(0, 2).toUpperCase()
|
|
3275
3776
|
})
|
|
3276
3777
|
]
|
|
3277
3778
|
}),
|
|
3278
|
-
/* @__PURE__ */
|
|
3779
|
+
/* @__PURE__ */ jsx38("span", {
|
|
3279
3780
|
children: name
|
|
3280
3781
|
})
|
|
3281
3782
|
]
|
|
3282
3783
|
}),
|
|
3283
|
-
/* @__PURE__ */
|
|
3784
|
+
/* @__PURE__ */ jsx38(MenuPopup, {
|
|
3284
3785
|
density,
|
|
3285
3786
|
align: "end",
|
|
3286
|
-
children: /* @__PURE__ */
|
|
3787
|
+
children: /* @__PURE__ */ jsxs23(MenuGroup2, {
|
|
3287
3788
|
children: [
|
|
3288
|
-
/* @__PURE__ */
|
|
3789
|
+
/* @__PURE__ */ jsx38(MenuLabel2, {
|
|
3289
3790
|
children: email ?? name
|
|
3290
3791
|
}),
|
|
3291
|
-
/* @__PURE__ */
|
|
3792
|
+
/* @__PURE__ */ jsx38(MenuItem2, {
|
|
3292
3793
|
onClick: () => onAction("profile"),
|
|
3293
3794
|
children: "Profile"
|
|
3294
3795
|
}),
|
|
3295
|
-
/* @__PURE__ */
|
|
3796
|
+
/* @__PURE__ */ jsx38(MenuItem2, {
|
|
3296
3797
|
onClick: () => onAction("settings"),
|
|
3297
3798
|
children: "Settings"
|
|
3298
3799
|
}),
|
|
3299
|
-
/* @__PURE__ */
|
|
3300
|
-
/* @__PURE__ */
|
|
3800
|
+
/* @__PURE__ */ jsx38(MenuSeparator2, {}),
|
|
3801
|
+
/* @__PURE__ */ jsx38(MenuItem2, {
|
|
3301
3802
|
onClick: () => onAction("sign-out"),
|
|
3302
3803
|
children: "Sign out"
|
|
3303
3804
|
})
|
|
@@ -3308,7 +3809,7 @@ function AccountMenu2({ name, email, image, onAction, density }) {
|
|
|
3308
3809
|
});
|
|
3309
3810
|
}
|
|
3310
3811
|
// src/components/StatCard.tsx
|
|
3311
|
-
import { jsx as
|
|
3812
|
+
import { jsx as jsx39, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
3312
3813
|
function StatCard2({
|
|
3313
3814
|
label,
|
|
3314
3815
|
value,
|
|
@@ -3319,40 +3820,40 @@ function StatCard2({
|
|
|
3319
3820
|
loading = false,
|
|
3320
3821
|
density
|
|
3321
3822
|
}) {
|
|
3322
|
-
return /* @__PURE__ */
|
|
3823
|
+
return /* @__PURE__ */ jsxs24(Card2, {
|
|
3323
3824
|
density,
|
|
3324
3825
|
"aria-label": label,
|
|
3325
3826
|
"aria-busy": loading,
|
|
3326
3827
|
children: [
|
|
3327
|
-
/* @__PURE__ */
|
|
3828
|
+
/* @__PURE__ */ jsxs24(CardHeader2, {
|
|
3328
3829
|
children: [
|
|
3329
|
-
/* @__PURE__ */
|
|
3830
|
+
/* @__PURE__ */ jsx39(CardTitle2, {
|
|
3330
3831
|
children: label
|
|
3331
3832
|
}),
|
|
3332
|
-
description && /* @__PURE__ */
|
|
3833
|
+
description && /* @__PURE__ */ jsx39(CardDescription2, {
|
|
3333
3834
|
children: description
|
|
3334
3835
|
})
|
|
3335
3836
|
]
|
|
3336
3837
|
}),
|
|
3337
|
-
/* @__PURE__ */
|
|
3338
|
-
children: /* @__PURE__ */
|
|
3838
|
+
/* @__PURE__ */ jsx39(CardContent2, {
|
|
3839
|
+
children: /* @__PURE__ */ jsxs24("div", {
|
|
3339
3840
|
className: "flex flex-wrap items-center justify-between gap-control-gap",
|
|
3340
3841
|
children: [
|
|
3341
|
-
loading ? /* @__PURE__ */
|
|
3842
|
+
loading ? /* @__PURE__ */ jsx39(Skeleton2, {
|
|
3342
3843
|
className: "h-8 w-24",
|
|
3343
3844
|
"aria-label": `Loading ${label}`
|
|
3344
|
-
}) : /* @__PURE__ */
|
|
3845
|
+
}) : /* @__PURE__ */ jsx39("div", {
|
|
3345
3846
|
className: "text-2xl font-semibold tabular-nums",
|
|
3346
3847
|
children: value
|
|
3347
3848
|
}),
|
|
3348
|
-
change && /* @__PURE__ */
|
|
3849
|
+
change && /* @__PURE__ */ jsx39(Badge2, {
|
|
3349
3850
|
variant: changeIntent === "positive" ? "success" : changeIntent === "negative" ? "destructive" : "secondary",
|
|
3350
3851
|
children: change
|
|
3351
3852
|
})
|
|
3352
3853
|
]
|
|
3353
3854
|
})
|
|
3354
3855
|
}),
|
|
3355
|
-
children && /* @__PURE__ */
|
|
3856
|
+
children && /* @__PURE__ */ jsx39(CardFooter2, {
|
|
3356
3857
|
children
|
|
3357
3858
|
})
|
|
3358
3859
|
]
|
|
@@ -3360,7 +3861,7 @@ function StatCard2({
|
|
|
3360
3861
|
}
|
|
3361
3862
|
// src/components/AuthForm.tsx
|
|
3362
3863
|
import { useId as useId2, useState as useState5 } from "react";
|
|
3363
|
-
import { jsx as
|
|
3864
|
+
import { jsx as jsx40, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
3364
3865
|
function AuthForm2({
|
|
3365
3866
|
mode = "sign-in",
|
|
3366
3867
|
onSubmit,
|
|
@@ -3390,33 +3891,33 @@ function AuthForm2({
|
|
|
3390
3891
|
setPending(false);
|
|
3391
3892
|
}
|
|
3392
3893
|
}
|
|
3393
|
-
return /* @__PURE__ */
|
|
3894
|
+
return /* @__PURE__ */ jsxs25(Card2, {
|
|
3394
3895
|
density,
|
|
3395
3896
|
children: [
|
|
3396
|
-
/* @__PURE__ */
|
|
3897
|
+
/* @__PURE__ */ jsxs25(CardHeader2, {
|
|
3397
3898
|
children: [
|
|
3398
|
-
/* @__PURE__ */
|
|
3899
|
+
/* @__PURE__ */ jsx40(CardTitle2, {
|
|
3399
3900
|
children: title
|
|
3400
3901
|
}),
|
|
3401
|
-
/* @__PURE__ */
|
|
3902
|
+
/* @__PURE__ */ jsx40(CardDescription2, {
|
|
3402
3903
|
children: mode === "reset-password" ? "Enter your email to request a password reset." : "Enter your details to continue."
|
|
3403
3904
|
})
|
|
3404
3905
|
]
|
|
3405
3906
|
}),
|
|
3406
|
-
/* @__PURE__ */
|
|
3407
|
-
children: /* @__PURE__ */
|
|
3907
|
+
/* @__PURE__ */ jsx40(CardContent2, {
|
|
3908
|
+
children: /* @__PURE__ */ jsx40("form", {
|
|
3408
3909
|
onSubmit: submit,
|
|
3409
3910
|
"aria-label": title,
|
|
3410
3911
|
"aria-busy": pending,
|
|
3411
|
-
children: /* @__PURE__ */
|
|
3912
|
+
children: /* @__PURE__ */ jsxs25(FieldGroup2, {
|
|
3412
3913
|
children: [
|
|
3413
|
-
mode === "sign-up" && /* @__PURE__ */
|
|
3914
|
+
mode === "sign-up" && /* @__PURE__ */ jsxs25(Field2, {
|
|
3414
3915
|
children: [
|
|
3415
|
-
/* @__PURE__ */
|
|
3916
|
+
/* @__PURE__ */ jsx40(FieldLabel2, {
|
|
3416
3917
|
htmlFor: id + "-name",
|
|
3417
3918
|
children: "Name"
|
|
3418
3919
|
}),
|
|
3419
|
-
/* @__PURE__ */
|
|
3920
|
+
/* @__PURE__ */ jsx40(Input2, {
|
|
3420
3921
|
id: id + "-name",
|
|
3421
3922
|
name: "name",
|
|
3422
3923
|
autoComplete: "name",
|
|
@@ -3425,13 +3926,13 @@ function AuthForm2({
|
|
|
3425
3926
|
})
|
|
3426
3927
|
]
|
|
3427
3928
|
}),
|
|
3428
|
-
/* @__PURE__ */
|
|
3929
|
+
/* @__PURE__ */ jsxs25(Field2, {
|
|
3429
3930
|
children: [
|
|
3430
|
-
/* @__PURE__ */
|
|
3931
|
+
/* @__PURE__ */ jsx40(FieldLabel2, {
|
|
3431
3932
|
htmlFor: id + "-email",
|
|
3432
3933
|
children: "Email"
|
|
3433
3934
|
}),
|
|
3434
|
-
/* @__PURE__ */
|
|
3935
|
+
/* @__PURE__ */ jsx40(Input2, {
|
|
3435
3936
|
id: id + "-email",
|
|
3436
3937
|
name: "email",
|
|
3437
3938
|
type: "email",
|
|
@@ -3441,13 +3942,13 @@ function AuthForm2({
|
|
|
3441
3942
|
})
|
|
3442
3943
|
]
|
|
3443
3944
|
}),
|
|
3444
|
-
mode !== "reset-password" && /* @__PURE__ */
|
|
3945
|
+
mode !== "reset-password" && /* @__PURE__ */ jsxs25(Field2, {
|
|
3445
3946
|
children: [
|
|
3446
|
-
/* @__PURE__ */
|
|
3947
|
+
/* @__PURE__ */ jsx40(FieldLabel2, {
|
|
3447
3948
|
htmlFor: id + "-password",
|
|
3448
3949
|
children: "Password"
|
|
3449
3950
|
}),
|
|
3450
|
-
/* @__PURE__ */
|
|
3951
|
+
/* @__PURE__ */ jsx40(Input2, {
|
|
3451
3952
|
id: id + "-password",
|
|
3452
3953
|
name: "password",
|
|
3453
3954
|
type: "password",
|
|
@@ -3456,27 +3957,27 @@ function AuthForm2({
|
|
|
3456
3957
|
required: true,
|
|
3457
3958
|
disabled: disabled || pending
|
|
3458
3959
|
}),
|
|
3459
|
-
mode === "sign-up" && /* @__PURE__ */
|
|
3960
|
+
mode === "sign-up" && /* @__PURE__ */ jsx40(FieldDescription2, {
|
|
3460
3961
|
children: "Use at least eight characters."
|
|
3461
3962
|
})
|
|
3462
3963
|
]
|
|
3463
3964
|
}),
|
|
3464
|
-
error && /* @__PURE__ */
|
|
3965
|
+
error && /* @__PURE__ */ jsxs25(Alert2, {
|
|
3465
3966
|
variant: "destructive",
|
|
3466
3967
|
children: [
|
|
3467
|
-
/* @__PURE__ */
|
|
3968
|
+
/* @__PURE__ */ jsx40(AlertTitle2, {
|
|
3468
3969
|
children: "Request failed"
|
|
3469
3970
|
}),
|
|
3470
|
-
/* @__PURE__ */
|
|
3971
|
+
/* @__PURE__ */ jsx40(AlertDescription2, {
|
|
3471
3972
|
children: error
|
|
3472
3973
|
})
|
|
3473
3974
|
]
|
|
3474
3975
|
}),
|
|
3475
|
-
/* @__PURE__ */
|
|
3976
|
+
/* @__PURE__ */ jsxs25(Button2, {
|
|
3476
3977
|
type: "submit",
|
|
3477
3978
|
disabled: disabled || pending,
|
|
3478
3979
|
children: [
|
|
3479
|
-
pending && /* @__PURE__ */
|
|
3980
|
+
pending && /* @__PURE__ */ jsx40(Spinner2, {
|
|
3480
3981
|
"data-icon": "inline-start"
|
|
3481
3982
|
}),
|
|
3482
3983
|
mode === "reset-password" ? "Send reset link" : title
|
|
@@ -3487,14 +3988,14 @@ function AuthForm2({
|
|
|
3487
3988
|
})
|
|
3488
3989
|
})
|
|
3489
3990
|
}),
|
|
3490
|
-
footer && /* @__PURE__ */
|
|
3991
|
+
footer && /* @__PURE__ */ jsx40(CardFooter2, {
|
|
3491
3992
|
children: footer
|
|
3492
3993
|
})
|
|
3493
3994
|
]
|
|
3494
3995
|
});
|
|
3495
3996
|
}
|
|
3496
3997
|
// src/components/SettingsSection.tsx
|
|
3497
|
-
import { jsx as
|
|
3998
|
+
import { jsx as jsx41, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
3498
3999
|
function SettingsSection2({
|
|
3499
4000
|
title,
|
|
3500
4001
|
description,
|
|
@@ -3507,48 +4008,48 @@ function SettingsSection2({
|
|
|
3507
4008
|
destructive = false,
|
|
3508
4009
|
density
|
|
3509
4010
|
}) {
|
|
3510
|
-
return /* @__PURE__ */
|
|
4011
|
+
return /* @__PURE__ */ jsx41("form", {
|
|
3511
4012
|
"aria-label": title,
|
|
3512
4013
|
onSubmit,
|
|
3513
4014
|
"aria-busy": pending,
|
|
3514
|
-
children: /* @__PURE__ */
|
|
4015
|
+
children: /* @__PURE__ */ jsxs26(Card2, {
|
|
3515
4016
|
density,
|
|
3516
4017
|
children: [
|
|
3517
|
-
/* @__PURE__ */
|
|
4018
|
+
/* @__PURE__ */ jsxs26(CardHeader2, {
|
|
3518
4019
|
children: [
|
|
3519
|
-
/* @__PURE__ */
|
|
4020
|
+
/* @__PURE__ */ jsx41(CardTitle2, {
|
|
3520
4021
|
children: title
|
|
3521
4022
|
}),
|
|
3522
|
-
description && /* @__PURE__ */
|
|
4023
|
+
description && /* @__PURE__ */ jsx41(CardDescription2, {
|
|
3523
4024
|
children: description
|
|
3524
4025
|
})
|
|
3525
4026
|
]
|
|
3526
4027
|
}),
|
|
3527
|
-
/* @__PURE__ */
|
|
3528
|
-
children: /* @__PURE__ */
|
|
4028
|
+
/* @__PURE__ */ jsx41(CardContent2, {
|
|
4029
|
+
children: /* @__PURE__ */ jsxs26("fieldset", {
|
|
3529
4030
|
disabled: disabled || pending,
|
|
3530
4031
|
className: "min-w-0 border-0 p-0",
|
|
3531
4032
|
children: [
|
|
3532
|
-
/* @__PURE__ */
|
|
4033
|
+
/* @__PURE__ */ jsx41("legend", {
|
|
3533
4034
|
className: "sr-only",
|
|
3534
4035
|
children: title
|
|
3535
4036
|
}),
|
|
3536
|
-
/* @__PURE__ */
|
|
4037
|
+
/* @__PURE__ */ jsx41(FieldGroup2, {
|
|
3537
4038
|
children
|
|
3538
4039
|
})
|
|
3539
4040
|
]
|
|
3540
4041
|
})
|
|
3541
4042
|
}),
|
|
3542
|
-
/* @__PURE__ */
|
|
4043
|
+
/* @__PURE__ */ jsxs26(CardFooter2, {
|
|
3543
4044
|
className: "flex flex-wrap items-center justify-between gap-control-gap",
|
|
3544
4045
|
children: [
|
|
3545
4046
|
footer,
|
|
3546
|
-
/* @__PURE__ */
|
|
4047
|
+
/* @__PURE__ */ jsxs26(Button2, {
|
|
3547
4048
|
type: "submit",
|
|
3548
4049
|
variant: destructive ? "destructive" : "default",
|
|
3549
4050
|
disabled: disabled || pending,
|
|
3550
4051
|
children: [
|
|
3551
|
-
pending && /* @__PURE__ */
|
|
4052
|
+
pending && /* @__PURE__ */ jsx41(Spinner2, {
|
|
3552
4053
|
"data-icon": "inline-start"
|
|
3553
4054
|
}),
|
|
3554
4055
|
saveLabel
|
|
@@ -3561,7 +4062,7 @@ function SettingsSection2({
|
|
|
3561
4062
|
});
|
|
3562
4063
|
}
|
|
3563
4064
|
// src/components/TagInput.tsx
|
|
3564
|
-
import { jsx as
|
|
4065
|
+
import { jsx as jsx42, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
3565
4066
|
function TagInput2({
|
|
3566
4067
|
label,
|
|
3567
4068
|
options,
|
|
@@ -3574,7 +4075,7 @@ function TagInput2({
|
|
|
3574
4075
|
density
|
|
3575
4076
|
}) {
|
|
3576
4077
|
const anchor = useComboboxAnchor2();
|
|
3577
|
-
return /* @__PURE__ */
|
|
4078
|
+
return /* @__PURE__ */ jsxs27(Combobox2, {
|
|
3578
4079
|
items: options,
|
|
3579
4080
|
multiple: true,
|
|
3580
4081
|
value,
|
|
@@ -3583,33 +4084,33 @@ function TagInput2({
|
|
|
3583
4084
|
disabled,
|
|
3584
4085
|
name,
|
|
3585
4086
|
children: [
|
|
3586
|
-
/* @__PURE__ */
|
|
4087
|
+
/* @__PURE__ */ jsxs27(ComboboxChips2, {
|
|
3587
4088
|
ref: anchor,
|
|
3588
4089
|
density,
|
|
3589
4090
|
children: [
|
|
3590
|
-
/* @__PURE__ */
|
|
3591
|
-
children: (values) => values.map((item) => /* @__PURE__ */
|
|
4091
|
+
/* @__PURE__ */ jsx42(ComboboxValue2, {
|
|
4092
|
+
children: (values) => values.map((item) => /* @__PURE__ */ jsx42(ComboboxChip2, {
|
|
3592
4093
|
removeLabel: `Remove ${item}`,
|
|
3593
4094
|
children: item
|
|
3594
4095
|
}, item))
|
|
3595
4096
|
}),
|
|
3596
|
-
/* @__PURE__ */
|
|
4097
|
+
/* @__PURE__ */ jsx42(ComboboxChipsInput2, {
|
|
3597
4098
|
"aria-label": label,
|
|
3598
4099
|
placeholder
|
|
3599
4100
|
})
|
|
3600
4101
|
]
|
|
3601
4102
|
}),
|
|
3602
|
-
/* @__PURE__ */
|
|
4103
|
+
/* @__PURE__ */ jsxs27(ComboboxContent2, {
|
|
3603
4104
|
anchor,
|
|
3604
4105
|
density,
|
|
3605
4106
|
children: [
|
|
3606
|
-
/* @__PURE__ */
|
|
4107
|
+
/* @__PURE__ */ jsx42(ComboboxEmpty2, {
|
|
3607
4108
|
children: "No matching tags."
|
|
3608
4109
|
}),
|
|
3609
|
-
/* @__PURE__ */
|
|
3610
|
-
children: /* @__PURE__ */
|
|
3611
|
-
children: /* @__PURE__ */
|
|
3612
|
-
children: (item) => /* @__PURE__ */
|
|
4110
|
+
/* @__PURE__ */ jsx42(ComboboxList2, {
|
|
4111
|
+
children: /* @__PURE__ */ jsx42(ComboboxGroup2, {
|
|
4112
|
+
children: /* @__PURE__ */ jsx42(ComboboxCollection2, {
|
|
4113
|
+
children: (item) => /* @__PURE__ */ jsx42(ComboboxItem2, {
|
|
3613
4114
|
value: item,
|
|
3614
4115
|
children: item
|
|
3615
4116
|
}, item)
|
|
@@ -3622,7 +4123,7 @@ function TagInput2({
|
|
|
3622
4123
|
});
|
|
3623
4124
|
}
|
|
3624
4125
|
// src/components/FilterBar.tsx
|
|
3625
|
-
import { jsx as
|
|
4126
|
+
import { jsx as jsx43, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
3626
4127
|
function FilterBar2({
|
|
3627
4128
|
label,
|
|
3628
4129
|
search,
|
|
@@ -3633,38 +4134,38 @@ function FilterBar2({
|
|
|
3633
4134
|
disabled,
|
|
3634
4135
|
density
|
|
3635
4136
|
}) {
|
|
3636
|
-
return /* @__PURE__ */
|
|
4137
|
+
return /* @__PURE__ */ jsxs28("fieldset", {
|
|
3637
4138
|
"aria-label": label,
|
|
3638
4139
|
disabled,
|
|
3639
4140
|
"data-density": density,
|
|
3640
4141
|
className: "flex min-w-0 flex-wrap items-center gap-2",
|
|
3641
4142
|
children: [
|
|
3642
|
-
/* @__PURE__ */
|
|
4143
|
+
/* @__PURE__ */ jsx43(Input2, {
|
|
3643
4144
|
"aria-label": `Search ${label}`,
|
|
3644
4145
|
type: "search",
|
|
3645
4146
|
value: search,
|
|
3646
4147
|
onChange: (event) => onSearchChange(event.target.value),
|
|
3647
4148
|
className: "min-w-40 flex-1"
|
|
3648
4149
|
}),
|
|
3649
|
-
filters.map((filter) => /* @__PURE__ */
|
|
4150
|
+
filters.map((filter) => /* @__PURE__ */ jsxs28(NativeSelect2, {
|
|
3650
4151
|
"aria-label": filter.label,
|
|
3651
4152
|
value: value[filter.id] ?? "",
|
|
3652
4153
|
onChange: (event) => onValueChange({ ...value, [filter.id]: event.target.value }),
|
|
3653
4154
|
children: [
|
|
3654
|
-
/* @__PURE__ */
|
|
4155
|
+
/* @__PURE__ */ jsxs28(NativeSelectOption2, {
|
|
3655
4156
|
value: "",
|
|
3656
4157
|
children: [
|
|
3657
4158
|
"All ",
|
|
3658
4159
|
filter.label.toLowerCase()
|
|
3659
4160
|
]
|
|
3660
4161
|
}),
|
|
3661
|
-
filter.options.map((option) => /* @__PURE__ */
|
|
4162
|
+
filter.options.map((option) => /* @__PURE__ */ jsx43(NativeSelectOption2, {
|
|
3662
4163
|
value: option.value,
|
|
3663
4164
|
children: option.label
|
|
3664
4165
|
}, option.value))
|
|
3665
4166
|
]
|
|
3666
4167
|
}, filter.id)),
|
|
3667
|
-
/* @__PURE__ */
|
|
4168
|
+
/* @__PURE__ */ jsx43(Button2, {
|
|
3668
4169
|
type: "button",
|
|
3669
4170
|
variant: "ghost",
|
|
3670
4171
|
disabled: !search && !Object.values(value).some(Boolean),
|
|
@@ -3678,7 +4179,7 @@ function FilterBar2({
|
|
|
3678
4179
|
});
|
|
3679
4180
|
}
|
|
3680
4181
|
// src/components/BarList.tsx
|
|
3681
|
-
import { jsx as
|
|
4182
|
+
import { jsx as jsx44, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
3682
4183
|
function BarList2({
|
|
3683
4184
|
label,
|
|
3684
4185
|
items,
|
|
@@ -3687,25 +4188,25 @@ function BarList2({
|
|
|
3687
4188
|
density
|
|
3688
4189
|
}) {
|
|
3689
4190
|
const max = Math.max(1, ...items.map((item) => item.value));
|
|
3690
|
-
return /* @__PURE__ */
|
|
4191
|
+
return /* @__PURE__ */ jsxs29("section", {
|
|
3691
4192
|
"aria-label": label,
|
|
3692
4193
|
"data-density": density,
|
|
3693
4194
|
children: [
|
|
3694
|
-
/* @__PURE__ */
|
|
4195
|
+
/* @__PURE__ */ jsx44("ul", {
|
|
3695
4196
|
className: "grid gap-3",
|
|
3696
|
-
children: items.map((item) => /* @__PURE__ */
|
|
3697
|
-
children: /* @__PURE__ */
|
|
4197
|
+
children: items.map((item) => /* @__PURE__ */ jsx44("li", {
|
|
4198
|
+
children: /* @__PURE__ */ jsxs29(Meter2, {
|
|
3698
4199
|
min: 0,
|
|
3699
4200
|
max,
|
|
3700
4201
|
value: item.value,
|
|
3701
4202
|
"aria-label": item.label,
|
|
3702
4203
|
format: { maximumFractionDigits: 2 },
|
|
3703
4204
|
children: [
|
|
3704
|
-
/* @__PURE__ */
|
|
4205
|
+
/* @__PURE__ */ jsxs29("div", {
|
|
3705
4206
|
className: "mb-1 flex items-center justify-between gap-3 text-sm",
|
|
3706
4207
|
children: [
|
|
3707
|
-
/* @__PURE__ */
|
|
3708
|
-
children: onItemSelect ? /* @__PURE__ */
|
|
4208
|
+
/* @__PURE__ */ jsx44(MeterLabel2, {
|
|
4209
|
+
children: onItemSelect ? /* @__PURE__ */ jsx44(Button2, {
|
|
3709
4210
|
type: "button",
|
|
3710
4211
|
variant: "link",
|
|
3711
4212
|
className: "h-auto p-0",
|
|
@@ -3713,19 +4214,19 @@ function BarList2({
|
|
|
3713
4214
|
children: item.label
|
|
3714
4215
|
}) : item.label
|
|
3715
4216
|
}),
|
|
3716
|
-
/* @__PURE__ */
|
|
4217
|
+
/* @__PURE__ */ jsx44(MeterValue2, {
|
|
3717
4218
|
children: () => valueFormatter(item.value)
|
|
3718
4219
|
})
|
|
3719
4220
|
]
|
|
3720
4221
|
}),
|
|
3721
|
-
/* @__PURE__ */
|
|
3722
|
-
children: /* @__PURE__ */
|
|
4222
|
+
/* @__PURE__ */ jsx44(MeterTrack2, {
|
|
4223
|
+
children: /* @__PURE__ */ jsx44(MeterIndicator2, {})
|
|
3723
4224
|
})
|
|
3724
4225
|
]
|
|
3725
4226
|
})
|
|
3726
4227
|
}, item.id))
|
|
3727
4228
|
}),
|
|
3728
|
-
!items.length && /* @__PURE__ */
|
|
4229
|
+
!items.length && /* @__PURE__ */ jsx44("p", {
|
|
3729
4230
|
role: "status",
|
|
3730
4231
|
className: "text-sm text-muted-foreground",
|
|
3731
4232
|
children: "No data available."
|
|
@@ -3734,23 +4235,23 @@ function BarList2({
|
|
|
3734
4235
|
});
|
|
3735
4236
|
}
|
|
3736
4237
|
// src/components/StatusTracker.tsx
|
|
3737
|
-
import { jsx as
|
|
4238
|
+
import { jsx as jsx45, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
3738
4239
|
var statusClasses = { success: "bg-success", warning: "bg-warning", error: "bg-destructive", unknown: "bg-muted" };
|
|
3739
4240
|
function StatusTracker2({ label, items, onItemSelect, density }) {
|
|
3740
|
-
return /* @__PURE__ */
|
|
3741
|
-
children: /* @__PURE__ */
|
|
4241
|
+
return /* @__PURE__ */ jsx45(TooltipProvider2, {
|
|
4242
|
+
children: /* @__PURE__ */ jsx45("div", {
|
|
3742
4243
|
role: "group",
|
|
3743
4244
|
"aria-label": label,
|
|
3744
4245
|
"data-density": density,
|
|
3745
4246
|
className: "flex min-w-0 gap-1",
|
|
3746
|
-
children: items.map((item) => /* @__PURE__ */
|
|
4247
|
+
children: items.map((item) => /* @__PURE__ */ jsxs30(Tooltip2, {
|
|
3747
4248
|
children: [
|
|
3748
|
-
/* @__PURE__ */
|
|
4249
|
+
/* @__PURE__ */ jsx45(TooltipTrigger2, {
|
|
3749
4250
|
"aria-label": `${item.label}: ${item.status}`,
|
|
3750
4251
|
onClick: () => onItemSelect?.(item),
|
|
3751
4252
|
className: cn2("h-8 min-w-2 flex-1 rounded-sm outline-none focus-visible:ring-2 focus-visible:ring-ring", statusClasses[item.status])
|
|
3752
4253
|
}),
|
|
3753
|
-
/* @__PURE__ */
|
|
4254
|
+
/* @__PURE__ */ jsxs30(TooltipContent2, {
|
|
3754
4255
|
children: [
|
|
3755
4256
|
item.label,
|
|
3756
4257
|
": ",
|
|
@@ -3763,7 +4264,7 @@ function StatusTracker2({ label, items, onItemSelect, density }) {
|
|
|
3763
4264
|
});
|
|
3764
4265
|
}
|
|
3765
4266
|
// src/components/DashboardLayout.tsx
|
|
3766
|
-
import { jsx as
|
|
4267
|
+
import { jsx as jsx46, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
3767
4268
|
function DashboardLayout2({
|
|
3768
4269
|
title,
|
|
3769
4270
|
description,
|
|
@@ -3774,24 +4275,24 @@ function DashboardLayout2({
|
|
|
3774
4275
|
footer,
|
|
3775
4276
|
density
|
|
3776
4277
|
}) {
|
|
3777
|
-
return /* @__PURE__ */
|
|
4278
|
+
return /* @__PURE__ */ jsxs31("div", {
|
|
3778
4279
|
"data-density": density,
|
|
3779
4280
|
"data-scroll": "none",
|
|
3780
4281
|
className: "grid min-w-0 gap-6",
|
|
3781
4282
|
children: [
|
|
3782
|
-
/* @__PURE__ */
|
|
4283
|
+
/* @__PURE__ */ jsx46(PageHeader2, {
|
|
3783
4284
|
title,
|
|
3784
4285
|
description,
|
|
3785
4286
|
actions
|
|
3786
4287
|
}),
|
|
3787
4288
|
filters,
|
|
3788
|
-
stats.length > 0 && /* @__PURE__ */
|
|
4289
|
+
stats.length > 0 && /* @__PURE__ */ jsx46("div", {
|
|
3789
4290
|
className: "grid gap-4 sm:grid-cols-2 xl:grid-cols-4",
|
|
3790
|
-
children: stats.map(({ id, ...stat }) => /* @__PURE__ */
|
|
4291
|
+
children: stats.map(({ id, ...stat }) => /* @__PURE__ */ jsx46(StatCard2, {
|
|
3791
4292
|
...stat
|
|
3792
4293
|
}, id))
|
|
3793
4294
|
}),
|
|
3794
|
-
/* @__PURE__ */
|
|
4295
|
+
/* @__PURE__ */ jsx46("div", {
|
|
3795
4296
|
className: "grid min-w-0 gap-4",
|
|
3796
4297
|
children
|
|
3797
4298
|
}),
|
|
@@ -3800,18 +4301,18 @@ function DashboardLayout2({
|
|
|
3800
4301
|
});
|
|
3801
4302
|
}
|
|
3802
4303
|
// src/components/BillingUsage.tsx
|
|
3803
|
-
import { jsx as
|
|
4304
|
+
import { jsx as jsx47, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
3804
4305
|
function BillingUsage2({ plan, price, period, metrics, onManage, pending, density }) {
|
|
3805
|
-
return /* @__PURE__ */
|
|
4306
|
+
return /* @__PURE__ */ jsxs32(Card2, {
|
|
3806
4307
|
density,
|
|
3807
4308
|
"aria-label": "Billing and usage",
|
|
3808
4309
|
children: [
|
|
3809
|
-
/* @__PURE__ */
|
|
4310
|
+
/* @__PURE__ */ jsxs32(CardHeader2, {
|
|
3810
4311
|
children: [
|
|
3811
|
-
/* @__PURE__ */
|
|
4312
|
+
/* @__PURE__ */ jsx47(CardTitle2, {
|
|
3812
4313
|
children: plan
|
|
3813
4314
|
}),
|
|
3814
|
-
/* @__PURE__ */
|
|
4315
|
+
/* @__PURE__ */ jsxs32(CardDescription2, {
|
|
3815
4316
|
children: [
|
|
3816
4317
|
price,
|
|
3817
4318
|
" · ",
|
|
@@ -3820,32 +4321,32 @@ function BillingUsage2({ plan, price, period, metrics, onManage, pending, densit
|
|
|
3820
4321
|
})
|
|
3821
4322
|
]
|
|
3822
4323
|
}),
|
|
3823
|
-
/* @__PURE__ */
|
|
4324
|
+
/* @__PURE__ */ jsx47(CardContent2, {
|
|
3824
4325
|
className: "grid gap-4",
|
|
3825
|
-
children: metrics.map((metric) => /* @__PURE__ */
|
|
4326
|
+
children: metrics.map((metric) => /* @__PURE__ */ jsxs32(Meter2, {
|
|
3826
4327
|
value: metric.used,
|
|
3827
4328
|
max: metric.limit,
|
|
3828
4329
|
"aria-label": metric.label,
|
|
3829
4330
|
children: [
|
|
3830
|
-
/* @__PURE__ */
|
|
4331
|
+
/* @__PURE__ */ jsxs32("div", {
|
|
3831
4332
|
className: "mb-2 flex items-center justify-between gap-3 text-sm",
|
|
3832
4333
|
children: [
|
|
3833
|
-
/* @__PURE__ */
|
|
4334
|
+
/* @__PURE__ */ jsx47(MeterLabel2, {
|
|
3834
4335
|
children: metric.label
|
|
3835
4336
|
}),
|
|
3836
|
-
/* @__PURE__ */
|
|
4337
|
+
/* @__PURE__ */ jsx47(MeterValue2, {
|
|
3837
4338
|
children: () => `${metric.used.toLocaleString()} / ${metric.limit.toLocaleString()}${metric.unit ? ` ${metric.unit}` : ""}`
|
|
3838
4339
|
})
|
|
3839
4340
|
]
|
|
3840
4341
|
}),
|
|
3841
|
-
/* @__PURE__ */
|
|
3842
|
-
children: /* @__PURE__ */
|
|
4342
|
+
/* @__PURE__ */ jsx47(MeterTrack2, {
|
|
4343
|
+
children: /* @__PURE__ */ jsx47(MeterIndicator2, {})
|
|
3843
4344
|
})
|
|
3844
4345
|
]
|
|
3845
4346
|
}, metric.id))
|
|
3846
4347
|
}),
|
|
3847
|
-
/* @__PURE__ */
|
|
3848
|
-
children: /* @__PURE__ */
|
|
4348
|
+
/* @__PURE__ */ jsx47(CardFooter2, {
|
|
4349
|
+
children: /* @__PURE__ */ jsx47(Button2, {
|
|
3849
4350
|
type: "button",
|
|
3850
4351
|
variant: "outline",
|
|
3851
4352
|
onClick: onManage,
|
|
@@ -3856,4 +4357,4 @@ function BillingUsage2({ plan, price, period, metrics, onManage, pending, densit
|
|
|
3856
4357
|
]
|
|
3857
4358
|
});
|
|
3858
4359
|
}
|
|
3859
|
-
export { ButtonLink2, ContextMenu2, ContextMenuPortal2, ContextMenuTrigger2, ContextMenuContent2, ActionsMenu2, ActionsMenuTrigger2, ActionsMenuContextTarget2, ActionsMenuContextContent2, FormDialog2, Accordion2, AccordionItem2, AccordionTrigger2, AccordionContent2, EmptyState3, PageMessage2, formatDataLabel2, DataViewer2, JsonViewer2, AlertDialog2, AlertDialogTrigger2, AlertDialogPortal2, AlertDialogOverlay2, AlertDialogContent2, AlertDialogHeader2, AlertDialogFooter2, AlertDialogMedia2, AlertDialogTitle2, AlertDialogDescription2, AlertDialogAction2, AlertDialogCancel2, Select2, SelectGroup2, SelectValue2, SelectTrigger2, SelectContent2, SelectLabel2, SelectItem2, SelectSeparator2, SelectScrollUpButton2, SelectScrollDownButton2, DensityProvider2, collectLayoutViolations2, LayoutGuard2, ScrollGuard2, ThemeProvider2, AspectRatio2, Breadcrumb2, BreadcrumbList2, BreadcrumbItem2, BreadcrumbLink2, BreadcrumbPage2, BreadcrumbSeparator2, BreadcrumbEllipsis2, buttonGroupVariants2, ButtonGroup2, ButtonGroupText2, ButtonGroupSeparator2, ItemGroup2, ItemSeparator2, Item2, ItemMedia2, ItemContent2, ItemTitle2, ItemDescription2, ItemActions2, ItemHeader2, ItemFooter2, Pagination2, PaginationContent2, PaginationItem2, PaginationLink2, PaginationPrevious2, PaginationNext2, PaginationEllipsis2, Drawer2, DrawerTrigger2, DrawerPortal2, DrawerClose2, DrawerOverlay2, DrawerSwipeHandle2, DrawerContent2, DrawerHeader2, DrawerFooter2, DrawerTitle2, DrawerDescription2, Menubar2, MenubarMenu2, MenubarGroup2, MenubarPortal2, MenubarTrigger2, MenubarContent2, MenubarItem2, MenubarCheckboxItem2, MenubarRadioGroup2, MenubarRadioItem2, MenubarLabel2, MenubarSeparator2, MenubarShortcut2, MenubarSub2, MenubarSubTrigger2, MenubarSubContent2, NavigationMenu2, NavigationMenuList2, NavigationMenuItem2, navigationMenuTriggerStyle2, NavigationMenuTrigger2, NavigationMenuContent2, NavigationMenuPositioner2, NavigationMenuLink2, NavigationMenuIndicator2, ToastProvider2, ToastPortal2, ToastViewport2, Toast2, ToastContent2, ToastTitle2, ToastDescription2, ToastAction2, ToastClose2, ToastToaster2, createToastManager2, useToastManager2, markerVariants2, Marker2, MarkerIcon2, MarkerContent2, BubbleGroup2, Bubble2, BubbleContent2, BubbleReactions2, MessageGroup2, Message2, MessageAvatar2, MessageContent2, MessageHeader2, MessageFooter2, Attachment2, AttachmentMedia2, AttachmentContent2, AttachmentTitle2, AttachmentDescription2, AttachmentActions2, AttachmentAction2, AttachmentTrigger2, AttachmentGroup2, InlineEdit2, StarRating2, ConfirmationDialog2, ImagePicker2, Meter2, MeterLabel2, MeterValue2, MeterTrack2, MeterIndicator2, Stepper2, StepperList2, StepperTrigger2, StepperIndicator2, StepperContent2, AppShell2, PageHeader2, WorkspaceSwitcher2, AccountMenu2, StatCard2, AuthForm2, SettingsSection2, TagInput2, FilterBar2, BarList2, StatusTracker2, DashboardLayout2, BillingUsage2 };
|
|
4360
|
+
export { ButtonLink2, ContextMenu2, ContextMenuPortal2, ContextMenuTrigger2, ContextMenuContent2, ActionsMenu2, ActionsMenuTrigger2, ActionsMenuContextTarget2, ActionsMenuContextContent2, FormDialog2, Accordion2, AccordionItem2, AccordionTrigger2, AccordionContent2, EmptyState3, PageMessage2, formatDataLabel2, DataViewer2, JsonViewer2, AlertDialog2, AlertDialogTrigger2, AlertDialogPortal2, AlertDialogOverlay2, AlertDialogContent2, AlertDialogHeader2, AlertDialogFooter2, AlertDialogMedia2, AlertDialogTitle2, AlertDialogDescription2, AlertDialogAction2, AlertDialogCancel2, Select2, SelectGroup2, SelectValue2, SelectTrigger2, SelectContent2, SelectLabel2, SelectItem2, SelectSeparator2, SelectScrollUpButton2, SelectScrollDownButton2, DensityProvider2, collectLayoutViolations2, LayoutGuard2, ScrollGuard2, ThemeProvider2, AspectRatio2, Breadcrumb2, BreadcrumbList2, BreadcrumbItem2, BreadcrumbLink2, BreadcrumbPage2, BreadcrumbSeparator2, BreadcrumbEllipsis2, buttonGroupVariants2, ButtonGroup2, ButtonGroupText2, ButtonGroupSeparator2, ItemGroup2, ItemSeparator2, Item2, ItemMedia2, ItemContent2, ItemTitle2, ItemDescription2, ItemActions2, ItemHeader2, ItemFooter2, Pagination2, PaginationContent2, PaginationItem2, PaginationLink2, PaginationPrevious2, PaginationNext2, PaginationEllipsis2, Drawer2, DrawerTrigger2, DrawerPortal2, DrawerClose2, DrawerOverlay2, DrawerSwipeHandle2, DrawerContent2, DrawerHeader2, DrawerFooter2, DrawerTitle2, DrawerDescription2, Menubar2, MenubarMenu2, MenubarGroup2, MenubarPortal2, MenubarTrigger2, MenubarContent2, MenubarItem2, MenubarCheckboxItem2, MenubarRadioGroup2, MenubarRadioItem2, MenubarLabel2, MenubarSeparator2, MenubarShortcut2, MenubarSub2, MenubarSubTrigger2, MenubarSubContent2, NavigationMenu2, NavigationMenuList2, NavigationMenuItem2, navigationMenuTriggerStyle2, NavigationMenuTrigger2, NavigationMenuContent2, NavigationMenuPositioner2, NavigationMenuLink2, NavigationMenuIndicator2, ToastProvider2, ToastPortal2, ToastViewport2, Toast2, ToastContent2, ToastTitle2, ToastDescription2, ToastAction2, ToastClose2, ToastToaster2, createToastManager2, useToastManager2, markerVariants2, Marker2, MarkerIcon2, MarkerContent2, BubbleGroup2, Bubble2, BubbleContent2, BubbleReactions2, MessageGroup2, Message2, MessageAvatar2, MessageContent2, MessageHeader2, MessageFooter2, Attachment2, AttachmentMedia2, AttachmentContent2, AttachmentTitle2, AttachmentDescription2, AttachmentActions2, AttachmentAction2, AttachmentTrigger2, AttachmentGroup2, InlineEdit2, StarRating2, ConfirmationDialog2, ImagePicker2, Meter2, MeterLabel2, MeterValue2, MeterTrack2, MeterIndicator2, Stepper2, StepperList2, StepperTrigger2, StepperIndicator2, StepperContent2, AppShell2, Stack2, Grid2, GridItem2, Container2, Text2, Heading2, WeatherSummary2, WeatherForecast2, PageHeader2, WorkspaceSwitcher2, AccountMenu2, StatCard2, AuthForm2, SettingsSection2, TagInput2, FilterBar2, BarList2, StatusTracker2, DashboardLayout2, BillingUsage2 };
|