@elabs-ai/components-ui 4.2.0 → 5.0.0
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 +2 -1
- package/dist/chunk-22Z735L6.js +18 -0
- package/dist/chunk-22Z735L6.js.map +1 -0
- package/dist/chunk-23E62DNM.js +2 -0
- package/dist/chunk-23E62DNM.js.map +1 -0
- package/dist/chunk-2AABRSIN.js +2 -0
- package/dist/chunk-2AABRSIN.js.map +1 -0
- package/dist/chunk-2HXVFC4B.js +44 -0
- package/dist/chunk-2HXVFC4B.js.map +1 -0
- package/dist/chunk-2SBYBN45.js +2 -0
- package/dist/chunk-2SBYBN45.js.map +1 -0
- package/dist/chunk-333EWYWL.js +385 -0
- package/dist/chunk-333EWYWL.js.map +1 -0
- package/dist/chunk-35DUHYPC.js +59 -0
- package/dist/chunk-35DUHYPC.js.map +1 -0
- package/dist/chunk-35ZTVB35.js +76 -0
- package/dist/chunk-35ZTVB35.js.map +1 -0
- package/dist/chunk-36VULFFV.js +2 -0
- package/dist/chunk-36VULFFV.js.map +1 -0
- package/dist/chunk-3B7W334A.js +229 -0
- package/dist/chunk-3B7W334A.js.map +1 -0
- package/dist/chunk-3EKVSKGJ.js +256 -0
- package/dist/chunk-3EKVSKGJ.js.map +1 -0
- package/dist/chunk-3JAEQNCB.js +60 -0
- package/dist/chunk-3JAEQNCB.js.map +1 -0
- package/dist/chunk-3LWAAK3J.js +140 -0
- package/dist/chunk-3LWAAK3J.js.map +1 -0
- package/dist/chunk-3OSGTUN2.js +2 -0
- package/dist/chunk-3OSGTUN2.js.map +1 -0
- package/dist/chunk-3P7SRCDB.js +23 -0
- package/dist/chunk-3P7SRCDB.js.map +1 -0
- package/dist/chunk-45ICJ3EV.js +2 -0
- package/dist/chunk-45ICJ3EV.js.map +1 -0
- package/dist/chunk-4ACT7RLU.js +2 -0
- package/dist/chunk-4ACT7RLU.js.map +1 -0
- package/dist/chunk-4E73UAFA.js +296 -0
- package/dist/chunk-4E73UAFA.js.map +1 -0
- package/dist/chunk-4GQFIJAE.js +197 -0
- package/dist/chunk-4GQFIJAE.js.map +1 -0
- package/dist/chunk-4HTVJZVG.js +2 -0
- package/dist/chunk-4HTVJZVG.js.map +1 -0
- package/dist/chunk-4KDA5MDC.js +2 -0
- package/dist/chunk-4KDA5MDC.js.map +1 -0
- package/dist/chunk-4PITSMJ3.js +52 -0
- package/dist/chunk-4PITSMJ3.js.map +1 -0
- package/dist/chunk-4PXDZR2W.js +2 -0
- package/dist/chunk-4PXDZR2W.js.map +1 -0
- package/dist/chunk-4UWOADYM.js +2 -0
- package/dist/chunk-4UWOADYM.js.map +1 -0
- package/dist/chunk-4W3MVVKN.js +66 -0
- package/dist/chunk-4W3MVVKN.js.map +1 -0
- package/dist/chunk-4YOFSGHD.js +2 -0
- package/dist/chunk-4YOFSGHD.js.map +1 -0
- package/dist/chunk-533R5EKD.js +87 -0
- package/dist/chunk-533R5EKD.js.map +1 -0
- package/dist/chunk-545HI223.js +2 -0
- package/dist/chunk-545HI223.js.map +1 -0
- package/dist/chunk-57C25JYV.js +170 -0
- package/dist/chunk-57C25JYV.js.map +1 -0
- package/dist/chunk-5AWXGBSH.js +82 -0
- package/dist/chunk-5AWXGBSH.js.map +1 -0
- package/dist/chunk-5G2DDMHR.js +2 -0
- package/dist/chunk-5G2DDMHR.js.map +1 -0
- package/dist/chunk-5HBMI2DO.js +42 -0
- package/dist/chunk-5HBMI2DO.js.map +1 -0
- package/dist/chunk-5LCN5Q2L.js +23 -0
- package/dist/chunk-5LCN5Q2L.js.map +1 -0
- package/dist/chunk-5P4BSHIG.js +2 -0
- package/dist/chunk-5P4BSHIG.js.map +1 -0
- package/dist/chunk-5RC32MZH.js +161 -0
- package/dist/chunk-5RC32MZH.js.map +1 -0
- package/dist/chunk-5SHHIQVA.js +22 -0
- package/dist/chunk-5SHHIQVA.js.map +1 -0
- package/dist/chunk-5V5J7APL.js +27 -0
- package/dist/chunk-5V5J7APL.js.map +1 -0
- package/dist/chunk-5YZLOAKR.js +2 -0
- package/dist/chunk-5YZLOAKR.js.map +1 -0
- package/dist/chunk-5Z55AFOW.js +128 -0
- package/dist/chunk-5Z55AFOW.js.map +1 -0
- package/dist/chunk-653ZIWX6.js +2 -0
- package/dist/chunk-653ZIWX6.js.map +1 -0
- package/dist/chunk-6DHG7JVP.js +2 -0
- package/dist/chunk-6DHG7JVP.js.map +1 -0
- package/dist/chunk-6HGS5Z2Z.js +110 -0
- package/dist/chunk-6HGS5Z2Z.js.map +1 -0
- package/dist/chunk-6NKILKS6.js +35 -0
- package/dist/chunk-6NKILKS6.js.map +1 -0
- package/dist/chunk-6OFWWIEG.js +50 -0
- package/dist/chunk-6OFWWIEG.js.map +1 -0
- package/dist/chunk-6OPDRLMU.js +158 -0
- package/dist/chunk-6OPDRLMU.js.map +1 -0
- package/dist/chunk-6QU7OVFA.js +357 -0
- package/dist/chunk-6QU7OVFA.js.map +1 -0
- package/dist/chunk-6ROQKB4U.js +2 -0
- package/dist/chunk-6ROQKB4U.js.map +1 -0
- package/dist/chunk-6S43VAN7.js +2 -0
- package/dist/chunk-6S43VAN7.js.map +1 -0
- package/dist/chunk-6TJVJPNU.js +1321 -0
- package/dist/chunk-6TJVJPNU.js.map +1 -0
- package/dist/chunk-6VLJL7Q4.js +2 -0
- package/dist/chunk-6VLJL7Q4.js.map +1 -0
- package/dist/chunk-7G63B2B7.js +189 -0
- package/dist/chunk-7G63B2B7.js.map +1 -0
- package/dist/chunk-7P24I5OL.js +23 -0
- package/dist/chunk-7P24I5OL.js.map +1 -0
- package/dist/chunk-7PS5MKVH.js +97 -0
- package/dist/chunk-7PS5MKVH.js.map +1 -0
- package/dist/chunk-7WIHVGYL.js +2 -0
- package/dist/chunk-7WIHVGYL.js.map +1 -0
- package/dist/chunk-7WXDSTNR.js +62 -0
- package/dist/chunk-7WXDSTNR.js.map +1 -0
- package/dist/chunk-A43B4IT7.js +395 -0
- package/dist/chunk-A43B4IT7.js.map +1 -0
- package/dist/chunk-A47AZPCL.js +35 -0
- package/dist/chunk-A47AZPCL.js.map +1 -0
- package/dist/chunk-AA3SPDJU.js +2 -0
- package/dist/chunk-AA3SPDJU.js.map +1 -0
- package/dist/chunk-AC7X3D2M.js +2 -0
- package/dist/chunk-AC7X3D2M.js.map +1 -0
- package/dist/chunk-AE6UDP36.js +2 -0
- package/dist/chunk-AE6UDP36.js.map +1 -0
- package/dist/chunk-AFEFAGPW.js +2 -0
- package/dist/chunk-AFEFAGPW.js.map +1 -0
- package/dist/chunk-AFJCS2WV.js +95 -0
- package/dist/chunk-AFJCS2WV.js.map +1 -0
- package/dist/chunk-AQNLEP5F.js +2 -0
- package/dist/chunk-AQNLEP5F.js.map +1 -0
- package/dist/chunk-AUQVJ7KO.js +2 -0
- package/dist/chunk-AUQVJ7KO.js.map +1 -0
- package/dist/chunk-AXKZBRZK.js +32 -0
- package/dist/chunk-AXKZBRZK.js.map +1 -0
- package/dist/chunk-AZEABCK4.js +30 -0
- package/dist/chunk-AZEABCK4.js.map +1 -0
- package/dist/chunk-B23VW24W.js +2 -0
- package/dist/chunk-B23VW24W.js.map +1 -0
- package/dist/chunk-B2RSOLLO.js +2 -0
- package/dist/chunk-B2RSOLLO.js.map +1 -0
- package/dist/chunk-B5QQLMEE.js +31 -0
- package/dist/chunk-B5QQLMEE.js.map +1 -0
- package/dist/chunk-BLNXHETI.js +163 -0
- package/dist/chunk-BLNXHETI.js.map +1 -0
- package/dist/chunk-BM6NGS3A.js +201 -0
- package/dist/chunk-BM6NGS3A.js.map +1 -0
- package/dist/chunk-BN4CKDFU.js +989 -0
- package/dist/chunk-BN4CKDFU.js.map +1 -0
- package/dist/chunk-BPXLHGWI.js +54 -0
- package/dist/chunk-BPXLHGWI.js.map +1 -0
- package/dist/chunk-BTBYNKT4.js +2 -0
- package/dist/chunk-BTBYNKT4.js.map +1 -0
- package/dist/chunk-BWL7HWEF.js +325 -0
- package/dist/chunk-BWL7HWEF.js.map +1 -0
- package/dist/chunk-BZQF5QCN.js +18 -0
- package/dist/chunk-BZQF5QCN.js.map +1 -0
- package/dist/chunk-C2AQEEFB.js +2 -0
- package/dist/chunk-C2AQEEFB.js.map +1 -0
- package/dist/chunk-C753P3VJ.js +2 -0
- package/dist/chunk-C753P3VJ.js.map +1 -0
- package/dist/chunk-CDE74W6O.js +2 -0
- package/dist/chunk-CDE74W6O.js.map +1 -0
- package/dist/chunk-CEQER4CV.js +2 -0
- package/dist/chunk-CEQER4CV.js.map +1 -0
- package/dist/chunk-CQ5CH3SB.js +55 -0
- package/dist/chunk-CQ5CH3SB.js.map +1 -0
- package/dist/chunk-CRGGGHAM.js +2 -0
- package/dist/chunk-CRGGGHAM.js.map +1 -0
- package/dist/chunk-CRVB4SLG.js +2 -0
- package/dist/chunk-CRVB4SLG.js.map +1 -0
- package/dist/chunk-CT6XJIPY.js +2 -0
- package/dist/chunk-CT6XJIPY.js.map +1 -0
- package/dist/chunk-CY624JOL.js +2 -0
- package/dist/chunk-CY624JOL.js.map +1 -0
- package/dist/chunk-D3C3VVCX.js +38 -0
- package/dist/chunk-D3C3VVCX.js.map +1 -0
- package/dist/chunk-D53EN4Q6.js +2 -0
- package/dist/chunk-D53EN4Q6.js.map +1 -0
- package/dist/chunk-DCHYNTHI.js +11 -0
- package/dist/chunk-DCHYNTHI.js.map +1 -0
- package/dist/chunk-DCI6IOJX.js +236 -0
- package/dist/chunk-DCI6IOJX.js.map +1 -0
- package/dist/chunk-DFYPQ52O.js +476 -0
- package/dist/chunk-DFYPQ52O.js.map +1 -0
- package/dist/chunk-DIQJODQR.js +2 -0
- package/dist/chunk-DIQJODQR.js.map +1 -0
- package/dist/chunk-DSGTH6JW.js +2 -0
- package/dist/chunk-DSGTH6JW.js.map +1 -0
- package/dist/chunk-DT6RNLCP.js +32 -0
- package/dist/chunk-DT6RNLCP.js.map +1 -0
- package/dist/chunk-DU6ITAJL.js +2 -0
- package/dist/chunk-DU6ITAJL.js.map +1 -0
- package/dist/chunk-DUF2VZON.js +36 -0
- package/dist/chunk-DUF2VZON.js.map +1 -0
- package/dist/chunk-DXDLTYTT.js +2 -0
- package/dist/chunk-DXDLTYTT.js.map +1 -0
- package/dist/chunk-E3ES2KR6.js +55 -0
- package/dist/chunk-E3ES2KR6.js.map +1 -0
- package/dist/chunk-EAFPUZ46.js +2 -0
- package/dist/chunk-EAFPUZ46.js.map +1 -0
- package/dist/chunk-EBDOKU5K.js +2 -0
- package/dist/chunk-EBDOKU5K.js.map +1 -0
- package/dist/chunk-ECCNRCC4.js +74 -0
- package/dist/chunk-ECCNRCC4.js.map +1 -0
- package/dist/chunk-EDE73Q6Z.js +2 -0
- package/dist/chunk-EDE73Q6Z.js.map +1 -0
- package/dist/chunk-EHGIW7GA.js +190 -0
- package/dist/chunk-EHGIW7GA.js.map +1 -0
- package/dist/chunk-EJQYE4MY.js +100 -0
- package/dist/chunk-EJQYE4MY.js.map +1 -0
- package/dist/chunk-EKY3A5LO.js +133 -0
- package/dist/chunk-EKY3A5LO.js.map +1 -0
- package/dist/chunk-EL3OXVOW.js +31 -0
- package/dist/chunk-EL3OXVOW.js.map +1 -0
- package/dist/chunk-EP3U7OQ3.js +18 -0
- package/dist/chunk-EP3U7OQ3.js.map +1 -0
- package/dist/chunk-EY2PGOG3.js +246 -0
- package/dist/chunk-EY2PGOG3.js.map +1 -0
- package/dist/chunk-FAOX6A5D.js +2 -0
- package/dist/chunk-FAOX6A5D.js.map +1 -0
- package/dist/chunk-FBJ2JSRA.js +47 -0
- package/dist/chunk-FBJ2JSRA.js.map +1 -0
- package/dist/chunk-FDJ77DTR.js +2 -0
- package/dist/chunk-FDJ77DTR.js.map +1 -0
- package/dist/chunk-FDPONOOT.js +93 -0
- package/dist/chunk-FDPONOOT.js.map +1 -0
- package/dist/chunk-FHDJKH2A.js +2 -0
- package/dist/chunk-FHDJKH2A.js.map +1 -0
- package/dist/chunk-FINAKMC6.js +796 -0
- package/dist/chunk-FINAKMC6.js.map +1 -0
- package/dist/chunk-FKUP7QRJ.js +54 -0
- package/dist/chunk-FKUP7QRJ.js.map +1 -0
- package/dist/chunk-FPLZ24MK.js +2 -0
- package/dist/chunk-FPLZ24MK.js.map +1 -0
- package/dist/chunk-FRFSDZIN.js +2 -0
- package/dist/chunk-FRFSDZIN.js.map +1 -0
- package/dist/chunk-FYCCNQXQ.js +173 -0
- package/dist/chunk-FYCCNQXQ.js.map +1 -0
- package/dist/chunk-G3OTDYCD.js +53 -0
- package/dist/chunk-G3OTDYCD.js.map +1 -0
- package/dist/chunk-G72UOVKS.js +2 -0
- package/dist/chunk-G72UOVKS.js.map +1 -0
- package/dist/chunk-GAI4NEPU.js +151 -0
- package/dist/chunk-GAI4NEPU.js.map +1 -0
- package/dist/chunk-GRWGNWIJ.js +187 -0
- package/dist/chunk-GRWGNWIJ.js.map +1 -0
- package/dist/chunk-GV6GQXKX.js +176 -0
- package/dist/chunk-GV6GQXKX.js.map +1 -0
- package/dist/chunk-H5UA5JW4.js +140 -0
- package/dist/chunk-H5UA5JW4.js.map +1 -0
- package/dist/chunk-H5XSI63P.js +2 -0
- package/dist/chunk-H5XSI63P.js.map +1 -0
- package/dist/chunk-HANBQNW3.js +1498 -0
- package/dist/chunk-HANBQNW3.js.map +1 -0
- package/dist/chunk-HCU2JHPH.js +169 -0
- package/dist/chunk-HCU2JHPH.js.map +1 -0
- package/dist/chunk-HDDXP2J7.js +2 -0
- package/dist/chunk-HDDXP2J7.js.map +1 -0
- package/dist/chunk-HDS64Z5L.js +54 -0
- package/dist/chunk-HDS64Z5L.js.map +1 -0
- package/dist/chunk-HHVULJGX.js +2 -0
- package/dist/chunk-HHVULJGX.js.map +1 -0
- package/dist/chunk-HLMFRCFE.js +2 -0
- package/dist/chunk-HLMFRCFE.js.map +1 -0
- package/dist/chunk-HPUPDT4Q.js +2 -0
- package/dist/chunk-HPUPDT4Q.js.map +1 -0
- package/dist/chunk-HRYH7XQP.js +209 -0
- package/dist/chunk-HRYH7XQP.js.map +1 -0
- package/dist/chunk-HVFYAQLK.js +101 -0
- package/dist/chunk-HVFYAQLK.js.map +1 -0
- package/dist/chunk-HZPNST7D.js +2 -0
- package/dist/chunk-HZPNST7D.js.map +1 -0
- package/dist/chunk-I6O6ACCH.js +2 -0
- package/dist/chunk-I6O6ACCH.js.map +1 -0
- package/dist/chunk-IGP5E4FC.js +201 -0
- package/dist/chunk-IGP5E4FC.js.map +1 -0
- package/dist/chunk-IHMFEPIT.js +123 -0
- package/dist/chunk-IHMFEPIT.js.map +1 -0
- package/dist/chunk-IM5VJP6T.js +2 -0
- package/dist/chunk-IM5VJP6T.js.map +1 -0
- package/dist/chunk-IRUZDWJ3.js +218 -0
- package/dist/chunk-IRUZDWJ3.js.map +1 -0
- package/dist/chunk-ISWUCXEZ.js +2 -0
- package/dist/chunk-ISWUCXEZ.js.map +1 -0
- package/dist/chunk-ITFDGFOT.js +31 -0
- package/dist/chunk-ITFDGFOT.js.map +1 -0
- package/dist/chunk-IUQ474IC.js +2 -0
- package/dist/chunk-IUQ474IC.js.map +1 -0
- package/dist/chunk-IY23F2Y5.js +2 -0
- package/dist/chunk-IY23F2Y5.js.map +1 -0
- package/dist/chunk-IZJOZJDL.js +75 -0
- package/dist/chunk-IZJOZJDL.js.map +1 -0
- package/dist/chunk-J2P4YZLC.js +85 -0
- package/dist/chunk-J2P4YZLC.js.map +1 -0
- package/dist/chunk-JCRBDA66.js +2 -0
- package/dist/chunk-JCRBDA66.js.map +1 -0
- package/dist/chunk-JGS2IHER.js +140 -0
- package/dist/chunk-JGS2IHER.js.map +1 -0
- package/dist/chunk-JNWXHPZG.js +24 -0
- package/dist/chunk-JNWXHPZG.js.map +1 -0
- package/dist/chunk-JWWJ2Z5C.js +2 -0
- package/dist/chunk-JWWJ2Z5C.js.map +1 -0
- package/dist/chunk-K2GLXCTG.js +2 -0
- package/dist/chunk-K2GLXCTG.js.map +1 -0
- package/dist/chunk-K6YRTASS.js +55 -0
- package/dist/chunk-K6YRTASS.js.map +1 -0
- package/dist/chunk-KAAJL2HA.js +327 -0
- package/dist/chunk-KAAJL2HA.js.map +1 -0
- package/dist/chunk-KBNWM27Q.js +48 -0
- package/dist/chunk-KBNWM27Q.js.map +1 -0
- package/dist/chunk-KOVHUAHG.js +164 -0
- package/dist/chunk-KOVHUAHG.js.map +1 -0
- package/dist/chunk-KRVSD4OK.js +2 -0
- package/dist/chunk-KRVSD4OK.js.map +1 -0
- package/dist/chunk-KTH3GWAL.js +116 -0
- package/dist/chunk-KTH3GWAL.js.map +1 -0
- package/dist/chunk-KUAVM54Y.js +30 -0
- package/dist/chunk-KUAVM54Y.js.map +1 -0
- package/dist/chunk-KWQ6HV5Z.js +97 -0
- package/dist/chunk-KWQ6HV5Z.js.map +1 -0
- package/dist/chunk-KZWC6JCI.js +177 -0
- package/dist/chunk-KZWC6JCI.js.map +1 -0
- package/dist/chunk-L37QZALU.js +17 -0
- package/dist/chunk-L37QZALU.js.map +1 -0
- package/dist/chunk-L3SHPHLK.js +35 -0
- package/dist/chunk-L3SHPHLK.js.map +1 -0
- package/dist/chunk-L66VJIRD.js +2 -0
- package/dist/chunk-L66VJIRD.js.map +1 -0
- package/dist/chunk-LDOCY4SU.js +68 -0
- package/dist/chunk-LDOCY4SU.js.map +1 -0
- package/dist/chunk-LJGWA2XL.js +2 -0
- package/dist/chunk-LJGWA2XL.js.map +1 -0
- package/dist/chunk-LLQWLZ75.js +2 -0
- package/dist/chunk-LLQWLZ75.js.map +1 -0
- package/dist/chunk-LMO3QK7Q.js +137 -0
- package/dist/chunk-LMO3QK7Q.js.map +1 -0
- package/dist/chunk-LOSXINSS.js +100 -0
- package/dist/chunk-LOSXINSS.js.map +1 -0
- package/dist/chunk-LR2CU7HK.js +41 -0
- package/dist/chunk-LR2CU7HK.js.map +1 -0
- package/dist/chunk-LSYVAOSH.js +2 -0
- package/dist/chunk-LSYVAOSH.js.map +1 -0
- package/dist/chunk-LVRULYU4.js +400 -0
- package/dist/chunk-LVRULYU4.js.map +1 -0
- package/dist/chunk-LXW3GNF7.js +201 -0
- package/dist/chunk-LXW3GNF7.js.map +1 -0
- package/dist/chunk-LYVBDMDQ.js +2 -0
- package/dist/chunk-LYVBDMDQ.js.map +1 -0
- package/dist/chunk-M3WSUFD4.js +2 -0
- package/dist/chunk-M3WSUFD4.js.map +1 -0
- package/dist/chunk-MGAXCPT7.js +87 -0
- package/dist/chunk-MGAXCPT7.js.map +1 -0
- package/dist/chunk-MIXCXZWT.js +2 -0
- package/dist/chunk-MIXCXZWT.js.map +1 -0
- package/dist/chunk-MLGBLKUH.js +2 -0
- package/dist/chunk-MLGBLKUH.js.map +1 -0
- package/dist/chunk-MNS2VWHD.js +2 -0
- package/dist/chunk-MNS2VWHD.js.map +1 -0
- package/dist/chunk-MPMMU3QI.js +2 -0
- package/dist/chunk-MPMMU3QI.js.map +1 -0
- package/dist/chunk-MRWOHWEH.js +2 -0
- package/dist/chunk-MRWOHWEH.js.map +1 -0
- package/dist/chunk-MZDL7N52.js +2 -0
- package/dist/chunk-MZDL7N52.js.map +1 -0
- package/dist/chunk-N44PNGDS.js +169 -0
- package/dist/chunk-N44PNGDS.js.map +1 -0
- package/dist/chunk-N7PJTMRL.js +2 -0
- package/dist/chunk-N7PJTMRL.js.map +1 -0
- package/dist/chunk-NBMF7SIS.js +35 -0
- package/dist/chunk-NBMF7SIS.js.map +1 -0
- package/dist/chunk-NJAGSGPF.js +245 -0
- package/dist/chunk-NJAGSGPF.js.map +1 -0
- package/dist/chunk-NMGNXW3J.js +98 -0
- package/dist/chunk-NMGNXW3J.js.map +1 -0
- package/dist/chunk-NQY3QNLR.js +80 -0
- package/dist/chunk-NQY3QNLR.js.map +1 -0
- package/dist/chunk-NRNIUM75.js +2 -0
- package/dist/chunk-NRNIUM75.js.map +1 -0
- package/dist/chunk-NRSSSVWB.js +61 -0
- package/dist/chunk-NRSSSVWB.js.map +1 -0
- package/dist/chunk-NTTSHOOK.js +78 -0
- package/dist/chunk-NTTSHOOK.js.map +1 -0
- package/dist/chunk-O3JWMB6O.js +20 -0
- package/dist/chunk-O3JWMB6O.js.map +1 -0
- package/dist/chunk-OBEJUAN6.js +246 -0
- package/dist/chunk-OBEJUAN6.js.map +1 -0
- package/dist/chunk-OEPN373X.js +2 -0
- package/dist/chunk-OEPN373X.js.map +1 -0
- package/dist/chunk-OITCRC5D.js +2 -0
- package/dist/chunk-OITCRC5D.js.map +1 -0
- package/dist/chunk-OKV3N7QK.js +2 -0
- package/dist/chunk-OKV3N7QK.js.map +1 -0
- package/dist/chunk-ON2E7XHD.js +51 -0
- package/dist/chunk-ON2E7XHD.js.map +1 -0
- package/dist/chunk-OPMMD25Z.js +218 -0
- package/dist/chunk-OPMMD25Z.js.map +1 -0
- package/dist/chunk-OR4NVFPH.js +2 -0
- package/dist/chunk-OR4NVFPH.js.map +1 -0
- package/dist/chunk-OV4GQOLC.js +73 -0
- package/dist/chunk-OV4GQOLC.js.map +1 -0
- package/dist/chunk-OYKS7YHE.js +2 -0
- package/dist/chunk-OYKS7YHE.js.map +1 -0
- package/dist/chunk-OYM3NHSD.js +74 -0
- package/dist/chunk-OYM3NHSD.js.map +1 -0
- package/dist/chunk-OZTM6PYF.js +30 -0
- package/dist/chunk-OZTM6PYF.js.map +1 -0
- package/dist/chunk-PHAENHGL.js +19 -0
- package/dist/chunk-PHAENHGL.js.map +1 -0
- package/dist/chunk-PLCQZBZS.js +63 -0
- package/dist/chunk-PLCQZBZS.js.map +1 -0
- package/dist/chunk-PP7POY7C.js +110 -0
- package/dist/chunk-PP7POY7C.js.map +1 -0
- package/dist/chunk-PSBNQZB4.js +2 -0
- package/dist/chunk-PSBNQZB4.js.map +1 -0
- package/dist/chunk-PYPNGKRD.js +355 -0
- package/dist/chunk-PYPNGKRD.js.map +1 -0
- package/dist/chunk-QDJHUNBQ.js +2 -0
- package/dist/chunk-QDJHUNBQ.js.map +1 -0
- package/dist/chunk-QDTGDYMM.js +77 -0
- package/dist/chunk-QDTGDYMM.js.map +1 -0
- package/dist/chunk-QF6UWWDY.js +125 -0
- package/dist/chunk-QF6UWWDY.js.map +1 -0
- package/dist/chunk-QGX37P5L.js +24 -0
- package/dist/chunk-QGX37P5L.js.map +1 -0
- package/dist/chunk-QNEOO22E.js +75 -0
- package/dist/chunk-QNEOO22E.js.map +1 -0
- package/dist/chunk-QODOFLHL.js +2 -0
- package/dist/chunk-QODOFLHL.js.map +1 -0
- package/dist/chunk-QRGYKV4J.js +2 -0
- package/dist/chunk-QRGYKV4J.js.map +1 -0
- package/dist/chunk-QTIKGWU4.js +91 -0
- package/dist/chunk-QTIKGWU4.js.map +1 -0
- package/dist/chunk-R3SYH7RG.js +782 -0
- package/dist/chunk-R3SYH7RG.js.map +1 -0
- package/dist/chunk-R5JYMCEA.js +2 -0
- package/dist/chunk-R5JYMCEA.js.map +1 -0
- package/dist/chunk-R7DDZIE3.js +232 -0
- package/dist/chunk-R7DDZIE3.js.map +1 -0
- package/dist/chunk-RB5AWLDJ.js +26 -0
- package/dist/chunk-RB5AWLDJ.js.map +1 -0
- package/dist/chunk-RF7JSNXJ.js +2 -0
- package/dist/chunk-RF7JSNXJ.js.map +1 -0
- package/dist/chunk-RHXVQZOW.js +2 -0
- package/dist/chunk-RHXVQZOW.js.map +1 -0
- package/dist/chunk-RM5JIUVW.js +74 -0
- package/dist/chunk-RM5JIUVW.js.map +1 -0
- package/dist/chunk-RMSMTLXH.js +2 -0
- package/dist/chunk-RMSMTLXH.js.map +1 -0
- package/dist/chunk-RNC4M6SG.js +85 -0
- package/dist/chunk-RNC4M6SG.js.map +1 -0
- package/dist/chunk-RRYWMYGI.js +14 -0
- package/dist/chunk-RRYWMYGI.js.map +1 -0
- package/dist/chunk-RRZUMIYG.js +93 -0
- package/dist/chunk-RRZUMIYG.js.map +1 -0
- package/dist/chunk-RTHCX2TG.js +59 -0
- package/dist/chunk-RTHCX2TG.js.map +1 -0
- package/dist/chunk-RWUKMJYA.js +39 -0
- package/dist/chunk-RWUKMJYA.js.map +1 -0
- package/dist/chunk-SMTAPQEQ.js +2 -0
- package/dist/chunk-SMTAPQEQ.js.map +1 -0
- package/dist/chunk-SS6EOZKZ.js +2 -0
- package/dist/chunk-SS6EOZKZ.js.map +1 -0
- package/dist/chunk-T2XEMEN2.js +2 -0
- package/dist/chunk-T2XEMEN2.js.map +1 -0
- package/dist/chunk-T4JNXV75.js +125 -0
- package/dist/chunk-T4JNXV75.js.map +1 -0
- package/dist/chunk-T7JOWG2A.js +10 -0
- package/dist/chunk-T7JOWG2A.js.map +1 -0
- package/dist/chunk-TAQI4JTE.js +12 -0
- package/dist/chunk-TAQI4JTE.js.map +1 -0
- package/dist/chunk-TEKBTTP2.js +27 -0
- package/dist/chunk-TEKBTTP2.js.map +1 -0
- package/dist/chunk-TNOANK34.js +4483 -0
- package/dist/chunk-TNOANK34.js.map +1 -0
- package/dist/chunk-TU24Y4HN.js +178 -0
- package/dist/chunk-TU24Y4HN.js.map +1 -0
- package/dist/chunk-U26XDHMX.js +726 -0
- package/dist/chunk-U26XDHMX.js.map +1 -0
- package/dist/chunk-U4LHV5DS.js +36 -0
- package/dist/chunk-U4LHV5DS.js.map +1 -0
- package/dist/chunk-U7QYCYHC.js +2 -0
- package/dist/chunk-U7QYCYHC.js.map +1 -0
- package/dist/chunk-UANAVLMS.js +2 -0
- package/dist/chunk-UANAVLMS.js.map +1 -0
- package/dist/chunk-UCEVPLR5.js +2 -0
- package/dist/chunk-UCEVPLR5.js.map +1 -0
- package/dist/chunk-UCQDLRHR.js +31 -0
- package/dist/chunk-UCQDLRHR.js.map +1 -0
- package/dist/chunk-UFF7LLGU.js +2 -0
- package/dist/chunk-UFF7LLGU.js.map +1 -0
- package/dist/chunk-UG5TKXTK.js +2 -0
- package/dist/chunk-UG5TKXTK.js.map +1 -0
- package/dist/chunk-ULIDYFM7.js +192 -0
- package/dist/chunk-ULIDYFM7.js.map +1 -0
- package/dist/chunk-UPEMEBWH.js +186 -0
- package/dist/chunk-UPEMEBWH.js.map +1 -0
- package/dist/chunk-UQHWOPUY.js +61 -0
- package/dist/chunk-UQHWOPUY.js.map +1 -0
- package/dist/chunk-UQRYTMR7.js +2 -0
- package/dist/chunk-UQRYTMR7.js.map +1 -0
- package/dist/chunk-URVAZW44.js +323 -0
- package/dist/chunk-URVAZW44.js.map +1 -0
- package/dist/chunk-USI4LB3N.js +2 -0
- package/dist/chunk-USI4LB3N.js.map +1 -0
- package/dist/chunk-UXSV6RVS.js +31 -0
- package/dist/chunk-UXSV6RVS.js.map +1 -0
- package/dist/chunk-V2S5DINS.js +2 -0
- package/dist/chunk-V2S5DINS.js.map +1 -0
- package/dist/chunk-V3EQ6ACC.js +2 -0
- package/dist/chunk-V3EQ6ACC.js.map +1 -0
- package/dist/chunk-V4DDHF7S.js +147 -0
- package/dist/chunk-V4DDHF7S.js.map +1 -0
- package/dist/chunk-VA2OONPE.js +77 -0
- package/dist/chunk-VA2OONPE.js.map +1 -0
- package/dist/chunk-VFF3AN4Y.js +90 -0
- package/dist/chunk-VFF3AN4Y.js.map +1 -0
- package/dist/chunk-VH7GG77B.js +2 -0
- package/dist/chunk-VH7GG77B.js.map +1 -0
- package/dist/chunk-VHLPJ4XW.js +2 -0
- package/dist/chunk-VHLPJ4XW.js.map +1 -0
- package/dist/chunk-VLE5THFD.js +2 -0
- package/dist/chunk-VLE5THFD.js.map +1 -0
- package/dist/chunk-VORFRWM5.js +2 -0
- package/dist/chunk-VORFRWM5.js.map +1 -0
- package/dist/chunk-VQ2T3OEC.js +27 -0
- package/dist/chunk-VQ2T3OEC.js.map +1 -0
- package/dist/chunk-VRIAWF3A.js +25 -0
- package/dist/chunk-VRIAWF3A.js.map +1 -0
- package/dist/chunk-W6HCXQBH.js +198 -0
- package/dist/chunk-W6HCXQBH.js.map +1 -0
- package/dist/chunk-W7I2X6VI.js +2 -0
- package/dist/chunk-W7I2X6VI.js.map +1 -0
- package/dist/chunk-WCCCW4KD.js +140 -0
- package/dist/chunk-WCCCW4KD.js.map +1 -0
- package/dist/chunk-WNIVCHDP.js +2 -0
- package/dist/chunk-WNIVCHDP.js.map +1 -0
- package/dist/chunk-WOMO5CZ7.js +2 -0
- package/dist/chunk-WOMO5CZ7.js.map +1 -0
- package/dist/chunk-WTB4DDZP.js +163 -0
- package/dist/chunk-WTB4DDZP.js.map +1 -0
- package/dist/chunk-WW3CD7AU.js +118 -0
- package/dist/chunk-WW3CD7AU.js.map +1 -0
- package/dist/chunk-WX3LWMVU.js +81 -0
- package/dist/chunk-WX3LWMVU.js.map +1 -0
- package/dist/chunk-WYENWW3Y.js +2 -0
- package/dist/chunk-WYENWW3Y.js.map +1 -0
- package/dist/chunk-WZTFU6FJ.js +69 -0
- package/dist/chunk-WZTFU6FJ.js.map +1 -0
- package/dist/chunk-X4FE7UKP.js +2 -0
- package/dist/chunk-X4FE7UKP.js.map +1 -0
- package/dist/chunk-X6J4KKZZ.js +126 -0
- package/dist/chunk-X6J4KKZZ.js.map +1 -0
- package/dist/chunk-XAFRTZQF.js +56 -0
- package/dist/chunk-XAFRTZQF.js.map +1 -0
- package/dist/chunk-XGX3UFLD.js +2 -0
- package/dist/chunk-XGX3UFLD.js.map +1 -0
- package/dist/chunk-XGXCMA5M.js +2 -0
- package/dist/chunk-XGXCMA5M.js.map +1 -0
- package/dist/chunk-XJQADN6S.js +41 -0
- package/dist/chunk-XJQADN6S.js.map +1 -0
- package/dist/chunk-XMZ5LXL4.js +68 -0
- package/dist/chunk-XMZ5LXL4.js.map +1 -0
- package/dist/chunk-XONGYCW3.js +637 -0
- package/dist/chunk-XONGYCW3.js.map +1 -0
- package/dist/chunk-XYACSO57.js +36 -0
- package/dist/chunk-XYACSO57.js.map +1 -0
- package/dist/chunk-XYFEQHEM.js +2 -0
- package/dist/chunk-XYFEQHEM.js.map +1 -0
- package/dist/chunk-XZ23AFOP.js +26 -0
- package/dist/chunk-XZ23AFOP.js.map +1 -0
- package/dist/chunk-YACASX6X.js +54 -0
- package/dist/chunk-YACASX6X.js.map +1 -0
- package/dist/chunk-YCFOFNQF.js +28 -0
- package/dist/chunk-YCFOFNQF.js.map +1 -0
- package/dist/chunk-YIFB24WW.js +37 -0
- package/dist/chunk-YIFB24WW.js.map +1 -0
- package/dist/chunk-YIVL6HWS.js +68 -0
- package/dist/chunk-YIVL6HWS.js.map +1 -0
- package/dist/chunk-YK4H7VWM.js +2 -0
- package/dist/chunk-YK4H7VWM.js.map +1 -0
- package/dist/chunk-YL7VBHPZ.js +100 -0
- package/dist/chunk-YL7VBHPZ.js.map +1 -0
- package/dist/chunk-YMFEBGTU.js +2 -0
- package/dist/chunk-YMFEBGTU.js.map +1 -0
- package/dist/chunk-YPLKH5H4.js +226 -0
- package/dist/chunk-YPLKH5H4.js.map +1 -0
- package/dist/chunk-YWB7HLL7.js +126 -0
- package/dist/chunk-YWB7HLL7.js.map +1 -0
- package/dist/chunk-YXHHUJOZ.js +235 -0
- package/dist/chunk-YXHHUJOZ.js.map +1 -0
- package/dist/chunk-YZVXIPBC.js +2 -0
- package/dist/chunk-YZVXIPBC.js.map +1 -0
- package/dist/chunk-Z44RRTMX.js +2 -0
- package/dist/chunk-Z44RRTMX.js.map +1 -0
- package/dist/chunk-Z4CYBG3H.js +2 -0
- package/dist/chunk-Z4CYBG3H.js.map +1 -0
- package/dist/chunk-ZE2H4J3P.js +2 -0
- package/dist/chunk-ZE2H4J3P.js.map +1 -0
- package/dist/chunk-ZEMTALKO.js +2 -0
- package/dist/chunk-ZEMTALKO.js.map +1 -0
- package/dist/chunk-ZI2OXD6L.js +244 -0
- package/dist/chunk-ZI2OXD6L.js.map +1 -0
- package/dist/chunk-ZNFHDBUW.js +266 -0
- package/dist/chunk-ZNFHDBUW.js.map +1 -0
- package/dist/chunk-ZXBUOHCR.js +111 -0
- package/dist/chunk-ZXBUOHCR.js.map +1 -0
- package/dist/chunk-ZXVPEQM5.js +2 -0
- package/dist/chunk-ZXVPEQM5.js.map +1 -0
- package/dist/components/accordion/accordion.js +16 -0
- package/dist/components/accordion/accordion.js.map +1 -0
- package/dist/components/accordion/index.js +17 -0
- package/dist/components/accordion/index.js.map +1 -0
- package/dist/components/advanced-group/advanced-group.js +18 -0
- package/dist/components/advanced-group/advanced-group.js.map +1 -0
- package/dist/components/advanced-group/index.js +18 -0
- package/dist/components/advanced-group/index.js.map +1 -0
- package/dist/components/alert/alert.js +16 -0
- package/dist/components/alert/alert.js.map +1 -0
- package/dist/components/alert/index.js +17 -0
- package/dist/components/alert/index.js.map +1 -0
- package/dist/components/alert-dialog/alert-dialog.js +30 -0
- package/dist/components/alert-dialog/alert-dialog.js.map +1 -0
- package/dist/components/alert-dialog/index.js +31 -0
- package/dist/components/alert-dialog/index.js.map +1 -0
- package/dist/components/ambient-field/ambient-field.css +59 -0
- package/dist/components/ambient-field/ambient-field.css.map +1 -0
- package/dist/components/ambient-field/ambient-field.js +15 -0
- package/dist/components/ambient-field/ambient-field.js.map +1 -0
- package/dist/components/ambient-field/index.css +59 -0
- package/dist/components/ambient-field/index.css.map +1 -0
- package/dist/components/ambient-field/index.js +16 -0
- package/dist/components/ambient-field/index.js.map +1 -0
- package/dist/components/app-shell/app-shell.js +14 -0
- package/dist/components/app-shell/app-shell.js.map +1 -0
- package/dist/components/app-shell/index.js +15 -0
- package/dist/components/app-shell/index.js.map +1 -0
- package/dist/components/app-sidebar/app-sidebar.js +31 -0
- package/dist/components/app-sidebar/app-sidebar.js.map +1 -0
- package/dist/components/app-sidebar/index.js +31 -0
- package/dist/components/app-sidebar/index.js.map +1 -0
- package/dist/components/aspect-ratio/aspect-ratio.js +9 -0
- package/dist/components/aspect-ratio/aspect-ratio.js.map +1 -0
- package/dist/components/aspect-ratio/index.js +10 -0
- package/dist/components/aspect-ratio/index.js.map +1 -0
- package/dist/components/attribution-panel/attribution-panel.js +24 -0
- package/dist/components/attribution-panel/attribution-panel.js.map +1 -0
- package/dist/components/attribution-panel/attribution-types.js +2 -0
- package/dist/components/attribution-panel/attribution-types.js.map +1 -0
- package/dist/components/attribution-panel/attributions.generated.js +9 -0
- package/dist/components/attribution-panel/attributions.generated.js.map +1 -0
- package/dist/components/attribution-panel/index.js +24 -0
- package/dist/components/attribution-panel/index.js.map +1 -0
- package/dist/components/avatar/avatar.js +14 -0
- package/dist/components/avatar/avatar.js.map +1 -0
- package/dist/components/avatar/index.js +15 -0
- package/dist/components/avatar/index.js.map +1 -0
- package/dist/components/badge/badge.js +16 -0
- package/dist/components/badge/badge.js.map +1 -0
- package/dist/components/badge/index.js +13 -0
- package/dist/components/badge/index.js.map +1 -0
- package/dist/components/bento-grid/bento-grid.js +16 -0
- package/dist/components/bento-grid/bento-grid.js.map +1 -0
- package/dist/components/bento-grid/index.js +16 -0
- package/dist/components/bento-grid/index.js.map +1 -0
- package/dist/components/bounded-number/bounded-number.js +24 -0
- package/dist/components/bounded-number/bounded-number.js.map +1 -0
- package/dist/components/bounded-number/index.js +24 -0
- package/dist/components/bounded-number/index.js.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.js +28 -0
- package/dist/components/breadcrumb/breadcrumb.js.map +1 -0
- package/dist/components/breadcrumb/index.js +26 -0
- package/dist/components/breadcrumb/index.js.map +1 -0
- package/dist/components/button/button.js +12 -0
- package/dist/components/button/button.js.map +1 -0
- package/dist/components/button/index.js +13 -0
- package/dist/components/button/index.js.map +1 -0
- package/dist/components/button-group/button-group.js +18 -0
- package/dist/components/button-group/button-group.js.map +1 -0
- package/dist/components/button-group/index.js +19 -0
- package/dist/components/button-group/index.js.map +1 -0
- package/dist/components/calendar/calendar.js +12 -0
- package/dist/components/calendar/calendar.js.map +1 -0
- package/dist/components/calendar/index.js +13 -0
- package/dist/components/calendar/index.js.map +1 -0
- package/dist/components/card/card.js +27 -0
- package/dist/components/card/card.js.map +1 -0
- package/dist/components/card/index.js +27 -0
- package/dist/components/card/index.js.map +1 -0
- package/dist/components/carousel/carousel.js +24 -0
- package/dist/components/carousel/carousel.js.map +1 -0
- package/dist/components/carousel/index.js +24 -0
- package/dist/components/carousel/index.js.map +1 -0
- package/dist/components/change-review/change-review.js +34 -0
- package/dist/components/change-review/change-review.js.map +1 -0
- package/dist/components/change-review/index.js +34 -0
- package/dist/components/change-review/index.js.map +1 -0
- package/dist/components/checkbox/checkbox.js +10 -0
- package/dist/components/checkbox/checkbox.js.map +1 -0
- package/dist/components/checkbox/index.js +11 -0
- package/dist/components/checkbox/index.js.map +1 -0
- package/dist/components/collapsible/collapsible.js +14 -0
- package/dist/components/collapsible/collapsible.js.map +1 -0
- package/dist/components/collapsible/index.js +15 -0
- package/dist/components/collapsible/index.js.map +1 -0
- package/dist/components/collapsible-panel/index.js +11 -0
- package/dist/components/collapsible-panel/index.js.map +1 -0
- package/dist/components/collapsible-panel/use-collapsible-panel.js +11 -0
- package/dist/components/collapsible-panel/use-collapsible-panel.js.map +1 -0
- package/dist/components/color-picker/color-picker.js +18 -0
- package/dist/components/color-picker/color-picker.js.map +1 -0
- package/dist/components/color-picker/index.js +18 -0
- package/dist/components/color-picker/index.js.map +1 -0
- package/dist/components/combobox/combobox.js +28 -0
- package/dist/components/combobox/combobox.js.map +1 -0
- package/dist/components/combobox/index.js +28 -0
- package/dist/components/combobox/index.js.map +1 -0
- package/dist/components/command/command.js +39 -0
- package/dist/components/command/command.js.map +1 -0
- package/dist/components/command/index.js +39 -0
- package/dist/components/command/index.js.map +1 -0
- package/dist/components/command-chip/command-chip.js +17 -0
- package/dist/components/command-chip/command-chip.js.map +1 -0
- package/dist/components/command-chip/index.js +17 -0
- package/dist/components/command-chip/index.js.map +1 -0
- package/dist/components/command-trigger/command-trigger.js +12 -0
- package/dist/components/command-trigger/command-trigger.js.map +1 -0
- package/dist/components/command-trigger/index.js +13 -0
- package/dist/components/command-trigger/index.js.map +1 -0
- package/dist/components/confirm-dialog/confirm-dialog.js +20 -0
- package/dist/components/confirm-dialog/confirm-dialog.js.map +1 -0
- package/dist/components/confirm-dialog/index.js +20 -0
- package/dist/components/confirm-dialog/index.js.map +1 -0
- package/dist/components/context-menu/context-menu.js +36 -0
- package/dist/components/context-menu/context-menu.js.map +1 -0
- package/dist/components/context-menu/index.js +37 -0
- package/dist/components/context-menu/index.js.map +1 -0
- package/dist/components/context-rail/context-rail.js +35 -0
- package/dist/components/context-rail/context-rail.js.map +1 -0
- package/dist/components/context-rail/index.js +35 -0
- package/dist/components/context-rail/index.js.map +1 -0
- package/dist/components/copyable-value/copyable-value.js +19 -0
- package/dist/components/copyable-value/copyable-value.js.map +1 -0
- package/dist/components/copyable-value/index.js +17 -0
- package/dist/components/copyable-value/index.js.map +1 -0
- package/dist/components/date-picker/date-picker.js +21 -0
- package/dist/components/date-picker/date-picker.js.map +1 -0
- package/dist/components/date-picker/index.js +21 -0
- package/dist/components/date-picker/index.js.map +1 -0
- package/dist/components/date-range-picker/date-range-picker.js +22 -0
- package/dist/components/date-range-picker/date-range-picker.js.map +1 -0
- package/dist/components/date-range-picker/index.js +22 -0
- package/dist/components/date-range-picker/index.js.map +1 -0
- package/dist/components/descriptions/descriptions.js +12 -0
- package/dist/components/descriptions/descriptions.js.map +1 -0
- package/dist/components/descriptions/index.js +13 -0
- package/dist/components/descriptions/index.js.map +1 -0
- package/dist/components/dialog/dialog.js +41 -0
- package/dist/components/dialog/dialog.js.map +1 -0
- package/dist/components/dialog/index.js +45 -0
- package/dist/components/dialog/index.js.map +1 -0
- package/dist/components/dialog/use-dialog-dismiss-guard.js +10 -0
- package/dist/components/dialog/use-dialog-dismiss-guard.js.map +1 -0
- package/dist/components/drawer/drawer.js +26 -0
- package/dist/components/drawer/drawer.js.map +1 -0
- package/dist/components/drawer/index.js +27 -0
- package/dist/components/drawer/index.js.map +1 -0
- package/dist/components/dropdown-menu/dropdown-menu.js +38 -0
- package/dist/components/dropdown-menu/dropdown-menu.js.map +1 -0
- package/dist/components/dropdown-menu/index.js +39 -0
- package/dist/components/dropdown-menu/index.js.map +1 -0
- package/dist/components/empty-state/empty-state.js +15 -0
- package/dist/components/empty-state/empty-state.js.map +1 -0
- package/dist/components/empty-state/index.js +16 -0
- package/dist/components/empty-state/index.js.map +1 -0
- package/dist/components/error-state/error-state.js +15 -0
- package/dist/components/error-state/error-state.js.map +1 -0
- package/dist/components/error-state/index.js +16 -0
- package/dist/components/error-state/index.js.map +1 -0
- package/dist/components/expand-dialog/expand-dialog.js +28 -0
- package/dist/components/expand-dialog/expand-dialog.js.map +1 -0
- package/dist/components/expand-dialog/index.js +28 -0
- package/dist/components/expand-dialog/index.js.map +1 -0
- package/dist/components/field/field-context.js +11 -0
- package/dist/components/field/field-context.js.map +1 -0
- package/dist/components/field/field.js +23 -0
- package/dist/components/field/field.js.map +1 -0
- package/dist/components/field/index.js +23 -0
- package/dist/components/field/index.js.map +1 -0
- package/dist/components/field-row/field-row.js +14 -0
- package/dist/components/field-row/field-row.js.map +1 -0
- package/dist/components/field-row/index.js +14 -0
- package/dist/components/field-row/index.js.map +1 -0
- package/dist/components/file-upload/file-upload.js +28 -0
- package/dist/components/file-upload/file-upload.js.map +1 -0
- package/dist/components/file-upload/index.js +26 -0
- package/dist/components/file-upload/index.js.map +1 -0
- package/dist/components/form/form.js +27 -0
- package/dist/components/form/form.js.map +1 -0
- package/dist/components/hover-card/hover-card.js +14 -0
- package/dist/components/hover-card/hover-card.js.map +1 -0
- package/dist/components/hover-card/index.js +15 -0
- package/dist/components/hover-card/index.js.map +1 -0
- package/dist/components/icon-button/icon-button.js +14 -0
- package/dist/components/icon-button/icon-button.js.map +1 -0
- package/dist/components/icon-button/index.js +15 -0
- package/dist/components/icon-button/index.js.map +1 -0
- package/dist/components/input/index.js +11 -0
- package/dist/components/input/index.js.map +1 -0
- package/dist/components/input/input.js +10 -0
- package/dist/components/input/input.js.map +1 -0
- package/dist/components/input-group/index.js +31 -0
- package/dist/components/input-group/index.js.map +1 -0
- package/dist/components/input-group/input-group.js +30 -0
- package/dist/components/input-group/input-group.js.map +1 -0
- package/dist/components/input-otp/index.js +17 -0
- package/dist/components/input-otp/index.js.map +1 -0
- package/dist/components/input-otp/input-otp.js +17 -0
- package/dist/components/input-otp/input-otp.js.map +1 -0
- package/dist/components/install-tabs/index.js +28 -0
- package/dist/components/install-tabs/index.js.map +1 -0
- package/dist/components/install-tabs/install-tabs.js +28 -0
- package/dist/components/install-tabs/install-tabs.js.map +1 -0
- package/dist/components/integration-matrix/index.js +26 -0
- package/dist/components/integration-matrix/index.js.map +1 -0
- package/dist/components/integration-matrix/integration-matrix.js +26 -0
- package/dist/components/integration-matrix/integration-matrix.js.map +1 -0
- package/dist/components/kbd/index.js +11 -0
- package/dist/components/kbd/index.js.map +1 -0
- package/dist/components/kbd/kbd.js +10 -0
- package/dist/components/kbd/kbd.js.map +1 -0
- package/dist/components/key-value-editor/index.js +18 -0
- package/dist/components/key-value-editor/index.js.map +1 -0
- package/dist/components/key-value-editor/key-value-editor.js +18 -0
- package/dist/components/key-value-editor/key-value-editor.js.map +1 -0
- package/dist/components/keyboard-shortcuts/index.js +25 -0
- package/dist/components/keyboard-shortcuts/index.js.map +1 -0
- package/dist/components/keyboard-shortcuts/keyboard-shortcuts.js +25 -0
- package/dist/components/keyboard-shortcuts/keyboard-shortcuts.js.map +1 -0
- package/dist/components/label/index.js +11 -0
- package/dist/components/label/index.js.map +1 -0
- package/dist/components/label/label.js +10 -0
- package/dist/components/label/label.js.map +1 -0
- package/dist/components/link-preview/index.js +14 -0
- package/dist/components/link-preview/index.js.map +1 -0
- package/dist/components/link-preview/link-preview.js +14 -0
- package/dist/components/link-preview/link-preview.js.map +1 -0
- package/dist/components/list-editor/index.js +18 -0
- package/dist/components/list-editor/index.js.map +1 -0
- package/dist/components/list-editor/list-editor.js +18 -0
- package/dist/components/list-editor/list-editor.js.map +1 -0
- package/dist/components/loading-state/index.js +16 -0
- package/dist/components/loading-state/index.js.map +1 -0
- package/dist/components/loading-state/loading-state.js +15 -0
- package/dist/components/loading-state/loading-state.js.map +1 -0
- package/dist/components/locale-provider/index.js +16 -0
- package/dist/components/locale-provider/index.js.map +1 -0
- package/dist/components/locale-provider/locale-provider.js +13 -0
- package/dist/components/locale-provider/locale-provider.js.map +1 -0
- package/dist/components/locale-provider/messages.js +10 -0
- package/dist/components/locale-provider/messages.js.map +1 -0
- package/dist/components/match-highlight/index.js +15 -0
- package/dist/components/match-highlight/index.js.map +1 -0
- package/dist/components/match-highlight/match-highlight.js +14 -0
- package/dist/components/match-highlight/match-highlight.js.map +1 -0
- package/dist/components/mention-input/index.js +46 -0
- package/dist/components/mention-input/index.js.map +1 -0
- package/dist/components/mention-input/mention-input.js +33 -0
- package/dist/components/mention-input/mention-input.js.map +1 -0
- package/dist/components/mention-input/mention-value.js +20 -0
- package/dist/components/mention-input/mention-value.js.map +1 -0
- package/dist/components/menubar/index.js +39 -0
- package/dist/components/menubar/index.js.map +1 -0
- package/dist/components/menubar/menubar.js +38 -0
- package/dist/components/menubar/menubar.js.map +1 -0
- package/dist/components/meter/index.js +15 -0
- package/dist/components/meter/index.js.map +1 -0
- package/dist/components/meter/meter.js +15 -0
- package/dist/components/meter/meter.js.map +1 -0
- package/dist/components/metric-card/index.js +24 -0
- package/dist/components/metric-card/index.js.map +1 -0
- package/dist/components/metric-card/metric-card.js +24 -0
- package/dist/components/metric-card/metric-card.js.map +1 -0
- package/dist/components/model-picker/index.js +37 -0
- package/dist/components/model-picker/index.js.map +1 -0
- package/dist/components/model-picker/model-picker-state.js +13 -0
- package/dist/components/model-picker/model-picker-state.js.map +1 -0
- package/dist/components/model-picker/model-picker.js +37 -0
- package/dist/components/model-picker/model-picker.js.map +1 -0
- package/dist/components/nav-main/index.js +33 -0
- package/dist/components/nav-main/index.js.map +1 -0
- package/dist/components/nav-main/nav-main.js +33 -0
- package/dist/components/nav-main/nav-main.js.map +1 -0
- package/dist/components/nav-notifications/index.js +20 -0
- package/dist/components/nav-notifications/index.js.map +1 -0
- package/dist/components/nav-notifications/nav-notifications.js +20 -0
- package/dist/components/nav-notifications/nav-notifications.js.map +1 -0
- package/dist/components/nav-user/index.js +35 -0
- package/dist/components/nav-user/index.js.map +1 -0
- package/dist/components/nav-user/nav-user.js +35 -0
- package/dist/components/nav-user/nav-user.js.map +1 -0
- package/dist/components/navigation-menu/index.js +25 -0
- package/dist/components/navigation-menu/index.js.map +1 -0
- package/dist/components/navigation-menu/navigation-menu.js +25 -0
- package/dist/components/navigation-menu/navigation-menu.js.map +1 -0
- package/dist/components/number-input/index.js +22 -0
- package/dist/components/number-input/index.js.map +1 -0
- package/dist/components/number-input/number-input.js +22 -0
- package/dist/components/number-input/number-input.js.map +1 -0
- package/dist/components/page-shell/index.js +11 -0
- package/dist/components/page-shell/index.js.map +1 -0
- package/dist/components/page-shell/page-shell.js +10 -0
- package/dist/components/page-shell/page-shell.js.map +1 -0
- package/dist/components/pagination/index.js +28 -0
- package/dist/components/pagination/index.js.map +1 -0
- package/dist/components/pagination/pagination.js +28 -0
- package/dist/components/pagination/pagination.js.map +1 -0
- package/dist/components/parallax-plane/index.css +17 -0
- package/dist/components/parallax-plane/index.css.map +1 -0
- package/dist/components/parallax-plane/index.js +18 -0
- package/dist/components/parallax-plane/index.js.map +1 -0
- package/dist/components/parallax-plane/parallax-plane.css +17 -0
- package/dist/components/parallax-plane/parallax-plane.css.map +1 -0
- package/dist/components/parallax-plane/parallax-plane.js +18 -0
- package/dist/components/parallax-plane/parallax-plane.js.map +1 -0
- package/dist/components/popover/index.js +17 -0
- package/dist/components/popover/index.js.map +1 -0
- package/dist/components/popover/popover.js +16 -0
- package/dist/components/popover/popover.js.map +1 -0
- package/dist/components/progress/index.js +13 -0
- package/dist/components/progress/index.js.map +1 -0
- package/dist/components/progress/progress.js +12 -0
- package/dist/components/progress/progress.js.map +1 -0
- package/dist/components/radio-group/index.js +13 -0
- package/dist/components/radio-group/index.js.map +1 -0
- package/dist/components/radio-group/radio-group.js +12 -0
- package/dist/components/radio-group/radio-group.js.map +1 -0
- package/dist/components/rating/index.js +11 -0
- package/dist/components/rating/index.js.map +1 -0
- package/dist/components/rating/rating.js +11 -0
- package/dist/components/rating/rating.js.map +1 -0
- package/dist/components/resizable/index.js +15 -0
- package/dist/components/resizable/index.js.map +1 -0
- package/dist/components/resizable/resizable.js +14 -0
- package/dist/components/resizable/resizable.js.map +1 -0
- package/dist/components/reveal/index.js +15 -0
- package/dist/components/reveal/index.js.map +1 -0
- package/dist/components/reveal/reveal.js +14 -0
- package/dist/components/reveal/reveal.js.map +1 -0
- package/dist/components/reveal-on-enter/index.css +21 -0
- package/dist/components/reveal-on-enter/index.css.map +1 -0
- package/dist/components/reveal-on-enter/index.js +12 -0
- package/dist/components/reveal-on-enter/index.js.map +1 -0
- package/dist/components/reveal-on-enter/reveal-on-enter.css +21 -0
- package/dist/components/reveal-on-enter/reveal-on-enter.css.map +1 -0
- package/dist/components/reveal-on-enter/reveal-on-enter.js +12 -0
- package/dist/components/reveal-on-enter/reveal-on-enter.js.map +1 -0
- package/dist/components/revision-timeline/index.js +18 -0
- package/dist/components/revision-timeline/index.js.map +1 -0
- package/dist/components/revision-timeline/revision-timeline.js +18 -0
- package/dist/components/revision-timeline/revision-timeline.js.map +1 -0
- package/dist/components/schema-form/from-json-schema.js +13 -0
- package/dist/components/schema-form/from-json-schema.js.map +1 -0
- package/dist/components/schema-form/index.js +140 -0
- package/dist/components/schema-form/index.js.map +1 -0
- package/dist/components/schema-form/schema-form-spec.js +63 -0
- package/dist/components/schema-form/schema-form-spec.js.map +1 -0
- package/dist/components/schema-form/schema-form-store.js +21 -0
- package/dist/components/schema-form/schema-form-store.js.map +1 -0
- package/dist/components/schema-form/schema-form.js +77 -0
- package/dist/components/schema-form/schema-form.js.map +1 -0
- package/dist/components/scroll-area/index.js +13 -0
- package/dist/components/scroll-area/index.js.map +1 -0
- package/dist/components/scroll-area/scroll-area.js +12 -0
- package/dist/components/scroll-area/scroll-area.js.map +1 -0
- package/dist/components/section-header/index.js +11 -0
- package/dist/components/section-header/index.js.map +1 -0
- package/dist/components/section-header/section-header.js +10 -0
- package/dist/components/section-header/section-header.js.map +1 -0
- package/dist/components/segmented-field/index.js +17 -0
- package/dist/components/segmented-field/index.js.map +1 -0
- package/dist/components/segmented-field/segmented-field.js +17 -0
- package/dist/components/segmented-field/segmented-field.js.map +1 -0
- package/dist/components/select/index.js +26 -0
- package/dist/components/select/index.js.map +1 -0
- package/dist/components/select/select.js +26 -0
- package/dist/components/select/select.js.map +1 -0
- package/dist/components/separator/index.js +11 -0
- package/dist/components/separator/index.js.map +1 -0
- package/dist/components/separator/separator.js +10 -0
- package/dist/components/separator/separator.js.map +1 -0
- package/dist/components/sheet/index.js +30 -0
- package/dist/components/sheet/index.js.map +1 -0
- package/dist/components/sheet/sheet.js +30 -0
- package/dist/components/sheet/sheet.js.map +1 -0
- package/dist/components/side-dock/index.js +20 -0
- package/dist/components/side-dock/index.js.map +1 -0
- package/dist/components/side-dock/side-dock.js +20 -0
- package/dist/components/side-dock/side-dock.js.map +1 -0
- package/dist/components/sidebar/index.js +77 -0
- package/dist/components/sidebar/index.js.map +1 -0
- package/dist/components/sidebar/sidebar.js +77 -0
- package/dist/components/sidebar/sidebar.js.map +1 -0
- package/dist/components/skeleton/index.js +11 -0
- package/dist/components/skeleton/index.js.map +1 -0
- package/dist/components/skeleton/skeleton.js +10 -0
- package/dist/components/skeleton/skeleton.js.map +1 -0
- package/dist/components/skip-link/index.js +11 -0
- package/dist/components/skip-link/index.js.map +1 -0
- package/dist/components/skip-link/skip-link.js +10 -0
- package/dist/components/skip-link/skip-link.js.map +1 -0
- package/dist/components/slider/index.js +11 -0
- package/dist/components/slider/index.js.map +1 -0
- package/dist/components/slider/slider.js +10 -0
- package/dist/components/slider/slider.js.map +1 -0
- package/dist/components/slider-number/index.js +26 -0
- package/dist/components/slider-number/index.js.map +1 -0
- package/dist/components/slider-number/slider-number.js +26 -0
- package/dist/components/slider-number/slider-number.js.map +1 -0
- package/dist/components/sonner/index.js +13 -0
- package/dist/components/sonner/index.js.map +1 -0
- package/dist/components/sonner/sonner.js +13 -0
- package/dist/components/sonner/sonner.js.map +1 -0
- package/dist/components/spec-playground/index.js +23 -0
- package/dist/components/spec-playground/index.js.map +1 -0
- package/dist/components/spec-playground/locate-json-path.js +17 -0
- package/dist/components/spec-playground/locate-json-path.js.map +1 -0
- package/dist/components/spec-playground/spec-playground.js +23 -0
- package/dist/components/spec-playground/spec-playground.js.map +1 -0
- package/dist/components/spinner/index.js +14 -0
- package/dist/components/spinner/index.js.map +1 -0
- package/dist/components/spinner/spinner.js +14 -0
- package/dist/components/spinner/spinner.js.map +1 -0
- package/dist/components/split-panel/index.js +13 -0
- package/dist/components/split-panel/index.js.map +1 -0
- package/dist/components/split-panel/split-panel.js +12 -0
- package/dist/components/split-panel/split-panel.js.map +1 -0
- package/dist/components/state-panel/index.js +17 -0
- package/dist/components/state-panel/index.js.map +1 -0
- package/dist/components/state-panel/state-panel.js +17 -0
- package/dist/components/state-panel/state-panel.js.map +1 -0
- package/dist/components/status-badge/index.js +30 -0
- package/dist/components/status-badge/index.js.map +1 -0
- package/dist/components/status-badge/status-badge.js +29 -0
- package/dist/components/status-badge/status-badge.js.map +1 -0
- package/dist/components/surface-tour/index.css +21 -0
- package/dist/components/surface-tour/index.css.map +1 -0
- package/dist/components/surface-tour/index.js +36 -0
- package/dist/components/surface-tour/index.js.map +1 -0
- package/dist/components/surface-tour/surface-tour.css +21 -0
- package/dist/components/surface-tour/surface-tour.css.map +1 -0
- package/dist/components/surface-tour/surface-tour.js +36 -0
- package/dist/components/surface-tour/surface-tour.js.map +1 -0
- package/dist/components/switch/index.js +11 -0
- package/dist/components/switch/index.js.map +1 -0
- package/dist/components/switch/switch.js +10 -0
- package/dist/components/switch/switch.js.map +1 -0
- package/dist/components/table/index.js +28 -0
- package/dist/components/table/index.js.map +1 -0
- package/dist/components/table/table.js +28 -0
- package/dist/components/table/table.js.map +1 -0
- package/dist/components/tabs/index.js +22 -0
- package/dist/components/tabs/index.js.map +1 -0
- package/dist/components/tabs/tabs.js +22 -0
- package/dist/components/tabs/tabs.js.map +1 -0
- package/dist/components/tag-input/index.js +21 -0
- package/dist/components/tag-input/index.js.map +1 -0
- package/dist/components/tag-input/tag-input.js +21 -0
- package/dist/components/tag-input/tag-input.js.map +1 -0
- package/dist/components/team-switcher/index.js +33 -0
- package/dist/components/team-switcher/index.js.map +1 -0
- package/dist/components/team-switcher/team-switcher.js +33 -0
- package/dist/components/team-switcher/team-switcher.js.map +1 -0
- package/dist/components/textarea/index.js +11 -0
- package/dist/components/textarea/index.js.map +1 -0
- package/dist/components/textarea/textarea.js +10 -0
- package/dist/components/textarea/textarea.js.map +1 -0
- package/dist/components/theme-family-switch/index.js +19 -0
- package/dist/components/theme-family-switch/index.js.map +1 -0
- package/dist/components/theme-family-switch/theme-family-switch.js +19 -0
- package/dist/components/theme-family-switch/theme-family-switch.js.map +1 -0
- package/dist/components/theme-switcher/index.js +24 -0
- package/dist/components/theme-switcher/index.js.map +1 -0
- package/dist/components/theme-switcher/theme-switcher.js +21 -0
- package/dist/components/theme-switcher/theme-switcher.js.map +1 -0
- package/dist/components/theme-switcher/use-theme-transition.js +10 -0
- package/dist/components/theme-switcher/use-theme-transition.js.map +1 -0
- package/dist/components/timeline/index.js +18 -0
- package/dist/components/timeline/index.js.map +1 -0
- package/dist/components/timeline/timeline.js +19 -0
- package/dist/components/timeline/timeline.js.map +1 -0
- package/dist/components/toggle/index.js +13 -0
- package/dist/components/toggle/index.js.map +1 -0
- package/dist/components/toggle/toggle.js +12 -0
- package/dist/components/toggle/toggle.js.map +1 -0
- package/dist/components/toggle-group/index.js +15 -0
- package/dist/components/toggle-group/index.js.map +1 -0
- package/dist/components/toggle-group/toggle-group.js +15 -0
- package/dist/components/toggle-group/toggle-group.js.map +1 -0
- package/dist/components/token-spotlight/index.css +25 -0
- package/dist/components/token-spotlight/index.css.map +1 -0
- package/dist/components/token-spotlight/index.js +23 -0
- package/dist/components/token-spotlight/index.js.map +1 -0
- package/dist/components/token-spotlight/token-spotlight.css +25 -0
- package/dist/components/token-spotlight/token-spotlight.css.map +1 -0
- package/dist/components/token-spotlight/token-spotlight.js +23 -0
- package/dist/components/token-spotlight/token-spotlight.js.map +1 -0
- package/dist/components/token-spotlight/token-value-format.js +11 -0
- package/dist/components/token-spotlight/token-value-format.js.map +1 -0
- package/dist/components/toolbar/index.js +27 -0
- package/dist/components/toolbar/index.js.map +1 -0
- package/dist/components/toolbar/toolbar.js +27 -0
- package/dist/components/toolbar/toolbar.js.map +1 -0
- package/dist/components/tooltip/index.js +17 -0
- package/dist/components/tooltip/index.js.map +1 -0
- package/dist/components/tooltip/tooltip.js +16 -0
- package/dist/components/tooltip/tooltip.js.map +1 -0
- package/dist/components/top-nav/index.js +11 -0
- package/dist/components/top-nav/index.js.map +1 -0
- package/dist/components/top-nav/top-nav.js +10 -0
- package/dist/components/top-nav/top-nav.js.map +1 -0
- package/dist/components/transfer/index.js +26 -0
- package/dist/components/transfer/index.js.map +1 -0
- package/dist/components/transfer/transfer.js +26 -0
- package/dist/components/transfer/transfer.js.map +1 -0
- package/dist/components/tree/index.js +21 -0
- package/dist/components/tree/index.js.map +1 -0
- package/dist/components/tree/tree.js +18 -0
- package/dist/components/tree/tree.js.map +1 -0
- package/dist/components/tree/use-tree-keyboard.js +14 -0
- package/dist/components/tree/use-tree-keyboard.js.map +1 -0
- package/dist/components/tree-select/index.js +26 -0
- package/dist/components/tree-select/index.js.map +1 -0
- package/dist/components/tree-select/tree-select.js +26 -0
- package/dist/components/tree-select/tree-select.js.map +1 -0
- package/dist/components/typography/index.js +41 -0
- package/dist/components/typography/index.js.map +1 -0
- package/dist/components/typography/prose.js +29 -0
- package/dist/components/typography/prose.js.map +1 -0
- package/dist/components/typography/typography.js +18 -0
- package/dist/components/typography/typography.js.map +1 -0
- package/dist/components/view-toolbar/index.js +27 -0
- package/dist/components/view-toolbar/index.js.map +1 -0
- package/dist/components/view-toolbar/view-toolbar.js +27 -0
- package/dist/components/view-toolbar/view-toolbar.js.map +1 -0
- package/dist/components/virtual-select/index.js +26 -0
- package/dist/components/virtual-select/index.js.map +1 -0
- package/dist/components/virtual-select/use-virtual-listbox.js +10 -0
- package/dist/components/virtual-select/use-virtual-listbox.js.map +1 -0
- package/dist/components/virtual-select/virtual-select.js +23 -0
- package/dist/components/virtual-select/virtual-select.js.map +1 -0
- package/dist/components/wizard/index.js +19 -0
- package/dist/components/wizard/index.js.map +1 -0
- package/dist/components/wizard/wizard.js +19 -0
- package/dist/components/wizard/wizard.js.map +1 -0
- package/dist/components/workspace-picker/index.js +38 -0
- package/dist/components/workspace-picker/index.js.map +1 -0
- package/dist/components/workspace-picker/workspace-picker-state.js +9 -0
- package/dist/components/workspace-picker/workspace-picker-state.js.map +1 -0
- package/dist/components/workspace-picker/workspace-picker.js +35 -0
- package/dist/components/workspace-picker/workspace-picker.js.map +1 -0
- package/dist/form.js +13 -110
- package/dist/form.js.map +1 -1
- package/dist/illustrations/empty-list-illustration.js +11 -0
- package/dist/illustrations/empty-list-illustration.js.map +1 -0
- package/dist/illustrations/error-illustration.js +11 -0
- package/dist/illustrations/error-illustration.js.map +1 -0
- package/dist/illustrations/first-run-illustration.js +11 -0
- package/dist/illustrations/first-run-illustration.js.map +1 -0
- package/dist/illustrations/illustration-base.js +16 -0
- package/dist/illustrations/illustration-base.js.map +1 -0
- package/dist/illustrations/index.js +41 -0
- package/dist/illustrations/index.js.map +1 -0
- package/dist/illustrations/no-access-illustration.js +11 -0
- package/dist/illustrations/no-access-illustration.js.map +1 -0
- package/dist/illustrations/no-results-illustration.js +11 -0
- package/dist/illustrations/no-results-illustration.js.map +1 -0
- package/dist/illustrations/offline-illustration.js +11 -0
- package/dist/illustrations/offline-illustration.js.map +1 -0
- package/dist/illustrations/success-illustration.js +11 -0
- package/dist/illustrations/success-illustration.js.map +1 -0
- package/dist/index.css +122 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.ts +1269 -116
- package/dist/index.js +993 -23939
- package/dist/index.js.map +1 -1
- package/dist/lib/agent-event-model.js +9 -0
- package/dist/lib/agent-event-model.js.map +1 -0
- package/dist/lib/approval-option.js +9 -0
- package/dist/lib/approval-option.js.map +1 -0
- package/dist/lib/check-result.js +3 -0
- package/dist/lib/check-result.js.map +1 -0
- package/dist/lib/cn.js +23 -7
- package/dist/lib/cn.js.map +1 -1
- package/dist/lib/color-scale.js +11 -0
- package/dist/lib/color-scale.js.map +1 -0
- package/dist/lib/compact-number.js +21 -0
- package/dist/lib/compact-number.js.map +1 -0
- package/dist/lib/csv.js +11 -0
- package/dist/lib/csv.js.map +1 -0
- package/dist/lib/diff-line.js +11 -0
- package/dist/lib/diff-line.js.map +1 -0
- package/dist/lib/diff-rows.js +12 -0
- package/dist/lib/diff-rows.js.map +1 -0
- package/dist/lib/document-address.js +13 -0
- package/dist/lib/document-address.js.map +1 -0
- package/dist/lib/download.js +11 -0
- package/dist/lib/download.js.map +1 -0
- package/dist/lib/file-icon.js +12 -0
- package/dist/lib/file-icon.js.map +1 -0
- package/dist/lib/file-kind.js +13 -0
- package/dist/lib/file-kind.js.map +1 -0
- package/dist/lib/file-source.js +10 -0
- package/dist/lib/file-source.js.map +1 -0
- package/dist/lib/format-duration.js +9 -0
- package/dist/lib/format-duration.js.map +1 -0
- package/dist/lib/has-renderable-content.js +9 -0
- package/dist/lib/has-renderable-content.js.map +1 -0
- package/dist/lib/merge-refs.js +10 -0
- package/dist/lib/merge-refs.js.map +1 -0
- package/dist/lib/operating-mode.js +9 -0
- package/dist/lib/operating-mode.js.map +1 -0
- package/dist/lib/optional-peer.js +11 -0
- package/dist/lib/optional-peer.js.map +1 -0
- package/dist/lib/session-launch.js +3 -0
- package/dist/lib/session-launch.js.map +1 -0
- package/dist/lib/slash-command.js +11 -0
- package/dist/lib/slash-command.js.map +1 -0
- package/dist/lib/streamdown-translations.js +15 -0
- package/dist/lib/streamdown-translations.js.map +1 -0
- package/dist/lib/trigger-query.js +11 -0
- package/dist/lib/trigger-query.js.map +1 -0
- package/dist/lib/use-controllable-state.js +10 -0
- package/dist/lib/use-controllable-state.js.map +1 -0
- package/dist/lib/use-copy-to-clipboard.js +12 -0
- package/dist/lib/use-copy-to-clipboard.js.map +1 -0
- package/dist/lib/use-mobile.js +10 -0
- package/dist/lib/use-mobile.js.map +1 -0
- package/dist/lib/use-scroll-progress.js +18 -0
- package/dist/lib/use-scroll-progress.js.map +1 -0
- package/package.json +12 -5
- package/src/__contract__/ambient-field.contract.test.tsx +49 -0
- package/src/__contract__/command-chip.contract.test.tsx +49 -0
- package/src/__contract__/install-tabs.contract.test.tsx +49 -0
- package/src/__contract__/integration-matrix.contract.test.tsx +49 -0
- package/src/__contract__/meter.contract.test.tsx +49 -0
- package/src/__contract__/parallax-plane.contract.test.tsx +49 -0
- package/src/__contract__/reveal-on-enter.contract.test.tsx +49 -0
- package/src/__contract__/spec-playground.contract.test.tsx +49 -0
- package/src/__contract__/surface-tour.contract.test.tsx +49 -0
- package/src/__contract__/theme-family-switch.contract.test.tsx +49 -0
- package/src/__contract__/token-spotlight.contract.test.tsx +49 -0
- package/src/blocks-comparison-table.stories.tsx +1 -1
- package/src/components/accordion/accordion.tsx +31 -15
- package/src/components/advanced-group/advanced-group.stories.tsx +2 -0
- package/src/components/alert/alert.tsx +13 -5
- package/src/components/alert-dialog/alert-dialog.tsx +1 -1
- package/src/components/ambient-field/ambient-field.css +98 -0
- package/src/components/ambient-field/ambient-field.stories.tsx +75 -0
- package/src/components/ambient-field/ambient-field.test.tsx +28 -0
- package/src/components/ambient-field/ambient-field.tsx +69 -0
- package/src/components/ambient-field/index.ts +7 -0
- package/src/components/app-shell/app-shell.stories.tsx +344 -1
- package/src/components/app-shell/app-shell.test.tsx +167 -0
- package/src/components/app-shell/app-shell.tsx +119 -5
- package/src/components/app-shell/index.ts +1 -1
- package/src/components/attribution-panel/attributions.generated.ts +77 -4
- package/src/components/badge/badge.stories.tsx +62 -0
- package/src/components/badge/badge.test.tsx +21 -0
- package/src/components/badge/badge.tsx +88 -8
- package/src/components/breadcrumb/breadcrumb.stories.tsx +1 -1
- package/src/components/breadcrumb/breadcrumb.tsx +2 -0
- package/src/components/button/button.stories.tsx +5 -1
- package/src/components/button/button.tsx +19 -8
- package/src/components/calendar/calendar.tsx +6 -1
- package/src/components/card/card.stories.tsx +73 -1
- package/src/components/card/card.test.tsx +29 -2
- package/src/components/card/card.tsx +77 -13
- package/src/components/card/index.ts +2 -0
- package/src/components/change-review/change-review.tsx +1 -1
- package/src/components/collapsible-panel/index.ts +1 -0
- package/src/components/collapsible-panel/use-collapsible-panel.ts +21 -2
- package/src/components/color-picker/color-picker.tsx +3 -3
- package/src/components/command/command.stories.tsx +64 -1
- package/src/components/command/command.test.tsx +73 -0
- package/src/components/command/command.tsx +73 -2
- package/src/components/command-chip/command-chip.stories.tsx +78 -0
- package/src/components/command-chip/command-chip.test.tsx +57 -0
- package/src/components/command-chip/command-chip.tsx +168 -0
- package/src/components/command-chip/index.ts +7 -0
- package/src/components/command-trigger/command-trigger.tsx +1 -1
- package/src/components/confirm-dialog/confirm-dialog.stories.tsx +2 -0
- package/src/components/context-menu/context-menu.stories.tsx +26 -0
- package/src/components/context-menu/context-menu.tsx +6 -6
- package/src/components/context-rail/context-rail.tsx +22 -4
- package/src/components/date-picker/date-picker.tsx +2 -0
- package/src/components/descriptions/descriptions.stories.tsx +6 -0
- package/src/components/descriptions/descriptions.test.tsx +18 -0
- package/src/components/descriptions/descriptions.tsx +33 -5
- package/src/components/descriptions/index.ts +1 -0
- package/src/components/dialog/dialog.stories.tsx +5 -0
- package/src/components/dialog/dialog.tsx +1 -1
- package/src/components/dropdown-menu/dropdown-menu.stories.tsx +37 -0
- package/src/components/dropdown-menu/dropdown-menu.tsx +14 -6
- package/src/components/expand-dialog/expand-dialog.test.tsx +47 -0
- package/src/components/expand-dialog/expand-dialog.tsx +20 -5
- package/src/components/hover-card/hover-card.tsx +1 -1
- package/src/components/input/input.stories.tsx +17 -0
- package/src/components/input/input.tsx +1 -1
- package/src/components/input-group/input-group.stories.tsx +43 -6
- package/src/components/input-group/input-group.tsx +5 -2
- package/src/components/input-otp/input-otp.tsx +4 -2
- package/src/components/install-tabs/index.ts +8 -0
- package/src/components/install-tabs/install-tabs.stories.tsx +147 -0
- package/src/components/install-tabs/install-tabs.test.tsx +120 -0
- package/src/components/install-tabs/install-tabs.tsx +238 -0
- package/src/components/integration-matrix/index.ts +10 -0
- package/src/components/integration-matrix/integration-matrix.stories.tsx +171 -0
- package/src/components/integration-matrix/integration-matrix.test.tsx +89 -0
- package/src/components/integration-matrix/integration-matrix.tsx +237 -0
- package/src/components/locale-provider/messages.ts +252 -0
- package/src/components/mention-input/mention-input.tsx +1 -1
- package/src/components/menubar/menubar.stories.tsx +25 -0
- package/src/components/menubar/menubar.tsx +7 -7
- package/src/components/meter/index.ts +1 -0
- package/src/components/meter/meter.stories.tsx +102 -0
- package/src/components/meter/meter.test.tsx +61 -0
- package/src/components/meter/meter.tsx +173 -0
- package/src/components/metric-card/index.ts +6 -1
- package/src/components/metric-card/metric-card.stories.tsx +63 -0
- package/src/components/metric-card/metric-card.test.tsx +83 -0
- package/src/components/metric-card/metric-card.tsx +97 -14
- package/src/components/nav-user/nav-user.test.tsx +23 -1
- package/src/components/nav-user/nav-user.tsx +68 -53
- package/src/components/navigation-menu/navigation-menu.stories.tsx +42 -0
- package/src/components/navigation-menu/navigation-menu.tsx +1 -1
- package/src/components/page-shell/page-shell.stories.tsx +1 -1
- package/src/components/page-shell/page-shell.tsx +3 -2
- package/src/components/pagination/pagination.tsx +2 -0
- package/src/components/parallax-plane/index.ts +8 -0
- package/src/components/parallax-plane/parallax-plane.css +26 -0
- package/src/components/parallax-plane/parallax-plane.stories.tsx +88 -0
- package/src/components/parallax-plane/parallax-plane.test.tsx +57 -0
- package/src/components/parallax-plane/parallax-plane.tsx +80 -0
- package/src/components/popover/popover.tsx +1 -1
- package/src/components/progress/progress.stories.tsx +85 -0
- package/src/components/progress/progress.test.tsx +47 -0
- package/src/components/progress/progress.tsx +57 -3
- package/src/components/reveal-on-enter/index.ts +5 -0
- package/src/components/reveal-on-enter/reveal-on-enter.css +32 -0
- package/src/components/reveal-on-enter/reveal-on-enter.stories.tsx +100 -0
- package/src/components/reveal-on-enter/reveal-on-enter.test.tsx +87 -0
- package/src/components/reveal-on-enter/reveal-on-enter.tsx +75 -0
- package/src/components/revision-timeline/revision-timeline.tsx +1 -3
- package/src/components/schema-form/index.ts +2 -0
- package/src/components/schema-form/schema-form-spec.ts +36 -0
- package/src/components/schema-form/schema-form.stories.tsx +33 -0
- package/src/components/schema-form/schema-form.test.tsx +43 -0
- package/src/components/schema-form/schema-form.tsx +111 -4
- package/src/components/scroll-area/index.ts +1 -1
- package/src/components/scroll-area/scroll-area.tsx +47 -18
- package/src/components/section-header/section-header.tsx +1 -3
- package/src/components/select/select.stories.tsx +17 -0
- package/src/components/select/select.test.tsx +28 -1
- package/src/components/select/select.tsx +3 -3
- package/src/components/sheet/sheet.tsx +1 -1
- package/src/components/side-dock/side-dock.stories.tsx +83 -0
- package/src/components/side-dock/side-dock.tsx +50 -16
- package/src/components/sidebar/sidebar.stories.tsx +3 -3
- package/src/components/sidebar/sidebar.test.tsx +31 -1
- package/src/components/sidebar/sidebar.tsx +34 -7
- package/src/components/skip-link/skip-link.stories.tsx +1 -0
- package/src/components/slider/slider.stories.tsx +13 -77
- package/src/components/spec-playground/index.ts +10 -0
- package/src/components/spec-playground/locate-json-path.ts +144 -0
- package/src/components/spec-playground/spec-playground.stories.tsx +156 -0
- package/src/components/spec-playground/spec-playground.test.tsx +106 -0
- package/src/components/spec-playground/spec-playground.tsx +351 -0
- package/src/components/state-panel/state-panel.stories.tsx +4 -2
- package/src/components/state-panel/state-panel.tsx +1 -1
- package/src/components/status-badge/status-badge.stories.tsx +53 -0
- package/src/components/status-badge/status-badge.test.tsx +37 -0
- package/src/components/status-badge/status-badge.tsx +75 -13
- package/src/components/surface-tour/index.ts +11 -0
- package/src/components/surface-tour/surface-tour.stories.tsx +150 -0
- package/src/components/surface-tour/surface-tour.test.tsx +117 -0
- package/src/components/surface-tour/surface-tour.tsx +456 -0
- package/src/components/table/table.tsx +5 -2
- package/src/components/tabs/tabs.stories.tsx +47 -1
- package/src/components/tabs/tabs.test.tsx +26 -0
- package/src/components/tabs/tabs.tsx +51 -11
- package/src/components/textarea/textarea.tsx +1 -1
- package/src/components/theme-family-switch/index.ts +10 -0
- package/src/components/theme-family-switch/theme-family-switch.stories.tsx +97 -0
- package/src/components/theme-family-switch/theme-family-switch.test.tsx +85 -0
- package/src/components/theme-family-switch/theme-family-switch.tsx +166 -0
- package/src/components/theme-switcher/theme-switcher.tsx +11 -4
- package/src/components/token-spotlight/index.ts +11 -0
- package/src/components/token-spotlight/token-spotlight.css +32 -0
- package/src/components/token-spotlight/token-spotlight.stories.tsx +161 -0
- package/src/components/token-spotlight/token-spotlight.test.tsx +323 -0
- package/src/components/token-spotlight/token-spotlight.tsx +379 -0
- package/src/components/token-spotlight/token-value-format.ts +205 -0
- package/src/components/top-nav/top-nav.test.tsx +59 -0
- package/src/components/top-nav/top-nav.tsx +36 -6
- package/src/components/tree/tree.stories.tsx +1 -1
- package/src/components/tree/tree.test.tsx +4 -4
- package/src/components/tree/tree.tsx +4 -4
- package/src/components/typography/typography.stories.tsx +7 -2
- package/src/components/typography/typography.tsx +8 -0
- package/src/components/view-toolbar/view-toolbar.stories.tsx +2 -1
- package/src/components/view-toolbar/view-toolbar.tsx +2 -2
- package/src/decoration.stories.tsx +213 -2
- package/src/index.ts +46 -0
- package/src/lib/cn.test.ts +20 -0
- package/src/lib/cn.ts +32 -7
- package/src/lib/color-scale.test.ts +386 -0
- package/src/lib/color-scale.ts +628 -0
- package/src/lib/compact-number.ts +118 -28
- package/src/lib/use-scroll-progress.ts +103 -0
- package/src/motion.stories.tsx +1 -0
- package/src/templates-object-detail-hub.stories.tsx +8 -8
- package/src/templates-screen-states.stories.tsx +1 -1
- package/src/templates-settings.stories.tsx +8 -3
- package/dist/chunk-FCH4ZN6G.js +0 -57
- package/dist/chunk-FCH4ZN6G.js.map +0 -1
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
cn
|
|
4
|
+
} from "./chunk-KBNWM27Q.js";
|
|
5
|
+
|
|
6
|
+
// src/components/drawer/drawer.tsx
|
|
7
|
+
import {
|
|
8
|
+
forwardRef
|
|
9
|
+
} from "react";
|
|
10
|
+
import { Drawer as DrawerPrimitive } from "vaul";
|
|
11
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
|
+
function Drawer({
|
|
13
|
+
shouldScaleBackground = true,
|
|
14
|
+
...props
|
|
15
|
+
}) {
|
|
16
|
+
return /* @__PURE__ */ jsx(DrawerPrimitive.Root, { shouldScaleBackground, ...props });
|
|
17
|
+
}
|
|
18
|
+
var DrawerTrigger = DrawerPrimitive.Trigger;
|
|
19
|
+
var DrawerPortal = DrawerPrimitive.Portal;
|
|
20
|
+
var DrawerClose = DrawerPrimitive.Close;
|
|
21
|
+
var DrawerOverlay = forwardRef(function DrawerOverlay2({ className, ...props }, ref) {
|
|
22
|
+
return /* @__PURE__ */ jsx(
|
|
23
|
+
DrawerPrimitive.Overlay,
|
|
24
|
+
{
|
|
25
|
+
ref,
|
|
26
|
+
"data-slot": "drawer-overlay",
|
|
27
|
+
className: cn("fixed inset-0 z-50 bg-overlay", className),
|
|
28
|
+
...props
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
});
|
|
32
|
+
var DrawerContent = forwardRef(function DrawerContent2({ className, children, ...props }, ref) {
|
|
33
|
+
return /* @__PURE__ */ jsxs(DrawerPortal, { children: [
|
|
34
|
+
/* @__PURE__ */ jsx(DrawerOverlay, {}),
|
|
35
|
+
/* @__PURE__ */ jsxs(
|
|
36
|
+
DrawerPrimitive.Content,
|
|
37
|
+
{
|
|
38
|
+
ref,
|
|
39
|
+
"data-slot": "drawer-content",
|
|
40
|
+
className: cn(
|
|
41
|
+
"fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col overscroll-contain rounded-t-xl border bg-card text-card-foreground",
|
|
42
|
+
className
|
|
43
|
+
),
|
|
44
|
+
...props,
|
|
45
|
+
children: [
|
|
46
|
+
/* @__PURE__ */ jsx("div", { "data-slot": "drawer-handle", className: "mx-auto mt-4 h-1.5 w-12 rounded-full bg-muted" }),
|
|
47
|
+
children
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
)
|
|
51
|
+
] });
|
|
52
|
+
});
|
|
53
|
+
function DrawerHeader({ className, ...props }) {
|
|
54
|
+
return /* @__PURE__ */ jsx(
|
|
55
|
+
"div",
|
|
56
|
+
{
|
|
57
|
+
"data-slot": "drawer-header",
|
|
58
|
+
className: cn("grid gap-1.5 p-4 text-center sm:text-start", className),
|
|
59
|
+
...props
|
|
60
|
+
}
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
function DrawerFooter({ className, ...props }) {
|
|
64
|
+
return /* @__PURE__ */ jsx(
|
|
65
|
+
"div",
|
|
66
|
+
{
|
|
67
|
+
"data-slot": "drawer-footer",
|
|
68
|
+
className: cn("mt-auto flex flex-col gap-2 p-4", className),
|
|
69
|
+
...props
|
|
70
|
+
}
|
|
71
|
+
);
|
|
72
|
+
}
|
|
73
|
+
var DrawerTitle = forwardRef(function DrawerTitle2({ className, ...props }, ref) {
|
|
74
|
+
return (
|
|
75
|
+
// `text-title`, matching `DialogTitle` (#286) — was `text-lg font-semibold`.
|
|
76
|
+
/* @__PURE__ */ jsx(
|
|
77
|
+
DrawerPrimitive.Title,
|
|
78
|
+
{
|
|
79
|
+
ref,
|
|
80
|
+
"data-slot": "drawer-title",
|
|
81
|
+
className: cn("text-title leading-none", className),
|
|
82
|
+
...props
|
|
83
|
+
}
|
|
84
|
+
)
|
|
85
|
+
);
|
|
86
|
+
});
|
|
87
|
+
var DrawerDescription = forwardRef(function DrawerDescription2({ className, ...props }, ref) {
|
|
88
|
+
return /* @__PURE__ */ jsx(
|
|
89
|
+
DrawerPrimitive.Description,
|
|
90
|
+
{
|
|
91
|
+
ref,
|
|
92
|
+
"data-slot": "drawer-description",
|
|
93
|
+
className: cn("text-body text-muted-foreground", className),
|
|
94
|
+
...props
|
|
95
|
+
}
|
|
96
|
+
);
|
|
97
|
+
});
|
|
98
|
+
|
|
99
|
+
export {
|
|
100
|
+
Drawer,
|
|
101
|
+
DrawerTrigger,
|
|
102
|
+
DrawerPortal,
|
|
103
|
+
DrawerClose,
|
|
104
|
+
DrawerContent,
|
|
105
|
+
DrawerHeader,
|
|
106
|
+
DrawerFooter,
|
|
107
|
+
DrawerTitle,
|
|
108
|
+
DrawerDescription
|
|
109
|
+
};
|
|
110
|
+
//# sourceMappingURL=chunk-PP7POY7C.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/drawer/drawer.tsx"],"sourcesContent":["import {\n forwardRef,\n type ComponentProps,\n type ComponentPropsWithoutRef,\n type ElementRef,\n type HTMLAttributes,\n} from \"react\";\nimport { Drawer as DrawerPrimitive } from \"vaul\";\nimport { cn } from \"../../lib/cn\";\n\nexport function Drawer({\n shouldScaleBackground = true,\n ...props\n}: ComponentProps<typeof DrawerPrimitive.Root>) {\n return <DrawerPrimitive.Root shouldScaleBackground={shouldScaleBackground} {...props} />;\n}\nexport const DrawerTrigger = DrawerPrimitive.Trigger;\nexport const DrawerPortal = DrawerPrimitive.Portal;\nexport const DrawerClose = DrawerPrimitive.Close;\n\nconst DrawerOverlay = forwardRef<\n ElementRef<typeof DrawerPrimitive.Overlay>,\n ComponentPropsWithoutRef<typeof DrawerPrimitive.Overlay>\n>(function DrawerOverlay({ className, ...props }, ref) {\n return (\n <DrawerPrimitive.Overlay\n ref={ref}\n data-slot=\"drawer-overlay\"\n className={cn(\"fixed inset-0 z-50 bg-overlay\", className)}\n {...props}\n />\n );\n});\n\nexport const DrawerContent = forwardRef<\n ElementRef<typeof DrawerPrimitive.Content>,\n ComponentPropsWithoutRef<typeof DrawerPrimitive.Content>\n>(function DrawerContent({ className, children, ...props }, ref) {\n return (\n <DrawerPortal>\n <DrawerOverlay />\n <DrawerPrimitive.Content\n ref={ref}\n data-slot=\"drawer-content\"\n className={cn(\n \"fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col overscroll-contain rounded-t-xl border bg-card text-card-foreground\",\n className,\n )}\n {...props}\n >\n <div data-slot=\"drawer-handle\" className=\"mx-auto mt-4 h-1.5 w-12 rounded-full bg-muted\" />\n {children}\n </DrawerPrimitive.Content>\n </DrawerPortal>\n );\n});\n\nexport function DrawerHeader({ className, ...props }: HTMLAttributes<HTMLDivElement>) {\n return (\n <div\n data-slot=\"drawer-header\"\n className={cn(\"grid gap-1.5 p-4 text-center sm:text-start\", className)}\n {...props}\n />\n );\n}\nexport function DrawerFooter({ className, ...props }: HTMLAttributes<HTMLDivElement>) {\n return (\n <div\n data-slot=\"drawer-footer\"\n className={cn(\"mt-auto flex flex-col gap-2 p-4\", className)}\n {...props}\n />\n );\n}\nexport const DrawerTitle = forwardRef<\n ElementRef<typeof DrawerPrimitive.Title>,\n ComponentPropsWithoutRef<typeof DrawerPrimitive.Title>\n>(function DrawerTitle({ className, ...props }, ref) {\n return (\n // `text-title`, matching `DialogTitle` (#286) — was `text-lg font-semibold`.\n <DrawerPrimitive.Title\n ref={ref}\n data-slot=\"drawer-title\"\n className={cn(\"text-title leading-none\", className)}\n {...props}\n />\n );\n});\nexport const DrawerDescription = forwardRef<\n ElementRef<typeof DrawerPrimitive.Description>,\n ComponentPropsWithoutRef<typeof DrawerPrimitive.Description>\n>(function DrawerDescription({ className, ...props }, ref) {\n return (\n <DrawerPrimitive.Description\n ref={ref}\n data-slot=\"drawer-description\"\n className={cn(\"text-body text-muted-foreground\", className)}\n {...props}\n />\n );\n});\n"],"mappings":";;;;;;AAAA;AAAA,EACE;AAAA,OAKK;AACP,SAAS,UAAU,uBAAuB;AAOjC,cA2BH,YA3BG;AAJF,SAAS,OAAO;AAAA,EACrB,wBAAwB;AAAA,EACxB,GAAG;AACL,GAAgD;AAC9C,SAAO,oBAAC,gBAAgB,MAAhB,EAAqB,uBAA+C,GAAG,OAAO;AACxF;AACO,IAAM,gBAAgB,gBAAgB;AACtC,IAAM,eAAe,gBAAgB;AACrC,IAAM,cAAc,gBAAgB;AAE3C,IAAM,gBAAgB,WAGpB,SAASA,eAAc,EAAE,WAAW,GAAG,MAAM,GAAG,KAAK;AACrD,SACE;AAAA,IAAC,gBAAgB;AAAA,IAAhB;AAAA,MACC;AAAA,MACA,aAAU;AAAA,MACV,WAAW,GAAG,iCAAiC,SAAS;AAAA,MACvD,GAAG;AAAA;AAAA,EACN;AAEJ,CAAC;AAEM,IAAM,gBAAgB,WAG3B,SAASC,eAAc,EAAE,WAAW,UAAU,GAAG,MAAM,GAAG,KAAK;AAC/D,SACE,qBAAC,gBACC;AAAA,wBAAC,iBAAc;AAAA,IACf;AAAA,MAAC,gBAAgB;AAAA,MAAhB;AAAA,QACC;AAAA,QACA,aAAU;AAAA,QACV,WAAW;AAAA,UACT;AAAA,UACA;AAAA,QACF;AAAA,QACC,GAAG;AAAA,QAEJ;AAAA,8BAAC,SAAI,aAAU,iBAAgB,WAAU,iDAAgD;AAAA,UACxF;AAAA;AAAA;AAAA,IACH;AAAA,KACF;AAEJ,CAAC;AAEM,SAAS,aAAa,EAAE,WAAW,GAAG,MAAM,GAAmC;AACpF,SACE;AAAA,IAAC;AAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAW,GAAG,8CAA8C,SAAS;AAAA,MACpE,GAAG;AAAA;AAAA,EACN;AAEJ;AACO,SAAS,aAAa,EAAE,WAAW,GAAG,MAAM,GAAmC;AACpF,SACE;AAAA,IAAC;AAAA;AAAA,MACC,aAAU;AAAA,MACV,WAAW,GAAG,mCAAmC,SAAS;AAAA,MACzD,GAAG;AAAA;AAAA,EACN;AAEJ;AACO,IAAM,cAAc,WAGzB,SAASC,aAAY,EAAE,WAAW,GAAG,MAAM,GAAG,KAAK;AACnD;AAAA;AAAA,IAEE;AAAA,MAAC,gBAAgB;AAAA,MAAhB;AAAA,QACC;AAAA,QACA,aAAU;AAAA,QACV,WAAW,GAAG,2BAA2B,SAAS;AAAA,QACjD,GAAG;AAAA;AAAA,IACN;AAAA;AAEJ,CAAC;AACM,IAAM,oBAAoB,WAG/B,SAASC,mBAAkB,EAAE,WAAW,GAAG,MAAM,GAAG,KAAK;AACzD,SACE;AAAA,IAAC,gBAAgB;AAAA,IAAhB;AAAA,MACC;AAAA,MACA,aAAU;AAAA,MACV,WAAW,GAAG,mCAAmC,SAAS;AAAA,MACzD,GAAG;AAAA;AAAA,EACN;AAEJ,CAAC;","names":["DrawerOverlay","DrawerContent","DrawerTitle","DrawerDescription"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,355 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
mergeRefs
|
|
4
|
+
} from "./chunk-L37QZALU.js";
|
|
5
|
+
import {
|
|
6
|
+
Sheet,
|
|
7
|
+
SheetContent,
|
|
8
|
+
SheetDescription,
|
|
9
|
+
SheetHeader,
|
|
10
|
+
SheetTitle
|
|
11
|
+
} from "./chunk-LMO3QK7Q.js";
|
|
12
|
+
import {
|
|
13
|
+
useIsMobile
|
|
14
|
+
} from "./chunk-YCFOFNQF.js";
|
|
15
|
+
import {
|
|
16
|
+
useCollapsiblePanel
|
|
17
|
+
} from "./chunk-YIVL6HWS.js";
|
|
18
|
+
import {
|
|
19
|
+
useLocale
|
|
20
|
+
} from "./chunk-EJQYE4MY.js";
|
|
21
|
+
import {
|
|
22
|
+
cn
|
|
23
|
+
} from "./chunk-KBNWM27Q.js";
|
|
24
|
+
|
|
25
|
+
// src/components/side-dock/side-dock.tsx
|
|
26
|
+
import {
|
|
27
|
+
forwardRef,
|
|
28
|
+
useEffect,
|
|
29
|
+
useId,
|
|
30
|
+
useMemo,
|
|
31
|
+
useRef,
|
|
32
|
+
useState
|
|
33
|
+
} from "react";
|
|
34
|
+
import { X } from "lucide-react";
|
|
35
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
36
|
+
var DEFAULT_WIDTH = 400;
|
|
37
|
+
var DEFAULT_MIN_WIDTH = 320;
|
|
38
|
+
var DEFAULT_MAX_WIDTH = 640;
|
|
39
|
+
var DEFAULT_MIN_CONTENT_WIDTH = 480;
|
|
40
|
+
var DEFAULT_OVERLAY_BREAKPOINT = 1100;
|
|
41
|
+
var KEY_STEP = 16;
|
|
42
|
+
var KEY_STEP_SHIFT_MULTIPLIER = 4;
|
|
43
|
+
var FALLBACK_VIEWPORT_WIDTH = 1024;
|
|
44
|
+
function clampWidth(requested, viewportWidth, minWidth, maxWidth, minContentWidth) {
|
|
45
|
+
const upperBound = Math.min(maxWidth, viewportWidth - minContentWidth);
|
|
46
|
+
return Math.max(minWidth, Math.min(requested, upperBound));
|
|
47
|
+
}
|
|
48
|
+
var SideDock = forwardRef(function SideDock2({
|
|
49
|
+
title,
|
|
50
|
+
description,
|
|
51
|
+
headerActions,
|
|
52
|
+
open,
|
|
53
|
+
defaultOpen = false,
|
|
54
|
+
onOpenChange,
|
|
55
|
+
side = "right",
|
|
56
|
+
containerPosition = "viewport",
|
|
57
|
+
width,
|
|
58
|
+
defaultWidth = DEFAULT_WIDTH,
|
|
59
|
+
onWidthChange,
|
|
60
|
+
onWidthCommit,
|
|
61
|
+
minWidth = DEFAULT_MIN_WIDTH,
|
|
62
|
+
maxWidth = DEFAULT_MAX_WIDTH,
|
|
63
|
+
minContentWidth = DEFAULT_MIN_CONTENT_WIDTH,
|
|
64
|
+
resizable = true,
|
|
65
|
+
overlayBreakpoint = DEFAULT_OVERLAY_BREAKPOINT,
|
|
66
|
+
className,
|
|
67
|
+
style,
|
|
68
|
+
children,
|
|
69
|
+
...props
|
|
70
|
+
}, ref) {
|
|
71
|
+
const { t, formatNumber } = useLocale();
|
|
72
|
+
const titleId = useId();
|
|
73
|
+
const resizeLabelId = useId();
|
|
74
|
+
const panel = useCollapsiblePanel({ side, open, defaultOpen, onOpenChange, containerPosition });
|
|
75
|
+
const isOverlay = useIsMobile(overlayBreakpoint);
|
|
76
|
+
const containerRef = useRef(null);
|
|
77
|
+
const mergedContainerRef = useMemo(() => mergeRefs(ref, containerRef), [ref]);
|
|
78
|
+
const groupRef = useRef(null);
|
|
79
|
+
const openerRef = useRef(null);
|
|
80
|
+
const wasOpenRef = useRef(panel.open);
|
|
81
|
+
useEffect(() => {
|
|
82
|
+
const wasOpen = wasOpenRef.current;
|
|
83
|
+
const isOpen = panel.open;
|
|
84
|
+
wasOpenRef.current = isOpen;
|
|
85
|
+
if (isOpen && !wasOpen) {
|
|
86
|
+
openerRef.current = document.activeElement;
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
89
|
+
if (!isOpen && wasOpen) {
|
|
90
|
+
const container = containerRef.current;
|
|
91
|
+
const active = document.activeElement;
|
|
92
|
+
const focusWasInside = container != null && active != null && container.contains(active);
|
|
93
|
+
if (!focusWasInside) return;
|
|
94
|
+
const opener = openerRef.current;
|
|
95
|
+
if (opener instanceof HTMLElement && opener.isConnected && opener !== document.body) {
|
|
96
|
+
opener.focus();
|
|
97
|
+
} else {
|
|
98
|
+
groupRef.current?.focus();
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}, [panel.open]);
|
|
102
|
+
const [viewportWidth, setViewportWidth] = useState(FALLBACK_VIEWPORT_WIDTH);
|
|
103
|
+
useEffect(() => {
|
|
104
|
+
setViewportWidth(window.innerWidth);
|
|
105
|
+
let rafId = null;
|
|
106
|
+
const onResize = () => {
|
|
107
|
+
if (rafId !== null) return;
|
|
108
|
+
rafId = requestAnimationFrame(() => {
|
|
109
|
+
rafId = null;
|
|
110
|
+
setViewportWidth(window.innerWidth);
|
|
111
|
+
});
|
|
112
|
+
};
|
|
113
|
+
window.addEventListener("resize", onResize);
|
|
114
|
+
return () => {
|
|
115
|
+
window.removeEventListener("resize", onResize);
|
|
116
|
+
if (rafId !== null) cancelAnimationFrame(rafId);
|
|
117
|
+
};
|
|
118
|
+
}, []);
|
|
119
|
+
const isWidthControlled = width !== void 0;
|
|
120
|
+
const [uncontrolledWidth, setUncontrolledWidth] = useState(defaultWidth);
|
|
121
|
+
const requestedWidth = isWidthControlled ? width : uncontrolledWidth;
|
|
122
|
+
const upperBound = Math.min(maxWidth, viewportWidth - minContentWidth);
|
|
123
|
+
const clampedWidth = clampWidth(
|
|
124
|
+
requestedWidth,
|
|
125
|
+
viewportWidth,
|
|
126
|
+
minWidth,
|
|
127
|
+
maxWidth,
|
|
128
|
+
minContentWidth
|
|
129
|
+
);
|
|
130
|
+
const latestWidthRef = useRef(clampedWidth);
|
|
131
|
+
latestWidthRef.current = clampedWidth;
|
|
132
|
+
useEffect(() => {
|
|
133
|
+
if (!isWidthControlled) return;
|
|
134
|
+
if (clampedWidth === width) return;
|
|
135
|
+
onWidthChange?.(clampedWidth);
|
|
136
|
+
onWidthCommit?.(clampedWidth);
|
|
137
|
+
}, [isWidthControlled, clampedWidth, width]);
|
|
138
|
+
function requestWidth(next) {
|
|
139
|
+
if (next === latestWidthRef.current) return false;
|
|
140
|
+
latestWidthRef.current = next;
|
|
141
|
+
if (!isWidthControlled) setUncontrolledWidth(next);
|
|
142
|
+
onWidthChange?.(next);
|
|
143
|
+
return true;
|
|
144
|
+
}
|
|
145
|
+
const gestureChangedRef = useRef(false);
|
|
146
|
+
function handleResizeKeyDown(event) {
|
|
147
|
+
const widenKey = side === "right" ? "ArrowLeft" : "ArrowRight";
|
|
148
|
+
const narrowKey = side === "right" ? "ArrowRight" : "ArrowLeft";
|
|
149
|
+
const step = event.shiftKey ? KEY_STEP * KEY_STEP_SHIFT_MULTIPLIER : KEY_STEP;
|
|
150
|
+
let requested;
|
|
151
|
+
if (event.key === widenKey) requested = latestWidthRef.current + step;
|
|
152
|
+
else if (event.key === narrowKey) requested = latestWidthRef.current - step;
|
|
153
|
+
else if (event.key === "Home") requested = minWidth;
|
|
154
|
+
else if (event.key === "End") requested = upperBound;
|
|
155
|
+
else return;
|
|
156
|
+
event.preventDefault();
|
|
157
|
+
const next = clampWidth(requested, viewportWidth, minWidth, maxWidth, minContentWidth);
|
|
158
|
+
if (requestWidth(next)) gestureChangedRef.current = true;
|
|
159
|
+
}
|
|
160
|
+
function handleResizeKeyUp() {
|
|
161
|
+
if (gestureChangedRef.current) onWidthCommit?.(latestWidthRef.current);
|
|
162
|
+
gestureChangedRef.current = false;
|
|
163
|
+
}
|
|
164
|
+
const pointerStartRef = useRef(null);
|
|
165
|
+
const [isDragging, setIsDragging] = useState(false);
|
|
166
|
+
function handleResizePointerDown(event) {
|
|
167
|
+
if (event.pointerType === "mouse" && event.button !== 0) return;
|
|
168
|
+
event.currentTarget.setPointerCapture?.(event.pointerId);
|
|
169
|
+
gestureChangedRef.current = false;
|
|
170
|
+
pointerStartRef.current = { x: event.clientX, width: latestWidthRef.current };
|
|
171
|
+
setIsDragging(true);
|
|
172
|
+
}
|
|
173
|
+
function handleResizePointerMove(event) {
|
|
174
|
+
const start = pointerStartRef.current;
|
|
175
|
+
if (!start) return;
|
|
176
|
+
const delta = event.clientX - start.x;
|
|
177
|
+
const signedDelta = side === "right" ? -delta : delta;
|
|
178
|
+
const next = clampWidth(
|
|
179
|
+
start.width + signedDelta,
|
|
180
|
+
viewportWidth,
|
|
181
|
+
minWidth,
|
|
182
|
+
maxWidth,
|
|
183
|
+
minContentWidth
|
|
184
|
+
);
|
|
185
|
+
if (requestWidth(next)) gestureChangedRef.current = true;
|
|
186
|
+
}
|
|
187
|
+
function endPointerGesture(event) {
|
|
188
|
+
if (!pointerStartRef.current) return;
|
|
189
|
+
pointerStartRef.current = null;
|
|
190
|
+
setIsDragging(false);
|
|
191
|
+
event.currentTarget.releasePointerCapture?.(event.pointerId);
|
|
192
|
+
if (gestureChangedRef.current) onWidthCommit?.(latestWidthRef.current);
|
|
193
|
+
gestureChangedRef.current = false;
|
|
194
|
+
}
|
|
195
|
+
const closeLabel = t("close");
|
|
196
|
+
const resizeValueText = t("ui.sideDock.widthValue", {
|
|
197
|
+
count: Math.round(clampedWidth),
|
|
198
|
+
size: formatNumber(Math.round(clampedWidth))
|
|
199
|
+
});
|
|
200
|
+
const resizeHandle = resizable && /* @__PURE__ */ jsx(
|
|
201
|
+
"div",
|
|
202
|
+
{
|
|
203
|
+
role: "separator",
|
|
204
|
+
"aria-orientation": "vertical",
|
|
205
|
+
"aria-labelledby": `${resizeLabelId} ${titleId}`,
|
|
206
|
+
"aria-valuenow": Math.round(clampedWidth),
|
|
207
|
+
"aria-valuemin": minWidth,
|
|
208
|
+
"aria-valuemax": Math.round(upperBound),
|
|
209
|
+
"aria-valuetext": resizeValueText,
|
|
210
|
+
tabIndex: 0,
|
|
211
|
+
"data-slot": "side-dock-resize-handle",
|
|
212
|
+
onPointerDown: handleResizePointerDown,
|
|
213
|
+
onPointerMove: handleResizePointerMove,
|
|
214
|
+
onPointerUp: endPointerGesture,
|
|
215
|
+
onPointerCancel: endPointerGesture,
|
|
216
|
+
onKeyDown: handleResizeKeyDown,
|
|
217
|
+
onKeyUp: handleResizeKeyUp,
|
|
218
|
+
className: cn(
|
|
219
|
+
// A literal px hit box, not a `w-*` spacing utility — `--spacing` is
|
|
220
|
+
// what `data-density="compact"` rescales (Mechanism §3).
|
|
221
|
+
"absolute inset-y-0 w-[min(24px,50%)] cursor-col-resize touch-none select-none",
|
|
222
|
+
side === "right" ? "left-0" : "right-0",
|
|
223
|
+
"focus-visible:outline-none",
|
|
224
|
+
isDragging ? cn(
|
|
225
|
+
"after:absolute after:inset-y-0 after:w-1 after:bg-primary after:content-['']",
|
|
226
|
+
side === "right" ? "after:left-0" : "after:right-0"
|
|
227
|
+
) : cn(
|
|
228
|
+
"after:absolute after:inset-y-0 after:w-px after:bg-muted-foreground after:content-['']",
|
|
229
|
+
"hover:after:w-1 focus-visible:after:w-1",
|
|
230
|
+
side === "right" ? "after:left-0" : "after:right-0"
|
|
231
|
+
),
|
|
232
|
+
"focus-visible:after:focus-ring-static"
|
|
233
|
+
),
|
|
234
|
+
children: /* @__PURE__ */ jsx("span", { id: resizeLabelId, className: "sr-only", children: t("ui.sideDock.resize") })
|
|
235
|
+
}
|
|
236
|
+
);
|
|
237
|
+
if (isOverlay) {
|
|
238
|
+
return /* @__PURE__ */ jsx(Sheet, { open: panel.open, onOpenChange: panel.setOpen, children: /* @__PURE__ */ jsxs(
|
|
239
|
+
SheetContent,
|
|
240
|
+
{
|
|
241
|
+
ref,
|
|
242
|
+
side,
|
|
243
|
+
"data-slot": "side-dock",
|
|
244
|
+
className: cn("flex flex-col bg-card p-0", className),
|
|
245
|
+
style,
|
|
246
|
+
...description ? {} : { "aria-describedby": void 0 },
|
|
247
|
+
...props,
|
|
248
|
+
children: [
|
|
249
|
+
/* @__PURE__ */ jsxs(
|
|
250
|
+
SheetHeader,
|
|
251
|
+
{
|
|
252
|
+
"data-slot": "side-dock-header",
|
|
253
|
+
className: "h-header flex-row items-center gap-2 space-y-0 border-b border-border px-4",
|
|
254
|
+
children: [
|
|
255
|
+
/* @__PURE__ */ jsx("div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ jsx(SheetTitle, { "data-slot": "side-dock-title", className: "text-title", children: title }) }),
|
|
256
|
+
headerActions
|
|
257
|
+
]
|
|
258
|
+
}
|
|
259
|
+
),
|
|
260
|
+
description && /* @__PURE__ */ jsx(SheetDescription, { className: "sr-only", children: description }),
|
|
261
|
+
/* @__PURE__ */ jsx(
|
|
262
|
+
"div",
|
|
263
|
+
{
|
|
264
|
+
"data-slot": "side-dock-body",
|
|
265
|
+
tabIndex: 0,
|
|
266
|
+
className: "min-h-0 flex-1 overflow-y-auto p-4 focus-ring-inset",
|
|
267
|
+
children
|
|
268
|
+
}
|
|
269
|
+
)
|
|
270
|
+
]
|
|
271
|
+
}
|
|
272
|
+
) });
|
|
273
|
+
}
|
|
274
|
+
return /* @__PURE__ */ jsxs(
|
|
275
|
+
"div",
|
|
276
|
+
{
|
|
277
|
+
"data-slot": "side-dock",
|
|
278
|
+
ref: groupRef,
|
|
279
|
+
tabIndex: -1,
|
|
280
|
+
className: cn("group", containerPosition === "inset" && "relative"),
|
|
281
|
+
...panel.attrs,
|
|
282
|
+
style: { "--collapsible-panel-width": `${clampedWidth}px` },
|
|
283
|
+
children: [
|
|
284
|
+
/* @__PURE__ */ jsx("div", { "data-slot": "side-dock-spacer", className: panel.spacerClassName }),
|
|
285
|
+
/* @__PURE__ */ jsxs(
|
|
286
|
+
"aside",
|
|
287
|
+
{
|
|
288
|
+
ref: mergedContainerRef,
|
|
289
|
+
"data-slot": "side-dock-container",
|
|
290
|
+
"aria-labelledby": titleId,
|
|
291
|
+
inert: !panel.open,
|
|
292
|
+
className: cn(
|
|
293
|
+
panel.containerClassName,
|
|
294
|
+
"flex-col bg-card",
|
|
295
|
+
side === "right" ? "border-l" : "border-r",
|
|
296
|
+
className
|
|
297
|
+
),
|
|
298
|
+
style,
|
|
299
|
+
...props,
|
|
300
|
+
children: [
|
|
301
|
+
/* @__PURE__ */ jsxs(
|
|
302
|
+
"div",
|
|
303
|
+
{
|
|
304
|
+
"data-slot": "side-dock-header",
|
|
305
|
+
className: "flex h-header shrink-0 items-center gap-2 border-b border-border px-4",
|
|
306
|
+
children: [
|
|
307
|
+
/* @__PURE__ */ jsx(
|
|
308
|
+
"div",
|
|
309
|
+
{
|
|
310
|
+
id: titleId,
|
|
311
|
+
"data-slot": "side-dock-title",
|
|
312
|
+
className: "min-w-0 flex-1 truncate text-title",
|
|
313
|
+
children: title
|
|
314
|
+
}
|
|
315
|
+
),
|
|
316
|
+
headerActions,
|
|
317
|
+
/* @__PURE__ */ jsx(
|
|
318
|
+
"button",
|
|
319
|
+
{
|
|
320
|
+
type: "button",
|
|
321
|
+
"data-slot": "side-dock-close",
|
|
322
|
+
"aria-label": closeLabel,
|
|
323
|
+
onClick: () => panel.setOpen(false),
|
|
324
|
+
className: "shrink-0 rounded-sm p-1 text-muted-foreground opacity-70 transition-opacity hover:opacity-100 focus-ring",
|
|
325
|
+
children: /* @__PURE__ */ jsx(X, { className: "size-4", "aria-hidden": "true" })
|
|
326
|
+
}
|
|
327
|
+
)
|
|
328
|
+
]
|
|
329
|
+
}
|
|
330
|
+
),
|
|
331
|
+
/* @__PURE__ */ jsxs(
|
|
332
|
+
"div",
|
|
333
|
+
{
|
|
334
|
+
"data-slot": "side-dock-body",
|
|
335
|
+
tabIndex: 0,
|
|
336
|
+
className: "min-h-0 flex-1 overflow-y-auto p-4 focus-ring-inset",
|
|
337
|
+
children: [
|
|
338
|
+
description && /* @__PURE__ */ jsx("p", { "data-slot": "side-dock-description", className: "mb-4 text-body text-muted-foreground", children: description }),
|
|
339
|
+
children
|
|
340
|
+
]
|
|
341
|
+
}
|
|
342
|
+
),
|
|
343
|
+
resizeHandle
|
|
344
|
+
]
|
|
345
|
+
}
|
|
346
|
+
)
|
|
347
|
+
]
|
|
348
|
+
}
|
|
349
|
+
);
|
|
350
|
+
});
|
|
351
|
+
|
|
352
|
+
export {
|
|
353
|
+
SideDock
|
|
354
|
+
};
|
|
355
|
+
//# sourceMappingURL=chunk-PYPNGKRD.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/side-dock/side-dock.tsx"],"sourcesContent":["\"use client\";\n\n/**\n * SideDock — a *summoned* panel that docks to one edge of the content area:\n * closed by default, opened by something the user does, resizable by\n * pointer AND keyboard, and — below a viewport threshold — presented as an\n * overlay `Sheet` instead of a column. See\n * `docs/ADR/0035-context-rail-and-side-dock.md` §5. `ContextRail` (the\n * sibling in this package) is a *persistent* rail with a 48px icon collapsed\n * state; SideDock is not persistent and has no icon state.\n *\n * Built on the mandatory `useCollapsiblePanel` mechanism (open/close tween)\n * and `useIsMobile(overlayBreakpoint)` (the column/overlay switch) — both\n * shared with `ContextRail`, never re-implemented here.\n */\nimport {\n forwardRef,\n useEffect,\n useId,\n useMemo,\n useRef,\n useState,\n type ComponentProps,\n type CSSProperties,\n type KeyboardEvent as ReactKeyboardEvent,\n type PointerEvent as ReactPointerEvent,\n type ReactNode,\n type Ref,\n} from \"react\";\nimport { X } from \"lucide-react\";\nimport { cn } from \"../../lib/cn\";\nimport { mergeRefs } from \"../../lib/merge-refs\";\nimport { useIsMobile } from \"../../lib/use-mobile\";\nimport { useCollapsiblePanel, type CollapsiblePanelContainerPosition } from \"../collapsible-panel\";\nimport { useLocale } from \"../locale-provider/locale-provider\";\nimport { Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle } from \"../sheet\";\n\nexport interface SideDockProps extends Omit<ComponentProps<\"aside\">, \"title\"> {\n /**\n * The dock's name. Rendered as its header heading, and as the `SheetTitle`\n * of the overlay presentation. REQUIRED: the overlay cannot be accessible\n * without it, and an optional prop with a generic default would ship a\n * meaningless announced name into real apps.\n */\n title: ReactNode;\n /**\n * Optional longer description. Visible at the top of the body in the column\n * presentation — never inside the header band, which is fixed at the app\n * shell's header height; `sr-only` in the overlay presentation (the compact\n * sheet header has no room for it, but it still reaches assistive tech).\n */\n description?: ReactNode;\n /** Optional controls placed in the header row beside the built-in close button. */\n headerActions?: ReactNode;\n\n /** Controlled open state. Closed means zero width (content stays mounted, inert). */\n open?: boolean;\n /** Uncontrolled initial open state. Default `false` — a dock is summoned. */\n defaultOpen?: boolean;\n /** Called with the next open state. */\n onOpenChange?: (open: boolean) => void;\n\n /** Which edge it docks to. Default `\"right\"`. */\n side?: \"left\" | \"right\";\n\n /**\n * Where the column presentation's fixed/absolute container positions\n * itself. Default `\"viewport\"` (pins to the viewport edge — byte-identical\n * pre-#432 behavior). `\"inset\"` pins to the dock's OWN position in the\n * layout instead (`absolute` against a `relative` wrapper this component\n * provides) — use this when the dock is nested inside another element that\n * already pins itself to the same viewport edge (e.g. an app `Sidebar`),\n * so the two never race for the same edge (#432). Has no effect on the\n * overlay `Sheet` presentation below `overlayBreakpoint`.\n */\n containerPosition?: CollapsiblePanelContainerPosition;\n\n /**\n * `width`, `defaultWidth`, `minWidth`, `maxWidth`, `minContentWidth` and\n * `resizable` (below) govern the COLUMN presentation only — viewport at or\n * above `overlayBreakpoint`. Below that breakpoint the dock renders as an\n * overlay `Sheet` sized by the viewport (`Sheet`'s own `w-3/4 max-w-sm`),\n * so none of these props have any effect there.\n */\n /** Controlled width in px. */\n width?: number;\n /** Uncontrolled initial width in px. Default `400`. */\n defaultWidth?: number;\n /** Fires continuously during a resize — drive layout from this. */\n onWidthChange?: (width: number) => void;\n /** Fires once when an interaction ends — PERSIST from this. */\n onWidthCommit?: (width: number) => void;\n\n /** Lower bound in px. Default `320`. */\n minWidth?: number;\n /** Upper bound in px. Default `640`. */\n maxWidth?: number;\n /** Content width preserved when clamping against the live viewport, px. Default `480`. */\n minContentWidth?: number;\n /** Whether the resize handle renders. Default `true`. */\n resizable?: boolean;\n\n /**\n * Viewport width in px below which the dock renders as an overlay `Sheet`\n * instead of a column. Default `1100`. Deliberately ABOVE the library's\n * 768px mobile breakpoint: a 400px dock at 768px leaves ~360px of content.\n * This is the switch point for the column-only sizing props above — the\n * overlay presentation ignores them entirely.\n */\n overlayBreakpoint?: number;\n}\n\nconst DEFAULT_WIDTH = 400;\nconst DEFAULT_MIN_WIDTH = 320;\nconst DEFAULT_MAX_WIDTH = 640;\nconst DEFAULT_MIN_CONTENT_WIDTH = 480;\nconst DEFAULT_OVERLAY_BREAKPOINT = 1100;\n// A single arrow-key step, and Shift's multiplier on it (Mechanism §3).\nconst KEY_STEP = 16;\nconst KEY_STEP_SHIFT_MULTIPLIER = 4;\n// SSR-only fallback — \"use client\" means this never actually renders on a\n// server, but a hook initializer still runs once during any non-browser\n// render pass (e.g. a framework's SSR pass before hydration).\nconst FALLBACK_VIEWPORT_WIDTH = 1024;\n\n/**\n * The clamp, written out exactly as specified (Ruling 26 §3):\n * `minWidth` wins last, so a hostile viewport can never render a\n * sub-minimum dock.\n */\nfunction clampWidth(\n requested: number,\n viewportWidth: number,\n minWidth: number,\n maxWidth: number,\n minContentWidth: number,\n): number {\n const upperBound = Math.min(maxWidth, viewportWidth - minContentWidth);\n return Math.max(minWidth, Math.min(requested, upperBound));\n}\n\nexport const SideDock = forwardRef<HTMLElement, SideDockProps>(function SideDock(\n {\n title,\n description,\n headerActions,\n open,\n defaultOpen = false,\n onOpenChange,\n side = \"right\",\n containerPosition = \"viewport\",\n width,\n defaultWidth = DEFAULT_WIDTH,\n onWidthChange,\n onWidthCommit,\n minWidth = DEFAULT_MIN_WIDTH,\n maxWidth = DEFAULT_MAX_WIDTH,\n minContentWidth = DEFAULT_MIN_CONTENT_WIDTH,\n resizable = true,\n overlayBreakpoint = DEFAULT_OVERLAY_BREAKPOINT,\n className,\n style,\n children,\n ...props\n },\n ref,\n) {\n const { t, formatNumber } = useLocale();\n const titleId = useId();\n const resizeLabelId = useId();\n\n const panel = useCollapsiblePanel({ side, open, defaultOpen, onOpenChange, containerPosition });\n const isOverlay = useIsMobile(overlayBreakpoint);\n\n // Focus restoration for the COLUMN presentation only (Finding 2,\n // task-11f-brief.md). The overlay presentation is a Radix `Dialog` and\n // already restores focus to its opener on close; the column `<aside>`\n // has no such mechanism, and marking it `inert` while closed makes the\n // browser's own HTML focus-fixup rule drop focus to `<body>` the instant\n // a focused descendant becomes inert — the exact stranding this repairs\n // (see `.claude/rules/interaction-guidelines.md`'s identical note about\n // the native `disabled` attribute).\n //\n // `containerRef` is an internal mirror of the forwarded `ref` (merged\n // below) so this effect can ask \"was focus inside the dock?\" regardless\n // of what the caller's own `ref` points at. `groupRef` targets the outer\n // wrapper, which never becomes `inert`, as the in-page fallback when the\n // recorded opener is no longer usable.\n const containerRef = useRef<HTMLElement | null>(null);\n const mergedContainerRef = useMemo(() => mergeRefs<HTMLElement>(ref, containerRef), [ref]);\n const groupRef = useRef<HTMLDivElement>(null);\n const openerRef = useRef<Element | null>(null);\n const wasOpenRef = useRef(panel.open);\n\n useEffect(() => {\n const wasOpen = wasOpenRef.current;\n const isOpen = panel.open;\n wasOpenRef.current = isOpen;\n\n if (isOpen && !wasOpen) {\n // Closed → open: remember whatever summoned the dock, so a later\n // close can hand focus back to it.\n openerRef.current = document.activeElement;\n return;\n }\n\n if (!isOpen && wasOpen) {\n // Open → closed: only act if focus was actually inside the dock —\n // never steal focus the user had already moved elsewhere.\n const container = containerRef.current;\n const active = document.activeElement;\n const focusWasInside = container != null && active != null && container.contains(active);\n if (!focusWasInside) return;\n\n const opener = openerRef.current;\n if (opener instanceof HTMLElement && opener.isConnected && opener !== document.body) {\n opener.focus();\n } else {\n // The recorded opener unmounted (or there wasn't one) — land on\n // the outer wrapper rather than let focus fall through to\n // `<body>`. It never joins the tab order (`tabIndex={-1}`).\n groupRef.current?.focus();\n }\n }\n }, [panel.open]);\n\n // The live viewport width the clamp reads — `useIsMobile` only exposes a\n // boolean threshold, not the pixel value clamping needs.\n // Starts at the fallback on the server AND on the client's first render, then reads the real\n // width on mount: a lazy `window.innerWidth` initialiser made the first client render differ\n // from the server HTML (`aria-valuemax`), which React reports as a hydration mismatch.\n const [viewportWidth, setViewportWidth] = useState<number>(FALLBACK_VIEWPORT_WIDTH);\n useEffect(() => {\n setViewportWidth(window.innerWidth);\n // `resize` can fire dozens of times per second while a window is being\n // dragged — coalesce every event inside one frame into a single state\n // update via rAF, instead of re-rendering on each raw event.\n let rafId: number | null = null;\n const onResize = () => {\n if (rafId !== null) return;\n rafId = requestAnimationFrame(() => {\n rafId = null;\n setViewportWidth(window.innerWidth);\n });\n };\n window.addEventListener(\"resize\", onResize);\n return () => {\n window.removeEventListener(\"resize\", onResize);\n if (rafId !== null) cancelAnimationFrame(rafId);\n };\n }, []);\n\n const isWidthControlled = width !== undefined;\n const [uncontrolledWidth, setUncontrolledWidth] = useState(defaultWidth);\n const requestedWidth = isWidthControlled ? (width as number) : uncontrolledWidth;\n const upperBound = Math.min(maxWidth, viewportWidth - minContentWidth);\n const clampedWidth = clampWidth(\n requestedWidth,\n viewportWidth,\n minWidth,\n maxWidth,\n minContentWidth,\n );\n\n // A ref mirror of the currently-rendered clamped width, refreshed on every\n // render (not via an effect) so the keyboard/pointer handlers below can\n // read and update it synchronously between two native browser events —\n // React may not have committed a re-render from the previous event yet.\n const latestWidthRef = useRef(clampedWidth);\n latestWidthRef.current = clampedWidth;\n\n // Convergence (fixed contract decision): a CONTROLLED width outside the\n // clamp renders the clamped number and reports it back once — on mount,\n // and again whenever a viewport resize moves the bound. Deps are scoped to\n // the VALUES only (not the callback props), so an inline\n // onWidthChange/onWidthCommit from the caller can't re-trigger this on\n // every render — it fires only when what it reports actually changes.\n useEffect(() => {\n if (!isWidthControlled) return;\n if (clampedWidth === width) return;\n onWidthChange?.(clampedWidth);\n onWidthCommit?.(clampedWidth);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isWidthControlled, clampedWidth, width]);\n\n /** A no-op never emits (Ruling 26 §2). Returns whether it actually changed. */\n function requestWidth(next: number): boolean {\n if (next === latestWidthRef.current) return false;\n latestWidthRef.current = next;\n if (!isWidthControlled) setUncontrolledWidth(next);\n onWidthChange?.(next);\n return true;\n }\n\n // Shared across the keyboard and pointer gestures below: did THIS gesture\n // (the run of keydowns between focus and keyup, or the pointerdown-to-\n // pointerup drag) actually change the value? `onWidthCommit` is a\n // persistence trigger — firing it for a no-op gesture is noise.\n const gestureChangedRef = useRef(false);\n\n function handleResizeKeyDown(event: ReactKeyboardEvent<HTMLDivElement>) {\n // Physical, not logical/RTL-aware (Mechanism §3): on a right-hand dock\n // ArrowLeft widens (the handle moves toward the content); a left-hand\n // dock swaps the two.\n const widenKey = side === \"right\" ? \"ArrowLeft\" : \"ArrowRight\";\n const narrowKey = side === \"right\" ? \"ArrowRight\" : \"ArrowLeft\";\n const step = event.shiftKey ? KEY_STEP * KEY_STEP_SHIFT_MULTIPLIER : KEY_STEP;\n let requested: number | undefined;\n if (event.key === widenKey) requested = latestWidthRef.current + step;\n else if (event.key === narrowKey) requested = latestWidthRef.current - step;\n else if (event.key === \"Home\") requested = minWidth;\n else if (event.key === \"End\") requested = upperBound;\n else return;\n event.preventDefault();\n const next = clampWidth(requested, viewportWidth, minWidth, maxWidth, minContentWidth);\n if (requestWidth(next)) gestureChangedRef.current = true;\n }\n\n function handleResizeKeyUp() {\n if (gestureChangedRef.current) onWidthCommit?.(latestWidthRef.current);\n gestureChangedRef.current = false;\n }\n\n const pointerStartRef = useRef<{ x: number; width: number } | null>(null);\n const [isDragging, setIsDragging] = useState(false);\n\n function handleResizePointerDown(event: ReactPointerEvent<HTMLDivElement>) {\n if (event.pointerType === \"mouse\" && event.button !== 0) return;\n event.currentTarget.setPointerCapture?.(event.pointerId);\n gestureChangedRef.current = false;\n pointerStartRef.current = { x: event.clientX, width: latestWidthRef.current };\n setIsDragging(true);\n }\n\n function handleResizePointerMove(event: ReactPointerEvent<HTMLDivElement>) {\n const start = pointerStartRef.current;\n if (!start) return;\n const delta = event.clientX - start.x;\n const signedDelta = side === \"right\" ? -delta : delta;\n const next = clampWidth(\n start.width + signedDelta,\n viewportWidth,\n minWidth,\n maxWidth,\n minContentWidth,\n );\n if (requestWidth(next)) gestureChangedRef.current = true;\n }\n\n function endPointerGesture(event: ReactPointerEvent<HTMLDivElement>) {\n if (!pointerStartRef.current) return;\n pointerStartRef.current = null;\n setIsDragging(false);\n event.currentTarget.releasePointerCapture?.(event.pointerId);\n if (gestureChangedRef.current) onWidthCommit?.(latestWidthRef.current);\n gestureChangedRef.current = false;\n }\n\n // The generic `close` key (messages.ts \"Generic\" section) — reused per the\n // brief rather than minting a new one.\n const closeLabel = t(\"close\");\n const resizeValueText = t(\"ui.sideDock.widthValue\", {\n count: Math.round(clampedWidth),\n size: formatNumber(Math.round(clampedWidth)),\n });\n\n const resizeHandle = resizable && (\n <div\n role=\"separator\"\n aria-orientation=\"vertical\"\n aria-labelledby={`${resizeLabelId} ${titleId}`}\n aria-valuenow={Math.round(clampedWidth)}\n aria-valuemin={minWidth}\n aria-valuemax={Math.round(upperBound)}\n aria-valuetext={resizeValueText}\n tabIndex={0}\n data-slot=\"side-dock-resize-handle\"\n onPointerDown={handleResizePointerDown}\n onPointerMove={handleResizePointerMove}\n onPointerUp={endPointerGesture}\n onPointerCancel={endPointerGesture}\n onKeyDown={handleResizeKeyDown}\n onKeyUp={handleResizeKeyUp}\n className={cn(\n // A literal px hit box, not a `w-*` spacing utility — `--spacing` is\n // what `data-density=\"compact\"` rescales (Mechanism §3).\n \"absolute inset-y-0 w-[min(24px,50%)] cursor-col-resize touch-none select-none\",\n side === \"right\" ? \"left-0\" : \"right-0\",\n \"focus-visible:outline-none\",\n isDragging\n ? cn(\n \"after:absolute after:inset-y-0 after:w-1 after:bg-primary after:content-['']\",\n side === \"right\" ? \"after:left-0\" : \"after:right-0\",\n )\n : cn(\n \"after:absolute after:inset-y-0 after:w-px after:bg-muted-foreground after:content-['']\",\n \"hover:after:w-1 focus-visible:after:w-1\",\n side === \"right\" ? \"after:left-0\" : \"after:right-0\",\n ),\n \"focus-visible:after:focus-ring-static\",\n )}\n >\n <span id={resizeLabelId} className=\"sr-only\">\n {t(\"ui.sideDock.resize\")}\n </span>\n </div>\n );\n\n if (isOverlay) {\n return (\n <Sheet open={panel.open} onOpenChange={panel.setOpen}>\n <SheetContent\n // Runtime-safe: Radix's Content ref resolves to a plain\n // HTMLDivElement, same as the column branch's <aside> ref target\n // at the type level (both extend HTMLElement).\n ref={ref as unknown as Ref<HTMLDivElement>}\n side={side}\n data-slot=\"side-dock\"\n className={cn(\"flex flex-col bg-card p-0\", className)}\n style={style}\n // With no description the dialog is still named by its title, so\n // opt out of `aria-describedby` explicitly rather than let Radix\n // warn about a missing description (mirrors ExpandDialogContent).\n {...(description ? {} : { \"aria-describedby\": undefined })}\n {...props}\n >\n <SheetHeader\n data-slot=\"side-dock-header\"\n // `h-header`, never padding: a dock's header band sits beside the app\n // shell's top bar and MUST share its height in every theme (a theme\n // retunes `--header-size`). See the column branch.\n className=\"h-header flex-row items-center gap-2 space-y-0 border-b border-border px-4\"\n >\n <div className=\"min-w-0 flex-1\">\n <SheetTitle data-slot=\"side-dock-title\" className=\"text-title\">\n {title}\n </SheetTitle>\n </div>\n {headerActions}\n </SheetHeader>\n {description && <SheetDescription className=\"sr-only\">{description}</SheetDescription>}\n <div\n data-slot=\"side-dock-body\"\n // Focusable because it scrolls; `focus-ring-inset` because the Sheet\n // panel clips anything drawn outside this box, and both layers of\n // the plain rung are drawn outside it. A dock's children are\n // caller-supplied and routinely have no focusable descendant (a\n // change log, a read-only detail panel), so without a tab stop\n // there is no keyboard route into the region once it overflows\n // (WCAG 2.1.1, axe `scrollable-region-focusable`).\n tabIndex={0}\n className=\"min-h-0 flex-1 overflow-y-auto p-4 focus-ring-inset\"\n >\n {children}\n </div>\n </SheetContent>\n </Sheet>\n );\n }\n\n return (\n <div\n data-slot=\"side-dock\"\n // `group`: the ancestor `group-data-[state=collapsed]:…` selectors in\n // `panel.spacerClassName`/`panel.containerClassName` resolve against\n // THIS element (Mechanism §1 — mirrors Sidebar's outer `group` div).\n // `ref={groupRef}` + `tabIndex={-1}`: the focus-restoration fallback\n // target (Finding 2) — this wrapper is never `inert`, unlike the\n // `<aside>` below, so it is always a safe place to land focus. -1\n // keeps it out of the normal tab order; it is only ever focused\n // programmatically.\n ref={groupRef}\n tabIndex={-1}\n // `relative`: only in \"inset\" mode, so the container's `absolute`\n // positioning below resolves against THIS wrapper (its own slot in\n // the layout) instead of the viewport (#432). No-op in \"viewport\"\n // mode — the container stays `fixed`.\n className={cn(\"group\", containerPosition === \"inset\" && \"relative\")}\n {...panel.attrs}\n style={{ \"--collapsible-panel-width\": `${clampedWidth}px` } as CSSProperties}\n >\n <div data-slot=\"side-dock-spacer\" className={panel.spacerClassName} />\n <aside\n ref={mergedContainerRef}\n data-slot=\"side-dock-container\"\n aria-labelledby={titleId}\n // The collapsed container stays mounted (for the closing transition)\n // but stops being interactive/reachable (fixed contract decision).\n inert={!panel.open}\n className={cn(\n panel.containerClassName,\n \"flex-col bg-card\",\n side === \"right\" ? \"border-l\" : \"border-r\",\n className,\n )}\n style={style}\n {...props}\n >\n <div\n data-slot=\"side-dock-header\"\n // ONE fixed band at `h-header` — the same height the app shell's top\n // bar takes, so the two rules under them sit on one line in every\n // theme. Never size it from padding: a padded header grows with its\n // content (a two-line description made it 73px beside a 56px bar).\n // The description therefore lives UNDER the band, not inside it.\n className=\"flex h-header shrink-0 items-center gap-2 border-b border-border px-4\"\n >\n <div\n id={titleId}\n data-slot=\"side-dock-title\"\n className=\"min-w-0 flex-1 truncate text-title\"\n >\n {title}\n </div>\n {headerActions}\n <button\n type=\"button\"\n data-slot=\"side-dock-close\"\n aria-label={closeLabel}\n onClick={() => panel.setOpen(false)}\n className=\"shrink-0 rounded-sm p-1 text-muted-foreground opacity-70 transition-opacity hover:opacity-100 focus-ring\"\n >\n <X className=\"size-4\" aria-hidden=\"true\" />\n </button>\n </div>\n <div\n data-slot=\"side-dock-body\"\n // Focusable because it scrolls; `focus-ring-inset` because the dock's\n // own container clips anything drawn outside this box (the collapse\n // tween animates its width). Worse here than in the overlay branch:\n // the column is user-resizable, so narrowing it re-wraps every child\n // taller — overflow is one keyboard gesture on the resize handle\n // away, not a hypothetical viewport (WCAG 2.1.1, axe\n // `scrollable-region-focusable`).\n tabIndex={0}\n className=\"min-h-0 flex-1 overflow-y-auto p-4 focus-ring-inset\"\n >\n {description && (\n <p data-slot=\"side-dock-description\" className=\"mb-4 text-body text-muted-foreground\">\n {description}\n </p>\n )}\n {children}\n </div>\n {resizeHandle}\n </aside>\n </div>\n );\n});\n"],"mappings":"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","names":["SideDock"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
Separator
|
|
4
|
+
} from "./chunk-XAFRTZQF.js";
|
|
5
|
+
import {
|
|
6
|
+
cn
|
|
7
|
+
} from "./chunk-KBNWM27Q.js";
|
|
8
|
+
|
|
9
|
+
// src/components/button-group/button-group.tsx
|
|
10
|
+
import { forwardRef } from "react";
|
|
11
|
+
import { Slot } from "@radix-ui/react-slot";
|
|
12
|
+
import { cva } from "class-variance-authority";
|
|
13
|
+
import { jsx } from "react/jsx-runtime";
|
|
14
|
+
var buttonGroupVariants = cva(
|
|
15
|
+
"flex w-fit items-stretch [&>*]:relative [&>*]:focus-within:z-10 has-[>[data-slot=button-group]]:gap-2",
|
|
16
|
+
{
|
|
17
|
+
variants: {
|
|
18
|
+
orientation: {
|
|
19
|
+
horizontal: "[&>*:not(:first-child)]:rounded-s-none [&>*:not(:first-child)]:border-s-0 [&>*:not(:last-child)]:rounded-e-none",
|
|
20
|
+
vertical: "flex-col [&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
defaultVariants: { orientation: "horizontal" }
|
|
24
|
+
}
|
|
25
|
+
);
|
|
26
|
+
var ButtonGroup = forwardRef(function ButtonGroup2({ className, orientation = "horizontal", ...props }, ref) {
|
|
27
|
+
return /* @__PURE__ */ jsx(
|
|
28
|
+
"div",
|
|
29
|
+
{
|
|
30
|
+
ref,
|
|
31
|
+
role: "group",
|
|
32
|
+
"data-slot": "button-group",
|
|
33
|
+
"data-orientation": orientation,
|
|
34
|
+
className: cn(buttonGroupVariants({ orientation }), className),
|
|
35
|
+
...props
|
|
36
|
+
}
|
|
37
|
+
);
|
|
38
|
+
});
|
|
39
|
+
var ButtonGroupText = forwardRef(function ButtonGroupText2({ className, asChild = false, ...props }, ref) {
|
|
40
|
+
const Comp = asChild ? Slot : "div";
|
|
41
|
+
return /* @__PURE__ */ jsx(
|
|
42
|
+
Comp,
|
|
43
|
+
{
|
|
44
|
+
ref,
|
|
45
|
+
className: cn(
|
|
46
|
+
"flex items-center gap-2 rounded-md border bg-muted px-4 text-body font-medium shadow-sm [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4",
|
|
47
|
+
className
|
|
48
|
+
),
|
|
49
|
+
...props
|
|
50
|
+
}
|
|
51
|
+
);
|
|
52
|
+
});
|
|
53
|
+
var ButtonGroupSeparator = forwardRef(
|
|
54
|
+
function ButtonGroupSeparator2({ className, orientation = "vertical", ...props }, ref) {
|
|
55
|
+
return /* @__PURE__ */ jsx(
|
|
56
|
+
Separator,
|
|
57
|
+
{
|
|
58
|
+
ref,
|
|
59
|
+
"data-slot": "button-group-separator",
|
|
60
|
+
orientation,
|
|
61
|
+
className: cn(
|
|
62
|
+
"relative !m-0 self-stretch bg-input data-[orientation=vertical]:h-auto",
|
|
63
|
+
className
|
|
64
|
+
),
|
|
65
|
+
...props
|
|
66
|
+
}
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
);
|
|
70
|
+
|
|
71
|
+
export {
|
|
72
|
+
buttonGroupVariants,
|
|
73
|
+
ButtonGroup,
|
|
74
|
+
ButtonGroupText,
|
|
75
|
+
ButtonGroupSeparator
|
|
76
|
+
};
|
|
77
|
+
//# sourceMappingURL=chunk-QDTGDYMM.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/button-group/button-group.tsx"],"sourcesContent":["import { forwardRef, type ComponentProps } from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport { cn } from \"../../lib/cn\";\nimport { Separator } from \"../separator\";\n\nexport const buttonGroupVariants = cva(\n \"flex w-fit items-stretch [&>*]:relative [&>*]:focus-within:z-10 has-[>[data-slot=button-group]]:gap-2\",\n {\n variants: {\n orientation: {\n horizontal:\n \"[&>*:not(:first-child)]:rounded-s-none [&>*:not(:first-child)]:border-s-0 [&>*:not(:last-child)]:rounded-e-none\",\n vertical:\n \"flex-col [&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none\",\n },\n },\n defaultVariants: { orientation: \"horizontal\" },\n },\n);\n\nexport const ButtonGroup = forwardRef<\n HTMLDivElement,\n ComponentProps<\"div\"> & VariantProps<typeof buttonGroupVariants>\n>(function ButtonGroup({ className, orientation = \"horizontal\", ...props }, ref) {\n return (\n <div\n ref={ref}\n role=\"group\"\n data-slot=\"button-group\"\n data-orientation={orientation}\n className={cn(buttonGroupVariants({ orientation }), className)}\n {...props}\n />\n );\n});\n\nexport const ButtonGroupText = forwardRef<\n HTMLDivElement,\n ComponentProps<\"div\"> & { asChild?: boolean }\n>(function ButtonGroupText({ className, asChild = false, ...props }, ref) {\n const Comp = asChild ? Slot : \"div\";\n return (\n <Comp\n ref={ref}\n className={cn(\n \"flex items-center gap-2 rounded-md border bg-muted px-4 text-body font-medium shadow-sm [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n {...props}\n />\n );\n});\n\nexport const ButtonGroupSeparator = forwardRef<HTMLDivElement, ComponentProps<typeof Separator>>(\n function ButtonGroupSeparator({ className, orientation = \"vertical\", ...props }, ref) {\n return (\n <Separator\n ref={ref}\n data-slot=\"button-group-separator\"\n orientation={orientation}\n className={cn(\n \"relative !m-0 self-stretch bg-input data-[orientation=vertical]:h-auto\",\n className,\n )}\n {...props}\n />\n );\n },\n);\n"],"mappings":";;;;;;;;;AAAA,SAAS,kBAAuC;AAChD,SAAS,YAAY;AACrB,SAAS,WAA8B;AAwBnC;AApBG,IAAM,sBAAsB;AAAA,EACjC;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,aAAa;AAAA,QACX,YACE;AAAA,QACF,UACE;AAAA,MACJ;AAAA,IACF;AAAA,IACA,iBAAiB,EAAE,aAAa,aAAa;AAAA,EAC/C;AACF;AAEO,IAAM,cAAc,WAGzB,SAASA,aAAY,EAAE,WAAW,cAAc,cAAc,GAAG,MAAM,GAAG,KAAK;AAC/E,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,MAAK;AAAA,MACL,aAAU;AAAA,MACV,oBAAkB;AAAA,MAClB,WAAW,GAAG,oBAAoB,EAAE,YAAY,CAAC,GAAG,SAAS;AAAA,MAC5D,GAAG;AAAA;AAAA,EACN;AAEJ,CAAC;AAEM,IAAM,kBAAkB,WAG7B,SAASC,iBAAgB,EAAE,WAAW,UAAU,OAAO,GAAG,MAAM,GAAG,KAAK;AACxE,QAAM,OAAO,UAAU,OAAO;AAC9B,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,WAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,MACC,GAAG;AAAA;AAAA,EACN;AAEJ,CAAC;AAEM,IAAM,uBAAuB;AAAA,EAClC,SAASC,sBAAqB,EAAE,WAAW,cAAc,YAAY,GAAG,MAAM,GAAG,KAAK;AACpF,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,aAAU;AAAA,QACV;AAAA,QACA,WAAW;AAAA,UACT;AAAA,UACA;AAAA,QACF;AAAA,QACC,GAAG;AAAA;AAAA,IACN;AAAA,EAEJ;AACF;","names":["ButtonGroup","ButtonGroupText","ButtonGroupSeparator"]}
|